diff --git a/package-lock.json b/package-lock.json index cd73e5acd8..a89f3c9a47 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3183,19 +3183,48 @@ } }, "node_modules/@libp2p/peer-id-factory": { - "version": "2.0.4", - "dev": true, - "license": "Apache-2.0 OR MIT", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/@libp2p/peer-id-factory/-/peer-id-factory-3.0.3.tgz", + "integrity": "sha512-RsE1GbK0w4LxiGr9sU2fm23IHOGzCtCfmUD8LC9V8LwLgt+z62oNKbWzwbko+CeromngURDimdv3JpH9jw5OUA==", "dependencies": { - "@libp2p/crypto": "^1.0.0", - "@libp2p/interface-keys": "^1.0.2", - "@libp2p/interface-peer-id": "^2.0.0", - "@libp2p/peer-id": "^2.0.0", - "multiformats": "^11.0.0", + "@libp2p/crypto": "^2.0.3", + "@libp2p/interface": "^0.1.2", + "@libp2p/peer-id": "^3.0.2", + "multiformats": "^12.0.1", "protons-runtime": "^5.0.0", - "uint8arraylist": "^2.0.0", - "uint8arrays": "^4.0.2" - }, + "uint8arraylist": "^2.4.3", + "uint8arrays": "^4.0.6" + } + }, + "node_modules/@libp2p/peer-id-factory/node_modules/@libp2p/crypto": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@libp2p/crypto/-/crypto-2.0.3.tgz", + "integrity": "sha512-VLhjdkJe8b/vedHp7SosDs62Yxq1i05Ej/YdVaEdWQdJsBRHCwbRlS4hPg3vm21U5hLF0g958r/927Vd/wamZw==", + "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/peer-id-factory/node_modules/@libp2p/peer-id": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/@libp2p/peer-id/-/peer-id-3.0.2.tgz", + "integrity": "sha512-133qGXu9UBiqsYm7nBDJaAh4eiKe79DPLKF+/aRu0Z7gKcX7I0+LewEky4kBt3olhYQSF1CAnJIzD8Dmsn40Yw==", + "dependencies": { + "@libp2p/interface": "^0.1.2", + "multiformats": "^12.0.1", + "uint8arrays": "^4.0.6" + } + }, + "node_modules/@libp2p/peer-id-factory/node_modules/multiformats": { + "version": "12.0.1", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.0.1.tgz", + "integrity": "sha512-s01wijBJoDUqESWSzePY0lvTw7J3PVO9x2Cc6ASI5AMZM2Gnhh7BC17+nlFhHKU7dDzaCaRfb+NiqNzOsgPUoQ==", "engines": { "node": ">=16.0.0", "npm": ">=7.0.0" @@ -3268,20 +3297,6 @@ "uint8arrays": "^4.0.4" } }, - "node_modules/@libp2p/peer-store/node_modules/@libp2p/peer-id-factory": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/@libp2p/peer-id-factory/-/peer-id-factory-3.0.2.tgz", - "integrity": "sha512-M/3rmJeJxO1HtdYBpODisyFL4r6o5KVI13/fPyNr3V0bzVxMGvY7SqZPgyfjOx1ak5fS9NPsTR2D0i7HL0YQRA==", - "dependencies": { - "@libp2p/crypto": "^2.0.2", - "@libp2p/interface": "^0.1.1", - "@libp2p/peer-id": "^3.0.1", - "multiformats": "^12.0.1", - "protons-runtime": "^5.0.0", - "uint8arraylist": "^2.4.3", - "uint8arrays": "^4.0.4" - } - }, "node_modules/@libp2p/peer-store/node_modules/@libp2p/peer-record": { "version": "6.0.2", "resolved": "https://registry.npmjs.org/@libp2p/peer-record/-/peer-record-6.0.2.tgz", @@ -15511,20 +15526,6 @@ "uint8arrays": "^4.0.4" } }, - "node_modules/libp2p/node_modules/@libp2p/peer-id-factory": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/@libp2p/peer-id-factory/-/peer-id-factory-3.0.2.tgz", - "integrity": "sha512-M/3rmJeJxO1HtdYBpODisyFL4r6o5KVI13/fPyNr3V0bzVxMGvY7SqZPgyfjOx1ak5fS9NPsTR2D0i7HL0YQRA==", - "dependencies": { - "@libp2p/crypto": "^2.0.2", - "@libp2p/interface": "^0.1.1", - "@libp2p/peer-id": "^3.0.1", - "multiformats": "^12.0.1", - "protons-runtime": "^5.0.0", - "uint8arraylist": "^2.4.3", - "uint8arrays": "^4.0.4" - } - }, "node_modules/libp2p/node_modules/@libp2p/peer-record": { "version": "6.0.2", "resolved": "https://registry.npmjs.org/@libp2p/peer-record/-/peer-record-6.0.2.tgz", @@ -29410,10 +29411,20 @@ } }, "node_modules/uint8arrays": { - "version": "4.0.4", - "license": "Apache-2.0 OR MIT", + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-4.0.6.tgz", + "integrity": "sha512-4ZesjQhqOU2Ip6GPReIwN60wRxIupavL8T0Iy36BBHr2qyMrNxsPJvr7vpS4eFt8F8kSguWUPad6ZM9izs/vyw==", "dependencies": { - "multiformats": "^11.0.0" + "multiformats": "^12.0.1" + } + }, + "node_modules/uint8arrays/node_modules/multiformats": { + "version": "12.0.1", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.0.1.tgz", + "integrity": "sha512-s01wijBJoDUqESWSzePY0lvTw7J3PVO9x2Cc6ASI5AMZM2Gnhh7BC17+nlFhHKU7dDzaCaRfb+NiqNzOsgPUoQ==", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" } }, "node_modules/unbox-primitive": { @@ -30556,7 +30567,7 @@ }, "devDependencies": { "@libp2p/peer-id": "^2.0.4", - "@libp2p/peer-id-factory": "^2.0.4", + "@libp2p/peer-id-factory": "^3.0.3", "@multiformats/multiaddr": "^12.0.0", "@rollup/plugin-commonjs": "^24.0.1", "@rollup/plugin-json": "^6.0.0", @@ -30595,7 +30606,7 @@ "js-sha3": "^0.8.0" }, "devDependencies": { - "@libp2p/peer-id-factory": "^2.0.4", + "@libp2p/peer-id-factory": "^3.0.3", "@rollup/plugin-commonjs": "^24.0.1", "@rollup/plugin-json": "^6.0.0", "@rollup/plugin-node-resolve": "^15.1.0", @@ -30923,21 +30934,6 @@ "node": ">=16" } }, - "packages/tests/node_modules/@libp2p/crypto": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@libp2p/crypto/-/crypto-2.0.2.tgz", - "integrity": "sha512-CmKYBUpU/WKeLSGtqCtsPubwL7wS50toyO1wDNZsbstFDEXZB5YrAnSwPiSzXG33rgeoGW5VNsUShJvFylVPcw==", - "dependencies": { - "@libp2p/interface": "^0.1.1", - "@noble/ed25519": "^1.6.0", - "@noble/secp256k1": "^1.5.4", - "multiformats": "^12.0.1", - "node-forge": "^1.1.0", - "protons-runtime": "^5.0.0", - "uint8arraylist": "^2.4.3", - "uint8arrays": "^4.0.4" - } - }, "packages/tests/node_modules/@libp2p/interface-compliance-tests": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/@libp2p/interface-compliance-tests/-/interface-compliance-tests-4.0.2.tgz", @@ -31017,30 +31013,6 @@ "uint8arrays": "^4.0.4" } }, - "packages/tests/node_modules/@libp2p/peer-id-factory": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/@libp2p/peer-id-factory/-/peer-id-factory-3.0.2.tgz", - "integrity": "sha512-M/3rmJeJxO1HtdYBpODisyFL4r6o5KVI13/fPyNr3V0bzVxMGvY7SqZPgyfjOx1ak5fS9NPsTR2D0i7HL0YQRA==", - "dependencies": { - "@libp2p/crypto": "^2.0.2", - "@libp2p/interface": "^0.1.1", - "@libp2p/peer-id": "^3.0.1", - "multiformats": "^12.0.1", - "protons-runtime": "^5.0.0", - "uint8arraylist": "^2.4.3", - "uint8arrays": "^4.0.4" - } - }, - "packages/tests/node_modules/@libp2p/peer-id-factory/node_modules/@libp2p/peer-id": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@libp2p/peer-id/-/peer-id-3.0.1.tgz", - "integrity": "sha512-iR4lP9nEnIl1fW7beuB55A262lW78sOdH6r/57XcyMtsE/mCZiRhUVhGfvcM4GgLWm26vyla/UV3FVr7hIpMIQ==", - "dependencies": { - "@libp2p/interface": "^0.1.1", - "multiformats": "^12.0.1", - "uint8arrays": "^4.0.4" - } - }, "packages/tests/node_modules/@typescript-eslint/eslint-plugin": { "version": "5.62.0", "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.62.0.tgz", @@ -33669,17 +33641,49 @@ } }, "@libp2p/peer-id-factory": { - "version": "2.0.4", - "dev": true, + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/@libp2p/peer-id-factory/-/peer-id-factory-3.0.3.tgz", + "integrity": "sha512-RsE1GbK0w4LxiGr9sU2fm23IHOGzCtCfmUD8LC9V8LwLgt+z62oNKbWzwbko+CeromngURDimdv3JpH9jw5OUA==", "requires": { - "@libp2p/crypto": "^1.0.0", - "@libp2p/interface-keys": "^1.0.2", - "@libp2p/interface-peer-id": "^2.0.0", - "@libp2p/peer-id": "^2.0.0", - "multiformats": "^11.0.0", + "@libp2p/crypto": "^2.0.3", + "@libp2p/interface": "^0.1.2", + "@libp2p/peer-id": "^3.0.2", + "multiformats": "^12.0.1", "protons-runtime": "^5.0.0", - "uint8arraylist": "^2.0.0", - "uint8arrays": "^4.0.2" + "uint8arraylist": "^2.4.3", + "uint8arrays": "^4.0.6" + }, + "dependencies": { + "@libp2p/crypto": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@libp2p/crypto/-/crypto-2.0.3.tgz", + "integrity": "sha512-VLhjdkJe8b/vedHp7SosDs62Yxq1i05Ej/YdVaEdWQdJsBRHCwbRlS4hPg3vm21U5hLF0g958r/927Vd/wamZw==", + "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/peer-id": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/@libp2p/peer-id/-/peer-id-3.0.2.tgz", + "integrity": "sha512-133qGXu9UBiqsYm7nBDJaAh4eiKe79DPLKF+/aRu0Z7gKcX7I0+LewEky4kBt3olhYQSF1CAnJIzD8Dmsn40Yw==", + "requires": { + "@libp2p/interface": "^0.1.2", + "multiformats": "^12.0.1", + "uint8arrays": "^4.0.6" + } + }, + "multiformats": { + "version": "12.0.1", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.0.1.tgz", + "integrity": "sha512-s01wijBJoDUqESWSzePY0lvTw7J3PVO9x2Cc6ASI5AMZM2Gnhh7BC17+nlFhHKU7dDzaCaRfb+NiqNzOsgPUoQ==" + } } }, "@libp2p/peer-store": { @@ -33749,20 +33753,6 @@ "uint8arrays": "^4.0.4" } }, - "@libp2p/peer-id-factory": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/@libp2p/peer-id-factory/-/peer-id-factory-3.0.2.tgz", - "integrity": "sha512-M/3rmJeJxO1HtdYBpODisyFL4r6o5KVI13/fPyNr3V0bzVxMGvY7SqZPgyfjOx1ak5fS9NPsTR2D0i7HL0YQRA==", - "requires": { - "@libp2p/crypto": "^2.0.2", - "@libp2p/interface": "^0.1.1", - "@libp2p/peer-id": "^3.0.1", - "multiformats": "^12.0.1", - "protons-runtime": "^5.0.0", - "uint8arraylist": "^2.4.3", - "uint8arrays": "^4.0.4" - } - }, "@libp2p/peer-record": { "version": "6.0.2", "resolved": "https://registry.npmjs.org/@libp2p/peer-record/-/peer-record-6.0.2.tgz", @@ -35760,7 +35750,7 @@ "version": "file:packages/dns-discovery", "requires": { "@libp2p/peer-id": "^2.0.4", - "@libp2p/peer-id-factory": "^2.0.4", + "@libp2p/peer-id-factory": "^3.0.3", "@multiformats/multiaddr": "^12.0.0", "@rollup/plugin-commonjs": "^24.0.1", "@rollup/plugin-json": "^6.0.0", @@ -35793,7 +35783,7 @@ "@ethersproject/rlp": "^5.7.0", "@libp2p/crypto": "^1.0.17", "@libp2p/peer-id": "^2.0.4", - "@libp2p/peer-id-factory": "^2.0.4", + "@libp2p/peer-id-factory": "^3.0.3", "@multiformats/multiaddr": "^12.0.0", "@noble/secp256k1": "^1.7.1", "@rollup/plugin-commonjs": "^24.0.1", @@ -36050,21 +36040,6 @@ "typescript": "^5.0.4" }, "dependencies": { - "@libp2p/crypto": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@libp2p/crypto/-/crypto-2.0.2.tgz", - "integrity": "sha512-CmKYBUpU/WKeLSGtqCtsPubwL7wS50toyO1wDNZsbstFDEXZB5YrAnSwPiSzXG33rgeoGW5VNsUShJvFylVPcw==", - "requires": { - "@libp2p/interface": "^0.1.1", - "@noble/ed25519": "^1.6.0", - "@noble/secp256k1": "^1.5.4", - "multiformats": "^12.0.1", - "node-forge": "^1.1.0", - "protons-runtime": "^5.0.0", - "uint8arraylist": "^2.4.3", - "uint8arrays": "^4.0.4" - } - }, "@libp2p/interface-compliance-tests": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/@libp2p/interface-compliance-tests/-/interface-compliance-tests-4.0.2.tgz", @@ -36148,32 +36123,6 @@ } } }, - "@libp2p/peer-id-factory": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/@libp2p/peer-id-factory/-/peer-id-factory-3.0.2.tgz", - "integrity": "sha512-M/3rmJeJxO1HtdYBpODisyFL4r6o5KVI13/fPyNr3V0bzVxMGvY7SqZPgyfjOx1ak5fS9NPsTR2D0i7HL0YQRA==", - "requires": { - "@libp2p/crypto": "^2.0.2", - "@libp2p/interface": "^0.1.1", - "@libp2p/peer-id": "^3.0.1", - "multiformats": "^12.0.1", - "protons-runtime": "^5.0.0", - "uint8arraylist": "^2.4.3", - "uint8arrays": "^4.0.4" - }, - "dependencies": { - "@libp2p/peer-id": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@libp2p/peer-id/-/peer-id-3.0.1.tgz", - "integrity": "sha512-iR4lP9nEnIl1fW7beuB55A262lW78sOdH6r/57XcyMtsE/mCZiRhUVhGfvcM4GgLWm26vyla/UV3FVr7hIpMIQ==", - "requires": { - "@libp2p/interface": "^0.1.1", - "multiformats": "^12.0.1", - "uint8arrays": "^4.0.4" - } - } - } - }, "@typescript-eslint/eslint-plugin": { "version": "5.62.0", "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.62.0.tgz", @@ -42707,20 +42656,6 @@ "uint8arrays": "^4.0.4" } }, - "@libp2p/peer-id-factory": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/@libp2p/peer-id-factory/-/peer-id-factory-3.0.2.tgz", - "integrity": "sha512-M/3rmJeJxO1HtdYBpODisyFL4r6o5KVI13/fPyNr3V0bzVxMGvY7SqZPgyfjOx1ak5fS9NPsTR2D0i7HL0YQRA==", - "requires": { - "@libp2p/crypto": "^2.0.2", - "@libp2p/interface": "^0.1.1", - "@libp2p/peer-id": "^3.0.1", - "multiformats": "^12.0.1", - "protons-runtime": "^5.0.0", - "uint8arraylist": "^2.4.3", - "uint8arrays": "^4.0.4" - } - }, "@libp2p/peer-record": { "version": "6.0.2", "resolved": "https://registry.npmjs.org/@libp2p/peer-record/-/peer-record-6.0.2.tgz", @@ -52016,9 +51951,18 @@ } }, "uint8arrays": { - "version": "4.0.4", + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-4.0.6.tgz", + "integrity": "sha512-4ZesjQhqOU2Ip6GPReIwN60wRxIupavL8T0Iy36BBHr2qyMrNxsPJvr7vpS4eFt8F8kSguWUPad6ZM9izs/vyw==", "requires": { - "multiformats": "^11.0.0" + "multiformats": "^12.0.1" + }, + "dependencies": { + "multiformats": { + "version": "12.0.1", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.0.1.tgz", + "integrity": "sha512-s01wijBJoDUqESWSzePY0lvTw7J3PVO9x2Cc6ASI5AMZM2Gnhh7BC17+nlFhHKU7dDzaCaRfb+NiqNzOsgPUoQ==" + } } }, "unbox-primitive": { diff --git a/packages/dns-discovery/package.json b/packages/dns-discovery/package.json index 0e63ce35d2..62664041ac 100644 --- a/packages/dns-discovery/package.json +++ b/packages/dns-discovery/package.json @@ -60,7 +60,7 @@ }, "devDependencies": { "@libp2p/peer-id": "^2.0.4", - "@libp2p/peer-id-factory": "^2.0.4", + "@libp2p/peer-id-factory": "^3.0.3", "@multiformats/multiaddr": "^12.0.0", "@rollup/plugin-commonjs": "^24.0.1", "@rollup/plugin-json": "^6.0.0", diff --git a/packages/enr/package.json b/packages/enr/package.json index 6a17c5b644..e2cd84f26b 100644 --- a/packages/enr/package.json +++ b/packages/enr/package.json @@ -61,7 +61,7 @@ "js-sha3": "^0.8.0" }, "devDependencies": { - "@libp2p/peer-id-factory": "^2.0.4", + "@libp2p/peer-id-factory": "^3.0.3", "@rollup/plugin-commonjs": "^24.0.1", "@rollup/plugin-json": "^6.0.0", "@rollup/plugin-node-resolve": "^15.1.0",