binary-parser
Advanced tools
Comparing version 1.9.1 to 1.9.2
@@ -17,5 +17,5 @@ /// <reference types="node" /> | ||
zeroTerminated?: boolean; | ||
clone?: null; | ||
stripNull?: null; | ||
key?: null; | ||
clone?: boolean; | ||
stripNull?: boolean; | ||
key?: string; | ||
tag?: string; | ||
@@ -22,0 +22,0 @@ offset?: number | string | ((item: any) => number); |
@@ -806,3 +806,3 @@ "use strict"; | ||
if (!this.options.readUntil && lengthInBytes === undefined) { | ||
ctx.pushCode(item + ".$index = " + length + " - " + counter + ","); | ||
ctx.pushCode(item + ".$index = " + length + " - " + counter + ";"); | ||
} | ||
@@ -809,0 +809,0 @@ type.generate(ctx); |
{ | ||
"name": "binary-parser", | ||
"version": "1.9.1", | ||
"version": "1.9.2", | ||
"description": "Blazing-fast binary parser builder", | ||
@@ -11,7 +11,7 @@ "main": "dist/binary_parser.js", | ||
"@types/fast-text-encoding": "^1.0.1", | ||
"@types/node": "^14.14.41", | ||
"mocha": "^8.3.2", | ||
"@types/node": "^16.0.0", | ||
"mocha": "^9.0.2", | ||
"nyc": "^15.1.0", | ||
"prettier": "^2.2.1", | ||
"typescript": "^4.2.4" | ||
"prettier": "^2.3.2", | ||
"typescript": "^4.3.5" | ||
}, | ||
@@ -18,0 +18,0 @@ "scripts": { |
75548