diff --git a/package-lock.json b/package-lock.json index e8bb2d1cce..0efa418e26 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1365,20 +1365,6 @@ "npm": ">=8.7.0" } }, - "node_modules/@chainsafe/libp2p-gossipsub/node_modules/@libp2p/crypto": { - "version": "2.0.4", - "license": "Apache-2.0 OR MIT", - "dependencies": { - "@libp2p/interface": "^0.1.2", - "@noble/curves": "^1.1.0", - "@noble/hashes": "^1.3.1", - "multiformats": "^12.0.1", - "node-forge": "^1.1.0", - "protons-runtime": "^5.0.0", - "uint8arraylist": "^2.4.3", - "uint8arrays": "^4.0.6" - } - }, "node_modules/@chainsafe/libp2p-noise": { "version": "13.0.1", "license": "Apache-2.0 OR MIT", @@ -1405,20 +1391,6 @@ "npm": ">=7.0.0" } }, - "node_modules/@chainsafe/libp2p-noise/node_modules/@libp2p/crypto": { - "version": "2.0.4", - "license": "Apache-2.0 OR MIT", - "dependencies": { - "@libp2p/interface": "^0.1.2", - "@noble/curves": "^1.1.0", - "@noble/hashes": "^1.3.1", - "multiformats": "^12.0.1", - "node-forge": "^1.1.0", - "protons-runtime": "^5.0.0", - "uint8arraylist": "^2.4.3", - "uint8arrays": "^4.0.6" - } - }, "node_modules/@chainsafe/netmask": { "version": "2.0.0", "license": "MIT", @@ -2205,36 +2177,24 @@ } }, "node_modules/@libp2p/crypto": { - "version": "1.0.17", - "license": "Apache-2.0 OR MIT", + "version": "2.0.8", + "resolved": "https://registry.npmjs.org/@libp2p/crypto/-/crypto-2.0.8.tgz", + "integrity": "sha512-8e5fh6bsJNpSjhrggtlm8QF+BERjelJswIjRS69aKgxp24R4z2kDM4pRYPkfQjXJDLNDtqWtKNmePgX23+QJsA==", "dependencies": { - "@libp2p/interface-keys": "^1.0.2", - "@libp2p/interfaces": "^3.2.0", - "@noble/ed25519": "^1.6.0", - "@noble/secp256k1": "^1.5.4", - "multiformats": "^11.0.0", + "@libp2p/interface": "^0.1.6", + "@noble/curves": "^1.1.0", + "@noble/hashes": "^1.3.1", + "multiformats": "^12.0.1", "node-forge": "^1.1.0", "protons-runtime": "^5.0.0", "uint8arraylist": "^2.4.3", - "uint8arrays": "^4.0.2" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@libp2p/crypto/node_modules/multiformats": { - "version": "11.0.2", - "license": "Apache-2.0 OR MIT", - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" + "uint8arrays": "^4.0.6" } }, "node_modules/@libp2p/interface": { - "version": "0.1.5", - "resolved": "https://registry.npmjs.org/@libp2p/interface/-/interface-0.1.5.tgz", - "integrity": "sha512-1sPZ0iZifINtw8RAZ6flML7InRXNkZJF/MpKmAwIFXhEFDtRvbwMSs/kihPxLgsvbBCfJiTqUuy2ki8a4p06Vg==", + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/@libp2p/interface/-/interface-0.1.6.tgz", + "integrity": "sha512-Lzc5cS/hXuoXhuAbVIxJIHLCYmfPcbU0vVgrpMoiP1Qb2Q3ETU4A46GB8s8mWXgSU6tr9RcqerUqzFYD6+OAag==", "dependencies": { "@multiformats/multiaddr": "^12.1.5", "abortable-iterator": "^5.0.1", @@ -2318,14 +2278,6 @@ "uint8arraylist": "^2.4.3" } }, - "node_modules/@libp2p/interface-keys": { - "version": "1.0.8", - "license": "Apache-2.0 OR MIT", - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, "node_modules/@libp2p/interfaces": { "version": "3.3.2", "license": "Apache-2.0 OR MIT", @@ -2349,21 +2301,6 @@ "uint8arrays": "^4.0.6" } }, - "node_modules/@libp2p/keychain/node_modules/@libp2p/crypto": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/@libp2p/crypto/-/crypto-2.0.5.tgz", - "integrity": "sha512-m6Rn7i9q3SHCzMUBkEwZgAKS4evpGQ4SEx/YD96pM0ZoPtU5PFO0psfrerraanxFBh8wUX4vkCtKfyTPH7F+bQ==", - "dependencies": { - "@libp2p/interface": "^0.1.3", - "@noble/curves": "^1.1.0", - "@noble/hashes": "^1.3.1", - "multiformats": "^12.0.1", - "node-forge": "^1.1.0", - "protons-runtime": "^5.0.0", - "uint8arraylist": "^2.4.3", - "uint8arrays": "^4.0.6" - } - }, "node_modules/@libp2p/logger": { "version": "3.0.5", "resolved": "https://registry.npmjs.org/@libp2p/logger/-/logger-3.0.5.tgz", @@ -2448,21 +2385,6 @@ "uint8arrays": "^4.0.6" } }, - "node_modules/@libp2p/peer-id-factory/node_modules/@libp2p/crypto": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/@libp2p/crypto/-/crypto-2.0.5.tgz", - "integrity": "sha512-m6Rn7i9q3SHCzMUBkEwZgAKS4evpGQ4SEx/YD96pM0ZoPtU5PFO0psfrerraanxFBh8wUX4vkCtKfyTPH7F+bQ==", - "dependencies": { - "@libp2p/interface": "^0.1.3", - "@noble/curves": "^1.1.0", - "@noble/hashes": "^1.3.1", - "multiformats": "^12.0.1", - "node-forge": "^1.1.0", - "protons-runtime": "^5.0.0", - "uint8arraylist": "^2.4.3", - "uint8arrays": "^4.0.6" - } - }, "node_modules/@libp2p/peer-record": { "version": "6.0.6", "resolved": "https://registry.npmjs.org/@libp2p/peer-record/-/peer-record-6.0.6.tgz", @@ -2479,21 +2401,6 @@ "uint8arrays": "^4.0.6" } }, - "node_modules/@libp2p/peer-record/node_modules/@libp2p/crypto": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/@libp2p/crypto/-/crypto-2.0.5.tgz", - "integrity": "sha512-m6Rn7i9q3SHCzMUBkEwZgAKS4evpGQ4SEx/YD96pM0ZoPtU5PFO0psfrerraanxFBh8wUX4vkCtKfyTPH7F+bQ==", - "dependencies": { - "@libp2p/interface": "^0.1.3", - "@noble/curves": "^1.1.0", - "@noble/hashes": "^1.3.1", - "multiformats": "^12.0.1", - "node-forge": "^1.1.0", - "protons-runtime": "^5.0.0", - "uint8arraylist": "^2.4.3", - "uint8arrays": "^4.0.6" - } - }, "node_modules/@libp2p/peer-store": { "version": "9.0.6", "resolved": "https://registry.npmjs.org/@libp2p/peer-store/-/peer-store-9.0.6.tgz", @@ -2535,20 +2442,6 @@ "uint8arrays": "^4.0.6" } }, - "node_modules/@libp2p/pubsub/node_modules/@libp2p/crypto": { - "version": "2.0.4", - "license": "Apache-2.0 OR MIT", - "dependencies": { - "@libp2p/interface": "^0.1.2", - "@noble/curves": "^1.1.0", - "@noble/hashes": "^1.3.1", - "multiformats": "^12.0.1", - "node-forge": "^1.1.0", - "protons-runtime": "^5.0.0", - "uint8arraylist": "^2.4.3", - "uint8arrays": "^4.0.6" - } - }, "node_modules/@libp2p/utils": { "version": "4.0.4", "resolved": "https://registry.npmjs.org/@libp2p/utils/-/utils-4.0.4.tgz", @@ -2663,16 +2556,6 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/@noble/ed25519": { - "version": "1.7.3", - "funding": [ - { - "type": "individual", - "url": "https://paulmillr.com/funding/" - } - ], - "license": "MIT" - }, "node_modules/@noble/hashes": { "version": "1.3.2", "license": "MIT", @@ -13185,21 +13068,6 @@ "xsalsa20": "^1.1.0" } }, - "node_modules/libp2p/node_modules/@libp2p/crypto": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/@libp2p/crypto/-/crypto-2.0.5.tgz", - "integrity": "sha512-m6Rn7i9q3SHCzMUBkEwZgAKS4evpGQ4SEx/YD96pM0ZoPtU5PFO0psfrerraanxFBh8wUX4vkCtKfyTPH7F+bQ==", - "dependencies": { - "@libp2p/interface": "^0.1.3", - "@noble/curves": "^1.1.0", - "@noble/hashes": "^1.3.1", - "multiformats": "^12.0.1", - "node-forge": "^1.1.0", - "protons-runtime": "^5.0.0", - "uint8arraylist": "^2.4.3", - "uint8arrays": "^4.0.6" - } - }, "node_modules/lilconfig": { "version": "2.1.0", "license": "MIT", @@ -26044,7 +25912,7 @@ "license": "MIT OR Apache-2.0", "dependencies": { "@ethersproject/rlp": "^5.7.0", - "@libp2p/crypto": "^1.0.17", + "@libp2p/crypto": "^2.0.8", "@libp2p/peer-id": "^3.0.3", "@multiformats/multiaddr": "^12.0.0", "@noble/secp256k1": "^1.7.1", @@ -27102,21 +26970,6 @@ "protobufjs": "^7.2.4", "uint8arraylist": "^2.4.3", "uint8arrays": "^4.0.4" - }, - "dependencies": { - "@libp2p/crypto": { - "version": "2.0.4", - "requires": { - "@libp2p/interface": "^0.1.2", - "@noble/curves": "^1.1.0", - "@noble/hashes": "^1.3.1", - "multiformats": "^12.0.1", - "node-forge": "^1.1.0", - "protons-runtime": "^5.0.0", - "uint8arraylist": "^2.4.3", - "uint8arrays": "^4.0.6" - } - } } }, "@chainsafe/libp2p-noise": { @@ -27138,21 +26991,6 @@ "protons-runtime": "^5.0.0", "uint8arraylist": "^2.4.3", "uint8arrays": "^4.0.4" - }, - "dependencies": { - "@libp2p/crypto": { - "version": "2.0.4", - "requires": { - "@libp2p/interface": "^0.1.2", - "@noble/curves": "^1.1.0", - "@noble/hashes": "^1.3.1", - "multiformats": "^12.0.1", - "node-forge": "^1.1.0", - "protons-runtime": "^5.0.0", - "uint8arraylist": "^2.4.3", - "uint8arrays": "^4.0.6" - } - } } }, "@chainsafe/netmask": { @@ -27690,28 +27528,24 @@ } }, "@libp2p/crypto": { - "version": "1.0.17", + "version": "2.0.8", + "resolved": "https://registry.npmjs.org/@libp2p/crypto/-/crypto-2.0.8.tgz", + "integrity": "sha512-8e5fh6bsJNpSjhrggtlm8QF+BERjelJswIjRS69aKgxp24R4z2kDM4pRYPkfQjXJDLNDtqWtKNmePgX23+QJsA==", "requires": { - "@libp2p/interface-keys": "^1.0.2", - "@libp2p/interfaces": "^3.2.0", - "@noble/ed25519": "^1.6.0", - "@noble/secp256k1": "^1.5.4", - "multiformats": "^11.0.0", + "@libp2p/interface": "^0.1.6", + "@noble/curves": "^1.1.0", + "@noble/hashes": "^1.3.1", + "multiformats": "^12.0.1", "node-forge": "^1.1.0", "protons-runtime": "^5.0.0", "uint8arraylist": "^2.4.3", - "uint8arrays": "^4.0.2" - }, - "dependencies": { - "multiformats": { - "version": "11.0.2" - } + "uint8arrays": "^4.0.6" } }, "@libp2p/interface": { - "version": "0.1.5", - "resolved": "https://registry.npmjs.org/@libp2p/interface/-/interface-0.1.5.tgz", - "integrity": "sha512-1sPZ0iZifINtw8RAZ6flML7InRXNkZJF/MpKmAwIFXhEFDtRvbwMSs/kihPxLgsvbBCfJiTqUuy2ki8a4p06Vg==", + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/@libp2p/interface/-/interface-0.1.6.tgz", + "integrity": "sha512-Lzc5cS/hXuoXhuAbVIxJIHLCYmfPcbU0vVgrpMoiP1Qb2Q3ETU4A46GB8s8mWXgSU6tr9RcqerUqzFYD6+OAag==", "requires": { "@multiformats/multiaddr": "^12.1.5", "abortable-iterator": "^5.0.1", @@ -27783,9 +27617,6 @@ "uint8arraylist": "^2.4.3" } }, - "@libp2p/interface-keys": { - "version": "1.0.8" - }, "@libp2p/interfaces": { "version": "3.3.2" }, @@ -27802,23 +27633,6 @@ "merge-options": "^3.0.4", "sanitize-filename": "^1.6.3", "uint8arrays": "^4.0.6" - }, - "dependencies": { - "@libp2p/crypto": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/@libp2p/crypto/-/crypto-2.0.5.tgz", - "integrity": "sha512-m6Rn7i9q3SHCzMUBkEwZgAKS4evpGQ4SEx/YD96pM0ZoPtU5PFO0psfrerraanxFBh8wUX4vkCtKfyTPH7F+bQ==", - "requires": { - "@libp2p/interface": "^0.1.3", - "@noble/curves": "^1.1.0", - "@noble/hashes": "^1.3.1", - "multiformats": "^12.0.1", - "node-forge": "^1.1.0", - "protons-runtime": "^5.0.0", - "uint8arraylist": "^2.4.3", - "uint8arrays": "^4.0.6" - } - } } }, "@libp2p/logger": { @@ -27903,23 +27717,6 @@ "protons-runtime": "^5.0.0", "uint8arraylist": "^2.4.3", "uint8arrays": "^4.0.6" - }, - "dependencies": { - "@libp2p/crypto": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/@libp2p/crypto/-/crypto-2.0.5.tgz", - "integrity": "sha512-m6Rn7i9q3SHCzMUBkEwZgAKS4evpGQ4SEx/YD96pM0ZoPtU5PFO0psfrerraanxFBh8wUX4vkCtKfyTPH7F+bQ==", - "requires": { - "@libp2p/interface": "^0.1.3", - "@noble/curves": "^1.1.0", - "@noble/hashes": "^1.3.1", - "multiformats": "^12.0.1", - "node-forge": "^1.1.0", - "protons-runtime": "^5.0.0", - "uint8arraylist": "^2.4.3", - "uint8arrays": "^4.0.6" - } - } } }, "@libp2p/peer-record": { @@ -27936,23 +27733,6 @@ "uint8-varint": "^2.0.0", "uint8arraylist": "^2.4.3", "uint8arrays": "^4.0.6" - }, - "dependencies": { - "@libp2p/crypto": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/@libp2p/crypto/-/crypto-2.0.5.tgz", - "integrity": "sha512-m6Rn7i9q3SHCzMUBkEwZgAKS4evpGQ4SEx/YD96pM0ZoPtU5PFO0psfrerraanxFBh8wUX4vkCtKfyTPH7F+bQ==", - "requires": { - "@libp2p/interface": "^0.1.3", - "@noble/curves": "^1.1.0", - "@noble/hashes": "^1.3.1", - "multiformats": "^12.0.1", - "node-forge": "^1.1.0", - "protons-runtime": "^5.0.0", - "uint8arraylist": "^2.4.3", - "uint8arrays": "^4.0.6" - } - } } }, "@libp2p/peer-store": { @@ -27993,21 +27773,6 @@ "p-queue": "^7.3.4", "uint8arraylist": "^2.4.3", "uint8arrays": "^4.0.6" - }, - "dependencies": { - "@libp2p/crypto": { - "version": "2.0.4", - "requires": { - "@libp2p/interface": "^0.1.2", - "@noble/curves": "^1.1.0", - "@noble/hashes": "^1.3.1", - "multiformats": "^12.0.1", - "node-forge": "^1.1.0", - "protons-runtime": "^5.0.0", - "uint8arraylist": "^2.4.3", - "uint8arrays": "^4.0.6" - } - } } }, "@libp2p/utils": { @@ -28090,9 +27855,6 @@ "@noble/hashes": "1.3.2" } }, - "@noble/ed25519": { - "version": "1.7.3" - }, "@noble/hashes": { "version": "1.3.2" }, @@ -29382,7 +29144,7 @@ "version": "file:packages/enr", "requires": { "@ethersproject/rlp": "^5.7.0", - "@libp2p/crypto": "^1.0.17", + "@libp2p/crypto": "^2.0.8", "@libp2p/peer-id": "^3.0.3", "@libp2p/peer-id-factory": "^3.0.3", "@multiformats/multiaddr": "^12.0.0", @@ -34702,23 +34464,6 @@ "uint8arrays": "^4.0.6", "wherearewe": "^2.0.1", "xsalsa20": "^1.1.0" - }, - "dependencies": { - "@libp2p/crypto": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/@libp2p/crypto/-/crypto-2.0.5.tgz", - "integrity": "sha512-m6Rn7i9q3SHCzMUBkEwZgAKS4evpGQ4SEx/YD96pM0ZoPtU5PFO0psfrerraanxFBh8wUX4vkCtKfyTPH7F+bQ==", - "requires": { - "@libp2p/interface": "^0.1.3", - "@noble/curves": "^1.1.0", - "@noble/hashes": "^1.3.1", - "multiformats": "^12.0.1", - "node-forge": "^1.1.0", - "protons-runtime": "^5.0.0", - "uint8arraylist": "^2.4.3", - "uint8arrays": "^4.0.6" - } - } } }, "lilconfig": { diff --git a/packages/enr/package.json b/packages/enr/package.json index 790dbb61ec..81ad43d02f 100644 --- a/packages/enr/package.json +++ b/packages/enr/package.json @@ -52,7 +52,7 @@ }, "dependencies": { "@ethersproject/rlp": "^5.7.0", - "@libp2p/crypto": "^1.0.17", + "@libp2p/crypto": "^2.0.8", "@libp2p/peer-id": "^3.0.3", "@multiformats/multiaddr": "^12.0.0", "@noble/secp256k1": "^1.7.1",