dependabot[bot] opened a new pull request, #530: URL: https://github.com/apache/arrow-js/pull/530
Bumps [web-streams-polyfill](https://github.com/MattiasBuelens/web-streams-polyfill) from 3.2.1 to 4.5.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/MattiasBuelens/web-streams-polyfill/releases">web-streams-polyfill's releases</a>.</em></p> <blockquote> <h2>v4.5.1</h2> <ul> <li>💅 Add <code>"sideEffects"</code> to <code>package.json</code>, so bundlers can remove unused imports of <code>web-streams-polyfill</code> and <code>web-streams-polyfill/es5</code>. Only <code>web-streams-polyfill/polyfill</code> and <code>web-streams-polyfill/polyfill/es5</code> are marked as having side effects. (<a href="https://redirect.github.com/MattiasBuelens/web-streams-polyfill/pull/255">#255</a>)</li> </ul> <h2>v4.5.0</h2> <ul> <li>🚀 Reduce allocations and promise overhead throughout the implementation. (<a href="https://redirect.github.com/MattiasBuelens/web-streams-polyfill/pull/237">#237</a>) <ul> <li><code>reader.closed</code>, <code>writer.closed</code> and <code>writer.ready</code> are now created lazily on first access, and internal promise callbacks are re-used instead of being recreated for every chunk.</li> <li><code>pipeTo()</code>, <code>tee()</code> and async iteration re-use their internal read requests, and <code>pipeTo()</code> no longer creates a promise for every written chunk.</li> <li>Creating a <code>ReadableStream</code> without a <code>pull()</code> method no longer schedules a pull or an extra microtask.</li> <li>These optimizations were inspired by similar work in Node.js: <a href="https://redirect.github.com/nodejs/node/pull/63572">#63572</a>, <a href="https://redirect.github.com/nodejs/node/pull/63876">#63876</a>, <a href="https://redirect.github.com/nodejs/node/pull/64320">#64320</a>, <a href="https://redirect.github.com/nodejs/node/pull/64431">#64431</a>, <a href="https://redirect.github.com/nodejs/node/pull/64818">#64818</a>, <a href="https://redirect.github.com/nodejs/node/pull/64890">#64890</a>, <a href="https://redirect.github.com/nodejs/node/pull/65138">#65138</a>, <a href="https://redirect.github.com/nodejs/node/pull/65414">#65414</a>, <a href="https://redirect.github.com/nodejs/node/pull/66052">#66052</a>, <a href="https://redirect.github.com/nodejs/node/pull/66154">#66154</a>, <a href="https://redirect.github.com/nodejs/node/pull/66392">#66392</a>, <a href="https://redirect.github.com/nodejs/node/pull/66424">#66424</a>.</li> </ul> </li> <li>🐛 Use ESM type definitions (<code>types/ponyfill.d.mts</code>) for the <code>import</code> condition of <code>web-streams-polyfill</code> and <code>web-streams-polyfill/es5</code>, so TypeScript no longer treats them as CommonJS types. (<a href="https://redirect.github.com/MattiasBuelens/web-streams-polyfill/pull/242">#242</a>) <ul> <li><code>types/tsdoc-metadata.json</code> is no longer published.</li> </ul> </li> </ul> <h2>v4.4.0</h2> <ul> <li>🐛 Fix memory leak where internal promises kept piling up inside <code>ReadableStream.pipeTo()</code> whenever the destination applies backpressure. (<a href="https://redirect.github.com/MattiasBuelens/web-streams-polyfill/pull/217">#217</a>)</li> <li>👓 Reject strings and other non-object values in <code>ReadableStream.from()</code>, as the argument is now converted to an IDL <code>async_sequence</code>. (<a href="https://redirect.github.com/whatwg/streams/pull/1372">whatwg/streams#1372</a>)</li> </ul> <h2>v4.3.0</h2> <ul> <li>🚀 Optimize reading from a <code>ReadableStream</code> with buffered chunks. (<a href="https://redirect.github.com/MattiasBuelens/web-streams-polyfill/pull/170">#170</a>) <ul> <li>When the stream has a chunk available in its internal queue, <code>defaultReader.read()</code> and <code>byobReader.read(view)</code> will now immediately return a resolved promise using <code>Promise.resolve()</code>. This turns out to be (slightly) faster than creating a <code>new Promise</code> and then immediately resolving it.</li> </ul> </li> <li>🚀 Optimize piping from a <code>ReadableStream</code> with buffered chunks. (<a href="https://redirect.github.com/MattiasBuelens/web-streams-polyfill/pull/170">#170</a>) <ul> <li>When the stream has one or more chunks available in its internal queue, <code>pipeTo()</code> will now read all available chunks in a single batch and write them to the destination (while still respecting backpressure).</li> <li>These optimizations were <a href="https://github.com/nodejs/node/commit/199daab0b0822d6063a73b9362bfce8667d2a112">inspired by Node.js</a>.</li> </ul> </li> </ul> <h2>v4.2.0</h2> <ul> <li>👓 Align with <a href="https://github.com/whatwg/streams/tree/080852ccd709e063cc6af239ae07fc040e365179/">spec version <code>080852c</code></a> (<a href="https://redirect.github.com/MattiasBuelens/web-streams-polyfill/pull/161">#161</a>)</li> </ul> <h2>v4.1.0</h2> <ul> <li>👓 Align with <a href="https://github.com/whatwg/streams/tree/fa4891a35ff05281ff8ed66f8ad447644ea7cec3/">spec version <code>fa4891a</code></a> (<a href="https://redirect.github.com/MattiasBuelens/web-streams-polyfill/pull/156">#156</a>) <ul> <li>Commit pull-into descriptors <em>after</em> filling them from the internal queue. This prevents an issue where an incorrect BYOB request would temporarily be visible through a patched <code>Object.prototype.then</code>, which broke some internal invariants.</li> <li>The <code>next()</code> and <code>return()</code> methods of <code>ReadableStream</code>'s async iterator are now correctly "chained", such that the promises returned by <em>either</em> of these methods are always resolved in the same order as those methods were called.</li> </ul> </li> <li>💅 Improve type of <code>WritableStreamDefaultController.signal</code>. (<a href="https://redirect.github.com/MattiasBuelens/web-streams-polyfill/pull/157">#157</a>)</li> </ul> <h2>v4.0.0</h2> <ul> <li>💥 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 <a href="https://github.com/MattiasBuelens/web-streams-polyfill/blob/master/MIGRATING.md">migration guide</a> for more information. (<a href="https://redirect.github.com/MattiasBuelens/web-streams-polyfill/issues/82">#82</a>, <a href="https://redirect.github.com/MattiasBuelens/web-streams-polyfill/pull/139">#139</a>)</li> <li>💥 Remove the ES2018 variant, in favor of the ES2015 variant.</li> <li>💥 Switch to <a href="https://nodejs.org/api/packages.html#subpath-exports">subpath exports</a> for variants. <ul> <li>Node 12 or higher is required to <code>import</code> or <code>require()</code> a variant.</li> <li>When using TypeScript, version 4.7 or higher is now required. Additionally, <a href="https://www.typescriptlang.org/tsconfig#moduleResolution"><code>moduleResolution</code></a> must be set to <code>"node16"</code>, <code>"nodenext"</code> or <code>"bundler"</code>.</li> </ul> </li> <li>🚀 Support <a href="https://nodejs.org/api/esm.html">importing as ESM in Node</a>.</li> <li>💅 Minify all code in the published package, to reduce the download size.</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/MattiasBuelens/web-streams-polyfill/blob/master/CHANGELOG.md">web-streams-polyfill's changelog</a>.</em></p> <blockquote> <h2>4.5.1 (2026-11-06)</h2> <ul> <li>💅 Add <code>"sideEffects"</code> to <code>package.json</code>, so bundlers can remove unused imports of <code>web-streams-polyfill</code> and <code>web-streams-polyfill/es5</code>. Only <code>web-streams-polyfill/polyfill</code> and <code>web-streams-polyfill/polyfill/es5</code> are marked as having side effects. (<a href="https://redirect.github.com/MattiasBuelens/web-streams-polyfill/pull/255">#255</a>)</li> </ul> <h2>4.5.0 (2026-11-02)</h2> <ul> <li>🚀 Reduce allocations and promise overhead throughout the implementation. (<a href="https://redirect.github.com/MattiasBuelens/web-streams-polyfill/pull/237">#237</a>) <ul> <li><code>reader.closed</code>, <code>writer.closed</code> and <code>writer.ready</code> are now created lazily on first access, and internal promise callbacks are re-used instead of being recreated for every chunk.</li> <li><code>pipeTo()</code>, <code>tee()</code> and async iteration re-use their internal read requests, and <code>pipeTo()</code> no longer creates a promise for every written chunk.</li> <li>Creating a <code>ReadableStream</code> without a <code>pull()</code> method no longer schedules a pull or an extra microtask.</li> <li>These optimizations were inspired by similar work in Node.js: <a href="https://redirect.github.com/nodejs/node/pull/63572">#63572</a>, <a href="https://redirect.github.com/nodejs/node/pull/63876">#63876</a>, <a href="https://redirect.github.com/nodejs/node/pull/64320">#64320</a>, <a href="https://redirect.github.com/nodejs/node/pull/64431">#64431</a>, <a href="https://redirect.github.com/nodejs/node/pull/64818">#64818</a>, <a href="https://redirect.github.com/nodejs/node/pull/64890">#64890</a>, <a href="https://redirect.github.com/nodejs/node/pull/65138">#65138</a>, <a href="https://redirect.github.com/nodejs/node/pull/65414">#65414</a>, <a href="https://redirect.github.com/nodejs/node/pull/66052">#66052</a>, <a href="https://redirect.github.com/nodejs/node/pull/66154">#66154</a>, <a href="https://redirect.github.com/nodejs/node/pull/66392">#66392</a>, <a href="https://redirect.github.com/nodejs/node/pull/66424">#66424</a>.</li> </ul> </li> <li>🐛 Use ESM type definitions (<code>types/ponyfill.d.mts</code>) for the <code>import</code> condition of <code>web-streams-polyfill</code> and <code>web-streams-polyfill/es5</code>, so TypeScript no longer treats them as CommonJS types. (<a href="https://redirect.github.com/MattiasBuelens/web-streams-polyfill/pull/242">#242</a>) <ul> <li><code>types/tsdoc-metadata.json</code> is no longer published.</li> </ul> </li> </ul> <h2>4.4.0 (2026-11-02)</h2> <ul> <li>🐛 Fix memory leak where internal promises kept piling up inside <code>ReadableStream.pipeTo()</code> whenever the destination applies backpressure. (<a href="https://redirect.github.com/MattiasBuelens/web-streams-polyfill/pull/217">#217</a>)</li> <li>👓 Reject strings and other non-object values in <code>ReadableStream.from()</code>, as the argument is now converted to an IDL <code>async_sequence</code>. (<a href="https://redirect.github.com/whatwg/streams/pull/1372">whatwg/streams#1372</a>)</li> </ul> <h2>4.3.0 (2026-05-15)</h2> <ul> <li>🚀 Optimize reading from a <code>ReadableStream</code> with buffered chunks. (<a href="https://redirect.github.com/MattiasBuelens/web-streams-polyfill/pull/170">#170</a>) <ul> <li>When the stream has a chunk available in its internal queue, <code>defaultReader.read()</code> and <code>byobReader.read(view)</code> will now immediately return a resolved promise using <code>Promise.resolve()</code>. This turns out to be (slightly) faster than creating a <code>new Promise</code> and then immediately resolving it.</li> </ul> </li> <li>🚀 Optimize piping from a <code>ReadableStream</code> with buffered chunks. (<a href="https://redirect.github.com/MattiasBuelens/web-streams-polyfill/pull/170">#170</a>) <ul> <li>When the stream has one or more chunks available in its internal queue, <code>pipeTo()</code> will now read all available chunks in a single batch and write them to the destination (while still respecting backpressure).</li> <li>These optimizations were <a href="https://github.com/nodejs/node/commit/199daab0b0822d6063a73b9362bfce8667d2a112">inspired by Node.js</a>.</li> </ul> </li> </ul> <h2>4.2.0 (2025-08-17)</h2> <ul> <li>👓 Align with <a href="https://github.com/whatwg/streams/tree/080852ccd709e063cc6af239ae07fc040e365179/">spec version <code>080852c</code></a> (<a href="https://redirect.github.com/MattiasBuelens/web-streams-polyfill/pull/161">#161</a>)</li> </ul> <h2>4.1.0 (2025-01-05)</h2> <ul> <li>👓 Align with <a href="https://github.com/whatwg/streams/tree/fa4891a35ff05281ff8ed66f8ad447644ea7cec3/">spec version <code>fa4891a</code></a> (<a href="https://redirect.github.com/MattiasBuelens/web-streams-polyfill/pull/156">#156</a>) <ul> <li>Commit pull-into descriptors <em>after</em> filling them from the internal queue. This prevents an issue where an incorrect BYOB request would temporarily be visible through a patched <code>Object.prototype.then</code>, which broke some internal invariants.</li> <li>The <code>next()</code> and <code>return()</code> methods of <code>ReadableStream</code>'s async iterator are now correctly "chained", such that the promises returned by <em>either</em> of these methods are always resolved in the same order as those methods were called.</li> </ul> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/MattiasBuelens/web-streams-polyfill/commit/61a876ca8f93702bbe4243aa00b61fc3d861a9b8"><code>61a876c</code></a> 4.5.1</li> <li><a href="https://github.com/MattiasBuelens/web-streams-polyfill/commit/72e3c2fe36fd04e5c72e1c26b33b4d00acf59bd2"><code>72e3c2f</code></a> Draft a GitHub release when a release PR lands (<a href="https://redirect.github.com/MattiasBuelens/web-streams-polyfill/issues/259">#259</a>)</li> <li><a href="https://github.com/MattiasBuelens/web-streams-polyfill/commit/71a0a37537d9a21ccf6034671d3f6aa3055065ca"><code>71a0a37</code></a> Bump the development-dependencies group with 4 updates (<a href="https://redirect.github.com/MattiasBuelens/web-streams-polyfill/issues/251">#251</a>)</li> <li><a href="https://github.com/MattiasBuelens/web-streams-polyfill/commit/62c0af2f5e25984c4f44de694a80b6791c0f0fcf"><code>62c0af2</code></a> Run browser tests in the Playwright container matching the lockfile (<a href="https://redirect.github.com/MattiasBuelens/web-streams-polyfill/issues/256">#256</a>)</li> <li><a href="https://github.com/MattiasBuelens/web-streams-polyfill/commit/6852f7e20bacbab8cee315dcb1f4b2939bc037bd"><code>6852f7e</code></a> Merge pull request <a href="https://redirect.github.com/MattiasBuelens/web-streams-polyfill/issues/255">#255</a> from retyui/add-side-effects</li> <li><a href="https://github.com/MattiasBuelens/web-streams-polyfill/commit/bd49ecedbd1b8503c7d35b5bc3d3f42c83c19120"><code>bd49ece</code></a> Add changelog entry</li> <li><a href="https://github.com/MattiasBuelens/web-streams-polyfill/commit/e58bea11df6b718e30c5bac0c67cdf13a64a6fe2"><code>e58bea1</code></a> Declare <code>sideEffects</code> in package.json</li> <li><a href="https://github.com/MattiasBuelens/web-streams-polyfill/commit/4ba4d3b65be14203d66a3ef639549d2574f37040"><code>4ba4d3b</code></a> 4.5.0</li> <li><a href="https://github.com/MattiasBuelens/web-streams-polyfill/commit/7ce6840299afae8713f0fb0670765ebb0bd31cc3"><code>7ce6840</code></a> Merge pull request <a href="https://redirect.github.com/MattiasBuelens/web-streams-polyfill/issues/242">#242</a> from MattiasBuelens/claude/project-thread-xpot05</li> <li><a href="https://github.com/MattiasBuelens/web-streams-polyfill/commit/3e68ff3a5587d11d8efcb658aa722fad4ec41cbb"><code>3e68ff3</code></a> Drop type casts in build plugins</li> <li>Additional commits viewable in <a href="https://github.com/MattiasBuelens/web-streams-polyfill/compare/v3.2.1...v4.5.1">compare view</a></li> </ul> </details> <details> <summary>Maintainer changes</summary> <p>This version was pushed to npm by <a href="https://www.npmjs.com/~GitHub%20Actions">GitHub Actions</a>, a new releaser for web-streams-polyfill since your current version.</p> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
