Back to Explore

Sec-ant/readable-stream

GitHub
2 updates · last 90 days1 watchersOpen source

Last release:

@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

  • Actively maintained recently, with the latest upstream push on 2026-06-08 and a tagged update v0.7.0 on 2026-05-04, so development appears current rather than dormant.
  • Apparent update cadence is relatively steady, with v0.7.0 following v0.6.1 in about one week (late Apr to early May 2026), and another update back in 2024 for earlier TypeScript compatibility work.

AI summary generated

AI-generated from public sources. May be inaccurate. Report

Recent updates

  • v0.7.0

    v0.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.

    Breaking
  • v0.6.1

    v0.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

    v0.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

    v0.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.

    Breaking
  • v0.4.1

    v0.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

    v0.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