core-js
3.51.0 · 19 Oct 2026MIT100.8M / weekRepositoryHomepagenpmAtom feed
3.51.0 is the newest release of 3.x.
In short
2 breaking10 new2 fixed7 changed
- Breaking
Avoided propagation of removed parts of proposals to upper stages. For example,
%TypedArray%.prototype.groupBywas removed from theArraygrouping proposal a long time ago. We can't completely remove this method since it's a breaking change. But this proposal has been promoted to stage 3 - so the proposal should be promoted without this method, this method should not be available in/actual/entries - but it should be available in early-stage entries to avoid breakage. - Breaking
Significant internal refactoring and splitting of modules (but without exposing to public API since it will be a breaking change - it will be exposed in the next major version)
Release note
Change
Arrayby copy proposal:Moved to Stage 3, March TC39 meeting
Disabled forced replacement and added
/actual/entry points for methods from this proposalArray.prototype.toSplicedthrows aTypeErrorinstead ofRangeErrorif the result length is more thanMAX_SAFE_INTEGER, proposal-change-array-by-copy/70
Added some more
atob/btoafixes:NodeJS <17.9
atobdoes not ignore spaces, node/42530Actual NodeJS
atobdoes not validate encoding, node/42646FF26- implementation does not properly convert argument to string
IE / Edge <16 implementation have wrong arity
Added
/full/namespace as the replacement for/features/since it's more descriptive in context of the rest namespaces (/es/⊆/stable/⊆/actual/⊆/full/)- Breaking
Avoided propagation of removed parts of proposals to upper stages. For example,
%TypedArray%.prototype.groupBywas removed from theArraygrouping proposal a long time ago. We can't completely remove this method since it's a breaking change. But this proposal has been promoted to stage 3 - so the proposal should be promoted without this method, this method should not be available in/actual/entries - but it should be available in early-stage entries to avoid breakage. - Breaking
Significant internal refactoring and splitting of modules (but without exposing to public API since it will be a breaking change - it will be exposed in the next major version)
Bug fixes:
Tooling: Stabilized proposals are filtered out from the
core-js-compat->core-js-builder->core-js-bundleoutput. That mean that if the output contains, for example,es.object.has-own, the legacy reference to it,esnext.object.has-own, no longer added.Tooling: Aligned modules filters of
core-js-builderandcore-js-compat, now it'smodulesandexcludeoptionsTooling: Added support of entry points, modules, regexes, and arrays of them to those filters
Tooling: Missed
targetsoption ofcore-js-compatmeans that thetargetsfilter just will not be applied, so the result will contain modules required for all possible enginesCompat data:
.stackproperty onDOMExceptionmarked as supported from Deno 1.15Added Deno 1.21 compat data mapping
Added Electron 19.0 and updated 18.0 compat data mapping
Added Samsung Internet 17.0 compat data mapping
Added Opera Android 68 compat data mapping
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.