-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: print warning messages to stderr (#12626)
- Loading branch information
Showing
17 changed files
with
52 additions
and
66 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
1 change: 1 addition & 0 deletions
1
packages/babel-preset-env/test/fixtures/debug/corejs-without-usebuiltins/stderr.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 @@ | ||
WARNING (@babel/preset-env): The `corejs` option only has an effect when the `useBuiltIns` option is not `false` |
2 changes: 0 additions & 2 deletions
2
packages/babel-preset-env/test/fixtures/debug/corejs-without-usebuiltins/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
6 changes: 6 additions & 0 deletions
6
packages/babel-preset-env/test/fixtures/debug/entry-corejs2-electron/stderr.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,6 @@ | ||
Warning, the following targets are using a decimal version: | ||
|
||
electron: 0.36 | ||
|
||
We recommend using a string for minor/patch versions to avoid numbers like 6.10 | ||
getting parsed as 6.1, which can lead to unexpected behavior. |
7 changes: 0 additions & 7 deletions
7
packages/babel-preset-env/test/fixtures/debug/entry-corejs2-electron/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
7 changes: 7 additions & 0 deletions
7
packages/babel-preset-env/test/fixtures/debug/entry-corejs2-versions-decimals/stderr.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,7 @@ | ||
Warning, the following targets are using a decimal version: | ||
|
||
electron: 0.36 | ||
node: 6.1 | ||
|
||
We recommend using a string for minor/patch versions to avoid numbers like 6.10 | ||
getting parsed as 6.1, which can lead to unexpected behavior. |
8 changes: 0 additions & 8 deletions
8
packages/babel-preset-env/test/fixtures/debug/entry-corejs2-versions-decimals/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
6 changes: 6 additions & 0 deletions
6
packages/babel-preset-env/test/fixtures/debug/entry-corejs3-electron/stderr.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,6 @@ | ||
Warning, the following targets are using a decimal version: | ||
|
||
electron: 0.36 | ||
|
||
We recommend using a string for minor/patch versions to avoid numbers like 6.10 | ||
getting parsed as 6.1, which can lead to unexpected behavior. |
7 changes: 0 additions & 7 deletions
7
packages/babel-preset-env/test/fixtures/debug/entry-corejs3-electron/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
7 changes: 7 additions & 0 deletions
7
packages/babel-preset-env/test/fixtures/debug/entry-corejs3-versions-decimals/stderr.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,7 @@ | ||
Warning, the following targets are using a decimal version: | ||
|
||
electron: 0.36 | ||
node: 6.1 | ||
|
||
We recommend using a string for minor/patch versions to avoid numbers like 6.10 | ||
getting parsed as 6.1, which can lead to unexpected behavior. |
8 changes: 0 additions & 8 deletions
8
packages/babel-preset-env/test/fixtures/debug/entry-corejs3-versions-decimals/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
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
3 changes: 0 additions & 3 deletions
3
packages/babel-preset-env/test/fixtures/debug/entry-no-corejs-uglify/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
6 changes: 6 additions & 0 deletions
6
packages/babel-preset-env/test/fixtures/debug/plugins-only/stderr.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,6 @@ | ||
Warning, the following targets are using a decimal version: | ||
|
||
node: 7.4 | ||
|
||
We recommend using a string for minor/patch versions to avoid numbers like 6.10 | ||
getting parsed as 6.1, which can lead to unexpected behavior. |
7 changes: 0 additions & 7 deletions
7
packages/babel-preset-env/test/fixtures/debug/plugins-only/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