Packages

core-js

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

Your version

3.43.0

9 Jun 2025Where it was published

3.51.0 is the newest release of 3.x.

In short

29 new3 fixed26 changed

Release note

3.43.0 - 2025.06.09

  • Explicit Resource Management proposals:

    • Built-ins: Symbol.dispose

    • Built-ins: Symbol.asyncDispose

    • Built-ins: SuppressedError

    • Built-ins: DisposableStack

      • DisposableStack.prototype.dispose

      • DisposableStack.prototype.use

      • DisposableStack.prototype.adopt

      • DisposableStack.prototype.defer

      • DisposableStack.prototype.move

      • DisposableStack.prototype[@@dispose]

    • Built-ins: AsyncDisposableStack

      • AsyncDisposableStack.prototype.disposeAsync

      • AsyncDisposableStack.prototype.use

      • AsyncDisposableStack.prototype.adopt

      • AsyncDisposableStack.prototype.defer

      • AsyncDisposableStack.prototype.move

      • AsyncDisposableStack.prototype[@@asyncDispose]

    • Built-ins: Iterator.prototype[@@dispose]

    • Built-ins: AsyncIterator.prototype[@@asyncDispose]

    • Moved to stable ES, May 2025 TC39 meeting

    • Added es. namespace module, /es/ and /stable/ namespaces entries

  • Array.fromAsync proposal:

    • Built-ins: Array.fromAsync

    • Moved to stable ES, May 2025 TC39 meeting

    • Added es. namespace module, /es/ and /stable/ namespaces entries

  • Error.isError proposal:

    • Built-ins: Error.isError

    • Moved to stable ES, May 2025 TC39 meeting

    • Added es. namespace module, /es/ and /stable/ namespaces entries

  • Added Joint iteration stage 2.7 proposal:

    • Added built-ins:

      • Iterator.zip

      • Iterator.zipKeyed

  • Added Iterator chunking stage 2 proposal:

    • Added built-ins:

      • Iterator.prototype.chunks

      • Iterator.prototype.windows

  • Number.prototype.clamp proposal:

  • Always check regular expression flags by flags getter PR. Native methods are not fixed, only own implementation updated for:

    • RegExp.prototype[@@match]

    • RegExp.prototype[@@replace]

  • Improved handling of RegExp flags in polyfills of some methods in engines without proper support of RegExp.prototype.flags and without polyfill of this getter

  • Added feature detection for a WebKit bug that occurs when this is updated while Set.prototype.difference is being executed

  • Added feature detection for a WebKit bug that occurs when iterator record of a set-like object isn't called before cloning this in the following methods:

    • Set.prototype.symmetricDifference

    • Set.prototype.union

  • Added feature detection for a bug in V8 ~ Chromium < 126. Following methods should throw an error on invalid iterator:

    • Iterator.prototype.drop

    • Iterator.prototype.filter

    • Iterator.prototype.flatMap

    • Iterator.prototype.map

  • Added feature detection for a WebKit bug: incorrect exception thrown by Iterator.from when underlying iterator's return method is null

  • Added feature detection for a FF bug: incorrect exception thrown by Array.prototype.with when index coercion fails

  • Added feature detection for a WebKit bug: TypedArray.prototype.with should truncate negative fractional index to zero, but instead throws an error

  • Worked around a bug of many different tools (example) with incorrect transforming and breaking JS syntax on getting a method from a number literal

  • Fixed deoptimization of the Promise polyfill in the pure version

  • Added some missed dependencies to /iterator/flat-map entries

  • Some other minor fixes and improvements

  • Compat data improvements:

    • Added Deno 2.3 and Deno 2.3.2 compat data mapping

    • Updated Electron 37 compat data mapping

    • Added Opera Android 90 compat data mapping

    • Error.isError marked not supported in Node because of a bug

    • Set.prototype.difference marked as not supported in Safari and supported only from Bun 1.2.5 because of a bug

    • Set.prototype.{ symmetricDifference, union } marked as not supported in Safari and supported only from Bun 1.2.5 because of a bug

    • Iterator.from marked as not supported in Safari and supported only from Bun 1.2.5 because of a bug

    • Iterators closing on early errors in Iterator helpers marked as implemented from FF141

    • Array.prototype.with marked as supported only from FF140 because it throws an incorrect exception when index coercion fails

    • TypedArray.prototype.with marked as unsupported in Bun and Safari because it should truncate negative fractional index to zero, but instead throws an error

    • DisposableStack and AsyncDisposableStack marked as shipped in FF141 (SuppressedError has a bug)

    • AsyncDisposableStack bugs marked as fixed in Deno 2.3.2

    • SuppressedError bugs (extra arguments support and arity) marked as fixed in Bun 1.2.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.