core-js-compat
Advanced tools
Changelog
(Async)Iterator#flatMap
mapper returns a non-iterable, per tc39/proposal-iterator-helpers/55 and tc39/proposal-iterator-helpers/59AggregateError#toString
, per tc39/proposal-promise-any/49core-js
Promise
polyfill passes feature detection in the pure versionsString#replaceAll
callbacksString#replaceAll
marked as supported by FF72Changelog
JSON.stringify
, ES2019 feature, thanks @ExE-Boss and @WebReflection for the ideaMath.signbit
, #687, thanks @chicoxyzzyChangelog
Array#concat
, #679Promise
, #679(Async)Iterator.prototype.constructor -> (Async)Iterator
per this issueChangelog
RegExp
-related methods like String#split
, #306Array#splice
and slightly Array#{ filter, map }
, #677fetch
with polyfilled URLSearchParams
, #674String#replaceAll
with an empty search valuepackage-lock.json
no longer generated in librariesChangelog
gopher
removed from URL
special cases per this issue and this PRChangelog
Promise.allSettled
moved to stable ES, per July TC39 meetingPromise.any
moved to stage 2, .errors
property of AggregateError
instances made non-enumerable, per July TC39 meetingusing
statement proposal moved to stage 2, added Symbol.asyncDispose
, per July TC39 meetingArray.isTemplateObject
stage 2 proposal, per June TC39 meetingMap#updateOrInsert
stage 1 proposal, per July TC39 meetingMath.hypot
V8 7.7 bug, since it's still not stable without adding results to core-js-compat
Promise
, #579 - added .finally
and patched .then
to / on native Promise
prototype{ Map, Set, WeakMap, WeakSet }.deleteAll
DISABLE_OPENCOLLECTIVE
env variable to postinstall
scriptcore-js-pure
dependency from core-js-compat
, #590core-js-compat
on Windows, #606