* Install babel/parser 7.12
* Add tests for babel/babel#12161
* Add test for babel/babel#12076
* Add test for babel/babel#12085
* Add test for babel/babel#12108
* Add test for babel/babel#12120
* Add test for babel/babel#12054
* Add test for babel/babel#12061
* Add test babel/babel#12093
* Add test for babel/babel#12065
* Add test for babel/babel#12111
* Add test for babel/babel#12072
* Switch syntax-module-attributes to syntax-import-assertion
* Support "String import/export specifier"
* Remove tests for module-attributes
* Add changelog
* Update to 7.12.3
* Fix by linter
* Fix by spellchecker
* Add tests for module attributes to errors
* Add error test for module string name with import
* Remove TSTypeCastExpression
* Add tests for funny import-assertions
* Update snapshots|
* Add more tests
* Improve formatting for AssignmentExpression with ClassExpression that has long superClass
Fix by prettier
* Add changelog
* Remove unnecesary concat call
* Mention abount Google Closure Library in changelog
* Quote and unquote number keys
* Add changelog entry
* Add tests for escapes
* Fix idempotency
* Only run flow-repo/ tests with flow
271 jsfmt.spec.js in flow-repo use only the flow parser.
18 use flow and babel.
Now, all of them use only flow.
* Don’t unquote negative numbers
* Don’t quote/unquote numbers in TypeScript
* Quote BigInt
* Fix AST check
* Fix condition
* Fix BigInt to string
* Fix ESLint not recognizing BigInt
* Only quote/unquote “simple” numbers
* No need to clean BigIntLiteral anymore
* Add tests for 1. and .1
* Fix 1. and .1
* Remove unnecessary babel-ts from tests
* Only unquote numbers for babel
* Update changelog
* Modify to align binaryish expression with trailing comment
* Add tests
* Add comment
* Add test
* Add changelog
* Fix by lint
* Modify to move transformation to printBinaryishExpressions
* Remove unnecessary new line
* Fix hasTrailingCommentInBinaryish
* Add shouldReturnParts option to printComments
* Add tests from review
* Fix by lint
* Extract and use normalizeParts
* Group CallExpression when parent node is binaryish
* Fix by lint
* Remove unnecessary change
* Wrap the doc of most left node with group
* Add tests
* Update pr-8476.md
Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>
* fix inconsistent parsing of styled-components' css
* fix for multiple placeholders in one line
* add test for multiple placeholders in one line
* add changelog for the pr
* fix multi part placeholders
* make placeholderMatch regex stricter
* add tests for all fixed cases
* update changelog
* fix changelog link
* do not edit the original doc.parts
* fix changelog output
* simplify logic
* remove unnecessary `tokens` array
* simplify logic even more
* changes according to review
* finalize
* update snapshots after merge
Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>
* JS: block comments with LogicalExpression
* Add changelog_unreleased for #7787
* Add handleBinaryExpression in comments.js
* Refactor comments.js to use isBlockComment
* Update pr-7787.md
* Update pr-7787.md
* test: regenerate snapshot for comments/logical-expression
* test: logical-expression.js as unstable tests
* test: add comments/binary-expressions-trailing-space.js
* fix: make two functions one 'handleEndOfLineBlockComments'
* Rename handleEndOfLineBlockComments to handleBinaryExpression
* Refactor handleBinaryExpression to remove unneed condition & params
* Divide and rename test files for handleBinaryExpression()
Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>
* Fix arrow regression
* Fix resolvePluginConflict
* Update changelog
* Fix condition
* Edit changelog: add link to Babel blog, change order (to be as in the blog)
Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>
* Modify to support smart-pipeline in printer
* Add tests
* add a changelog entry
* change minimal to smart
* fix parens issues
* Support fsharp-pipeline
* Fix needs-parens
* Try to fix ci problem
* Update changelog
* Add more tests
Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>