diff --git a/transport-interop/impl/js/v1.x/package-lock.json b/transport-interop/impl/js/v1.x/package-lock.json index 95d93be17..5eb672040 100644 --- a/transport-interop/impl/js/v1.x/package-lock.json +++ b/transport-interop/impl/js/v1.x/package-lock.json @@ -17,7 +17,7 @@ "@libp2p/ping": "^1.0.19", "@libp2p/tcp": "^9.0.26", "@libp2p/webrtc": "^4.0.33", - "@libp2p/websockets": "^8.0.24", + "@libp2p/websockets": "^9.0.11", "@libp2p/webtransport": "^4.0.32", "@multiformats/multiaddr": "^12.1.10", "aegir": "^42.2.11", @@ -4027,23 +4027,98 @@ } }, "node_modules/@libp2p/websockets": { - "version": "8.0.24", - "resolved": "https://registry.npmjs.org/@libp2p/websockets/-/websockets-8.0.24.tgz", - "integrity": "sha512-oOriMCYOq7s7S5zN7hutxMUkaIB4dyCxg12dqDRIUTSik26mJsEkF3nd7JNuKUSg+4sM7l0tL8UB0A54BtyhHA==", + "version": "9.0.11", + "resolved": "https://registry.npmjs.org/@libp2p/websockets/-/websockets-9.0.11.tgz", + "integrity": "sha512-GoX323NMnbOwPu4Cq49XD9AwKLJfOr/R4H5b21ZCpgPIryVGmKUUzS8tWVdBu8RlWcRwCqz7rTUGZ95TKJeVwQ==", "dev": true, "dependencies": { - "@libp2p/interface": "^1.4.0", - "@libp2p/utils": "^5.4.2", - "@multiformats/mafmt": "^12.1.6", + "@libp2p/interface": "^2.2.0", + "@libp2p/utils": "^6.1.3", "@multiformats/multiaddr": "^12.2.3", + "@multiformats/multiaddr-matcher": "^1.4.0", "@multiformats/multiaddr-to-uri": "^10.0.1", "@types/ws": "^8.5.10", "it-ws": "^6.1.1", "p-defer": "^4.0.1", + "progress-events": "^1.0.0", + "race-signal": "^1.0.2", "wherearewe": "^2.0.1", "ws": "^8.17.0" } }, + "node_modules/@libp2p/websockets/node_modules/@libp2p/crypto": { + "version": "5.0.6", + "resolved": "https://registry.npmjs.org/@libp2p/crypto/-/crypto-5.0.6.tgz", + "integrity": "sha512-5mD/riNxUuSOerk3aPXUUMN96lwZsrU33lp97ySfffloh2WhLZcjVJszibBgIP7DP5nqmSOWY9++rqrBuYHvnQ==", + "dev": true, + "dependencies": { + "@libp2p/interface": "^2.2.0", + "@noble/curves": "^1.4.0", + "@noble/hashes": "^1.4.0", + "asn1js": "^3.0.5", + "multiformats": "^13.1.0", + "protons-runtime": "^5.4.0", + "uint8arraylist": "^2.4.8", + "uint8arrays": "^5.1.0" + } + }, + "node_modules/@libp2p/websockets/node_modules/@libp2p/interface": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@libp2p/interface/-/interface-2.2.0.tgz", + "integrity": "sha512-Pn3P5ixDggBjDyuULT0GvwdgD3JA426OqZ0e521mI7ysS+/M9Z9fp4Qcy8JrkJ45bLmIi9cgrNrefuU/Zu+bAQ==", + "dev": true, + "dependencies": { + "@multiformats/multiaddr": "^12.2.3", + "it-pushable": "^3.2.3", + "it-stream-types": "^2.0.1", + "multiformats": "^13.1.0", + "progress-events": "^1.0.0", + "uint8arraylist": "^2.4.8" + } + }, + "node_modules/@libp2p/websockets/node_modules/@libp2p/logger": { + "version": "5.1.3", + "resolved": "https://registry.npmjs.org/@libp2p/logger/-/logger-5.1.3.tgz", + "integrity": "sha512-NUVWEWGbXlBDgDE5ntdm51+ZICmaKYI8mor6KrlPeB1WXDyIFxRWIBw6uzt+HgprQJWzLTojeUEGv6OPsj95Dg==", + "dev": true, + "dependencies": { + "@libp2p/interface": "^2.2.0", + "@multiformats/multiaddr": "^12.2.3", + "interface-datastore": "^8.3.0", + "multiformats": "^13.1.0", + "weald": "^1.0.2" + } + }, + "node_modules/@libp2p/websockets/node_modules/@libp2p/utils": { + "version": "6.1.3", + "resolved": "https://registry.npmjs.org/@libp2p/utils/-/utils-6.1.3.tgz", + "integrity": "sha512-n1D6phOXGkqE3tuvmZwm5gaHKcGanlKwCWEBlrZqx9SSCyd5U5C58BcyQ8YH5/nb4kYMI7HyjomfQAVs2S2R9Q==", + "dev": true, + "dependencies": { + "@chainsafe/is-ip": "^2.0.2", + "@libp2p/crypto": "^5.0.6", + "@libp2p/interface": "^2.2.0", + "@libp2p/logger": "^5.1.3", + "@multiformats/multiaddr": "^12.2.3", + "@sindresorhus/fnv1a": "^3.1.0", + "@types/murmurhash3js-revisited": "^3.0.3", + "any-signal": "^4.1.1", + "delay": "^6.0.0", + "get-iterator": "^2.0.1", + "is-loopback-addr": "^2.0.2", + "it-foreach": "^2.1.1", + "it-pipe": "^3.0.1", + "it-pushable": "^3.2.3", + "it-stream-types": "^2.0.1", + "murmurhash3js-revisited": "^3.0.0", + "netmask": "^2.0.2", + "p-defer": "^4.0.1", + "race-event": "^1.3.0", + "race-signal": "^1.0.2", + "uint8arraylist": "^2.4.8", + "uint8arrays": "^5.1.0" + } + }, "node_modules/@libp2p/webtransport": { "version": "4.0.32", "resolved": "https://registry.npmjs.org/@libp2p/webtransport/-/webtransport-4.0.32.tgz", @@ -4109,9 +4184,9 @@ } }, "node_modules/@multiformats/multiaddr-matcher": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/@multiformats/multiaddr-matcher/-/multiaddr-matcher-1.2.1.tgz", - "integrity": "sha512-rcf8RSsvOkJcMoNaGgEPXgoCyvorGBOyNfj1TYX2IHcI8FhqDcuzuYwzuHz6wlsTwi4ADDNU2azGcOXftCnfYA==", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@multiformats/multiaddr-matcher/-/multiaddr-matcher-1.4.0.tgz", + "integrity": "sha512-Riu+JbTolhzAEgZH3xexLKVn2Oe+xUEPCNHuURqKcE9Pa3RxwsuhldykUWmbsDifXOV4TJCc1LGADFHmpS1y5w==", "dev": true, "dependencies": { "@chainsafe/is-ip": "^2.0.1", @@ -8715,15 +8790,6 @@ "dev": true, "peer": true }, - "node_modules/ansi-colors": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.3.tgz", - "integrity": "sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw==", - "extraneous": true, - "engines": { - "node": ">=6" - } - }, "node_modules/ansi-escapes": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-3.2.0.tgz", @@ -9929,6 +9995,7 @@ "url": "https://github.com/sponsors/sibiraj-s" } ], + "peer": true, "engines": { "node": ">=8" } @@ -15048,15 +15115,21 @@ "dev": true }, "node_modules/interface-datastore": { - "version": "8.2.11", - "resolved": "https://registry.npmjs.org/interface-datastore/-/interface-datastore-8.2.11.tgz", - "integrity": "sha512-9E0iXehfp/j0UbZ2mvlYB4K9pP7uQBCppfuy8WHs1EHF6wLQrM9+zwyX+8Qt6HnH4GKZRyXX/CNXm6oD4+QYgA==", + "version": "8.3.1", + "resolved": "https://registry.npmjs.org/interface-datastore/-/interface-datastore-8.3.1.tgz", + "integrity": "sha512-3r0ETmHIi6HmvM5sc09QQiCD3gUfwtEM/AAChOyAd/UAKT69uk8LXfTSUBufbUIO/dU65Vj8nb9O6QjwW8vDSQ==", "dev": true, "dependencies": { - "interface-store": "^5.0.0", - "uint8arrays": "^5.0.2" + "interface-store": "^6.0.0", + "uint8arrays": "^5.1.0" } }, + "node_modules/interface-datastore/node_modules/interface-store": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/interface-store/-/interface-store-6.0.2.tgz", + "integrity": "sha512-KSFCXtBlNoG0hzwNa0RmhHtrdhzexp+S+UY2s0rWTBJyfdEIgn6i6Zl9otVqrcFYbYrneBT7hbmHQ8gE0C3umA==", + "dev": true + }, "node_modules/interface-store": { "version": "5.1.8", "resolved": "https://registry.npmjs.org/interface-store/-/interface-store-5.1.8.tgz", @@ -15965,9 +16038,9 @@ "dev": true }, "node_modules/it-foreach": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/it-foreach/-/it-foreach-2.1.0.tgz", - "integrity": "sha512-nobWUecq9E2ED1kcXz2o27yN6KePauSdmxJNMwCduWByrF4WNB2UgBHjr9QV2jPXpEWPDuzxZas9fVhQj1Vovg==", + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/it-foreach/-/it-foreach-2.1.1.tgz", + "integrity": "sha512-ID4Gxnavk/LVQLQESAQ9hR6dR63Ih6X+8VdxEktX8rpz2dCGAbZpey/eljTNbMfV2UKXHiu6UsneoNBZuac97g==", "dev": true, "dependencies": { "it-peekable": "^3.0.0" @@ -31006,6 +31079,37 @@ "defaults": "^1.0.3" } }, + "node_modules/weald": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/weald/-/weald-1.0.4.tgz", + "integrity": "sha512-+kYTuHonJBwmFhP1Z4YQK/dGi3jAnJGCYhyODFpHK73rbxnp9lnZQj7a2m+WVgn8fXr5bJaxUpF6l8qZpPeNWQ==", + "dev": true, + "dependencies": { + "ms": "^3.0.0-canary.1", + "supports-color": "^9.4.0" + } + }, + "node_modules/weald/node_modules/ms": { + "version": "3.0.0-canary.1", + "resolved": "https://registry.npmjs.org/ms/-/ms-3.0.0-canary.1.tgz", + "integrity": "sha512-kh8ARjh8rMN7Du2igDRO9QJnqCb2xYTJxyQYK7vJJS4TvLLmsbyhiKpSW+t+y26gyOyMd0riphX0GeWKU3ky5g==", + "dev": true, + "engines": { + "node": ">=12.13" + } + }, + "node_modules/weald/node_modules/supports-color": { + "version": "9.4.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-9.4.0.tgz", + "integrity": "sha512-VL+lNrEoIXww1coLPOmiEmK/0sGigko5COxI09KzHc2VJXJsQ37UaQ+8quuxjDeA7+KnLGTWRyOXSLLR2Wb4jw==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/supports-color?sponsor=1" + } + }, "node_modules/webidl-conversions": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", diff --git a/transport-interop/impl/js/v1.x/package.json b/transport-interop/impl/js/v1.x/package.json index 75961c591..59f73c96e 100644 --- a/transport-interop/impl/js/v1.x/package.json +++ b/transport-interop/impl/js/v1.x/package.json @@ -20,7 +20,7 @@ "@libp2p/ping": "^1.0.19", "@libp2p/tcp": "^9.0.26", "@libp2p/webrtc": "^4.0.33", - "@libp2p/websockets": "^8.0.24", + "@libp2p/websockets": "^9.0.11", "@libp2p/webtransport": "^4.0.32", "@multiformats/multiaddr": "^12.1.10", "aegir": "^42.2.11",