Henry Zhu
ba671d0a66
update babel-eslint, try out numeric separators ( #5866 )
...
* update babel-eslint, try out numeric separators
* update version
2017-06-17 23:31:47 -04:00
Ryan Gaus
070662e381
Add tests for babel-generator ( #5845 )
...
Added two tests for src/generators/flow.js that check if a value is of
type `empty` or `mixed`.
2017-06-10 09:28:37 -04:00
Brian Ng
cce83a0cea
Fix parens issues with exponentiation in generator ( #5830 )
2017-06-09 11:10:16 -04:00
Daniel Tschinder
36ab72f095
Support declare export statements ( #5589 )
...
* Add definition of declare export statements
* Add more codecoverage
2017-06-08 23:15:54 +02:00
Henry Zhu
123dce5fcd
Hardcode to double quotes, indent to 2 spaces ( #5824 )
2017-06-05 22:14:37 -05:00
Nicolò Ribaudo
b0524427c1
Wrap an arrow function in parentheses if it the test of a conditional expression ( #5820 )
...
* Wrap an arrow function in parentheses if it the test of a conditional expression
Fixes #5819
* Use ConditionalExpresion to check if () => {} should be wrapped
* Move `t.isTaggedTemplateExpression()` from ArrowFunctionExpression to
ConditionalExpresion
* [test] `await (() => {})` needs the parentheses
* [test] (a ? b : c)`` needs the parentheses
2017-06-05 12:39:28 -04:00
Henry Zhu
c5bad22767
v7.0.0-alpha.12
2017-05-31 17:11:39 -04:00
Henry Zhu
ce976bba2a
v7.0.0-alpha.11
2017-05-31 16:43:30 -04:00
Rick Waldron
5393a49349
Support for NumericLiteralSeparator, Stage 1 feature ( #5793 )
...
* Support for NumericLiteralSeparator, Stage 1 feature
commit cd8f6e062876261a334d968f875e477a48927b6d
Author: Sven SAULEAU <xtuc@users.noreply.github.com>
Date: Wed May 31 16:14:15 2017 +0200
docs: update README [skip ci]
commit cf013e3382bf73cdf9224026c1ec0b1a368cfef2
Author: Rick Waldron <waldron.rick@gmail.com>
Date: Tue May 30 14:51:20 2017 -0400
Support for NumericLiteralSeparator, Stage 1 feature
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
* add note about presets [skip ci]
2017-05-31 15:18:48 -04:00
Henry Zhu
9b44cef691
v7.0.0-alpha.10
2017-05-25 15:17:07 -04:00
Brian Ng
3563823870
Print decorators before ExportDeclaration
2017-05-23 10:37:38 -05:00
Brian Ng
9d95b3faae
518-spread-assignable
2017-05-23 09:09:01 -05:00
Brian Ng
f8f2ead450
358-decorator-exported-class
2017-05-23 08:57:03 -05:00
Brian Ng
32c4cdf016
339-spread-obj-pattern-assignable
2017-05-23 08:43:15 -05:00
Brian Ng
889a505ffd
377-async-func-decl
2017-05-22 17:35:01 -05:00
Brian Ng
6c6ee74eb0
351-class-prop
2017-05-22 17:26:15 -05:00
Brian Ng
48ce5bcf1c
499-super-class-prop
2017-05-22 16:59:16 -05:00
Brian Ng
ec596604bc
474-export-default-exotic
2017-05-22 16:54:23 -05:00
Henry Zhu
d365dad341
add some tests
2017-05-22 17:48:20 -04:00
Conrad Buck
8434f89bc0
Add support for object type spread ( #5525 )
...
* Add support for object type spread
* Type spread: remove variance and add stripping test
2017-04-20 11:59:45 -04:00
Henry Zhu
62375cdf12
v7.0.0-alpha.9
2017-04-18 10:41:30 -04:00
Henry Zhu
25ae8c8554
v7.0.0-alpha.8
2017-04-17 15:12:31 -04:00
Erik Simmler
769eddc788
Avoid creating a new line comment when a block comment is preceded by a forward slash ( #5562 )
...
Fixes #5557
2017-04-09 16:36:18 -07:00
Henry Zhu
c732f5e1d0
v7.0.0-alpha.7
2017-04-05 17:13:26 -04:00
Daniel Tschinder
b2ced1d6bd
Update babylon to latest beta ( #5585 )
2017-04-04 22:32:31 +02:00
Alex Rattray
348cc5eeff
Use raw value of JSXText and JSXAttribute ( #5256 )
2017-04-04 15:46:20 +02:00
Henry Zhu
f3ef03abfd
use caret for devDeps
2017-03-27 16:32:13 -04:00
Henry Zhu
7a1ccf076c
Misc ( #5545 )
...
* normalize npmignores
* fixup eslint ignore, etc
* lint
* remove unused
* rm from gitignore
* use strict
2017-03-25 21:46:16 -04:00
Henry Zhu
ab68800e06
v7.0.0-alpha.3
2017-03-23 15:49:01 -04:00
jddxf
7e25dccc6e
Update babel-generator's README ( #5517 ) [skip ci]
2017-03-22 16:25:42 -04:00
Henry Zhu
b638c8b3eb
Transform the template literals revision proposal ( #5523 )
...
* Account for template literals revision
* extra tests
* update to babylon beta 7
* pr feedback (keep arr length the same)
2017-03-22 16:07:36 -04:00
Daniel Tschinder
ae8728c146
Merge branch 'master' into 7.0
2017-03-19 14:21:00 +01:00
Sven SAULEAU
e30197b96b
docs: [skip ci] update documentation
2017-03-16 08:53:38 +01:00
Henry Zhu
71e4336f65
v6.24.0
2017-03-12 22:18:08 -04:00
Henry Zhu
b78fc9b4d0
Keep parentheses for logical expression when in await expression ( fix #5428 ) ( #5433 ) ( #5453 )
2017-03-12 21:40:38 -04:00
Aaron Ang
3d987ed6c0
Keep parentheses for logical expression when in await expression ( fix #5428 ) ( #5433 )
2017-03-09 09:13:53 -05:00
Artem Gurzhii
6888a2c51b
Code refactoring for the babel-generator ( #5344 )
...
* refactoring code for babel-generator package
* removing spaces and refactoring if statement
* fixing warnings
2017-03-07 16:41:49 -05:00
Brian Ng
8a82cc060a
Run new lint rules ( #5413 )
2017-03-04 10:46:01 -05:00
Henry Zhu
11e54a6bd3
v7.0.0-alpha.1
2017-03-02 16:04:47 -05:00
Artem Gurzhii
0d3a7e9cc6
Code refactoring for the babel-generator ( #5344 )
...
* refactoring code for babel-generator package
* removing spaces and refactoring if statement
* fixing warnings
2017-03-02 10:14:03 -08:00
Henry Zhu
2b9c3735fd
update to babylon beta 4
2017-03-01 12:38:19 -05:00
Henry Zhu
3ff77a61e4
Update babylon beta 3 ( #5394 )
...
* Update babylon to v7-beta.3
* convert RestProperty/SpreadProperty to RestElement/SpreadElement
* add virtual types to make it easier to upgrade
2017-02-28 16:58:19 -05:00
Henry Zhu
696e63c58b
Merge pull request #5380 from babel/extra-do + 6.x commits
2017-02-25 18:48:27 -05:00
Henry Zhu
6529cb5f01
babel-generator: add another do test
2017-02-25 18:39:18 -05:00
Alex Kuzmenko
01918c68c1
Improve babel-generator's code coverage ( #5338 )
2017-02-25 13:26:29 -05:00
Henry Zhu
d33d023594
Merge remote-tracking branch 'origin/master' into merge-master
2017-02-23 18:54:15 -05:00
Zachary Miller
6614a63b3b
Wrap some generated do expressions in parens ( #5339 )
2017-02-22 07:50:58 -05:00
Logan Smyth
4ee385e96c
Avoid usage of exports/module.exports/require().
2017-02-21 16:52:42 -08:00
Daniel Tschinder
7e540cdcc9
Remove obsolete code
2017-02-18 12:30:46 +01:00
Daniel Tschinder
28853bf190
Fix for-await printing ( #5322 )
...
Only the first for-await was correctly printed all subsequent for-await statements
where printed as for-of as the variable op was changed inside the buildForXStatement
2017-02-15 17:43:06 -05:00