core-js
3.51.0 · 19 Oct 2026MIT100.8M / weekRepositoryHomepagenpmAtom feed
3.51.0 is the newest release of 3.x.
In short
1 removed1 security12 new3 fixed13 changed
- Removed
Moved to stable ES, January 2023 TC39 meeting
- Security
Fixed theoretically possible ReDoS vulnerabilities in
String.prototype.{ trim, trimEnd, trimRight },parse(Int|Float),Number,atob, andURLpolyfills in some ancient engines
Release note
Change
Arrayby copy proposal:Methods:
Array.prototype.toReversedMethods:
Array.prototype.toSortedMethods:
Array.prototype.toSplicedMethods:
Array.prototype.withMethods:
%TypedArray%.prototype.toReversedMethods:
%TypedArray%.prototype.toSortedMethods:
%TypedArray%.prototype.withMoved to stable ES, January 2023 TC39 meeting
Added
es.namespace modules,/es/and/stable/namespaces entries
Added
JSON.parsesource text access Stage 3 proposalMethods:
JSON.parsepatched to supportsourceinreviverfunction argumentsMethods:
JSON.rawJSONMethods:
JSON.isRawJSONMethods:
JSON.stringifypatched to supportJSON.rawJSON
Added
ArrayBuffer.prototype.transferand friends Stage 3 proposal:Built-ins:
ArrayBuffer.prototype.detachedBuilt-ins:
ArrayBuffer.prototype.transfer(only in runtimes with nativestructuredClonewithArrayBuffertransfer support)Built-ins:
ArrayBuffer.prototype.transferToFixedLength(only in runtimes with nativestructuredClonewithArrayBuffertransfer support)In backwards, in runtimes with native
ArrayBuffer.prototype.transfer, but without properstructuredClone, addedArrayBuffertransfer support tostructuredClonepolyfill
Iterator Helpers proposal:
Split into 2 (sync and async) proposals, async version moved back to Stage 2, January 2023 TC39 meeting
Allowed interleaved mapping in
AsyncIteratorhelpers, proposal-iterator-helpers/262
Explicit Resource Management Stage 3 and Async Explicit Resource Management Stage 2 proposals:
InstallErrorCauseremoved fromSuppressedError, January 2023 TC39 meeting, proposal-explicit-resource-management/145Simplified internal behavior of
{ AsyncDisposableStack, DisposableStack }.prototype.use, proposal-explicit-resource-management/143
Added
Symbolpredicates Stage 2 proposalMethods:
Symbol.isRegisteredMethods:
Symbol.isWellKnown
Number.rangeStage 1 proposal and method renamed toIterator.rangeFunction.prototype.unThisStage 0 proposal and method renamed toFunction.prototype.demethodizeFixed Safari
String.prototype.toWellFormedToStringconversion bugImproved some cases handling of array-replacer in
JSON.stringifysymbols handling fixFixed many other old
JSON.{ parse, stringify }bugs (numbers instead of strings as keys in replacer, handling negative zeroes, spaces, some more handling symbols cases, etc.)Fixed configurability and
ToStringconversion of some accessorsAdded throwing proper errors on an incorrect context in some
ArrayBufferandDataViewmethodsSome minor
DataViewand%TypedArray%polyfills optimizationsAdded proper error on the excess number of trailing
=in theatobpolyfill- Security
Fixed theoretically possible ReDoS vulnerabilities in
String.prototype.{ trim, trimEnd, trimRight },parse(Int|Float),Number,atob, andURLpolyfills in some ancient engines Compat data improvements:
RegExp.prototype.flagsmarked as fixed from V8 ~ Chrome 111Added Opera Android 73 compat data mapping
Added TypeScript definitions to
core-js-builder
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.