core-js-compat 3.27.2 → 3.28.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 CHANGED
@@ -6,6 +6,9 @@
6
6
 
7
7
  </div>
8
8
 
9
+ **I highly recommend reading this: [So, what's next?](https://github.com/zloirock/core-js/blob/master/docs/2023-02-14-so-whats-next.md)**
10
+ ---
11
+
9
12
  [`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.
10
13
 
11
14
  ```js
@@ -24,7 +27,7 @@ const {
24
27
  exclude: [ // optional list / filter of modules to exclude, the signature is similar to `modules` option
25
28
  'web.atob',
26
29
  ],
27
- version: '3.27', // used `core-js` version, by default - the latest
30
+ version: '3.28', // used `core-js` version, by default - the latest
28
31
  inverse: false, // inverse of the result - shows modules that are NOT required for the target environment
29
32
  });
30
33
 
@@ -122,11 +125,11 @@ require('core-js-compat/modules'); // => Array<ModuleName>
122
125
  require('core-js-compat').modules; // => Array<ModuleName>
123
126
 
124
127
  // the subset of modules which available in the passed `core-js` version:
125
- require('core-js-compat/get-modules-list-for-target-version')('3.27'); // => Array<ModuleName>
128
+ require('core-js-compat/get-modules-list-for-target-version')('3.28'); // => Array<ModuleName>
126
129
  // or
127
- require('core-js-compat').getModulesListForTargetVersion('3.27'); // => Array<ModuleName>
130
+ require('core-js-compat').getModulesListForTargetVersion('3.28'); // => Array<ModuleName>
128
131
  ```
129
132
 
130
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:
131
134
 
132
- ![compat-table](https://user-images.githubusercontent.com/2213682/202867481-69d28cd6-9e1a-453b-8875-39a5bf92eac3.png)
135
+ ![compat-table](https://user-images.githubusercontent.com/2213682/217452234-ccdcfc5a-c7d3-40d1-ab3f-86902315b8c3.png)
package/data.json CHANGED
@@ -1082,6 +1082,42 @@
1082
1082
  "safari": "10.0",
1083
1083
  "samsung": "5.0"
1084
1084
  },
1085
+ "es.array.to-reversed": {
1086
+ "android": "110",
1087
+ "bun": "0.1.1",
1088
+ "chrome": "110",
1089
+ "chrome-android": "110",
1090
+ "deno": "1.27",
1091
+ "edge": "110",
1092
+ "electron": "23.0",
1093
+ "ios": "16.0",
1094
+ "opera": "96",
1095
+ "safari": "16.0"
1096
+ },
1097
+ "es.array.to-sorted": {
1098
+ "android": "110",
1099
+ "bun": "0.1.1",
1100
+ "chrome": "110",
1101
+ "chrome-android": "110",
1102
+ "deno": "1.27",
1103
+ "edge": "110",
1104
+ "electron": "23.0",
1105
+ "ios": "16.0",
1106
+ "opera": "96",
1107
+ "safari": "16.0"
1108
+ },
1109
+ "es.array.to-spliced": {
1110
+ "android": "110",
1111
+ "bun": "0.1.1",
1112
+ "chrome": "110",
1113
+ "chrome-android": "110",
1114
+ "deno": "1.27",
1115
+ "edge": "110",
1116
+ "electron": "23.0",
1117
+ "ios": "16.0",
1118
+ "opera": "96",
1119
+ "safari": "16.0"
1120
+ },
1085
1121
  "es.array.unscopables.flat": {
1086
1122
  "android": "73",
1087
1123
  "bun": "0.1.1",
@@ -1145,6 +1181,18 @@
1145
1181
  "safari": "16.0",
1146
1182
  "samsung": "10.0"
1147
1183
  },
1184
+ "es.array.with": {
1185
+ "android": "110",
1186
+ "bun": "0.1.1",
1187
+ "chrome": "110",
1188
+ "chrome-android": "110",
1189
+ "deno": "1.27",
1190
+ "edge": "110",
1191
+ "electron": "23.0",
1192
+ "ios": "16.0",
1193
+ "opera": "96",
1194
+ "safari": "16.0"
1195
+ },
1148
1196
  "es.array-buffer.constructor": {
1149
1197
  "android": "4.4",
1150
1198
  "bun": "0.1.1",
@@ -3453,11 +3501,17 @@
3453
3501
  "samsung": "9.0"
3454
3502
  },
3455
3503
  "es.regexp.flags": {
3504
+ "android": "111",
3456
3505
  "bun": "0.1.1",
3506
+ "chrome": "111",
3507
+ "chrome-android": "111",
3508
+ "edge": "111",
3509
+ "electron": "24.0",
3457
3510
  "firefox": "78",
3458
3511
  "firefox-android": "78",
3459
3512
  "hermes": "0.4",
3460
3513
  "ios": "11.3",
3514
+ "opera": "97",
3461
3515
  "react-native": "0.69",
3462
3516
  "safari": "11.1"
3463
3517
  },
@@ -5069,6 +5123,30 @@
5069
5123
  "safari": "10.0",
5070
5124
  "samsung": "5.0"
5071
5125
  },
5126
+ "es.typed-array.to-reversed": {
5127
+ "android": "110",
5128
+ "bun": "0.1.1",
5129
+ "chrome": "110",
5130
+ "chrome-android": "110",
5131
+ "deno": "1.27",
5132
+ "edge": "110",
5133
+ "electron": "23.0",
5134
+ "ios": "16.0",
5135
+ "opera": "96",
5136
+ "safari": "16.0"
5137
+ },
5138
+ "es.typed-array.to-sorted": {
5139
+ "android": "110",
5140
+ "bun": "0.1.1",
5141
+ "chrome": "110",
5142
+ "chrome-android": "110",
5143
+ "deno": "1.27",
5144
+ "edge": "110",
5145
+ "electron": "23.0",
5146
+ "ios": "16.0",
5147
+ "opera": "96",
5148
+ "safari": "16.0"
5149
+ },
5072
5150
  "es.typed-array.to-string": {
5073
5151
  "android": "51",
5074
5152
  "bun": "0.1.1",
@@ -5091,6 +5169,16 @@
5091
5169
  "safari": "10.0",
5092
5170
  "samsung": "5.0"
5093
5171
  },
5172
+ "es.typed-array.with": {
5173
+ "android": "110",
5174
+ "bun": "0.1.9",
5175
+ "chrome": "110",
5176
+ "chrome-android": "110",
5177
+ "deno": "1.27",
5178
+ "edge": "110",
5179
+ "electron": "23.0",
5180
+ "opera": "96"
5181
+ },
5094
5182
  "es.unescape": {
5095
5183
  "android": "3.0",
5096
5184
  "bun": "0.1.1",
@@ -5309,6 +5397,9 @@
5309
5397
  "opera": "96",
5310
5398
  "safari": "16.0"
5311
5399
  },
5400
+ "esnext.array-buffer.detached": {},
5401
+ "esnext.array-buffer.transfer": {},
5402
+ "esnext.array-buffer.transfer-to-fixed-length": {},
5312
5403
  "esnext.async-disposable-stack.constructor": {},
5313
5404
  "esnext.async-iterator.constructor": {},
5314
5405
  "esnext.async-iterator.as-indexed-pairs": {},
@@ -5330,6 +5421,7 @@
5330
5421
  "esnext.composite-key": {},
5331
5422
  "esnext.composite-symbol": {},
5332
5423
  "esnext.disposable-stack.constructor": {},
5424
+ "esnext.function.demethodize": {},
5333
5425
  "esnext.function.is-callable": {},
5334
5426
  "esnext.function.is-constructor": {},
5335
5427
  "esnext.function.un-this": {},
@@ -5368,11 +5460,15 @@
5368
5460
  "esnext.iterator.from": {},
5369
5461
  "esnext.iterator.indexed": {},
5370
5462
  "esnext.iterator.map": {},
5463
+ "esnext.iterator.range": {},
5371
5464
  "esnext.iterator.reduce": {},
5372
5465
  "esnext.iterator.some": {},
5373
5466
  "esnext.iterator.take": {},
5374
5467
  "esnext.iterator.to-array": {},
5375
5468
  "esnext.iterator.to-async": {},
5469
+ "esnext.json.is-raw-json": {},
5470
+ "esnext.json.parse": {},
5471
+ "esnext.json.raw-json": {},
5376
5472
  "esnext.map.delete-all": {},
5377
5473
  "esnext.map.emplace": {},
5378
5474
  "esnext.map.every": {},
@@ -5560,11 +5656,11 @@
5560
5656
  "safari": "13.1",
5561
5657
  "samsung": "14.0"
5562
5658
  },
5563
- "esnext.string.to-well-formed": {
5564
- "bun": "0.4.0"
5565
- },
5659
+ "esnext.string.to-well-formed": {},
5566
5660
  "esnext.symbol.async-dispose": {},
5567
5661
  "esnext.symbol.dispose": {},
5662
+ "esnext.symbol.is-registered": {},
5663
+ "esnext.symbol.is-well-known": {},
5568
5664
  "esnext.symbol.matcher": {},
5569
5665
  "esnext.symbol.metadata": {},
5570
5666
  "esnext.symbol.metadata-key": {},