This repository was archived by the owner on Sep 25, 2020. It is now read-only.
Update dependency core-js to v3 #125
Open
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.6.5Release Notes
zloirock/core-js
v3.6.5Compare Source
setImmediatein Safari #770, thanks @dtinthpostinstall, thanks @scottarcpostinstallCI detection #781v3.6.4Compare Source
v3.6.3Compare Source
.replacein Safari 13.0-, #471, #745, thanks @mattclough1v3.6.2Compare Source
Array#{ every, forEach, includes, indexOf, lastIndexOf, reduce, reduceRight, slice, some, splice }for the usage ofToLengthRegExp#execdependency to methods which depends on the correctness of logic of this method (3.6.0-3.6.1issue), #741v3.6.1Compare Source
Symbolwith multiple copies ofcore-js(for3.4.2-3.6.0), #736v3.6.0Compare Source
y)RegExpflag, #372, #732, #492, thanks @cvle and @nicolo-ribaudoRegExp#testdelegation toRegExp#exec, #732, thanks @cvleObject.create(null)in IE8-, #727, #728, thanks @aleen42core-js-compatandcore-js-buildertargetsargumenttargets.esmodules,targets.browsers,targets.nodeoptions incore-js-compatandcore-js-builderfeatures/instance/match-allentry compat dataArray.prototype[@​@​unscopables]descriptor (was writable)v3.5.0Compare Source
Object.iterateKeysObject.iterateValuesObject.iterateEntriesv3.4.8Compare Source
inspectSourcehelper, #719es.string.match-allmarked as completely supported in FF73core-js-compat/modulessince often we need just the list ofcore-jsmodulesv3.4.7Compare Source
v3.4.6Compare Source
core-js-compathelpersie_mobnormalizationgetModulesListForTargetVersioncore-js-compathelperpostinstallscript, #707v3.4.5Compare Source
Object.assign, MS Edge bugToLengthinArray#{ filter, map }, FF48-49 and MS Edge 14- issuesReflect.setwhich allows setting the property to object with non-writable property on the prototypeinspectSourcehelper with multiplecore-jscopies and some related features like some edge cases ofPromisefeature detectionv3.4.4Compare Source
Promise#finallybug (critical forcore-js-pure)esnext.string.code-pointsincore-js/features/stringentry pointIteratorproposal feature detection for the case of non-standardIteratorin FF44-v3.4.3Compare Source
es.json.stringifyand some modules from iteration helpers proposal in some entry points (includes the root entry point)String#{ endsWith, startsWith }MDN polyfills bugs, #702.sizeproperty descriptor ofMap/Setin the pure versionv3.4.2Compare Source
String#replaceAllis available only in nightly FF buildsPromisefeature detection for the case of V8 6.6 with multiplecore-jscopiesnode -einpostinstallscriptsv3.4.1Compare Source
(Async)Iterator#flatMapmapper returns a non-iterable, per tc39/proposal-iterator-helpers/55 and tc39/proposal-iterator-helpers/59AggregateError#toString, per tc39/proposal-promise-any/49core-jsPromisepolyfill passes feature detection in the pure versionsString#replaceAllcallbacksString#replaceAllmarked as supported by FF72v3.4.0Compare Source
JSON.stringify, ES2019 feature, thanks @ExE-Boss and @WebReflection for the ideaMath.signbit, #687, thanks @chicoxyzzyv3.3.6Compare Source
userAgentparsingfetchimplementations with polyfilledURLSearchParams, #680v3.3.5Compare Source
Array#concat, #679Promise, #679(Async)Iterator.prototype.constructor -> (Async)Iteratorper this issuev3.3.4Compare Source
RegExp-related methods likeString#split, #306Array#spliceand slightlyArray#{ filter, map }, #677fetchwith polyfilledURLSearchParams, #674String#replaceAllwith an empty search valuepackage-lock.jsonno longer generated in librariesv3.3.3Compare Source
gopherremoved fromURLspecial cases per this issue and this PRv3.3.2Compare Source
core-js-compatwith Node 6 and Yarn, #669v3.3.1Compare Source
v3.3.0Compare 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 releaseglobalThismoved to stable ES, per October TC39 meetingPromise.anymoved to stage 3, some minor internal changes, per October TC39 meetingString#replaceAllmoved to stage 3, per October TC39 meetingIteratorIterator.fromIterator#asIndexedPairsIterator#dropIterator#everyIterator#filterIterator#findIterator#flatMapIterator#forEachIterator#mapIterator#reduceIterator#someIterator#takeIterator#toArrayIterator#@​@​toStringTagAsyncIteratorAsyncIterator.fromAsyncIterator#asIndexedPairsAsyncIterator#dropAsyncIterator#everyAsyncIterator#filterAsyncIterator#findAsyncIterator#flatMapAsyncIterator#forEachAsyncIterator#mapAsyncIterator#reduceAsyncIterator#someAsyncIterator#takeAsyncIterator#toArrayAsyncIterator#@​@​toStringTagMap#upsert(Map#updateOrInsertbefore) proposalMap#updateOrInsertrenamed toMap#upsertWeakMap#upsertPromisebug, #640URLconstructor in Safari andURLSearchParamsin Chrome 66-, #656Math.hypotmarked as not supported in Chrome 77 since a bug in this method was not fixed before the stable Chrome 77 releaseSymbol.matchAllinesnext.string.match-all, #626.nextmethod once, at the beginning, of the iteration protocolpostinstallmessages only once pernpm i, #597, thanks @remyv3.2.1Compare Source
Promisepolyfills, #615v3.2.0Compare Source
Promise.allSettledmoved to stable ES, per July TC39 meetingPromise.anymoved to stage 2,.errorsproperty ofAggregateErrorinstances maked non-enumerable, per July TC39 meetingusingstatement proposal moved to stage 2, addedSymbol.asyncDispose, per July TC39 meetingArray.isTemplateObjectstage 2 proposal, per June TC39 meetingMap#updateOrInsertstage 1 proposal, per July TC39 meetingMath.hypotV8 7.7 bug, since it's still not stable without adding results tocore-js-compatPromise, #579 - added.finallyand patched.thento / on nativePromiseprototype{ Map, Set, WeakMap, WeakSet }.deleteAllDISABLE_OPENCOLLECTIVEenv variable topostinstallscriptcore-js-puredependency fromcore-js-compat, #590core-js-compaton Windows, #606v3.1.4Compare Source
Symbol.keyForcomplexity toO(1)String.prototype.{ endsWith, includes, startsWith }RegExp#flagshelper now respectdotAllflag (mainly ralated to thepureversion)v3.1.3Compare Source
core-js/features/reflect/delete-metadataentry pointpostinstallscript like supportnpmcolor config (#556) or adding support ofADBLOCKenv variablev3.1.2Compare Source
npxbug onpostinstall, #551v3.1.1Compare Source
Symbolpolyfills, #550, #554esnext.string.match-allin some entry points for fix autogeneration ofcore-js-compat/entriesand backward@babel/preset-envcompatibilityv3.1.0Compare Source
String#matchAllmoved to stable ES, exposedSymbol.matchAll, #516Promise.allSettledmoved to stage 3, #515String#replaceAllmoved to stage 2, behavior updated by the spec draft, #524Promise.anymoved to stage 1, #517es.regexp.flagsdependency fromes.regexp.to-string, #536, #537Object.{ assign, entries, values }, #541Object.getOwnPropertySymbolsin Chrome 38 / 39, #539window.postMessage-based task implementation uses location origin over'*', #542PromiseConstructor.resolveonly once inPromisecombinators, tc39/ecma262#1506core-jsdependency fromcore-js-compatsince it's required for missed at this moment featurepostinstallv3.0.1Compare Source
URLSearchParams, #525v3.0.0Compare Source
Object.fromEntries(ECMAScript 2019)Symbol#description(ECMAScript 2019)Setmethods (stage 2 proposal)Set#differenceSet#intersectionSet#isDisjointFromSet#isSubsetOfSet#isSupersetOfSet#symmetricDifferenceSet#unionPromise.allSettled(stage 2 proposal)Array(stage 1 proposal)Array#lastItemArray#lastIndexString#replaceAll(stage 1 proposal)String#codePoints(stage 1 proposal)Map.groupByMap.keyByMap#deleteAllMap#everyMap#filterMap#findMap#findKeyMap#includesMap#keyOfMap#mapKeysMap#mapValuesMap#mergeMap#reduceMap#someMap#updateSet#addAllSet#deleteAllSet#everySet#filterSet#findSet#joinSet#mapSet#reduceSet#someWeakMap#deleteAllWeakSet#addAllWeakSet#deleteAllcompositeKeyandcompositeSymbolmethods (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 1usingstatement proposal)Promise.any(withAggregateError) (stage 0 proposal)URLandURLSearchParamfromURLstandard, also stage 0 proposal to ECMAScriptURLURL#hrefURL#originURL#protocolURL#usernameURL#passwordURL#hostURL#hostnameURL#portURL#pathnameURL#searchURL#searchParamsURL#hashURL#toStringURL#toJSONURLSearchParamsURLSearchParams#appendURLSearchParams#deleteURLSearchParams#getURLSearchParams#getAllURLSearchParams#hasURLSearchParams#setURLSearchParams#sortURLSearchParams#toStringURLSearchParams#keysURLSearchParams#valuesURLSearchParams#entriesURLSearchParams#@​@​iterator.forEachmethod on iterable DOM collections (#329)Promiserejection events (instead of only global handlers), #205.fetchfor correct with polyfilledPromiseand preventing problems like #178, #332, #371.@@​isConcatSpreadabletoArray#concat.@@​speciestoArray#{concat, filter, map, slice, splice}..execcalling toRegExp#{@​@​replace, @​@​split, @​@​match, @​@​search}. Also, added fixes forRegExp#execmethod. #411, #434, #453, thanks @nicolo-ribaudo.Object#toStringdoes not support@@​toStringTag, add to wrapped prototypes owntoStringmethod with@@​toStringTaglogic, see #199.asap(old stage 0 proposal) replaced byqueueMicrotask(a part of HTML spec)Observable(#257, #276, etc.)Array#flatten->Array#flatandArray#flatMapglobalstage 3 proposal - renameglobaltoglobalThisString#matchAll(proposal-string-matchall#17, proposal-string-matchall#38, proposal-string-matchall#41, etc.) and move to the stage 3.nameproperties ofString#{trimStart, trimEnd , trimLeft, trimRight}, move to the stage 3String#trim(ES6 -> ES7)Array#{ flat, flatMap }{ Array, %TypedArray% }#includesObject.{ values, entries}Object.getOwnPropertyDescriptorsString#{ padStart, padEnd }String#{ trimStart, trimEnd, trimLeft, trimRight }Promise#finallySymbol.asyncIteratorObject#__(define|lookup)[GS]etter__Error.isError(withdrawn)System.globalandglobal(replaced byglobalThis)Map#toJSONandSet#toJSON(rejected)RegExp.escape(rejected)Reflect.enumerate(removed from the spec)CSSRuleList,MediaList,StyleSheetListDictObject.{classof, isObject, define, make}Function#partNumber#@​@​iteratorString#{escapeHTML, unescapeHTML}delay.shamflag to features which can't be properly polyfilled and / or not recommended for usage:Symbolconstructor - we can't add new primitives.Object.prototypeaccessors too expensive.Object.{create, defineProperty, defineProperties, getOwnPropertyDescriptor, getOwnPropertyDescriptos},Reflect.{defineProperty, getOwnPropertyDescriptor}can't be properly polyfilled without descriptors support.Object.{freeze, seal, preventExtensions},Reflect.preventExtensionscan't be properly polyfilled in ES3 environment.Object.getPrototypeOfcan be deceived in ES3 environment.Reflect.constructcan't be polyfilled for a correct work withnewTargetargument on built-ins.URLconstructor in engines without descriptors support.WeakMapfrozen keys fallback, #384.Array#reversebug.core-jsrepository structure to monorepo with packages in/packages/directory.core-js-purepackage (replacement forcore-js/library).core-js-bundlepackage.core-jspackage, leave it only incore-js-builderpackage.core-js@2to:core-jspackagecore-js-purepackagebower.jsoncore-js/libraryto separatecore-js-purepackage.core-js/shimentry point, replace it just withcore-js.core-js/es, all those features inmodulesfolder hases.prefix.es7.toesnext., they no longer available incore-js/es7, usecore-js/stage/*instead of that.core-js(/library)/fntocore-js(-pure)/featuresfor 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.symbolmodule for loading only required features, for example, in MS Edge.web.domnamespace 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}.coreobject no longer available in the global version, entry points which previously returned it now returnsglobalThisobject. Also, don't set globalcoreproperty.core-js-compatpackage with:core-jsmodules and API for getting a list of requiredcore-jsmodules bybrowserslistquery, #466.@babel/preset-env).@babel/preset-env).core-js-builderpackage:targetsoption withbrowserslistquery.v2.6.11Compare Source
node -ein thepostinstallscripts for better cross-platform compatibility, #582postinstallscript, #707v2.6.10Compare Source
postinstallmessages only once pernpm i, #597v2.6.9Compare Source
postinstallscript like supportnpmcolor config (#556) or adding support ofADBLOCKenv variablev2.6.8Compare Source
npxbug onpostinstall, #551v2.6.7Compare Source
Symbolpolyfills, #550, #554v2.6.6Compare Source
Object.{ assign, entries, values }, #541Object.getOwnPropertySymbolsin Chrome 38 / 39, #539postinstallRenovate configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️ Rebasing: Whenever PR is behind base branch, 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.