core-js-builder
Advanced tools
Changelog
Promise
fixes:
rejectionhandled
event better HTML spec complaintChangelog
Promise
improvements:
@@species
pattern support for completely correct subclassingObject.setPrototypeOf
from feature detection and noisy console message about it in FFPromise.all
fixed for some very specific casesChangelog
core-js/(library/)es5
Object
statics - should accept primitives, new whitespaces lists in String#trim
, parse(Int|float)
, RegExp#toString
logic, String#split
, etc@@species
and ToLength
logic in Array
methods, Date
parsing, Function#bind
, etcArray.isArray
and Date.now
Object.getOwnPropertyDescriptors
moved to the stage 3, January TC39 meetingumd
option for custom build process, #169Array
statics, removed in 2.0
, for compatibility with babel
6
and for future fixesReflect.enumerate
deprecated and will be removed from the next major release, January TC39 meetingReflect
metadata API as a pre-strawman feature, #152:
Reflect.defineMetadata
Reflect.deleteMetadata
Reflect.getMetadata
Reflect.getMetadataKeys
Reflect.getOwnMetadata
Reflect.getOwnMetadataKeys
Reflect.hasMetadata
Reflect.hasOwnMetadata
Reflect.metadata
Date#toJSON
parseInt
and Number.parseInt
parseFloat
and Number.parseFloat
RegExp#toString
Array#sort
Number#toFixed
Number#toPrecision
String#split
(RegExp#@@split
)Number
and RegExp
constructors with native class syntaxSharedArrayBuffer
and buffers from other realms in typed arrays wrappersObject.{defineProperty, getOwnPropertyDescriptor}
and Reflect.defineProperty
Array#lastIndexOf
with negative second argumentChangelog
length
validation from Uint8Array
constructor wrapper. Reason - bug in ws
module (-> socket.io
) which passes to Buffer
constructor -> Uint8Array
float and uses the V8
bug for conversion to int (by the spec should be thrown an error). It creates problems for many people. I hope, it will be returned after fixing this bug in V8
.Changelog
ArrayBuffer
, ArrayBuffer.isView
, ArrayBuffer#slice
DataView
with all getter / setter methodsInt8Array
, Uint8Array
, Uint8ClampedArray
, Int16Array
, Uint16Array
, Int32Array
, Uint32Array
, Float32Array
and Float64Array
constructors%TypedArray%.{for, of}
, %TypedArray%#{copyWithin, every, fill, filter, find, findIndex, forEach, indexOf, includes, join, lastIndexOf, map, reduce, reduceRight, reverse, set, slice, some, sort, subarray, values, keys, entries, @@iterator, ...}
System.global
, proposal, November TC39 meetingError.isError
, proposal, November TC39 meetingMath.{iaddh, isubh, imulh, umulh}
, proposalRegExp.escape
moved from the es7
to the non-standard core
namespace, July TC39 meeting - too slow, but it's condition of stability, #116Promise
rejectionHandled
event / onrejectionhandled
handler to the polyfill@@species
from Promise.{all, race}
, November TC39 meetingO(1)
and preventing possible leaks with frozen keys, #134String#{padLeft, padRight}
-> String#{padStart, padEnd}
, proposal, November TC39 meeting (they want to rename it on each meeting?O_o), #132String#{trimStart, trimEnd}
as aliases for String#{trimLeft, trimRight}
, proposal, November TC39 meetingDate#toString
- new Date(NaN).toString()
should be 'Invalid Date'
{keys, values, entries, @@iterator}
methods to DOM collections which should have iterable interface or should be inherited from Array
- NodeList
, DOMTokenList
, MediaList
, StyleSheetList
, CSSRuleList
.Array
generics - deprecated and will be removed from FF, looks like strawman is dead, available alternative shimcore.log
module$
prefix for internal modules file names because Team Foundation Server does not support it, #129SameValueZero
in V8 ~ Chromium 39-42 collectionsArray
iteratorarguments
object - old WebKit bug, #150{Map, Set}#forEach
non-generic, #144