Skip to content

Commit 3f34138

Browse files
authored
chore: update compat-data (#14475)
* chore: update compat-data * update test fixtures
1 parent 2c7e9f7 commit 3f34138

45 files changed

Lines changed: 289 additions & 290 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,10 @@
8585
"benchmark"
8686
],
8787
"resolutions": {
88-
"browserslist": "npm:4.17.5",
89-
"caniuse-lite": "npm:1.0.30001274",
90-
"core-js-compat": "npm:3.20.2",
91-
"electron-to-chromium": "npm:1.3.749",
88+
"browserslist": "npm:4.20.2",
89+
"caniuse-lite": "npm:1.0.30001332",
90+
"core-js-compat": "npm:3.22.0",
91+
"electron-to-chromium": "npm:1.4.113",
9292
"glob-watcher/chokidar": "npm:^3.4.0",
9393
"@types/babel__core": "link:./nope",
9494
"@types/babel__traverse": "link:./nope",

packages/babel-compat-data/data/plugins.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"opera": "80",
55
"edge": "94",
66
"firefox": "93",
7-
"node": "16.11"
7+
"node": "16.11",
8+
"electron": "15.0"
89
},
910
"proposal-private-property-in-object": {
1011
"chrome": "91",

packages/babel-compat-data/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030
],
3131
"devDependencies": {
3232
"@mdn/browser-compat-data": "^4.0.10",
33-
"core-js-compat": "^3.20.2",
34-
"electron-to-chromium": "^1.3.893"
33+
"core-js-compat": "^3.22.0",
34+
"electron-to-chromium": "^1.4.113"
3535
},
3636
"engines": {
3737
"node": ">=6.9.0"

packages/babel-compat-data/scripts/download-compat-table.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22
set -e
33

4-
COMPAT_TABLE_COMMIT=11c7e1d81049dd0fd765156ba86d61ed8e909a49
4+
COMPAT_TABLE_COMMIT=0649e896a57fc427b9bcbeef1625f376ce474e87
55
GIT_HEAD=build/compat-table/.git/HEAD
66

77
if [ -d "build/compat-table" ]; then

packages/babel-helper-compilation-targets/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"dependencies": {
2525
"@babel/compat-data": "workspace:^",
2626
"@babel/helper-validator-option": "workspace:^",
27-
"browserslist": "^4.17.5",
27+
"browserslist": "^4.20.2",
2828
"semver": "condition:BABEL_8_BREAKING ? ^7.3.4 : ^6.3.0"
2929
},
3030
"peerDependencies": {

packages/babel-preset-env/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
"babel-plugin-polyfill-corejs2": "^0.3.0",
8989
"babel-plugin-polyfill-corejs3": "^0.5.0",
9090
"babel-plugin-polyfill-regenerator": "^0.3.0",
91-
"core-js-compat": "^3.20.2",
91+
"core-js-compat": "^3.22.0",
9292
"semver": "condition:BABEL_8_BREAKING ? ^7.3.4 : ^6.3.0"
9393
},
9494
"peerDependencies": {

packages/babel-preset-env/test/fixtures/debug-babel-7/browserslists-defaults-not-ie/stdout.txt

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,25 @@
22

33
Using targets:
44
{
5-
"android": "94",
6-
"chrome": "91",
7-
"edge": "92",
8-
"firefox": "78",
5+
"android": "99",
6+
"chrome": "97",
7+
"edge": "98",
8+
"firefox": "91",
99
"ios": "12.2",
10-
"opera": "78",
11-
"safari": "13.1",
12-
"samsung": "14"
10+
"opera": "82",
11+
"safari": "14.1",
12+
"samsung": "15"
1313
}
1414

1515
Using modules transform: auto
1616

1717
Using plugins:
18-
proposal-class-static-block { chrome < 94, edge < 94, firefox < 93, ios, opera < 80, safari, samsung }
19-
proposal-private-property-in-object { firefox < 90, ios < 15, safari < 15, samsung }
20-
proposal-class-properties { firefox < 90, ios < 15, safari < 14.1 }
21-
proposal-private-methods { firefox < 90, ios < 15, safari < 15 }
18+
proposal-class-static-block { firefox < 93, ios, safari, samsung }
19+
proposal-private-property-in-object { ios < 15, safari < 15, samsung }
20+
proposal-class-properties { ios < 15 }
21+
proposal-private-methods { ios < 15, safari < 15 }
2222
proposal-numeric-separator { ios < 13 }
23-
proposal-logical-assignment-operators { firefox < 79, ios < 14, safari < 14 }
23+
proposal-logical-assignment-operators { ios < 14 }
2424
proposal-nullish-coalescing-operator { ios < 13.4 }
2525
proposal-optional-chaining { ios < 13.4, samsung }
2626
syntax-json-strings
@@ -29,7 +29,7 @@ Using plugins:
2929
syntax-async-generators
3030
syntax-object-rest-spread
3131
transform-template-literals { ios < 13 }
32-
proposal-export-namespace-from { firefox < 80, ios, safari }
32+
proposal-export-namespace-from { ios, safari }
3333
transform-modules-commonjs
3434
proposal-dynamic-import
3535

packages/babel-preset-env/test/fixtures/debug-babel-7/browserslists-defaults/stdout.txt

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,26 @@
22

33
Using targets:
44
{
5-
"android": "94",
6-
"chrome": "91",
7-
"edge": "92",
8-
"firefox": "78",
5+
"android": "99",
6+
"chrome": "97",
7+
"edge": "98",
8+
"firefox": "91",
99
"ie": "11",
1010
"ios": "12.2",
11-
"opera": "78",
12-
"safari": "13.1",
13-
"samsung": "14"
11+
"opera": "82",
12+
"safari": "14.1",
13+
"samsung": "15"
1414
}
1515

1616
Using modules transform: auto
1717

1818
Using plugins:
19-
proposal-class-static-block { chrome < 94, edge < 94, firefox < 93, ie, ios, opera < 80, safari, samsung }
20-
proposal-private-property-in-object { firefox < 90, ie, ios < 15, safari < 15, samsung }
21-
proposal-class-properties { firefox < 90, ie, ios < 15, safari < 14.1 }
22-
proposal-private-methods { firefox < 90, ie, ios < 15, safari < 15 }
19+
proposal-class-static-block { firefox < 93, ie, ios, safari, samsung }
20+
proposal-private-property-in-object { ie, ios < 15, safari < 15, samsung }
21+
proposal-class-properties { ie, ios < 15 }
22+
proposal-private-methods { ie, ios < 15, safari < 15 }
2323
proposal-numeric-separator { ie, ios < 13 }
24-
proposal-logical-assignment-operators { firefox < 79, ie, ios < 14, safari < 14 }
24+
proposal-logical-assignment-operators { ie, ios < 14 }
2525
proposal-nullish-coalescing-operator { ie, ios < 13.4 }
2626
proposal-optional-chaining { ie, ios < 13.4, samsung }
2727
proposal-json-strings { ie }
@@ -53,7 +53,7 @@ Using plugins:
5353
transform-typeof-symbol { ie }
5454
transform-new-target { ie }
5555
transform-regenerator { ie }
56-
proposal-export-namespace-from { firefox < 80, ie, ios, safari }
56+
proposal-export-namespace-from { ie, ios, safari }
5757
transform-modules-commonjs
5858
proposal-dynamic-import
5959

packages/babel-preset-env/test/fixtures/debug-babel-7/browserslists-last-2-versions-not-ie/stdout.txt

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,22 @@
22

33
Using targets:
44
{
5-
"android": "94",
6-
"chrome": "94",
7-
"edge": "94",
8-
"firefox": "92",
9-
"ios": "14.5",
10-
"opera": "79",
11-
"safari": "14.1",
12-
"samsung": "14"
5+
"android": "99",
6+
"chrome": "99",
7+
"edge": "99",
8+
"firefox": "98",
9+
"ios": "15.2",
10+
"opera": "82",
11+
"safari": "15.2",
12+
"samsung": "15"
1313
}
1414

1515
Using modules transform: auto
1616

1717
Using plugins:
18-
proposal-class-static-block { firefox < 93, ios, opera < 80, safari, samsung }
19-
proposal-private-property-in-object { ios < 15, safari < 15, samsung }
20-
proposal-class-properties { ios < 15 }
21-
proposal-private-methods { ios < 15, safari < 15 }
18+
proposal-class-static-block { ios, safari, samsung }
19+
proposal-private-property-in-object { samsung }
20+
syntax-class-properties
2221
syntax-numeric-separator
2322
syntax-nullish-coalescing-operator
2423
proposal-optional-chaining { samsung }

packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs2-electron/stdout.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Using targets:
88
Using modules transform: auto
99

1010
Using plugins:
11-
proposal-class-static-block { electron }
11+
proposal-class-static-block { electron < 15.0 }
1212
proposal-private-property-in-object { electron < 13.0 }
1313
proposal-class-properties { electron < 6.0 }
1414
proposal-private-methods { electron < 10.0 }

0 commit comments

Comments
 (0)