Update dependency core-js to ^3.34.0 (main) (#173224)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [core-js](https://togithub.com/zloirock/core-js)
([source](https://togithub.com/zloirock/core-js/tree/HEAD/packages/core-js))
| [`^3.31.0` ->
`^3.34.0`](https://renovatebot.com/diffs/npm/core-js/3.31.0/3.34.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/core-js/3.34.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/core-js/3.34.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/core-js/3.31.0/3.34.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/core-js/3.31.0/3.34.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>zloirock/core-js (core-js)</summary>

###
[`v3.34.0`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3340---20231206)

[Compare
Source](https://togithub.com/zloirock/core-js/compare/v3.33.3...v3.34.0)

- [`Array` grouping
proposal](https://togithub.com/tc39/proposal-array-grouping):
    -   Methods:
        -   `Object.groupBy`
        -   `Map.groupBy`
- Moved to stable ES, [November 2023 TC39
meeting](https://togithub.com/tc39/proposal-array-grouping/issues/60)
- Added `es.` namespace modules, `/es/` and `/stable/` namespaces
entries
- [`Promise.withResolvers`
proposal](https://togithub.com/tc39/proposal-promise-with-resolvers):
    -   Method:
        -   `Promise.withResolvers`
- Moved to stable ES, [November 2023 TC39
meeting](https://twitter.com/robpalmer2/status/1729216597623976407)
- Added `es.` namespace module, `/es/` and `/stable/` namespaces entries
- Fixed a web incompatibility issue of [`Iterator` helpers
proposal](https://togithub.com/tc39/proposal-iterator-helpers),
[proposal-iterator-helpers/287](https://togithub.com/tc39/proposal-iterator-helpers/pull/287)
and some following changes, November 2023 TC39 meeting
- Added [`Uint8Array` to / from base64 and hex stage 2
proposal](https://togithub.com/tc39/proposal-arraybuffer-base64):
    -   Methods:
        -   `Uint8Array.fromBase64`
        -   `Uint8Array.fromHex`
        -   `Uint8Array.prototype.toBase64`
        -   `Uint8Array.prototype.toHex`
- Relaxed some specific cases of
[`Number.fromString`](https://togithub.com/tc39/proposal-number-fromstring)
validation before clarification of
[proposal-number-fromstring/24](https://togithub.com/tc39/proposal-number-fromstring/issues/24)
- Fixed `@@&#8203;toStringTag` property descriptors on DOM collections,
[#&#8203;1312](https://togithub.com/zloirock/core-js/issues/1312)
- Fixed the order of arguments validation in `Array` iteration methods,
[#&#8203;1313](https://togithub.com/zloirock/core-js/issues/1313)
-   Some minor `atob` / `btoa` improvements
-   Compat data improvements:
-
[`Promise.withResolvers`](https://togithub.com/tc39/proposal-promise-with-resolvers)
marked as shipped from FF121

###
[`v3.33.3`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3333---20231120)

[Compare
Source](https://togithub.com/zloirock/core-js/compare/v3.33.2...v3.33.3)

- Fixed an issue getting the global object on Duktape,
[#&#8203;1303](https://togithub.com/zloirock/core-js/issues/1303)
- Avoid sharing internal `[[DedentMap]]` from [`String.dedent`
proposal](https://togithub.com/tc39/proposal-string-dedent) between
`core-js` instances before stabilization of the proposal
-   Some internal untangling
-   Compat data improvements:
- Added [Deno 1.38](https://deno.com/blog/v1.38) compat data mapping
-
[`Array.fromAsync`](https://togithub.com/tc39/proposal-array-from-async)
marked as [supported from Deno
1.38](https://togithub.com/denoland/deno/pull/21048)
- [`Symbol.{ dispose, asyncDispose
}`](https://togithub.com/tc39/proposal-explicit-resource-management)
marked as [supported from Deno
1.38](https://togithub.com/denoland/deno/pull/20845)
    -   Added Opera Android 79 compat data mapping
    -   Added Oculus Quest Browser 30 compat data mapping
    -   Updated Electron 28 and 29 compat data mapping

###
[`v3.33.2`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3332---20231031)

[Compare
Source](https://togithub.com/zloirock/core-js/compare/v3.33.1...v3.33.2)

- Simplified `structuredClone` polyfill, avoided second tree pass in
cases of transferring
- Added support of
[`SuppressedError`](https://togithub.com/tc39/proposal-explicit-resource-management#the-suppressederror-error)
to `structuredClone` polyfill
- Removed unspecified unnecessary `ArrayBuffer` and `DataView`
dependencies of `structuredClone` lack of which could cause errors in
some entries in IE10-
- Fixed handling of fractional number part in
[`Number.fromString`](https://togithub.com/tc39/proposal-number-fromstring)
-   Compat data improvements:
- [`URL.canParse`](https://url.spec.whatwg.org/#dom-url-canparse) marked
as [supported from Chromium
120](https://bugs.chromium.org/p/chromium/issues/detail?id=1425839)
    -   Updated Opera Android 78 compat data mapping
    -   Added Electron 29 compat data mapping

###
[`v3.33.1`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3331---20231020)

[Compare
Source](https://togithub.com/zloirock/core-js/compare/v3.33.0...v3.33.1)

- Added one more workaround of possible error with `Symbol` polyfill on
global object,
[#&#8203;1289](https://togithub.com/zloirock/core-js/issues/1289#issuecomment-1768411444)
- Directly specified `type: commonjs` in `package.json` of all packages
to avoid potential breakage in future Node versions, see [this
issue](https://togithub.com/nodejs/TSC/issues/1445)
- Prevented potential issue with lack of some dependencies after
automatic optimization polyfills of some methods in the pure version
-   Some minor internal fixes and optimizations
-   Compat data improvements:
- [`String.prototype.{ isWellFormed, toWellFormed
}`](https://togithub.com/tc39/proposal-is-usv-string) marked as
[supported from
FF119](https://bugzilla.mozilla.org/show_bug.cgi?id=1850755)
- Added React Native 0.73 Hermes compat data, mainly fixes of [some
issues](https://togithub.com/facebook/hermes/issues/770)
- Added [NodeJS 21.0 compat data
mapping](https://nodejs.org/ru/blog/release/v21.0.0)

###
[`v3.33.0`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3330---20231002)

[Compare
Source](https://togithub.com/zloirock/core-js/compare/v3.32.2...v3.33.0)

- Re-introduced [`RegExp` escaping stage 2
proposal](https://togithub.com/tc39/proposal-regex-escaping), September
2023 TC39 meeting:
- Added `RegExp.escape` method with the new set of symbols for escaping
- Some years ago, it was presented in `core-js`, but it was removed
after rejecting the old version of this proposal
- Added [`ArrayBuffer.prototype.{ transfer, transferToFixedLength
}`](https://togithub.com/tc39/proposal-arraybuffer-transfer) and support
transferring of `ArrayBuffer`s via
[`structuredClone`](https://html.spec.whatwg.org/multipage/structured-data.html#dom-structuredclone)
to engines with `MessageChannel`
- Optimized
[`Math.f16round`](https://togithub.com/tc39/proposal-float16array)
polyfill
- Fixed [some conversion
cases](https://togithub.com/petamoriken/float16/issues/1046) of
[`Math.f16round` and `DataView.prototype.{ getFloat16, setFloat16
}`](https://togithub.com/tc39/proposal-float16array)
- Fully forced polyfilling of [the TC39 `Observable`
proposal](https://togithub.com/tc39/proposal-observable) because of
incompatibility with [the new WHATWG `Observable`
proposal](https://togithub.com/WICG/observable)
- Added an extra workaround of errors with exotic environment objects in
`Symbol` polyfill,
[#&#8203;1289](https://togithub.com/zloirock/core-js/issues/1289)
-   Some minor fixes and stylistic changes
-   Compat data improvements:
- V8 unshipped [`Iterator`
helpers](https://togithub.com/tc39/proposal-iterator-helpers) because of
[some Web compatibility
issues](https://togithub.com/tc39/proposal-iterator-helpers/issues/286)
-
[`Promise.withResolvers`](https://togithub.com/tc39/proposal-promise-with-resolvers)
marked as [supported from V8 ~ Chrome
119](https://chromestatus.com/feature/5810984110784512)
- [`Array` grouping
proposal](https://togithub.com/tc39/proposal-array-grouping) features
marked as [supported from
FF119](https://bugzilla.mozilla.org/show_bug.cgi?id=1792650#c9)
- [`value` argument of `URLSearchParams.prototype.{ has, delete
}`](https://url.spec.whatwg.org/#dom-urlsearchparams-delete) marked as
properly supported from V8 ~ Chrome 118
- [`URL.canParse`](https://url.spec.whatwg.org/#dom-url-canparse) and
[`URLSearchParams.prototype.size`](https://url.spec.whatwg.org/#dom-urlsearchparams-size)
marked as [supported from Bun
1.0.2](https://togithub.com/oven-sh/bun/releases/tag/bun-v1.0.2)
    -   Added Deno 1.37 compat data mapping
    -   Added Electron 28 compat data mapping
    -   Added Opera Android 78 compat data mapping

###
[`v3.32.2`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3322---20230907)

[Compare
Source](https://togithub.com/zloirock/core-js/compare/v3.32.1...v3.32.2)

- Fixed `structuredClone` feature detection `core-js@3.32.1` bug,
[#&#8203;1288](https://togithub.com/zloirock/core-js/issues/1288)
- Added a workaround of old WebKit + `eval` bug,
[#&#8203;1287](https://togithub.com/zloirock/core-js/pull/1287)
-   Compat data improvements:
    -   Added Samsung Internet 23 compat data mapping
    -   Added Quest Browser 29 compat data mapping

###
[`v3.32.1`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3321---20230819)

[Compare
Source](https://togithub.com/zloirock/core-js/compare/v3.32.0...v3.32.1)

- Fixed some cases of IEEE754 rounding,
[#&#8203;1279](https://togithub.com/zloirock/core-js/issues/1279),
thanks [**@&#8203;petamoriken**](https://togithub.com/petamoriken)
- Prevented injection `process` polyfill to `core-js` via some bundlers
or `esm.sh`,
[#&#8203;1277](https://togithub.com/zloirock/core-js/issues/1277)
-   Some minor fixes and stylistic changes
-   Compat data improvements:
-
[`Promise.withResolvers`](https://togithub.com/tc39/proposal-promise-with-resolvers)
marked as supported [from Bun
0.7.1](https://bun.sh/blog/bun-v0.7.1#bun-ismainthread-and-promise-withresolvers)
    -   Added Opera Android 77 compat data mapping
    -   Updated Electron 27 compat data mapping

###
[`v3.32.0`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3320---20230728)

[Compare
Source](https://togithub.com/zloirock/core-js/compare/v3.31.1...v3.32.0)

- [`Array` grouping
proposal](https://togithub.com/tc39/proposal-array-grouping), July 2023
TC39 meeting updates:
- [Moved back to stage
3](https://togithub.com/tc39/proposal-array-grouping/issues/54)
- Added `/actual/` namespaces entries, unconditional forced replacement
changed to feature detection
- [`Promise.withResolvers`
proposal](https://togithub.com/tc39/proposal-promise-with-resolvers),
July 2023 TC39 meeting updates:
- [Moved to stage
3](https://togithub.com/tc39/proposal-promise-with-resolvers/pull/18)
- Added `/actual/` namespaces entries, unconditional forced replacement
changed to feature detection
- [`Set` methods stage 3
proposal](https://togithub.com/tc39/proposal-set-methods), July 2023
TC39 meeting updates:
- Throw on negative `Set` sizes,
[proposal-set-methods/88](https://togithub.com/tc39/proposal-set-methods/pull/88)
- Removed `IsCallable` check in `GetKeysIterator`,
[proposal-set-methods/101](https://togithub.com/tc39/proposal-set-methods/pull/101)
- [Iterator Helpers stage 3
proposal](https://togithub.com/tc39/proposal-iterator-helpers):
- Avoid creating observable `String` wrapper objects, July 2023 TC39
meeting update,
[proposal-iterator-helpers/281](https://togithub.com/tc39/proposal-iterator-helpers/pull/281)
- `Iterator` is not constructible from the active function object (works
as an abstract class)
-   Async explicit resource management:
- Moved back into [the initial
proposal](https://togithub.com/tc39/proposal-explicit-resource-management)
-> moved to stage 3,
[proposal-explicit-resource-management/154](https://togithub.com/tc39/proposal-explicit-resource-management/pull/154)
- Added `/actual/` namespace entries, unconditional forced replacement
changed to feature detection
- Ignore return value of `[@@&#8203;dispose]()` method when hint is
`async-dispose`,
[proposal-explicit-resource-management/180](https://togithub.com/tc39/proposal-explicit-resource-management/pull/180)
- Added ticks for empty resources,
[proposal-explicit-resource-management/163](https://togithub.com/tc39/proposal-explicit-resource-management/pull/163)
- Added some methods from [`Float16Array` stage 3
proposal](https://togithub.com/tc39/proposal-float16array):
- There are some reason why I don't want to add `Float16Array` right
now, however, make sense to add some methods from this proposal.
    -   Methods:
        -   `Math.f16round`
        -   `DataView.prototype.getFloat16`
        -   `DataView.prototype.setFloat16`
- Added [`DataView` get / set `Uint8Clamped` methods stage 1
proposal](https://togithub.com/tc39/proposal-dataview-get-set-uint8clamped):
    -   Methods:
        -   `DataView.prototype.getUint8Clamped`
        -   `DataView.prototype.setUint8Clamped`
- Used strict mode in some missed cases,
[#&#8203;1269](https://togithub.com/zloirock/core-js/issues/1269)
- Fixed [a Chromium 117
bug](https://bugs.chromium.org/p/v8/issues/detail?id=14222) in `value`
argument of `URLSearchParams.prototype.{ has, delete }`
- Fixed early WebKit ~ Safari 17.0 beta `Set` methods implementation by
the actual spec
- Fixed incorrect `Symbol.{ dispose, asyncDispose }` descriptors from
[NodeJS 20.4](https://togithub.com/nodejs/node/issues/48699) /
transpilers helpers / userland code
- Fixed forced polyfilling of some iterator helpers that should return
wrapped iterator in the pure version
- Fixed and exposed [`AsyncIteratorPrototype` `core-js/configurator`
option](https://togithub.com/zloirock/core-js#asynciterator-helpers),
[#&#8203;1268](https://togithub.com/zloirock/core-js/issues/1268)
-   Compat data improvements:
- Sync [`Iterator` helpers
proposal](https://togithub.com/tc39/proposal-iterator-helpers) features
marked as [supported](https://chromestatus.com/feature/5102502917177344)
from V8 ~ Chrome 117
- [`Array` grouping
proposal](https://togithub.com/tc39/proposal-array-grouping) features
marked as [supported](https://chromestatus.com/feature/5714791975878656)
from V8 ~ Chrome 117
- Mark `Symbol.{ dispose, asyncDispose }` as supported from NodeJS
20.5.0 (as mentioned above, NodeJS 20.4.0 add it, but [with incorrect
descriptors](https://togithub.com/nodejs/node/issues/48699))
    -   Added Electron 27 compat data mapping

###
[`v3.31.1`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3311---20230706)

[Compare
Source](https://togithub.com/zloirock/core-js/compare/v3.31.0...v3.31.1)

- Fixed a `structuredClone` bug with cloning views of transferred
buffers,
[#&#8203;1265](https://togithub.com/zloirock/core-js/issues/1265)
-   Fixed the order of arguments validation in `DataView` methods
- Allowed cloning of
[`Float16Array`](https://togithub.com/tc39/proposal-float16array) in
`structuredClone`
-   Compat data improvements:
- [`Set` methods
proposal](https://togithub.com/tc39/proposal-set-methods) marked as
[supported from Safari
17.0](https://developer.apple.com/documentation/safari-release-notes/safari-17-release-notes#JavaScript)
- New `URL` features:
[`URL.canParse`](https://url.spec.whatwg.org/#dom-url-canparse),
[`URLSearchParams.prototype.size`](https://url.spec.whatwg.org/#dom-urlsearchparams-size)
and [`value` argument of `URLSearchParams.prototype.{ has, delete
}`](https://url.spec.whatwg.org/#dom-urlsearchparams-delete) marked as
[supported from Safari
17.0](https://developer.apple.com/documentation/safari-release-notes/safari-17-release-notes#Web-API)
- `value` argument of `URLSearchParams.prototype.{ has, delete }` marked
as supported from [Deno
1.35](https://togithub.com/denoland/deno/pull/19654)
- `AggregateError` and well-formed `JSON.stringify` marked as [supported
React Native 0.72
Hermes](https://reactnative.dev/blog/2023/06/21/0.72-metro-package-exports-symlinks#more-ecmascript-support-in-hermes)
    -   Added Deno 1.35 compat data mapping
    -   Added Quest Browser 28 compat data mapping
    -   Added missing NodeJS 12.16-12.22 compat data mapping
    -   Updated Opera Android 76 compat data mapping

</details>

---

### 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.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/elastic/kibana).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy44Ny4yIiwidXBkYXRlZEluVmVyIjoiMzcuODcuMiIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jonathan Budzenski <jon@elastic.co>
This commit is contained in:
renovate[bot] 2023-12-18 15:26:20 -06:00 committed by GitHub
parent 8a53f32a9f
commit 2dc5a2c199
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 7 deletions

View file

@ -906,7 +906,7 @@
"compare-versions": "3.5.1",
"constate": "^3.3.2",
"copy-to-clipboard": "^3.0.8",
"core-js": "^3.31.0",
"core-js": "^3.34.0",
"cronstrue": "^1.51.0",
"css-box-model": "^1.2.1",
"css.escape": "^1.5.1",

View file

@ -31,7 +31,7 @@ module.exports = (_, options = {}) => {
// Because of that we should use for that value the same version we install
// in the package.json in order to have the same polyfills between the environment
// and the tests
corejs: '3.31.0',
corejs: '3.34.0',
bugfixes: true,
...(options['@babel/preset-env'] || {}),

View file

@ -19,7 +19,7 @@ module.exports = (api, options = {}) => {
modules: false,
// Please read the explanation for this
// in node_preset.js
corejs: '3.31.0',
corejs: '3.34.0',
bugfixes: true,
browserslistEnv: api.env('production') ? 'production' : 'dev',
},

View file

@ -13647,10 +13647,10 @@ core-js@^2.4.0, core-js@^2.5.0, core-js@^2.6.9:
resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.6.9.tgz#6b4b214620c834152e179323727fc19741b084f2"
integrity sha512-HOpZf6eXmnl7la+cUdMnLvUxKNqLUzJvgIziQ0DiF3JwSImNphIqdGqzj6hIKyX04MmV0poclQ7+wjWvxQyR2A==
core-js@^3.0.4, core-js@^3.31.0, core-js@^3.6.5, core-js@^3.8.2, core-js@^3.8.3:
version "3.31.0"
resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.31.0.tgz#4471dd33e366c79d8c0977ed2d940821719db344"
integrity sha512-NIp2TQSGfR6ba5aalZD+ZQ1fSxGhDo/s1w0nx3RYzf2pnJxt7YynxFlFScP6eV7+GZsKO95NSjGxyJsU3DZgeQ==
core-js@^3.0.4, core-js@^3.34.0, core-js@^3.6.5, core-js@^3.8.2, core-js@^3.8.3:
version "3.34.0"
resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.34.0.tgz#5705e6ad5982678612e96987d05b27c6c7c274a5"
integrity sha512-aDdvlDder8QmY91H88GzNi9EtQi2TjvQhpCX6B1v/dAZHU1AuLgHvRh54RiOerpEhEW46Tkf+vgAViB/CWC0ag==
core-util-is@1.0.2, core-util-is@^1.0.2, core-util-is@~1.0.0:
version "1.0.2"