diff --git a/packages/babel-preset-env/package.json b/packages/babel-preset-env/package.json index 2643d6eef32f..629b6a23fc49 100644 --- a/packages/babel-preset-env/package.json +++ b/packages/babel-preset-env/package.json @@ -20,6 +20,7 @@ "@babel/helper-compilation-targets": "workspace:^7.15.4", "@babel/helper-plugin-utils": "workspace:^7.14.5", "@babel/helper-validator-option": "workspace:^7.14.5", + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "workspace:^0.0.0", "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "workspace:^7.15.4", "@babel/plugin-proposal-async-generator-functions": "workspace:^7.15.8", "@babel/plugin-proposal-class-properties": "workspace:^7.14.5", diff --git a/packages/babel-preset-env/src/available-plugins.ts b/packages/babel-preset-env/src/available-plugins.ts index 6fca43d54269..4421d1157329 100644 --- a/packages/babel-preset-env/src/available-plugins.ts +++ b/packages/babel-preset-env/src/available-plugins.ts @@ -68,6 +68,7 @@ import bugfixEdgeFunctionName from "@babel/preset-modules/lib/plugins/transform- import bugfixTaggedTemplateCaching from "@babel/preset-modules/lib/plugins/transform-tagged-template-caching"; import bugfixSafariBlockShadowing from "@babel/preset-modules/lib/plugins/transform-safari-block-shadowing"; import bugfixSafariForShadowing from "@babel/preset-modules/lib/plugins/transform-safari-for-shadowing"; +import bugfixSafariIdDestructuringCollisionInFunctionExpression from "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression"; import bugfixV8SpreadParametersInOptionalChaining from "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining"; export default { @@ -76,6 +77,8 @@ export default { "bugfix/transform-edge-function-name": () => bugfixEdgeFunctionName, "bugfix/transform-safari-block-shadowing": () => bugfixSafariBlockShadowing, "bugfix/transform-safari-for-shadowing": () => bugfixSafariForShadowing, + "bugfix/transform-safari-id-destructuring-collision-in-function-expression": + () => bugfixSafariIdDestructuringCollisionInFunctionExpression, "bugfix/transform-tagged-template-caching": () => bugfixTaggedTemplateCaching, "bugfix/transform-v8-spread-parameters-in-optional-chaining": () => bugfixV8SpreadParametersInOptionalChaining, diff --git a/packages/babel-preset-env/test/fixtures/bugfixes/_esmodules-no-bugfixes/stdout.txt b/packages/babel-preset-env/test/fixtures/bugfixes/_esmodules-no-bugfixes/stdout.txt index f240d2108874..5aee069524ca 100644 --- a/packages/babel-preset-env/test/fixtures/bugfixes/_esmodules-no-bugfixes/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/bugfixes/_esmodules-no-bugfixes/stdout.txt @@ -16,13 +16,13 @@ Using targets: Using modules transform: auto Using plugins: - proposal-private-property-in-object { android, chrome < 91, edge, firefox < 90, ios, node, opera, safari, samsung } - proposal-class-properties { android, chrome < 84, edge < 84, firefox < 90, ios, node < 14.6, opera < 70, safari < 15, samsung } - proposal-private-methods { android, chrome < 84, edge < 84, firefox < 90, ios, node < 14.6, opera < 70, safari < 15, samsung } + proposal-private-property-in-object { android, chrome < 91, edge, firefox < 90, ios < 15, node, opera, safari < 15, samsung } + proposal-class-properties { android, chrome < 84, edge < 84, firefox < 90, ios < 15, node < 14.6, opera < 70, safari < 15, samsung < 14 } + proposal-private-methods { android, chrome < 84, edge < 84, firefox < 90, ios < 15, node < 14.6, opera < 70, safari < 15, samsung < 14 } proposal-numeric-separator { android, chrome < 75, edge < 79, firefox < 70, ios < 13, opera < 62, safari < 13, samsung < 11 } - proposal-logical-assignment-operators { android, chrome < 85, edge < 85, firefox < 79, ios < 14, node < 15, opera < 71, safari < 14, samsung } + proposal-logical-assignment-operators { android, chrome < 85, edge < 85, firefox < 79, ios < 14, node < 15, opera < 71, safari < 14, samsung < 14 } proposal-nullish-coalescing-operator { android, chrome < 80, edge < 80, firefox < 72, ios < 13.4, node < 14, opera < 67, safari < 13.1, samsung < 13 } - proposal-optional-chaining { android, chrome, edge, firefox < 74, ios < 13.4, node, opera, safari < 13.1, samsung } + proposal-optional-chaining { android, chrome < 91, edge, firefox < 74, ios < 13.4, node, opera, safari < 13.1, samsung } proposal-json-strings { android, chrome < 66, edge < 79, firefox < 62, ios < 12, opera < 53, safari < 12, samsung < 9 } proposal-optional-catch-binding { android, chrome < 66, edge < 79, ios < 11.3, opera < 53, safari < 11.1, samsung < 9 } transform-parameters { edge < 18 } diff --git a/packages/babel-preset-env/test/fixtures/bugfixes/_esmodules/stdout.txt b/packages/babel-preset-env/test/fixtures/bugfixes/_esmodules/stdout.txt index d8d6d4660d6f..e73fb0488ecb 100644 --- a/packages/babel-preset-env/test/fixtures/bugfixes/_esmodules/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/bugfixes/_esmodules/stdout.txt @@ -16,11 +16,11 @@ Using targets: Using modules transform: auto Using plugins: - proposal-private-property-in-object { android, chrome < 91, edge, firefox < 90, ios, node, opera, safari, samsung } - proposal-class-properties { android, chrome < 84, edge < 84, firefox < 90, ios, node < 14.6, opera < 70, safari < 15, samsung } - proposal-private-methods { android, chrome < 84, edge < 84, firefox < 90, ios, node < 14.6, opera < 70, safari < 15, samsung } + proposal-private-property-in-object { android, chrome < 91, edge, firefox < 90, ios < 15, node, opera, safari < 15, samsung } + proposal-class-properties { android, chrome < 84, edge < 84, firefox < 90, ios < 15, node < 14.6, opera < 70, safari < 15, samsung < 14 } + proposal-private-methods { android, chrome < 84, edge < 84, firefox < 90, ios < 15, node < 14.6, opera < 70, safari < 15, samsung < 14 } proposal-numeric-separator { android, chrome < 75, edge < 79, firefox < 70, ios < 13, opera < 62, safari < 13, samsung < 11 } - proposal-logical-assignment-operators { android, chrome < 85, edge < 85, firefox < 79, ios < 14, node < 15, opera < 71, safari < 14, samsung } + proposal-logical-assignment-operators { android, chrome < 85, edge < 85, firefox < 79, ios < 14, node < 15, opera < 71, safari < 14, samsung < 14 } proposal-nullish-coalescing-operator { android, chrome < 80, edge < 80, firefox < 72, ios < 13.4, node < 14, opera < 67, safari < 13.1, samsung < 13 } proposal-optional-chaining { android, chrome < 80, edge < 80, firefox < 74, ios < 13.4, node < 14, opera < 67, safari < 13.1, samsung < 13 } proposal-json-strings { android, chrome < 66, edge < 79, firefox < 62, ios < 12, opera < 53, safari < 12, samsung < 9 } diff --git a/packages/babel-preset-env/test/fixtures/bugfixes/safari-block-scoping-safari-10-no-bugfixes/stdout.txt b/packages/babel-preset-env/test/fixtures/bugfixes/safari-block-scoping-safari-10-no-bugfixes/stdout.txt index bf329043f484..126db24e1f0d 100644 --- a/packages/babel-preset-env/test/fixtures/bugfixes/safari-block-scoping-safari-10-no-bugfixes/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/bugfixes/safari-block-scoping-safari-10-no-bugfixes/stdout.txt @@ -8,7 +8,7 @@ Using targets: Using modules transform: auto Using plugins: - proposal-private-property-in-object { safari } + proposal-private-property-in-object { safari < 15 } proposal-class-properties { safari < 15 } proposal-private-methods { safari < 15 } proposal-numeric-separator { safari < 13 } diff --git a/packages/babel-preset-env/test/fixtures/bugfixes/safari-block-scoping-safari-10/stdout.txt b/packages/babel-preset-env/test/fixtures/bugfixes/safari-block-scoping-safari-10/stdout.txt index e3e5063a2de2..c16b0d46c4fc 100644 --- a/packages/babel-preset-env/test/fixtures/bugfixes/safari-block-scoping-safari-10/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/bugfixes/safari-block-scoping-safari-10/stdout.txt @@ -8,7 +8,7 @@ Using targets: Using modules transform: auto Using plugins: - proposal-private-property-in-object { safari } + proposal-private-property-in-object { safari < 15 } proposal-class-properties { safari < 15 } proposal-private-methods { safari < 15 } proposal-numeric-separator { safari < 13 } diff --git a/packages/babel-preset-env/test/fixtures/bugfixes/safari-block-scoping-safari-11/stdout.txt b/packages/babel-preset-env/test/fixtures/bugfixes/safari-block-scoping-safari-11/stdout.txt index 4bb3bdd946fd..a6d8403430d0 100644 --- a/packages/babel-preset-env/test/fixtures/bugfixes/safari-block-scoping-safari-11/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/bugfixes/safari-block-scoping-safari-11/stdout.txt @@ -8,7 +8,7 @@ Using targets: Using modules transform: auto Using plugins: - proposal-private-property-in-object { safari } + proposal-private-property-in-object { safari < 15 } proposal-class-properties { safari < 15 } proposal-private-methods { safari < 15 } proposal-numeric-separator { safari < 13 } diff --git a/packages/babel-preset-env/test/fixtures/bugfixes/safari-block-scoping-safari-9/stdout.txt b/packages/babel-preset-env/test/fixtures/bugfixes/safari-block-scoping-safari-9/stdout.txt index 74e4690906ea..d4b5d0f25e8a 100644 --- a/packages/babel-preset-env/test/fixtures/bugfixes/safari-block-scoping-safari-9/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/bugfixes/safari-block-scoping-safari-9/stdout.txt @@ -8,7 +8,7 @@ Using targets: Using modules transform: auto Using plugins: - proposal-private-property-in-object { safari } + proposal-private-property-in-object { safari < 15 } proposal-class-properties { safari < 15 } proposal-private-methods { safari < 15 } proposal-numeric-separator { safari < 13 } diff --git a/packages/babel-preset-env/test/fixtures/bugfixes/safari-id-destructuring-collision-in-function-expression-safari-15-no-bugfixes/input.js b/packages/babel-preset-env/test/fixtures/bugfixes/safari-id-destructuring-collision-in-function-expression-safari-15-no-bugfixes/input.js new file mode 100644 index 000000000000..6dcde952f952 --- /dev/null +++ b/packages/babel-preset-env/test/fixtures/bugfixes/safari-id-destructuring-collision-in-function-expression-safari-15-no-bugfixes/input.js @@ -0,0 +1,5 @@ +(function a(a) {}); + +(function a([a]) {}); + +(function a({a}) {}); diff --git a/packages/babel-preset-env/test/fixtures/bugfixes/safari-id-destructuring-collision-in-function-expression-safari-15-no-bugfixes/options.json b/packages/babel-preset-env/test/fixtures/bugfixes/safari-id-destructuring-collision-in-function-expression-safari-15-no-bugfixes/options.json new file mode 100644 index 000000000000..c9a4cd0f3f24 --- /dev/null +++ b/packages/babel-preset-env/test/fixtures/bugfixes/safari-id-destructuring-collision-in-function-expression-safari-15-no-bugfixes/options.json @@ -0,0 +1,15 @@ +{ + "validateLogs": true, + "presets": [ + [ + "env", + { + "debug": true, + "bugfixes": true, + "targets": { + "safari": "15" + } + } + ] + ] +} diff --git a/packages/babel-preset-env/test/fixtures/bugfixes/safari-id-destructuring-collision-in-function-expression-safari-15-no-bugfixes/output.js b/packages/babel-preset-env/test/fixtures/bugfixes/safari-id-destructuring-collision-in-function-expression-safari-15-no-bugfixes/output.js new file mode 100644 index 000000000000..a0edffd54da5 --- /dev/null +++ b/packages/babel-preset-env/test/fixtures/bugfixes/safari-id-destructuring-collision-in-function-expression-safari-15-no-bugfixes/output.js @@ -0,0 +1,7 @@ +(function a(a) {}); + +(function a([_a]) {}); + +(function a({ + a: _a2 +}) {}); diff --git a/packages/babel-preset-env/test/fixtures/bugfixes/safari-id-destructuring-collision-in-function-expression-safari-15-no-bugfixes/stdout.txt b/packages/babel-preset-env/test/fixtures/bugfixes/safari-id-destructuring-collision-in-function-expression-safari-15-no-bugfixes/stdout.txt new file mode 100644 index 000000000000..e66854d27d79 --- /dev/null +++ b/packages/babel-preset-env/test/fixtures/bugfixes/safari-id-destructuring-collision-in-function-expression-safari-15-no-bugfixes/stdout.txt @@ -0,0 +1,25 @@ +@babel/preset-env: `DEBUG` option + +Using targets: +{ + "safari": "15" +} + +Using modules transform: auto + +Using plugins: + 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 + proposal-export-namespace-from { safari } + bugfix/transform-safari-id-destructuring-collision-in-function-expression { safari } + transform-modules-commonjs + proposal-dynamic-import + +Using polyfills: No polyfills were added, since the `useBuiltIns` option was not set. diff --git a/packages/babel-preset-env/test/fixtures/bugfixes/safari-id-destructuring-collision-in-function-expression-safari-15/input.js b/packages/babel-preset-env/test/fixtures/bugfixes/safari-id-destructuring-collision-in-function-expression-safari-15/input.js new file mode 100644 index 000000000000..6dcde952f952 --- /dev/null +++ b/packages/babel-preset-env/test/fixtures/bugfixes/safari-id-destructuring-collision-in-function-expression-safari-15/input.js @@ -0,0 +1,5 @@ +(function a(a) {}); + +(function a([a]) {}); + +(function a({a}) {}); diff --git a/packages/babel-preset-env/test/fixtures/bugfixes/safari-id-destructuring-collision-in-function-expression-safari-15/options.json b/packages/babel-preset-env/test/fixtures/bugfixes/safari-id-destructuring-collision-in-function-expression-safari-15/options.json new file mode 100644 index 000000000000..280d26a578ac --- /dev/null +++ b/packages/babel-preset-env/test/fixtures/bugfixes/safari-id-destructuring-collision-in-function-expression-safari-15/options.json @@ -0,0 +1,15 @@ +{ + "validateLogs": true, + "presets": [ + [ + "env", + { + "debug": true, + "bugfixes": false, + "targets": { + "safari": "15" + } + } + ] + ] +} diff --git a/packages/babel-preset-env/test/fixtures/bugfixes/safari-id-destructuring-collision-in-function-expression-safari-15/output.js b/packages/babel-preset-env/test/fixtures/bugfixes/safari-id-destructuring-collision-in-function-expression-safari-15/output.js new file mode 100644 index 000000000000..a8e7bb866cd4 --- /dev/null +++ b/packages/babel-preset-env/test/fixtures/bugfixes/safari-id-destructuring-collision-in-function-expression-safari-15/output.js @@ -0,0 +1,7 @@ +(function a(a) {}); + +(function a([a]) {}); + +(function a({ + a +}) {}); diff --git a/packages/babel-preset-env/test/fixtures/bugfixes/safari-id-destructuring-collision-in-function-expression-safari-15/stdout.txt b/packages/babel-preset-env/test/fixtures/bugfixes/safari-id-destructuring-collision-in-function-expression-safari-15/stdout.txt new file mode 100644 index 000000000000..e17b62b731df --- /dev/null +++ b/packages/babel-preset-env/test/fixtures/bugfixes/safari-id-destructuring-collision-in-function-expression-safari-15/stdout.txt @@ -0,0 +1,24 @@ +@babel/preset-env: `DEBUG` option + +Using targets: +{ + "safari": "15" +} + +Using modules transform: auto + +Using plugins: + 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 + proposal-export-namespace-from { safari } + transform-modules-commonjs + proposal-dynamic-import + +Using polyfills: No polyfills were added, since the `useBuiltIns` option was not set. diff --git a/packages/babel-preset-env/test/fixtures/bugfixes/v8-spread-parameters-in-optional-chaining-chrome-89-no-bugfixes/stdout.txt b/packages/babel-preset-env/test/fixtures/bugfixes/v8-spread-parameters-in-optional-chaining-chrome-89-no-bugfixes/stdout.txt index 3734c2a7545b..32d117b89cd5 100644 --- a/packages/babel-preset-env/test/fixtures/bugfixes/v8-spread-parameters-in-optional-chaining-chrome-89-no-bugfixes/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/bugfixes/v8-spread-parameters-in-optional-chaining-chrome-89-no-bugfixes/stdout.txt @@ -12,7 +12,7 @@ Using plugins: syntax-class-properties syntax-numeric-separator syntax-nullish-coalescing-operator - proposal-optional-chaining { chrome } + proposal-optional-chaining { chrome < 91 } syntax-json-strings syntax-optional-catch-binding syntax-async-generators diff --git a/packages/babel-preset-env/test/fixtures/bugfixes/v8-spread-parameters-in-optional-chaining-chrome-89/stdout.txt b/packages/babel-preset-env/test/fixtures/bugfixes/v8-spread-parameters-in-optional-chaining-chrome-89/stdout.txt index 2d6a46f441af..6dbd96da140e 100644 --- a/packages/babel-preset-env/test/fixtures/bugfixes/v8-spread-parameters-in-optional-chaining-chrome-89/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/bugfixes/v8-spread-parameters-in-optional-chaining-chrome-89/stdout.txt @@ -17,7 +17,7 @@ Using plugins: syntax-optional-catch-binding syntax-async-generators syntax-object-rest-spread - bugfix/transform-v8-spread-parameters-in-optional-chaining { chrome } + bugfix/transform-v8-spread-parameters-in-optional-chaining { chrome < 91 } transform-modules-commonjs proposal-dynamic-import proposal-export-namespace-from { } diff --git a/packages/babel-preset-env/test/fixtures/corejs2-babel-7/usage-browserslist-config-ignore/stdout.txt b/packages/babel-preset-env/test/fixtures/corejs2-babel-7/usage-browserslist-config-ignore/stdout.txt index 1b2f4b34ee63..9559c24fd92a 100644 --- a/packages/babel-preset-env/test/fixtures/corejs2-babel-7/usage-browserslist-config-ignore/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/corejs2-babel-7/usage-browserslist-config-ignore/stdout.txt @@ -16,13 +16,13 @@ Using targets: Using modules transform: false Using plugins: - proposal-private-property-in-object { android, chrome < 91, edge, firefox < 90, ios, node, opera, safari, samsung } - proposal-class-properties { android, chrome < 84, edge < 84, firefox < 90, ios, node < 14.6, opera < 70, safari < 15, samsung } - proposal-private-methods { android, chrome < 84, edge < 84, firefox < 90, ios, node < 14.6, opera < 70, safari < 15, samsung } + proposal-private-property-in-object { android, chrome < 91, edge, firefox < 90, ios < 15, node, opera, safari < 15, samsung } + proposal-class-properties { android, chrome < 84, edge < 84, firefox < 90, ios < 15, node < 14.6, opera < 70, safari < 15, samsung < 14 } + proposal-private-methods { android, chrome < 84, edge < 84, firefox < 90, ios < 15, node < 14.6, opera < 70, safari < 15, samsung < 14 } proposal-numeric-separator { android, chrome < 75, edge < 79, firefox < 70, ios < 13, opera < 62, safari < 13, samsung < 11 } - proposal-logical-assignment-operators { android, chrome < 85, edge < 85, firefox < 79, ios < 14, node < 15, opera < 71, safari < 14, samsung } + proposal-logical-assignment-operators { android, chrome < 85, edge < 85, firefox < 79, ios < 14, node < 15, opera < 71, safari < 14, samsung < 14 } proposal-nullish-coalescing-operator { android, chrome < 80, edge < 80, firefox < 72, ios < 13.4, node < 14, opera < 67, safari < 13.1, samsung < 13 } - proposal-optional-chaining { android, chrome, edge, firefox < 74, ios < 13.4, node, opera, safari < 13.1, samsung } + proposal-optional-chaining { android, chrome < 91, edge, firefox < 74, ios < 13.4, node, opera, safari < 13.1, samsung } proposal-json-strings { android, chrome < 66, edge < 79, firefox < 62, ios < 12, opera < 53, safari < 12, samsung < 9 } proposal-optional-catch-binding { android, chrome < 66, edge < 79, ios < 11.3, opera < 53, safari < 11.1, samsung < 9 } transform-parameters { edge < 18 } diff --git a/packages/babel-preset-env/test/fixtures/corejs3-babel-7/usage-browserslist-config-ignore/stdout.txt b/packages/babel-preset-env/test/fixtures/corejs3-babel-7/usage-browserslist-config-ignore/stdout.txt index bb3f88aca4dc..c640682cdb38 100644 --- a/packages/babel-preset-env/test/fixtures/corejs3-babel-7/usage-browserslist-config-ignore/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/corejs3-babel-7/usage-browserslist-config-ignore/stdout.txt @@ -16,13 +16,13 @@ Using targets: Using modules transform: false Using plugins: - proposal-private-property-in-object { android, chrome < 91, edge, firefox < 90, ios, node, opera, safari, samsung } - proposal-class-properties { android, chrome < 84, edge < 84, firefox < 90, ios, node < 14.6, opera < 70, safari < 15, samsung } - proposal-private-methods { android, chrome < 84, edge < 84, firefox < 90, ios, node < 14.6, opera < 70, safari < 15, samsung } + proposal-private-property-in-object { android, chrome < 91, edge, firefox < 90, ios < 15, node, opera, safari < 15, samsung } + proposal-class-properties { android, chrome < 84, edge < 84, firefox < 90, ios < 15, node < 14.6, opera < 70, safari < 15, samsung < 14 } + proposal-private-methods { android, chrome < 84, edge < 84, firefox < 90, ios < 15, node < 14.6, opera < 70, safari < 15, samsung < 14 } proposal-numeric-separator { android, chrome < 75, edge < 79, firefox < 70, ios < 13, opera < 62, safari < 13, samsung < 11 } - proposal-logical-assignment-operators { android, chrome < 85, edge < 85, firefox < 79, ios < 14, node < 15, opera < 71, safari < 14, samsung } + proposal-logical-assignment-operators { android, chrome < 85, edge < 85, firefox < 79, ios < 14, node < 15, opera < 71, safari < 14, samsung < 14 } proposal-nullish-coalescing-operator { android, chrome < 80, edge < 80, firefox < 72, ios < 13.4, node < 14, opera < 67, safari < 13.1, samsung < 13 } - proposal-optional-chaining { android, chrome, edge, firefox < 74, ios < 13.4, node, opera, safari < 13.1, samsung } + proposal-optional-chaining { android, chrome < 91, edge, firefox < 74, ios < 13.4, node, opera, safari < 13.1, samsung } proposal-json-strings { android, chrome < 66, edge < 79, firefox < 62, ios < 12, opera < 53, safari < 12, samsung < 9 } proposal-optional-catch-binding { android, chrome < 66, edge < 79, ios < 11.3, opera < 53, safari < 11.1, samsung < 9 } transform-parameters { edge < 18 } diff --git a/packages/babel-preset-env/test/fixtures/debug-babel-7/browserslists-defaults-not-ie/stdout.txt b/packages/babel-preset-env/test/fixtures/debug-babel-7/browserslists-defaults-not-ie/stdout.txt index deef05de540f..6c46e40e9757 100644 --- a/packages/babel-preset-env/test/fixtures/debug-babel-7/browserslists-defaults-not-ie/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug-babel-7/browserslists-defaults-not-ie/stdout.txt @@ -15,13 +15,13 @@ Using targets: Using modules transform: auto Using plugins: - proposal-private-property-in-object { android, chrome < 91, edge, firefox < 90, ios, opera, safari, samsung } - proposal-class-properties { firefox < 90, ios, safari < 15, samsung } - proposal-private-methods { firefox < 90, ios, safari < 15, samsung } + proposal-private-property-in-object { android, chrome < 91, edge, firefox < 90, ios < 15, opera, safari < 15, samsung } + proposal-class-properties { firefox < 90, ios < 15, safari < 15, samsung < 14 } + proposal-private-methods { firefox < 90, ios < 15, safari < 15, samsung < 14 } syntax-numeric-separator - proposal-logical-assignment-operators { firefox < 79, ios < 14, samsung } + proposal-logical-assignment-operators { firefox < 79, ios < 14, samsung < 14 } syntax-nullish-coalescing-operator - proposal-optional-chaining { android, chrome, edge, opera, samsung } + proposal-optional-chaining { android, chrome < 91, edge, opera, samsung } syntax-json-strings syntax-optional-catch-binding syntax-async-generators diff --git a/packages/babel-preset-env/test/fixtures/debug-babel-7/browserslists-defaults/stdout.txt b/packages/babel-preset-env/test/fixtures/debug-babel-7/browserslists-defaults/stdout.txt index 4b34245faa62..620d220a17f1 100644 --- a/packages/babel-preset-env/test/fixtures/debug-babel-7/browserslists-defaults/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug-babel-7/browserslists-defaults/stdout.txt @@ -16,13 +16,13 @@ Using targets: Using modules transform: auto Using plugins: - proposal-private-property-in-object { android, chrome < 91, edge, firefox < 90, ie, ios, opera, safari, samsung } - proposal-class-properties { firefox < 90, ie, ios, safari < 15, samsung } - proposal-private-methods { firefox < 90, ie, ios, safari < 15, samsung } + proposal-private-property-in-object { android, chrome < 91, edge, firefox < 90, ie, ios < 15, opera, safari < 15, samsung } + proposal-class-properties { firefox < 90, ie, ios < 15, safari < 15, samsung < 14 } + proposal-private-methods { firefox < 90, ie, ios < 15, safari < 15, samsung < 14 } proposal-numeric-separator { ie } - proposal-logical-assignment-operators { firefox < 79, ie, ios < 14, samsung } + proposal-logical-assignment-operators { firefox < 79, ie, ios < 14, samsung < 14 } proposal-nullish-coalescing-operator { ie } - proposal-optional-chaining { android, chrome, edge, ie, opera, samsung } + proposal-optional-chaining { android, chrome < 91, edge, ie, opera, samsung } proposal-json-strings { ie } proposal-optional-catch-binding { ie } transform-parameters { ie } diff --git a/packages/babel-preset-env/test/fixtures/debug-babel-7/browserslists-last-2-versions-not-ie/stdout.txt b/packages/babel-preset-env/test/fixtures/debug-babel-7/browserslists-last-2-versions-not-ie/stdout.txt index c02e47e238b7..7c84921dda89 100644 --- a/packages/babel-preset-env/test/fixtures/debug-babel-7/browserslists-last-2-versions-not-ie/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug-babel-7/browserslists-last-2-versions-not-ie/stdout.txt @@ -15,13 +15,13 @@ Using targets: Using modules transform: auto Using plugins: - proposal-private-property-in-object { android, chrome < 91, edge, firefox < 90, ios, opera, safari, samsung } - proposal-class-properties { firefox < 90, ios, safari < 15, samsung } - proposal-private-methods { firefox < 90, ios, safari < 15, samsung } + proposal-private-property-in-object { android, chrome < 91, edge, firefox < 90, ios < 15, opera, safari < 15, samsung } + proposal-class-properties { firefox < 90, ios < 15, safari < 15, samsung < 14 } + proposal-private-methods { firefox < 90, ios < 15, safari < 15, samsung < 14 } syntax-numeric-separator - proposal-logical-assignment-operators { samsung } + proposal-logical-assignment-operators { samsung < 14 } syntax-nullish-coalescing-operator - proposal-optional-chaining { android, chrome, edge, opera, samsung } + proposal-optional-chaining { android, chrome < 91, edge, opera, samsung } syntax-json-strings syntax-optional-catch-binding syntax-async-generators diff --git a/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs2-electron/stdout.txt b/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs2-electron/stdout.txt index effdad827953..7a7b530f8e46 100644 --- a/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs2-electron/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs2-electron/stdout.txt @@ -14,7 +14,7 @@ Using plugins: proposal-numeric-separator { electron < 6.0 } proposal-logical-assignment-operators { electron < 10.0 } proposal-nullish-coalescing-operator { electron < 8.0 } - proposal-optional-chaining { electron } + proposal-optional-chaining { electron < 13.0 } proposal-json-strings { electron < 3.0 } proposal-optional-catch-binding { electron < 3.0 } transform-parameters { electron < 0.37 } diff --git a/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs2-force-all-transforms/stdout.txt b/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs2-force-all-transforms/stdout.txt index 0617fd20f350..2c6ac562ec44 100644 --- a/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs2-force-all-transforms/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs2-force-all-transforms/stdout.txt @@ -14,7 +14,7 @@ Using plugins: proposal-numeric-separator { chrome < 75 } proposal-logical-assignment-operators { chrome < 85 } proposal-nullish-coalescing-operator { chrome < 80 } - proposal-optional-chaining { chrome } + proposal-optional-chaining { chrome < 91 } proposal-json-strings { chrome < 66 } proposal-optional-catch-binding { chrome < 66 } transform-parameters { } diff --git a/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs2-proposals-chrome-71/stdout.txt b/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs2-proposals-chrome-71/stdout.txt index de6e5dc4a05d..c324fd05ef20 100644 --- a/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs2-proposals-chrome-71/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs2-proposals-chrome-71/stdout.txt @@ -14,7 +14,7 @@ Using plugins: proposal-numeric-separator { chrome < 75 } proposal-logical-assignment-operators { chrome < 85 } proposal-nullish-coalescing-operator { chrome < 80 } - proposal-optional-chaining { chrome } + proposal-optional-chaining { chrome < 91 } syntax-json-strings syntax-optional-catch-binding syntax-async-generators diff --git a/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs2-shippedProposals-chrome-71/stdout.txt b/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs2-shippedProposals-chrome-71/stdout.txt index 4af2511633a2..ec36759cc3ca 100644 --- a/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs2-shippedProposals-chrome-71/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs2-shippedProposals-chrome-71/stdout.txt @@ -8,14 +8,14 @@ Using targets: Using modules transform: auto Using plugins: - proposal-class-static-block { chrome < 91 } + proposal-class-static-block { chrome < 94 } proposal-private-property-in-object { chrome < 91 } proposal-class-properties { chrome < 84 } proposal-private-methods { chrome < 84 } proposal-numeric-separator { chrome < 75 } proposal-logical-assignment-operators { chrome < 85 } proposal-nullish-coalescing-operator { chrome < 80 } - proposal-optional-chaining { chrome } + proposal-optional-chaining { chrome < 91 } syntax-json-strings syntax-optional-catch-binding syntax-async-generators diff --git a/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs2-specific-targets/stdout.txt b/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs2-specific-targets/stdout.txt index d6927aac8010..3c4e6b61f36f 100644 --- a/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs2-specific-targets/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs2-specific-targets/stdout.txt @@ -13,13 +13,13 @@ Using targets: Using modules transform: auto Using plugins: - proposal-private-property-in-object { chrome < 91, edge, firefox < 90, ie, ios, safari } - proposal-class-properties { chrome < 84, edge < 84, firefox < 90, ie, ios, safari < 15 } - proposal-private-methods { chrome < 84, edge < 84, firefox < 90, ie, ios, safari < 15 } + proposal-private-property-in-object { chrome < 91, edge, firefox < 90, ie, ios < 15, safari < 15 } + proposal-class-properties { chrome < 84, edge < 84, firefox < 90, ie, ios < 15, safari < 15 } + proposal-private-methods { chrome < 84, edge < 84, firefox < 90, ie, ios < 15, safari < 15 } proposal-numeric-separator { chrome < 75, edge < 79, firefox < 70, ie, ios < 13, safari < 13 } proposal-logical-assignment-operators { chrome < 85, edge < 85, firefox < 79, ie, ios < 14, safari < 14 } proposal-nullish-coalescing-operator { chrome < 80, edge < 80, firefox < 72, ie, ios < 13.4, safari < 13.1 } - proposal-optional-chaining { chrome, edge, firefox < 74, ie, ios < 13.4, safari < 13.1 } + proposal-optional-chaining { chrome < 91, edge, firefox < 74, ie, ios < 13.4, safari < 13.1 } proposal-json-strings { chrome < 66, edge < 79, firefox < 62, ie, ios < 12, safari < 12 } proposal-optional-catch-binding { chrome < 66, edge < 79, firefox < 58, ie, ios < 11.3, safari < 11.1 } transform-parameters { edge < 18, firefox < 53, ie, ios < 10, safari < 10 } diff --git a/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs2-versions-decimals/stdout.txt b/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs2-versions-decimals/stdout.txt index 825ca2bcf01b..2227709fd290 100644 --- a/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs2-versions-decimals/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs2-versions-decimals/stdout.txt @@ -17,7 +17,7 @@ Using plugins: proposal-numeric-separator { chrome < 75, electron < 6.0, ie, node < 12.5 } proposal-logical-assignment-operators { chrome < 85, electron < 10.0, ie, node < 15 } proposal-nullish-coalescing-operator { chrome < 80, electron < 8.0, ie, node < 14 } - proposal-optional-chaining { chrome, electron, ie, node } + proposal-optional-chaining { chrome < 91, electron < 13.0, ie, node } proposal-json-strings { chrome < 66, electron < 3.0, ie, node < 10 } proposal-optional-catch-binding { chrome < 66, electron < 3.0, ie, node < 10 } transform-parameters { electron < 0.37, ie } diff --git a/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs2-versions-strings/stdout.txt b/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs2-versions-strings/stdout.txt index c14497cc5d6e..e2b94a9f1c6e 100644 --- a/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs2-versions-strings/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs2-versions-strings/stdout.txt @@ -16,7 +16,7 @@ Using plugins: proposal-numeric-separator { chrome < 75, ie, node < 12.5 } proposal-logical-assignment-operators { chrome < 85, ie, node < 15 } proposal-nullish-coalescing-operator { chrome < 80, ie, node < 14 } - proposal-optional-chaining { chrome, ie, node } + proposal-optional-chaining { chrome < 91, ie, node } proposal-json-strings { chrome < 66, ie, node < 10 } proposal-optional-catch-binding { chrome < 66, ie, node < 10 } transform-parameters { ie } diff --git a/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs2/stdout.txt b/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs2/stdout.txt index 0e6a7c94fa9d..fca48964fa97 100644 --- a/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs2/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs2/stdout.txt @@ -16,7 +16,7 @@ Using plugins: proposal-numeric-separator { chrome < 75, ie, node < 12.5 } proposal-logical-assignment-operators { chrome < 85, ie, node < 15 } proposal-nullish-coalescing-operator { chrome < 80, ie, node < 14 } - proposal-optional-chaining { chrome, ie, node } + proposal-optional-chaining { chrome < 91, ie, node } proposal-json-strings { chrome < 66, ie, node < 10 } proposal-optional-catch-binding { chrome < 66, ie, node < 10 } transform-parameters { ie } diff --git a/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs3-all-chrome-71/stdout.txt b/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs3-all-chrome-71/stdout.txt index 4b419c3c6ae0..c4b7b5ac4d64 100644 --- a/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs3-all-chrome-71/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs3-all-chrome-71/stdout.txt @@ -8,14 +8,14 @@ Using targets: Using modules transform: auto Using plugins: - proposal-class-static-block { chrome < 91 } + proposal-class-static-block { chrome < 94 } proposal-private-property-in-object { chrome < 91 } proposal-class-properties { chrome < 84 } proposal-private-methods { chrome < 84 } proposal-numeric-separator { chrome < 75 } proposal-logical-assignment-operators { chrome < 85 } proposal-nullish-coalescing-operator { chrome < 80 } - proposal-optional-chaining { chrome } + proposal-optional-chaining { chrome < 91 } syntax-json-strings syntax-optional-catch-binding syntax-async-generators diff --git a/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs3-electron/stdout.txt b/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs3-electron/stdout.txt index ef51d886f406..d3809faea882 100644 --- a/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs3-electron/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs3-electron/stdout.txt @@ -14,7 +14,7 @@ Using plugins: proposal-numeric-separator { electron < 6.0 } proposal-logical-assignment-operators { electron < 10.0 } proposal-nullish-coalescing-operator { electron < 8.0 } - proposal-optional-chaining { electron } + proposal-optional-chaining { electron < 13.0 } proposal-json-strings { electron < 3.0 } proposal-optional-catch-binding { electron < 3.0 } transform-parameters { electron < 0.37 } diff --git a/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs3-es-chrome-71/stdout.txt b/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs3-es-chrome-71/stdout.txt index 6fcd4c60653d..cb4a642b04be 100644 --- a/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs3-es-chrome-71/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs3-es-chrome-71/stdout.txt @@ -8,14 +8,14 @@ Using targets: Using modules transform: auto Using plugins: - proposal-class-static-block { chrome < 91 } + proposal-class-static-block { chrome < 94 } proposal-private-property-in-object { chrome < 91 } proposal-class-properties { chrome < 84 } proposal-private-methods { chrome < 84 } proposal-numeric-separator { chrome < 75 } proposal-logical-assignment-operators { chrome < 85 } proposal-nullish-coalescing-operator { chrome < 80 } - proposal-optional-chaining { chrome } + proposal-optional-chaining { chrome < 91 } syntax-json-strings syntax-optional-catch-binding syntax-async-generators diff --git a/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs3-es-proposals-chrome-71/stdout.txt b/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs3-es-proposals-chrome-71/stdout.txt index 460748f361b4..96883f5e14fb 100644 --- a/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs3-es-proposals-chrome-71/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs3-es-proposals-chrome-71/stdout.txt @@ -8,14 +8,14 @@ Using targets: Using modules transform: auto Using plugins: - proposal-class-static-block { chrome < 91 } + proposal-class-static-block { chrome < 94 } proposal-private-property-in-object { chrome < 91 } proposal-class-properties { chrome < 84 } proposal-private-methods { chrome < 84 } proposal-numeric-separator { chrome < 75 } proposal-logical-assignment-operators { chrome < 85 } proposal-nullish-coalescing-operator { chrome < 80 } - proposal-optional-chaining { chrome } + proposal-optional-chaining { chrome < 91 } syntax-json-strings syntax-optional-catch-binding syntax-async-generators diff --git a/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs3-force-all-transforms/stdout.txt b/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs3-force-all-transforms/stdout.txt index 5de416264cb3..e415649919c9 100644 --- a/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs3-force-all-transforms/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs3-force-all-transforms/stdout.txt @@ -14,7 +14,7 @@ Using plugins: proposal-numeric-separator { chrome < 75 } proposal-logical-assignment-operators { chrome < 85 } proposal-nullish-coalescing-operator { chrome < 80 } - proposal-optional-chaining { chrome } + proposal-optional-chaining { chrome < 91 } proposal-json-strings { chrome < 66 } proposal-optional-catch-binding { chrome < 66 } transform-parameters { } diff --git a/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs3-proposals-chrome-71/stdout.txt b/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs3-proposals-chrome-71/stdout.txt index cb7cdc0d93cc..59d6214f2ad0 100644 --- a/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs3-proposals-chrome-71/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs3-proposals-chrome-71/stdout.txt @@ -14,7 +14,7 @@ Using plugins: proposal-numeric-separator { chrome < 75 } proposal-logical-assignment-operators { chrome < 85 } proposal-nullish-coalescing-operator { chrome < 80 } - proposal-optional-chaining { chrome } + proposal-optional-chaining { chrome < 91 } syntax-json-strings syntax-optional-catch-binding syntax-async-generators diff --git a/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs3-runtime-only-chrome-71/stdout.txt b/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs3-runtime-only-chrome-71/stdout.txt index 12c006098f55..c2f172087535 100644 --- a/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs3-runtime-only-chrome-71/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs3-runtime-only-chrome-71/stdout.txt @@ -8,14 +8,14 @@ Using targets: Using modules transform: auto Using plugins: - proposal-class-static-block { chrome < 91 } + proposal-class-static-block { chrome < 94 } proposal-private-property-in-object { chrome < 91 } proposal-class-properties { chrome < 84 } proposal-private-methods { chrome < 84 } proposal-numeric-separator { chrome < 75 } proposal-logical-assignment-operators { chrome < 85 } proposal-nullish-coalescing-operator { chrome < 80 } - proposal-optional-chaining { chrome } + proposal-optional-chaining { chrome < 91 } syntax-json-strings syntax-optional-catch-binding syntax-async-generators diff --git a/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs3-runtime-only/stdout.txt b/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs3-runtime-only/stdout.txt index bcaf2b996888..2f271167ae24 100644 --- a/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs3-runtime-only/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs3-runtime-only/stdout.txt @@ -8,14 +8,14 @@ Using targets: Using modules transform: auto Using plugins: - proposal-class-static-block { chrome < 91 } + proposal-class-static-block { chrome < 94 } proposal-private-property-in-object { chrome < 91 } proposal-class-properties { chrome < 84 } proposal-private-methods { chrome < 84 } proposal-numeric-separator { chrome < 75 } proposal-logical-assignment-operators { chrome < 85 } proposal-nullish-coalescing-operator { chrome < 80 } - proposal-optional-chaining { chrome } + proposal-optional-chaining { chrome < 91 } syntax-json-strings syntax-optional-catch-binding syntax-async-generators diff --git a/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs3-specific-entries-chrome-71/stdout.txt b/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs3-specific-entries-chrome-71/stdout.txt index b808eb47fd00..c2fae26a8f06 100644 --- a/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs3-specific-entries-chrome-71/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs3-specific-entries-chrome-71/stdout.txt @@ -8,14 +8,14 @@ Using targets: Using modules transform: auto Using plugins: - proposal-class-static-block { chrome < 91 } + proposal-class-static-block { chrome < 94 } proposal-private-property-in-object { chrome < 91 } proposal-class-properties { chrome < 84 } proposal-private-methods { chrome < 84 } proposal-numeric-separator { chrome < 75 } proposal-logical-assignment-operators { chrome < 85 } proposal-nullish-coalescing-operator { chrome < 80 } - proposal-optional-chaining { chrome } + proposal-optional-chaining { chrome < 91 } syntax-json-strings syntax-optional-catch-binding syntax-async-generators diff --git a/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs3-specific-targets/stdout.txt b/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs3-specific-targets/stdout.txt index 61717b6af32d..e5ea28f9f5e5 100644 --- a/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs3-specific-targets/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs3-specific-targets/stdout.txt @@ -13,13 +13,13 @@ Using targets: Using modules transform: auto Using plugins: - proposal-private-property-in-object { chrome < 91, edge, firefox < 90, ie, ios, safari } - proposal-class-properties { chrome < 84, edge < 84, firefox < 90, ie, ios, safari < 15 } - proposal-private-methods { chrome < 84, edge < 84, firefox < 90, ie, ios, safari < 15 } + proposal-private-property-in-object { chrome < 91, edge, firefox < 90, ie, ios < 15, safari < 15 } + proposal-class-properties { chrome < 84, edge < 84, firefox < 90, ie, ios < 15, safari < 15 } + proposal-private-methods { chrome < 84, edge < 84, firefox < 90, ie, ios < 15, safari < 15 } proposal-numeric-separator { chrome < 75, edge < 79, firefox < 70, ie, ios < 13, safari < 13 } proposal-logical-assignment-operators { chrome < 85, edge < 85, firefox < 79, ie, ios < 14, safari < 14 } proposal-nullish-coalescing-operator { chrome < 80, edge < 80, firefox < 72, ie, ios < 13.4, safari < 13.1 } - proposal-optional-chaining { chrome, edge, firefox < 74, ie, ios < 13.4, safari < 13.1 } + proposal-optional-chaining { chrome < 91, edge, firefox < 74, ie, ios < 13.4, safari < 13.1 } proposal-json-strings { chrome < 66, edge < 79, firefox < 62, ie, ios < 12, safari < 12 } proposal-optional-catch-binding { chrome < 66, edge < 79, firefox < 58, ie, ios < 11.3, safari < 11.1 } transform-parameters { edge < 18, firefox < 53, ie, ios < 10, safari < 10 } diff --git a/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs3-stable-chrome-71/stdout.txt b/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs3-stable-chrome-71/stdout.txt index e19daed812c0..32071ac4ed36 100644 --- a/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs3-stable-chrome-71/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs3-stable-chrome-71/stdout.txt @@ -8,14 +8,14 @@ Using targets: Using modules transform: auto Using plugins: - proposal-class-static-block { chrome < 91 } + proposal-class-static-block { chrome < 94 } proposal-private-property-in-object { chrome < 91 } proposal-class-properties { chrome < 84 } proposal-private-methods { chrome < 84 } proposal-numeric-separator { chrome < 75 } proposal-logical-assignment-operators { chrome < 85 } proposal-nullish-coalescing-operator { chrome < 80 } - proposal-optional-chaining { chrome } + proposal-optional-chaining { chrome < 91 } syntax-json-strings syntax-optional-catch-binding syntax-async-generators diff --git a/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs3-stable-samsung-8.2/stdout.txt b/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs3-stable-samsung-8.2/stdout.txt index 144a91063405..c95ea3740934 100644 --- a/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs3-stable-samsung-8.2/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs3-stable-samsung-8.2/stdout.txt @@ -10,10 +10,10 @@ Using modules transform: auto Using plugins: proposal-class-static-block { samsung } proposal-private-property-in-object { samsung } - proposal-class-properties { samsung } - proposal-private-methods { samsung } + proposal-class-properties { samsung < 14 } + proposal-private-methods { samsung < 14 } proposal-numeric-separator { samsung < 11 } - proposal-logical-assignment-operators { samsung } + proposal-logical-assignment-operators { samsung < 14 } proposal-nullish-coalescing-operator { samsung < 13 } proposal-optional-chaining { samsung } proposal-json-strings { samsung < 9 } diff --git a/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs3-stage-chrome-71/stdout.txt b/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs3-stage-chrome-71/stdout.txt index 31bd6fb4df92..5ba7835ef11c 100644 --- a/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs3-stage-chrome-71/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs3-stage-chrome-71/stdout.txt @@ -8,14 +8,14 @@ Using targets: Using modules transform: auto Using plugins: - proposal-class-static-block { chrome < 91 } + proposal-class-static-block { chrome < 94 } proposal-private-property-in-object { chrome < 91 } proposal-class-properties { chrome < 84 } proposal-private-methods { chrome < 84 } proposal-numeric-separator { chrome < 75 } proposal-logical-assignment-operators { chrome < 85 } proposal-nullish-coalescing-operator { chrome < 80 } - proposal-optional-chaining { chrome } + proposal-optional-chaining { chrome < 91 } syntax-json-strings syntax-optional-catch-binding syntax-async-generators diff --git a/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs3-versions-decimals/stdout.txt b/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs3-versions-decimals/stdout.txt index d1a014a75b99..257ec45621a2 100644 --- a/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs3-versions-decimals/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs3-versions-decimals/stdout.txt @@ -17,7 +17,7 @@ Using plugins: proposal-numeric-separator { chrome < 75, electron < 6.0, ie, node < 12.5 } proposal-logical-assignment-operators { chrome < 85, electron < 10.0, ie, node < 15 } proposal-nullish-coalescing-operator { chrome < 80, electron < 8.0, ie, node < 14 } - proposal-optional-chaining { chrome, electron, ie, node } + proposal-optional-chaining { chrome < 91, electron < 13.0, ie, node } proposal-json-strings { chrome < 66, electron < 3.0, ie, node < 10 } proposal-optional-catch-binding { chrome < 66, electron < 3.0, ie, node < 10 } transform-parameters { electron < 0.37, ie } diff --git a/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs3-versions-strings-minor-3.0/stdout.txt b/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs3-versions-strings-minor-3.0/stdout.txt index 5fd6f2fe1ddd..05cf188a14e3 100644 --- a/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs3-versions-strings-minor-3.0/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs3-versions-strings-minor-3.0/stdout.txt @@ -16,7 +16,7 @@ Using plugins: proposal-numeric-separator { chrome < 75, ie, node < 12.5 } proposal-logical-assignment-operators { chrome < 85, ie, node < 15 } proposal-nullish-coalescing-operator { chrome < 80, ie, node < 14 } - proposal-optional-chaining { chrome, ie, node } + proposal-optional-chaining { chrome < 91, ie, node } proposal-json-strings { chrome < 66, ie, node < 10 } proposal-optional-catch-binding { chrome < 66, ie, node < 10 } transform-parameters { ie } diff --git a/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs3-versions-strings-minor-3.1/stdout.txt b/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs3-versions-strings-minor-3.1/stdout.txt index d3b9955808d7..594f01eb0d03 100644 --- a/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs3-versions-strings-minor-3.1/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs3-versions-strings-minor-3.1/stdout.txt @@ -16,7 +16,7 @@ Using plugins: proposal-numeric-separator { chrome < 75, ie, node < 12.5 } proposal-logical-assignment-operators { chrome < 85, ie, node < 15 } proposal-nullish-coalescing-operator { chrome < 80, ie, node < 14 } - proposal-optional-chaining { chrome, ie, node } + proposal-optional-chaining { chrome < 91, ie, node } proposal-json-strings { chrome < 66, ie, node < 10 } proposal-optional-catch-binding { chrome < 66, ie, node < 10 } transform-parameters { ie } diff --git a/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs3-versions-strings/stdout.txt b/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs3-versions-strings/stdout.txt index 0936a57113a0..a6e840652118 100644 --- a/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs3-versions-strings/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs3-versions-strings/stdout.txt @@ -16,7 +16,7 @@ Using plugins: proposal-numeric-separator { chrome < 75, ie, node < 12.5 } proposal-logical-assignment-operators { chrome < 85, ie, node < 15 } proposal-nullish-coalescing-operator { chrome < 80, ie, node < 14 } - proposal-optional-chaining { chrome, ie, node } + proposal-optional-chaining { chrome < 91, ie, node } proposal-json-strings { chrome < 66, ie, node < 10 } proposal-optional-catch-binding { chrome < 66, ie, node < 10 } transform-parameters { ie } diff --git a/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs3-web-chrome-71/stdout.txt b/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs3-web-chrome-71/stdout.txt index 72085bb03229..94c1ee97917f 100644 --- a/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs3-web-chrome-71/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs3-web-chrome-71/stdout.txt @@ -8,14 +8,14 @@ Using targets: Using modules transform: auto Using plugins: - proposal-class-static-block { chrome < 91 } + proposal-class-static-block { chrome < 94 } proposal-private-property-in-object { chrome < 91 } proposal-class-properties { chrome < 84 } proposal-private-methods { chrome < 84 } proposal-numeric-separator { chrome < 75 } proposal-logical-assignment-operators { chrome < 85 } proposal-nullish-coalescing-operator { chrome < 80 } - proposal-optional-chaining { chrome } + proposal-optional-chaining { chrome < 91 } syntax-json-strings syntax-optional-catch-binding syntax-async-generators diff --git a/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs3/stdout.txt b/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs3/stdout.txt index de4f14c5a4bc..b80eb59a7958 100644 --- a/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs3/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-corejs3/stdout.txt @@ -16,7 +16,7 @@ Using plugins: proposal-numeric-separator { chrome < 75, ie, node < 12.5 } proposal-logical-assignment-operators { chrome < 85, ie, node < 15 } proposal-nullish-coalescing-operator { chrome < 80, ie, node < 14 } - proposal-optional-chaining { chrome, ie, node } + proposal-optional-chaining { chrome < 91, ie, node } proposal-json-strings { chrome < 66, ie, node < 10 } proposal-optional-catch-binding { chrome < 66, ie, node < 10 } transform-parameters { ie } diff --git a/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-no-corejs-uglify/stdout.txt b/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-no-corejs-uglify/stdout.txt index 47fd298711f7..c22df8bf874a 100644 --- a/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-no-corejs-uglify/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-no-corejs-uglify/stdout.txt @@ -14,7 +14,7 @@ Using plugins: proposal-numeric-separator { chrome < 75 } proposal-logical-assignment-operators { chrome < 85 } proposal-nullish-coalescing-operator { chrome < 80 } - proposal-optional-chaining { chrome } + proposal-optional-chaining { chrome < 91 } proposal-json-strings { chrome < 66 } proposal-optional-catch-binding { chrome < 66 } transform-parameters { } diff --git a/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-no-corejs/stdout.txt b/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-no-corejs/stdout.txt index 0adbf8a7a8b6..5c598d37ac91 100644 --- a/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-no-corejs/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug-babel-7/entry-no-corejs/stdout.txt @@ -16,7 +16,7 @@ Using plugins: proposal-numeric-separator { chrome < 75, ie, node < 12.5 } proposal-logical-assignment-operators { chrome < 85, ie, node < 15 } proposal-nullish-coalescing-operator { chrome < 80, ie, node < 14 } - proposal-optional-chaining { chrome, ie, node } + proposal-optional-chaining { chrome < 91, ie, node } proposal-json-strings { chrome < 66, ie, node < 10 } proposal-optional-catch-binding { chrome < 66, ie, node < 10 } transform-parameters { ie } diff --git a/packages/babel-preset-env/test/fixtures/debug-babel-7/shippedProposals-chrome-80/stdout.txt b/packages/babel-preset-env/test/fixtures/debug-babel-7/shippedProposals-chrome-80/stdout.txt index 9c8b3e4a4534..f6e88bd291a2 100644 --- a/packages/babel-preset-env/test/fixtures/debug-babel-7/shippedProposals-chrome-80/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug-babel-7/shippedProposals-chrome-80/stdout.txt @@ -8,14 +8,14 @@ Using targets: Using modules transform: auto Using plugins: - proposal-class-static-block { chrome < 91 } + proposal-class-static-block { chrome < 94 } proposal-private-property-in-object { chrome < 91 } proposal-class-properties { chrome < 84 } proposal-private-methods { chrome < 84 } syntax-numeric-separator proposal-logical-assignment-operators { chrome < 85 } syntax-nullish-coalescing-operator - proposal-optional-chaining { chrome } + proposal-optional-chaining { chrome < 91 } syntax-json-strings syntax-optional-catch-binding syntax-async-generators diff --git a/packages/babel-preset-env/test/fixtures/debug-babel-7/shippedProposals-chrome-84/stdout.txt b/packages/babel-preset-env/test/fixtures/debug-babel-7/shippedProposals-chrome-84/stdout.txt index d5ac3a7cb181..803a17ff62a2 100644 --- a/packages/babel-preset-env/test/fixtures/debug-babel-7/shippedProposals-chrome-84/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug-babel-7/shippedProposals-chrome-84/stdout.txt @@ -8,13 +8,13 @@ Using targets: Using modules transform: auto Using plugins: - proposal-class-static-block { chrome < 91 } + proposal-class-static-block { chrome < 94 } proposal-private-property-in-object { chrome < 91 } syntax-class-properties syntax-numeric-separator proposal-logical-assignment-operators { chrome < 85 } syntax-nullish-coalescing-operator - proposal-optional-chaining { chrome } + proposal-optional-chaining { chrome < 91 } syntax-json-strings syntax-optional-catch-binding syntax-async-generators diff --git a/packages/babel-preset-env/test/fixtures/debug-babel-7/top-level-targets-shadowed/stdout.txt b/packages/babel-preset-env/test/fixtures/debug-babel-7/top-level-targets-shadowed/stdout.txt index 8697044625e4..e447acf44887 100644 --- a/packages/babel-preset-env/test/fixtures/debug-babel-7/top-level-targets-shadowed/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug-babel-7/top-level-targets-shadowed/stdout.txt @@ -14,7 +14,7 @@ Using plugins: proposal-numeric-separator { chrome < 75 } proposal-logical-assignment-operators { chrome < 85 } proposal-nullish-coalescing-operator { chrome < 80 } - proposal-optional-chaining { chrome } + proposal-optional-chaining { chrome < 91 } proposal-json-strings { chrome < 66 } proposal-optional-catch-binding { chrome < 66 } proposal-async-generator-functions { chrome < 63 } diff --git a/packages/babel-preset-env/test/fixtures/debug-babel-7/top-level-targets/stdout.txt b/packages/babel-preset-env/test/fixtures/debug-babel-7/top-level-targets/stdout.txt index d36f4b77ee18..dc3c6ac88ac4 100644 --- a/packages/babel-preset-env/test/fixtures/debug-babel-7/top-level-targets/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug-babel-7/top-level-targets/stdout.txt @@ -14,7 +14,7 @@ Using plugins: syntax-numeric-separator proposal-logical-assignment-operators { chrome < 85 } syntax-nullish-coalescing-operator - proposal-optional-chaining { chrome } + proposal-optional-chaining { chrome < 91 } syntax-json-strings syntax-optional-catch-binding syntax-async-generators diff --git a/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs2-1/stdout.txt b/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs2-1/stdout.txt index b8d1485e6cd8..e87a6839c17d 100644 --- a/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs2-1/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs2-1/stdout.txt @@ -16,7 +16,7 @@ Using plugins: proposal-numeric-separator { chrome < 75, firefox < 70, ie } proposal-logical-assignment-operators { chrome < 85, firefox < 79, ie } proposal-nullish-coalescing-operator { chrome < 80, firefox < 72, ie } - proposal-optional-chaining { chrome, firefox < 74, ie } + proposal-optional-chaining { chrome < 91, firefox < 74, ie } proposal-json-strings { chrome < 66, firefox < 62, ie } proposal-optional-catch-binding { chrome < 66, firefox < 58, ie } transform-parameters { firefox < 53, ie } diff --git a/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs2-2/stdout.txt b/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs2-2/stdout.txt index 17a03370cbc4..80eb250f830c 100644 --- a/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs2-2/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs2-2/stdout.txt @@ -16,7 +16,7 @@ Using plugins: proposal-numeric-separator { chrome < 75, firefox < 70, ie } proposal-logical-assignment-operators { chrome < 85, firefox < 79, ie } proposal-nullish-coalescing-operator { chrome < 80, firefox < 72, ie } - proposal-optional-chaining { chrome, firefox < 74, ie } + proposal-optional-chaining { chrome < 91, firefox < 74, ie } proposal-json-strings { chrome < 66, firefox < 62, ie } proposal-optional-catch-binding { chrome < 66, firefox < 58, ie } transform-parameters { firefox < 53, ie } diff --git a/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs2-chrome-71-1/stdout.txt b/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs2-chrome-71-1/stdout.txt index 4b93ffc91175..4c71bd83379e 100644 --- a/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs2-chrome-71-1/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs2-chrome-71-1/stdout.txt @@ -14,7 +14,7 @@ Using plugins: proposal-numeric-separator { chrome < 75 } proposal-logical-assignment-operators { chrome < 85 } proposal-nullish-coalescing-operator { chrome < 80 } - proposal-optional-chaining { chrome } + proposal-optional-chaining { chrome < 91 } syntax-json-strings syntax-optional-catch-binding syntax-async-generators diff --git a/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs2-chrome-71-2/stdout.txt b/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs2-chrome-71-2/stdout.txt index 3c7908bd7500..c5fd15cd1519 100644 --- a/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs2-chrome-71-2/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs2-chrome-71-2/stdout.txt @@ -14,7 +14,7 @@ Using plugins: proposal-numeric-separator { chrome < 75 } proposal-logical-assignment-operators { chrome < 85 } proposal-nullish-coalescing-operator { chrome < 80 } - proposal-optional-chaining { chrome } + proposal-optional-chaining { chrome < 91 } syntax-json-strings syntax-optional-catch-binding syntax-async-generators diff --git a/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs2-none-1/stdout.txt b/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs2-none-1/stdout.txt index 9f36507b0385..0d26ebc02f08 100644 --- a/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs2-none-1/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs2-none-1/stdout.txt @@ -16,7 +16,7 @@ Using plugins: proposal-numeric-separator { chrome < 75, firefox < 70, ie } proposal-logical-assignment-operators { chrome < 85, firefox < 79, ie } proposal-nullish-coalescing-operator { chrome < 80, firefox < 72, ie } - proposal-optional-chaining { chrome, firefox < 74, ie } + proposal-optional-chaining { chrome < 91, firefox < 74, ie } proposal-json-strings { chrome < 66, firefox < 62, ie } proposal-optional-catch-binding { chrome < 66, firefox < 58, ie } transform-parameters { firefox < 53, ie } diff --git a/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs2-none-2/stdout.txt b/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs2-none-2/stdout.txt index 3704aa6788f5..93ef88eed5f7 100644 --- a/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs2-none-2/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs2-none-2/stdout.txt @@ -16,7 +16,7 @@ Using plugins: proposal-numeric-separator { chrome < 75, firefox < 70, ie } proposal-logical-assignment-operators { chrome < 85, firefox < 79, ie } proposal-nullish-coalescing-operator { chrome < 80, firefox < 72, ie } - proposal-optional-chaining { chrome, firefox < 74, ie } + proposal-optional-chaining { chrome < 91, firefox < 74, ie } proposal-json-strings { chrome < 66, firefox < 62, ie } proposal-optional-catch-binding { chrome < 66, firefox < 58, ie } transform-parameters { firefox < 53, ie } diff --git a/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs2-proposals-1/stdout.txt b/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs2-proposals-1/stdout.txt index d3c4e030d1a4..5c31c318beb7 100644 --- a/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs2-proposals-1/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs2-proposals-1/stdout.txt @@ -16,7 +16,7 @@ Using plugins: proposal-numeric-separator { chrome < 75, firefox < 70, ie } proposal-logical-assignment-operators { chrome < 85, firefox < 79, ie } proposal-nullish-coalescing-operator { chrome < 80, firefox < 72, ie } - proposal-optional-chaining { chrome, firefox < 74, ie } + proposal-optional-chaining { chrome < 91, firefox < 74, ie } proposal-json-strings { chrome < 66, firefox < 62, ie } proposal-optional-catch-binding { chrome < 66, firefox < 58, ie } transform-parameters { firefox < 53, ie } diff --git a/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs2-proposals-2/stdout.txt b/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs2-proposals-2/stdout.txt index 13aec3a28e1b..2d05ab3497c2 100644 --- a/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs2-proposals-2/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs2-proposals-2/stdout.txt @@ -16,7 +16,7 @@ Using plugins: proposal-numeric-separator { chrome < 75, firefox < 70, ie } proposal-logical-assignment-operators { chrome < 85, firefox < 79, ie } proposal-nullish-coalescing-operator { chrome < 80, firefox < 72, ie } - proposal-optional-chaining { chrome, firefox < 74, ie } + proposal-optional-chaining { chrome < 91, firefox < 74, ie } proposal-json-strings { chrome < 66, firefox < 62, ie } proposal-optional-catch-binding { chrome < 66, firefox < 58, ie } transform-parameters { firefox < 53, ie } diff --git a/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs2-proposals-chrome-71-1/stdout.txt b/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs2-proposals-chrome-71-1/stdout.txt index c66ae9946d78..eae7581a168b 100644 --- a/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs2-proposals-chrome-71-1/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs2-proposals-chrome-71-1/stdout.txt @@ -14,7 +14,7 @@ Using plugins: proposal-numeric-separator { chrome < 75 } proposal-logical-assignment-operators { chrome < 85 } proposal-nullish-coalescing-operator { chrome < 80 } - proposal-optional-chaining { chrome } + proposal-optional-chaining { chrome < 91 } syntax-json-strings syntax-optional-catch-binding syntax-async-generators diff --git a/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs2-proposals-chrome-71-2/stdout.txt b/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs2-proposals-chrome-71-2/stdout.txt index 7e25a2dbd20e..d855c995e1d0 100644 --- a/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs2-proposals-chrome-71-2/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs2-proposals-chrome-71-2/stdout.txt @@ -14,7 +14,7 @@ Using plugins: proposal-numeric-separator { chrome < 75 } proposal-logical-assignment-operators { chrome < 85 } proposal-nullish-coalescing-operator { chrome < 80 } - proposal-optional-chaining { chrome } + proposal-optional-chaining { chrome < 91 } syntax-json-strings syntax-optional-catch-binding syntax-async-generators diff --git a/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs2-shippedProposals-1/stdout.txt b/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs2-shippedProposals-1/stdout.txt index 88ac0f672976..384e806c6feb 100644 --- a/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs2-shippedProposals-1/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs2-shippedProposals-1/stdout.txt @@ -10,14 +10,14 @@ Using targets: Using modules transform: auto Using plugins: - proposal-class-static-block { chrome < 91, firefox, ie } + proposal-class-static-block { chrome < 94, firefox < 93, ie } proposal-private-property-in-object { chrome < 91, firefox < 90, ie } proposal-class-properties { chrome < 84, firefox < 90, ie } proposal-private-methods { chrome < 84, firefox < 90, ie } proposal-numeric-separator { chrome < 75, firefox < 70, ie } proposal-logical-assignment-operators { chrome < 85, firefox < 79, ie } proposal-nullish-coalescing-operator { chrome < 80, firefox < 72, ie } - proposal-optional-chaining { chrome, firefox < 74, ie } + proposal-optional-chaining { chrome < 91, firefox < 74, ie } proposal-json-strings { chrome < 66, firefox < 62, ie } proposal-optional-catch-binding { chrome < 66, firefox < 58, ie } transform-parameters { firefox < 53, ie } diff --git a/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs2-shippedProposals-2/stdout.txt b/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs2-shippedProposals-2/stdout.txt index 675411d5fe82..12fd8d9eb35c 100644 --- a/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs2-shippedProposals-2/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs2-shippedProposals-2/stdout.txt @@ -10,14 +10,14 @@ Using targets: Using modules transform: auto Using plugins: - proposal-class-static-block { chrome < 91, firefox, ie } + proposal-class-static-block { chrome < 94, firefox < 93, ie } proposal-private-property-in-object { chrome < 91, firefox < 90, ie } proposal-class-properties { chrome < 84, firefox < 90, ie } proposal-private-methods { chrome < 84, firefox < 90, ie } proposal-numeric-separator { chrome < 75, firefox < 70, ie } proposal-logical-assignment-operators { chrome < 85, firefox < 79, ie } proposal-nullish-coalescing-operator { chrome < 80, firefox < 72, ie } - proposal-optional-chaining { chrome, firefox < 74, ie } + proposal-optional-chaining { chrome < 91, firefox < 74, ie } proposal-json-strings { chrome < 66, firefox < 62, ie } proposal-optional-catch-binding { chrome < 66, firefox < 58, ie } transform-parameters { firefox < 53, ie } diff --git a/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs2-with-import/stdout.txt b/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs2-with-import/stdout.txt index 2525f79c48ec..f412c6a8b487 100644 --- a/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs2-with-import/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs2-with-import/stdout.txt @@ -14,7 +14,7 @@ Using plugins: proposal-numeric-separator { chrome < 75 } proposal-logical-assignment-operators { chrome < 85 } proposal-nullish-coalescing-operator { chrome < 80 } - proposal-optional-chaining { chrome } + proposal-optional-chaining { chrome < 91 } proposal-json-strings { chrome < 66 } proposal-optional-catch-binding { chrome < 66 } proposal-async-generator-functions { chrome < 63 } diff --git a/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs3-1/stdout.txt b/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs3-1/stdout.txt index c8375ed8770b..f0bc78bdedbc 100644 --- a/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs3-1/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs3-1/stdout.txt @@ -16,7 +16,7 @@ Using plugins: proposal-numeric-separator { chrome < 75, firefox < 70, ie } proposal-logical-assignment-operators { chrome < 85, firefox < 79, ie } proposal-nullish-coalescing-operator { chrome < 80, firefox < 72, ie } - proposal-optional-chaining { chrome, firefox < 74, ie } + proposal-optional-chaining { chrome < 91, firefox < 74, ie } proposal-json-strings { chrome < 66, firefox < 62, ie } proposal-optional-catch-binding { chrome < 66, firefox < 58, ie } transform-parameters { firefox < 53, ie } diff --git a/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs3-2/stdout.txt b/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs3-2/stdout.txt index 50cb65436af5..5412577f163f 100644 --- a/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs3-2/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs3-2/stdout.txt @@ -16,7 +16,7 @@ Using plugins: proposal-numeric-separator { chrome < 75, firefox < 70, ie } proposal-logical-assignment-operators { chrome < 85, firefox < 79, ie } proposal-nullish-coalescing-operator { chrome < 80, firefox < 72, ie } - proposal-optional-chaining { chrome, firefox < 74, ie } + proposal-optional-chaining { chrome < 91, firefox < 74, ie } proposal-json-strings { chrome < 66, firefox < 62, ie } proposal-optional-catch-binding { chrome < 66, firefox < 58, ie } transform-parameters { firefox < 53, ie } diff --git a/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs3-chrome-71-1/stdout.txt b/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs3-chrome-71-1/stdout.txt index 87d13e39336e..495aa529e778 100644 --- a/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs3-chrome-71-1/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs3-chrome-71-1/stdout.txt @@ -14,7 +14,7 @@ Using plugins: proposal-numeric-separator { chrome < 75 } proposal-logical-assignment-operators { chrome < 85 } proposal-nullish-coalescing-operator { chrome < 80 } - proposal-optional-chaining { chrome } + proposal-optional-chaining { chrome < 91 } syntax-json-strings syntax-optional-catch-binding syntax-async-generators diff --git a/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs3-chrome-71-2/stdout.txt b/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs3-chrome-71-2/stdout.txt index 03f4424675e9..e75a8b0c8530 100644 --- a/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs3-chrome-71-2/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs3-chrome-71-2/stdout.txt @@ -14,7 +14,7 @@ Using plugins: proposal-numeric-separator { chrome < 75 } proposal-logical-assignment-operators { chrome < 85 } proposal-nullish-coalescing-operator { chrome < 80 } - proposal-optional-chaining { chrome } + proposal-optional-chaining { chrome < 91 } syntax-json-strings syntax-optional-catch-binding syntax-async-generators diff --git a/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs3-none-1/stdout.txt b/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs3-none-1/stdout.txt index 7a109f19f96f..2d2d78794ec8 100644 --- a/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs3-none-1/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs3-none-1/stdout.txt @@ -16,7 +16,7 @@ Using plugins: proposal-numeric-separator { chrome < 75, firefox < 70, ie } proposal-logical-assignment-operators { chrome < 85, firefox < 79, ie } proposal-nullish-coalescing-operator { chrome < 80, firefox < 72, ie } - proposal-optional-chaining { chrome, firefox < 74, ie } + proposal-optional-chaining { chrome < 91, firefox < 74, ie } proposal-json-strings { chrome < 66, firefox < 62, ie } proposal-optional-catch-binding { chrome < 66, firefox < 58, ie } transform-parameters { firefox < 53, ie } diff --git a/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs3-none-2/stdout.txt b/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs3-none-2/stdout.txt index 7229636e5f56..40cf46fba017 100644 --- a/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs3-none-2/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs3-none-2/stdout.txt @@ -16,7 +16,7 @@ Using plugins: proposal-numeric-separator { chrome < 75, firefox < 70, ie } proposal-logical-assignment-operators { chrome < 85, firefox < 79, ie } proposal-nullish-coalescing-operator { chrome < 80, firefox < 72, ie } - proposal-optional-chaining { chrome, firefox < 74, ie } + proposal-optional-chaining { chrome < 91, firefox < 74, ie } proposal-json-strings { chrome < 66, firefox < 62, ie } proposal-optional-catch-binding { chrome < 66, firefox < 58, ie } transform-parameters { firefox < 53, ie } diff --git a/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs3-proposals-1/stdout.txt b/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs3-proposals-1/stdout.txt index ca849297bec5..225beded647f 100644 --- a/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs3-proposals-1/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs3-proposals-1/stdout.txt @@ -16,7 +16,7 @@ Using plugins: proposal-numeric-separator { chrome < 75, firefox < 70, ie } proposal-logical-assignment-operators { chrome < 85, firefox < 79, ie } proposal-nullish-coalescing-operator { chrome < 80, firefox < 72, ie } - proposal-optional-chaining { chrome, firefox < 74, ie } + proposal-optional-chaining { chrome < 91, firefox < 74, ie } proposal-json-strings { chrome < 66, firefox < 62, ie } proposal-optional-catch-binding { chrome < 66, firefox < 58, ie } transform-parameters { firefox < 53, ie } diff --git a/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs3-proposals-2/stdout.txt b/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs3-proposals-2/stdout.txt index 4c207e9d39ff..ea8e369bba58 100644 --- a/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs3-proposals-2/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs3-proposals-2/stdout.txt @@ -16,7 +16,7 @@ Using plugins: proposal-numeric-separator { chrome < 75, firefox < 70, ie } proposal-logical-assignment-operators { chrome < 85, firefox < 79, ie } proposal-nullish-coalescing-operator { chrome < 80, firefox < 72, ie } - proposal-optional-chaining { chrome, firefox < 74, ie } + proposal-optional-chaining { chrome < 91, firefox < 74, ie } proposal-json-strings { chrome < 66, firefox < 62, ie } proposal-optional-catch-binding { chrome < 66, firefox < 58, ie } transform-parameters { firefox < 53, ie } diff --git a/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs3-proposals-chrome-71-1/stdout.txt b/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs3-proposals-chrome-71-1/stdout.txt index ee7bec8cd87d..2fc4976309c9 100644 --- a/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs3-proposals-chrome-71-1/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs3-proposals-chrome-71-1/stdout.txt @@ -14,7 +14,7 @@ Using plugins: proposal-numeric-separator { chrome < 75 } proposal-logical-assignment-operators { chrome < 85 } proposal-nullish-coalescing-operator { chrome < 80 } - proposal-optional-chaining { chrome } + proposal-optional-chaining { chrome < 91 } syntax-json-strings syntax-optional-catch-binding syntax-async-generators diff --git a/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs3-proposals-chrome-71-2/stdout.txt b/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs3-proposals-chrome-71-2/stdout.txt index 0c2414d35e97..ef68e2af91f6 100644 --- a/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs3-proposals-chrome-71-2/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs3-proposals-chrome-71-2/stdout.txt @@ -14,7 +14,7 @@ Using plugins: proposal-numeric-separator { chrome < 75 } proposal-logical-assignment-operators { chrome < 85 } proposal-nullish-coalescing-operator { chrome < 80 } - proposal-optional-chaining { chrome } + proposal-optional-chaining { chrome < 91 } syntax-json-strings syntax-optional-catch-binding syntax-async-generators diff --git a/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs3-shippedProposals-1/stdout.txt b/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs3-shippedProposals-1/stdout.txt index 5cbaafbea4e5..2e1aacb851f0 100644 --- a/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs3-shippedProposals-1/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs3-shippedProposals-1/stdout.txt @@ -10,14 +10,14 @@ Using targets: Using modules transform: auto Using plugins: - proposal-class-static-block { chrome < 91, firefox, ie } + proposal-class-static-block { chrome < 94, firefox < 93, ie } proposal-private-property-in-object { chrome < 91, firefox < 90, ie } proposal-class-properties { chrome < 84, firefox < 90, ie } proposal-private-methods { chrome < 84, firefox < 90, ie } proposal-numeric-separator { chrome < 75, firefox < 70, ie } proposal-logical-assignment-operators { chrome < 85, firefox < 79, ie } proposal-nullish-coalescing-operator { chrome < 80, firefox < 72, ie } - proposal-optional-chaining { chrome, firefox < 74, ie } + proposal-optional-chaining { chrome < 91, firefox < 74, ie } proposal-json-strings { chrome < 66, firefox < 62, ie } proposal-optional-catch-binding { chrome < 66, firefox < 58, ie } transform-parameters { firefox < 53, ie } diff --git a/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs3-shippedProposals-2/stdout.txt b/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs3-shippedProposals-2/stdout.txt index 93cffb8196ea..5757cf85eea3 100644 --- a/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs3-shippedProposals-2/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs3-shippedProposals-2/stdout.txt @@ -10,14 +10,14 @@ Using targets: Using modules transform: auto Using plugins: - proposal-class-static-block { chrome < 91, firefox, ie } + proposal-class-static-block { chrome < 94, firefox < 93, ie } proposal-private-property-in-object { chrome < 91, firefox < 90, ie } proposal-class-properties { chrome < 84, firefox < 90, ie } proposal-private-methods { chrome < 84, firefox < 90, ie } proposal-numeric-separator { chrome < 75, firefox < 70, ie } proposal-logical-assignment-operators { chrome < 85, firefox < 79, ie } proposal-nullish-coalescing-operator { chrome < 80, firefox < 72, ie } - proposal-optional-chaining { chrome, firefox < 74, ie } + proposal-optional-chaining { chrome < 91, firefox < 74, ie } proposal-json-strings { chrome < 66, firefox < 62, ie } proposal-optional-catch-binding { chrome < 66, firefox < 58, ie } transform-parameters { firefox < 53, ie } diff --git a/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs3-versions-strings-minor-3.0-1/stdout.txt b/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs3-versions-strings-minor-3.0-1/stdout.txt index 83f041df2f57..793bd1d002d1 100644 --- a/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs3-versions-strings-minor-3.0-1/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs3-versions-strings-minor-3.0-1/stdout.txt @@ -16,7 +16,7 @@ Using plugins: proposal-numeric-separator { chrome < 75, firefox < 70, ie } proposal-logical-assignment-operators { chrome < 85, firefox < 79, ie } proposal-nullish-coalescing-operator { chrome < 80, firefox < 72, ie } - proposal-optional-chaining { chrome, firefox < 74, ie } + proposal-optional-chaining { chrome < 91, firefox < 74, ie } proposal-json-strings { chrome < 66, firefox < 62, ie } proposal-optional-catch-binding { chrome < 66, firefox < 58, ie } transform-parameters { firefox < 53, ie } diff --git a/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs3-versions-strings-minor-3.0-2/stdout.txt b/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs3-versions-strings-minor-3.0-2/stdout.txt index 527e88cb8b5b..f78778eb9217 100644 --- a/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs3-versions-strings-minor-3.0-2/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs3-versions-strings-minor-3.0-2/stdout.txt @@ -16,7 +16,7 @@ Using plugins: proposal-numeric-separator { chrome < 75, firefox < 70, ie } proposal-logical-assignment-operators { chrome < 85, firefox < 79, ie } proposal-nullish-coalescing-operator { chrome < 80, firefox < 72, ie } - proposal-optional-chaining { chrome, firefox < 74, ie } + proposal-optional-chaining { chrome < 91, firefox < 74, ie } proposal-json-strings { chrome < 66, firefox < 62, ie } proposal-optional-catch-binding { chrome < 66, firefox < 58, ie } transform-parameters { firefox < 53, ie } diff --git a/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs3-versions-strings-minor-3.1-1/stdout.txt b/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs3-versions-strings-minor-3.1-1/stdout.txt index 1ddaf5f71cc6..1e47a5bb8716 100644 --- a/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs3-versions-strings-minor-3.1-1/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs3-versions-strings-minor-3.1-1/stdout.txt @@ -16,7 +16,7 @@ Using plugins: proposal-numeric-separator { chrome < 75, firefox < 70, ie } proposal-logical-assignment-operators { chrome < 85, firefox < 79, ie } proposal-nullish-coalescing-operator { chrome < 80, firefox < 72, ie } - proposal-optional-chaining { chrome, firefox < 74, ie } + proposal-optional-chaining { chrome < 91, firefox < 74, ie } proposal-json-strings { chrome < 66, firefox < 62, ie } proposal-optional-catch-binding { chrome < 66, firefox < 58, ie } transform-parameters { firefox < 53, ie } diff --git a/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs3-versions-strings-minor-3.1-2/stdout.txt b/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs3-versions-strings-minor-3.1-2/stdout.txt index 4a42d3de5589..6677f821a8fb 100644 --- a/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs3-versions-strings-minor-3.1-2/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs3-versions-strings-minor-3.1-2/stdout.txt @@ -16,7 +16,7 @@ Using plugins: proposal-numeric-separator { chrome < 75, firefox < 70, ie } proposal-logical-assignment-operators { chrome < 85, firefox < 79, ie } proposal-nullish-coalescing-operator { chrome < 80, firefox < 72, ie } - proposal-optional-chaining { chrome, firefox < 74, ie } + proposal-optional-chaining { chrome < 91, firefox < 74, ie } proposal-json-strings { chrome < 66, firefox < 62, ie } proposal-optional-catch-binding { chrome < 66, firefox < 58, ie } transform-parameters { firefox < 53, ie } diff --git a/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs3-with-import/stdout.txt b/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs3-with-import/stdout.txt index e2d164f43c0f..1960f1fe6165 100644 --- a/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs3-with-import/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-corejs3-with-import/stdout.txt @@ -14,7 +14,7 @@ Using plugins: proposal-numeric-separator { chrome < 75 } proposal-logical-assignment-operators { chrome < 85 } proposal-nullish-coalescing-operator { chrome < 80 } - proposal-optional-chaining { chrome } + proposal-optional-chaining { chrome < 91 } proposal-json-strings { chrome < 66 } proposal-optional-catch-binding { chrome < 66 } proposal-async-generator-functions { chrome < 63 } diff --git a/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-no-corejs-1/stdout.txt b/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-no-corejs-1/stdout.txt index 760ddcb8467f..11fb6610c376 100644 --- a/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-no-corejs-1/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-no-corejs-1/stdout.txt @@ -16,7 +16,7 @@ Using plugins: proposal-numeric-separator { chrome < 75, firefox < 70, ie } proposal-logical-assignment-operators { chrome < 85, firefox < 79, ie } proposal-nullish-coalescing-operator { chrome < 80, firefox < 72, ie } - proposal-optional-chaining { chrome, firefox < 74, ie } + proposal-optional-chaining { chrome < 91, firefox < 74, ie } proposal-json-strings { chrome < 66, firefox < 62, ie } proposal-optional-catch-binding { chrome < 66, firefox < 58, ie } transform-parameters { firefox < 53, ie } diff --git a/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-no-corejs-2/stdout.txt b/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-no-corejs-2/stdout.txt index 43312d068160..19bf529216dc 100644 --- a/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-no-corejs-2/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-no-corejs-2/stdout.txt @@ -16,7 +16,7 @@ Using plugins: proposal-numeric-separator { chrome < 75, firefox < 70, ie } proposal-logical-assignment-operators { chrome < 85, firefox < 79, ie } proposal-nullish-coalescing-operator { chrome < 80, firefox < 72, ie } - proposal-optional-chaining { chrome, firefox < 74, ie } + proposal-optional-chaining { chrome < 91, firefox < 74, ie } proposal-json-strings { chrome < 66, firefox < 62, ie } proposal-optional-catch-binding { chrome < 66, firefox < 58, ie } transform-parameters { firefox < 53, ie } diff --git a/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-no-corejs-none-1/stdout.txt b/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-no-corejs-none-1/stdout.txt index e0febec73d5c..4324613c7d46 100644 --- a/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-no-corejs-none-1/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-no-corejs-none-1/stdout.txt @@ -16,7 +16,7 @@ Using plugins: proposal-numeric-separator { chrome < 75, firefox < 70, ie } proposal-logical-assignment-operators { chrome < 85, firefox < 79, ie } proposal-nullish-coalescing-operator { chrome < 80, firefox < 72, ie } - proposal-optional-chaining { chrome, firefox < 74, ie } + proposal-optional-chaining { chrome < 91, firefox < 74, ie } proposal-json-strings { chrome < 66, firefox < 62, ie } proposal-optional-catch-binding { chrome < 66, firefox < 58, ie } transform-parameters { firefox < 53, ie } diff --git a/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-no-corejs-none-2/stdout.txt b/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-no-corejs-none-2/stdout.txt index cdf048f9b74e..26eaa12be79d 100644 --- a/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-no-corejs-none-2/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug-babel-7/usage-no-corejs-none-2/stdout.txt @@ -16,7 +16,7 @@ Using plugins: proposal-numeric-separator { chrome < 75, firefox < 70, ie } proposal-logical-assignment-operators { chrome < 85, firefox < 79, ie } proposal-nullish-coalescing-operator { chrome < 80, firefox < 72, ie } - proposal-optional-chaining { chrome, firefox < 74, ie } + proposal-optional-chaining { chrome < 91, firefox < 74, ie } proposal-json-strings { chrome < 66, firefox < 62, ie } proposal-optional-catch-binding { chrome < 66, firefox < 58, ie } transform-parameters { firefox < 53, ie } diff --git a/packages/babel-preset-env/test/fixtures/debug/entry-no-corejs-uglify/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/entry-no-corejs-uglify/stdout.txt index 5a94aeb44653..61adee27cb01 100644 --- a/packages/babel-preset-env/test/fixtures/debug/entry-no-corejs-uglify/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/entry-no-corejs-uglify/stdout.txt @@ -14,7 +14,7 @@ Using plugins: proposal-numeric-separator { chrome < 75 } proposal-logical-assignment-operators { chrome < 85 } proposal-nullish-coalescing-operator { chrome < 80 } - proposal-optional-chaining { chrome } + proposal-optional-chaining { chrome < 91 } proposal-json-strings { chrome < 66 } proposal-optional-catch-binding { chrome < 66 } transform-parameters { } diff --git a/packages/babel-preset-env/test/fixtures/preset-options-babel-7/safari-10_3-block-scoped/stdout.txt b/packages/babel-preset-env/test/fixtures/preset-options-babel-7/safari-10_3-block-scoped/stdout.txt index bf329043f484..126db24e1f0d 100644 --- a/packages/babel-preset-env/test/fixtures/preset-options-babel-7/safari-10_3-block-scoped/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/preset-options-babel-7/safari-10_3-block-scoped/stdout.txt @@ -8,7 +8,7 @@ Using targets: Using modules transform: auto Using plugins: - proposal-private-property-in-object { safari } + proposal-private-property-in-object { safari < 15 } proposal-class-properties { safari < 15 } proposal-private-methods { safari < 15 } proposal-numeric-separator { safari < 13 } diff --git a/packages/babel-preset-env/test/fixtures/shipped-proposals/new-class-features-chrome-91/input.js b/packages/babel-preset-env/test/fixtures/shipped-proposals/new-class-features-chrome-94/input.js similarity index 100% rename from packages/babel-preset-env/test/fixtures/shipped-proposals/new-class-features-chrome-91/input.js rename to packages/babel-preset-env/test/fixtures/shipped-proposals/new-class-features-chrome-94/input.js diff --git a/packages/babel-preset-env/test/fixtures/shipped-proposals/new-class-features-chrome-91/options.json b/packages/babel-preset-env/test/fixtures/shipped-proposals/new-class-features-chrome-94/options.json similarity index 64% rename from packages/babel-preset-env/test/fixtures/shipped-proposals/new-class-features-chrome-91/options.json rename to packages/babel-preset-env/test/fixtures/shipped-proposals/new-class-features-chrome-94/options.json index 7b274ea47f8f..afe73c188599 100644 --- a/packages/babel-preset-env/test/fixtures/shipped-proposals/new-class-features-chrome-91/options.json +++ b/packages/babel-preset-env/test/fixtures/shipped-proposals/new-class-features-chrome-94/options.json @@ -1,4 +1,4 @@ { - "targets": { "chrome": 91 }, + "targets": { "chrome": 94 }, "presets": [["env", { "shippedProposals": true }]] } diff --git a/packages/babel-preset-env/test/fixtures/shipped-proposals/new-class-features-chrome-91/output.js b/packages/babel-preset-env/test/fixtures/shipped-proposals/new-class-features-chrome-94/output.js similarity index 100% rename from packages/babel-preset-env/test/fixtures/shipped-proposals/new-class-features-chrome-91/output.js rename to packages/babel-preset-env/test/fixtures/shipped-proposals/new-class-features-chrome-94/output.js diff --git a/yarn.lock b/yarn.lock index 9c5771d00aa0..6d18d4143f21 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1029,7 +1029,7 @@ __metadata: languageName: unknown linkType: soft -"@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@workspace:packages/babel-plugin-bugfix-safari-id-destructuring-collision-in-function-expression": +"@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@workspace:^0.0.0, @babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@workspace:packages/babel-plugin-bugfix-safari-id-destructuring-collision-in-function-expression": version: 0.0.0-use.local resolution: "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@workspace:packages/babel-plugin-bugfix-safari-id-destructuring-collision-in-function-expression" dependencies: @@ -3218,6 +3218,7 @@ __metadata: "@babel/helper-plugin-test-runner": "workspace:*" "@babel/helper-plugin-utils": "workspace:^7.14.5" "@babel/helper-validator-option": "workspace:^7.14.5" + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "workspace:^0.0.0" "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "workspace:^7.15.4" "@babel/plugin-proposal-async-generator-functions": "workspace:^7.15.8" "@babel/plugin-proposal-class-properties": "workspace:^7.14.5"