core-js
3.51.0 · 19 Oct 2026MIT100.8M / weekRepositoryHomepagenpmAtom feed
2.6.12 is the newest release of 2.x.
In short
10 new9 fixed7 changed
Release note
API: ES5 polyfills are split and logic, used in other polyfills, moved to internal modules
All entry point works in ES3 environment like IE8- without
core-js/(library/)es5Added all missed single entry points for ES5 polyfills
Separated ES5 polyfills moved to the ES6 namespace. Why?
Mainly, for prevent duplication features in different namespaces - logic of most required ES5 polyfills changed in ES6+:
Already added changes for:
Objectstatics - should accept primitives, new whitespaces lists inString#trim,parse(Int|float),RegExp#toStringlogic,String#split, etcShould be changed in the future:
@@speciesandToLengthlogic inArraymethods,Dateparsing,Function#bind, etcShould not be changed only several features like
Array.isArrayandDate.now
Some ES5 polyfills required for modern engines
All old entry points should work fine, but in the next major release API can be changed
API:
Object.getOwnPropertyDescriptorsmoved to the stage 3, January TC39 meetingAPI: Added
umdoption for custom build process, #169API: Returned entry points for
Arraystatics, removed in2.0, for compatibility withbabel6and for future fixesDeprecated:
Reflect.enumeratedeprecated and will be removed from the next major release, January TC39 meetingNew Features: Added
Reflectmetadata API as a pre-strawman feature, #152:Reflect.defineMetadataReflect.deleteMetadataReflect.getMetadataReflect.getMetadataKeysReflect.getOwnMetadataReflect.getOwnMetadataKeysReflect.hasMetadataReflect.hasOwnMetadataReflect.metadata
New Features: Implementation / fixes
Date#toJSONNew Features: Fixes for
parseIntandNumber.parseIntNew Features: Fixes for
parseFloatandNumber.parseFloatNew Features: Fixes for
RegExp#toStringNew Features: Fixes for
Array#sortNew Features: Fixes for
Number#toFixedNew Features: Fixes for
Number#toPrecisionNew Features: Additional fixes for
String#split(RegExp#@@split)Improvements: Correct subclassing wrapped collections,
NumberandRegExpconstructors with native class syntaxImprovements: Correct support
SharedArrayBufferand buffers from other realms in typed arrays wrappersImprovements: Additional validations for
Object.{defineProperty, getOwnPropertyDescriptor}andReflect.definePropertyBug Fixes: Fixed some cases
Array#lastIndexOfwith negative second argument
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.