Skip to content

Commit

Permalink
Update dependency core-js to v3.40.0 (#3563)
Browse files Browse the repository at this point in the history
This PR contains the following updates:

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

---

### Release Notes

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

### [`v3.40.0`](https://redirect.github.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3400---20250108)

[Compare Source](https://redirect.github.com/zloirock/core-js/compare/v3.39.0...v3.40.0)

-   Changes [v3.39.0...v3.40.0](https://redirect.github.com/zloirock/core-js/compare/v3.39.0...v3.40.0) (130 commits)
-   Added [`Error.isError` stage 3 proposal](https://redirect.github.com/tc39/proposal-is-error):
    -   Added built-ins:
        -   `Error.isError`
    -   We have no bulletproof way to polyfill this method / check if the object is an error, so it's an enough naive implementation that is marked as `.sham`
-   [Explicit Resource Management stage 3 proposal](https://redirect.github.com/tc39/proposal-explicit-resource-management):
    -   Updated the way async disposing of only sync disposable resources, [tc39/proposal-explicit-resource-management/218](https://redirect.github.com/tc39/proposal-explicit-resource-management/pull/218)
-   [`Iterator` sequencing stage 2.7 proposal](https://redirect.github.com/tc39/proposal-iterator-sequencing):
    -   Reuse `IteratorResult` objects when possible, [tc39/proposal-iterator-sequencing/17](https://redirect.github.com/tc39/proposal-iterator-sequencing/issues/17), [tc39/proposal-iterator-sequencing/18](https://redirect.github.com/tc39/proposal-iterator-sequencing/pull/18), December 2024 TC39 meeting
-   Added a fix of [V8 < 12.8](https://issues.chromium.org/issues/351332634) / [NodeJS < 22.10](https://redirect.github.com/nodejs/node/pull/54883) bug with handling infinite length of set-like objects in `Set` methods
-   Optimized `DataView.prototype.{ getFloat16, setFloat16 }` performance, [#&#8203;1379](https://redirect.github.com/zloirock/core-js/pull/1379), thanks [**@&#8203;LeviPesin**](https://redirect.github.com/LeviPesin)
-   Dropped unneeded feature detection of non-standard `%TypedArray%.prototype.toSpliced`
-   Dropped possible re-usage of some non-standard / early stage features (like `Math.scale`) available on global
-   Some other minor improvements
-   Compat data improvements:
    -   [`RegExp.escape`](https://redirect.github.com/tc39/proposal-regex-escaping) marked as shipped from Safari 18.2
    -   [`Promise.try`](https://redirect.github.com/tc39/proposal-promise-try) marked as shipped from Safari 18.2
    -   [`Math.f16round` and `DataView.prototype.{ getFloat16, setFloat16 }`](https://redirect.github.com/tc39/proposal-float16array) marked as shipped from Safari 18.2
    -   [`Uint8Array` to / from base64 and hex proposal](https://redirect.github.com/tc39/proposal-arraybuffer-base64) methods marked as shipped from Safari 18.2
    -   [`JSON.parse` source text access proposal](https://redirect.github.com/tc39/proposal-json-parse-with-source) features marked as [shipped from FF135](https://bugzilla.mozilla.org/show_bug.cgi?id=1934622)
    -   [`RegExp.escape`](https://redirect.github.com/tc39/proposal-regex-escaping) marked as shipped [from FF134](https://bugzilla.mozilla.org/show_bug.cgi?id=1918235)
    -   [`Promise.try`](https://redirect.github.com/tc39/proposal-promise-try) marked as shipped from FF134
    -   [`Symbol.dispose`, `Symbol.asyncDispose` and `Iterator.prototype[@&#8203;@&#8203;dispose]`](https://redirect.github.com/tc39/proposal-explicit-resource-management) marked as shipped from FF135
    -   [`JSON.parse` source text access proposal](https://redirect.github.com/tc39/proposal-json-parse-with-source) features marked as shipped from Bun 1.1.43
    -   Fixed NodeJS version where `URL.parse` was added - 22.1 instead of 22.0
    -   Added [Deno 2.1](https://redirect.github.com/denoland/deno/releases/tag/v2.1.0) compat data mapping
    -   Added [Rhino 1.8.0](https://redirect.github.com/mozilla/rhino/releases/tag/Rhino1\_8\_0\_Release) compat data with significant number of modern features
    -   Added Electron 35 compat data mapping
    -   Updated Opera 115+ compat data mapping
    -   Added Opera Android [86](https://forums.opera.com/topic/75006/opera-for-android-86) and 87 compat data mapping

### [`v3.39.0`](https://redirect.github.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3390---20241031)

[Compare Source](https://redirect.github.com/zloirock/core-js/compare/v3.38.1...v3.39.0)

-   Changes [v3.38.1...v3.39.0](https://redirect.github.com/zloirock/core-js/compare/v3.38.1...v3.39.0)
-   [`Iterator` helpers proposal](https://redirect.github.com/tc39/proposal-iterator-helpers):
    -   Built-ins:
        -   `Iterator`
            -   `Iterator.from`
            -   `Iterator.prototype.drop`
            -   `Iterator.prototype.every`
            -   `Iterator.prototype.filter`
            -   `Iterator.prototype.find`
            -   `Iterator.prototype.flatMap`
            -   `Iterator.prototype.forEach`
            -   `Iterator.prototype.map`
            -   `Iterator.prototype.reduce`
            -   `Iterator.prototype.some`
            -   `Iterator.prototype.take`
            -   `Iterator.prototype.toArray`
            -   `Iterator.prototype[@&#8203;@&#8203;toStringTag]`
    -   Moved to stable ES, [October 2024 TC39 meeting](https://redirect.github.com/tc39/proposal-iterator-helpers/issues/284#event-14549961807)
    -   Added `es.` namespace modules, `/es/` and `/stable/` namespaces entries
-   [`Promise.try`](https://redirect.github.com/tc39/proposal-promise-try):
    -   Built-ins:
        -   `Promise.try`
    -   Moved to stable ES, [October 2024 TC39 meeting](https://redirect.github.com/tc39/proposal-promise-try/commit/53d3351687274952b3b88f3ad024d9d68a9c1c93)
    -   Added `es.` namespace module, `/es/` and `/stable/` namespaces entries
    -   Fixed `/actual|full/promise/try` entries for the callback arguments support
-   [`Math.sumPrecise` proposal](https://redirect.github.com/tc39/proposal-math-sum):
    -   Built-ins:
        -   `Math.sumPrecise`
    -   Moved to stage 3, [October 2024 TC39 meeting](https://redirect.github.com/tc39/proposal-math-sum/issues/19)
    -   Added `/actual/` namespace entries, unconditional forced replacement changed to feature detection
-   Added [`Iterator` sequencing stage 2.7 proposal](https://redirect.github.com/tc39/proposal-iterator-sequencing):
    -   Added built-ins:
        -   `Iterator.concat`
-   [`Map` upsert stage 2 proposal](https://redirect.github.com/tc39/proposal-upsert):
    -   [Updated to the new API following the October 2024 TC39 meeting](https://redirect.github.com/tc39/proposal-upsert/pull/58)
    -   Added built-ins:
        -   `Map.prototype.getOrInsert`
        -   `Map.prototype.getOrInsertComputed`
        -   `WeakMap.prototype.getOrInsert`
        -   `WeakMap.prototype.getOrInsertComputed`
-   [Extractors proposal](https://redirect.github.com/tc39/proposal-extractors) moved to stage 2, [October 2024 TC39 meeting](https://redirect.github.com/tc39/proposals/commit/11bc489049fc5ce59b21e98a670a84f153a29a80)
-   Usage of `@@&#8203;species` pattern removed from `%TypedArray%` and `ArrayBuffer` methods, [tc39/ecma262/3450](https://redirect.github.com/tc39/ecma262/pull/3450):
    -   Built-ins:
        -   `%TypedArray%.prototype.filter`
        -   `%TypedArray%.prototype.filterReject`
        -   `%TypedArray%.prototype.map`
        -   `%TypedArray%.prototype.slice`
        -   `%TypedArray%.prototype.subarray`
        -   `ArrayBuffer.prototype.slice`
-   Some other minor improvements
-   Compat data improvements:
    -   [`Uint8Array` to / from base64 and hex proposal](https://redirect.github.com/tc39/proposal-arraybuffer-base64) methods marked as [shipped from FF133](https://bugzilla.mozilla.org/show_bug.cgi?id=1917885#c9)
    -   Added [NodeJS 23.0](https://nodejs.org/en/blog/release/v23.0.0) compat data mapping
    -   `self` descriptor [is fixed](https://redirect.github.com/denoland/deno/issues/24683) in Deno 1.46.0
    -   Added Deno [1.46](https://redirect.github.com/denoland/deno/releases/tag/v1.46.0) and [2.0](https://redirect.github.com/denoland/deno/releases/tag/v2.0.0) compat data mapping
    -   [`Iterator` helpers proposal](https://redirect.github.com/tc39/proposal-iterator-helpers) methods marked as [shipped from Bun 1.1.31](https://redirect.github.com/oven-sh/bun/pull/14455)
    -   Added Electron 34 and updated Electron 33 compat data mapping
    -   Added [Opera Android 85](https://forums.opera.com/topic/74256/opera-for-android-85) compat data mapping
    -   Added Oculus Quest Browser 35 compat data mapping

### [`v3.38.1`](https://redirect.github.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3381---20240820)

[Compare Source](https://redirect.github.com/zloirock/core-js/compare/v3.38.0...v3.38.1)

-   Changes [v3.38.0...v3.38.1](https://redirect.github.com/zloirock/core-js/compare/v3.38.0...v3.38.1)
-   Fixed some cases of `URLSearchParams` percent decoding, [#&#8203;1357](https://redirect.github.com/zloirock/core-js/issues/1357), [#&#8203;1361](https://redirect.github.com/zloirock/core-js/pull/1361), thanks [**@&#8203;slowcheetah**](https://redirect.github.com/slowcheetah)
-   Some stylistic changes and minor optimizations
-   Compat data improvements:
    -   [`Iterator` helpers proposal](https://redirect.github.com/tc39/proposal-iterator-helpers) methods marked as [shipped from FF131](https://bugzilla.mozilla.org/show_bug.cgi?id=1896390)
    -   [`Math.f16round` and `DataView.prototype.{ getFloat16, setFloat16 }`](https://redirect.github.com/tc39/proposal-float16array) marked as shipped from Bun 1.1.23
    -   [`RegExp.escape`](https://redirect.github.com/tc39/proposal-regex-escaping) marked as shipped from Bun 1.1.22
    -   [`Promise.try`](https://redirect.github.com/tc39/proposal-promise-try) marked as shipped from Bun 1.1.22
    -   [`Uint8Array` to / from base64 and hex proposal](https://redirect.github.com/tc39/proposal-arraybuffer-base64) methods marked as shipped from Bun 1.1.22
    -   Added Hermes 0.13 compat data, similar to React Native 0.75 Hermes
    -   Added Opera Android 84 compat data mapping

### [`v3.38.0`](https://redirect.github.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3380---20240805)

[Compare Source](https://redirect.github.com/zloirock/core-js/compare/v3.37.1...v3.38.0)

-   Changes [v3.37.1...v3.38.0](https://redirect.github.com/zloirock/core-js/compare/v3.37.1...v3.38.0)
-   [`RegExp.escape` proposal](https://redirect.github.com/tc39/proposal-regex-escaping):
    -   Built-ins:
        -   `RegExp.escape`
    -   Moved to stage 3, [June 2024](https://redirect.github.com/tc39/proposals/commit/4b8ee265248abfa2c88ed71b3c541ddd5a2eaffe) and [July 2024](https://redirect.github.com/tc39/proposals/commit/bdb2eea6c5e41a52f2d6047d7de1a31b5d188c4f) TC39 meetings
    -   Updated the way of escaping, [regex-escaping/77](https://redirect.github.com/tc39/proposal-regex-escaping/pull/77)
    -   Throw an error on non-strings, [regex-escaping/58](https://redirect.github.com/tc39/proposal-regex-escaping/pull/58)
    -   Added `/actual/` namespace entries, unconditional forced replacement changed to feature detection
-   [`Promise.try` proposal](https://redirect.github.com/tc39/proposal-promise-try):
    -   Built-ins:
        -   `Promise.try`
    -   Moved to stage 3, [June 2024 TC39 meeting](https://redirect.github.com/tc39/proposals/commit/de20984cd7f7bc616682c557cb839abc100422cb)
    -   Added `/actual/` namespace entries, unconditional forced replacement changed to feature detection
-   [`Uint8Array` to / from base64 and hex stage 3 proposal](https://redirect.github.com/tc39/proposal-arraybuffer-base64):
    -   Built-ins:
        -   `Uint8Array.fromBase64`
        -   `Uint8Array.fromHex`
        -   `Uint8Array.prototype.setFromBase64`
        -   `Uint8Array.prototype.setFromHex`
        -   `Uint8Array.prototype.toBase64`
        -   `Uint8Array.prototype.toHex`
    -   Added `Uint8Array.prototype.{ setFromBase64, setFromHex }` methods
    -   Added `Uint8Array.fromBase64` and `Uint8Array.prototype.setFromBase64` `lastChunkHandling` option, [proposal-arraybuffer-base64/33](https://redirect.github.com/tc39/proposal-arraybuffer-base64/pull/33)
    -   Added `Uint8Array.prototype.toBase64` `omitPadding` option, [proposal-arraybuffer-base64/60](https://redirect.github.com/tc39/proposal-arraybuffer-base64/pull/60)
    -   Added throwing a `TypeError` on arrays backed by detached buffers
    -   Unconditional forced replacement changed to feature detection
-   Fixed `RegExp` named capture groups polyfill in combination with non-capturing groups, [#&#8203;1352](https://redirect.github.com/zloirock/core-js/pull/1352), thanks [**@&#8203;Ulop**](https://redirect.github.com/Ulop)
-   Improved some cases of environment detection
-   Uses [`process.getBuiltinModule`](https://nodejs.org/docs/latest/api/process.html#processgetbuiltinmoduleid) for getting built-in NodeJS modules where it's available
-   Uses `https` instead of `http` in `URL` constructor feature detection to avoid extra notifications from some overly vigilant security scanners, [#&#8203;1345](https://redirect.github.com/zloirock/core-js/issues/1345)
-   Some minor optimizations
-   Updated `browserslist` in `core-js-compat` dependencies that fixes an upstream issue with incorrect interpretation of some `browserslist` queries, [#&#8203;1344](https://redirect.github.com/zloirock/core-js/issues/1344), [browserslist/829](https://redirect.github.com/browserslist/browserslist/issues/829), [browserslist/836](https://redirect.github.com/browserslist/browserslist/pull/836)
-   Compat data improvements:
    -   Added [Safari 18.0](https://webkit.org/blog/15443/news-from-wwdc24-webkit-in-safari-18-beta/) compat data:
        -   Fixed [`Object.groupBy` and `Map.groupBy`](https://redirect.github.com/tc39/proposal-array-grouping) to [work for non-objects](https://bugs.webkit.org/show_bug.cgi?id=271524)
        -   Fixed [throwing a `RangeError` if `Set` methods are called on an object with negative size property](https://bugs.webkit.org/show_bug.cgi?id=267494)
        -   Fixed [`Set.prototype.symmetricDifference` to call `this.has` in each iteration](https://bugs.webkit.org/show_bug.cgi?id=272679)
        -   Fixed [`Array.fromAsync`](https://redirect.github.com/tc39/proposal-array-from-async) to [not call the `Array` constructor twice](https://bugs.webkit.org/show_bug.cgi?id=271703)
        -   Added [`URL.parse`](https://url.spec.whatwg.org/#dom-url-parse)
    -   [`Math.f16round` and `DataView.prototype.{ getFloat16, setFloat16 }`](https://redirect.github.com/tc39/proposal-float16array) marked as [shipped from FF129](https://bugzilla.mozilla.org/show_bug.cgi?id=1903329)
    -   [`Symbol.asyncDispose`](https://redirect.github.com/tc39/proposal-explicit-resource-management) added and marked as supported from V8 ~ Chromium 127
    -   [`Promise.try`](https://redirect.github.com/tc39/proposal-promise-try) added and marked as supported [from V8 ~ Chromium 128](https://chromestatus.com/feature/6315704705089536)
    -   Added Deno [1.44](https://redirect.github.com/denoland/deno/releases/tag/v1.44.0) and [1.45](https://redirect.github.com/denoland/deno/releases/tag/v1.45.0) compat data mapping
    -   `self` descriptor [is broken in Deno 1.45.3](https://redirect.github.com/denoland/deno/issues/24683) (again)
    -   Added Electron 32 and 33 compat data mapping
    -   Added [Opera Android 83](https://forums.opera.com/topic/72570/opera-for-android-83) compat data mapping
    -   Added Samsung Internet 27 compat data mapping
    -   Added Oculus Quest Browser 34 compat data mapping

### [`v3.37.1`](https://redirect.github.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3371---20240514)

[Compare Source](https://redirect.github.com/zloirock/core-js/compare/v3.37.0...v3.37.1)

-   Changes [v3.37.0...v3.37.1](https://redirect.github.com/zloirock/core-js/compare/v3.37.0...v3.37.1)
-   Fixed [`URL.parse`](https://url.spec.whatwg.org/#dom-url-parse) feature detection for some specific cases
-   Compat data improvements:
    -   [`Set` methods proposal](https://redirect.github.com/tc39/proposal-set-methods) added and marked as [supported from FF 127](https://bugzilla.mozilla.org/show_bug.cgi?id=1868423)
    -   [`Symbol.dispose`](https://redirect.github.com/tc39/proposal-explicit-resource-management) added and marked as supported from V8 ~ Chromium 125
    -   [`Math.f16round` and `DataView.prototype.{ getFloat16, setFloat16 }`](https://redirect.github.com/tc39/proposal-float16array) added and marked as [supported from Deno 1.43](https://redirect.github.com/denoland/deno/pull/23490)
    -   [`URL.parse`](https://url.spec.whatwg.org/#dom-url-parse) added and marked as [supported from Chromium 126](https://chromestatus.com/feature/6301071388704768)
    -   [`URL.parse`](https://url.spec.whatwg.org/#dom-url-parse) added and marked as [supported from NodeJS 22.0](https://redirect.github.com/nodejs/node/pull/52280)
    -   [`URL.parse`](https://url.spec.whatwg.org/#dom-url-parse) added and marked as [supported from Deno 1.43](https://redirect.github.com/denoland/deno/pull/23318)
    -   Added [Rhino 1.7.15](https://redirect.github.com/mozilla/rhino/releases/tag/Rhino1\_7\_15\_Release) compat data, many features marked as supported
    -   Added [NodeJS 22.0](https://nodejs.org/en/blog/release/v22.0.0) compat data mapping
    -   Added [Deno 1.43](https://redirect.github.com/denoland/deno/releases/tag/v1.43.0) compat data mapping
    -   Added Electron 31 compat data mapping
    -   Updated [Opera Android 82](https://forums.opera.com/topic/71513/opera-for-android-82) compat data mapping
    -   Added Samsung Internet 26 compat data mapping
    -   Added Oculus Quest Browser 33 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.

---

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

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/X-oss-byte/Nextjs).
  • Loading branch information
renovate[bot] authored Jan 9, 2025
1 parent 8bab9c6 commit 3e40837
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/next-polyfill-nomodule/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"prepublishOnly": "cd ../../ && turbo run build"
},
"devDependencies": {
"core-js": "3.39.0",
"core-js": "3.40.0",
"microbundle": "0.15.1",
"object-assign": "4.1.1",
"whatwg-fetch": "3.6.20"
Expand Down

0 comments on commit 3e40837

Please sign in to comment.