github zloirock/core-js v2.5.0
2.5.0 - 2017.08.05

latest releases: v3.39.0, v3.38.1, v3.38.0...
7 years ago
  • Added Promise#finally stage 3 proposal, #225
  • Added Promise.try stage 1 proposal
  • Added Array#flatten and Array#flatMap stage 1 proposal
  • Added .of and .from methods on collection constructors stage 1 proposal:
    • Map.of
    • Set.of
    • WeakSet.of
    • WeakMap.of
    • Map.from
    • Set.from
    • WeakSet.from
    • WeakMap.from
  • Added Math extensions stage 1 proposal, #226:
    • Math.clamp
    • Math.DEG_PER_RAD
    • Math.degrees
    • Math.fscale
    • Math.RAD_PER_DEG
    • Math.radians
    • Math.scale
  • Added Math.signbit stage 1 proposal
  • Updated global stage 3 proposal - added global global object, System.global deprecated
  • Updated Object.getOwnPropertyDescriptors to the final version - it should not create properties if descriptors are undefined
  • Updated the list of iterable DOM collections, #249, added:
    • CSSStyleDeclaration#@@iterator
    • CSSValueList#@@iterator
    • ClientRectList#@@iterator
    • DOMRectList#@@iterator
    • DOMStringList#@@iterator
    • DataTransferItemList#@@iterator
    • FileList#@@iterator
    • HTMLAllCollection#@@iterator
    • HTMLCollection#@@iterator
    • HTMLFormElement#@@iterator
    • HTMLSelectElement#@@iterator
    • MimeTypeArray#@@iterator
    • NamedNodeMap#@@iterator
    • PaintRequestList#@@iterator
    • Plugin#@@iterator
    • PluginArray#@@iterator
    • SVGLengthList#@@iterator
    • SVGNumberList#@@iterator
    • SVGPathSegList#@@iterator
    • SVGPointList#@@iterator
    • SVGStringList#@@iterator
    • SVGTransformList#@@iterator
    • SourceBufferList#@@iterator
    • TextTrackCueList#@@iterator
    • TextTrackList#@@iterator
    • TouchList#@@iterator
  • Updated stages of proposals:
  • Updated typed arrays to the modern (ES2016+) arguments validation,
    #293
  • Fixed %TypedArray%.from Safari bug, #285
  • Fixed compatibility with old version of Prototype.js, #278, #289
  • Function#name no longer cache the result for correct behaviour with inherited constructors, #296
  • Added errors on incorrect context of collection methods, #272
  • Fixed conversion typed array constructors to string, fix #300
  • Fixed Set#size with debugger ReactNative for Android, #297
  • Fixed an issue with Electron-based debugger, #230
  • Fixed compatibility with incomplete third-party WeakMap polyfills, #252
  • Added a fallback for Date#toJSON in engines without native Date#toISOString, #220
  • Added support for Sphere Dispatch API, #286
  • Seriously changed the coding style and the ESLint config
  • Updated many dev dependencies (webpack, uglify, etc)
  • Some other minor fixes and optimizations

Don't miss a new core-js release

NewReleases is sending notifications on new releases.