core-js-compat 3.19.1 → 3.20.1
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 +5 -3
- package/data.json +115 -6
- package/entries.json +2837 -17
- package/modules-by-versions.json +24 -0
- package/modules.json +22 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+

|
|
2
|
+
|
|
1
3
|
[`core-js-compat` package](https://github.com/zloirock/core-js/tree/master/packages/core-js-compat) contains data about the necessity of [`core-js`](https://github.com/zloirock/core-js) modules and API for getting a list of required core-js modules by browserslist query.
|
|
2
4
|
|
|
3
5
|
```js
|
|
@@ -7,7 +9,7 @@ const {
|
|
|
7
9
|
} = require('core-js-compat')({
|
|
8
10
|
targets: '> 2.5%', // browserslist query or object of minimum environment versions to support
|
|
9
11
|
filter: /^(es|web)\./, // optional filter - string-prefix, regexp or list of modules
|
|
10
|
-
version: '3.
|
|
12
|
+
version: '3.20', // used `core-js` version, by default - the latest
|
|
11
13
|
});
|
|
12
14
|
|
|
13
15
|
console.log(targets);
|
|
@@ -92,9 +94,9 @@ require('core-js-compat/modules'); // => Array<ModuleName>
|
|
|
92
94
|
require('core-js-compat').modules; // => Array<ModuleName>
|
|
93
95
|
|
|
94
96
|
// the subset of modules which available in the passed `core-js` version:
|
|
95
|
-
require('core-js-compat/get-modules-list-for-target-version')('3.
|
|
97
|
+
require('core-js-compat/get-modules-list-for-target-version')('3.20'); // => Array<ModuleName>
|
|
96
98
|
// or
|
|
97
|
-
require('core-js-compat').getModulesListForTargetVersion('3.
|
|
99
|
+
require('core-js-compat').getModulesListForTargetVersion('3.20'); // => Array<ModuleName>
|
|
98
100
|
```
|
|
99
101
|
|
|
100
102
|
If you want to add new / update data about modules required for target engines, [follow this instruction](https://github.com/zloirock/core-js/blob/master/CONTRIBUTING.md#updating-core-js-compat-data).
|
package/data.json
CHANGED
|
@@ -220,6 +220,33 @@
|
|
|
220
220
|
"safari": "9.0",
|
|
221
221
|
"samsung": "3.4"
|
|
222
222
|
},
|
|
223
|
+
"es.error.cause": {
|
|
224
|
+
"android": "94",
|
|
225
|
+
"chrome": "94",
|
|
226
|
+
"deno": "1.14",
|
|
227
|
+
"edge": "94",
|
|
228
|
+
"electron": "15.0",
|
|
229
|
+
"firefox": "91",
|
|
230
|
+
"ios": "15.0",
|
|
231
|
+
"node": "16.11",
|
|
232
|
+
"opera": "80",
|
|
233
|
+
"safari": "15.0"
|
|
234
|
+
},
|
|
235
|
+
"es.error.to-string": {
|
|
236
|
+
"android": "4.4.3",
|
|
237
|
+
"chrome": "33",
|
|
238
|
+
"deno": "1.0",
|
|
239
|
+
"edge": "12",
|
|
240
|
+
"electron": "0.20",
|
|
241
|
+
"firefox": "11",
|
|
242
|
+
"ie": "9",
|
|
243
|
+
"ios": "9.0",
|
|
244
|
+
"node": "0.11.13",
|
|
245
|
+
"opera": "20",
|
|
246
|
+
"opera_mobile": "20",
|
|
247
|
+
"safari": "8.0",
|
|
248
|
+
"samsung": "2.0"
|
|
249
|
+
},
|
|
223
250
|
"es.aggregate-error": {
|
|
224
251
|
"android": "85",
|
|
225
252
|
"chrome": "85",
|
|
@@ -234,6 +261,18 @@
|
|
|
234
261
|
"safari": "14.0",
|
|
235
262
|
"samsung": "14.0"
|
|
236
263
|
},
|
|
264
|
+
"es.aggregate-error.cause": {
|
|
265
|
+
"android": "94",
|
|
266
|
+
"chrome": "94",
|
|
267
|
+
"deno": "1.14",
|
|
268
|
+
"edge": "94",
|
|
269
|
+
"electron": "15.0",
|
|
270
|
+
"firefox": "91",
|
|
271
|
+
"ios": "15.0",
|
|
272
|
+
"node": "16.11",
|
|
273
|
+
"opera": "80",
|
|
274
|
+
"safari": "15.0"
|
|
275
|
+
},
|
|
237
276
|
"es.array.at": {
|
|
238
277
|
"android": "92",
|
|
239
278
|
"chrome": "92",
|
|
@@ -1403,6 +1442,20 @@
|
|
|
1403
1442
|
"safari": "9.0",
|
|
1404
1443
|
"samsung": "3.0"
|
|
1405
1444
|
},
|
|
1445
|
+
"es.number.to-exponential": {
|
|
1446
|
+
"android": "51",
|
|
1447
|
+
"chrome": "51",
|
|
1448
|
+
"deno": "1.0",
|
|
1449
|
+
"edge": "18",
|
|
1450
|
+
"electron": "1.2",
|
|
1451
|
+
"firefox": "87",
|
|
1452
|
+
"ios": "11.0",
|
|
1453
|
+
"node": "6.5",
|
|
1454
|
+
"opera": "38",
|
|
1455
|
+
"opera_mobile": "38",
|
|
1456
|
+
"safari": "11",
|
|
1457
|
+
"samsung": "5.0"
|
|
1458
|
+
},
|
|
1406
1459
|
"es.number.to-fixed": {
|
|
1407
1460
|
"android": "4.4",
|
|
1408
1461
|
"chrome": "26",
|
|
@@ -3005,16 +3058,16 @@
|
|
|
3005
3058
|
"samsung": "5.0"
|
|
3006
3059
|
},
|
|
3007
3060
|
"es.typed-array.iterator": {
|
|
3008
|
-
"android": "
|
|
3009
|
-
"chrome": "
|
|
3061
|
+
"android": "51",
|
|
3062
|
+
"chrome": "51",
|
|
3010
3063
|
"deno": "1.0",
|
|
3011
3064
|
"edge": "13",
|
|
3012
|
-
"electron": "
|
|
3065
|
+
"electron": "1.2",
|
|
3013
3066
|
"firefox": "37",
|
|
3014
3067
|
"ios": "10.0",
|
|
3015
|
-
"node": "6.
|
|
3016
|
-
"opera": "
|
|
3017
|
-
"opera_mobile": "
|
|
3068
|
+
"node": "6.5",
|
|
3069
|
+
"opera": "38",
|
|
3070
|
+
"opera_mobile": "38",
|
|
3018
3071
|
"safari": "10.0",
|
|
3019
3072
|
"samsung": "5.0"
|
|
3020
3073
|
},
|
|
@@ -3294,22 +3347,31 @@
|
|
|
3294
3347
|
"esnext.array.find-last": {
|
|
3295
3348
|
"android": "97",
|
|
3296
3349
|
"chrome": "97",
|
|
3350
|
+
"deno": "1.16",
|
|
3297
3351
|
"edge": "97",
|
|
3352
|
+
"electron": "17.0",
|
|
3298
3353
|
"opera": "83",
|
|
3299
3354
|
"safari": "15.4"
|
|
3300
3355
|
},
|
|
3301
3356
|
"esnext.array.find-last-index": {
|
|
3302
3357
|
"android": "97",
|
|
3303
3358
|
"chrome": "97",
|
|
3359
|
+
"deno": "1.16",
|
|
3304
3360
|
"edge": "97",
|
|
3361
|
+
"electron": "17.0",
|
|
3305
3362
|
"opera": "83",
|
|
3306
3363
|
"safari": "15.4"
|
|
3307
3364
|
},
|
|
3308
3365
|
"esnext.array.group-by": {},
|
|
3366
|
+
"esnext.array.group-by-to-map": {},
|
|
3309
3367
|
"esnext.array.is-template-object": {},
|
|
3310
3368
|
"esnext.array.last-index": {},
|
|
3311
3369
|
"esnext.array.last-item": {},
|
|
3370
|
+
"esnext.array.to-reversed": {},
|
|
3371
|
+
"esnext.array.to-sorted": {},
|
|
3372
|
+
"esnext.array.to-spliced": {},
|
|
3312
3373
|
"esnext.array.unique-by": {},
|
|
3374
|
+
"esnext.array.with": {},
|
|
3313
3375
|
"esnext.async-iterator.constructor": {},
|
|
3314
3376
|
"esnext.async-iterator.as-indexed-pairs": {},
|
|
3315
3377
|
"esnext.async-iterator.drop": {},
|
|
@@ -3327,6 +3389,9 @@
|
|
|
3327
3389
|
"esnext.bigint.range": {},
|
|
3328
3390
|
"esnext.composite-key": {},
|
|
3329
3391
|
"esnext.composite-symbol": {},
|
|
3392
|
+
"esnext.function.is-callable": {},
|
|
3393
|
+
"esnext.function.is-constructor": {},
|
|
3394
|
+
"esnext.function.un-this": {},
|
|
3330
3395
|
"esnext.global-this": {
|
|
3331
3396
|
"android": "71",
|
|
3332
3397
|
"chrome": "71",
|
|
@@ -3355,6 +3420,7 @@
|
|
|
3355
3420
|
"esnext.iterator.some": {},
|
|
3356
3421
|
"esnext.iterator.take": {},
|
|
3357
3422
|
"esnext.iterator.to-array": {},
|
|
3423
|
+
"esnext.iterator.to-async": {},
|
|
3358
3424
|
"esnext.map.delete-all": {},
|
|
3359
3425
|
"esnext.map.emplace": {},
|
|
3360
3426
|
"esnext.map.every": {},
|
|
@@ -3462,6 +3528,7 @@
|
|
|
3462
3528
|
"esnext.set.symmetric-difference": {},
|
|
3463
3529
|
"esnext.set.union": {},
|
|
3464
3530
|
"esnext.string.at": {},
|
|
3531
|
+
"esnext.string.cooked": {},
|
|
3465
3532
|
"esnext.string.code-points": {},
|
|
3466
3533
|
"esnext.string.match-all": {
|
|
3467
3534
|
"android": "80",
|
|
@@ -3517,19 +3584,27 @@
|
|
|
3517
3584
|
"esnext.typed-array.find-last": {
|
|
3518
3585
|
"android": "97",
|
|
3519
3586
|
"chrome": "97",
|
|
3587
|
+
"deno": "1.16",
|
|
3520
3588
|
"edge": "97",
|
|
3589
|
+
"electron": "17.0",
|
|
3521
3590
|
"opera": "83",
|
|
3522
3591
|
"safari": "15.4"
|
|
3523
3592
|
},
|
|
3524
3593
|
"esnext.typed-array.find-last-index": {
|
|
3525
3594
|
"android": "97",
|
|
3526
3595
|
"chrome": "97",
|
|
3596
|
+
"deno": "1.16",
|
|
3527
3597
|
"edge": "97",
|
|
3598
|
+
"electron": "17.0",
|
|
3528
3599
|
"opera": "83",
|
|
3529
3600
|
"safari": "15.4"
|
|
3530
3601
|
},
|
|
3531
3602
|
"esnext.typed-array.group-by": {},
|
|
3603
|
+
"esnext.typed-array.to-reversed": {},
|
|
3604
|
+
"esnext.typed-array.to-sorted": {},
|
|
3605
|
+
"esnext.typed-array.to-spliced": {},
|
|
3532
3606
|
"esnext.typed-array.unique-by": {},
|
|
3607
|
+
"esnext.typed-array.with": {},
|
|
3533
3608
|
"esnext.weak-map.delete-all": {},
|
|
3534
3609
|
"esnext.weak-map.from": {},
|
|
3535
3610
|
"esnext.weak-map.of": {},
|
|
@@ -3569,6 +3644,39 @@
|
|
|
3569
3644
|
"safari": "13.1",
|
|
3570
3645
|
"samsung": "9.0"
|
|
3571
3646
|
},
|
|
3647
|
+
"web.dom-exception.constructor": {
|
|
3648
|
+
"android": "46",
|
|
3649
|
+
"chrome": "46",
|
|
3650
|
+
"deno": "1.7",
|
|
3651
|
+
"edge": "74",
|
|
3652
|
+
"electron": "0.36",
|
|
3653
|
+
"firefox": "37",
|
|
3654
|
+
"ios": "11.3",
|
|
3655
|
+
"node": "17.0",
|
|
3656
|
+
"opera": "33",
|
|
3657
|
+
"opera_mobile": "33",
|
|
3658
|
+
"safari": "11.1",
|
|
3659
|
+
"samsung": "5.0"
|
|
3660
|
+
},
|
|
3661
|
+
"web.dom-exception.stack": {
|
|
3662
|
+
"deno": "1.7",
|
|
3663
|
+
"firefox": "37",
|
|
3664
|
+
"node": "17.0"
|
|
3665
|
+
},
|
|
3666
|
+
"web.dom-exception.to-string-tag": {
|
|
3667
|
+
"android": "49",
|
|
3668
|
+
"chrome": "49",
|
|
3669
|
+
"deno": "1.7",
|
|
3670
|
+
"edge": "74",
|
|
3671
|
+
"electron": "0.37",
|
|
3672
|
+
"firefox": "51",
|
|
3673
|
+
"ios": "11.3",
|
|
3674
|
+
"node": "17.0",
|
|
3675
|
+
"opera": "36",
|
|
3676
|
+
"opera_mobile": "36",
|
|
3677
|
+
"safari": "11.1",
|
|
3678
|
+
"samsung": "5.0"
|
|
3679
|
+
},
|
|
3572
3680
|
"web.immediate": {
|
|
3573
3681
|
"ie": "10",
|
|
3574
3682
|
"node": "0.9.1"
|
|
@@ -3587,6 +3695,7 @@
|
|
|
3587
3695
|
"safari": "12.1",
|
|
3588
3696
|
"samsung": "10.0"
|
|
3589
3697
|
},
|
|
3698
|
+
"web.structured-clone": {},
|
|
3590
3699
|
"web.timers": {
|
|
3591
3700
|
"android": "1.5",
|
|
3592
3701
|
"chrome": "1",
|