zloirock/core-js
### [`v3.20.2`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3202---20220102)
[Compare Source](https://togithub.com/zloirock/core-js/compare/v3.20.1...v3.20.2)
- Added a fix of [a V8 ~ Chrome 36- `Object.{ defineProperty, defineProperties }` bug](https://bugs.chromium.org/p/v8/issues/detail?id=3334), [Babel issue](https://togithub.com/babel/babel/issues/14056)
- Added fixes of some different `%TypedArray%.prototype.set` bugs, affects modern engines (like Chrome < 95 or Safari < 14.1)
### [`v3.20.1`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3201---20211223)
[Compare Source](https://togithub.com/zloirock/core-js/compare/v3.20.0...v3.20.1)
- Fixed the order of calling reactions of already fulfilled / rejected promises in `Promise.prototype.then`, [#1026](https://togithub.com/zloirock/core-js/issues/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`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3200---20211216)
[Compare Source](https://togithub.com/zloirock/core-js/compare/v3.19.3...v3.20.0)
- Added `structuredClone` method [from the HTML spec](https://html.spec.whatwg.org/multipage/structured-data.html#dom-structuredclone), [see MDN](https://developer.mozilla.org/en-US/docs/Web/API/structuredClone)
- Includes all cases of cloning and transferring of required ECMAScript and platform types that can be polyfilled, for the details see [the caveats](https://togithub.com/zloirock/core-js#caveats-when-using-structuredclone-polyfill)
- Uses native structured cloning algorithm implementations where it's possible
- Includes the new semantic of errors cloning from [`html/5749`](https://togithub.com/whatwg/html/pull/5749)
- Added `DOMException` polyfill, [the Web IDL spec](https://webidl.spec.whatwg.org/#idl-DOMException), [see MDN](https://developer.mozilla.org/en-US/docs/Web/API/DOMException)
- 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](https://togithub.com/tc39/proposal-error-cause)
- 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](https://togithub.com/tc39/proposal-array-grouping):
- Moved to stage 3
- Added `Array.prototype.groupByToMap` method
- Removed `@@species` support
- Added [change `Array` by copy stage 2 proposal](https://togithub.com/tc39/proposal-change-array-by-copy):
- `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](https://togithub.com/tc39/proposal-iterator-helpers)
- [`Array.fromAsync` proposal](https://togithub.com/tc39/proposal-array-from-async) moved to stage 2
- Added [`String.cooked` stage 1 proposal](https://togithub.com/tc39/proposal-string-cooked):
- Added [`Function.prototype.unThis` stage 0 proposal](https://togithub.com/js-choi/proposal-function-un-this)
- Added [`Function.{ isCallable, isConstructor }` stage 0 proposal](https://togithub.com/caitp/TC39-Proposals/blob/trunk/tc39-reflect-isconstructor-iscallable.md):
- `Function.isCallable`
- `Function.isConstructor`
- Added a workaround of most cases breakage modern `String#at` after loading obsolete `String#at` proposal module, [#1019](https://togithub.com/zloirock/core-js/issues/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](https://togithub.com/zloirock/core-js/issues/1012)
- Added a new `core-js/actual/**` namespace
- Added entry points for each finished post-ES6 proposal
### [`v3.19.3`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3193---20211206)
[Compare Source](https://togithub.com/zloirock/core-js/compare/v3.19.2...v3.19.3)
- Fixed internal slots check in methods of some built-in types, [#1017](https://togithub.com/zloirock/core-js/issues/1017)
- Fixed `URLSearchParams` iterator `.next` that should be enumerable [by the spec](https://webidl.spec.whatwg.org/#es-iterator-prototype-object)
- Refactored `Subscription`
- Added NodeJS 17.2 compat data mapping
### [`v3.19.2`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3192---20211129)
[Compare Source](https://togithub.com/zloirock/core-js/compare/v3.19.1...v3.19.2)
- Added a workaround for a UC Browser specific version bug with unobservable `RegExp#sticky` flag, [#1008](https://togithub.com/zloirock/core-js/issues/1008), [#1015](https://togithub.com/zloirock/core-js/issues/1015)
- Added handling of comments and specific spaces to `Function#name` polyfill, [#1010](https://togithub.com/zloirock/core-js/issues/1010), thanks [@ildar-shaimordanov](https://togithub.com/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`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3191---20211103)
[Compare Source](https://togithub.com/zloirock/core-js/compare/v3.19.0...v3.19.1)
- Added a workaround for FF26- bug where `ArrayBuffer`s are non-extensible, but `Object.isExtensible` does not report it:
- Fixed in `Object.{ isExtensible, isSealed, isFrozen }` and `Reflect.isExtensible`
- Fixed handling of `ArrayBuffer`s 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](https://chromestatus.com/features#milestone%3D97)
- 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`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3190---20211025)
[Compare Source](https://togithub.com/zloirock/core-js/compare/v3.18.3...v3.19.0)
- 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](https://togithub.com/zloirock/core-js/pull/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](https://togithub.com/zloirock/core-js/issues/998)
- Added a workaround of [a BrowserFS NodeJS `process` polyfill bug](https://togithub.com/jvilk/bfs-process/issues/5) 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](https://togithub.com/rwaldron/proposal-math-extensions/issues/24)
- Fixed `core-js-builder` work in NodeJS 17, added a workaround of [`webpack` + NodeJS 17 issue](https://togithub.com/webpack/webpack/issues/14532)
- 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`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3183---20211013)
[Compare Source](https://togithub.com/zloirock/core-js/compare/v3.18.2...v3.18.3)
- 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
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 contains the following updates:
3.18.2
->3.20.2
Release Notes
zloirock/core-js
### [`v3.20.2`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3202---20220102) [Compare Source](https://togithub.com/zloirock/core-js/compare/v3.20.1...v3.20.2) - Added a fix of [a V8 ~ Chrome 36- `Object.{ defineProperty, defineProperties }` bug](https://bugs.chromium.org/p/v8/issues/detail?id=3334), [Babel issue](https://togithub.com/babel/babel/issues/14056) - Added fixes of some different `%TypedArray%.prototype.set` bugs, affects modern engines (like Chrome < 95 or Safari < 14.1) ### [`v3.20.1`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3201---20211223) [Compare Source](https://togithub.com/zloirock/core-js/compare/v3.20.0...v3.20.1) - Fixed the order of calling reactions of already fulfilled / rejected promises in `Promise.prototype.then`, [#1026](https://togithub.com/zloirock/core-js/issues/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`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3200---20211216) [Compare Source](https://togithub.com/zloirock/core-js/compare/v3.19.3...v3.20.0) - Added `structuredClone` method [from the HTML spec](https://html.spec.whatwg.org/multipage/structured-data.html#dom-structuredclone), [see MDN](https://developer.mozilla.org/en-US/docs/Web/API/structuredClone) - Includes all cases of cloning and transferring of required ECMAScript and platform types that can be polyfilled, for the details see [the caveats](https://togithub.com/zloirock/core-js#caveats-when-using-structuredclone-polyfill) - Uses native structured cloning algorithm implementations where it's possible - Includes the new semantic of errors cloning from [`html/5749`](https://togithub.com/whatwg/html/pull/5749) - Added `DOMException` polyfill, [the Web IDL spec](https://webidl.spec.whatwg.org/#idl-DOMException), [see MDN](https://developer.mozilla.org/en-US/docs/Web/API/DOMException) - 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](https://togithub.com/tc39/proposal-error-cause) - 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](https://togithub.com/tc39/proposal-array-grouping): - Moved to stage 3 - Added `Array.prototype.groupByToMap` method - Removed `@@species` support - Added [change `Array` by copy stage 2 proposal](https://togithub.com/tc39/proposal-change-array-by-copy): - `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](https://togithub.com/tc39/proposal-iterator-helpers) - [`Array.fromAsync` proposal](https://togithub.com/tc39/proposal-array-from-async) moved to stage 2 - Added [`String.cooked` stage 1 proposal](https://togithub.com/tc39/proposal-string-cooked): - Added [`Function.prototype.unThis` stage 0 proposal](https://togithub.com/js-choi/proposal-function-un-this) - Added [`Function.{ isCallable, isConstructor }` stage 0 proposal](https://togithub.com/caitp/TC39-Proposals/blob/trunk/tc39-reflect-isconstructor-iscallable.md): - `Function.isCallable` - `Function.isConstructor` - Added a workaround of most cases breakage modern `String#at` after loading obsolete `String#at` proposal module, [#1019](https://togithub.com/zloirock/core-js/issues/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](https://togithub.com/zloirock/core-js/issues/1012) - Added a new `core-js/actual/**` namespace - Added entry points for each finished post-ES6 proposal ### [`v3.19.3`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3193---20211206) [Compare Source](https://togithub.com/zloirock/core-js/compare/v3.19.2...v3.19.3) - Fixed internal slots check in methods of some built-in types, [#1017](https://togithub.com/zloirock/core-js/issues/1017) - Fixed `URLSearchParams` iterator `.next` that should be enumerable [by the spec](https://webidl.spec.whatwg.org/#es-iterator-prototype-object) - Refactored `Subscription` - Added NodeJS 17.2 compat data mapping ### [`v3.19.2`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3192---20211129) [Compare Source](https://togithub.com/zloirock/core-js/compare/v3.19.1...v3.19.2) - Added a workaround for a UC Browser specific version bug with unobservable `RegExp#sticky` flag, [#1008](https://togithub.com/zloirock/core-js/issues/1008), [#1015](https://togithub.com/zloirock/core-js/issues/1015) - Added handling of comments and specific spaces to `Function#name` polyfill, [#1010](https://togithub.com/zloirock/core-js/issues/1010), thanks [@ildar-shaimordanov](https://togithub.com/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`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3191---20211103) [Compare Source](https://togithub.com/zloirock/core-js/compare/v3.19.0...v3.19.1) - Added a workaround for FF26- bug where `ArrayBuffer`s are non-extensible, but `Object.isExtensible` does not report it: - Fixed in `Object.{ isExtensible, isSealed, isFrozen }` and `Reflect.isExtensible` - Fixed handling of `ArrayBuffer`s 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](https://chromestatus.com/features#milestone%3D97) - 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`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3190---20211025) [Compare Source](https://togithub.com/zloirock/core-js/compare/v3.18.3...v3.19.0) - 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](https://togithub.com/zloirock/core-js/pull/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](https://togithub.com/zloirock/core-js/issues/998) - Added a workaround of [a BrowserFS NodeJS `process` polyfill bug](https://togithub.com/jvilk/bfs-process/issues/5) 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](https://togithub.com/rwaldron/proposal-math-extensions/issues/24) - Fixed `core-js-builder` work in NodeJS 17, added a workaround of [`webpack` + NodeJS 17 issue](https://togithub.com/webpack/webpack/issues/14532) - 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`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3183---20211013) [Compare Source](https://togithub.com/zloirock/core-js/compare/v3.18.2...v3.18.3) - 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.1Configuration
📅 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.
This PR has been generated by WhiteSource Renovate. View repository job log here.