diff --git a/js-peer/package-lock.json b/js-peer/package-lock.json index d9d8941b..0dc8f474 100644 --- a/js-peer/package-lock.json +++ b/js-peer/package-lock.json @@ -13,23 +13,22 @@ "@headlessui/react": "^2.0.1", "@helia/delegated-routing-v1-http-api-client": "^3.0.1", "@heroicons/react": "^2.1.3", - "@libp2p/bootstrap": "^10.0.21", - "@libp2p/circuit-relay-v2": "^1.0.20", + "@libp2p/bootstrap": "^10.0.22", + "@libp2p/circuit-relay-v2": "^1.0.22", "@libp2p/identify": "^2.0.0", "@libp2p/interface-pubsub": "^4.0.1", - "@libp2p/kad-dht": "^12.0.13", "@libp2p/logger": "^4.0.10", "@libp2p/pubsub-peer-discovery": "^10.0.2", - "@libp2p/webrtc": "^4.0.28", + "@libp2p/webrtc": "^4.0.31", "@libp2p/websockets": "^8.0.22", - "@libp2p/webtransport": "^4.0.28", + "@libp2p/webtransport": "^4.0.30", "@multiformats/multiaddr": "^12.2.1", "clsx": "^2.1.1", "debug": "^4.3.4", "it-length-prefixed": "^9.0.4", "it-map": "^3.1.0", "it-pipe": "^3.0.1", - "libp2p": "^1.4.2", + "libp2p": "^1.5.1", "next": "14.2.2", "react": "18.2.0", "react-dom": "18.2.0", @@ -2838,27 +2837,27 @@ "integrity": "sha512-Vo+PSpZG2/fmgmiNzYK9qWRh8h/CHrwD0mo1h1DzL4yzHNSfWYujGTYsWGreD000gcgmZ7K4Ys6Tx9TxtsKdDw==" }, "node_modules/@libp2p/bootstrap": { - "version": "10.0.21", - "resolved": "https://registry.npmjs.org/@libp2p/bootstrap/-/bootstrap-10.0.21.tgz", - "integrity": "sha512-a9OGwyRM1ucq7ECUaxB4HdNoxCj21vXHcKce9khf44V5rUngF8Qzy07DI6/OaPyxJlXlDS19IJ7igaiYKx0TJw==", + "version": "10.0.22", + "resolved": "https://registry.npmjs.org/@libp2p/bootstrap/-/bootstrap-10.0.22.tgz", + "integrity": "sha512-qAEBvmsksPnuVYMF2Khfvw3Nvatv+VHvrW36A1LQM20nIZ4D25c0t0D9xUyMZd87R4/T+fqCPsW8JKG+6XQH7w==", "dependencies": { - "@libp2p/interface": "^1.3.0", - "@libp2p/peer-id": "^4.1.0", + "@libp2p/interface": "^1.3.1", + "@libp2p/peer-id": "^4.1.1", "@multiformats/mafmt": "^12.1.6", "@multiformats/multiaddr": "^12.2.1" } }, "node_modules/@libp2p/circuit-relay-v2": { - "version": "1.0.20", - "resolved": "https://registry.npmjs.org/@libp2p/circuit-relay-v2/-/circuit-relay-v2-1.0.20.tgz", - "integrity": "sha512-9/cYghZSiJsUpdK+nP5ue2ZSeyXsYDJmrTTqyXjPb+hsy7qVwriLyZmnH6e6IfsrbgOHNSK0Whi24dyxTf1lYA==", - "dependencies": { - "@libp2p/interface": "^1.2.0", - "@libp2p/interface-internal": "^1.1.0", - "@libp2p/peer-collections": "^5.1.10", - "@libp2p/peer-id": "^4.0.10", - "@libp2p/peer-record": "^7.0.14", - "@libp2p/utils": "^5.3.1", + "version": "1.0.22", + "resolved": "https://registry.npmjs.org/@libp2p/circuit-relay-v2/-/circuit-relay-v2-1.0.22.tgz", + "integrity": "sha512-N913QHAsjIkOtS3cbr1oANG8UbUMYNAxOkgNkTzBNTqTiNbJQxOellK00DpX+quEOP0T+YUc7EnCSrU5wtvL+g==", + "dependencies": { + "@libp2p/interface": "^1.3.1", + "@libp2p/interface-internal": "^1.2.0", + "@libp2p/peer-collections": "^5.2.0", + "@libp2p/peer-id": "^4.1.1", + "@libp2p/peer-record": "^7.0.16", + "@libp2p/utils": "^5.4.0", "@multiformats/mafmt": "^12.1.6", "@multiformats/multiaddr": "^12.2.1", "any-signal": "^4.1.1", @@ -2996,49 +2995,6 @@ "npm": ">=7.0.0" } }, - "node_modules/@libp2p/kad-dht": { - "version": "12.0.13", - "resolved": "https://registry.npmjs.org/@libp2p/kad-dht/-/kad-dht-12.0.13.tgz", - "integrity": "sha512-as+pIHcrjVTXkf6kyULtnJg/RRvrbVjyycPD8HtqD5SKB0PDiYvJO0LY0oVAHFFi5oGMCqSG5777VQfC/tmRhQ==", - "dependencies": { - "@libp2p/crypto": "^4.0.6", - "@libp2p/interface": "^1.2.0", - "@libp2p/interface-internal": "^1.1.0", - "@libp2p/peer-collections": "^5.1.10", - "@libp2p/peer-id": "^4.0.10", - "@libp2p/record": "^4.0.0", - "@libp2p/utils": "^5.3.1", - "@multiformats/multiaddr": "^12.2.1", - "any-signal": "^4.1.1", - "hashlru": "^2.3.0", - "interface-datastore": "^8.2.11", - "it-drain": "^3.0.5", - "it-length": "^3.0.4", - "it-length-prefixed": "^9.0.4", - "it-map": "^3.0.5", - "it-merge": "^3.0.3", - "it-parallel": "^3.0.6", - "it-pipe": "^3.0.1", - "it-protobuf-stream": "^1.1.2", - "it-pushable": "^3.2.3", - "it-take": "^3.0.4", - "multiformats": "^13.1.0", - "p-defer": "^4.0.1", - "p-event": "^6.0.1", - "p-queue": "^8.0.1", - "progress-events": "^1.0.0", - "protons-runtime": "^5.4.0", - "race-signal": "^1.0.2", - "uint8-varint": "^2.0.4", - "uint8arraylist": "^2.4.8", - "uint8arrays": "^5.0.3" - } - }, - "node_modules/@libp2p/kad-dht/node_modules/multiformats": { - "version": "13.1.0", - "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-13.1.0.tgz", - "integrity": "sha512-HzdtdBwxsIkzpeXzhQ5mAhhuxcHbjEHH+JQoxt7hG/2HGFjjwyolLo7hbaexcnhoEuV4e0TNJ8kkpMjiEYY4VQ==" - }, "node_modules/@libp2p/logger": { "version": "4.0.12", "resolved": "https://registry.npmjs.org/@libp2p/logger/-/logger-4.0.12.tgz", @@ -3057,11 +3013,11 @@ "integrity": "sha512-HzdtdBwxsIkzpeXzhQ5mAhhuxcHbjEHH+JQoxt7hG/2HGFjjwyolLo7hbaexcnhoEuV4e0TNJ8kkpMjiEYY4VQ==" }, "node_modules/@libp2p/multistream-select": { - "version": "5.1.7", - "resolved": "https://registry.npmjs.org/@libp2p/multistream-select/-/multistream-select-5.1.7.tgz", - "integrity": "sha512-R+Crhd5EDZZpGA3F02F4vwVxIJ2NkIqwWOfPB0RRGAhQLZu2dJGa0yXclYvdCR89p1hDJMIENekz4ncAVhTE7Q==", + "version": "5.1.9", + "resolved": "https://registry.npmjs.org/@libp2p/multistream-select/-/multistream-select-5.1.9.tgz", + "integrity": "sha512-Cs7KgIZXmHnTbtbK0nHVezgghCuo/8IjdioeViXyljTe2/ye4lds86lSkuZTEEbggM/4djT0fBdvqAJ2F5rhVQ==", "dependencies": { - "@libp2p/interface": "^1.2.0", + "@libp2p/interface": "^1.3.1", "it-length-prefixed": "^9.0.4", "it-length-prefixed-stream": "^1.1.6", "it-stream-types": "^2.0.1", @@ -3093,13 +3049,13 @@ } }, "node_modules/@libp2p/peer-id-factory": { - "version": "4.0.10", - "resolved": "https://registry.npmjs.org/@libp2p/peer-id-factory/-/peer-id-factory-4.0.10.tgz", - "integrity": "sha512-iCGKY4gjv00omV2S8hkqmz+DY4hM1GBdN858utLbnCwPXvgkdoS9UqD8tIHw56IZ5/VcxYVmgRxSbD/ECDXVsA==", + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/@libp2p/peer-id-factory/-/peer-id-factory-4.1.1.tgz", + "integrity": "sha512-8/tRsKQLtgXmM8KklE1XB5VFfHytnbhibH/tRMN9CFZWkpkK1KmFgMxN8t9jZ2+zSK1ozZQQi4jyvkYEyLi5zQ==", "dependencies": { - "@libp2p/crypto": "^4.0.6", - "@libp2p/interface": "^1.2.0", - "@libp2p/peer-id": "^4.0.10", + "@libp2p/crypto": "^4.1.1", + "@libp2p/interface": "^1.3.1", + "@libp2p/peer-id": "^4.1.1", "protons-runtime": "^5.4.0", "uint8arraylist": "^2.4.8", "uint8arrays": "^5.0.3" @@ -3127,14 +3083,14 @@ } }, "node_modules/@libp2p/peer-store": { - "version": "10.0.15", - "resolved": "https://registry.npmjs.org/@libp2p/peer-store/-/peer-store-10.0.15.tgz", - "integrity": "sha512-DDhn/JbwpDM3oWQhSMTiNnFD4v2Xbs0Wsr6f35Gvx/8PR45n5qg3CHB2RBRNZORXDXyxF8FEPygXqPKQ0elO0Q==", - "dependencies": { - "@libp2p/interface": "^1.2.0", - "@libp2p/peer-collections": "^5.1.10", - "@libp2p/peer-id": "^4.0.10", - "@libp2p/peer-record": "^7.0.14", + "version": "10.0.17", + "resolved": "https://registry.npmjs.org/@libp2p/peer-store/-/peer-store-10.0.17.tgz", + "integrity": "sha512-LHo63U8dbeqrdohc19h4M9qkI7iDTpIHG+kLv2A2lNGwrR22op0mk0ARRPUTi8ZBWvLg1Q3cpXih5JBAdU2n7w==", + "dependencies": { + "@libp2p/interface": "^1.3.1", + "@libp2p/peer-collections": "^5.2.0", + "@libp2p/peer-id": "^4.1.1", + "@libp2p/peer-record": "^7.0.16", "@multiformats/multiaddr": "^12.2.1", "interface-datastore": "^8.2.11", "it-all": "^3.0.4", @@ -3206,16 +3162,6 @@ "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-13.1.0.tgz", "integrity": "sha512-HzdtdBwxsIkzpeXzhQ5mAhhuxcHbjEHH+JQoxt7hG/2HGFjjwyolLo7hbaexcnhoEuV4e0TNJ8kkpMjiEYY4VQ==" }, - "node_modules/@libp2p/record": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@libp2p/record/-/record-4.0.0.tgz", - "integrity": "sha512-qEbLgKj1DY6K0B9LFXXm0hdCmMJdkfrxFMa5/pOe9PufaRPCAOABYmbPYQQmDNI8UrwWJbf47tj+pmDS57SLTw==", - "dependencies": { - "protons-runtime": "^5.4.0", - "uint8arraylist": "^2.4.8", - "uint8arrays": "^5.0.3" - } - }, "node_modules/@libp2p/utils": { "version": "5.4.0", "resolved": "https://registry.npmjs.org/@libp2p/utils/-/utils-5.4.0.tgz", @@ -3244,15 +3190,15 @@ } }, "node_modules/@libp2p/webrtc": { - "version": "4.0.28", - "resolved": "https://registry.npmjs.org/@libp2p/webrtc/-/webrtc-4.0.28.tgz", - "integrity": "sha512-NsS5UIka8yTPAUy818NQ2HazqQA2Q7onGe89vwRrRNXclUQJouA1RLhPC10h/4k27aWxiiGy+51aNdlDHAOEaw==", + "version": "4.0.31", + "resolved": "https://registry.npmjs.org/@libp2p/webrtc/-/webrtc-4.0.31.tgz", + "integrity": "sha512-+MIQ+qv2j0H2iOOnnyniiYpDbEBq1s7gna+ndElV5A7cimv+4OXdCu8CcmtGdfPvrUbZxFYKmSvbcBF87YLZcw==", "dependencies": { "@chainsafe/libp2p-noise": "^15.0.0", - "@libp2p/interface": "^1.2.0", - "@libp2p/interface-internal": "^1.1.0", - "@libp2p/peer-id": "^4.0.10", - "@libp2p/utils": "^5.3.1", + "@libp2p/interface": "^1.3.1", + "@libp2p/interface-internal": "^1.2.0", + "@libp2p/peer-id": "^4.1.1", + "@libp2p/utils": "^5.4.0", "@multiformats/mafmt": "^12.1.6", "@multiformats/multiaddr": "^12.2.1", "@multiformats/multiaddr-matcher": "^1.2.0", @@ -3263,7 +3209,7 @@ "it-stream-types": "^2.0.1", "multiformats": "^13.1.0", "multihashes": "^4.0.3", - "node-datachannel": "^0.7.0", + "node-datachannel": "^0.8.0", "p-defer": "^4.0.1", "p-event": "^6.0.1", "p-timeout": "^6.1.2", @@ -3297,17 +3243,19 @@ } }, "node_modules/@libp2p/webtransport": { - "version": "4.0.28", - "resolved": "https://registry.npmjs.org/@libp2p/webtransport/-/webtransport-4.0.28.tgz", - "integrity": "sha512-6RikUBFdfYL7PLP9oX3L6uFOqwD/tXnxPvZph1JgOc6o35fyTQFeMoqlxFbUbMNHNLRyOOULO1OlFpgByOF5YQ==", + "version": "4.0.30", + "resolved": "https://registry.npmjs.org/@libp2p/webtransport/-/webtransport-4.0.30.tgz", + "integrity": "sha512-d2yhK1Lis/0FcgoPU98MTLK0wpytXKOAP9XFfBuAbQMQ3qknPMk2HvXvA6R/U3DbNzPaJ8iHOfK9tUwzOyFCiA==", "dependencies": { "@chainsafe/libp2p-noise": "^15.0.0", - "@libp2p/interface": "^1.3.0", - "@libp2p/peer-id": "^4.1.0", + "@libp2p/interface": "^1.3.1", + "@libp2p/peer-id": "^4.1.1", + "@libp2p/utils": "^5.4.0", "@multiformats/multiaddr": "^12.2.1", "@multiformats/multiaddr-matcher": "^1.2.0", "it-stream-types": "^2.0.1", "multiformats": "^13.1.0", + "race-signal": "^1.0.2", "uint8arraylist": "^2.4.8", "uint8arrays": "^5.0.3" } @@ -4367,9 +4315,9 @@ } }, "node_modules/@rollup/rollup-android-arm-eabi": { - "version": "4.16.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.16.4.tgz", - "integrity": "sha512-GkhjAaQ8oUTOKE4g4gsZ0u8K/IHU1+2WQSgS1TwTcYvL+sjbaQjNHFXbOJ6kgqGHIO1DfUhI/Sphi9GkRT9K+Q==", + "version": "4.17.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.17.2.tgz", + "integrity": "sha512-NM0jFxY8bB8QLkoKxIQeObCaDlJKewVlIEkuyYKm5An1tdVZ966w2+MPQ2l8LBZLjR+SgyV+nRkTIunzOYBMLQ==", "cpu": [ "arm" ], @@ -4379,9 +4327,9 @@ ] }, "node_modules/@rollup/rollup-android-arm64": { - "version": "4.16.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.16.4.tgz", - "integrity": "sha512-Bvm6D+NPbGMQOcxvS1zUl8H7DWlywSXsphAeOnVeiZLQ+0J6Is8T7SrjGTH29KtYkiY9vld8ZnpV3G2EPbom+w==", + "version": "4.17.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.17.2.tgz", + "integrity": "sha512-yeX/Usk7daNIVwkq2uGoq2BYJKZY1JfyLTaHO/jaiSwi/lsf8fTFoQW/n6IdAsx5tx+iotu2zCJwz8MxI6D/Bw==", "cpu": [ "arm64" ], @@ -4391,9 +4339,9 @@ ] }, "node_modules/@rollup/rollup-darwin-arm64": { - "version": "4.16.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.16.4.tgz", - "integrity": "sha512-i5d64MlnYBO9EkCOGe5vPR/EeDwjnKOGGdd7zKFhU5y8haKhQZTN2DgVtpODDMxUr4t2K90wTUJg7ilgND6bXw==", + "version": "4.17.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.17.2.tgz", + "integrity": "sha512-kcMLpE6uCwls023+kknm71ug7MZOrtXo+y5p/tsg6jltpDtgQY1Eq5sGfHcQfb+lfuKwhBmEURDga9N0ol4YPw==", "cpu": [ "arm64" ], @@ -4403,9 +4351,9 @@ ] }, "node_modules/@rollup/rollup-darwin-x64": { - "version": "4.16.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.16.4.tgz", - "integrity": "sha512-WZupV1+CdUYehaZqjaFTClJI72fjJEgTXdf4NbW69I9XyvdmztUExBtcI2yIIU6hJtYvtwS6pkTkHJz+k08mAQ==", + "version": "4.17.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.17.2.tgz", + "integrity": "sha512-AtKwD0VEx0zWkL0ZjixEkp5tbNLzX+FCqGG1SvOu993HnSz4qDI6S4kGzubrEJAljpVkhRSlg5bzpV//E6ysTQ==", "cpu": [ "x64" ], @@ -4415,9 +4363,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm-gnueabihf": { - "version": "4.16.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.16.4.tgz", - "integrity": "sha512-ADm/xt86JUnmAfA9mBqFcRp//RVRt1ohGOYF6yL+IFCYqOBNwy5lbEK05xTsEoJq+/tJzg8ICUtS82WinJRuIw==", + "version": "4.17.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.17.2.tgz", + "integrity": "sha512-3reX2fUHqN7sffBNqmEyMQVj/CKhIHZd4y631duy0hZqI8Qoqf6lTtmAKvJFYa6bhU95B1D0WgzHkmTg33In0A==", "cpu": [ "arm" ], @@ -4427,9 +4375,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm-musleabihf": { - "version": "4.16.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.16.4.tgz", - "integrity": "sha512-tJfJaXPiFAG+Jn3cutp7mCs1ePltuAgRqdDZrzb1aeE3TktWWJ+g7xK9SNlaSUFw6IU4QgOxAY4rA+wZUT5Wfg==", + "version": "4.17.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.17.2.tgz", + "integrity": "sha512-uSqpsp91mheRgw96xtyAGP9FW5ChctTFEoXP0r5FAzj/3ZRv3Uxjtc7taRQSaQM/q85KEKjKsZuiZM3GyUivRg==", "cpu": [ "arm" ], @@ -4439,9 +4387,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm64-gnu": { - "version": "4.16.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.16.4.tgz", - "integrity": "sha512-7dy1BzQkgYlUTapDTvK997cgi0Orh5Iu7JlZVBy1MBURk7/HSbHkzRnXZa19ozy+wwD8/SlpJnOOckuNZtJR9w==", + "version": "4.17.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.17.2.tgz", + "integrity": "sha512-EMMPHkiCRtE8Wdk3Qhtciq6BndLtstqZIroHiiGzB3C5LDJmIZcSzVtLRbwuXuUft1Cnv+9fxuDtDxz3k3EW2A==", "cpu": [ "arm64" ], @@ -4451,9 +4399,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm64-musl": { - "version": "4.16.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.16.4.tgz", - "integrity": "sha512-zsFwdUw5XLD1gQe0aoU2HVceI6NEW7q7m05wA46eUAyrkeNYExObfRFQcvA6zw8lfRc5BHtan3tBpo+kqEOxmg==", + "version": "4.17.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.17.2.tgz", + "integrity": "sha512-NMPylUUZ1i0z/xJUIx6VUhISZDRT+uTWpBcjdv0/zkp7b/bQDF+NfnfdzuTiB1G6HTodgoFa93hp0O1xl+/UbA==", "cpu": [ "arm64" ], @@ -4463,9 +4411,9 @@ ] }, "node_modules/@rollup/rollup-linux-powerpc64le-gnu": { - "version": "4.16.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.16.4.tgz", - "integrity": "sha512-p8C3NnxXooRdNrdv6dBmRTddEapfESEUflpICDNKXpHvTjRRq1J82CbU5G3XfebIZyI3B0s074JHMWD36qOW6w==", + "version": "4.17.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.17.2.tgz", + "integrity": "sha512-T19My13y8uYXPw/L/k0JYaX1fJKFT/PWdXiHr8mTbXWxjVF1t+8Xl31DgBBvEKclw+1b00Chg0hxE2O7bTG7GQ==", "cpu": [ "ppc64" ], @@ -4475,9 +4423,9 @@ ] }, "node_modules/@rollup/rollup-linux-riscv64-gnu": { - "version": "4.16.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.16.4.tgz", - "integrity": "sha512-Lh/8ckoar4s4Id2foY7jNgitTOUQczwMWNYi+Mjt0eQ9LKhr6sK477REqQkmy8YHY3Ca3A2JJVdXnfb3Rrwkng==", + "version": "4.17.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.17.2.tgz", + "integrity": "sha512-BOaNfthf3X3fOWAB+IJ9kxTgPmMqPPH5f5k2DcCsRrBIbWnaJCgX2ll77dV1TdSy9SaXTR5iDXRL8n7AnoP5cg==", "cpu": [ "riscv64" ], @@ -4487,9 +4435,9 @@ ] }, "node_modules/@rollup/rollup-linux-s390x-gnu": { - "version": "4.16.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.16.4.tgz", - "integrity": "sha512-1xwwn9ZCQYuqGmulGsTZoKrrn0z2fAur2ujE60QgyDpHmBbXbxLaQiEvzJWDrscRq43c8DnuHx3QorhMTZgisQ==", + "version": "4.17.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.17.2.tgz", + "integrity": "sha512-W0UP/x7bnn3xN2eYMql2T/+wpASLE5SjObXILTMPUBDB/Fg/FxC+gX4nvCfPBCbNhz51C+HcqQp2qQ4u25ok6g==", "cpu": [ "s390x" ], @@ -4499,9 +4447,9 @@ ] }, "node_modules/@rollup/rollup-linux-x64-gnu": { - "version": "4.16.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.16.4.tgz", - "integrity": "sha512-LuOGGKAJ7dfRtxVnO1i3qWc6N9sh0Em/8aZ3CezixSTM+E9Oq3OvTsvC4sm6wWjzpsIlOCnZjdluINKESflJLA==", + "version": "4.17.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.17.2.tgz", + "integrity": "sha512-Hy7pLwByUOuyaFC6mAr7m+oMC+V7qyifzs/nW2OJfC8H4hbCzOX07Ov0VFk/zP3kBsELWNFi7rJtgbKYsav9QQ==", "cpu": [ "x64" ], @@ -4511,9 +4459,9 @@ ] }, "node_modules/@rollup/rollup-linux-x64-musl": { - "version": "4.16.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.16.4.tgz", - "integrity": "sha512-ch86i7KkJKkLybDP2AtySFTRi5fM3KXp0PnHocHuJMdZwu7BuyIKi35BE9guMlmTpwwBTB3ljHj9IQXnTCD0vA==", + "version": "4.17.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.17.2.tgz", + "integrity": "sha512-h1+yTWeYbRdAyJ/jMiVw0l6fOOm/0D1vNLui9iPuqgRGnXA0u21gAqOyB5iHjlM9MMfNOm9RHCQ7zLIzT0x11Q==", "cpu": [ "x64" ], @@ -4523,9 +4471,9 @@ ] }, "node_modules/@rollup/rollup-win32-arm64-msvc": { - "version": "4.16.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.16.4.tgz", - "integrity": "sha512-Ma4PwyLfOWZWayfEsNQzTDBVW8PZ6TUUN1uFTBQbF2Chv/+sjenE86lpiEwj2FiviSmSZ4Ap4MaAfl1ciF4aSA==", + "version": "4.17.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.17.2.tgz", + "integrity": "sha512-tmdtXMfKAjy5+IQsVtDiCfqbynAQE/TQRpWdVataHmhMb9DCoJxp9vLcCBjEQWMiUYxO1QprH/HbY9ragCEFLA==", "cpu": [ "arm64" ], @@ -4535,9 +4483,9 @@ ] }, "node_modules/@rollup/rollup-win32-ia32-msvc": { - "version": "4.16.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.16.4.tgz", - "integrity": "sha512-9m/ZDrQsdo/c06uOlP3W9G2ENRVzgzbSXmXHT4hwVaDQhYcRpi9bgBT0FTG9OhESxwK0WjQxYOSfv40cU+T69w==", + "version": "4.17.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.17.2.tgz", + "integrity": "sha512-7II/QCSTAHuE5vdZaQEwJq2ZACkBpQDOmQsE6D6XUbnBHW8IAhm4eTufL6msLJorzrHDFv3CF8oCA/hSIRuZeQ==", "cpu": [ "ia32" ], @@ -4547,9 +4495,9 @@ ] }, "node_modules/@rollup/rollup-win32-x64-msvc": { - "version": "4.16.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.16.4.tgz", - "integrity": "sha512-YunpoOAyGLDseanENHmbFvQSfVL5BxW3k7hhy0eN4rb3gS/ct75dVD0EXOWIqFT/nE8XYW6LP6vz6ctKRi0k9A==", + "version": "4.17.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.17.2.tgz", + "integrity": "sha512-TGGO7v7qOq4CYmSBVEYpI1Y5xDuCEnbVC5Vth8mOsW0gDSzxNrVERPc790IGHsrT2dQSimgMr9Ub3Y1Jci5/8w==", "cpu": [ "x64" ], @@ -8500,11 +8448,6 @@ "it-peekable": "^3.0.0" } }, - "node_modules/it-length": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/it-length/-/it-length-3.0.4.tgz", - "integrity": "sha512-RS3thYkvqtWksrV7SaAnTv+pgY7ozpS17HlRvWvcnoRjVyNJMuffdCkIKpKNPTq5uZw9zVnkVKLO077pJn5Yhg==" - }, "node_modules/it-length-prefixed": { "version": "9.0.4", "resolved": "https://registry.npmjs.org/it-length-prefixed/-/it-length-prefixed-9.0.4.tgz", @@ -9086,20 +9029,20 @@ } }, "node_modules/libp2p": { - "version": "1.4.2", - "resolved": "https://registry.npmjs.org/libp2p/-/libp2p-1.4.2.tgz", - "integrity": "sha512-Ek4NJ4Fb09I3/RwGYB5ytVi7rpdja6PCdA00Lh+meN6Dj1KKaqbMGHvCEuciErtv9ujkmT3JWB0j/kl/exHRbA==", + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/libp2p/-/libp2p-1.5.1.tgz", + "integrity": "sha512-RzfOGjFRpSUDsv5c1ZA2TsWbPLaS86AVbIqhCrh273F9x3N/CkCXmRfWFmaRFmezWhP3SHbjsFWyQRJGF9U5mw==", "dependencies": { - "@libp2p/crypto": "^4.0.6", - "@libp2p/interface": "^1.2.0", - "@libp2p/interface-internal": "^1.1.0", - "@libp2p/logger": "^4.0.10", - "@libp2p/multistream-select": "^5.1.7", - "@libp2p/peer-collections": "^5.1.10", - "@libp2p/peer-id": "^4.0.10", - "@libp2p/peer-id-factory": "^4.0.10", - "@libp2p/peer-store": "^10.0.15", - "@libp2p/utils": "^5.3.1", + "@libp2p/crypto": "^4.1.1", + "@libp2p/interface": "^1.3.1", + "@libp2p/interface-internal": "^1.2.0", + "@libp2p/logger": "^4.0.12", + "@libp2p/multistream-select": "^5.1.9", + "@libp2p/peer-collections": "^5.2.0", + "@libp2p/peer-id": "^4.1.1", + "@libp2p/peer-id-factory": "^4.1.1", + "@libp2p/peer-store": "^10.0.17", + "@libp2p/utils": "^5.4.0", "@multiformats/dns": "^1.0.5", "@multiformats/multiaddr": "^12.2.1", "@multiformats/multiaddr-matcher": "^1.2.0", @@ -9110,6 +9053,9 @@ "it-parallel": "^3.0.6", "merge-options": "^3.0.4", "multiformats": "^13.1.0", + "p-defer": "^4.0.1", + "race-event": "^1.3.0", + "race-signal": "^1.0.2", "uint8arrays": "^5.0.3" } }, @@ -10146,9 +10092,9 @@ "peer": true }, "node_modules/node-datachannel": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/node-datachannel/-/node-datachannel-0.7.0.tgz", - "integrity": "sha512-A4sQjvZxzaTDYs5FyUSx9dfdCtQt9r2kXyoyK/Wa+ID6iR5XLm5HDEd//R/oDHINZQdBFlx1/UTzyTiY1MTzxQ==", + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/node-datachannel/-/node-datachannel-0.8.0.tgz", + "integrity": "sha512-05vYthhjESfO5qumWRbqHI1PN71rc19DJjc14ofOLapJrTCnmhx0JYw0G5wcL56b57uHQP9WjEak3+XklrB+Og==", "hasInstallScript": true, "dependencies": { "node-domexception": "^2.0.1", @@ -11119,9 +11065,9 @@ "license": "MIT" }, "node_modules/race-event": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/race-event/-/race-event-1.2.0.tgz", - "integrity": "sha512-7EvAjTu9uuKa03Jky8yfSy6/SnnMTh6nouNmdeWv9b0dT8eDZC5ylx30cOR9YO9otQorVjjkIuSHQ5Ml/bKwMw==" + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/race-event/-/race-event-1.3.0.tgz", + "integrity": "sha512-kaLm7axfOnahIqD3jQ4l1e471FIFcEGebXEnhxyLscuUzV8C94xVHtWEqDDXxll7+yu/6lW0w1Ff4HbtvHvOHg==" }, "node_modules/race-signal": { "version": "1.0.2", @@ -11587,9 +11533,9 @@ } }, "node_modules/rollup": { - "version": "4.16.4", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.16.4.tgz", - "integrity": "sha512-kuaTJSUbz+Wsb2ATGvEknkI12XV40vIiHmLuFlejoo7HtDok/O5eDDD0UpCVY5bBX5U5RYo8wWP83H7ZsqVEnA==", + "version": "4.17.2", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.17.2.tgz", + "integrity": "sha512-/9ClTJPByC0U4zNLowV1tMBe8yMEAxewtR3cUNX5BoEpGH3dQEWpJLr6CLp0fPdYRF/fzVOgvDb1zXuakwF5kQ==", "dependencies": { "@types/estree": "1.0.5" }, @@ -11601,22 +11547,22 @@ "npm": ">=8.0.0" }, "optionalDependencies": { - "@rollup/rollup-android-arm-eabi": "4.16.4", - "@rollup/rollup-android-arm64": "4.16.4", - "@rollup/rollup-darwin-arm64": "4.16.4", - "@rollup/rollup-darwin-x64": "4.16.4", - "@rollup/rollup-linux-arm-gnueabihf": "4.16.4", - "@rollup/rollup-linux-arm-musleabihf": "4.16.4", - "@rollup/rollup-linux-arm64-gnu": "4.16.4", - "@rollup/rollup-linux-arm64-musl": "4.16.4", - "@rollup/rollup-linux-powerpc64le-gnu": "4.16.4", - "@rollup/rollup-linux-riscv64-gnu": "4.16.4", - "@rollup/rollup-linux-s390x-gnu": "4.16.4", - "@rollup/rollup-linux-x64-gnu": "4.16.4", - "@rollup/rollup-linux-x64-musl": "4.16.4", - "@rollup/rollup-win32-arm64-msvc": "4.16.4", - "@rollup/rollup-win32-ia32-msvc": "4.16.4", - "@rollup/rollup-win32-x64-msvc": "4.16.4", + "@rollup/rollup-android-arm-eabi": "4.17.2", + "@rollup/rollup-android-arm64": "4.17.2", + "@rollup/rollup-darwin-arm64": "4.17.2", + "@rollup/rollup-darwin-x64": "4.17.2", + "@rollup/rollup-linux-arm-gnueabihf": "4.17.2", + "@rollup/rollup-linux-arm-musleabihf": "4.17.2", + "@rollup/rollup-linux-arm64-gnu": "4.17.2", + "@rollup/rollup-linux-arm64-musl": "4.17.2", + "@rollup/rollup-linux-powerpc64le-gnu": "4.17.2", + "@rollup/rollup-linux-riscv64-gnu": "4.17.2", + "@rollup/rollup-linux-s390x-gnu": "4.17.2", + "@rollup/rollup-linux-x64-gnu": "4.17.2", + "@rollup/rollup-linux-x64-musl": "4.17.2", + "@rollup/rollup-win32-arm64-msvc": "4.17.2", + "@rollup/rollup-win32-ia32-msvc": "4.17.2", + "@rollup/rollup-win32-x64-msvc": "4.17.2", "fsevents": "~2.3.2" } }, diff --git a/js-peer/package.json b/js-peer/package.json index 2d5bef4c..4e072555 100644 --- a/js-peer/package.json +++ b/js-peer/package.json @@ -14,23 +14,22 @@ "@headlessui/react": "^2.0.1", "@helia/delegated-routing-v1-http-api-client": "^3.0.1", "@heroicons/react": "^2.1.3", - "@libp2p/bootstrap": "^10.0.21", - "@libp2p/circuit-relay-v2": "^1.0.20", + "@libp2p/bootstrap": "^10.0.22", + "@libp2p/circuit-relay-v2": "^1.0.22", "@libp2p/identify": "^2.0.0", "@libp2p/interface-pubsub": "^4.0.1", - "@libp2p/kad-dht": "^12.0.13", "@libp2p/logger": "^4.0.10", "@libp2p/pubsub-peer-discovery": "^10.0.2", - "@libp2p/webrtc": "^4.0.28", + "@libp2p/webrtc": "^4.0.31", "@libp2p/websockets": "^8.0.22", - "@libp2p/webtransport": "^4.0.28", + "@libp2p/webtransport": "^4.0.30", "@multiformats/multiaddr": "^12.2.1", "clsx": "^2.1.1", "debug": "^4.3.4", "it-length-prefixed": "^9.0.4", "it-map": "^3.1.0", "it-pipe": "^3.0.1", - "libp2p": "^1.4.2", + "libp2p": "^1.5.1", "next": "14.2.2", "react": "18.2.0", "react-dom": "18.2.0",