diff --git a/transport-interop/impl/js/v1.x/package-lock.json b/transport-interop/impl/js/v1.x/package-lock.json index 95d93be17..ce463a714 100644 --- a/transport-interop/impl/js/v1.x/package-lock.json +++ b/transport-interop/impl/js/v1.x/package-lock.json @@ -15,7 +15,7 @@ "@libp2p/interface": "^1.4.0", "@libp2p/mplex": "^10.0.24", "@libp2p/ping": "^1.0.19", - "@libp2p/tcp": "^9.0.26", + "@libp2p/tcp": "^10.0.12", "@libp2p/webrtc": "^4.0.33", "@libp2p/websockets": "^8.0.24", "@libp2p/webtransport": "^4.0.32", @@ -3952,19 +3952,96 @@ } }, "node_modules/@libp2p/tcp": { - "version": "9.0.26", - "resolved": "https://registry.npmjs.org/@libp2p/tcp/-/tcp-9.0.26.tgz", - "integrity": "sha512-iKRzT2BHVPs1UK4SKj1eA/P96oJ+IVvHCbwEUdRA7Ajv5wR0b/eMicl5h5UZMw1W4OMEVIiOuasExQfiPuWMLQ==", + "version": "10.0.12", + "resolved": "https://registry.npmjs.org/@libp2p/tcp/-/tcp-10.0.12.tgz", + "integrity": "sha512-Zq+PZFIwm4VPwFk/FJu8XdWyg3Jt8n3BiD8IObEvVSzK8zKcla8kC+cOBuE+jItdw/8Bw8gIhQGLJYEVsZecYA==", "dev": true, "dependencies": { - "@libp2p/interface": "^1.4.0", - "@libp2p/utils": "^5.4.2", + "@libp2p/interface": "^2.2.0", + "@libp2p/utils": "^6.2.0", "@multiformats/mafmt": "^12.1.6", "@multiformats/multiaddr": "^12.2.3", "@types/sinon": "^17.0.3", + "p-defer": "^4.0.1", + "p-event": "^6.0.1", + "progress-events": "^1.0.0", + "race-event": "^1.3.0", "stream-to-it": "^1.0.1" } }, + "node_modules/@libp2p/tcp/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/tcp/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/tcp/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/tcp/node_modules/@libp2p/utils": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/@libp2p/utils/-/utils-6.2.0.tgz", + "integrity": "sha512-KREDP1BHpPiyT7Z/a5+CIVjZJNDLWwukw//Ful9jCVReFiRcIUDAWG5Ukiue8dUp64uV2yUiRpDMDcGkzBOAEA==", + "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/utils": { "version": "5.4.2", "resolved": "https://registry.npmjs.org/@libp2p/utils/-/utils-5.4.2.tgz", @@ -8715,15 +8792,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 +9997,7 @@ "url": "https://github.com/sponsors/sibiraj-s" } ], + "peer": true, "engines": { "node": ">=8" } @@ -15048,15 +15117,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 +16040,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 +31081,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..ef3ab029b 100644 --- a/transport-interop/impl/js/v1.x/package.json +++ b/transport-interop/impl/js/v1.x/package.json @@ -18,7 +18,7 @@ "@libp2p/interface": "^1.4.0", "@libp2p/mplex": "^10.0.24", "@libp2p/ping": "^1.0.19", - "@libp2p/tcp": "^9.0.26", + "@libp2p/tcp": "^10.0.12", "@libp2p/webrtc": "^4.0.33", "@libp2p/websockets": "^8.0.24", "@libp2p/webtransport": "^4.0.32",