Releases: zloirock/core-js
Releases Β· zloirock/core-js
3.19.2 - 2021.11.29
- Added a workaround for a UC Browser specific version bug with unobservable
RegExp#stickyflag, #1008, #1015 - Added handling of comments and specific spaces to
Function#namepolyfill, #1010, thanks @ildar-shaimordanov - Prevented some theoretical cases of breaking / observing the internal state by patching
Array.prototype[@@species] - Refactored
URLandURLSearchParams - Added iOS Safari 15.2 compat data mapping
- Added Electron 17.0 compat data mapping
- Updated Deno compat data mapping
3.19.1 - 2021.11.03
- Added a workaround for FF26- bug where
ArrayBuffers are non-extensible, butObject.isExtensibledoes not report it:- Fixed in
Object.{ isExtensible, isSealed, isFrozen }andReflect.isExtensible - Fixed handling of
ArrayBuffers as collections keys
- Fixed in
- Fixed
Object#toStringonAggregateErrorin IE10- - Fixed possible lack of dependencies of
WeakMapin IE8- .findLastmethods family marked as supported from Chrome 97- Fixed inheritance of Electron compat data
web.modules - Fixed Safari 15.1 compat data (some features were not added)
- Added iOS Safari 15.1 compat data mapping
3.19.0 - 2021.10.25
- Most built-ins are encapsulated in
core-jsfor preventing possible cases of breaking / observing the internal state by patching / deleting of them- Avoid
.call/.applyprototype methods that could be patched - Avoid
instanceofoperator - implicit.prototype/@@hasInstanceaccess that could be patched - Avoid
RegExp#test,String#matchand some over methods - implicit.execandRegExpwell-known symbols access that could be patched
- Avoid
- Clearing of
Errorstack from extra entries experimentally added toAggregateError, #996, in case lack of problems it will be extended to other cases - In engines with native
Symbolsupport, new well-known symbols created with usageSymbol.forfor ensuring the same keys in different realms, #998 - Added a workaround of a BrowserFS NodeJS
processpolyfill bug that incorrectly reports V8 version that's used in some cases ofcore-jsfeature detection - Fixed normalization of
messageAggregateErrorargument - Fixed order of arguments conversion in
Math.scale, a spec draft bug - Fixed
core-js-builderwork in NodeJS 17, added a workaround ofwebpack+ NodeJS 17 issue - Added NodeJS 17.0 compat data mapping
- Added Opera Android 65 compat data mapping
- Updated Electron 16.0 compat data mapping
- Many other minor fixes and improvements
3.18.3 - 2021.10.13
- Fixed the prototype chain of
AggregateErrorconstructor that should containErrorconstructor - Fixed incorrect
AggregateError.prototypeproperties descriptors - Fixed
InstallErrorCauseinternal operation - Added NodeJS 16.11 compat data mapping
- Added Deno 1.16 compat data mapping
Object.hasOwnmarked as supported from Safari 15.1
3.18.2 - 2021.10.06
- Early
{ Array, %TypedArray% }.fromAsyncerrors moved to the promise, per the latest changes of the spec draft - Internal
ToInteger(OrInfinity)operation returns+0for-0argument, ES2020+ update - Fixed theoretical problems with handling bigint in
Numberconstructor wrapper - Fixed
String.rawwith extra arguments - Fixed some missed dependencies in entry points
- Some other minor fixes and improvements
- Refactoring
3.18.1 - 2021.09.27
- Fixed
String.prototype.substrfeature detection and compat data - Removed mistakenly added
.forEachfrom prototypes of some DOM collections where it shouldn't be, #988, #987, thanks @moorejs - Added
causetoAggregateErrorconstructor implementation (still without adding to the feature detection) - Families of
.atand.findLastmethods marked as supported in Safari TP - Added Electron 16.0 compat data mapping
3.18.0 - 2021.09.20
- Added
Array.fromAsyncstage 1 proposal:Array.fromAsync%TypedArray%.fromAsync
.nameand.toString()on polyfilled functions improved in many different cases- Improved internal
IsConstructorandIsCallablechecks - Fixed some internal cases of
GetMethodoperation - Fixed a bug of MS Edge 18-
parseInt/parseFloatwith 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
3.17.3 - 2021.09.09
- 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 whereelement.classListis not an instance of globalDOMTokenList - Added NodeJS 16.9 compat data mapping
- Added Samsung Internet 16.0 compat data mapping
3.17.2 - 2021.09.03
- Fixed missed cases of ES3 reserved words usage, related to #980
- Fixed dependencies in one missed entry point
- Some other minor fixes and optimizations
3.17.1 - 2021.09.02
- Fixed missed
modules-by-versionsdata