readable-stream provides Node core streams implementations for use in userland. It mirrors the streams from specific Node versions, so you can keep a stable streams base across different Node releases and browsers by using readable-stream instead of Node’s built-in stream module.
Project status
- The repository appears quiet/dormant relative to today, with the last upstream push on 2025-01-07, and no evidence of further updates up to 2026-08-12.
- Update cadence is low, with a gap from v4.7.0 on 2025-01-07 to the next listed update v4.6.0 on 2024-12-19, and then a much larger gap to the prior update (v4.5.2 on 2023-12-27).
AI summary generated
Recent updates
v4.7.0
v4.7.0 primarily targets stream internals build and CI behavior, including a fix for importing `string_decoder`. The release notes also mention build adjustments and enabling linting in CI, but they do not describe several internal refactors that are present in the code diff.
v4.6.0
This release (v4.6.0) includes two targeted fixes: one related to an internalStreams weak handler replacement rule, and another to avoid using bigint literal syntax when formatting/validating bigint inputs in errors. The runtime diff is small, but the repository also introduces a new local ESLint rule, switches ESLint configuration format, and expands CI coverage to macOS for older Node versions.
v4.5.2
v4.5.2 primarily updates the project dependency esbuild. The code diff shows only a package.json version bump and an esbuild version bump.
v4.5.1
Release v4.5.1 makes a small internal change to how AbortSignal and AbortController are detected in the runtime. It replaces references to the global object with globalThis in the stream utility code.
v4.5.0
v4.5.0 is described as a maintenance release that updates the mirrored Node.js streams implementation to Node.js 18.19.0 and extends CI to include Node 21.x. The provided release notes do not mention any behavioral or API changes beyond these environment updates.
v4.4.2
Release v4.4.2 primarily updates the package metadata and dependencies. The documented change is adding the string_decoder dependency, and the diff also includes CI workflow matrix adjustments for older Node versions on Windows.
v4.4.1
v4.4.1 makes a small internal change to avoid requiring Node's `stream` module directly from `readable-stream`. It also updates CI/test tooling to exercise additional bundler scenarios and Node 20 in workflows.
v4.4.0
Release v4.4.0 focuses on a change to web-stream interoperability methods (removing Readable.fromWeb and Readable.toWeb) and an update aligned with Node v18.16.0. The code diff, however, shows a much larger internal streams refactor, including new/rewritten core stream internals (duplex, destroy, buffer_list) and removal of an internal async iterator implementation.
Breakingv3.6.2
v3.6.2 is released as an ES5 compatibility fix. The release notes only mention the upstream change, but the provided diff shows broad build output changes (transpilation) plus at least one potentially behavioral change in the async iterator implementation.
v3.6.1
The v3.6.1 release notes claim a single fix: “fix undefined global in some environments.” However, the provided code diff for the range up to v3.6.1 shows substantial internal stream refactors and additional stream utilities (async iteration, from, pipeline), along with changes to error handling and destruction/close semantics that are not mentioned in the release notes.
Features