@gsknnft/bigint-buffer 1.4.3 → 1.4.4
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/README.md +5 -4
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Secure BigInt ⇆ Buffer conversion with native bindings, browser fallbacks, and the `bigint-conversion` helper APIs built in. This is the actively maintained fork of the original `bigint-buffer`.
|
|
7
7
|
|
|
8
|
-
> **Upgrade notice:**
|
|
8
|
+
> **Upgrade notice:** `1.4.4` is the CI-verified release (Node 20–24) and matches the 1.4.3 code. `1.4.3` was pre-green; move to 1.4.4 for a fully verified pipeline.
|
|
9
9
|
|
|
10
10
|
[](https://www.npmjs.com/package/@gsknnft/bigint-buffer)
|
|
11
11
|
[](https://nodejs.org)
|
|
@@ -13,6 +13,7 @@ Secure BigInt ⇆ Buffer conversion with native bindings, browser fallbacks, and
|
|
|
13
13
|
---
|
|
14
14
|
|
|
15
15
|
## Why This Package
|
|
16
|
+
|
|
16
17
|
- Native N-API binding with pure-JS fallback for browsers and constrained environments.
|
|
17
18
|
- Conversion helpers from `bigint-conversion` in-core (no extra deps).
|
|
18
19
|
- ESM and CJS exports plus a UMD/browser bundle.
|
|
@@ -82,8 +83,8 @@ npm run rebuild:native # rebuild the N-API binding
|
|
|
82
83
|
All helpers are endian-safe and validated across Node and browser builds.
|
|
83
84
|
|
|
84
85
|
---
|
|
85
|
-
|
|
86
|
+
|
|
86
87
|
## Support
|
|
87
|
-
- Version: 1.4.3
|
|
88
|
-
- Node:
|
|
88
|
+
- Version: 1.4.4 (CI-verified; 1.4.3 was pre-green)
|
|
89
|
+
- Node: 20+ (tested through 24 LTS under CI)
|
|
89
90
|
- Issues: https://github.com/gsknnft/bigint-buffer/issues
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gsknnft/bigint-buffer",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.4",
|
|
4
4
|
"description": "bigint to buffer conversion with native support and built-in conversion helpers",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"prepublishOnly": "rm -rf build/Makefile; rm build/gyp-*; rm build/*.mk; rm build/*.Makefile; rm *.tgz",
|
|
37
37
|
"clean:js": "npm clean && rm -rf build/* dist/*",
|
|
38
38
|
"test:browser": "vite test --browser",
|
|
39
|
-
"test:node": "
|
|
39
|
+
"test:node": "vitest run",
|
|
40
40
|
"declare": "tsc -p . --declaration --emitDeclarationOnly --outDir dist/types",
|
|
41
41
|
"benchmark": "node -r ts-node/register src/index.bench.ts",
|
|
42
42
|
"typedoc": "typedoc --out docs $(pwd)/src $(pwd)/helper --target es6 --mode file --tsconfig ./tsconfig.json --excludePrivate --excludeProtected --excludeNotExported --exclude '**/*+(spec|bench).ts'",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
},
|
|
54
54
|
"repository": {
|
|
55
55
|
"type": "git",
|
|
56
|
-
"url": "
|
|
56
|
+
"url": "https://github.com/gsknnft/bigint-buffer.git"
|
|
57
57
|
},
|
|
58
58
|
"bugs": {
|
|
59
59
|
"url": "https://github.com/gsknnft/bigint-buffer/issues"
|
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
"webpack-cli": "6.0.1"
|
|
120
120
|
},
|
|
121
121
|
"engines": {
|
|
122
|
-
"node": ">=
|
|
122
|
+
"node": ">=20.0.0",
|
|
123
123
|
"npm": ">=9.0.0"
|
|
124
124
|
},
|
|
125
125
|
"publishConfig": {
|