From e3f937de5cb0acb804e539b2f5384eb55829c627 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 13 Jul 2023 08:37:13 +0000 Subject: [PATCH] bump(deps): update dependency tiny-secp256k1 to v2 --- package-lock.json | 166 +++++++++----------- packages/jellyfish-crypto/package.json | 4 +- packages/jellyfish-transaction/package.json | 2 +- 3 files changed, 79 insertions(+), 93 deletions(-) diff --git a/package-lock.json b/package-lock.json index af857c4183..8f566c962d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7380,12 +7380,12 @@ } }, "node_modules/@types/tiny-secp256k1": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@types/tiny-secp256k1/-/tiny-secp256k1-1.0.0.tgz", - "integrity": "sha512-IW3dFGNyVkVLC1MCMogVWQaKH/ZtjPQdOW9c3X128o5lVpFYNsq/l3Qo1pV7sfTmvDzWEXR3QTxg1TMy1pyaAQ==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@types/tiny-secp256k1/-/tiny-secp256k1-2.0.0.tgz", + "integrity": "sha512-D57ZbgGYIWYLhFc7JH1NaAgZtB+oQaTx0WvAL/d6+sXHqHOIDEGgryxDmGkCNLUJ8mB06lCOPaiLCBcfuh53sQ==", "dev": true, "dependencies": { - "@types/node": "*" + "tiny-secp256k1": "*" } }, "node_modules/@types/unist": { @@ -8861,6 +8861,22 @@ "version": "10.12.18", "license": "MIT" }, + "node_modules/bip32/node_modules/tiny-secp256k1": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/tiny-secp256k1/-/tiny-secp256k1-1.1.6.tgz", + "integrity": "sha512-FmqJZGduTyvsr2cF3375fqGHUovSwDi/QytexX1Se4BPuPZpTE5Ftp5fg+EFSuEf3lhZqgCRjEG3ydUQ/aNiwA==", + "hasInstallScript": true, + "dependencies": { + "bindings": "^1.3.0", + "bn.js": "^4.11.8", + "create-hmac": "^1.1.7", + "elliptic": "^6.4.0", + "nan": "^2.13.2" + }, + "engines": { + "node": ">=6.0.0" + } + }, "node_modules/bip39": { "version": "3.0.4", "license": "ISC", @@ -23854,19 +23870,14 @@ } }, "node_modules/tiny-secp256k1": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/tiny-secp256k1/-/tiny-secp256k1-1.1.6.tgz", - "integrity": "sha512-FmqJZGduTyvsr2cF3375fqGHUovSwDi/QytexX1Se4BPuPZpTE5Ftp5fg+EFSuEf3lhZqgCRjEG3ydUQ/aNiwA==", - "hasInstallScript": true, + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/tiny-secp256k1/-/tiny-secp256k1-2.2.3.tgz", + "integrity": "sha512-SGcL07SxcPN2nGKHTCvRMkQLYPSoeFcvArUSCYtjVARiFAWU44cCIqYS0mYAU6nY7XfvwURuTIGo2Omt3ZQr0Q==", "dependencies": { - "bindings": "^1.3.0", - "bn.js": "^4.11.8", - "create-hmac": "^1.1.7", - "elliptic": "^6.4.0", - "nan": "^2.13.2" + "uint8array-tools": "0.0.7" }, "engines": { - "node": ">=6.0.0" + "node": ">=14.0.0" } }, "node_modules/tiny-warning": { @@ -24379,7 +24390,6 @@ "version": "0.0.7", "resolved": "https://registry.npmjs.org/uint8array-tools/-/uint8array-tools-0.0.7.tgz", "integrity": "sha512-vrrNZJiusLWoFWBqz5Y5KMCgP9W9hnjZHzZiZRT8oNAkq3d5Z5Oe76jAvVVSRh4U8GGR90N2X1dWtrhvx6L8UQ==", - "dev": true, "engines": { "node": ">=14.0.0" } @@ -26060,7 +26070,7 @@ "create-hash": "^1.2.0", "keccak": "^3.0.3", "randombytes": "^2.1.0", - "tiny-secp256k1": "^1.1.6", + "tiny-secp256k1": "^2.2.3", "wif": "^2.0.6" }, "devDependencies": { @@ -26069,7 +26079,7 @@ "@types/create-hash": "1.2.2", "@types/keccak": "^3.0.1", "@types/randombytes": "2.0.0", - "@types/tiny-secp256k1": "1.0.0", + "@types/tiny-secp256k1": "2.0.0", "@types/wif": "2.0.2" }, "peerDependencies": { @@ -26126,7 +26136,7 @@ "devDependencies": { "bitcoinjs-lib": "6.1.0", "ecpair": "2.0.1", - "tiny-secp256k1": "1.1.6" + "tiny-secp256k1": "2.2.3" }, "peerDependencies": { "defichain": "^0.0.0" @@ -26158,18 +26168,6 @@ "defichain": "^0.0.0" } }, - "packages/jellyfish-transaction/node_modules/tiny-secp256k1": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/tiny-secp256k1/-/tiny-secp256k1-2.2.1.tgz", - "integrity": "sha512-/U4xfVqnVxJXN4YVsru0E6t5wVncu2uunB8+RVR40fYUxkKYUPS10f+ePQZgFBoE/Jbf9H1NBveupF2VmB58Ng==", - "dev": true, - "dependencies": { - "uint8array-tools": "0.0.7" - }, - "engines": { - "node": ">=14.0.0" - } - }, "packages/jellyfish-wallet": { "name": "@defichain/jellyfish-wallet", "version": "0.0.0", @@ -26215,8 +26213,6 @@ "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", "create-hmac": "^1.1.7" @@ -28114,7 +28110,7 @@ "@types/create-hash": "1.2.2", "@types/keccak": "^3.0.1", "@types/randombytes": "2.0.0", - "@types/tiny-secp256k1": "1.0.0", + "@types/tiny-secp256k1": "2.0.0", "@types/wif": "2.0.2", "bech32": "^2.0.0", "bip66": "^1.1.5", @@ -28123,7 +28119,7 @@ "create-hash": "^1.2.0", "keccak": "^3.0.3", "randombytes": "^2.1.0", - "tiny-secp256k1": "^1.1.6", + "tiny-secp256k1": "^2.2.3", "wif": "^2.0.6" } }, @@ -28158,17 +28154,7 @@ "@defichain/jellyfish-crypto": "^0.0.0", "bitcoinjs-lib": "6.1.0", "ecpair": "2.0.1", - "tiny-secp256k1": "1.1.6" - }, - "dependencies": { - "tiny-secp256k1": { - "version": "https://registry.npmjs.org/tiny-secp256k1/-/tiny-secp256k1-2.2.1.tgz", - "integrity": "sha512-/U4xfVqnVxJXN4YVsru0E6t5wVncu2uunB8+RVR40fYUxkKYUPS10f+ePQZgFBoE/Jbf9H1NBveupF2VmB58Ng==", - "dev": true, - "requires": { - "uint8array-tools": "0.0.7" - } - } + "tiny-secp256k1": "2.2.3" } }, "@defichain/jellyfish-transaction-builder": { @@ -28215,8 +28201,6 @@ "@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", @@ -32004,12 +31988,12 @@ } }, "@types/tiny-secp256k1": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@types/tiny-secp256k1/-/tiny-secp256k1-1.0.0.tgz", - "integrity": "sha512-IW3dFGNyVkVLC1MCMogVWQaKH/ZtjPQdOW9c3X128o5lVpFYNsq/l3Qo1pV7sfTmvDzWEXR3QTxg1TMy1pyaAQ==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@types/tiny-secp256k1/-/tiny-secp256k1-2.0.0.tgz", + "integrity": "sha512-D57ZbgGYIWYLhFc7JH1NaAgZtB+oQaTx0WvAL/d6+sXHqHOIDEGgryxDmGkCNLUJ8mB06lCOPaiLCBcfuh53sQ==", "dev": true, "requires": { - "@types/node": "*" + "tiny-secp256k1": "*" } }, "@types/unist": { @@ -33018,6 +33002,18 @@ "dependencies": { "@types/node": { "version": "10.12.18" + }, + "tiny-secp256k1": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/tiny-secp256k1/-/tiny-secp256k1-1.1.6.tgz", + "integrity": "sha512-FmqJZGduTyvsr2cF3375fqGHUovSwDi/QytexX1Se4BPuPZpTE5Ftp5fg+EFSuEf3lhZqgCRjEG3ydUQ/aNiwA==", + "requires": { + "bindings": "^1.3.0", + "bn.js": "^4.11.8", + "create-hmac": "^1.1.7", + "elliptic": "^6.4.0", + "nan": "^2.13.2" + } } } }, @@ -36411,7 +36407,7 @@ "@types/create-hash": "1.2.2", "@types/keccak": "^3.0.1", "@types/randombytes": "2.0.0", - "@types/tiny-secp256k1": "1.0.0", + "@types/tiny-secp256k1": "2.0.0", "@types/wif": "2.0.2", "bech32": "^2.0.0", "bip66": "^1.1.5", @@ -36420,7 +36416,7 @@ "create-hash": "^1.2.0", "keccak": "^3.0.3", "randombytes": "^2.1.0", - "tiny-secp256k1": "^1.1.6", + "tiny-secp256k1": "^2.2.3", "wif": "^2.0.6" } }, @@ -36455,17 +36451,7 @@ "@defichain/jellyfish-crypto": "^0.0.0", "bitcoinjs-lib": "6.1.0", "ecpair": "2.0.1", - "tiny-secp256k1": "1.1.6" - }, - "dependencies": { - "tiny-secp256k1": { - "version": "https://registry.npmjs.org/tiny-secp256k1/-/tiny-secp256k1-2.2.1.tgz", - "integrity": "sha512-/U4xfVqnVxJXN4YVsru0E6t5wVncu2uunB8+RVR40fYUxkKYUPS10f+ePQZgFBoE/Jbf9H1NBveupF2VmB58Ng==", - "dev": true, - "requires": { - "uint8array-tools": "0.0.7" - } - } + "tiny-secp256k1": "2.2.3" } }, "@defichain/jellyfish-transaction-builder": { @@ -36512,8 +36498,6 @@ "@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", @@ -40301,12 +40285,12 @@ } }, "@types/tiny-secp256k1": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@types/tiny-secp256k1/-/tiny-secp256k1-1.0.0.tgz", - "integrity": "sha512-IW3dFGNyVkVLC1MCMogVWQaKH/ZtjPQdOW9c3X128o5lVpFYNsq/l3Qo1pV7sfTmvDzWEXR3QTxg1TMy1pyaAQ==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@types/tiny-secp256k1/-/tiny-secp256k1-2.0.0.tgz", + "integrity": "sha512-D57ZbgGYIWYLhFc7JH1NaAgZtB+oQaTx0WvAL/d6+sXHqHOIDEGgryxDmGkCNLUJ8mB06lCOPaiLCBcfuh53sQ==", "dev": true, "requires": { - "@types/node": "*" + "tiny-secp256k1": "*" } }, "@types/unist": { @@ -41315,6 +41299,18 @@ "dependencies": { "@types/node": { "version": "10.12.18" + }, + "tiny-secp256k1": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/tiny-secp256k1/-/tiny-secp256k1-1.1.6.tgz", + "integrity": "sha512-FmqJZGduTyvsr2cF3375fqGHUovSwDi/QytexX1Se4BPuPZpTE5Ftp5fg+EFSuEf3lhZqgCRjEG3ydUQ/aNiwA==", + "requires": { + "bindings": "^1.3.0", + "bn.js": "^4.11.8", + "create-hmac": "^1.1.7", + "elliptic": "^6.4.0", + "nan": "^2.13.2" + } } } }, @@ -51675,15 +51671,11 @@ "integrity": "sha512-Vst+6kEsWvb17Zpz14sRJV/f8bUWKhqm6Dc+v08iShmIJ/WxqWytHzCTd6m88pS33rE2zpX34TRmOpAJPloNCA==" }, "tiny-secp256k1": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/tiny-secp256k1/-/tiny-secp256k1-1.1.6.tgz", - "integrity": "sha512-FmqJZGduTyvsr2cF3375fqGHUovSwDi/QytexX1Se4BPuPZpTE5Ftp5fg+EFSuEf3lhZqgCRjEG3ydUQ/aNiwA==", + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/tiny-secp256k1/-/tiny-secp256k1-2.2.3.tgz", + "integrity": "sha512-SGcL07SxcPN2nGKHTCvRMkQLYPSoeFcvArUSCYtjVARiFAWU44cCIqYS0mYAU6nY7XfvwURuTIGo2Omt3ZQr0Q==", "requires": { - "bindings": "^1.3.0", - "bn.js": "^4.11.8", - "create-hmac": "^1.1.7", - "elliptic": "^6.4.0", - "nan": "^2.13.2" + "uint8array-tools": "0.0.7" } }, "tiny-warning": { @@ -51998,8 +51990,7 @@ "uint8array-tools": { "version": "0.0.7", "resolved": "https://registry.npmjs.org/uint8array-tools/-/uint8array-tools-0.0.7.tgz", - "integrity": "sha512-vrrNZJiusLWoFWBqz5Y5KMCgP9W9hnjZHzZiZRT8oNAkq3d5Z5Oe76jAvVVSRh4U8GGR90N2X1dWtrhvx6L8UQ==", - "dev": true + "integrity": "sha512-vrrNZJiusLWoFWBqz5Y5KMCgP9W9hnjZHzZiZRT8oNAkq3d5Z5Oe76jAvVVSRh4U8GGR90N2X1dWtrhvx6L8UQ==" }, "unbox-primitive": { "version": "1.0.2", @@ -61781,15 +61772,11 @@ "integrity": "sha512-Vst+6kEsWvb17Zpz14sRJV/f8bUWKhqm6Dc+v08iShmIJ/WxqWytHzCTd6m88pS33rE2zpX34TRmOpAJPloNCA==" }, "tiny-secp256k1": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/tiny-secp256k1/-/tiny-secp256k1-1.1.6.tgz", - "integrity": "sha512-FmqJZGduTyvsr2cF3375fqGHUovSwDi/QytexX1Se4BPuPZpTE5Ftp5fg+EFSuEf3lhZqgCRjEG3ydUQ/aNiwA==", + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/tiny-secp256k1/-/tiny-secp256k1-2.2.3.tgz", + "integrity": "sha512-SGcL07SxcPN2nGKHTCvRMkQLYPSoeFcvArUSCYtjVARiFAWU44cCIqYS0mYAU6nY7XfvwURuTIGo2Omt3ZQr0Q==", "requires": { - "bindings": "^1.3.0", - "bn.js": "^4.11.8", - "create-hmac": "^1.1.7", - "elliptic": "^6.4.0", - "nan": "^2.13.2" + "uint8array-tools": "0.0.7" } }, "tiny-warning": { @@ -62104,8 +62091,7 @@ "uint8array-tools": { "version": "0.0.7", "resolved": "https://registry.npmjs.org/uint8array-tools/-/uint8array-tools-0.0.7.tgz", - "integrity": "sha512-vrrNZJiusLWoFWBqz5Y5KMCgP9W9hnjZHzZiZRT8oNAkq3d5Z5Oe76jAvVVSRh4U8GGR90N2X1dWtrhvx6L8UQ==", - "dev": true + "integrity": "sha512-vrrNZJiusLWoFWBqz5Y5KMCgP9W9hnjZHzZiZRT8oNAkq3d5Z5Oe76jAvVVSRh4U8GGR90N2X1dWtrhvx6L8UQ==" }, "unbox-primitive": { "version": "1.0.2", diff --git a/packages/jellyfish-crypto/package.json b/packages/jellyfish-crypto/package.json index 9649e2485b..247ea3be47 100644 --- a/packages/jellyfish-crypto/package.json +++ b/packages/jellyfish-crypto/package.json @@ -21,7 +21,7 @@ "create-hash": "^1.2.0", "randombytes": "^2.1.0", "keccak": "^3.0.3", - "tiny-secp256k1": "^1.1.6", + "tiny-secp256k1": "^2.2.3", "wif": "^2.0.6" }, "peerDependencies": { @@ -33,7 +33,7 @@ "@types/create-hash": "1.2.2", "@types/keccak": "^3.0.1", "@types/randombytes": "2.0.0", - "@types/tiny-secp256k1": "1.0.0", + "@types/tiny-secp256k1": "2.0.0", "@types/wif": "2.0.2" } } diff --git a/packages/jellyfish-transaction/package.json b/packages/jellyfish-transaction/package.json index 7a3cc0b475..e1607156db 100644 --- a/packages/jellyfish-transaction/package.json +++ b/packages/jellyfish-transaction/package.json @@ -23,6 +23,6 @@ "devDependencies": { "bitcoinjs-lib": "6.1.0", "ecpair": "2.0.1", - "tiny-secp256k1": "1.1.6" + "tiny-secp256k1": "2.2.3" } }