core-js-compat
Advanced tools
Changelog
Object.prototype.hasOwnProperty
(Object.hasOwn
) proposal moved to the stable ES, per August 2021 TC39 meeting.at
) proposal moved to the stable ES, per August 2021 TC39 meetingString.prototype.at
. It was not exposed because of the conflict with the alternative obsolete proposal (that will be completely removed in the next major version). For the backward compatibility, in the case of loading this proposal, it will be overwritten.Changelog
AsyncFromSyncIterator
made stricter, related mainly to AsyncIterator.from
and AsyncIterator.prototype.flatMap
.next
arguments in (Async)Iterator
methods is aligned with the current spec draft (mainly - ignoring the first passed to .next
argument in built-in generators).next
, .return
, .throw
methods on AsyncIterator
helpers proxy iterators aligned with the current spec draft (built-in async generators) (mainly - some early errors moved to returned promises)Changelog
Array
find from last proposal moved to the stage 3, July 2021 TC39 meetingArray
filtering stage 1 proposal:
Array.prototype.filterReject
replaces Array.prototype.filterOut
%TypedArray%.prototype.filterReject
replaces %TypedArray%.prototype.filterOut
Array
grouping stage 1 proposal:
Array.prototype.groupBy
%TypedArray%.prototype.groupBy
@@toPrimitive
in some cases of ToPrimitive
internal logic made stricterRequest
with polyfilled URLSearchParams
, #965Object.create(null)
on WSH, #966RegExp#exec
Date.prototype.getYear
feature detectiondeno
target in core-js-compat
/ core-js-builder
summary
option to core-js-builder
, see more info in the README
, #910Changelog
RegExp
named capture groups polyfill, #521, #944RegExp
dotAll
flag polyfill, #792, #944escape
unescape
String.prototype.substr
Date.prototype.getYear
Date.prototype.setYear
Date.prototype.toGMTString
URL
polyfillrhino
target in core-js-compat
/ core-js-builder
, added compat data for rhino
1.7.13, #942, thanks @gausie.at
marked as supported from FF90