Update dependency core-js to v3 - #68
Closed
renovate[bot] wants to merge 1 commit into
Closed
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
Author
Renovate Ignore NotificationAs this PR has been closed unmerged, Renovate will ignore this upgrade and you will not receive PRs for any future 3.x releases. However, if you upgrade to 3.x manually then Renovate will then reenable updates for minor and patch updates automatically. If this PR was closed by mistake or you changed your mind, you can simply rename this PR and you will soon get a fresh replacement PR opened. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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->3Release Notes
zloirock/core-js
v3.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.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, #539postinstallv2.6.5Compare Source
String#padStartandString#padEndmobile Safari implementations, #414.v2.6.4Compare Source
v2.6.3Compare Source
babel-minifybug, #479v2.6.2Compare Source
$inString#replace, #471v2.6.1Compare Source
v2.6.0Compare Source
.execcalling toRegExp#{@​@​replace, @​@​split, @​@​match, @​@​search}. Also, added fixes forRegExp#execmethod. #428, #435, #458, thanks @nicolo-ribaudo.v2.5.7Compare Source
final, related #400v2.5.6Compare Source
Promisein V8 6.6 (Node 10 and Chrome 66) because of a bug with resolving custom thenablesPromisein microtask implementation, #396v2.5.5Compare Source
Reflect.set, #392 and #393v2.5.4Compare Source
Promise, #367Number.{parseInt, parseFloat}entry points__(define|lookup)[GS]etter__export in thelibraryversionv2.5.3Compare Source
onunhandledrejectionhandlermultiple times for onePromisechain, #318String#{padStart, padEnd}in Safari 10 because of a bug, #280Array#@​@​iteratorin a very rare version ofWebKit, #236 and #237v2.5.2Compare Source
MutationObserverno longer used for microtask implementation in iOS Safari because of bug with scrolling, #339JSON.stringify(undefined, replacer)case in the wrapper from theSymbolpolyfill, #345Array()calls changed tonew Array()for V8 optimisationv2.5.1Compare Source
Promise#finallyper tc39/proposal-promise-finally#37shimversionv2.5.0Compare Source
Promise#finallystage 3 proposal, #225Promise.trystage 1 proposalArray#flattenandArray#flatMapstage 1 proposal.ofand.frommethods on collection constructors stage 1 proposal:Map.ofSet.ofWeakSet.ofWeakMap.ofMap.fromSet.fromWeakSet.fromWeakMap.fromMathextensions stage 1 proposal, #226:Math.clampMath.DEG_PER_RADMath.degreesMath.fscaleMath.RAD_PER_DEGMath.radiansMath.scaleMath.signbitstage 1 proposalglobalstage 3 proposal - addedglobalglobal object,System.globaldeprecatedObject.getOwnPropertyDescriptorsto the final version - it should not create properties if descriptors areundefinedCSSStyleDeclaration#@​@​iteratorCSSValueList#@​@​iteratorClientRectList#@​@​iteratorDOMRectList#@​@​iteratorDOMStringList#@​@​iteratorDataTransferItemList#@​@​iteratorFileList#@​@​iteratorHTMLAllCollection#@​@​iteratorHTMLCollection#@​@​iteratorHTMLFormElement#@​@​iteratorHTMLSelectElement#@​@​iteratorMimeTypeArray#@​@​iteratorNamedNodeMap#@​@​iteratorPaintRequestList#@​@​iteratorPlugin#@​@​iteratorPluginArray#@​@​iteratorSVGLengthList#@​@​iteratorSVGNumberList#@​@​iteratorSVGPathSegList#@​@​iteratorSVGPointList#@​@​iteratorSVGStringList#@​@​iteratorSVGTransformList#@​@​iteratorSourceBufferList#@​@​iteratorTextTrackCueList#@​@​iteratorTextTrackList#@​@​iteratorTouchList#@​@​iteratorObject.getOwnPropertyDescriptorsto stage 4 (ES2017)globalto stage 3#293
%TypedArray%.fromSafari bug, #285Function#nameno longer cache the result for correct behaviour with inherited constructors, #296Set#sizewith debugger ReactNative for Android, #297WeakMappolyfills, #252Date#toJSONin engines without nativeDate#toISOString, #220webpack,uglify, etc)v2.4.1Compare Source
scripttag for some parsers, #204, #216Reflect.constructandReflect.apply- they should not allow primitive asargumentsListargumentv2.4.0Compare Source
Observable, stage 1 proposalObject.{getOwnPropertySymbols, getOwnPropertyDescriptor}andObject#propertyIsEnumerableonObject.prototypeReflect.constructandReflect.applyshould throw an error ifargumentsListargument is not an object, #194v2.3.0Compare Source
asapfor enqueuing microtasks, stage 0 proposalSymbol.asyncIteratorfor stage 2 async iteration proposalSymbol.observablefor stage 1 observables proposalString#{padStart, padEnd}returns original string if filler is empty string, TC39 meeting notesObject.valuesandObject.entriesmoved to stage 4 from 3, TC39 meeting notesSystem.globalmoved to stage 2 from 1, TC39 meeting notesMap#toJSONandSet#toJSONrejected and will be removed from the next major release, TC39 meeting notesError.isErrorwithdrawn and will be removed from the next major release, TC39 meeting notesFunction#nameon non-extensible functions and functions with brokentoStringconversion, #193v2.2.2Compare Source
-0to+0toArray#{indexOf, lastIndexOf}, ES2016 fixMathmethods in Tor BrowserArray.{from, of}no longer calls prototype settersv2.2.1Compare Source
Object.getOwnPropertyNames(window)2.1+versions bug, #181v2.2.0Compare Source
String#matchAll, proposalObject#__(define|lookup)[GS]etter__, annex B ES2017@@​toPrimitivemethods toDateandSymbol%TypedArray%#slicein Edge ~ 13 (throws with@@​speciesand wrapped / inherited constructor)v2.1.5Compare Source
Promise#then, #180Date#toJSONbug in Qt Script, #173v2.1.4Compare Source
Symbolpolyfill in Qt Script, #173Script Access Deniederror with iframes, #165v2.1.3Compare Source
es6-promisepackage bug, #176v2.1.2Compare Source
Promisefixes:rejectionhandledevent better HTML spec complaintv2.1.1Compare Source
Promiseimprovements:@@​speciespattern support for completely correct subclassingObject.setPrototypeOffrom feature detection and noisy console message about it in FFPromise.allfixed for some very specific casesv2.1.0Compare Source
core-js/(library/)es5Objectstatics - should accept primitives, new whitespaces lists inString#trim,parse(Int|float),RegExp#toStringlogic,String#split, etc@@​speciesandToLengthlogic inArraymethods,Dateparsing,Function#bind, etcArray.isArrayandDate.nowObject.getOwnPropertyDescriptorsmoved to the stage 3, January TC39 meetingumdoption for custom build process, #169Arraystatics, removed in2.0, for compatibility withbabel6and for future fixesReflect.enumeratedeprecated and will be removed from the next major release, January TC39 meetingReflectmetadata API as a pre-strawman feature, #152:Reflect.defineMetadataReflect.deleteMetadataReflect.getMetadataReflect.getMetadataKeysReflect.getOwnMetadataReflect.getOwnMetadataKeysReflect.hasMetadataReflect.hasOwnMetadataReflect.metadataDate#toJSONparseIntandNumber.parseIntparseFloatandNumber.parseFloatRegExp#toStringArray#sortNumber#toFixedNumber#toPrecisionString#split(RegExp#@​@​split)NumberandRegExpconstructors with native class syntaxSharedArrayBufferand buffers from other realms in typed arrays wrappersObject.{defineProperty, getOwnPropertyDescriptor}andReflect.definePropertyArray#lastIndexOfwith negative second argumentv2.0.3Compare Source
Promisesubclassing bug causes unhandled rejection on feature detection, #159window === nullv2.0.2Compare Source
lengthvalidation fromUint8Arrayconstructor wrapper. Reason - bug inwsmodule (->socket.io) which passes toBufferconstructor ->Uint8Arrayfloat and uses theV8bug for conversion to int (by the spec should be thrown an error). It creates problems for many people. I hope, it will be returned after fixing this bug inV8.v2.0.1Compare Source
Promise.resolvepolyfill in thelibraryversion for correct work with wrapperObject.assignshould be defined in the strict mode -> throw an error on extension non-extensible objects, #154Renovate 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.