From 3daab41e6105745bb0496723ce59771cffaf1192 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=B2=20Ribaudo?= Date: Thu, 16 Jan 2020 16:49:30 +0100 Subject: [PATCH] Re-generate preset-env fixtures (#11016) * Fix plugin ordering in preset-env * Update stdout fixtures * Comments [skip ci] --- packages/babel-compat-data/data/plugins.json | 480 +++++++++--------- .../scripts/data/plugin-features.js | 175 ++++--- .../stdout.txt | 20 +- .../stdout.txt | 20 +- .../debug/browserslists-android-3/stdout.txt | 22 +- .../browserslists-defaults-not-ie/stdout.txt | 22 +- .../debug/browserslists-defaults/stdout.txt | 22 +- .../stdout.txt | 18 +- .../corejs-without-usebuiltins/stdout.txt | 22 +- .../debug/entry-corejs2-android/stdout.txt | 22 +- .../debug/entry-corejs2-electron/stdout.txt | 22 +- .../stdout.txt | 22 +- .../debug/entry-corejs2-no-import/stdout.txt | 22 +- .../stdout.txt | 8 +- .../debug/entry-corejs2-proposals/stdout.txt | 22 +- .../stdout.txt | 8 +- .../entry-corejs2-shippedProposals/stdout.txt | 22 +- .../entry-corejs2-specific-targets/stdout.txt | 22 +- .../stdout.txt | 22 +- .../entry-corejs2-versions-strings/stdout.txt | 22 +- .../fixtures/debug/entry-corejs2/stdout.txt | 22 +- .../entry-corejs3-all-chrome-71/stdout.txt | 8 +- .../debug/entry-corejs3-all/stdout.txt | 22 +- .../debug/entry-corejs3-android/stdout.txt | 22 +- .../entry-corejs3-babel-polyfill/stdout.txt | 22 +- .../debug/entry-corejs3-electron/stdout.txt | 22 +- .../entry-corejs3-es-chrome-71/stdout.txt | 8 +- .../stdout.txt | 8 +- .../entry-corejs3-es-proposals/stdout.txt | 22 +- .../debug/entry-corejs3-es/stdout.txt | 22 +- .../stdout.txt | 22 +- .../debug/entry-corejs3-no-import/stdout.txt | 22 +- .../stdout.txt | 8 +- .../debug/entry-corejs3-proposals/stdout.txt | 22 +- .../stdout.txt | 8 +- .../entry-corejs3-runtime-only/stdout.txt | 8 +- .../stdout.txt | 8 +- .../entry-corejs3-specific-entries/stdout.txt | 22 +- .../entry-corejs3-specific-targets/stdout.txt | 22 +- .../entry-corejs3-stable-chrome-71/stdout.txt | 8 +- .../stdout.txt | 8 +- .../debug/entry-corejs3-stable/stdout.txt | 22 +- .../entry-corejs3-stage-chrome-71/stdout.txt | 8 +- .../debug/entry-corejs3-stage/stdout.txt | 22 +- .../stdout.txt | 22 +- .../stdout.txt | 22 +- .../stdout.txt | 22 +- .../entry-corejs3-versions-strings/stdout.txt | 22 +- .../entry-corejs3-web-chrome-71/stdout.txt | 8 +- .../debug/entry-corejs3-web/stdout.txt | 22 +- .../fixtures/debug/entry-corejs3/stdout.txt | 22 +- .../entry-no-corejs-no-import/stdout.txt | 22 +- .../stdout.txt | 22 +- .../debug/entry-no-corejs-uglify/stdout.txt | 22 +- .../fixtures/debug/entry-no-corejs/stdout.txt | 22 +- .../fixtures/debug/plugins-only/stdout.txt | 18 +- .../fixtures/debug/usage-corejs2-1/stdout.txt | 22 +- .../fixtures/debug/usage-corejs2-2/stdout.txt | 22 +- .../usage-corejs2-chrome-71-1/stdout.txt | 8 +- .../usage-corejs2-chrome-71-2/stdout.txt | 8 +- .../debug/usage-corejs2-none-1/stdout.txt | 22 +- .../debug/usage-corejs2-none-2/stdout.txt | 22 +- .../usage-corejs2-proposals-1/stdout.txt | 22 +- .../usage-corejs2-proposals-2/stdout.txt | 22 +- .../stdout.txt | 8 +- .../stdout.txt | 8 +- .../stdout.txt | 22 +- .../stdout.txt | 22 +- .../usage-corejs2-with-import/stdout.txt | 12 +- .../fixtures/debug/usage-corejs3-1/stdout.txt | 22 +- .../fixtures/debug/usage-corejs3-2/stdout.txt | 22 +- .../usage-corejs3-chrome-71-1/stdout.txt | 8 +- .../usage-corejs3-chrome-71-2/stdout.txt | 8 +- .../debug/usage-corejs3-none-1/stdout.txt | 22 +- .../debug/usage-corejs3-none-2/stdout.txt | 22 +- .../usage-corejs3-proposals-1/stdout.txt | 22 +- .../usage-corejs3-proposals-2/stdout.txt | 22 +- .../stdout.txt | 8 +- .../stdout.txt | 8 +- .../stdout.txt | 22 +- .../stdout.txt | 22 +- .../stdout.txt | 22 +- .../stdout.txt | 22 +- .../stdout.txt | 22 +- .../stdout.txt | 22 +- .../usage-corejs3-with-import/stdout.txt | 12 +- .../debug/usage-no-corejs-1/stdout.txt | 22 +- .../debug/usage-no-corejs-2/stdout.txt | 22 +- .../debug/usage-no-corejs-none-1/stdout.txt | 22 +- .../debug/usage-no-corejs-none-2/stdout.txt | 22 +- .../safari-10_3-block-scoped/stdout.txt | 22 +- 91 files changed, 1155 insertions(+), 1132 deletions(-) diff --git a/packages/babel-compat-data/data/plugins.json b/packages/babel-compat-data/data/plugins.json index de0a613bf2..67ae6235cb 100644 --- a/packages/babel-compat-data/data/plugins.json +++ b/packages/babel-compat-data/data/plugins.json @@ -1,13 +1,12 @@ { - "proposal-async-generator-functions": { - "chrome": "63", - "firefox": "57", - "safari": "12", - "node": "10", - "ios": "12", - "samsung": "8.2", - "opera": "50", - "electron": "3.1" + "proposal-nullish-coalescing-operator": { + "chrome": "80", + "firefox": "72", + "opera": "67" + }, + "proposal-optional-chaining": { + "chrome": "80", + "opera": "67" }, "proposal-json-strings": { "chrome": "66", @@ -19,10 +18,25 @@ "opera": "53", "electron": "3.1" }, - "proposal-nullish-coalescing-operator": { - "chrome": "80", - "firefox": "72", - "opera": "67" + "proposal-optional-catch-binding": { + "chrome": "66", + "firefox": "58", + "safari": "11.1", + "node": "10", + "ios": "11.3", + "samsung": "9.2", + "opera": "53", + "electron": "3.1" + }, + "proposal-async-generator-functions": { + "chrome": "63", + "firefox": "57", + "safari": "12", + "node": "10", + "ios": "12", + "samsung": "8.2", + "opera": "50", + "electron": "3.1" }, "proposal-object-rest-spread": { "chrome": "60", @@ -34,20 +48,15 @@ "opera": "47", "electron": "2.1" }, - "proposal-optional-catch-binding": { - "chrome": "66", - "firefox": "58", + "transform-dotall-regex": { + "chrome": "62", "safari": "11.1", - "node": "10", + "node": "8.10", "ios": "11.3", - "samsung": "9.2", - "opera": "53", + "samsung": "8.2", + "opera": "49", "electron": "3.1" }, - "proposal-optional-chaining": { - "chrome": "80", - "opera": "67" - }, "proposal-unicode-property-regex": { "chrome": "64", "safari": "11.1", @@ -57,16 +66,14 @@ "opera": "51", "electron": "3.1" }, - "transform-arrow-functions": { - "chrome": "47", - "edge": "13", - "firefox": "45", - "safari": "10", - "node": "6", - "ios": "10", - "samsung": "5", - "opera": "34", - "electron": "0.36" + "transform-named-capturing-groups-regex": { + "chrome": "64", + "safari": "11.1", + "node": "10", + "ios": "11.3", + "samsung": "9.2", + "opera": "51", + "electron": "3.1" }, "transform-async-to-generator": { "chrome": "55", @@ -79,6 +86,60 @@ "opera": "42", "electron": "1.6" }, + "transform-exponentiation-operator": { + "chrome": "52", + "edge": "14", + "firefox": "52", + "safari": "10.1", + "node": "7", + "ios": "10.3", + "samsung": "6.2", + "opera": "39", + "electron": "1.3" + }, + "transform-template-literals": { + "chrome": "41", + "edge": "13", + "firefox": "34", + "safari": "13", + "node": "4", + "ios": "13", + "samsung": "3.4", + "opera": "28", + "electron": "0.24" + }, + "transform-literals": { + "chrome": "44", + "edge": "12", + "firefox": "53", + "safari": "9", + "node": "4", + "ios": "9", + "samsung": "4", + "opera": "31", + "electron": "0.31" + }, + "transform-function-name": { + "chrome": "51", + "firefox": "53", + "safari": "10", + "node": "6.5", + "ios": "10", + "samsung": "5", + "opera": "38", + "electron": "1.2" + }, + "transform-arrow-functions": { + "chrome": "47", + "edge": "13", + "firefox": "45", + "safari": "10", + "node": "6", + "ios": "10", + "samsung": "5", + "opera": "34", + "electron": "0.36" + }, "transform-block-scoped-functions": { "chrome": "41", "edge": "12", @@ -91,17 +152,6 @@ "opera": "28", "electron": "0.24" }, - "transform-block-scoping": { - "chrome": "49", - "edge": "14", - "firefox": "51", - "safari": "11", - "node": "6", - "ios": "11", - "samsung": "5", - "opera": "36", - "electron": "1" - }, "transform-classes": { "chrome": "46", "edge": "13", @@ -113,125 +163,6 @@ "opera": "33", "electron": "0.36" }, - "transform-computed-properties": { - "chrome": "44", - "edge": "12", - "firefox": "34", - "safari": "7.1", - "node": "4", - "ios": "8", - "samsung": "4", - "opera": "31", - "electron": "0.31" - }, - "transform-destructuring": { - "chrome": "51", - "edge": "15", - "firefox": "53", - "safari": "10", - "node": "6.5", - "ios": "10", - "samsung": "5", - "opera": "38", - "electron": "1.2" - }, - "transform-dotall-regex": { - "chrome": "62", - "safari": "11.1", - "node": "8.10", - "ios": "11.3", - "samsung": "8.2", - "opera": "49", - "electron": "3.1" - }, - "transform-duplicate-keys": { - "chrome": "42", - "edge": "12", - "firefox": "34", - "safari": "9", - "node": "4", - "ios": "9", - "samsung": "3.4", - "opera": "29", - "electron": "0.27" - }, - "transform-exponentiation-operator": { - "chrome": "52", - "edge": "14", - "firefox": "52", - "safari": "10.1", - "node": "7", - "ios": "10.3", - "samsung": "6.2", - "opera": "39", - "electron": "1.3" - }, - "transform-for-of": { - "chrome": "51", - "edge": "15", - "firefox": "53", - "safari": "10", - "node": "6.5", - "ios": "10", - "samsung": "5", - "opera": "38", - "electron": "1.2" - }, - "transform-function-name": { - "chrome": "51", - "firefox": "53", - "safari": "10", - "node": "6.5", - "ios": "10", - "samsung": "5", - "opera": "38", - "electron": "1.2" - }, - "transform-literals": { - "chrome": "44", - "edge": "12", - "firefox": "53", - "safari": "9", - "node": "4", - "ios": "9", - "samsung": "4", - "opera": "31", - "electron": "0.31" - }, - "transform-member-expression-literals": { - "chrome": "7", - "opera": "12", - "edge": "12", - "firefox": "2", - "safari": "5.1", - "node": "0.10", - "ie": "9", - "android": "4", - "ios": "6", - "phantom": "2", - "samsung": "2.1", - "electron": "5" - }, - "transform-named-capturing-groups-regex": { - "chrome": "64", - "safari": "11.1", - "node": "10", - "ios": "11.3", - "samsung": "9.2", - "opera": "51", - "electron": "3.1" - }, - "transform-new-target": { - "chrome": "46", - "edge": "14", - "firefox": "41", - "safari": "10", - "node": "5", - "ios": "10", - "samsung": "5", - "opera": "33", - "electron": "0.36" - }, "transform-object-super": { "chrome": "46", "edge": "13", @@ -243,6 +174,83 @@ "opera": "33", "electron": "0.36" }, + "transform-shorthand-properties": { + "chrome": "43", + "edge": "12", + "firefox": "33", + "safari": "9", + "node": "4", + "ios": "9", + "samsung": "4", + "opera": "30", + "electron": "0.29" + }, + "transform-duplicate-keys": { + "chrome": "42", + "edge": "12", + "firefox": "34", + "safari": "9", + "node": "4", + "ios": "9", + "samsung": "3.4", + "opera": "29", + "electron": "0.27" + }, + "transform-computed-properties": { + "chrome": "44", + "edge": "12", + "firefox": "34", + "safari": "7.1", + "node": "4", + "ios": "8", + "samsung": "4", + "opera": "31", + "electron": "0.31" + }, + "transform-for-of": { + "chrome": "51", + "edge": "15", + "firefox": "53", + "safari": "10", + "node": "6.5", + "ios": "10", + "samsung": "5", + "opera": "38", + "electron": "1.2" + }, + "transform-sticky-regex": { + "chrome": "49", + "edge": "13", + "firefox": "3", + "safari": "10", + "node": "6", + "ios": "10", + "samsung": "5", + "opera": "36", + "electron": "1" + }, + "transform-unicode-regex": { + "chrome": "50", + "edge": "13", + "firefox": "46", + "safari": "12", + "node": "6", + "ios": "12", + "samsung": "5", + "opera": "37", + "electron": "1.1" + }, + "transform-spread": { + "chrome": "46", + "edge": "13", + "firefox": "36", + "safari": "10", + "node": "5", + "ios": "10", + "samsung": "5", + "opera": "33", + "electron": "0.36" + }, "transform-parameters": { "chrome": "49", "edge": "18", @@ -254,6 +262,75 @@ "opera": "36", "electron": "1" }, + "transform-destructuring": { + "chrome": "51", + "edge": "15", + "firefox": "53", + "safari": "10", + "node": "6.5", + "ios": "10", + "samsung": "5", + "opera": "38", + "electron": "1.2" + }, + "transform-block-scoping": { + "chrome": "49", + "edge": "14", + "firefox": "51", + "safari": "11", + "node": "6", + "ios": "11", + "samsung": "5", + "opera": "36", + "electron": "1" + }, + "transform-typeof-symbol": { + "chrome": "38", + "edge": "12", + "firefox": "36", + "safari": "9", + "node": "0.12", + "ios": "9", + "samsung": "3", + "opera": "25", + "electron": "0.2" + }, + "transform-new-target": { + "chrome": "46", + "edge": "14", + "firefox": "41", + "safari": "10", + "node": "5", + "ios": "10", + "samsung": "5", + "opera": "33", + "electron": "0.36" + }, + "transform-regenerator": { + "chrome": "50", + "edge": "13", + "firefox": "53", + "safari": "10", + "node": "6", + "ios": "10", + "samsung": "5", + "opera": "37", + "electron": "1.1" + }, + "transform-member-expression-literals": { + "chrome": "7", + "opera": "12", + "edge": "12", + "firefox": "2", + "safari": "5.1", + "node": "0.10", + "ie": "9", + "android": "4", + "ios": "6", + "phantom": "2", + "samsung": "2.1", + "electron": "5" + }, "transform-property-literals": { "chrome": "7", "opera": "12", @@ -268,17 +345,6 @@ "samsung": "2.1", "electron": "5" }, - "transform-regenerator": { - "chrome": "50", - "edge": "13", - "firefox": "53", - "safari": "10", - "node": "6", - "ios": "10", - "samsung": "5", - "opera": "37", - "electron": "1.1" - }, "transform-reserved-words": { "chrome": "13", "opera": "10.50", @@ -292,71 +358,5 @@ "phantom": "2", "samsung": "2.1", "electron": "0.2" - }, - "transform-shorthand-properties": { - "chrome": "43", - "edge": "12", - "firefox": "33", - "safari": "9", - "node": "4", - "ios": "9", - "samsung": "4", - "opera": "30", - "electron": "0.29" - }, - "transform-spread": { - "chrome": "46", - "edge": "13", - "firefox": "36", - "safari": "10", - "node": "5", - "ios": "10", - "samsung": "5", - "opera": "33", - "electron": "0.36" - }, - "transform-sticky-regex": { - "chrome": "49", - "edge": "13", - "firefox": "3", - "safari": "10", - "node": "6", - "ios": "10", - "samsung": "5", - "opera": "36", - "electron": "1" - }, - "transform-template-literals": { - "chrome": "41", - "edge": "13", - "firefox": "34", - "safari": "13", - "node": "4", - "ios": "13", - "samsung": "3.4", - "opera": "28", - "electron": "0.24" - }, - "transform-typeof-symbol": { - "chrome": "38", - "edge": "12", - "firefox": "36", - "safari": "9", - "node": "0.12", - "ios": "9", - "samsung": "3", - "opera": "25", - "electron": "0.2" - }, - "transform-unicode-regex": { - "chrome": "50", - "edge": "13", - "firefox": "46", - "safari": "12", - "node": "6", - "ios": "12", - "samsung": "5", - "opera": "37", - "electron": "1.1" } } diff --git a/packages/babel-compat-data/scripts/data/plugin-features.js b/packages/babel-compat-data/scripts/data/plugin-features.js index e0f20c7d1a..f53a456d95 100644 --- a/packages/babel-compat-data/scripts/data/plugin-features.js +++ b/packages/babel-compat-data/scripts/data/plugin-features.js @@ -1,86 +1,47 @@ -/* eslint sort-keys: "error" */ +// WARNING: Plugin ordering is important. Don't reorder this file +// without checking that it doesn't break anything. -module.exports = { - "proposal-async-generator-functions": "Asynchronous Iterators", - "proposal-json-strings": "JSON superset", - "proposal-nullish-coalescing-operator": "nullish coalescing operator (??)", - "proposal-object-rest-spread": "object rest/spread properties", - "proposal-optional-catch-binding": "optional catch binding", - "proposal-optional-chaining": "optional chaining operator (?.)", - "proposal-unicode-property-regex": "RegExp Unicode Property Escapes", +const es5 = { + "transform-member-expression-literals": + "Object/array literal extensions / Reserved words as property names", + "transform-property-literals": + "Object/array literal extensions / Reserved words as property names", + "transform-reserved-words": "Miscellaneous / Unreserved words", +}; - "transform-arrow-functions": { - features: ["arrow functions"], - }, - - "transform-async-to-generator": { - features: ["async functions"], - }, - - "transform-block-scoped-functions": { - features: ["block-level function declaration"], - }, - "transform-block-scoping": { - features: ["const", "let"], - }, - "transform-classes": { - features: ["class", "super"], - }, - "transform-computed-properties": { - features: ["object literal extensions / computed properties"], - }, - "transform-destructuring": { - features: ["destructuring, assignment", "destructuring, declarations"], - }, - - // We want to apply this prior to unicode regex so that "." and "u" - // are properly handled. - // - // Ref: https://github.com/babel/babel/pull/7065#issuecomment-395959112 - "transform-dotall-regex": "s (dotAll) flag for regular expressions", - - "transform-duplicate-keys": { - features: ["miscellaneous / duplicate property names in strict mode"], - }, - "transform-exponentiation-operator": { - features: ["exponentiation (**) operator"], - }, - "transform-for-of": { - features: ["for..of loops"], - }, - "transform-function-name": { - features: ['function "name" property'], +const es2015 = { + "transform-template-literals": { + features: ["template literals"], }, "transform-literals": { features: ["Unicode code point escapes"], }, - "transform-member-expression-literals": - "Object/array literal extensions / Reserved words as property names", - "transform-named-capturing-groups-regex": "RegExp named capture groups", - "transform-new-target": { - features: ["new.target"], + "transform-function-name": { + features: ['function "name" property'], + }, + "transform-arrow-functions": { + features: ["arrow functions"], + }, + "transform-block-scoped-functions": { + features: ["block-level function declaration"], + }, + "transform-classes": { + features: ["class", "super"], }, "transform-object-super": { features: ["super"], }, - "transform-parameters": { - features: [ - "default function parameters", - "rest parameters", - "destructuring, parameters / defaults, arrow function", - ], - }, - "transform-property-literals": - "Object/array literal extensions / Reserved words as property names", - "transform-regenerator": { - features: ["generators"], - }, - "transform-reserved-words": "Miscellaneous / Unreserved words", "transform-shorthand-properties": { features: ["object literal extensions / shorthand properties"], }, - "transform-spread": { - features: "spread syntax for iterable objects", + "transform-duplicate-keys": { + features: ["miscellaneous / duplicate property names in strict mode"], + }, + "transform-computed-properties": { + features: ["object literal extensions / computed properties"], + }, + "transform-for-of": { + features: ["for..of loops"], }, "transform-sticky-regex": { features: [ @@ -88,12 +49,6 @@ module.exports = { 'RegExp "y" and "u" flags / "y" flag', ], }, - "transform-template-literals": { - features: ["template literals"], - }, - "transform-typeof-symbol": { - features: ["Symbol / typeof support"], - }, "transform-unicode-regex": { features: [ 'RegExp "y" and "u" flags / "u" flag, case folding', @@ -102,4 +57,72 @@ module.exports = { 'RegExp "y" and "u" flags / "u" flag', ], }, + "transform-spread": { + features: ["spread syntax for iterable objects"], + }, + "transform-parameters": { + features: [ + "default function parameters", + "rest parameters", + "destructuring, parameters / defaults, arrow function", + ], + }, + "transform-destructuring": { + features: ["destructuring, assignment", "destructuring, declarations"], + }, + "transform-block-scoping": { + features: ["const", "let"], + }, + "transform-typeof-symbol": { + features: ["Symbol / typeof support"], + }, + "transform-new-target": { + features: ["new.target"], + }, + "transform-regenerator": { + features: ["generators"], + }, }; + +const es2016 = { + "transform-exponentiation-operator": { + features: ["exponentiation (**) operator"], + }, +}; + +const es2017 = { + "transform-async-to-generator": { + features: ["async functions"], + }, +}; + +const es2018 = { + "proposal-async-generator-functions": "Asynchronous Iterators", + "proposal-object-rest-spread": "object rest/spread properties", + + "transform-dotall-regex": "s (dotAll) flag for regular expressions", + "proposal-unicode-property-regex": "RegExp Unicode Property Escapes", + "transform-named-capturing-groups-regex": "RegExp named capture groups", +}; + +const es2019 = { + "proposal-json-strings": "JSON superset", + "proposal-optional-catch-binding": "optional catch binding", +}; + +const es2020 = { + "proposal-nullish-coalescing-operator": "nullish coalescing operator (??)", + "proposal-optional-chaining": "optional chaining operator (?.)", +}; + +// Run plugins for modern features first +module.exports = Object.assign( + {}, + es2020, + es2019, + es2018, + es2017, + es2016, + es2015, + es5 +); diff --git a/packages/babel-preset-env/test/fixtures/corejs2/usage-browserslist-config-ignore/stdout.txt b/packages/babel-preset-env/test/fixtures/corejs2/usage-browserslist-config-ignore/stdout.txt index 1177233c18..ad109bce9d 100644 --- a/packages/babel-preset-env/test/fixtures/corejs2/usage-browserslist-config-ignore/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/corejs2/usage-browserslist-config-ignore/stdout.txt @@ -13,21 +13,21 @@ Using targets: Using modules transform: false Using plugins: + proposal-nullish-coalescing-operator { "chrome":"61", "edge":"16", "firefox":"60", "ios":"10.3", "opera":"48", "safari":"10.1" } + proposal-optional-chaining { "chrome":"61", "edge":"16", "firefox":"60", "ios":"10.3", "opera":"48", "safari":"10.1" } + proposal-json-strings { "chrome":"61", "edge":"16", "firefox":"60", "ios":"10.3", "opera":"48", "safari":"10.1" } + proposal-optional-catch-binding { "chrome":"61", "edge":"16", "ios":"10.3", "opera":"48", "safari":"10.1" } + proposal-async-generator-functions { "chrome":"61", "edge":"16", "ios":"10.3", "opera":"48", "safari":"10.1" } + proposal-object-rest-spread { "edge":"16", "ios":"10.3", "safari":"10.1" } + transform-dotall-regex { "chrome":"61", "edge":"16", "firefox":"60", "ios":"10.3", "opera":"48", "safari":"10.1" } + proposal-unicode-property-regex { "chrome":"61", "edge":"16", "firefox":"60", "ios":"10.3", "opera":"48", "safari":"10.1" } + transform-named-capturing-groups-regex { "chrome":"61", "edge":"16", "firefox":"60", "ios":"10.3", "opera":"48", "safari":"10.1" } + transform-async-to-generator { "ios":"10.3", "safari":"10.1" } transform-template-literals { "ios":"10.3", "safari":"10.1" } transform-function-name { "edge":"16" } - transform-dotall-regex { "chrome":"61", "edge":"16", "firefox":"60", "ios":"10.3", "opera":"48", "safari":"10.1" } transform-unicode-regex { "ios":"10.3", "safari":"10.1" } transform-parameters { "edge":"16" } transform-block-scoping { "ios":"10.3", "safari":"10.1" } - transform-async-to-generator { "ios":"10.3", "safari":"10.1" } - proposal-async-generator-functions { "chrome":"61", "edge":"16", "ios":"10.3", "opera":"48", "safari":"10.1" } - proposal-object-rest-spread { "edge":"16", "ios":"10.3", "safari":"10.1" } - proposal-unicode-property-regex { "chrome":"61", "edge":"16", "firefox":"60", "ios":"10.3", "opera":"48", "safari":"10.1" } - proposal-json-strings { "chrome":"61", "edge":"16", "firefox":"60", "ios":"10.3", "opera":"48", "safari":"10.1" } - proposal-optional-catch-binding { "chrome":"61", "edge":"16", "ios":"10.3", "opera":"48", "safari":"10.1" } - proposal-optional-chaining { "chrome":"61", "edge":"16", "firefox":"60", "ios":"10.3", "opera":"48", "safari":"10.1" } - transform-named-capturing-groups-regex { "chrome":"61", "edge":"16", "firefox":"60", "ios":"10.3", "opera":"48", "safari":"10.1" } - proposal-nullish-coalescing-operator { "chrome":"61", "edge":"16", "firefox":"60", "ios":"10.3", "opera":"48", "safari":"10.1" } syntax-dynamic-import { "chrome":"61", "edge":"16", "firefox":"60", "ios":"10.3", "opera":"48", "safari":"10.1" } Using polyfills with `usage` option: diff --git a/packages/babel-preset-env/test/fixtures/corejs3/usage-browserslist-config-ignore/stdout.txt b/packages/babel-preset-env/test/fixtures/corejs3/usage-browserslist-config-ignore/stdout.txt index 1988ed515d..e9ea32f12f 100644 --- a/packages/babel-preset-env/test/fixtures/corejs3/usage-browserslist-config-ignore/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/corejs3/usage-browserslist-config-ignore/stdout.txt @@ -13,21 +13,21 @@ Using targets: Using modules transform: false Using plugins: + proposal-nullish-coalescing-operator { "chrome":"61", "edge":"16", "firefox":"60", "ios":"10.3", "opera":"48", "safari":"10.1" } + proposal-optional-chaining { "chrome":"61", "edge":"16", "firefox":"60", "ios":"10.3", "opera":"48", "safari":"10.1" } + proposal-json-strings { "chrome":"61", "edge":"16", "firefox":"60", "ios":"10.3", "opera":"48", "safari":"10.1" } + proposal-optional-catch-binding { "chrome":"61", "edge":"16", "ios":"10.3", "opera":"48", "safari":"10.1" } + proposal-async-generator-functions { "chrome":"61", "edge":"16", "ios":"10.3", "opera":"48", "safari":"10.1" } + proposal-object-rest-spread { "edge":"16", "ios":"10.3", "safari":"10.1" } + transform-dotall-regex { "chrome":"61", "edge":"16", "firefox":"60", "ios":"10.3", "opera":"48", "safari":"10.1" } + proposal-unicode-property-regex { "chrome":"61", "edge":"16", "firefox":"60", "ios":"10.3", "opera":"48", "safari":"10.1" } + transform-named-capturing-groups-regex { "chrome":"61", "edge":"16", "firefox":"60", "ios":"10.3", "opera":"48", "safari":"10.1" } + transform-async-to-generator { "ios":"10.3", "safari":"10.1" } transform-template-literals { "ios":"10.3", "safari":"10.1" } transform-function-name { "edge":"16" } - transform-dotall-regex { "chrome":"61", "edge":"16", "firefox":"60", "ios":"10.3", "opera":"48", "safari":"10.1" } transform-unicode-regex { "ios":"10.3", "safari":"10.1" } transform-parameters { "edge":"16" } transform-block-scoping { "ios":"10.3", "safari":"10.1" } - transform-async-to-generator { "ios":"10.3", "safari":"10.1" } - proposal-async-generator-functions { "chrome":"61", "edge":"16", "ios":"10.3", "opera":"48", "safari":"10.1" } - proposal-object-rest-spread { "edge":"16", "ios":"10.3", "safari":"10.1" } - proposal-unicode-property-regex { "chrome":"61", "edge":"16", "firefox":"60", "ios":"10.3", "opera":"48", "safari":"10.1" } - proposal-json-strings { "chrome":"61", "edge":"16", "firefox":"60", "ios":"10.3", "opera":"48", "safari":"10.1" } - proposal-optional-catch-binding { "chrome":"61", "edge":"16", "ios":"10.3", "opera":"48", "safari":"10.1" } - proposal-optional-chaining { "chrome":"61", "edge":"16", "firefox":"60", "ios":"10.3", "opera":"48", "safari":"10.1" } - transform-named-capturing-groups-regex { "chrome":"61", "edge":"16", "firefox":"60", "ios":"10.3", "opera":"48", "safari":"10.1" } - proposal-nullish-coalescing-operator { "chrome":"61", "edge":"16", "firefox":"60", "ios":"10.3", "opera":"48", "safari":"10.1" } syntax-dynamic-import { "chrome":"61", "edge":"16", "firefox":"60", "ios":"10.3", "opera":"48", "safari":"10.1" } Using polyfills with `usage` option: diff --git a/packages/babel-preset-env/test/fixtures/debug/browserslists-android-3/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/browserslists-android-3/stdout.txt index d079d9b7f0..85791de223 100644 --- a/packages/babel-preset-env/test/fixtures/debug/browserslists-android-3/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/browserslists-android-3/stdout.txt @@ -8,6 +8,17 @@ Using targets: Using modules transform: auto Using plugins: + proposal-nullish-coalescing-operator { "android":"3" } + proposal-optional-chaining { "android":"3" } + proposal-json-strings { "android":"3" } + proposal-optional-catch-binding { "android":"3" } + proposal-async-generator-functions { "android":"3" } + proposal-object-rest-spread { "android":"3" } + transform-dotall-regex { "android":"3" } + proposal-unicode-property-regex { "android":"3" } + transform-named-capturing-groups-regex { "android":"3" } + transform-async-to-generator { "android":"3" } + transform-exponentiation-operator { "android":"3" } transform-template-literals { "android":"3" } transform-literals { "android":"3" } transform-function-name { "android":"3" } @@ -20,7 +31,6 @@ Using plugins: transform-computed-properties { "android":"3" } transform-for-of { "android":"3" } transform-sticky-regex { "android":"3" } - transform-dotall-regex { "android":"3" } transform-unicode-regex { "android":"3" } transform-spread { "android":"3" } transform-parameters { "android":"3" } @@ -29,19 +39,9 @@ Using plugins: transform-typeof-symbol { "android":"3" } transform-new-target { "android":"3" } transform-regenerator { "android":"3" } - transform-exponentiation-operator { "android":"3" } - transform-async-to-generator { "android":"3" } - proposal-async-generator-functions { "android":"3" } - proposal-object-rest-spread { "android":"3" } - proposal-unicode-property-regex { "android":"3" } - proposal-json-strings { "android":"3" } - proposal-optional-catch-binding { "android":"3" } - proposal-optional-chaining { "android":"3" } - transform-named-capturing-groups-regex { "android":"3" } transform-member-expression-literals { "android":"3" } transform-property-literals { "android":"3" } transform-reserved-words { "android":"3" } - proposal-nullish-coalescing-operator { "android":"3" } transform-modules-commonjs { "android":"3" } proposal-dynamic-import { "android":"3" } diff --git a/packages/babel-preset-env/test/fixtures/debug/browserslists-defaults-not-ie/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/browserslists-defaults-not-ie/stdout.txt index fa83ff03bb..5692f21bdc 100644 --- a/packages/babel-preset-env/test/fixtures/debug/browserslists-defaults-not-ie/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/browserslists-defaults-not-ie/stdout.txt @@ -15,6 +15,17 @@ Using targets: Using modules transform: auto Using plugins: + proposal-nullish-coalescing-operator { "android":"77", "chrome":"49", "edge":"17", "firefox":"68", "ios":"12.2", "opera":"63", "safari":"5.1", "samsung":"9.2" } + proposal-optional-chaining { "android":"77", "chrome":"49", "edge":"17", "firefox":"68", "ios":"12.2", "opera":"63", "safari":"5.1", "samsung":"9.2" } + proposal-json-strings { "chrome":"49", "edge":"17", "safari":"5.1" } + proposal-optional-catch-binding { "chrome":"49", "edge":"17", "safari":"5.1" } + proposal-async-generator-functions { "chrome":"49", "edge":"17", "safari":"5.1" } + proposal-object-rest-spread { "chrome":"49", "edge":"17", "safari":"5.1" } + transform-dotall-regex { "chrome":"49", "edge":"17", "firefox":"68", "safari":"5.1" } + proposal-unicode-property-regex { "chrome":"49", "edge":"17", "firefox":"68", "safari":"5.1" } + transform-named-capturing-groups-regex { "chrome":"49", "edge":"17", "firefox":"68", "safari":"5.1" } + transform-async-to-generator { "chrome":"49", "safari":"5.1" } + transform-exponentiation-operator { "chrome":"49", "safari":"5.1" } transform-template-literals { "ios":"12.2", "safari":"5.1" } transform-literals { "safari":"5.1" } transform-function-name { "chrome":"49", "edge":"17", "safari":"5.1" } @@ -27,7 +38,6 @@ Using plugins: transform-computed-properties { "safari":"5.1" } transform-for-of { "chrome":"49", "safari":"5.1" } transform-sticky-regex { "safari":"5.1" } - transform-dotall-regex { "chrome":"49", "edge":"17", "firefox":"68", "safari":"5.1" } transform-unicode-regex { "chrome":"49", "safari":"5.1" } transform-spread { "safari":"5.1" } transform-parameters { "edge":"17", "safari":"5.1" } @@ -36,16 +46,6 @@ Using plugins: transform-typeof-symbol { "safari":"5.1" } transform-new-target { "safari":"5.1" } transform-regenerator { "chrome":"49", "safari":"5.1" } - transform-exponentiation-operator { "chrome":"49", "safari":"5.1" } - transform-async-to-generator { "chrome":"49", "safari":"5.1" } - proposal-async-generator-functions { "chrome":"49", "edge":"17", "safari":"5.1" } - proposal-object-rest-spread { "chrome":"49", "edge":"17", "safari":"5.1" } - proposal-unicode-property-regex { "chrome":"49", "edge":"17", "firefox":"68", "safari":"5.1" } - proposal-json-strings { "chrome":"49", "edge":"17", "safari":"5.1" } - proposal-optional-catch-binding { "chrome":"49", "edge":"17", "safari":"5.1" } - proposal-optional-chaining { "android":"77", "chrome":"49", "edge":"17", "firefox":"68", "ios":"12.2", "opera":"63", "safari":"5.1", "samsung":"9.2" } - transform-named-capturing-groups-regex { "chrome":"49", "edge":"17", "firefox":"68", "safari":"5.1" } - proposal-nullish-coalescing-operator { "android":"77", "chrome":"49", "edge":"17", "firefox":"68", "ios":"12.2", "opera":"63", "safari":"5.1", "samsung":"9.2" } transform-modules-commonjs { "android":"77", "chrome":"49", "edge":"17", "firefox":"68", "ios":"12.2", "opera":"63", "safari":"5.1", "samsung":"9.2" } proposal-dynamic-import { "android":"77", "chrome":"49", "edge":"17", "firefox":"68", "ios":"12.2", "opera":"63", "safari":"5.1", "samsung":"9.2" } diff --git a/packages/babel-preset-env/test/fixtures/debug/browserslists-defaults/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/browserslists-defaults/stdout.txt index fd2bde77e6..e7a88f33b8 100644 --- a/packages/babel-preset-env/test/fixtures/debug/browserslists-defaults/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/browserslists-defaults/stdout.txt @@ -16,6 +16,17 @@ Using targets: Using modules transform: auto Using plugins: + proposal-nullish-coalescing-operator { "android":"77", "chrome":"49", "edge":"17", "firefox":"68", "ie":"11", "ios":"12.2", "opera":"63", "safari":"5.1", "samsung":"9.2" } + proposal-optional-chaining { "android":"77", "chrome":"49", "edge":"17", "firefox":"68", "ie":"11", "ios":"12.2", "opera":"63", "safari":"5.1", "samsung":"9.2" } + proposal-json-strings { "chrome":"49", "edge":"17", "ie":"11", "safari":"5.1" } + proposal-optional-catch-binding { "chrome":"49", "edge":"17", "ie":"11", "safari":"5.1" } + proposal-async-generator-functions { "chrome":"49", "edge":"17", "ie":"11", "safari":"5.1" } + proposal-object-rest-spread { "chrome":"49", "edge":"17", "ie":"11", "safari":"5.1" } + transform-dotall-regex { "chrome":"49", "edge":"17", "firefox":"68", "ie":"11", "safari":"5.1" } + proposal-unicode-property-regex { "chrome":"49", "edge":"17", "firefox":"68", "ie":"11", "safari":"5.1" } + transform-named-capturing-groups-regex { "chrome":"49", "edge":"17", "firefox":"68", "ie":"11", "safari":"5.1" } + transform-async-to-generator { "chrome":"49", "ie":"11", "safari":"5.1" } + transform-exponentiation-operator { "chrome":"49", "ie":"11", "safari":"5.1" } transform-template-literals { "ie":"11", "ios":"12.2", "safari":"5.1" } transform-literals { "ie":"11", "safari":"5.1" } transform-function-name { "chrome":"49", "edge":"17", "ie":"11", "safari":"5.1" } @@ -28,7 +39,6 @@ Using plugins: transform-computed-properties { "ie":"11", "safari":"5.1" } transform-for-of { "chrome":"49", "ie":"11", "safari":"5.1" } transform-sticky-regex { "ie":"11", "safari":"5.1" } - transform-dotall-regex { "chrome":"49", "edge":"17", "firefox":"68", "ie":"11", "safari":"5.1" } transform-unicode-regex { "chrome":"49", "ie":"11", "safari":"5.1" } transform-spread { "ie":"11", "safari":"5.1" } transform-parameters { "edge":"17", "ie":"11", "safari":"5.1" } @@ -37,16 +47,6 @@ Using plugins: transform-typeof-symbol { "ie":"11", "safari":"5.1" } transform-new-target { "ie":"11", "safari":"5.1" } transform-regenerator { "chrome":"49", "ie":"11", "safari":"5.1" } - transform-exponentiation-operator { "chrome":"49", "ie":"11", "safari":"5.1" } - transform-async-to-generator { "chrome":"49", "ie":"11", "safari":"5.1" } - proposal-async-generator-functions { "chrome":"49", "edge":"17", "ie":"11", "safari":"5.1" } - proposal-object-rest-spread { "chrome":"49", "edge":"17", "ie":"11", "safari":"5.1" } - proposal-unicode-property-regex { "chrome":"49", "edge":"17", "firefox":"68", "ie":"11", "safari":"5.1" } - proposal-json-strings { "chrome":"49", "edge":"17", "ie":"11", "safari":"5.1" } - proposal-optional-catch-binding { "chrome":"49", "edge":"17", "ie":"11", "safari":"5.1" } - proposal-optional-chaining { "android":"77", "chrome":"49", "edge":"17", "firefox":"68", "ie":"11", "ios":"12.2", "opera":"63", "safari":"5.1", "samsung":"9.2" } - transform-named-capturing-groups-regex { "chrome":"49", "edge":"17", "firefox":"68", "ie":"11", "safari":"5.1" } - proposal-nullish-coalescing-operator { "android":"77", "chrome":"49", "edge":"17", "firefox":"68", "ie":"11", "ios":"12.2", "opera":"63", "safari":"5.1", "samsung":"9.2" } transform-modules-commonjs { "android":"77", "chrome":"49", "edge":"17", "firefox":"68", "ie":"11", "ios":"12.2", "opera":"63", "safari":"5.1", "samsung":"9.2" } proposal-dynamic-import { "android":"77", "chrome":"49", "edge":"17", "firefox":"68", "ie":"11", "ios":"12.2", "opera":"63", "safari":"5.1", "samsung":"9.2" } diff --git a/packages/babel-preset-env/test/fixtures/debug/browserslists-last-2-versions-not-ie/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/browserslists-last-2-versions-not-ie/stdout.txt index a643d3d2c9..fb3d618b4b 100644 --- a/packages/babel-preset-env/test/fixtures/debug/browserslists-last-2-versions-not-ie/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/browserslists-last-2-versions-not-ie/stdout.txt @@ -15,18 +15,18 @@ Using targets: Using modules transform: auto Using plugins: - transform-template-literals { "safari":"12.1" } - transform-function-name { "edge":"17" } - transform-dotall-regex { "edge":"17", "firefox":"70" } - transform-parameters { "edge":"17" } - proposal-async-generator-functions { "edge":"17" } - proposal-object-rest-spread { "edge":"17" } - proposal-unicode-property-regex { "edge":"17", "firefox":"70" } + proposal-nullish-coalescing-operator { "android":"77", "chrome":"77", "edge":"17", "firefox":"70", "ios":"13", "opera":"63", "safari":"12.1", "samsung":"9.2" } + proposal-optional-chaining { "android":"77", "chrome":"77", "edge":"17", "firefox":"70", "ios":"13", "opera":"63", "safari":"12.1", "samsung":"9.2" } proposal-json-strings { "edge":"17" } proposal-optional-catch-binding { "edge":"17" } - proposal-optional-chaining { "android":"77", "chrome":"77", "edge":"17", "firefox":"70", "ios":"13", "opera":"63", "safari":"12.1", "samsung":"9.2" } + proposal-async-generator-functions { "edge":"17" } + proposal-object-rest-spread { "edge":"17" } + transform-dotall-regex { "edge":"17", "firefox":"70" } + proposal-unicode-property-regex { "edge":"17", "firefox":"70" } transform-named-capturing-groups-regex { "edge":"17", "firefox":"70" } - proposal-nullish-coalescing-operator { "android":"77", "chrome":"77", "edge":"17", "firefox":"70", "ios":"13", "opera":"63", "safari":"12.1", "samsung":"9.2" } + transform-template-literals { "safari":"12.1" } + transform-function-name { "edge":"17" } + transform-parameters { "edge":"17" } transform-modules-commonjs { "android":"77", "chrome":"77", "edge":"17", "firefox":"70", "ios":"13", "opera":"63", "safari":"12.1", "samsung":"9.2" } proposal-dynamic-import { "android":"77", "chrome":"77", "edge":"17", "firefox":"70", "ios":"13", "opera":"63", "safari":"12.1", "samsung":"9.2" } diff --git a/packages/babel-preset-env/test/fixtures/debug/corejs-without-usebuiltins/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/corejs-without-usebuiltins/stdout.txt index 90cb09a761..e1689dfc56 100644 --- a/packages/babel-preset-env/test/fixtures/debug/corejs-without-usebuiltins/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/corejs-without-usebuiltins/stdout.txt @@ -8,6 +8,17 @@ Using targets: Using modules transform: auto Using plugins: + proposal-nullish-coalescing-operator {} + proposal-optional-chaining {} + proposal-json-strings {} + proposal-optional-catch-binding {} + proposal-async-generator-functions {} + proposal-object-rest-spread {} + transform-dotall-regex {} + proposal-unicode-property-regex {} + transform-named-capturing-groups-regex {} + transform-async-to-generator {} + transform-exponentiation-operator {} transform-template-literals {} transform-literals {} transform-function-name {} @@ -20,7 +31,6 @@ Using plugins: transform-computed-properties {} transform-for-of {} transform-sticky-regex {} - transform-dotall-regex {} transform-unicode-regex {} transform-spread {} transform-parameters {} @@ -29,19 +39,9 @@ Using plugins: transform-typeof-symbol {} transform-new-target {} transform-regenerator {} - transform-exponentiation-operator {} - transform-async-to-generator {} - proposal-async-generator-functions {} - proposal-object-rest-spread {} - proposal-unicode-property-regex {} - proposal-json-strings {} - proposal-optional-catch-binding {} - proposal-optional-chaining {} - transform-named-capturing-groups-regex {} transform-member-expression-literals {} transform-property-literals {} transform-reserved-words {} - proposal-nullish-coalescing-operator {} transform-modules-commonjs {} proposal-dynamic-import {} diff --git a/packages/babel-preset-env/test/fixtures/debug/entry-corejs2-android/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/entry-corejs2-android/stdout.txt index 5fed38cd6a..abdc923568 100644 --- a/packages/babel-preset-env/test/fixtures/debug/entry-corejs2-android/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/entry-corejs2-android/stdout.txt @@ -8,6 +8,17 @@ Using targets: Using modules transform: auto Using plugins: + proposal-nullish-coalescing-operator { "android":"4" } + proposal-optional-chaining { "android":"4" } + proposal-json-strings { "android":"4" } + proposal-optional-catch-binding { "android":"4" } + proposal-async-generator-functions { "android":"4" } + proposal-object-rest-spread { "android":"4" } + transform-dotall-regex { "android":"4" } + proposal-unicode-property-regex { "android":"4" } + transform-named-capturing-groups-regex { "android":"4" } + transform-async-to-generator { "android":"4" } + transform-exponentiation-operator { "android":"4" } transform-template-literals { "android":"4" } transform-literals { "android":"4" } transform-function-name { "android":"4" } @@ -20,7 +31,6 @@ Using plugins: transform-computed-properties { "android":"4" } transform-for-of { "android":"4" } transform-sticky-regex { "android":"4" } - transform-dotall-regex { "android":"4" } transform-unicode-regex { "android":"4" } transform-spread { "android":"4" } transform-parameters { "android":"4" } @@ -29,17 +39,7 @@ Using plugins: transform-typeof-symbol { "android":"4" } transform-new-target { "android":"4" } transform-regenerator { "android":"4" } - transform-exponentiation-operator { "android":"4" } - transform-async-to-generator { "android":"4" } - proposal-async-generator-functions { "android":"4" } - proposal-object-rest-spread { "android":"4" } - proposal-unicode-property-regex { "android":"4" } - proposal-json-strings { "android":"4" } - proposal-optional-catch-binding { "android":"4" } - proposal-optional-chaining { "android":"4" } - transform-named-capturing-groups-regex { "android":"4" } transform-reserved-words { "android":"4" } - proposal-nullish-coalescing-operator { "android":"4" } transform-modules-commonjs { "android":"4" } proposal-dynamic-import { "android":"4" } diff --git a/packages/babel-preset-env/test/fixtures/debug/entry-corejs2-electron/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/entry-corejs2-electron/stdout.txt index b97398e635..fedd8cec9a 100644 --- a/packages/babel-preset-env/test/fixtures/debug/entry-corejs2-electron/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/entry-corejs2-electron/stdout.txt @@ -15,27 +15,27 @@ Using targets: Using modules transform: auto Using plugins: + proposal-nullish-coalescing-operator { "electron":"0.36" } + proposal-optional-chaining { "electron":"0.36" } + proposal-json-strings { "electron":"0.36" } + proposal-optional-catch-binding { "electron":"0.36" } + proposal-async-generator-functions { "electron":"0.36" } + proposal-object-rest-spread { "electron":"0.36" } + transform-dotall-regex { "electron":"0.36" } + proposal-unicode-property-regex { "electron":"0.36" } + transform-named-capturing-groups-regex { "electron":"0.36" } + transform-async-to-generator { "electron":"0.36" } + transform-exponentiation-operator { "electron":"0.36" } transform-function-name { "electron":"0.36" } transform-for-of { "electron":"0.36" } transform-sticky-regex { "electron":"0.36" } - transform-dotall-regex { "electron":"0.36" } transform-unicode-regex { "electron":"0.36" } transform-parameters { "electron":"0.36" } transform-destructuring { "electron":"0.36" } transform-block-scoping { "electron":"0.36" } transform-regenerator { "electron":"0.36" } - transform-exponentiation-operator { "electron":"0.36" } - transform-async-to-generator { "electron":"0.36" } - proposal-async-generator-functions { "electron":"0.36" } - proposal-object-rest-spread { "electron":"0.36" } - proposal-unicode-property-regex { "electron":"0.36" } - proposal-json-strings { "electron":"0.36" } - proposal-optional-catch-binding { "electron":"0.36" } - proposal-optional-chaining { "electron":"0.36" } - transform-named-capturing-groups-regex { "electron":"0.36" } transform-member-expression-literals { "electron":"0.36" } transform-property-literals { "electron":"0.36" } - proposal-nullish-coalescing-operator { "electron":"0.36" } transform-modules-commonjs { "electron":"0.36" } proposal-dynamic-import { "electron":"0.36" } diff --git a/packages/babel-preset-env/test/fixtures/debug/entry-corejs2-force-all-transforms/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/entry-corejs2-force-all-transforms/stdout.txt index 86eb78a011..f7c958804d 100644 --- a/packages/babel-preset-env/test/fixtures/debug/entry-corejs2-force-all-transforms/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/entry-corejs2-force-all-transforms/stdout.txt @@ -8,6 +8,17 @@ Using targets: Using modules transform: false Using plugins: + proposal-nullish-coalescing-operator { "chrome":"55" } + proposal-optional-chaining { "chrome":"55" } + proposal-json-strings { "chrome":"55" } + proposal-optional-catch-binding { "chrome":"55" } + proposal-async-generator-functions { "chrome":"55" } + proposal-object-rest-spread { "chrome":"55" } + transform-dotall-regex { "chrome":"55" } + proposal-unicode-property-regex { "chrome":"55" } + transform-named-capturing-groups-regex { "chrome":"55" } + transform-async-to-generator {} + transform-exponentiation-operator {} transform-template-literals {} transform-literals {} transform-function-name {} @@ -20,7 +31,6 @@ Using plugins: transform-computed-properties {} transform-for-of {} transform-sticky-regex {} - transform-dotall-regex { "chrome":"55" } transform-unicode-regex {} transform-spread {} transform-parameters {} @@ -29,19 +39,9 @@ Using plugins: transform-typeof-symbol {} transform-new-target {} transform-regenerator {} - transform-exponentiation-operator {} - transform-async-to-generator {} - proposal-async-generator-functions { "chrome":"55" } - proposal-object-rest-spread { "chrome":"55" } - proposal-unicode-property-regex { "chrome":"55" } - proposal-json-strings { "chrome":"55" } - proposal-optional-catch-binding { "chrome":"55" } - proposal-optional-chaining { "chrome":"55" } - transform-named-capturing-groups-regex { "chrome":"55" } transform-member-expression-literals {} transform-property-literals {} transform-reserved-words {} - proposal-nullish-coalescing-operator { "chrome":"55" } syntax-dynamic-import { "chrome":"55" } Using polyfills with `entry` option: diff --git a/packages/babel-preset-env/test/fixtures/debug/entry-corejs2-no-import/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/entry-corejs2-no-import/stdout.txt index 2df247258e..78ce760b41 100644 --- a/packages/babel-preset-env/test/fixtures/debug/entry-corejs2-no-import/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/entry-corejs2-no-import/stdout.txt @@ -8,20 +8,20 @@ Using targets: Using modules transform: auto Using plugins: - transform-function-name { "node":"6" } - transform-for-of { "node":"6" } - transform-dotall-regex { "node":"6" } - transform-destructuring { "node":"6" } - transform-exponentiation-operator { "node":"6" } - transform-async-to-generator { "node":"6" } - proposal-async-generator-functions { "node":"6" } - proposal-object-rest-spread { "node":"6" } - proposal-unicode-property-regex { "node":"6" } + proposal-nullish-coalescing-operator { "node":"6" } + proposal-optional-chaining { "node":"6" } proposal-json-strings { "node":"6" } proposal-optional-catch-binding { "node":"6" } - proposal-optional-chaining { "node":"6" } + proposal-async-generator-functions { "node":"6" } + proposal-object-rest-spread { "node":"6" } + transform-dotall-regex { "node":"6" } + proposal-unicode-property-regex { "node":"6" } transform-named-capturing-groups-regex { "node":"6" } - proposal-nullish-coalescing-operator { "node":"6" } + transform-async-to-generator { "node":"6" } + transform-exponentiation-operator { "node":"6" } + transform-function-name { "node":"6" } + transform-for-of { "node":"6" } + transform-destructuring { "node":"6" } transform-modules-commonjs { "node":"6" } proposal-dynamic-import { "node":"6" } diff --git a/packages/babel-preset-env/test/fixtures/debug/entry-corejs2-proposals-chrome-71/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/entry-corejs2-proposals-chrome-71/stdout.txt index cabc2e89b1..7530969348 100644 --- a/packages/babel-preset-env/test/fixtures/debug/entry-corejs2-proposals-chrome-71/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/entry-corejs2-proposals-chrome-71/stdout.txt @@ -8,12 +8,12 @@ Using targets: Using modules transform: auto Using plugins: - syntax-async-generators { "chrome":"71" } - syntax-object-rest-spread { "chrome":"71" } + proposal-nullish-coalescing-operator { "chrome":"71" } + proposal-optional-chaining { "chrome":"71" } syntax-json-strings { "chrome":"71" } syntax-optional-catch-binding { "chrome":"71" } - proposal-optional-chaining { "chrome":"71" } - proposal-nullish-coalescing-operator { "chrome":"71" } + syntax-async-generators { "chrome":"71" } + syntax-object-rest-spread { "chrome":"71" } transform-modules-commonjs { "chrome":"71" } proposal-dynamic-import { "chrome":"71" } diff --git a/packages/babel-preset-env/test/fixtures/debug/entry-corejs2-proposals/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/entry-corejs2-proposals/stdout.txt index a43849e003..becaa21f96 100644 --- a/packages/babel-preset-env/test/fixtures/debug/entry-corejs2-proposals/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/entry-corejs2-proposals/stdout.txt @@ -6,6 +6,17 @@ Using targets: Using modules transform: auto Using plugins: + proposal-nullish-coalescing-operator {} + proposal-optional-chaining {} + proposal-json-strings {} + proposal-optional-catch-binding {} + proposal-async-generator-functions {} + proposal-object-rest-spread {} + transform-dotall-regex {} + proposal-unicode-property-regex {} + transform-named-capturing-groups-regex {} + transform-async-to-generator {} + transform-exponentiation-operator {} transform-template-literals {} transform-literals {} transform-function-name {} @@ -18,7 +29,6 @@ Using plugins: transform-computed-properties {} transform-for-of {} transform-sticky-regex {} - transform-dotall-regex {} transform-unicode-regex {} transform-spread {} transform-parameters {} @@ -27,19 +37,9 @@ Using plugins: transform-typeof-symbol {} transform-new-target {} transform-regenerator {} - transform-exponentiation-operator {} - transform-async-to-generator {} - proposal-async-generator-functions {} - proposal-object-rest-spread {} - proposal-unicode-property-regex {} - proposal-json-strings {} - proposal-optional-catch-binding {} - proposal-optional-chaining {} - transform-named-capturing-groups-regex {} transform-member-expression-literals {} transform-property-literals {} transform-reserved-words {} - proposal-nullish-coalescing-operator {} transform-modules-commonjs {} proposal-dynamic-import {} diff --git a/packages/babel-preset-env/test/fixtures/debug/entry-corejs2-shippedProposals-chrome-71/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/entry-corejs2-shippedProposals-chrome-71/stdout.txt index 1587cd42c1..66f70eb69f 100644 --- a/packages/babel-preset-env/test/fixtures/debug/entry-corejs2-shippedProposals-chrome-71/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/entry-corejs2-shippedProposals-chrome-71/stdout.txt @@ -8,12 +8,12 @@ Using targets: Using modules transform: auto Using plugins: - syntax-async-generators { "chrome":"71" } - syntax-object-rest-spread { "chrome":"71" } + proposal-nullish-coalescing-operator { "chrome":"71" } + proposal-optional-chaining { "chrome":"71" } syntax-json-strings { "chrome":"71" } syntax-optional-catch-binding { "chrome":"71" } - proposal-optional-chaining { "chrome":"71" } - proposal-nullish-coalescing-operator { "chrome":"71" } + syntax-async-generators { "chrome":"71" } + syntax-object-rest-spread { "chrome":"71" } transform-modules-commonjs { "chrome":"71" } proposal-dynamic-import { "chrome":"71" } diff --git a/packages/babel-preset-env/test/fixtures/debug/entry-corejs2-shippedProposals/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/entry-corejs2-shippedProposals/stdout.txt index ede20c21f5..21a77b2236 100644 --- a/packages/babel-preset-env/test/fixtures/debug/entry-corejs2-shippedProposals/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/entry-corejs2-shippedProposals/stdout.txt @@ -6,6 +6,17 @@ Using targets: Using modules transform: auto Using plugins: + proposal-nullish-coalescing-operator {} + proposal-optional-chaining {} + proposal-json-strings {} + proposal-optional-catch-binding {} + proposal-async-generator-functions {} + proposal-object-rest-spread {} + transform-dotall-regex {} + proposal-unicode-property-regex {} + transform-named-capturing-groups-regex {} + transform-async-to-generator {} + transform-exponentiation-operator {} transform-template-literals {} transform-literals {} transform-function-name {} @@ -18,7 +29,6 @@ Using plugins: transform-computed-properties {} transform-for-of {} transform-sticky-regex {} - transform-dotall-regex {} transform-unicode-regex {} transform-spread {} transform-parameters {} @@ -27,19 +37,9 @@ Using plugins: transform-typeof-symbol {} transform-new-target {} transform-regenerator {} - transform-exponentiation-operator {} - transform-async-to-generator {} - proposal-async-generator-functions {} - proposal-object-rest-spread {} - proposal-unicode-property-regex {} - proposal-json-strings {} - proposal-optional-catch-binding {} - proposal-optional-chaining {} - transform-named-capturing-groups-regex {} transform-member-expression-literals {} transform-property-literals {} transform-reserved-words {} - proposal-nullish-coalescing-operator {} transform-modules-commonjs {} proposal-dynamic-import {} diff --git a/packages/babel-preset-env/test/fixtures/debug/entry-corejs2-specific-targets/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/entry-corejs2-specific-targets/stdout.txt index 9c1a297d03..d5e10e7888 100644 --- a/packages/babel-preset-env/test/fixtures/debug/entry-corejs2-specific-targets/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/entry-corejs2-specific-targets/stdout.txt @@ -13,6 +13,17 @@ Using targets: Using modules transform: auto Using plugins: + proposal-nullish-coalescing-operator { "chrome":"54", "edge":"13", "firefox":"49", "ie":"10", "ios":"9", "safari":"7" } + proposal-optional-chaining { "chrome":"54", "edge":"13", "firefox":"49", "ie":"10", "ios":"9", "safari":"7" } + proposal-json-strings { "chrome":"54", "edge":"13", "firefox":"49", "ie":"10", "ios":"9", "safari":"7" } + proposal-optional-catch-binding { "chrome":"54", "edge":"13", "firefox":"49", "ie":"10", "ios":"9", "safari":"7" } + proposal-async-generator-functions { "chrome":"54", "edge":"13", "firefox":"49", "ie":"10", "ios":"9", "safari":"7" } + proposal-object-rest-spread { "chrome":"54", "edge":"13", "firefox":"49", "ie":"10", "ios":"9", "safari":"7" } + transform-dotall-regex { "chrome":"54", "edge":"13", "firefox":"49", "ie":"10", "ios":"9", "safari":"7" } + proposal-unicode-property-regex { "chrome":"54", "edge":"13", "firefox":"49", "ie":"10", "ios":"9", "safari":"7" } + transform-named-capturing-groups-regex { "chrome":"54", "edge":"13", "firefox":"49", "ie":"10", "ios":"9", "safari":"7" } + transform-async-to-generator { "chrome":"54", "edge":"13", "firefox":"49", "ie":"10", "ios":"9", "safari":"7" } + transform-exponentiation-operator { "edge":"13", "firefox":"49", "ie":"10", "ios":"9", "safari":"7" } transform-template-literals { "ie":"10", "ios":"9", "safari":"7" } transform-literals { "firefox":"49", "ie":"10", "safari":"7" } transform-function-name { "edge":"13", "firefox":"49", "ie":"10", "ios":"9", "safari":"7" } @@ -25,7 +36,6 @@ Using plugins: transform-computed-properties { "ie":"10", "safari":"7" } transform-for-of { "edge":"13", "firefox":"49", "ie":"10", "ios":"9", "safari":"7" } transform-sticky-regex { "ie":"10", "ios":"9", "safari":"7" } - transform-dotall-regex { "chrome":"54", "edge":"13", "firefox":"49", "ie":"10", "ios":"9", "safari":"7" } transform-unicode-regex { "ie":"10", "ios":"9", "safari":"7" } transform-spread { "ie":"10", "ios":"9", "safari":"7" } transform-parameters { "edge":"13", "firefox":"49", "ie":"10", "ios":"9", "safari":"7" } @@ -34,16 +44,6 @@ Using plugins: transform-typeof-symbol { "ie":"10", "safari":"7" } transform-new-target { "edge":"13", "ie":"10", "ios":"9", "safari":"7" } transform-regenerator { "firefox":"49", "ie":"10", "ios":"9", "safari":"7" } - transform-exponentiation-operator { "edge":"13", "firefox":"49", "ie":"10", "ios":"9", "safari":"7" } - transform-async-to-generator { "chrome":"54", "edge":"13", "firefox":"49", "ie":"10", "ios":"9", "safari":"7" } - proposal-async-generator-functions { "chrome":"54", "edge":"13", "firefox":"49", "ie":"10", "ios":"9", "safari":"7" } - proposal-object-rest-spread { "chrome":"54", "edge":"13", "firefox":"49", "ie":"10", "ios":"9", "safari":"7" } - proposal-unicode-property-regex { "chrome":"54", "edge":"13", "firefox":"49", "ie":"10", "ios":"9", "safari":"7" } - proposal-json-strings { "chrome":"54", "edge":"13", "firefox":"49", "ie":"10", "ios":"9", "safari":"7" } - proposal-optional-catch-binding { "chrome":"54", "edge":"13", "firefox":"49", "ie":"10", "ios":"9", "safari":"7" } - proposal-optional-chaining { "chrome":"54", "edge":"13", "firefox":"49", "ie":"10", "ios":"9", "safari":"7" } - transform-named-capturing-groups-regex { "chrome":"54", "edge":"13", "firefox":"49", "ie":"10", "ios":"9", "safari":"7" } - proposal-nullish-coalescing-operator { "chrome":"54", "edge":"13", "firefox":"49", "ie":"10", "ios":"9", "safari":"7" } transform-modules-commonjs { "chrome":"54", "edge":"13", "firefox":"49", "ie":"10", "ios":"9", "safari":"7" } proposal-dynamic-import { "chrome":"54", "edge":"13", "firefox":"49", "ie":"10", "ios":"9", "safari":"7" } diff --git a/packages/babel-preset-env/test/fixtures/debug/entry-corejs2-versions-decimals/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/entry-corejs2-versions-decimals/stdout.txt index e193138545..1ed1729ff3 100644 --- a/packages/babel-preset-env/test/fixtures/debug/entry-corejs2-versions-decimals/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/entry-corejs2-versions-decimals/stdout.txt @@ -19,6 +19,17 @@ Using targets: Using modules transform: auto Using plugins: + proposal-nullish-coalescing-operator { "chrome":"54", "electron":"0.36", "ie":"10", "node":"6.1" } + proposal-optional-chaining { "chrome":"54", "electron":"0.36", "ie":"10", "node":"6.1" } + proposal-json-strings { "chrome":"54", "electron":"0.36", "ie":"10", "node":"6.1" } + proposal-optional-catch-binding { "chrome":"54", "electron":"0.36", "ie":"10", "node":"6.1" } + proposal-async-generator-functions { "chrome":"54", "electron":"0.36", "ie":"10", "node":"6.1" } + proposal-object-rest-spread { "chrome":"54", "electron":"0.36", "ie":"10", "node":"6.1" } + transform-dotall-regex { "chrome":"54", "electron":"0.36", "ie":"10", "node":"6.1" } + proposal-unicode-property-regex { "chrome":"54", "electron":"0.36", "ie":"10", "node":"6.1" } + transform-named-capturing-groups-regex { "chrome":"54", "electron":"0.36", "ie":"10", "node":"6.1" } + transform-async-to-generator { "chrome":"54", "electron":"0.36", "ie":"10", "node":"6.1" } + transform-exponentiation-operator { "electron":"0.36", "ie":"10", "node":"6.1" } transform-template-literals { "ie":"10" } transform-literals { "ie":"10" } transform-function-name { "electron":"0.36", "ie":"10", "node":"6.1" } @@ -31,7 +42,6 @@ Using plugins: transform-computed-properties { "ie":"10" } transform-for-of { "electron":"0.36", "ie":"10", "node":"6.1" } transform-sticky-regex { "electron":"0.36", "ie":"10" } - transform-dotall-regex { "chrome":"54", "electron":"0.36", "ie":"10", "node":"6.1" } transform-unicode-regex { "electron":"0.36", "ie":"10" } transform-spread { "ie":"10" } transform-parameters { "electron":"0.36", "ie":"10" } @@ -40,18 +50,8 @@ Using plugins: transform-typeof-symbol { "ie":"10" } transform-new-target { "ie":"10" } transform-regenerator { "electron":"0.36", "ie":"10" } - transform-exponentiation-operator { "electron":"0.36", "ie":"10", "node":"6.1" } - transform-async-to-generator { "chrome":"54", "electron":"0.36", "ie":"10", "node":"6.1" } - proposal-async-generator-functions { "chrome":"54", "electron":"0.36", "ie":"10", "node":"6.1" } - proposal-object-rest-spread { "chrome":"54", "electron":"0.36", "ie":"10", "node":"6.1" } - proposal-unicode-property-regex { "chrome":"54", "electron":"0.36", "ie":"10", "node":"6.1" } - proposal-json-strings { "chrome":"54", "electron":"0.36", "ie":"10", "node":"6.1" } - proposal-optional-catch-binding { "chrome":"54", "electron":"0.36", "ie":"10", "node":"6.1" } - proposal-optional-chaining { "chrome":"54", "electron":"0.36", "ie":"10", "node":"6.1" } - transform-named-capturing-groups-regex { "chrome":"54", "electron":"0.36", "ie":"10", "node":"6.1" } transform-member-expression-literals { "electron":"0.36" } transform-property-literals { "electron":"0.36" } - proposal-nullish-coalescing-operator { "chrome":"54", "electron":"0.36", "ie":"10", "node":"6.1" } transform-modules-commonjs { "chrome":"54", "electron":"0.36", "ie":"10", "node":"6.1" } proposal-dynamic-import { "chrome":"54", "electron":"0.36", "ie":"10", "node":"6.1" } diff --git a/packages/babel-preset-env/test/fixtures/debug/entry-corejs2-versions-strings/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/entry-corejs2-versions-strings/stdout.txt index 2d8d7d79f3..f92c287704 100644 --- a/packages/babel-preset-env/test/fixtures/debug/entry-corejs2-versions-strings/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/entry-corejs2-versions-strings/stdout.txt @@ -10,6 +10,17 @@ Using targets: Using modules transform: auto Using plugins: + proposal-nullish-coalescing-operator { "chrome":"54", "ie":"10", "node":"6.10" } + proposal-optional-chaining { "chrome":"54", "ie":"10", "node":"6.10" } + proposal-json-strings { "chrome":"54", "ie":"10", "node":"6.10" } + proposal-optional-catch-binding { "chrome":"54", "ie":"10", "node":"6.10" } + proposal-async-generator-functions { "chrome":"54", "ie":"10", "node":"6.10" } + proposal-object-rest-spread { "chrome":"54", "ie":"10", "node":"6.10" } + transform-dotall-regex { "chrome":"54", "ie":"10", "node":"6.10" } + proposal-unicode-property-regex { "chrome":"54", "ie":"10", "node":"6.10" } + transform-named-capturing-groups-regex { "chrome":"54", "ie":"10", "node":"6.10" } + transform-async-to-generator { "chrome":"54", "ie":"10", "node":"6.10" } + transform-exponentiation-operator { "ie":"10", "node":"6.10" } transform-template-literals { "ie":"10" } transform-literals { "ie":"10" } transform-function-name { "ie":"10" } @@ -22,7 +33,6 @@ Using plugins: transform-computed-properties { "ie":"10" } transform-for-of { "ie":"10" } transform-sticky-regex { "ie":"10" } - transform-dotall-regex { "chrome":"54", "ie":"10", "node":"6.10" } transform-unicode-regex { "ie":"10" } transform-spread { "ie":"10" } transform-parameters { "ie":"10" } @@ -31,16 +41,6 @@ Using plugins: transform-typeof-symbol { "ie":"10" } transform-new-target { "ie":"10" } transform-regenerator { "ie":"10" } - transform-exponentiation-operator { "ie":"10", "node":"6.10" } - transform-async-to-generator { "chrome":"54", "ie":"10", "node":"6.10" } - proposal-async-generator-functions { "chrome":"54", "ie":"10", "node":"6.10" } - proposal-object-rest-spread { "chrome":"54", "ie":"10", "node":"6.10" } - proposal-unicode-property-regex { "chrome":"54", "ie":"10", "node":"6.10" } - proposal-json-strings { "chrome":"54", "ie":"10", "node":"6.10" } - proposal-optional-catch-binding { "chrome":"54", "ie":"10", "node":"6.10" } - proposal-optional-chaining { "chrome":"54", "ie":"10", "node":"6.10" } - transform-named-capturing-groups-regex { "chrome":"54", "ie":"10", "node":"6.10" } - proposal-nullish-coalescing-operator { "chrome":"54", "ie":"10", "node":"6.10" } transform-modules-commonjs { "chrome":"54", "ie":"10", "node":"6.10" } proposal-dynamic-import { "chrome":"54", "ie":"10", "node":"6.10" } diff --git a/packages/babel-preset-env/test/fixtures/debug/entry-corejs2/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/entry-corejs2/stdout.txt index 68c9b3ce7d..cf0b8e69e2 100644 --- a/packages/babel-preset-env/test/fixtures/debug/entry-corejs2/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/entry-corejs2/stdout.txt @@ -10,6 +10,17 @@ Using targets: Using modules transform: auto Using plugins: + proposal-nullish-coalescing-operator { "chrome":"54", "ie":"10", "node":"6" } + proposal-optional-chaining { "chrome":"54", "ie":"10", "node":"6" } + proposal-json-strings { "chrome":"54", "ie":"10", "node":"6" } + proposal-optional-catch-binding { "chrome":"54", "ie":"10", "node":"6" } + proposal-async-generator-functions { "chrome":"54", "ie":"10", "node":"6" } + proposal-object-rest-spread { "chrome":"54", "ie":"10", "node":"6" } + transform-dotall-regex { "chrome":"54", "ie":"10", "node":"6" } + proposal-unicode-property-regex { "chrome":"54", "ie":"10", "node":"6" } + transform-named-capturing-groups-regex { "chrome":"54", "ie":"10", "node":"6" } + transform-async-to-generator { "chrome":"54", "ie":"10", "node":"6" } + transform-exponentiation-operator { "ie":"10", "node":"6" } transform-template-literals { "ie":"10" } transform-literals { "ie":"10" } transform-function-name { "ie":"10", "node":"6" } @@ -22,7 +33,6 @@ Using plugins: transform-computed-properties { "ie":"10" } transform-for-of { "ie":"10", "node":"6" } transform-sticky-regex { "ie":"10" } - transform-dotall-regex { "chrome":"54", "ie":"10", "node":"6" } transform-unicode-regex { "ie":"10" } transform-spread { "ie":"10" } transform-parameters { "ie":"10" } @@ -31,16 +41,6 @@ Using plugins: transform-typeof-symbol { "ie":"10" } transform-new-target { "ie":"10" } transform-regenerator { "ie":"10" } - transform-exponentiation-operator { "ie":"10", "node":"6" } - transform-async-to-generator { "chrome":"54", "ie":"10", "node":"6" } - proposal-async-generator-functions { "chrome":"54", "ie":"10", "node":"6" } - proposal-object-rest-spread { "chrome":"54", "ie":"10", "node":"6" } - proposal-unicode-property-regex { "chrome":"54", "ie":"10", "node":"6" } - proposal-json-strings { "chrome":"54", "ie":"10", "node":"6" } - proposal-optional-catch-binding { "chrome":"54", "ie":"10", "node":"6" } - proposal-optional-chaining { "chrome":"54", "ie":"10", "node":"6" } - transform-named-capturing-groups-regex { "chrome":"54", "ie":"10", "node":"6" } - proposal-nullish-coalescing-operator { "chrome":"54", "ie":"10", "node":"6" } transform-modules-commonjs { "chrome":"54", "ie":"10", "node":"6" } proposal-dynamic-import { "chrome":"54", "ie":"10", "node":"6" } diff --git a/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-all-chrome-71/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-all-chrome-71/stdout.txt index 1c4911d57f..61d7dd28ed 100644 --- a/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-all-chrome-71/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-all-chrome-71/stdout.txt @@ -8,12 +8,12 @@ Using targets: Using modules transform: auto Using plugins: - syntax-async-generators { "chrome":"71" } - syntax-object-rest-spread { "chrome":"71" } + proposal-nullish-coalescing-operator { "chrome":"71" } + proposal-optional-chaining { "chrome":"71" } syntax-json-strings { "chrome":"71" } syntax-optional-catch-binding { "chrome":"71" } - proposal-optional-chaining { "chrome":"71" } - proposal-nullish-coalescing-operator { "chrome":"71" } + syntax-async-generators { "chrome":"71" } + syntax-object-rest-spread { "chrome":"71" } transform-modules-commonjs { "chrome":"71" } proposal-dynamic-import { "chrome":"71" } diff --git a/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-all/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-all/stdout.txt index 3af17db4ff..782c340422 100644 --- a/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-all/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-all/stdout.txt @@ -6,6 +6,17 @@ Using targets: Using modules transform: auto Using plugins: + proposal-nullish-coalescing-operator {} + proposal-optional-chaining {} + proposal-json-strings {} + proposal-optional-catch-binding {} + proposal-async-generator-functions {} + proposal-object-rest-spread {} + transform-dotall-regex {} + proposal-unicode-property-regex {} + transform-named-capturing-groups-regex {} + transform-async-to-generator {} + transform-exponentiation-operator {} transform-template-literals {} transform-literals {} transform-function-name {} @@ -18,7 +29,6 @@ Using plugins: transform-computed-properties {} transform-for-of {} transform-sticky-regex {} - transform-dotall-regex {} transform-unicode-regex {} transform-spread {} transform-parameters {} @@ -27,19 +37,9 @@ Using plugins: transform-typeof-symbol {} transform-new-target {} transform-regenerator {} - transform-exponentiation-operator {} - transform-async-to-generator {} - proposal-async-generator-functions {} - proposal-object-rest-spread {} - proposal-unicode-property-regex {} - proposal-json-strings {} - proposal-optional-catch-binding {} - proposal-optional-chaining {} - transform-named-capturing-groups-regex {} transform-member-expression-literals {} transform-property-literals {} transform-reserved-words {} - proposal-nullish-coalescing-operator {} transform-modules-commonjs {} proposal-dynamic-import {} diff --git a/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-android/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-android/stdout.txt index a19089b321..0323ea4914 100644 --- a/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-android/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-android/stdout.txt @@ -8,6 +8,17 @@ Using targets: Using modules transform: auto Using plugins: + proposal-nullish-coalescing-operator { "android":"4" } + proposal-optional-chaining { "android":"4" } + proposal-json-strings { "android":"4" } + proposal-optional-catch-binding { "android":"4" } + proposal-async-generator-functions { "android":"4" } + proposal-object-rest-spread { "android":"4" } + transform-dotall-regex { "android":"4" } + proposal-unicode-property-regex { "android":"4" } + transform-named-capturing-groups-regex { "android":"4" } + transform-async-to-generator { "android":"4" } + transform-exponentiation-operator { "android":"4" } transform-template-literals { "android":"4" } transform-literals { "android":"4" } transform-function-name { "android":"4" } @@ -20,7 +31,6 @@ Using plugins: transform-computed-properties { "android":"4" } transform-for-of { "android":"4" } transform-sticky-regex { "android":"4" } - transform-dotall-regex { "android":"4" } transform-unicode-regex { "android":"4" } transform-spread { "android":"4" } transform-parameters { "android":"4" } @@ -29,17 +39,7 @@ Using plugins: transform-typeof-symbol { "android":"4" } transform-new-target { "android":"4" } transform-regenerator { "android":"4" } - transform-exponentiation-operator { "android":"4" } - transform-async-to-generator { "android":"4" } - proposal-async-generator-functions { "android":"4" } - proposal-object-rest-spread { "android":"4" } - proposal-unicode-property-regex { "android":"4" } - proposal-json-strings { "android":"4" } - proposal-optional-catch-binding { "android":"4" } - proposal-optional-chaining { "android":"4" } - transform-named-capturing-groups-regex { "android":"4" } transform-reserved-words { "android":"4" } - proposal-nullish-coalescing-operator { "android":"4" } transform-modules-commonjs { "android":"4" } proposal-dynamic-import { "android":"4" } diff --git a/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-babel-polyfill/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-babel-polyfill/stdout.txt index 1dd62898e8..43399e39cc 100644 --- a/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-babel-polyfill/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-babel-polyfill/stdout.txt @@ -6,6 +6,17 @@ Using targets: Using modules transform: auto Using plugins: + proposal-nullish-coalescing-operator {} + proposal-optional-chaining {} + proposal-json-strings {} + proposal-optional-catch-binding {} + proposal-async-generator-functions {} + proposal-object-rest-spread {} + transform-dotall-regex {} + proposal-unicode-property-regex {} + transform-named-capturing-groups-regex {} + transform-async-to-generator {} + transform-exponentiation-operator {} transform-template-literals {} transform-literals {} transform-function-name {} @@ -18,7 +29,6 @@ Using plugins: transform-computed-properties {} transform-for-of {} transform-sticky-regex {} - transform-dotall-regex {} transform-unicode-regex {} transform-spread {} transform-parameters {} @@ -27,19 +37,9 @@ Using plugins: transform-typeof-symbol {} transform-new-target {} transform-regenerator {} - transform-exponentiation-operator {} - transform-async-to-generator {} - proposal-async-generator-functions {} - proposal-object-rest-spread {} - proposal-unicode-property-regex {} - proposal-json-strings {} - proposal-optional-catch-binding {} - proposal-optional-chaining {} - transform-named-capturing-groups-regex {} transform-member-expression-literals {} transform-property-literals {} transform-reserved-words {} - proposal-nullish-coalescing-operator {} transform-modules-commonjs {} proposal-dynamic-import {} diff --git a/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-electron/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-electron/stdout.txt index bbbb95df33..97a9f5b910 100644 --- a/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-electron/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-electron/stdout.txt @@ -15,27 +15,27 @@ Using targets: Using modules transform: auto Using plugins: + proposal-nullish-coalescing-operator { "electron":"0.36" } + proposal-optional-chaining { "electron":"0.36" } + proposal-json-strings { "electron":"0.36" } + proposal-optional-catch-binding { "electron":"0.36" } + proposal-async-generator-functions { "electron":"0.36" } + proposal-object-rest-spread { "electron":"0.36" } + transform-dotall-regex { "electron":"0.36" } + proposal-unicode-property-regex { "electron":"0.36" } + transform-named-capturing-groups-regex { "electron":"0.36" } + transform-async-to-generator { "electron":"0.36" } + transform-exponentiation-operator { "electron":"0.36" } transform-function-name { "electron":"0.36" } transform-for-of { "electron":"0.36" } transform-sticky-regex { "electron":"0.36" } - transform-dotall-regex { "electron":"0.36" } transform-unicode-regex { "electron":"0.36" } transform-parameters { "electron":"0.36" } transform-destructuring { "electron":"0.36" } transform-block-scoping { "electron":"0.36" } transform-regenerator { "electron":"0.36" } - transform-exponentiation-operator { "electron":"0.36" } - transform-async-to-generator { "electron":"0.36" } - proposal-async-generator-functions { "electron":"0.36" } - proposal-object-rest-spread { "electron":"0.36" } - proposal-unicode-property-regex { "electron":"0.36" } - proposal-json-strings { "electron":"0.36" } - proposal-optional-catch-binding { "electron":"0.36" } - proposal-optional-chaining { "electron":"0.36" } - transform-named-capturing-groups-regex { "electron":"0.36" } transform-member-expression-literals { "electron":"0.36" } transform-property-literals { "electron":"0.36" } - proposal-nullish-coalescing-operator { "electron":"0.36" } transform-modules-commonjs { "electron":"0.36" } proposal-dynamic-import { "electron":"0.36" } diff --git a/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-es-chrome-71/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-es-chrome-71/stdout.txt index 4b22e928d3..5cc0bfddd2 100644 --- a/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-es-chrome-71/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-es-chrome-71/stdout.txt @@ -8,12 +8,12 @@ Using targets: Using modules transform: auto Using plugins: - syntax-async-generators { "chrome":"71" } - syntax-object-rest-spread { "chrome":"71" } + proposal-nullish-coalescing-operator { "chrome":"71" } + proposal-optional-chaining { "chrome":"71" } syntax-json-strings { "chrome":"71" } syntax-optional-catch-binding { "chrome":"71" } - proposal-optional-chaining { "chrome":"71" } - proposal-nullish-coalescing-operator { "chrome":"71" } + syntax-async-generators { "chrome":"71" } + syntax-object-rest-spread { "chrome":"71" } transform-modules-commonjs { "chrome":"71" } proposal-dynamic-import { "chrome":"71" } diff --git a/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-es-proposals-chrome-71/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-es-proposals-chrome-71/stdout.txt index ace678c1f9..a476f1fc38 100644 --- a/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-es-proposals-chrome-71/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-es-proposals-chrome-71/stdout.txt @@ -8,12 +8,12 @@ Using targets: Using modules transform: auto Using plugins: - syntax-async-generators { "chrome":"71" } - syntax-object-rest-spread { "chrome":"71" } + proposal-nullish-coalescing-operator { "chrome":"71" } + proposal-optional-chaining { "chrome":"71" } syntax-json-strings { "chrome":"71" } syntax-optional-catch-binding { "chrome":"71" } - proposal-optional-chaining { "chrome":"71" } - proposal-nullish-coalescing-operator { "chrome":"71" } + syntax-async-generators { "chrome":"71" } + syntax-object-rest-spread { "chrome":"71" } transform-modules-commonjs { "chrome":"71" } proposal-dynamic-import { "chrome":"71" } diff --git a/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-es-proposals/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-es-proposals/stdout.txt index c59a2c298f..d79343b26a 100644 --- a/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-es-proposals/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-es-proposals/stdout.txt @@ -6,6 +6,17 @@ Using targets: Using modules transform: auto Using plugins: + proposal-nullish-coalescing-operator {} + proposal-optional-chaining {} + proposal-json-strings {} + proposal-optional-catch-binding {} + proposal-async-generator-functions {} + proposal-object-rest-spread {} + transform-dotall-regex {} + proposal-unicode-property-regex {} + transform-named-capturing-groups-regex {} + transform-async-to-generator {} + transform-exponentiation-operator {} transform-template-literals {} transform-literals {} transform-function-name {} @@ -18,7 +29,6 @@ Using plugins: transform-computed-properties {} transform-for-of {} transform-sticky-regex {} - transform-dotall-regex {} transform-unicode-regex {} transform-spread {} transform-parameters {} @@ -27,19 +37,9 @@ Using plugins: transform-typeof-symbol {} transform-new-target {} transform-regenerator {} - transform-exponentiation-operator {} - transform-async-to-generator {} - proposal-async-generator-functions {} - proposal-object-rest-spread {} - proposal-unicode-property-regex {} - proposal-json-strings {} - proposal-optional-catch-binding {} - proposal-optional-chaining {} - transform-named-capturing-groups-regex {} transform-member-expression-literals {} transform-property-literals {} transform-reserved-words {} - proposal-nullish-coalescing-operator {} transform-modules-commonjs {} proposal-dynamic-import {} diff --git a/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-es/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-es/stdout.txt index be247fafa3..86b35cf080 100644 --- a/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-es/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-es/stdout.txt @@ -6,6 +6,17 @@ Using targets: Using modules transform: auto Using plugins: + proposal-nullish-coalescing-operator {} + proposal-optional-chaining {} + proposal-json-strings {} + proposal-optional-catch-binding {} + proposal-async-generator-functions {} + proposal-object-rest-spread {} + transform-dotall-regex {} + proposal-unicode-property-regex {} + transform-named-capturing-groups-regex {} + transform-async-to-generator {} + transform-exponentiation-operator {} transform-template-literals {} transform-literals {} transform-function-name {} @@ -18,7 +29,6 @@ Using plugins: transform-computed-properties {} transform-for-of {} transform-sticky-regex {} - transform-dotall-regex {} transform-unicode-regex {} transform-spread {} transform-parameters {} @@ -27,19 +37,9 @@ Using plugins: transform-typeof-symbol {} transform-new-target {} transform-regenerator {} - transform-exponentiation-operator {} - transform-async-to-generator {} - proposal-async-generator-functions {} - proposal-object-rest-spread {} - proposal-unicode-property-regex {} - proposal-json-strings {} - proposal-optional-catch-binding {} - proposal-optional-chaining {} - transform-named-capturing-groups-regex {} transform-member-expression-literals {} transform-property-literals {} transform-reserved-words {} - proposal-nullish-coalescing-operator {} transform-modules-commonjs {} proposal-dynamic-import {} diff --git a/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-force-all-transforms/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-force-all-transforms/stdout.txt index 182501549b..ae7027c9ad 100644 --- a/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-force-all-transforms/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-force-all-transforms/stdout.txt @@ -8,6 +8,17 @@ Using targets: Using modules transform: false Using plugins: + proposal-nullish-coalescing-operator { "chrome":"55" } + proposal-optional-chaining { "chrome":"55" } + proposal-json-strings { "chrome":"55" } + proposal-optional-catch-binding { "chrome":"55" } + proposal-async-generator-functions { "chrome":"55" } + proposal-object-rest-spread { "chrome":"55" } + transform-dotall-regex { "chrome":"55" } + proposal-unicode-property-regex { "chrome":"55" } + transform-named-capturing-groups-regex { "chrome":"55" } + transform-async-to-generator {} + transform-exponentiation-operator {} transform-template-literals {} transform-literals {} transform-function-name {} @@ -20,7 +31,6 @@ Using plugins: transform-computed-properties {} transform-for-of {} transform-sticky-regex {} - transform-dotall-regex { "chrome":"55" } transform-unicode-regex {} transform-spread {} transform-parameters {} @@ -29,19 +39,9 @@ Using plugins: transform-typeof-symbol {} transform-new-target {} transform-regenerator {} - transform-exponentiation-operator {} - transform-async-to-generator {} - proposal-async-generator-functions { "chrome":"55" } - proposal-object-rest-spread { "chrome":"55" } - proposal-unicode-property-regex { "chrome":"55" } - proposal-json-strings { "chrome":"55" } - proposal-optional-catch-binding { "chrome":"55" } - proposal-optional-chaining { "chrome":"55" } - transform-named-capturing-groups-regex { "chrome":"55" } transform-member-expression-literals {} transform-property-literals {} transform-reserved-words {} - proposal-nullish-coalescing-operator { "chrome":"55" } syntax-dynamic-import { "chrome":"55" } Using polyfills with `entry` option: diff --git a/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-no-import/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-no-import/stdout.txt index efc3f53ab6..d0765709ed 100644 --- a/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-no-import/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-no-import/stdout.txt @@ -8,20 +8,20 @@ Using targets: Using modules transform: auto Using plugins: - transform-function-name { "node":"6" } - transform-for-of { "node":"6" } - transform-dotall-regex { "node":"6" } - transform-destructuring { "node":"6" } - transform-exponentiation-operator { "node":"6" } - transform-async-to-generator { "node":"6" } - proposal-async-generator-functions { "node":"6" } - proposal-object-rest-spread { "node":"6" } - proposal-unicode-property-regex { "node":"6" } + proposal-nullish-coalescing-operator { "node":"6" } + proposal-optional-chaining { "node":"6" } proposal-json-strings { "node":"6" } proposal-optional-catch-binding { "node":"6" } - proposal-optional-chaining { "node":"6" } + proposal-async-generator-functions { "node":"6" } + proposal-object-rest-spread { "node":"6" } + transform-dotall-regex { "node":"6" } + proposal-unicode-property-regex { "node":"6" } transform-named-capturing-groups-regex { "node":"6" } - proposal-nullish-coalescing-operator { "node":"6" } + transform-async-to-generator { "node":"6" } + transform-exponentiation-operator { "node":"6" } + transform-function-name { "node":"6" } + transform-for-of { "node":"6" } + transform-destructuring { "node":"6" } transform-modules-commonjs { "node":"6" } proposal-dynamic-import { "node":"6" } diff --git a/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-proposals-chrome-71/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-proposals-chrome-71/stdout.txt index 742d4d311e..e68ee42d02 100644 --- a/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-proposals-chrome-71/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-proposals-chrome-71/stdout.txt @@ -8,12 +8,12 @@ Using targets: Using modules transform: auto Using plugins: - syntax-async-generators { "chrome":"71" } - syntax-object-rest-spread { "chrome":"71" } + proposal-nullish-coalescing-operator { "chrome":"71" } + proposal-optional-chaining { "chrome":"71" } syntax-json-strings { "chrome":"71" } syntax-optional-catch-binding { "chrome":"71" } - proposal-optional-chaining { "chrome":"71" } - proposal-nullish-coalescing-operator { "chrome":"71" } + syntax-async-generators { "chrome":"71" } + syntax-object-rest-spread { "chrome":"71" } transform-modules-commonjs { "chrome":"71" } proposal-dynamic-import { "chrome":"71" } diff --git a/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-proposals/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-proposals/stdout.txt index fc866a9de0..f2999ed2f2 100644 --- a/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-proposals/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-proposals/stdout.txt @@ -6,6 +6,17 @@ Using targets: Using modules transform: auto Using plugins: + proposal-nullish-coalescing-operator {} + proposal-optional-chaining {} + proposal-json-strings {} + proposal-optional-catch-binding {} + proposal-async-generator-functions {} + proposal-object-rest-spread {} + transform-dotall-regex {} + proposal-unicode-property-regex {} + transform-named-capturing-groups-regex {} + transform-async-to-generator {} + transform-exponentiation-operator {} transform-template-literals {} transform-literals {} transform-function-name {} @@ -18,7 +29,6 @@ Using plugins: transform-computed-properties {} transform-for-of {} transform-sticky-regex {} - transform-dotall-regex {} transform-unicode-regex {} transform-spread {} transform-parameters {} @@ -27,19 +37,9 @@ Using plugins: transform-typeof-symbol {} transform-new-target {} transform-regenerator {} - transform-exponentiation-operator {} - transform-async-to-generator {} - proposal-async-generator-functions {} - proposal-object-rest-spread {} - proposal-unicode-property-regex {} - proposal-json-strings {} - proposal-optional-catch-binding {} - proposal-optional-chaining {} - transform-named-capturing-groups-regex {} transform-member-expression-literals {} transform-property-literals {} transform-reserved-words {} - proposal-nullish-coalescing-operator {} transform-modules-commonjs {} proposal-dynamic-import {} diff --git a/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-runtime-only-chrome-71/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-runtime-only-chrome-71/stdout.txt index c0caa6231b..94344566c7 100644 --- a/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-runtime-only-chrome-71/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-runtime-only-chrome-71/stdout.txt @@ -8,12 +8,12 @@ Using targets: Using modules transform: auto Using plugins: - syntax-async-generators { "chrome":"71" } - syntax-object-rest-spread { "chrome":"71" } + proposal-nullish-coalescing-operator { "chrome":"71" } + proposal-optional-chaining { "chrome":"71" } syntax-json-strings { "chrome":"71" } syntax-optional-catch-binding { "chrome":"71" } - proposal-optional-chaining { "chrome":"71" } - proposal-nullish-coalescing-operator { "chrome":"71" } + syntax-async-generators { "chrome":"71" } + syntax-object-rest-spread { "chrome":"71" } transform-modules-commonjs { "chrome":"71" } proposal-dynamic-import { "chrome":"71" } diff --git a/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-runtime-only/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-runtime-only/stdout.txt index 7df51ffb61..269d04555e 100644 --- a/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-runtime-only/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-runtime-only/stdout.txt @@ -8,12 +8,12 @@ Using targets: Using modules transform: auto Using plugins: - syntax-async-generators { "chrome":"71" } - syntax-object-rest-spread { "chrome":"71" } + proposal-nullish-coalescing-operator { "chrome":"71" } + proposal-optional-chaining { "chrome":"71" } syntax-json-strings { "chrome":"71" } syntax-optional-catch-binding { "chrome":"71" } - proposal-optional-chaining { "chrome":"71" } - proposal-nullish-coalescing-operator { "chrome":"71" } + syntax-async-generators { "chrome":"71" } + syntax-object-rest-spread { "chrome":"71" } transform-modules-commonjs { "chrome":"71" } proposal-dynamic-import { "chrome":"71" } diff --git a/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-specific-entries-chrome-71/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-specific-entries-chrome-71/stdout.txt index 1264913107..c962a3c543 100644 --- a/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-specific-entries-chrome-71/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-specific-entries-chrome-71/stdout.txt @@ -8,12 +8,12 @@ Using targets: Using modules transform: auto Using plugins: - syntax-async-generators { "chrome":"71" } - syntax-object-rest-spread { "chrome":"71" } + proposal-nullish-coalescing-operator { "chrome":"71" } + proposal-optional-chaining { "chrome":"71" } syntax-json-strings { "chrome":"71" } syntax-optional-catch-binding { "chrome":"71" } - proposal-optional-chaining { "chrome":"71" } - proposal-nullish-coalescing-operator { "chrome":"71" } + syntax-async-generators { "chrome":"71" } + syntax-object-rest-spread { "chrome":"71" } transform-modules-commonjs { "chrome":"71" } proposal-dynamic-import { "chrome":"71" } diff --git a/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-specific-entries/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-specific-entries/stdout.txt index 71a8cab89d..fcd2580b45 100644 --- a/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-specific-entries/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-specific-entries/stdout.txt @@ -6,6 +6,17 @@ Using targets: Using modules transform: auto Using plugins: + proposal-nullish-coalescing-operator {} + proposal-optional-chaining {} + proposal-json-strings {} + proposal-optional-catch-binding {} + proposal-async-generator-functions {} + proposal-object-rest-spread {} + transform-dotall-regex {} + proposal-unicode-property-regex {} + transform-named-capturing-groups-regex {} + transform-async-to-generator {} + transform-exponentiation-operator {} transform-template-literals {} transform-literals {} transform-function-name {} @@ -18,7 +29,6 @@ Using plugins: transform-computed-properties {} transform-for-of {} transform-sticky-regex {} - transform-dotall-regex {} transform-unicode-regex {} transform-spread {} transform-parameters {} @@ -27,19 +37,9 @@ Using plugins: transform-typeof-symbol {} transform-new-target {} transform-regenerator {} - transform-exponentiation-operator {} - transform-async-to-generator {} - proposal-async-generator-functions {} - proposal-object-rest-spread {} - proposal-unicode-property-regex {} - proposal-json-strings {} - proposal-optional-catch-binding {} - proposal-optional-chaining {} - transform-named-capturing-groups-regex {} transform-member-expression-literals {} transform-property-literals {} transform-reserved-words {} - proposal-nullish-coalescing-operator {} transform-modules-commonjs {} proposal-dynamic-import {} diff --git a/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-specific-targets/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-specific-targets/stdout.txt index 81931d9a36..cc154af856 100644 --- a/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-specific-targets/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-specific-targets/stdout.txt @@ -13,6 +13,17 @@ Using targets: Using modules transform: auto Using plugins: + proposal-nullish-coalescing-operator { "chrome":"54", "edge":"13", "firefox":"49", "ie":"10", "ios":"9", "safari":"7" } + proposal-optional-chaining { "chrome":"54", "edge":"13", "firefox":"49", "ie":"10", "ios":"9", "safari":"7" } + proposal-json-strings { "chrome":"54", "edge":"13", "firefox":"49", "ie":"10", "ios":"9", "safari":"7" } + proposal-optional-catch-binding { "chrome":"54", "edge":"13", "firefox":"49", "ie":"10", "ios":"9", "safari":"7" } + proposal-async-generator-functions { "chrome":"54", "edge":"13", "firefox":"49", "ie":"10", "ios":"9", "safari":"7" } + proposal-object-rest-spread { "chrome":"54", "edge":"13", "firefox":"49", "ie":"10", "ios":"9", "safari":"7" } + transform-dotall-regex { "chrome":"54", "edge":"13", "firefox":"49", "ie":"10", "ios":"9", "safari":"7" } + proposal-unicode-property-regex { "chrome":"54", "edge":"13", "firefox":"49", "ie":"10", "ios":"9", "safari":"7" } + transform-named-capturing-groups-regex { "chrome":"54", "edge":"13", "firefox":"49", "ie":"10", "ios":"9", "safari":"7" } + transform-async-to-generator { "chrome":"54", "edge":"13", "firefox":"49", "ie":"10", "ios":"9", "safari":"7" } + transform-exponentiation-operator { "edge":"13", "firefox":"49", "ie":"10", "ios":"9", "safari":"7" } transform-template-literals { "ie":"10", "ios":"9", "safari":"7" } transform-literals { "firefox":"49", "ie":"10", "safari":"7" } transform-function-name { "edge":"13", "firefox":"49", "ie":"10", "ios":"9", "safari":"7" } @@ -25,7 +36,6 @@ Using plugins: transform-computed-properties { "ie":"10", "safari":"7" } transform-for-of { "edge":"13", "firefox":"49", "ie":"10", "ios":"9", "safari":"7" } transform-sticky-regex { "ie":"10", "ios":"9", "safari":"7" } - transform-dotall-regex { "chrome":"54", "edge":"13", "firefox":"49", "ie":"10", "ios":"9", "safari":"7" } transform-unicode-regex { "ie":"10", "ios":"9", "safari":"7" } transform-spread { "ie":"10", "ios":"9", "safari":"7" } transform-parameters { "edge":"13", "firefox":"49", "ie":"10", "ios":"9", "safari":"7" } @@ -34,16 +44,6 @@ Using plugins: transform-typeof-symbol { "ie":"10", "safari":"7" } transform-new-target { "edge":"13", "ie":"10", "ios":"9", "safari":"7" } transform-regenerator { "firefox":"49", "ie":"10", "ios":"9", "safari":"7" } - transform-exponentiation-operator { "edge":"13", "firefox":"49", "ie":"10", "ios":"9", "safari":"7" } - transform-async-to-generator { "chrome":"54", "edge":"13", "firefox":"49", "ie":"10", "ios":"9", "safari":"7" } - proposal-async-generator-functions { "chrome":"54", "edge":"13", "firefox":"49", "ie":"10", "ios":"9", "safari":"7" } - proposal-object-rest-spread { "chrome":"54", "edge":"13", "firefox":"49", "ie":"10", "ios":"9", "safari":"7" } - proposal-unicode-property-regex { "chrome":"54", "edge":"13", "firefox":"49", "ie":"10", "ios":"9", "safari":"7" } - proposal-json-strings { "chrome":"54", "edge":"13", "firefox":"49", "ie":"10", "ios":"9", "safari":"7" } - proposal-optional-catch-binding { "chrome":"54", "edge":"13", "firefox":"49", "ie":"10", "ios":"9", "safari":"7" } - proposal-optional-chaining { "chrome":"54", "edge":"13", "firefox":"49", "ie":"10", "ios":"9", "safari":"7" } - transform-named-capturing-groups-regex { "chrome":"54", "edge":"13", "firefox":"49", "ie":"10", "ios":"9", "safari":"7" } - proposal-nullish-coalescing-operator { "chrome":"54", "edge":"13", "firefox":"49", "ie":"10", "ios":"9", "safari":"7" } transform-modules-commonjs { "chrome":"54", "edge":"13", "firefox":"49", "ie":"10", "ios":"9", "safari":"7" } proposal-dynamic-import { "chrome":"54", "edge":"13", "firefox":"49", "ie":"10", "ios":"9", "safari":"7" } diff --git a/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-stable-chrome-71/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-stable-chrome-71/stdout.txt index 7a36f94d58..58f91ddcc0 100644 --- a/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-stable-chrome-71/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-stable-chrome-71/stdout.txt @@ -8,12 +8,12 @@ Using targets: Using modules transform: auto Using plugins: - syntax-async-generators { "chrome":"71" } - syntax-object-rest-spread { "chrome":"71" } + proposal-nullish-coalescing-operator { "chrome":"71" } + proposal-optional-chaining { "chrome":"71" } syntax-json-strings { "chrome":"71" } syntax-optional-catch-binding { "chrome":"71" } - proposal-optional-chaining { "chrome":"71" } - proposal-nullish-coalescing-operator { "chrome":"71" } + syntax-async-generators { "chrome":"71" } + syntax-object-rest-spread { "chrome":"71" } transform-modules-commonjs { "chrome":"71" } proposal-dynamic-import { "chrome":"71" } diff --git a/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-stable-samsung-8.2/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-stable-samsung-8.2/stdout.txt index 33591eb052..a7f6f6ce89 100644 --- a/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-stable-samsung-8.2/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-stable-samsung-8.2/stdout.txt @@ -8,14 +8,14 @@ Using targets: Using modules transform: auto Using plugins: + proposal-nullish-coalescing-operator { "samsung":"8.2" } + proposal-optional-chaining { "samsung":"8.2" } + proposal-json-strings { "samsung":"8.2" } + proposal-optional-catch-binding { "samsung":"8.2" } syntax-async-generators { "samsung":"8.2" } syntax-object-rest-spread { "samsung":"8.2" } proposal-unicode-property-regex { "samsung":"8.2" } - proposal-json-strings { "samsung":"8.2" } - proposal-optional-catch-binding { "samsung":"8.2" } - proposal-optional-chaining { "samsung":"8.2" } transform-named-capturing-groups-regex { "samsung":"8.2" } - proposal-nullish-coalescing-operator { "samsung":"8.2" } transform-modules-commonjs { "samsung":"8.2" } proposal-dynamic-import { "samsung":"8.2" } diff --git a/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-stable/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-stable/stdout.txt index 4efa1c978e..ec608eb005 100644 --- a/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-stable/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-stable/stdout.txt @@ -6,6 +6,17 @@ Using targets: Using modules transform: auto Using plugins: + proposal-nullish-coalescing-operator {} + proposal-optional-chaining {} + proposal-json-strings {} + proposal-optional-catch-binding {} + proposal-async-generator-functions {} + proposal-object-rest-spread {} + transform-dotall-regex {} + proposal-unicode-property-regex {} + transform-named-capturing-groups-regex {} + transform-async-to-generator {} + transform-exponentiation-operator {} transform-template-literals {} transform-literals {} transform-function-name {} @@ -18,7 +29,6 @@ Using plugins: transform-computed-properties {} transform-for-of {} transform-sticky-regex {} - transform-dotall-regex {} transform-unicode-regex {} transform-spread {} transform-parameters {} @@ -27,19 +37,9 @@ Using plugins: transform-typeof-symbol {} transform-new-target {} transform-regenerator {} - transform-exponentiation-operator {} - transform-async-to-generator {} - proposal-async-generator-functions {} - proposal-object-rest-spread {} - proposal-unicode-property-regex {} - proposal-json-strings {} - proposal-optional-catch-binding {} - proposal-optional-chaining {} - transform-named-capturing-groups-regex {} transform-member-expression-literals {} transform-property-literals {} transform-reserved-words {} - proposal-nullish-coalescing-operator {} transform-modules-commonjs {} proposal-dynamic-import {} diff --git a/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-stage-chrome-71/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-stage-chrome-71/stdout.txt index 071a02b7b2..a9d3a4820b 100644 --- a/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-stage-chrome-71/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-stage-chrome-71/stdout.txt @@ -8,12 +8,12 @@ Using targets: Using modules transform: auto Using plugins: - syntax-async-generators { "chrome":"71" } - syntax-object-rest-spread { "chrome":"71" } + proposal-nullish-coalescing-operator { "chrome":"71" } + proposal-optional-chaining { "chrome":"71" } syntax-json-strings { "chrome":"71" } syntax-optional-catch-binding { "chrome":"71" } - proposal-optional-chaining { "chrome":"71" } - proposal-nullish-coalescing-operator { "chrome":"71" } + syntax-async-generators { "chrome":"71" } + syntax-object-rest-spread { "chrome":"71" } transform-modules-commonjs { "chrome":"71" } proposal-dynamic-import { "chrome":"71" } diff --git a/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-stage/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-stage/stdout.txt index 07104b5a78..94fcc3aa9e 100644 --- a/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-stage/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-stage/stdout.txt @@ -6,6 +6,17 @@ Using targets: Using modules transform: auto Using plugins: + proposal-nullish-coalescing-operator {} + proposal-optional-chaining {} + proposal-json-strings {} + proposal-optional-catch-binding {} + proposal-async-generator-functions {} + proposal-object-rest-spread {} + transform-dotall-regex {} + proposal-unicode-property-regex {} + transform-named-capturing-groups-regex {} + transform-async-to-generator {} + transform-exponentiation-operator {} transform-template-literals {} transform-literals {} transform-function-name {} @@ -18,7 +29,6 @@ Using plugins: transform-computed-properties {} transform-for-of {} transform-sticky-regex {} - transform-dotall-regex {} transform-unicode-regex {} transform-spread {} transform-parameters {} @@ -27,19 +37,9 @@ Using plugins: transform-typeof-symbol {} transform-new-target {} transform-regenerator {} - transform-exponentiation-operator {} - transform-async-to-generator {} - proposal-async-generator-functions {} - proposal-object-rest-spread {} - proposal-unicode-property-regex {} - proposal-json-strings {} - proposal-optional-catch-binding {} - proposal-optional-chaining {} - transform-named-capturing-groups-regex {} transform-member-expression-literals {} transform-property-literals {} transform-reserved-words {} - proposal-nullish-coalescing-operator {} transform-modules-commonjs {} proposal-dynamic-import {} diff --git a/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-versions-decimals/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-versions-decimals/stdout.txt index f038b106a7..f3e5db74f5 100644 --- a/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-versions-decimals/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-versions-decimals/stdout.txt @@ -19,6 +19,17 @@ Using targets: Using modules transform: auto Using plugins: + proposal-nullish-coalescing-operator { "chrome":"54", "electron":"0.36", "ie":"10", "node":"6.1" } + proposal-optional-chaining { "chrome":"54", "electron":"0.36", "ie":"10", "node":"6.1" } + proposal-json-strings { "chrome":"54", "electron":"0.36", "ie":"10", "node":"6.1" } + proposal-optional-catch-binding { "chrome":"54", "electron":"0.36", "ie":"10", "node":"6.1" } + proposal-async-generator-functions { "chrome":"54", "electron":"0.36", "ie":"10", "node":"6.1" } + proposal-object-rest-spread { "chrome":"54", "electron":"0.36", "ie":"10", "node":"6.1" } + transform-dotall-regex { "chrome":"54", "electron":"0.36", "ie":"10", "node":"6.1" } + proposal-unicode-property-regex { "chrome":"54", "electron":"0.36", "ie":"10", "node":"6.1" } + transform-named-capturing-groups-regex { "chrome":"54", "electron":"0.36", "ie":"10", "node":"6.1" } + transform-async-to-generator { "chrome":"54", "electron":"0.36", "ie":"10", "node":"6.1" } + transform-exponentiation-operator { "electron":"0.36", "ie":"10", "node":"6.1" } transform-template-literals { "ie":"10" } transform-literals { "ie":"10" } transform-function-name { "electron":"0.36", "ie":"10", "node":"6.1" } @@ -31,7 +42,6 @@ Using plugins: transform-computed-properties { "ie":"10" } transform-for-of { "electron":"0.36", "ie":"10", "node":"6.1" } transform-sticky-regex { "electron":"0.36", "ie":"10" } - transform-dotall-regex { "chrome":"54", "electron":"0.36", "ie":"10", "node":"6.1" } transform-unicode-regex { "electron":"0.36", "ie":"10" } transform-spread { "ie":"10" } transform-parameters { "electron":"0.36", "ie":"10" } @@ -40,18 +50,8 @@ Using plugins: transform-typeof-symbol { "ie":"10" } transform-new-target { "ie":"10" } transform-regenerator { "electron":"0.36", "ie":"10" } - transform-exponentiation-operator { "electron":"0.36", "ie":"10", "node":"6.1" } - transform-async-to-generator { "chrome":"54", "electron":"0.36", "ie":"10", "node":"6.1" } - proposal-async-generator-functions { "chrome":"54", "electron":"0.36", "ie":"10", "node":"6.1" } - proposal-object-rest-spread { "chrome":"54", "electron":"0.36", "ie":"10", "node":"6.1" } - proposal-unicode-property-regex { "chrome":"54", "electron":"0.36", "ie":"10", "node":"6.1" } - proposal-json-strings { "chrome":"54", "electron":"0.36", "ie":"10", "node":"6.1" } - proposal-optional-catch-binding { "chrome":"54", "electron":"0.36", "ie":"10", "node":"6.1" } - proposal-optional-chaining { "chrome":"54", "electron":"0.36", "ie":"10", "node":"6.1" } - transform-named-capturing-groups-regex { "chrome":"54", "electron":"0.36", "ie":"10", "node":"6.1" } transform-member-expression-literals { "electron":"0.36" } transform-property-literals { "electron":"0.36" } - proposal-nullish-coalescing-operator { "chrome":"54", "electron":"0.36", "ie":"10", "node":"6.1" } transform-modules-commonjs { "chrome":"54", "electron":"0.36", "ie":"10", "node":"6.1" } proposal-dynamic-import { "chrome":"54", "electron":"0.36", "ie":"10", "node":"6.1" } diff --git a/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-versions-strings-minor-3.0/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-versions-strings-minor-3.0/stdout.txt index 9a906cc80f..51206417ff 100644 --- a/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-versions-strings-minor-3.0/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-versions-strings-minor-3.0/stdout.txt @@ -10,6 +10,17 @@ Using targets: Using modules transform: auto Using plugins: + proposal-nullish-coalescing-operator { "chrome":"54", "ie":"10", "node":"6.10" } + proposal-optional-chaining { "chrome":"54", "ie":"10", "node":"6.10" } + proposal-json-strings { "chrome":"54", "ie":"10", "node":"6.10" } + proposal-optional-catch-binding { "chrome":"54", "ie":"10", "node":"6.10" } + proposal-async-generator-functions { "chrome":"54", "ie":"10", "node":"6.10" } + proposal-object-rest-spread { "chrome":"54", "ie":"10", "node":"6.10" } + transform-dotall-regex { "chrome":"54", "ie":"10", "node":"6.10" } + proposal-unicode-property-regex { "chrome":"54", "ie":"10", "node":"6.10" } + transform-named-capturing-groups-regex { "chrome":"54", "ie":"10", "node":"6.10" } + transform-async-to-generator { "chrome":"54", "ie":"10", "node":"6.10" } + transform-exponentiation-operator { "ie":"10", "node":"6.10" } transform-template-literals { "ie":"10" } transform-literals { "ie":"10" } transform-function-name { "ie":"10" } @@ -22,7 +33,6 @@ Using plugins: transform-computed-properties { "ie":"10" } transform-for-of { "ie":"10" } transform-sticky-regex { "ie":"10" } - transform-dotall-regex { "chrome":"54", "ie":"10", "node":"6.10" } transform-unicode-regex { "ie":"10" } transform-spread { "ie":"10" } transform-parameters { "ie":"10" } @@ -31,16 +41,6 @@ Using plugins: transform-typeof-symbol { "ie":"10" } transform-new-target { "ie":"10" } transform-regenerator { "ie":"10" } - transform-exponentiation-operator { "ie":"10", "node":"6.10" } - transform-async-to-generator { "chrome":"54", "ie":"10", "node":"6.10" } - proposal-async-generator-functions { "chrome":"54", "ie":"10", "node":"6.10" } - proposal-object-rest-spread { "chrome":"54", "ie":"10", "node":"6.10" } - proposal-unicode-property-regex { "chrome":"54", "ie":"10", "node":"6.10" } - proposal-json-strings { "chrome":"54", "ie":"10", "node":"6.10" } - proposal-optional-catch-binding { "chrome":"54", "ie":"10", "node":"6.10" } - proposal-optional-chaining { "chrome":"54", "ie":"10", "node":"6.10" } - transform-named-capturing-groups-regex { "chrome":"54", "ie":"10", "node":"6.10" } - proposal-nullish-coalescing-operator { "chrome":"54", "ie":"10", "node":"6.10" } transform-modules-commonjs { "chrome":"54", "ie":"10", "node":"6.10" } proposal-dynamic-import { "chrome":"54", "ie":"10", "node":"6.10" } diff --git a/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-versions-strings-minor-3.1/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-versions-strings-minor-3.1/stdout.txt index 1aa4bce230..9ab97833df 100644 --- a/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-versions-strings-minor-3.1/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-versions-strings-minor-3.1/stdout.txt @@ -10,6 +10,17 @@ Using targets: Using modules transform: auto Using plugins: + proposal-nullish-coalescing-operator { "chrome":"54", "ie":"10", "node":"6.10" } + proposal-optional-chaining { "chrome":"54", "ie":"10", "node":"6.10" } + proposal-json-strings { "chrome":"54", "ie":"10", "node":"6.10" } + proposal-optional-catch-binding { "chrome":"54", "ie":"10", "node":"6.10" } + proposal-async-generator-functions { "chrome":"54", "ie":"10", "node":"6.10" } + proposal-object-rest-spread { "chrome":"54", "ie":"10", "node":"6.10" } + transform-dotall-regex { "chrome":"54", "ie":"10", "node":"6.10" } + proposal-unicode-property-regex { "chrome":"54", "ie":"10", "node":"6.10" } + transform-named-capturing-groups-regex { "chrome":"54", "ie":"10", "node":"6.10" } + transform-async-to-generator { "chrome":"54", "ie":"10", "node":"6.10" } + transform-exponentiation-operator { "ie":"10", "node":"6.10" } transform-template-literals { "ie":"10" } transform-literals { "ie":"10" } transform-function-name { "ie":"10" } @@ -22,7 +33,6 @@ Using plugins: transform-computed-properties { "ie":"10" } transform-for-of { "ie":"10" } transform-sticky-regex { "ie":"10" } - transform-dotall-regex { "chrome":"54", "ie":"10", "node":"6.10" } transform-unicode-regex { "ie":"10" } transform-spread { "ie":"10" } transform-parameters { "ie":"10" } @@ -31,16 +41,6 @@ Using plugins: transform-typeof-symbol { "ie":"10" } transform-new-target { "ie":"10" } transform-regenerator { "ie":"10" } - transform-exponentiation-operator { "ie":"10", "node":"6.10" } - transform-async-to-generator { "chrome":"54", "ie":"10", "node":"6.10" } - proposal-async-generator-functions { "chrome":"54", "ie":"10", "node":"6.10" } - proposal-object-rest-spread { "chrome":"54", "ie":"10", "node":"6.10" } - proposal-unicode-property-regex { "chrome":"54", "ie":"10", "node":"6.10" } - proposal-json-strings { "chrome":"54", "ie":"10", "node":"6.10" } - proposal-optional-catch-binding { "chrome":"54", "ie":"10", "node":"6.10" } - proposal-optional-chaining { "chrome":"54", "ie":"10", "node":"6.10" } - transform-named-capturing-groups-regex { "chrome":"54", "ie":"10", "node":"6.10" } - proposal-nullish-coalescing-operator { "chrome":"54", "ie":"10", "node":"6.10" } transform-modules-commonjs { "chrome":"54", "ie":"10", "node":"6.10" } proposal-dynamic-import { "chrome":"54", "ie":"10", "node":"6.10" } diff --git a/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-versions-strings/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-versions-strings/stdout.txt index 9a09c03b6d..c912d4e50a 100644 --- a/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-versions-strings/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-versions-strings/stdout.txt @@ -10,6 +10,17 @@ Using targets: Using modules transform: auto Using plugins: + proposal-nullish-coalescing-operator { "chrome":"54", "ie":"10", "node":"6.10" } + proposal-optional-chaining { "chrome":"54", "ie":"10", "node":"6.10" } + proposal-json-strings { "chrome":"54", "ie":"10", "node":"6.10" } + proposal-optional-catch-binding { "chrome":"54", "ie":"10", "node":"6.10" } + proposal-async-generator-functions { "chrome":"54", "ie":"10", "node":"6.10" } + proposal-object-rest-spread { "chrome":"54", "ie":"10", "node":"6.10" } + transform-dotall-regex { "chrome":"54", "ie":"10", "node":"6.10" } + proposal-unicode-property-regex { "chrome":"54", "ie":"10", "node":"6.10" } + transform-named-capturing-groups-regex { "chrome":"54", "ie":"10", "node":"6.10" } + transform-async-to-generator { "chrome":"54", "ie":"10", "node":"6.10" } + transform-exponentiation-operator { "ie":"10", "node":"6.10" } transform-template-literals { "ie":"10" } transform-literals { "ie":"10" } transform-function-name { "ie":"10" } @@ -22,7 +33,6 @@ Using plugins: transform-computed-properties { "ie":"10" } transform-for-of { "ie":"10" } transform-sticky-regex { "ie":"10" } - transform-dotall-regex { "chrome":"54", "ie":"10", "node":"6.10" } transform-unicode-regex { "ie":"10" } transform-spread { "ie":"10" } transform-parameters { "ie":"10" } @@ -31,16 +41,6 @@ Using plugins: transform-typeof-symbol { "ie":"10" } transform-new-target { "ie":"10" } transform-regenerator { "ie":"10" } - transform-exponentiation-operator { "ie":"10", "node":"6.10" } - transform-async-to-generator { "chrome":"54", "ie":"10", "node":"6.10" } - proposal-async-generator-functions { "chrome":"54", "ie":"10", "node":"6.10" } - proposal-object-rest-spread { "chrome":"54", "ie":"10", "node":"6.10" } - proposal-unicode-property-regex { "chrome":"54", "ie":"10", "node":"6.10" } - proposal-json-strings { "chrome":"54", "ie":"10", "node":"6.10" } - proposal-optional-catch-binding { "chrome":"54", "ie":"10", "node":"6.10" } - proposal-optional-chaining { "chrome":"54", "ie":"10", "node":"6.10" } - transform-named-capturing-groups-regex { "chrome":"54", "ie":"10", "node":"6.10" } - proposal-nullish-coalescing-operator { "chrome":"54", "ie":"10", "node":"6.10" } transform-modules-commonjs { "chrome":"54", "ie":"10", "node":"6.10" } proposal-dynamic-import { "chrome":"54", "ie":"10", "node":"6.10" } diff --git a/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-web-chrome-71/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-web-chrome-71/stdout.txt index 19dfd0af21..bae95d6399 100644 --- a/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-web-chrome-71/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-web-chrome-71/stdout.txt @@ -8,12 +8,12 @@ Using targets: Using modules transform: auto Using plugins: - syntax-async-generators { "chrome":"71" } - syntax-object-rest-spread { "chrome":"71" } + proposal-nullish-coalescing-operator { "chrome":"71" } + proposal-optional-chaining { "chrome":"71" } syntax-json-strings { "chrome":"71" } syntax-optional-catch-binding { "chrome":"71" } - proposal-optional-chaining { "chrome":"71" } - proposal-nullish-coalescing-operator { "chrome":"71" } + syntax-async-generators { "chrome":"71" } + syntax-object-rest-spread { "chrome":"71" } transform-modules-commonjs { "chrome":"71" } proposal-dynamic-import { "chrome":"71" } diff --git a/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-web/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-web/stdout.txt index 3948c4b7ac..49763e3c8a 100644 --- a/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-web/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-web/stdout.txt @@ -6,6 +6,17 @@ Using targets: Using modules transform: auto Using plugins: + proposal-nullish-coalescing-operator {} + proposal-optional-chaining {} + proposal-json-strings {} + proposal-optional-catch-binding {} + proposal-async-generator-functions {} + proposal-object-rest-spread {} + transform-dotall-regex {} + proposal-unicode-property-regex {} + transform-named-capturing-groups-regex {} + transform-async-to-generator {} + transform-exponentiation-operator {} transform-template-literals {} transform-literals {} transform-function-name {} @@ -18,7 +29,6 @@ Using plugins: transform-computed-properties {} transform-for-of {} transform-sticky-regex {} - transform-dotall-regex {} transform-unicode-regex {} transform-spread {} transform-parameters {} @@ -27,19 +37,9 @@ Using plugins: transform-typeof-symbol {} transform-new-target {} transform-regenerator {} - transform-exponentiation-operator {} - transform-async-to-generator {} - proposal-async-generator-functions {} - proposal-object-rest-spread {} - proposal-unicode-property-regex {} - proposal-json-strings {} - proposal-optional-catch-binding {} - proposal-optional-chaining {} - transform-named-capturing-groups-regex {} transform-member-expression-literals {} transform-property-literals {} transform-reserved-words {} - proposal-nullish-coalescing-operator {} transform-modules-commonjs {} proposal-dynamic-import {} diff --git a/packages/babel-preset-env/test/fixtures/debug/entry-corejs3/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/entry-corejs3/stdout.txt index 9706b3e769..c0e6303dd6 100644 --- a/packages/babel-preset-env/test/fixtures/debug/entry-corejs3/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/entry-corejs3/stdout.txt @@ -10,6 +10,17 @@ Using targets: Using modules transform: auto Using plugins: + proposal-nullish-coalescing-operator { "chrome":"54", "ie":"10", "node":"6" } + proposal-optional-chaining { "chrome":"54", "ie":"10", "node":"6" } + proposal-json-strings { "chrome":"54", "ie":"10", "node":"6" } + proposal-optional-catch-binding { "chrome":"54", "ie":"10", "node":"6" } + proposal-async-generator-functions { "chrome":"54", "ie":"10", "node":"6" } + proposal-object-rest-spread { "chrome":"54", "ie":"10", "node":"6" } + transform-dotall-regex { "chrome":"54", "ie":"10", "node":"6" } + proposal-unicode-property-regex { "chrome":"54", "ie":"10", "node":"6" } + transform-named-capturing-groups-regex { "chrome":"54", "ie":"10", "node":"6" } + transform-async-to-generator { "chrome":"54", "ie":"10", "node":"6" } + transform-exponentiation-operator { "ie":"10", "node":"6" } transform-template-literals { "ie":"10" } transform-literals { "ie":"10" } transform-function-name { "ie":"10", "node":"6" } @@ -22,7 +33,6 @@ Using plugins: transform-computed-properties { "ie":"10" } transform-for-of { "ie":"10", "node":"6" } transform-sticky-regex { "ie":"10" } - transform-dotall-regex { "chrome":"54", "ie":"10", "node":"6" } transform-unicode-regex { "ie":"10" } transform-spread { "ie":"10" } transform-parameters { "ie":"10" } @@ -31,16 +41,6 @@ Using plugins: transform-typeof-symbol { "ie":"10" } transform-new-target { "ie":"10" } transform-regenerator { "ie":"10" } - transform-exponentiation-operator { "ie":"10", "node":"6" } - transform-async-to-generator { "chrome":"54", "ie":"10", "node":"6" } - proposal-async-generator-functions { "chrome":"54", "ie":"10", "node":"6" } - proposal-object-rest-spread { "chrome":"54", "ie":"10", "node":"6" } - proposal-unicode-property-regex { "chrome":"54", "ie":"10", "node":"6" } - proposal-json-strings { "chrome":"54", "ie":"10", "node":"6" } - proposal-optional-catch-binding { "chrome":"54", "ie":"10", "node":"6" } - proposal-optional-chaining { "chrome":"54", "ie":"10", "node":"6" } - transform-named-capturing-groups-regex { "chrome":"54", "ie":"10", "node":"6" } - proposal-nullish-coalescing-operator { "chrome":"54", "ie":"10", "node":"6" } transform-modules-commonjs { "chrome":"54", "ie":"10", "node":"6" } proposal-dynamic-import { "chrome":"54", "ie":"10", "node":"6" } diff --git a/packages/babel-preset-env/test/fixtures/debug/entry-no-corejs-no-import/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/entry-no-corejs-no-import/stdout.txt index 24105671f1..5a3f2a1bf3 100644 --- a/packages/babel-preset-env/test/fixtures/debug/entry-no-corejs-no-import/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/entry-no-corejs-no-import/stdout.txt @@ -8,20 +8,20 @@ Using targets: Using modules transform: auto Using plugins: - transform-function-name { "node":"6" } - transform-for-of { "node":"6" } - transform-dotall-regex { "node":"6" } - transform-destructuring { "node":"6" } - transform-exponentiation-operator { "node":"6" } - transform-async-to-generator { "node":"6" } - proposal-async-generator-functions { "node":"6" } - proposal-object-rest-spread { "node":"6" } - proposal-unicode-property-regex { "node":"6" } + proposal-nullish-coalescing-operator { "node":"6" } + proposal-optional-chaining { "node":"6" } proposal-json-strings { "node":"6" } proposal-optional-catch-binding { "node":"6" } - proposal-optional-chaining { "node":"6" } + proposal-async-generator-functions { "node":"6" } + proposal-object-rest-spread { "node":"6" } + transform-dotall-regex { "node":"6" } + proposal-unicode-property-regex { "node":"6" } transform-named-capturing-groups-regex { "node":"6" } - proposal-nullish-coalescing-operator { "node":"6" } + transform-async-to-generator { "node":"6" } + transform-exponentiation-operator { "node":"6" } + transform-function-name { "node":"6" } + transform-for-of { "node":"6" } + transform-destructuring { "node":"6" } transform-modules-commonjs { "node":"6" } proposal-dynamic-import { "node":"6" } diff --git a/packages/babel-preset-env/test/fixtures/debug/entry-no-corejs-shippedProposals/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/entry-no-corejs-shippedProposals/stdout.txt index 6c02b20b8c..7cce8975c9 100644 --- a/packages/babel-preset-env/test/fixtures/debug/entry-no-corejs-shippedProposals/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/entry-no-corejs-shippedProposals/stdout.txt @@ -6,6 +6,17 @@ Using targets: Using modules transform: auto Using plugins: + proposal-nullish-coalescing-operator {} + proposal-optional-chaining {} + proposal-json-strings {} + proposal-optional-catch-binding {} + proposal-async-generator-functions {} + proposal-object-rest-spread {} + transform-dotall-regex {} + proposal-unicode-property-regex {} + transform-named-capturing-groups-regex {} + transform-async-to-generator {} + transform-exponentiation-operator {} transform-template-literals {} transform-literals {} transform-function-name {} @@ -18,7 +29,6 @@ Using plugins: transform-computed-properties {} transform-for-of {} transform-sticky-regex {} - transform-dotall-regex {} transform-unicode-regex {} transform-spread {} transform-parameters {} @@ -27,19 +37,9 @@ Using plugins: transform-typeof-symbol {} transform-new-target {} transform-regenerator {} - transform-exponentiation-operator {} - transform-async-to-generator {} - proposal-async-generator-functions {} - proposal-object-rest-spread {} - proposal-unicode-property-regex {} - proposal-json-strings {} - proposal-optional-catch-binding {} - proposal-optional-chaining {} - transform-named-capturing-groups-regex {} transform-member-expression-literals {} transform-property-literals {} transform-reserved-words {} - proposal-nullish-coalescing-operator {} transform-modules-commonjs {} proposal-dynamic-import {} 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 10ac0e1fb2..00ef4eaac8 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 @@ -11,6 +11,17 @@ Using targets: Using modules transform: false Using plugins: + proposal-nullish-coalescing-operator { "chrome":"55" } + proposal-optional-chaining { "chrome":"55" } + proposal-json-strings { "chrome":"55" } + proposal-optional-catch-binding { "chrome":"55" } + proposal-async-generator-functions { "chrome":"55" } + proposal-object-rest-spread { "chrome":"55" } + transform-dotall-regex { "chrome":"55" } + proposal-unicode-property-regex { "chrome":"55" } + transform-named-capturing-groups-regex { "chrome":"55" } + transform-async-to-generator {} + transform-exponentiation-operator {} transform-template-literals {} transform-literals {} transform-function-name {} @@ -23,7 +34,6 @@ Using plugins: transform-computed-properties {} transform-for-of {} transform-sticky-regex {} - transform-dotall-regex { "chrome":"55" } transform-unicode-regex {} transform-spread {} transform-parameters {} @@ -32,19 +42,9 @@ Using plugins: transform-typeof-symbol {} transform-new-target {} transform-regenerator {} - transform-exponentiation-operator {} - transform-async-to-generator {} - proposal-async-generator-functions { "chrome":"55" } - proposal-object-rest-spread { "chrome":"55" } - proposal-unicode-property-regex { "chrome":"55" } - proposal-json-strings { "chrome":"55" } - proposal-optional-catch-binding { "chrome":"55" } - proposal-optional-chaining { "chrome":"55" } - transform-named-capturing-groups-regex { "chrome":"55" } transform-member-expression-literals {} transform-property-literals {} transform-reserved-words {} - proposal-nullish-coalescing-operator { "chrome":"55" } syntax-dynamic-import { "chrome":"55" } Using polyfills with `entry` option: diff --git a/packages/babel-preset-env/test/fixtures/debug/entry-no-corejs/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/entry-no-corejs/stdout.txt index 1efd0e079c..ecaff32327 100644 --- a/packages/babel-preset-env/test/fixtures/debug/entry-no-corejs/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/entry-no-corejs/stdout.txt @@ -10,6 +10,17 @@ Using targets: Using modules transform: auto Using plugins: + proposal-nullish-coalescing-operator { "chrome":"54", "ie":"10", "node":"6" } + proposal-optional-chaining { "chrome":"54", "ie":"10", "node":"6" } + proposal-json-strings { "chrome":"54", "ie":"10", "node":"6" } + proposal-optional-catch-binding { "chrome":"54", "ie":"10", "node":"6" } + proposal-async-generator-functions { "chrome":"54", "ie":"10", "node":"6" } + proposal-object-rest-spread { "chrome":"54", "ie":"10", "node":"6" } + transform-dotall-regex { "chrome":"54", "ie":"10", "node":"6" } + proposal-unicode-property-regex { "chrome":"54", "ie":"10", "node":"6" } + transform-named-capturing-groups-regex { "chrome":"54", "ie":"10", "node":"6" } + transform-async-to-generator { "chrome":"54", "ie":"10", "node":"6" } + transform-exponentiation-operator { "ie":"10", "node":"6" } transform-template-literals { "ie":"10" } transform-literals { "ie":"10" } transform-function-name { "ie":"10", "node":"6" } @@ -22,7 +33,6 @@ Using plugins: transform-computed-properties { "ie":"10" } transform-for-of { "ie":"10", "node":"6" } transform-sticky-regex { "ie":"10" } - transform-dotall-regex { "chrome":"54", "ie":"10", "node":"6" } transform-unicode-regex { "ie":"10" } transform-spread { "ie":"10" } transform-parameters { "ie":"10" } @@ -31,16 +41,6 @@ Using plugins: transform-typeof-symbol { "ie":"10" } transform-new-target { "ie":"10" } transform-regenerator { "ie":"10" } - transform-exponentiation-operator { "ie":"10", "node":"6" } - transform-async-to-generator { "chrome":"54", "ie":"10", "node":"6" } - proposal-async-generator-functions { "chrome":"54", "ie":"10", "node":"6" } - proposal-object-rest-spread { "chrome":"54", "ie":"10", "node":"6" } - proposal-unicode-property-regex { "chrome":"54", "ie":"10", "node":"6" } - proposal-json-strings { "chrome":"54", "ie":"10", "node":"6" } - proposal-optional-catch-binding { "chrome":"54", "ie":"10", "node":"6" } - proposal-optional-chaining { "chrome":"54", "ie":"10", "node":"6" } - transform-named-capturing-groups-regex { "chrome":"54", "ie":"10", "node":"6" } - proposal-nullish-coalescing-operator { "chrome":"54", "ie":"10", "node":"6" } transform-modules-commonjs { "chrome":"54", "ie":"10", "node":"6" } proposal-dynamic-import { "chrome":"54", "ie":"10", "node":"6" } diff --git a/packages/babel-preset-env/test/fixtures/debug/plugins-only/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/plugins-only/stdout.txt index 91fa70d3cc..5df73c2111 100644 --- a/packages/babel-preset-env/test/fixtures/debug/plugins-only/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/plugins-only/stdout.txt @@ -16,19 +16,19 @@ Using targets: Using modules transform: auto Using plugins: + proposal-nullish-coalescing-operator { "firefox":"52", "node":"7.4" } + proposal-optional-chaining { "firefox":"52", "node":"7.4" } + proposal-json-strings { "firefox":"52", "node":"7.4" } + proposal-optional-catch-binding { "firefox":"52", "node":"7.4" } + proposal-async-generator-functions { "firefox":"52", "node":"7.4" } + proposal-object-rest-spread { "firefox":"52", "node":"7.4" } + transform-dotall-regex { "firefox":"52", "node":"7.4" } + proposal-unicode-property-regex { "firefox":"52", "node":"7.4" } + transform-named-capturing-groups-regex { "firefox":"52", "node":"7.4" } transform-literals { "firefox":"52" } transform-function-name { "firefox":"52" } transform-for-of { "firefox":"52" } - transform-dotall-regex { "firefox":"52", "node":"7.4" } transform-destructuring { "firefox":"52" } - proposal-async-generator-functions { "firefox":"52", "node":"7.4" } - proposal-object-rest-spread { "firefox":"52", "node":"7.4" } - proposal-unicode-property-regex { "firefox":"52", "node":"7.4" } - proposal-json-strings { "firefox":"52", "node":"7.4" } - proposal-optional-catch-binding { "firefox":"52", "node":"7.4" } - proposal-optional-chaining { "firefox":"52", "node":"7.4" } - transform-named-capturing-groups-regex { "firefox":"52", "node":"7.4" } - proposal-nullish-coalescing-operator { "firefox":"52", "node":"7.4" } transform-modules-commonjs { "firefox":"52", "node":"7.4" } proposal-dynamic-import { "firefox":"52", "node":"7.4" } diff --git a/packages/babel-preset-env/test/fixtures/debug/usage-corejs2-1/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/usage-corejs2-1/stdout.txt index aa7dfa881f..09ff055bb0 100644 --- a/packages/babel-preset-env/test/fixtures/debug/usage-corejs2-1/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/usage-corejs2-1/stdout.txt @@ -10,6 +10,17 @@ Using targets: Using modules transform: auto Using plugins: + proposal-nullish-coalescing-operator { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-optional-chaining { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-json-strings { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-optional-catch-binding { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-async-generator-functions { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-object-rest-spread { "chrome":"52", "firefox":"50", "ie":"11" } + transform-dotall-regex { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-unicode-property-regex { "chrome":"52", "firefox":"50", "ie":"11" } + transform-named-capturing-groups-regex { "chrome":"52", "firefox":"50", "ie":"11" } + transform-async-to-generator { "chrome":"52", "firefox":"50", "ie":"11" } + transform-exponentiation-operator { "firefox":"50", "ie":"11" } transform-template-literals { "ie":"11" } transform-literals { "firefox":"50", "ie":"11" } transform-function-name { "firefox":"50", "ie":"11" } @@ -21,7 +32,6 @@ Using plugins: transform-computed-properties { "ie":"11" } transform-for-of { "firefox":"50", "ie":"11" } transform-sticky-regex { "ie":"11" } - transform-dotall-regex { "chrome":"52", "firefox":"50", "ie":"11" } transform-unicode-regex { "ie":"11" } transform-spread { "ie":"11" } transform-parameters { "firefox":"50", "ie":"11" } @@ -30,16 +40,6 @@ Using plugins: transform-typeof-symbol { "ie":"11" } transform-new-target { "ie":"11" } transform-regenerator { "firefox":"50", "ie":"11" } - transform-exponentiation-operator { "firefox":"50", "ie":"11" } - transform-async-to-generator { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-async-generator-functions { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-object-rest-spread { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-unicode-property-regex { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-json-strings { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-optional-catch-binding { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-optional-chaining { "chrome":"52", "firefox":"50", "ie":"11" } - transform-named-capturing-groups-regex { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-nullish-coalescing-operator { "chrome":"52", "firefox":"50", "ie":"11" } transform-modules-commonjs { "chrome":"52", "firefox":"50", "ie":"11" } proposal-dynamic-import { "chrome":"52", "firefox":"50", "ie":"11" } diff --git a/packages/babel-preset-env/test/fixtures/debug/usage-corejs2-2/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/usage-corejs2-2/stdout.txt index 499f51879c..4c29482e04 100644 --- a/packages/babel-preset-env/test/fixtures/debug/usage-corejs2-2/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/usage-corejs2-2/stdout.txt @@ -10,6 +10,17 @@ Using targets: Using modules transform: auto Using plugins: + proposal-nullish-coalescing-operator { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-optional-chaining { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-json-strings { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-optional-catch-binding { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-async-generator-functions { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-object-rest-spread { "chrome":"52", "firefox":"50", "ie":"11" } + transform-dotall-regex { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-unicode-property-regex { "chrome":"52", "firefox":"50", "ie":"11" } + transform-named-capturing-groups-regex { "chrome":"52", "firefox":"50", "ie":"11" } + transform-async-to-generator { "chrome":"52", "firefox":"50", "ie":"11" } + transform-exponentiation-operator { "firefox":"50", "ie":"11" } transform-template-literals { "ie":"11" } transform-literals { "firefox":"50", "ie":"11" } transform-function-name { "firefox":"50", "ie":"11" } @@ -21,7 +32,6 @@ Using plugins: transform-computed-properties { "ie":"11" } transform-for-of { "firefox":"50", "ie":"11" } transform-sticky-regex { "ie":"11" } - transform-dotall-regex { "chrome":"52", "firefox":"50", "ie":"11" } transform-unicode-regex { "ie":"11" } transform-spread { "ie":"11" } transform-parameters { "firefox":"50", "ie":"11" } @@ -30,16 +40,6 @@ Using plugins: transform-typeof-symbol { "ie":"11" } transform-new-target { "ie":"11" } transform-regenerator { "firefox":"50", "ie":"11" } - transform-exponentiation-operator { "firefox":"50", "ie":"11" } - transform-async-to-generator { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-async-generator-functions { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-object-rest-spread { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-unicode-property-regex { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-json-strings { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-optional-catch-binding { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-optional-chaining { "chrome":"52", "firefox":"50", "ie":"11" } - transform-named-capturing-groups-regex { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-nullish-coalescing-operator { "chrome":"52", "firefox":"50", "ie":"11" } transform-modules-commonjs { "chrome":"52", "firefox":"50", "ie":"11" } proposal-dynamic-import { "chrome":"52", "firefox":"50", "ie":"11" } diff --git a/packages/babel-preset-env/test/fixtures/debug/usage-corejs2-chrome-71-1/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/usage-corejs2-chrome-71-1/stdout.txt index 0290b11fbc..86ae8fc249 100644 --- a/packages/babel-preset-env/test/fixtures/debug/usage-corejs2-chrome-71-1/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/usage-corejs2-chrome-71-1/stdout.txt @@ -8,12 +8,12 @@ Using targets: Using modules transform: auto Using plugins: - syntax-async-generators { "chrome":"71" } - syntax-object-rest-spread { "chrome":"71" } + proposal-nullish-coalescing-operator { "chrome":"71" } + proposal-optional-chaining { "chrome":"71" } syntax-json-strings { "chrome":"71" } syntax-optional-catch-binding { "chrome":"71" } - proposal-optional-chaining { "chrome":"71" } - proposal-nullish-coalescing-operator { "chrome":"71" } + syntax-async-generators { "chrome":"71" } + syntax-object-rest-spread { "chrome":"71" } transform-modules-commonjs { "chrome":"71" } proposal-dynamic-import { "chrome":"71" } diff --git a/packages/babel-preset-env/test/fixtures/debug/usage-corejs2-chrome-71-2/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/usage-corejs2-chrome-71-2/stdout.txt index 8ab471d3fc..d1ed996d7e 100644 --- a/packages/babel-preset-env/test/fixtures/debug/usage-corejs2-chrome-71-2/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/usage-corejs2-chrome-71-2/stdout.txt @@ -8,12 +8,12 @@ Using targets: Using modules transform: auto Using plugins: - syntax-async-generators { "chrome":"71" } - syntax-object-rest-spread { "chrome":"71" } + proposal-nullish-coalescing-operator { "chrome":"71" } + proposal-optional-chaining { "chrome":"71" } syntax-json-strings { "chrome":"71" } syntax-optional-catch-binding { "chrome":"71" } - proposal-optional-chaining { "chrome":"71" } - proposal-nullish-coalescing-operator { "chrome":"71" } + syntax-async-generators { "chrome":"71" } + syntax-object-rest-spread { "chrome":"71" } transform-modules-commonjs { "chrome":"71" } proposal-dynamic-import { "chrome":"71" } diff --git a/packages/babel-preset-env/test/fixtures/debug/usage-corejs2-none-1/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/usage-corejs2-none-1/stdout.txt index df82af414b..8b231cf021 100644 --- a/packages/babel-preset-env/test/fixtures/debug/usage-corejs2-none-1/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/usage-corejs2-none-1/stdout.txt @@ -10,6 +10,17 @@ Using targets: Using modules transform: auto Using plugins: + proposal-nullish-coalescing-operator { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-optional-chaining { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-json-strings { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-optional-catch-binding { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-async-generator-functions { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-object-rest-spread { "chrome":"52", "firefox":"50", "ie":"11" } + transform-dotall-regex { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-unicode-property-regex { "chrome":"52", "firefox":"50", "ie":"11" } + transform-named-capturing-groups-regex { "chrome":"52", "firefox":"50", "ie":"11" } + transform-async-to-generator { "chrome":"52", "firefox":"50", "ie":"11" } + transform-exponentiation-operator { "firefox":"50", "ie":"11" } transform-template-literals { "ie":"11" } transform-literals { "firefox":"50", "ie":"11" } transform-function-name { "firefox":"50", "ie":"11" } @@ -21,7 +32,6 @@ Using plugins: transform-computed-properties { "ie":"11" } transform-for-of { "firefox":"50", "ie":"11" } transform-sticky-regex { "ie":"11" } - transform-dotall-regex { "chrome":"52", "firefox":"50", "ie":"11" } transform-unicode-regex { "ie":"11" } transform-spread { "ie":"11" } transform-parameters { "firefox":"50", "ie":"11" } @@ -30,16 +40,6 @@ Using plugins: transform-typeof-symbol { "ie":"11" } transform-new-target { "ie":"11" } transform-regenerator { "firefox":"50", "ie":"11" } - transform-exponentiation-operator { "firefox":"50", "ie":"11" } - transform-async-to-generator { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-async-generator-functions { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-object-rest-spread { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-unicode-property-regex { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-json-strings { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-optional-catch-binding { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-optional-chaining { "chrome":"52", "firefox":"50", "ie":"11" } - transform-named-capturing-groups-regex { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-nullish-coalescing-operator { "chrome":"52", "firefox":"50", "ie":"11" } transform-modules-commonjs { "chrome":"52", "firefox":"50", "ie":"11" } proposal-dynamic-import { "chrome":"52", "firefox":"50", "ie":"11" } diff --git a/packages/babel-preset-env/test/fixtures/debug/usage-corejs2-none-2/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/usage-corejs2-none-2/stdout.txt index 6b0a947867..5d25e2ac04 100644 --- a/packages/babel-preset-env/test/fixtures/debug/usage-corejs2-none-2/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/usage-corejs2-none-2/stdout.txt @@ -10,6 +10,17 @@ Using targets: Using modules transform: auto Using plugins: + proposal-nullish-coalescing-operator { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-optional-chaining { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-json-strings { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-optional-catch-binding { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-async-generator-functions { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-object-rest-spread { "chrome":"52", "firefox":"50", "ie":"11" } + transform-dotall-regex { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-unicode-property-regex { "chrome":"52", "firefox":"50", "ie":"11" } + transform-named-capturing-groups-regex { "chrome":"52", "firefox":"50", "ie":"11" } + transform-async-to-generator { "chrome":"52", "firefox":"50", "ie":"11" } + transform-exponentiation-operator { "firefox":"50", "ie":"11" } transform-template-literals { "ie":"11" } transform-literals { "firefox":"50", "ie":"11" } transform-function-name { "firefox":"50", "ie":"11" } @@ -21,7 +32,6 @@ Using plugins: transform-computed-properties { "ie":"11" } transform-for-of { "firefox":"50", "ie":"11" } transform-sticky-regex { "ie":"11" } - transform-dotall-regex { "chrome":"52", "firefox":"50", "ie":"11" } transform-unicode-regex { "ie":"11" } transform-spread { "ie":"11" } transform-parameters { "firefox":"50", "ie":"11" } @@ -30,16 +40,6 @@ Using plugins: transform-typeof-symbol { "ie":"11" } transform-new-target { "ie":"11" } transform-regenerator { "firefox":"50", "ie":"11" } - transform-exponentiation-operator { "firefox":"50", "ie":"11" } - transform-async-to-generator { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-async-generator-functions { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-object-rest-spread { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-unicode-property-regex { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-json-strings { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-optional-catch-binding { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-optional-chaining { "chrome":"52", "firefox":"50", "ie":"11" } - transform-named-capturing-groups-regex { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-nullish-coalescing-operator { "chrome":"52", "firefox":"50", "ie":"11" } transform-modules-commonjs { "chrome":"52", "firefox":"50", "ie":"11" } proposal-dynamic-import { "chrome":"52", "firefox":"50", "ie":"11" } diff --git a/packages/babel-preset-env/test/fixtures/debug/usage-corejs2-proposals-1/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/usage-corejs2-proposals-1/stdout.txt index 31f05aa5a3..29c856b125 100644 --- a/packages/babel-preset-env/test/fixtures/debug/usage-corejs2-proposals-1/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/usage-corejs2-proposals-1/stdout.txt @@ -10,6 +10,17 @@ Using targets: Using modules transform: auto Using plugins: + proposal-nullish-coalescing-operator { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-optional-chaining { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-json-strings { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-optional-catch-binding { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-async-generator-functions { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-object-rest-spread { "chrome":"52", "firefox":"50", "ie":"11" } + transform-dotall-regex { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-unicode-property-regex { "chrome":"52", "firefox":"50", "ie":"11" } + transform-named-capturing-groups-regex { "chrome":"52", "firefox":"50", "ie":"11" } + transform-async-to-generator { "chrome":"52", "firefox":"50", "ie":"11" } + transform-exponentiation-operator { "firefox":"50", "ie":"11" } transform-template-literals { "ie":"11" } transform-literals { "firefox":"50", "ie":"11" } transform-function-name { "firefox":"50", "ie":"11" } @@ -21,7 +32,6 @@ Using plugins: transform-computed-properties { "ie":"11" } transform-for-of { "firefox":"50", "ie":"11" } transform-sticky-regex { "ie":"11" } - transform-dotall-regex { "chrome":"52", "firefox":"50", "ie":"11" } transform-unicode-regex { "ie":"11" } transform-spread { "ie":"11" } transform-parameters { "firefox":"50", "ie":"11" } @@ -30,16 +40,6 @@ Using plugins: transform-typeof-symbol { "ie":"11" } transform-new-target { "ie":"11" } transform-regenerator { "firefox":"50", "ie":"11" } - transform-exponentiation-operator { "firefox":"50", "ie":"11" } - transform-async-to-generator { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-async-generator-functions { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-object-rest-spread { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-unicode-property-regex { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-json-strings { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-optional-catch-binding { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-optional-chaining { "chrome":"52", "firefox":"50", "ie":"11" } - transform-named-capturing-groups-regex { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-nullish-coalescing-operator { "chrome":"52", "firefox":"50", "ie":"11" } transform-modules-commonjs { "chrome":"52", "firefox":"50", "ie":"11" } proposal-dynamic-import { "chrome":"52", "firefox":"50", "ie":"11" } diff --git a/packages/babel-preset-env/test/fixtures/debug/usage-corejs2-proposals-2/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/usage-corejs2-proposals-2/stdout.txt index 64914fe443..ccd8296103 100644 --- a/packages/babel-preset-env/test/fixtures/debug/usage-corejs2-proposals-2/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/usage-corejs2-proposals-2/stdout.txt @@ -10,6 +10,17 @@ Using targets: Using modules transform: auto Using plugins: + proposal-nullish-coalescing-operator { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-optional-chaining { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-json-strings { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-optional-catch-binding { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-async-generator-functions { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-object-rest-spread { "chrome":"52", "firefox":"50", "ie":"11" } + transform-dotall-regex { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-unicode-property-regex { "chrome":"52", "firefox":"50", "ie":"11" } + transform-named-capturing-groups-regex { "chrome":"52", "firefox":"50", "ie":"11" } + transform-async-to-generator { "chrome":"52", "firefox":"50", "ie":"11" } + transform-exponentiation-operator { "firefox":"50", "ie":"11" } transform-template-literals { "ie":"11" } transform-literals { "firefox":"50", "ie":"11" } transform-function-name { "firefox":"50", "ie":"11" } @@ -21,7 +32,6 @@ Using plugins: transform-computed-properties { "ie":"11" } transform-for-of { "firefox":"50", "ie":"11" } transform-sticky-regex { "ie":"11" } - transform-dotall-regex { "chrome":"52", "firefox":"50", "ie":"11" } transform-unicode-regex { "ie":"11" } transform-spread { "ie":"11" } transform-parameters { "firefox":"50", "ie":"11" } @@ -30,16 +40,6 @@ Using plugins: transform-typeof-symbol { "ie":"11" } transform-new-target { "ie":"11" } transform-regenerator { "firefox":"50", "ie":"11" } - transform-exponentiation-operator { "firefox":"50", "ie":"11" } - transform-async-to-generator { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-async-generator-functions { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-object-rest-spread { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-unicode-property-regex { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-json-strings { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-optional-catch-binding { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-optional-chaining { "chrome":"52", "firefox":"50", "ie":"11" } - transform-named-capturing-groups-regex { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-nullish-coalescing-operator { "chrome":"52", "firefox":"50", "ie":"11" } transform-modules-commonjs { "chrome":"52", "firefox":"50", "ie":"11" } proposal-dynamic-import { "chrome":"52", "firefox":"50", "ie":"11" } diff --git a/packages/babel-preset-env/test/fixtures/debug/usage-corejs2-proposals-chrome-71-1/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/usage-corejs2-proposals-chrome-71-1/stdout.txt index 5b846ecf92..130f8d8d30 100644 --- a/packages/babel-preset-env/test/fixtures/debug/usage-corejs2-proposals-chrome-71-1/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/usage-corejs2-proposals-chrome-71-1/stdout.txt @@ -8,12 +8,12 @@ Using targets: Using modules transform: auto Using plugins: - syntax-async-generators { "chrome":"71" } - syntax-object-rest-spread { "chrome":"71" } + proposal-nullish-coalescing-operator { "chrome":"71" } + proposal-optional-chaining { "chrome":"71" } syntax-json-strings { "chrome":"71" } syntax-optional-catch-binding { "chrome":"71" } - proposal-optional-chaining { "chrome":"71" } - proposal-nullish-coalescing-operator { "chrome":"71" } + syntax-async-generators { "chrome":"71" } + syntax-object-rest-spread { "chrome":"71" } transform-modules-commonjs { "chrome":"71" } proposal-dynamic-import { "chrome":"71" } diff --git a/packages/babel-preset-env/test/fixtures/debug/usage-corejs2-proposals-chrome-71-2/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/usage-corejs2-proposals-chrome-71-2/stdout.txt index 28e1952f4c..efe8c9bf0a 100644 --- a/packages/babel-preset-env/test/fixtures/debug/usage-corejs2-proposals-chrome-71-2/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/usage-corejs2-proposals-chrome-71-2/stdout.txt @@ -8,12 +8,12 @@ Using targets: Using modules transform: auto Using plugins: - syntax-async-generators { "chrome":"71" } - syntax-object-rest-spread { "chrome":"71" } + proposal-nullish-coalescing-operator { "chrome":"71" } + proposal-optional-chaining { "chrome":"71" } syntax-json-strings { "chrome":"71" } syntax-optional-catch-binding { "chrome":"71" } - proposal-optional-chaining { "chrome":"71" } - proposal-nullish-coalescing-operator { "chrome":"71" } + syntax-async-generators { "chrome":"71" } + syntax-object-rest-spread { "chrome":"71" } transform-modules-commonjs { "chrome":"71" } proposal-dynamic-import { "chrome":"71" } diff --git a/packages/babel-preset-env/test/fixtures/debug/usage-corejs2-shippedProposals-1/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/usage-corejs2-shippedProposals-1/stdout.txt index a937819d69..0c724ee0e5 100644 --- a/packages/babel-preset-env/test/fixtures/debug/usage-corejs2-shippedProposals-1/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/usage-corejs2-shippedProposals-1/stdout.txt @@ -10,6 +10,17 @@ Using targets: Using modules transform: auto Using plugins: + proposal-nullish-coalescing-operator { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-optional-chaining { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-json-strings { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-optional-catch-binding { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-async-generator-functions { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-object-rest-spread { "chrome":"52", "firefox":"50", "ie":"11" } + transform-dotall-regex { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-unicode-property-regex { "chrome":"52", "firefox":"50", "ie":"11" } + transform-named-capturing-groups-regex { "chrome":"52", "firefox":"50", "ie":"11" } + transform-async-to-generator { "chrome":"52", "firefox":"50", "ie":"11" } + transform-exponentiation-operator { "firefox":"50", "ie":"11" } transform-template-literals { "ie":"11" } transform-literals { "firefox":"50", "ie":"11" } transform-function-name { "firefox":"50", "ie":"11" } @@ -21,7 +32,6 @@ Using plugins: transform-computed-properties { "ie":"11" } transform-for-of { "firefox":"50", "ie":"11" } transform-sticky-regex { "ie":"11" } - transform-dotall-regex { "chrome":"52", "firefox":"50", "ie":"11" } transform-unicode-regex { "ie":"11" } transform-spread { "ie":"11" } transform-parameters { "firefox":"50", "ie":"11" } @@ -30,16 +40,6 @@ Using plugins: transform-typeof-symbol { "ie":"11" } transform-new-target { "ie":"11" } transform-regenerator { "firefox":"50", "ie":"11" } - transform-exponentiation-operator { "firefox":"50", "ie":"11" } - transform-async-to-generator { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-async-generator-functions { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-object-rest-spread { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-unicode-property-regex { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-json-strings { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-optional-catch-binding { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-optional-chaining { "chrome":"52", "firefox":"50", "ie":"11" } - transform-named-capturing-groups-regex { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-nullish-coalescing-operator { "chrome":"52", "firefox":"50", "ie":"11" } transform-modules-commonjs { "chrome":"52", "firefox":"50", "ie":"11" } proposal-dynamic-import { "chrome":"52", "firefox":"50", "ie":"11" } diff --git a/packages/babel-preset-env/test/fixtures/debug/usage-corejs2-shippedProposals-2/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/usage-corejs2-shippedProposals-2/stdout.txt index 8fdaecacb2..5344f073ec 100644 --- a/packages/babel-preset-env/test/fixtures/debug/usage-corejs2-shippedProposals-2/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/usage-corejs2-shippedProposals-2/stdout.txt @@ -10,6 +10,17 @@ Using targets: Using modules transform: auto Using plugins: + proposal-nullish-coalescing-operator { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-optional-chaining { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-json-strings { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-optional-catch-binding { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-async-generator-functions { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-object-rest-spread { "chrome":"52", "firefox":"50", "ie":"11" } + transform-dotall-regex { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-unicode-property-regex { "chrome":"52", "firefox":"50", "ie":"11" } + transform-named-capturing-groups-regex { "chrome":"52", "firefox":"50", "ie":"11" } + transform-async-to-generator { "chrome":"52", "firefox":"50", "ie":"11" } + transform-exponentiation-operator { "firefox":"50", "ie":"11" } transform-template-literals { "ie":"11" } transform-literals { "firefox":"50", "ie":"11" } transform-function-name { "firefox":"50", "ie":"11" } @@ -21,7 +32,6 @@ Using plugins: transform-computed-properties { "ie":"11" } transform-for-of { "firefox":"50", "ie":"11" } transform-sticky-regex { "ie":"11" } - transform-dotall-regex { "chrome":"52", "firefox":"50", "ie":"11" } transform-unicode-regex { "ie":"11" } transform-spread { "ie":"11" } transform-parameters { "firefox":"50", "ie":"11" } @@ -30,16 +40,6 @@ Using plugins: transform-typeof-symbol { "ie":"11" } transform-new-target { "ie":"11" } transform-regenerator { "firefox":"50", "ie":"11" } - transform-exponentiation-operator { "firefox":"50", "ie":"11" } - transform-async-to-generator { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-async-generator-functions { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-object-rest-spread { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-unicode-property-regex { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-json-strings { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-optional-catch-binding { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-optional-chaining { "chrome":"52", "firefox":"50", "ie":"11" } - transform-named-capturing-groups-regex { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-nullish-coalescing-operator { "chrome":"52", "firefox":"50", "ie":"11" } transform-modules-commonjs { "chrome":"52", "firefox":"50", "ie":"11" } proposal-dynamic-import { "chrome":"52", "firefox":"50", "ie":"11" } diff --git a/packages/babel-preset-env/test/fixtures/debug/usage-corejs2-with-import/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/usage-corejs2-with-import/stdout.txt index 81f3687e8d..25f7f945af 100644 --- a/packages/babel-preset-env/test/fixtures/debug/usage-corejs2-with-import/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/usage-corejs2-with-import/stdout.txt @@ -8,15 +8,15 @@ Using targets: Using modules transform: auto Using plugins: - transform-dotall-regex { "chrome":"55" } - proposal-async-generator-functions { "chrome":"55" } - proposal-object-rest-spread { "chrome":"55" } - proposal-unicode-property-regex { "chrome":"55" } + proposal-nullish-coalescing-operator { "chrome":"55" } + proposal-optional-chaining { "chrome":"55" } proposal-json-strings { "chrome":"55" } proposal-optional-catch-binding { "chrome":"55" } - proposal-optional-chaining { "chrome":"55" } + proposal-async-generator-functions { "chrome":"55" } + proposal-object-rest-spread { "chrome":"55" } + transform-dotall-regex { "chrome":"55" } + proposal-unicode-property-regex { "chrome":"55" } transform-named-capturing-groups-regex { "chrome":"55" } - proposal-nullish-coalescing-operator { "chrome":"55" } transform-modules-commonjs { "chrome":"55" } proposal-dynamic-import { "chrome":"55" } diff --git a/packages/babel-preset-env/test/fixtures/debug/usage-corejs3-1/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/usage-corejs3-1/stdout.txt index 22d4c56a32..ce71ed22b2 100644 --- a/packages/babel-preset-env/test/fixtures/debug/usage-corejs3-1/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/usage-corejs3-1/stdout.txt @@ -10,6 +10,17 @@ Using targets: Using modules transform: auto Using plugins: + proposal-nullish-coalescing-operator { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-optional-chaining { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-json-strings { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-optional-catch-binding { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-async-generator-functions { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-object-rest-spread { "chrome":"52", "firefox":"50", "ie":"11" } + transform-dotall-regex { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-unicode-property-regex { "chrome":"52", "firefox":"50", "ie":"11" } + transform-named-capturing-groups-regex { "chrome":"52", "firefox":"50", "ie":"11" } + transform-async-to-generator { "chrome":"52", "firefox":"50", "ie":"11" } + transform-exponentiation-operator { "firefox":"50", "ie":"11" } transform-template-literals { "ie":"11" } transform-literals { "firefox":"50", "ie":"11" } transform-function-name { "firefox":"50", "ie":"11" } @@ -21,7 +32,6 @@ Using plugins: transform-computed-properties { "ie":"11" } transform-for-of { "firefox":"50", "ie":"11" } transform-sticky-regex { "ie":"11" } - transform-dotall-regex { "chrome":"52", "firefox":"50", "ie":"11" } transform-unicode-regex { "ie":"11" } transform-spread { "ie":"11" } transform-parameters { "firefox":"50", "ie":"11" } @@ -30,16 +40,6 @@ Using plugins: transform-typeof-symbol { "ie":"11" } transform-new-target { "ie":"11" } transform-regenerator { "firefox":"50", "ie":"11" } - transform-exponentiation-operator { "firefox":"50", "ie":"11" } - transform-async-to-generator { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-async-generator-functions { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-object-rest-spread { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-unicode-property-regex { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-json-strings { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-optional-catch-binding { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-optional-chaining { "chrome":"52", "firefox":"50", "ie":"11" } - transform-named-capturing-groups-regex { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-nullish-coalescing-operator { "chrome":"52", "firefox":"50", "ie":"11" } transform-modules-commonjs { "chrome":"52", "firefox":"50", "ie":"11" } proposal-dynamic-import { "chrome":"52", "firefox":"50", "ie":"11" } diff --git a/packages/babel-preset-env/test/fixtures/debug/usage-corejs3-2/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/usage-corejs3-2/stdout.txt index 4cce46fe4c..2a9b00a248 100644 --- a/packages/babel-preset-env/test/fixtures/debug/usage-corejs3-2/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/usage-corejs3-2/stdout.txt @@ -10,6 +10,17 @@ Using targets: Using modules transform: auto Using plugins: + proposal-nullish-coalescing-operator { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-optional-chaining { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-json-strings { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-optional-catch-binding { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-async-generator-functions { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-object-rest-spread { "chrome":"52", "firefox":"50", "ie":"11" } + transform-dotall-regex { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-unicode-property-regex { "chrome":"52", "firefox":"50", "ie":"11" } + transform-named-capturing-groups-regex { "chrome":"52", "firefox":"50", "ie":"11" } + transform-async-to-generator { "chrome":"52", "firefox":"50", "ie":"11" } + transform-exponentiation-operator { "firefox":"50", "ie":"11" } transform-template-literals { "ie":"11" } transform-literals { "firefox":"50", "ie":"11" } transform-function-name { "firefox":"50", "ie":"11" } @@ -21,7 +32,6 @@ Using plugins: transform-computed-properties { "ie":"11" } transform-for-of { "firefox":"50", "ie":"11" } transform-sticky-regex { "ie":"11" } - transform-dotall-regex { "chrome":"52", "firefox":"50", "ie":"11" } transform-unicode-regex { "ie":"11" } transform-spread { "ie":"11" } transform-parameters { "firefox":"50", "ie":"11" } @@ -30,16 +40,6 @@ Using plugins: transform-typeof-symbol { "ie":"11" } transform-new-target { "ie":"11" } transform-regenerator { "firefox":"50", "ie":"11" } - transform-exponentiation-operator { "firefox":"50", "ie":"11" } - transform-async-to-generator { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-async-generator-functions { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-object-rest-spread { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-unicode-property-regex { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-json-strings { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-optional-catch-binding { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-optional-chaining { "chrome":"52", "firefox":"50", "ie":"11" } - transform-named-capturing-groups-regex { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-nullish-coalescing-operator { "chrome":"52", "firefox":"50", "ie":"11" } transform-modules-commonjs { "chrome":"52", "firefox":"50", "ie":"11" } proposal-dynamic-import { "chrome":"52", "firefox":"50", "ie":"11" } diff --git a/packages/babel-preset-env/test/fixtures/debug/usage-corejs3-chrome-71-1/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/usage-corejs3-chrome-71-1/stdout.txt index 2cbcabd835..91f9f62e98 100644 --- a/packages/babel-preset-env/test/fixtures/debug/usage-corejs3-chrome-71-1/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/usage-corejs3-chrome-71-1/stdout.txt @@ -8,12 +8,12 @@ Using targets: Using modules transform: auto Using plugins: - syntax-async-generators { "chrome":"71" } - syntax-object-rest-spread { "chrome":"71" } + proposal-nullish-coalescing-operator { "chrome":"71" } + proposal-optional-chaining { "chrome":"71" } syntax-json-strings { "chrome":"71" } syntax-optional-catch-binding { "chrome":"71" } - proposal-optional-chaining { "chrome":"71" } - proposal-nullish-coalescing-operator { "chrome":"71" } + syntax-async-generators { "chrome":"71" } + syntax-object-rest-spread { "chrome":"71" } transform-modules-commonjs { "chrome":"71" } proposal-dynamic-import { "chrome":"71" } diff --git a/packages/babel-preset-env/test/fixtures/debug/usage-corejs3-chrome-71-2/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/usage-corejs3-chrome-71-2/stdout.txt index 722599c9cb..dfeb23a035 100644 --- a/packages/babel-preset-env/test/fixtures/debug/usage-corejs3-chrome-71-2/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/usage-corejs3-chrome-71-2/stdout.txt @@ -8,12 +8,12 @@ Using targets: Using modules transform: auto Using plugins: - syntax-async-generators { "chrome":"71" } - syntax-object-rest-spread { "chrome":"71" } + proposal-nullish-coalescing-operator { "chrome":"71" } + proposal-optional-chaining { "chrome":"71" } syntax-json-strings { "chrome":"71" } syntax-optional-catch-binding { "chrome":"71" } - proposal-optional-chaining { "chrome":"71" } - proposal-nullish-coalescing-operator { "chrome":"71" } + syntax-async-generators { "chrome":"71" } + syntax-object-rest-spread { "chrome":"71" } transform-modules-commonjs { "chrome":"71" } proposal-dynamic-import { "chrome":"71" } diff --git a/packages/babel-preset-env/test/fixtures/debug/usage-corejs3-none-1/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/usage-corejs3-none-1/stdout.txt index c75552f22e..942d04c9f6 100644 --- a/packages/babel-preset-env/test/fixtures/debug/usage-corejs3-none-1/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/usage-corejs3-none-1/stdout.txt @@ -10,6 +10,17 @@ Using targets: Using modules transform: auto Using plugins: + proposal-nullish-coalescing-operator { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-optional-chaining { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-json-strings { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-optional-catch-binding { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-async-generator-functions { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-object-rest-spread { "chrome":"52", "firefox":"50", "ie":"11" } + transform-dotall-regex { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-unicode-property-regex { "chrome":"52", "firefox":"50", "ie":"11" } + transform-named-capturing-groups-regex { "chrome":"52", "firefox":"50", "ie":"11" } + transform-async-to-generator { "chrome":"52", "firefox":"50", "ie":"11" } + transform-exponentiation-operator { "firefox":"50", "ie":"11" } transform-template-literals { "ie":"11" } transform-literals { "firefox":"50", "ie":"11" } transform-function-name { "firefox":"50", "ie":"11" } @@ -21,7 +32,6 @@ Using plugins: transform-computed-properties { "ie":"11" } transform-for-of { "firefox":"50", "ie":"11" } transform-sticky-regex { "ie":"11" } - transform-dotall-regex { "chrome":"52", "firefox":"50", "ie":"11" } transform-unicode-regex { "ie":"11" } transform-spread { "ie":"11" } transform-parameters { "firefox":"50", "ie":"11" } @@ -30,16 +40,6 @@ Using plugins: transform-typeof-symbol { "ie":"11" } transform-new-target { "ie":"11" } transform-regenerator { "firefox":"50", "ie":"11" } - transform-exponentiation-operator { "firefox":"50", "ie":"11" } - transform-async-to-generator { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-async-generator-functions { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-object-rest-spread { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-unicode-property-regex { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-json-strings { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-optional-catch-binding { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-optional-chaining { "chrome":"52", "firefox":"50", "ie":"11" } - transform-named-capturing-groups-regex { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-nullish-coalescing-operator { "chrome":"52", "firefox":"50", "ie":"11" } transform-modules-commonjs { "chrome":"52", "firefox":"50", "ie":"11" } proposal-dynamic-import { "chrome":"52", "firefox":"50", "ie":"11" } diff --git a/packages/babel-preset-env/test/fixtures/debug/usage-corejs3-none-2/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/usage-corejs3-none-2/stdout.txt index dc523ad918..38b34296ab 100644 --- a/packages/babel-preset-env/test/fixtures/debug/usage-corejs3-none-2/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/usage-corejs3-none-2/stdout.txt @@ -10,6 +10,17 @@ Using targets: Using modules transform: auto Using plugins: + proposal-nullish-coalescing-operator { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-optional-chaining { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-json-strings { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-optional-catch-binding { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-async-generator-functions { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-object-rest-spread { "chrome":"52", "firefox":"50", "ie":"11" } + transform-dotall-regex { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-unicode-property-regex { "chrome":"52", "firefox":"50", "ie":"11" } + transform-named-capturing-groups-regex { "chrome":"52", "firefox":"50", "ie":"11" } + transform-async-to-generator { "chrome":"52", "firefox":"50", "ie":"11" } + transform-exponentiation-operator { "firefox":"50", "ie":"11" } transform-template-literals { "ie":"11" } transform-literals { "firefox":"50", "ie":"11" } transform-function-name { "firefox":"50", "ie":"11" } @@ -21,7 +32,6 @@ Using plugins: transform-computed-properties { "ie":"11" } transform-for-of { "firefox":"50", "ie":"11" } transform-sticky-regex { "ie":"11" } - transform-dotall-regex { "chrome":"52", "firefox":"50", "ie":"11" } transform-unicode-regex { "ie":"11" } transform-spread { "ie":"11" } transform-parameters { "firefox":"50", "ie":"11" } @@ -30,16 +40,6 @@ Using plugins: transform-typeof-symbol { "ie":"11" } transform-new-target { "ie":"11" } transform-regenerator { "firefox":"50", "ie":"11" } - transform-exponentiation-operator { "firefox":"50", "ie":"11" } - transform-async-to-generator { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-async-generator-functions { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-object-rest-spread { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-unicode-property-regex { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-json-strings { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-optional-catch-binding { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-optional-chaining { "chrome":"52", "firefox":"50", "ie":"11" } - transform-named-capturing-groups-regex { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-nullish-coalescing-operator { "chrome":"52", "firefox":"50", "ie":"11" } transform-modules-commonjs { "chrome":"52", "firefox":"50", "ie":"11" } proposal-dynamic-import { "chrome":"52", "firefox":"50", "ie":"11" } diff --git a/packages/babel-preset-env/test/fixtures/debug/usage-corejs3-proposals-1/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/usage-corejs3-proposals-1/stdout.txt index 15abd57b6a..b34fcd4103 100644 --- a/packages/babel-preset-env/test/fixtures/debug/usage-corejs3-proposals-1/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/usage-corejs3-proposals-1/stdout.txt @@ -10,6 +10,17 @@ Using targets: Using modules transform: auto Using plugins: + proposal-nullish-coalescing-operator { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-optional-chaining { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-json-strings { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-optional-catch-binding { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-async-generator-functions { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-object-rest-spread { "chrome":"52", "firefox":"50", "ie":"11" } + transform-dotall-regex { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-unicode-property-regex { "chrome":"52", "firefox":"50", "ie":"11" } + transform-named-capturing-groups-regex { "chrome":"52", "firefox":"50", "ie":"11" } + transform-async-to-generator { "chrome":"52", "firefox":"50", "ie":"11" } + transform-exponentiation-operator { "firefox":"50", "ie":"11" } transform-template-literals { "ie":"11" } transform-literals { "firefox":"50", "ie":"11" } transform-function-name { "firefox":"50", "ie":"11" } @@ -21,7 +32,6 @@ Using plugins: transform-computed-properties { "ie":"11" } transform-for-of { "firefox":"50", "ie":"11" } transform-sticky-regex { "ie":"11" } - transform-dotall-regex { "chrome":"52", "firefox":"50", "ie":"11" } transform-unicode-regex { "ie":"11" } transform-spread { "ie":"11" } transform-parameters { "firefox":"50", "ie":"11" } @@ -30,16 +40,6 @@ Using plugins: transform-typeof-symbol { "ie":"11" } transform-new-target { "ie":"11" } transform-regenerator { "firefox":"50", "ie":"11" } - transform-exponentiation-operator { "firefox":"50", "ie":"11" } - transform-async-to-generator { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-async-generator-functions { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-object-rest-spread { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-unicode-property-regex { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-json-strings { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-optional-catch-binding { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-optional-chaining { "chrome":"52", "firefox":"50", "ie":"11" } - transform-named-capturing-groups-regex { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-nullish-coalescing-operator { "chrome":"52", "firefox":"50", "ie":"11" } transform-modules-commonjs { "chrome":"52", "firefox":"50", "ie":"11" } proposal-dynamic-import { "chrome":"52", "firefox":"50", "ie":"11" } diff --git a/packages/babel-preset-env/test/fixtures/debug/usage-corejs3-proposals-2/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/usage-corejs3-proposals-2/stdout.txt index d59dec1f9b..c4be9e4eba 100644 --- a/packages/babel-preset-env/test/fixtures/debug/usage-corejs3-proposals-2/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/usage-corejs3-proposals-2/stdout.txt @@ -10,6 +10,17 @@ Using targets: Using modules transform: auto Using plugins: + proposal-nullish-coalescing-operator { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-optional-chaining { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-json-strings { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-optional-catch-binding { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-async-generator-functions { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-object-rest-spread { "chrome":"52", "firefox":"50", "ie":"11" } + transform-dotall-regex { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-unicode-property-regex { "chrome":"52", "firefox":"50", "ie":"11" } + transform-named-capturing-groups-regex { "chrome":"52", "firefox":"50", "ie":"11" } + transform-async-to-generator { "chrome":"52", "firefox":"50", "ie":"11" } + transform-exponentiation-operator { "firefox":"50", "ie":"11" } transform-template-literals { "ie":"11" } transform-literals { "firefox":"50", "ie":"11" } transform-function-name { "firefox":"50", "ie":"11" } @@ -21,7 +32,6 @@ Using plugins: transform-computed-properties { "ie":"11" } transform-for-of { "firefox":"50", "ie":"11" } transform-sticky-regex { "ie":"11" } - transform-dotall-regex { "chrome":"52", "firefox":"50", "ie":"11" } transform-unicode-regex { "ie":"11" } transform-spread { "ie":"11" } transform-parameters { "firefox":"50", "ie":"11" } @@ -30,16 +40,6 @@ Using plugins: transform-typeof-symbol { "ie":"11" } transform-new-target { "ie":"11" } transform-regenerator { "firefox":"50", "ie":"11" } - transform-exponentiation-operator { "firefox":"50", "ie":"11" } - transform-async-to-generator { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-async-generator-functions { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-object-rest-spread { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-unicode-property-regex { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-json-strings { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-optional-catch-binding { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-optional-chaining { "chrome":"52", "firefox":"50", "ie":"11" } - transform-named-capturing-groups-regex { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-nullish-coalescing-operator { "chrome":"52", "firefox":"50", "ie":"11" } transform-modules-commonjs { "chrome":"52", "firefox":"50", "ie":"11" } proposal-dynamic-import { "chrome":"52", "firefox":"50", "ie":"11" } diff --git a/packages/babel-preset-env/test/fixtures/debug/usage-corejs3-proposals-chrome-71-1/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/usage-corejs3-proposals-chrome-71-1/stdout.txt index ecb943009f..db3815977e 100644 --- a/packages/babel-preset-env/test/fixtures/debug/usage-corejs3-proposals-chrome-71-1/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/usage-corejs3-proposals-chrome-71-1/stdout.txt @@ -8,12 +8,12 @@ Using targets: Using modules transform: auto Using plugins: - syntax-async-generators { "chrome":"71" } - syntax-object-rest-spread { "chrome":"71" } + proposal-nullish-coalescing-operator { "chrome":"71" } + proposal-optional-chaining { "chrome":"71" } syntax-json-strings { "chrome":"71" } syntax-optional-catch-binding { "chrome":"71" } - proposal-optional-chaining { "chrome":"71" } - proposal-nullish-coalescing-operator { "chrome":"71" } + syntax-async-generators { "chrome":"71" } + syntax-object-rest-spread { "chrome":"71" } transform-modules-commonjs { "chrome":"71" } proposal-dynamic-import { "chrome":"71" } diff --git a/packages/babel-preset-env/test/fixtures/debug/usage-corejs3-proposals-chrome-71-2/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/usage-corejs3-proposals-chrome-71-2/stdout.txt index 4a7b2514c4..7b02e2d051 100644 --- a/packages/babel-preset-env/test/fixtures/debug/usage-corejs3-proposals-chrome-71-2/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/usage-corejs3-proposals-chrome-71-2/stdout.txt @@ -8,12 +8,12 @@ Using targets: Using modules transform: auto Using plugins: - syntax-async-generators { "chrome":"71" } - syntax-object-rest-spread { "chrome":"71" } + proposal-nullish-coalescing-operator { "chrome":"71" } + proposal-optional-chaining { "chrome":"71" } syntax-json-strings { "chrome":"71" } syntax-optional-catch-binding { "chrome":"71" } - proposal-optional-chaining { "chrome":"71" } - proposal-nullish-coalescing-operator { "chrome":"71" } + syntax-async-generators { "chrome":"71" } + syntax-object-rest-spread { "chrome":"71" } transform-modules-commonjs { "chrome":"71" } proposal-dynamic-import { "chrome":"71" } diff --git a/packages/babel-preset-env/test/fixtures/debug/usage-corejs3-shippedProposals-1/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/usage-corejs3-shippedProposals-1/stdout.txt index e5b75a9a1c..3417b9db6c 100644 --- a/packages/babel-preset-env/test/fixtures/debug/usage-corejs3-shippedProposals-1/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/usage-corejs3-shippedProposals-1/stdout.txt @@ -10,6 +10,17 @@ Using targets: Using modules transform: auto Using plugins: + proposal-nullish-coalescing-operator { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-optional-chaining { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-json-strings { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-optional-catch-binding { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-async-generator-functions { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-object-rest-spread { "chrome":"52", "firefox":"50", "ie":"11" } + transform-dotall-regex { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-unicode-property-regex { "chrome":"52", "firefox":"50", "ie":"11" } + transform-named-capturing-groups-regex { "chrome":"52", "firefox":"50", "ie":"11" } + transform-async-to-generator { "chrome":"52", "firefox":"50", "ie":"11" } + transform-exponentiation-operator { "firefox":"50", "ie":"11" } transform-template-literals { "ie":"11" } transform-literals { "firefox":"50", "ie":"11" } transform-function-name { "firefox":"50", "ie":"11" } @@ -21,7 +32,6 @@ Using plugins: transform-computed-properties { "ie":"11" } transform-for-of { "firefox":"50", "ie":"11" } transform-sticky-regex { "ie":"11" } - transform-dotall-regex { "chrome":"52", "firefox":"50", "ie":"11" } transform-unicode-regex { "ie":"11" } transform-spread { "ie":"11" } transform-parameters { "firefox":"50", "ie":"11" } @@ -30,16 +40,6 @@ Using plugins: transform-typeof-symbol { "ie":"11" } transform-new-target { "ie":"11" } transform-regenerator { "firefox":"50", "ie":"11" } - transform-exponentiation-operator { "firefox":"50", "ie":"11" } - transform-async-to-generator { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-async-generator-functions { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-object-rest-spread { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-unicode-property-regex { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-json-strings { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-optional-catch-binding { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-optional-chaining { "chrome":"52", "firefox":"50", "ie":"11" } - transform-named-capturing-groups-regex { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-nullish-coalescing-operator { "chrome":"52", "firefox":"50", "ie":"11" } transform-modules-commonjs { "chrome":"52", "firefox":"50", "ie":"11" } proposal-dynamic-import { "chrome":"52", "firefox":"50", "ie":"11" } diff --git a/packages/babel-preset-env/test/fixtures/debug/usage-corejs3-shippedProposals-2/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/usage-corejs3-shippedProposals-2/stdout.txt index eb19079473..8670a4118b 100644 --- a/packages/babel-preset-env/test/fixtures/debug/usage-corejs3-shippedProposals-2/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/usage-corejs3-shippedProposals-2/stdout.txt @@ -10,6 +10,17 @@ Using targets: Using modules transform: auto Using plugins: + proposal-nullish-coalescing-operator { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-optional-chaining { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-json-strings { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-optional-catch-binding { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-async-generator-functions { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-object-rest-spread { "chrome":"52", "firefox":"50", "ie":"11" } + transform-dotall-regex { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-unicode-property-regex { "chrome":"52", "firefox":"50", "ie":"11" } + transform-named-capturing-groups-regex { "chrome":"52", "firefox":"50", "ie":"11" } + transform-async-to-generator { "chrome":"52", "firefox":"50", "ie":"11" } + transform-exponentiation-operator { "firefox":"50", "ie":"11" } transform-template-literals { "ie":"11" } transform-literals { "firefox":"50", "ie":"11" } transform-function-name { "firefox":"50", "ie":"11" } @@ -21,7 +32,6 @@ Using plugins: transform-computed-properties { "ie":"11" } transform-for-of { "firefox":"50", "ie":"11" } transform-sticky-regex { "ie":"11" } - transform-dotall-regex { "chrome":"52", "firefox":"50", "ie":"11" } transform-unicode-regex { "ie":"11" } transform-spread { "ie":"11" } transform-parameters { "firefox":"50", "ie":"11" } @@ -30,16 +40,6 @@ Using plugins: transform-typeof-symbol { "ie":"11" } transform-new-target { "ie":"11" } transform-regenerator { "firefox":"50", "ie":"11" } - transform-exponentiation-operator { "firefox":"50", "ie":"11" } - transform-async-to-generator { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-async-generator-functions { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-object-rest-spread { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-unicode-property-regex { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-json-strings { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-optional-catch-binding { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-optional-chaining { "chrome":"52", "firefox":"50", "ie":"11" } - transform-named-capturing-groups-regex { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-nullish-coalescing-operator { "chrome":"52", "firefox":"50", "ie":"11" } transform-modules-commonjs { "chrome":"52", "firefox":"50", "ie":"11" } proposal-dynamic-import { "chrome":"52", "firefox":"50", "ie":"11" } diff --git a/packages/babel-preset-env/test/fixtures/debug/usage-corejs3-versions-strings-minor-3.0-1/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/usage-corejs3-versions-strings-minor-3.0-1/stdout.txt index 0c7ee55a05..3e8f6f40b2 100644 --- a/packages/babel-preset-env/test/fixtures/debug/usage-corejs3-versions-strings-minor-3.0-1/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/usage-corejs3-versions-strings-minor-3.0-1/stdout.txt @@ -10,6 +10,17 @@ Using targets: Using modules transform: auto Using plugins: + proposal-nullish-coalescing-operator { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-optional-chaining { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-json-strings { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-optional-catch-binding { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-async-generator-functions { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-object-rest-spread { "chrome":"52", "firefox":"50", "ie":"11" } + transform-dotall-regex { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-unicode-property-regex { "chrome":"52", "firefox":"50", "ie":"11" } + transform-named-capturing-groups-regex { "chrome":"52", "firefox":"50", "ie":"11" } + transform-async-to-generator { "chrome":"52", "firefox":"50", "ie":"11" } + transform-exponentiation-operator { "firefox":"50", "ie":"11" } transform-template-literals { "ie":"11" } transform-literals { "firefox":"50", "ie":"11" } transform-function-name { "firefox":"50", "ie":"11" } @@ -21,7 +32,6 @@ Using plugins: transform-computed-properties { "ie":"11" } transform-for-of { "firefox":"50", "ie":"11" } transform-sticky-regex { "ie":"11" } - transform-dotall-regex { "chrome":"52", "firefox":"50", "ie":"11" } transform-unicode-regex { "ie":"11" } transform-spread { "ie":"11" } transform-parameters { "firefox":"50", "ie":"11" } @@ -30,16 +40,6 @@ Using plugins: transform-typeof-symbol { "ie":"11" } transform-new-target { "ie":"11" } transform-regenerator { "firefox":"50", "ie":"11" } - transform-exponentiation-operator { "firefox":"50", "ie":"11" } - transform-async-to-generator { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-async-generator-functions { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-object-rest-spread { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-unicode-property-regex { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-json-strings { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-optional-catch-binding { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-optional-chaining { "chrome":"52", "firefox":"50", "ie":"11" } - transform-named-capturing-groups-regex { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-nullish-coalescing-operator { "chrome":"52", "firefox":"50", "ie":"11" } transform-modules-commonjs { "chrome":"52", "firefox":"50", "ie":"11" } proposal-dynamic-import { "chrome":"52", "firefox":"50", "ie":"11" } diff --git a/packages/babel-preset-env/test/fixtures/debug/usage-corejs3-versions-strings-minor-3.0-2/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/usage-corejs3-versions-strings-minor-3.0-2/stdout.txt index f27eb55333..28227eb5aa 100644 --- a/packages/babel-preset-env/test/fixtures/debug/usage-corejs3-versions-strings-minor-3.0-2/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/usage-corejs3-versions-strings-minor-3.0-2/stdout.txt @@ -10,6 +10,17 @@ Using targets: Using modules transform: auto Using plugins: + proposal-nullish-coalescing-operator { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-optional-chaining { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-json-strings { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-optional-catch-binding { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-async-generator-functions { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-object-rest-spread { "chrome":"52", "firefox":"50", "ie":"11" } + transform-dotall-regex { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-unicode-property-regex { "chrome":"52", "firefox":"50", "ie":"11" } + transform-named-capturing-groups-regex { "chrome":"52", "firefox":"50", "ie":"11" } + transform-async-to-generator { "chrome":"52", "firefox":"50", "ie":"11" } + transform-exponentiation-operator { "firefox":"50", "ie":"11" } transform-template-literals { "ie":"11" } transform-literals { "firefox":"50", "ie":"11" } transform-function-name { "firefox":"50", "ie":"11" } @@ -21,7 +32,6 @@ Using plugins: transform-computed-properties { "ie":"11" } transform-for-of { "firefox":"50", "ie":"11" } transform-sticky-regex { "ie":"11" } - transform-dotall-regex { "chrome":"52", "firefox":"50", "ie":"11" } transform-unicode-regex { "ie":"11" } transform-spread { "ie":"11" } transform-parameters { "firefox":"50", "ie":"11" } @@ -30,16 +40,6 @@ Using plugins: transform-typeof-symbol { "ie":"11" } transform-new-target { "ie":"11" } transform-regenerator { "firefox":"50", "ie":"11" } - transform-exponentiation-operator { "firefox":"50", "ie":"11" } - transform-async-to-generator { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-async-generator-functions { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-object-rest-spread { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-unicode-property-regex { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-json-strings { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-optional-catch-binding { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-optional-chaining { "chrome":"52", "firefox":"50", "ie":"11" } - transform-named-capturing-groups-regex { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-nullish-coalescing-operator { "chrome":"52", "firefox":"50", "ie":"11" } transform-modules-commonjs { "chrome":"52", "firefox":"50", "ie":"11" } proposal-dynamic-import { "chrome":"52", "firefox":"50", "ie":"11" } diff --git a/packages/babel-preset-env/test/fixtures/debug/usage-corejs3-versions-strings-minor-3.1-1/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/usage-corejs3-versions-strings-minor-3.1-1/stdout.txt index c5bdcb0087..d377b636f4 100644 --- a/packages/babel-preset-env/test/fixtures/debug/usage-corejs3-versions-strings-minor-3.1-1/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/usage-corejs3-versions-strings-minor-3.1-1/stdout.txt @@ -10,6 +10,17 @@ Using targets: Using modules transform: auto Using plugins: + proposal-nullish-coalescing-operator { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-optional-chaining { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-json-strings { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-optional-catch-binding { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-async-generator-functions { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-object-rest-spread { "chrome":"52", "firefox":"50", "ie":"11" } + transform-dotall-regex { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-unicode-property-regex { "chrome":"52", "firefox":"50", "ie":"11" } + transform-named-capturing-groups-regex { "chrome":"52", "firefox":"50", "ie":"11" } + transform-async-to-generator { "chrome":"52", "firefox":"50", "ie":"11" } + transform-exponentiation-operator { "firefox":"50", "ie":"11" } transform-template-literals { "ie":"11" } transform-literals { "firefox":"50", "ie":"11" } transform-function-name { "firefox":"50", "ie":"11" } @@ -21,7 +32,6 @@ Using plugins: transform-computed-properties { "ie":"11" } transform-for-of { "firefox":"50", "ie":"11" } transform-sticky-regex { "ie":"11" } - transform-dotall-regex { "chrome":"52", "firefox":"50", "ie":"11" } transform-unicode-regex { "ie":"11" } transform-spread { "ie":"11" } transform-parameters { "firefox":"50", "ie":"11" } @@ -30,16 +40,6 @@ Using plugins: transform-typeof-symbol { "ie":"11" } transform-new-target { "ie":"11" } transform-regenerator { "firefox":"50", "ie":"11" } - transform-exponentiation-operator { "firefox":"50", "ie":"11" } - transform-async-to-generator { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-async-generator-functions { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-object-rest-spread { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-unicode-property-regex { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-json-strings { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-optional-catch-binding { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-optional-chaining { "chrome":"52", "firefox":"50", "ie":"11" } - transform-named-capturing-groups-regex { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-nullish-coalescing-operator { "chrome":"52", "firefox":"50", "ie":"11" } transform-modules-commonjs { "chrome":"52", "firefox":"50", "ie":"11" } proposal-dynamic-import { "chrome":"52", "firefox":"50", "ie":"11" } diff --git a/packages/babel-preset-env/test/fixtures/debug/usage-corejs3-versions-strings-minor-3.1-2/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/usage-corejs3-versions-strings-minor-3.1-2/stdout.txt index 911a191046..21cad6200e 100644 --- a/packages/babel-preset-env/test/fixtures/debug/usage-corejs3-versions-strings-minor-3.1-2/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/usage-corejs3-versions-strings-minor-3.1-2/stdout.txt @@ -10,6 +10,17 @@ Using targets: Using modules transform: auto Using plugins: + proposal-nullish-coalescing-operator { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-optional-chaining { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-json-strings { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-optional-catch-binding { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-async-generator-functions { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-object-rest-spread { "chrome":"52", "firefox":"50", "ie":"11" } + transform-dotall-regex { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-unicode-property-regex { "chrome":"52", "firefox":"50", "ie":"11" } + transform-named-capturing-groups-regex { "chrome":"52", "firefox":"50", "ie":"11" } + transform-async-to-generator { "chrome":"52", "firefox":"50", "ie":"11" } + transform-exponentiation-operator { "firefox":"50", "ie":"11" } transform-template-literals { "ie":"11" } transform-literals { "firefox":"50", "ie":"11" } transform-function-name { "firefox":"50", "ie":"11" } @@ -21,7 +32,6 @@ Using plugins: transform-computed-properties { "ie":"11" } transform-for-of { "firefox":"50", "ie":"11" } transform-sticky-regex { "ie":"11" } - transform-dotall-regex { "chrome":"52", "firefox":"50", "ie":"11" } transform-unicode-regex { "ie":"11" } transform-spread { "ie":"11" } transform-parameters { "firefox":"50", "ie":"11" } @@ -30,16 +40,6 @@ Using plugins: transform-typeof-symbol { "ie":"11" } transform-new-target { "ie":"11" } transform-regenerator { "firefox":"50", "ie":"11" } - transform-exponentiation-operator { "firefox":"50", "ie":"11" } - transform-async-to-generator { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-async-generator-functions { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-object-rest-spread { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-unicode-property-regex { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-json-strings { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-optional-catch-binding { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-optional-chaining { "chrome":"52", "firefox":"50", "ie":"11" } - transform-named-capturing-groups-regex { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-nullish-coalescing-operator { "chrome":"52", "firefox":"50", "ie":"11" } transform-modules-commonjs { "chrome":"52", "firefox":"50", "ie":"11" } proposal-dynamic-import { "chrome":"52", "firefox":"50", "ie":"11" } diff --git a/packages/babel-preset-env/test/fixtures/debug/usage-corejs3-with-import/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/usage-corejs3-with-import/stdout.txt index 45066fccbc..c14d41b62d 100644 --- a/packages/babel-preset-env/test/fixtures/debug/usage-corejs3-with-import/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/usage-corejs3-with-import/stdout.txt @@ -8,15 +8,15 @@ Using targets: Using modules transform: auto Using plugins: - transform-dotall-regex { "chrome":"55" } - proposal-async-generator-functions { "chrome":"55" } - proposal-object-rest-spread { "chrome":"55" } - proposal-unicode-property-regex { "chrome":"55" } + proposal-nullish-coalescing-operator { "chrome":"55" } + proposal-optional-chaining { "chrome":"55" } proposal-json-strings { "chrome":"55" } proposal-optional-catch-binding { "chrome":"55" } - proposal-optional-chaining { "chrome":"55" } + proposal-async-generator-functions { "chrome":"55" } + proposal-object-rest-spread { "chrome":"55" } + transform-dotall-regex { "chrome":"55" } + proposal-unicode-property-regex { "chrome":"55" } transform-named-capturing-groups-regex { "chrome":"55" } - proposal-nullish-coalescing-operator { "chrome":"55" } transform-modules-commonjs { "chrome":"55" } proposal-dynamic-import { "chrome":"55" } diff --git a/packages/babel-preset-env/test/fixtures/debug/usage-no-corejs-1/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/usage-no-corejs-1/stdout.txt index c26bff7708..072009d81b 100644 --- a/packages/babel-preset-env/test/fixtures/debug/usage-no-corejs-1/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/usage-no-corejs-1/stdout.txt @@ -10,6 +10,17 @@ Using targets: Using modules transform: auto Using plugins: + proposal-nullish-coalescing-operator { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-optional-chaining { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-json-strings { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-optional-catch-binding { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-async-generator-functions { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-object-rest-spread { "chrome":"52", "firefox":"50", "ie":"11" } + transform-dotall-regex { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-unicode-property-regex { "chrome":"52", "firefox":"50", "ie":"11" } + transform-named-capturing-groups-regex { "chrome":"52", "firefox":"50", "ie":"11" } + transform-async-to-generator { "chrome":"52", "firefox":"50", "ie":"11" } + transform-exponentiation-operator { "firefox":"50", "ie":"11" } transform-template-literals { "ie":"11" } transform-literals { "firefox":"50", "ie":"11" } transform-function-name { "firefox":"50", "ie":"11" } @@ -21,7 +32,6 @@ Using plugins: transform-computed-properties { "ie":"11" } transform-for-of { "firefox":"50", "ie":"11" } transform-sticky-regex { "ie":"11" } - transform-dotall-regex { "chrome":"52", "firefox":"50", "ie":"11" } transform-unicode-regex { "ie":"11" } transform-spread { "ie":"11" } transform-parameters { "firefox":"50", "ie":"11" } @@ -30,16 +40,6 @@ Using plugins: transform-typeof-symbol { "ie":"11" } transform-new-target { "ie":"11" } transform-regenerator { "firefox":"50", "ie":"11" } - transform-exponentiation-operator { "firefox":"50", "ie":"11" } - transform-async-to-generator { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-async-generator-functions { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-object-rest-spread { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-unicode-property-regex { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-json-strings { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-optional-catch-binding { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-optional-chaining { "chrome":"52", "firefox":"50", "ie":"11" } - transform-named-capturing-groups-regex { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-nullish-coalescing-operator { "chrome":"52", "firefox":"50", "ie":"11" } transform-modules-commonjs { "chrome":"52", "firefox":"50", "ie":"11" } proposal-dynamic-import { "chrome":"52", "firefox":"50", "ie":"11" } diff --git a/packages/babel-preset-env/test/fixtures/debug/usage-no-corejs-2/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/usage-no-corejs-2/stdout.txt index 0f3308e0a9..cb216e1dcb 100644 --- a/packages/babel-preset-env/test/fixtures/debug/usage-no-corejs-2/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/usage-no-corejs-2/stdout.txt @@ -10,6 +10,17 @@ Using targets: Using modules transform: auto Using plugins: + proposal-nullish-coalescing-operator { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-optional-chaining { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-json-strings { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-optional-catch-binding { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-async-generator-functions { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-object-rest-spread { "chrome":"52", "firefox":"50", "ie":"11" } + transform-dotall-regex { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-unicode-property-regex { "chrome":"52", "firefox":"50", "ie":"11" } + transform-named-capturing-groups-regex { "chrome":"52", "firefox":"50", "ie":"11" } + transform-async-to-generator { "chrome":"52", "firefox":"50", "ie":"11" } + transform-exponentiation-operator { "firefox":"50", "ie":"11" } transform-template-literals { "ie":"11" } transform-literals { "firefox":"50", "ie":"11" } transform-function-name { "firefox":"50", "ie":"11" } @@ -21,7 +32,6 @@ Using plugins: transform-computed-properties { "ie":"11" } transform-for-of { "firefox":"50", "ie":"11" } transform-sticky-regex { "ie":"11" } - transform-dotall-regex { "chrome":"52", "firefox":"50", "ie":"11" } transform-unicode-regex { "ie":"11" } transform-spread { "ie":"11" } transform-parameters { "firefox":"50", "ie":"11" } @@ -30,16 +40,6 @@ Using plugins: transform-typeof-symbol { "ie":"11" } transform-new-target { "ie":"11" } transform-regenerator { "firefox":"50", "ie":"11" } - transform-exponentiation-operator { "firefox":"50", "ie":"11" } - transform-async-to-generator { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-async-generator-functions { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-object-rest-spread { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-unicode-property-regex { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-json-strings { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-optional-catch-binding { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-optional-chaining { "chrome":"52", "firefox":"50", "ie":"11" } - transform-named-capturing-groups-regex { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-nullish-coalescing-operator { "chrome":"52", "firefox":"50", "ie":"11" } transform-modules-commonjs { "chrome":"52", "firefox":"50", "ie":"11" } proposal-dynamic-import { "chrome":"52", "firefox":"50", "ie":"11" } diff --git a/packages/babel-preset-env/test/fixtures/debug/usage-no-corejs-none-1/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/usage-no-corejs-none-1/stdout.txt index a6ab295bf6..c4e833814a 100644 --- a/packages/babel-preset-env/test/fixtures/debug/usage-no-corejs-none-1/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/usage-no-corejs-none-1/stdout.txt @@ -10,6 +10,17 @@ Using targets: Using modules transform: auto Using plugins: + proposal-nullish-coalescing-operator { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-optional-chaining { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-json-strings { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-optional-catch-binding { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-async-generator-functions { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-object-rest-spread { "chrome":"52", "firefox":"50", "ie":"11" } + transform-dotall-regex { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-unicode-property-regex { "chrome":"52", "firefox":"50", "ie":"11" } + transform-named-capturing-groups-regex { "chrome":"52", "firefox":"50", "ie":"11" } + transform-async-to-generator { "chrome":"52", "firefox":"50", "ie":"11" } + transform-exponentiation-operator { "firefox":"50", "ie":"11" } transform-template-literals { "ie":"11" } transform-literals { "firefox":"50", "ie":"11" } transform-function-name { "firefox":"50", "ie":"11" } @@ -21,7 +32,6 @@ Using plugins: transform-computed-properties { "ie":"11" } transform-for-of { "firefox":"50", "ie":"11" } transform-sticky-regex { "ie":"11" } - transform-dotall-regex { "chrome":"52", "firefox":"50", "ie":"11" } transform-unicode-regex { "ie":"11" } transform-spread { "ie":"11" } transform-parameters { "firefox":"50", "ie":"11" } @@ -30,16 +40,6 @@ Using plugins: transform-typeof-symbol { "ie":"11" } transform-new-target { "ie":"11" } transform-regenerator { "firefox":"50", "ie":"11" } - transform-exponentiation-operator { "firefox":"50", "ie":"11" } - transform-async-to-generator { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-async-generator-functions { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-object-rest-spread { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-unicode-property-regex { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-json-strings { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-optional-catch-binding { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-optional-chaining { "chrome":"52", "firefox":"50", "ie":"11" } - transform-named-capturing-groups-regex { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-nullish-coalescing-operator { "chrome":"52", "firefox":"50", "ie":"11" } transform-modules-commonjs { "chrome":"52", "firefox":"50", "ie":"11" } proposal-dynamic-import { "chrome":"52", "firefox":"50", "ie":"11" } diff --git a/packages/babel-preset-env/test/fixtures/debug/usage-no-corejs-none-2/stdout.txt b/packages/babel-preset-env/test/fixtures/debug/usage-no-corejs-none-2/stdout.txt index 09bb267f45..f60aae55dc 100644 --- a/packages/babel-preset-env/test/fixtures/debug/usage-no-corejs-none-2/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/debug/usage-no-corejs-none-2/stdout.txt @@ -10,6 +10,17 @@ Using targets: Using modules transform: auto Using plugins: + proposal-nullish-coalescing-operator { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-optional-chaining { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-json-strings { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-optional-catch-binding { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-async-generator-functions { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-object-rest-spread { "chrome":"52", "firefox":"50", "ie":"11" } + transform-dotall-regex { "chrome":"52", "firefox":"50", "ie":"11" } + proposal-unicode-property-regex { "chrome":"52", "firefox":"50", "ie":"11" } + transform-named-capturing-groups-regex { "chrome":"52", "firefox":"50", "ie":"11" } + transform-async-to-generator { "chrome":"52", "firefox":"50", "ie":"11" } + transform-exponentiation-operator { "firefox":"50", "ie":"11" } transform-template-literals { "ie":"11" } transform-literals { "firefox":"50", "ie":"11" } transform-function-name { "firefox":"50", "ie":"11" } @@ -21,7 +32,6 @@ Using plugins: transform-computed-properties { "ie":"11" } transform-for-of { "firefox":"50", "ie":"11" } transform-sticky-regex { "ie":"11" } - transform-dotall-regex { "chrome":"52", "firefox":"50", "ie":"11" } transform-unicode-regex { "ie":"11" } transform-spread { "ie":"11" } transform-parameters { "firefox":"50", "ie":"11" } @@ -30,16 +40,6 @@ Using plugins: transform-typeof-symbol { "ie":"11" } transform-new-target { "ie":"11" } transform-regenerator { "firefox":"50", "ie":"11" } - transform-exponentiation-operator { "firefox":"50", "ie":"11" } - transform-async-to-generator { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-async-generator-functions { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-object-rest-spread { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-unicode-property-regex { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-json-strings { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-optional-catch-binding { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-optional-chaining { "chrome":"52", "firefox":"50", "ie":"11" } - transform-named-capturing-groups-regex { "chrome":"52", "firefox":"50", "ie":"11" } - proposal-nullish-coalescing-operator { "chrome":"52", "firefox":"50", "ie":"11" } transform-modules-commonjs { "chrome":"52", "firefox":"50", "ie":"11" } proposal-dynamic-import { "chrome":"52", "firefox":"50", "ie":"11" } diff --git a/packages/babel-preset-env/test/fixtures/preset-options/safari-10_3-block-scoped/stdout.txt b/packages/babel-preset-env/test/fixtures/preset-options/safari-10_3-block-scoped/stdout.txt index 3d7c5bed33..6425e78aaa 100644 --- a/packages/babel-preset-env/test/fixtures/preset-options/safari-10_3-block-scoped/stdout.txt +++ b/packages/babel-preset-env/test/fixtures/preset-options/safari-10_3-block-scoped/stdout.txt @@ -8,20 +8,20 @@ Using targets: Using modules transform: auto Using plugins: - transform-template-literals { "safari":"10" } - transform-dotall-regex { "safari":"10" } - transform-unicode-regex { "safari":"10" } - transform-block-scoping { "safari":"10" } - transform-exponentiation-operator { "safari":"10" } - transform-async-to-generator { "safari":"10" } - proposal-async-generator-functions { "safari":"10" } - proposal-object-rest-spread { "safari":"10" } - proposal-unicode-property-regex { "safari":"10" } + proposal-nullish-coalescing-operator { "safari":"10" } + proposal-optional-chaining { "safari":"10" } proposal-json-strings { "safari":"10" } proposal-optional-catch-binding { "safari":"10" } - proposal-optional-chaining { "safari":"10" } + proposal-async-generator-functions { "safari":"10" } + proposal-object-rest-spread { "safari":"10" } + transform-dotall-regex { "safari":"10" } + proposal-unicode-property-regex { "safari":"10" } transform-named-capturing-groups-regex { "safari":"10" } - proposal-nullish-coalescing-operator { "safari":"10" } + transform-async-to-generator { "safari":"10" } + transform-exponentiation-operator { "safari":"10" } + transform-template-literals { "safari":"10" } + transform-unicode-regex { "safari":"10" } + transform-block-scoping { "safari":"10" } transform-modules-commonjs { "safari":"10" } proposal-dynamic-import { "safari":"10" }