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
343b269
commit db8cf71
Showing
22 changed files
with
43 additions
and
69 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
2 changes: 1 addition & 1 deletion
2
.../es2022/class-properties/arguments-in-nested-class-decorator-call-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": [["decorators", { "decoratorsBeforeExport": false }]] | ||
"plugins": ["decorators"] | ||
} |
2 changes: 1 addition & 1 deletion
2
packages/babel-parser/test/fixtures/experimental/decorators/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,3 +1,3 @@ | ||
{ | ||
"plugins": [["decorators", { "decoratorsBeforeExport": false }]] | ||
"plugins": ["decorators"] | ||
} |
2 changes: 1 addition & 1 deletion
2
packages/babel-parser/test/fixtures/experimental/decorators/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,3 +1,3 @@ | ||
{ | ||
"plugins": [["decorators", { "decoratorsBeforeExport": false }]] | ||
"plugins": ["decorators"] | ||
} |
Empty file.
4 changes: 0 additions & 4 deletions
4
...parser/test/fixtures/experimental/decorators/decoratorsBeforeExport-required/options.json
This file was deleted.
Oops, something went wrong.
9 changes: 1 addition & 8 deletions
9
packages/babel-parser/test/fixtures/experimental/decorators/no-object-methods/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,10 +1,3 @@ | ||
{ | ||
"plugins": [ | ||
[ | ||
"decorators", | ||
{ | ||
"decoratorsBeforeExport": false | ||
} | ||
] | ||
] | ||
"plugins": ["decorators"] | ||
} |
11 changes: 2 additions & 9 deletions
11
packages/babel-parser/test/fixtures/experimental/decorators/no-semi/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,11 +1,4 @@ | ||
{ | ||
"plugins": [ | ||
[ | ||
"decorators", | ||
{ | ||
"decoratorsBeforeExport": false | ||
} | ||
] | ||
], | ||
"plugins": ["decorators"], | ||
"throws": "Decorators must not be followed by a semicolon. (2:5)" | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
packages/babel-parser/test/fixtures/experimental/decorators/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", { "decoratorsBeforeExport": false }]] | ||
"plugins": ["decorators"] | ||
} |
2 changes: 1 addition & 1 deletion
2
...ixtures/experimental/decorators/parenthesized-createParenthesizedExpressions/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": [["decorators", { "decoratorsBeforeExport": false }]], | ||
"plugins": ["decorators"], | ||
"createParenthesizedExpressions": true | ||
} |
2 changes: 1 addition & 1 deletion
2
packages/babel-parser/test/fixtures/experimental/decorators/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,3 +1,3 @@ | ||
{ | ||
"plugins": [["decorators", { "decoratorsBeforeExport": false }]] | ||
"plugins": ["decorators"] | ||
} |
11 changes: 2 additions & 9 deletions
11
packages/babel-parser/test/fixtures/experimental/decorators/restricted-1/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,11 +1,4 @@ | ||
{ | ||
"plugins": [ | ||
[ | ||
"decorators", | ||
{ | ||
"decoratorsBeforeExport": false | ||
} | ||
] | ||
], | ||
"plugins": ["decorators"], | ||
"throws": "Leading decorators must be attached to a class declaration. (1:6)" | ||
} | ||
} |
11 changes: 2 additions & 9 deletions
11
packages/babel-parser/test/fixtures/experimental/decorators/restricted-2/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,11 +1,4 @@ | ||
{ | ||
"plugins": [ | ||
[ | ||
"decorators", | ||
{ | ||
"decoratorsBeforeExport": false | ||
} | ||
] | ||
], | ||
"plugins": ["decorators"], | ||
"throws": "Leading decorators must be attached to a class declaration. (1:6)" | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
...peline-operator/hack-double-at-proposal-class-decorator-with-bare-identifier/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 @@ | ||
{ | ||
"plugins": [ | ||
["pipelineOperator", { "proposal": "hack", "topicToken": "@@" }], | ||
["decorators", { "decoratorsBeforeExport": false }] | ||
"decorators" | ||
] | ||
} |
2 changes: 1 addition & 1 deletion
2
...erator/hack-double-at-proposal-class-decorator-with-parenthesized-identifier/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 @@ | ||
{ | ||
"plugins": [ | ||
["pipelineOperator", { "proposal": "hack", "topicToken": "@@" }], | ||
["decorators", { "decoratorsBeforeExport": false }] | ||
"decorators" | ||
] | ||
} |
2 changes: 1 addition & 1 deletion
2
...ne-operator/hack-double-at-proposal-class-decorator-with-parenthesized-topic/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 @@ | ||
{ | ||
"plugins": [ | ||
["pipelineOperator", { "proposal": "hack", "topicToken": "@@" }], | ||
["decorators", { "decoratorsBeforeExport": false }] | ||
"decorators" | ||
] | ||
} |
2 changes: 1 addition & 1 deletion
2
...ine-operator/hack-double-caret-proposal-class-decorator-with-bare-identifier/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 @@ | ||
{ | ||
"plugins": [ | ||
["pipelineOperator", { "proposal": "hack", "topicToken": "^^" }], | ||
["decorators", { "decoratorsBeforeExport": false }] | ||
"decorators" | ||
] | ||
} |
2 changes: 1 addition & 1 deletion
2
...tor/hack-double-caret-proposal-class-decorator-with-parenthesized-identifier/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 @@ | ||
{ | ||
"plugins": [ | ||
["pipelineOperator", { "proposal": "hack", "topicToken": "^^" }], | ||
["decorators", { "decoratorsBeforeExport": false }] | ||
"decorators" | ||
] | ||
} |
2 changes: 1 addition & 1 deletion
2
...operator/hack-double-caret-proposal-class-decorator-with-parenthesized-topic/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 @@ | ||
{ | ||
"plugins": [ | ||
["pipelineOperator", { "proposal": "hack", "topicToken": "^^" }], | ||
["decorators", { "decoratorsBeforeExport": false }] | ||
"decorators" | ||
] | ||
} |
2 changes: 1 addition & 1 deletion
2
...es/babel-parser/test/fixtures/flow/class-properties/declare-after-decorators/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 @@ | ||
{ | ||
"sourceType": "module", | ||
"plugins": ["flow", ["decorators", { "decoratorsBeforeExport": false }]] | ||
"plugins": ["flow", "decorators"] | ||
} |
2 changes: 1 addition & 1 deletion
2
...s/babel-parser/test/fixtures/flow/class-properties/declare-before-decorators/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 @@ | ||
{ | ||
"sourceType": "module", | ||
"plugins": ["flow", ["decorators", { "decoratorsBeforeExport": false }]], | ||
"plugins": ["flow", "decorators"], | ||
"throws": "Unexpected token (2:10)" | ||
} |