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

v4 npm release? #510

Closed
SourceBoy opened this issue Mar 20, 2023 · 4 comments
Closed

v4 npm release? #510

SourceBoy opened this issue Mar 20, 2023 · 4 comments

Comments

@SourceBoy
Copy link

Hi, is there a roadmap for the v4 release? We have a need to use the latest stream.Readable.fromWeb and toWeb to convert the 2 different implementations of streams.

Use case: Web stream -> Node stream -> Processing -> Web stream

@mcollina
Copy link
Member

Note that fromWeb and toWeb will likely be removed soon because this lacks the WHATWG stream implementation: #506

@SourceBoy
Copy link
Author

So they won't exist in v4 either? Will they be brought back if/once the ones from Node core is no longer experimental?

@mcollina
Copy link
Member

It really requires someone to drive the work for supporting those outside of core. Ideally we want to support the native implementation of WHATWG Streams on every platform.

@SourceBoy
Copy link
Author

SourceBoy commented Mar 21, 2023

Thanks. For anyone looking to convert the 2 different streams bidirectionally, here are 2 utility functions: https://gist.github.com/SourceBoy/056d6ed2ffae44dfcdda12b6668cc7d0

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

No branches or pull requests

2 participants