core-js-compat 3.26.1 → 3.27.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/external.json CHANGED
@@ -3,14 +3,18 @@
3
3
  "android": "61",
4
4
  "bun": "0.1.1",
5
5
  "chrome": "61",
6
+ "chrome-android": "61",
6
7
  "deno": "1.0",
7
8
  "edge": "16",
8
9
  "firefox": "60",
10
+ "firefox-android": "60",
9
11
  "ios": "10.3",
10
12
  "node": "13.2",
11
13
  "oculus": "4.0",
12
14
  "opera": "48",
15
+ "opera-android": "45",
13
16
  "opera_mobile": "45",
17
+ "quest": "4.0",
14
18
  "safari": "10.1",
15
19
  "samsung": "8.0"
16
20
  }
@@ -453,5 +453,20 @@
453
453
  "esnext.string.is-well-formed",
454
454
  "esnext.string.to-well-formed",
455
455
  "web.self"
456
+ ],
457
+ "3.27": [
458
+ "esnext.suppressed-error.constructor",
459
+ "esnext.async-disposable-stack.constructor",
460
+ "esnext.async-iterator.async-dispose",
461
+ "esnext.disposable-stack.constructor",
462
+ "esnext.iterator.dispose",
463
+ "esnext.set.difference.v2",
464
+ "esnext.set.intersection.v2",
465
+ "esnext.set.is-disjoint-from.v2",
466
+ "esnext.set.is-subset-of.v2",
467
+ "esnext.set.is-superset-of.v2",
468
+ "esnext.set.symmetric-difference.v2",
469
+ "esnext.set.union.v2",
470
+ "esnext.string.dedent"
456
471
  ]
457
472
  }
package/modules.json CHANGED
@@ -233,6 +233,7 @@
233
233
  "es.weak-map",
234
234
  "es.weak-set",
235
235
  "esnext.aggregate-error",
236
+ "esnext.suppressed-error.constructor",
236
237
  "esnext.array.from-async",
237
238
  "esnext.array.at",
238
239
  "esnext.array.filter-out",
@@ -251,8 +252,10 @@
251
252
  "esnext.array.to-spliced",
252
253
  "esnext.array.unique-by",
253
254
  "esnext.array.with",
255
+ "esnext.async-disposable-stack.constructor",
254
256
  "esnext.async-iterator.constructor",
255
257
  "esnext.async-iterator.as-indexed-pairs",
258
+ "esnext.async-iterator.async-dispose",
256
259
  "esnext.async-iterator.drop",
257
260
  "esnext.async-iterator.every",
258
261
  "esnext.async-iterator.filter",
@@ -269,12 +272,14 @@
269
272
  "esnext.bigint.range",
270
273
  "esnext.composite-key",
271
274
  "esnext.composite-symbol",
275
+ "esnext.disposable-stack.constructor",
272
276
  "esnext.function.is-callable",
273
277
  "esnext.function.is-constructor",
274
278
  "esnext.function.un-this",
275
279
  "esnext.global-this",
276
280
  "esnext.iterator.constructor",
277
281
  "esnext.iterator.as-indexed-pairs",
282
+ "esnext.iterator.dispose",
278
283
  "esnext.iterator.drop",
279
284
  "esnext.iterator.every",
280
285
  "esnext.iterator.filter",
@@ -343,25 +348,33 @@
343
348
  "esnext.reflect.metadata",
344
349
  "esnext.set.add-all",
345
350
  "esnext.set.delete-all",
351
+ "esnext.set.difference.v2",
346
352
  "esnext.set.difference",
347
353
  "esnext.set.every",
348
354
  "esnext.set.filter",
349
355
  "esnext.set.find",
350
356
  "esnext.set.from",
357
+ "esnext.set.intersection.v2",
351
358
  "esnext.set.intersection",
359
+ "esnext.set.is-disjoint-from.v2",
352
360
  "esnext.set.is-disjoint-from",
361
+ "esnext.set.is-subset-of.v2",
353
362
  "esnext.set.is-subset-of",
363
+ "esnext.set.is-superset-of.v2",
354
364
  "esnext.set.is-superset-of",
355
365
  "esnext.set.join",
356
366
  "esnext.set.map",
357
367
  "esnext.set.of",
358
368
  "esnext.set.reduce",
359
369
  "esnext.set.some",
370
+ "esnext.set.symmetric-difference.v2",
360
371
  "esnext.set.symmetric-difference",
372
+ "esnext.set.union.v2",
361
373
  "esnext.set.union",
362
374
  "esnext.string.at",
363
375
  "esnext.string.cooked",
364
376
  "esnext.string.code-points",
377
+ "esnext.string.dedent",
365
378
  "esnext.string.is-well-formed",
366
379
  "esnext.string.match-all",
367
380
  "esnext.string.replace-all",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "core-js-compat",
3
- "version": "3.26.1",
3
+ "version": "3.27.0",
4
4
  "description": "core-js compat",
5
5
  "repository": {
6
6
  "type": "git",
package/targets-parser.js CHANGED
@@ -4,29 +4,37 @@ const { compare, has } = require('./helpers');
4
4
  const external = require('./external');
5
5
 
6
6
  const aliases = new Map([
7
- ['and_chr', 'chrome'],
8
- ['and_ff', 'firefox'],
7
+ ['and_chr', 'chrome-android'],
8
+ ['and_ff', 'firefox-android'],
9
9
  ['ie_mob', 'ie'],
10
10
  ['ios_saf', 'ios'],
11
- ['op_mob', 'opera_mobile'],
11
+ ['oculus', 'quest'],
12
+ ['op_mob', 'opera-android'],
13
+ // TODO: Remove from `core-js@4`
14
+ ['opera_mobile', 'opera-android'],
15
+ ['react', 'react-native'],
16
+ ['reactnative', 'react-native'],
12
17
  ]);
13
18
 
14
19
  const validTargets = new Set([
15
20
  'android',
16
21
  'bun',
17
22
  'chrome',
23
+ 'chrome-android',
18
24
  'deno',
19
25
  'edge',
20
26
  'electron',
21
27
  'firefox',
28
+ 'firefox-android',
22
29
  'hermes',
23
30
  'ie',
24
31
  'ios',
25
32
  'node',
26
- 'oculus',
27
33
  'opera',
28
- 'opera_mobile',
34
+ 'opera-android',
29
35
  'phantom',
36
+ 'quest',
37
+ 'react-native',
30
38
  'rhino',
31
39
  'safari',
32
40
  'samsung',