diff --git a/.gitignore b/.gitignore index acdc606..9a7ea37 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ node_modules *.d.ts.map *.js.map /build +*.tgz \ No newline at end of file diff --git a/benchmark/package-lock.json b/benchmark/package-lock.json index 7aa250c..1b185b4 100644 --- a/benchmark/package-lock.json +++ b/benchmark/package-lock.json @@ -11,19 +11,19 @@ "dependencies": { "@chainsafe/as-chacha20poly1305": "0.1.0", "@devtomio/sodium": "0.3.0", - "@noble/ciphers": "file:noble-ciphers-0.6.0.tgz", - "@stablelib/aes": "^1.0.1", + "@noble/ciphers": "file:noble-ciphers.tgz", + "@stablelib/aes": "1.0.1", "@stablelib/chacha": "1.0.1", "@stablelib/chacha20poly1305": "1.0.1", - "@stablelib/ctr": "^1.0.2", - "@stablelib/gcm": "^1.0.2", - "@stablelib/poly1305": "^1.0.1", + "@stablelib/ctr": "1.0.2", + "@stablelib/gcm": "1.0.2", + "@stablelib/poly1305": "1.0.1", "@stablelib/salsa20": "1.0.2", - "@stablelib/siv": "^1.0.2", + "@stablelib/siv": "1.0.2", "@stablelib/xchacha20": "1.0.1", "@stablelib/xchacha20poly1305": "1.0.1", "@stablelib/xsalsa20": "1.0.2", - "aes-js": "^3.1.2", + "aes-js": "3.1.2", "libsodium-wrappers": "0.7.11", "tweetnacl": "1.0.3" } @@ -181,8 +181,9 @@ }, "node_modules/@noble/ciphers": { "version": "0.6.0", - "resolved": "file:noble-ciphers-0.6.0.tgz", - "integrity": "sha512-HuRELzNicCu/cuGBKX6iGNFHiZUmXRXIRUK7Ay+UO2UCfF08urWrIMdW/ImbN2JCSGEjCxqurjZxF5tMwqWKTw==", + "resolved": "file:noble-ciphers.tgz", + "integrity": "sha512-8YVbfZiei18sqvFBEAPxZFHeni8A4xODEenKlfsIwQLI0Y3DdTw1xKjjWAYI84oiAv7volyUX/C0+/x3bXmf5Q==", + "license": "MIT", "funding": { "url": "https://paulmillr.com/funding/" } diff --git a/build/package-lock.json b/build/package-lock.json index 5bd3b9d..6039bb0 100644 --- a/build/package-lock.json +++ b/build/package-lock.json @@ -18,7 +18,7 @@ "dev": true, "license": "MIT", "devDependencies": { - "@paulmillr/jsbt": "0.1.0", + "@paulmillr/jsbt": "0.2.1", "@scure/base": "1.1.3", "fast-check": "3.0.0", "micro-bmark": "0.3.1", diff --git a/package-lock.json b/package-lock.json index c81b5ce..4a148e8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "0.6.0", "license": "MIT", "devDependencies": { - "@paulmillr/jsbt": "0.2.0", + "@paulmillr/jsbt": "0.2.1", "@scure/base": "1.1.3", "fast-check": "3.0.0", "micro-bmark": "0.3.1", @@ -22,10 +22,11 @@ } }, "node_modules/@paulmillr/jsbt": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/@paulmillr/jsbt/-/jsbt-0.2.0.tgz", - "integrity": "sha512-aD1EJsJjkRr4/YOALfbu/0dfWTHtv2FUi+fo4IZuMXHjho4/Tqss7MYr3Dtv8hLcPseEj+Jza/Kb/BZqcfekuw==", + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/@paulmillr/jsbt/-/jsbt-0.2.1.tgz", + "integrity": "sha512-4uC/Fa8L8oYjLNPKBqHKCwLv/47s/Asa4Z/rL584YvViPtlFdxBeCFX6knCZxX5gn6n+2YUdr50Q1sIuUNma5Q==", "dev": true, + "license": "MIT", "bin": { "jsbt": "jsbt.js" } diff --git a/package.json b/package.json index 03f104e..6d1982d 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "bench:all": "node benchmark/{aead,ciphers,poly}.js", "bench:install": "npm pack && mv *.tgz benchmark/noble-ciphers.tgz && cd benchmark && npm install && cd ..", "build": "npm run build:clean; tsc && tsc -p tsconfig.esm.json", - "build:release": "cd build && npm i && npm run build", + "build:release": "cd build && npm i && npm run build:release", "build:clean": "rm *.{js,d.ts,js.map,d.ts.map} esm/*.{js,d.ts,js.map,d.ts.map} 2> /dev/null", "lint": "prettier --check 'src/**/*.{js,ts}' 'test/**/*.{js,ts,mjs}'", "format": "prettier --write 'src/**/*.{js,ts}' 'test/**/*.{js,ts,mjs}'",