@ot-builder/errors
Advanced tools
+15
-0
@@ -5,2 +5,17 @@ { | ||
| { | ||
| "date": "Mon, 23 Nov 2020 01:11:42 GMT", | ||
| "tag": "@ot-builder/errors_v0.10.34", | ||
| "version": "0.10.34", | ||
| "comments": { | ||
| "patch": [ | ||
| { | ||
| "comment": "OT184 IVD change", | ||
| "author": "c@cyano.cn", | ||
| "commit": "b1e4ea8a6fc06fa40af892956f275194b439fb9c", | ||
| "package": "@ot-builder/errors" | ||
| } | ||
| ] | ||
| } | ||
| }, | ||
| { | ||
| "date": "Sun, 11 Oct 2020 00:13:03 GMT", | ||
@@ -7,0 +22,0 @@ "tag": "@ot-builder/errors_v0.10.29", |
+9
-1
| # Change Log - @ot-builder/errors | ||
| This log was last generated on Sun, 11 Oct 2020 00:13:03 GMT and should not be manually modified. | ||
| This log was last generated on Mon, 23 Nov 2020 01:11:42 GMT and should not be manually modified. | ||
| <!-- Start content --> | ||
| ## 0.10.34 | ||
| Mon, 23 Nov 2020 01:11:42 GMT | ||
| ### Patches | ||
| - OT184 IVD change (c@cyano.cn) | ||
| ## 0.10.29 | ||
@@ -8,0 +16,0 @@ |
+1
-0
@@ -73,2 +73,3 @@ export declare namespace Errors { | ||
| const OffsetMatch: (kind1: string, actual: number, ...expected: number[]) => void; | ||
| const NotOverflow: (kind1: string, actual: number, limit: number) => void; | ||
| function NoGap<A>(kind: string, arr: readonly A[]): void; | ||
@@ -75,0 +76,0 @@ namespace Variation { |
+5
-0
@@ -114,2 +114,7 @@ "use strict"; | ||
| }; | ||
| Assert.NotOverflow = (kind1, actual, limit) => { | ||
| if (actual < limit) | ||
| return; | ||
| throw Errors.OffsetMismatch(kind1, actual); | ||
| }; | ||
| function NoGap(kind, arr) { | ||
@@ -116,0 +121,0 @@ for (let index = 0; index < arr.length; index++) { |
+1
-1
| { | ||
| "name": "@ot-builder/errors", | ||
| "description": "", | ||
| "version": "0.10.33", | ||
| "version": "0.10.34", | ||
| "license": "MIT", | ||
@@ -6,0 +6,0 @@ "repository": { |
15540
4.93%317
7.09%