v3.37.0
版本发布时间: 2024-04-17 03:50:25
zloirock/core-js最新发布版本:v3.38.1(2024-08-20 19:37:57)
- Changes v3.36.1...v3.37.0
-
New
Set
methods proposal:- Built-ins:
-
Set.prototype.intersection
-
Set.prototype.union
-
Set.prototype.difference
-
Set.prototype.symmetricDifference
-
Set.prototype.isSubsetOf
-
Set.prototype.isSupersetOf
-
Set.prototype.isDisjointFrom
-
- Moved to stable ES, April 2024 TC39 meeting
- Added
es.
namespace modules,/es/
and/stable/
namespaces entries
- Built-ins:
-
Explicit Resource Management stage 3 proposal
- Some minor updates like explicit-resource-management/217
- Added
Math.sumPrecise
stage 2.7 proposal:- Built-ins:
-
Math.sumPrecise
-
- Built-ins:
-
Promise.try
proposal:- Built-ins:
-
Promise.try
-
- Added optional arguments support, promise-try/16
- Moved to stage 2.7, April 2024 TC39 meeting
- Built-ins:
-
RegExp.escape
stage 2 proposal:- Moved to hex-escape semantics, regex-escaping/67
- It's not the final change of the way of escaping, waiting for regex-escaping/77 soon
- Moved to hex-escape semantics, regex-escaping/67
-
Pattern matching stage 1 proposal:
- Built-ins:
-
Symbol.customMatcher
-
- Once again, the used well-known symbol was renamed
- Added new entries for that
- Built-ins:
- Added Extractors stage 1 proposal:
- Built-ins:
-
Symbol.customMatcher
-
- Since the
Symbol.customMatcher
well-known symbol from the pattern matching proposal is also used in the exactors proposal, added an entry also for this proposal
- Built-ins:
- Added
URL.parse
, url/825 - Engines bugs fixes:
- Compat data improvements:
-
URL.parse
added and marked as supported from FF 126 -
URL.parse
added and marked as supported from Bun 1.1.4 -
URL.canParse
fixed and marked as supported from Bun 1.1.0 -
New
Set
methods fixed in JavaScriptCore and marked as supported from Bun 1.1.1 - Added Opera Android 82 compat data mapping
-