Open
Conversation
Snyk has created this PR to upgrade core-js from 3.38.1 to 3.43.0. See this package in npm: core-js See this project in Snyk: https://app.snyk.io/org/prateeks007/project/8f5f0002-28f6-4ceb-9f2d-1cfea14c9bef?utm_source=github&utm_medium=referral&page=upgrade-pr
|
Important Review skippedIgnore keyword(s) in the title. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade core-js from 3.38.1 to 3.43.0.
ℹ️ 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 5 versions ahead of your current version.
The recommended version was released 24 days ago.
Release notes
Package name: core-js
-
3.43.0 - 2025-06-09
- Changes v3.42.0...v3.43.0 (139 commits)
- Explicit Resource Management proposals:
- Built-ins:
- Moved to stable ES, May 2025 TC39 meeting
- Added
- Built-ins:
- Moved to stable ES, May 2025 TC39 meeting
- Added
- Built-ins:
- Moved to stable ES, May 2025 TC39 meeting
- Added
- Added Joint iteration stage 2.7 proposal:
- Added built-ins:
- Added
- Added built-ins:
- Built-ins:
- Moved to stage 2, May 2025 TC39 meeting
- Removed a
- Always check regular expression flags by
- Improved handling of
- Added feature detection for a WebKit bug that occurs when
- Added feature detection for a WebKit bug that occurs when iterator record of a set-like object isn't called before cloning
- Added feature detection for a bug in V8 ~ Chromium < 126. Following methods should throw an error on invalid iterator:
- Added feature detection for a WebKit bug: incorrect exception thrown by
- Added feature detection for a FF bug: incorrect exception thrown by
- Added feature detection for a WebKit bug:
- Worked around a bug of many different tools (example) with incorrect transforming and breaking JS syntax on getting a method from a number literal
- Fixed deoptimization of the
- Added some missed dependencies to
- Some other minor fixes and improvements
- Compat data improvements:
- Added Deno 2.3 and Deno 2.3.2 compat data mapping
- Updated Electron 37 compat data mapping
- Added Opera Android 90 compat data mapping
- Iterators closing on early errors in
-
3.42.0 - 2025-04-29
- Changes v3.41.0...v3.42.0 (142 commits)
- Moved to stage 2.7, April 2025 TC39 meeting
- Validation order of
- Built-ins:
- Don't call well-known
- For avoid performance regression, temporarily, only in own
- Built-ins:
- Added workaround for the
- Implemented early-error iterator closing following tc39/ecma262#3467, including fix of a WebKit bug, in the following methods:
- Fixed missing forced replacement of
- Added closing of sync iterator when async wrapper yields a rejection following tc39/ecma262#2600. Affected methods:
- Added detection for throwing on
- Added
- Fixed handling of
- Compat data improvements:
- Explicit Resource Management features disabled (again) in V8 ~ Chromium 135 and re-added in 136
- Explicit Resource Management features re-enabled in Deno 2.2.10
- 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)
- Built-ins:
- Moved to stable ES, February 2025 TC39 meeting
- Added
- Built-ins:
- Moved to stable ES, February 2025 TC39 meeting
- Added
- Built-ins:
- Extracted from old
- Added arguments validation
- Added new entries
- Added a workaround of a V8
- Compat data improvements:
- 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
-
3.40.0 - 2025-01-07
- Changes v3.39.0...v3.40.0 (130 commits)
- Added
- Added built-ins:
- 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
- Explicit Resource Management stage 3 proposal:
- Updated the way async disposing of only sync disposable resources, tc39/proposal-explicit-resource-management/218
- Reuse
- Added a fix of V8 < 12.8 / NodeJS < 22.10 bug with handling infinite length of set-like objects in
- Optimized
- Dropped unneeded feature detection of non-standard
- Dropped possible re-usage of some non-standard / early stage features (like
- Some other minor improvements
- Compat data improvements:
- Fixed NodeJS version where
- Added Deno 2.1 compat data mapping
- Added Rhino 1.8.0 compat data with significant number of modern features
- Added Electron 35 compat data mapping
- Updated Opera 115+ compat data mapping
- Added Opera Android 86 and 87 compat data mapping
-
3.39.0 - 2024-10-31
- Changes v3.38.1...v3.39.0
- Built-ins:
- Moved to stable ES, October 2024 TC39 meeting
- Added
- Built-ins:
- Moved to stable ES, October 2024 TC39 meeting
- Added
- Fixed
- Built-ins:
- Moved to stage 3, October 2024 TC39 meeting
- Added
- Added
- Added built-ins:
- Updated to the new API following the October 2024 TC39 meeting
- Added built-ins:
- Extractors proposal moved to stage 2, October 2024 TC39 meeting
- Usage of
- Built-ins:
- Some other minor improvements
- Compat data improvements:
- Added NodeJS 23.0 compat data mapping
- Added Deno 1.46 and 2.0 compat data mapping
- Added Electron 34 and updated Electron 33 compat data mapping
- Added Opera Android 85 compat data mapping
- Added Oculus Quest Browser 35 compat data mapping
-
3.38.1 - 2024-08-20
- Changes v3.38.0...v3.38.1
- Fixed some cases of
- Some stylistic changes and minor optimizations
- Compat data improvements:
- Added Hermes 0.13 compat data, similar to React Native 0.75 Hermes
- Added Opera Android 84 compat data mapping
from core-js GitHub release notesSymbol.disposeSymbol.asyncDisposeSuppressedErrorDisposableStackDisposableStack.prototype.disposeDisposableStack.prototype.useDisposableStack.prototype.adoptDisposableStack.prototype.deferDisposableStack.prototype.moveDisposableStack.prototype[@@ dispose]AsyncDisposableStackAsyncDisposableStack.prototype.disposeAsyncAsyncDisposableStack.prototype.useAsyncDisposableStack.prototype.adoptAsyncDisposableStack.prototype.deferAsyncDisposableStack.prototype.moveAsyncDisposableStack.prototype[@@ asyncDispose]Iterator.prototype[@@ dispose]AsyncIterator.prototype[@@ asyncDispose]es.namespace module,/es/and/stable/namespaces entriesArray.fromAsyncproposal:Array.fromAsynces.namespace module,/es/and/stable/namespaces entriesError.isErrorproposal:Error.isErrores.namespace module,/es/and/stable/namespaces entriesIterator.zipIterator.zipKeyedIteratorchunking stage 2 proposal:Iterator.prototype.chunksIterator.prototype.windowsNumber.prototype.clampproposal:Number.prototype.clampMath.clampwas replaced withNumber.prototype.clampRangeErrorifmin <= maxor+0min and-0max, tc39/proposal-math-clamp/#22flagsgetter PR. Native methods are not fixed, only own implementation updated for:RegExp.prototype[@@ match]RegExp.prototype[@@ replace]RegExpflags in polyfills of some methods in engines without proper support ofRegExp.prototype.flagsand without polyfill of this getterthisis updated whileSet.prototype.differenceis being executedthisin the following methods:Set.prototype.symmetricDifferenceSet.prototype.unionIterator.prototype.dropIterator.prototype.filterIterator.prototype.flatMapIterator.prototype.mapIterator.fromwhen underlying iterator'sreturnmethod isnullArray.prototype.withwhen index coercion failsTypedArray.prototype.withshould truncate negative fractional index to zero, but instead throws an errorPromisepolyfill in the pure version/iterator/flat-mapentriesError.isErrormarked not supported in Node because of a bugSet.prototype.differencemarked as not supported in Safari and supported only from Bun 1.2.5 because of a bugSet.prototype.{ symmetricDifference, union }marked as not supported in Safari and supported only from Bun 1.2.5 because of a bugIterator.frommarked as not supported in Safari and supported only from Bun 1.2.5 because of a bugIteratorhelpers marked as implemented from FF141Array.prototype.withmarked as supported only from FF140 because it throws an incorrect exception when index coercion failsTypedArray.prototype.withmarked as unsupported in Bun and Safari because it should truncate negative fractional index to zero, but instead throws an errorDisposableStackandAsyncDisposableStackmarked as shipped in FF141 (SuppressedErrorhas a bug)AsyncDisposableStackbugs marked as fixed in Deno 2.3.2SuppressedErrorbugs (extra arguments support and arity) marked as fixed in Bun 1.2.15Mapupsert proposal:WeakMap.prototype.getOrInsertComputedupdated following tc39/proposal-upsert#79Map.prototype.getOrInsertMap.prototype.getOrInsertComputedWeakMap.prototype.getOrInsertWeakMap.prototype.getOrInsertComputedSymbolmethods forRegExpon primitive values following tc39/ecma262#3009:core-jsimplementationsString.prototype.matchAllString.prototype.matchString.prototype.replaceAllString.prototype.replaceString.prototype.searchString.prototype.splitUint8Array.prototype.setFromBase64bug in some of Linux builds of WebKitIterator.prototype.dropIterator.prototype.everyIterator.prototype.filterIterator.prototype.findIterator.prototype.flatMapIterator.prototype.forEachIterator.prototype.mapIterator.prototype.reduceIterator.prototype.someIterator.prototype.takeAsyncIteratorhelpersArray.fromAsync(due to the lack of async feature detection capability - temporarily, only in owncore-jsimplementation)AsyncIterator.fromIterator.prototype.toAsyncundefinedinitial parameter inIterator.prototype.reduce(see WebKit bug)core-js-compatandcore-js-builderAPI:'intersect'support fortargets.esmodules(Babel 7 behavior)targets.esmodules: true(Babel 7 behavior)RegExp.escapemarked as shipped from V8 ~ Chromium 136Error.isErrormarked as shipped from FF138Iteratorhelpers 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.11RegExp.escapeproposal:RegExp.escapees.namespace module,/es/and/stable/namespaces entriesFloat16proposal:Math.f16roundDataView.prototype.getFloat16DataView.prototype.setFloat16es.namespace modules,/es/and/stable/namespaces entriesMath.clampstage 1 proposal:Math.clampMathextensions proposal, February 2025 TC39 meetingAsyncDisposableStackbug, tc39/proposal-explicit-resource-management/256DisposableStack,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 FF137Error.isErrorstage 3 proposal:Error.isError.shamIteratorsequencing stage 2.7 proposal:IteratorResultobjects when possible, tc39/proposal-iterator-sequencing/17, tc39/proposal-iterator-sequencing/18, December 2024 TC39 meetingSetmethodsDataView.prototype.{ getFloat16, setFloat16 }performance, #1379, thanks @ LeviPesin%TypedArray%.prototype.toSplicedMath.scale) available on globalRegExp.escapemarked as shipped from Safari 18.2Promise.trymarked as shipped from Safari 18.2Math.f16roundandDataView.prototype.{ getFloat16, setFloat16 }marked as shipped from Safari 18.2Uint8Arrayto / from base64 and hex proposal methods marked as shipped from Safari 18.2JSON.parsesource text access proposal features marked as shipped from FF135RegExp.escapemarked as shipped from FF134Promise.trymarked as shipped from FF134Symbol.dispose,Symbol.asyncDisposeandIterator.prototype[@@ dispose]marked as shipped from FF135JSON.parsesource text access proposal features marked as shipped from Bun 1.1.43URL.parsewas added - 22.1 instead of 22.0Iteratorhelpers proposal:IteratorIterator.fromIterator.prototype.dropIterator.prototype.everyIterator.prototype.filterIterator.prototype.findIterator.prototype.flatMapIterator.prototype.forEachIterator.prototype.mapIterator.prototype.reduceIterator.prototype.someIterator.prototype.takeIterator.prototype.toArrayIterator.prototype[@@ toStringTag]es.namespace modules,/es/and/stable/namespaces entriesPromise.try:Promise.tryes.namespace module,/es/and/stable/namespaces entries/actual|full/promise/tryentries for the callback arguments supportMath.sumPreciseproposal:Math.sumPrecise/actual/namespace entries, unconditional forced replacement changed to feature detectionIteratorsequencing stage 2.7 proposal:Iterator.concatMapupsert stage 2 proposal:Map.prototype.getOrInsertMap.prototype.getOrInsertComputedWeakMap.prototype.getOrInsertWeakMap.prototype.getOrInsertComputed@@ speciespattern removed from%TypedArray%andArrayBuffermethods, tc39/ecma262/3450:%TypedArray%.prototype.filter%TypedArray%.prototype.filterReject%TypedArray%.prototype.map%TypedArray%.prototype.slice%TypedArray%.prototype.subarrayArrayBuffer.prototype.sliceUint8Arrayto / from base64 and hex proposal methods marked as shipped from FF133selfdescriptor is fixed in Deno 1.46.0Iteratorhelpers proposal methods marked as shipped from Bun 1.1.31URLSearchParamspercent decoding, #1357, #1361, thanks @ slowcheetahIteratorhelpers proposal methods marked as shipped from FF131Math.f16roundandDataView.prototype.{ getFloat16, setFloat16 }marked as shipped from Bun 1.1.23RegExp.escapemarked as shipped from Bun 1.1.22Promise.trymarked as shipped from Bun 1.1.22Uint8Arrayto / from base64 and hex proposal methods marked as shipped from Bun 1.1.22Important
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: