Releases: zloirock/core-js
Releases Β· zloirock/core-js
3.17.0 - 2021.09.02
- Accessible
Object.prototype.hasOwnProperty(Object.hasOwn) proposal moved to the stable ES, per August 2021 TC39 meeting - Relative indexing method (
.at) proposal moved to the stable ES, per August 2021 TC39 meeting - 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
3.16.4 - 2021.08.29
AsyncFromSyncIteratormade stricter, related mainly toAsyncIterator.fromandAsyncIterator.prototype.flatMap- Handling of optional
.nextarguments in(Async)Iteratormethods is aligned with the current spec draft (mainly - ignoring the first passed to.nextargument in built-in generators) - Behavior of
.next,.return,.throwmethods onAsyncIteratorhelpers 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
3.16.3 - 2021.08.25
3.16.2 - 2021.08.17
3.16.1 - 2021.08.09
- Fixed microtask implementation on iOS Pebble, #967
- Fixed some entry points
- Improved old Safari compat data
3.16.0 - 2021.07.30
Arrayfind from last proposal moved to the stage 3, July 2021 TC39 meetingArrayfiltering stage 1 proposal:Array.prototype.filterRejectreplacesArray.prototype.filterOut%TypedArray%.prototype.filterRejectreplaces%TypedArray%.prototype.filterOut
- Added
Arraygrouping stage 1 proposal: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
@@toPrimitivein some cases ofToPrimitiveinternal logic made stricter - Fixed work of
Requestwith polyfilledURLSearchParams, #965 - Fixed possible exposing of collections elements metadata in some cases, #427
- Fixed crashing of
Object.create(null)on WSH, #966 - Fixed some cases of typed arrays subclassing logic
- Fixed a minor bug related to string conversion in
RegExp#exec - Fixed
Date.prototype.getYearfeature 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
denotarget incore-js-compat/core-js-builder - A bundle for Deno published on deno.land/x/corejs
- Added / updated compat data / mapping:
- Added
summaryoption tocore-js-builder, see more info in theREADME, #910
3.15.2 - 2021.06.29
- Worked around breakage related to
zone.jsloaded beforecore-js, #953 - Added NodeJS 16.4 -> Chrome 91 compat data mapping
3.15.1 - 2021.06.23
- Fixed cloning of regex through
RegExpconstructor, #948
3.15.0 - 2021.06.21
- Added
RegExpnamed capture groups polyfill, #521, #944 - Added
RegExpdotAllflag polyfill, #792, #944 - Added missed polyfills of Annex B features (required mainly for some non-browser engines), #336, #945:
escapeunescapeString.prototype.substrDate.prototype.getYearDate.prototype.setYearDate.prototype.toGMTString
- Fixed detection of forbidden host code points in
URLpolyfill - Allowed
rhinotarget incore-js-compat/core-js-builder, added compat data forrhino1.7.13, #942, thanks @gausie .atmarked as supported from FF90
3.14.0 - 2021.06.05
- Added polyfill of stable sort in
{ Array, %TypedArray% }.prototype.sort, #769 - Fixed
Safari14.0-%TypedArray%.prototype.sortvalidation of arguments bug .atmarked as supported from V8 9.2