Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MINOR: [JS] Bump web-streams-polyfill from 3.2.1 to 4.0.0 in /js #41483

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 1, 2024

Bumps web-streams-polyfill from 3.2.1 to 4.0.0.

Release notes

Sourced from web-streams-polyfill's releases.

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

v4.0.0-beta.3

v4.0.0-beta.2

  • 🚀 Support calling ReadableStream.pipeTo(writable) and .pipeThrough({ readable, writable }) when writable is a native (i.e. not polyfilled) WritableStream. (#99, #101)
  • 💅 Add fallback for package exports for backwards compatibility with older Node versions. (#107)
  • 🐛 Prevent warnings from Bluebird about a promise being created within a handler but not being returned from a handler. (#91)

v4.0.0-beta.1

  • 💥 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, #83)
  • 💥 Remove the ES2018 variant, in favor of the ES2015 variant.
  • 🚀 Support importing as ESM in Node.
  • 💅 Minify all code in the published package, to reduce the download size.
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

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

v3.3.2

... (truncated)

Changelog

Sourced from web-streams-polyfill's changelog.

4.0.0 (2024-02-28)

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

3.3.3 (2024-02-16)

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

3.3.2 (2024-01-04)

  • 🐛 Fix bad publish to npm.

3.3.1 (2024-01-04)

  • 🐛 Revert engines bump in package.json. (#137, #138)
  • 🐛 Re-introduce support for TypeScript 3.5 and below. (#137, #138)

3.3.0 (2024-01-04)

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

... (truncated)

Commits

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot requested review from domoritz and trxcllnt as code owners May 1, 2024 16:09
@dependabot dependabot bot added dependencies Dependabot-only javascript Pull requests that update Javascript code labels May 1, 2024
@kou
Copy link
Member

kou commented May 1, 2024

It seems that we need to change our code to use 4.0.0.

@raulcd
Copy link
Member

raulcd commented Dec 11, 2024

@dependabot recreate

Bumps [web-streams-polyfill](https://github.com/MattiasBuelens/web-streams-polyfill) from 3.2.1 to 4.0.0.
- [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.0.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/js/web-streams-polyfill-4.0.0 branch from 7e8822f to d988a58 Compare December 11, 2024 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting review Awaiting review Component: JavaScript dependencies Dependabot-only javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants