From c56afddff00a5fbe1313145267bfdffef2880333 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 30 Aug 2023 02:58:16 +0000 Subject: [PATCH] Update dependency @chainsafe/libp2p-gossipsub to v10 --- package.json | 2 +- pnpm-lock.yaml | 225 ++++++++++++++++++++----------------------------- 2 files changed, 94 insertions(+), 133 deletions(-) diff --git a/package.json b/package.json index 464c218dc3..2a076b1448 100644 --- a/package.json +++ b/package.json @@ -86,7 +86,7 @@ }, "dependencies": { "@achingbrain/nat-port-mapper": "1.0.8", - "@chainsafe/libp2p-gossipsub": "^7.0.0", + "@chainsafe/libp2p-gossipsub": "^10.0.0", "@chainsafe/libp2p-noise": "^11.0.4", "@chriscdn/promise-semaphore": "^2.0.1", "@constl/electron-webrtc-relay": "^0.2.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 67b9e7a5ee..3db3e58792 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -14,8 +14,8 @@ dependencies: specifier: 1.0.8 version: 1.0.8 '@chainsafe/libp2p-gossipsub': - specifier: ^7.0.0 - version: 7.0.0 + specifier: ^10.0.0 + version: 10.1.0 '@chainsafe/libp2p-noise': specifier: ^11.0.4 version: 11.0.4 @@ -33,7 +33,7 @@ dependencies: version: 0.1.2(wrtc@0.4.7) '@lassi-js/kili': specifier: ^0.2.3 - version: 0.2.3(@constl/ipa@0.8.2)(wrtc@0.4.7) + version: 0.2.3(@constl/ipa@)(wrtc@0.4.7) '@libp2p/interface-transport': specifier: ^4.0.3 version: 4.0.3 @@ -84,7 +84,7 @@ dependencies: version: 2.1.0 ennikkai: specifier: ^2.2.0 - version: 2.2.0(@constl/ipa@0.8.2)(wrtc@0.4.7) + version: 2.2.0(@constl/ipa@)(wrtc@0.4.7) events: specifier: ^3.3.0 version: 3.3.0 @@ -1240,60 +1240,53 @@ packages: /@chainsafe/is-ip@2.0.2: resolution: {integrity: sha512-ndGqEMG1W5WkGagaqOZHpPU172AGdxr+LD15sv3WIUvT5oCFUrG1Y0CW/v2Egwj4JXEvSibaIIIqImsm98y1nA==} - /@chainsafe/libp2p-gossipsub@6.3.0: - resolution: {integrity: sha512-yRgMB5JpyPROjmhOeOmzJUAKci19qBEnpH80201f8JkkviUJo7+X8i3MUkammlbFg0VhaTKBT98Osbko9+rT1w==} + /@chainsafe/libp2p-gossipsub@10.1.0: + resolution: {integrity: sha512-mOVYJAvxYRkh2HeggNFW/7ukEccQDVEI9LPhvlnJk7gnJhyJJ6mhZxUAaytfp3v3qTkmeBRnEL0eJOQBm+MoOA==} engines: {npm: '>=8.7.0'} dependencies: - '@libp2p/crypto': 1.0.17 - '@libp2p/interface-connection': 4.0.0 - '@libp2p/interface-connection-manager': 1.5.0 - '@libp2p/interface-keys': 1.0.8 - '@libp2p/interface-peer-id': 2.0.2 - '@libp2p/interface-peer-store': 1.2.9 - '@libp2p/interface-pubsub': 3.0.7 - '@libp2p/interface-registrar': 2.0.12 - '@libp2p/interfaces': 3.3.2 - '@libp2p/logger': 2.1.1 - '@libp2p/peer-id': 2.0.4 - '@libp2p/peer-record': 5.0.4 - '@libp2p/pubsub': 6.0.6 - '@libp2p/topology': 4.0.3 + '@libp2p/crypto': 2.0.3 + '@libp2p/interface': 0.1.2 + '@libp2p/interface-internal': 0.1.4 + '@libp2p/logger': 3.0.2 + '@libp2p/peer-id': 3.0.2 + '@libp2p/pubsub': 8.0.5 '@multiformats/multiaddr': 12.1.7 - abortable-iterator: 4.0.3 - denque: 1.5.1 - it-length-prefixed: 8.0.4 - it-pipe: 2.0.5 + abortable-iterator: 5.0.1 + denque: 2.1.0 + it-length-prefixed: 9.0.3 + it-pipe: 3.0.1 it-pushable: 3.2.1 - multiformats: 11.0.2 - protobufjs: 6.11.4 + multiformats: 12.0.1 + protobufjs: 7.2.5 uint8arraylist: 2.4.3 uint8arrays: 4.0.6 transitivePeerDependencies: - supports-color + dev: false - /@chainsafe/libp2p-gossipsub@7.0.0: - resolution: {integrity: sha512-hX5zN6b9N3vwSXM5bTLukYlDcD0hnPQhQ1+0d15/N+oKr+O0yIGWm0gpbTRXrWMpDo7E4J0P97yrGs/zIY5Klg==} + /@chainsafe/libp2p-gossipsub@6.3.0: + resolution: {integrity: sha512-yRgMB5JpyPROjmhOeOmzJUAKci19qBEnpH80201f8JkkviUJo7+X8i3MUkammlbFg0VhaTKBT98Osbko9+rT1w==} engines: {npm: '>=8.7.0'} dependencies: '@libp2p/crypto': 1.0.17 - '@libp2p/interface-connection': 5.1.1 - '@libp2p/interface-connection-manager': 2.1.1 + '@libp2p/interface-connection': 4.0.0 + '@libp2p/interface-connection-manager': 1.5.0 '@libp2p/interface-keys': 1.0.8 '@libp2p/interface-peer-id': 2.0.2 '@libp2p/interface-peer-store': 1.2.9 - '@libp2p/interface-pubsub': 4.0.1 + '@libp2p/interface-pubsub': 3.0.7 '@libp2p/interface-registrar': 2.0.12 '@libp2p/interfaces': 3.3.2 '@libp2p/logger': 2.1.1 '@libp2p/peer-id': 2.0.4 '@libp2p/peer-record': 5.0.4 - '@libp2p/pubsub': 7.0.3 + '@libp2p/pubsub': 6.0.6 '@libp2p/topology': 4.0.3 '@multiformats/multiaddr': 12.1.7 - abortable-iterator: 5.0.1 + abortable-iterator: 4.0.3 denque: 1.5.1 - it-length-prefixed: 9.0.3 - it-pipe: 3.0.1 + it-length-prefixed: 8.0.4 + it-pipe: 2.0.5 it-pushable: 3.2.1 multiformats: 11.0.2 protobufjs: 6.11.4 @@ -1301,7 +1294,6 @@ packages: uint8arrays: 4.0.6 transitivePeerDependencies: - supports-color - dev: false /@chainsafe/libp2p-noise@11.0.4: resolution: {integrity: sha512-X7kA6a3/QPFxNFwgUJ8vubDu5qBDcDT0nhD+jL7g60IFKZu//HFH7oqsNCZa12yx0oR1fEYOR62iHDt2GHyWBQ==} @@ -1353,70 +1345,6 @@ packages: - supports-color dev: false - /@constl/ipa@0.8.2(go-ipfs@0.22.0)(ipfs@0.66.1)(ipfsd-ctl@13.0.0)(wrtc@0.4.7): - resolution: {integrity: sha512-3sJ//JQaHY7AszLvPzoNu0s1YFx8nK5I6+turdc6/DwiyCtSLiCK/tso1FWvM3MsLxnre61dcseFoF1/TLbqTg==} - engines: {node: '>=20'} - peerDependencies: - wrtc: ^0.4.7 - dependencies: - '@achingbrain/nat-port-mapper': 1.0.8 - '@chainsafe/libp2p-gossipsub': 7.0.0 - '@chainsafe/libp2p-noise': 11.0.4 - '@chriscdn/promise-semaphore': 2.0.1 - '@constl/electron-webrtc-relay': 0.2.1 - '@constl/mandataire': 0.1.14 - '@constl/utils-ipa': 0.1.2(wrtc@0.4.7) - '@lassi-js/kili': 0.2.3(@constl/ipa@0.8.2)(wrtc@0.4.7) - '@libp2p/interface-transport': 4.0.3 - '@libp2p/mplex': 8.0.4 - '@libp2p/tcp': 7.0.3 - '@libp2p/webrtc-direct': 6.0.0 - '@libp2p/webrtc-star': 7.0.0 - '@libp2p/websockets': 5.0.10 - '@libp2p/webtransport': 1.0.11 - '@localfirst/auth': 1.0.1 - ajv: 8.12.0 - approx-string-match: 2.0.0 - axios: 1.4.0 - browser-fs-access: 0.34.1 - chokidar: 3.5.3 - crypto-js: 4.1.1 - deep-equal: 2.2.2 - deepcopy: 2.1.0 - ennikkai: 2.2.0(@constl/ipa@0.8.2)(wrtc@0.4.7) - events: 3.3.0 - genversion: 3.1.1 - geojson-validation: 1.0.2 - indexed-db-stream: 1.0.0 - ipfs-core: 0.18.1 - iso-constants: github.com/inverted-capital/iso-constants/2af6fdfb2cacaa03ebd58543703918783e62649f - it-to-buffer: 3.0.1 - jszip: 3.10.1 - lodash: 4.17.21 - merge-options: 3.0.4 - multiformats: 9.9.0 - orbit-db: 0.29.0(go-ipfs@0.22.0)(ipfs@0.66.1)(ipfsd-ctl@13.0.0) - orbit-db-access-controllers: 0.4.0(go-ipfs@0.22.0)(ipfs@0.66.1)(ipfsd-ctl@13.0.0) - prom-client: 14.2.0 - rimraf: 5.0.1 - ssim: 0.0.0 - tslib: 2.6.2 - uint8arrays: 4.0.6 - uuid: 9.0.0 - wherearewe: 2.0.1 - wrtc: 0.4.7 - xlsx: '@cdn.sheetjs.com/xlsx-0.19.1/xlsx-0.19.1.tgz' - transitivePeerDependencies: - - bufferutil - - debug - - encoding - - go-ipfs - - ipfs - - ipfsd-ctl - - supports-color - - utf-8-validate - dev: false - /@constl/mandataire@0.1.14: resolution: {integrity: sha512-o/eOcpQZFVHuLsNIkpDUdw9yAGdntAiueX6KAcHExCVgVGPY6Mzn8puX3+ZWK2sP7PpH/e6PHEsICOebI+C5ig==} dependencies: @@ -2712,12 +2640,12 @@ packages: '@jridgewell/sourcemap-codec': 1.4.15 dev: true - /@lassi-js/kili@0.2.3(@constl/ipa@0.8.2)(wrtc@0.4.7): + /@lassi-js/kili@0.2.3(@constl/ipa@)(wrtc@0.4.7): resolution: {integrity: sha512-l7S2At9Ci+Y1mfXJ0PrI3RaXFmyna1hKoSmdAcChUvklMNZHwcazGcdmpETnc0DGdcrIxEh3v9VIVisqfk0jlA==} peerDependencies: '@constl/ipa': ^0.8.1 dependencies: - '@constl/ipa': 0.8.2(go-ipfs@0.22.0)(ipfs@0.66.1)(ipfsd-ctl@13.0.0)(wrtc@0.4.7) + '@constl/ipa': 'link:' '@constl/utils-ipa': 0.1.2(wrtc@0.4.7) deepcopy: 2.1.0 transitivePeerDependencies: @@ -2757,6 +2685,21 @@ packages: uint8arraylist: 2.4.3 uint8arrays: 4.0.6 + /@libp2p/crypto@2.0.3: + resolution: {integrity: sha512-VLhjdkJe8b/vedHp7SosDs62Yxq1i05Ej/YdVaEdWQdJsBRHCwbRlS4hPg3vm21U5hLF0g958r/927Vd/wamZw==} + dependencies: + '@libp2p/interface': 0.1.2 + '@noble/curves': 1.2.0 + '@noble/hashes': 1.3.2 + multiformats: 12.0.1 + node-forge: 1.3.1 + protons-runtime: 5.0.2(uint8arraylist@2.4.3) + uint8arraylist: 2.4.3 + uint8arrays: 4.0.6 + transitivePeerDependencies: + - supports-color + dev: false + /@libp2p/delegated-content-routing@4.0.8: resolution: {integrity: sha512-mRDXN1rCY1Bscg8P21IA3jX4/MTifYCzpK2Pv2TsKXQwC9r4QfGLoLWWtOY+OtfqjH7++vDAG+o0vbnKlx6/DQ==} dependencies: @@ -2833,19 +2776,6 @@ packages: transitivePeerDependencies: - supports-color - /@libp2p/interface-connection-manager@2.1.1: - resolution: {integrity: sha512-cIhSRSQs2iHBI8G3vc7Y7cQY2CMYIQYul05qT+or+wZnHdW6CbR44j9s/pPgKLl5cKJPzdLvaEuIY1fTwqnNag==} - engines: {node: '>=16.0.0', npm: '>=7.0.0'} - dependencies: - '@libp2p/interface-connection': 5.1.1 - '@libp2p/interface-peer-id': 2.0.2 - '@libp2p/interfaces': 3.3.2 - '@libp2p/peer-collections': 3.0.2 - '@multiformats/multiaddr': 12.1.7 - transitivePeerDependencies: - - supports-color - dev: false - /@libp2p/interface-connection-manager@3.0.1: resolution: {integrity: sha512-7ZAvzOWfHs3BtaoZoWsT+Ks1bo6HjyRMq1SJdFWDJ+ZkYEzrf6sdtQwsX8eXhwRDO6PuzpUDqLZ9TNQ2GVKEEw==} engines: {node: '>=16.0.0', npm: '>=7.0.0'} @@ -2917,6 +2847,17 @@ packages: transitivePeerDependencies: - supports-color + /@libp2p/interface-internal@0.1.4: + resolution: {integrity: sha512-fRa8AUeCVOqfjgJgpIWupOsc7nAnJuI/VjWL2ZfRqbz7CPLD9c/ZAKXC140THSxlNdNQ9kGpo/C2z/yCGLy4ig==} + dependencies: + '@libp2p/interface': 0.1.2 + '@libp2p/peer-collections': 4.0.3 + '@multiformats/multiaddr': 12.1.7 + uint8arraylist: 2.4.3 + transitivePeerDependencies: + - supports-color + dev: false + /@libp2p/interface-keychain@2.0.5: resolution: {integrity: sha512-mb7QNgn9fIvC7CaJCi06GJ+a6DN6RVT9TmEi0NmedZGATeCArPeWWG7r7IfxNVXb9cVOOE1RzV1swK0ZxEJF9Q==} engines: {node: '>=16.0.0', npm: '>=7.0.0'} @@ -3289,6 +3230,15 @@ packages: '@libp2p/interface-peer-id': 2.0.2 '@libp2p/peer-id': 2.0.4 + /@libp2p/peer-collections@4.0.3: + resolution: {integrity: sha512-ahfZFdRhApN4dulnzAvkzQsPVJVX7UID3QMKC/cduK5FYWqm7zbtW6bpwDilhZY3wvjvaQYs4R0KKSysvTPiQQ==} + dependencies: + '@libp2p/interface': 0.1.2 + '@libp2p/peer-id': 3.0.2 + transitivePeerDependencies: + - supports-color + dev: false + /@libp2p/peer-id-factory@2.0.4: resolution: {integrity: sha512-+0D+oklFzHpjRI3v7uw3PMMx00P36DV7YvAgL0+gpos0VzR/BI9tRiM6dpObZTrQ1hxp78F03p+qR1Zy9Qnmuw==} engines: {node: '>=16.0.0', npm: '>=7.0.0'} @@ -3402,25 +3352,20 @@ packages: transitivePeerDependencies: - supports-color - /@libp2p/pubsub@7.0.3: - resolution: {integrity: sha512-BrUBQ6ljN1tU+2Hn1Vq+ZT/foVBGUVIywqoavNrFw5CmaBBTGuVRrmqE/MUToIS8dhonpW5RNCRabz3woq/4iQ==} - engines: {node: '>=16.0.0', npm: '>=7.0.0'} + /@libp2p/pubsub@8.0.5: + resolution: {integrity: sha512-26mzTcYoAAeAonePjXmxoQL03K+/0zPDcQ7rcKex9d109BTSdcnWYyqBxTFbNph5HZTw65NlFnrlIxHdG5C73A==} dependencies: - '@libp2p/crypto': 1.0.17 - '@libp2p/interface-connection': 5.1.1 - '@libp2p/interface-peer-id': 2.0.2 - '@libp2p/interface-pubsub': 4.0.1 - '@libp2p/interface-registrar': 2.0.12 - '@libp2p/interfaces': 3.3.2 - '@libp2p/logger': 2.1.1 - '@libp2p/peer-collections': 3.0.2 - '@libp2p/peer-id': 2.0.4 - '@libp2p/topology': 4.0.3 + '@libp2p/crypto': 2.0.3 + '@libp2p/interface': 0.1.2 + '@libp2p/interface-internal': 0.1.4 + '@libp2p/logger': 3.0.2 + '@libp2p/peer-collections': 4.0.3 + '@libp2p/peer-id': 3.0.2 abortable-iterator: 5.0.1 it-length-prefixed: 9.0.3 it-pipe: 3.0.1 it-pushable: 3.2.1 - multiformats: 11.0.2 + multiformats: 12.0.1 p-queue: 7.3.4 uint8arraylist: 2.4.3 uint8arrays: 4.0.6 @@ -3776,9 +3721,20 @@ packages: transitivePeerDependencies: - supports-color + /@noble/curves@1.2.0: + resolution: {integrity: sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==} + dependencies: + '@noble/hashes': 1.3.2 + dev: false + /@noble/ed25519@1.7.3: resolution: {integrity: sha512-iR8GBkDt0Q3GyaVcIu7mSsVIqnFbkbRzGLWlvhwunacoLwt4J3swfKhfaM6rN6WY+TBGoYT1GtT1mIh2/jGbRQ==} + /@noble/hashes@1.3.2: + resolution: {integrity: sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==} + engines: {node: '>= 16'} + dev: false + /@noble/secp256k1@1.7.1: resolution: {integrity: sha512-hOUk6AyBFmqVrv7k5WAw/LpszxVbj9gGN4JRkIX52fdFAj1UA61KXmZDvqVEm+pOyec3+fIeZB02LYa/pWOArw==} @@ -6938,6 +6894,11 @@ packages: resolution: {integrity: sha512-XwE+iZ4D6ZUB7mfYRMb5wByE8L74HCn30FBN7sWnXksWc1LO1bPDl67pBR9o/kC4z/xSNAwkMYcGgqDV3BE3Hw==} engines: {node: '>=0.10'} + /denque@2.1.0: + resolution: {integrity: sha512-HVQE3AAb/pxF8fQAoiqpvg9i3evqug3hoiwakOyZAwJm+6vZehbkYXZ0l4JxS+I3QxM97v5aaRNhj8v5oBhekw==} + engines: {node: '>=0.10'} + dev: false + /depcheck@1.4.5: resolution: {integrity: sha512-bgt8SfRJ5UQi+uieuTnx6Vd++xJaP7g28FwxM8pZlXHAVXe6mKfSyDDtTfKpF5PS5S6PrgW/o13CYn8YuWDnbQ==} engines: {node: '>=10'} @@ -7350,13 +7311,13 @@ packages: resolution: {integrity: sha512-9JktcM3u18nU9N2Lz3bWeBgxVgOKpw7yhRaoxQA3FUDZzzw+9WlA6p4G4u0RixNkg14fH7EfEc/RhpurtiROTQ==} engines: {node: '>=10.0.0'} - /ennikkai@2.2.0(@constl/ipa@0.8.2)(wrtc@0.4.7): + /ennikkai@2.2.0(@constl/ipa@)(wrtc@0.4.7): resolution: {integrity: sha512-o2snPeh/83TLbHufOkl1Q1x99nM4u/qbZDZuKL+KzYZdgZ6cMaS2MV1prCV3u+E8WD/oko5FaUCRKsnWL67SEg==} peerDependencies: '@constl/ipa': ^0.8.1 dependencies: - '@constl/ipa': 0.8.2(go-ipfs@0.22.0)(ipfs@0.66.1)(ipfsd-ctl@13.0.0)(wrtc@0.4.7) - '@lassi-js/kili': 0.2.3(@constl/ipa@0.8.2)(wrtc@0.4.7) + '@constl/ipa': 'link:' + '@lassi-js/kili': 0.2.3(@constl/ipa@)(wrtc@0.4.7) deepmerge: 4.3.1 events: 3.3.0 transitivePeerDependencies: