From 2364b4f8e277ef5190671efb468ee8bd684e801f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 5 Sep 2023 23:39:49 +0530 Subject: [PATCH] chore(deps)(deps): bump libp2p from 0.46.3 to 0.46.8 (#1534) Bumps [libp2p](https://github.com/libp2p/js-libp2p) from 0.46.3 to 0.46.8. - [Release notes](https://github.com/libp2p/js-libp2p/releases) - [Changelog](https://github.com/libp2p/js-libp2p/blob/master/.release-please.json) - [Commits](https://github.com/libp2p/js-libp2p/compare/libp2p-v0.46.3...libp2p-v0.46.8) --- updated-dependencies: - dependency-name: libp2p dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 566 +++++++++++++++++++------------ packages/interfaces/package.json | 2 +- packages/sdk/package.json | 2 +- packages/tests/package.json | 2 +- 4 files changed, 350 insertions(+), 222 deletions(-) diff --git a/package-lock.json b/package-lock.json index 6e38506326..ca79efa670 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2447,47 +2447,51 @@ } }, "node_modules/@libp2p/keychain": { - "version": "3.0.2", - "license": "Apache-2.0 OR MIT", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/@libp2p/keychain/-/keychain-3.0.3.tgz", + "integrity": "sha512-mt3Pq8pPUDchoYlTXyNFMSIZ2/gbGZUJIr1qDQGphLZKxZ3Ejsqps2Dgo0t6yBxvJQ0581tXfptAXzw75Y2LIA==", "dependencies": { - "@libp2p/crypto": "^2.0.2", - "@libp2p/interface": "^0.1.1", - "@libp2p/logger": "^3.0.1", - "@libp2p/peer-id": "^3.0.1", + "@libp2p/crypto": "^2.0.3", + "@libp2p/interface": "^0.1.2", + "@libp2p/logger": "^3.0.2", + "@libp2p/peer-id": "^3.0.2", "interface-datastore": "^8.2.0", "merge-options": "^3.0.4", "sanitize-filename": "^1.6.3", - "uint8arrays": "^4.0.4" + "uint8arrays": "^4.0.6" } }, "node_modules/@libp2p/keychain/node_modules/@libp2p/crypto": { - "version": "2.0.2", - "license": "Apache-2.0 OR MIT", + "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.1", - "@noble/ed25519": "^1.6.0", - "@noble/secp256k1": "^1.5.4", + "@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.4" + "uint8arrays": "^4.0.6" } }, "node_modules/@libp2p/keychain/node_modules/@libp2p/logger": { - "version": "3.0.1", - "license": "Apache-2.0 OR MIT", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/@libp2p/logger/-/logger-3.0.2.tgz", + "integrity": "sha512-2JtRGBXiGfm1t5XneUIXQ2JusW7QwyYmxsW7hSAYS5J73RQJUicpt5le5obVRt7+OM39ei+nWEuC6Xvm1ugHkw==", "dependencies": { - "@libp2p/interface": "^0.1.1", - "@multiformats/multiaddr": "^12.1.3", + "@libp2p/interface": "^0.1.2", + "@multiformats/multiaddr": "^12.1.5", "debug": "^4.3.4", "interface-datastore": "^8.2.0", "multiformats": "^12.0.1" } }, "node_modules/@libp2p/keychain/node_modules/multiformats": { - "version": "12.0.1", - "license": "Apache-2.0 OR MIT", + "version": "12.1.1", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.1.1.tgz", + "integrity": "sha512-GBSToTmri2vJYs8wqcZQ8kB21dCaeTOzHTIAlr8J06C1eL6UbzqURXFZ5Fl0EYm9GAFz1IlYY8SxGOs9G9NJRg==", "engines": { "node": ">=16.0.0", "npm": ">=7.0.0" @@ -2662,69 +2666,83 @@ "npm": ">=7.0.0" } }, - "node_modules/@libp2p/peer-store": { - "version": "9.0.2", - "license": "Apache-2.0 OR MIT", + "node_modules/@libp2p/peer-record": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/@libp2p/peer-record/-/peer-record-6.0.3.tgz", + "integrity": "sha512-S5C4Df2uyX1vNsnduZ6RVjB7T+dUEhqnaSNhiv82VCoqMoniHQBf2ftvXlv/UqqssW9or1x4UwgFU+sL7kObkw==", "dependencies": { - "@libp2p/interface": "^0.1.1", - "@libp2p/logger": "^3.0.1", - "@libp2p/peer-collections": "^4.0.2", - "@libp2p/peer-id": "^3.0.1", - "@libp2p/peer-id-factory": "^3.0.2", - "@libp2p/peer-record": "^6.0.2", - "@multiformats/multiaddr": "^12.1.3", + "@libp2p/crypto": "^2.0.3", + "@libp2p/interface": "^0.1.2", + "@libp2p/peer-id": "^3.0.2", + "@libp2p/utils": "^4.0.2", + "@multiformats/multiaddr": "^12.1.5", + "protons-runtime": "^5.0.0", + "uint8-varint": "^1.0.2", + "uint8arraylist": "^2.4.3", + "uint8arrays": "^4.0.6" + } + }, + "node_modules/@libp2p/peer-record/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-record/node_modules/multiformats": { + "version": "12.1.1", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.1.1.tgz", + "integrity": "sha512-GBSToTmri2vJYs8wqcZQ8kB21dCaeTOzHTIAlr8J06C1eL6UbzqURXFZ5Fl0EYm9GAFz1IlYY8SxGOs9G9NJRg==", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@libp2p/peer-store": { + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/@libp2p/peer-store/-/peer-store-9.0.3.tgz", + "integrity": "sha512-7vSAUvKAzzWRwcMxOUvyGNw8V59t9l9l1Ugxa+VHCKKhvAEn9eXjf8We8BLGT3KnUG6aJ5HpODPK4RbW6BNGfA==", + "dependencies": { + "@libp2p/interface": "^0.1.2", + "@libp2p/logger": "^3.0.2", + "@libp2p/peer-collections": "^4.0.3", + "@libp2p/peer-id": "^3.0.2", + "@libp2p/peer-id-factory": "^3.0.3", + "@libp2p/peer-record": "^6.0.3", + "@multiformats/multiaddr": "^12.1.5", "interface-datastore": "^8.2.0", "it-all": "^3.0.2", "mortice": "^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/crypto": { - "version": "2.0.2", - "license": "Apache-2.0 OR MIT", - "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" + "uint8arrays": "^4.0.6" } }, "node_modules/@libp2p/peer-store/node_modules/@libp2p/logger": { - "version": "3.0.1", - "license": "Apache-2.0 OR MIT", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/@libp2p/logger/-/logger-3.0.2.tgz", + "integrity": "sha512-2JtRGBXiGfm1t5XneUIXQ2JusW7QwyYmxsW7hSAYS5J73RQJUicpt5le5obVRt7+OM39ei+nWEuC6Xvm1ugHkw==", "dependencies": { - "@libp2p/interface": "^0.1.1", - "@multiformats/multiaddr": "^12.1.3", + "@libp2p/interface": "^0.1.2", + "@multiformats/multiaddr": "^12.1.5", "debug": "^4.3.4", "interface-datastore": "^8.2.0", "multiformats": "^12.0.1" } }, - "node_modules/@libp2p/peer-store/node_modules/@libp2p/peer-record": { - "version": "6.0.2", - "license": "Apache-2.0 OR MIT", - "dependencies": { - "@libp2p/crypto": "^2.0.2", - "@libp2p/interface": "^0.1.1", - "@libp2p/peer-id": "^3.0.1", - "@libp2p/utils": "^4.0.1", - "@multiformats/multiaddr": "^12.1.3", - "protons-runtime": "^5.0.0", - "uint8-varint": "^1.0.2", - "uint8arraylist": "^2.4.3", - "uint8arrays": "^4.0.4" - } - }, "node_modules/@libp2p/peer-store/node_modules/multiformats": { - "version": "12.0.1", - "license": "Apache-2.0 OR MIT", + "version": "12.1.1", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.1.1.tgz", + "integrity": "sha512-GBSToTmri2vJYs8wqcZQ8kB21dCaeTOzHTIAlr8J06C1eL6UbzqURXFZ5Fl0EYm9GAFz1IlYY8SxGOs9G9NJRg==", "engines": { "node": ">=16.0.0", "npm": ">=7.0.0" @@ -2904,6 +2922,25 @@ "npm": ">=8.6.0" } }, + "node_modules/@multiformats/multiaddr-matcher": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@multiformats/multiaddr-matcher/-/multiaddr-matcher-1.0.1.tgz", + "integrity": "sha512-ZzqwTH8tP5Py/k8eNKprO0i6tuwgrbp7KWz+ttxvzkPl43BlU9Yd5joq+M5grCt158rpAc2uhPobzfXgPxW5XQ==", + "dependencies": { + "@chainsafe/is-ip": "^2.0.1", + "@multiformats/multiaddr": "^12.0.0", + "multiformats": "^12.0.1" + } + }, + "node_modules/@multiformats/multiaddr-matcher/node_modules/multiformats": { + "version": "12.1.1", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.1.1.tgz", + "integrity": "sha512-GBSToTmri2vJYs8wqcZQ8kB21dCaeTOzHTIAlr8J06C1eL6UbzqURXFZ5Fl0EYm9GAFz1IlYY8SxGOs9G9NJRg==", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, "node_modules/@multiformats/multiaddr-to-uri": { "version": "9.0.2", "license": "Apache-2.0 OR MIT", @@ -13708,27 +13745,30 @@ } }, "node_modules/libp2p": { - "version": "0.46.3", - "license": "Apache-2.0 OR MIT", + "version": "0.46.8", + "resolved": "https://registry.npmjs.org/libp2p/-/libp2p-0.46.8.tgz", + "integrity": "sha512-ZEzItnKbZm8V97VVlsWq2afbUyq8sYeynHS5+b5sbByD+vsw3WMhsp4SrDkT7DAsONp4Vgn/aey7RCJIkQ6OUA==", "dependencies": { "@achingbrain/nat-port-mapper": "^1.0.9", - "@libp2p/crypto": "^2.0.2", - "@libp2p/interface": "^0.1.1", - "@libp2p/interface-internal": "^0.1.2", - "@libp2p/keychain": "^3.0.2", - "@libp2p/logger": "^3.0.1", - "@libp2p/multistream-select": "^4.0.1", - "@libp2p/peer-collections": "^4.0.2", - "@libp2p/peer-id": "^3.0.1", - "@libp2p/peer-id-factory": "^3.0.2", - "@libp2p/peer-record": "^6.0.2", - "@libp2p/peer-store": "^9.0.2", - "@libp2p/utils": "^4.0.1", + "@libp2p/crypto": "^2.0.3", + "@libp2p/interface": "^0.1.2", + "@libp2p/interface-internal": "^0.1.4", + "@libp2p/keychain": "^3.0.3", + "@libp2p/logger": "^3.0.2", + "@libp2p/multistream-select": "^4.0.2", + "@libp2p/peer-collections": "^4.0.3", + "@libp2p/peer-id": "^3.0.2", + "@libp2p/peer-id-factory": "^3.0.3", + "@libp2p/peer-record": "^6.0.3", + "@libp2p/peer-store": "^9.0.3", + "@libp2p/utils": "^4.0.2", "@multiformats/mafmt": "^12.1.2", - "@multiformats/multiaddr": "^12.1.3", + "@multiformats/multiaddr": "^12.1.5", + "@multiformats/multiaddr-matcher": "^1.0.0", "abortable-iterator": "^5.0.1", "any-signal": "^4.1.1", "datastore-core": "^9.0.1", + "delay": "^6.0.0", "interface-datastore": "^8.2.0", "it-all": "^3.0.2", "it-drain": "^3.0.2", @@ -13747,55 +13787,47 @@ "multiformats": "^12.0.1", "p-defer": "^4.0.0", "p-queue": "^7.3.4", - "p-retry": "^5.0.0", + "p-retry": "^6.0.0", "private-ip": "^3.0.0", "protons-runtime": "^5.0.0", - "rate-limiter-flexible": "^2.3.11", + "rate-limiter-flexible": "^3.0.0", "uint8arraylist": "^2.4.3", - "uint8arrays": "^4.0.4", + "uint8arrays": "^4.0.6", "wherearewe": "^2.0.1", "xsalsa20": "^1.1.0" } }, "node_modules/libp2p/node_modules/@libp2p/crypto": { - "version": "2.0.2", - "license": "Apache-2.0 OR MIT", + "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.1", - "@noble/ed25519": "^1.6.0", - "@noble/secp256k1": "^1.5.4", + "@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.4" + "uint8arrays": "^4.0.6" } }, "node_modules/libp2p/node_modules/@libp2p/logger": { - "version": "3.0.1", - "license": "Apache-2.0 OR MIT", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/@libp2p/logger/-/logger-3.0.2.tgz", + "integrity": "sha512-2JtRGBXiGfm1t5XneUIXQ2JusW7QwyYmxsW7hSAYS5J73RQJUicpt5le5obVRt7+OM39ei+nWEuC6Xvm1ugHkw==", "dependencies": { - "@libp2p/interface": "^0.1.1", - "@multiformats/multiaddr": "^12.1.3", + "@libp2p/interface": "^0.1.2", + "@multiformats/multiaddr": "^12.1.5", "debug": "^4.3.4", "interface-datastore": "^8.2.0", "multiformats": "^12.0.1" } }, - "node_modules/libp2p/node_modules/@libp2p/peer-record": { - "version": "6.0.2", - "license": "Apache-2.0 OR MIT", - "dependencies": { - "@libp2p/crypto": "^2.0.2", - "@libp2p/interface": "^0.1.1", - "@libp2p/peer-id": "^3.0.1", - "@libp2p/utils": "^4.0.1", - "@multiformats/multiaddr": "^12.1.3", - "protons-runtime": "^5.0.0", - "uint8-varint": "^1.0.2", - "uint8arraylist": "^2.4.3", - "uint8arrays": "^4.0.4" - } + "node_modules/libp2p/node_modules/@types/retry": { + "version": "0.12.2", + "resolved": "https://registry.npmjs.org/@types/retry/-/retry-0.12.2.tgz", + "integrity": "sha512-XISRgDJ2Tc5q4TRqvgJtzsRkFYNJzZrhTdtMoGVBttwzzQJkPnS3WWTFc7kuDRoPtPakl+T+OfdEUjYJj7Jbow==" }, "node_modules/libp2p/node_modules/it-filter": { "version": "3.0.2", @@ -13817,13 +13849,34 @@ } }, "node_modules/libp2p/node_modules/multiformats": { - "version": "12.0.1", - "license": "Apache-2.0 OR MIT", + "version": "12.1.1", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.1.1.tgz", + "integrity": "sha512-GBSToTmri2vJYs8wqcZQ8kB21dCaeTOzHTIAlr8J06C1eL6UbzqURXFZ5Fl0EYm9GAFz1IlYY8SxGOs9G9NJRg==", "engines": { "node": ">=16.0.0", "npm": ">=7.0.0" } }, + "node_modules/libp2p/node_modules/p-retry": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/p-retry/-/p-retry-6.0.0.tgz", + "integrity": "sha512-6NuuXu8Upembd4sNdo4PRbs+M6aHgBTrFE6lkH0YKjVzne3cDW4gkncB98ty/bkMxLxLVNeD5bX9FyWjM7WZ+A==", + "dependencies": { + "@types/retry": "0.12.2", + "retry": "^0.13.1" + }, + "engines": { + "node": ">=16.17" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/libp2p/node_modules/rate-limiter-flexible": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/rate-limiter-flexible/-/rate-limiter-flexible-3.0.0.tgz", + "integrity": "sha512-janAJkWxWxmLka0hV+XvCTo0M8keeSeOuz8ZL33cTXrkS4ek9mQ2VJm9ri7fm03oTVth19Sfqb1ijCmo7K/vAg==" + }, "node_modules/lilconfig": { "version": "2.1.0", "license": "MIT", @@ -16217,7 +16270,8 @@ }, "node_modules/mortice": { "version": "3.0.1", - "license": "Apache-2.0 OR MIT", + "resolved": "https://registry.npmjs.org/mortice/-/mortice-3.0.1.tgz", + "integrity": "sha512-eyDUsl1nCR9+JtNksKnaESLP9MgAXCA4w1LTtsmOSQNsThnv++f36rrBu5fC/fdGIwTJZmbiaR/QewptH93pYA==", "dependencies": { "nanoid": "^4.0.0", "observable-webworkers": "^2.0.1", @@ -16231,13 +16285,14 @@ }, "node_modules/mortice/node_modules/nanoid": { "version": "4.0.2", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-4.0.2.tgz", + "integrity": "sha512-7ZtY5KTCNheRGfEFxnedV5zFiORN1+Y1N6zvPTnHQd8ENUvfaDBeuJDZb2bN/oXwXxu3qkTXDzy57W5vAmDTBw==", "funding": [ { "type": "github", "url": "https://github.com/sponsors/ai" } ], - "license": "MIT", "bin": { "nanoid": "bin/nanoid.js" }, @@ -20060,7 +20115,8 @@ }, "node_modules/observable-webworkers": { "version": "2.0.1", - "license": "Apache-2.0 OR MIT", + "resolved": "https://registry.npmjs.org/observable-webworkers/-/observable-webworkers-2.0.1.tgz", + "integrity": "sha512-JI1vB0u3pZjoQKOK1ROWzp0ygxSi7Yb0iR+7UNsw4/Zn4cQ0P3R7XL38zac/Dy2tEA7Lg88/wIJTjF8vYXZ0uw==", "engines": { "node": ">=16.0.0", "npm": ">=7.0.0" @@ -23464,7 +23520,8 @@ }, "node_modules/sanitize-filename": { "version": "1.6.3", - "license": "WTFPL OR ISC", + "resolved": "https://registry.npmjs.org/sanitize-filename/-/sanitize-filename-1.6.3.tgz", + "integrity": "sha512-y/52Mcy7aw3gRm7IrcGDFx/bCk4AhRh2eI9luHOQM86nZsqwiRkkq2GekHXBBD+SmPidc8i2PqtYZl+pWJ8Oeg==", "dependencies": { "truncate-utf8-bytes": "^1.0.0" } @@ -25276,7 +25333,8 @@ }, "node_modules/truncate-utf8-bytes": { "version": "1.0.2", - "license": "WTFPL", + "resolved": "https://registry.npmjs.org/truncate-utf8-bytes/-/truncate-utf8-bytes-1.0.2.tgz", + "integrity": "sha512-95Pu1QXQvruGEhv62XCMO3Mm90GscOCClvrIUwCM0PYOXK3kaF3l3sIHxx71ThJfcbM2O5Au6SO3AWCSEfW4mQ==", "dependencies": { "utf8-byte-length": "^1.0.1" } @@ -26107,7 +26165,8 @@ }, "node_modules/utf8-byte-length": { "version": "1.0.4", - "license": "WTFPL" + "resolved": "https://registry.npmjs.org/utf8-byte-length/-/utf8-byte-length-1.0.4.tgz", + "integrity": "sha512-4+wkEYLBbWxqTahEsWrhxepcoVOJ+1z5PGIjPZxRkytcdSUaNjIjBM7Xn8E+pdSuV7SzvWovBFA54FO0JSoqhA==" }, "node_modules/utf8-bytes": { "version": "0.0.1", @@ -26949,7 +27008,7 @@ "@chainsafe/libp2p-gossipsub": "^10.1.0", "@multiformats/multiaddr": "^12.0.0", "cspell": "^7.3.2", - "libp2p": "^0.46.3", + "libp2p": "^0.46.8", "npm-run-all": "^4.1.5", "typescript": "^5.0.4" }, @@ -27133,7 +27192,7 @@ "@waku/interfaces": "0.0.17", "@waku/relay": "0.0.5", "@waku/utils": "0.0.10", - "libp2p": "^0.46.3" + "libp2p": "^0.46.8" }, "devDependencies": { "@chainsafe/libp2p-gossipsub": "^10.1.0", @@ -27228,7 +27287,7 @@ "datastore-core": "^9.2.2", "debug": "^4.3.4", "interface-datastore": "^8.2.3", - "libp2p": "^0.46.3", + "libp2p": "^0.46.8", "mocha": "^10.2.0", "npm-run-all": "^4.1.5", "typescript": "^5.0.4" @@ -29087,43 +29146,51 @@ "version": "3.3.2" }, "@libp2p/keychain": { - "version": "3.0.2", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/@libp2p/keychain/-/keychain-3.0.3.tgz", + "integrity": "sha512-mt3Pq8pPUDchoYlTXyNFMSIZ2/gbGZUJIr1qDQGphLZKxZ3Ejsqps2Dgo0t6yBxvJQ0581tXfptAXzw75Y2LIA==", "requires": { - "@libp2p/crypto": "^2.0.2", - "@libp2p/interface": "^0.1.1", - "@libp2p/logger": "^3.0.1", - "@libp2p/peer-id": "^3.0.1", + "@libp2p/crypto": "^2.0.3", + "@libp2p/interface": "^0.1.2", + "@libp2p/logger": "^3.0.2", + "@libp2p/peer-id": "^3.0.2", "interface-datastore": "^8.2.0", "merge-options": "^3.0.4", "sanitize-filename": "^1.6.3", - "uint8arrays": "^4.0.4" + "uint8arrays": "^4.0.6" }, "dependencies": { "@libp2p/crypto": { - "version": "2.0.2", + "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.1", - "@noble/ed25519": "^1.6.0", - "@noble/secp256k1": "^1.5.4", + "@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.4" + "uint8arrays": "^4.0.6" } }, "@libp2p/logger": { - "version": "3.0.1", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/@libp2p/logger/-/logger-3.0.2.tgz", + "integrity": "sha512-2JtRGBXiGfm1t5XneUIXQ2JusW7QwyYmxsW7hSAYS5J73RQJUicpt5le5obVRt7+OM39ei+nWEuC6Xvm1ugHkw==", "requires": { - "@libp2p/interface": "^0.1.1", - "@multiformats/multiaddr": "^12.1.3", + "@libp2p/interface": "^0.1.2", + "@multiformats/multiaddr": "^12.1.5", "debug": "^4.3.4", "interface-datastore": "^8.2.0", "multiformats": "^12.0.1" } }, "multiformats": { - "version": "12.0.1" + "version": "12.1.1", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.1.1.tgz", + "integrity": "sha512-GBSToTmri2vJYs8wqcZQ8kB21dCaeTOzHTIAlr8J06C1eL6UbzqURXFZ5Fl0EYm9GAFz1IlYY8SxGOs9G9NJRg==" } } }, @@ -29265,64 +29332,81 @@ } } }, - "@libp2p/peer-store": { - "version": "9.0.2", + "@libp2p/peer-record": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/@libp2p/peer-record/-/peer-record-6.0.3.tgz", + "integrity": "sha512-S5C4Df2uyX1vNsnduZ6RVjB7T+dUEhqnaSNhiv82VCoqMoniHQBf2ftvXlv/UqqssW9or1x4UwgFU+sL7kObkw==", "requires": { - "@libp2p/interface": "^0.1.1", - "@libp2p/logger": "^3.0.1", - "@libp2p/peer-collections": "^4.0.2", - "@libp2p/peer-id": "^3.0.1", - "@libp2p/peer-id-factory": "^3.0.2", - "@libp2p/peer-record": "^6.0.2", - "@multiformats/multiaddr": "^12.1.3", + "@libp2p/crypto": "^2.0.3", + "@libp2p/interface": "^0.1.2", + "@libp2p/peer-id": "^3.0.2", + "@libp2p/utils": "^4.0.2", + "@multiformats/multiaddr": "^12.1.5", + "protons-runtime": "^5.0.0", + "uint8-varint": "^1.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" + } + }, + "multiformats": { + "version": "12.1.1", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.1.1.tgz", + "integrity": "sha512-GBSToTmri2vJYs8wqcZQ8kB21dCaeTOzHTIAlr8J06C1eL6UbzqURXFZ5Fl0EYm9GAFz1IlYY8SxGOs9G9NJRg==" + } + } + }, + "@libp2p/peer-store": { + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/@libp2p/peer-store/-/peer-store-9.0.3.tgz", + "integrity": "sha512-7vSAUvKAzzWRwcMxOUvyGNw8V59t9l9l1Ugxa+VHCKKhvAEn9eXjf8We8BLGT3KnUG6aJ5HpODPK4RbW6BNGfA==", + "requires": { + "@libp2p/interface": "^0.1.2", + "@libp2p/logger": "^3.0.2", + "@libp2p/peer-collections": "^4.0.3", + "@libp2p/peer-id": "^3.0.2", + "@libp2p/peer-id-factory": "^3.0.3", + "@libp2p/peer-record": "^6.0.3", + "@multiformats/multiaddr": "^12.1.5", "interface-datastore": "^8.2.0", "it-all": "^3.0.2", "mortice": "^3.0.1", "multiformats": "^12.0.1", "protons-runtime": "^5.0.0", "uint8arraylist": "^2.4.3", - "uint8arrays": "^4.0.4" + "uint8arrays": "^4.0.6" }, "dependencies": { - "@libp2p/crypto": { - "version": "2.0.2", - "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/logger": { - "version": "3.0.1", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/@libp2p/logger/-/logger-3.0.2.tgz", + "integrity": "sha512-2JtRGBXiGfm1t5XneUIXQ2JusW7QwyYmxsW7hSAYS5J73RQJUicpt5le5obVRt7+OM39ei+nWEuC6Xvm1ugHkw==", "requires": { - "@libp2p/interface": "^0.1.1", - "@multiformats/multiaddr": "^12.1.3", + "@libp2p/interface": "^0.1.2", + "@multiformats/multiaddr": "^12.1.5", "debug": "^4.3.4", "interface-datastore": "^8.2.0", "multiformats": "^12.0.1" } }, - "@libp2p/peer-record": { - "version": "6.0.2", - "requires": { - "@libp2p/crypto": "^2.0.2", - "@libp2p/interface": "^0.1.1", - "@libp2p/peer-id": "^3.0.1", - "@libp2p/utils": "^4.0.1", - "@multiformats/multiaddr": "^12.1.3", - "protons-runtime": "^5.0.0", - "uint8-varint": "^1.0.2", - "uint8arraylist": "^2.4.3", - "uint8arrays": "^4.0.4" - } - }, "multiformats": { - "version": "12.0.1" + "version": "12.1.1", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.1.1.tgz", + "integrity": "sha512-GBSToTmri2vJYs8wqcZQ8kB21dCaeTOzHTIAlr8J06C1eL6UbzqURXFZ5Fl0EYm9GAFz1IlYY8SxGOs9G9NJRg==" } } }, @@ -29463,6 +29547,23 @@ } } }, + "@multiformats/multiaddr-matcher": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@multiformats/multiaddr-matcher/-/multiaddr-matcher-1.0.1.tgz", + "integrity": "sha512-ZzqwTH8tP5Py/k8eNKprO0i6tuwgrbp7KWz+ttxvzkPl43BlU9Yd5joq+M5grCt158rpAc2uhPobzfXgPxW5XQ==", + "requires": { + "@chainsafe/is-ip": "^2.0.1", + "@multiformats/multiaddr": "^12.0.0", + "multiformats": "^12.0.1" + }, + "dependencies": { + "multiformats": { + "version": "12.1.1", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.1.1.tgz", + "integrity": "sha512-GBSToTmri2vJYs8wqcZQ8kB21dCaeTOzHTIAlr8J06C1eL6UbzqURXFZ5Fl0EYm9GAFz1IlYY8SxGOs9G9NJRg==" + } + } + }, "@multiformats/multiaddr-to-uri": { "version": "9.0.2", "requires": { @@ -30943,7 +31044,7 @@ "@chainsafe/libp2p-gossipsub": "^10.1.0", "@multiformats/multiaddr": "^12.0.0", "cspell": "^7.3.2", - "libp2p": "^0.46.3", + "libp2p": "^0.46.8", "npm-run-all": "^4.1.5", "typescript": "^5.0.4" } @@ -31094,7 +31195,7 @@ "@waku/utils": "0.0.10", "cspell": "^7.3.2", "interface-datastore": "^7.0.4", - "libp2p": "^0.46.3", + "libp2p": "^0.46.8", "npm-run-all": "^4.1.5", "rollup": "^3.28.0", "typescript": "^5.0.4" @@ -31147,7 +31248,7 @@ "debug": "^4.3.4", "dockerode": "^3.3.5", "interface-datastore": "^8.2.3", - "libp2p": "^0.46.3", + "libp2p": "^0.46.8", "mocha": "^10.2.0", "npm-run-all": "^4.1.5", "p-timeout": "^6.1.0", @@ -36275,26 +36376,30 @@ } }, "libp2p": { - "version": "0.46.3", + "version": "0.46.8", + "resolved": "https://registry.npmjs.org/libp2p/-/libp2p-0.46.8.tgz", + "integrity": "sha512-ZEzItnKbZm8V97VVlsWq2afbUyq8sYeynHS5+b5sbByD+vsw3WMhsp4SrDkT7DAsONp4Vgn/aey7RCJIkQ6OUA==", "requires": { "@achingbrain/nat-port-mapper": "^1.0.9", - "@libp2p/crypto": "^2.0.2", - "@libp2p/interface": "^0.1.1", - "@libp2p/interface-internal": "^0.1.2", - "@libp2p/keychain": "^3.0.2", - "@libp2p/logger": "^3.0.1", - "@libp2p/multistream-select": "^4.0.1", - "@libp2p/peer-collections": "^4.0.2", - "@libp2p/peer-id": "^3.0.1", - "@libp2p/peer-id-factory": "^3.0.2", - "@libp2p/peer-record": "^6.0.2", - "@libp2p/peer-store": "^9.0.2", - "@libp2p/utils": "^4.0.1", + "@libp2p/crypto": "^2.0.3", + "@libp2p/interface": "^0.1.2", + "@libp2p/interface-internal": "^0.1.4", + "@libp2p/keychain": "^3.0.3", + "@libp2p/logger": "^3.0.2", + "@libp2p/multistream-select": "^4.0.2", + "@libp2p/peer-collections": "^4.0.3", + "@libp2p/peer-id": "^3.0.2", + "@libp2p/peer-id-factory": "^3.0.3", + "@libp2p/peer-record": "^6.0.3", + "@libp2p/peer-store": "^9.0.3", + "@libp2p/utils": "^4.0.2", "@multiformats/mafmt": "^12.1.2", - "@multiformats/multiaddr": "^12.1.3", + "@multiformats/multiaddr": "^12.1.5", + "@multiformats/multiaddr-matcher": "^1.0.0", "abortable-iterator": "^5.0.1", "any-signal": "^4.1.1", "datastore-core": "^9.0.1", + "delay": "^6.0.0", "interface-datastore": "^8.2.0", "it-all": "^3.0.2", "it-drain": "^3.0.2", @@ -36313,52 +36418,47 @@ "multiformats": "^12.0.1", "p-defer": "^4.0.0", "p-queue": "^7.3.4", - "p-retry": "^5.0.0", + "p-retry": "^6.0.0", "private-ip": "^3.0.0", "protons-runtime": "^5.0.0", - "rate-limiter-flexible": "^2.3.11", + "rate-limiter-flexible": "^3.0.0", "uint8arraylist": "^2.4.3", - "uint8arrays": "^4.0.4", + "uint8arrays": "^4.0.6", "wherearewe": "^2.0.1", "xsalsa20": "^1.1.0" }, "dependencies": { "@libp2p/crypto": { - "version": "2.0.2", + "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.1", - "@noble/ed25519": "^1.6.0", - "@noble/secp256k1": "^1.5.4", + "@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.4" + "uint8arrays": "^4.0.6" } }, "@libp2p/logger": { - "version": "3.0.1", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/@libp2p/logger/-/logger-3.0.2.tgz", + "integrity": "sha512-2JtRGBXiGfm1t5XneUIXQ2JusW7QwyYmxsW7hSAYS5J73RQJUicpt5le5obVRt7+OM39ei+nWEuC6Xvm1ugHkw==", "requires": { - "@libp2p/interface": "^0.1.1", - "@multiformats/multiaddr": "^12.1.3", + "@libp2p/interface": "^0.1.2", + "@multiformats/multiaddr": "^12.1.5", "debug": "^4.3.4", "interface-datastore": "^8.2.0", "multiformats": "^12.0.1" } }, - "@libp2p/peer-record": { - "version": "6.0.2", - "requires": { - "@libp2p/crypto": "^2.0.2", - "@libp2p/interface": "^0.1.1", - "@libp2p/peer-id": "^3.0.1", - "@libp2p/utils": "^4.0.1", - "@multiformats/multiaddr": "^12.1.3", - "protons-runtime": "^5.0.0", - "uint8-varint": "^1.0.2", - "uint8arraylist": "^2.4.3", - "uint8arrays": "^4.0.4" - } + "@types/retry": { + "version": "0.12.2", + "resolved": "https://registry.npmjs.org/@types/retry/-/retry-0.12.2.tgz", + "integrity": "sha512-XISRgDJ2Tc5q4TRqvgJtzsRkFYNJzZrhTdtMoGVBttwzzQJkPnS3WWTFc7kuDRoPtPakl+T+OfdEUjYJj7Jbow==" }, "it-filter": { "version": "3.0.2", @@ -36370,7 +36470,23 @@ "version": "2.0.1" }, "multiformats": { - "version": "12.0.1" + "version": "12.1.1", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.1.1.tgz", + "integrity": "sha512-GBSToTmri2vJYs8wqcZQ8kB21dCaeTOzHTIAlr8J06C1eL6UbzqURXFZ5Fl0EYm9GAFz1IlYY8SxGOs9G9NJRg==" + }, + "p-retry": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/p-retry/-/p-retry-6.0.0.tgz", + "integrity": "sha512-6NuuXu8Upembd4sNdo4PRbs+M6aHgBTrFE6lkH0YKjVzne3cDW4gkncB98ty/bkMxLxLVNeD5bX9FyWjM7WZ+A==", + "requires": { + "@types/retry": "0.12.2", + "retry": "^0.13.1" + } + }, + "rate-limiter-flexible": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/rate-limiter-flexible/-/rate-limiter-flexible-3.0.0.tgz", + "integrity": "sha512-janAJkWxWxmLka0hV+XvCTo0M8keeSeOuz8ZL33cTXrkS4ek9mQ2VJm9ri7fm03oTVth19Sfqb1ijCmo7K/vAg==" } } }, @@ -37779,6 +37895,8 @@ }, "mortice": { "version": "3.0.1", + "resolved": "https://registry.npmjs.org/mortice/-/mortice-3.0.1.tgz", + "integrity": "sha512-eyDUsl1nCR9+JtNksKnaESLP9MgAXCA4w1LTtsmOSQNsThnv++f36rrBu5fC/fdGIwTJZmbiaR/QewptH93pYA==", "requires": { "nanoid": "^4.0.0", "observable-webworkers": "^2.0.1", @@ -37787,7 +37905,9 @@ }, "dependencies": { "nanoid": { - "version": "4.0.2" + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-4.0.2.tgz", + "integrity": "sha512-7ZtY5KTCNheRGfEFxnedV5zFiORN1+Y1N6zvPTnHQd8ENUvfaDBeuJDZb2bN/oXwXxu3qkTXDzy57W5vAmDTBw==" } } }, @@ -40189,7 +40309,9 @@ } }, "observable-webworkers": { - "version": "2.0.1" + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/observable-webworkers/-/observable-webworkers-2.0.1.tgz", + "integrity": "sha512-JI1vB0u3pZjoQKOK1ROWzp0ygxSi7Yb0iR+7UNsw4/Zn4cQ0P3R7XL38zac/Dy2tEA7Lg88/wIJTjF8vYXZ0uw==" }, "on-finished": { "version": "2.4.1", @@ -42119,6 +42241,8 @@ }, "sanitize-filename": { "version": "1.6.3", + "resolved": "https://registry.npmjs.org/sanitize-filename/-/sanitize-filename-1.6.3.tgz", + "integrity": "sha512-y/52Mcy7aw3gRm7IrcGDFx/bCk4AhRh2eI9luHOQM86nZsqwiRkkq2GekHXBBD+SmPidc8i2PqtYZl+pWJ8Oeg==", "requires": { "truncate-utf8-bytes": "^1.0.0" } @@ -43209,6 +43333,8 @@ }, "truncate-utf8-bytes": { "version": "1.0.2", + "resolved": "https://registry.npmjs.org/truncate-utf8-bytes/-/truncate-utf8-bytes-1.0.2.tgz", + "integrity": "sha512-95Pu1QXQvruGEhv62XCMO3Mm90GscOCClvrIUwCM0PYOXK3kaF3l3sIHxx71ThJfcbM2O5Au6SO3AWCSEfW4mQ==", "requires": { "utf8-byte-length": "^1.0.1" } @@ -43673,7 +43799,9 @@ "version": "5.0.0" }, "utf8-byte-length": { - "version": "1.0.4" + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/utf8-byte-length/-/utf8-byte-length-1.0.4.tgz", + "integrity": "sha512-4+wkEYLBbWxqTahEsWrhxepcoVOJ+1z5PGIjPZxRkytcdSUaNjIjBM7Xn8E+pdSuV7SzvWovBFA54FO0JSoqhA==" }, "utf8-bytes": { "version": "0.0.1" diff --git a/packages/interfaces/package.json b/packages/interfaces/package.json index 768982c333..702de4c0fa 100644 --- a/packages/interfaces/package.json +++ b/packages/interfaces/package.json @@ -52,7 +52,7 @@ "cspell": "^7.3.2", "npm-run-all": "^4.1.5", "typescript": "^5.0.4", - "libp2p": "^0.46.3" + "libp2p": "^0.46.8" }, "typedoc": { "entryPoint": "./src/index.ts" diff --git a/packages/sdk/package.json b/packages/sdk/package.json index f880b7f0c6..8ec74a110c 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -56,7 +56,7 @@ "@waku/core": "0.0.22", "@waku/dns-discovery": "0.0.16", "@waku/interfaces": "0.0.17", - "libp2p": "^0.46.3" + "libp2p": "^0.46.8" }, "devDependencies": { "@chainsafe/libp2p-gossipsub": "^10.1.0", diff --git a/packages/tests/package.json b/packages/tests/package.json index 013f8bd6de..80a66a8d44 100644 --- a/packages/tests/package.json +++ b/packages/tests/package.json @@ -82,7 +82,7 @@ "cspell": "^7.3.2", "debug": "^4.3.4", "interface-datastore": "^8.2.3", - "libp2p": "^0.46.3", + "libp2p": "^0.46.8", "mocha": "^10.2.0", "npm-run-all": "^4.1.5", "typescript": "^5.0.4"