core-js
3.51.0 · 19 Oct 2026MIT100.8M / weekRepositoryHomepagenpmAtom feed
Upgrading core-js From 3.21.1 to 3.22.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
- 2
- changes to make
- 0
- advisories fixed
- 10
- new
- 2
- fixes
Before you upgrade
Tick each one off as you go- Breaking3.22.0
- Breaking3.22.0
Release by release
- 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)
- New
NodeJS <17.9
atobdoes not ignore spaces, node/42530 - New
Actual NodeJS
atobdoes not validate encoding, node/42646
- Breaking
7 other lines we could not sort, mostly version bumps
- 3.22.0
Moved to Stage 3, March TC39 meeting
- 3.22.0
Disabled forced replacement and added
/actual/entry points for methods from this proposal - 3.22.0
Array.prototype.toSplicedthrows aTypeErrorinstead ofRangeErrorif the result length is more thanMAX_SAFE_INTEGER, proposal-change-array-by-copy/70 - 3.22.0
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. - 3.22.0
Tooling: Aligned modules filters of
core-js-builderandcore-js-compat, now it'smodulesandexcludeoptions - 3.22.0
Tooling: Missed
targetsoption ofcore-js-compatmeans that thetargetsfilter just will not be applied, so the result will contain modules required for all possible engines - 3.22.0
.stackproperty onDOMExceptionmarked as supported from Deno 1.15
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.