Update dependency core-js to v3 #28
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "renovate_core-js-3.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
^2.6.12
->^3.0.0
Release Notes
zloirock/core-js (core-js)
v3.42.0
Compare Source
Map
upsert proposal:WeakMap.prototype.getOrInsertComputed
updated following tc39/proposal-upsert#79Map.prototype.getOrInsert
Map.prototype.getOrInsertComputed
WeakMap.prototype.getOrInsert
WeakMap.prototype.getOrInsertComputed
Symbol
methods forRegExp
on primitive values following tc39/ecma262#3009:core-js
implementationsString.prototype.matchAll
String.prototype.match
String.prototype.replaceAll
String.prototype.replace
String.prototype.search
String.prototype.split
Uint8Array.prototype.setFromBase64
bug in some of Linux builds of WebKitIterator.prototype.drop
Iterator.prototype.every
Iterator.prototype.filter
Iterator.prototype.find
Iterator.prototype.flatMap
Iterator.prototype.forEach
Iterator.prototype.map
Iterator.prototype.reduce
Iterator.prototype.some
Iterator.prototype.take
AsyncIterator
helpersArray.fromAsync
(due to the lack of async feature detection capability - temporarily, only in owncore-js
implementation)AsyncIterator.from
Iterator.prototype.toAsync
undefined
initial parameter inIterator.prototype.reduce
(see WebKit bug)core-js-compat
andcore-js-builder
API:'intersect'
support fortargets.esmodules
(Babel 7 behavior)targets.esmodules: true
(Babel 7 behavior)RegExp.escape
marked as shipped from V8 ~ Chromium 136Error.isError
marked as shipped from FF138Iterator
helpers proposal features marked as supported from Deno 1.38.1 since it seems they were disabled in 1.38.0Iterator.prototype.{ drop, reduce, take }
methods marked as fixed in Bun 1.2.11v3.41.0
Compare Source
RegExp.escape
proposal:RegExp.escape
es.
namespace module,/es/
and/stable/
namespaces entriesFloat16
proposal:Math.f16round
DataView.prototype.getFloat16
DataView.prototype.setFloat16
es.
namespace modules,/es/
and/stable/
namespaces entriesMath.clamp
stage 1 proposal:Math.clamp
Math
extensions proposal, February 2025 TC39 meetingAsyncDisposableStack
bug, tc39/proposal-explicit-resource-management/256DisposableStack
,SuppressedError
andIterator.prototype[@​@​dispose]
marked as shipped from V8 ~ Chromium 134Error.isError
added and marked as shipped from V8 ~ Chromium 134Math.f16round
andDataView.prototype.{ getFloat16, setFloat16 }
marked as shipped from V8 ~ Chromium 135Iterator
helpers proposal features marked as shipped from Safari 18.4JSON.parse
source text access proposal features marked as shipped from Safari 18.4Math.sumPrecise
marked as shipped from FF137v3.40.0
Compare Source
Error.isError
stage 3 proposal:Error.isError
.sham
Iterator
sequencing stage 2.7 proposal:IteratorResult
objects when possible, tc39/proposal-iterator-sequencing/17, tc39/proposal-iterator-sequencing/18, December 2024 TC39 meetingSet
methodsDataView.prototype.{ getFloat16, setFloat16 }
performance, #1379, thanks @LeviPesin%TypedArray%.prototype.toSpliced
Math.scale
) available on globalRegExp.escape
marked as shipped from Safari 18.2Promise.try
marked as shipped from Safari 18.2Math.f16round
andDataView.prototype.{ getFloat16, setFloat16 }
marked as shipped from Safari 18.2Uint8Array
to / from base64 and hex proposal methods marked as shipped from Safari 18.2JSON.parse
source text access proposal features marked as shipped from FF135RegExp.escape
marked as shipped from FF134Promise.try
marked as shipped from FF134Symbol.dispose
,Symbol.asyncDispose
andIterator.prototype[@​@​dispose]
marked as shipped from FF135JSON.parse
source text access proposal features marked as shipped from Bun 1.1.43URL.parse
was added - 22.1 instead of 22.0v3.39.0
Compare Source
Iterator
helpers proposal:Iterator
Iterator.from
Iterator.prototype.drop
Iterator.prototype.every
Iterator.prototype.filter
Iterator.prototype.find
Iterator.prototype.flatMap
Iterator.prototype.forEach
Iterator.prototype.map
Iterator.prototype.reduce
Iterator.prototype.some
Iterator.prototype.take
Iterator.prototype.toArray
Iterator.prototype[@​@​toStringTag]
es.
namespace modules,/es/
and/stable/
namespaces entriesPromise.try
:Promise.try
es.
namespace module,/es/
and/stable/
namespaces entries/actual|full/promise/try
entries for the callback arguments supportMath.sumPrecise
proposal:Math.sumPrecise
/actual/
namespace entries, unconditional forced replacement changed to feature detectionIterator
sequencing stage 2.7 proposal:Iterator.concat
Map
upsert stage 2 proposal:Map.prototype.getOrInsert
Map.prototype.getOrInsertComputed
WeakMap.prototype.getOrInsert
WeakMap.prototype.getOrInsertComputed
@@​species
pattern removed from%TypedArray%
andArrayBuffer
methods, tc39/ecma262/3450:%TypedArray%.prototype.filter
%TypedArray%.prototype.filterReject
%TypedArray%.prototype.map
%TypedArray%.prototype.slice
%TypedArray%.prototype.subarray
ArrayBuffer.prototype.slice
Uint8Array
to / from base64 and hex proposal methods marked as shipped from FF133self
descriptor is fixed in Deno 1.46.0Iterator
helpers proposal methods marked as shipped from Bun 1.1.31v3.38.1
Compare Source
URLSearchParams
percent decoding, #1357, #1361, thanks @slowcheetahIterator
helpers proposal methods marked as shipped from FF131Math.f16round
andDataView.prototype.{ getFloat16, setFloat16 }
marked as shipped from Bun 1.1.23RegExp.escape
marked as shipped from Bun 1.1.22Promise.try
marked as shipped from Bun 1.1.22Uint8Array
to / from base64 and hex proposal methods marked as shipped from Bun 1.1.22v3.38.0
Compare Source
RegExp.escape
proposal:RegExp.escape
/actual/
namespace entries, unconditional forced replacement changed to feature detectionPromise.try
proposal:Promise.try
/actual/
namespace entries, unconditional forced replacement changed to feature detectionUint8Array
to / from base64 and hex stage 3 proposal:Uint8Array.fromBase64
Uint8Array.fromHex
Uint8Array.prototype.setFromBase64
Uint8Array.prototype.setFromHex
Uint8Array.prototype.toBase64
Uint8Array.prototype.toHex
Uint8Array.prototype.{ setFromBase64, setFromHex }
methodsUint8Array.fromBase64
andUint8Array.prototype.setFromBase64
lastChunkHandling
option, proposal-arraybuffer-base64/33Uint8Array.prototype.toBase64
omitPadding
option, proposal-arraybuffer-base64/60TypeError
on arrays backed by detached buffersRegExp
named capture groups polyfill in combination with non-capturing groups, #1352, thanks @Ulopprocess.getBuiltinModule
for getting built-in NodeJS modules where it's availablehttps
instead ofhttp
inURL
constructor feature detection to avoid extra notifications from some overly vigilant security scanners, #1345browserslist
incore-js-compat
dependencies that fixes an upstream issue with incorrect interpretation of somebrowserslist
queries, #1344, browserslist/829, browserslist/836Object.groupBy
andMap.groupBy
to work for non-objectsRangeError
ifSet
methods are called on an object with negative size propertySet.prototype.symmetricDifference
to callthis.has
in each iterationArray.fromAsync
to not call theArray
constructor twiceURL.parse
Math.f16round
andDataView.prototype.{ getFloat16, setFloat16 }
marked as shipped from FF129Symbol.asyncDispose
added and marked as supported from V8 ~ Chromium 127Promise.try
added and marked as supported from V8 ~ Chromium 128self
descriptor is broken in Deno 1.45.3 (again)v3.37.1
Compare Source
URL.parse
feature detection for some specific casesSet
methods proposal added and marked as supported from FF 127Symbol.dispose
added and marked as supported from V8 ~ Chromium 125Math.f16round
andDataView.prototype.{ getFloat16, setFloat16 }
added and marked as supported from Deno 1.43URL.parse
added and marked as supported from Chromium 126URL.parse
added and marked as supported from NodeJS 22.0URL.parse
added and marked as supported from Deno 1.43v3.37.0
Compare Source
Set
methods proposal:Set.prototype.intersection
Set.prototype.union
Set.prototype.difference
Set.prototype.symmetricDifference
Set.prototype.isSubsetOf
Set.prototype.isSupersetOf
Set.prototype.isDisjointFrom
es.
namespace modules,/es/
and/stable/
namespaces entriesMath.sumPrecise
stage 2.7 proposal:Math.sumPrecise
Promise.try
proposal:Promise.try
RegExp.escape
stage 2 proposal:Symbol.customMatcher
Symbol.customMatcher
Symbol.customMatcher
well-known symbol from the pattern matching proposal is also used in the exactors proposal, added an entry also for this proposalURL.parse
, url/825{ Object, Map }.groupBy
bug that does not support iterable primitivesArray.fromAsync
URL.parse
added and marked as supported from FF 126URL.parse
added and marked as supported from Bun 1.1.4URL.canParse
fixed and marked as supported from Bun 1.1.0Set
methods fixed in JavaScriptCore and marked as supported from Bun 1.1.1v3.36.1
Compare Source
Object.setPrototypeOf
, #1329, thanks @minseok-choeArray.from
, #1331, thanks @minseok-choequeueMicrotask
arityURL.canParse
aritySuppressedError
extra arguments support and arityvalue
argument ofURLSearchParams.prototype.{ has, delete }
marked as supported from Bun 1.0.31Array.prototype.{ toSpliced, toReversed, with }
andatob
marked as supportedv3.36.0
Compare Source
ArrayBuffer.prototype.transfer
and friends proposal:ArrayBuffer.prototype.detached
ArrayBuffer.prototype.transfer
ArrayBuffer.prototype.transferToFixedLength
es.
namespace modules,/es/
and/stable/
namespaces entriesUint8Array
to / from base64 and hex proposal:Uint8Array.fromBase64
Uint8Array.fromHex
Uint8Array.prototype.toBase64
Uint8Array.prototype.toHex
/actual/
namespace entriesPromise.try
proposal has been resurrected and moved to stage 2, Febrary 2024 TC39 meetingcore-js/stage/2.7
- still emptySet.prototype.intersection
feature detectionArray.prototype.{ indexOf, lastIndexOf, includes }
, #1325, thanks @minseok-choeArray.prototype.{ reduce, reduceRight }
, #1327, thanks @minseok-choeArray.from
and some other methods with proxy targets, #1322, thanks @minseok-choeArrayBuffer.prototype.transfer
and friends proposal in some specific cases in IE10-Date.prototype.toJSON
toJSON.stringify
entries dependencies{ Map, Object }.groupBy
,Promise.withResolvers
,ArrayBuffer.prototype.transfer
and friends marked as supported from Safari 17.4Set
methods fixed and marked as supported from V8 ~ Chrome 123Symbol.metadata
marked as supported from Deno 1.40.4v3.35.1
Compare Source
ToLength
operation with bigints, #1318String.prototype.split
polyfillIterator
helpers proposal methods marked as supported from V8 ~ Chrome 122Set
methods, but they have a bug similar to Safariself
marked as fixed from Bun 1.0.22SuppressedError
andSymbol.{ dispose, asyncDispose }
marked as supported from Bun 1.0.23v3.35.0
Compare Source
{ Map, Set, WeakMap, WeakSet }.{ from, of }
became non-generic, following this and some other notes. Now they can be invoked withoutthis
, but no longer return subclass instancesSymbol
polyfillqueueMicrotask
polyfillArrayBuffer
Array.fromAsync
marked as supported from V8 ~ Chrome 121Array.prototype.push
bug is fixed in V8 ~ Chrome 122 (Hallelujah!)ArrayBuffer.prototype.transfer
and friends proposal features marked as supported from FF 122 and Bun 1.0.19Object.groupBy
andMap.groupBy
marked as supported from Bun 1.0.19Iterator
helpers proposal methods are still not disabled in Deno, the web compatibility issue why it was disabled in Chromium makes no sense for Deno and fixed in the spec, they marked as supported from Deno 1.37v3.34.0
Compare Source
Array
grouping proposal:Object.groupBy
Map.groupBy
es.
namespace modules,/es/
and/stable/
namespaces entriesPromise.withResolvers
proposal:Promise.withResolvers
es.
namespace module,/es/
and/stable/
namespaces entriesIterator
helpers proposal, proposal-iterator-helpers/287 and some following changes, November 2023 TC39 meetingUint8Array
to / from base64 and hex stage 2 proposal:Uint8Array.fromBase64
Uint8Array.fromHex
Uint8Array.prototype.toBase64
Uint8Array.prototype.toHex
Number.fromString
validation before clarification of proposal-number-fromstring/24@@​toStringTag
property descriptors on DOM collections, #1312Array
iteration methods, #1313atob
/btoa
improvementsPromise.withResolvers
marked as shipped from FF121v3.33.3
Compare Source
[[DedentMap]]
fromString.dedent
proposal betweencore-js
instances before stabilization of the proposalArray.fromAsync
marked as supported from Deno 1.38Symbol.{ dispose, asyncDispose }
marked as supported from Deno 1.38v3.33.2
Compare Source
structuredClone
polyfill, avoided second tree pass in cases of transferringSuppressedError
tostructuredClone
polyfillArrayBuffer
andDataView
dependencies ofstructuredClone
lack of which could cause errors in some entries in IE10-Number.fromString
URL.canParse
marked as supported from Chromium 120v3.33.1
Compare Source
Symbol
polyfill on global object, #1289type: commonjs
inpackage.json
of all packages to avoid potential breakage in future Node versions, see this issueString.prototype.{ isWellFormed, toWellFormed }
marked as supported from FF119v3.33.0
Compare Source
RegExp
escaping stage 2 proposal, September 2023 TC39 meeting:RegExp.escape
method with the new set of symbols for escapingcore-js
, but it was removed after rejecting the old version of this proposalArrayBuffer.prototype.{ transfer, transferToFixedLength }
and support transferring ofArrayBuffer
s viastructuredClone
to engines withMessageChannel
Math.f16round
polyfillMath.f16round
andDataView.prototype.{ getFloat16, setFloat16 }
Observable
proposal because of incompatibility with the new WHATWGObservable
proposalSymbol
polyfill, #1289Iterator
helpers because of some Web compatibility issuesPromise.withResolvers
marked as supported from V8 ~ Chrome 119Array
grouping proposal features marked as supported from FF119value
argument ofURLSearchParams.prototype.{ has, delete }
marked as properly supported from V8 ~ Chrome 118URL.canParse
andURLSearchParams.prototype.size
marked as supported from Bun 1.0.2v3.32.2
Compare Source
structuredClone
feature detectioncore-js@3.32.1
bug, #1288eval
bug, #1287v3.32.1
Compare Source
process
polyfill tocore-js
via some bundlers oresm.sh
, #1277Promise.withResolvers
marked as supported from Bun 0.7.1v3.32.0
Compare Source
Array
grouping proposal, July 2023 TC39 meeting updates:/actual/
namespaces entries, unconditional forced replacement changed to feature detectionPromise.withResolvers
proposal, July 2023 TC39 meeting updates:/actual/
namespaces entries, unconditional forced replacement changed to feature detectionSet
methods stage 3 proposal, July 2023 TC39 meeting updates:Set
sizes, proposal-set-methods/88IsCallable
check inGetKeysIterator
, proposal-set-methods/101String
wrapper objects, July 2023 TC39 meeting update, proposal-iterator-helpers/281Iterator
is not constructible from the active function object (works as an abstract class)/actual/
namespace entries, unconditional forced replacement changed to feature detection[@@​dispose]()
method when hint isasync-dispose
, proposal-explicit-resource-management/180Float16Array
stage 3 proposal:Float16Array
right now, however, make sense to add some methods from this proposal.Math.f16round
DataView.prototype.getFloat16
DataView.prototype.setFloat16
DataView
get / setUint8Clamped
methods stage 1 proposal:DataView.prototype.getUint8Clamped
DataView.prototype.setUint8Clamped
value
argument ofURLSearchParams.prototype.{ has, delete }
Set
methods implementation by the actual specSymbol.{ dispose, asyncDispose }
descriptors from NodeJS 20.4 / transpilers helpers / userland codeAsyncIteratorPrototype
core-js/configurator
option, #1268Iterator
helpers proposal features marked as supported from V8 ~ Chrome 117Array
grouping proposal features marked as supported from V8 ~ Chrome 117Symbol.{ dispose, asyncDispose }
as supported from NodeJS 20.5.0 (as mentioned above, NodeJS 20.4.0 add it, but with incorrect descriptors)v3.31.1
Compare Source
structuredClone
bug with cloning views of transferred buffers, #1265DataView
methodsFloat16Array
instructuredClone
Set
methods proposal marked as supported from Safari 17.0URL
features:URL.canParse
,URLSearchParams.prototype.size
andvalue
argument ofURLSearchParams.prototype.{ has, delete }
marked as supported from Safari 17.0value
argument ofURLSearchParams.prototype.{ has, delete }
marked as supported from Deno 1.35AggregateError
and well-formedJSON.stringify
marked as supported React Native 0.72 Hermesv3.31.0
Compare Source
String.prototype.isWellFormed
methodString.prototype.toWellFormed
methodes.
namespace modules,/es/
and/stable/
namespaces entriesArray
grouping proposal, May 2023 TC39 meeting updates:Object.groupBy
methodMap.groupBy
method (with the actual semantic - with a minor difference it was present in the collections methods stage 1 proposal)Function.prototype[Symbol.metadata]
(=== null
)/actual/
entriesSymbol.iterator
fallback from callable check toundefined
/null
check, May 2023 TC39 meeting, proposal-iterator-helpers/272IsCallable
check onNextMethod
, deferring errors toCall
site, May 2023 TC39 meeting, proposal-iterator-helpers/274Promise.withResolvers
stage 2 proposal:Promise.withResolvers
methodSymbol
predicates stage 2 proposal:Symbol
, May 2023 TC39 meeting:Symbol.isRegistered
->Symbol.isRegisteredSymbol
methodSymbol.isWellKnown
->Symbol.isWellKnownSymbol
methodvalue
argument ofURLSearchParams.prototype.{ has, delete }
, url/735ArrayBuffer.prototype.{ transfer, transferToFixedLength }
polyfillsAsyncDisposableStack.prototype.adopt
callback, #1258URLSearchParams#size
in ES3 engines (IE8-)Object.{ entries, values }
for some IE versions bug with invisible integer keys onnull
-prototype objectscore-js-compat
, #1235, thanks @susnuxSet.prototype.difference
that was missed in Bun because of a bug added in 0.6.0Array.prototype.{ group, groupToMap }
marked as no longer supported in WebKit runtimes because of the mentioned above web compat issue. For example, it's disabled from Bun 0.6.2Array
by copy proposal marked as supported from FF115Array.fromAsync
marked as supported from FF115URL.canParse
marked as supported from FF115value
argument ofURLSearchParams.prototype.{ has, delete }
marked as supported from NodeJS 20.2.0 and FF115v3.30.2
Compare Source
File
viastructuredClone
String
optimization, #1242URL.canParse
marked as supported (fixed) from NodeJS 20.1.0 and Deno 1.33.2v3.30.1
Compare Source
URL.canParse
bugJSON.parse
source text access proposal features marked as supported from V8 ~ Chrome 114ArrayBuffer.prototype.transfer
and friends proposal features marked as supported from V8 ~ Chrome 114URLSearchParams.prototype.size
marked as supported from V8 ~ Chrome 113v3.30.0
Compare Source
URL.canParse
method, url/763Set
methods proposal:Set.prototype.intersection
, March 2023 TC39 meeting, proposal-set-methods/94(Async)DisposableStack.prototype.move
marks the original stack as disposed, #1226Iterator.range
proposal:Symbol.metadata
, March 2023 TC39 meeting, proposal-decorator-metadata/12URLSearchParams.prototype.size
marked as supported from FF112, NodeJS 19.8 and Deno 1.32v3.29.1
Compare Source
ToString
conversion / built-ins nature of some accessorsString.prototype.{ isWellFormed, toWellFormed }
marked as supported from V8 ~ Chrome 111v3.29.0
Compare Source
URLSearchParams.prototype.size
getter, url/734ArrayBuffer
s in thestructuredClone
polyfill/(stable|actual|full)/instance/unshift
entries, #1207Set
methods proposal marked as supported from Bun 0.5.7String.prototype.toWellFormed
marked as fixed from Bun 0.5.7v3.28.0
Compare Source
3.28.0 - 2023.02.14
v3.27.2
Compare Source
Set
methods proposal updates:Set
-like objects on early exit, proposal-set-methods/85webpack
dev server bug on IE global methods, #1161String.{ raw, cooked }
error with empty template arrayError.captureStackTrace
instead of stack parsing in new error classes / wrappers where it's possiblePromise.{ allSettled, any }
feature detection, Hermes issueArray
by copy proposal marked as supported from V8 ~ Chrome 110self
marked as fixed in Deno 1.29.3, deno/17362core-js-bundle
v3.27.1
Compare Source
WeakMap
keysString.dedent
in MS Edgev3.27.0
Compare Source
Iterator
Iterator.from
Iterator.prototype.drop
Iterator.prototype.every
Iterator.prototype.filter
Iterator.prototype.find
Iterator.prototype.flatMap
Iterator.prototype.forEach
Iterator.prototype.map
Iterator.prototype.reduce
Iterator.prototype.some
Iterator.prototype.take
Iterator.prototype.toArray
Iterator.prototype.toAsync
Iterator.prototype[@​@​toStringTag]
AsyncIterator
AsyncIterator.from
AsyncIterator.prototype.drop
AsyncIterator.prototype.every
AsyncIterator.prototype.filter
AsyncIterator.prototype.find
AsyncIterator.prototype.flatMap
AsyncIterator.prototype.forEach
AsyncIterator.prototype.map
AsyncIterator.prototype.reduce
AsyncIterator.prototype.some
AsyncIterator.prototype.take
AsyncIterator.prototype.toArray
AsyncIterator.prototype[@​@​toStringTag]
/actual/
entries, unconditional forced replacement disabled for features that survived to Stage 3.from
accept strings,.flatMap
throws on strings returned from the callback, proposal-iterator-helpers/244, proposal-iterator-helpers/250.from
and.flatMap
throws on non-object iterators, proposal-iterator-helpers/253Set
methods proposal:Set.prototype.intersection
Set.prototype.union
Set.prototype.difference
Set.prototype.symmetricDifference
Set.prototype.isSubsetOf
Set.prototype.isSupersetOf
Set.prototype.isDisjointFrom
Set
-like objects as an argument, not all iterablesSet
s asthis
, no@@​species
support, and other minor changes/actual/
entries, unconditional forced replacement changed to feature detection/actual/
namespace)/full/
namespace), those methods are available with fallbacks to old semantics (in addition toSet
-like, they accept iterable objects). This behavior will be removed from the next major releaseString.prototype.isWellFormed
String.prototype.toWellFormed
/actual/
entries, disabled unconditional forced replacementusing
statement" and split into 2 (sync and async) proposalsSymbol.dispose
Symbol.asyncDispose
SuppressedError
DisposableStack
DisposableStack.prototype.dispose
DisposableStack.prototype.use
DisposableStack.prototype.adopt
DisposableStack.prototype.defer
DisposableStack.prototype.move
DisposableStack.prototype[@​@​dispose]
AsyncDisposableStack
AsyncDisposableStack.prototype.disposeAsync
AsyncDisposableStack.prototype.use
AsyncDisposableStack.prototype.adopt
AsyncDisposableStack.prototype.defer
AsyncDisposableStack.prototype.move
AsyncDisposableStack.prototype[@​@​asyncDispose]
Iterator.prototype[@​@​dispose]
AsyncIterator.prototype[@​@​asyncDispose]
/actual/
namespace entries for Stage 3 proposalString.dedent
stage 2 proposalString.dedent
react-native
target for React Native with bundled Hermes.oculus
target was renamed toquest
.opera_mobile
target name is confusing since it contains data for the Chromium-based Android version, but iOS Opera is Safari-based. Soopera_mobile
target was renamed toopera-android
.android
target name is also confusing for someone - that means Android WebView, some think thinks that it's Chrome for Android, but they have some differences. For avoiding confusion, addedchrome-android
target.firefox-android
target.oculus
andopera_mobile
fields are available in the compat data till the next major release.Array.fromAsync
marked as supported from Bun 0.3.0String.prototype.{ isWellFormed, toWellFormed }
marked as supported from Bun 0.4.0Array
by copy proposal marked as supported from Deno 1.27, deno/16429{ Map, WeakMap }.prototype.emplace
became stricter by the spec draft@@​species
pattern) of some.prototype
methods from the new collections methods proposal and theArray
deduplication proposal that most likely will not be implemented since it contradicts the current TC39 policyNumber
constructor, #1154, #1155, thanks @trososset(Timeout|Interval|Immediate)
extra arguments fix for Bun 0.3.0- (similarly to IE9-), bun/1633structuredClone
, #1156v3.26.1
Compare Source
Array.fromAsync
since it's on Stage 3function-uncurry-this
helper where it's not required - minor optimization and preventing problems in some broken environments, a workaround of #1141Array.prototype.{ group, groupToMap }
in V8 ~ Chromium 108, proposal-array-grouping/44v3.26.0
Compare Source
Array.fromAsync
proposal:%Array.prototype.values%
usage in array-like branch, proposal-array-from-async/30String.prototype.isWellFormed
String.prototype.toWellFormed
AsyncIterator
helpers, proposal-iterator-helpers/239{ Iterator, AsyncIterator }.prototype.flatMap
supports returning both - iterables and iterators, proposal-iterator-helpers/233.next
in missed cases of{ Iterator, AsyncIterator }.from
, proposal-iterator-helpers/232self
polyfill as a part of The Minimum Common Web Platform API, specification, #1118inverse
option tocore-js-compat
, #1119format
option tocore-js-builder
, #1120v3.25.5
Compare Source
v3.25.4
Compare Source
Function.prototype.{ call, apply, bind }
on string methods, #1128[Serializable]
and[Transferable]
objects in thestructuredClone
polyfill. Mainly, for better error messages if polyfilling of cloning such types is impossibleArray.prototype.{ group, groupToMap }
marked as supported from V8 ~ Chromium 108v3.25.3
Compare Source
Array.prototype.groupToMap
in the pure version for returning wrappedMap
instancesArray.prototype.{ findLast, findLastIndex }
in/stage/4
entryv3.25.2
Compare Source
document.all
as a callable in some missed casesv3.25.1
Compare Source
sideEffects
field tocore-js-pure
package.json
for better tree shaking, #1117semver
dependency fromcore-js-compat
semver
package (ironically) added a breaking change and dropped NodeJS 8 support in the minor7.1
version, after thatsemver
incore-js-compat
was pinned to7.0
since for avoiding breaking changes it should support NodeJS 8. However, sincecore-js-compat
is usually used with other packages that usesemver
dependency, it causes multiple duplication ofsemver
in dependencies. So I decided to removesemver
dependency and replace it with a couple of simple helpers.v3.25.0
Compare Source
Object.prototype.__proto__
polyfilldocument.all
as an object in some missed cases, see ECMAScript Annex B 3.6%WrapForValid(Async)IteratorPrototype%.return
, proposal-iterator-helpers/215.return
in%IteratorHelperPrototype%.return
, #1116value
should be created beforedone
).length
settingArrayBuffer.length
in V8 ~ Chrome 27-WeakMap
for internal states with multiplecore-js
copiesFileList
in thestructuredClone
polyfill extended to some more old engines versionsTypeError
incore-js-compat
/core-js-builder
in case of passing invalid module names / filters for avoiding unexpected result, related to #1115esmodules
core-js-compat
/core-js-builder
targetv3.24.1
Compare Source
IS_BROWSER
detection to avoid a false positive withjsdom
, #1110@@​species
support inPromise
in some old engines{ Array, %TypedArray% }.prototype.{ findLast, findLastIndex }
marked as shipped in FF104v3.24.0
Compare Source
.asIndexedPairs
renamed to.indexed
, proposal-iterator-helpers/183:Iterator.prototype.asIndexedPairs
->Iterator.prototype.indexed
AsyncIterator.prototype.asIndexedPairs
->AsyncIterator.prototype.indexed
%AsyncFromSyncIteratorPrototype%
inAsyncIterator.from
andIterator.prototype.toAsync
, proposal-iterator-helpers/182, proposal-iterator-helpers/202%WrapForValidAsyncIteratorPrototype%.next
, proposal-iterator-helpers/197%WrapForValid(Async)IteratorPrototype%.next
, proposal-iterator-helpers/197 and proposal-iterator-helpers/205.next
/.return
to an underlying iterator by the extended iterator protocol, a part of proposal-iterator-helpers/194.throw
methods removed from all wrappers / helpers prototypes, a part of proposal-iterator-helpers/194{ Iterator, AsyncIterator }.prototype.flatMap
proxy iterators on.return
, proposal-iterator-helpers/195RangeError
onNaN
in{ Iterator, AsyncIterator }.prototype.{ drop, take }
, proposal-iterator-helpers/181%TypedArray%.prototype.toSpliced
method removed from the change array by copy proposal and marked as obsolete incore-js
, proposal-change-array-by-copy/88Promise
withunhandledrejection
event support (browser style) in Deno < 1.24core-js-compat
/core-js-builder
and added compat data for them:bun
), compat data for 0.1.1-0.1.5, #1103hermes
), compat data for 0.1-0.11, #1099oculus
), compat data mapping for 3.0-22.0, #1098v3.23.5
Compare Source
structuredClone
feature detection, #1106v3.23.4
Compare Source
core-js
structuredClone
bugs (1774866 (fixed in FF104) and 1777321 (still not fixed)) that now can clone errors, but.stack
of the clone is an empty string{ Map, WeakMap }.prototype.emplace
logic, #1102v3.23.3
Compare Source
%TypedArray%.prototype.toSpliced
following proposal-change-array-by-copy/89v3.23.2
Compare Source
%TypedArray%
constructors in new methods, #1092 (comment)v3.23.1
Compare Source
core-js
copies, #1091v
flag toRegExp.prototype.flags
implementation in case if current V8 bugs will not be fixed before this flag implementationv3.23.0
Compare Source
Array
find from last moved to the stable ES, according to June 2022 TC39 meeting:Array.prototype.findLast
Array.prototype.findLastIndex
%TypedArray%.prototype.findLast
%TypedArray%.prototype.findLastIndex
Array
grouping proposal renamed, according to June 2022 TC39 meeting:Array.prototype.groupBy
->Array.prototype.group
Array.prototype.groupByToMap
->Array.prototype.groupToMap
%TypedArray%.prototype.with
following proposal-change-array-by-copy/86, according to June 2022 TC39 meetingSymbol.metadataKey
replacesSymbol.metadata
Array.prototype.push
polyfill with some fixes for modern enginesArray.prototype.unshift
polyfill with some fixes for modern enginesRegExp.prototype.flags
in the actual version of V8Math
andNumber
constantsArrayBufferDetaching
protector cell invalidation and performance degradation onstructuredClone
feature detection, one more case of #679structuredClone
that can not cloneDOMException
(just in case for future versions that will fix other issues)v3.22.8
Compare Source
ToBigInt
/ToNumber
conversion of the argument passed to%TypedArray%.prototype.fill
in V8 ~ Chrome < 59, Safari < 14.1, FF < 55, Edge <=18DeletePropertyOrThrow
in IE9-TypeError
instead ofError
) on incorrectexec
result inRegExp.prototype.test
polyfill{ actual, full, features }/typed-array/at
entriesv3.22.7
Compare Source
v3.22.6
Compare Source
ToNumber
conversion on arguments ofMath.{ fround, trunc }
polyfillsArray.prototype.includes
marked as fixed in FF102v3.22.5
Compare Source
.prototype
is non-writable.prototype
is not definedstruturedClone
that returnsnull
if cloned object contains multiple references to one errorv3.22.4
Compare Source
.length
of polyfilled functions even in compressed code (excepting some ancient engines).name
of polyfilled accessors (excepting some ancient engines)ToString
conversion of polyfilled accessorsv3.22.3
Compare Source
Array.prototype.includes
broken on sparse arraysv3.22.2
Compare Source
URLSearchParams
in IE8- that was broken in the previous release__lookupGetter__
entriesv3.22.1
Compare Source
RegExp
flags handlingfetch
APIv3.22.0
Compare Source
Array
by copy proposal:/actual/
entry points for methods from this proposalArray.prototype.toSpliced
throws aTypeError
instead ofRangeError
if the result length is more thanMAX_SAFE_INTEGER
, proposal-change-array-by-copy/70atob
/btoa
fixes:atob
does not ignore spaces, node/42530atob
does not validate encoding, node/42646/full/
namespace as the replacement for/features/
since it's more descriptive in context of the rest namespaces (/es/
⊆/stable/
⊆/actual/
⊆/full/
)%TypedArray%.prototype.groupBy
was removed from theArray
grouping proposal a long time ago. We can't completely remove this method since it's a breaking change. But this proposal has been promoted to stage 3 - so the proposal should be promoted without this method, this method should not be available in/actual/
entries - but it should be available in early-stage entries to avoid breakage.Error
features with wrappedError
constructors, #1061null
andundefined
allowed as the second argument ofstructuredClone
, #1056core-js-compat
->core-js-builder
->core-js-bundle
output. That mean that if the output contains, for example,es.object.has-own
, the legacy reference to it,esnext.object.has-own
, no longer added.core-js-builder
andcore-js-compat
, now it'smodules
andexclude
optionstargets
option ofcore-js-compat
means that thetargets
filter just will not be applied, so the result will contain modules required for all possible engines.stack
property onDOMException
marked as supported from Deno 1.15v3.21.1
Compare Source
Array.prototype.{ groupBy, groupByToMap }
implementationcore-js-compat
targets parser transforms engine names to lower caseatob
/btoa
marked as fixed in NodeJS 17.5v3.21.0
Compare Source
atob
btoa
v3.20.3
Compare Source
Function#bind
polyfills, uses only nativeFunction#bind
in the internalsstructuredClone
should throw an error if no arguments passed__core-js_shared__
v3.20.2
Compare Source
Object.{ defineProperty, defineProperties }
bug, Babel issue%TypedArray%.prototype.set
bugs, affects modern engines (like Chrome < 95 or Safari < 14.1)v3.20.1
Compare Source
Promise.prototype.then
, #1026v3.20.0
Compare Source
structuredClone
method from the HTML spec, see MDNhtml/5749
DOMException
polyfill, the Web IDL spec, see MDNDOMException
and its attributes polyfills with fixes of many different engines bugsDOMException#stack
property polyfill in engines that should have itDOMException
implementations where it's possible (for example, in old NodeJS where it's not exposed as global)cause
on all Error typesError.prototype.toString
method polyfill with fixes of many different bugs of JS enginesNumber.prototype.toExponential
method polyfill with fixes of many different bugs of JS enginesArray
grouping proposal:Array.prototype.groupByToMap
method@@​species
supportArray
by copy stage 2 proposal:Array.prototype.toReversed
Array.prototype.toSorted
Array.prototype.toSpliced
Array.prototype.with
%TypedArray%.prototype.toReversed
%TypedArray%.prototype.toSorted
%TypedArray%.prototype.toSpliced
%TypedArray%.prototype.with
Iterator.prototype.toAsync
method from the iterator helpers stage 2 proposalArray.fromAsync
proposal moved to stage 2String.cooked
stage 1 proposalFunction.prototype.unThis
stage 0 proposalFunction.{ isCallable, isConstructor }
stage 0 proposal:Function.isCallable
Function.isConstructor
String#at
after loading obsoleteString#at
proposal module, #1019Array.prototype.{ values, @​@​iterator }.name
in V8 ~ Chrome 45-core-js/actual/**
namespacev3.19.3
Compare Source
URLSearchParams
iterator.next
that should be enumerable by the specSubscription
v3.19.2
Compare Source
RegExp#sticky
flag, #1008, #1015Function#name
polyfill, #1010, thanks @ildar-shaimordanovArray.prototype[@​@​species]
URL
andURLSearchParams
v3.19.1
Compare Source
ArrayBuffer
s are non-extensible, butObject.isExtensible
does not report it:Object.{ isExtensible, isSealed, isFrozen }
andReflect.isExtensible
ArrayBuffer
s as collections keysObject#toString
onAggregateError
in IE10-WeakMap
in IE8-.findLast
methods family marked as supported from Chrome 97web.
modulesv3.19.0
Compare Source
core-js
for preventing possible cases of breaking / observing the internal state by patching / deleting of them.call
/.apply
prototype methods that could be patchedinstanceof
operator - implicit.prototype
/@@​hasInstance
access that could be patchedRegExp#test
,String#match
and some over methods - implicit.exec
andRegExp
well-known symbols access that could be patchedError
stack from extra entries experimentally added toAggregateError
, #996, in case lack of problems it will be extended to other casesSymbol
support, new well-known symbols created with usageSymbol.for
for ensuring the same keys in different realms, #998process
polyfill bug that incorrectly reports V8 version that's used in some cases ofcore-js
feature detectionmessage
AggregateError
argumentMath.scale
, a spec draft bugcore-js-builder
work in NodeJS 17, added a workaround ofwebpack
+ NodeJS 17 issuev3.18.3
Compare Source
AggregateError
constructor that should containError
constructorAggregateError.prototype
properties descriptorsInstallErrorCause
internal operationObject.hasOwn
marked as supported from Safari 15.1v3.18.2
Compare Source
{ Array, %TypedArray% }.fromAsync
errors moved to the promise, per the latest changes of the spec draftToInteger(OrInfinity)
operation returns+0
for-0
argument, ES2020+ updateNumber
constructor wrapperString.raw
with extra argumentsv3.18.1
Compare Source
String.prototype.substr
feature detection and compat data.forEach
from prototypes of some DOM collections where it shouldn't be, #988, #987, thanks @moorejscause
toAggregateError
constructor implementation (still without adding to the feature detection).at
and.findLast
methods marked as supported in Safari TPv3.18.0
Compare Source
Array.fromAsync
stage 1 proposal:Array.fromAsync
%TypedArray%.fromAsync
.name
and.toString()
on polyfilled functions improved in many different casesIsConstructor
andIsCallable
checksGetMethod
operationparseInt
/parseFloat
with boxed symbolses.array.{ index-of, last-index-of }
compat datav3.17.3
Compare Source
%IteratorPrototype%
and%AsyncIteratorPrototype%
in the futureDOMTokenList.prototype.{ forEach, @​@​iterator, keys, values, entries }
in old WebKit versions whereelement.classList
is not an instance of globalDOMTokenList
v3.17.2
Compare Source
v3.17.1
Compare Source
modules-by-versions
datav3.17.0
Compare Source
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.v3.16.4
Compare Source
AsyncFromSyncIterator
made stricter, related mainly toAsyncIterator.from
andAsyncIterator.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 onAsyncIterator
helpers proxy iterators aligned with the current spec draft (built-in async generators) (mainly - some early errors moved to returned promises)v3.16.3
Compare Source
CreateAsyncFromSyncIterator
semantic inAsyncIterator.from
, related to #765Object.prototype
, #973v3.16.2
Compare Source
Object.create(null)
on WSH, #970v3.16.1
Compare Source
v3.16.0
Compare Source
Array
find from last proposal moved to the stage 3, July 2021 TC39 meetingArray
filtering stage 1 proposal:Array.prototype.filterReject
replacesArray.prototype.filterOut
%TypedArray%.prototype.filterReject
replaces%TypedArray%.prototype.filterOut
Array
grouping stage 1 proposal:Array.prototype.groupBy
%TypedArray%.prototype.groupBy
@@​toPrimitive
in some cases ofToPrimitive
internal logic made stricterRequest
with polyfilledURLSearchParams
, #965Object.create(null)
on WSH, #966RegExp#exec
Date.prototype.getYear
feature detectiondeno
target incore-js-compat
/core-js-builder
Object.hasOwn
marked as supported from V8 9.3 and FF92Date.prototype.getYear
marked as not supported in IE8-summary
option tocore-js-builder
, see more info in theREADME
, #910v3.15.2
Compare Source
zone.js
loaded beforecore-js
, #953v3.15.1
Compare Source
RegExp
constructor, #948v3.15.0
Compare Source
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 incore-js-compat
/core-js-builder
, added compat data forrhino
1.7.13, #942, thanks @gausie.at
marked as supported from FF90v3.14.0
Compare Source
{ Array, %TypedArray% }.prototype.sort
, #769, #941Safari
14.0-%TypedArray%.prototype.sort
validation of arguments bug.at
marked as supported from V8 9.2v3.13.1
Compare Source
get-own-property-symbols
third-partySymbol
polyfill if it's used since it causes a stack overflow, #774Object.prototype
accessors methods in WebKit ~ Android 4.0, #232v3.13.0
Compare Source
Object#hasOwnProperty
(Object.hasOwn
) proposal moved to the stage 3, May 2021 TC39 meetingv3.12.1
Compare Source
Function#toString
with multiplecore-js
instancesString#split
polyfill problems in V8 5.1v3.12.0
Compare Source
Array
grouping proposal:Object.groupBy
Map.groupBy
es.
namespace modules,/es/
and/stable/
namespaces entriesPromise.withResolvers
proposal:Promise.withResolvers
es.
namespace module,/es/
and/stable/
namespaces entriesIterator
helpers proposal, proposal-iterator-helpers/287 and some following changes, November 2023 TC39 meetingUint8Array
to / from base64 and hex stage 2 proposal:Uint8Array.fromBase64
Uint8Array.fromHex
Uint8Array.prototype.toBase64
Uint8Array.prototype.toHex
Number.fromString
validation before clarification of proposal-number-fromstring/24@@​toStringTag
property descriptors on DOM collections, #1312Array
iteration methods, #1313atob
/btoa
improvementsPromise.withResolvers
marked as shipped from FF121v3.11.3
Compare Source
Promise#{ catch, finally }
returns polyfilledPromise
instances when it's requiredv3.11.2
Compare Source
[[DedentMap]]
fromString.dedent
proposal betweencore-js
instances before stabilization of the proposalArray.fromAsync
marked as supported from Deno 1.38Symbol.{ dispose, asyncDispose }
marked as supported from Deno 1.38v3.11.1
Compare Source
instanceof Promise
and.constructor === Promise
work with polyfilledPromise
for all native promise-based APIs%TypedArray%
static methods, #564v3.11.0
Compare Source
Object#hasOwnProperty
stage 2 proposalObject.hasOwn
methodRegExp
constructor problem with multiple globalcore-js
instancesv3.10.2
Compare Source
Symbol
polyfill on global object, #1289type: commonjs
inpackage.json
of all packages to avoid potential breakage in future Node versions, see this issueString.prototype.{ isWellFormed, toWellFormed }
marked as supported from FF119v3.10.1
Compare Source
RegExp#split
problems in old engines, #751, #919v3.10.0
Compare Source
RegExp
escaping stage 2 proposal, September 2023 TC39 meeting:RegExp.escape
method with the new set of symbols for escapingcore-js
, but it was removed after rejecting the old version of this proposalArrayBuffer.prototype.{ transfer, transferToFixedLength }
and support transferring ofArrayBuffer
s viastructuredClone
to engines withMessageChannel
Math.f16round
polyfillMath.f16round
andDataView.prototype.{ getFloat16, setFloat16 }
Observable
proposal because of incompatibility with the new WHATWGObservable
proposalSymbol
polyfill, #1289Iterator
helpers because of some Web compatibility issuesPromise.withResolvers
marked as supported from V8 ~ Chrome 119Array
grouping proposal features marked as supported from FF119value
argument ofURLSearchParams.prototype.{ has, delete }
marked as properly supported from V8 ~ Chrome 118URL.canParse
andURLSearchParams.prototype.size
marked as supported from Bun 1.0.2v3.9.1
Compare Source
NumericRangeIterator
as toStringTag instead ofRangeIterator
in{ Number, BigInt }.range
iterator, per this PRv3.9.0
Compare Source
Array
find from last stage 1 proposalArray#findLast
Array#findLastIndex
%TypedArray%#findLast
%TypedArray%#findLastIndex
%TypedArray%#uniqueBy
method for array deduplication stage 1 proposal%TypedArray%#uniqueBy
ToLength
detection from array methods feature detection which could cause hanging FF11-21 and some versions of old WebKit, #764core-js-bundle
usesterser
instead ofuglify-js
v3.8.3
Compare Source
Iterator
, #906v3.8.2
Compare Source
String#replaceAll
, #900Promise.any
andPromise.allSettled
entriesv3.8.1
Compare Source
%TypedArray%
methods onBigInt
arraysNumber
constructor wrapperv3.8.0
Compare Source
Array#at
%TypedArray%#at
Number.range
stage 1 proposalNumber.range
BigInt.range
Array#filterOut
%TypedArray%#filterOut
Array#uniqueBy
String#at
for preventing breakage code which use obsoleteString#at
proposal polyfill(es|stable)/instance/replace-all
entriescore-js-builder
blacklist
option in favor ofexclude
v3.7.0
Compare Source
String#replaceAll
moved to the stable ES, per June TC39 meetingPromise.any
andAggregateError
moved to the stable ES, per July TC39 meetingReflect[@​@​toStringTag]
, per July TC39 meetingArray#{ reduce, reduceRight }
in Chrome 80-82 because of a bug, #766upsert
proposal,{ Map, WeakMap }#emplace
replace{ Map, WeakMap }#upsert
, these obsolete methods will be removed in the next major releaseAggregateError#errors
is own data propertyprocess.nextTick
have a less priority thanPromise
in the microtask implementation, #855MutationObserver
, but withoutdocument
, #865, #866core-js-builder
with an empty (after the targets engines or another filtration) modules list, #822window.onunhandledrejection
, #760core-js
, #880Reflect.set
polyfill bug, #847v3.6.5
Compare Source
setImmediate
in Safari #770, thanks @dtinthpostinstall
, thanks @scottarcpostinstall
CI detection #781v3.6.4
Compare Source
v3.6.3
Compare Source
.replace
in Safari 13.0-, #471, #745, thanks @mattclough1v3.6.2
Compare Source
Array#{ every, forEach, includes, indexOf, lastIndexOf, reduce, reduceRight, slice, some, splice }
for the usage ofToLength
RegExp#exec
dependency to methods which depends on the correctness of logic of this method (3.6.0-3.6.1
issue), #741v3.6.1
Compare Source
Symbol
with multiple copies ofcore-js
(for3.4.2-3.6.0
), #736v3.6.0
Compare Source
y
)RegExp
flag, #372, #732, #492, thanks @cvle and @nicolo-ribaudoRegExp#test
delegation toRegExp#exec
, #732, thanks @cvleObject.create(null)
in IE8-, #727, #728, thanks @aleen42core-js-compat
andcore-js-builder
targets
argumenttargets.esmodules
,targets.browsers
,targets.node
options incore-js-compat
andcore-js-builder
features/instance/match-all
entry compat dataArray.prototype[@​@​unscopables]
descriptor (was writable)v3.5.0
Compare Source
Object.iterateKeys
Object.iterateValues
Object.iterateEntries
v3.4.8
Compare Source
inspectSource
helper, #719es.string.match-all
marked as completely supported in FF73core-js-compat/modules
since often we need just the list ofcore-js
modulesv3.4.7
Compare Source
v3.4.6
Compare Source
core-js-compat
helpersie_mob
normalizationgetModulesListForTargetVersion
core-js-compat
helperpostinstall
script, #707v3.4.5
Compare Source
Object.assign
, MS Edge bugToLength
inArray#{ filter, map }
, FF48-49 and MS Edge 14- issuesReflect.set
which allows setting the property to object with non-writable property on the prototypeinspectSource
helper with multiplecore-js
copies and some related features like some edge cases ofPromise
feature detectionv3.4.4
Compare Source
Promise#finally
bug (critical forcore-js-pure
)esnext.string.code-points
incore-js/features/string
entry pointIterator
proposal feature detection for the case of non-standardIterator
in FF44-v3.4.3
Compare Source
es.json.stringify
and some modules from iteration helpers proposal in some entry points (includes the root entry point)String#{ endsWith, startsWith }
MDN polyfills bugs, #702.size
property descriptor ofMap
/Set
in the pure versionv3.4.2
Compare Source
String#replaceAll
is available only in nightly FF buildsPromise
feature detection for the case of V8 6.6 with multiplecore-js
copiesnode -e
inpostinstall
scriptsv3.4.1
Compare Source
(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 FF72v3.4.0
Compare Source
JSON.stringify
, ES2019 feature, thanks @ExE-Boss and @WebReflection for the ideaMath.signbit
, #687, thanks @chicoxyzzyv3.3.6
Compare Source
userAgent
parsingfetch
implementations with polyfilledURLSearchParams
, #680v3.3.5
Compare Source
Array#concat
, #679Promise
, #679(Async)Iterator.prototype.constructor -> (Async)Iterator
per this issuev3.3.4
Compare Source
RegExp
-related methods likeString#split
, #306Array#splice
and slightlyArray#{ filter, map }
, #677fetch
with polyfilledURLSearchParams
, #674String#replaceAll
with an empty search valuepackage-lock.json
no longer generated in librariesv3.3.3
Compare Source
gopher
removed fromURL
special cases per this issue and this PRv3.3.2
Compare Source
core-js-compat
with Node 6 and Yarn, #669v3.3.1
Compare Source
v3.3.0
Compare Source
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 releaseglobalThis
moved to stable ES, per October TC39 meetingPromise.any
moved to stage 3, some minor internal changes, per October TC39 meetingString#replaceAll
moved to stage 3, per October TC39 meetingIterator
Iterator.from
Iterator#asIndexedPairs
Iterator#drop
Iterator#every
Iterator#filter
Iterator#find
Iterator#flatMap
Iterator#forEach
Iterator#map
Iterator#reduce
Iterator#some
Iterator#take
Iterator#toArray
Iterator#@​@​toStringTag
AsyncIterator
AsyncIterator.from
AsyncIterator#asIndexedPairs
AsyncIterator#drop
AsyncIterator#every
AsyncIterator#filter
AsyncIterator#find
AsyncIterator#flatMap
AsyncIterator#forEach
AsyncIterator#map
AsyncIterator#reduce
AsyncIterator#some
AsyncIterator#take
AsyncIterator#toArray
AsyncIterator#@​@​toStringTag
Map#upsert
(Map#updateOrInsert
before) proposalMap#updateOrInsert
renamed toMap#upsert
WeakMap#upsert
Promise
bug, #640URL
constructor in Safari andURLSearchParams
in Chrome 66-, #656Math.hypot
marked as not supported in Chrome 77 since a bug in this method was not fixed before the stable Chrome 77 releaseSymbol.matchAll
inesnext.string.match-all
, #626.next
method once, at the beginning, of the iteration protocolpostinstall
messages only once pernpm i
, #597, thanks @remyv3.2.1
Compare Source
Promise
polyfills, #615v3.2.0
Compare Source
Promise.allSettled
moved to stable ES, per July TC39 meetingPromise.any
moved to stage 2,.errors
property ofAggregateError
instances made non-enumerable, per July TC39 meetingusing
statement proposal moved to stage 2, addedSymbol.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 tocore-js-compat
Promise
, #579 - added.finally
and patched.then
to / on nativePromise
prototype{ Map, Set, WeakMap, WeakSet }.deleteAll
DISABLE_OPENCOLLECTIVE
env variable topostinstall
scriptcore-js-pure
dependency fromcore-js-compat
, #590core-js-compat
on Windows, #606v3.1.4
Compare Source
Symbol.keyFor
complexity toO(1)
String.prototype.{ endsWith, includes, startsWith }
RegExp#flags
helper now respectdotAll
flag (mainly related to thepure
version)v3.1.3
Compare Source
core-js/features/reflect/delete-metadata
entry pointpostinstall
script like supportnpm
color config (#556) or adding support ofADBLOCK
env variablev3.1.2
Compare Source
npx
bug onpostinstall
, #551v3.1.1
Compare Source
Symbol
polyfills, #550, #554esnext.string.match-all
in some entry points for fix autogeneration ofcore-js-compat/entries
and backward@babel/preset-env
compatibilityv3.1.0
Compare Source
String#matchAll
moved to stable ES, exposedSymbol.matchAll
, #516Promise.allSettled
moved to stage 3, #515String#replaceAll
moved to stage 2, behavior updated by the spec draft, #524Promise.any
moved to stage 1, #517es.regexp.flags
dependency fromes.regexp.to-string
, #536, #537Object.{ assign, entries, values }
, #541Object.getOwnPropertySymbols
in Chrome 38 / 39, #539window.postMessage
-based task implementation uses location origin over'*'
, #542PromiseConstructor.resolve
only once inPromise
combinators, tc39/ecma262#1506core-js
dependency fromcore-js-compat
since it's required for missed at this moment featurepostinstall
v3.0.1
Compare Source
URLSearchParams
, #525v3.0.0
Compare Source
Object.fromEntries
(ECMAScript 2019)Symbol#description
(ECMAScript 2019)Set
methods (stage 2 proposal)Set#difference
Set#intersection
Set#isDisjointFrom
Set#isSubsetOf
Set#isSupersetOf
Set#symmetricDifference
Set#union
Promise.allSettled
(stage 2 proposal)Array
(stage 1 proposal)Array#lastItem
Array#lastIndex
String#replaceAll
(stage 1 proposal)String#codePoints
(stage 1 proposal)Map.groupBy
Map.keyBy
Map#deleteAll
Map#every
Map#filter
Map#find
Map#findKey
Map#includes
Map#keyOf
Map#mapKeys
Map#mapValues
Map#merge
Map#reduce
Map#some
Map#update
Set#addAll
Set#deleteAll
Set#every
Set#filter
Set#find
Set#join
Set#map
Set#reduce
Set#some
WeakMap#deleteAll
WeakSet#addAll
WeakSet#deleteAll
compositeKey
andcompositeSymbol
methods (stage 1 proposal)Number.fromString
(stage 1 proposal)Math.seededPRNG
(stage 1 proposal)Symbol.patternMatch
(for stage 1 pattern matching proposal)Symbol.dispose
(for stage 1using
statement proposal)Promise.any
(withAggregateError
) (stage 0 proposal)URL
andURLSearchParam
fromURL
standard, also stage 0 proposal to ECMAScriptURL
URL#href
URL#origin
URL#protocol
URL#username
URL#password
URL#host
URL#hostname
URL#port
URL#pathname
URL#search
URL#searchParams
URL#hash
URL#toString
URL#toJSON
URLSearchParams
URLSearchParams#append
URLSearchParams#delete
URLSearchParams#get
URLSearchParams#getAll
URLSearchParams#has
URLSearchParams#set
URLSearchParams#sort
URLSearchParams#toString
URLSearchParams#keys
URLSearchParams#values
URLSearchParams#entries
URLSearchParams#@​@​iterator
.forEach
method on iterable DOM collections (#329)Promise
rejection events (instead of only global handlers), #205.fetch
for correct with polyfilledPromise
and preventing problems like #178, #332, #371.@@​isConcatSpreadable
toArray#concat
.@@​species
toArray#{concat, filter, map, slice, splice}
..exec
calling toRegExp#{@​@​replace, @​@​split, @​@​match, @​@​search}
. Also, added fixes forRegExp#exec
method. #411, #434, #453, thanks @nicolo-ribaudo.Object#toString
does not support@@​toStringTag
, add to wrapped prototypes owntoString
method with@@​toStringTag
logic, see #199.asap
(old stage 0 proposal) replaced byqueueMicrotask
(a part of HTML spec)Observable
(#257, #276, etc.)Array#flatten
->Array#flat
andArray#flatMap
global
stage 3 proposal - renameglobal
toglobalThis
String#matchAll
(proposal-string-matchall#17, proposal-string-matchall#38, proposal-string-matchall#41, etc.) and move to the stage 3.name
properties ofString#{trimStart, trimEnd , trimLeft, trimRight}
, move to the stage 3String#trim
(ES6 -> ES7)Array#{ flat, flatMap }
{ Array, %TypedArray% }#includes
Object.{ values, entries}
Object.getOwnPropertyDescriptors
String#{ padStart, padEnd }
String#{ trimStart, trimEnd, trimLeft, trimRight }
Promise#finally
Symbol.asyncIterator
Object#__(define|lookup)[GS]etter__
Error.isError
(withdrawn)System.global
andglobal
(replaced byglobalThis
)Map#toJSON
andSet#toJSON
(rejected)RegExp.escape
(rejected)Reflect.enumerate
(removed from the spec)CSSRuleList
,MediaList
,StyleSheetList
Dict
Object.{classof, isObject, define, make}
Function#part
Number#@​@​iterator
String#{escapeHTML, unescapeHTML}
delay
.sham
flag to features which can't be properly polyfilled and / or not recommended for usage:Symbol
constructor - we can't add new primitives.Object.prototype
accessors too expensive.Object.{create, defineProperty, defineProperties, getOwnPropertyDescriptor, getOwnPropertyDescriptors}
,Reflect.{defineProperty, getOwnPropertyDescriptor}
can't be properly polyfilled without descriptors support.Object.{freeze, seal, preventExtensions}
,Reflect.preventExtensions
can't be properly polyfilled in ES3 environment.Object.getPrototypeOf
can be deceived in ES3 environment.Reflect.construct
can't be polyfilled for a correct work withnewTarget
argument on built-ins.URL
constructor in engines without descriptors support.WeakMap
frozen keys fallback, #384.Array#reverse
bug.core-js
repository structure to monorepo with packages in/packages/
directory.core-js-pure
package (replacement forcore-js/library
).core-js-bundle
package.core-js
package, leave it only incore-js-builder
package.core-js@2
to:core-js
packagecore-js-pure
packagebower.json
core-js/library
to separatecore-js-pure
package.core-js/shim
entry point, replace it just withcore-js
.core-js/es
, all those features inmodules
folder hases.
prefix.es7.
toesnext.
, they no longer available incore-js/es7
, usecore-js/stage/*
instead of that.core-js(/library)/fn
tocore-js(-pure)/features
for improve readability./es/
path (for example,core-js/es/array/from
)./stable/
entry points as an equal of/features/
for stable features, without proposals./proposals/
entry points for allow include all features from one proposal (for example,core-js/proposals/reflect-metadata
)./es|stable|features/instance/
entry points for getting polyfill of the related method for passed instance (could be used in cases likebabel-runtime
).core-js/es/typed-array/from
).es.symbol
module for loading only required features, for example, in MS Edge.web.dom
namespace toweb.dom-collections
.es6.regexp.{match, replace, search, split}
->es.string.{match, replace, search, split}
- mainly it's fixes / adding support of well-known symbols to string methods, only in second place adding related methods to regexp prototype./modules/
directory by moving internal modules to/internals/
directory.core-js(/library)/fn/array/{pop, push, reverse, shift, unshift}
.core
object no longer available in the global version, entry points which previously returned it now returnsglobalThis
object. Also, don't set globalcore
property.core-js-compat
package with:core-js
modules and API for getting a list of requiredcore-js
modules bybrowserslist
query, #466.@babel/preset-env
).@babel/preset-env
).core-js-builder
package:targets
option withbrowserslist
query.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.
ac923f1139
tob2ef3bcc49
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Gitea.