Commit Graph

6545 Commits

Author SHA1 Message Date
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
Henry Zhu
72eec06bb9 add changelog for 6.3.8-6.3.14 2015-12-04 14:04:32 -05:00
Henry Zhu
0587a5d12c v6.3.14 2015-12-04 13:52:36 -05:00
Logan Smyth
164bc1aed6 Merge pull request #3133 from loganfsmyth/switch-scope-6761
Properly resolve scope from switch statement - fixes T6761
2015-12-04 09:32:45 -08:00
Logan Smyth
8efd1d71ad Properly resolve scope from switch statement - fixes T6761 2015-12-04 09:04:25 -08:00
Sebastian McKenzie
e526643f79 fix wrong bootstrap script reference 2015-12-05 02:21:34 +11:00
Sebastian McKenzie
3e2fa16dbc fix make bootstrap/ci 2015-12-05 02:16:42 +11:00
Sebastian McKenzie
d9dce29d09 move up make build in make bootstrap 2015-12-05 02:08:54 +11:00
Henry Zhu
61e2568c08 add 6.3.1 changelog 2015-12-04 07:33:50 -05:00
Henry Zhu
608e6f9274 add 6.3.2 changelog 2015-12-04 07:33:50 -05:00