From 01d605a2920ff42ec3fac59f43646cfbc00bfe82 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 2 Jan 2022 15:11:19 +0000 Subject: [PATCH] Bump libp2p-gossipsub from 0.11.1 to 0.12.1 Bumps [libp2p-gossipsub](https://github.com/ChainSafe/js-libp2p-gossipsub) from 0.11.1 to 0.12.1. - [Release notes](https://github.com/ChainSafe/js-libp2p-gossipsub/releases) - [Changelog](https://github.com/ChainSafe/js-libp2p-gossipsub/blob/master/CHANGELOG.md) - [Commits](https://github.com/ChainSafe/js-libp2p-gossipsub/compare/v0.11.1...v0.12.1) --- updated-dependencies: - dependency-name: libp2p-gossipsub dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package-lock.json | 199 +++++++++++++++++++++++++++++++++++++++++----- package.json | 2 +- 2 files changed, 182 insertions(+), 19 deletions(-) diff --git a/package-lock.json b/package-lock.json index 7afb2b1f42..277383eff1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -20,7 +20,7 @@ "js-sha3": "^0.8.0", "libp2p": "^0.32.4", "libp2p-bootstrap": "^0.13.0", - "libp2p-gossipsub": "^0.11.1", + "libp2p-gossipsub": "^0.12.1", "libp2p-mplex": "^0.10.4", "libp2p-websockets": "^0.16.1", "multiaddr": "^10.0.1", @@ -1962,6 +1962,16 @@ "resolved": "https://registry.npmjs.org/@multiformats/base-x/-/base-x-4.0.1.tgz", "integrity": "sha512-eMk0b9ReBbV23xXU693TAIrLyeO5iTgBZGSJfpqriG8UkYvr/hC9u9pyMlAakDNHWmbhMZCDs6KQO0jzKD8OTw==" }, + "node_modules/@noble/ed25519": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/@noble/ed25519/-/ed25519-1.3.3.tgz", + "integrity": "sha512-8RG2Iu0rll3U+A95IpdRmFxpkUQeUSEPyEL8c3QxjnGp2fRNf9eVBTBd/fgJh1/JiBXyWz1VP65/DfnEov9big==" + }, + "node_modules/@noble/secp256k1": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@noble/secp256k1/-/secp256k1-1.3.4.tgz", + "integrity": "sha512-ZVRouDO5mbdCiDg4zCd3ZZABduRtpy4tCnB33Gh9upHe9tRzpiqbRSN1VTjrj/2g8u2c6MBi0YLNnNQpBYOiWg==" + }, "node_modules/@nodelib/fs.scandir": { "version": "2.1.5", "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", @@ -6576,8 +6586,7 @@ "node_modules/eventemitter3": { "version": "4.0.7", "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz", - "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==", - "dev": true + "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==" }, "node_modules/events": { "version": "3.3.0", @@ -9733,22 +9742,76 @@ } }, "node_modules/libp2p-gossipsub": { - "version": "0.11.1", - "resolved": "https://registry.npmjs.org/libp2p-gossipsub/-/libp2p-gossipsub-0.11.1.tgz", - "integrity": "sha512-apWeUsCoCIaXFw7NMAm/UH3OiODS/00hRc3ZSckvrV3lRfXh6TU1Q+IbPX0Z4u0ODo7eLXuq6n+JpYitlkB2qg==", + "version": "0.12.1", + "resolved": "https://registry.npmjs.org/libp2p-gossipsub/-/libp2p-gossipsub-0.12.1.tgz", + "integrity": "sha512-b7puc8cH0vQAikqPjuybsJBtZJzle5wH9TTTsn5i8t3vsQykv4so8k/4VKnCskwGSWOBNPo2Df3dO6InIYY0GA==", "dependencies": { "@types/debug": "^4.1.5", "debug": "^4.3.1", "denque": "^1.5.0", "err-code": "^3.0.1", "it-pipe": "^1.1.0", - "libp2p-interfaces": "^1.0.1", - "peer-id": "^0.15.0", + "libp2p-interfaces": "^2.0.1", + "peer-id": "^0.16.0", "protobufjs": "^6.11.2", "time-cache": "^0.3.0", "uint8arrays": "^3.0.0" } }, + "node_modules/libp2p-gossipsub/node_modules/libp2p-crypto": { + "version": "0.21.0", + "resolved": "https://registry.npmjs.org/libp2p-crypto/-/libp2p-crypto-0.21.0.tgz", + "integrity": "sha512-fBBzK4v1xwDt8xktWpDPCTeoBhKzxc9JMv4EyPJpoqAcuoS06+0/OLODhYod5LFiSu3lsWW+JnxblLRs5O+mjA==", + "dependencies": { + "@noble/ed25519": "^1.3.0", + "@noble/secp256k1": "^1.3.0", + "err-code": "^3.0.1", + "iso-random-stream": "^2.0.0", + "multiformats": "^9.4.5", + "node-forge": "^0.10.0", + "protobufjs": "^6.11.2", + "uint8arrays": "^3.0.0" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/libp2p-gossipsub/node_modules/libp2p-interfaces": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/libp2p-interfaces/-/libp2p-interfaces-2.0.6.tgz", + "integrity": "sha512-0iVradk961cSD4qxjYoHioD54ZvOIEXEmrWdK0dChgE+0k+qqy7Xfnpu9zqRzZDqtJxSymN3GOvSyHsSWPmh3Q==", + "dependencies": { + "abort-controller": "^3.0.0", + "abortable-iterator": "^3.0.0", + "debug": "^4.3.1", + "err-code": "^3.0.1", + "it-length-prefixed": "^5.0.2", + "it-pipe": "^1.1.0", + "it-pushable": "^1.4.2", + "libp2p-crypto": "^0.21.0", + "multiaddr": "^10.0.0", + "multiformats": "^9.1.2", + "p-queue": "^6.6.2", + "peer-id": "^0.16.0", + "protobufjs": "^6.10.2", + "uint8arrays": "^3.0.0" + } + }, + "node_modules/libp2p-gossipsub/node_modules/peer-id": { + "version": "0.16.0", + "resolved": "https://registry.npmjs.org/peer-id/-/peer-id-0.16.0.tgz", + "integrity": "sha512-EmL7FurFUduU9m1PS9cfJ5TAuCvxKQ7DKpfx3Yj6IKWyBRtosriFuOag/l3ni/dtPgPLwiA4R9IvpL7hsDLJuQ==", + "dependencies": { + "class-is": "^1.1.0", + "libp2p-crypto": "^0.21.0", + "multiformats": "^9.4.5", + "protobufjs": "^6.10.2", + "uint8arrays": "^3.0.0" + }, + "engines": { + "node": ">=15.0.0" + } + }, "node_modules/libp2p-gossipsub/node_modules/uint8arrays": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-3.0.0.tgz", @@ -12508,7 +12571,6 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz", "integrity": "sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4=", - "peer": true, "engines": { "node": ">=4" } @@ -12573,6 +12635,32 @@ "node": ">=8" } }, + "node_modules/p-queue": { + "version": "6.6.2", + "resolved": "https://registry.npmjs.org/p-queue/-/p-queue-6.6.2.tgz", + "integrity": "sha512-RwFpb72c/BhQLEXIZ5K2e+AhgNVmIejGlTgiB9MzZ0e93GRvqZ7uSi0dvRF7/XIXDeNkra2fNHBxTyPDGySpjQ==", + "dependencies": { + "eventemitter3": "^4.0.4", + "p-timeout": "^3.2.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-queue/node_modules/p-timeout": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/p-timeout/-/p-timeout-3.2.0.tgz", + "integrity": "sha512-rhIwUycgwwKcP9yTOOFK/AKsAopjjCakVqLHePO3CC6Mir1Z99xT+R63jZxAT5lFZLa2inS5h+ZS2GvR99/FBg==", + "dependencies": { + "p-finally": "^1.0.0" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/p-reflect": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/p-reflect/-/p-reflect-2.1.0.tgz", @@ -18745,6 +18833,16 @@ "resolved": "https://registry.npmjs.org/@multiformats/base-x/-/base-x-4.0.1.tgz", "integrity": "sha512-eMk0b9ReBbV23xXU693TAIrLyeO5iTgBZGSJfpqriG8UkYvr/hC9u9pyMlAakDNHWmbhMZCDs6KQO0jzKD8OTw==" }, + "@noble/ed25519": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/@noble/ed25519/-/ed25519-1.3.3.tgz", + "integrity": "sha512-8RG2Iu0rll3U+A95IpdRmFxpkUQeUSEPyEL8c3QxjnGp2fRNf9eVBTBd/fgJh1/JiBXyWz1VP65/DfnEov9big==" + }, + "@noble/secp256k1": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@noble/secp256k1/-/secp256k1-1.3.4.tgz", + "integrity": "sha512-ZVRouDO5mbdCiDg4zCd3ZZABduRtpy4tCnB33Gh9upHe9tRzpiqbRSN1VTjrj/2g8u2c6MBi0YLNnNQpBYOiWg==" + }, "@nodelib/fs.scandir": { "version": "2.1.5", "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", @@ -22512,8 +22610,7 @@ "eventemitter3": { "version": "4.0.7", "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz", - "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==", - "dev": true + "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==" }, "events": { "version": "3.3.0", @@ -24969,22 +25066,70 @@ } }, "libp2p-gossipsub": { - "version": "0.11.1", - "resolved": "https://registry.npmjs.org/libp2p-gossipsub/-/libp2p-gossipsub-0.11.1.tgz", - "integrity": "sha512-apWeUsCoCIaXFw7NMAm/UH3OiODS/00hRc3ZSckvrV3lRfXh6TU1Q+IbPX0Z4u0ODo7eLXuq6n+JpYitlkB2qg==", + "version": "0.12.1", + "resolved": "https://registry.npmjs.org/libp2p-gossipsub/-/libp2p-gossipsub-0.12.1.tgz", + "integrity": "sha512-b7puc8cH0vQAikqPjuybsJBtZJzle5wH9TTTsn5i8t3vsQykv4so8k/4VKnCskwGSWOBNPo2Df3dO6InIYY0GA==", "requires": { "@types/debug": "^4.1.5", "debug": "^4.3.1", "denque": "^1.5.0", "err-code": "^3.0.1", "it-pipe": "^1.1.0", - "libp2p-interfaces": "^1.0.1", - "peer-id": "^0.15.0", + "libp2p-interfaces": "^2.0.1", + "peer-id": "^0.16.0", "protobufjs": "^6.11.2", "time-cache": "^0.3.0", "uint8arrays": "^3.0.0" }, "dependencies": { + "libp2p-crypto": { + "version": "0.21.0", + "resolved": "https://registry.npmjs.org/libp2p-crypto/-/libp2p-crypto-0.21.0.tgz", + "integrity": "sha512-fBBzK4v1xwDt8xktWpDPCTeoBhKzxc9JMv4EyPJpoqAcuoS06+0/OLODhYod5LFiSu3lsWW+JnxblLRs5O+mjA==", + "requires": { + "@noble/ed25519": "^1.3.0", + "@noble/secp256k1": "^1.3.0", + "err-code": "^3.0.1", + "iso-random-stream": "^2.0.0", + "multiformats": "^9.4.5", + "node-forge": "^0.10.0", + "protobufjs": "^6.11.2", + "uint8arrays": "^3.0.0" + } + }, + "libp2p-interfaces": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/libp2p-interfaces/-/libp2p-interfaces-2.0.6.tgz", + "integrity": "sha512-0iVradk961cSD4qxjYoHioD54ZvOIEXEmrWdK0dChgE+0k+qqy7Xfnpu9zqRzZDqtJxSymN3GOvSyHsSWPmh3Q==", + "requires": { + "abort-controller": "^3.0.0", + "abortable-iterator": "^3.0.0", + "debug": "^4.3.1", + "err-code": "^3.0.1", + "it-length-prefixed": "^5.0.2", + "it-pipe": "^1.1.0", + "it-pushable": "^1.4.2", + "libp2p-crypto": "^0.21.0", + "multiaddr": "^10.0.0", + "multiformats": "^9.1.2", + "p-queue": "^6.6.2", + "peer-id": "^0.16.0", + "protobufjs": "^6.10.2", + "uint8arrays": "^3.0.0" + } + }, + "peer-id": { + "version": "0.16.0", + "resolved": "https://registry.npmjs.org/peer-id/-/peer-id-0.16.0.tgz", + "integrity": "sha512-EmL7FurFUduU9m1PS9cfJ5TAuCvxKQ7DKpfx3Yj6IKWyBRtosriFuOag/l3ni/dtPgPLwiA4R9IvpL7hsDLJuQ==", + "requires": { + "class-is": "^1.1.0", + "libp2p-crypto": "^0.21.0", + "multiformats": "^9.4.5", + "protobufjs": "^6.10.2", + "uint8arrays": "^3.0.0" + } + }, "uint8arrays": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-3.0.0.tgz", @@ -27208,8 +27353,7 @@ "p-finally": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz", - "integrity": "sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4=", - "peer": true + "integrity": "sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4=" }, "p-limit": { "version": "3.1.0", @@ -27255,6 +27399,25 @@ "aggregate-error": "^3.0.0" } }, + "p-queue": { + "version": "6.6.2", + "resolved": "https://registry.npmjs.org/p-queue/-/p-queue-6.6.2.tgz", + "integrity": "sha512-RwFpb72c/BhQLEXIZ5K2e+AhgNVmIejGlTgiB9MzZ0e93GRvqZ7uSi0dvRF7/XIXDeNkra2fNHBxTyPDGySpjQ==", + "requires": { + "eventemitter3": "^4.0.4", + "p-timeout": "^3.2.0" + }, + "dependencies": { + "p-timeout": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/p-timeout/-/p-timeout-3.2.0.tgz", + "integrity": "sha512-rhIwUycgwwKcP9yTOOFK/AKsAopjjCakVqLHePO3CC6Mir1Z99xT+R63jZxAT5lFZLa2inS5h+ZS2GvR99/FBg==", + "requires": { + "p-finally": "^1.0.0" + } + } + } + }, "p-reflect": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/p-reflect/-/p-reflect-2.1.0.tgz", diff --git a/package.json b/package.json index 1d4a2a92df..8c5be29fb4 100644 --- a/package.json +++ b/package.json @@ -64,7 +64,7 @@ "js-sha3": "^0.8.0", "libp2p": "^0.32.4", "libp2p-bootstrap": "^0.13.0", - "libp2p-gossipsub": "^0.11.1", + "libp2p-gossipsub": "^0.12.1", "libp2p-mplex": "^0.10.4", "libp2p-websockets": "^0.16.1", "multiaddr": "^10.0.1",