Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Run Babel transform tests on old node if possible (#16352)
* infra: run transform tests on old node * add minNodeVersionInputJs option * migrate some tests to minNodeVersionInputJs * rename minNodeVersionInputJs to minNodeVersionTransform
- Loading branch information
Showing
14 changed files
with
54 additions
and
22 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"minNodeVersion": "12.22.0", | ||
"minNodeVersionTransform": "12.22.0", | ||
"externalHelpers": false | ||
} |
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,4 @@ | ||
{ | ||
"minNodeVersion": "12.22.0", | ||
"minNodeVersionTransform": "12.22.0", | ||
"plugins": ["./plugin"] | ||
} |
4 changes: 2 additions & 2 deletions
4
packages/babel-helpers/test/fixtures/misc/arguments-identifier-in-function/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,4 @@ | ||
{ | ||
"plugins": ["./plugin"], | ||
"minNodeVersion": "12.0.0" | ||
"minNodeVersionTransform": "12.22.0", | ||
"plugins": ["./plugin"] | ||
} |
2 changes: 1 addition & 1 deletion
2
...babel-helpers/test/fixtures/misc/declaration-name-conflict-helper-entrypoint/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,4 @@ | ||
{ | ||
"minNodeVersion": "12.22.0", | ||
"minNodeVersionTransform": "12.22.0", | ||
"plugins": ["./plugin"] | ||
} |
2 changes: 1 addition & 1 deletion
2
...lision-in-function-expression/test/fixtures/integration/helper-function-name/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
6 changes: 3 additions & 3 deletions
6
...l-plugin-proposal-pipeline-operator/test/fixtures/smart/pipe-body-with-await/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,6 +1,6 @@ | ||
{ | ||
"minNodeVersion": "8.0.0", | ||
"minNodeVersionTransform": "8.0.0", | ||
"parserOpts": { | ||
"allowReturnOutsideFunction": true | ||
} | ||
"allowReturnOutsideFunction": true | ||
} | ||
} |
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
2 changes: 1 addition & 1 deletion
2
...el-plugin-transform-unicode-sets-regex/test/fixtures/basic/string-properties/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,3 +1,3 @@ | ||
{ | ||
"minNodeVersion": "12.0.0" | ||
"minNodeVersionTransform": "12.0.0" | ||
} |
2 changes: 1 addition & 1 deletion
2
...gin-transform-unicode-sets-regex/test/fixtures/transform-u/string-properties/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,3 +1,3 @@ | ||
{ | ||
"minNodeVersion": "12.0.0" | ||
"minNodeVersionTransform": "12.0.0" | ||
} |
2 changes: 1 addition & 1 deletion
2
...reset-env/test/fixtures/preset-options-babel-7/unicode-sets-regex-chrome-111/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,5 +1,5 @@ | ||
{ | ||
"minNodeVersion": "12.0.0", | ||
"minNodeVersionTransform": "12.0.0", | ||
"presets": [ | ||
[ | ||
"env", | ||
|
2 changes: 1 addition & 1 deletion
2
packages/babel-preset-flow/test/fixtures/flow-parser/hermes/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,5 +1,5 @@ | ||
{ | ||
"BABEL_8_BREAKING": false, | ||
"presets": [["flow", { "experimental_useHermesParser": true }]], | ||
"minNodeVersion": "12.0.0" | ||
"minNodeVersionTransform": "12.0.0" | ||
} |