Skip to content

Commit

Permalink
update compat-table to d5e9c83b96b23f15318e6b2dc3f5bf51314aa340 (#15970)
Browse files Browse the repository at this point in the history
* update compat-table to d5e9c83b96b23f15318e6b2dc3f5bf51314aa340

* update compat-data

* update test fixtures

* update compat-data workflow Babel 8 commands
  • Loading branch information
JLHwung committed Sep 16, 2023
1 parent feae86e commit 95dcdae
Show file tree
Hide file tree
Showing 30 changed files with 40 additions and 70 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/update-compat-data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@ jobs:
- name: Update tests (Babel 8)
if: steps.updated.outputs.updated == 'true'
continue-on-error: true
run: yarn jest
run: |
make use-esm
yarn jest
env:
OVERWRITE: true
BABEL_8_BREAKING: true
Expand Down
1 change: 1 addition & 0 deletions packages/babel-compat-data/data/plugins.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"opera": "98",
"edge": "112",
"firefox": "116",
"safari": "tp",
"node": "20",
"deno": "1.32",
"opera_mobile": "75",
Expand Down
11 changes: 9 additions & 2 deletions packages/babel-compat-data/scripts/data/plugin-features.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ const es2018 = {
"transform-object-rest-spread": "object rest/spread properties",

"transform-dotall-regex": "s (dotAll) flag for regular expressions",
"transform-unicode-property-regex": "RegExp Unicode Property Escapes",
"transform-unicode-property-regex": "RegExp Unicode Property Escapes / basic",
"transform-named-capturing-groups-regex": "RegExp named capture groups",
};

Expand Down Expand Up @@ -175,7 +175,14 @@ const es2022 = {
};

const es2024 = {
"transform-unicode-sets-regex": "RegExp `v` flag",
"transform-unicode-sets-regex": {
features: [
"RegExp `v` flag / set notations",
"RegExp `v` flag / properties of Strings",
"RegExp `v` flag / constructor supports it",
"RegExp `v` flag / shows up in flags",
],
},
};

const shippedProposal = {};
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
set -e

COMPAT_TABLE_COMMIT=61b6d112578c21827e702360553424b4effabdaa
COMPAT_TABLE_COMMIT=d5e9c83b96b23f15318e6b2dc3f5bf51314aa340
GIT_HEAD=build/compat-table/.git/HEAD

if [ -d "build/compat-table" ]; then
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Using targets:
Using modules transform: auto

Using plugins:
transform-unicode-sets-regex { android, chrome < 112, edge < 112, firefox < 116, ios, node < 20, opera < 98, opera_mobile < 75, safari, samsung }
transform-unicode-sets-regex { android, chrome < 112, edge < 112, firefox < 116, ios, node < 20, opera < 98, opera_mobile < 75, safari < tp, samsung }
transform-class-static-block { android, chrome < 94, edge < 94, firefox < 93, ios < 16.4, node < 16.11, opera < 80, safari < 16.4, samsung < 17 }
transform-private-property-in-object { android, chrome < 91, edge < 91, firefox < 90, ios < 15, node < 16.9, opera < 77, safari < 15, samsung < 16 }
transform-class-properties { android, chrome < 74, edge < 79, firefox < 90, ios < 14.5, opera < 62, safari < 14.1, samsung < 11 }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Using targets:
Using modules transform: auto

Using plugins:
transform-unicode-sets-regex { android, chrome < 112, edge < 112, firefox < 116, ios, node < 20, opera < 98, opera_mobile < 75, safari, samsung }
transform-unicode-sets-regex { android, chrome < 112, edge < 112, firefox < 116, ios, node < 20, opera < 98, opera_mobile < 75, safari < tp, samsung }
transform-class-static-block { android, chrome < 94, edge < 94, firefox < 93, ios < 16.4, node < 16.11, opera < 80, safari < 16.4, samsung < 17 }
transform-private-property-in-object { android, chrome < 91, edge < 91, firefox < 90, ios < 15, node < 16.9, opera < 77, safari < 15, samsung < 16 }
transform-class-properties { android, chrome < 74, edge < 79, firefox < 90, ios < 14.5, opera < 62, safari < 14.1, samsung < 11 }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Using targets:
Using modules transform: auto

Using plugins:
transform-unicode-sets-regex { android, chrome < 112, edge < 112, firefox < 116, ios, node < 20, opera < 98, opera_mobile < 75, safari, samsung }
transform-unicode-sets-regex { android, chrome < 112, edge < 112, firefox < 116, ios, node < 20, opera < 98, opera_mobile < 75, safari < tp, samsung }
transform-class-static-block { android, chrome < 94, edge < 94, firefox < 93, ios < 16.4, node < 16.11, opera < 80, safari < 16.4, samsung < 17 }
transform-private-property-in-object { android, chrome < 91, edge < 91, firefox < 90, ios < 15, node < 16.9, opera < 77, safari < 15, samsung < 16 }
transform-class-properties { android, chrome < 74, edge < 79, firefox < 90, ios < 14.5, opera < 62, safari < 14.1, samsung < 11 }
Expand All @@ -42,6 +42,5 @@ Using plugins:
transform-export-namespace-from { android < 72, chrome < 72, edge < 79, firefox < 80, ios < 14.5, opera < 60, safari < 14.1, samsung < 11.0 }
transform-modules-commonjs
transform-dynamic-import
syntax-import-meta

Using polyfills: No polyfills were added, since the `useBuiltIns` option was not set.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Using targets:
Using modules transform: auto

Using plugins:
transform-unicode-sets-regex { android, chrome < 112, edge < 112, firefox < 116, ios, node < 20, opera < 98, opera_mobile < 75, safari, samsung }
transform-unicode-sets-regex { android, chrome < 112, edge < 112, firefox < 116, ios, node < 20, opera < 98, opera_mobile < 75, safari < tp, samsung }
transform-class-static-block { android, chrome < 94, edge < 94, firefox < 93, ios < 16.4, node < 16.11, opera < 80, safari < 16.4, samsung < 17 }
transform-private-property-in-object { android, chrome < 91, edge < 91, firefox < 90, ios < 15, node < 16.9, opera < 77, safari < 15, samsung < 16 }
transform-class-properties { android, chrome < 74, edge < 79, firefox < 90, ios < 14.5, opera < 62, safari < 14.1, samsung < 11 }
Expand All @@ -44,6 +44,5 @@ Using plugins:
bugfix/transform-tagged-template-caching { ios < 13, safari < 13 }
transform-modules-commonjs
transform-dynamic-import
syntax-import-meta

Using polyfills: No polyfills were added, since the `useBuiltIns` option was not set.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Using targets:
Using modules transform: auto

Using plugins:
transform-unicode-sets-regex { safari }
transform-unicode-sets-regex { safari < tp }
transform-class-static-block { safari < 16.4 }
transform-private-property-in-object { safari < 15 }
transform-class-properties { safari < 14.1 }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Using targets:
Using modules transform: auto

Using plugins:
transform-unicode-sets-regex { safari }
transform-unicode-sets-regex { safari < tp }
transform-class-static-block { safari < 16.4 }
transform-private-property-in-object { safari < 15 }
transform-class-properties { safari < 14.1 }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Using targets:
Using modules transform: auto

Using plugins:
transform-unicode-sets-regex { safari }
transform-unicode-sets-regex { safari < tp }
transform-class-static-block { safari < 16.4 }
transform-private-property-in-object { safari < 15 }
transform-class-properties { safari < 14.1 }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Using targets:
Using modules transform: auto

Using plugins:
transform-unicode-sets-regex { safari }
transform-unicode-sets-regex { safari < tp }
transform-class-static-block { safari < 16.4 }
transform-private-property-in-object { safari < 15 }
transform-class-properties { safari < 14.1 }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Using targets:
Using modules transform: auto

Using plugins:
transform-unicode-sets-regex { safari }
transform-unicode-sets-regex { safari < tp }
transform-class-static-block { safari < 16.4 }
syntax-private-property-in-object
syntax-class-properties
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Using targets:
Using modules transform: auto

Using plugins:
transform-unicode-sets-regex { safari }
transform-unicode-sets-regex { safari < tp }
transform-class-static-block { safari < 16.4 }
syntax-private-property-in-object
syntax-class-properties
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Using targets:
Using modules transform: false

Using plugins:
transform-unicode-sets-regex { android, chrome < 112, edge < 112, firefox < 116, ios, node < 20, opera < 98, opera_mobile < 75, safari, samsung }
transform-unicode-sets-regex { android, chrome < 112, edge < 112, firefox < 116, ios, node < 20, opera < 98, opera_mobile < 75, safari < tp, samsung }
transform-class-static-block { android, chrome < 94, edge < 94, firefox < 93, ios < 16.4, node < 16.11, opera < 80, safari < 16.4, samsung < 17 }
transform-private-property-in-object { android, chrome < 91, edge < 91, firefox < 90, ios < 15, node < 16.9, opera < 77, safari < 15, samsung < 16 }
transform-class-properties { android, chrome < 74, edge < 79, firefox < 90, ios < 14.5, opera < 62, safari < 14.1, samsung < 11 }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Using targets:
Using modules transform: false

Using plugins:
transform-unicode-sets-regex { android, chrome < 112, edge < 112, firefox < 116, ios, node < 20, opera < 98, opera_mobile < 75, safari, samsung }
transform-unicode-sets-regex { android, chrome < 112, edge < 112, firefox < 116, ios, node < 20, opera < 98, opera_mobile < 75, safari < tp, samsung }
transform-class-static-block { android, chrome < 94, edge < 94, firefox < 93, ios < 16.4, node < 16.11, opera < 80, safari < 16.4, samsung < 17 }
transform-private-property-in-object { android, chrome < 91, edge < 91, firefox < 90, ios < 15, node < 16.9, opera < 77, safari < 15, samsung < 16 }
transform-class-properties { android, chrome < 74, edge < 79, firefox < 90, ios < 14.5, opera < 62, safari < 14.1, samsung < 11 }
Expand All @@ -42,8 +42,6 @@ Using plugins:
bugfix/transform-safari-for-shadowing { ios < 11, safari < 11 }
bugfix/transform-safari-id-destructuring-collision-in-function-expression { ios < 16.3, safari < 16.3 }
bugfix/transform-tagged-template-caching { ios < 13, safari < 13 }
syntax-dynamic-import
syntax-import-meta
corejs2: `DEBUG` option

Using targets: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Using targets:
Using modules transform: false

Using plugins:
transform-unicode-sets-regex { android, chrome < 112, edge < 112, firefox < 116, ios, node < 20, opera < 98, opera_mobile < 75, safari, samsung }
transform-unicode-sets-regex { android, chrome < 112, edge < 112, firefox < 116, ios, node < 20, opera < 98, opera_mobile < 75, safari < tp, samsung }
transform-class-static-block { android, chrome < 94, edge < 94, firefox < 93, ios < 16.4, node < 16.11, opera < 80, safari < 16.4, samsung < 17 }
transform-private-property-in-object { android, chrome < 91, edge < 91, firefox < 90, ios < 15, node < 16.9, opera < 77, safari < 15, samsung < 16 }
transform-class-properties { android, chrome < 74, edge < 79, firefox < 90, ios < 14.5, opera < 62, safari < 14.1, samsung < 11 }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Using targets:
Using modules transform: false

Using plugins:
transform-unicode-sets-regex { android, chrome < 112, edge < 112, firefox < 116, ios, node < 20, opera < 98, opera_mobile < 75, safari, samsung }
transform-unicode-sets-regex { android, chrome < 112, edge < 112, firefox < 116, ios, node < 20, opera < 98, opera_mobile < 75, safari < tp, samsung }
transform-class-static-block { android, chrome < 94, edge < 94, firefox < 93, ios < 16.4, node < 16.11, opera < 80, safari < 16.4, samsung < 17 }
transform-private-property-in-object { android, chrome < 91, edge < 91, firefox < 90, ios < 15, node < 16.9, opera < 77, safari < 15, samsung < 16 }
transform-class-properties { android, chrome < 74, edge < 79, firefox < 90, ios < 14.5, opera < 62, safari < 14.1, samsung < 11 }
Expand All @@ -42,8 +42,6 @@ Using plugins:
bugfix/transform-safari-for-shadowing { ios < 11, safari < 11 }
bugfix/transform-safari-id-destructuring-collision-in-function-expression { ios < 16.3, safari < 16.3 }
bugfix/transform-tagged-template-caching { ios < 13, safari < 13 }
syntax-dynamic-import
syntax-import-meta
corejs3: `DEBUG` option

Using targets: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Using targets:
Using modules transform: auto

Using plugins:
transform-unicode-sets-regex { chrome < 112, firefox < 116, ios, opera_mobile < 75, safari, samsung }
transform-unicode-sets-regex { chrome < 112, firefox < 116, ios, opera_mobile < 75, safari < tp, samsung }
transform-class-static-block { ios < 16.4, safari < 16.4 }
syntax-private-property-in-object
syntax-class-properties
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Using targets:
Using modules transform: auto

Using plugins:
transform-unicode-sets-regex { chrome < 112, firefox < 116, ios, opera_mobile < 75, safari, samsung }
transform-unicode-sets-regex { chrome < 112, firefox < 116, ios, opera_mobile < 75, safari < tp, samsung }
transform-class-static-block { ios < 16.4, safari < 16.4 }
syntax-private-property-in-object
syntax-class-properties
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Using targets:
Using modules transform: auto

Using plugins:
transform-unicode-sets-regex { firefox < 116, ios, opera_mobile < 75, safari, samsung }
transform-unicode-sets-regex { firefox < 116, ios, opera_mobile < 75, safari < tp, samsung }
syntax-class-static-block
syntax-private-property-in-object
syntax-class-properties
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Using targets:
Using modules transform: auto

Using plugins:
transform-unicode-sets-regex { chrome < 112, edge < 112, firefox < 116, ie, ios, safari }
transform-unicode-sets-regex { chrome < 112, edge < 112, firefox < 116, ie, ios, safari < tp }
transform-class-static-block { chrome < 94, edge < 94, firefox < 93, ie, ios < 16.4, safari < 16.4 }
transform-private-property-in-object { chrome < 91, edge < 91, firefox < 90, ie, ios < 15, safari < 15 }
transform-class-properties { chrome < 74, edge < 79, firefox < 90, ie, ios < 14.5, safari < 14.1 }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Using targets:
Using modules transform: auto

Using plugins:
transform-unicode-sets-regex { chrome < 112, edge < 112, firefox < 116, ie, ios, safari }
transform-unicode-sets-regex { chrome < 112, edge < 112, firefox < 116, ie, ios, safari < tp }
transform-class-static-block { chrome < 94, edge < 94, firefox < 93, ie, ios < 16.4, safari < 16.4 }
transform-private-property-in-object { chrome < 91, edge < 91, firefox < 90, ie, ios < 15, safari < 15 }
transform-class-properties { chrome < 74, edge < 79, firefox < 90, ie, ios < 14.5, safari < 14.1 }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,11 @@ Using targets:
Using modules transform: auto

Using plugins:
transform-unicode-sets-regex { chrome < 112, firefox < 116, ios, opera_mobile < 75, safari, samsung }
transform-unicode-sets-regex { chrome < 112, firefox < 116, ios, opera_mobile < 75, safari < tp, samsung }
transform-class-static-block { ios < 16.4, safari < 16.4 }
syntax-private-property-in-object
syntax-class-properties
syntax-numeric-separator
syntax-nullish-coalescing-operator
syntax-optional-chaining
syntax-json-strings
syntax-optional-catch-binding
syntax-async-generators
syntax-object-rest-spread
bugfix/transform-safari-id-destructuring-collision-in-function-expression { ios < 16.3, safari < 16.3 }
transform-modules-commonjs
transform-dynamic-import
transform-export-namespace-from { }
syntax-import-meta

Using polyfills: No polyfills were added, since the `useBuiltIns` option was not set.
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,11 @@ Using targets:
Using modules transform: auto

Using plugins:
transform-unicode-sets-regex { chrome < 112, firefox < 116, ios, opera_mobile < 75, safari, samsung }
transform-unicode-sets-regex { chrome < 112, firefox < 116, ios, opera_mobile < 75, safari < tp, samsung }
transform-class-static-block { ios < 16.4, safari < 16.4 }
syntax-private-property-in-object
syntax-class-properties
syntax-numeric-separator
syntax-nullish-coalescing-operator
syntax-optional-chaining
syntax-json-strings
syntax-optional-catch-binding
syntax-async-generators
syntax-object-rest-spread
bugfix/transform-safari-id-destructuring-collision-in-function-expression { ios < 16.3, safari < 16.3 }
transform-modules-commonjs
transform-dynamic-import
transform-export-namespace-from { }
syntax-import-meta

Using polyfills: No polyfills were added, since the `useBuiltIns` option was not set.
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,9 @@ Using targets:
Using modules transform: auto

Using plugins:
transform-unicode-sets-regex { firefox < 116, ios, opera_mobile < 75, safari, samsung }
syntax-class-static-block
syntax-private-property-in-object
syntax-class-properties
syntax-numeric-separator
syntax-nullish-coalescing-operator
syntax-optional-chaining
syntax-json-strings
syntax-optional-catch-binding
syntax-async-generators
syntax-object-rest-spread
transform-unicode-sets-regex { firefox < 116, ios, opera_mobile < 75, safari < tp, samsung }
transform-modules-commonjs
transform-dynamic-import
transform-export-namespace-from { }
syntax-import-meta

Using polyfills: No polyfills were added, since the `useBuiltIns` option was not set.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Using targets:
Using modules transform: auto

Using plugins:
transform-unicode-sets-regex { chrome < 112, edge < 112, firefox < 116, ie, ios, safari }
transform-unicode-sets-regex { chrome < 112, edge < 112, firefox < 116, ie, ios, safari < tp }
transform-class-static-block { chrome < 94, edge < 94, firefox < 93, ie, ios < 16.4, safari < 16.4 }
transform-private-property-in-object { chrome < 91, edge < 91, firefox < 90, ie, ios < 15, safari < 15 }
transform-class-properties { chrome < 74, edge < 79, firefox < 90, ie, ios < 14.5, safari < 14.1 }
Expand Down Expand Up @@ -55,7 +55,6 @@ Using plugins:
transform-export-namespace-from { chrome < 72, edge < 79, firefox < 80, ie, ios < 14.5, safari < 14.1 }
transform-modules-commonjs
transform-dynamic-import
syntax-import-meta
corejs2: `DEBUG` option

Using targets: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Using targets:
Using modules transform: auto

Using plugins:
transform-unicode-sets-regex { chrome < 112, edge < 112, firefox < 116, ie, ios, safari }
transform-unicode-sets-regex { chrome < 112, edge < 112, firefox < 116, ie, ios, safari < tp }
transform-class-static-block { chrome < 94, edge < 94, firefox < 93, ie, ios < 16.4, safari < 16.4 }
transform-private-property-in-object { chrome < 91, edge < 91, firefox < 90, ie, ios < 15, safari < 15 }
transform-class-properties { chrome < 74, edge < 79, firefox < 90, ie, ios < 14.5, safari < 14.1 }
Expand Down Expand Up @@ -55,7 +55,6 @@ Using plugins:
transform-export-namespace-from { chrome < 72, edge < 79, firefox < 80, ie, ios < 14.5, safari < 14.1 }
transform-modules-commonjs
transform-dynamic-import
syntax-import-meta
corejs3: `DEBUG` option

Using targets: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Using targets:
Using modules transform: auto

Using plugins:
transform-unicode-sets-regex { safari }
transform-unicode-sets-regex { safari < tp }
transform-class-static-block { safari < 16.4 }
transform-private-property-in-object { safari < 15 }
transform-class-properties { safari < 14.1 }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Using targets:
Using modules transform: auto

Using plugins:
transform-unicode-sets-regex { safari }
transform-unicode-sets-regex { safari < tp }
transform-class-static-block { safari < 16.4 }
transform-private-property-in-object { safari < 15 }
transform-class-properties { safari < 14.1 }
Expand All @@ -34,6 +34,5 @@ Using plugins:
bugfix/transform-tagged-template-caching { safari < 13 }
transform-modules-commonjs
transform-dynamic-import
syntax-import-meta

Using polyfills: No polyfills were added, since the `useBuiltIns` option was not set.

0 comments on commit 95dcdae

Please sign in to comment.