core-js-compat 3.32.2 → 3.33.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 +4 -4
- package/compat.js +1 -1
- package/data.json +62 -105
- package/entries.json +29 -6
- package/get-modules-list-for-target-version.js +1 -1
- package/helpers.js +1 -1
- package/modules-by-versions.json +3 -0
- package/modules.json +1 -0
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
<div align="center">
|
|
4
4
|
|
|
5
|
-
[](https://opencollective.com/core-js) [](https://github.com/zloirock/core-js/blob/master/CONTRIBUTING.md) [](https://www.npmjs.com/package/core-js-compat) [](https://opencollective.com/core-js) [](https://github.com/zloirock/core-js/blob/master/CONTRIBUTING.md) [](https://www.npmjs.com/package/core-js-compat) [](https://npm-stat.com/charts.html?package=core-js&package=core-js-pure&package=core-js-compat&from=2014-11-18)
|
|
6
6
|
|
|
7
7
|
</div>
|
|
8
8
|
|
|
@@ -27,7 +27,7 @@ const {
|
|
|
27
27
|
exclude: [ // optional list / filter of modules to exclude, the signature is similar to `modules` option
|
|
28
28
|
'web.atob',
|
|
29
29
|
],
|
|
30
|
-
version: '3.
|
|
30
|
+
version: '3.33', // used `core-js` version, by default - the latest
|
|
31
31
|
inverse: false, // inverse of the result - shows modules that are NOT required for the target environment
|
|
32
32
|
});
|
|
33
33
|
|
|
@@ -125,9 +125,9 @@ require('core-js-compat/modules'); // => Array<ModuleName>
|
|
|
125
125
|
require('core-js-compat').modules; // => Array<ModuleName>
|
|
126
126
|
|
|
127
127
|
// the subset of modules which available in the passed `core-js` version:
|
|
128
|
-
require('core-js-compat/get-modules-list-for-target-version')('3.
|
|
128
|
+
require('core-js-compat/get-modules-list-for-target-version')('3.33'); // => Array<ModuleName>
|
|
129
129
|
// or
|
|
130
|
-
require('core-js-compat').getModulesListForTargetVersion('3.
|
|
130
|
+
require('core-js-compat').getModulesListForTargetVersion('3.33'); // => Array<ModuleName>
|
|
131
131
|
```
|
|
132
132
|
|
|
133
133
|
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://zloirock.github.io/core-js/compat/), the example:
|
package/compat.js
CHANGED
|
@@ -7,7 +7,7 @@ const allModules = require('./modules');
|
|
|
7
7
|
const targetsParser = require('./targets-parser');
|
|
8
8
|
|
|
9
9
|
function throwInvalidFilter(filter) {
|
|
10
|
-
throw TypeError(`Specified invalid module name or pattern: ${ filter }`);
|
|
10
|
+
throw new TypeError(`Specified invalid module name or pattern: ${ filter }`);
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
function atLeastSomeModules(modules, filter) {
|
package/data.json
CHANGED
|
@@ -714,6 +714,7 @@
|
|
|
714
714
|
"opera-android": "38",
|
|
715
715
|
"opera_mobile": "38",
|
|
716
716
|
"quest": "3.0",
|
|
717
|
+
"react-native": "0.73",
|
|
717
718
|
"rhino": "1.7.13",
|
|
718
719
|
"safari": "9.0",
|
|
719
720
|
"samsung": "5.0"
|
|
@@ -1694,6 +1695,7 @@
|
|
|
1694
1695
|
"opera-android": "38",
|
|
1695
1696
|
"opera_mobile": "38",
|
|
1696
1697
|
"quest": "3.0",
|
|
1698
|
+
"react-native": "0.73",
|
|
1697
1699
|
"rhino": "1.7.13",
|
|
1698
1700
|
"safari": "10.0",
|
|
1699
1701
|
"samsung": "5.0"
|
|
@@ -3638,6 +3640,7 @@
|
|
|
3638
3640
|
"opera-android": "38",
|
|
3639
3641
|
"opera_mobile": "38",
|
|
3640
3642
|
"quest": "3.0",
|
|
3643
|
+
"react-native": "0.73",
|
|
3641
3644
|
"rhino": "1.7.13",
|
|
3642
3645
|
"safari": "10.0",
|
|
3643
3646
|
"samsung": "5.0"
|
|
@@ -3761,6 +3764,8 @@
|
|
|
3761
3764
|
"deno": "1.32",
|
|
3762
3765
|
"edge": "111",
|
|
3763
3766
|
"electron": "24.0",
|
|
3767
|
+
"firefox": "119",
|
|
3768
|
+
"firefox-android": "119",
|
|
3764
3769
|
"ios": "16.4",
|
|
3765
3770
|
"node": "20.0",
|
|
3766
3771
|
"oculus": "27.0",
|
|
@@ -4070,6 +4075,8 @@
|
|
|
4070
4075
|
"deno": "1.32",
|
|
4071
4076
|
"edge": "111",
|
|
4072
4077
|
"electron": "24.0",
|
|
4078
|
+
"firefox": "119",
|
|
4079
|
+
"firefox-android": "119",
|
|
4073
4080
|
"ios": "16.4",
|
|
4074
4081
|
"node": "20.0",
|
|
4075
4082
|
"oculus": "27.0",
|
|
@@ -5325,6 +5332,7 @@
|
|
|
5325
5332
|
"opera-android": "38",
|
|
5326
5333
|
"opera_mobile": "38",
|
|
5327
5334
|
"quest": "3.0",
|
|
5335
|
+
"react-native": "0.73",
|
|
5328
5336
|
"rhino": "1.7.13",
|
|
5329
5337
|
"safari": "10.0",
|
|
5330
5338
|
"samsung": "5.0"
|
|
@@ -5346,6 +5354,7 @@
|
|
|
5346
5354
|
"opera-android": "38",
|
|
5347
5355
|
"opera_mobile": "38",
|
|
5348
5356
|
"quest": "3.0",
|
|
5357
|
+
"react-native": "0.73",
|
|
5349
5358
|
"rhino": "1.7.13",
|
|
5350
5359
|
"safari": "10.0",
|
|
5351
5360
|
"samsung": "5.0"
|
|
@@ -5541,6 +5550,7 @@
|
|
|
5541
5550
|
"deno": "1.33",
|
|
5542
5551
|
"edge": "114",
|
|
5543
5552
|
"electron": "25.0",
|
|
5553
|
+
"node": "21.0",
|
|
5544
5554
|
"oculus": "28.0",
|
|
5545
5555
|
"opera": "100",
|
|
5546
5556
|
"opera-android": "76",
|
|
@@ -5555,6 +5565,7 @@
|
|
|
5555
5565
|
"deno": "1.33",
|
|
5556
5566
|
"edge": "114",
|
|
5557
5567
|
"electron": "25.0",
|
|
5568
|
+
"node": "21.0",
|
|
5558
5569
|
"oculus": "28.0",
|
|
5559
5570
|
"opera": "100",
|
|
5560
5571
|
"opera-android": "76",
|
|
@@ -5569,6 +5580,7 @@
|
|
|
5569
5580
|
"deno": "1.33",
|
|
5570
5581
|
"edge": "114",
|
|
5571
5582
|
"electron": "25.0",
|
|
5583
|
+
"node": "21.0",
|
|
5572
5584
|
"oculus": "28.0",
|
|
5573
5585
|
"opera": "100",
|
|
5574
5586
|
"opera-android": "76",
|
|
@@ -5629,114 +5641,23 @@
|
|
|
5629
5641
|
"safari": "12.1",
|
|
5630
5642
|
"samsung": "10.0"
|
|
5631
5643
|
},
|
|
5632
|
-
"esnext.iterator.constructor": {
|
|
5633
|
-
"android": "117",
|
|
5634
|
-
"chrome": "117",
|
|
5635
|
-
"chrome-android": "117",
|
|
5636
|
-
"edge": "117",
|
|
5637
|
-
"electron": "27.0",
|
|
5638
|
-
"opera": "103"
|
|
5639
|
-
},
|
|
5644
|
+
"esnext.iterator.constructor": {},
|
|
5640
5645
|
"esnext.iterator.as-indexed-pairs": {},
|
|
5641
5646
|
"esnext.iterator.dispose": {},
|
|
5642
|
-
"esnext.iterator.drop": {
|
|
5643
|
-
|
|
5644
|
-
|
|
5645
|
-
|
|
5646
|
-
|
|
5647
|
-
|
|
5648
|
-
|
|
5649
|
-
},
|
|
5650
|
-
"esnext.iterator.every": {
|
|
5651
|
-
"android": "117",
|
|
5652
|
-
"chrome": "117",
|
|
5653
|
-
"chrome-android": "117",
|
|
5654
|
-
"edge": "117",
|
|
5655
|
-
"electron": "27.0",
|
|
5656
|
-
"opera": "103"
|
|
5657
|
-
},
|
|
5658
|
-
"esnext.iterator.filter": {
|
|
5659
|
-
"android": "117",
|
|
5660
|
-
"chrome": "117",
|
|
5661
|
-
"chrome-android": "117",
|
|
5662
|
-
"edge": "117",
|
|
5663
|
-
"electron": "27.0",
|
|
5664
|
-
"opera": "103"
|
|
5665
|
-
},
|
|
5666
|
-
"esnext.iterator.find": {
|
|
5667
|
-
"android": "117",
|
|
5668
|
-
"chrome": "117",
|
|
5669
|
-
"chrome-android": "117",
|
|
5670
|
-
"edge": "117",
|
|
5671
|
-
"electron": "27.0",
|
|
5672
|
-
"opera": "103"
|
|
5673
|
-
},
|
|
5674
|
-
"esnext.iterator.flat-map": {
|
|
5675
|
-
"android": "117",
|
|
5676
|
-
"chrome": "117",
|
|
5677
|
-
"chrome-android": "117",
|
|
5678
|
-
"edge": "117",
|
|
5679
|
-
"electron": "27.0",
|
|
5680
|
-
"opera": "103"
|
|
5681
|
-
},
|
|
5682
|
-
"esnext.iterator.for-each": {
|
|
5683
|
-
"android": "117",
|
|
5684
|
-
"chrome": "117",
|
|
5685
|
-
"chrome-android": "117",
|
|
5686
|
-
"edge": "117",
|
|
5687
|
-
"electron": "27.0",
|
|
5688
|
-
"opera": "103"
|
|
5689
|
-
},
|
|
5690
|
-
"esnext.iterator.from": {
|
|
5691
|
-
"android": "117",
|
|
5692
|
-
"chrome": "117",
|
|
5693
|
-
"chrome-android": "117",
|
|
5694
|
-
"edge": "117",
|
|
5695
|
-
"electron": "27.0",
|
|
5696
|
-
"opera": "103"
|
|
5697
|
-
},
|
|
5647
|
+
"esnext.iterator.drop": {},
|
|
5648
|
+
"esnext.iterator.every": {},
|
|
5649
|
+
"esnext.iterator.filter": {},
|
|
5650
|
+
"esnext.iterator.find": {},
|
|
5651
|
+
"esnext.iterator.flat-map": {},
|
|
5652
|
+
"esnext.iterator.for-each": {},
|
|
5653
|
+
"esnext.iterator.from": {},
|
|
5698
5654
|
"esnext.iterator.indexed": {},
|
|
5699
|
-
"esnext.iterator.map": {
|
|
5700
|
-
"android": "117",
|
|
5701
|
-
"chrome": "117",
|
|
5702
|
-
"chrome-android": "117",
|
|
5703
|
-
"edge": "117",
|
|
5704
|
-
"electron": "27.0",
|
|
5705
|
-
"opera": "103"
|
|
5706
|
-
},
|
|
5655
|
+
"esnext.iterator.map": {},
|
|
5707
5656
|
"esnext.iterator.range": {},
|
|
5708
|
-
"esnext.iterator.reduce": {
|
|
5709
|
-
|
|
5710
|
-
|
|
5711
|
-
|
|
5712
|
-
"edge": "117",
|
|
5713
|
-
"electron": "27.0",
|
|
5714
|
-
"opera": "103"
|
|
5715
|
-
},
|
|
5716
|
-
"esnext.iterator.some": {
|
|
5717
|
-
"android": "117",
|
|
5718
|
-
"chrome": "117",
|
|
5719
|
-
"chrome-android": "117",
|
|
5720
|
-
"edge": "117",
|
|
5721
|
-
"electron": "27.0",
|
|
5722
|
-
"opera": "103"
|
|
5723
|
-
},
|
|
5724
|
-
"esnext.iterator.take": {
|
|
5725
|
-
"android": "117",
|
|
5726
|
-
"chrome": "117",
|
|
5727
|
-
"chrome-android": "117",
|
|
5728
|
-
"edge": "117",
|
|
5729
|
-
"electron": "27.0",
|
|
5730
|
-
"opera": "103"
|
|
5731
|
-
},
|
|
5732
|
-
"esnext.iterator.to-array": {
|
|
5733
|
-
"android": "117",
|
|
5734
|
-
"chrome": "117",
|
|
5735
|
-
"chrome-android": "117",
|
|
5736
|
-
"edge": "117",
|
|
5737
|
-
"electron": "27.0",
|
|
5738
|
-
"opera": "103"
|
|
5739
|
-
},
|
|
5657
|
+
"esnext.iterator.reduce": {},
|
|
5658
|
+
"esnext.iterator.some": {},
|
|
5659
|
+
"esnext.iterator.take": {},
|
|
5660
|
+
"esnext.iterator.to-array": {},
|
|
5740
5661
|
"esnext.iterator.to-async": {},
|
|
5741
5662
|
"esnext.json.is-raw-json": {
|
|
5742
5663
|
"android": "114",
|
|
@@ -5745,6 +5666,7 @@
|
|
|
5745
5666
|
"deno": "1.33",
|
|
5746
5667
|
"edge": "114",
|
|
5747
5668
|
"electron": "25.0",
|
|
5669
|
+
"node": "21.0",
|
|
5748
5670
|
"oculus": "28.0",
|
|
5749
5671
|
"opera": "100",
|
|
5750
5672
|
"opera-android": "76",
|
|
@@ -5759,6 +5681,7 @@
|
|
|
5759
5681
|
"deno": "1.33",
|
|
5760
5682
|
"edge": "114",
|
|
5761
5683
|
"electron": "25.0",
|
|
5684
|
+
"node": "21.0",
|
|
5762
5685
|
"oculus": "28.0",
|
|
5763
5686
|
"opera": "100",
|
|
5764
5687
|
"opera-android": "76",
|
|
@@ -5773,6 +5696,7 @@
|
|
|
5773
5696
|
"deno": "1.33",
|
|
5774
5697
|
"edge": "114",
|
|
5775
5698
|
"electron": "25.0",
|
|
5699
|
+
"node": "21.0",
|
|
5776
5700
|
"oculus": "28.0",
|
|
5777
5701
|
"opera": "100",
|
|
5778
5702
|
"opera-android": "76",
|
|
@@ -5791,8 +5715,12 @@
|
|
|
5791
5715
|
"android": "117",
|
|
5792
5716
|
"chrome": "117",
|
|
5793
5717
|
"chrome-android": "117",
|
|
5718
|
+
"deno": "1.37",
|
|
5794
5719
|
"edge": "117",
|
|
5795
5720
|
"electron": "27.0",
|
|
5721
|
+
"firefox": "119",
|
|
5722
|
+
"firefox-android": "119",
|
|
5723
|
+
"node": "21.0",
|
|
5796
5724
|
"opera": "103"
|
|
5797
5725
|
},
|
|
5798
5726
|
"esnext.map.includes": {},
|
|
@@ -5852,8 +5780,12 @@
|
|
|
5852
5780
|
"android": "117",
|
|
5853
5781
|
"chrome": "117",
|
|
5854
5782
|
"chrome-android": "117",
|
|
5783
|
+
"deno": "1.37",
|
|
5855
5784
|
"edge": "117",
|
|
5856
5785
|
"electron": "27.0",
|
|
5786
|
+
"firefox": "119",
|
|
5787
|
+
"firefox-android": "119",
|
|
5788
|
+
"node": "21.0",
|
|
5857
5789
|
"opera": "103"
|
|
5858
5790
|
},
|
|
5859
5791
|
"esnext.observable": {},
|
|
@@ -5899,7 +5831,13 @@
|
|
|
5899
5831
|
},
|
|
5900
5832
|
"esnext.promise.try": {},
|
|
5901
5833
|
"esnext.promise.with-resolvers": {
|
|
5902
|
-
"
|
|
5834
|
+
"android": "119",
|
|
5835
|
+
"bun": "0.7.1",
|
|
5836
|
+
"chrome": "119",
|
|
5837
|
+
"chrome-android": "119",
|
|
5838
|
+
"edge": "119",
|
|
5839
|
+
"electron": "28.0",
|
|
5840
|
+
"opera": "105"
|
|
5903
5841
|
},
|
|
5904
5842
|
"esnext.reflect.define-metadata": {},
|
|
5905
5843
|
"esnext.reflect.delete-metadata": {},
|
|
@@ -5910,6 +5848,7 @@
|
|
|
5910
5848
|
"esnext.reflect.has-metadata": {},
|
|
5911
5849
|
"esnext.reflect.has-own-metadata": {},
|
|
5912
5850
|
"esnext.reflect.metadata": {},
|
|
5851
|
+
"esnext.regexp.escape": {},
|
|
5913
5852
|
"esnext.set.add-all": {},
|
|
5914
5853
|
"esnext.set.delete-all": {},
|
|
5915
5854
|
"esnext.set.difference.v2": {},
|
|
@@ -5947,6 +5886,8 @@
|
|
|
5947
5886
|
"deno": "1.32",
|
|
5948
5887
|
"edge": "111",
|
|
5949
5888
|
"electron": "24.0",
|
|
5889
|
+
"firefox": "119",
|
|
5890
|
+
"firefox-android": "119",
|
|
5950
5891
|
"ios": "16.4",
|
|
5951
5892
|
"node": "20.0",
|
|
5952
5893
|
"oculus": "27.0",
|
|
@@ -6009,6 +5950,8 @@
|
|
|
6009
5950
|
"deno": "1.32",
|
|
6010
5951
|
"edge": "111",
|
|
6011
5952
|
"electron": "24.0",
|
|
5953
|
+
"firefox": "119",
|
|
5954
|
+
"firefox-android": "119",
|
|
6012
5955
|
"ios": "16.4",
|
|
6013
5956
|
"node": "20.0",
|
|
6014
5957
|
"oculus": "27.0",
|
|
@@ -6398,6 +6341,7 @@
|
|
|
6398
6341
|
"samsung": "9.0"
|
|
6399
6342
|
},
|
|
6400
6343
|
"web.url.can-parse": {
|
|
6344
|
+
"bun": "1.0.2",
|
|
6401
6345
|
"deno": "1.33.2",
|
|
6402
6346
|
"firefox": "115",
|
|
6403
6347
|
"firefox-android": "115",
|
|
@@ -6446,23 +6390,36 @@
|
|
|
6446
6390
|
"samsung": "9.0"
|
|
6447
6391
|
},
|
|
6448
6392
|
"web.url-search-params.delete": {
|
|
6393
|
+
"android": "118",
|
|
6394
|
+
"chrome": "118",
|
|
6395
|
+
"chrome-android": "118",
|
|
6449
6396
|
"deno": "1.35",
|
|
6397
|
+
"edge": "118",
|
|
6398
|
+
"electron": "27.0",
|
|
6450
6399
|
"firefox": "115",
|
|
6451
6400
|
"firefox-android": "115",
|
|
6452
6401
|
"ios": "17.0",
|
|
6453
6402
|
"node": "20.2.0",
|
|
6403
|
+
"opera": "104",
|
|
6454
6404
|
"safari": "17.0"
|
|
6455
6405
|
},
|
|
6456
6406
|
"web.url-search-params.has": {
|
|
6407
|
+
"android": "118",
|
|
6408
|
+
"chrome": "118",
|
|
6409
|
+
"chrome-android": "118",
|
|
6457
6410
|
"deno": "1.35",
|
|
6411
|
+
"edge": "118",
|
|
6412
|
+
"electron": "27.0",
|
|
6458
6413
|
"firefox": "115",
|
|
6459
6414
|
"firefox-android": "115",
|
|
6460
6415
|
"ios": "17.0",
|
|
6461
6416
|
"node": "20.2.0",
|
|
6417
|
+
"opera": "104",
|
|
6462
6418
|
"safari": "17.0"
|
|
6463
6419
|
},
|
|
6464
6420
|
"web.url-search-params.size": {
|
|
6465
6421
|
"android": "113",
|
|
6422
|
+
"bun": "1.0.2",
|
|
6466
6423
|
"chrome": "113",
|
|
6467
6424
|
"chrome-android": "113",
|
|
6468
6425
|
"deno": "1.32",
|
package/entries.json
CHANGED
|
@@ -372,6 +372,7 @@
|
|
|
372
372
|
"esnext.reflect.has-metadata",
|
|
373
373
|
"esnext.reflect.has-own-metadata",
|
|
374
374
|
"esnext.reflect.metadata",
|
|
375
|
+
"esnext.regexp.escape",
|
|
375
376
|
"esnext.set.add-all",
|
|
376
377
|
"esnext.set.delete-all",
|
|
377
378
|
"esnext.set.difference.v2",
|
|
@@ -1598,7 +1599,7 @@
|
|
|
1598
1599
|
],
|
|
1599
1600
|
"core-js/actual/instance/for-each": [
|
|
1600
1601
|
"es.array.for-each",
|
|
1601
|
-
"web.dom-collections.
|
|
1602
|
+
"web.dom-collections.for-each"
|
|
1602
1603
|
],
|
|
1603
1604
|
"core-js/actual/instance/group": [
|
|
1604
1605
|
"esnext.array.group"
|
|
@@ -6014,6 +6015,7 @@
|
|
|
6014
6015
|
"esnext.reflect.has-metadata",
|
|
6015
6016
|
"esnext.reflect.has-own-metadata",
|
|
6016
6017
|
"esnext.reflect.metadata",
|
|
6018
|
+
"esnext.regexp.escape",
|
|
6017
6019
|
"esnext.set.add-all",
|
|
6018
6020
|
"esnext.set.delete-all",
|
|
6019
6021
|
"esnext.set.difference.v2",
|
|
@@ -7014,7 +7016,7 @@
|
|
|
7014
7016
|
],
|
|
7015
7017
|
"core-js/features/instance/for-each": [
|
|
7016
7018
|
"es.array.for-each",
|
|
7017
|
-
"web.dom-collections.
|
|
7019
|
+
"web.dom-collections.for-each"
|
|
7018
7020
|
],
|
|
7019
7021
|
"core-js/features/instance/group": [
|
|
7020
7022
|
"esnext.array.group"
|
|
@@ -7942,7 +7944,8 @@
|
|
|
7942
7944
|
"es.string.match",
|
|
7943
7945
|
"es.string.replace",
|
|
7944
7946
|
"es.string.search",
|
|
7945
|
-
"es.string.split"
|
|
7947
|
+
"es.string.split",
|
|
7948
|
+
"esnext.regexp.escape"
|
|
7946
7949
|
],
|
|
7947
7950
|
"core-js/features/regexp/constructor": [
|
|
7948
7951
|
"es.regexp.constructor",
|
|
@@ -7955,6 +7958,9 @@
|
|
|
7955
7958
|
"es.regexp.dot-all",
|
|
7956
7959
|
"es.regexp.exec"
|
|
7957
7960
|
],
|
|
7961
|
+
"core-js/features/regexp/escape": [
|
|
7962
|
+
"esnext.regexp.escape"
|
|
7963
|
+
],
|
|
7958
7964
|
"core-js/features/regexp/flags": [
|
|
7959
7965
|
"es.regexp.flags"
|
|
7960
7966
|
],
|
|
@@ -9812,6 +9818,7 @@
|
|
|
9812
9818
|
"esnext.reflect.has-metadata",
|
|
9813
9819
|
"esnext.reflect.has-own-metadata",
|
|
9814
9820
|
"esnext.reflect.metadata",
|
|
9821
|
+
"esnext.regexp.escape",
|
|
9815
9822
|
"esnext.set.add-all",
|
|
9816
9823
|
"esnext.set.delete-all",
|
|
9817
9824
|
"esnext.set.difference.v2",
|
|
@@ -10812,7 +10819,7 @@
|
|
|
10812
10819
|
],
|
|
10813
10820
|
"core-js/full/instance/for-each": [
|
|
10814
10821
|
"es.array.for-each",
|
|
10815
|
-
"web.dom-collections.
|
|
10822
|
+
"web.dom-collections.for-each"
|
|
10816
10823
|
],
|
|
10817
10824
|
"core-js/full/instance/group": [
|
|
10818
10825
|
"esnext.array.group"
|
|
@@ -11740,7 +11747,8 @@
|
|
|
11740
11747
|
"es.string.match",
|
|
11741
11748
|
"es.string.replace",
|
|
11742
11749
|
"es.string.search",
|
|
11743
|
-
"es.string.split"
|
|
11750
|
+
"es.string.split",
|
|
11751
|
+
"esnext.regexp.escape"
|
|
11744
11752
|
],
|
|
11745
11753
|
"core-js/full/regexp/constructor": [
|
|
11746
11754
|
"es.regexp.constructor",
|
|
@@ -11753,6 +11761,9 @@
|
|
|
11753
11761
|
"es.regexp.dot-all",
|
|
11754
11762
|
"es.regexp.exec"
|
|
11755
11763
|
],
|
|
11764
|
+
"core-js/full/regexp/escape": [
|
|
11765
|
+
"esnext.regexp.escape"
|
|
11766
|
+
],
|
|
11756
11767
|
"core-js/full/regexp/flags": [
|
|
11757
11768
|
"es.regexp.flags"
|
|
11758
11769
|
],
|
|
@@ -14413,6 +14424,9 @@
|
|
|
14413
14424
|
"core-js/modules/esnext.reflect.metadata": [
|
|
14414
14425
|
"esnext.reflect.metadata"
|
|
14415
14426
|
],
|
|
14427
|
+
"core-js/modules/esnext.regexp.escape": [
|
|
14428
|
+
"esnext.regexp.escape"
|
|
14429
|
+
],
|
|
14416
14430
|
"core-js/modules/esnext.set.add-all": [
|
|
14417
14431
|
"esnext.set.add-all"
|
|
14418
14432
|
],
|
|
@@ -14825,6 +14839,7 @@
|
|
|
14825
14839
|
"esnext.reflect.has-metadata",
|
|
14826
14840
|
"esnext.reflect.has-own-metadata",
|
|
14827
14841
|
"esnext.reflect.metadata",
|
|
14842
|
+
"esnext.regexp.escape",
|
|
14828
14843
|
"esnext.set.add-all",
|
|
14829
14844
|
"esnext.set.delete-all",
|
|
14830
14845
|
"esnext.set.difference.v2",
|
|
@@ -15286,6 +15301,9 @@
|
|
|
15286
15301
|
"es.regexp.exec",
|
|
15287
15302
|
"es.regexp.flags"
|
|
15288
15303
|
],
|
|
15304
|
+
"core-js/proposals/regexp-escaping": [
|
|
15305
|
+
"esnext.regexp.escape"
|
|
15306
|
+
],
|
|
15289
15307
|
"core-js/proposals/regexp-named-groups": [
|
|
15290
15308
|
"es.regexp.constructor",
|
|
15291
15309
|
"es.regexp.exec",
|
|
@@ -16179,7 +16197,7 @@
|
|
|
16179
16197
|
],
|
|
16180
16198
|
"core-js/stable/instance/for-each": [
|
|
16181
16199
|
"es.array.for-each",
|
|
16182
|
-
"web.dom-collections.
|
|
16200
|
+
"web.dom-collections.for-each"
|
|
16183
16201
|
],
|
|
16184
16202
|
"core-js/stable/instance/includes": [
|
|
16185
16203
|
"es.array.includes",
|
|
@@ -17853,6 +17871,7 @@
|
|
|
17853
17871
|
"esnext.reflect.has-metadata",
|
|
17854
17872
|
"esnext.reflect.has-own-metadata",
|
|
17855
17873
|
"esnext.reflect.metadata",
|
|
17874
|
+
"esnext.regexp.escape",
|
|
17856
17875
|
"esnext.set.add-all",
|
|
17857
17876
|
"esnext.set.delete-all",
|
|
17858
17877
|
"esnext.set.difference.v2",
|
|
@@ -18051,6 +18070,7 @@
|
|
|
18051
18070
|
"esnext.promise.any",
|
|
18052
18071
|
"esnext.promise.try",
|
|
18053
18072
|
"esnext.promise.with-resolvers",
|
|
18073
|
+
"esnext.regexp.escape",
|
|
18054
18074
|
"esnext.set.add-all",
|
|
18055
18075
|
"esnext.set.delete-all",
|
|
18056
18076
|
"esnext.set.difference.v2",
|
|
@@ -18240,6 +18260,7 @@
|
|
|
18240
18260
|
"esnext.promise.any",
|
|
18241
18261
|
"esnext.promise.try",
|
|
18242
18262
|
"esnext.promise.with-resolvers",
|
|
18263
|
+
"esnext.regexp.escape",
|
|
18243
18264
|
"esnext.set.add-all",
|
|
18244
18265
|
"esnext.set.delete-all",
|
|
18245
18266
|
"esnext.set.difference.v2",
|
|
@@ -18376,6 +18397,7 @@
|
|
|
18376
18397
|
"esnext.promise.all-settled",
|
|
18377
18398
|
"esnext.promise.any",
|
|
18378
18399
|
"esnext.promise.with-resolvers",
|
|
18400
|
+
"esnext.regexp.escape",
|
|
18379
18401
|
"esnext.set.difference.v2",
|
|
18380
18402
|
"esnext.set.difference",
|
|
18381
18403
|
"esnext.set.intersection.v2",
|
|
@@ -18657,6 +18679,7 @@
|
|
|
18657
18679
|
"esnext.reflect.has-metadata",
|
|
18658
18680
|
"esnext.reflect.has-own-metadata",
|
|
18659
18681
|
"esnext.reflect.metadata",
|
|
18682
|
+
"esnext.regexp.escape",
|
|
18660
18683
|
"esnext.set.add-all",
|
|
18661
18684
|
"esnext.set.delete-all",
|
|
18662
18685
|
"esnext.set.difference.v2",
|
|
@@ -6,7 +6,7 @@ const modules = require('./modules');
|
|
|
6
6
|
module.exports = function (raw) {
|
|
7
7
|
const corejs = semver(raw);
|
|
8
8
|
if (corejs.major !== 3) {
|
|
9
|
-
throw RangeError('This version of `core-js-compat` works only with `core-js@3`.');
|
|
9
|
+
throw new RangeError('This version of `core-js-compat` works only with `core-js@3`.');
|
|
10
10
|
}
|
|
11
11
|
const result = [];
|
|
12
12
|
for (const version of Object.keys(modulesByVersions)) {
|
package/helpers.js
CHANGED
|
@@ -7,7 +7,7 @@ function semver(input) {
|
|
|
7
7
|
// eslint-disable-next-line new-cap -- ok
|
|
8
8
|
if (!(this instanceof semver)) return new semver(input);
|
|
9
9
|
const match = /(\d+)(?:\.(\d+))?(?:\.(\d+))?/.exec(input);
|
|
10
|
-
if (!match) throw TypeError(`Invalid version: ${ input }`);
|
|
10
|
+
if (!match) throw new TypeError(`Invalid version: ${ input }`);
|
|
11
11
|
const [, $major, $minor, $patch] = match;
|
|
12
12
|
this.major = +$major;
|
|
13
13
|
this.minor = $minor ? +$minor : 0;
|
package/modules-by-versions.json
CHANGED
package/modules.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "core-js-compat",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.33.1",
|
|
4
|
+
"type": "commonjs",
|
|
4
5
|
"description": "core-js compat",
|
|
5
6
|
"repository": {
|
|
6
7
|
"type": "git",
|
|
@@ -21,6 +22,6 @@
|
|
|
21
22
|
"main": "index.js",
|
|
22
23
|
"types": "index.d.ts",
|
|
23
24
|
"dependencies": {
|
|
24
|
-
"browserslist": "^4.
|
|
25
|
+
"browserslist": "^4.22.1"
|
|
25
26
|
}
|
|
26
27
|
}
|