Packages

core-js

3.51.0 · 19 Oct 2026MIT100.8M / weekRepositoryHomepagenpmAtom feed

Your version

3.25.0

24 Aug 2022Where it was published

3.51.0 is the newest release of 3.x.

In short

4 new4 fixed6 changed

Release note

3.25.0 - 2022.08.25

  • Added Object.prototype.__proto__ polyfill

    • It's optional, legacy, and in some cases (mainly because of developers' mistakes) can cause problems, but some libraries depend on it, and most code can't work without the proper libraries' ecosystem

    • Only for modern engines where this feature is missed (like Deno), it's not installed in IE10- since here we have no proper way setting of the prototype

    • Without fixes of early implementations where it's not an accessor since those fixes are impossible

    • Only for the global version

  • Considering document.all as an object in some missed cases, see ECMAScript Annex B 3.6

  • Avoiding unnecessary promise creation and validation result in %WrapForValid(Async)IteratorPrototype%.return, proposal-iterator-helpers/215

  • Fixed omitting the result of proxying .return in %IteratorHelperPrototype%.return, #1116

  • Fixed the order creation of properties of iteration result object of some iterators (value should be created before done)

  • Fixed some cases of Safari < 13 bug - silent on non-writable array .length setting

  • Fixed ArrayBuffer.length in V8 ~ Chrome 27-

  • Relaxed condition of re-usage native WeakMap for internal states with multiple core-js copies

  • Availability cloning of FileList in the structuredClone polyfill extended to some more old engines versions

  • Some stylistic changes and minor fixes

  • Throwing a TypeError in core-js-compat / core-js-builder in case of passing invalid module names / filters for avoiding unexpected result, related to #1115

  • Added missed NodeJS 13.2 to esmodules core-js-compat / core-js-builder target

  • Added Electron 21 compat data mapping

  • Added Oculus Browser 23.0 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.