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
c780e5a
commit 4264838
Showing
56 changed files
with
44 additions
and
297 deletions.
There are no files selected for viewing
3 changes: 0 additions & 3 deletions
3
packages/babel-parser/test/fixtures/es2022/class-private-names-duplicated/options.json
This file was deleted.
Oops, something went wrong.
7 changes: 1 addition & 6 deletions
7
packages/babel-parser/test/fixtures/estree/class-private-method/basic/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,8 +1,3 @@ | ||
{ | ||
"plugins": [ | ||
"flow", | ||
"jsx", | ||
["estree", { "classFeatures": true }], | ||
"classPrivateMethods" | ||
] | ||
"plugins": ["flow", "jsx", ["estree", { "classFeatures": true }]] | ||
} |
2 changes: 1 addition & 1 deletion
2
packages/babel-parser/test/fixtures/estree/class-private-method/not-enabled/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 @@ | ||
{ | ||
"plugins": ["flow", "jsx", "estree", "classPrivateMethods"] | ||
"plugins": ["flow", "jsx", "estree"] | ||
} |
2 changes: 1 addition & 1 deletion
2
packages/babel-parser/test/fixtures/estree/class-private-property/basic/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 @@ | ||
{ | ||
"plugins": [["estree", { "classFeatures": true }], "classPrivateProperties"] | ||
"plugins": [["estree", { "classFeatures": true }]] | ||
} |
6 changes: 1 addition & 5 deletions
6
packages/babel-parser/test/fixtures/estree/class-private-property/flow/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,7 +1,3 @@ | ||
{ | ||
"plugins": [ | ||
"flow", | ||
["estree", { "classFeatures": true }], | ||
"classPrivateProperties" | ||
] | ||
"plugins": ["flow", ["estree", { "classFeatures": true }]] | ||
} |
2 changes: 1 addition & 1 deletion
2
packages/babel-parser/test/fixtures/estree/class-private-property/not-enabled/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 @@ | ||
{ | ||
"plugins": [["estree", { "classFeatures": true }], "classPrivateProperties"] | ||
"plugins": [["estree", { "classFeatures": true }]] | ||
} |
6 changes: 1 addition & 5 deletions
6
packages/babel-parser/test/fixtures/estree/class-private-property/typescript/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,7 +1,3 @@ | ||
{ | ||
"plugins": [ | ||
"typescript", | ||
["estree", { "classFeatures": true }], | ||
"classPrivateProperties" | ||
] | ||
"plugins": ["typescript", ["estree", { "classFeatures": true }]] | ||
} |
2 changes: 1 addition & 1 deletion
2
packages/babel-parser/test/fixtures/estree/class-property/basic/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 @@ | ||
{ | ||
"plugins": [["estree", { "classFeatures": true }], "classProperties"] | ||
"plugins": [["estree", { "classFeatures": true }]] | ||
} |
2 changes: 1 addition & 1 deletion
2
packages/babel-parser/test/fixtures/estree/class-property/not-enabled/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 @@ | ||
{ | ||
"plugins": ["estree", "classProperties"] | ||
"plugins": ["estree"] | ||
} |
2 changes: 1 addition & 1 deletion
2
packages/babel-parser/test/fixtures/estree/private-in/basic/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 @@ | ||
{ | ||
"plugins": ["estree", "classPrivateProperties", "privateIn"] | ||
"plugins": ["estree", "privateIn"] | ||
} |
5 changes: 1 addition & 4 deletions
5
packages/babel-parser/test/fixtures/experimental/_no-plugin/private-in/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,3 @@ | ||
{ | ||
"plugins": [ | ||
"classPrivateProperties" | ||
], | ||
"throws": "This experimental syntax requires enabling the parser plugin: 'privateIn' (5:14)" | ||
} | ||
} |
6 changes: 1 addition & 5 deletions
6
packages/babel-parser/test/fixtures/experimental/decorators-2/class-property/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,7 +1,3 @@ | ||
{ | ||
"plugins": [ | ||
"classProperties", | ||
"classPrivateProperties", | ||
["decorators", { "decoratorsBeforeExport": false }] | ||
] | ||
"plugins": [["decorators", { "decoratorsBeforeExport": false }]] | ||
} |
5 changes: 1 addition & 4 deletions
5
packages/babel-parser/test/fixtures/experimental/decorators-2/compued-property/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,3 @@ | ||
{ | ||
"plugins": [ | ||
["decorators", { "decoratorsBeforeExport": false }], | ||
"classProperties" | ||
] | ||
"plugins": [["decorators", { "decoratorsBeforeExport": false }]] | ||
} |
6 changes: 1 addition & 5 deletions
6
packages/babel-parser/test/fixtures/experimental/decorators-2/private-property/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,7 +1,3 @@ | ||
{ | ||
"plugins": [ | ||
"classProperties", | ||
"classPrivateProperties", | ||
["decorators", { "decoratorsBeforeExport": false }] | ||
] | ||
"plugins": [["decorators", { "decoratorsBeforeExport": false }]] | ||
} |
5 changes: 1 addition & 4 deletions
5
packages/babel-parser/test/fixtures/experimental/decorators-2/static-property/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,3 @@ | ||
{ | ||
"plugins": [ | ||
"classProperties", | ||
["decorators", { "decoratorsBeforeExport": false }] | ||
] | ||
"plugins": [["decorators", { "decoratorsBeforeExport": false }]] | ||
} |
2 changes: 1 addition & 1 deletion
2
...el-parser/test/fixtures/experimental/decorators/computed-member-expr-on-prop/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 @@ | ||
{ | ||
"plugins": ["decorators-legacy", "classProperties"] | ||
"plugins": ["decorators-legacy"] | ||
} |
9 changes: 2 additions & 7 deletions
9
...rser/test/fixtures/experimental/module-blocks/invalid-class-in-module-blocks/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,9 +1,4 @@ | ||
{ | ||
"sourceType": "module", | ||
"plugins": [ | ||
"moduleBlocks", | ||
"classPrivateProperties", | ||
"classPrivateMethods", | ||
"classProperties" | ||
] | ||
} | ||
"plugins": ["moduleBlocks"] | ||
} |
7 changes: 1 addition & 6 deletions
7
...parser/test/fixtures/experimental/module-blocks/valid-class-in-module-blocks/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,9 +1,4 @@ | ||
{ | ||
"sourceType": "module", | ||
"plugins": [ | ||
"moduleBlocks", | ||
"classPrivateProperties", | ||
"classPrivateMethods", | ||
"classProperties" | ||
] | ||
"plugins": ["moduleBlocks"] | ||
} |
2 changes: 1 addition & 1 deletion
2
...-parser/test/fixtures/experimental/private-in/private-binary-expression-left/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 @@ | ||
{ | ||
"plugins": ["classPrivateProperties", "privateIn"] | ||
"plugins": ["privateIn"] | ||
} |
2 changes: 1 addition & 1 deletion
2
...parser/test/fixtures/experimental/private-in/private-binary-expression-right/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 @@ | ||
{ | ||
"plugins": ["classPrivateProperties", "privateIn"] | ||
"plugins": ["privateIn"] | ||
} |
2 changes: 1 addition & 1 deletion
2
packages/babel-parser/test/fixtures/experimental/private-in/private-expression/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 @@ | ||
{ | ||
"plugins": ["classPrivateProperties", "privateIn"] | ||
"plugins": ["privateIn"] | ||
} |
2 changes: 1 addition & 1 deletion
2
...babel-parser/test/fixtures/experimental/private-in/private-in-class-heritage/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 @@ | ||
{ | ||
"plugins": ["classPrivateProperties", "privateIn"] | ||
"plugins": ["privateIn"] | ||
} |
2 changes: 1 addition & 1 deletion
2
...bel-parser/test/fixtures/experimental/private-in/private-in-escaped-sequence/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 @@ | ||
{ | ||
"plugins": ["classPrivateProperties", "privateIn"] | ||
"plugins": ["privateIn"] | ||
} |
2 changes: 1 addition & 1 deletion
2
.../babel-parser/test/fixtures/experimental/private-in/private-in-parenthesized/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 @@ | ||
{ | ||
"plugins": ["classPrivateProperties", "privateIn"] | ||
"plugins": ["privateIn"] | ||
} |
2 changes: 1 addition & 1 deletion
2
.../babel-parser/test/fixtures/experimental/private-in/private-in-without-field/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 @@ | ||
{ | ||
"plugins": ["classPrivateProperties", "privateIn"] | ||
"plugins": ["privateIn"] | ||
} |
2 changes: 1 addition & 1 deletion
2
packages/babel-parser/test/fixtures/experimental/private-in/private-in/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 @@ | ||
{ | ||
"plugins": ["classPrivateProperties", "privateIn"] | ||
"plugins": ["privateIn"] | ||
} |
2 changes: 1 addition & 1 deletion
2
...abel-parser/test/fixtures/experimental/top-level-await/inside-class-property/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": ["topLevelAwati", "classProperties"], | ||
"plugins": ["topLevelAwati"], | ||
"sourceType": "module" | ||
} |
5 changes: 1 addition & 4 deletions
5
.../babel-parser/test/fixtures/experimental/top-level-await/inside-property-key/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,7 +1,4 @@ | ||
{ | ||
"plugins": [ | ||
"topLevelAwait", | ||
"classProperties" | ||
], | ||
"plugins": ["topLevelAwait"], | ||
"sourceType": "module" | ||
} |
1 change: 0 additions & 1 deletion
1
packages/babel-parser/test/fixtures/experimental/uncategorised/43/input.js
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
packages/babel-parser/test/fixtures/experimental/uncategorised/43/options.json
This file was deleted.
Oops, something went wrong.
49 changes: 0 additions & 49 deletions
49
packages/babel-parser/test/fixtures/experimental/uncategorised/43/output.json
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
packages/babel-parser/test/fixtures/experimental/uncategorised/44/input.js
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
packages/babel-parser/test/fixtures/experimental/uncategorised/44/options.json
This file was deleted.
Oops, something went wrong.
41 changes: 0 additions & 41 deletions
41
packages/babel-parser/test/fixtures/experimental/uncategorised/44/output.json
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
packages/babel-parser/test/fixtures/experimental/uncategorised/45/input.js
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
packages/babel-parser/test/fixtures/experimental/uncategorised/45/options.json
This file was deleted.
Oops, something went wrong.
41 changes: 0 additions & 41 deletions
41
packages/babel-parser/test/fixtures/experimental/uncategorised/45/output.json
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
packages/babel-parser/test/fixtures/experimental/uncategorised/46/input.js
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
packages/babel-parser/test/fixtures/experimental/uncategorised/46/options.json
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.