- Changes v3.49.0...v3.50.0 (138 commits)
- Joint iteration proposal:
- Built-ins:
Iterator.zipIterator.zipKeyed
- Moved to stable ES, May 2026 TC39 meeting
- Added
es.namespace modules,/es/and/stable/namespace entries
- Built-ins:
Iteratorchunking proposal:- Built-ins:
Iterator.prototype.chunksIterator.prototype.windows
- Throw a
TypeErrorinstead ofRangeErroron non-integer numberchunkSize/windowSize, following tc39/proposal-iterator-chunking/#30 - Moved to stage 3, May 2026 TC39 meeting
- Added
/actual/namespace entries, unconditional forced replacement changed to feature detection
- Built-ins:
- Added
Iteratorincludes stage 3 proposal:- Added built-in:
Iterator.prototype.includes
- Added built-in:
- Added
Iteratorjoin stage 3 proposal:- Added built-in:
Iterator.prototype.join
- Added built-in:
- Added Await dictionary of Promises stage 3 proposal:
- Added built-ins:
Promise.allKeyedPromise.allSettledKeyed
- Added built-ins:
- Throw a
RangeErroron finite unsafe integerlimitinIterator.prototype.{ drop, take }, following tc39/ecma262/#3776 - Use
PromiseResolvesemantics inPromise.try, following tc39/ecma262/#3883 - Added detection of missed Webkit ~ Safari < 26.2
Iterator.prototype.flatMapbug case, #1538 - Deno 2.9+ replaces
Object.prototype.__proto__instead of removing it, so the feature detection updated - Fixed
JSON.stringifypolyfill with an array replacer - keys order now follows the replacer, inherited and non-enumerable properties are no longer ignored, #1539 - Make
URL/URLSearchParamsparsing a little more correct (char sets, percent coding, etc) - Ensure opaque paths always roundtrip in URL polyfill (still without adding to feature detection), whatwg/url#844
- Fix
URL#toJSONwhenURL#toStringis reassigned after core-js is imported - Fixed possible crash on some keys in
Symbol.for - Some
get-iterator/get-iterator-methodfixes - Fixed
String.prototype.{ match, search }polyfills conversion order - Added missed
MAX_SAFE_INTEGERexcess check inArray.fromand{ Map, Object }.groupBypolyfills - Improved the way of inner iterators cleaning in iterator helpers
- Improved accuracy of
Math.{ asinh, cbrt, log1p }polyfills with big and small values - Improved performance of
Uint8Arraybase64 methods - Improved performance of
escape - Slight performance improvement for engines with native
Array.prototype.fillonArrayBufferconstructor and%TypedArray%.prototype.fill - Clarify supported Node versions in
package.jsonof some missed packages (just to satisfypublint) - Compat data improvements:
- Following tc39/ecma262/#3776,
Iterator.prototype.{ drop, take }properly supported from:- V8 ~ Chrome 150
- Safari 27.0
- Bun 1.4.0
- Following tc39/ecma262/#3883,
Promise.trymarked as not properly supported in all engines Iterator.prototype.{ chunks, windows }marked as shipped in FF154Iterator.prototype.includesmarked as shipped in FF154Iterator.prototype.includesmarked as shipped in Bun 1.4.0Iterator.prototype.joinmarked as shipped in FF154Array.prototype.includesWebKit bug marked as fixed in:- Safari 27.0
- Bun 1.3.12
queueMicrotaskBun bug marked as fixed in Bun 1.4.0- Added Node 26.0 compat data mapping
- Added Deno 2.7.8, Deno 2.8.0, and Deno 2.9.4 compat data mapping
- Updated Electron 42 and added 43, 44, and 45 compat data mapping
- Added Samsung Browser 30 compat data mapping
- Added Oculus Quest Browser 144+ compat data mapping
- Added Opera for Android 97, 98, 99, and 100 compat data mapping
- Following tc39/ecma262/#3776,