Remove elliptic dependency

This commit is contained in:
Simon Warta 2022-12-08 17:54:05 +01:00
parent cb5304547e
commit f0bb7cf7b4
11 changed files with 1 additions and 215 deletions

113
.pnp.cjs generated
View File

@ -470,10 +470,6 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
"@types/diff",\
"npm:4.0.2"\
],\
[\
"@types/elliptic",\
"npm:6.4.14"\
],\
[\
"@types/eslint",\
"npm:7.2.10"\
@ -878,10 +874,6 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
"braces",\
"npm:3.0.2"\
],\
[\
"brorand",\
"npm:1.1.0"\
],\
[\
"browserslist",\
"npm:4.16.6"\
@ -1130,10 +1122,6 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
"electron-to-chromium",\
"npm:1.3.734"\
],\
[\
"elliptic",\
"npm:6.5.4"\
],\
[\
"emoji-regex",\
"npm:8.0.0"\
@ -1486,18 +1474,10 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
"hash-base",\
"npm:3.1.0"\
],\
[\
"hash.js",\
"npm:1.1.7"\
],\
[\
"hasha",\
"npm:5.2.2"\
],\
[\
"hmac-drbg",\
"npm:1.0.1"\
],\
[\
"hosted-git-info",\
"npm:2.8.9"\
@ -1946,14 +1926,6 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
"mimic-response",\
"npm:2.1.0"\
],\
[\
"minimalistic-assert",\
"npm:1.0.1"\
],\
[\
"minimalistic-crypto-utils",\
"npm:1.0.1"\
],\
[\
"minimatch",\
"npm:3.1.2"\
@ -3327,7 +3299,6 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["@noble/hashes", "npm:1.0.0"],\
["@noble/secp256k1", "npm:1.7.0"],\
["@types/bn.js", "npm:5.1.0"],\
["@types/elliptic", "npm:6.4.14"],\
["@types/eslint-plugin-prettier", "npm:3.1.0"],\
["@types/jasmine", "npm:4.0.3"],\
["@types/karma-firefox-launcher", "npm:2.1.0"],\
@ -3339,7 +3310,6 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["@typescript-eslint/parser", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:5.13.0"],\
["bn.js", "npm:5.2.0"],\
["buffer", "npm:6.0.3"],\
["elliptic", "npm:6.5.4"],\
["eslint", "npm:7.26.0"],\
["eslint-config-prettier", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:8.3.0"],\
["eslint-import-resolver-node", "npm:0.3.4"],\
@ -4455,16 +4425,6 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
"linkType": "HARD"\
}]\
]],\
["@types/elliptic", [\
["npm:6.4.14", {\
"packageLocation": "./.yarn/cache/@types-elliptic-npm-6.4.14-77735f3256-d5a64f540e.zip/node_modules/@types/elliptic/",\
"packageDependencies": [\
["@types/elliptic", "npm:6.4.14"],\
["@types/bn.js", "npm:5.1.0"]\
],\
"linkType": "HARD"\
}]\
]],\
["@types/eslint", [\
["npm:7.2.10", {\
"packageLocation": "./.yarn/cache/@types-eslint-npm-7.2.10-80d8a98db0-9c82e4733c.zip/node_modules/@types/eslint/",\
@ -6368,13 +6328,6 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
}]\
]],\
["bn.js", [\
["npm:4.12.0", {\
"packageLocation": "./.yarn/cache/bn.js-npm-4.12.0-3ec6c884f6-39afb4f15f.zip/node_modules/bn.js/",\
"packageDependencies": [\
["bn.js", "npm:4.12.0"]\
],\
"linkType": "HARD"\
}],\
["npm:5.2.0", {\
"packageLocation": "./.yarn/cache/bn.js-npm-5.2.0-11748c0b07-6117170393.zip/node_modules/bn.js/",\
"packageDependencies": [\
@ -6431,15 +6384,6 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
"linkType": "HARD"\
}]\
]],\
["brorand", [\
["npm:1.1.0", {\
"packageLocation": "./.yarn/cache/brorand-npm-1.1.0-ea86634c4b-8a05c9f3c4.zip/node_modules/brorand/",\
"packageDependencies": [\
["brorand", "npm:1.1.0"]\
],\
"linkType": "HARD"\
}]\
]],\
["browserslist", [\
["npm:4.16.6", {\
"packageLocation": "./.yarn/cache/browserslist-npm-4.16.6-a20cef1ca7-3dffc86892.zip/node_modules/browserslist/",\
@ -7224,22 +7168,6 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
"linkType": "HARD"\
}]\
]],\
["elliptic", [\
["npm:6.5.4", {\
"packageLocation": "./.yarn/cache/elliptic-npm-6.5.4-0ca8204a86-d56d21fd04.zip/node_modules/elliptic/",\
"packageDependencies": [\
["elliptic", "npm:6.5.4"],\
["bn.js", "npm:4.12.0"],\
["brorand", "npm:1.1.0"],\
["hash.js", "npm:1.1.7"],\
["hmac-drbg", "npm:1.0.1"],\
["inherits", "npm:2.0.4"],\
["minimalistic-assert", "npm:1.0.1"],\
["minimalistic-crypto-utils", "npm:1.0.1"]\
],\
"linkType": "HARD"\
}]\
]],\
["emoji-regex", [\
["npm:8.0.0", {\
"packageLocation": "./.yarn/cache/emoji-regex-npm-8.0.0-213764015c-d4c5c39d5a.zip/node_modules/emoji-regex/",\
@ -8387,17 +8315,6 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
"linkType": "HARD"\
}]\
]],\
["hash.js", [\
["npm:1.1.7", {\
"packageLocation": "./.yarn/cache/hash.js-npm-1.1.7-f1ad187358-e350096e65.zip/node_modules/hash.js/",\
"packageDependencies": [\
["hash.js", "npm:1.1.7"],\
["inherits", "npm:2.0.4"],\
["minimalistic-assert", "npm:1.0.1"]\
],\
"linkType": "HARD"\
}]\
]],\
["hasha", [\
["npm:5.2.2", {\
"packageLocation": "./.yarn/cache/hasha-npm-5.2.2-d171116d12-06cc474bed.zip/node_modules/hasha/",\
@ -8409,18 +8326,6 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
"linkType": "HARD"\
}]\
]],\
["hmac-drbg", [\
["npm:1.0.1", {\
"packageLocation": "./.yarn/cache/hmac-drbg-npm-1.0.1-3499ad31cd-bd30b6a68d.zip/node_modules/hmac-drbg/",\
"packageDependencies": [\
["hmac-drbg", "npm:1.0.1"],\
["hash.js", "npm:1.1.7"],\
["minimalistic-assert", "npm:1.0.1"],\
["minimalistic-crypto-utils", "npm:1.0.1"]\
],\
"linkType": "HARD"\
}]\
]],\
["hosted-git-info", [\
["npm:2.8.9", {\
"packageLocation": "./.yarn/cache/hosted-git-info-npm-2.8.9-62c44fa93f-c955394bda.zip/node_modules/hosted-git-info/",\
@ -9717,24 +9622,6 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
"linkType": "HARD"\
}]\
]],\
["minimalistic-assert", [\
["npm:1.0.1", {\
"packageLocation": "./.yarn/cache/minimalistic-assert-npm-1.0.1-dc8bb23d29-cc7974a926.zip/node_modules/minimalistic-assert/",\
"packageDependencies": [\
["minimalistic-assert", "npm:1.0.1"]\
],\
"linkType": "HARD"\
}]\
]],\
["minimalistic-crypto-utils", [\
["npm:1.0.1", {\
"packageLocation": "./.yarn/cache/minimalistic-crypto-utils-npm-1.0.1-e66b10822e-6e8a0422b3.zip/node_modules/minimalistic-crypto-utils/",\
"packageDependencies": [\
["minimalistic-crypto-utils", "npm:1.0.1"]\
],\
"linkType": "HARD"\
}]\
]],\
["minimatch", [\
["npm:3.1.2", {\
"packageLocation": "./.yarn/cache/minimatch-npm-3.1.2-9405269906-c154e56640.zip/node_modules/minimatch/",\

Binary file not shown.

BIN
.yarn/cache/bn.js-npm-4.12.0-3ec6c884f6-39afb4f15f.zip (Stored with Git LFS) vendored

Binary file not shown.

BIN
.yarn/cache/brorand-npm-1.1.0-ea86634c4b-8a05c9f3c4.zip (Stored with Git LFS) vendored

Binary file not shown.

Binary file not shown.

BIN
.yarn/cache/hash.js-npm-1.1.7-f1ad187358-e350096e65.zip (Stored with Git LFS) vendored

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -47,13 +47,11 @@
"@noble/hashes": "^1",
"@noble/secp256k1": "^1.7.0",
"bn.js": "^5.2.0",
"elliptic": "^6.5.4",
"libsodium-wrappers": "^0.7.6"
},
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^1.0.1",
"@types/bn.js": "^5",
"@types/elliptic": "^6.4.14",
"@types/eslint-plugin-prettier": "^3",
"@types/jasmine": "^4",
"@types/karma-firefox-launcher": "^2",

View File

@ -451,7 +451,6 @@ __metadata:
"@noble/hashes": ^1
"@noble/secp256k1": ^1.7.0
"@types/bn.js": ^5
"@types/elliptic": ^6.4.14
"@types/eslint-plugin-prettier": ^3
"@types/jasmine": ^4
"@types/karma-firefox-launcher": ^2
@ -463,7 +462,6 @@ __metadata:
"@typescript-eslint/parser": ^5.13.0
bn.js: ^5.2.0
buffer: ^6.0.3
elliptic: ^6.5.4
eslint: ^7.5
eslint-config-prettier: ^8.3.0
eslint-import-resolver-node: ^0.3.4
@ -1395,7 +1393,7 @@ __metadata:
languageName: node
linkType: hard
"@types/bn.js@npm:*, @types/bn.js@npm:^5":
"@types/bn.js@npm:^5":
version: 5.1.0
resolution: "@types/bn.js@npm:5.1.0"
dependencies:
@ -1463,15 +1461,6 @@ __metadata:
languageName: node
linkType: hard
"@types/elliptic@npm:^6.4.14":
version: 6.4.14
resolution: "@types/elliptic@npm:6.4.14"
dependencies:
"@types/bn.js": "*"
checksum: d5a64f540e0ed4b74a12dfa5cc88c0aa7b531eab3b7a9fab17948ffbfc6e01814230e63d7417ce1b607dbd8b5d70e1b64f5afac632deabf96e44875aaac0ae1b
languageName: node
linkType: hard
"@types/eslint-plugin-prettier@npm:^3":
version: 3.1.0
resolution: "@types/eslint-plugin-prettier@npm:3.1.0"
@ -2431,13 +2420,6 @@ __metadata:
languageName: node
linkType: hard
"bn.js@npm:^4.11.9":
version: 4.12.0
resolution: "bn.js@npm:4.12.0"
checksum: 39afb4f15f4ea537b55eaf1446c896af28ac948fdcf47171961475724d1bb65118cca49fa6e3d67706e4790955ec0e74de584e45c8f1ef89f46c812bee5b5a12
languageName: node
linkType: hard
"bn.js@npm:^5.2.0":
version: 5.2.0
resolution: "bn.js@npm:5.2.0"
@ -2491,13 +2473,6 @@ __metadata:
languageName: node
linkType: hard
"brorand@npm:^1.1.0":
version: 1.1.0
resolution: "brorand@npm:1.1.0"
checksum: 8a05c9f3c4b46572dec6ef71012b1946db6cae8c7bb60ccd4b7dd5a84655db49fe043ecc6272e7ef1f69dc53d6730b9e2a3a03a8310509a3d797a618cbee52be
languageName: node
linkType: hard
"browserslist@npm:^4.14.5":
version: 4.16.6
resolution: "browserslist@npm:4.16.6"
@ -3161,21 +3136,6 @@ __metadata:
languageName: node
linkType: hard
"elliptic@npm:^6.5.4":
version: 6.5.4
resolution: "elliptic@npm:6.5.4"
dependencies:
bn.js: ^4.11.9
brorand: ^1.1.0
hash.js: ^1.0.0
hmac-drbg: ^1.0.1
inherits: ^2.0.4
minimalistic-assert: ^1.0.1
minimalistic-crypto-utils: ^1.0.1
checksum: d56d21fd04e97869f7ffcc92e18903b9f67f2d4637a23c860492fbbff5a3155fd9ca0184ce0c865dd6eb2487d234ce9551335c021c376cd2d3b7cb749c7d10f4
languageName: node
linkType: hard
"emoji-regex@npm:^8.0.0":
version: 8.0.0
resolution: "emoji-regex@npm:8.0.0"
@ -4112,16 +4072,6 @@ __metadata:
languageName: node
linkType: hard
"hash.js@npm:^1.0.0, hash.js@npm:^1.0.3":
version: 1.1.7
resolution: "hash.js@npm:1.1.7"
dependencies:
inherits: ^2.0.3
minimalistic-assert: ^1.0.1
checksum: e350096e659c62422b85fa508e4b3669017311aa4c49b74f19f8e1bc7f3a54a584fdfd45326d4964d6011f2b2d882e38bea775a96046f2a61b7779a979629d8f
languageName: node
linkType: hard
"hasha@npm:^5.0.0":
version: 5.2.2
resolution: "hasha@npm:5.2.2"
@ -4132,17 +4082,6 @@ __metadata:
languageName: node
linkType: hard
"hmac-drbg@npm:^1.0.1":
version: 1.0.1
resolution: "hmac-drbg@npm:1.0.1"
dependencies:
hash.js: ^1.0.3
minimalistic-assert: ^1.0.0
minimalistic-crypto-utils: ^1.0.1
checksum: bd30b6a68d7f22d63f10e1888aee497d7c2c5c0bb469e66bbdac99f143904d1dfe95f8131f95b3e86c86dd239963c9d972fcbe147e7cffa00e55d18585c43fe0
languageName: node
linkType: hard
"hosted-git-info@npm:^2.1.4":
version: 2.8.9
resolution: "hosted-git-info@npm:2.8.9"
@ -5254,20 +5193,6 @@ __metadata:
languageName: node
linkType: hard
"minimalistic-assert@npm:^1.0.0, minimalistic-assert@npm:^1.0.1":
version: 1.0.1
resolution: "minimalistic-assert@npm:1.0.1"
checksum: cc7974a9268fbf130fb055aff76700d7e2d8be5f761fb5c60318d0ed010d839ab3661a533ad29a5d37653133385204c503bfac995aaa4236f4e847461ea32ba7
languageName: node
linkType: hard
"minimalistic-crypto-utils@npm:^1.0.1":
version: 1.0.1
resolution: "minimalistic-crypto-utils@npm:1.0.1"
checksum: 6e8a0422b30039406efd4c440829ea8f988845db02a3299f372fceba56ffa94994a9c0f2fd70c17f9969eedfbd72f34b5070ead9656a34d3f71c0bd72583a0ed
languageName: node
linkType: hard
"minimatch@npm:^3.0.4":
version: 3.1.2
resolution: "minimatch@npm:3.1.2"