diff --git a/.pnp.cjs b/.pnp.cjs index adf0899e..b42a78c4 100755 --- a/.pnp.cjs +++ b/.pnp.cjs @@ -573,10 +573,6 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "@types/pako", "npm:1.0.1" ], - [ - "@types/pbkdf2", - "npm:3.1.0" - ], [ "@types/qs", "npm:6.9.6" @@ -929,10 +925,6 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "chrome-trace-event", "npm:1.0.3" ], - [ - "cipher-base", - "npm:1.0.4" - ], [ "clean-stack", "npm:2.2.0" @@ -1037,14 +1029,6 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "cosmjs-types", "npm:0.4.0" ], - [ - "create-hash", - "npm:1.2.0" - ], - [ - "create-hmac", - "npm:1.1.7" - ], [ "cross-spawn", "npm:7.0.3" @@ -1913,10 +1897,6 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "marked", "npm:4.0.10" ], - [ - "md5.js", - "npm:1.3.5" - ], [ "media-typer", "npm:0.3.0" @@ -2181,10 +2161,6 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "path-type", "npm:4.0.0" ], - [ - "pbkdf2", - "npm:3.1.2" - ], [ "picomatch", "npm:2.2.3" @@ -2379,7 +2355,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ], [ "safe-buffer", - "npm:5.2.1" + "npm:5.1.2" ], [ "safer-buffer", @@ -2409,10 +2385,6 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "setprototypeof", "npm:1.1.1" ], - [ - "sha.js", - "npm:2.4.11" - ], [ "shallow-clone", "npm:3.0.1" @@ -3357,7 +3329,6 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["@types/karma-jasmine-html-reporter", "npm:1.5.1"], ["@types/libsodium-wrappers", "npm:0.7.9"], ["@types/node", "npm:15.3.1"], - ["@types/pbkdf2", "npm:3.1.0"], ["@typescript-eslint/eslint-plugin", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:4.28.4"], ["@typescript-eslint/parser", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:4.28.4"], ["bn.js", "npm:5.2.0"], @@ -3381,7 +3352,6 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["karma-jasmine-html-reporter", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:1.6.0"], ["libsodium-wrappers", "npm:0.7.9"], ["nyc", "npm:15.1.0"], - ["pbkdf2", "npm:3.1.2"], ["prettier", "npm:2.4.1"], ["ses", "npm:0.11.1"], ["source-map-support", "npm:0.5.19"], @@ -4758,16 +4728,6 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "linkType": "HARD", }] ]], - ["@types/pbkdf2", [ - ["npm:3.1.0", { - "packageLocation": "./.yarn/cache/@types-pbkdf2-npm-3.1.0-9fa74ff7fb-d15024b195.zip/node_modules/@types/pbkdf2/", - "packageDependencies": [ - ["@types/pbkdf2", "npm:3.1.0"], - ["@types/node", "npm:15.3.1"] - ], - "linkType": "HARD", - }] - ]], ["@types/qs", [ ["npm:6.9.6", { "packageLocation": "./.yarn/cache/@types-qs-npm-6.9.6-2fc5ce36d4-01871b1cf7.zip/node_modules/@types/qs/", @@ -6571,17 +6531,6 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "linkType": "HARD", }] ]], - ["cipher-base", [ - ["npm:1.0.4", { - "packageLocation": "./.yarn/cache/cipher-base-npm-1.0.4-2e98b97140-47d3568dbc.zip/node_modules/cipher-base/", - "packageDependencies": [ - ["cipher-base", "npm:1.0.4"], - ["inherits", "npm:2.0.4"], - ["safe-buffer", "npm:5.2.1"] - ], - "linkType": "HARD", - }] - ]], ["clean-stack", [ ["npm:2.2.0", { "packageLocation": "./.yarn/cache/clean-stack-npm-2.2.0-a8ce435a5c-2ac8cd2b2f.zip/node_modules/clean-stack/", @@ -6891,35 +6840,6 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "linkType": "HARD", }] ]], - ["create-hash", [ - ["npm:1.2.0", { - "packageLocation": "./.yarn/cache/create-hash-npm-1.2.0-afd048e1ce-02a6ae3bb9.zip/node_modules/create-hash/", - "packageDependencies": [ - ["create-hash", "npm:1.2.0"], - ["cipher-base", "npm:1.0.4"], - ["inherits", "npm:2.0.4"], - ["md5.js", "npm:1.3.5"], - ["ripemd160", "npm:2.0.2"], - ["sha.js", "npm:2.4.11"] - ], - "linkType": "HARD", - }] - ]], - ["create-hmac", [ - ["npm:1.1.7", { - "packageLocation": "./.yarn/cache/create-hmac-npm-1.1.7-b4ef32668a-ba12bb2257.zip/node_modules/create-hmac/", - "packageDependencies": [ - ["create-hmac", "npm:1.1.7"], - ["cipher-base", "npm:1.0.4"], - ["create-hash", "npm:1.2.0"], - ["inherits", "npm:2.0.4"], - ["ripemd160", "npm:2.0.2"], - ["safe-buffer", "npm:5.2.1"], - ["sha.js", "npm:2.4.11"] - ], - "linkType": "HARD", - }] - ]], ["cross-spawn", [ ["npm:7.0.3", { "packageLocation": "./.yarn/cache/cross-spawn-npm-7.0.3-e4ff3e65b3-671cc7c728.zip/node_modules/cross-spawn/", @@ -9606,18 +9526,6 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "linkType": "HARD", }] ]], - ["md5.js", [ - ["npm:1.3.5", { - "packageLocation": "./.yarn/cache/md5.js-npm-1.3.5-130901125a-098494d885.zip/node_modules/md5.js/", - "packageDependencies": [ - ["md5.js", "npm:1.3.5"], - ["hash-base", "npm:3.1.0"], - ["inherits", "npm:2.0.4"], - ["safe-buffer", "npm:5.2.1"] - ], - "linkType": "HARD", - }] - ]], ["media-typer", [ ["npm:0.3.0", { "packageLocation": "./.yarn/cache/media-typer-npm-0.3.0-8674f8f0f5-af1b38516c.zip/node_modules/media-typer/", @@ -10401,20 +10309,6 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "linkType": "HARD", }] ]], - ["pbkdf2", [ - ["npm:3.1.2", { - "packageLocation": "./.yarn/cache/pbkdf2-npm-3.1.2-d67bbb584f-2c950a100b.zip/node_modules/pbkdf2/", - "packageDependencies": [ - ["pbkdf2", "npm:3.1.2"], - ["create-hash", "npm:1.2.0"], - ["create-hmac", "npm:1.1.7"], - ["ripemd160", "npm:2.0.2"], - ["safe-buffer", "npm:5.2.1"], - ["sha.js", "npm:2.4.11"] - ], - "linkType": "HARD", - }] - ]], ["picomatch", [ ["npm:2.2.3", { "packageLocation": "./.yarn/cache/picomatch-npm-2.2.3-3797e21cf0-45e2b882b5.zip/node_modules/picomatch/", @@ -11125,17 +11019,6 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "linkType": "HARD", }] ]], - ["sha.js", [ - ["npm:2.4.11", { - "packageLocation": "./.yarn/cache/sha.js-npm-2.4.11-14868df4ca-ebd3f59d4b.zip/node_modules/sha.js/", - "packageDependencies": [ - ["sha.js", "npm:2.4.11"], - ["inherits", "npm:2.0.4"], - ["safe-buffer", "npm:5.2.1"] - ], - "linkType": "HARD", - }] - ]], ["shallow-clone", [ ["npm:3.0.1", { "packageLocation": "./.yarn/cache/shallow-clone-npm-3.0.1-dab5873d0d-39b3dd9630.zip/node_modules/shallow-clone/", diff --git a/.yarn/cache/@types-pbkdf2-npm-3.1.0-9fa74ff7fb-d15024b195.zip b/.yarn/cache/@types-pbkdf2-npm-3.1.0-9fa74ff7fb-d15024b195.zip deleted file mode 100644 index 0cfbd384..00000000 --- a/.yarn/cache/@types-pbkdf2-npm-3.1.0-9fa74ff7fb-d15024b195.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6bd7613f059879f62a9615d57f5acca76792006b7fc9eac1dd654c966ef9cb08 -size 2645 diff --git a/.yarn/cache/cipher-base-npm-1.0.4-2e98b97140-47d3568dbc.zip b/.yarn/cache/cipher-base-npm-1.0.4-2e98b97140-47d3568dbc.zip deleted file mode 100644 index eed85ed8..00000000 --- a/.yarn/cache/cipher-base-npm-1.0.4-2e98b97140-47d3568dbc.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a696e622dd6bab6bc854f93cc84c8ce1cafd39d5865e88aea16685f4be61136a -size 4309 diff --git a/.yarn/cache/create-hash-npm-1.2.0-afd048e1ce-02a6ae3bb9.zip b/.yarn/cache/create-hash-npm-1.2.0-afd048e1ce-02a6ae3bb9.zip deleted file mode 100644 index 91a38bb4..00000000 --- a/.yarn/cache/create-hash-npm-1.2.0-afd048e1ce-02a6ae3bb9.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9dbcc7718dce8bdaef30e834ae43fb8cfe31e28043d85f70d47946a2864cfb58 -size 3874 diff --git a/.yarn/cache/create-hmac-npm-1.1.7-b4ef32668a-ba12bb2257.zip b/.yarn/cache/create-hmac-npm-1.1.7-b4ef32668a-ba12bb2257.zip deleted file mode 100644 index 92b62869..00000000 --- a/.yarn/cache/create-hmac-npm-1.1.7-b4ef32668a-ba12bb2257.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a11084b21994bfdc0c26f9b2225a1a262016653bcf103fd6af355e2044d674f9 -size 3792 diff --git a/.yarn/cache/md5.js-npm-1.3.5-130901125a-098494d885.zip b/.yarn/cache/md5.js-npm-1.3.5-130901125a-098494d885.zip deleted file mode 100644 index 564be494..00000000 --- a/.yarn/cache/md5.js-npm-1.3.5-130901125a-098494d885.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8ab428acbbfb84d6115e624fd398dbfaf070d8a3e9005cf9977d2f76c7296f58 -size 3783 diff --git a/.yarn/cache/pbkdf2-npm-3.1.2-d67bbb584f-2c950a100b.zip b/.yarn/cache/pbkdf2-npm-3.1.2-d67bbb584f-2c950a100b.zip deleted file mode 100644 index 75889ec6..00000000 --- a/.yarn/cache/pbkdf2-npm-3.1.2-d67bbb584f-2c950a100b.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:06827498f0b4f86692d08522f709936be643bfa79e55c25dc8cf87596d7b9544 -size 7634 diff --git a/.yarn/cache/sha.js-npm-2.4.11-14868df4ca-ebd3f59d4b.zip b/.yarn/cache/sha.js-npm-2.4.11-14868df4ca-ebd3f59d4b.zip deleted file mode 100644 index f8184374..00000000 --- a/.yarn/cache/sha.js-npm-2.4.11-14868df4ca-ebd3f59d4b.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:94cc9b37f9674acd3048aa3cfb6b675fc8d43e487826a9bc288a864b1a8a9bfc -size 15078 diff --git a/packages/crypto/package.json b/packages/crypto/package.json index 9e7140a5..c3f8363f 100644 --- a/packages/crypto/package.json +++ b/packages/crypto/package.json @@ -47,8 +47,7 @@ "@noble/hashes": "^1", "bn.js": "^5.2.0", "elliptic": "^6.5.3", - "libsodium-wrappers": "^0.7.6", - "pbkdf2": "^3.1.2" + "libsodium-wrappers": "^0.7.6" }, "devDependencies": { "@istanbuljs/nyc-config-typescript": "^1.0.1", @@ -61,7 +60,6 @@ "@types/karma-jasmine-html-reporter": "^1", "@types/libsodium-wrappers": "^0.7.7", "@types/node": "^15.0.1", - "@types/pbkdf2": "^3.1.0", "@typescript-eslint/eslint-plugin": "^4.28", "@typescript-eslint/parser": "^4.28", "buffer": "^6.0.3", diff --git a/yarn.lock b/yarn.lock index dbc86c3a..b8772ff9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -462,7 +462,6 @@ __metadata: "@types/karma-jasmine-html-reporter": ^1 "@types/libsodium-wrappers": ^0.7.7 "@types/node": ^15.0.1 - "@types/pbkdf2": ^3.1.0 "@typescript-eslint/eslint-plugin": ^4.28 "@typescript-eslint/parser": ^4.28 bn.js: ^5.2.0 @@ -486,7 +485,6 @@ __metadata: karma-jasmine-html-reporter: ^1.5.4 libsodium-wrappers: ^0.7.6 nyc: ^15.1.0 - pbkdf2: ^3.1.2 prettier: ^2.4.1 ses: ^0.11.0 source-map-support: ^0.5.19 @@ -1714,15 +1712,6 @@ __metadata: languageName: node linkType: hard -"@types/pbkdf2@npm:^3.1.0": - version: 3.1.0 - resolution: "@types/pbkdf2@npm:3.1.0" - dependencies: - "@types/node": "*" - checksum: d15024b1957c21cf3b8887329d9bd8dfde754cf13a09d76ae25f1391cfc62bb8b8d7b760773c5dbaa748172fba8b3e0c3dbe962af6ccbd69b76df12a48dfba40 - languageName: node - linkType: hard - "@types/qs@npm:*": version: 6.9.6 resolution: "@types/qs@npm:6.9.6" @@ -2661,16 +2650,6 @@ __metadata: languageName: node linkType: hard -"cipher-base@npm:^1.0.1, cipher-base@npm:^1.0.3": - version: 1.0.4 - resolution: "cipher-base@npm:1.0.4" - dependencies: - inherits: ^2.0.1 - safe-buffer: ^5.0.1 - checksum: 47d3568dbc17431a339bad1fe7dff83ac0891be8206911ace3d3b818fc695f376df809bea406e759cdea07fff4b454fa25f1013e648851bec790c1d75763032e - languageName: node - linkType: hard - "clean-stack@npm:^2.0.0": version: 2.2.0 resolution: "clean-stack@npm:2.2.0" @@ -2939,33 +2918,6 @@ __metadata: languageName: node linkType: hard -"create-hash@npm:^1.1.0, create-hash@npm:^1.1.2": - version: 1.2.0 - resolution: "create-hash@npm:1.2.0" - dependencies: - cipher-base: ^1.0.1 - inherits: ^2.0.1 - md5.js: ^1.3.4 - ripemd160: ^2.0.1 - sha.js: ^2.4.0 - checksum: 02a6ae3bb9cd4afee3fabd846c1d8426a0e6b495560a977ba46120c473cb283be6aa1cace76b5f927cf4e499c6146fb798253e48e83d522feba807d6b722eaa9 - languageName: node - linkType: hard - -"create-hmac@npm:^1.1.4": - version: 1.1.7 - resolution: "create-hmac@npm:1.1.7" - dependencies: - cipher-base: ^1.0.3 - create-hash: ^1.1.0 - inherits: ^2.0.1 - ripemd160: ^2.0.0 - safe-buffer: ^5.0.1 - sha.js: ^2.4.8 - checksum: ba12bb2257b585a0396108c72830e85f882ab659c3320c83584b1037f8ab72415095167ced80dc4ce8e446a8ecc4b2acf36d87befe0707d73b26cf9dc77440ed - languageName: node - linkType: hard - "cross-spawn@npm:^7.0.0, cross-spawn@npm:^7.0.2, cross-spawn@npm:^7.0.3": version: 7.0.3 resolution: "cross-spawn@npm:7.0.3" @@ -5218,17 +5170,6 @@ __metadata: languageName: node linkType: hard -"md5.js@npm:^1.3.4": - version: 1.3.5 - resolution: "md5.js@npm:1.3.5" - dependencies: - hash-base: ^3.0.0 - inherits: ^2.0.1 - safe-buffer: ^5.1.2 - checksum: 098494d885684bcc4f92294b18ba61b7bd353c23147fbc4688c75b45cb8590f5a95fd4584d742415dcc52487f7a1ef6ea611cfa1543b0dc4492fe026357f3f0c - languageName: node - linkType: hard - "media-typer@npm:0.3.0": version: 0.3.0 resolution: "media-typer@npm:0.3.0" @@ -5938,19 +5879,6 @@ __metadata: languageName: node linkType: hard -"pbkdf2@npm:^3.1.2": - version: 3.1.2 - resolution: "pbkdf2@npm:3.1.2" - 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 - checksum: 2c950a100b1da72123449208e231afc188d980177d021d7121e96a2de7f2abbc96ead2b87d03d8fe5c318face097f203270d7e27908af9f471c165a4e8e69c92 - languageName: node - linkType: hard - "picomatch@npm:^2.0.4, picomatch@npm:^2.2.1, picomatch@npm:^2.2.3": version: 2.2.3 resolution: "picomatch@npm:2.2.3" @@ -6472,7 +6400,7 @@ __metadata: languageName: node linkType: hard -"ripemd160@npm:^2.0.0, ripemd160@npm:^2.0.1, ripemd160@npm:^2.0.2": +"ripemd160@npm:^2.0.2": version: 2.0.2 resolution: "ripemd160@npm:2.0.2" dependencies: @@ -6507,7 +6435,7 @@ __metadata: languageName: node linkType: hard -"safe-buffer@npm:^5.0.1, safe-buffer@npm:^5.1.0, safe-buffer@npm:^5.1.2, safe-buffer@npm:^5.2.0, safe-buffer@npm:~5.2.0": +"safe-buffer@npm:^5.0.1, safe-buffer@npm:^5.1.0, safe-buffer@npm:^5.2.0, safe-buffer@npm:~5.2.0": version: 5.2.1 resolution: "safe-buffer@npm:5.2.1" checksum: b99c4b41fdd67a6aaf280fcd05e9ffb0813654894223afb78a31f14a19ad220bba8aba1cb14eddce1fcfb037155fe6de4e861784eb434f7d11ed58d1e70dd491 @@ -6602,18 +6530,6 @@ __metadata: languageName: node linkType: hard -"sha.js@npm:^2.4.0, sha.js@npm:^2.4.8": - version: 2.4.11 - resolution: "sha.js@npm:2.4.11" - dependencies: - inherits: ^2.0.1 - safe-buffer: ^5.0.1 - bin: - sha.js: ./bin.js - checksum: ebd3f59d4b799000699097dadb831c8e3da3eb579144fd7eb7a19484cbcbb7aca3c68ba2bb362242eb09e33217de3b4ea56e4678184c334323eca24a58e3ad07 - languageName: node - linkType: hard - "shallow-clone@npm:^3.0.0": version: 3.0.1 resolution: "shallow-clone@npm:3.0.1"