core-js
3.51.0 · 19 Oct 2026MIT100.8M / weekRepositoryHomepagenpmAtom feed
3.51.0 is the newest release of 3.x.
In short
17 new1 faster1 fixed5 changed
Release note
Added
Error.isErrorstage 3 proposal:Added built-ins:
Error.isError
We have no bulletproof way to polyfill this method / check if the object is an error, so it's a rather naive implementation that is marked as
.sham
Explicit Resource Management stage 3 proposal:
Updated the way async disposing of only sync disposable resources, tc39/proposal-explicit-resource-management/218
Iteratorsequencing stage 2.7 proposal:Reuse
IteratorResultobjects when possible, tc39/proposal-iterator-sequencing/17, tc39/proposal-iterator-sequencing/18, December 2024 TC39 meeting
Added a fix of V8 < 12.8 / NodeJS < 22.10 bug with handling infinite length of set-like objects in
SetmethodsOptimized
DataView.prototype.{ getFloat16, setFloat16 }performance, #1379, thanks @LeviPesinDropped unneeded feature detection of non-standard
%TypedArray%.prototype.toSplicedDropped possible re-usage of some non-standard / early stage features (like
Math.scale) available on globalSome other minor improvements
Compat data improvements:
RegExp.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.43Fixed NodeJS version where
URL.parsewas added - 22.1 instead of 22.0Added 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
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.