fix(deps): update dependency core-js to v3 #145
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.5.7
->3.8.0
Release Notes
zloirock/core-js
v3.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 whenPromise
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 maked 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 ralated 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, getOwnPropertyDescriptos}
,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.v2.6.12
Compare Source
String#at
for preventing breakage code which use obsoleteString#at
proposal polyfillOPEN_SOURCE_CONTRIBUTOR
detection inpostinstall
postinstall
v2.6.11
Compare Source
node -e
in thepostinstall
scripts for better cross-platform compatibility, #582postinstall
script, #707v2.6.10
Compare Source
postinstall
messages only once pernpm i
, #597v2.6.9
Compare Source
postinstall
script like supportnpm
color config (#556) or adding support ofADBLOCK
env variablev2.6.8
Compare Source
npx
bug onpostinstall
, #551v2.6.7
Compare Source
Symbol
polyfills, #550, #554v2.6.6
Compare Source
Object.{ assign, entries, values }
, #541Object.getOwnPropertySymbols
in Chrome 38 / 39, #539postinstall
v2.6.5
Compare Source
String#padStart
andString#padEnd
mobile Safari implementations, #414.v2.6.4
Compare Source
v2.6.3
Compare Source
babel-minify
bug, #479v2.6.2
Compare Source
$
inString#replace
, #471v2.6.1
Compare Source
node -e
in thepostinstall
scripts for better cross-platform compatibility, #582postinstall
script, #707v2.6.0
Compare Source
.exec
calling toRegExp#{@​@​replace, @​@​split, @​@​match, @​@​search}
. Also, added fixes forRegExp#exec
method. #428, #435, #458, thanks @nicolo-ribaudo.Renovate configuration
📅 Schedule: 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 WhiteSource Renovate. View repository job log here.