zloirock/core-js
### [`v3.26.1`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3261---20221114-httpsgithubcomzloirockcore-jsreleasestagv3261)
[Compare Source](https://togithub.com/zloirock/core-js/compare/v3.26.0...v3.26.1)
- Disabled forced replacing of `Array.fromAsync` since it's on Stage 3
- Avoiding a check of the target in the internal `function-uncurry-this` helper where it's not required - minor optimization and preventing problems in some broken environments, a workaround of [#1141](https://togithub.com/zloirock/core-js/issues/1141)
- V8 will not ship `Array.prototype.{ group, groupToMap }` in V8 ~ Chromium 108, [proposal-array-grouping/44](https://togithub.com/tc39/proposal-array-grouping/issues/44#issuecomment-1306311107)
### [`v3.26.0`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3260---20221024-httpsgithubcomzloirockcore-jsreleasestagv3260)
[Compare Source](https://togithub.com/zloirock/core-js/compare/v3.25.5...v3.26.0)
- [`Array.fromAsync` proposal](https://togithub.com/tc39/proposal-array-from-async):
- Moved to Stage 3, [September TC39 meeting](https://togithub.com/tc39/notes/blob/main/meetings/2022-09/sep-14.md#arrayfromasync-for-stage-3)
- Avoid observable side effects of `%Array.prototype.values%` usage in array-like branch, [proposal-array-from-async/30](https://togithub.com/tc39/proposal-array-from-async/pull/30)
- Added [well-formed unicode strings stage 2 proposal](https://togithub.com/tc39/proposal-is-usv-string):
- `String.prototype.isWellFormed`
- `String.prototype.toWellFormed`
- Recent updates of the [iterator helpers proposal](https://togithub.com/tc39/proposal-iterator-helpers):
- Added a counter parameter to helpers, [proposal-iterator-helpers/211](https://togithub.com/tc39/proposal-iterator-helpers/pull/211)
- Don't await non-objects returned from functions passed to `AsyncIterator` helpers, [proposal-iterator-helpers/239](https://togithub.com/tc39/proposal-iterator-helpers/pull/239)
- `{ Iterator, AsyncIterator }.prototype.flatMap` supports returning both - iterables and iterators, [proposal-iterator-helpers/233](https://togithub.com/tc39/proposal-iterator-helpers/pull/233)
- Early exit on broken `.next` in missed cases of `{ Iterator, AsyncIterator }.from`, [proposal-iterator-helpers/232](https://togithub.com/tc39/proposal-iterator-helpers/pull/232)
- Added `self` polyfill as a part of [The Minimum Common Web Platform API](https://common-min-api.proposal.wintercg.org/), [specification](https://html.spec.whatwg.org/multipage/window-object.html#dom-self), [#1118](https://togithub.com/zloirock/core-js/issues/1118)
- Added `inverse` option to `core-js-compat`, [#1119](https://togithub.com/zloirock/core-js/issues/1119)
- Added `format` option to `core-js-builder`, [#1120](https://togithub.com/zloirock/core-js/issues/1120)
- Added NodeJS 19.0 compat data
- Added Deno 1.26 and 1.27 compat data
- Added Opera Android 72 compat data mapping
- Updated Electron 22 compat data mapping
### [`v3.25.5`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3255---20221004-httpsgithubcomzloirockcore-jsreleasestagv3255)
[Compare Source](https://togithub.com/zloirock/core-js/compare/v3.25.4...v3.25.5)
- Fixed regression with an error on reuse of some built-in methods from another realm, [#1133](https://togithub.com/zloirock/core-js/issues/1133)
### [`v3.25.4`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3254---20221003-httpsgithubcomzloirockcore-jsreleasestagv3254)
[Compare Source](https://togithub.com/zloirock/core-js/compare/v3.25.3...v3.25.4)
- Added a workaround of a Nashorn bug with `Function.prototype.{ call, apply, bind }` on string methods, [#1128](https://togithub.com/zloirock/core-js/issues/1128)
- Updated lists of `[Serializable]` and `[Transferable]` objects in the `structuredClone` polyfill. Mainly, for better error messages if polyfilling of cloning such types is impossible
- `Array.prototype.{ group, groupToMap }` marked as [supported from V8 ~ Chromium 108](https://chromestatus.com/feature/5714791975878656)
- Added Electron 22 compat data mapping
### [`v3.25.3`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3253---20220926-httpsgithubcomzloirockcore-jsreleasestagv3253)
[Compare Source](https://togithub.com/zloirock/core-js/compare/v3.25.2...v3.25.3)
- Forced polyfilling of `Array.prototype.groupToMap` in the pure version for returning wrapped `Map` instances
- Fixed existence of `Array.prototype.{ findLast, findLastIndex }` in `/stage/4` entry
- Added Opera Android 71 compat data mapping
- Some stylistic changes
### [`v3.25.2`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3252---20220919-httpsgithubcomzloirockcore-jsreleasestagv3252)
[Compare Source](https://togithub.com/zloirock/core-js/compare/v3.25.1...v3.25.2)
- Considering `document.all` as a callable in some missed cases
- Added Safari 16.0 compat data
- Added iOS Safari 16.0 compat data mapping
- Fixed some ancient iOS Safari versions compat data mapping
### [`v3.25.1`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3251---20220908-httpsgithubcomzloirockcore-jsreleasestagv3251)
[Compare Source](https://togithub.com/zloirock/core-js/compare/v3.25.0...v3.25.1)
- Added some fixes and workarounds of FF30- typed arrays bug that does not properly convert objects to numbers
- Added `sideEffects` field to `core-js-pure` `package.json` for better tree shaking, [#1117](https://togithub.com/zloirock/core-js/issues/1117)
- Dropped `semver` dependency from `core-js-compat`
- `semver` package (ironically) added [a breaking change and dropped NodeJS 8 support in the minor `7.1` version](https://togithub.com/npm/node-semver/commit/d61f828e64260a0a097f26210f5500), after that `semver` in `core-js-compat` was pinned to `7.0` since for avoiding breaking changes it should support NodeJS 8. However, since `core-js-compat` is usually used with other packages that use `semver` dependency, it causes multiple duplication of `semver` in dependencies. So I decided to remove `semver` dependency and replace it with a couple of simple helpers.
- Added Bun 0.1.6-0.1.11 compat data
- Added Deno 1.25 compat data mapping
- Updated Electron 21 compat data mapping
- Some stylistic changes, minor fixes, and improvements
### [`v3.25.0`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3250---20220825-httpsgithubcomzloirockcore-jsreleasestagv3250)
[Compare Source](https://togithub.com/zloirock/core-js/compare/v3.24.1...v3.25.0)
- Added [`Object.prototype.__proto__`](https://tc39.es/ecma262/#sec-object.prototype.\__proto\_\_) polyfill
- It's optional, legacy, and in some cases (mainly because of developers' mistakes) can cause problems, but [some libraries depend on it](https://togithub.com/denoland/deno/issues/13321), and most code can't work without the proper libraries' ecosystem
- Only for modern engines where this feature is missed (like Deno), it's not installed in IE10- since here we have no proper way setting of the prototype
- Without fixes of early implementations where it's not an accessor since those fixes are impossible
- Only for the global version
- Considering `document.all` as an object in some missed cases, see [ECMAScript Annex B 3.6](https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot)
- Avoiding unnecessary promise creation and validation result in `%WrapForValid(Async)IteratorPrototype%.return`, [proposal-iterator-helpers/215](https://togithub.com/tc39/proposal-iterator-helpers/pull/215)
- Fixed omitting the result of proxing `.return` in `%IteratorHelperPrototype%.return`, [#1116](https://togithub.com/zloirock/core-js/issues/1116)
- Fixed the order creation of properties of iteration result object of some iterators (`value` should be created before `done`)
- Fixed some cases of Safari < 13 bug - silent on non-writable array `.length` setting
- Fixed `ArrayBuffer.length` in V8 ~ Chrome 27-
- Relaxed condition of re-usage native `WeakMap` for internal states with multiple `core-js` copies
- Availability cloning of `FileList` in the `structuredClone` polyfill extended to some more old engines versions
- Some stylistic changes and minor fixes
- Throwing a `TypeError` in `core-js-compat` / `core-js-builder` in case of passing invalid module names / filters for avoiding unexpected result, related to [#1115](https://togithub.com/zloirock/core-js/issues/1115)
- Added missed NodeJS 13.2 to `esmodules` `core-js-compat` / `core-js-builder` target
- Added Electron 21 compat data mapping
- Added Oculus Browser 23.0 compat data mapping
### [`v3.24.1`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3241---20220730-httpsgithubcomzloirockcore-jsreleasestagv3241)
[Compare Source](https://togithub.com/zloirock/core-js/compare/v3.24.0...v3.24.1)
- NodeJS is ignored in `IS_BROWSER` detection to avoid a false positive with `jsdom`, [#1110](https://togithub.com/zloirock/core-js/issues/1110)
- Fixed detection of `@@species` support in `Promise` in some old engines
- `{ Array, %TypedArray% }.prototype.{ findLast, findLastIndex }` marked as shipped [in FF104](https://bugzilla.mozilla.org/show_bug.cgi?id=1775026)
- Added iOS Safari 15.6 compat data mapping
- Fixed Opera 15 compat data mapping
### [`v3.24.0`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3240---20220725-httpsgithubcomzloirockcore-jsreleasestagv3240)
[Compare Source](https://togithub.com/zloirock/core-js/compare/v3.23.5...v3.24.0)
- Recent updates of the [iterator helpers proposal](https://togithub.com/tc39/proposal-iterator-helpers), [#1101](https://togithub.com/zloirock/core-js/issues/1101):
- `.asIndexedPairs` renamed to `.indexed`, [proposal-iterator-helpers/183](https://togithub.com/tc39/proposal-iterator-helpers/pull/183):
- `Iterator.prototype.asIndexedPairs` -> `Iterator.prototype.indexed`
- `AsyncIterator.prototype.asIndexedPairs` -> `AsyncIterator.prototype.indexed`
- Avoid exposing spec fiction `%AsyncFromSyncIteratorPrototype%` in `AsyncIterator.from` and `Iterator.prototype.toAsync`, [proposal-iterator-helpers/182](https://togithub.com/tc39/proposal-iterator-helpers/pull/182), [proposal-iterator-helpers/202](https://togithub.com/tc39/proposal-iterator-helpers/pull/202)
- Avoid unnecessary promise creation in `%WrapForValidAsyncIteratorPrototype%.next`, [proposal-iterator-helpers/197](https://togithub.com/tc39/proposal-iterator-helpers/pull/197)
- Do not validate value in `%WrapForValid(Async)IteratorPrototype%.next`, [proposal-iterator-helpers/197](https://togithub.com/tc39/proposal-iterator-helpers/pull/197) and [proposal-iterator-helpers/205](https://togithub.com/tc39/proposal-iterator-helpers/pull/205)
- Do not forward the parameter of `.next` / `.return` to an underlying iterator by the extended iterator protocol, a part of [proposal-iterator-helpers/194](https://togithub.com/tc39/proposal-iterator-helpers/pull/194)
- `.throw` methods removed from all wrappers / helpers prototypes, a part of [proposal-iterator-helpers/194](https://togithub.com/tc39/proposal-iterator-helpers/pull/194)
- Close inner iterators of `{ Iterator, AsyncIterator }.prototype.flatMap` proxy iterators on `.return`, [proposal-iterator-helpers/195](https://togithub.com/tc39/proposal-iterator-helpers/pull/195)
- Throw `RangeError` on `NaN` in `{ Iterator, AsyncIterator }.prototype.{ drop, take }`, [proposal-iterator-helpers/181](https://togithub.com/tc39/proposal-iterator-helpers/pull/181)
- Many other updates and fixes of this proposal
- `%TypedArray%.prototype.toSpliced` method removed from the [change array by copy proposal](https://togithub.com/tc39/proposal-change-array-by-copy) and marked as obsolete in `core-js`, [proposal-change-array-by-copy/88](https://togithub.com/tc39/proposal-change-array-by-copy/issues/88)
- Polyfill `Promise` with `unhandledrejection` event support (browser style) in Deno < [1.24](https://togithub.com/denoland/deno/releases/tag/v1.24.0)
- Available new targets in `core-js-compat` / `core-js-builder` and added compat data for them:
- Bun (`bun`), compat data for 0.1.1-0.1.5, [#1103](https://togithub.com/zloirock/core-js/issues/1103)
- Hermes (`hermes`), compat data for 0.1-0.11, [#1099](https://togithub.com/zloirock/core-js/issues/1099)
- Oculus Browser (`oculus`), compat data mapping for 3.0-22.0, [#1098](https://togithub.com/zloirock/core-js/issues/1098)
- Added Samsung Internet 18.0 compat data mapping
### [`v3.23.5`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3235---20220718-httpsgithubcomzloirockcore-jsreleasestagv3235)
[Compare Source](https://togithub.com/zloirock/core-js/compare/v3.23.4...v3.23.5)
- Fixed a typo in the `structuredClone` feature detection, [#1106](https://togithub.com/zloirock/core-js/issues/1106)
- Added Opera Android 70 compat data mapping
### [`v3.23.4`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3234---20220710-httpsgithubcomzloirockcore-jsreleasestagv3234)
[Compare Source](https://togithub.com/zloirock/core-js/compare/v3.23.3...v3.23.4)
- Added a workaround of the Bun ~ 0.1.1 [bug](https://togithub.com/Jarred-Sumner/bun/issues/399) that define some globals with incorrect property descriptors and that causes a crash of `core-js`
- Added a fix of the FF103+ `structuredClone` bugs ([1774866](https://bugzilla.mozilla.org/show_bug.cgi?id=1774866) (fixed in FF104) and [1777321](https://bugzilla.mozilla.org/show_bug.cgi?id=1777321) (still not fixed)) that now can clone errors, but `.stack` of the clone is an empty string
- Fixed `{ Map, WeakMap }.prototype.emplace` logic, [#1102](https://togithub.com/zloirock/core-js/issues/1102)
- Fixed order of errors throwing on iterator helpers
### [`v3.23.3`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3233---20220626-httpsgithubcomzloirockcore-jsreleasestagv3233)
[Compare Source](https://togithub.com/zloirock/core-js/compare/v3.23.2...v3.23.3)
- Changed the order of operations in `%TypedArray%.prototype.toSpliced` following [proposal-change-array-by-copy/89](https://togithub.com/tc39/proposal-change-array-by-copy/issues/89)
- Fixed regression of some IE8- issues
### [`v3.23.2`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3232---20220621-httpsgithubcomzloirockcore-jsreleasestagv3232)
[Compare Source](https://togithub.com/zloirock/core-js/compare/v3.23.1...v3.23.2)
- Avoided creation of extra properties for the handling of `%TypedArray%` constructors in new methods, [#1092 (comment)](https://togithub.com/zloirock/core-js/issues/1092#issuecomment-1158760512)
- Added Deno 1.23 compat data mapping
### [`v3.23.1`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3231---20220614-httpsgithubcomzloirockcore-jsreleasestagv3231)
[Compare Source](https://togithub.com/zloirock/core-js/compare/v3.23.0...v3.23.1)
- Fixed possible error on multiple `core-js` copies, [#1091](https://togithub.com/zloirock/core-js/issues/1091)
- Added `v` flag to `RegExp.prototype.flags` implementation in case if current V8 bugs will not be fixed before this flag implementation
### [`v3.23.0`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3230---20220614-httpsgithubcomzloirockcore-jsreleasestagv3230)
[Compare Source](https://togithub.com/zloirock/core-js/compare/v3.22.8...v3.23.0)
- [`Array` find from last](https://togithub.com/tc39/proposal-array-find-from-last) moved to the stable ES, according to June 2022 TC39 meeting:
- `Array.prototype.findLast`
- `Array.prototype.findLastIndex`
- `%TypedArray%.prototype.findLast`
- `%TypedArray%.prototype.findLastIndex`
- Methods from [the `Array` grouping proposal](https://togithub.com/tc39/proposal-array-grouping) [renamed](https://togithub.com/tc39/proposal-array-grouping/pull/39), according to June 2022 TC39 meeting:
- `Array.prototype.groupBy` -> `Array.prototype.group`
- `Array.prototype.groupByToMap` -> `Array.prototype.groupToMap`
- Changed the order of operations in `%TypedArray%.prototype.with` following [proposal-change-array-by-copy/86](https://togithub.com/tc39/proposal-change-array-by-copy/issues/86), according to June 2022 TC39 meeting
- [Decorator Metadata proposal](https://togithub.com/tc39/proposal-decorator-metadata) extracted from [Decorators proposal](https://togithub.com/tc39/proposal-decorators) as a separate stage 2 proposal, according to March 2022 TC39 meeting, `Symbol.metadataKey` replaces `Symbol.metadata`
- Added `Array.prototype.push` polyfill with some fixes for modern engines
- Added `Array.prototype.unshift` polyfill with some fixes for modern engines
- Fixed a bug in the order of getting flags in `RegExp.prototype.flags` in the actual version of V8
- Fixed property descriptors of some `Math` and `Number` constants
- Added a workaround of V8 `ArrayBufferDetaching` protector cell invalidation and performance degradation on `structuredClone` feature detection, one more case of [#679](https://togithub.com/zloirock/core-js/issues/679)
- Added detection of NodeJS [bug](https://togithub.com/nodejs/node/issues/41038) in `structuredClone` that can not clone `DOMException` (just in case for future versions that will fix other issues)
- Compat data:
- Added NodeJS 18.3 compat data mapping
- Added and fixed Deno 1.22 and 1.21 compat data mapping
- Added Opera Android 69 compat data mapping
- Updated Electron 20.0 compat data mapping
### [`v3.22.8`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3228---20220602-httpsgithubcomzloirockcore-jsreleasestagv3228)
[Compare Source](https://togithub.com/zloirock/core-js/compare/v3.22.7...v3.22.8)
- Fixed possible multiple call of `ToBigInt` / `ToNumber` conversion of the argument passed to `%TypedArray%.prototype.fill` in V8 ~ Chrome < 59, Safari < 14.1, FF < 55, Edge <=18
- Fixed some cases of `DeletePropertyOrThrow` in IE9-
- Fixed the kind of error (`TypeError` instead of `Error`) on incorrect `exec` result in `RegExp.prototype.test` polyfill
- Fixed dependencies of `{ actual, full, features }/typed-array/at` entries
- Added Electron 20.0 compat data mapping
- Added iOS Safari 15.5 compat data mapping
- Refactoring
### [`v3.22.7`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3227---20220524-httpsgithubcomzloirockcore-jsreleasestagv3227)
[Compare Source](https://togithub.com/zloirock/core-js/compare/v3.22.6...v3.22.7)
- Added a workaround for V8 ~ Chrome 53 bug with non-writable prototype of some methods, [#1083](https://togithub.com/zloirock/core-js/issues/1083)
### [`v3.22.6`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3226---20220523-httpsgithubcomzloirockcore-jsreleasestagv3226)
[Compare Source](https://togithub.com/zloirock/core-js/compare/v3.22.5...v3.22.6)
- Fixed possible double call of `ToNumber` conversion on arguments of `Math.{ fround, trunc }` polyfills
- `Array.prototype.includes` marked as [fixed](https://bugzilla.mozilla.org/show_bug.cgi?id=1767541) in FF102
### [`v3.22.5`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3225---20220510-httpsgithubcomzloirockcore-jsreleasestagv3225)
[Compare Source](https://togithub.com/zloirock/core-js/compare/v3.22.4...v3.22.5)
- Ensured that polyfilled constructors `.prototype` is non-writable
- Ensured that polyfilled methods `.prototype` is not defined
- Added detection and fix of a V8 ~ Chrome <103 [bug](https://bugs.chromium.org/p/v8/issues/detail?id=12542) of `struturedClone` that returns `null` if cloned object contains multiple references to one error
### [`v3.22.4`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3224---20220503-httpsgithubcomzloirockcore-jsreleasestagv3224)
[Compare Source](https://togithub.com/zloirock/core-js/compare/v3.22.3...v3.22.4)
- Ensured proper `.length` of polyfilled functions even in compressed code (excepting some ancient engines)
- Ensured proper `.name` of polyfilled accessors (excepting some ancient engines)
- Ensured proper source / `ToString` conversion of polyfilled accessors
- Actualized Rhino compat data
- Refactoring
### [`v3.22.3`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3223---20220428-httpsgithubcomzloirockcore-jsreleasestagv3223)
[Compare Source](https://togithub.com/zloirock/core-js/compare/v3.22.2...v3.22.3)
- Added a fix for FF99+ `Array.prototype.includes` broken on sparse arrays
### [`v3.22.2`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3222---20220421-httpsgithubcomzloirockcore-jsreleasestagv3222)
[Compare Source](https://togithub.com/zloirock/core-js/compare/v3.22.1...v3.22.2)
- Fixed `URLSearchParams` in IE8- that was broken in the previous release
- Fixed `__lookupGetter__` entries
### [`v3.22.1`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3221---20220420-httpsgithubcomzloirockcore-jsreleasestagv3221)
[Compare Source](https://togithub.com/zloirock/core-js/compare/v3.22.0...v3.22.1)
- Improved some cases of `RegExp` flags handling
- Prevented experimental warning in NodeJS ~ 18.0 on detection `fetch` API
- Added NodeJS 18.0 compat data
### [`v3.22.0`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3220---20220415-httpsgithubcomzloirockcore-jsreleasestagv3220)
[Compare Source](https://togithub.com/zloirock/core-js/compare/v3.21.1...v3.22.0)
- [Change `Array` by copy proposal](https://togithub.com/tc39/proposal-change-array-by-copy):
- Moved to Stage 3, [March TC39 meeting](https://togithub.com/babel/proposals/issues/81#issuecomment-1083449843)
- Disabled forced replacement and added `/actual/` entry points for methods from this proposal
- `Array.prototype.toSpliced` throws a `TypeError` instead of `RangeError` if the result length is more than `MAX_SAFE_INTEGER`, [proposal-change-array-by-copy/70](https://togithub.com/tc39/proposal-change-array-by-copy/pull/70)
- Added some more `atob` / `btoa` fixes:
- NodeJS <17.9 `atob` does not ignore spaces, [node/42530](https://togithub.com/nodejs/node/issues/42530)
- Actual NodeJS `atob` does not validate encoding, [node/42646](https://togithub.com/nodejs/node/issues/42646)
- FF26- implementation does not properly convert argument to string
- IE / Edge <16 implementation have wrong arity
- Added `/full/` namespace as the replacement for `/features/` since it's more descriptive in context of the rest namespaces (`/es/` ⊆ `/stable/` ⊆ `/actual/` ⊆ `/full/`)
- Avoided propagation of removed parts of proposals to upper stages. For example, `%TypedArray%.prototype.groupBy` was removed from the `Array` grouping proposal a long time ago. We can't completely remove this method since it's a breaking change. But this proposal has been promoted to stage 3 - so the proposal should be promoted without this method, this method should not be available in `/actual/` entries - but it should be available in early-stage entries to avoid breakage.
- Significant internal refactoring and splitting of modules (but without exposing to public API since it will be a breaking change - it will be exposed in the next major version)
- Bug fixes:
- Fixed work of non-standard V8 `Error` features with wrapped `Error` constructors, [#1061](https://togithub.com/zloirock/core-js/issues/1061)
- `null` and `undefined` allowed as the second argument of `structuredClone`, [#1056](https://togithub.com/zloirock/core-js/issues/1056)
- Tooling:
- Stabilized proposals are filtered out from the `core-js-compat` -> `core-js-builder` -> `core-js-bundle` output. That mean that if the output contains, for example, `es.object.has-own`, the legacy reference to it, `esnext.object.has-own`, no longer added.
- Aligned modules filters of [`core-js-builder`](https://togithub.com/zloirock/core-js/tree/master/packages/core-js-builder) and [`core-js-compat`](https://togithub.com/zloirock/core-js/tree/master/packages/core-js-compat), now it's `modules` and `exclude` options
- Added support of entry points, modules, regexes, and arrays of them to those filters
- Missed `targets` option of `core-js-compat` means that the `targets` filter just will not be applied, so the result will contain modules required for all possible engines
- Compat data:
- `.stack` property on `DOMException` marked as supported from Deno [1.15](https://togithub.com/denoland/deno/releases/tag/v1.15.0)
- Added Deno 1.21 compat data mapping
- Added Electron 19.0 and updated 18.0 compat data mapping
- Added Samsung Internet 17.0 compat data mapping
- Added Opera Android 68 compat data mapping
### [`v3.21.1`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3211---20220217-httpsgithubcomzloirockcore-jsreleasestagv3211)
[Compare Source](https://togithub.com/zloirock/core-js/compare/v3.21.0...v3.21.1)
- Added a [bug](https://bugs.webkit.org/show_bug.cgi?id=236541)fix for the WebKit `Array.prototype.{ groupBy, groupByToMap }` implementation
- `core-js-compat` targets parser transforms engine names to lower case
- `atob` / `btoa` marked as [fixed](https://togithub.com/nodejs/node/pull/41478) in NodeJS 17.5
- Added Electron 18.0 compat data mapping
- Added Deno 1.20 compat data mapping
### [`v3.21.0`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3210---20220202-httpsgithubcomzloirockcore-jsreleasestagv3210)
[Compare Source](https://togithub.com/zloirock/core-js/compare/v3.20.3...v3.21.0)
- Added [Base64 utility methods](https://developer.mozilla.org/en-US/docs/Glossary/Base64):
- `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`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3203---20220115-httpsgithubcomzloirockcore-jsreleasestagv3203)
[Compare Source](https://togithub.com/zloirock/core-js/compare/v3.20.2...v3.20.3)
- 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`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3202---20220102-httpsgithubcomzloirockcore-jsreleasestagv3202)
[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-httpsgithubcomzloirockcore-jsreleasestagv3201)
[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-httpsgithubcomzloirockcore-jsreleasestagv3200)
[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-httpsgithubcomzloirockcore-jsreleasestagv3193)
[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-httpsgithubcomzloirockcore-jsreleasestagv3192)
[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-httpsgithubcomzloirockcore-jsreleasestagv3191)
[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-httpsgithubcomzloirockcore-jsreleasestagv3190)
[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-httpsgithubcomzloirockcore-jsreleasestagv3183)
[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
### [`v3.18.2`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3182---20211006-httpsgithubcomzloirockcore-jsreleasestagv3182)
[Compare Source](https://togithub.com/zloirock/core-js/compare/v3.18.1...v3.18.2)
- 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`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3181---20210927-httpsgithubcomzloirockcore-jsreleasestagv3181)
[Compare Source](https://togithub.com/zloirock/core-js/compare/v3.18.0...v3.18.1)
- 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](https://togithub.com/zloirock/core-js/issues/988), [#987](https://togithub.com/zloirock/core-js/issues/987), thanks [@moorejs](https://togithub.com/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`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3180---20210920-httpsgithubcomzloirockcore-jsreleasestagv3180)
[Compare Source](https://togithub.com/zloirock/core-js/compare/v3.17.3...v3.18.0)
- Added [`Array.fromAsync` stage 1 proposal](https://togithub.com/tc39/proposal-array-from-async):
- `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`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3173---20210909-httpsgithubcomzloirockcore-jsreleasestagv3173)
[Compare Source](https://togithub.com/zloirock/core-js/compare/v3.17.2...v3.17.3)
- 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`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3172---20210903-httpsgithubcomzloirockcore-jsreleasestagv3172)
[Compare Source](https://togithub.com/zloirock/core-js/compare/v3.17.1...v3.17.2)
- Fixed missed cases of ES3 reserved words usage, related to [#980](https://togithub.com/zloirock/core-js/issues/980)
- Fixed dependencies in one missed entry point
- Some other minor fixes and optimizations
### [`v3.17.1`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3171---20210902-httpsgithubcomzloirockcore-jsreleasestagv3171)
[Compare Source](https://togithub.com/zloirock/core-js/compare/v3.17.0...v3.17.1)
- Fixed missed `modules-by-versions` data
### [`v3.17.0`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3170---20210902-httpsgithubcomzloirockcore-jsreleasestagv3170)
[Compare Source](https://togithub.com/zloirock/core-js/compare/v3.16.4...v3.17.0)
- [Accessible `Object.prototype.hasOwnProperty` (`Object.hasOwn`) proposal](https://togithub.com/tc39/proposal-accessible-object-hasownproperty) moved to the stable ES, [per August 2021 TC39 meeting](https://togithub.com/babel/proposals/issues/76#issuecomment-909288348)
- [Relative indexing method (`.at`) proposal](https://togithub.com/tc39/proposal-relative-indexing-method) moved to the stable ES, [per August 2021 TC39 meeting](https://togithub.com/babel/proposals/issues/76#issuecomment-909285053)
- Exposed by default the stable version of `String.prototype.at`. It was not exposed because of the conflict with the alternative obsolete proposal (that will be completely removed in the next major version). For the backward compatibility, in the case of loading this proposal, it will be overwritten.
- Some more iteration closing fixes
- Fixed an ES3 reserved words usage, [#980](https://togithub.com/zloirock/core-js/issues/980)
### [`v3.16.4`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3164---20210829-httpsgithubcomzloirockcore-jsreleasestagv3164)
[Compare Source](https://togithub.com/zloirock/core-js/compare/v3.16.3...v3.16.4)
- `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`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3163---20210825-httpsgithubcomzloirockcore-jsreleasestagv3163)
[Compare Source](https://togithub.com/zloirock/core-js/compare/v3.16.2...v3.16.3)
- Fixed `CreateAsyncFromSyncIterator` semantic in `AsyncIterator.from`, related to [#765](https://togithub.com/zloirock/core-js/issues/765)
- Added a workaround of a specific case of broken `Object.prototype`, [#973](https://togithub.com/zloirock/core-js/issues/973)
### [`v3.16.2`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3162---20210817-httpsgithubcomzloirockcore-jsreleasestagv3162)
[Compare Source](https://togithub.com/zloirock/core-js/compare/v3.16.1...v3.16.2)
- Added a workaround of a Closure Compiler unsafe optimization, [#972](https://togithub.com/zloirock/core-js/issues/972)
- One more fix crashing of `Object.create(null)` on WSH, [#970](https://togithub.com/zloirock/core-js/issues/970)
- Added Deno 1.14 compat data mapping
### [`v3.16.1`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3161---20210809-httpsgithubcomzloirockcore-jsreleasestagv3161)
[Compare Source](https://togithub.com/zloirock/core-js/compare/v3.16.0...v3.16.1)
- Fixed microtask implementation on iOS Pebble, [#967](https://togithub.com/zloirock/core-js/issues/967)
- Fixed some entry points
- Improved old Safari compat data
### [`v3.16.0`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3160---20210730-httpsgithubcomzloirockcore-jsreleasestagv3160)
[Compare Source](https://togithub.com/zloirock/core-js/compare/v3.15.2...v3.16.0)
- [`Array` find from last proposal](https://togithub.com/tc39/proposal-array-find-from-last) moved to the stage 3, [July 2021 TC39 meeting](https://togithub.com/tc39/proposal-array-find-from-last/pull/47)
- [`Array` filtering stage 1 proposal](https://togithub.com/tc39/proposal-array-filtering):
- `Array.prototype.filterReject` replaces `Array.prototype.filterOut`
- `%TypedArray%.prototype.filterReject` replaces `%TypedArray%.prototype.filterOut`
- Added [`Array` grouping stage 1 proposal](https://togithub.com/tc39/proposal-array-grouping):
- `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](https://togithub.com/zloirock/core-js/issues/965)
- Fixed possible exposing of collections elements metadata in some cases, [#427](https://togithub.com/zloirock/core-js/issues/427)
- Fixed crashing of `Object.create(null)` on WSH, [#966](https://togithub.com/zloirock/core-js/issues/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](https://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](https://chromestatus.com/feature/5662263404920832) and [FF92](https://bugzilla.mozilla.org/show_bug.cgi?id=1721149)
- `Date.prototype.getYear` marked as not supported in IE8-
- Added `summary` option to `core-js-builder`, see more info in the [`README`](https://togithub.com/zloirock/core-js/blob/master/packages/core-js-builder/README.md), [#910](https://togithub.com/zloirock/core-js/issues/910)
### [`v3.15.2`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3152---20210629-httpsgithubcomzloirockcore-jsreleasestagv3152)
[Compare Source](https://togithub.com/zloirock/core-js/compare/v3.15.1...v3.15.2)
- Worked around breakage related to `zone.js` loaded before `core-js`, [#953](https://togithub.com/zloirock/core-js/issues/953)
- Added NodeJS 16.4 -> Chrome 91 compat data mapping
### [`v3.15.1`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3151---20210623-httpsgithubcomzloirockcore-jsreleasestagv3151)
[Compare Source](https://togithub.com/zloirock/core-js/compare/v3.15.0...v3.15.1)
- Fixed cloning of regex through `RegExp` constructor, [#948](https://togithub.com/zloirock/core-js/issues/948)
### [`v3.15.0`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3150---20210621-httpsgithubcomzloirockcore-jsreleasestagv3150)
[Compare Source](https://togithub.com/zloirock/core-js/compare/v3.14.0...v3.15.0)
- Added `RegExp` named capture groups polyfill, [#521](https://togithub.com/zloirock/core-js/issues/521), [#944](https://togithub.com/zloirock/core-js/issues/944)
- Added `RegExp` `dotAll` flag polyfill, [#792](https://togithub.com/zloirock/core-js/issues/792), [#944](https://togithub.com/zloirock/core-js/issues/944)
- Added missed polyfills of [Annex B](https://tc39.es/ecma262/#sec-additional-built-in-properties) features (required mainly for some non-browser engines), [#336](https://togithub.com/zloirock/core-js/issues/336), [#945](https://togithub.com/zloirock/core-js/issues/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](https://togithub.com/zloirock/core-js/issues/942), thanks [@gausie](https://togithub.com/gausie)
- `.at` marked as supported from FF90
### [`v3.14.0`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3140---20210605-httpsgithubcomzloirockcore-jsreleasestagv3140)
[Compare Source](https://togithub.com/zloirock/core-js/compare/v3.13.1...v3.14.0)
- Added polyfill of stable sort in `{ Array, %TypedArray% }.prototype.sort`, [#769](https://togithub.com/zloirock/core-js/issues/769), [#941](https://togithub.com/zloirock/core-js/issues/941)
- Fixed `Safari` 14.0- `%TypedArray%.prototype.sort` validation of arguments bug
- `.at` marked as supported from V8 9.2
### [`v3.13.1`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3131---20210529-httpsgithubcomzloirockcore-jsreleasestagv3131)
[Compare Source](https://togithub.com/zloirock/core-js/compare/v3.13.0...v3.13.1)
- Overwrites `get-own-property-symbols` third-party `Symbol` polyfill if it's used since it causes a stack overflow, [#774](https://togithub.com/zloirock/core-js/issues/774)
- Added a workaround of possible browser crash on `Object.prototype` accessors methods in WebKit ~ Android 4.0, [#232](https://togithub.com/zloirock/core-js/issues/232)
### [`v3.13.0`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3130---20210526-httpsgithubcomzloirockcore-jsreleasestagv3130)
[Compare Source](https://togithub.com/zloirock/core-js/compare/v3.12.1...v3.13.0)
- Accessible `Object#hasOwnProperty` (`Object.hasOwn`) proposal moved to the stage 3, [May 2021 TC39 meeting](https://togithub.com/babel/proposals/issues/74#issuecomment-848121673)
### [`v3.12.1`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3121---20210509-httpsgithubcomzloirockcore-jsreleasestagv3121)
[Compare Source](https://togithub.com/zloirock/core-js/compare/v3.12.0...v3.12.1)
- 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`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3120---20210506-httpsgithubcomzloirockcore-jsreleasestagv3120)
[Compare Source](https://togithub.com/zloirock/core-js/compare/v3.11.3...v3.12.0)
- Added well-known symbol `Symbol.metadata` for [decorators stage 2 proposal](https://togithub.com/tc39/proposal-decorators)
- Added well-known symbol `Symbol.matcher` for [pattern matching stage 1 proposal](https://togithub.com/tc39/proposal-pattern-matching)
- Fixed regression of V8 ~ Node 0.12 `String(Symbol())` bug, [#933](https://togithub.com/zloirock/core-js/issues/933)
### [`v3.11.3`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3113---20210505-httpsgithubcomzloirockcore-jsreleasestagv3113)
[Compare Source](https://togithub.com/zloirock/core-js/compare/v3.11.2...v3.11.3)
- Native promise-based APIs `Promise#{ catch, finally }` returns polyfilled `Promise` instances when it's required
### [`v3.11.2`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3112---20210503-httpsgithubcomzloirockcore-jsreleasestagv3112)
[Compare Source](https://togithub.com/zloirock/core-js/compare/v3.11.1...v3.11.2)
- Added a workaround of WebKit ~ iOS 10.3 Safari `Promise` bug, [#932](https://togithub.com/zloirock/core-js/issues/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`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3111---20210428-httpsgithubcomzloirockcore-jsreleasestagv3111)
[Compare Source](https://togithub.com/zloirock/core-js/compare/v3.11.0...v3.11.1)
- 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](https://togithub.com/zloirock/core-js/issues/564)
### [`v3.11.0`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3110---20210422-httpsgithubcomzloirockcore-jsreleasestagv3110)
[Compare Source](https://togithub.com/zloirock/core-js/compare/v3.10.2...v3.11.0)
- Added [accessible `Object#hasOwnProperty` stage 2 proposal](https://togithub.com/tc39/proposal-accessible-object-hasownproperty)
- `Object.hasOwn` method
- Fixed a possible `RegExp` constructor problem with multiple global `core-js` instances
### [`v3.10.2`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3102---20210419-httpsgithubcomzloirockcore-jsreleasestagv3102)
[Compare Source](https://togithub.com/zloirock/core-js/compare/v3.10.1...v3.10.2)
- `URL` and `URLSearchParams` marked as supported from Safari 14.0
- Polyfilled built-in constructors protected from calling on instances
### [`v3.10.1`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3101---20210408-httpsgithubcomzloirockcore-jsreleasestagv3101)
[Compare Source](https://togithub.com/zloirock/core-js/compare/v3.10.0...v3.10.1)
- Prevented possible `RegExp#split` problems in old engines, [#751](https://togithub.com/zloirock/core-js/issues/751), [#919](https://togithub.com/zloirock/core-js/issues/919)
- Detection of Safari 10 string padding bug extended to some Safari-based browsers
### [`v3.10.0`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3100---20210331-httpsgithubcomzloirockcore-jsreleasestagv3100)
[Compare Source](https://togithub.com/zloirock/core-js/compare/v3.9.1...v3.10.0)
- [`Array` find from last proposal](https://togithub.com/tc39/proposal-array-find-from-last) moved to the stage 2, [March TC39 meeting](https://togithub.com/babel/proposals/issues/71#issuecomment-795916535)
- Prevented possible `RegExp#exec` problems in some old engines, [#920](https://togithub.com/zloirock/core-js/issues/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`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#391---20210301-httpsgithubcomzloirockcore-jsreleasestagv391)
[Compare Source](https://togithub.com/zloirock/core-js/compare/v3.9.0...v3.9.1)
- 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](https://togithub.com/zloirock/core-js/issues/37)
- Used `NumericRangeIterator` as toStringTag instead of `RangeIterator` in `{ Number, BigInt }.range` iterator, per [this PR](https://togithub.com/tc39/proposal-Number.range/pull/46)
- TypedArray constructors marked as supported from Safari 14.0
- Updated compat data mapping for iOS Safari and Opera for Android
### [`v3.9.0`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#390---20210219-httpsgithubcomzloirockcore-jsreleasestagv390)
[Compare Source](https://togithub.com/zloirock/core-js/compare/v3.8.3...v3.9.0)
- Added [`Array` find from last stage 1 proposal](https://togithub.com/tc39/proposal-array-find-from-last)
- `Array#findLast`
- `Array#findLastIndex`
- `%TypedArray%#findLast`
- `%TypedArray%#findLastIndex`
- Added `%TypedArray%#uniqueBy` method for [array deduplication stage 1 proposal](https://togithub.com/tc39/proposal-array-unique)
- `%TypedArray%#uniqueBy`
- Dropped `ToLength` detection from array methods feature detection which could cause hanging FF11-21 and some versions of old WebKit, [#764](https://togithub.com/zloirock/core-js/issues/764)
- Minified bundle from `core-js-bundle` uses `terser` instead of `uglify-js`
### [`v3.8.3`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#383---20210119-httpsgithubcomzloirockcore-jsreleasestagv383)
[Compare Source](https://togithub.com/zloirock/core-js/compare/v3.8.2...v3.8.3)
- Fixed some more issues related to FF44- legacy `Iterator`, [#906](https://togithub.com/zloirock/core-js/issues/906)
### [`v3.8.2`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#382---20210103-httpsgithubcomzloirockcore-jsreleasestagv382)
[Compare Source](https://togithub.com/zloirock/core-js/compare/v3.8.1...v3.8.2)
- Fixed handling of special replacements patterns in `String#replaceAll`, [#900](https://togithub.com/zloirock/core-js/issues/900)
- Fixed iterators dependencies of `Promise.any` and `Promise.allSettled` entries
- Fixed microtask implementation on WebOS, [#898](https://togithub.com/zloirock/core-js/issues/898), [#901](https://togithub.com/zloirock/core-js/issues/901)
### [`v3.8.1`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#381---20201206-httpsgithubcomzloirockcore-jsreleasestagv381)
[Compare Source](https://togithub.com/zloirock/core-js/compare/v3.8.0...v3.8.1)
- Fixed work of new `%TypedArray%` methods on `BigInt` arrays
- Added ESNext methods to ES3 workaround for `Number` constructor wrapper
### [`v3.8.0`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#380---20201126-httpsgithubcomzloirockcore-jsreleasestagv380)
[Compare Source](https://togithub.com/zloirock/core-js/co
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - 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, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This PR contains the following updates:
3.6.5
->3.26.1
Release Notes
zloirock/core-js
### [`v3.26.1`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3261---20221114-httpsgithubcomzloirockcore-jsreleasestagv3261) [Compare Source](https://togithub.com/zloirock/core-js/compare/v3.26.0...v3.26.1) - Disabled forced replacing of `Array.fromAsync` since it's on Stage 3 - Avoiding a check of the target in the internal `function-uncurry-this` helper where it's not required - minor optimization and preventing problems in some broken environments, a workaround of [#1141](https://togithub.com/zloirock/core-js/issues/1141) - V8 will not ship `Array.prototype.{ group, groupToMap }` in V8 ~ Chromium 108, [proposal-array-grouping/44](https://togithub.com/tc39/proposal-array-grouping/issues/44#issuecomment-1306311107) ### [`v3.26.0`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3260---20221024-httpsgithubcomzloirockcore-jsreleasestagv3260) [Compare Source](https://togithub.com/zloirock/core-js/compare/v3.25.5...v3.26.0) - [`Array.fromAsync` proposal](https://togithub.com/tc39/proposal-array-from-async): - Moved to Stage 3, [September TC39 meeting](https://togithub.com/tc39/notes/blob/main/meetings/2022-09/sep-14.md#arrayfromasync-for-stage-3) - Avoid observable side effects of `%Array.prototype.values%` usage in array-like branch, [proposal-array-from-async/30](https://togithub.com/tc39/proposal-array-from-async/pull/30) - Added [well-formed unicode strings stage 2 proposal](https://togithub.com/tc39/proposal-is-usv-string): - `String.prototype.isWellFormed` - `String.prototype.toWellFormed` - Recent updates of the [iterator helpers proposal](https://togithub.com/tc39/proposal-iterator-helpers): - Added a counter parameter to helpers, [proposal-iterator-helpers/211](https://togithub.com/tc39/proposal-iterator-helpers/pull/211) - Don't await non-objects returned from functions passed to `AsyncIterator` helpers, [proposal-iterator-helpers/239](https://togithub.com/tc39/proposal-iterator-helpers/pull/239) - `{ Iterator, AsyncIterator }.prototype.flatMap` supports returning both - iterables and iterators, [proposal-iterator-helpers/233](https://togithub.com/tc39/proposal-iterator-helpers/pull/233) - Early exit on broken `.next` in missed cases of `{ Iterator, AsyncIterator }.from`, [proposal-iterator-helpers/232](https://togithub.com/tc39/proposal-iterator-helpers/pull/232) - Added `self` polyfill as a part of [The Minimum Common Web Platform API](https://common-min-api.proposal.wintercg.org/), [specification](https://html.spec.whatwg.org/multipage/window-object.html#dom-self), [#1118](https://togithub.com/zloirock/core-js/issues/1118) - Added `inverse` option to `core-js-compat`, [#1119](https://togithub.com/zloirock/core-js/issues/1119) - Added `format` option to `core-js-builder`, [#1120](https://togithub.com/zloirock/core-js/issues/1120) - Added NodeJS 19.0 compat data - Added Deno 1.26 and 1.27 compat data - Added Opera Android 72 compat data mapping - Updated Electron 22 compat data mapping ### [`v3.25.5`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3255---20221004-httpsgithubcomzloirockcore-jsreleasestagv3255) [Compare Source](https://togithub.com/zloirock/core-js/compare/v3.25.4...v3.25.5) - Fixed regression with an error on reuse of some built-in methods from another realm, [#1133](https://togithub.com/zloirock/core-js/issues/1133) ### [`v3.25.4`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3254---20221003-httpsgithubcomzloirockcore-jsreleasestagv3254) [Compare Source](https://togithub.com/zloirock/core-js/compare/v3.25.3...v3.25.4) - Added a workaround of a Nashorn bug with `Function.prototype.{ call, apply, bind }` on string methods, [#1128](https://togithub.com/zloirock/core-js/issues/1128) - Updated lists of `[Serializable]` and `[Transferable]` objects in the `structuredClone` polyfill. Mainly, for better error messages if polyfilling of cloning such types is impossible - `Array.prototype.{ group, groupToMap }` marked as [supported from V8 ~ Chromium 108](https://chromestatus.com/feature/5714791975878656) - Added Electron 22 compat data mapping ### [`v3.25.3`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3253---20220926-httpsgithubcomzloirockcore-jsreleasestagv3253) [Compare Source](https://togithub.com/zloirock/core-js/compare/v3.25.2...v3.25.3) - Forced polyfilling of `Array.prototype.groupToMap` in the pure version for returning wrapped `Map` instances - Fixed existence of `Array.prototype.{ findLast, findLastIndex }` in `/stage/4` entry - Added Opera Android 71 compat data mapping - Some stylistic changes ### [`v3.25.2`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3252---20220919-httpsgithubcomzloirockcore-jsreleasestagv3252) [Compare Source](https://togithub.com/zloirock/core-js/compare/v3.25.1...v3.25.2) - Considering `document.all` as a callable in some missed cases - Added Safari 16.0 compat data - Added iOS Safari 16.0 compat data mapping - Fixed some ancient iOS Safari versions compat data mapping ### [`v3.25.1`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3251---20220908-httpsgithubcomzloirockcore-jsreleasestagv3251) [Compare Source](https://togithub.com/zloirock/core-js/compare/v3.25.0...v3.25.1) - Added some fixes and workarounds of FF30- typed arrays bug that does not properly convert objects to numbers - Added `sideEffects` field to `core-js-pure` `package.json` for better tree shaking, [#1117](https://togithub.com/zloirock/core-js/issues/1117) - Dropped `semver` dependency from `core-js-compat` - `semver` package (ironically) added [a breaking change and dropped NodeJS 8 support in the minor `7.1` version](https://togithub.com/npm/node-semver/commit/d61f828e64260a0a097f26210f5500), after that `semver` in `core-js-compat` was pinned to `7.0` since for avoiding breaking changes it should support NodeJS 8. However, since `core-js-compat` is usually used with other packages that use `semver` dependency, it causes multiple duplication of `semver` in dependencies. So I decided to remove `semver` dependency and replace it with a couple of simple helpers. - Added Bun 0.1.6-0.1.11 compat data - Added Deno 1.25 compat data mapping - Updated Electron 21 compat data mapping - Some stylistic changes, minor fixes, and improvements ### [`v3.25.0`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3250---20220825-httpsgithubcomzloirockcore-jsreleasestagv3250) [Compare Source](https://togithub.com/zloirock/core-js/compare/v3.24.1...v3.25.0) - Added [`Object.prototype.__proto__`](https://tc39.es/ecma262/#sec-object.prototype.\__proto\_\_) polyfill - It's optional, legacy, and in some cases (mainly because of developers' mistakes) can cause problems, but [some libraries depend on it](https://togithub.com/denoland/deno/issues/13321), and most code can't work without the proper libraries' ecosystem - Only for modern engines where this feature is missed (like Deno), it's not installed in IE10- since here we have no proper way setting of the prototype - Without fixes of early implementations where it's not an accessor since those fixes are impossible - Only for the global version - Considering `document.all` as an object in some missed cases, see [ECMAScript Annex B 3.6](https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot) - Avoiding unnecessary promise creation and validation result in `%WrapForValid(Async)IteratorPrototype%.return`, [proposal-iterator-helpers/215](https://togithub.com/tc39/proposal-iterator-helpers/pull/215) - Fixed omitting the result of proxing `.return` in `%IteratorHelperPrototype%.return`, [#1116](https://togithub.com/zloirock/core-js/issues/1116) - Fixed the order creation of properties of iteration result object of some iterators (`value` should be created before `done`) - Fixed some cases of Safari < 13 bug - silent on non-writable array `.length` setting - Fixed `ArrayBuffer.length` in V8 ~ Chrome 27- - Relaxed condition of re-usage native `WeakMap` for internal states with multiple `core-js` copies - Availability cloning of `FileList` in the `structuredClone` polyfill extended to some more old engines versions - Some stylistic changes and minor fixes - Throwing a `TypeError` in `core-js-compat` / `core-js-builder` in case of passing invalid module names / filters for avoiding unexpected result, related to [#1115](https://togithub.com/zloirock/core-js/issues/1115) - Added missed NodeJS 13.2 to `esmodules` `core-js-compat` / `core-js-builder` target - Added Electron 21 compat data mapping - Added Oculus Browser 23.0 compat data mapping ### [`v3.24.1`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3241---20220730-httpsgithubcomzloirockcore-jsreleasestagv3241) [Compare Source](https://togithub.com/zloirock/core-js/compare/v3.24.0...v3.24.1) - NodeJS is ignored in `IS_BROWSER` detection to avoid a false positive with `jsdom`, [#1110](https://togithub.com/zloirock/core-js/issues/1110) - Fixed detection of `@@species` support in `Promise` in some old engines - `{ Array, %TypedArray% }.prototype.{ findLast, findLastIndex }` marked as shipped [in FF104](https://bugzilla.mozilla.org/show_bug.cgi?id=1775026) - Added iOS Safari 15.6 compat data mapping - Fixed Opera 15 compat data mapping ### [`v3.24.0`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3240---20220725-httpsgithubcomzloirockcore-jsreleasestagv3240) [Compare Source](https://togithub.com/zloirock/core-js/compare/v3.23.5...v3.24.0) - Recent updates of the [iterator helpers proposal](https://togithub.com/tc39/proposal-iterator-helpers), [#1101](https://togithub.com/zloirock/core-js/issues/1101): - `.asIndexedPairs` renamed to `.indexed`, [proposal-iterator-helpers/183](https://togithub.com/tc39/proposal-iterator-helpers/pull/183): - `Iterator.prototype.asIndexedPairs` -> `Iterator.prototype.indexed` - `AsyncIterator.prototype.asIndexedPairs` -> `AsyncIterator.prototype.indexed` - Avoid exposing spec fiction `%AsyncFromSyncIteratorPrototype%` in `AsyncIterator.from` and `Iterator.prototype.toAsync`, [proposal-iterator-helpers/182](https://togithub.com/tc39/proposal-iterator-helpers/pull/182), [proposal-iterator-helpers/202](https://togithub.com/tc39/proposal-iterator-helpers/pull/202) - Avoid unnecessary promise creation in `%WrapForValidAsyncIteratorPrototype%.next`, [proposal-iterator-helpers/197](https://togithub.com/tc39/proposal-iterator-helpers/pull/197) - Do not validate value in `%WrapForValid(Async)IteratorPrototype%.next`, [proposal-iterator-helpers/197](https://togithub.com/tc39/proposal-iterator-helpers/pull/197) and [proposal-iterator-helpers/205](https://togithub.com/tc39/proposal-iterator-helpers/pull/205) - Do not forward the parameter of `.next` / `.return` to an underlying iterator by the extended iterator protocol, a part of [proposal-iterator-helpers/194](https://togithub.com/tc39/proposal-iterator-helpers/pull/194) - `.throw` methods removed from all wrappers / helpers prototypes, a part of [proposal-iterator-helpers/194](https://togithub.com/tc39/proposal-iterator-helpers/pull/194) - Close inner iterators of `{ Iterator, AsyncIterator }.prototype.flatMap` proxy iterators on `.return`, [proposal-iterator-helpers/195](https://togithub.com/tc39/proposal-iterator-helpers/pull/195) - Throw `RangeError` on `NaN` in `{ Iterator, AsyncIterator }.prototype.{ drop, take }`, [proposal-iterator-helpers/181](https://togithub.com/tc39/proposal-iterator-helpers/pull/181) - Many other updates and fixes of this proposal - `%TypedArray%.prototype.toSpliced` method removed from the [change array by copy proposal](https://togithub.com/tc39/proposal-change-array-by-copy) and marked as obsolete in `core-js`, [proposal-change-array-by-copy/88](https://togithub.com/tc39/proposal-change-array-by-copy/issues/88) - Polyfill `Promise` with `unhandledrejection` event support (browser style) in Deno < [1.24](https://togithub.com/denoland/deno/releases/tag/v1.24.0) - Available new targets in `core-js-compat` / `core-js-builder` and added compat data for them: - Bun (`bun`), compat data for 0.1.1-0.1.5, [#1103](https://togithub.com/zloirock/core-js/issues/1103) - Hermes (`hermes`), compat data for 0.1-0.11, [#1099](https://togithub.com/zloirock/core-js/issues/1099) - Oculus Browser (`oculus`), compat data mapping for 3.0-22.0, [#1098](https://togithub.com/zloirock/core-js/issues/1098) - Added Samsung Internet 18.0 compat data mapping ### [`v3.23.5`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3235---20220718-httpsgithubcomzloirockcore-jsreleasestagv3235) [Compare Source](https://togithub.com/zloirock/core-js/compare/v3.23.4...v3.23.5) - Fixed a typo in the `structuredClone` feature detection, [#1106](https://togithub.com/zloirock/core-js/issues/1106) - Added Opera Android 70 compat data mapping ### [`v3.23.4`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3234---20220710-httpsgithubcomzloirockcore-jsreleasestagv3234) [Compare Source](https://togithub.com/zloirock/core-js/compare/v3.23.3...v3.23.4) - Added a workaround of the Bun ~ 0.1.1 [bug](https://togithub.com/Jarred-Sumner/bun/issues/399) that define some globals with incorrect property descriptors and that causes a crash of `core-js` - Added a fix of the FF103+ `structuredClone` bugs ([1774866](https://bugzilla.mozilla.org/show_bug.cgi?id=1774866) (fixed in FF104) and [1777321](https://bugzilla.mozilla.org/show_bug.cgi?id=1777321) (still not fixed)) that now can clone errors, but `.stack` of the clone is an empty string - Fixed `{ Map, WeakMap }.prototype.emplace` logic, [#1102](https://togithub.com/zloirock/core-js/issues/1102) - Fixed order of errors throwing on iterator helpers ### [`v3.23.3`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3233---20220626-httpsgithubcomzloirockcore-jsreleasestagv3233) [Compare Source](https://togithub.com/zloirock/core-js/compare/v3.23.2...v3.23.3) - Changed the order of operations in `%TypedArray%.prototype.toSpliced` following [proposal-change-array-by-copy/89](https://togithub.com/tc39/proposal-change-array-by-copy/issues/89) - Fixed regression of some IE8- issues ### [`v3.23.2`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3232---20220621-httpsgithubcomzloirockcore-jsreleasestagv3232) [Compare Source](https://togithub.com/zloirock/core-js/compare/v3.23.1...v3.23.2) - Avoided creation of extra properties for the handling of `%TypedArray%` constructors in new methods, [#1092 (comment)](https://togithub.com/zloirock/core-js/issues/1092#issuecomment-1158760512) - Added Deno 1.23 compat data mapping ### [`v3.23.1`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3231---20220614-httpsgithubcomzloirockcore-jsreleasestagv3231) [Compare Source](https://togithub.com/zloirock/core-js/compare/v3.23.0...v3.23.1) - Fixed possible error on multiple `core-js` copies, [#1091](https://togithub.com/zloirock/core-js/issues/1091) - Added `v` flag to `RegExp.prototype.flags` implementation in case if current V8 bugs will not be fixed before this flag implementation ### [`v3.23.0`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3230---20220614-httpsgithubcomzloirockcore-jsreleasestagv3230) [Compare Source](https://togithub.com/zloirock/core-js/compare/v3.22.8...v3.23.0) - [`Array` find from last](https://togithub.com/tc39/proposal-array-find-from-last) moved to the stable ES, according to June 2022 TC39 meeting: - `Array.prototype.findLast` - `Array.prototype.findLastIndex` - `%TypedArray%.prototype.findLast` - `%TypedArray%.prototype.findLastIndex` - Methods from [the `Array` grouping proposal](https://togithub.com/tc39/proposal-array-grouping) [renamed](https://togithub.com/tc39/proposal-array-grouping/pull/39), according to June 2022 TC39 meeting: - `Array.prototype.groupBy` -> `Array.prototype.group` - `Array.prototype.groupByToMap` -> `Array.prototype.groupToMap` - Changed the order of operations in `%TypedArray%.prototype.with` following [proposal-change-array-by-copy/86](https://togithub.com/tc39/proposal-change-array-by-copy/issues/86), according to June 2022 TC39 meeting - [Decorator Metadata proposal](https://togithub.com/tc39/proposal-decorator-metadata) extracted from [Decorators proposal](https://togithub.com/tc39/proposal-decorators) as a separate stage 2 proposal, according to March 2022 TC39 meeting, `Symbol.metadataKey` replaces `Symbol.metadata` - Added `Array.prototype.push` polyfill with some fixes for modern engines - Added `Array.prototype.unshift` polyfill with some fixes for modern engines - Fixed a bug in the order of getting flags in `RegExp.prototype.flags` in the actual version of V8 - Fixed property descriptors of some `Math` and `Number` constants - Added a workaround of V8 `ArrayBufferDetaching` protector cell invalidation and performance degradation on `structuredClone` feature detection, one more case of [#679](https://togithub.com/zloirock/core-js/issues/679) - Added detection of NodeJS [bug](https://togithub.com/nodejs/node/issues/41038) in `structuredClone` that can not clone `DOMException` (just in case for future versions that will fix other issues) - Compat data: - Added NodeJS 18.3 compat data mapping - Added and fixed Deno 1.22 and 1.21 compat data mapping - Added Opera Android 69 compat data mapping - Updated Electron 20.0 compat data mapping ### [`v3.22.8`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3228---20220602-httpsgithubcomzloirockcore-jsreleasestagv3228) [Compare Source](https://togithub.com/zloirock/core-js/compare/v3.22.7...v3.22.8) - Fixed possible multiple call of `ToBigInt` / `ToNumber` conversion of the argument passed to `%TypedArray%.prototype.fill` in V8 ~ Chrome < 59, Safari < 14.1, FF < 55, Edge <=18 - Fixed some cases of `DeletePropertyOrThrow` in IE9- - Fixed the kind of error (`TypeError` instead of `Error`) on incorrect `exec` result in `RegExp.prototype.test` polyfill - Fixed dependencies of `{ actual, full, features }/typed-array/at` entries - Added Electron 20.0 compat data mapping - Added iOS Safari 15.5 compat data mapping - Refactoring ### [`v3.22.7`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3227---20220524-httpsgithubcomzloirockcore-jsreleasestagv3227) [Compare Source](https://togithub.com/zloirock/core-js/compare/v3.22.6...v3.22.7) - Added a workaround for V8 ~ Chrome 53 bug with non-writable prototype of some methods, [#1083](https://togithub.com/zloirock/core-js/issues/1083) ### [`v3.22.6`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3226---20220523-httpsgithubcomzloirockcore-jsreleasestagv3226) [Compare Source](https://togithub.com/zloirock/core-js/compare/v3.22.5...v3.22.6) - Fixed possible double call of `ToNumber` conversion on arguments of `Math.{ fround, trunc }` polyfills - `Array.prototype.includes` marked as [fixed](https://bugzilla.mozilla.org/show_bug.cgi?id=1767541) in FF102 ### [`v3.22.5`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3225---20220510-httpsgithubcomzloirockcore-jsreleasestagv3225) [Compare Source](https://togithub.com/zloirock/core-js/compare/v3.22.4...v3.22.5) - Ensured that polyfilled constructors `.prototype` is non-writable - Ensured that polyfilled methods `.prototype` is not defined - Added detection and fix of a V8 ~ Chrome <103 [bug](https://bugs.chromium.org/p/v8/issues/detail?id=12542) of `struturedClone` that returns `null` if cloned object contains multiple references to one error ### [`v3.22.4`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3224---20220503-httpsgithubcomzloirockcore-jsreleasestagv3224) [Compare Source](https://togithub.com/zloirock/core-js/compare/v3.22.3...v3.22.4) - Ensured proper `.length` of polyfilled functions even in compressed code (excepting some ancient engines) - Ensured proper `.name` of polyfilled accessors (excepting some ancient engines) - Ensured proper source / `ToString` conversion of polyfilled accessors - Actualized Rhino compat data - Refactoring ### [`v3.22.3`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3223---20220428-httpsgithubcomzloirockcore-jsreleasestagv3223) [Compare Source](https://togithub.com/zloirock/core-js/compare/v3.22.2...v3.22.3) - Added a fix for FF99+ `Array.prototype.includes` broken on sparse arrays ### [`v3.22.2`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3222---20220421-httpsgithubcomzloirockcore-jsreleasestagv3222) [Compare Source](https://togithub.com/zloirock/core-js/compare/v3.22.1...v3.22.2) - Fixed `URLSearchParams` in IE8- that was broken in the previous release - Fixed `__lookupGetter__` entries ### [`v3.22.1`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3221---20220420-httpsgithubcomzloirockcore-jsreleasestagv3221) [Compare Source](https://togithub.com/zloirock/core-js/compare/v3.22.0...v3.22.1) - Improved some cases of `RegExp` flags handling - Prevented experimental warning in NodeJS ~ 18.0 on detection `fetch` API - Added NodeJS 18.0 compat data ### [`v3.22.0`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3220---20220415-httpsgithubcomzloirockcore-jsreleasestagv3220) [Compare Source](https://togithub.com/zloirock/core-js/compare/v3.21.1...v3.22.0) - [Change `Array` by copy proposal](https://togithub.com/tc39/proposal-change-array-by-copy): - Moved to Stage 3, [March TC39 meeting](https://togithub.com/babel/proposals/issues/81#issuecomment-1083449843) - Disabled forced replacement and added `/actual/` entry points for methods from this proposal - `Array.prototype.toSpliced` throws a `TypeError` instead of `RangeError` if the result length is more than `MAX_SAFE_INTEGER`, [proposal-change-array-by-copy/70](https://togithub.com/tc39/proposal-change-array-by-copy/pull/70) - Added some more `atob` / `btoa` fixes: - NodeJS <17.9 `atob` does not ignore spaces, [node/42530](https://togithub.com/nodejs/node/issues/42530) - Actual NodeJS `atob` does not validate encoding, [node/42646](https://togithub.com/nodejs/node/issues/42646) - FF26- implementation does not properly convert argument to string - IE / Edge <16 implementation have wrong arity - Added `/full/` namespace as the replacement for `/features/` since it's more descriptive in context of the rest namespaces (`/es/` ⊆ `/stable/` ⊆ `/actual/` ⊆ `/full/`) - Avoided propagation of removed parts of proposals to upper stages. For example, `%TypedArray%.prototype.groupBy` was removed from the `Array` grouping proposal a long time ago. We can't completely remove this method since it's a breaking change. But this proposal has been promoted to stage 3 - so the proposal should be promoted without this method, this method should not be available in `/actual/` entries - but it should be available in early-stage entries to avoid breakage. - Significant internal refactoring and splitting of modules (but without exposing to public API since it will be a breaking change - it will be exposed in the next major version) - Bug fixes: - Fixed work of non-standard V8 `Error` features with wrapped `Error` constructors, [#1061](https://togithub.com/zloirock/core-js/issues/1061) - `null` and `undefined` allowed as the second argument of `structuredClone`, [#1056](https://togithub.com/zloirock/core-js/issues/1056) - Tooling: - Stabilized proposals are filtered out from the `core-js-compat` -> `core-js-builder` -> `core-js-bundle` output. That mean that if the output contains, for example, `es.object.has-own`, the legacy reference to it, `esnext.object.has-own`, no longer added. - Aligned modules filters of [`core-js-builder`](https://togithub.com/zloirock/core-js/tree/master/packages/core-js-builder) and [`core-js-compat`](https://togithub.com/zloirock/core-js/tree/master/packages/core-js-compat), now it's `modules` and `exclude` options - Added support of entry points, modules, regexes, and arrays of them to those filters - Missed `targets` option of `core-js-compat` means that the `targets` filter just will not be applied, so the result will contain modules required for all possible engines - Compat data: - `.stack` property on `DOMException` marked as supported from Deno [1.15](https://togithub.com/denoland/deno/releases/tag/v1.15.0) - Added Deno 1.21 compat data mapping - Added Electron 19.0 and updated 18.0 compat data mapping - Added Samsung Internet 17.0 compat data mapping - Added Opera Android 68 compat data mapping ### [`v3.21.1`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3211---20220217-httpsgithubcomzloirockcore-jsreleasestagv3211) [Compare Source](https://togithub.com/zloirock/core-js/compare/v3.21.0...v3.21.1) - Added a [bug](https://bugs.webkit.org/show_bug.cgi?id=236541)fix for the WebKit `Array.prototype.{ groupBy, groupByToMap }` implementation - `core-js-compat` targets parser transforms engine names to lower case - `atob` / `btoa` marked as [fixed](https://togithub.com/nodejs/node/pull/41478) in NodeJS 17.5 - Added Electron 18.0 compat data mapping - Added Deno 1.20 compat data mapping ### [`v3.21.0`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3210---20220202-httpsgithubcomzloirockcore-jsreleasestagv3210) [Compare Source](https://togithub.com/zloirock/core-js/compare/v3.20.3...v3.21.0) - Added [Base64 utility methods](https://developer.mozilla.org/en-US/docs/Glossary/Base64): - `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`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3203---20220115-httpsgithubcomzloirockcore-jsreleasestagv3203) [Compare Source](https://togithub.com/zloirock/core-js/compare/v3.20.2...v3.20.3) - 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`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3202---20220102-httpsgithubcomzloirockcore-jsreleasestagv3202) [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-httpsgithubcomzloirockcore-jsreleasestagv3201) [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-httpsgithubcomzloirockcore-jsreleasestagv3200) [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-httpsgithubcomzloirockcore-jsreleasestagv3193) [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-httpsgithubcomzloirockcore-jsreleasestagv3192) [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-httpsgithubcomzloirockcore-jsreleasestagv3191) [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-httpsgithubcomzloirockcore-jsreleasestagv3190) [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-httpsgithubcomzloirockcore-jsreleasestagv3183) [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 ### [`v3.18.2`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3182---20211006-httpsgithubcomzloirockcore-jsreleasestagv3182) [Compare Source](https://togithub.com/zloirock/core-js/compare/v3.18.1...v3.18.2) - 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`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3181---20210927-httpsgithubcomzloirockcore-jsreleasestagv3181) [Compare Source](https://togithub.com/zloirock/core-js/compare/v3.18.0...v3.18.1) - 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](https://togithub.com/zloirock/core-js/issues/988), [#987](https://togithub.com/zloirock/core-js/issues/987), thanks [@moorejs](https://togithub.com/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`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3180---20210920-httpsgithubcomzloirockcore-jsreleasestagv3180) [Compare Source](https://togithub.com/zloirock/core-js/compare/v3.17.3...v3.18.0) - Added [`Array.fromAsync` stage 1 proposal](https://togithub.com/tc39/proposal-array-from-async): - `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`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3173---20210909-httpsgithubcomzloirockcore-jsreleasestagv3173) [Compare Source](https://togithub.com/zloirock/core-js/compare/v3.17.2...v3.17.3) - 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`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3172---20210903-httpsgithubcomzloirockcore-jsreleasestagv3172) [Compare Source](https://togithub.com/zloirock/core-js/compare/v3.17.1...v3.17.2) - Fixed missed cases of ES3 reserved words usage, related to [#980](https://togithub.com/zloirock/core-js/issues/980) - Fixed dependencies in one missed entry point - Some other minor fixes and optimizations ### [`v3.17.1`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3171---20210902-httpsgithubcomzloirockcore-jsreleasestagv3171) [Compare Source](https://togithub.com/zloirock/core-js/compare/v3.17.0...v3.17.1) - Fixed missed `modules-by-versions` data ### [`v3.17.0`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3170---20210902-httpsgithubcomzloirockcore-jsreleasestagv3170) [Compare Source](https://togithub.com/zloirock/core-js/compare/v3.16.4...v3.17.0) - [Accessible `Object.prototype.hasOwnProperty` (`Object.hasOwn`) proposal](https://togithub.com/tc39/proposal-accessible-object-hasownproperty) moved to the stable ES, [per August 2021 TC39 meeting](https://togithub.com/babel/proposals/issues/76#issuecomment-909288348) - [Relative indexing method (`.at`) proposal](https://togithub.com/tc39/proposal-relative-indexing-method) moved to the stable ES, [per August 2021 TC39 meeting](https://togithub.com/babel/proposals/issues/76#issuecomment-909285053) - Exposed by default the stable version of `String.prototype.at`. It was not exposed because of the conflict with the alternative obsolete proposal (that will be completely removed in the next major version). For the backward compatibility, in the case of loading this proposal, it will be overwritten. - Some more iteration closing fixes - Fixed an ES3 reserved words usage, [#980](https://togithub.com/zloirock/core-js/issues/980) ### [`v3.16.4`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3164---20210829-httpsgithubcomzloirockcore-jsreleasestagv3164) [Compare Source](https://togithub.com/zloirock/core-js/compare/v3.16.3...v3.16.4) - `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`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3163---20210825-httpsgithubcomzloirockcore-jsreleasestagv3163) [Compare Source](https://togithub.com/zloirock/core-js/compare/v3.16.2...v3.16.3) - Fixed `CreateAsyncFromSyncIterator` semantic in `AsyncIterator.from`, related to [#765](https://togithub.com/zloirock/core-js/issues/765) - Added a workaround of a specific case of broken `Object.prototype`, [#973](https://togithub.com/zloirock/core-js/issues/973) ### [`v3.16.2`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3162---20210817-httpsgithubcomzloirockcore-jsreleasestagv3162) [Compare Source](https://togithub.com/zloirock/core-js/compare/v3.16.1...v3.16.2) - Added a workaround of a Closure Compiler unsafe optimization, [#972](https://togithub.com/zloirock/core-js/issues/972) - One more fix crashing of `Object.create(null)` on WSH, [#970](https://togithub.com/zloirock/core-js/issues/970) - Added Deno 1.14 compat data mapping ### [`v3.16.1`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3161---20210809-httpsgithubcomzloirockcore-jsreleasestagv3161) [Compare Source](https://togithub.com/zloirock/core-js/compare/v3.16.0...v3.16.1) - Fixed microtask implementation on iOS Pebble, [#967](https://togithub.com/zloirock/core-js/issues/967) - Fixed some entry points - Improved old Safari compat data ### [`v3.16.0`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3160---20210730-httpsgithubcomzloirockcore-jsreleasestagv3160) [Compare Source](https://togithub.com/zloirock/core-js/compare/v3.15.2...v3.16.0) - [`Array` find from last proposal](https://togithub.com/tc39/proposal-array-find-from-last) moved to the stage 3, [July 2021 TC39 meeting](https://togithub.com/tc39/proposal-array-find-from-last/pull/47) - [`Array` filtering stage 1 proposal](https://togithub.com/tc39/proposal-array-filtering): - `Array.prototype.filterReject` replaces `Array.prototype.filterOut` - `%TypedArray%.prototype.filterReject` replaces `%TypedArray%.prototype.filterOut` - Added [`Array` grouping stage 1 proposal](https://togithub.com/tc39/proposal-array-grouping): - `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](https://togithub.com/zloirock/core-js/issues/965) - Fixed possible exposing of collections elements metadata in some cases, [#427](https://togithub.com/zloirock/core-js/issues/427) - Fixed crashing of `Object.create(null)` on WSH, [#966](https://togithub.com/zloirock/core-js/issues/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](https://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](https://chromestatus.com/feature/5662263404920832) and [FF92](https://bugzilla.mozilla.org/show_bug.cgi?id=1721149) - `Date.prototype.getYear` marked as not supported in IE8- - Added `summary` option to `core-js-builder`, see more info in the [`README`](https://togithub.com/zloirock/core-js/blob/master/packages/core-js-builder/README.md), [#910](https://togithub.com/zloirock/core-js/issues/910) ### [`v3.15.2`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3152---20210629-httpsgithubcomzloirockcore-jsreleasestagv3152) [Compare Source](https://togithub.com/zloirock/core-js/compare/v3.15.1...v3.15.2) - Worked around breakage related to `zone.js` loaded before `core-js`, [#953](https://togithub.com/zloirock/core-js/issues/953) - Added NodeJS 16.4 -> Chrome 91 compat data mapping ### [`v3.15.1`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3151---20210623-httpsgithubcomzloirockcore-jsreleasestagv3151) [Compare Source](https://togithub.com/zloirock/core-js/compare/v3.15.0...v3.15.1) - Fixed cloning of regex through `RegExp` constructor, [#948](https://togithub.com/zloirock/core-js/issues/948) ### [`v3.15.0`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3150---20210621-httpsgithubcomzloirockcore-jsreleasestagv3150) [Compare Source](https://togithub.com/zloirock/core-js/compare/v3.14.0...v3.15.0) - Added `RegExp` named capture groups polyfill, [#521](https://togithub.com/zloirock/core-js/issues/521), [#944](https://togithub.com/zloirock/core-js/issues/944) - Added `RegExp` `dotAll` flag polyfill, [#792](https://togithub.com/zloirock/core-js/issues/792), [#944](https://togithub.com/zloirock/core-js/issues/944) - Added missed polyfills of [Annex B](https://tc39.es/ecma262/#sec-additional-built-in-properties) features (required mainly for some non-browser engines), [#336](https://togithub.com/zloirock/core-js/issues/336), [#945](https://togithub.com/zloirock/core-js/issues/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](https://togithub.com/zloirock/core-js/issues/942), thanks [@gausie](https://togithub.com/gausie) - `.at` marked as supported from FF90 ### [`v3.14.0`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3140---20210605-httpsgithubcomzloirockcore-jsreleasestagv3140) [Compare Source](https://togithub.com/zloirock/core-js/compare/v3.13.1...v3.14.0) - Added polyfill of stable sort in `{ Array, %TypedArray% }.prototype.sort`, [#769](https://togithub.com/zloirock/core-js/issues/769), [#941](https://togithub.com/zloirock/core-js/issues/941) - Fixed `Safari` 14.0- `%TypedArray%.prototype.sort` validation of arguments bug - `.at` marked as supported from V8 9.2 ### [`v3.13.1`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3131---20210529-httpsgithubcomzloirockcore-jsreleasestagv3131) [Compare Source](https://togithub.com/zloirock/core-js/compare/v3.13.0...v3.13.1) - Overwrites `get-own-property-symbols` third-party `Symbol` polyfill if it's used since it causes a stack overflow, [#774](https://togithub.com/zloirock/core-js/issues/774) - Added a workaround of possible browser crash on `Object.prototype` accessors methods in WebKit ~ Android 4.0, [#232](https://togithub.com/zloirock/core-js/issues/232) ### [`v3.13.0`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3130---20210526-httpsgithubcomzloirockcore-jsreleasestagv3130) [Compare Source](https://togithub.com/zloirock/core-js/compare/v3.12.1...v3.13.0) - Accessible `Object#hasOwnProperty` (`Object.hasOwn`) proposal moved to the stage 3, [May 2021 TC39 meeting](https://togithub.com/babel/proposals/issues/74#issuecomment-848121673) ### [`v3.12.1`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3121---20210509-httpsgithubcomzloirockcore-jsreleasestagv3121) [Compare Source](https://togithub.com/zloirock/core-js/compare/v3.12.0...v3.12.1) - 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`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3120---20210506-httpsgithubcomzloirockcore-jsreleasestagv3120) [Compare Source](https://togithub.com/zloirock/core-js/compare/v3.11.3...v3.12.0) - Added well-known symbol `Symbol.metadata` for [decorators stage 2 proposal](https://togithub.com/tc39/proposal-decorators) - Added well-known symbol `Symbol.matcher` for [pattern matching stage 1 proposal](https://togithub.com/tc39/proposal-pattern-matching) - Fixed regression of V8 ~ Node 0.12 `String(Symbol())` bug, [#933](https://togithub.com/zloirock/core-js/issues/933) ### [`v3.11.3`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3113---20210505-httpsgithubcomzloirockcore-jsreleasestagv3113) [Compare Source](https://togithub.com/zloirock/core-js/compare/v3.11.2...v3.11.3) - Native promise-based APIs `Promise#{ catch, finally }` returns polyfilled `Promise` instances when it's required ### [`v3.11.2`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3112---20210503-httpsgithubcomzloirockcore-jsreleasestagv3112) [Compare Source](https://togithub.com/zloirock/core-js/compare/v3.11.1...v3.11.2) - Added a workaround of WebKit ~ iOS 10.3 Safari `Promise` bug, [#932](https://togithub.com/zloirock/core-js/issues/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`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3111---20210428-httpsgithubcomzloirockcore-jsreleasestagv3111) [Compare Source](https://togithub.com/zloirock/core-js/compare/v3.11.0...v3.11.1) - 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](https://togithub.com/zloirock/core-js/issues/564) ### [`v3.11.0`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3110---20210422-httpsgithubcomzloirockcore-jsreleasestagv3110) [Compare Source](https://togithub.com/zloirock/core-js/compare/v3.10.2...v3.11.0) - Added [accessible `Object#hasOwnProperty` stage 2 proposal](https://togithub.com/tc39/proposal-accessible-object-hasownproperty) - `Object.hasOwn` method - Fixed a possible `RegExp` constructor problem with multiple global `core-js` instances ### [`v3.10.2`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3102---20210419-httpsgithubcomzloirockcore-jsreleasestagv3102) [Compare Source](https://togithub.com/zloirock/core-js/compare/v3.10.1...v3.10.2) - `URL` and `URLSearchParams` marked as supported from Safari 14.0 - Polyfilled built-in constructors protected from calling on instances ### [`v3.10.1`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3101---20210408-httpsgithubcomzloirockcore-jsreleasestagv3101) [Compare Source](https://togithub.com/zloirock/core-js/compare/v3.10.0...v3.10.1) - Prevented possible `RegExp#split` problems in old engines, [#751](https://togithub.com/zloirock/core-js/issues/751), [#919](https://togithub.com/zloirock/core-js/issues/919) - Detection of Safari 10 string padding bug extended to some Safari-based browsers ### [`v3.10.0`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3100---20210331-httpsgithubcomzloirockcore-jsreleasestagv3100) [Compare Source](https://togithub.com/zloirock/core-js/compare/v3.9.1...v3.10.0) - [`Array` find from last proposal](https://togithub.com/tc39/proposal-array-find-from-last) moved to the stage 2, [March TC39 meeting](https://togithub.com/babel/proposals/issues/71#issuecomment-795916535) - Prevented possible `RegExp#exec` problems in some old engines, [#920](https://togithub.com/zloirock/core-js/issues/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`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#391---20210301-httpsgithubcomzloirockcore-jsreleasestagv391) [Compare Source](https://togithub.com/zloirock/core-js/compare/v3.9.0...v3.9.1) - 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](https://togithub.com/zloirock/core-js/issues/37) - Used `NumericRangeIterator` as toStringTag instead of `RangeIterator` in `{ Number, BigInt }.range` iterator, per [this PR](https://togithub.com/tc39/proposal-Number.range/pull/46) - TypedArray constructors marked as supported from Safari 14.0 - Updated compat data mapping for iOS Safari and Opera for Android ### [`v3.9.0`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#390---20210219-httpsgithubcomzloirockcore-jsreleasestagv390) [Compare Source](https://togithub.com/zloirock/core-js/compare/v3.8.3...v3.9.0) - Added [`Array` find from last stage 1 proposal](https://togithub.com/tc39/proposal-array-find-from-last) - `Array#findLast` - `Array#findLastIndex` - `%TypedArray%#findLast` - `%TypedArray%#findLastIndex` - Added `%TypedArray%#uniqueBy` method for [array deduplication stage 1 proposal](https://togithub.com/tc39/proposal-array-unique) - `%TypedArray%#uniqueBy` - Dropped `ToLength` detection from array methods feature detection which could cause hanging FF11-21 and some versions of old WebKit, [#764](https://togithub.com/zloirock/core-js/issues/764) - Minified bundle from `core-js-bundle` uses `terser` instead of `uglify-js` ### [`v3.8.3`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#383---20210119-httpsgithubcomzloirockcore-jsreleasestagv383) [Compare Source](https://togithub.com/zloirock/core-js/compare/v3.8.2...v3.8.3) - Fixed some more issues related to FF44- legacy `Iterator`, [#906](https://togithub.com/zloirock/core-js/issues/906) ### [`v3.8.2`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#382---20210103-httpsgithubcomzloirockcore-jsreleasestagv382) [Compare Source](https://togithub.com/zloirock/core-js/compare/v3.8.1...v3.8.2) - Fixed handling of special replacements patterns in `String#replaceAll`, [#900](https://togithub.com/zloirock/core-js/issues/900) - Fixed iterators dependencies of `Promise.any` and `Promise.allSettled` entries - Fixed microtask implementation on WebOS, [#898](https://togithub.com/zloirock/core-js/issues/898), [#901](https://togithub.com/zloirock/core-js/issues/901) ### [`v3.8.1`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#381---20201206-httpsgithubcomzloirockcore-jsreleasestagv381) [Compare Source](https://togithub.com/zloirock/core-js/compare/v3.8.0...v3.8.1) - Fixed work of new `%TypedArray%` methods on `BigInt` arrays - Added ESNext methods to ES3 workaround for `Number` constructor wrapper ### [`v3.8.0`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#380---20201126-httpsgithubcomzloirockcore-jsreleasestagv380) [Compare Source](https://togithub.com/zloirock/core-js/coConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - 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 Mend Renovate. View repository job log here.