Logan Smyth
cae3f60e76
Merge pull request #3546 from sampepose/master
...
Fixed incorrect printing of array of nullable flow type
2016-06-22 21:31:10 -07:00
Sam Pepose
7d83147e16
Added semicolon
2016-06-22 21:21:53 -07:00
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
Jesse McCarthy
d0edc1c646
Link to new AST spec location ( #3544 )
2016-06-22 09:51:19 -04:00
Sebastian McKenzie
3267afd608
Merge pull request #3543 from babel/mv-ast-spec
...
Move ast spec to babylon [skip ci]
2016-06-22 13:54:19 +01:00
Henry Zhu
5ead4b3e96
Move ast spec to babylon [skip ci]
2016-06-22 08:39:18 -04:00
Logan Smyth
6efef693a2
Add forgotten attribution.
2016-06-21 09:56:15 -07:00
Logan Smyth
2ad9be1974
Update Changelog for 6.10.4
2016-06-21 09:48:10 -07:00
Logan Smyth
faf024ad44
v6.10.4
2016-06-21 09:43:33 -07:00
Logan Smyth
60e6b74901
Merge pull request #3537 from theJian/master
...
update minimatch to v3.0.2
2016-06-21 08:14:52 -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
5a8a2512d0
Docs: 6.10.3 changelog [skip ci]
2016-06-18 16:58:45 -07:00
Logan Smyth
cc22b1cc23
v6.10.3
2016-06-18 16:55:21 -07:00
Logan Smyth
d2eecfb6cc
Merge pull request #3532 from loganfsmyth/allow-empty-exports
...
Allow empty export statements with no export specifiers - fixes T7439
2016-06-18 13:24:31 -07:00
Logan Smyth
2ba27c73d7
Allow empty 'export {};' statements - fixes T7439
2016-06-18 12:41:44 -07:00
Henry Zhu
3ecf417509
typo [skip ci]
2016-06-17 17:49:07 -04:00
Henry Zhu
724699ff5e
Docs: 6.10.2 changelog [skip ci] ( #3530 )
2016-06-17 17:48:16 -04:00
Henry Zhu
bfc90c975d
v6.10.2
2016-06-17 17:45:16 -04:00
Henry Zhu
514e40923c
cleanup transpiled files in make clean - fixes T7434 [skip ci] ( #3528 )
2016-06-17 17:24:18 -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
4e1b4aecfd
Merge pull request #3492 from loganfsmyth/codegen-cleanup
...
Refactor space insertion and remove some unneeded function options
2016-06-16 22:15:56 -07: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