Steven Luscher
b6dabff82e
Correct type annotation for shouldPrintComment
...
I think this is supposed to be a `Function` that returns a `boolean`.
2015-12-17 10:50:59 -08:00
Sebastian McKenzie
16ae7c2d9a
Merge pull request #3171 from babel/inference-recursion
...
Inference recursion
2015-12-17 14:44:29 +00:00
Sebastian McKenzie
a8a58aaa07
Fix infinite recursion bug
2015-12-17 14:44:18 +00:00
voideanvalue
2ac8e836f5
[babel-generator] fix unhandled new-precedence edge case
2015-12-16 12:51:13 -08:00
Amjad Masad
c451222d6e
v6.3.20
2015-12-16 12:24:45 -08:00
Amjad Masad
4bb7dbabb0
Merge pull request #3170 from babel/fix-numeric-member-expr
...
Fix invalid codegen for number member expr
2015-12-16 12:21:42 -08:00
Amjad Masad
178da2f59b
var
2015-12-16 12:20:49 -08:00
Henry Zhu
6fd294057e
Merge pull request #3172 from babel/thejameskyle/T6805
...
Add Expression alias to BindExpression
2015-12-16 09:48:54 -05:00
Henry Zhu
ed016aef9e
add functionBind to babylon plugins readme
2015-12-16 09:47:08 -05:00
James Kyle
2141406c86
Add Expression alias to BindExpression
2015-12-15 23:37:29 -08:00
Amjad Masad
12fac9cadf
Inference recursion bug
2015-12-15 19:56:27 -08:00
Amjad Masad
320cede9be
Fix invalid codegen for number member expr
2015-12-15 17:47:46 -08:00
Amjad Masad
9303517bab
v6.3.19
2015-12-14 14:11:36 -08:00
Amjad Masad
2a41f499bd
Merge pull request #3167 from babel/binary-expr
...
Use the leftMost from the right to check if we need spaces in BinaryExpressions
2015-12-14 14:05:05 -08:00
Amjad Masad
f2c8f2ac5c
Merge pull request #3157 from hzoo/port-flow-comments
...
move babel-plugin-flow-comments from babel-plugins repo and convert to use babel 6
2015-12-14 13:43:09 -08:00
Amjad Masad
007ef5cdbb
Use the leftMost from the right to check if we need spaces in BinaryExpressions
2015-12-14 13:36:52 -08:00
Logan Smyth
7b25b33ac6
Merge pull request #3161 from loganfsmyth/function-rename-6781
...
Only rename outer function bindings on conflict - fixes T6781
2015-12-13 23:44:43 -08:00
Logan Smyth
36717cbf81
Merge pull request #3142 from loganfsmyth/runtime-typeof-error-T6644
...
Add custom transform for babel-runtime builds to avoid circular deps - fixes T6644
2015-12-13 23:44:13 -08:00
Amjad Masad
d649b2e36e
v6.3.18
2015-12-13 23:01:37 -08:00
Logan Smyth
afcfba2075
Only rename outer function bindings on conflict - fixes T6781
2015-12-13 15:35:28 -08:00
Vyacheslav Slinko
925774ed86
Typo: t.numbericLiteral -> t.numericLiteral
2015-12-13 17:03:19 +03:00
Amjad Masad
07df8515b9
Parenthesize object expression when it could end up at the start of an expression T6811
2015-12-11 18:04:16 -08:00
Henry Zhu
1a545f2761
move babel-plugin-flow-comments from babel-plugins repo and convert to use babel 6
2015-12-11 10:59:08 -05:00
Jesse McCarthy
9674ef4b27
Make traverseNeedsParent message clearer.
2015-12-11 09:44:57 -05:00
Sebastian McKenzie
e9fa841ae6
Merge pull request #2833 from vhf/rest-arguments-use
...
Have es2015 rest transform safely use `arguments`
2015-12-12 01:35:57 +11:00
Sebastian McKenzie
d8445e0e78
Merge pull request #2933 from ForbesLindesay/babel-types-docs
...
Generate documentation for babel-types
2015-12-12 01:33:48 +11:00
Sebastian McKenzie
0278f5a2ba
Merge pull request #3107 from MakeNowJust/fix/t6675-2
...
Fixed T6675
2015-12-12 01:30:05 +11:00
Amjad Masad
1fbbdd61e3
v6.3.17
2015-12-10 17:20:27 -08:00
Henry Zhu
caa7fc0853
Merge pull request #3150 from babel/thejameskyle-patch-1
...
Do not prefer global when installing babel-cli
2015-12-10 16:42:29 -05:00
Amjad Masad
d2e7e6a54d
Merge pull request #3152 from babel/minified-format
...
Add minified format option
2015-12-10 16:28:48 -05:00
Henry Zhu
055374ba18
Merge pull request #3151 from babel/object-property-pure
...
Support ObjectProperty in purity check
2015-12-09 22:02:38 -05:00
Amjad Masad
cbc37bfb2c
do-while takes a statement
...
see http://www.ecma-international.org/ecma-262/6.0/#sec-iteration-statements
2015-12-09 18:37:02 -08:00
Amjad Masad
cb03a98b65
Add minified format option
...
As a follow up from #3145 we agreed to add a new format that is a
superset of the compact format option. Do things that are considered
dangerous. e.g. not printing semicolons, or print literal values
as opposed to raw values.
2015-12-09 17:34:23 -08:00
Amjad Masad
2a2cb4f160
Support ObjectProperty in purity check
2015-12-09 16:49:16 -08:00
James Kyle
5952b1f133
Do not prefer global when installing babel-cli
...
We should be encouraging users to install locally just like every other dependency.
2015-12-09 15:30:28 -08:00
Henry Zhu
94edd6e461
v6.3.16
2015-12-08 23:10:41 -05:00
Henry Zhu
14bad622f2
add second param
2015-12-07 15:20:30 -05:00
Amjad Masad
6601a6f737
Support unary expression in isPure check
2015-12-07 11:55:21 -08:00
Amjad Masad
b8f5ca4ff0
Merge pull request #3145 from babel/always-print
...
Always print strings for consistency
2015-12-07 14:12:32 -05:00
Amjad Masad
874ab9dfc7
Merge pull request #3147 from babel/seq-throw
...
Don't print on throw statements with sequence exprs
2015-12-07 14:01:38 -05:00
Amjad Masad
4b99d18ea7
Only reprint in compact mode
2015-12-07 10:59:50 -08:00
Amjad Masad
aaf834801c
Merge pull request #3146 from babel/no-comment
...
Never print comments in compact mode
2015-12-07 13:38:40 -05:00
Amjad Masad
5b5cd761df
fix logical expression
2015-12-07 10:38:14 -08:00
Amjad Masad
19daae6d96
Don't print on throw statements with sequence exprs
2015-12-07 02:48:11 -08:00
Amjad Masad
8689d1a045
Never print comments in compact mode
2015-12-07 02:37:53 -08:00
Amjad Masad
89e6d5bc7e
Always print strings for consistency
2015-12-07 02:30:14 -08:00
Logan Smyth
05fc7ee05b
Merge pull request #3137 from loganfsmyth/export-all-fail-T2763
...
Set the proper parents for new node paths - fixes T2763
2015-12-06 22:15:46 -08:00
Logan Smyth
d2ee421941
Make runtime point at itself and avoid nesting helpers - fixes T6644
2015-12-06 09:56:50 -08:00
Henry Zhu
3f7019f964
v6.3.15
2015-12-06 11:31:46 -05:00
Henry Zhu
d06cfe63c2
eslint: add space-after-keywords
2015-12-06 11:30:07 -05:00