6327 Commits

Author SHA1 Message Date
Sebastian McKenzie
05896b834b Crawl up ancestry looking for possible candidates to infer displayName from rather than just checking the direct parent 2015-12-27 21:48:28 +00:00
Sebastian McKenzie
5ca1cf0506 Merge pull request #3203 from samwgoldman/flow-mixins-6.x
Add support for mixins to Babel 6.x
2015-12-27 21:04:40 +00:00
Sebastian McKenzie
5fa8092725 Merge pull request #3215 from spicyj/fn-name
Set function names from assignment expressions
2015-12-27 21:00:41 +00:00
Ben Alpert
248f00fe82 Set function names from assignment expressions
Based on http://www.2ality.com/2015/09/function-names-es6.html.
2015-12-27 12:46:56 -08:00
Sebastian McKenzie
e5e085a567 Merge pull request #3195 from babel/hzoo-patch-1-1
validate: allow JSXText node in JSXElement children property
2015-12-27 20:30:32 +00:00
Amjad Masad
fd998cb9af Merge pull request #3210 from babel/fun-paren
Use a printStack to determine parenthesis
2015-12-27 01:21:37 -08:00
Amjad Masad
10c9d26983 Also use for object expressions 2015-12-24 15:01:46 -08:00
Amjad Masad
0d8e5a9e86 Fix over-parenthesizing of function expressions 2015-12-24 14:55:51 -08:00
Henry Zhu
2befeb0657 remove validation for StringLiteral in JSXElement children property 2015-12-24 15:53:43 -05:00
Denis Pushkarev
15760dfed2 Merge pull request #3208 from zloirock/remove-array-generics-from-runtime
remove array generics from runtime
2015-12-25 00:20:32 +06:00
Denis Pushkarev
fd8477d881 remove array generics from runtime 2015-12-25 00:16:50 +06:00
Denis Pushkarev
99622e3d0f Merge pull request #3206 from zloirock/update-core-js
update core-js
2015-12-24 21:42:15 +06:00
Denis Pushkarev
49880e4e81 update core-js 2015-12-24 21:34:53 +06:00
Sam Goldman
5cfec9d8ca Add mixins to the class declaration visitor 2015-12-24 10:31:03 -05:00
Sebastian McKenzie
97faab3418 Merge pull request #3204 from babel/no-babylon-patch
Stop people from patching babylon by building it
2015-12-24 04:13:40 +00:00
Sebastian McKenzie
5b091c17f3 Merge pull request #3205 from babel/external-helpers
Rename babel-plugin-external-helpers-2 to babel-plugin-external-helpers
2015-12-24 04:09:15 +00:00
Sebastian McKenzie
6fe210d4bf stop people from patching babylon by building it 2015-12-24 03:58:52 +00:00
Sebastian McKenzie
1fa24b1efd rename babel-plugin-external-helpers-2 to babel-plugin-external-helpers 2015-12-24 03:54:40 +00:00
James Kyle
730e80b231 Merge pull request #3199 from babel/hzoo-patch-2
v6.3.26 changelog
2015-12-23 19:44:35 -08:00
Henry Zhu
8489c6bfa1 typo 2015-12-23 22:29:43 -05:00
Sam Goldman
ef60fed7d6 Add test ensuring declare statements are transformed to comments 2015-12-23 16:49:18 -05:00
Sam Goldman
b4f130fd14 Add test ensuring declare class w/ mixins are stripped 2015-12-23 16:42:23 -05:00
Sam Goldman
e9c23ba7a1 Don't generate class mixins if prop doesn't exist 2015-12-23 16:37:14 -05:00
Sam Goldman
bb874a4e46 Add babel-generator support for mixins to Babel 6.x 2015-12-23 16:26:29 -05:00
Sam Goldman
123a9596ce Add support for mixins to Babel 6.x 2015-12-23 16:09:12 -05:00
Amjad Masad
1932211235 Merge pull request #3202 from samwgoldman/flow-this-type-6.x
Add support for this type to Babel 6.x
2015-12-23 11:15:08 -08:00
Sam Goldman
32c03222bf Add support for this type to Babel 6.x 2015-12-23 13:54:57 -05:00
Henry Zhu
17e63580c1 v6.3.26 changelog 2015-12-23 11:43:24 -05:00
Amjad Masad
ae8b7ea352 v6.3.26 2015-12-22 23:11:59 -08:00
Amjad Masad
ad6a28b3ed Merge pull request #3196 from jmm/resolve-relative-to-file
Add test for file-relative plugin & preset resolution
2015-12-22 23:03:42 -08:00
Amjad Masad
c8e3d9154b Merge pull request #3185 from antigremlin/fix-gulp-paths-windows
Allow gulp build to work on Windows
2015-12-22 22:57:58 -08:00
Amjad Masad
a2030e5804 Merge pull request #3198 from babel/eval-bug-2
Eval bug with lack of confidence considered falsy
2015-12-22 22:57:32 -08:00
Amjad Masad
959021dc70 Merge pull request #3190 from hzoo/remove-await-star
Remove await* from babel-generator, add parsing error to babylon - (fixes T6688)
2015-12-22 22:57:23 -08:00
Henry Zhu
0037cf6b34 remove all property, fixup tests 2015-12-23 00:02:02 -05:00
Amjad Masad
090e8b18ea Merge pull request #3191 from vhf/destructuring-rest-args-initialization-order
Order of arguments initialization - fixes T6809
2015-12-22 20:51:20 -08:00
Amjad Masad
6ce463399d Fix evaluation bug with || 2015-12-22 20:48:50 -08:00
Amjad Masad
76eae9bcd8 add failing test 2015-12-22 20:47:08 -08:00
Jesse McCarthy
77f5d30fb1 Add test for file-relative addon resolution
Plugins & presets.
2015-12-22 14:25:23 -05:00
Henry Zhu
aa2cc907ea validate: allow JSXText node in JSXElement children property (fixes T6876) 2015-12-22 09:35:14 -05:00
James Kyle
fd3aad5811 Merge pull request #3193 from babel/thejameskyle-patch-1
Point devs to cli docs instead of installing
2015-12-21 17:11:01 -08:00
Amjad Masad
436a8c8461 add package names 2015-12-21 14:05:40 -08:00
Amjad Masad
189e4ecdc4 v6.3.25 changelog 2015-12-21 14:03:20 -08:00
Amjad Masad
705b0959e7 v6.3.25 2015-12-21 13:59:11 -08:00
Amjad Masad
319838bd14 Merge pull request #3192 from babel/eval-bug
Evaluation may succeed even when not confident
2015-12-21 13:55:27 -08:00
James Kyle
dbc85cff69 Point devs to cli docs instead of installing
https://github.com/babel/babel.github.io/issues/650
2015-12-21 10:34:11 -08:00
Andrey Taranov
dd0b96ca5d Allow gulp build to work on Windows
The problem with gulp pipeline is that it replaces /src/ with /lib/ in
filenames as a regex replace operation. The regex only worked for Unix
before. Here we add a 2nd regex accomodate Windows backslashes and choose
between the two by looking if we're using path.win32.  The Unix regex is
changed to only match the package/*/src. This seemingly has no effect on
the build.

Fixes T6855
2015-12-21 14:18:59 +01:00
Amjad Masad
c5f504b865 Merge pull request #3189 from hzoo/T6859
babel-generator: keep double quotes in StringLiteral for JSX parent
2015-12-21 02:51:04 -08:00
Amjad Masad
65c13d1385 Merge pull request #3187 from MakeNowJust/fix/use-strict-use-strict
Fix ignoring previous strict mode after twice "use strict"
2015-12-21 02:25:29 -08:00
Amjad Masad
6354e7185b Merge pull request #3165 from vhf/multiple-rest-arguments
[optimisation] Fixing T6818
2015-12-21 02:13:31 -08:00
Amjad Masad
a5b9afbebe Make sure we always return when not confident 2015-12-21 02:04:16 -08:00