dependabot[bot] opened a new pull request, #445: URL: https://github.com/apache/arrow-js/pull/445
Bumps [web-streams-polyfill](https://github.com/MattiasBuelens/web-streams-polyfill) from 3.2.1 to 4.3.0. <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.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> <li>💅 Rework <code>ReadableStream.from()</code> implementation to avoid depending on <code>async function*</code> down-leveling for ES5. (<a href="https://redirect.github.com/MattiasBuelens/web-streams-polyfill/pull/144">#144</a>)</li> </ul> <table> <thead> <tr> <th>v3 import</th> <th>v4 import</th> <th>description</th> </tr> </thead> <tbody> <tr> <td><code>web-streams-polyfill</code></td> <td><code>web-streams-polyfill/polyfill/es5</code></td> <td>ES5+ polyfill</td> </tr> <tr> <td><code>web-streams-polyfill/es6</code></td> <td><code>web-streams-polyfill/polyfill</code></td> <td>ES2015+ polyfill</td> </tr> <tr> <td><code>web-streams-polyfill/es2018</code></td> <td><code>web-streams-polyfill/polyfill</code></td> <td>ES2015+ polyfill</td> </tr> <tr> <td><code>web-streams-polyfill/ponyfill</code></td> <td><code>web-streams-polyfill/es5</code></td> <td>ES5+ ponyfill</td> </tr> <tr> <td><code>web-streams-polyfill/ponyfill/es6</code></td> <td><code>web-streams-polyfill</code></td> <td>ES2015+ ponyfill</td> </tr> <tr> <td><code>web-streams-polyfill/ponyfill/es2018</code></td> <td><code>web-streams-polyfill</code></td> <td>ES2015+ ponyfill</td> </tr> </tbody> </table> <h2>v4.0.0-beta.3</h2> <ul> <li>👓 Align with <a href="https://github.com/whatwg/streams/tree/e9355ce79925947e8eb496563d599c329769d315/">spec version <code>e9355ce</code></a>. (<a href="https://redirect.github.com/MattiasBuelens/web-streams-polyfill/issues/115">#115</a>, <a href="https://redirect.github.com/MattiasBuelens/web-streams-polyfill/pull/117">#117</a>)</li> <li>🐛 Fix <code>pipeTo()</code> never rejecting when aborting its <code>signal</code> and <code>preventCancel</code> is set to <code>true</code>. (<a href="https://redirect.github.com/MattiasBuelens/web-streams-polyfill/issues/118">#118</a>, <a href="https://redirect.github.com/MattiasBuelens/web-streams-polyfill/pull/119">#119</a>)</li> </ul> <h2>v4.0.0-beta.2</h2> <ul> <li>🚀 Support calling <code>ReadableStream.pipeTo(writable)</code> and <code>.pipeThrough({ readable, writable })</code> when <code>writable</code> is a native (i.e. not polyfilled) <code>WritableStream</code>. (<a href="https://redirect.github.com/MattiasBuelens/web-streams-polyfill/pull/99">#99</a>, <a href="https://redirect.github.com/MattiasBuelens/web-streams-polyfill/pull/101">#101</a>)</li> <li>💅 Add fallback for package exports for backwards compatibility with older Node versions. (<a href="https://redirect.github.com/MattiasBuelens/web-streams-polyfill/pull/107">#107</a>)</li> <li>🐛 Prevent <a href="http://bluebirdjs.com/docs/warning-explanations.html#warning-a-promise-was-created-in-a-handler-but-was-not-returned-from-it">warnings from Bluebird</a> about a promise being created within a handler but not being returned from a handler. (<a href="https://redirect.github.com/MattiasBuelens/web-streams-polyfill/pull/91">#91</a>)</li> </ul> <h2>v4.0.0-beta.1</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.</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.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> <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>4.0.0 (2024-02-28)</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> <li>💅 Rework <code>ReadableStream.from()</code> implementation to avoid depending on <code>async function*</code> down-leveling for ES5. (<a href="https://redirect.github.com/MattiasBuelens/web-streams-polyfill/pull/144">#144</a>)</li> </ul> <table> <thead> <tr> <th>v3 import</th> <th>v4 import</th> <th>description</th> </tr> </thead> <tbody> <tr> <td><code>web-streams-polyfill</code></td> <td><code>web-streams-polyfill/polyfill/es5</code></td> <td>ES5+ polyfill</td> </tr> <tr> <td><code>web-streams-polyfill/es6</code></td> <td><code>web-streams-polyfill/polyfill</code></td> <td>ES2015+ polyfill</td> </tr> <tr> <td><code>web-streams-polyfill/es2018</code></td> <td><code>web-streams-polyfill/polyfill</code></td> <td>ES2015+ polyfill</td> </tr> <tr> <td><code>web-streams-polyfill/ponyfill</code></td> <td><code>web-streams-polyfill/es5</code></td> <td>ES5+ ponyfill</td> </tr> <tr> <td><code>web-streams-polyfill/ponyfill/es6</code></td> <td><code>web-streams-polyfill</code></td> <td>ES2015+ ponyfill</td> </tr> <tr> <td><code>web-streams-polyfill/ponyfill/es2018</code></td> <td><code>web-streams-polyfill</code></td> <td>ES2015+ ponyfill</td> </tr> </tbody> </table> <h2>3.3.3 (2024-02-16)</h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/MattiasBuelens/web-streams-polyfill/commit/12b4fedec6c01503a137d837204ca0b85992461e"><code>12b4fed</code></a> 4.3.0</li> <li><a href="https://github.com/MattiasBuelens/web-streams-polyfill/commit/830acf3721a277ea928de4f2bfa91fb87719776c"><code>830acf3</code></a> Update changelog [skip ci]</li> <li><a href="https://github.com/MattiasBuelens/web-streams-polyfill/commit/932cace124cab663226c3030a4ff4b0a5d26503f"><code>932cace</code></a> Merge pull request <a href="https://redirect.github.com/MattiasBuelens/web-streams-polyfill/issues/170">#170</a> from MattiasBuelens/optimize-read-buffered</li> <li><a href="https://github.com/MattiasBuelens/web-streams-polyfill/commit/f3ad04152242a547248c7ad315df3fc0ce1a5ffb"><code>f3ad041</code></a> Update changelog</li> <li><a href="https://github.com/MattiasBuelens/web-streams-polyfill/commit/afc47fe9763a2c5d912cb0426c113b796f619d9a"><code>afc47fe</code></a> Remove matrices with single entry</li> <li><a href="https://github.com/MattiasBuelens/web-streams-polyfill/commit/075ecb10cc11a3d8a76ca0a72859a6755f1cd21f"><code>075ecb1</code></a> Rename</li> <li><a href="https://github.com/MattiasBuelens/web-streams-polyfill/commit/7e4b5aa8880f9cb481bacde9909aa6337a49aa1c"><code>7e4b5aa</code></a> Move stuff around</li> <li><a href="https://github.com/MattiasBuelens/web-streams-polyfill/commit/c418337a264a56e0bddcbb11f6d6c8826770c981"><code>c418337</code></a> Extract <code>PipeState</code> and <code>PipeReadRequest</code> classes</li> <li><a href="https://github.com/MattiasBuelens/web-streams-polyfill/commit/9ebbe3b90a3132137564ccd76c6b54f764b2b0ed"><code>9ebbe3b</code></a> Simplify</li> <li><a href="https://github.com/MattiasBuelens/web-streams-polyfill/commit/ffd2f6a26d1f2e3e7a0414fb4dcedc821444dc75"><code>ffd2f6a</code></a> Fix formatting</li> <li>Additional commits viewable in <a href="https://github.com/MattiasBuelens/web-streams-polyfill/compare/v3.2.1...v4.3.0">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]
