Skip to content

chore: bump web-streams-polyfill from 3.2.1 to 4.5.1 - #530

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/web-streams-polyfill-4.5.1
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/web-streams-polyfill-4.5.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

Bumps web-streams-polyfill from 3.2.1 to 4.5.1.

Release notes

Sourced from web-streams-polyfill's releases.

v4.5.1

  • 💅 Add "sideEffects" to package.json, so bundlers can remove unused imports of web-streams-polyfill and web-streams-polyfill/es5. Only web-streams-polyfill/polyfill and web-streams-polyfill/polyfill/es5 are marked as having side effects. (#255)

v4.5.0

  • 🚀 Reduce allocations and promise overhead throughout the implementation. (#237)
    • reader.closed, writer.closed and writer.ready are now created lazily on first access, and internal promise callbacks are re-used instead of being recreated for every chunk.
    • pipeTo(), tee() and async iteration re-use their internal read requests, and pipeTo() no longer creates a promise for every written chunk.
    • Creating a ReadableStream without a pull() method no longer schedules a pull or an extra microtask.
    • These optimizations were inspired by similar work in Node.js: #63572, #63876, #64320, #64431, #64818, #64890, #65138, #65414, #66052, #66154, #66392, #66424.
  • 🐛 Use ESM type definitions (types/ponyfill.d.mts) for the import condition of web-streams-polyfill and web-streams-polyfill/es5, so TypeScript no longer treats them as CommonJS types. (#242)
    • types/tsdoc-metadata.json is no longer published.

v4.4.0

  • 🐛 Fix memory leak where internal promises kept piling up inside ReadableStream.pipeTo() whenever the destination applies backpressure. (#217)
  • 👓 Reject strings and other non-object values in ReadableStream.from(), as the argument is now converted to an IDL async_sequence. (whatwg/streams#1372)

v4.3.0

  • 🚀 Optimize reading from a ReadableStream with buffered chunks. (#170)
    • When the stream has a chunk available in its internal queue, defaultReader.read() and byobReader.read(view) will now immediately return a resolved promise using Promise.resolve(). This turns out to be (slightly) faster than creating a new Promise and then immediately resolving it.
  • 🚀 Optimize piping from a ReadableStream with buffered chunks. (#170)
    • When the stream has one or more chunks available in its internal queue, pipeTo() will now read all available chunks in a single batch and write them to the destination (while still respecting backpressure).
    • These optimizations were inspired by Node.js.

v4.2.0

v4.1.0

  • 👓 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

  • 💥 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.

... (truncated)

Changelog

Sourced from web-streams-polyfill's changelog.

4.5.1 (2026-11-06)

  • 💅 Add "sideEffects" to package.json, so bundlers can remove unused imports of web-streams-polyfill and web-streams-polyfill/es5. Only web-streams-polyfill/polyfill and web-streams-polyfill/polyfill/es5 are marked as having side effects. (#255)

4.5.0 (2026-11-02)

  • 🚀 Reduce allocations and promise overhead throughout the implementation. (#237)
    • reader.closed, writer.closed and writer.ready are now created lazily on first access, and internal promise callbacks are re-used instead of being recreated for every chunk.
    • pipeTo(), tee() and async iteration re-use their internal read requests, and pipeTo() no longer creates a promise for every written chunk.
    • Creating a ReadableStream without a pull() method no longer schedules a pull or an extra microtask.
    • These optimizations were inspired by similar work in Node.js: #63572, #63876, #64320, #64431, #64818, #64890, #65138, #65414, #66052, #66154, #66392, #66424.
  • 🐛 Use ESM type definitions (types/ponyfill.d.mts) for the import condition of web-streams-polyfill and web-streams-polyfill/es5, so TypeScript no longer treats them as CommonJS types. (#242)
    • types/tsdoc-metadata.json is no longer published.

4.4.0 (2026-11-02)

  • 🐛 Fix memory leak where internal promises kept piling up inside ReadableStream.pipeTo() whenever the destination applies backpressure. (#217)
  • 👓 Reject strings and other non-object values in ReadableStream.from(), as the argument is now converted to an IDL async_sequence. (whatwg/streams#1372)

4.3.0 (2026-05-15)

  • 🚀 Optimize reading from a ReadableStream with buffered chunks. (#170)
    • When the stream has a chunk available in its internal queue, defaultReader.read() and byobReader.read(view) will now immediately return a resolved promise using Promise.resolve(). This turns out to be (slightly) faster than creating a new Promise and then immediately resolving it.
  • 🚀 Optimize piping from a ReadableStream with buffered chunks. (#170)
    • When the stream has one or more chunks available in its internal queue, pipeTo() will now read all available chunks in a single batch and write them to the destination (while still respecting backpressure).
    • These optimizations were inspired by Node.js.

4.2.0 (2025-08-17)

4.1.0 (2025-01-05)

  • 👓 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.

... (truncated)

Commits
  • 61a876c 4.5.1
  • 72e3c2f Draft a GitHub release when a release PR lands (#259)
  • 71a0a37 Bump the development-dependencies group with 4 updates (#251)
  • 62c0af2 Run browser tests in the Playwright container matching the lockfile (#256)
  • 6852f7e Merge pull request #255 from retyui/add-side-effects
  • bd49ece Add changelog entry
  • e58bea1 Declare sideEffects in package.json
  • 4ba4d3b 4.5.0
  • 7ce6840 Merge pull request #242 from MattiasBuelens/claude/project-thread-xpot05
  • 3e68ff3 Drop type casts in build plugins
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for web-streams-polyfill since your current version.


@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Nov 9, 2026
Bumps [web-streams-polyfill](https://github.com/MattiasBuelens/web-streams-polyfill) from 3.2.1 to 4.5.1.
- [Release notes](https://github.com/MattiasBuelens/web-streams-polyfill/releases)
- [Changelog](https://github.com/MattiasBuelens/web-streams-polyfill/blob/master/CHANGELOG.md)
- [Commits](MattiasBuelens/web-streams-polyfill@v3.2.1...v4.5.1)

---
updated-dependencies:
- dependency-name: web-streams-polyfill
  dependency-version: 4.5.1
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/web-streams-polyfill-4.5.1 branch from b531e82 to bd15dcf Compare November 10, 2026 05:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants