This repository has been archived by the owner on Mar 13, 2022. It is now read-only.
fix(deps): update dependency core-js to v3 #447
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.2.1
Release Notes
zloirock/core-js
v3.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.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
Renovate configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Enabled.
♻️ 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.