Skip to content

Commit 1878931

Browse files
deps(dev): bump it-byte-stream from 1.1.0 to 2.0.1 (#506)
* deps(dev): bump it-byte-stream from 1.1.0 to 2.0.1 Bumps [it-byte-stream](https://github.com/achingbrain/it) from 1.1.0 to 2.0.1. - [Release notes](https://github.com/achingbrain/it/releases) - [Commits](achingbrain/it@it-byte-stream-1.1.0...it-byte-stream-2.0.1) --- updated-dependencies: - dependency-name: it-byte-stream dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * chore: fix build --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: achingbrain <alex@achingbrain.net>
1 parent 1633a3b commit 1878931

File tree

3 files changed

+201
-38
lines changed

3 files changed

+201
-38
lines changed

package-lock.json

Lines changed: 197 additions & 36 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@
188188
"execa": "^9.3.0",
189189
"go-libp2p": "^1.0.3",
190190
"iso-random-stream": "^2.0.2",
191-
"it-byte-stream": "^1.0.0",
191+
"it-byte-stream": "^2.0.1",
192192
"libp2p": "^2.0.0",
193193
"mkdirp": "^3.0.0",
194194
"multiformats": "^13.2.2",

test/noise.spec.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,9 @@ describe('Noise', () => {
102102

103103
const largePlaintext = randomBytes(60000)
104104
await wrappedOutbound.write(Buffer.from(largePlaintext))
105-
const response = await wrappedInbound.read(60000)
105+
const response = await wrappedInbound.read({
106+
bytes: 60000
107+
})
106108

107109
expect(response.length).equals(largePlaintext.length)
108110
} catch (e) {

0 commit comments

Comments
 (0)