Upgrade bn.js to version 5

This commit is contained in:
Simon Warta 2021-11-19 10:16:44 +01:00
parent eda053bfbf
commit 01a8212775
6 changed files with 33 additions and 36 deletions

27
.pnp.js generated
View File

@ -416,7 +416,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
],
[
"@types/bn.js",
"npm:4.11.6"
"npm:5.1.0"
],
[
"@types/body-parser",
@ -848,7 +848,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
],
[
"bn.js",
"npm:4.12.0"
"npm:5.2.0"
],
[
"body-parser",
@ -3366,7 +3366,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["@cosmjs/math", "workspace:packages/math"],
["@cosmjs/utils", "workspace:packages/utils"],
["@istanbuljs/nyc-config-typescript", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:1.0.1"],
["@types/bn.js", "npm:4.11.6"],
["@types/bn.js", "npm:5.1.0"],
["@types/elliptic", "npm:6.4.12"],
["@types/eslint-plugin-prettier", "npm:3.1.0"],
["@types/jasmine", "npm:3.8.1"],
@ -3380,7 +3380,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["@typescript-eslint/eslint-plugin", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:4.28.4"],
["@typescript-eslint/parser", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:4.28.4"],
["bip39", "npm:3.0.4"],
["bn.js", "npm:4.12.0"],
["bn.js", "npm:5.2.0"],
["buffer", "npm:6.0.3"],
["elliptic", "npm:6.5.4"],
["eslint", "npm:7.26.0"],
@ -3701,7 +3701,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
"packageDependencies": [
["@cosmjs/math", "workspace:packages/math"],
["@istanbuljs/nyc-config-typescript", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:1.0.1"],
["@types/bn.js", "npm:4.11.6"],
["@types/bn.js", "npm:5.1.0"],
["@types/eslint-plugin-prettier", "npm:3.1.0"],
["@types/jasmine", "npm:3.8.1"],
["@types/karma-firefox-launcher", "npm:2.1.0"],
@ -3709,7 +3709,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["@types/karma-jasmine-html-reporter", "npm:1.5.1"],
["@typescript-eslint/eslint-plugin", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:4.28.4"],
["@typescript-eslint/parser", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:4.28.4"],
["bn.js", "npm:4.12.0"],
["bn.js", "npm:5.2.0"],
["buffer", "npm:6.0.3"],
["eslint", "npm:7.26.0"],
["eslint-config-prettier", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:8.3.0"],
@ -4400,14 +4400,6 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
}]
]],
["@types/bn.js", [
["npm:4.11.6", {
"packageLocation": "./.yarn/cache/@types-bn.js-npm-4.11.6-85f0d125f5-0f6cbfb3d1.zip/node_modules/@types/bn.js/",
"packageDependencies": [
["@types/bn.js", "npm:4.11.6"],
["@types/node", "npm:15.3.1"]
],
"linkType": "HARD",
}],
["npm:5.1.0", {
"packageLocation": "./.yarn/cache/@types-bn.js-npm-5.1.0-4a0335ff4f-e33009f99b.zip/node_modules/@types/bn.js/",
"packageDependencies": [
@ -6425,6 +6417,13 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["bn.js", "npm:4.12.0"]
],
"linkType": "HARD",
}],
["npm:5.2.0", {
"packageLocation": "./.yarn/cache/bn.js-npm-5.2.0-11748c0b07-7a73bdbba6.zip/node_modules/bn.js/",
"packageDependencies": [
["bn.js", "npm:5.2.0"]
],
"linkType": "HARD",
}]
]],
["body-parser", [

Binary file not shown.

BIN
.yarn/cache/bn.js-npm-5.2.0-11748c0b07-7a73bdbba6.zip (Stored with Git LFS) vendored Normal file

Binary file not shown.

View File

@ -45,7 +45,7 @@
"@cosmjs/math": "workspace:packages/math",
"@cosmjs/utils": "workspace:packages/utils",
"bip39": "^3.0.2",
"bn.js": "^4.11.8",
"bn.js": "^5.2.0",
"elliptic": "^6.5.3",
"js-sha3": "^0.8.0",
"libsodium-wrappers": "^0.7.6",
@ -54,7 +54,7 @@
},
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^1.0.1",
"@types/bn.js": "^4.11.6",
"@types/bn.js": "^5",
"@types/elliptic": "^6.4.12",
"@types/eslint-plugin-prettier": "^3",
"@types/jasmine": "^3.8",

View File

@ -40,11 +40,11 @@
"pack-web": "yarn build-or-skip && webpack --mode development --config webpack.web.config.js"
},
"dependencies": {
"bn.js": "^4.11.8"
"bn.js": "^5.2.0"
},
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^1.0.1",
"@types/bn.js": "^4.11.6",
"@types/bn.js": "^5",
"@types/eslint-plugin-prettier": "^3",
"@types/jasmine": "^3.8",
"@types/karma-firefox-launcher": "^2",

View File

@ -455,7 +455,7 @@ __metadata:
"@cosmjs/math": "workspace:packages/math"
"@cosmjs/utils": "workspace:packages/utils"
"@istanbuljs/nyc-config-typescript": ^1.0.1
"@types/bn.js": ^4.11.6
"@types/bn.js": ^5
"@types/elliptic": ^6.4.12
"@types/eslint-plugin-prettier": ^3
"@types/jasmine": ^3.8
@ -469,7 +469,7 @@ __metadata:
"@typescript-eslint/eslint-plugin": ^4.28
"@typescript-eslint/parser": ^4.28
bip39: ^3.0.2
bn.js: ^4.11.8
bn.js: ^5.2.0
buffer: ^6.0.3
elliptic: ^6.5.3
eslint: ^7.5
@ -778,7 +778,7 @@ __metadata:
resolution: "@cosmjs/math@workspace:packages/math"
dependencies:
"@istanbuljs/nyc-config-typescript": ^1.0.1
"@types/bn.js": ^4.11.6
"@types/bn.js": ^5
"@types/eslint-plugin-prettier": ^3
"@types/jasmine": ^3.8
"@types/karma-firefox-launcher": ^2
@ -786,7 +786,7 @@ __metadata:
"@types/karma-jasmine-html-reporter": ^1
"@typescript-eslint/eslint-plugin": ^4.28
"@typescript-eslint/parser": ^4.28
bn.js: ^4.11.8
bn.js: ^5.2.0
buffer: ^6.0.3
eslint: ^7.5
eslint-config-prettier: ^8.3.0
@ -1397,7 +1397,7 @@ __metadata:
languageName: node
linkType: hard
"@types/bn.js@npm:*":
"@types/bn.js@npm:*, @types/bn.js@npm:^5":
version: 5.1.0
resolution: "@types/bn.js@npm:5.1.0"
dependencies:
@ -1406,15 +1406,6 @@ __metadata:
languageName: node
linkType: hard
"@types/bn.js@npm:^4.11.6":
version: 4.11.6
resolution: "@types/bn.js@npm:4.11.6"
dependencies:
"@types/node": "*"
checksum: 0f6cbfb3d12f6b5cce62922c57b4704583307961e9d09ae07e1aab2a41f815e27417bd022c8f48bba545c2bb27ee23e1035ca53500b2081e037e749ec27b88b8
languageName: node
linkType: hard
"@types/body-parser@npm:*":
version: 1.19.0
resolution: "@types/body-parser@npm:1.19.0"
@ -2503,13 +2494,20 @@ __metadata:
languageName: node
linkType: hard
"bn.js@npm:^4.11.8, bn.js@npm:^4.11.9":
"bn.js@npm:^4.11.9":
version: 4.12.0
resolution: "bn.js@npm:4.12.0"
checksum: cfe7494de9c8a472c3534418f64f9c30a3f18134a8ad0c3ba4e0e934feb5d1a9110bba049a47ec6b79a1d649467df212f64ba6b22aaccbea0c3c208bef0b4110
languageName: node
linkType: hard
"bn.js@npm:^5.2.0":
version: 5.2.0
resolution: "bn.js@npm:5.2.0"
checksum: 7a73bdbba63013a7f9953fbbd6ea3351e4cf36d6fdbb5adf7969fcd65255b9c04f2994b0132d89d74ffe608a0eb5a48322526bee20c0e03e71e502603b420f63
languageName: node
linkType: hard
"body-parser@npm:^1.19.0":
version: 1.19.0
resolution: "body-parser@npm:1.19.0"