Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add class proposals to shipped proposals (#11451)
- Loading branch information
Showing
36 changed files
with
158 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
packages/babel-preset-env/test/fixtures/debug/shippedProposals-chrome-80/input.mjs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
import '@babel/polyfill'; |
16 changes: 16 additions & 0 deletions
16
packages/babel-preset-env/test/fixtures/debug/shippedProposals-chrome-80/options.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"validateLogs": true, | ||
"ignoreOutput": true, | ||
"presets": [ | ||
[ | ||
"env", | ||
{ | ||
"debug": true, | ||
"targets": { | ||
"browsers": "chrome 80" | ||
}, | ||
"shippedProposals": true | ||
} | ||
] | ||
] | ||
} |
23 changes: 23 additions & 0 deletions
23
packages/babel-preset-env/test/fixtures/debug/shippedProposals-chrome-80/stdout.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
@babel/preset-env: `DEBUG` option | ||
|
||
Using targets: | ||
{ | ||
"chrome": "80" | ||
} | ||
|
||
Using modules transform: auto | ||
|
||
Using plugins: | ||
syntax-numeric-separator { "chrome":"80" } | ||
syntax-class-properties { "chrome":"80" } | ||
proposal-private-methods { "chrome":"80" } | ||
syntax-nullish-coalescing-operator { "chrome":"80" } | ||
syntax-optional-chaining { "chrome":"80" } | ||
syntax-json-strings { "chrome":"80" } | ||
syntax-optional-catch-binding { "chrome":"80" } | ||
syntax-async-generators { "chrome":"80" } | ||
syntax-object-rest-spread { "chrome":"80" } | ||
transform-modules-commonjs { "chrome":"80" } | ||
proposal-dynamic-import { "chrome":"80" } | ||
|
||
Using polyfills: No polyfills were added, since the `useBuiltIns` option was not set. |
1 change: 1 addition & 0 deletions
1
packages/babel-preset-env/test/fixtures/debug/shippedProposals-chrome-84/input.mjs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
import '@babel/polyfill'; |
16 changes: 16 additions & 0 deletions
16
packages/babel-preset-env/test/fixtures/debug/shippedProposals-chrome-84/options.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"validateLogs": true, | ||
"ignoreOutput": true, | ||
"presets": [ | ||
[ | ||
"env", | ||
{ | ||
"debug": true, | ||
"targets": { | ||
"browsers": "chrome 84" | ||
}, | ||
"shippedProposals": true | ||
} | ||
] | ||
] | ||
} |
22 changes: 22 additions & 0 deletions
22
packages/babel-preset-env/test/fixtures/debug/shippedProposals-chrome-84/stdout.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
@babel/preset-env: `DEBUG` option | ||
|
||
Using targets: | ||
{ | ||
"chrome": "84" | ||
} | ||
|
||
Using modules transform: auto | ||
|
||
Using plugins: | ||
syntax-numeric-separator { "chrome":"84" } | ||
syntax-class-properties { "chrome":"84" } | ||
syntax-nullish-coalescing-operator { "chrome":"84" } | ||
syntax-optional-chaining { "chrome":"84" } | ||
syntax-json-strings { "chrome":"84" } | ||
syntax-optional-catch-binding { "chrome":"84" } | ||
syntax-async-generators { "chrome":"84" } | ||
syntax-object-rest-spread { "chrome":"84" } | ||
transform-modules-commonjs { "chrome":"84" } | ||
proposal-dynamic-import { "chrome":"84" } | ||
|
||
Using polyfills: No polyfills were added, since the `useBuiltIns` option was not set. |
Oops, something went wrong.