Merge pull request #679 from status-im/it-pipe

This commit is contained in:
Franck R 2022-04-06 13:50:22 +10:00 committed by GitHub
commit 1dcb4ee644
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 26 additions and 21 deletions

View File

@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
### Fixed
- Declare `it-pipe` dependency, import as per `it-pipe@2.0.0` convention.
## [0.20.0] - 2022-03-29
### Changed

View File

@ -6,6 +6,7 @@
"@testing-library/jest-dom": "^5.16.2",
"@testing-library/react": "^12.1.2",
"@testing-library/user-event": "^14.0.4",
"it-pipe": "^2.0.3",
"js-waku": "file:../../",
"protobufjs": "^6.11.2",
"react": "^17.0.2",

36
package-lock.json generated
View File

@ -543,9 +543,9 @@
}
},
"node_modules/@chainsafe/libp2p-noise": {
"version": "5.0.2",
"resolved": "https://registry.npmjs.org/@chainsafe/libp2p-noise/-/libp2p-noise-5.0.2.tgz",
"integrity": "sha512-hpxHl3bxHN2fgpmjP2zkC2Lq3ajA349WxI7U2aBuskkq3Pd+aUmSlVjM8pyN+5Dr5+yHuayqCgMUxq3AeOM7Zw==",
"version": "5.0.3",
"resolved": "https://registry.npmjs.org/@chainsafe/libp2p-noise/-/libp2p-noise-5.0.3.tgz",
"integrity": "sha512-IT7q9JaEjv4aU3zO8zeomWyw79rLo8hGcmnyWOE1P/dVIT+jqrF08R3rVXonujBbmi6SSgZbB6NModqW+Oa2jw==",
"dependencies": {
"@stablelib/chacha20poly1305": "^1.0.1",
"@stablelib/hkdf": "^1.0.1",
@ -7033,9 +7033,9 @@
}
},
"node_modules/it-map": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/it-map/-/it-map-1.0.5.tgz",
"integrity": "sha512-EElupuWhHVStUgUY+OfTJIS2MZed96lDrAXzJUuqiiqLnIKoBRqtX1ZG2oR0bGDsSppmz83MtzCeKLZ9TVAUxQ=="
"version": "1.0.6",
"resolved": "https://registry.npmjs.org/it-map/-/it-map-1.0.6.tgz",
"integrity": "sha512-XT4/RM6UHIFG9IobGlQPFQUrlEKkU4eBUFG3qhWhfAdh1JfF2x11ShCrKCdmZ0OiZppPfoLuzcfA4cey6q3UAQ=="
},
"node_modules/it-merge": {
"version": "1.0.4",
@ -8614,9 +8614,9 @@
}
},
"node_modules/multiformats": {
"version": "9.4.6",
"resolved": "https://registry.npmjs.org/multiformats/-/multiformats-9.4.6.tgz",
"integrity": "sha512-ngZRO82P7mPvw/3gu5NQ2QiUJGYTS0LAxvQnEAlWCJakvn7YpK2VAd9JWM5oosYUeqoVbkylH/FsqRc4fc2+ag=="
"version": "9.6.4",
"resolved": "https://registry.npmjs.org/multiformats/-/multiformats-9.6.4.tgz",
"integrity": "sha512-fCCB6XMrr6CqJiHNjfFNGT0v//dxOBMrOMqUIzpPc/mmITweLEyhvMpY9bF+jZ9z3vaMAau5E8B68DW77QMXkg=="
},
"node_modules/multihashes": {
"version": "4.0.3",
@ -13158,9 +13158,9 @@
}
},
"@chainsafe/libp2p-noise": {
"version": "5.0.2",
"resolved": "https://registry.npmjs.org/@chainsafe/libp2p-noise/-/libp2p-noise-5.0.2.tgz",
"integrity": "sha512-hpxHl3bxHN2fgpmjP2zkC2Lq3ajA349WxI7U2aBuskkq3Pd+aUmSlVjM8pyN+5Dr5+yHuayqCgMUxq3AeOM7Zw==",
"version": "5.0.3",
"resolved": "https://registry.npmjs.org/@chainsafe/libp2p-noise/-/libp2p-noise-5.0.3.tgz",
"integrity": "sha512-IT7q9JaEjv4aU3zO8zeomWyw79rLo8hGcmnyWOE1P/dVIT+jqrF08R3rVXonujBbmi6SSgZbB6NModqW+Oa2jw==",
"requires": {
"@stablelib/chacha20poly1305": "^1.0.1",
"@stablelib/hkdf": "^1.0.1",
@ -18213,9 +18213,9 @@
}
},
"it-map": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/it-map/-/it-map-1.0.5.tgz",
"integrity": "sha512-EElupuWhHVStUgUY+OfTJIS2MZed96lDrAXzJUuqiiqLnIKoBRqtX1ZG2oR0bGDsSppmz83MtzCeKLZ9TVAUxQ=="
"version": "1.0.6",
"resolved": "https://registry.npmjs.org/it-map/-/it-map-1.0.6.tgz",
"integrity": "sha512-XT4/RM6UHIFG9IobGlQPFQUrlEKkU4eBUFG3qhWhfAdh1JfF2x11ShCrKCdmZ0OiZppPfoLuzcfA4cey6q3UAQ=="
},
"it-merge": {
"version": "1.0.4",
@ -19485,9 +19485,9 @@
}
},
"multiformats": {
"version": "9.4.6",
"resolved": "https://registry.npmjs.org/multiformats/-/multiformats-9.4.6.tgz",
"integrity": "sha512-ngZRO82P7mPvw/3gu5NQ2QiUJGYTS0LAxvQnEAlWCJakvn7YpK2VAd9JWM5oosYUeqoVbkylH/FsqRc4fc2+ag=="
"version": "9.6.4",
"resolved": "https://registry.npmjs.org/multiformats/-/multiformats-9.6.4.tgz",
"integrity": "sha512-fCCB6XMrr6CqJiHNjfFNGT0v//dxOBMrOMqUIzpPc/mmITweLEyhvMpY9bF+jZ9z3vaMAau5E8B68DW77QMXkg=="
},
"multihashes": {
"version": "4.0.3",

View File

@ -1,4 +1,4 @@
import { Noise } from "@chainsafe/libp2p-noise/dist/src/noise";
import { Noise } from "@chainsafe/libp2p-noise";
import debug from "debug";
import Libp2p, { Connection, Libp2pModules, Libp2pOptions } from "libp2p";
import Libp2pBootstrap from "libp2p-bootstrap";

View File

@ -1,6 +1,6 @@
import concat from "it-concat";
import lp from "it-length-prefixed";
import pipe from "it-pipe";
import { pipe } from "it-pipe";
import Libp2p from "libp2p";
import { Peer } from "libp2p/src/peer-store";
import PeerId from "peer-id";

View File

@ -1,7 +1,7 @@
import debug from "debug";
import concat from "it-concat";
import lp from "it-length-prefixed";
import pipe from "it-pipe";
import { pipe } from "it-pipe";
import Libp2p from "libp2p";
import { Peer } from "libp2p/src/peer-store";
import PeerId from "peer-id";