Breaking changes to readable-stream
See original GitHub issueWhen using simple-peer with readable-stream 2.2.8, receiving the following exception upon peer creation:
Uncaught TypeError: this.once is not a function
at Peer.Duplex (eval at <anonymous> (bundle.js:131), <anonymous>:53:8)
at new Peer (eval at <anonymous> (bundle.js:1521), <anonymous>:29:17)
Issue Analytics
- State:
- Created 6 years ago
- Comments:13 (3 by maintainers)
Top Results From Across the Web
Introducing readable-stream 4.0.0 - NearForm
Exciting Updates, Improvements and Additions in readable-stream 4.0.0 ... readable-stream is an NPM package which aims to make the latest Node.js ...
Read more >ReadableStream - Web APIs - MDN Web Docs
Chrome Edge
ReadableStream Full support. Chrome43. Toggle history Full support. Edge14...
ReadableStream() constructor Full support. Chrome43. Toggle history Full support. Edge79...
cancel Full support. Chrome43. Toggle...
Read more >readable-stream - npm
The breaking changes introduced by v3 are composed by the combined breaking changes in Node v9 and Node v10, as follows:
Read more >Stream | Node.js v19.3.0 Documentation
The 'pipe' event is emitted when the stream.pipe() method is called on a readable stream, adding this writable to its set of destinations....
Read more >readable-stream - npm Package Health Analysis - Snyk
Learn more about readable-stream: package health score, popularity, security, maintenance, versions and more.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Looks like readable-stream is aware of the issue: https://github.com/nodejs/readable-stream/issues/277
Correct me if I’m wrong @RationalCoding but the dependency for readable-stream is set with
^
, so it will continue to pull changes from downstream until a major version change