Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
043f48d
commit 440da56
Showing
7 changed files
with
94 additions
and
0 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
...ages/babel-preset-env/test/fixtures/corejs2/usage-browserslist-config-ignore/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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
{ | ||
"validateLogs": true, | ||
"presets": [ | ||
[ | ||
"../../../../lib", | ||
|
33 changes: 33 additions & 0 deletions
33
packages/babel-preset-env/test/fixtures/corejs2/usage-browserslist-config-ignore/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,33 @@ | ||
@babel/preset-env: `DEBUG` option | ||
|
||
Using targets: | ||
{ | ||
"chrome": "61", | ||
"edge": "16", | ||
"firefox": "60", | ||
"ios": "10.3", | ||
"opera": "48", | ||
"safari": "10.1" | ||
} | ||
|
||
Using modules transform: false | ||
|
||
Using plugins: | ||
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" } | ||
transform-named-capturing-groups-regex { "chrome":"61", "edge":"16", "firefox":"60", "ios":"10.3", "opera":"48", "safari":"10.1" } | ||
|
||
Using polyfills with `usage` option: | ||
|
||
[<CWD>/packages/babel-preset-env/test/fixtures/corejs2/usage-browserslist-config-ignore/input.mjs] Added following core-js polyfill: | ||
web.dom.iterable { "chrome":"61", "edge":"16", "firefox":"60", "ios":"10.3", "opera":"48", "safari":"10.1" } |
Empty file.
1 change: 1 addition & 0 deletions
1
...ages/babel-preset-env/test/fixtures/corejs3/usage-browserslist-config-ignore/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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
{ | ||
"validateLogs": true, | ||
"presets": [ | ||
[ | ||
"../../../../lib", | ||
|
34 changes: 34 additions & 0 deletions
34
packages/babel-preset-env/test/fixtures/corejs3/usage-browserslist-config-ignore/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,34 @@ | ||
@babel/preset-env: `DEBUG` option | ||
|
||
Using targets: | ||
{ | ||
"chrome": "61", | ||
"edge": "16", | ||
"firefox": "60", | ||
"ios": "10.3", | ||
"opera": "48", | ||
"safari": "10.1" | ||
} | ||
|
||
Using modules transform: false | ||
|
||
Using plugins: | ||
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" } | ||
transform-named-capturing-groups-regex { "chrome":"61", "edge":"16", "firefox":"60", "ios":"10.3", "opera":"48", "safari":"10.1" } | ||
|
||
Using polyfills with `usage` option: | ||
|
||
[<CWD>/packages/babel-preset-env/test/fixtures/corejs3/usage-browserslist-config-ignore/input.mjs] Added following core-js polyfills: | ||
es.array.iterator { "chrome":"61", "opera":"48" } | ||
web.dom-collections.iterator { "chrome":"61", "edge":"16", "ios":"10.3", "opera":"48", "safari":"10.1" } |
1 change: 1 addition & 0 deletions
1
packages/babel-preset-env/test/fixtures/preset-options/safari-10_3-block-scoped/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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
{ | ||
"validateLogs": true, | ||
"presets": [ | ||
[ | ||
"../../../../lib", | ||
|
24 changes: 24 additions & 0 deletions
24
packages/babel-preset-env/test/fixtures/preset-options/safari-10_3-block-scoped/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,24 @@ | ||
@babel/preset-env: `DEBUG` option | ||
|
||
Using targets: | ||
{ | ||
"safari": "10" | ||
} | ||
|
||
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-json-strings { "safari":"10" } | ||
proposal-optional-catch-binding { "safari":"10" } | ||
transform-named-capturing-groups-regex { "safari":"10" } | ||
|
||
Using polyfills: No polyfills were added, since the `useBuiltIns` option was not set. |