diff --git a/package-lock.json b/package-lock.json index 5adcda5a4f..118bfb860c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5840,6 +5840,17 @@ } } }, + "node_modules/@noble/hashes": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.1.tgz", + "integrity": "sha512-EbqwksQwz9xDRGfDST86whPBgM65E0OH/pCgqW0GBVzO22bNE+NuIbeTb714+IfSjU3aRk47EUvXIb5bTsenKA==", + "engines": { + "node": ">= 16" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, "node_modules/@nodelib/fs.scandir": { "version": "2.1.5", "license": "MIT", @@ -8852,19 +8863,13 @@ "license": "MIT" }, "node_modules/bip39": { - "version": "3.0.4", - "license": "ISC", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/bip39/-/bip39-3.1.0.tgz", + "integrity": "sha512-c9kiwdk45Do5GL0vJMe7tS95VjCii65mYAH7DfWl3uW8AVzXKQVUm64i3hzVybBDMp9r7j9iNxR85+ul8MdN/A==", "dependencies": { - "@types/node": "11.11.6", - "create-hash": "^1.1.0", - "pbkdf2": "^3.0.9", - "randombytes": "^2.0.1" + "@noble/hashes": "^1.2.0" } }, - "node_modules/bip39/node_modules/@types/node": { - "version": "11.11.6", - "license": "MIT" - }, "node_modules/bip66": { "version": "1.1.5", "license": "MIT", @@ -19650,20 +19655,6 @@ "node": ">=8" } }, - "node_modules/pbkdf2": { - "version": "3.1.2", - "license": "MIT", - "dependencies": { - "create-hash": "^1.1.2", - "create-hmac": "^1.1.4", - "ripemd160": "^2.0.1", - "safe-buffer": "^5.0.1", - "sha.js": "^2.4.8" - }, - "engines": { - "node": ">=0.12" - } - }, "node_modules/pg": { "version": "8.9.0", "resolved": "https://registry.npmjs.org/pg/-/pg-8.9.0.tgz", @@ -26184,10 +26175,8 @@ "version": "0.0.0", "license": "MIT", "dependencies": { - "@defichain/jellyfish-transaction": "^0.0.0", - "@defichain/jellyfish-wallet": "^0.0.0", "bip32": "^2.0.6", - "bip39": "^3.0.4", + "bip39": "^3.1.0", "create-hmac": "^1.1.7" }, "devDependencies": { @@ -28182,11 +28171,9 @@ "@defichain/jellyfish-wallet-mnemonic": { "version": "file:packages/jellyfish-wallet-mnemonic", "requires": { - "@defichain/jellyfish-transaction": "^0.0.0", - "@defichain/jellyfish-wallet": "^0.0.0", "@types/create-hmac": "1.1.0", "bip32": "^2.0.6", - "bip39": "^3.0.4", + "bip39": "^3.1.0", "create-hmac": "^1.1.7" } }, @@ -30755,6 +30742,11 @@ "tslib": "2.5.0" } }, + "@noble/hashes": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.1.tgz", + "integrity": "sha512-EbqwksQwz9xDRGfDST86whPBgM65E0OH/pCgqW0GBVzO22bNE+NuIbeTb714+IfSjU3aRk47EUvXIb5bTsenKA==" + }, "@nodelib/fs.scandir": { "version": "2.1.5", "requires": { @@ -32979,17 +32971,11 @@ } }, "bip39": { - "version": "3.0.4", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/bip39/-/bip39-3.1.0.tgz", + "integrity": "sha512-c9kiwdk45Do5GL0vJMe7tS95VjCii65mYAH7DfWl3uW8AVzXKQVUm64i3hzVybBDMp9r7j9iNxR85+ul8MdN/A==", "requires": { - "@types/node": "11.11.6", - "create-hash": "^1.1.0", - "pbkdf2": "^3.0.9", - "randombytes": "^2.0.1" - }, - "dependencies": { - "@types/node": { - "version": "11.11.6" - } + "@noble/hashes": "^1.2.0" } }, "bip66": { @@ -36467,11 +36453,9 @@ "@defichain/jellyfish-wallet-mnemonic": { "version": "file:packages/jellyfish-wallet-mnemonic", "requires": { - "@defichain/jellyfish-transaction": "^0.0.0", - "@defichain/jellyfish-wallet": "^0.0.0", "@types/create-hmac": "1.1.0", "bip32": "^2.0.6", - "bip39": "^3.0.4", + "bip39": "^3.1.0", "create-hmac": "^1.1.7" } }, @@ -39040,6 +39024,11 @@ "tslib": "2.5.0" } }, + "@noble/hashes": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.1.tgz", + "integrity": "sha512-EbqwksQwz9xDRGfDST86whPBgM65E0OH/pCgqW0GBVzO22bNE+NuIbeTb714+IfSjU3aRk47EUvXIb5bTsenKA==" + }, "@nodelib/fs.scandir": { "version": "2.1.5", "requires": { @@ -41264,17 +41253,11 @@ } }, "bip39": { - "version": "3.0.4", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/bip39/-/bip39-3.1.0.tgz", + "integrity": "sha512-c9kiwdk45Do5GL0vJMe7tS95VjCii65mYAH7DfWl3uW8AVzXKQVUm64i3hzVybBDMp9r7j9iNxR85+ul8MdN/A==", "requires": { - "@types/node": "11.11.6", - "create-hash": "^1.1.0", - "pbkdf2": "^3.0.9", - "randombytes": "^2.0.1" - }, - "dependencies": { - "@types/node": { - "version": "11.11.6" - } + "@noble/hashes": "^1.2.0" } }, "bip66": { @@ -48750,16 +48733,6 @@ "path-type": { "version": "4.0.0" }, - "pbkdf2": { - "version": "3.1.2", - "requires": { - "create-hash": "^1.1.2", - "create-hmac": "^1.1.4", - "ripemd160": "^2.0.1", - "safe-buffer": "^5.0.1", - "sha.js": "^2.4.8" - } - }, "pg": { "version": "8.9.0", "resolved": "https://registry.npmjs.org/pg/-/pg-8.9.0.tgz", @@ -58841,16 +58814,6 @@ "path-type": { "version": "4.0.0" }, - "pbkdf2": { - "version": "3.1.2", - "requires": { - "create-hash": "^1.1.2", - "create-hmac": "^1.1.4", - "ripemd160": "^2.0.1", - "safe-buffer": "^5.0.1", - "sha.js": "^2.4.8" - } - }, "pg": { "version": "8.9.0", "resolved": "https://registry.npmjs.org/pg/-/pg-8.9.0.tgz", diff --git a/packages/jellyfish-wallet-mnemonic/package.json b/packages/jellyfish-wallet-mnemonic/package.json index 27b3c09889..81416d0f0b 100644 --- a/packages/jellyfish-wallet-mnemonic/package.json +++ b/packages/jellyfish-wallet-mnemonic/package.json @@ -17,7 +17,7 @@ "@defichain/jellyfish-wallet": "^0.0.0", "@defichain/jellyfish-transaction": "^0.0.0", "bip32": "^2.0.6", - "bip39": "^3.0.4", + "bip39": "^3.1.0", "create-hmac": "^1.1.7" }, "peerDependencies": {