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
Henry Zhu
f32d6b2d67
Merge pull request #3153 from babel/do-while
...
do-while takes a statement
2015-12-09 22:00:53 -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
e96f3544f6
Add 6.3.16 changelog
2015-12-08 23:12:44 -05:00
Henry Zhu
94edd6e461
v6.3.16
2015-12-08 23:10:41 -05:00
Jesse McCarthy
36e58f4d4f
Apply only to ObjectProperty.
...
Fix T6779. It should be possible to apply this to ES5 functions without
mutating ES2015 MethodDefinition's.
2015-12-08 16:46:45 -05:00
Jesse McCarthy
24998bbd3f
Add method definition fixtures.
...
(Failing.)
2015-12-08 16:46:45 -05:00
Henry Zhu
e02606b373
Merge pull request #3148 from babel/unary-pure
...
Support unary expression in isPure check
2015-12-07 15:20: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
Amjad Masad
797913d9da
Merge pull request #3144 from jochenberger/patch-1
...
Update CHANGELOG.md
2015-12-07 03:29:58 -05:00
jochenberger
8e98305900
Update CHANGELOG.md
2015-12-07 09:19:05 +01: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
2e11839257
Add 6.3.15 changelog
2015-12-06 11:36:16 -05: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
Henry Zhu
f52b8f9e99
Merge pull request #3141 from babel/mul-def
...
Fix bug with evaluating an expression in it's own binding
2015-12-06 11:22:49 -05:00
Amjad Masad
350ee82a83
add comment
2015-12-06 08:00:15 -08:00
Amjad Masad
036e90e9cc
Fix bug with evaluating an expression in it's own binding
2015-12-06 07:56:17 -08:00
Henry Zhu
583cde6f8c
Merge pull request #3140 from babel/lerna-bin
...
Fix lerna path
2015-12-06 10:33:18 -05:00
Amjad Masad
064fe9426d
Fix lerna path
2015-12-06 06:48:40 -08:00
Logan Smyth
b9e675597c
Make alternate compat names load from main helpers
2015-12-05 23:57:35 -08:00
James Kyle
abb85b498a
Merge pull request #3138 from loganfsmyth/class-rename-failure-T2494
...
Skip name inference on hard-to-replace classes - fixes T2494
2015-12-05 20:58:37 -08:00
Logan Smyth
925804798d
Skip name inference on hard-to-replace classes - fixes T2494
2015-12-05 17:07:10 -08:00
Logan Smyth
9f32061769
Merge pull request #3134 from loganfsmyth/default-renamer-T6750
...
Ensure that default exports have a name before splitting them - fixes T6750
2015-12-05 16:23:39 -08:00
Logan Smyth
f37acd293c
Set the proper parents for new node paths - fixes T2763
2015-12-05 16:16:02 -08:00
Logan Smyth
a12a116b9f
Ensure that default exports have a name before splitting them - fixes T6750
2015-12-05 15:28:48 -08:00
Henry Zhu
ec1e975333
Merge pull request #3136 from loganfsmyth/destructure-export-T6720
...
Move destructuring statements off export statements before processing - fixes T6720
2015-12-05 18:26:50 -05:00
Logan Smyth
29a3176276
Move destructuring statements off export statements before processing - fixes T6720
2015-12-05 14:27:42 -08:00
Henry Zhu
333dc8dcda
Merge pull request #3135 from loganfsmyth/loose-async-gen-T6755
...
Ensure that the async/generator flags carry over when converting class methods - fixes T6755
2015-12-05 15:42:29 -05:00
Logan Smyth
03f189fc46
Ensure that the async/generator flags carry over when converting class methods - fixes T6755
2015-12-05 12:24:00 -08:00
Henry Zhu
6082ac8a59
skip nested new expressions
2015-12-05 14:19:31 -05:00
Henry Zhu
21f76655ad
account for parent NewExpression with arguments
2015-12-05 13:37:06 -05:00
Henry Zhu
8a1ad5350c
Merge pull request #3111 from amasad/new
...
No need for parens for new expressions without args
2015-12-05 13:33:23 -05:00
Jesse McCarthy
412c65deb3
Add discussion forum to README support section.
2015-12-04 14:20:57 -05:00
James Kyle
f4647bbb54
Merge pull request #3128 from jmm/ast-spec
...
Update description: ESTree ES5 => Babylon.
2015-12-04 11:11:24 -08:00
James Kyle
e7bdbb67e8
Merge pull request #3131 from hzoo/changelog
...
add changelog
2015-12-04 11:10:50 -08:00