Repository navigation
feat!: Switch to WHATWG ReadableStream - #170
Merged
Merged
Conversation
FotoVerite
approved these changes
Nov 18, 2026
FotoVerite
left a comment
Contributor
There was a problem hiding this comment.
I like the new function passing to suites, I really want to break it out to it's own package since we use it so many places.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This switches the library to create a WHATWG ReadableStream using Node's built-in Web Streams
ReadableStream.from(iterable).This fundamentally changes the API of the stream interface (such as needing to use
pipeThroughandpipeTomethods for building pipelines), but Node combines different types of streams automatically with thepipelineoperator.I've moved
streamxto a devDep so we can keep it in the test matrix. I also needed to alter the tests so the stream utilities could vary by suite. I have also removed a couple of tests that don't apply to Web Streams because they have a much more restricted API surface.Closes #162