Skip to content

fix(deps): update dependency web-streams-polyfill to v4#376

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/web-streams-polyfill-4.x
Open

fix(deps): update dependency web-streams-polyfill to v4#376
renovate[bot] wants to merge 1 commit intomainfrom
renovate/web-streams-polyfill-4.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Feb 25, 2026

This PR contains the following updates:

Package Change Age Confidence
web-streams-polyfill ^3.2.1^4.0.0 age confidence

Release Notes

MattiasBuelens/web-streams-polyfill (web-streams-polyfill)

v4.2.0

Compare Source

v4.1.0

Compare Source

  • 👓 Align with spec version fa4891a (#​156)
    • Commit pull-into descriptors after filling them from the internal queue.
      This prevents an issue where an incorrect BYOB request would temporarily be visible through a patched Object.prototype.then,
      which broke some internal invariants.
    • The next() and return() methods of ReadableStream's async iterator are now correctly "chained",
      such that the promises returned by either of these methods are always resolved in the same order
      as those methods were called.
  • 💅 Improve type of WritableStreamDefaultController.signal. (#​157)

v4.0.0

Compare Source

  • 💥 Rework the list of variants to have more modern defaults.
    The table below shows how to upgrade your v3 import to their equivalent v4 import.
    See the migration guide for more information.
    (#​82, #​139)
  • 💥 Remove the ES2018 variant, in favor of the ES2015 variant.
  • 💥 Switch to subpath exports for variants.
    • Node 12 or higher is required to import or require() a variant.
    • When using TypeScript, version 4.7 or higher is now required. Additionally, moduleResolution must be set to "node16", "nodenext" or "bundler".
  • 🚀 Support importing as ESM in Node.
  • 💅 Minify all code in the published package, to reduce the download size.
  • 💅 Rework ReadableStream.from() implementation to avoid depending on async function* down-leveling for ES5. (#​144)
v3 import v4 import description
web-streams-polyfill web-streams-polyfill/polyfill/es5 ES5+ polyfill
web-streams-polyfill/es6 web-streams-polyfill/polyfill ES2015+ polyfill
web-streams-polyfill/es2018 web-streams-polyfill/polyfill ES2015+ polyfill
web-streams-polyfill/ponyfill web-streams-polyfill/es5 ES5+ ponyfill
web-streams-polyfill/ponyfill/es6 web-streams-polyfill ES2015+ ponyfill
web-streams-polyfill/ponyfill/es2018 web-streams-polyfill ES2015+ ponyfill

v3.3.3

Compare Source

  • 🐛 Fix ReadableStream to match TypeScript's AsyncIterable<R> type. (#​141, #​142)

v3.3.2

Compare Source

  • 🐛 Fix bad publish to npm.

v3.3.1

Compare Source

v3.3.0

Compare Source

  • 🚀 Added global augmentations for ReadableStream to the polyfill's type definitions. (#​130)
    • This allows TypeScript users to use new methods such as ReadableStream.prototype[Symbol.asyncIterator](),
      even when TypeScript doesn't yet have a built-in type definition for them.
  • 💥 The type definitions now require TypeScript 3.6 or higher. (#​130) (Reverted in version 3.3.1)
  • 👓 Align with spec version 4dc123a (#​115, #​134)
    • Added ReadableStream.from(asyncIterable), which creates a ReadableStream wrapping the given iterable or async iterable.
      This can also be used to wrap a native ReadableStream (e.g. a Response.body from fetch()),
      even if the native ReadableStream doesn't yet support async iteration. (#​135)
    • Added Transformer.cancel method, which is called when the readable side of a TransformStream is cancelled or when its writable side is aborted.
    • Added min option to ReadableStreamBYOBReader.read(view, options).
    • Added support for AbortSignal.reason when aborting a pipe.
  • 🚀 Buffers passed to ReadableStreamBYOBReader.read(view) will now be correctly transferred
    if either ArrayBuffer.prototype.transfer() or structuredClone() is available. (#​136)
  • 🐛 Prevent warnings from Bluebird about a promise being created within a handler but not being returned from a handler. (#​131)
  • 🏠 Improve internal DOMException polyfill. (#​133)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependency label Feb 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants