@sec-ant/readable-stream is a tiny, zero-dependency, spec-compliant async iterator polyfill/ponyfill for Web ReadableStream. It lets developers consume a ReadableStream as an AsyncIterable, and also construct a ReadableStream from an AsyncIterable or Iterable, with options for side-effect-free (ponyfill) or drop-in (polyfill) usage.
Project status
- The project appears actively maintained, with a recent upstream push on 2026-06-07, and multiple version updates in 2026.
- The update cadence shows bursts of activity (v0.6.1 on 2026-04-29, v0.7.0 on 2026-05-04), followed by a long gap prior to that (v0.6.0 on 2024-10-08).
AI summary generated Today
Recent updates
v0.7.0
1 month agov0.7.0 focuses on TypeScript surface-area fixes for the ReadableStream async iterator ponyfill/polyfill. It also updates package metadata so type definitions resolve under more TS moduleResolution modes, and it standardizes the global async iterator types used by both ponyfill and polyfill.
Breakingv0.6.1
1 month agov0.6.1 is a patch release that primarily upgrades dependencies and adjusts the CI/publishing flow to use OIDC for NPM publishing. The code diff shows additional non-noted changes to build output configuration, testing scripts/CI wiring, and several repository toolchain settings.
v0.6.0
10/8/2024v0.6.0 is a small release focused on updating iterator-related TypeScript types to remain compatible with TypeScript 5.6 strict iterator checks. In practice, it adjusts the declared types for ReadableStream async iteration so they align with newer TS lib.dom expectations.
v0.5.0
7/21/2024v0.5.0 primarily refactors the `asyncIterator` ponyfill API, changing how consumers pass a `ReadableStream` into the function. The repository also updates development tooling and CI workflows, including several dependency bumps and some script/workflow behavior changes.
Breakingv0.4.1
3/16/2024v0.4.1 is a patch release focused on correcting the package entry points. It updates the package.json main and module fields so module resolution points at the actual built files under dist/index/.
v0.4.0
3/16/2024v0.4.0 is a breaking redesign of the library API, accompanied by a restructuring of the codebase. The release also changes how ponyfill entry points are exported, which may require updating existing imports and integration points.
Breaking