Packages

core-js

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

Your version

3.3.0

13 Oct 2019Where it was published

3.51.0 is the newest release of 3.x.

npm marks 3.3.0 as deprecated: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.

In short

1 breaking31 new2 fixed5 changed

  • Breaking

    String#{ matchAll, replaceAll } throws an error on non-global regex argument per the decision from TC39 meetings (+ this PR). It's a breaking change, but since it's a breaking change in the ES spec, it's added at the minor release

Release note

3.3.0 - 2019.10.13

  • Breaking

    String#{ matchAll, replaceAll } throws an error on non-global regex argument per the decision from TC39 meetings (+ this PR). It's a breaking change, but since it's a breaking change in the ES spec, it's added at the minor release

  • globalThis moved to stable ES, per October TC39 meeting

  • Promise.any moved to stage 3, some minor internal changes, per October TC39 meeting

  • String#replaceAll moved to stage 3, per October TC39 meeting

  • Added iterator helpers stage 2 proposal:

    • Iterator: Iterator.from

    • Iterator: Iterator#asIndexedPairs

    • Iterator: Iterator#drop

    • Iterator: Iterator#every

    • Iterator: Iterator#filter

    • Iterator: Iterator#find

    • Iterator: Iterator#flatMap

    • Iterator: Iterator#forEach

    • Iterator: Iterator#map

    • Iterator: Iterator#reduce

    • Iterator: Iterator#some

    • Iterator: Iterator#take

    • Iterator: Iterator#toArray

    • Iterator: Iterator#@@toStringTag

    • AsyncIterator: AsyncIterator.from

    • AsyncIterator: AsyncIterator#asIndexedPairs

    • AsyncIterator: AsyncIterator#drop

    • AsyncIterator: AsyncIterator#every

    • AsyncIterator: AsyncIterator#filter

    • AsyncIterator: AsyncIterator#find

    • AsyncIterator: AsyncIterator#flatMap

    • AsyncIterator: AsyncIterator#forEach

    • AsyncIterator: AsyncIterator#map

    • AsyncIterator: AsyncIterator#reduce

    • AsyncIterator: AsyncIterator#some

    • AsyncIterator: AsyncIterator#take

    • AsyncIterator: AsyncIterator#toArray

    • AsyncIterator: AsyncIterator#@@toStringTag

  • Updated Map#upsert (Map#updateOrInsert before) proposal

    • Moved to stage 2, per October TC39 meeting

    • Map#updateOrInsert renamed to Map#upsert

    • Added WeakMap#upsert

    • You can don't pass one of the callbacks

  • Added a workaround for iOS Safari MessageChannel + bfcache bug, #624

  • Added a workaround for Chrome 33 / Android 4.4.4 Promise bug, #640

  • Replaced broken URL constructor in Safari and URLSearchParams in Chrome 66-, #656

  • Added compat data for Node up to 12.11, FF 69, Samsung up to 10.2 and Phantom 1.9

  • Math.hypot marked as not supported in Chrome 77 since a bug in this method was not fixed before the stable Chrome 77 release

  • Fixed unnecessary exposing on Symbol.matchAll in esnext.string.match-all, #626

  • Fixed missed cases access the .next method once, at the beginning, of the iteration protocol

  • Show similar postinstall messages only once per npm i, #597, thanks @remy

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.