diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..195d249 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,6 @@ +{ + "files.exclude": { + "*.{js,d.ts,js.map,d.ts.map}": true, + "esm/*.{js,d.ts,js.map,d.ts.map}": true + } +} \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index bfc464b..9b17bae 100644 --- a/package-lock.json +++ b/package-lock.json @@ -18,8 +18,8 @@ "@noble/hashes": "1.3.0" }, "devDependencies": { - "@scure/bip32": "~1.1.5", - "@scure/bip39": "~1.1.1", + "@scure/bip32": "~1.2.0", + "@scure/bip39": "~1.2.0", "@types/node": "18.11.18", "fast-check": "3.0.0", "micro-bmark": "0.3.1", @@ -28,22 +28,25 @@ "typescript": "5.0.2" } }, - "node_modules/@noble/hashes": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.0.tgz", - "integrity": "sha512-ilHEACi9DwqJB0pw7kv+Apvh50jiiSyR/cQ3y4W7lOR5mhvn/50FLUfsnfJz0BDZtl/RR16kXvptiv6q1msYZg==", + "node_modules/@noble/curves": { + "version": "0.8.3", + "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-0.8.3.tgz", + "integrity": "sha512-OqaOf4RWDaCRuBKJLDURrgVxjLmneGsiCXGuzYB5y95YithZMA6w4uk34DHSm0rKMrrYiaeZj48/81EvaAScLQ==", + "dev": true, "funding": [ { "type": "individual", "url": "https://paulmillr.com/funding/" } - ] + ], + "dependencies": { + "@noble/hashes": "1.3.0" + } }, - "node_modules/@noble/secp256k1": { - "version": "1.7.1", - "resolved": "https://registry.npmjs.org/@noble/secp256k1/-/secp256k1-1.7.1.tgz", - "integrity": "sha512-hOUk6AyBFmqVrv7k5WAw/LpszxVbj9gGN4JRkIX52fdFAj1UA61KXmZDvqVEm+pOyec3+fIeZB02LYa/pWOArw==", - "dev": true, + "node_modules/@noble/hashes": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.0.tgz", + "integrity": "sha512-ilHEACi9DwqJB0pw7kv+Apvh50jiiSyR/cQ3y4W7lOR5mhvn/50FLUfsnfJz0BDZtl/RR16kXvptiv6q1msYZg==", "funding": [ { "type": "individual", @@ -64,9 +67,9 @@ ] }, "node_modules/@scure/bip32": { - "version": "1.1.5", - "resolved": "https://registry.npmjs.org/@scure/bip32/-/bip32-1.1.5.tgz", - "integrity": "sha512-XyNh1rB0SkEqd3tXcXMi+Xe1fvg+kUIcoRIEujP1Jgv7DqW2r9lg3Ah0NkFaCs9sTkQAQA8kw7xiRXzENi9Rtw==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@scure/bip32/-/bip32-1.2.0.tgz", + "integrity": "sha512-O+vT/hBVk+ag2i6j2CDemwd1E1MtGt+7O1KzrPNsaNvSsiEK55MyPIxJIMI2PS8Ijj464B2VbQlpRoQXxw1uHg==", "dev": true, "funding": [ { @@ -75,27 +78,15 @@ } ], "dependencies": { - "@noble/hashes": "~1.2.0", - "@noble/secp256k1": "~1.7.0", + "@noble/curves": "~0.8.3", + "@noble/hashes": "~1.3.0", "@scure/base": "~1.1.0" } }, - "node_modules/@scure/bip32/node_modules/@noble/hashes": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.2.0.tgz", - "integrity": "sha512-FZfhjEDbT5GRswV3C6uvLPHMiVD6lQBmpoX5+eSiPaMTXte/IKqI5dykDxzZB/WBeK/CDuQRBWarPdi3FNY2zQ==", - "dev": true, - "funding": [ - { - "type": "individual", - "url": "https://paulmillr.com/funding/" - } - ] - }, "node_modules/@scure/bip39": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@scure/bip39/-/bip39-1.1.1.tgz", - "integrity": "sha512-t+wDck2rVkh65Hmv280fYdVdY25J9YeEUIgn2LG1WM6gxFkGzcksoDiUkWVpVp3Oex9xGC68JU2dSbUfwZ2jPg==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@scure/bip39/-/bip39-1.2.0.tgz", + "integrity": "sha512-SX/uKq52cuxm4YFXWFaVByaSHJh2w3BnokVSeUJVCv6K7WulT9u2BuNRBhuFl8vAuYnzx9bEu9WgpcNYTrYieg==", "dev": true, "funding": [ { @@ -104,22 +95,10 @@ } ], "dependencies": { - "@noble/hashes": "~1.2.0", + "@noble/hashes": "~1.3.0", "@scure/base": "~1.1.0" } }, - "node_modules/@scure/bip39/node_modules/@noble/hashes": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.2.0.tgz", - "integrity": "sha512-FZfhjEDbT5GRswV3C6uvLPHMiVD6lQBmpoX5+eSiPaMTXte/IKqI5dykDxzZB/WBeK/CDuQRBWarPdi3FNY2zQ==", - "dev": true, - "funding": [ - { - "type": "individual", - "url": "https://paulmillr.com/funding/" - } - ] - }, "node_modules/@types/node": { "version": "18.11.18", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.11.18.tgz", diff --git a/package.json b/package.json index d13f959..d11604a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@noble/curves", - "version": "0.8.3", + "version": "0.9.0", "description": "Minimal, auditable JS implementation of elliptic curve cryptography", "files": [ "abstract", @@ -31,8 +31,8 @@ "@noble/hashes": "1.3.0" }, "devDependencies": { - "@scure/bip32": "~1.1.5", - "@scure/bip39": "~1.1.1", + "@scure/bip32": "~1.2.0", + "@scure/bip39": "~1.2.0", "@types/node": "18.11.18", "fast-check": "3.0.0", "micro-bmark": "0.3.1",