@thi.ng/leb128 3.1.25 → 3.1.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1 -1
- package/index.d.ts +2 -2
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
package/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*
|
|
5
5
|
* @param x -
|
|
6
6
|
*/
|
|
7
|
-
export declare const encodeSLEB128: (x: bigint | number) => Uint8Array
|
|
7
|
+
export declare const encodeSLEB128: (x: bigint | number) => Uint8Array<ArrayBuffer>;
|
|
8
8
|
/**
|
|
9
9
|
* Takes an `Uint8Array` with LEB128 encoded signed varint and an optional start
|
|
10
10
|
* index to decode from. Returns 2-tuple of decoded value and number of bytes
|
|
@@ -33,7 +33,7 @@ export declare const encodeSLEB128Into: (dst: Uint8Array, x: bigint | number, po
|
|
|
33
33
|
*
|
|
34
34
|
* @param x -
|
|
35
35
|
*/
|
|
36
|
-
export declare const encodeULEB128: (x: bigint | number) => Uint8Array
|
|
36
|
+
export declare const encodeULEB128: (x: bigint | number) => Uint8Array<ArrayBuffer>;
|
|
37
37
|
/**
|
|
38
38
|
* Takes an `Uint8Array` with LEB128 encoded unsigned varint and an optional
|
|
39
39
|
* start index to decode from. Returns 2-tuple of decoded value and number of
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/leb128",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.27",
|
|
4
4
|
"description": "WASM based LEB128 encoder / decoder (signed & unsigned)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"build:decl": "tsc --declaration --emitDeclarationOnly",
|
|
33
33
|
"build:esbuild": "esbuild --format=esm --platform=neutral --target=es2022 --tsconfig=tsconfig.json --outdir=. src/**/*.ts",
|
|
34
34
|
"clean": "bun ../../tools/src/clean-package.ts",
|
|
35
|
-
"doc": "typedoc --
|
|
35
|
+
"doc": "typedoc --options ../../typedoc.json --out doc src/index.ts",
|
|
36
36
|
"doc:ae": "mkdir -p .ae/doc .ae/temp && api-extractor run --local --verbose",
|
|
37
37
|
"doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
|
|
38
38
|
"pub": "yarn npm publish --access public",
|
|
@@ -40,15 +40,15 @@
|
|
|
40
40
|
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@thi.ng/checks": "^3.6.
|
|
44
|
-
"@thi.ng/errors": "^2.5.
|
|
45
|
-
"@thi.ng/transducers-binary": "^2.1.
|
|
43
|
+
"@thi.ng/checks": "^3.6.15",
|
|
44
|
+
"@thi.ng/errors": "^2.5.19",
|
|
45
|
+
"@thi.ng/transducers-binary": "^2.1.143"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@microsoft/api-extractor": "^7.
|
|
48
|
+
"@microsoft/api-extractor": "^7.48.0",
|
|
49
49
|
"esbuild": "^0.24.0",
|
|
50
|
-
"typedoc": "^0.26.
|
|
51
|
-
"typescript": "^5.
|
|
50
|
+
"typedoc": "^0.26.11",
|
|
51
|
+
"typescript": "^5.7.2"
|
|
52
52
|
},
|
|
53
53
|
"keywords": [
|
|
54
54
|
"64bit",
|
|
@@ -84,5 +84,5 @@
|
|
|
84
84
|
"alias": "leb",
|
|
85
85
|
"year": 2019
|
|
86
86
|
},
|
|
87
|
-
"gitHead": "
|
|
87
|
+
"gitHead": "85e2f0935b58bde5d165fbe754fafec5da0b731e\n"
|
|
88
88
|
}
|