Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@ot-builder/errors

Package Overview
Dependencies
Maintainers
1
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ot-builder/errors - npm Package Compare versions

Comparing version
0.7.0
to
0.8.1
+16
-1
CHANGELOG.json

@@ -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",

]
}
}
# 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)

@@ -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;

@@ -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",