A tiny, zero-dependency yet spec-compliant asynchronous iterator polyfill/ponyfill for ReadableStreams.
Last release 3 months ago
04 May 2026
Release timing varies
gaps range from 3 weeks to 1.6 years
Some releases are documented
notes for 5 of 11 stable releases
1 version withdrawn
withdrawn after publishing
4 years old
12 releases · first in 2022
Release timeline
12 releases since 2022Releases
- 0.7.04 May 2026
Release notes2 sources agree
Open source →Minor Changes
- bf594cf: Fix TypeScript issues with the ponyfill (#66)
asyncIterator()now returnsReadableStreamAsyncIterator<R>instead of an internal interface that exposed a privateunique symbolbrand. The package provides a compatible global declaration for older TypeScript versions and merges with modernlib.dom.d.ts, so ponyfill and polyfill usage share the same iterator type surface.- Breaking type change: the unused
TReturngeneric parameter onasyncIterator()has been removed from the public signature. Runtimeiterator.return(value)behavior remains spec-compliant and resolves with{ done: true, value }, while the public type followslib.dom'sReadableStreamAsyncIterator<T>shape. - Added a top-level
typesfield and atypesVersionsmap mirroring every subpath inexports, so the package's type definitions can be resolved under classicmoduleResolution: "node"in addition tonode16/nodenext/bundler. - The polyfill now installs
ReadableStream.prototype.valuesandReadableStream.prototype[Symbol.asyncIterator]with Web IDL-conformant descriptors (valuesis enumerable,[Symbol.asyncIterator]is not) and guarantees the two slots reference the same function object.
- bf594cf: Fix TypeScript issues with the ponyfill (#66)
- 0.6.129 Apr 2026
Release notes2 sources agree
Open source →Patch Changes
- bd69b3e: Bump deps and switch to OIDC publishing
- 0.6.08 Oct 2024
Release notes
Open source →Minor Changes
- 3b16e97: Update iterator-related types to cope with typescript 5.6 changes. See this writeup and this PR.
Release notes
Open source →Minor Changes
- 3b16e97: Update iterator-related types to cope with typescript 5.6 changes. See this writeup and this PR.
- 0.5.021 Jul 2024
Release notes2 sources agree
Open source →Minor Changes
-
7cb5954: Refactor
asyncIteratorponyfill APIBREAKING: The
asyncIteratorfrom the ponyfill API is refactored, you should now use it like this:asyncIterator(readableStream);instead of
asyncIterator.call(readableStream);
-
- 0.4.116 Mar 2024
Release notes2 sources agree
Open source →Patch Changes
- 82a7030: Fix package.json main and module entry point.
- 0.4.016 Mar 2024withdrawn: incorrect main entry point is fixed in v0.4.1
Release notes2 sources agree
Open source →Minor Changes
-
0398fc0: Restructure codebase and export ponyfill entry points.
BREAKING CHANGE: The API is redesgined. Check REAMDE.md for details.
-
- 0.3.220 Jul 2023
Nothing published for this version
- 0.3.120 Dec 2022
Nothing published for this version
- 0.3.019 Dec 2022
Nothing published for this version
- 0.2.018 Dec 2022
Nothing published for this version
- 0.1.025 Nov 2022
Nothing published for this version
- 0.0.124 Nov 2022
Nothing published for this version