core-js
3.51.0 · 19 Oct 2026MIT100.8M / weekRepositoryHomepagenpmAtom feed
263 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
3.51.0
19 Oct 2026Built-ins:
Iterator.prototype.chunksBuilt-ins:
Iterator.prototype.windowsMoved to stable ES, September 2026 TC39 meeting
Added
es.namespace modules,/es/and/stable/namespace entries
Built-in:
Iterator.prototype.includesMoved to stable ES, September 2026 TC39 meeting
Added
es.namespace module,/es/and/stable/namespace entries
Built-in:
Iterator.prototype.joinMoved to stable ES, September 2026 TC39 meeting
Added
es.namespace module,/es/and/stable/namespace entries
Added detection / fix of
Math.sumPrecisenegative numbers handling WebKit bugAdded detection / fix of
Math.sumPreciseV8 bugs with modified prototypes of arrays and array iteratorsAdded detection / fix of
RegExp.escapecode points handling WebKit bugAdded missed detection of imprecise native
Math.asinhin V8 < 5.4 and RhinoAdded missed detection of imprecise native
Math.cbrtin FF < 48 and engines that use glibccbrtFixed
Promise.{ allKeyed, allSettledKeyed }algorithm for sync promisesCompat data improvements:
Iterator.{ zip, zipKeyed }marked as shipped in V8 ~ Chrome 153Iterator.prototype.includesmarked as shipped in V8 ~ Chrome 154Iterator.prototype.joinmarked as shipped in V8 ~ Chrome 153Promise.{ allKeyed, allSettledKeyed }marked as shipped in FF155Iterator.prototype.{ drop, take }marked as properly supported with tc39/ecma262/#3776 from FF158Iterator.{ zip, zipKeyed }marked as shipped in Bun 1.4.0Iterator.prototype.{ chunks, windows }marked as shipped in Bun 1.4.0Iterator.prototype.joinmarked as shipped in Bun 1.4.0Because of a
Math.sumPrecisenegative numbers handling WebKit bug, this method is marked as not supported in Safari and BunBecause of
Math.sumPreciseV8 bugs (see above), this method is marked as not supported in Chrome -> all other V8 enginesRegExp.escapecode points handling WebKit bug:Marked as still not fixed in stable Safari
Marked as fixed in Bun 1.4.3
Because of imprecision (see above),
Math.asinhis marked as supported from V8 ~ Chrome 54 and as not supported in Rhino,Math.cbrt- from FF48Added Node 27.0 compat data mapping
Updated Electron 45 and added 46 compat data mapping
Added Samsung Browser 31 compat data mapping
3.50.0
5 Aug 2026Built-ins:
Iterator.zipBuilt-ins:
Iterator.zipKeyedMoved to stable ES, May 2026 TC39 meeting
Added
es.namespace modules,/es/and/stable/namespace entries
Built-ins:
Iterator.prototype.chunksBuilt-ins:
Iterator.prototype.windowsThrow a
TypeErrorinstead ofRangeErroron non-integer numberchunkSize/windowSize, following tc39/proposal-iterator-chunking/#30Moved to stage 3, May 2026 TC39 meeting
Added
/actual/namespace entries, unconditional forced replacement changed to feature detection
Added
Iteratorincludes stage 3 proposal:Added built-in:
Iterator.prototype.includes
Added
Iteratorjoin stage 3 proposal:Added built-in:
Iterator.prototype.join
Added Await dictionary of Promises stage 3 proposal:
Added built-ins:
Promise.allKeyedPromise.allSettledKeyed
Throw a
RangeErroron finite unsafe integerlimitinIterator.prototype.{ drop, take }, following tc39/ecma262/#3776Use
PromiseResolvesemantics inPromise.try, following tc39/ecma262/#3883Added detection of missed Webkit ~ Safari < 26.2
Iterator.prototype.flatMapbug case, #1538Deno 2.9+ replaces
Object.prototype.__proto__instead of removing it, so the feature detection updatedFixed
JSON.stringifypolyfill with an array replacer - keys order now follows the replacer, inherited and non-enumerable properties are no longer ignored, #1539Make
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 importedFixed possible crash on some keys in
Symbol.forSome
get-iterator/get-iterator-methodfixesFixed
String.prototype.{ match, search }polyfills conversion orderAdded missed
MAX_SAFE_INTEGERexcess check inArray.fromand{ Map, Object }.groupBypolyfillsImproved the way of inner iterators cleaning in iterator helpers
Improved accuracy of
Math.{ asinh, cbrt, log1p }polyfills with big and small valuesImproved performance of
Uint8Arraybase64 methodsImproved performance of
escapeSlight performance improvement for engines with native
Array.prototype.fillonArrayBufferconstructor and%TypedArray%.prototype.fillClarify 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:Safari 27.0
Bun 1.4.0
Following tc39/ecma262/#3883,
Promise.trymarked as not properly supported in all enginesIterator.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.0Added 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
3.49.0
16 Mar 2026Iterator.rangeupdated following the actual spec versionImproved accuracy of
Math.{ asinh, atanh }polyfills with big and small valuesImproved accuracy of
Number.prototype.toExponentialpolyfills with big and small values
Iterator.rangeupdated following the actual spec versionThrow a
RangeErroronNaNstart/end/stepAllow
nullasoptionOrStep
Improved accuracy of
Math.{ asinh, atanh }polyfills with big and small valuesImproved accuracy of
Number.prototype.toExponentialpolyfills with big and small valuesImproved performance of
atob,btoa,Uint8Array.fromHex,Uint8Array.prototype.setFromHex, andUint8Array.prototype.toHex, #1503, #1464, #1510, thanks @johnzhou721Minor performance optimization polyfills of methods from
Mapupsert proposalPolyfills of methods from
Mapupsert proposal from the pure version made generic to make it work with polyfilled and native collectionsWrap
Symbol.forinSymbol.prototype.descriptionpolyfill for correct handling of empty string descriptionsFixed a modern Safari bug in
Array.prototype.includeswith sparse arrays andfromIndexFixed one more case (
Iterator.prototype.take) of a V8 ~ Chromium < 126 bugForced replacement of
Iterator.{ concat, zip, zipKeyed }in the pure version for ensuring proper wrappedIteratorinstances as the resultFixed proxying
.return()on exhausted iterator from some methods of iterator helpers polyfill to the underlying iteratorFixed double
.return()calling in case of throwing error in this method in the internaliteratehelper that affected some polyfillsFixed closing iterator on
IteratorValueerrors in the internaliteratehelper that affected some polyfillsFixed iterator closing in
Array.frompolyfill on failure to create array propertyFixed order of arguments validation in
Array.fromAsyncpolyfillFixed a lack of counter validation on
MAX_SAFE_INTEGERinArray.fromAsyncpolyfillFixed order of arguments validation in
Array.prototype.flatpolyfillFixed handling strings as iterables in
Iterator.{ zip, zipKeyed }polyfillsFixed some cases of iterators closing in
Iterator.{ zip, zipKeyed }polyfillsFixed validation of iterators
.next()results as objects inIterator.{ zip, zipKeyed }polyfillsFixed a lack of early error in
Iterator.concatpolyfill on primitive as an iteratorFixed buffer mutation exposure in
Iterator.prototype.windowspolyfillFixed iterator closing in
Set.prototype.{ isDisjointFrom, isSupersetOf }polyfillFixed (updated following the final spec) one more case
Set.prototype.differencepolyfill with updatingthisFixed
DataView.prototype.setFloat16polyfill in (0, 1) rangeFixed order of arguments validation in
String.prototype.{ padStart, padEnd }polyfillsFixed order of arguments validation in
String.prototype.{ startsWith, endsWith }polyfillsFixed some cases of
Infinityhandling inString.prototype.substrpolyfillFixed
String.prototype.repeatpolyfill with a counter exceeding 2 ** 32Fixed some cases of chars case in
escapepolyfillFixed named backreferences in
RegExpNCG polyfillFixed some cases of
RegExpNCG polyfill in combination with other types of groupsFixed some cases of
RegExpNCG polyfill in combination withdotAllFixed
String.prototype.replacewithstickypolyfill, #810, #1514Fixed
RegExpstickypolyfill with alternationFixed handling of some line terminators in case of
multiline+stickymode inRegExppolyfillFixed
.inputslicing on result object withRegExpstickymode polyfillFixed handling of empty groups with
globalandunicodemodes in polyfillsFixed
URLSearchParams.prototype.deletepolyfill with duplicate key-value pairsFixed possible removal of unnecessary entries in
URLSearchParams.prototype.deletepolyfill with second argumentFixed an error in some cases of non-special URLs without a path in the
URLpolyfillFixed some percent encode cases / character sets in the
URLpolyfillFixed parsing of non-IPv4 hosts ends in a number in the
URLpolyfillFixed some cases of
''andnullhost handling in theURLpolyfillFixed host parsing with
hostname = host:portin theURLpolyfillFixed host inheritance in some cases of file scheme in the
URLpolyfillFixed block of protocol change for file with empty host in the
URLpolyfillFixed invalid code points handling in UTF-8 decode in the
URLSearchParamspolyfillFixed some cases of serialization in
URLpolyfill (/.prefix for non-special URLs withnullhost and path starting with empty segment)Fixed
URLpolyfill.origingetter withblobschemeFixed a lack of error in
URLSearchParams.prototype.setpolyfill on calling only with 1 argumentFixed handling invalid UTF-8 continuation bytes in
URLSearchParamspolyfillFixed incomplete sequences with out-of-range continuation bytes handling in
URLSearchParamspolyfillFixed allowing unexpected symbols in scheme in the
URLpolyfillFixed repeated
ToPropertyKeycalling inReflect.{ get, set, deleteProperty }polyfillsFixed
Reflect.setpolyfill with some descriptors casesFixed
Reflect.setpolyfill with some non-extensible receiver casesFixed the order of
Reflect.constructpolyfill arguments validation (observable only in the error message)Fixed a lack of error in
Reflect.definePropertypolyfill with malformed descriptorFixed a lack of error in
JSON.parsepolyfill on unterminated object and array literalsFixed a lack of error in
JSON.parsepolyfill on numbers with., but without a fraction partFixed a lack of error on
\u{}inString.dedentpolyfillFixed some cases of hex escaping in the end of string in
String.dedentpolyfillFixed
%AsyncFromSyncIteratorPrototype%to make it a little stricterFixed counter in some cases of some
AsyncIteratormethodsFixed order of async iterators closing
Fixed iterator closing in
AsyncIterator.prototype.flatMappolyfillFixed iterator closing in
AsyncIterator.prototype.mappolyfill on error in underlying iterator.next()Fixed iterator closing in
AsyncIterator.prototype.takepolyfill withreturn: nullFixed validation
.return()result as object inAsyncIterator.prototype.takepolyfillFixed a lack of error in
structuredClonepolyfill on attempt to transfer multiple objects, some of which are non-transferableFixed resizable
ArrayBuffertransferring wherenewByteLengthexceeds the originalmaxByteLengthFixed possible loss of symbol enumerability in
Object.definePropertyinSymbolpolyfillFixed return value of
Object.definePropertyinSymbolpolyfill in Android ~ 2Fixed order of
%TypedArray%.fromarguments validationFixed a lack of error on passing an
ArrayBufferand a negative length to the%TypedArray%andDataViewconstructors polyfillsFixed some cases of
@@toStringTagon%TypedArray%polyfillFixed some cases of
ToUint8ClampconversionFixed
NaNhandling inDate.prototype.setYearpolyfillFixed false positive on a
WeakMapvalidation in the pure versionFixed some minor
{ Map, Set }.prototype.forEachmoments in the pure versionFixed possible error in
Array.isTemplateObjectpolyfill on frozen arrayFixed semantics of
Observable.fromwith multiple subscriptions of the obsolete ECMAScriptObservableproposal polyfillFixed handling of ending zeroes in the fraction part in
Number.fromStringpolyfillFixed
esmodules: intersectoption ofcore-js-compatFixed a lack of
reactnativealias incore-js-compattypesFixed a minor logical bug in the debugging output of
core-js-builderFixed ignorance of the obsolete
blacklistoption ofcore-js-builder- it should be removed only in the next major releaseIn case of bugs in
String.prototype.{ match, matchAll, replace, split }in modern engines, adds,dandvflag support to polyfills of those methodsJust in case, added an extra input string validation to the polyfill of obsolete
Number.fromStringproposalSimplified
iOSdetectionMany minor stylistic fixes and optimizations
Compat data improvements:
Math.sumPrecisemarked as shipped in V8 ~ Chrome 147Iterator.concatmarked as shipped in V8 ~ Chrome 146Iterator.concatmarked as shipped in Safari 26.4Because of a bug,
Array.prototype.includesmarked as not supported in modern SafariFixed compat data for
parseIntandparseFloatAdded Electron 42 compat data mapping
Added Oculus Quest Browser 42 compat data mapping
3.48.0
21 Jan 2026Use
CreateDataProperty/CreateDataPropertyOrThrowin some missed cases, #1497Minor fix / optimization in the
RegExpconstructor (NCG anddotAll) polyfill
Built-ins:
Map.prototype.getOrInsertBuilt-ins:
Map.prototype.getOrInsertComputedBuilt-ins:
WeakMap.prototype.getOrInsertBuilt-ins:
WeakMap.prototype.getOrInsertComputedMoved to stable ES, January 2026 TC39 meeting
Added
es.namespace modules,/es/and/stable/namespaces entries
Use
CreateDataProperty/CreateDataPropertyOrThrowin some missed cases, #1497Minor fix / optimization in the
RegExpconstructor (NCG anddotAll) polyfillAdded some more workarounds for a Safari < 13 bug with silent ignore of non-writable array
.lengthAdded detection of a Webkit bug:
Iterator.prototype.flatMapthrows on iterator withoutreturnmethodAdded detection of a V8 ~ Chromium < 144 bug:
Uint8Array.prototype.setFromHexthrows an error on length-tracking views over ResizableArrayBufferCompat data improvements:
Mapupsert proposal features marked as shipped in V8 ~ Chrome 145Joint iteration proposal features marked as shipped in FF148
Iterator.concatmarked as shipped in Bun 1.3.7Added Rhino 1.9.0 compat data
Added Deno 2.6 compat data mapping
Added Electron 41 compat data mapping
Iterator.prototype.flatMapmarked as supported from Safari 26.2 and Bun 1.2.21 because of a bug: throws on iterator withoutreturnmethodUint8Array.prototype.setFromHexmarked as supported from V8 ~ Chromium 144 because of a bug: throws an error on length-tracking views over ResizableArrayBuffer
3.47.0
18 Nov 2025JSON.parsesource text access proposal:Built-ins:
JSON.isRawJSONBuilt-ins:
JSON.parseBuilt-ins:
JSON.rawJSONBuilt-ins:
JSON.stringifyMoved to stable ES, November 2025 TC39 meeting
Added
es.namespace modules,/es/and/stable/namespaces entriesReworked
JSON.stringifyinternals
Built-ins:
Iterator.concatMoved to stable ES, November 2025 TC39 meeting
Added
es.namespace modules,/es/and/stable/namespaces entries
Built-ins:
Iterator.zipBuilt-ins:
Iterator.zipKeyedMoved to stage 3, November 2025 TC39 meeting
Added
/actual/namespace entries, unconditional forced replacement changed to feature detection
Fixed increasing
.sizeinURLSearchParams.prototype.appendpolyfill in IE8-Compat data improvements:
Iterator.concatmarked as shipped in FF147Mapupsert proposal features marked as shipped in Safari 26.2Math.sumPrecisemarked as shipped in Safari 26.2Uint8Array.{ fromBase64, prototype.setFromBase64 }marked as fixed in Safari 26.2Missed Explicit Resource Management features added in Bun 1.3.0
Added Oculus Quest Browser 41 compat data mapping
Added Electron 40 compat data mapping
3.46.0
9 Oct 2025Fixed
Iterator.zipandIterator.zipKeyedbehavior withmode: 'longest'option, #1469, thanks @lionel-rowe
Built-ins:
Iterator.prototype.chunksBuilt-ins:
Iterator.prototype.windowsMoved to stage 2.7, September 2025 TC39 meeting
Iterator.prototype.slidingmethod replaced with an extra parameter ofIterator.prototype.windowsmethod, tc39/proposal-iterator-chunking/#24, tc39/proposal-iterator-chunking/#26
Fixed
Iterator.zipandIterator.zipKeyedbehavior withmode: 'longest'option, #1469, thanks @lionel-roweFixed work of
Object.groupByandIterator.zipKeyedtogether withSymbolpolyfill - some cases of symbol keys on resultnull-prototype object were able to leak out tofor-inCompat data improvements:
Mapupsert proposal features marked as shipped from FF144Added Node 25.0 compat data mapping
Added Deno 2.5 compat data mapping
Updated Electron 39 compat data mapping
Updated Opera 121+ compat data mapping
Added Opera Android 92 compat data mapping
Added Oculus Quest Browser 40 compat data mapping
3.45.1
20 Aug 2025Fixed a conflict of native methods from
Mapupsert proposal with polyfilled methods in the pure versionAdded
bugsfields topackage.jsonof all packagesCompat data improvements:
3.45.0
4 Aug 2025Uint8Arrayto / from base64 and hex proposal:Built-ins:
Uint8Array.fromBase64Built-ins:
Uint8Array.fromHexBuilt-ins:
Uint8Array.prototype.setFromBase64Built-ins:
Uint8Array.prototype.setFromHexBuilt-ins:
Uint8Array.prototype.toBase64Built-ins:
Uint8Array.prototype.toHexMoved to stable ES, July 2025 TC39 meeting
Added
es.namespace modules,/es/and/stable/namespaces entriesAdded detection of a Webkit bug:
Uint8ArrayfromBase64 / setFromBase64 does not throw an error on incorrect length of base64 string
Built-ins:
Math.sumPreciseMoved to stable ES, July 2025 TC39 meeting
Added
es.namespace module,/es/and/stable/namespaces entries
Built-ins:
Iterator.concatMoved to stage 3, July 2025 TC39 meeting
Added
/actual/namespace entries, unconditional forced replacement changed to feature detection
Built-ins:
Map.prototype.getOrInsertBuilt-ins:
Map.prototype.getOrInsertComputedBuilt-ins:
WeakMap.prototype.getOrInsertBuilt-ins:
WeakMap.prototype.getOrInsertComputedMoved to stage 3, July 2025 TC39 meeting
Added
/actual/namespace entries, unconditional forced replacement changed to feature detection
Added missing dependencies to some entries of static
IteratormethodsFixed Joint Iteration proposal in
/stage/entriesCompat data improvements:
Uint8Arrayto / from base64 and hex proposal features marked as supported from V8 ~ Chromium 140Uint8Array.{ fromBase64, prototype.setFromBase64 }marked as unsupported in Safari and supported only from Bun 1.2.20 because of a bug: it does not throw an error on incorrect length of base64 string%TypedArray%.prototype.withmarked as fixed in Safari 26.0Updated Electron 38 compat data mapping
Added Opera Android 91 compat data mapping
3.44.0
7 Jul 2025Uint8Arrayto / from base64 and hex stage 3 proposal:Fixed several V8 bugs in
Uint8Array.fromBase64andUint8Array.prototype.{ setFromBase64, toBase64, toHex }, thanks @brc-dd
Joint iteration stage 2.7 proposal:
Uses
GetinIterator.zipKeyed, following tc39/proposal-joint-iteration#43
Iteratorsequencing stage 2.7 proposal:Iterator.concatno longer reusesIteratorResultobject of concatenated iterators, following tc39/proposal-iterator-sequencing#26
Iteratorchunking stage 2 proposal:Added built-ins:
Iterator.prototype.sliding
Number.prototype.clampstage 2 proposal:clampno longer throws an error onNaNasminormax, following tc39/proposal-math-clamp#d2387791c265edf66fbe2455eab919016717ce6f
Fixed some cases of
Set.prototype.{ symmetricDifference, union }detectionAdded missing dependencies to some entries of static
IteratormethodsAdded missing
/full/{ instance, number/virtual }/clampentriesSome minor stylistic changes
Compat data improvements:
Added Electron 38 and 39 compat data mapping
Added Oculus Quest Browser 38 and 39 compat data mapping
Iteratorhelpers marked as fixed and updated following the latest spec changes in Safari 26.0Set.prototype.{ difference, symmetricDifference, union }marked as fixed in Safari 26.0SuppressedErrormarked as fixed in FF141Error.isErrormarked as fixed in Node 24.3setImmediateandclearImmediatemarked as available from Deno 2.4Math.sumPrecisemarked as shipped in Bun 1.2.18%TypedArray%.prototype.withmarked as fixed in Bun 1.2.18
3.43.0
9 Jun 2025Explicit Resource Management proposals:
Built-ins:
Symbol.disposeBuilt-ins:
Symbol.asyncDisposeBuilt-ins:
SuppressedErrorBuilt-ins:
DisposableStackDisposableStack.prototype.disposeDisposableStack.prototype.useDisposableStack.prototype.adoptDisposableStack.prototype.deferDisposableStack.prototype.moveDisposableStack.prototype[@@dispose]
Built-ins:
AsyncDisposableStackAsyncDisposableStack.prototype.disposeAsyncAsyncDisposableStack.prototype.useAsyncDisposableStack.prototype.adoptAsyncDisposableStack.prototype.deferAsyncDisposableStack.prototype.moveAsyncDisposableStack.prototype[@@asyncDispose]
Built-ins:
Iterator.prototype[@@dispose]Built-ins:
AsyncIterator.prototype[@@asyncDispose]Moved to stable ES, May 2025 TC39 meeting
Added
es.namespace module,/es/and/stable/namespaces entries
Built-ins:
Array.fromAsyncMoved to stable ES, May 2025 TC39 meeting
Added
es.namespace module,/es/and/stable/namespaces entries
Built-ins:
Error.isErrorMoved to stable ES, May 2025 TC39 meeting
Added
es.namespace module,/es/and/stable/namespaces entries
Added Joint iteration stage 2.7 proposal:
Added built-ins:
Iterator.zipIterator.zipKeyed
Added
Iteratorchunking stage 2 proposal:Added built-ins:
Iterator.prototype.chunksIterator.prototype.windows
Number.prototype.clampproposal:Built-ins:
Number.prototype.clampMoved to stage 2, May 2025 TC39 meeting
Math.clampwas replaced withNumber.prototype.clampRemoved a
RangeErrorifmin <= maxor+0min and-0max, tc39/proposal-math-clamp/#22
Always check regular expression flags by
flagsgetter PR. Native methods are not fixed, only own implementation updated for:RegExp.prototype[@@match]RegExp.prototype[@@replace]
Improved handling of
RegExpflags in polyfills of some methods in engines without proper support ofRegExp.prototype.flagsand without polyfill of this getterAdded feature detection for a WebKit bug that occurs when
thisis updated whileSet.prototype.differenceis being executedAdded feature detection for a WebKit bug that occurs when iterator record of a set-like object isn't called before cloning
thisin the following methods:Set.prototype.symmetricDifferenceSet.prototype.union
Added feature detection for a bug in V8 ~ Chromium < 126. Following methods should throw an error on invalid iterator:
Iterator.prototype.dropIterator.prototype.filterIterator.prototype.flatMapIterator.prototype.map
Added feature detection for a WebKit bug: incorrect exception thrown by
Iterator.fromwhen underlying iterator'sreturnmethod isnullAdded feature detection for a FF bug: incorrect exception thrown by
Array.prototype.withwhen index coercion failsAdded feature detection for a WebKit bug:
TypedArray.prototype.withshould truncate negative fractional index to zero, but instead throws an errorWorked around a bug of many different tools (example) with incorrect transforming and breaking JS syntax on getting a method from a number literal
Fixed deoptimization of the
Promisepolyfill in the pure versionAdded some missed dependencies to
/iterator/flat-mapentriesSome other minor fixes and improvements
Compat data improvements:
Added Deno 2.3 and Deno 2.3.2 compat data mapping
Updated Electron 37 compat data mapping
Added Opera Android 90 compat data mapping
Error.isErrormarked not supported in Node because of a bugSet.prototype.differencemarked as not supported in Safari and supported only from Bun 1.2.5 because of a bugSet.prototype.{ symmetricDifference, union }marked as not supported in Safari and supported only from Bun 1.2.5 because of a bugIterator.frommarked as not supported in Safari and supported only from Bun 1.2.5 because of a bugIterators closing on early errors in
Iteratorhelpers marked as implemented from FF141Array.prototype.withmarked as supported only from FF140 because it throws an incorrect exception when index coercion failsTypedArray.prototype.withmarked as unsupported in Bun and Safari because it should truncate negative fractional index to zero, but instead throws an errorDisposableStackandAsyncDisposableStackmarked as shipped in FF141 (SuppressedErrorhas a bug)AsyncDisposableStackbugs marked as fixed in Deno 2.3.2SuppressedErrorbugs (extra arguments support and arity) marked as fixed in Bun 1.2.15
3.42.0
29 Apr 2025Don't call well-known
Symbolmethods forRegExpon primitive values following tc39/ecma262#3009:Added workaround for the
Uint8Array.prototype.setFromBase64bug in some of Linux builds of WebKit
Moved to stage 2.7, April 2025 TC39 meeting
Validation order of
WeakMap.prototype.getOrInsertComputedupdated following tc39/proposal-upsert#79Built-ins:
Map.prototype.getOrInsertBuilt-ins:
Map.prototype.getOrInsertComputedBuilt-ins:
WeakMap.prototype.getOrInsertBuilt-ins:
WeakMap.prototype.getOrInsertComputed
Don't call well-known
Symbolmethods forRegExpon primitive values following tc39/ecma262#3009:For avoid performance regression, temporarily, only in own
core-jsimplementationsBuilt-ins:
String.prototype.matchAllBuilt-ins:
String.prototype.matchBuilt-ins:
String.prototype.replaceAllBuilt-ins:
String.prototype.replaceBuilt-ins:
String.prototype.searchBuilt-ins:
String.prototype.split
Added workaround for the
Uint8Array.prototype.setFromBase64bug in some of Linux builds of WebKitImplemented early-error iterator closing following tc39/ecma262#3467, including fix of a WebKit bug, in the following methods:
Iterator.prototype.dropIterator.prototype.everyIterator.prototype.filterIterator.prototype.findIterator.prototype.flatMapIterator.prototype.forEachIterator.prototype.mapIterator.prototype.reduceIterator.prototype.someIterator.prototype.take
Fixed missing forced replacement of
AsyncIteratorhelpersAdded closing of sync iterator when async wrapper yields a rejection following tc39/ecma262#2600. Affected methods:
Array.fromAsync(due to the lack of async feature detection capability - temporarily, only in owncore-jsimplementation)
Added detection for throwing on
undefinedinitial parameter inIterator.prototype.reduce(see WebKit bug)core-js-compatandcore-js-builderAPI:Added
'intersect'support fortargets.esmodules(Babel 7 behavior)Fixed handling of
targets.esmodules: true(Babel 7 behavior)
Compat data improvements:
Explicit Resource Management features disabled (again) in V8 ~ Chromium 135 and re-added in 136
RegExp.escapemarked as shipped from V8 ~ Chromium 136Error.isErrormarked as shipped from FF138Explicit Resource Management features re-enabled in Deno 2.2.10
Iteratorhelpers proposal features marked as supported from Deno 1.38.1 since it seems they were disabled in 1.38.0Iterator.prototype.{ drop, reduce, take }methods marked as fixed in Bun 1.2.11Added NodeJS 24.0 compat data mapping
Updated Electron 36 and added Electron 37 compat data mapping
Added Oculus Quest Browser 37 compat data mapping
3.41.0
1 Mar 2025Built-ins:
RegExp.escapeMoved to stable ES, February 2025 TC39 meeting
Added
es.namespace module,/es/and/stable/namespaces entries
Built-ins:
Math.f16roundBuilt-ins:
DataView.prototype.getFloat16Built-ins:
DataView.prototype.setFloat16Moved to stable ES, February 2025 TC39 meeting
Added
es.namespace modules,/es/and/stable/namespaces entries
Built-ins:
Math.clampExtracted from old
Mathextensions proposal, February 2025 TC39 meetingAdded arguments validation
Added new entries
Added a workaround of a V8
AsyncDisposableStackbug, tc39/proposal-explicit-resource-management/256Compat data improvements:
DisposableStack,SuppressedErrorandIterator.prototype[@@dispose]marked as shipped from V8 ~ Chromium 134Error.isErroradded and marked as shipped from V8 ~ Chromium 134Math.f16roundandDataView.prototype.{ getFloat16, setFloat16 }marked as shipped from V8 ~ Chromium 135Iteratorhelpers proposal features marked as shipped from Safari 18.4JSON.parsesource text access proposal features marked as shipped from Safari 18.4Math.sumPrecisemarked as shipped from FF137Added Deno 2.2 compat data and compat data mapping
Explicit Resource Management features are available in V8 ~ Chromium 134, but not in Deno 2.2 based on it
Updated Electron 35 and added Electron 36 compat data mapping
Updated Opera Android 87 compat data mapping
Added Samsung Internet 28 compat data mapping
Added Oculus Quest Browser 36 compat data mapping
3.40.0
7 Jan 2025Added
Error.isErrorstage 3 proposal:Added built-ins:
Error.isError
We have no bulletproof way to polyfill this method / check if the object is an error, so it's a rather naive implementation that is marked as
.sham
Explicit Resource Management stage 3 proposal:
Updated the way async disposing of only sync disposable resources, tc39/proposal-explicit-resource-management/218
Iteratorsequencing stage 2.7 proposal:Reuse
IteratorResultobjects when possible, tc39/proposal-iterator-sequencing/17, tc39/proposal-iterator-sequencing/18, December 2024 TC39 meeting
Added a fix of V8 < 12.8 / NodeJS < 22.10 bug with handling infinite length of set-like objects in
SetmethodsOptimized
DataView.prototype.{ getFloat16, setFloat16 }performance, #1379, thanks @LeviPesinDropped unneeded feature detection of non-standard
%TypedArray%.prototype.toSplicedDropped possible re-usage of some non-standard / early stage features (like
Math.scale) available on globalSome other minor improvements
Compat data improvements:
RegExp.escapemarked as shipped from Safari 18.2Promise.trymarked as shipped from Safari 18.2Math.f16roundandDataView.prototype.{ getFloat16, setFloat16 }marked as shipped from Safari 18.2Uint8Arrayto / from base64 and hex proposal methods marked as shipped from Safari 18.2JSON.parsesource text access proposal features marked as shipped from FF135RegExp.escapemarked as shipped from FF134Promise.trymarked as shipped from FF134Symbol.dispose,Symbol.asyncDisposeandIterator.prototype[@@dispose]marked as shipped from FF135JSON.parsesource text access proposal features marked as shipped from Bun 1.1.43Fixed NodeJS version where
URL.parsewas added - 22.1 instead of 22.0Added Deno 2.1 compat data mapping
Added Rhino 1.8.0 compat data with significant number of modern features
Added Electron 35 compat data mapping
Updated Opera 115+ compat data mapping
Added Opera Android 86 and 87 compat data mapping
3.39.0
31 Oct 2024Built-ins:
IteratorIterator.fromIterator.prototype.dropIterator.prototype.everyIterator.prototype.filterIterator.prototype.findIterator.prototype.flatMapIterator.prototype.forEachIterator.prototype.mapIterator.prototype.reduceIterator.prototype.someIterator.prototype.takeIterator.prototype.toArrayIterator.prototype[@@toStringTag]
Moved to stable ES, October 2024 TC39 meeting
Added
es.namespace modules,/es/and/stable/namespaces entries
Built-ins:
Promise.tryMoved to stable ES, October 2024 TC39 meeting
Added
es.namespace module,/es/and/stable/namespaces entriesFixed
/actual|full/promise/tryentries for the callback arguments support
Built-ins:
Math.sumPreciseMoved to stage 3, October 2024 TC39 meeting
Added
/actual/namespace entries, unconditional forced replacement changed to feature detection
Added
Iteratorsequencing stage 2.7 proposal:Added built-ins:
Iterator.concat
Updated to the new API following the October 2024 TC39 meeting
Added built-ins:
Map.prototype.getOrInsertMap.prototype.getOrInsertComputedWeakMap.prototype.getOrInsertWeakMap.prototype.getOrInsertComputed
Extractors proposal moved to stage 2, October 2024 TC39 meeting
Usage of
@@speciespattern removed from%TypedArray%andArrayBuffermethods, tc39/ecma262/3450:Built-ins:
%TypedArray%.prototype.filterBuilt-ins:
%TypedArray%.prototype.filterRejectBuilt-ins:
%TypedArray%.prototype.mapBuilt-ins:
%TypedArray%.prototype.sliceBuilt-ins:
%TypedArray%.prototype.subarrayBuilt-ins:
ArrayBuffer.prototype.slice
Some other minor improvements
Compat data improvements:
Uint8Arrayto / from base64 and hex proposal methods marked as shipped from FF133Added NodeJS 23.0 compat data mapping
selfdescriptor is fixed in Deno 1.46.0Iteratorhelpers proposal methods marked as shipped from Bun 1.1.31Added Electron 34 and updated Electron 33 compat data mapping
Added Opera Android 85 compat data mapping
Added Oculus Quest Browser 35 compat data mapping
3.38.1
20 Aug 2024Fixed some cases of
URLSearchParamspercent decoding, #1357, #1361, thanks @slowcheetahSome stylistic changes and minor optimizations
Compat data improvements:
3.38.0
4 Aug 2024Built-ins:
RegExp.escapeUpdated the way of escaping, regex-escaping/77
Throw an error on non-strings, regex-escaping/58
Added
/actual/namespace entries, unconditional forced replacement changed to feature detection
Built-ins:
Promise.tryMoved to stage 3, June 2024 TC39 meeting
Added
/actual/namespace entries, unconditional forced replacement changed to feature detection
Uint8Arrayto / from base64 and hex stage 3 proposal:Built-ins:
Uint8Array.fromBase64Built-ins:
Uint8Array.fromHexBuilt-ins:
Uint8Array.prototype.setFromBase64Built-ins:
Uint8Array.prototype.setFromHexBuilt-ins:
Uint8Array.prototype.toBase64Built-ins:
Uint8Array.prototype.toHexAdded
Uint8Array.prototype.{ setFromBase64, setFromHex }methodsAdded
Uint8Array.fromBase64andUint8Array.prototype.setFromBase64lastChunkHandlingoption, proposal-arraybuffer-base64/33Added
Uint8Array.prototype.toBase64omitPaddingoption, proposal-arraybuffer-base64/60Added throwing a
TypeErroron arrays backed by detached buffersUnconditional forced replacement changed to feature detection
Fixed
RegExpnamed capture groups polyfill in combination with non-capturing groups, #1352, thanks @UlopImproved some cases of environment detection
Uses
process.getBuiltinModulefor getting built-in NodeJS modules where it's availableUses
httpsinstead ofhttpinURLconstructor feature detection to avoid extra notifications from some overly vigilant security scanners, #1345Some minor optimizations
Updated
browserslistincore-js-compatdependencies that fixes an upstream issue with incorrect interpretation of somebrowserslistqueries, #1344, browserslist/829, browserslist/836Compat data improvements:
Added Safari 18.0 compat data:
Fixed
Object.groupByandMap.groupByto work for non-objectsFixed throwing a
RangeErrorifSetmethods are called on an object with negative size propertyFixed
Set.prototype.symmetricDifferenceto callthis.hasin each iterationFixed
Array.fromAsyncto not call theArrayconstructor twiceAdded
URL.parse
Math.f16roundandDataView.prototype.{ getFloat16, setFloat16 }marked as shipped from FF129Symbol.asyncDisposeadded and marked as supported from V8 ~ Chromium 127Promise.tryadded and marked as supported from V8 ~ Chromium 128selfdescriptor is broken in Deno 1.45.3 (again)Added Electron 32 and 33 compat data mapping
Added Opera Android 83 compat data mapping
Added Samsung Internet 27 compat data mapping
Added Oculus Quest Browser 34 compat data mapping
3.37.0
16 Apr 2024Built-ins:
Set.prototype.intersectionBuilt-ins:
Set.prototype.unionBuilt-ins:
Set.prototype.differenceBuilt-ins:
Set.prototype.symmetricDifferenceBuilt-ins:
Set.prototype.isSubsetOfBuilt-ins:
Set.prototype.isSupersetOfBuilt-ins:
Set.prototype.isDisjointFromMoved to stable ES, April 2024 TC39 meeting
Added
es.namespace modules,/es/and/stable/namespaces entries
Explicit Resource Management stage 3 proposal:
Some minor updates like explicit-resource-management/217
Added
Math.sumPrecisestage 2.7 proposal:Built-ins:
Math.sumPrecise
Built-ins:
Promise.tryAdded optional arguments support, promise-try/16
Moved to stage 2.7, April 2024 TC39 meeting
RegExp.escapestage 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
Pattern matching stage 1 proposal:
Built-ins:
Symbol.customMatcherOnce again, the used well-known symbol was renamed
Added new entries for that
Added Extractors stage 1 proposal:
Built-ins:
Symbol.customMatcherSince the
Symbol.customMatcherwell-known symbol from the pattern matching proposal is also used in the exactors proposal, added an entry also for this proposal
Engines bugs fixes:
Compat data improvements:
URL.parseadded and marked as supported from FF 126URL.parseadded and marked as supported from Bun 1.1.4URL.canParsefixed and marked as supported from Bun 1.1.0New
Setmethods fixed in JavaScriptCore and marked as supported from Bun 1.1.1Added Opera Android 82 compat data mapping
3.36.1
19 Mar 2024Fixed some validation cases in
Object.setPrototypeOf, #1329, thanks @stonechoeFixed the order of validations in
Array.from, #1331, thanks @stonechoeAdded a fix of Bun
queueMicrotaskarity
Fixed some validation cases in
Object.setPrototypeOf, #1329, thanks @stonechoeFixed the order of validations in
Array.from, #1331, thanks @stonechoeAdded a fix of Bun
queueMicrotaskarityAdded a fix of Bun
URL.canParsearityAdded a fix of Bun
SuppressedErrorextra arguments support and arityCompat data improvements:
valueargument ofURLSearchParams.prototype.{ has, delete }marked as supported from Bun 1.0.31Added React Native 0.74 Hermes compat data,
Array.prototype.{ toSpliced, toReversed, with }andatobmarked as supportedAdded Deno 1.41.3 compat data mapping
Added Opera Android 81 compat data mapping
Added Samsung Internet 25 compat data mapping
Added Oculus Quest Browser 32 compat data mapping
Updated Electron 30 compat data mapping
3.36.0
14 Feb 2024- Removed
Dropped context workaround from collection static methods entries since with current methods semantic it's no longer required
ArrayBuffer.prototype.transferand friends proposal:Built-ins:
ArrayBuffer.prototype.detachedBuilt-ins:
ArrayBuffer.prototype.transferBuilt-ins:
ArrayBuffer.prototype.transferToFixedLengthMoved to stable ES, February 2024 TC39 meeting
Added
es.namespace modules,/es/and/stable/namespaces entries
Uint8Arrayto / from base64 and hex proposal:Methods:
Uint8Array.fromBase64Methods:
Uint8Array.fromHexMethods:
Uint8Array.prototype.toBase64Methods:
Uint8Array.prototype.toHexMoved to stage 3, February 2024 TC39 meeting
Added
/actual/namespace entriesSkipped adding new methods of writing to existing arrays to clarification some moments
Promise.tryproposal has been resurrected and moved to stage 2, February 2024 TC39 meetingAdded an entry point for the new TC39 proposals stage -
core-js/stage/2.7- still emptyFixed regression in
Set.prototype.intersectionfeature detectionFixed a missed check in
Array.prototype.{ indexOf, lastIndexOf, includes }, #1325, thanks @stonechoeFixed a missed check in
Array.prototype.{ reduce, reduceRight }, #1327, thanks @stonechoeFixed
Array.fromand some other methods with proxy targets, #1322, thanks @stonechoeFixed dependencies loading for modules from
ArrayBuffer.prototype.transferand friends proposal in some specific cases in IE10-- Removed
Dropped context workaround from collection static methods entries since with current methods semantic it's no longer required
Added instance methods polyfills to entries of collections static methods that produce collection instances
Added missed
Date.prototype.toJSONtoJSON.stringifyentries dependenciesAdded debugging info in some missed cases
Compat data improvements:
{ Map, Object }.groupBy,Promise.withResolvers,ArrayBuffer.prototype.transferand friends marked as supported from Safari 17.4New
Setmethods fixed and marked as supported from V8 ~ Chrome 123Added Deno 1.40 compat data mapping
Symbol.metadatamarked as supported from Deno 1.40.4Updated Electron 30 compat data mapping
3.35.1
20 Jan 2024Fixed internal
ToLengthoperation with bigints, #1318Removed significant redundant code from
String.prototype.splitpolyfillFixed setting names of methods with symbol keys in some old engines
Fixed internal
ToLengthoperation with bigints, #1318Removed significant redundant code from
String.prototype.splitpolyfillFixed setting names of methods with symbol keys in some old engines
Minor fix of prototype methods export logic in the pure version
Compat data improvements:
Iteratorhelpers proposal methods marked as supported from V8 ~ Chrome 122Note that V8 ~ Chrome 122 add
Setmethods, but they have a bug similar to Safariselfmarked as fixed from Bun 1.0.22SuppressedErrorandSymbol.{ dispose, asyncDispose }marked as supported from Bun 1.0.23Added Oculus Quest Browser 31 compat data mapping
Updated Electron 29 and added Electron 30 compat data mapping
3.35.0
28 Dec 2023{ Map, Set, WeakMap, WeakSet }.{ from, of }became non-generic, following this and some other notes. Now they can be invoked withoutthis, but no longer return subclass instancesFixed handling some cases of non-enumerable symbol keys from
SymbolpolyfillRemoved unneeded NodeJS domains-related logic from
queueMicrotaskpolyfill
{ Map, Set, WeakMap, WeakSet }.{ from, of }became non-generic, following this and some other notes. Now they can be invoked withoutthis, but no longer return subclass instancesFixed handling some cases of non-enumerable symbol keys from
SymbolpolyfillRemoved unneeded NodeJS domains-related logic from
queueMicrotaskpolyfillFixed subclassing of wrapped
ArrayBufferRefactoring, many different minor optimizations
Compat data improvements:
It seems that the ancient
Array.prototype.pushbug is fixed in V8 ~ Chrome 122 (Hallelujah!)ArrayBuffer.prototype.transferand friends proposal features marked as supported from FF 122 and Bun 1.0.19Object.groupByandMap.groupBymarked as supported from Bun 1.0.19Since
Iteratorhelpers proposal methods are still not disabled in Deno, the web compatibility issue why it was disabled in Chromium makes no sense for Deno and fixed in the spec, they marked as supported from Deno 1.37Added Opera Android 80 and updated Opera Android 79 compat data mapping
Added Samsung Internet 24 compat data mapping
3.34.0
5 Dec 2023Fixed a web incompatibility issue of
Iteratorhelpers proposal, proposal-iterator-helpers/287 and some following changes, November 2023 TC39 meeting
Methods:
Object.groupByMethods:
Map.groupByMoved to stable ES, November 2023 TC39 meeting
Added
es.namespace modules,/es/and/stable/namespaces entries
Promise.withResolversproposal:Method:
Promise.withResolversMoved to stable ES, November 2023 TC39 meeting
Added
es.namespace module,/es/and/stable/namespaces entries
Fixed a web incompatibility issue of
Iteratorhelpers proposal, proposal-iterator-helpers/287 and some following changes, November 2023 TC39 meetingAdded
Uint8Arrayto / from base64 and hex stage 2 proposal:Methods:
Uint8Array.fromBase64Methods:
Uint8Array.fromHexMethods:
Uint8Array.prototype.toBase64Methods:
Uint8Array.prototype.toHex
Relaxed some specific cases of
Number.fromStringvalidation before clarification of proposal-number-fromstring/24Fixed
@@toStringTagproperty descriptors on DOM collections, #1312Fixed the order of arguments validation in
Arrayiteration methods, #1313Some minor
atob/btoaimprovementsCompat data improvements:
Promise.withResolversmarked as shipped from FF121
3.33.3
19 Nov 2023Fixed an issue getting the global object on Duktape, #1303
Avoid sharing internal
[[DedentMap]]fromString.dedentproposal betweencore-jsinstances before stabilization of the proposalSome internal untangling
Fixed an issue getting the global object on Duktape, #1303
Avoid sharing internal
[[DedentMap]]fromString.dedentproposal betweencore-jsinstances before stabilization of the proposalSome internal untangling
Compat data improvements:
Added Deno 1.38 compat data mapping
Array.fromAsyncmarked as supported from Deno 1.38Symbol.{ dispose, asyncDispose }marked as supported from Deno 1.38Added Opera Android 79 compat data mapping
Added Oculus Quest Browser 30 compat data mapping
Updated Electron 28 and 29 compat data mapping
3.33.2
30 Oct 2023Simplified
structuredClonepolyfill, avoided second tree pass in cases of transferringAdded support of
SuppressedErrortostructuredClonepolyfillRemoved unspecified unnecessary
ArrayBufferandDataViewdependencies ofstructuredClonelack of which could cause errors in some entries in IE10-
Simplified
structuredClonepolyfill, avoided second tree pass in cases of transferringAdded support of
SuppressedErrortostructuredClonepolyfillRemoved unspecified unnecessary
ArrayBufferandDataViewdependencies ofstructuredClonelack of which could cause errors in some entries in IE10-Fixed handling of fractional number part in
Number.fromStringCompat data improvements:
URL.canParsemarked as supported from Chromium 120Updated Opera Android 78 compat data mapping
Added Electron 29 compat data mapping
3.33.1
20 Oct 2023Added one more workaround of possible error with
Symbolpolyfill on global object, #1289Directly specified
type: commonjsinpackage.jsonof all packages to avoid potential breakage in future Node versions, see this issuePrevented potential issue with lack of some dependencies after automatic optimization polyfills of some methods in the pure version
Added one more workaround of possible error with
Symbolpolyfill on global object, #1289Directly specified
type: commonjsinpackage.jsonof all packages to avoid potential breakage in future Node versions, see this issuePrevented potential issue with lack of some dependencies after automatic optimization polyfills of some methods in the pure version
Some minor internal fixes and optimizations
Compat data improvements:
String.prototype.{ isWellFormed, toWellFormed }marked as supported from FF119Added React Native 0.73 Hermes compat data, mainly fixes of some issues
3.33.0
1 Oct 2023Re-introduced
RegExpescaping stage 2 proposal, September 2023 TC39 meeting:Added
ArrayBuffer.prototype.{ transfer, transferToFixedLength }and support transferring ofArrayBuffers viastructuredCloneto engines withMessageChannelOptimized
Math.f16roundpolyfill
Re-introduced
RegExpescaping stage 2 proposal, September 2023 TC39 meeting:Added
RegExp.escapemethod with the new set of symbols for escapingSome years ago, it was presented in
core-js, but it was removed after rejecting the old version of this proposal
Added
ArrayBuffer.prototype.{ transfer, transferToFixedLength }and support transferring ofArrayBuffers viastructuredCloneto engines withMessageChannelOptimized
Math.f16roundpolyfillFixed some conversion cases of
Math.f16roundandDataView.prototype.{ getFloat16, setFloat16 }Fully forced polyfilling of the TC39
Observableproposal because of incompatibility with the new WHATWGObservableproposalAdded an extra workaround of errors with exotic environment objects in
Symbolpolyfill, #1289Some minor fixes and stylistic changes
Compat data improvements:
V8 unshipped
Iteratorhelpers because of some Web compatibility issuesPromise.withResolversmarked as supported from V8 ~ Chrome 119Arraygrouping proposal features marked as supported from FF119valueargument ofURLSearchParams.prototype.{ has, delete }marked as properly supported from V8 ~ Chrome 118URL.canParseandURLSearchParams.prototype.sizemarked as supported from Bun 1.0.2Added Deno 1.37 compat data mapping
Added Electron 28 compat data mapping
Added Opera Android 78 compat data mapping
3.32.1
18 Aug 2023Fixed some cases of IEEE754 rounding, #1279, thanks @petamoriken
Prevented injection
processpolyfill tocore-jsvia some bundlers oresm.sh, #1277Some minor fixes and stylistic changes
Fixed some cases of IEEE754 rounding, #1279, thanks @petamoriken
Prevented injection
processpolyfill tocore-jsvia some bundlers oresm.sh, #1277Some minor fixes and stylistic changes
Compat data improvements:
Promise.withResolversmarked as supported from Bun 0.7.1Added Opera Android 77 compat data mapping
Updated Electron 27 compat data mapping
3.32.0
27 Jul 2023Arraygrouping proposal, July 2023 TC39 meeting updates:Promise.withResolversproposal, July 2023 TC39 meeting updates:Setmethods stage 3 proposal, July 2023 TC39 meeting updates:
Arraygrouping proposal, July 2023 TC39 meeting updates:Added
/actual/namespaces entries, unconditional forced replacement changed to feature detection
Promise.withResolversproposal, July 2023 TC39 meeting updates:Added
/actual/namespaces entries, unconditional forced replacement changed to feature detection
Setmethods stage 3 proposal, July 2023 TC39 meeting updates:Throw on negative
Setsizes, proposal-set-methods/88Removed
IsCallablecheck inGetKeysIterator, proposal-set-methods/101
Iterator Helpers stage 3 proposal:
Avoid creating observable
Stringwrapper objects, July 2023 TC39 meeting update, proposal-iterator-helpers/281Iteratoris not constructible from the active function object (works as an abstract class)
Async explicit resource management:
Moved back into the initial proposal -> moved to stage 3, proposal-explicit-resource-management/154
Added
/actual/namespace entries, unconditional forced replacement changed to feature detectionIgnore return value of
[@@dispose]()method when hint isasync-dispose, proposal-explicit-resource-management/180Added ticks for empty resources, proposal-explicit-resource-management/163
Added some methods from
Float16Arraystage 3 proposal:There are some reason why I don't want to add
Float16Arrayright now, however, make sense to add some methods from this proposal.Methods:
Math.f16roundMethods:
DataView.prototype.getFloat16Methods:
DataView.prototype.setFloat16
Added
DataViewget / setUint8Clampedmethods stage 1 proposal:Methods:
DataView.prototype.getUint8ClampedMethods:
DataView.prototype.setUint8Clamped
Used strict mode in some missed cases, #1269
Fixed a Chromium 117 bug in
valueargument ofURLSearchParams.prototype.{ has, delete }Fixed early WebKit ~ Safari 17.0 beta
Setmethods implementation by the actual specFixed incorrect
Symbol.{ dispose, asyncDispose }descriptors from NodeJS 20.4 / transpilers helpers / userland codeFixed forced polyfilling of some iterator helpers that should return wrapped iterator in the pure version
Fixed and exposed
AsyncIteratorPrototypecore-js/configuratoroption, #1268Compat data improvements:
Sync
Iteratorhelpers proposal features marked as supported from V8 ~ Chrome 117Arraygrouping proposal features marked as supported from V8 ~ Chrome 117Mark
Symbol.{ dispose, asyncDispose }as supported from NodeJS 20.5.0 (as mentioned above, NodeJS 20.4.0 add it, but with incorrect descriptors)Added Electron 27 compat data mapping
3.31.1
6 Jul 2023Fixed a
structuredClonebug with cloning views of transferred buffers, #1265Fixed the order of arguments validation in
DataViewmethodsAllowed cloning of
Float16ArrayinstructuredClone
Fixed a
structuredClonebug with cloning views of transferred buffers, #1265Fixed the order of arguments validation in
DataViewmethodsAllowed cloning of
Float16ArrayinstructuredCloneCompat data improvements:
New
URLfeatures:URL.canParse,URLSearchParams.prototype.sizeandvalueargument ofURLSearchParams.prototype.{ has, delete }marked as supported from Safari 17.0valueargument ofURLSearchParams.prototype.{ has, delete }marked as supported from Deno 1.35AggregateErrorand well-formedJSON.stringifymarked as supported React Native 0.72 HermesAdded Deno 1.35 compat data mapping
Added Quest Browser 28 compat data mapping
Added missing NodeJS 12.16-12.22 compat data mapping
Updated Opera Android 76 compat data mapping
3.31.0
11 Jun 2023Well-formed Unicode strings proposal:
Methods:
String.prototype.isWellFormedmethodMethods:
String.prototype.toWellFormedmethodMoved to stable ES, May 2023 TC39 meeting
Added
es.namespace modules,/es/and/stable/namespaces entries
Arraygrouping proposal, May 2023 TC39 meeting updates:Because of the web compat issue, moved from prototype to static methods. Added:
Object.groupBymethodMap.groupBymethod (with the actual semantic - with a minor difference it was present in the collections methods stage 1 proposal)
Demoted to stage 2
Decorator Metadata proposal, May 2023 TC39 meeting updates:
Moved to stage 3
Added
Function.prototype[Symbol.metadata](=== null)Added
/actual/entries
Iterator Helpers stage 3 proposal:
Changed
Symbol.iteratorfallback from callable check toundefined/nullcheck, May 2023 TC39 meeting, proposal-iterator-helpers/272Removed
IsCallablecheck onNextMethod, deferring errors toCallsite, May 2023 TC39 meeting, proposal-iterator-helpers/274
Added
Promise.withResolversstage 2 proposal:Promise.withResolversmethod
Symbolpredicates stage 2 proposal:The methods renamed to end with
Symbol, May 2023 TC39 meeting:Symbol.isRegistered->Symbol.isRegisteredSymbolmethodSymbol.isWellKnown->Symbol.isWellKnownSymbolmethod
Added
valueargument ofURLSearchParams.prototype.{ has, delete }, url/735Fixed some cases of increasing buffer size in
ArrayBuffer.prototype.{ transfer, transferToFixedLength }polyfillsFixed awaiting async
AsyncDisposableStack.prototype.adoptcallback, #1258Fixed
URLSearchParams#sizein ES3 engines (IE8-)Added a workaround in
Object.{ entries, values }for some IE versions bug with invisible integer keys onnull-prototype objectsAdded TypeScript definitions to
core-js-compat, #1235, thanks @susnuxCompat data improvements:
Set.prototype.differencethat was missed in Bun because of a bug added in 0.6.0Array.prototype.{ group, groupToMap }marked as no longer supported in WebKit runtimes because of the mentioned above web compat issue. For example, it's disabled from Bun 0.6.2Methods from the change
Arrayby copy proposal marked as supported from FF115Array.fromAsyncmarked as supported from FF115URL.canParsemarked as supported from FF115valueargument ofURLSearchParams.prototype.{ has, delete }marked as supported from NodeJS 20.2.0 and FF115Added Deno 1.34 compat data mapping
Added Electron 26 compat data mapping
Added Samsung Internet 22 compat data mapping
Added Opera Android 75 and 76 compat data mapping
Added Quest Browser 27 compat data mapping
3.30.2
6 May 2023Added a fix for a NodeJS 20.0.0 bug with cloning
FileviastructuredCloneAdded protection from Terser unsafe
Stringoptimization, #1242Added a workaround for getting proper global object in Figma plugins, #1231
Added a fix for a NodeJS 20.0.0 bug with cloning
FileviastructuredCloneAdded protection from Terser unsafe
Stringoptimization, #1242Added a workaround for getting proper global object in Figma plugins, #1231
Compat data improvements:
Added NodeJS 20.0 compat data mapping
Added Deno 1.33 compat data mapping
URL.canParsemarked as supported (fixed) from NodeJS 20.1.0 and Deno 1.33.2
3.30.0
3 Apr 2023Added
URL.canParsemethod, url/763
Added
URL.canParsemethod, url/763Removed sort from
Set.prototype.intersection, March 2023 TC39 meeting, proposal-set-methods/94
Iterator Helpers proposals (sync, async):
Validate arguments before opening iterator, March 2023 TC39 meeting, proposal-iterator-helpers/265
Explicit Resource Management proposals (sync, async):
(Async)DisposableStack.prototype.movemarks the original stack as disposed, #1226Some simplifications like proposal-explicit-resource-management/150
Moved to Stage 2, March 2023 TC39 meeting
Returned to usage
Symbol.metadata, March 2023 TC39 meeting, proposal-decorator-metadata/12
Compat data improvements:
URLSearchParams.prototype.sizemarked as supported from FF112, NodeJS 19.8 and Deno 1.32Added Safari 16.4 compat data
Added Deno 1.32 compat data mapping
Added Electron 25 and updated 24 compat data mapping
Added Samsung Internet 21 compat data mapping
Added Quest Browser 26 compat data mapping
Updated Opera Android 74 compat data
3.29.1
13 Mar 2023Fixed dependencies of some entries
Fixed
ToStringconversion / built-ins nature of some accessorsString.prototype.{ isWellFormed, toWellFormed }marked as supported from V8 ~ Chrome 111
Fixed dependencies of some entries
Fixed
ToStringconversion / built-ins nature of some accessorsString.prototype.{ isWellFormed, toWellFormed }marked as supported from V8 ~ Chrome 111Added Opera Android 74 compat data mapping
3.29.0
26 Feb 2023Added
URLSearchParams.prototype.sizegetter, url/734Allowed cloning resizable
ArrayBuffers in thestructuredClonepolyfillFixed wrong export in
/(stable|actual|full)/instance/unshiftentries, #1207
Added
URLSearchParams.prototype.sizegetter, url/734Allowed cloning resizable
ArrayBuffers in thestructuredClonepolyfillFixed wrong export in
/(stable|actual|full)/instance/unshiftentries, #1207Compat data improvements:
Setmethods proposal marked as supported from Bun 0.5.7String.prototype.toWellFormedmarked as fixed from Bun 0.5.7Added Deno 1.31 compat data mapping
3.28.0
13 Feb 2023- Security
Fixed theoretically possible ReDoS vulnerabilities in
String.prototype.{ trim, trimEnd, trimRight },parse(Int|Float),Number,atob, andURLpolyfills in some ancient engines
Change
Arrayby copy proposal:Methods:
Array.prototype.toReversedMethods:
Array.prototype.toSortedMethods:
Array.prototype.toSplicedMethods:
Array.prototype.withMethods:
%TypedArray%.prototype.toReversedMethods:
%TypedArray%.prototype.toSortedMethods:
%TypedArray%.prototype.withMoved to stable ES, January 2023 TC39 meeting
Added
es.namespace modules,/es/and/stable/namespaces entries
Added
JSON.parsesource text access Stage 3 proposalMethods:
JSON.parsepatched to supportsourceinreviverfunction argumentsMethods:
JSON.rawJSONMethods:
JSON.isRawJSONMethods:
JSON.stringifypatched to supportJSON.rawJSON
Added
ArrayBuffer.prototype.transferand friends Stage 3 proposal:Built-ins:
ArrayBuffer.prototype.detachedBuilt-ins:
ArrayBuffer.prototype.transfer(only in runtimes with nativestructuredClonewithArrayBuffertransfer support)Built-ins:
ArrayBuffer.prototype.transferToFixedLength(only in runtimes with nativestructuredClonewithArrayBuffertransfer support)In backwards, in runtimes with native
ArrayBuffer.prototype.transfer, but without properstructuredClone, addedArrayBuffertransfer support tostructuredClonepolyfill
Iterator Helpers proposal:
Split into 2 (sync and async) proposals, async version moved back to Stage 2, January 2023 TC39 meeting
Allowed interleaved mapping in
AsyncIteratorhelpers, proposal-iterator-helpers/262
Explicit Resource Management Stage 3 and Async Explicit Resource Management Stage 2 proposals:
InstallErrorCauseremoved fromSuppressedError, January 2023 TC39 meeting, proposal-explicit-resource-management/145Simplified internal behavior of
{ AsyncDisposableStack, DisposableStack }.prototype.use, proposal-explicit-resource-management/143
Added
Symbolpredicates Stage 2 proposalMethods:
Symbol.isRegisteredMethods:
Symbol.isWellKnown
Number.rangeStage 1 proposal and method renamed toIterator.rangeFunction.prototype.unThisStage 0 proposal and method renamed toFunction.prototype.demethodizeFixed Safari
String.prototype.toWellFormedToStringconversion bugImproved some cases handling of array-replacer in
JSON.stringifysymbols handling fixFixed many other old
JSON.{ parse, stringify }bugs (numbers instead of strings as keys in replacer, handling negative zeroes, spaces, some more handling symbols cases, etc.)Fixed configurability and
ToStringconversion of some accessorsAdded throwing proper errors on an incorrect context in some
ArrayBufferandDataViewmethodsSome minor
DataViewand%TypedArray%polyfills optimizationsAdded proper error on the excess number of trailing
=in theatobpolyfill- Security
Fixed theoretically possible ReDoS vulnerabilities in
String.prototype.{ trim, trimEnd, trimRight },parse(Int|Float),Number,atob, andURLpolyfills in some ancient engines Compat data improvements:
RegExp.prototype.flagsmarked as fixed from V8 ~ Chrome 111Added Opera Android 73 compat data mapping
Added TypeScript definitions to
core-js-builder
3.27.2
18 Jan 2023Setmethods proposal updates:Added one more workaround of a
webpackdev server bug on IE global methods, #1161Fixed possible
String.{ raw, cooked }error with empty template array
Setmethods proposal updates:Closing of iterators of
Set-like objects on early exit, proposal-set-methods/85Some other minor internal changes
Added one more workaround of a
webpackdev server bug on IE global methods, #1161Fixed possible
String.{ raw, cooked }error with empty template arrayUsed non-standard V8
Error.captureStackTraceinstead of stack parsing in new error classes / wrappers where it's possibleAdded detection correctness of iteration to
Promise.{ allSettled, any }feature detection, Hermes issueCompat data improvements:
Change
Arrayby copy proposal marked as supported from V8 ~ Chrome 110Added Samsung Internet 20 compat data mapping
Added Quest Browser 25 compat data mapping
Added React Native 0.71 Hermes compat data
Added Electron 23 and 24 compat data mapping
selfmarked as fixed in Deno 1.29.3, deno/17362
Minor tweaks of minification settings for
core-js-bundleRefactoring, some minor fixes, improvements, optimizations
3.27.1
29 Dec 2022Fixed a Chakra-based MS Edge (18-) bug that unfreeze (O_o) frozen arrays used as
WeakMapkeysFixing of the previous bug also fixes some cases of
String.dedentin MS EdgeFixed dependencies of some entries
3.27.0
25 Dec 2022- Removed
Removed some generic behavior (like
@@speciespattern) of some.prototypemethods from the new collections methods proposal and theArraydeduplication proposal that most likely will not be implemented since it contradicts the current TC39 policy Iterator Helpers proposal:
Iterator Helpers proposal:
Built-ins:
IteratorIterator.fromIterator.prototype.dropIterator.prototype.everyIterator.prototype.filterIterator.prototype.findIterator.prototype.flatMapIterator.prototype.forEachIterator.prototype.mapIterator.prototype.reduceIterator.prototype.someIterator.prototype.takeIterator.prototype.toArrayIterator.prototype.toAsyncIterator.prototype[@@toStringTag]
Built-ins:
AsyncIteratorAsyncIterator.fromAsyncIterator.prototype.dropAsyncIterator.prototype.everyAsyncIterator.prototype.filterAsyncIterator.prototype.findAsyncIterator.prototype.flatMapAsyncIterator.prototype.forEachAsyncIterator.prototype.mapAsyncIterator.prototype.reduceAsyncIterator.prototype.someAsyncIterator.prototype.takeAsyncIterator.prototype.toArrayAsyncIterator.prototype[@@toStringTag]
Moved to Stage 3, November 2022 TC39 meeting
Added
/actual/entries, unconditional forced replacement disabled for features that survived to Stage 3.fromaccept strings,.flatMapthrows on strings returned from the callback, proposal-iterator-helpers/244, proposal-iterator-helpers/250.fromand.flatMapthrows on non-object iterators, proposal-iterator-helpers/253
Built-ins:
Set.prototype.intersectionBuilt-ins:
Set.prototype.unionBuilt-ins:
Set.prototype.differenceBuilt-ins:
Set.prototype.symmetricDifferenceBuilt-ins:
Set.prototype.isSubsetOfBuilt-ins:
Set.prototype.isSupersetOfBuilt-ins:
Set.prototype.isDisjointFromMoved to Stage 3, November 2022 TC39 meeting
Reimplemented with new semantics:
Optimized performance (iteration over lowest set)
Accepted only
Set-like objects as an argument, not all iterablesAccepted only
Sets asthis, no@@speciessupport, and other minor changes
Added
/actual/entries, unconditional forced replacement changed to feature detectionFor avoiding breaking changes:
New versions of methods are implemented as new modules and available in new entries or entries where old versions of methods were not available before (like
/actual/namespace)In entries where they were available before (like
/full/namespace), those methods are available with fallbacks to old semantics (in addition toSet-like, they accept iterable objects). This behavior will be removed from the next major release
Well-Formed Unicode Strings proposal:
Methods:
String.prototype.isWellFormedMethods:
String.prototype.toWellFormedMoved to Stage 3, November 2022 TC39 meeting
Added
/actual/entries, disabled unconditional forced replacement
Explicit resource management Stage 3 and Async explicit resource management Stage 2 proposals:
Renamed from "
usingstatement" and split into 2 (sync and async) proposalsIn addition to already present well-known symbols, added new built-ins:
Symbol.disposeSymbol.asyncDisposeSuppressedErrorDisposableStack:
DisposableStack.prototype.disposeDisposableStack:
DisposableStack.prototype.useDisposableStack:
DisposableStack.prototype.adoptDisposableStack:
DisposableStack.prototype.deferDisposableStack:
DisposableStack.prototype.moveDisposableStack:
DisposableStack.prototype[@@dispose]AsyncDisposableStack:
AsyncDisposableStack.prototype.disposeAsyncAsyncDisposableStack:
AsyncDisposableStack.prototype.useAsyncDisposableStack:
AsyncDisposableStack.prototype.adoptAsyncDisposableStack:
AsyncDisposableStack.prototype.deferAsyncDisposableStack:
AsyncDisposableStack.prototype.moveAsyncDisposableStack:
AsyncDisposableStack.prototype[@@asyncDispose]Iterator.prototype[@@dispose]AsyncIterator.prototype[@@asyncDispose]
Sync version of this proposal moved to Stage 3, November 2022 TC39 meeting
Added
/actual/namespace entries for Stage 3 proposal
Added
String.dedentstage 2 proposalMethod
String.dedentThrows an error on non-frozen raw templates for avoiding possible breaking changes in the future, proposal-string-dedent/75
Compat data targets improvements:
React Native from 0.70 shipped with Hermes as the default engine. However, bundled Hermes versions differ from standalone Hermes releases. So added
react-nativetarget for React Native with bundled Hermes.According to the documentation, Oculus Browser was renamed to Meta Quest Browser, so
oculustarget was renamed toquest.opera_mobiletarget name is confusing since it contains data for the Chromium-based Android version, but iOS Opera is Safari-based. Soopera_mobiletarget was renamed toopera-android.androidtarget name is also confusing for someone - that means Android WebView, some think thinks that it's Chrome for Android, but they have some differences. For avoiding confusion, addedchrome-androidtarget.For consistency with two previous cases, added
firefox-androidtarget.For avoiding breaking changes, the
oculusandopera_mobilefields are available in the compat data till the next major release.
Compat data improvements:
Array.fromAsyncmarked as supported from Bun 0.3.0String.prototype.{ isWellFormed, toWellFormed }marked as supported from Bun 0.4.0Change
Arrayby copy proposal marked as supported from Deno 1.27, deno/16429Added Deno 1.28 / 1.29 compat data mapping
Added NodeJS 19.2 compat data mapping
Added Samsung Internet 19.0 compat data mapping
Added Quest Browser 24.0 compat data mapping
Fixed the first version in the Chromium-based Edge compat data mapping
{ Map, WeakMap }.prototype.emplacebecame stricter by the spec draftSmoothed behavior of some conflicting proposals
- Removed
Removed some generic behavior (like
@@speciespattern) of some.prototypemethods from the new collections methods proposal and theArraydeduplication proposal that most likely will not be implemented since it contradicts the current TC39 policy Added pure version of the
Numberconstructor, #1154, #1155, thanks @trososAdded
set(Timeout|Interval|Immediate)extra arguments fix for Bun 0.3.0- (similarly to IE9-), bun/1633Fixed handling of sparse arrays in
structuredClone, #1156Fixed a theoretically possible future conflict of polyfills definitions in the pure version
Some refactoring and optimization
3.26.1
13 Nov 2022Disabled forced replacing of
Array.fromAsyncsince it's on Stage 3Avoiding a check of the target in the internal
function-uncurry-thishelper where it's not required - minor optimization and preventing problems in some broken environments, a workaround of #1141V8 will not ship
Array.prototype.{ group, groupToMap }in V8 ~ Chromium 108, proposal-array-grouping/44
3.26.0
23 Oct 2022Recent updates of the iterator helpers proposal:
Moved to Stage 3, September TC39 meeting
Avoid observable side effects of
%Array.prototype.values%usage in array-like branch, proposal-array-from-async/30
Added well-formed unicode strings stage 2 proposal:
String.prototype.isWellFormedString.prototype.toWellFormed
Recent updates of the iterator helpers proposal:
Added a counter parameter to helpers, proposal-iterator-helpers/211
Don't await non-objects returned from functions passed to
AsyncIteratorhelpers, proposal-iterator-helpers/239{ Iterator, AsyncIterator }.prototype.flatMapsupports returning both - iterables and iterators, proposal-iterator-helpers/233Early exit on broken
.nextin missed cases of{ Iterator, AsyncIterator }.from, proposal-iterator-helpers/232
Added
selfpolyfill as a part of The Minimum Common Web Platform API, specification, #1118Added
inverseoption tocore-js-compat, #1119Added
formatoption tocore-js-builder, #1120Added NodeJS 19.0 compat data
Added Deno 1.26 and 1.27 compat data
Added Opera Android 72 compat data mapping
Updated Electron 22 compat data mapping
3.25.4
2 Oct 2022Added a workaround of a Nashorn bug with
Function.prototype.{ call, apply, bind }on string methods, #1128Updated lists of
[Serializable]and[Transferable]objects in thestructuredClonepolyfill. Mainly, for better error messages if polyfilling of cloning such types is impossibleArray.prototype.{ group, groupToMap }marked as supported from V8 ~ Chromium 108
Added a workaround of a Nashorn bug with
Function.prototype.{ call, apply, bind }on string methods, #1128Updated lists of
[Serializable]and[Transferable]objects in thestructuredClonepolyfill. Mainly, for better error messages if polyfilling of cloning such types is impossibleArray.prototype.{ group, groupToMap }marked as supported from V8 ~ Chromium 108Added Electron 22 compat data mapping
3.25.3
25 Sep 2022Forced polyfilling of
Array.prototype.groupToMapin the pure version for returning wrappedMapinstancesFixed existence of
Array.prototype.{ findLast, findLastIndex }in/stage/4entryAdded Opera Android 71 compat data mapping
Forced polyfilling of
Array.prototype.groupToMapin the pure version for returning wrappedMapinstancesFixed existence of
Array.prototype.{ findLast, findLastIndex }in/stage/4entryAdded Opera Android 71 compat data mapping
Some stylistic changes
3.25.2
18 Sep 2022Considering
document.allas a callable in some missed casesAdded Safari 16.0 compat data
Added iOS Safari 16.0 compat data mapping
Considering
document.allas a callable in some missed casesAdded Safari 16.0 compat data
Added iOS Safari 16.0 compat data mapping
Fixed some ancient iOS Safari versions compat data mapping
3.25.1
7 Sep 2022Added 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, #1117Dropped
semverdependency fromcore-js-compat
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, #1117Dropped
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 duplications 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
3.25.0
24 Aug 2022Added
Object.prototype.__proto__polyfillConsidering
document.allas an object in some missed cases, see ECMAScript Annex B 3.6Avoiding unnecessary promise creation and validation result in
%WrapForValid(Async)IteratorPrototype%.return, proposal-iterator-helpers/215
Added
Object.prototype.__proto__polyfillIt'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.6Avoiding unnecessary promise creation and validation result in
%WrapForValid(Async)IteratorPrototype%.return, proposal-iterator-helpers/215Fixed omitting the result of proxying
.returnin%IteratorHelperPrototype%.return, #1116Fixed 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
.lengthsettingFixed
ArrayBuffer.lengthin V8 ~ Chrome 27-Relaxed condition of re-usage native
WeakMapfor internal states with multiplecore-jscopiesAvailability cloning of
FileListin thestructuredClonepolyfill extended to some more old engines versionsSome 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 #1115Added missed NodeJS 13.2 to
esmodulescore-js-compat/core-js-buildertargetAdded Electron 21 compat data mapping
Added Oculus Browser 23.0 compat data mapping
3.24.1
29 Jul 2022NodeJS is ignored in
IS_BROWSERdetection to avoid a false positive withjsdom, #1110Fixed detection of
@@speciessupport inPromisein some old engines{ Array, %TypedArray% }.prototype.{ findLast, findLastIndex }marked as shipped in FF104
NodeJS is ignored in
IS_BROWSERdetection to avoid a false positive withjsdom, #1110Fixed detection of
@@speciessupport inPromisein some old engines{ Array, %TypedArray% }.prototype.{ findLast, findLastIndex }marked as shipped in FF104Added iOS Safari 15.6 compat data mapping
Fixed Opera 15 compat data mapping
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.