From 7aaf981b7134343f23f84dd3d4cc9888c06e9f05 Mon Sep 17 00:00:00 2001 From: Trent Larson Date: Sun, 4 Aug 2024 19:59:02 -0600 Subject: [PATCH] remove unused ethr-did-resolver (since it has vulerabilities and we're not using it and we can use the local one) --- package-lock.json | 130 +--------------------------------------------- package.json | 1 - 2 files changed, 2 insertions(+), 129 deletions(-) diff --git a/package-lock.json b/package-lock.json index a93e59fda..083997bf5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -39,7 +39,6 @@ "did-jwt": "^7.4.7", "ethereum-cryptography": "^2.1.3", "ethereumjs-util": "^7.1.5", - "ethr-did-resolver": "^8.1.2", "jdenticon": "^3.2.0", "js-generate-password": "^0.1.9", "js-yaml": "^4.1.0", @@ -3209,31 +3208,6 @@ "node": ">=14" } }, - "node_modules/@ethersproject/abi": { - "version": "5.7.0", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "license": "MIT", - "dependencies": { - "@ethersproject/address": "^5.7.0", - "@ethersproject/bignumber": "^5.7.0", - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/constants": "^5.7.0", - "@ethersproject/hash": "^5.7.0", - "@ethersproject/keccak256": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/properties": "^5.7.0", - "@ethersproject/strings": "^5.7.0" - } - }, "node_modules/@ethersproject/abstract-provider": { "version": "5.7.0", "funding": [ @@ -3387,32 +3361,6 @@ "@ethersproject/bignumber": "^5.7.0" } }, - "node_modules/@ethersproject/contracts": { - "version": "5.7.0", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "license": "MIT", - "dependencies": { - "@ethersproject/abi": "^5.7.0", - "@ethersproject/abstract-provider": "^5.7.0", - "@ethersproject/abstract-signer": "^5.7.0", - "@ethersproject/address": "^5.7.0", - "@ethersproject/bignumber": "^5.7.0", - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/constants": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/properties": "^5.7.0", - "@ethersproject/transactions": "^5.7.0" - } - }, "node_modules/@ethersproject/hash": { "version": "5.7.0", "funding": [ @@ -3550,60 +3498,6 @@ "@ethersproject/logger": "^5.7.0" } }, - "node_modules/@ethersproject/providers": { - "version": "5.7.2", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "license": "MIT", - "dependencies": { - "@ethersproject/abstract-provider": "^5.7.0", - "@ethersproject/abstract-signer": "^5.7.0", - "@ethersproject/address": "^5.7.0", - "@ethersproject/base64": "^5.7.0", - "@ethersproject/basex": "^5.7.0", - "@ethersproject/bignumber": "^5.7.0", - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/constants": "^5.7.0", - "@ethersproject/hash": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/networks": "^5.7.0", - "@ethersproject/properties": "^5.7.0", - "@ethersproject/random": "^5.7.0", - "@ethersproject/rlp": "^5.7.0", - "@ethersproject/sha2": "^5.7.0", - "@ethersproject/strings": "^5.7.0", - "@ethersproject/transactions": "^5.7.0", - "@ethersproject/web": "^5.7.0", - "bech32": "1.1.4", - "ws": "7.4.6" - } - }, - "node_modules/@ethersproject/random": { - "version": "5.7.0", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "license": "MIT", - "dependencies": { - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/logger": "^5.7.0" - } - }, "node_modules/@ethersproject/rlp": { "version": "5.7.0", "funding": [ @@ -10483,10 +10377,6 @@ "node": ">=14" } }, - "node_modules/bech32": { - "version": "1.1.4", - "license": "MIT" - }, "node_modules/better-opn": { "version": "3.0.2", "license": "MIT", @@ -12831,24 +12721,6 @@ "ethr-did-resolver": "10.1.5" } }, - "node_modules/ethr-did-resolver": { - "version": "8.1.2", - "license": "Apache-2.0", - "dependencies": { - "@ethersproject/abi": "^5.6.3", - "@ethersproject/abstract-signer": "^5.6.2", - "@ethersproject/address": "^5.6.1", - "@ethersproject/basex": "^5.6.1", - "@ethersproject/bignumber": "^5.6.2", - "@ethersproject/bytes": "^5.6.1", - "@ethersproject/contracts": "^5.6.2", - "@ethersproject/keccak256": "^5.6.1", - "@ethersproject/providers": "^5.6.8", - "@ethersproject/signing-key": "^5.6.2", - "@ethersproject/transactions": "^5.6.2", - "did-resolver": "^4.0.1" - } - }, "node_modules/ethr-did/node_modules/@noble/ciphers": { "version": "0.5.1", "license": "MIT", @@ -22349,6 +22221,8 @@ "node_modules/ws": { "version": "7.4.6", "license": "MIT", + "optional": true, + "peer": true, "engines": { "node": ">=8.3.0" }, diff --git a/package.json b/package.json index 308c6046a..bc2952087 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,6 @@ "did-jwt": "^7.4.7", "ethereum-cryptography": "^2.1.3", "ethereumjs-util": "^7.1.5", - "ethr-did-resolver": "^8.1.2", "jdenticon": "^3.2.0", "js-generate-password": "^0.1.9", "js-yaml": "^4.1.0",