@ot-builder/errors
Advanced tools
+16
-1
@@ -5,2 +5,17 @@ { | ||
| { | ||
| "date": "Sun, 19 Apr 2020 00:10:05 GMT", | ||
| "tag": "@ot-builder/errors_v0.8.0", | ||
| "version": "0.8.0", | ||
| "comments": { | ||
| "patch": [ | ||
| { | ||
| "comment": "Add CMAP writing overflow check and crafted stress tests", | ||
| "author": "belleve@typeof.net", | ||
| "commit": "c238b4f2f0a1c9b15ec2cf26ae15f37381fb61ff", | ||
| "package": "@ot-builder/errors" | ||
| } | ||
| ] | ||
| } | ||
| }, | ||
| { | ||
| "date": "Sun, 29 Mar 2020 00:13:11 GMT", | ||
@@ -56,2 +71,2 @@ "tag": "@ot-builder/errors_v0.6.0", | ||
| ] | ||
| } | ||
| } |
+12
-2
| # Change Log - @ot-builder/errors | ||
| This log was last generated on Sun, 29 Mar 2020 00:13:11 GMT and should not be manually modified. | ||
| This log was last generated on Sun, 19 Apr 2020 00:10:05 GMT and should not be manually modified. | ||
| <!-- Start content --> | ||
| ## 0.8.0 | ||
| Sun, 19 Apr 2020 00:10:05 GMT | ||
| ### Patches | ||
| - Add CMAP writing overflow check and crafted stress tests (belleve@typeof.net) | ||
| ## 0.6.0 | ||
@@ -25,2 +35,2 @@ Sun, 29 Mar 2020 00:13:11 GMT | ||
| - Add production build (belleve@typeof.net) | ||
| - Add production build (belleve@typeof.net) |
+1
-0
@@ -9,2 +9,3 @@ export declare namespace Errors { | ||
| const MissingKeyTable: (tag: string) => TypeError; | ||
| const GeneralOverflow: (kind: string, value: number) => RangeError; | ||
| const GlyphNotFound: (where: string) => RangeError; | ||
@@ -11,0 +12,0 @@ const GlyphCountMismatch: (where: string) => RangeError; |
+1
-0
@@ -12,2 +12,3 @@ "use strict"; | ||
| Errors.MissingKeyTable = (tag) => new TypeError(`Table ${tag} missing.`); | ||
| Errors.GeneralOverflow = (kind, value) => new RangeError(`${kind} overflow: ${value}.`); | ||
| Errors.GlyphNotFound = (where) => new RangeError(`Glyph not found in ${where}`); | ||
@@ -14,0 +15,0 @@ Errors.GlyphCountMismatch = (where) => new RangeError(`Glyph count mismatch at ${where}`); |
+1
-1
@@ -10,3 +10,3 @@ { | ||
| }, | ||
| "version": "0.7.0", | ||
| "version": "0.8.1", | ||
| "main": "./lib/index.js", | ||
@@ -13,0 +13,0 @@ "types": "./lib/index.d.ts", |
14241
5.73%285
6.74%