chore(deps): update dependency core-js to v3.27.1
This MR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| core-js | 3.24.1 -> 3.27.1 |
Release Notes
zloirock/core-js
v3.27.1
- Fixed a Chakra-based MS Edge (18-) bug that unfreeze (O_o) frozen arrays used as
WeakMapkeys - Fixing of the previous bug also fixes some cases of
String.dedentin MS Edge - Fixed dependencies of some entries
v3.27.0
-
Iterator Helpers proposal:
- Built-ins:
-
IteratorIterator.fromIterator.prototype.dropIterator.prototype.everyIterator.prototype.filterIterator.prototype.findIterator.prototype.flatMapIterator.prototype.forEachIterator.prototype.mapIterator.prototype.reduceIterator.prototype.someIterator.prototype.takeIterator.prototype.toArrayIterator.prototype.toAsyncIterator.prototype[@​@​toStringTag]
-
AsyncIteratorAsyncIterator.fromAsyncIterator.prototype.dropAsyncIterator.prototype.everyAsyncIterator.prototype.filterAsyncIterator.prototype.findAsyncIterator.prototype.flatMapAsyncIterator.prototype.forEachAsyncIterator.prototype.mapAsyncIterator.prototype.reduceAsyncIterator.prototype.someAsyncIterator.prototype.takeAsyncIterator.prototype.toArrayAsyncIterator.prototype[@​@​toStringTag]
-
- Moved to Stage 3, November 2022 TC39 meeting
- Added
/actual/entries, unconditional forced replacement disabled for features that survived to Stage 3 -
.fromaccept strings,.flatMapthrows on strings returned from the callback, proposal-iterator-helpers/244, proposal-iterator-helpers/250 -
.fromand.flatMapthrows on non-object iterators, proposal-iterator-helpers/253
- Built-ins:
-
Setmethods proposal:- Built-ins:
Set.prototype.intersectionSet.prototype.unionSet.prototype.differenceSet.prototype.symmetricDifferenceSet.prototype.isSubsetOfSet.prototype.isSupersetOfSet.prototype.isDisjointFrom
- Moved to Stage 3, November 2022 TC39 meeting
- Reimplemented with new semantics:
- Optimized performance (iteration over lowest set)
- Accepted only
Set-like objects as an argument, not all iterables - Accepted only
Sets asthis, no@@​speciessupport, and other minor changes
- Added
/actual/entries, unconditional forced replacement changed to feature detection - For avoiding breaking changes:
- New versions of methods are implemented as new modules and available in new entries or entries where old versions of methods were not available before (like
/actual/namespace) - In entries where they were available before (like
/full/namespace), those methods are available with fallbacks to old semantics (in addition toSet-like, they accept iterable objects). This behavior will be removed from the next major release
- New versions of methods are implemented as new modules and available in new entries or entries where old versions of methods were not available before (like
- Built-ins:
-
Well-Formed Unicode Strings proposal:
- Methods:
String.prototype.isWellFormedString.prototype.toWellFormed
- Moved to Stage 3, November 2022 TC39 meeting
- Added
/actual/entries, disabled unconditional forced replacement
- Methods:
-
Explicit resource management Stage 3 and Async explicit resource management Stage 2 proposals:
- Renamed from "
usingstatement" and splitted into 2 (sync and async) proposals - In addition to already present well-known symbols, added new built-ins:
Symbol.disposeSymbol.asyncDisposeSuppressedError-
DisposableStackDisposableStack.prototype.disposeDisposableStack.prototype.useDisposableStack.prototype.adoptDisposableStack.prototype.deferDisposableStack.prototype.moveDisposableStack.prototype[@​@​dispose]
-
AsyncDisposableStackAsyncDisposableStack.prototype.disposeAsyncAsyncDisposableStack.prototype.useAsyncDisposableStack.prototype.adoptAsyncDisposableStack.prototype.deferAsyncDisposableStack.prototype.moveAsyncDisposableStack.prototype[@​@​asyncDispose]
Iterator.prototype[@​@​dispose]AsyncIterator.prototype[@​@​asyncDispose]
- Sync version of this proposal moved to Stage 3, November 2022 TC39 meeting
- Added
/actual/namespace entries for Stage 3 proposal
- Renamed from "
- Added
String.dedentstage 2 proposal- Method
String.dedent - Throws an error on non-frozen raw templates for avoiding possible breaking changes in the future, proposal-string-dedent/75
- Method
-
Compat data targets improvements:
-
React Native from 0.70 shipped with Hermes as the default engine. However, bundled Hermes versions differ from standalone Hermes releases. So added
react-nativetarget for React Native with bundled Hermes. -
According to the documentation, Oculus Browser was renamed to Meta Quest Browser, so
oculustarget was renamed toquest. -
opera_mobiletarget name is confusing since it contains data for the Chromium-based Android version, but iOS Opera is Safari-based. Soopera_mobiletarget was renamed toopera-android. -
androidtarget name is also confusing for someone - that means Android WebView, some think thinks that it's Chrome for Android, but they have some differences. For avoiding confusion, addedchrome-androidtarget. - For consistency with two previous cases, added
firefox-androidtarget. - For avoiding breaking changes, the
oculusandopera_mobilefields are available in the compat data till the next major release.
-
React Native from 0.70 shipped with Hermes as the default engine. However, bundled Hermes versions differ from standalone Hermes releases. So added
- Compat data improvements:
-
Array.fromAsyncmarked as supported from Bun 0.3.0 -
String.prototype.{ isWellFormed, toWellFormed }marked as supported from Bun 0.4.0 -
Change
Arrayby copy proposal marked as supported from Deno 1.27, deno/16429 - Added Deno 1.28 / 1.29 compat data mapping
- Added NodeJS 19.2 compat data mapping
- Added Samsung Internet 19.0 compat data mapping
- Added Quest Browser 24.0 compat data mapping
- Fixed the first version in the Chromium-based Edge compat data mapping
-
-
{ Map, WeakMap }.prototype.emplacebecame stricter by the spec draft - Smoothed behavior of some conflicting proposals
- Removed some generic behavior (like
@@​speciespattern) of some.prototypemethods from the new collections methods proposal and theArraydeduplication proposal that most likely will not be implemented since it contradicts the current TC39 policy - Added pure version of the
Numberconstructor, #1154, #1155, thanks @trosos - Added
set(Timeout|Interval|Immediate)extra arguments fix for Bun 0.3.0- (similarly to IE9-), bun/1633 - Fixed handling of sparse arrays in
structuredClone, #1156 - Fixed a theoretically possible future conflict of polyfills definitions in the pure version
- Some refactoring and optimization
v3.26.1
- Disabled forced replacing of
Array.fromAsyncsince it's on Stage 3 - Avoiding a check of the target in the internal
function-uncurry-thishelper where it's not required - minor optimization and preventing problems in some broken environments, a workaround of #1141 - V8 will not ship
Array.prototype.{ group, groupToMap }in V8 ~ Chromium 108, proposal-array-grouping/44
v3.26.0
-
Array.fromAsyncproposal:- Moved to Stage 3, September TC39 meeting
- Avoid observable side effects of
%Array.prototype.values%usage in array-like branch, proposal-array-from-async/30
- Added well-formed unicode strings stage 2 proposal:
String.prototype.isWellFormedString.prototype.toWellFormed
- Recent updates of the iterator helpers proposal:
- Added a counter parameter to helpers, proposal-iterator-helpers/211
- Don't await non-objects returned from functions passed to
AsyncIteratorhelpers, proposal-iterator-helpers/239 -
{ Iterator, AsyncIterator }.prototype.flatMapsupports returning both - iterables and iterators, proposal-iterator-helpers/233 - Early exit on broken
.nextin missed cases of{ Iterator, AsyncIterator }.from, proposal-iterator-helpers/232
- Added
selfpolyfill as a part of The Minimum Common Web Platform API, specification, #1118 - Added
inverseoption tocore-js-compat, #1119 - Added
formatoption tocore-js-builder, #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
- Fixed regression with an error on reuse of some built-in methods from another realm, #1133
v3.25.4
- Added a workaround of a Nashorn bug with
Function.prototype.{ call, apply, bind }on string methods, #1128 - Updated lists of
[Serializable]and[Transferable]objects in thestructuredClonepolyfill. Mainly, for better error messages if polyfilling of cloning such types is impossible -
Array.prototype.{ group, groupToMap }marked as supported from V8 ~ Chromium 108 - Added Electron 22 compat data mapping
v3.25.3
- Forced polyfilling of
Array.prototype.groupToMapin the pure version for returning wrappedMapinstances - Fixed existence of
Array.prototype.{ findLast, findLastIndex }in/stage/4entry - Added Opera Android 71 compat data mapping
- Some stylistic changes
v3.25.2
- Considering
document.allas 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
- Added some fixes and workarounds of FF30- typed arrays bug that does not properly convert objects to numbers
- Added
sideEffectsfield tocore-js-purepackage.jsonfor better tree shaking, #1117 - Dropped
semverdependency fromcore-js-compat-
semverpackage (ironically) added a breaking change and dropped NodeJS 8 support in the minor7.1version, after thatsemverincore-js-compatwas pinned to7.0since for avoiding breaking changes it should support NodeJS 8. However, sincecore-js-compatis usually used with other packages that usesemverdependency, it causes multiple duplication ofsemverin dependencies. So I decided to removesemverdependency 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
- Added
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, 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.allas an object in some missed cases, see ECMAScript Annex B 3.6 - Avoiding unnecessary promise creation and validation result in
%WrapForValid(Async)IteratorPrototype%.return, proposal-iterator-helpers/215 - Fixed omitting the result of proxing
.returnin%IteratorHelperPrototype%.return, #1116 - Fixed the order creation of properties of iteration result object of some iterators (
valueshould be created beforedone) - Fixed some cases of Safari < 13 bug - silent on non-writable array
.lengthsetting - Fixed
ArrayBuffer.lengthin V8 ~ Chrome 27- - Relaxed condition of re-usage native
WeakMapfor internal states with multiplecore-jscopies - Availability cloning of
FileListin thestructuredClonepolyfill extended to some more old engines versions - Some stylistic changes and minor fixes
- Throwing a
TypeErrorincore-js-compat/core-js-builderin case of passing invalid module names / filters for avoiding unexpected result, related to #1115 - Added missed NodeJS 13.2 to
esmodulescore-js-compat/core-js-buildertarget - Added Electron 21 compat data mapping
- Added Oculus Browser 23.0 compat data mapping
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.