Skip to content
This repository has been archived by the owner on Mar 28, 2022. It is now read-only.

fix(deps): update dependency core-js to v3.21.1 #252

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Feb 18, 2021

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
core-js 3.8.3 -> 3.21.1 age adoption passing confidence

Release Notes

zloirock/core-js

v3.21.1

Compare Source

  • Added a bugfix for the WebKit Array.prototype.{ groupBy, groupByToMap } implementation
  • core-js-compat targets parser transforms engine names to lower case
  • atob / btoa marked as fixed in NodeJS 17.5
  • Added Electron 18.0 compat data mapping
  • Added Deno 1.20 compat data mapping

v3.21.0

Compare Source

  • Added Base64 utility methods:
    • atob
    • btoa
  • Added the proper validation of arguments to some methods from web standards
  • Forced replacement of all features from early-stage proposals for avoiding possible web compatibility issues in the future
  • Added Rhino 1.7.14 compat data
  • Added Deno 1.19 compat data mapping
  • Added Opera Android 66 and 67 compat data mapping
  • Added iOS Safari 15.3 and 15.4 compat data mapping

v3.20.3

Compare Source

  • Detects and replaces broken third-party Function#bind polyfills, uses only native Function#bind in the internals
  • structuredClone should throw an error if no arguments passed
  • Changed the structure of notes in __core-js_shared__

v3.20.2

Compare Source

v3.20.1

Compare Source

  • Fixed the order of calling reactions of already fulfilled / rejected promises in Promise.prototype.then, #​1026
  • Fixed possible memory leak in specific promise chains
  • Fixed some missed dependencies of entries
  • Added Deno 1.18 compat data mapping

v3.20.0

Compare Source

  • Added structuredClone method from the HTML spec, see MDN
    • Includes all cases of cloning and transferring of required ECMAScript and platform types that can be polyfilled, for the details see the caveats
    • Uses native structured cloning algorithm implementations where it's possible
    • Includes the new semantic of errors cloning from html/5749
  • Added DOMException polyfill, the Web IDL spec, see MDN
    • Includes DOMException and its attributes polyfills with fixes of many different engines bugs
    • Includes DOMException#stack property polyfill in engines that should have it
    • Reuses native DOMException implementations where it's possible (for example, in old NodeJS where it's not exposed as global)
  • Added support of cause on all Error types
  • Added Error.prototype.toString method polyfill with fixes of many different bugs of JS engines
  • Added Number.prototype.toExponential method polyfill with fixes of many different bugs of JS engines
  • Array grouping proposal:
    • Moved to stage 3
    • Added Array.prototype.groupByToMap method
    • Removed @@​species support
  • Added change Array by copy stage 2 proposal:
    • Array.prototype.toReversed
    • Array.prototype.toSorted
    • Array.prototype.toSpliced
    • Array.prototype.with
    • %TypedArray%.prototype.toReversed
    • %TypedArray%.prototype.toSorted
    • %TypedArray%.prototype.toSpliced
    • %TypedArray%.prototype.with
  • Added Iterator.prototype.toAsync method from the iterator helpers stage 2 proposal
  • Array.fromAsync proposal moved to stage 2
  • Added String.cooked stage 1 proposal:
  • Added Function.prototype.unThis stage 0 proposal
  • Added Function.{ isCallable, isConstructor } stage 0 proposal:
    • Function.isCallable
    • Function.isConstructor
  • Added a workaround of most cases breakage modern String#at after loading obsolete String#at proposal module, #​1019
  • Fixed Array.prototype.{ values, @​@​iterator }.name in V8 ~ Chrome 45-
  • Fixed validation of typed arrays in typed arrays iteration methods in V8 ~ Chrome 50-
  • Extension of the API, #​1012
    • Added a new core-js/actual/** namespace
    • Added entry points for each finished post-ES6 proposal

v3.19.3

Compare Source

  • Fixed internal slots check in methods of some built-in types, #​1017
  • Fixed URLSearchParams iterator .next that should be enumerable by the spec
  • Refactored Subscription
  • Added NodeJS 17.2 compat data mapping

v3.19.2

Compare Source

  • Added a workaround for a UC Browser specific version bug with unobservable RegExp#sticky flag, #​1008, #​1015
  • Added handling of comments and specific spaces to Function#name polyfill, #​1010, thanks @​ildar-shaimordanov
  • Prevented some theoretical cases of breaking / observing the internal state by patching Array.prototype[@​@​species]
  • Refactored URL and URLSearchParams
  • Added iOS Safari 15.2 compat data mapping
  • Added Electron 17.0 compat data mapping
  • Updated Deno compat data mapping

v3.19.1

Compare Source

  • Added a workaround for FF26- bug where ArrayBuffers are non-extensible, but Object.isExtensible does not report it:
    • Fixed in Object.{ isExtensible, isSealed, isFrozen } and Reflect.isExtensible
    • Fixed handling of ArrayBuffers as collections keys
  • Fixed Object#toString on AggregateError in IE10-
  • Fixed possible lack of dependencies of WeakMap in IE8-
  • .findLast methods family marked as supported from Chrome 97
  • Fixed inheritance of Electron compat data web. modules
  • Fixed Safari 15.1 compat data (some features were not added)
  • Added iOS Safari 15.1 compat data mapping

v3.19.0

Compare Source

  • Most built-ins are encapsulated in core-js for preventing possible cases of breaking / observing the internal state by patching / deleting of them
    • Avoid .call / .apply prototype methods that could be patched
    • Avoid instanceof operator - implicit .prototype / @@​hasInstance access that could be patched
    • Avoid RegExp#test, String#match and some over methods - implicit .exec and RegExp well-known symbols access that could be patched
  • Clearing of Error stack from extra entries experimentally added to AggregateError, #​996, in case lack of problems it will be extended to other cases
  • In engines with native Symbol support, new well-known symbols created with usage Symbol.for for ensuring the same keys in different realms, #​998
  • Added a workaround of a BrowserFS NodeJS process polyfill bug that incorrectly reports V8 version that's used in some cases of core-js feature detection
  • Fixed normalization of message AggregateError argument
  • Fixed order of arguments conversion in Math.scale, a spec draft bug
  • Fixed core-js-builder work in NodeJS 17, added a workaround of webpack + NodeJS 17 issue
  • Added NodeJS 17.0 compat data mapping
  • Added Opera Android 65 compat data mapping
  • Updated Electron 16.0 compat data mapping
  • Many other minor fixes and improvements

v3.18.3

Compare Source

  • Fixed the prototype chain of AggregateError constructor that should contain Error constructor
  • Fixed incorrect AggregateError.prototype properties descriptors
  • Fixed InstallErrorCause internal operation
  • Added NodeJS 16.11 compat data mapping
  • Added Deno 1.16 compat data mapping
  • Object.hasOwn marked as supported from Safari 15.1

v3.18.2

Compare Source

  • Early { Array, %TypedArray% }.fromAsync errors moved to the promise, per the latest changes of the spec draft
  • Internal ToInteger(OrInfinity) operation returns +0 for -0 argument, ES2020+ update
  • Fixed theoretical problems with handling bigint in Number constructor wrapper
  • Fixed String.raw with extra arguments
  • Fixed some missed dependencies in entry points
  • Some other minor fixes and improvements
  • Refactoring

v3.18.1

Compare Source

  • Fixed String.prototype.substr feature detection and compat data
  • Removed mistakenly added .forEach from prototypes of some DOM collections where it shouldn't be, #​988, #​987, thanks @​moorejs
  • Added cause to AggregateError constructor implementation (still without adding to the feature detection)
  • Families of .at and .findLast methods marked as supported in Safari TP
  • Added Electron 16.0 compat data mapping

v3.18.0

Compare Source

  • Added Array.fromAsync stage 1 proposal:
    • Array.fromAsync
    • %TypedArray%.fromAsync
  • .name and .toString() on polyfilled functions improved in many different cases
  • Improved internal IsConstructor and IsCallable checks
  • Fixed some internal cases of GetMethod operation
  • Fixed a bug of MS Edge 18- parseInt / parseFloat with boxed symbols
  • Fixed es.array.{ index-of, last-index-of } compat data
  • Added Deno 1.15 compat data mapping
  • Some other minor fixes and optimizations

v3.17.3

Compare Source

  • Fixed some possible problems related to possible extension of %IteratorPrototype% and %AsyncIteratorPrototype% in the future
  • Fixed DOMTokenList.prototype.{ forEach, @​@​iterator, keys, values, entries } in old WebKit versions where element.classList is not an instance of global DOMTokenList
  • Added NodeJS 16.9 compat data mapping
  • Added Samsung Internet 16.0 compat data mapping

v3.17.2

Compare Source

  • Fixed missed cases of ES3 reserved words usage, related to #​980
  • Fixed dependencies in one missed entry point
  • Some other minor fixes and optimizations

v3.17.1

Compare Source

  • Fixed missed modules-by-versions data

v3.17.0

Compare Source

v3.16.4

Compare Source

  • AsyncFromSyncIterator made stricter, related mainly to AsyncIterator.from and AsyncIterator.prototype.flatMap
  • Handling of optional .next arguments in (Async)Iterator methods is aligned with the current spec draft (mainly - ignoring the first passed to .next argument in built-in generators)
  • Behavior of .next, .return, .throw methods on AsyncIterator helpers proxy iterators aligned with the current spec draft (built-in async generators) (mainly - some early errors moved to returned promises)
  • Fixed some cases of safe iteration closing
  • Fixed dependencies of some entry points

v3.16.3

Compare Source

  • Fixed CreateAsyncFromSyncIterator semantic in AsyncIterator.from, related to #​765
  • Added a workaround of a specific case of broken Object.prototype, #​973

v3.16.2

Compare Source

  • Added a workaround of a Closure Compiler unsafe optimization, #​972
  • One more fix crashing of Object.create(null) on WSH, #​970
  • Added Deno 1.14 compat data mapping

v3.16.1

Compare Source

  • Fixed microtask implementation on iOS Pebble, #​967
  • Fixed some entry points
  • Improved old Safari compat data

v3.16.0

Compare Source

  • Array find from last proposal moved to the stage 3, July 2021 TC39 meeting
  • Array filtering stage 1 proposal:
    • Array.prototype.filterReject replaces Array.prototype.filterOut
    • %TypedArray%.prototype.filterReject replaces %TypedArray%.prototype.filterOut
  • Added Array grouping stage 1 proposal:
    • Array.prototype.groupBy
    • %TypedArray%.prototype.groupBy
  • Work with symbols made stricter: some missed before cases of methods that should throw an error on symbols now works as they should
  • Handling @@​toPrimitive in some cases of ToPrimitive internal logic made stricter
  • Fixed work of Request with polyfilled URLSearchParams, #​965
  • Fixed possible exposing of collections elements metadata in some cases, #​427
  • Fixed crashing of Object.create(null) on WSH, #​966
  • Fixed some cases of typed arrays subclassing logic
  • Fixed a minor bug related to string conversion in RegExp#exec
  • Fixed Date.prototype.getYear feature detection
  • Fixed content of some entry points
  • Some minor optimizations and refactoring
  • Deno:
    • Added Deno support (sure, after bundling since Deno does not support CommonJS)
    • Allowed deno target in core-js-compat / core-js-builder
    • A bundle for Deno published on deno.land/x/corejs
  • Added / updated compat data / mapping:
    • Deno 1.0-1.13
    • NodeJS up to 16.6
    • iOS Safari up to 15.0
    • Samsung Internet up to 15.0
    • Opera Android up to 64
    • Object.hasOwn marked as supported from V8 9.3 and FF92
    • Date.prototype.getYear marked as not supported in IE8-
  • Added summary option to core-js-builder, see more info in the README, #​910

v3.15.2

Compare Source

  • Worked around breakage related to zone.js loaded before core-js, #​953
  • Added NodeJS 16.4 -> Chrome 91 compat data mapping

v3.15.1

Compare Source

  • Fixed cloning of regex through RegExp constructor, #​948

v3.15.0

Compare Source

  • Added RegExp named capture groups polyfill, #​521, #​944
  • Added RegExp dotAll flag polyfill, #​792, #​944
  • Added missed polyfills of Annex B features (required mainly for some non-browser engines), #​336, #​945:
    • escape
    • unescape
    • String.prototype.substr
    • Date.prototype.getYear
    • Date.prototype.setYear
    • Date.prototype.toGMTString
  • Fixed detection of forbidden host code points in URL polyfill
  • Allowed rhino target in core-js-compat / core-js-builder, added compat data for rhino 1.7.13, #​942, thanks @​gausie
  • .at marked as supported from FF90

v3.14.0

Compare Source

  • Added polyfill of stable sort in { Array, %TypedArray% }.prototype.sort, #​769, #​941
  • Fixed Safari 14.0- %TypedArray%.prototype.sort validation of arguments bug
  • .at marked as supported from V8 9.2

v3.13.1

Compare Source

  • Overwrites get-own-property-symbols third-party Symbol polyfill if it's used since it causes a stack overflow, #​774
  • Added a workaround of possible browser crash on Object.prototype accessors methods in WebKit ~ Android 4.0, #​232

v3.13.0

Compare Source

v3.12.1

Compare Source

  • Fixed some cases of Function#toString with multiple core-js instances
  • Fixed some possible String#split polyfill problems in V8 5.1

v3.12.0

Compare Source

v3.11.3

Compare Source

  • Native promise-based APIs Promise#{ catch, finally } returns polyfilled Promise instances when it's required

v3.11.2

Compare Source

  • Added a workaround of WebKit ~ iOS 10.3 Safari Promise bug, #​932
  • Promise#then of incorrect native Promise implementations with correct subclassing no longer wrapped
  • Changed the order of Promise feature detection, removed unhandled rejection tracking check in non-browser non-node platforms

v3.11.1

Compare Source

  • Made instanceof Promise and .constructor === Promise work with polyfilled Promise for all native promise-based APIs
  • Added a workaround for some buggy V8 versions ~4.5 related to fixing of %TypedArray% static methods, #​564

v3.11.0

Compare Source

v3.10.2

Compare Source

  • URL and URLSearchParams marked as supported from Safari 14.0
  • Polyfilled built-in constructors protected from calling on instances

v3.10.1

Compare Source

  • Prevented possible RegExp#split problems in old engines, #​751, #​919
  • Detection of Safari 10 string padding bug extended to some Safari-based browsers

v3.10.0

Compare Source

  • Array find from last proposal moved to the stage 2, March TC39 meeting
  • Prevented possible RegExp#exec problems in some old engines, #​920
  • Updated compat data mapping:
    • NodeJS up to 16.0
    • Electron up to 13.0
    • Samsung Internet up to 14.0
    • Opera Android up to 62
    • The rest automatically

v3.9.1

Compare Source

  • Added a workaround for Chrome 38-40 bug which does not allow to inherit symbols (incl. well-known) from DOM collections prototypes to instances, #​37
  • Used NumericRangeIterator as toStringTag instead of RangeIterator in { Number, BigInt }.range iterator, per this PR
  • TypedArray constructors marked as supported from Safari 14.0
  • Updated compat data mapping for iOS Safari and Opera for Android

v3.9.0

Compare Source

  • Added Array find from last stage 1 proposal
    • Array#findLast
    • Array#findLastIndex
    • %TypedArray%#findLast
    • %TypedArray%#findLastIndex
  • Added %TypedArray%#uniqueBy method for array deduplication stage 1 proposal
    • %TypedArray%#uniqueBy
  • Dropped ToLength detection from array methods feature detection which could cause hanging FF11-21 and some versions of old WebKit, #​764
  • Minified bundle from core-js-bundle uses terser instead of uglify-js

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.


  • If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by WhiteSource Renovate. View repository job log here.

@codecov
Copy link

codecov bot commented Feb 18, 2021

Codecov Report

Merging #252 (e15fbd6) into master (f67725f) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##            master      #252   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            2         2           
  Lines           65        65           
  Branches        26        26           
=========================================
  Hits            65        65           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f67725f...e15fbd6. Read the comment docs.

@renovate renovate bot changed the title fix(deps): update dependency core-js to v3.9.0 fix(deps): update dependency core-js to v3.9.1 Feb 28, 2021
@renovate renovate bot changed the title fix(deps): update dependency core-js to v3.9.1 fix(deps): update dependency core-js to v3.10.0 Mar 31, 2021
@renovate renovate bot changed the title fix(deps): update dependency core-js to v3.10.0 fix(deps): update dependency core-js to v3.10.1 Apr 7, 2021
@renovate renovate bot changed the title fix(deps): update dependency core-js to v3.10.1 fix(deps): update dependency core-js to v3.11.0 Apr 26, 2021
@renovate renovate bot changed the title fix(deps): update dependency core-js to v3.11.0 fix(deps): update dependency core-js to v3.12.1 May 9, 2021
@renovate renovate bot changed the title fix(deps): update dependency core-js to v3.12.1 fix(deps): update dependency core-js to v3.14.0 Jun 6, 2021
@renovate renovate bot changed the title fix(deps): update dependency core-js to v3.14.0 fix(deps): update dependency core-js to v3.15.0 Jun 20, 2021
@renovate renovate bot changed the title fix(deps): update dependency core-js to v3.15.0 fix(deps): update dependency core-js to v3.15.1 Jun 22, 2021
@renovate renovate bot changed the title fix(deps): update dependency core-js to v3.15.1 fix(deps): update dependency core-js to v3.15.2 Jun 29, 2021
@renovate renovate bot changed the title fix(deps): update dependency core-js to v3.15.2 fix(deps): update dependency core-js to v3.16.0 Jul 30, 2021
@renovate renovate bot changed the title fix(deps): update dependency core-js to v3.16.0 fix(deps): update dependency core-js to v3.16.1 Aug 8, 2021
@renovate renovate bot changed the title fix(deps): update dependency core-js to v3.16.1 fix(deps): update dependency core-js to v3.18.3 Oct 18, 2021
@renovate renovate bot changed the title fix(deps): update dependency core-js to v3.18.3 fix(deps): update dependency core-js to v3.21.1 Mar 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant