Update dependency core-js to v3.25.5
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| core-js | 3.22.3 -> 3.25.5 |
Release Notes
zloirock/core-js
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-compatsemverpackage (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
v3.24.1
- NodeJS is ignored in
IS_BROWSERdetection to avoid a false positive withjsdom, #1110 - Fixed detection of
@@​speciessupport inPromisein some old engines { Array, %TypedArray% }.prototype.{ findLast, findLastIndex }marked as shipped in FF104- Added iOS Safari 15.6 compat data mapping
- Fixed Opera 15 compat data mapping
v3.24.0
- Recent updates of the iterator helpers proposal, #1101:
.asIndexedPairsrenamed to.indexed, proposal-iterator-helpers/183:Iterator.prototype.asIndexedPairs->Iterator.prototype.indexedAsyncIterator.prototype.asIndexedPairs->AsyncIterator.prototype.indexed
- Avoid exposing spec fiction
%AsyncFromSyncIteratorPrototype%inAsyncIterator.fromandIterator.prototype.toAsync, proposal-iterator-helpers/182, proposal-iterator-helpers/202 - Avoid unnecessary promise creation in
%WrapForValidAsyncIteratorPrototype%.next, proposal-iterator-helpers/197 - Do not validate value in
%WrapForValid(Async)IteratorPrototype%.next, proposal-iterator-helpers/197 and proposal-iterator-helpers/205 - Do not forward the parameter of
.next/.returnto an underlying iterator by the extended iterator protocol, a part of proposal-iterator-helpers/194 .throwmethods removed from all wrappers / helpers prototypes, a part of proposal-iterator-helpers/194- Close inner iterators of
{ Iterator, AsyncIterator }.prototype.flatMapproxy iterators on.return, proposal-iterator-helpers/195 - Throw
RangeErroronNaNin{ Iterator, AsyncIterator }.prototype.{ drop, take }, proposal-iterator-helpers/181 - Many other updates and fixes of this proposal
%TypedArray%.prototype.toSplicedmethod removed from the change array by copy proposal and marked as obsolete incore-js, proposal-change-array-by-copy/88- Polyfill
Promisewithunhandledrejectionevent support (browser style) in Deno < 1.24 - Available new targets in
core-js-compat/core-js-builderand added compat data for them: - Added Samsung Internet 18.0 compat data mapping
v3.23.5
- Fixed a typo in the
structuredClonefeature detection, #1106 - Added Opera Android 70 compat data mapping
v3.23.4
- Added a workaround of the Bun ~ 0.1.1 bug that define some globals with incorrect property descriptors and that causes a crash of
core-js - Added a fix of the FF103+
structuredClonebugs (1774866 (fixed in FF104) and 1777321 (still not fixed)) that now can clone errors, but.stackof the clone is an empty string - Fixed
{ Map, WeakMap }.prototype.emplacelogic, #1102 - Fixed order of errors throwing on iterator helpers
v3.23.3
- Changed the order of operations in
%TypedArray%.prototype.toSplicedfollowing proposal-change-array-by-copy/89 - Fixed regression of some IE8- issues
v3.23.2
- Avoided creation of extra properties for the handling of
%TypedArray%constructors in new methods, #1092 (comment) - Added Deno 1.23 compat data mapping
v3.23.1
- Fixed possible error on multiple
core-jscopies, #1091 - Added
vflag toRegExp.prototype.flagsimplementation in case if current V8 bugs will not be fixed before this flag implementation
v3.23.0
Arrayfind from last moved to the stable ES, according to June 2022 TC39 meeting:Array.prototype.findLastArray.prototype.findLastIndex%TypedArray%.prototype.findLast%TypedArray%.prototype.findLastIndex
- Methods from the
Arraygrouping proposal renamed, according to June 2022 TC39 meeting:Array.prototype.groupBy->Array.prototype.groupArray.prototype.groupByToMap->Array.prototype.groupToMap
- Changed the order of operations in
%TypedArray%.prototype.withfollowing proposal-change-array-by-copy/86, according to June 2022 TC39 meeting - Decorator Metadata proposal extracted from Decorators proposal as a separate stage 2 proposal, according to March 2022 TC39 meeting,
Symbol.metadataKeyreplacesSymbol.metadata - Added
Array.prototype.pushpolyfill with some fixes for modern engines - Added
Array.prototype.unshiftpolyfill with some fixes for modern engines - Fixed a bug in the order of getting flags in
RegExp.prototype.flagsin the actual version of V8 - Fixed property descriptors of some
MathandNumberconstants - Added a workaround of V8
ArrayBufferDetachingprotector cell invalidation and performance degradation onstructuredClonefeature detection, one more case of #679 - Added detection of NodeJS bug in
structuredClonethat can not cloneDOMException(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
- Fixed possible multiple call of
ToBigInt/ToNumberconversion of the argument passed to%TypedArray%.prototype.fillin V8 ~ Chrome < 59, Safari < 14.1, FF < 55, Edge <=18 - Fixed some cases of
DeletePropertyOrThrowin IE9- - Fixed the kind of error (
TypeErrorinstead ofError) on incorrectexecresult inRegExp.prototype.testpolyfill - Fixed dependencies of
{ actual, full, features }/typed-array/atentries - Added Electron 20.0 compat data mapping
- Added iOS Safari 15.5 compat data mapping
- Refactoring
v3.22.7
- Added a workaround for V8 ~ Chrome 53 bug with non-writable prototype of some methods, #1083
v3.22.6
- Fixed possible double call of
ToNumberconversion on arguments ofMath.{ fround, trunc }polyfills Array.prototype.includesmarked as fixed in FF102
v3.22.5
- Ensured that polyfilled constructors
.prototypeis non-writable - Ensured that polyfilled methods
.prototypeis not defined - Added detection and fix of a V8 ~ Chrome <103 bug of
struturedClonethat returnsnullif cloned object contains multiple references to one error
v3.22.4
- Ensured proper
.lengthof polyfilled functions even in compressed code (excepting some ancient engines) - Ensured proper
.nameof polyfilled accessors (excepting some ancient engines) - Ensured proper source /
ToStringconversion of polyfilled accessors - Actualized Rhino compat data
- Refactoring
Configuration
📅 Schedule: Branch creation - "before 3am on the first day of the month" (UTC), 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, click this checkbox.
This PR has been generated by Mend Renovate. View repository job log here.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
a1fe11d) 69.28% compared to head (83a1caf) 69.28%. Report is 1 commits behind head on master.
Additional details and impacted files
@@ Coverage Diff @@
## master #1048 +/- ##
=======================================
Coverage 69.28% 69.28%
=======================================
Files 59 59
Lines 5079 5079
Branches 1068 1068
=======================================
Hits 3519 3519
Misses 1533 1533
Partials 27 27
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.