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
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
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
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
Henry Zhu
0587a5d12c
v6.3.14
2015-12-04 13:52:36 -05:00
Logan Smyth
8efd1d71ad
Properly resolve scope from switch statement - fixes T6761
2015-12-04 09:04:25 -08:00
Sebastian McKenzie
f60261eafb
update to lerna
2015-12-04 23:23:50 +11:00
Sebastian McKenzie
d6117a9e27
Merge branch 'master' of github.com:babel/babel
2015-12-04 23:17:11 +11:00
Sebastian McKenzie
7b36967416
v6.3.13
2015-12-04 22:56:51 +11:00
Sebastian McKenzie
ae831c2270
v6.3.12
2015-12-04 22:56:13 +11:00
Amjad Masad
37797c4d50
Test name, and remove todos
2015-12-04 00:12:37 -08:00
Amjad Masad
9c20ace184
Add support for null literal type
2015-12-03 23:58:25 -08:00
Henry Zhu
b515fa8db8
v6.3.2
2015-12-03 22:48:04 -05:00
Logan Smyth
aa6dc5d153
Merge pull request #3116 from loganfsmyth/register-plugin-duplication
...
Disable babelrc processing on the already-processed configuration - fixes T6690
2015-12-03 18:33:58 -08:00
Henry Zhu
c8a6d8117d
Merge pull request #3108 from cspotcode/feature/fix-T2864
...
source-maps: Fix T2864
2015-12-03 14:46:00 -05:00
Henry Zhu
8d78ea4ecf
Merge pull request #3112 from phantom10111/fix-es2015-classes
...
Fix return super(); in class constructor - fixes T2997
2015-12-03 10:34:18 -05:00
Henry Zhu
ae666c1e09
Merge pull request #3127 from loganfsmyth/where-fit-3051
...
Ensure we always push into a BlockStatement - fixes T3051
2015-12-02 22:58:10 -05:00
Logan Smyth
d71b59d0cc
Ensure we always push into a BlockStatement - fixes T3051
2015-12-02 19:41:22 -08:00