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

Update polyfills (main) #178576

Merged
merged 5 commits into from
Mar 13, 2024
Merged

Update polyfills (main) #178576

merged 5 commits into from
Mar 13, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 12, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
core-js (source) ^3.34.0 -> ^3.36.0 age adoption passing confidence
web-streams-polyfill ^3.2.1 -> ^4.0.0 age adoption passing confidence

Release Notes

zloirock/core-js (core-js)

v3.36.0

Compare Source

v3.35.1

Compare Source

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

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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


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

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added release_note:skip Skip the PR/issue when compiling release notes Team:Operations Team label for Operations Team labels Mar 12, 2024
@renovate renovate bot requested a review from a team March 12, 2024 21:09
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-operations (Team:Operations)

@renovate renovate bot requested a review from a team as a code owner March 12, 2024 23:21
@jbudz
Copy link
Member

jbudz commented Mar 12, 2024

buildkite test this

Copy link
Contributor Author

renovate bot commented Mar 12, 2024

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

Warning: custom changes will be lost.

@jbudz
Copy link
Member

jbudz commented Mar 13, 2024

buildkite test this

@kibana-ci
Copy link
Collaborator

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] Jest Tests #3 / ColumnsPopover renders correctly a list of selected columns

Metrics [docs]

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
kbnUiSharedDeps-npmDll 6.2MB 6.2MB +1.0KB
Unknown metric groups

ESLint disabled line counts

id before after diff
@kbn/test 6 7 +1

Total ESLint disabled count

id before after diff
@kbn/test 6 7 +1

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@jbudz jbudz merged commit d7a8dd4 into main Mar 13, 2024
34 checks passed
@jbudz jbudz deleted the renovate/main-polyfills branch March 13, 2024 13:22
@kibanamachine kibanamachine added v8.14.0 backport:skip This commit does not require backporting labels Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting release_note:skip Skip the PR/issue when compiling release notes Team:Operations Team label for Operations Team v8.14.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants