Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump to latest readable-stream. #45

Merged
merged 3 commits into from
Jun 27, 2020
Merged

Bump to latest readable-stream. #45

merged 3 commits into from
Jun 27, 2020

Conversation

indexzero
Copy link
Member

No description provided.

Copy link
Contributor

@DABH DABH left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM if tests pass, thanks!

@DABH DABH merged commit 6a3bf79 into master Jun 27, 2020
@DABH DABH deleted the latest-readable-stream branch June 27, 2020 03:01
@jimmywarting
Copy link

can we push for a new release? looking to dedupe this two readable-stream versions

image

such a waste to have to diffrent major versions...

@jimmywarting
Copy link

jimmywarting commented Aug 19, 2021

If possible i would suggest that you node's built in streams, then you will always get the latest version with newest features.
The alternative suggestion would be for await (let chunk of readable) - it supports whatwg streams, node streams and also any iterator.
The native is also faster then a polyfill, would you mind if i send a PR to switch readable-stream to node's stream?

const Writable = require('readable-stream/writable');
const Writable = require('readable-stream/lib/_stream_writable.js');

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In readable-stream's usage note, they recommend something like const { Writable } = require('readable-stream'); for compatibility.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants