Brian Ng
9b4b436e1f
Fix parsing of newline between 'async' and 'function' ( #8698 )
2018-09-16 22:09:23 -05:00
Yi Li
b439013cd4
Fix trailingComments for FunctionExpression that is CallExpression arguments ( #8488 )
2018-08-21 12:29:11 -05:00
Andy
8ee24fdfc0
TypeScript: Support type arguments on tagged templates ( #7754 )
...
| Q | A
| ------------------------ | ---
| Fixed Issues? | #7747 (partly)
| Patch: Bug Fix? |
| Major: Breaking Change? |
| Minor: New Feature? | Yes
| Tests Added + Pass? | Yes
| Documentation PR |
| Any Dependency Changes? |
| License | MIT
@JamesHenry This changes the AST format. CC @DanielRosenwasser for review.
Supports parsing type arguments on tagged template calls.
Should wait on Microsoft/TypeScript#23430 to be merged so we're sure we have the final syntax.
2018-07-26 10:44:43 -05:00
dnalborczyk
8b10a44fe1
remove .then from dynamic import parser exception message ( #8355 )
2018-07-21 08:26:17 +02:00
Andy
301db1b921
TypeScript: Support type arguments on JSX opening and self-closing tags ( #7799 )
2018-07-10 17:19:42 -05:00
dnalborczyk
db1385fb82
upgrades eslint v5 (major), babel-eslint, eslint-plugin-flowtype, eslint-plugin-prettier ( #8259 )
...
* upgrade eslint v5 (major), babel-eslint (minor), eslint-plugin-flowtype (minor), eslint-plugin-prettier (patch)
* fix makefile: remove (default) .js file extension, remove non-existing glob pattern
* fix linting errors
* add '*.js' glob back to include babel.config.js for linting
2018-07-05 09:17:01 -05:00
晏兵兵
106907e605
fix: import Parser as type ( #8146 ) [skip ci]
2018-06-12 13:42:10 -04:00
Nicolò Ribaudo
6349118bed
Change decoratorsBeforeExport default to false ( #8113 )
2018-06-04 21:12:01 +02:00
Brian Ng
5895277b32
Bump prettier to v1.13.2
2018-06-03 07:54:39 -05:00
Nicolò Ribaudo
b8dcd6f593
Remove parser support for decorators optional parentheses ( #8037 )
...
* Remove parser support for decorators optional parentheses
* Update fixtures
2018-06-02 13:07:15 +02:00
Erik Arvidsson
2a8ebbe7ae
Remove parenthesizedArgument ( #7981 )
...
The extra field parenthesizedArgument was never set to true. It was
always set to false and the code that read this was incorrectly
checking if extra was present.
Fixes #7957
2018-05-29 13:58:21 -07:00
Nicolò Ribaudo
6eab6f5863
[Babylon] Take the first set of options for plugins ( #7994 )
...
* [Babylon] Take the first set of options for plugins
* Fix test
* Docs
2018-05-24 08:54:32 -07:00
Nicolò Ribaudo
ffe04d9195
[babylon] Refactor mixin plugins handling & validation ( #7999 )
2018-05-23 15:28:05 -04:00
Nicolò Ribaudo
b33823e7f8
Better error message for invalid decorators syntax ( #7986 )
2018-05-23 15:26:35 -04:00
Logan Smyth
2058e0686e
Add support for an InterpreterDirective AST node.
2018-05-21 18:19:58 -07:00
Chaitanya Kumar Kamatham
daf0ca8680
Rename "babylon" to "@babel/parser" ( #7937 ) 🎉
2018-05-19 00:03:05 -04:00