core-js-compat 3.23.5 → 3.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -4
- package/data.json +734 -21
- package/entries.json +52 -0
- package/external.json +2 -0
- package/modules-by-versions.json +4 -0
- package/modules.json +2 -0
- package/package.json +1 -1
- package/targets-parser.js +3 -0
package/README.md
CHANGED
|
@@ -18,7 +18,7 @@ const {
|
|
|
18
18
|
exclude: [ // optional list / filter of modules to exclude, the signature is similar to `modules` option
|
|
19
19
|
'web.atob',
|
|
20
20
|
],
|
|
21
|
-
version: '3.
|
|
21
|
+
version: '3.24', // used `core-js` version, by default - the latest
|
|
22
22
|
});
|
|
23
23
|
|
|
24
24
|
console.log(targets);
|
|
@@ -66,14 +66,17 @@ console.log(targets);
|
|
|
66
66
|
// object:
|
|
67
67
|
{
|
|
68
68
|
android: '4.0', // Android WebView version
|
|
69
|
+
bun: '0.1.2', // Bun version
|
|
69
70
|
chrome: '38', // Chrome version
|
|
70
71
|
deno: '1.12', // Deno version
|
|
71
72
|
edge: '13', // Edge version
|
|
72
73
|
electron: '5.0', // Electron framework version
|
|
73
74
|
firefox: '15', // Firefox version
|
|
75
|
+
hermes: '0.11', // Hermes version
|
|
74
76
|
ie: '8', // Internet Explorer version
|
|
75
77
|
ios: '13.0', // iOS Safari version
|
|
76
|
-
node: 'current', // NodeJS version, you
|
|
78
|
+
node: 'current', // NodeJS version, you can use 'current' for set it to currently used
|
|
79
|
+
oculus: '5.0', // Oculus Browser version
|
|
77
80
|
opera: '12', // Opera version
|
|
78
81
|
opera_mobile: '7', // Opera Mobile version
|
|
79
82
|
phantom: '1.9', // PhantomJS headless browser version
|
|
@@ -109,9 +112,9 @@ require('core-js-compat/modules'); // => Array<ModuleName>
|
|
|
109
112
|
require('core-js-compat').modules; // => Array<ModuleName>
|
|
110
113
|
|
|
111
114
|
// the subset of modules which available in the passed `core-js` version:
|
|
112
|
-
require('core-js-compat/get-modules-list-for-target-version')('3.
|
|
115
|
+
require('core-js-compat/get-modules-list-for-target-version')('3.24'); // => Array<ModuleName>
|
|
113
116
|
// or
|
|
114
|
-
require('core-js-compat').getModulesListForTargetVersion('3.
|
|
117
|
+
require('core-js-compat').getModulesListForTargetVersion('3.24'); // => Array<ModuleName>
|
|
115
118
|
```
|
|
116
119
|
|
|
117
120
|
If you wanna help to improve this data, you could take a look at the related section of [`CONTRIBUTING.md`](https://github.com/zloirock/core-js/blob/master/CONTRIBUTING.md#how-to-update-core-js-compat-data). The visualization of compatibility data and the browser tests runner is available [here](http://es6.zloirock.ru/compat/), the example:
|