From 64f38651bfb2d3580c7828aa3f6a7087aa93b642 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 2 Oct 2023 22:11:49 +0530 Subject: [PATCH 1/3] chore(deps)(deps): bump libp2p from 0.46.11 to 0.46.12 (#1630) Bumps [libp2p](https://github.com/libp2p/js-libp2p) from 0.46.11 to 0.46.12. - [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.11...libp2p-v0.46.12) --- 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 | 21 ++++++++++++--------- packages/interfaces/package.json | 2 +- packages/sdk/package.json | 2 +- packages/tests/package.json | 2 +- 4 files changed, 15 insertions(+), 12 deletions(-) diff --git a/package-lock.json b/package-lock.json index 95979ddb91..aded353f6d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13018,8 +13018,9 @@ } }, "node_modules/libp2p": { - "version": "0.46.11", - "license": "Apache-2.0 OR MIT", + "version": "0.46.12", + "resolved": "https://registry.npmjs.org/libp2p/-/libp2p-0.46.12.tgz", + "integrity": "sha512-LPEfSVW/tsFNaUplNo/QqDsg9C7wed+lBGPUUhUsRcnPnKQTqZnKBpA9pSv2+A0ST9B++uiyCOk+JK7nIlpjeA==", "dependencies": { "@achingbrain/nat-port-mapper": "^1.0.9", "@libp2p/crypto": "^2.0.4", @@ -25922,7 +25923,7 @@ "@chainsafe/libp2p-gossipsub": "^10.1.0", "@multiformats/multiaddr": "^12.0.0", "cspell": "^7.3.2", - "libp2p": "^0.46.9", + "libp2p": "^0.46.12", "npm-run-all": "^4.1.5" }, "engines": { @@ -26085,7 +26086,7 @@ "@waku/peer-exchange": "^0.0.16", "@waku/relay": "0.0.6", "@waku/utils": "0.0.11", - "libp2p": "^0.46.9" + "libp2p": "^0.46.12" }, "devDependencies": { "@chainsafe/libp2p-gossipsub": "^10.1.0", @@ -26139,7 +26140,7 @@ "datastore-core": "^9.2.3", "debug": "^4.3.4", "interface-datastore": "^8.2.5", - "libp2p": "^0.46.9", + "libp2p": "^0.46.12", "mocha": "^10.2.0", "npm-run-all": "^4.1.5" }, @@ -29160,7 +29161,7 @@ "@chainsafe/libp2p-gossipsub": "^10.1.0", "@multiformats/multiaddr": "^12.0.0", "cspell": "^7.3.2", - "libp2p": "^0.46.9", + "libp2p": "^0.46.12", "npm-run-all": "^4.1.5" } }, @@ -29290,7 +29291,7 @@ "@waku/utils": "0.0.11", "cspell": "^7.3.2", "interface-datastore": "^8.2.5", - "libp2p": "^0.46.9", + "libp2p": "^0.46.12", "npm-run-all": "^4.1.5", "rollup": "^3.29.2" } @@ -29322,7 +29323,7 @@ "debug": "^4.3.4", "dockerode": "^3.3.5", "interface-datastore": "^8.2.5", - "libp2p": "^0.46.9", + "libp2p": "^0.46.12", "mocha": "^10.2.0", "npm-run-all": "^4.1.5", "p-retry": "^6.0.0", @@ -34367,7 +34368,9 @@ } }, "libp2p": { - "version": "0.46.11", + "version": "0.46.12", + "resolved": "https://registry.npmjs.org/libp2p/-/libp2p-0.46.12.tgz", + "integrity": "sha512-LPEfSVW/tsFNaUplNo/QqDsg9C7wed+lBGPUUhUsRcnPnKQTqZnKBpA9pSv2+A0ST9B++uiyCOk+JK7nIlpjeA==", "requires": { "@achingbrain/nat-port-mapper": "^1.0.9", "@libp2p/crypto": "^2.0.4", diff --git a/packages/interfaces/package.json b/packages/interfaces/package.json index 2bb087f18c..f9e7fc3d31 100644 --- a/packages/interfaces/package.json +++ b/packages/interfaces/package.json @@ -51,7 +51,7 @@ "@multiformats/multiaddr": "^12.0.0", "cspell": "^7.3.2", "npm-run-all": "^4.1.5", - "libp2p": "^0.46.9" + "libp2p": "^0.46.12" }, "files": [ "dist", diff --git a/packages/sdk/package.json b/packages/sdk/package.json index d9a797ac24..638e6b76f2 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -57,7 +57,7 @@ "@waku/dns-discovery": "0.0.17", "@waku/interfaces": "0.0.18", "@waku/peer-exchange": "^0.0.16", - "libp2p": "^0.46.9" + "libp2p": "^0.46.12" }, "devDependencies": { "@chainsafe/libp2p-gossipsub": "^10.1.0", diff --git a/packages/tests/package.json b/packages/tests/package.json index d1f1748226..091f8fe7b4 100644 --- a/packages/tests/package.json +++ b/packages/tests/package.json @@ -82,7 +82,7 @@ "datastore-core": "^9.2.3", "debug": "^4.3.4", "interface-datastore": "^8.2.5", - "libp2p": "^0.46.9", + "libp2p": "^0.46.12", "mocha": "^10.2.0", "npm-run-all": "^4.1.5" } From d02838164fbe433cd1cc835e40b7baeb4edfcb80 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 2 Oct 2023 22:28:51 +0530 Subject: [PATCH 2/3] chore(deps)(deps): bump fast-check from 3.13.0 to 3.13.1 (#1629) Bumps [fast-check](https://github.com/dubzzz/fast-check/tree/HEAD/packages/fast-check) from 3.13.0 to 3.13.1. - [Release notes](https://github.com/dubzzz/fast-check/releases) - [Changelog](https://github.com/dubzzz/fast-check/blob/main/packages/fast-check/CHANGELOG.md) - [Commits](https://github.com/dubzzz/fast-check/commits/v3.13.1/packages/fast-check) --- updated-dependencies: - dependency-name: fast-check 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> Co-authored-by: Danish Arora <35004822+danisharora099@users.noreply.github.com> --- package-lock.json | 25 +++++++++++++----------- packages/core/package.json | 2 +- packages/message-encryption/package.json | 2 +- packages/message-hash/package.json | 2 +- packages/relay/package.json | 2 +- 5 files changed, 18 insertions(+), 15 deletions(-) diff --git a/package-lock.json b/package-lock.json index aded353f6d..e4639e3304 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10178,7 +10178,9 @@ } }, "node_modules/fast-check": { - "version": "3.13.0", + "version": "3.13.1", + "resolved": "https://registry.npmjs.org/fast-check/-/fast-check-3.13.1.tgz", + "integrity": "sha512-Xp00tFuWd83i8rbG/4wU54qU+yINjQha7bXH2N4ARNTkyOimzHtUBJ5+htpdXk7RMaCOD/j2jxSjEt9u9ZPNeQ==", "funding": [ { "type": "individual", @@ -10189,7 +10191,6 @@ "url": "https://opencollective.com/fast-check" } ], - "license": "MIT", "dependencies": { "pure-rand": "^6.0.0" }, @@ -25827,7 +25828,7 @@ "@waku/build-utils": "*", "chai": "^4.3.7", "cspell": "^7.3.2", - "fast-check": "^3.12.0", + "fast-check": "^3.13.1", "ignore-loader": "^0.1.2", "isomorphic-fetch": "^3.0.0", "mocha": "^10.2.0", @@ -25952,7 +25953,7 @@ "@waku/build-utils": "*", "chai": "^4.3.7", "cspell": "^7.3.2", - "fast-check": "^3.12.0", + "fast-check": "^3.13.1", "mocha": "^10.2.0", "npm-run-all": "^4.1.5", "process": "^0.11.10", @@ -25981,7 +25982,7 @@ "@waku/interfaces": "0.0.18", "chai": "^4.3.7", "cspell": "^7.3.2", - "fast-check": "^3.12.0", + "fast-check": "^3.13.1", "ignore-loader": "^0.1.2", "isomorphic-fetch": "^3.0.0", "mocha": "^10.2.0", @@ -26059,7 +26060,7 @@ "@waku/utils": "0.0.11", "chai": "^4.3.7", "debug": "^4.3.4", - "fast-check": "^3.12.0" + "fast-check": "^3.13.1" }, "devDependencies": { "@rollup/plugin-commonjs": "^25.0.4", @@ -29049,7 +29050,7 @@ "chai": "^4.3.7", "cspell": "^7.3.2", "debug": "^4.3.4", - "fast-check": "^3.12.0", + "fast-check": "^3.13.1", "ignore-loader": "^0.1.2", "isomorphic-fetch": "^3.0.0", "it-all": "^3.0.3", @@ -29182,7 +29183,7 @@ "chai": "^4.3.7", "cspell": "^7.3.2", "debug": "^4.3.4", - "fast-check": "^3.12.0", + "fast-check": "^3.13.1", "js-sha3": "^0.8.0", "mocha": "^10.2.0", "npm-run-all": "^4.1.5", @@ -29205,7 +29206,7 @@ "@waku/utils": "0.0.11", "chai": "^4.3.7", "cspell": "^7.3.2", - "fast-check": "^3.12.0", + "fast-check": "^3.13.1", "ignore-loader": "^0.1.2", "isomorphic-fetch": "^3.0.0", "mocha": "^10.2.0", @@ -29268,7 +29269,7 @@ "@waku/utils": "0.0.11", "chai": "^4.3.7", "debug": "^4.3.4", - "fast-check": "^3.12.0", + "fast-check": "^3.13.1", "rollup": "^3.29.2" } }, @@ -32675,7 +32676,9 @@ "version": "0.1.8" }, "fast-check": { - "version": "3.13.0", + "version": "3.13.1", + "resolved": "https://registry.npmjs.org/fast-check/-/fast-check-3.13.1.tgz", + "integrity": "sha512-Xp00tFuWd83i8rbG/4wU54qU+yINjQha7bXH2N4ARNTkyOimzHtUBJ5+htpdXk7RMaCOD/j2jxSjEt9u9ZPNeQ==", "requires": { "pure-rand": "^6.0.0" } diff --git a/packages/core/package.json b/packages/core/package.json index c9fa45aad5..f3d2c33688 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -96,7 +96,7 @@ "@waku/build-utils": "*", "chai": "^4.3.7", "cspell": "^7.3.2", - "fast-check": "^3.12.0", + "fast-check": "^3.13.1", "ignore-loader": "^0.1.2", "isomorphic-fetch": "^3.0.0", "mocha": "^10.2.0", diff --git a/packages/message-encryption/package.json b/packages/message-encryption/package.json index ddeaf024ff..a9f56fbc12 100644 --- a/packages/message-encryption/package.json +++ b/packages/message-encryption/package.json @@ -88,7 +88,7 @@ "@waku/build-utils": "*", "chai": "^4.3.7", "cspell": "^7.3.2", - "fast-check": "^3.12.0", + "fast-check": "^3.13.1", "mocha": "^10.2.0", "npm-run-all": "^4.1.5", "process": "^0.11.10", diff --git a/packages/message-hash/package.json b/packages/message-hash/package.json index b663edc79e..6a140e3892 100644 --- a/packages/message-hash/package.json +++ b/packages/message-hash/package.json @@ -64,7 +64,7 @@ "@waku/interfaces": "0.0.18", "chai": "^4.3.7", "cspell": "^7.3.2", - "fast-check": "^3.12.0", + "fast-check": "^3.13.1", "ignore-loader": "^0.1.2", "isomorphic-fetch": "^3.0.0", "mocha": "^10.2.0", diff --git a/packages/relay/package.json b/packages/relay/package.json index 6b013830ee..5551218382 100644 --- a/packages/relay/package.json +++ b/packages/relay/package.json @@ -57,7 +57,7 @@ "@waku/utils": "0.0.11", "chai": "^4.3.7", "debug": "^4.3.4", - "fast-check": "^3.12.0" + "fast-check": "^3.13.1" }, "devDependencies": { "@rollup/plugin-commonjs": "^25.0.4", From 856d3de265b7afaedbaf68181efd348fe002344b Mon Sep 17 00:00:00 2001 From: Florin Barbu Date: Mon, 2 Oct 2023 23:32:18 +0300 Subject: [PATCH 3/3] chore: add missing ensureSubscriptions call (#1628) Co-authored-by: Sasha <118575614+weboko@users.noreply.github.com> --- packages/tests/tests/filter/multiple_pubsub.node.spec.ts | 2 +- packages/tests/tests/filter/subscribe.node.spec.ts | 1 + packages/tests/tests/light-push/multiple_pubsub.node.spec.ts | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/tests/tests/filter/multiple_pubsub.node.spec.ts b/packages/tests/tests/filter/multiple_pubsub.node.spec.ts index 03050db036..bd38430794 100644 --- a/packages/tests/tests/filter/multiple_pubsub.node.spec.ts +++ b/packages/tests/tests/filter/multiple_pubsub.node.spec.ts @@ -113,7 +113,7 @@ describe("Waku Filter V2: Multiple PubSubtopics", function () { DefaultPubSubTopic, await nwaku2.getPeerId() ); - await nwaku.ensureSubscriptions([DefaultPubSubTopic]); + await nwaku2.ensureSubscriptions([DefaultPubSubTopic]); const messageCollector2 = new MessageCollector(); diff --git a/packages/tests/tests/filter/subscribe.node.spec.ts b/packages/tests/tests/filter/subscribe.node.spec.ts index 22d63b1e3f..540c1391fa 100644 --- a/packages/tests/tests/filter/subscribe.node.spec.ts +++ b/packages/tests/tests/filter/subscribe.node.spec.ts @@ -327,6 +327,7 @@ describe("Waku Filter V2: Subscribe", function () { DefaultPubSubTopic, await nwaku2.getPeerId() ); + await nwaku2.ensureSubscriptions([DefaultPubSubTopic]); // Send a message using the new subscription const newContentTopic = "/test/2/waku-filter"; const newEncoder = createEncoder({ contentTopic: newContentTopic }); diff --git a/packages/tests/tests/light-push/multiple_pubsub.node.spec.ts b/packages/tests/tests/light-push/multiple_pubsub.node.spec.ts index f942b654a6..87712ad431 100644 --- a/packages/tests/tests/light-push/multiple_pubsub.node.spec.ts +++ b/packages/tests/tests/light-push/multiple_pubsub.node.spec.ts @@ -112,6 +112,7 @@ describe("Waku Light Push : Multiple PubSubtopics", function () { relay: true, topic: [DefaultPubSubTopic] }); + await nwaku2.ensureSubscriptions([DefaultPubSubTopic]); await waku.dial(await nwaku2.getMultiaddrWithId()); await waitForRemotePeer(waku, [Protocols.LightPush]);