Update dependency core-js to v3.42.0
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
core-js (source) | devDependencies | minor | 3.41.0 -> 3.42.0 |
Release Notes
zloirock/core-js (core-js)
v3.42.0
- Changes v3.41.0...v3.42.0 (142 commits)
-
Map
upsert proposal:- Moved to stage 2.7, April 2025 TC39 meeting
- Validation order of
WeakMap.prototype.getOrInsertComputed
updated following tc39/proposal-upsert#79 - Built-ins:
Map.prototype.getOrInsert
Map.prototype.getOrInsertComputed
WeakMap.prototype.getOrInsert
WeakMap.prototype.getOrInsertComputed
- Don't call well-known
Symbol
methods forRegExp
on primitive values following tc39/ecma262#3009:- For avoid performance regression, temporarily, only in own
core-js
implementations - Built-ins:
String.prototype.matchAll
String.prototype.match
String.prototype.replaceAll
String.prototype.replace
String.prototype.search
String.prototype.split
- For avoid performance regression, temporarily, only in own
- Added workaround for the
Uint8Array.prototype.setFromBase64
bug in some of Linux builds of WebKit - Implemented early-error iterator closing following tc39/ecma262#3467, including fix of a WebKit bug, in the following methods:
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
- Fixed missing forced replacement of
AsyncIterator
helpers - Added closing of sync iterator when async wrapper yields a rejection following tc39/ecma262#2600. Affected methods:
-
Array.fromAsync
(due to the lack of async feature detection capability - temporarily, only in owncore-js
implementation) AsyncIterator.from
Iterator.prototype.toAsync
-
- Added detection for throwing on
undefined
initial parameter inIterator.prototype.reduce
(see WebKit bug) -
core-js-compat
andcore-js-builder
API:- Added
'intersect'
support fortargets.esmodules
(Babel 7 behavior) - Fixed handling of
targets.esmodules: true
(Babel 7 behavior)
- Added
- Compat data improvements:
- Explicit Resource Management features disabled (again) in V8 ~ Chromium 135 and re-added in 136
-
RegExp.escape
marked as shipped from V8 ~ Chromium 136 -
Error.isError
marked as shipped from FF138 - Explicit Resource Management features re-enabled in Deno 2.2.10
-
Iterator
helpers proposal features marked as supported from Deno 1.38.1 since it seems they were disabled in 1.38.0 -
Iterator.prototype.{ drop, reduce, take }
methods marked as fixed in Bun 1.2.11 - Added NodeJS 24.0 compat data mapping
- Updated Electron 36 and added Electron 37 compat data mapping
- Added Opera Android 88 and 89 compat data mapping
- Added Oculus Quest Browser 37 compat data mapping
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.
Edited by Renovate Bot
Merge request reports
Activity
mentioned in issue #6
added 67 commits
-
b1ee8b4c...bfb78543 - 66 commits from branch
master
- 006e9bdc - Update dependency core-js to v3.42.0
-
b1ee8b4c...bfb78543 - 66 commits from branch
added 39 commits
-
006e9bdc...33379a92 - 38 commits from branch
master
- ef5586eb - Update dependency core-js to v3.42.0
-
006e9bdc...33379a92 - 38 commits from branch
added 3 commits
-
ef5586eb...03af54ca - 2 commits from branch
master
- d718379f - Update dependency core-js to v3.42.0
-
ef5586eb...03af54ca - 2 commits from branch
added 5 commits
-
d718379f...b02573ed - 4 commits from branch
master
- 33a795f5 - Update dependency core-js to v3.42.0
-
d718379f...b02573ed - 4 commits from branch
mentioned in commit 861caf69
Please register or sign in to reply