Sam Pepose
199a612131
Fixed incorrect printing of array of nullable flow type
2016-06-22 20:33:43 -07:00
Simon Lydell
3d77ad9381
babel-code-frame: Upgrade to js-tokens@2 ( #3533 )
...
That version brings ES2016 support. However, the difference in syntax
highlighting is not distinguishable, because both `*` and `**` get the
same color.
2016-06-22 13:23:21 -04:00
Sergey Rubanov
8fef2bc568
Add es2016 preset ( #3531 )
2016-06-22 12:16:49 -04:00
Jacob Rask
17ce0a57c5
Promote trailing-function-commas to stage 3 ( #3522 )
...
See https://github.com/tc39/proposals
2016-06-22 12:16:14 -04:00
Henry Zhu
93299d9bc4
add new package to react preset package.json
2016-06-22 12:14:36 -04:00
Sebastian McKenzie
9229225f21
Merge pull request #3540 from jimfb/jsx-self
...
Added jsx-self babel transform plugin
2016-06-22 17:11:25 +01:00
jim
7d0c4ecf17
Added jsx-self babel transform plugin
2016-06-22 09:05:48 -07:00
Logan Smyth
faf024ad44
v6.10.4
2016-06-21 09:43:33 -07:00
A2ZH
49d36e291d
update minimatch v3.0.2
2016-06-21 01:01:42 +08:00
Sebastian McKenzie
b2390cca02
deopt on recursion in path.evaluate - fixes T7397
2016-06-19 22:08:39 +01:00
Logan Smyth
cc22b1cc23
v6.10.3
2016-06-18 16:55:21 -07:00
Logan Smyth
2ba27c73d7
Allow empty 'export {};' statements - fixes T7439
2016-06-18 12:41:44 -07:00
Henry Zhu
bfc90c975d
v6.10.2
2016-06-17 17:45:16 -04:00
Daniel Tschinder
d7c0fbdf5b
"name" should not be visited for TypeParameter ( #3529 )
...
name is a string and does not need to be visited
2016-06-17 17:21:23 -04:00
Logan Smyth
df2c3f3d25
Use the common space helper everywhere to ensure we get the smallest output possible.
2016-06-16 22:00:24 -07:00
Logan Smyth
5c74ebb87e
Remove unneeded space check.
2016-06-16 22:00:24 -07:00
Logan Smyth
1514d0a1ad
Drop some space-insertion logic.
2016-06-16 22:00:23 -07:00
Logan Smyth
39896b4d91
Automatically prepend a space when writing a word immediately after a word.
2016-06-16 22:00:23 -07:00
Logan Smyth
4286cb4f2a
Explicitly label standalone tokens and words.
2016-06-16 22:00:23 -07:00
Logan Smyth
e702e67233
Split all of the pushes into individual tokens.
2016-06-16 22:00:23 -07:00
Logan Smyth
22e2c88269
Drop the unneeded noIndent function param.
2016-06-16 22:00:23 -07:00
Logan Smyth
f566700657
Avoid processing indentation for every pushed string.
2016-06-16 21:59:51 -07:00
Logan Smyth
8336aa52e8
Split all of the separators into functions.
2016-06-16 20:31:19 -07:00
Logan Smyth
3e1a661eb6
Use the general list handlers and the default separator.
2016-06-16 20:31:19 -07:00
Logan Smyth
315c075419
Remove the unnecessary push/_push division.
2016-06-16 20:31:19 -07:00
Logan Smyth
528128f62d
Avoid looking for raw values for all nodes.
2016-06-16 20:31:19 -07:00
Logan Smyth
710f151d31
Use the standard space helper for comment space.
2016-06-16 20:31:19 -07:00
Logan Smyth
680fcc16d7
Standardize on .endsWith
2016-06-16 20:31:19 -07:00
Logan Smyth
2f790889eb
Make sure to roll back the generated position markers when trimming spaces.
2016-06-16 20:31:19 -07:00
Logan Smyth
9ddf9aabfc
Don't track position when sourcemaps are off.
2016-06-16 20:31:19 -07:00
Logan Smyth
61e3b1d314
Remove incorrect function/class check.
2016-06-16 20:31:19 -07:00
Logan Smyth
0be2f1cf48
Remove unnecessary ensureSemicolon.
2016-06-16 20:31:19 -07:00
Logan Smyth
67763085ab
Be consistent with semicolons.
2016-06-16 20:31:19 -07:00
Logan Smyth
c1ba5e6ac8
Remove unused force param.
2016-06-16 20:31:19 -07:00
Logan Smyth
d042ddfdda
Clarify that the code generator class is not public.
2016-06-16 20:31:19 -07:00
Logan Smyth
efea2c19f2
Add more tests for minified output.
2016-06-16 20:31:19 -07:00
Logan Smyth
e64aeb7316
v6.10.1
2016-06-11 00:36:09 -07:00
Logan Smyth
57328c1fbd
Merge pull request #3526 from loganfsmyth/fix-switch-error
...
Fix an issue with the switch handing from PR #3490 .
2016-06-11 00:32:37 -07:00
Logan Smyth
5ddce1372b
Fix an issue with the switch handing from PR #3490 .
2016-06-11 00:17:36 -07:00
Aleksey Smolenchuk
2033c1da30
remove shorthand of --skip-initial-build
...
-s is already taken by --source-maps
2016-06-10 22:46:24 -07:00
Henry Zhu
c5ae951f98
v6.10.0
2016-06-11 00:05:21 -04:00
Henry Zhu
b567c02413
generator tests
2016-06-10 18:05:54 -04:00
Henry Zhu
ff42a744df
add back in identifier
2016-06-10 17:07:03 -04:00
Henry Zhu
63e8313788
add type def
2016-06-08 16:16:22 -04:00
Henry Zhu
ad0e1ba6de
Support changes in flow parsing
2016-06-08 13:07:58 -04:00
Logan Smyth
61b3a6314b
Merge pull request #3490 from jayphelps/T7324
...
create new lexical env inside switch statement blocks, fixes #T7324
2016-05-30 14:42:29 -07:00
Logan Smyth
85ec7834d0
Merge pull request #3489 from lxe/optinal-nocompile-watch
...
babel-cli: add --skip-initial-build option to only compile on changes when watching
2016-05-30 14:29:30 -07:00
Henry Zhu
5b3db3aceb
v6.9.2
2016-05-29 19:16:15 -04:00
Henry Zhu
e95ff9effb
Fix: for babel-runtime, regenerator-runtime should be a dependency now ( #3516 )
2016-05-29 19:14:42 -04:00
Henry Zhu
77ac82b9f5
v6.9.1
2016-05-29 15:50:04 -04:00