Supported engines and compatibility data
Starting from version 4, core-js drops support for ancient engines and focuses on environments with at least IE11-level JavaScript features (approximately ES5 + some additions). Older platforms - such as IE10 and below, Android 4.4.3 and below, PhantomJS, Opera Presto, and similar legacy engines - are no longer supported. If you still need to support such legacy browsers, please continue using core-js version 3.
The baseline is engines about IE11, ES5 with some additions:
- Basic
WeakMapsupport (no matter bugs, for internal usage only, in polyfills could be fixed) - Basic
MapandSetsupport (no matter bugs, for internal usage only, in polyfills could be fixed or completely replaced) - Basic
%TypedArray%,ArrayBufferandDataViewconstructors support (no matter bugs, in polyfills could be fixed) - A way setting of a prototype -
Object.setPrototypeOfor__proto__
Examples of supported engines:
- IE11
- Chrome 38
- Safari 7.1
- FF15
- Node 0.11
core-js provides (as @core-js/compat package) all required data about the necessity of core-js modules, entry points, and tools for work with it - it's useful for integration with tools like babel or swc. If you wanna help, you could take a look at the related section of CONTRIBUTING. The visualization of compatibility data and the browser tests runner is available here, the example:
