semaphore
semaphore copied to clipboard
[Snyk] Upgrade core-js from 3.41.0 to 3.42.0
Snyk has created this PR to upgrade core-js from 3.41.0 to 3.42.0.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
-
The recommended version is 1 version ahead of your current version.
-
The recommended version was released 25 days ago.
Release notes
Package name: core-js
-
3.42.0 - 2025-04-29
- Changes v3.41.0...v3.42.0 (142 commits)
Mapupsert proposal:- Moved to stage 2.7, April 2025 TC39 meeting
- Validation order of
WeakMap.prototype.getOrInsertComputedupdated following tc39/proposal-upsert#79 - Built-ins:
Map.prototype.getOrInsertMap.prototype.getOrInsertComputedWeakMap.prototype.getOrInsertWeakMap.prototype.getOrInsertComputed
- Don't call well-known
Symbolmethods forRegExpon primitive values following tc39/ecma262#3009:- For avoid performance regression, temporarily, only in own
core-jsimplementations - Built-ins:
String.prototype.matchAllString.prototype.matchString.prototype.replaceAllString.prototype.replaceString.prototype.searchString.prototype.split
- For avoid performance regression, temporarily, only in own
- Added workaround for the
Uint8Array.prototype.setFromBase64bug 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.dropIterator.prototype.everyIterator.prototype.filterIterator.prototype.findIterator.prototype.flatMapIterator.prototype.forEachIterator.prototype.mapIterator.prototype.reduceIterator.prototype.someIterator.prototype.take
- Fixed missing forced replacement of
AsyncIteratorhelpers - 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-jsimplementation)AsyncIterator.fromIterator.prototype.toAsync
- Added detection for throwing on
undefinedinitial parameter inIterator.prototype.reduce(see WebKit bug) core-js-compatandcore-js-builderAPI:- 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.escapemarked as shipped from V8 ~ Chromium 136Error.isErrormarked as shipped from FF138- Explicit Resource Management features re-enabled in Deno 2.2.10
Iteratorhelpers proposal features marked as supported from Deno 1.38.1 since it seems they were disabled in 1.38.0Iterator.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
-
3.41.0 - 2025-03-01
- Changes v3.40.0...v3.41.0 (85 commits)
RegExp.escapeproposal:- Built-ins:
RegExp.escape
- Moved to stable ES, February 2025 TC39 meeting
- Added
es.namespace module,/es/and/stable/namespaces entries
- Built-ins:
Float16proposal:- Built-ins:
Math.f16roundDataView.prototype.getFloat16DataView.prototype.setFloat16
- Moved to stable ES, February 2025 TC39 meeting
- Added
es.namespace modules,/es/and/stable/namespaces entries
- Built-ins:
Math.clampstage 1 proposal:- Built-ins:
Math.clamp
- Extracted from old
Mathextensions proposal, February 2025 TC39 meeting - Added arguments validation
- Added new entries
- Built-ins:
- Added a workaround of a V8
AsyncDisposableStackbug, tc39/proposal-explicit-resource-management/256 - Compat data improvements:
DisposableStack,SuppressedErrorandIterator.prototype[@@ dispose]marked as shipped from V8 ~ Chromium 134Error.isErroradded and marked as shipped from V8 ~ Chromium 134Math.f16roundandDataView.prototype.{ getFloat16, setFloat16 }marked as shipped from V8 ~ Chromium 135Iteratorhelpers proposal features marked as shipped from Safari 18.4JSON.parsesource text access proposal features marked as shipped from Safari 18.4Math.sumPrecisemarked as shipped from FF137- Added Deno 2.2 compat data and compat data mapping
- Explicit Resource Management features are available in V8 ~ Chromium 134, but not in Deno 2.2 based on it
- Updated Electron 35 and added Electron 36 compat data mapping
- Updated Opera Android 87 compat data mapping
- Added Samsung Internet 28 compat data mapping
- Added Oculus Quest Browser 36 compat data mapping
[!IMPORTANT]
- Check the changes in this PR to ensure they won't cause issues with your project.
- This PR was automatically created by Snyk using the credentials of a real user.
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: