diff --git a/package-lock.json b/package-lock.json index aa4cce1e..17d89838 100644 --- a/package-lock.json +++ b/package-lock.json @@ -18,7 +18,7 @@ "@rsksmart/powpeg-redeemscript-parser": "^1.0.1", "@rsksmart/rsk-precompiled-abis": "^6.0.0-ARROWHEAD", "@rsksmart/rsk-precompiled-abis-lovell": "git+https://github.com/rsksmart/precompiled-abis#7.0.0-LOVELL", - "bn.js": "^4.11.8", + "bn.js": "^5.2.2", "btc-transaction-helper": "git+https://git@github.com/rsksmart/btc-transaction-helper#v3.5.0", "chai": "^4.1.2", "chai-as-promised": "^7.1.1", @@ -363,10 +363,6 @@ "bn.js": "^5.2.1" } }, - "node_modules/@ethersproject/bignumber/node_modules/bn.js": { - "version": "5.2.1", - "license": "MIT" - }, "node_modules/@ethersproject/bytes": { "version": "5.7.0", "funding": [ @@ -532,10 +528,6 @@ "hash.js": "1.1.7" } }, - "node_modules/@ethersproject/signing-key/node_modules/bn.js": { - "version": "5.2.1", - "license": "MIT" - }, "node_modules/@ethersproject/signing-key/node_modules/elliptic": { "version": "6.5.4", "license": "MIT", @@ -764,6 +756,12 @@ "node": ">=8.0.0" } }, + "node_modules/@rsksmart/powpeg-redeemscript-parser/node_modules/bn.js": { + "version": "4.12.2", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.2.tgz", + "integrity": "sha512-n4DSx829VRTRByMRGdjQ9iqsN0Bh4OolPsFnaZBLcbi8iXcB+kJ9s7EnRt4wILZNV3kPLHkRVfOc/HvhC3ovDw==", + "license": "MIT" + }, "node_modules/@rsksmart/powpeg-redeemscript-parser/node_modules/nan": { "version": "2.22.0", "resolved": "https://registry.npmjs.org/nan/-/nan-2.22.0.tgz", @@ -1206,6 +1204,12 @@ "node": ">=6.0.0" } }, + "node_modules/bip32/node_modules/bn.js": { + "version": "4.12.2", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.2.tgz", + "integrity": "sha512-n4DSx829VRTRByMRGdjQ9iqsN0Bh4OolPsFnaZBLcbi8iXcB+kJ9s7EnRt4wILZNV3kPLHkRVfOc/HvhC3ovDw==", + "license": "MIT" + }, "node_modules/bip32/node_modules/nan": { "version": "2.22.0", "resolved": "https://registry.npmjs.org/nan/-/nan-2.22.0.tgz", @@ -1271,6 +1275,12 @@ "node": ">=8.0.0" } }, + "node_modules/bitcoinjs-lib/node_modules/bn.js": { + "version": "4.12.2", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.2.tgz", + "integrity": "sha512-n4DSx829VRTRByMRGdjQ9iqsN0Bh4OolPsFnaZBLcbi8iXcB+kJ9s7EnRt4wILZNV3kPLHkRVfOc/HvhC3ovDw==", + "license": "MIT" + }, "node_modules/bitcoinjs-lib/node_modules/nan": { "version": "2.22.0", "resolved": "https://registry.npmjs.org/nan/-/nan-2.22.0.tgz", @@ -1303,7 +1313,9 @@ "license": "MIT" }, "node_modules/bn.js": { - "version": "4.12.0", + "version": "5.2.2", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.2.tgz", + "integrity": "sha512-v2YAxEmKaBLahNwE1mjp4WON6huMNeuDvagFZW+ASCuA/ku0bXR9hSMw0XpiqMoA3+rmnyck/tPRSFQkoC9Cuw==", "license": "MIT" }, "node_modules/body-parser": { @@ -2072,6 +2084,12 @@ "minimalistic-crypto-utils": "^1.0.1" } }, + "node_modules/elliptic/node_modules/bn.js": { + "version": "4.12.2", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.2.tgz", + "integrity": "sha512-n4DSx829VRTRByMRGdjQ9iqsN0Bh4OolPsFnaZBLcbi8iXcB+kJ9s7EnRt4wILZNV3kPLHkRVfOc/HvhC3ovDw==", + "license": "MIT" + }, "node_modules/emoji-regex": { "version": "8.0.0", "license": "MIT" @@ -2367,6 +2385,12 @@ "xhr-request-promise": "^0.1.2" } }, + "node_modules/eth-lib/node_modules/bn.js": { + "version": "4.12.2", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.2.tgz", + "integrity": "sha512-n4DSx829VRTRByMRGdjQ9iqsN0Bh4OolPsFnaZBLcbi8iXcB+kJ9s7EnRt4wILZNV3kPLHkRVfOc/HvhC3ovDw==", + "license": "MIT" + }, "node_modules/ethereum-bloom-filters": { "version": "1.2.0", "license": "MIT", @@ -2428,6 +2452,12 @@ "ethereumjs-util": "^5.0.0" } }, + "node_modules/ethereumjs-tx/node_modules/bn.js": { + "version": "4.12.2", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.2.tgz", + "integrity": "sha512-n4DSx829VRTRByMRGdjQ9iqsN0Bh4OolPsFnaZBLcbi8iXcB+kJ9s7EnRt4wILZNV3kPLHkRVfOc/HvhC3ovDw==", + "license": "MIT" + }, "node_modules/ethereumjs-tx/node_modules/ethereumjs-util": { "version": "5.2.1", "license": "MPL-2.0", @@ -2455,10 +2485,6 @@ "node": ">=10.0.0" } }, - "node_modules/ethereumjs-util/node_modules/bn.js": { - "version": "5.2.1", - "license": "MIT" - }, "node_modules/ethereumjs-wallet": { "version": "1.0.0", "license": "MIT", @@ -4190,6 +4216,12 @@ "node": ">=4.0.0" } }, + "node_modules/peglib/node_modules/bn.js": { + "version": "4.12.2", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.2.tgz", + "integrity": "sha512-n4DSx829VRTRByMRGdjQ9iqsN0Bh4OolPsFnaZBLcbi8iXcB+kJ9s7EnRt4wILZNV3kPLHkRVfOc/HvhC3ovDw==", + "license": "MIT" + }, "node_modules/peglib/node_modules/ethereumjs-util": { "version": "6.2.1", "license": "MPL-2.0", @@ -4628,10 +4660,6 @@ "rlp": "bin/rlp" } }, - "node_modules/rlp/node_modules/bn.js": { - "version": "5.2.1", - "license": "MIT" - }, "node_modules/rsk-transaction-helper": { "version": "3.1.0", "resolved": "git+ssh://git@github.com/rsksmart/rootstock-transaction-helper.git#6c368e265dd606a1b892b8a6ae7efe17bb05d4a0", @@ -5670,6 +5698,12 @@ "ethereumjs-util": "^7.1.5" } }, + "node_modules/web3-eth-accounts/node_modules/bn.js": { + "version": "4.12.2", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.2.tgz", + "integrity": "sha512-n4DSx829VRTRByMRGdjQ9iqsN0Bh4OolPsFnaZBLcbi8iXcB+kJ9s7EnRt4wILZNV3kPLHkRVfOc/HvhC3ovDw==", + "license": "MIT" + }, "node_modules/web3-eth-accounts/node_modules/eth-lib": { "version": "0.2.8", "license": "MIT", @@ -5735,10 +5769,6 @@ "node": ">=8.0.0" } }, - "node_modules/web3-eth-iban/node_modules/bn.js": { - "version": "5.2.1", - "license": "MIT" - }, "node_modules/web3-eth-personal": { "version": "1.10.4", "license": "LGPL-3.0", @@ -5847,10 +5877,6 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/web3-utils/node_modules/bn.js": { - "version": "5.2.1", - "license": "MIT" - }, "node_modules/web3-utils/node_modules/ethereum-cryptography": { "version": "2.2.1", "license": "MIT", diff --git a/package.json b/package.json index 1c8f35b0..4041ac86 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "@rsksmart/powpeg-redeemscript-parser": "^1.0.1", "@rsksmart/rsk-precompiled-abis": "^6.0.0-ARROWHEAD", "@rsksmart/rsk-precompiled-abis-lovell": "git+https://github.com/rsksmart/precompiled-abis#7.0.0-LOVELL", - "bn.js": "^4.11.8", + "bn.js": "^5.2.2", "btc-transaction-helper": "git+https://git@github.com/rsksmart/btc-transaction-helper#v3.5.0", "chai": "^4.1.2", "chai-as-promised": "^7.1.1",