Skip to content

Commit

Permalink
deps(dev): bump muxrpc from 6.7.3 to 8.0.0 (#79)
Browse files Browse the repository at this point in the history
* deps(dev): bump muxrpc from 6.7.3 to 8.0.0

Bumps [muxrpc](https://github.com/ssbc/muxrpc) from 6.7.3 to 8.0.0.
- [Commits](ssbc/muxrpc@v6.7.3...v8.0.0)

---
updated-dependencies:
- dependency-name: muxrpc
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: fix tests

---------

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>
  • Loading branch information
dependabot[bot] and achingbrain authored Dec 28, 2023
1 parent 619f32f commit 553df3c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@
"it-all": "^3.0.4",
"it-filter": "^3.0.4",
"it-pipe": "^3.0.1",
"muxrpc": "^6.4.2",
"muxrpc": "^8.0.0",
"pull-stream": "^3.6.9"
}
}
8 changes: 4 additions & 4 deletions test/mux.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ const client = {

describe('duplex', () => {
it('should work', (done) => {
const A = mux(client, null)()
const B = mux(null, client)({
const A = mux(client, null)
const B = mux(null, client, {
suchstreamwow: function (someParam: number) {
// did the param come through?
expect(someParam).to.equal(5)
Expand Down Expand Up @@ -57,11 +57,11 @@ describe('duplex', () => {
}
})

const s = A.createStream()
const s = A.stream
pull(
s,
pull.through(console.log.bind(console, 'IN')), // eslint-disable-line no-console
B.createStream(),
B.stream,
pull.through(console.log.bind(console, 'OUT')), // eslint-disable-line no-console
s
)
Expand Down

0 comments on commit 553df3c

Please sign in to comment.