core-js
3.51.0 · 19 Oct 2026MIT100.8M / weekRepositoryHomepagenpmAtom feed
3.51.0 is the newest release of 3.x.
In short
2 breaking1 removed39 new3 fixed43 changed
- Breaking
New versions of methods are implemented as new modules and available in new entries or entries where old versions of methods were not available before (like
/actual/namespace) - Breaking
In entries where they were available before (like
/full/namespace), those methods are available with fallbacks to old semantics (in addition toSet-like, they accept iterable objects). This behavior will be removed from the next major release - Removed
Removed some generic behavior (like
@@speciespattern) of some.prototypemethods from the new collections methods proposal and theArraydeduplication proposal that most likely will not be implemented since it contradicts the current TC39 policy
Release note
Iterator Helpers proposal:
Built-ins:
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.toAsyncIterator.prototype[@@toStringTag]
Built-ins:
AsyncIteratorAsyncIterator.fromAsyncIterator.prototype.dropAsyncIterator.prototype.everyAsyncIterator.prototype.filterAsyncIterator.prototype.findAsyncIterator.prototype.flatMapAsyncIterator.prototype.forEachAsyncIterator.prototype.mapAsyncIterator.prototype.reduceAsyncIterator.prototype.someAsyncIterator.prototype.takeAsyncIterator.prototype.toArrayAsyncIterator.prototype[@@toStringTag]
Moved to Stage 3, November 2022 TC39 meeting
Added
/actual/entries, unconditional forced replacement disabled for features that survived to Stage 3.fromaccept strings,.flatMapthrows on strings returned from the callback, proposal-iterator-helpers/244, proposal-iterator-helpers/250.fromand.flatMapthrows on non-object iterators, proposal-iterator-helpers/253
Built-ins:
Set.prototype.intersectionBuilt-ins:
Set.prototype.unionBuilt-ins:
Set.prototype.differenceBuilt-ins:
Set.prototype.symmetricDifferenceBuilt-ins:
Set.prototype.isSubsetOfBuilt-ins:
Set.prototype.isSupersetOfBuilt-ins:
Set.prototype.isDisjointFromMoved to Stage 3, November 2022 TC39 meeting
Reimplemented with new semantics:
Optimized performance (iteration over lowest set)
Accepted only
Set-like objects as an argument, not all iterablesAccepted only
Sets asthis, no@@speciessupport, and other minor changes
Added
/actual/entries, unconditional forced replacement changed to feature detectionFor avoiding breaking changes:
New versions of methods are implemented as new modules and available in new entries or entries where old versions of methods were not available before (like
/actual/namespace)In entries where they were available before (like
/full/namespace), those methods are available with fallbacks to old semantics (in addition toSet-like, they accept iterable objects). This behavior will be removed from the next major release
Well-Formed Unicode Strings proposal:
Methods:
String.prototype.isWellFormedMethods:
String.prototype.toWellFormedMoved to Stage 3, November 2022 TC39 meeting
Added
/actual/entries, disabled unconditional forced replacement
Explicit resource management Stage 3 and Async explicit resource management Stage 2 proposals:
Renamed from "
usingstatement" and split into 2 (sync and async) proposalsIn addition to already present well-known symbols, added new built-ins:
Symbol.disposeSymbol.asyncDisposeSuppressedErrorDisposableStack:
DisposableStack.prototype.disposeDisposableStack:
DisposableStack.prototype.useDisposableStack:
DisposableStack.prototype.adoptDisposableStack:
DisposableStack.prototype.deferDisposableStack:
DisposableStack.prototype.moveDisposableStack:
DisposableStack.prototype[@@dispose]AsyncDisposableStack:
AsyncDisposableStack.prototype.disposeAsyncAsyncDisposableStack:
AsyncDisposableStack.prototype.useAsyncDisposableStack:
AsyncDisposableStack.prototype.adoptAsyncDisposableStack:
AsyncDisposableStack.prototype.deferAsyncDisposableStack:
AsyncDisposableStack.prototype.moveAsyncDisposableStack:
AsyncDisposableStack.prototype[@@asyncDispose]Iterator.prototype[@@dispose]AsyncIterator.prototype[@@asyncDispose]
Sync version of this proposal moved to Stage 3, November 2022 TC39 meeting
Added
/actual/namespace entries for Stage 3 proposal
Added
String.dedentstage 2 proposalMethod
String.dedentThrows an error on non-frozen raw templates for avoiding possible breaking changes in the future, proposal-string-dedent/75
Compat data targets improvements:
React Native from 0.70 shipped with Hermes as the default engine. However, bundled Hermes versions differ from standalone Hermes releases. So added
react-nativetarget for React Native with bundled Hermes.According to the documentation, Oculus Browser was renamed to Meta Quest Browser, so
oculustarget was renamed toquest.opera_mobiletarget name is confusing since it contains data for the Chromium-based Android version, but iOS Opera is Safari-based. Soopera_mobiletarget was renamed toopera-android.androidtarget name is also confusing for someone - that means Android WebView, some think thinks that it's Chrome for Android, but they have some differences. For avoiding confusion, addedchrome-androidtarget.For consistency with two previous cases, added
firefox-androidtarget.For avoiding breaking changes, the
oculusandopera_mobilefields are available in the compat data till the next major release.
Compat data improvements:
Array.fromAsyncmarked as supported from Bun 0.3.0String.prototype.{ isWellFormed, toWellFormed }marked as supported from Bun 0.4.0Change
Arrayby copy proposal marked as supported from Deno 1.27, deno/16429Added Deno 1.28 / 1.29 compat data mapping
Added NodeJS 19.2 compat data mapping
Added Samsung Internet 19.0 compat data mapping
Added Quest Browser 24.0 compat data mapping
Fixed the first version in the Chromium-based Edge compat data mapping
{ Map, WeakMap }.prototype.emplacebecame stricter by the spec draftSmoothed behavior of some conflicting proposals
- Removed
Removed some generic behavior (like
@@speciespattern) of some.prototypemethods from the new collections methods proposal and theArraydeduplication proposal that most likely will not be implemented since it contradicts the current TC39 policy Added pure version of the
Numberconstructor, #1154, #1155, thanks @trososAdded
set(Timeout|Interval|Immediate)extra arguments fix for Bun 0.3.0- (similarly to IE9-), bun/1633Fixed handling of sparse arrays in
structuredClone, #1156Fixed a theoretically possible future conflict of polyfills definitions in the pure version
Some refactoring and optimization
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.