Update dependency core-js to v3 - autoclosed #479
Closed
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.6.5
->3.0.1
Release Notes
zloirock/core-js
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.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 if you modify the PR title to begin with "
rebase!
".🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot. View repository job log here.