939 Commits

Author SHA1 Message Date
Sebastian McKenzie
d7adedad3c Merge pull request #2873 from ForbesLindesay/patch-1
Use `i - 1` instead of `--i`
2015-11-06 19:40:07 -05:00
Amjad Masad
8e2aae7e05 Introduce new tests for plugins 2015-11-06 15:14:20 -08:00
Forbes Lindesay
1a4f5d80f0 Use i - 1 instead of --i 2015-11-06 14:52:25 +00:00
Sebastian McKenzie
5508f4de56 Merge pull request #2858 from hzoo/i-2835
transform-regenerator: set node.id to an identifier if null - fixes #…
2015-11-06 01:28:37 +00:00
Sebastian McKenzie
6291c46596 Merge pull request #2851 from zertosh/fix-browser-build
Use source-map ^0.5.0
2015-11-06 01:28:33 +00:00
Henry Zhu
940b86dadb transform-regenerator: set node.id to an identifier if null - fixes #2835 2015-11-05 20:13:05 -05:00
wesbos
c167e6dcc3 Added react-dispaly-name to the default react package 2015-11-05 15:39:36 -05:00
Andres Suarez
af9da3b7e9 Use source-map ^0.5.0 2015-11-05 11:44:35 -08:00
Sebastian McKenzie
fc0baf1e2c Merge pull request #2841 from hzoo/i-2694
transform-es2015-classes: check if node.id is null
2015-11-05 17:09:50 +00:00
Sebastian McKenzie
ff62a33825 Merge pull request #2829 from zloirock/master
Change polyfill compression options
2015-11-05 17:07:30 +00:00
Henry Zhu
f1a62ef078 transform-es2015-classes: check if node.id is null 2015-11-05 10:25:56 -05:00
Sebastian McKenzie
5d61840c10 v6.1.3 2015-11-05 11:31:14 +00:00
Sebastian McKenzie
51143beab2 add allowTopLevelThis option to babel-plugin-transform-es2015-modules-commonjs 2015-11-05 11:29:39 +00:00
Sebastian McKenzie
f2215915ff v6.1.2 2015-11-05 11:10:22 +00:00
Sebastian McKenzie
5802e2e334 add strict option to bable-plugin-transform-strict-mode 2015-11-05 11:04:14 +00:00
Sebastian McKenzie
592193321d fix defaults on type annotated arrow function params - fixes #2493 2015-11-05 09:49:03 +00:00
Denis Pushkarev
f82f8b444a change polyfill compression options 2015-11-05 10:42:04 +06:00
Sebastian McKenzie
f4fe578a6c add node existence check to NodePath#has - fixes #2800 2015-11-04 23:38:14 +00:00
Sebastian McKenzie
1bfb7039e9 protect against replacing a class expression with itself when attempting to infer a new function name - fixes #2803 2015-11-04 23:34:33 +00:00
Sebastian McKenzie
1796b1926c Merge pull request #2798 from amasad/fix-2782
Fix recursion in async-to-generator transforms
2015-11-04 19:19:15 +00:00
Sebastian McKenzie
5aa1b29ef8 Merge pull request #2793 from amasad/fix-2789
Convert arrow functions when remaping to generator. Fixes #2789
2015-11-04 19:18:50 +00:00
Sebastian McKenzie
9680bf6a68 Merge pull request #2811 from hzoo/i-2808
transformation-react-inline-elements: ensure invalid identifier JSX attribute keys are quoted - fixes #2808
2015-11-04 19:16:32 +00:00
Junle
763d1d1f51 Fix the typo: preset -> presets. 2015-11-05 02:10:59 +08:00
Henry Zhu
f01d2054d4 transformation-react-inline-elements: ensure invalid identifier JSX attribute keys are quoted - fixes #2808 2015-11-04 08:47:09 -05:00
Amjad Masad
2220167903 Fix recursion in async-to-generator transforms
We're naming the inner generator function in the name of the
original async function. This means when people have recursive
await calls it refers to the generator version. Which is fine
if we had a `yield *` (delegate). However, if not it leads to
returning an unresolved generator object.

We can either capture all recursive calls and add a delegate, which
becomes really hard with expressions. I choose to have the name
reserved to the exposed function `retFunction`.

Fixes #2782
2015-11-03 17:05:41 -08:00
Sebastian McKenzie
bcfe582fef remove json files in favor of just plain js files 2015-11-04 00:00:08 +00:00
Amjad Masad
e33ad7d2fb Convert arrow functions when remaping to generator. Fixes #2789 2015-11-03 14:58:31 -08:00
Sebastian McKenzie
9eee677321 Merge pull request #2790 from moretti/issue-2613
Preserve indentation in template literals, fixes #2613
2015-11-03 20:13:09 +00:00
Sebastian McKenzie
0e76a5ace1 fix existential type param parsing 2015-11-03 20:04:55 +00:00
Sebastian McKenzie
4ad8a1dc83 fix es2015-instanceof and es2015-typeof-symbol packages and add README 2015-11-03 19:36:51 +00:00
Sebastian McKenzie
a9ac3b0c94 move instanceof functionality to separate plugin - fixes #2745 2015-11-03 19:22:51 +00:00
Sebastian McKenzie
1c3b4aa410 add npm check to babel-doctor 2015-11-03 19:13:46 +00:00
Paolo Moretti
232bf76b4d preserve original indentation in template literals, fixes #2613 2015-11-03 18:05:26 +00:00
Paolo Moretti
f5bbd09b49 add fixtures for #2613 2015-11-03 18:05:22 +00:00
Sebastian McKenzie
dd76272fb1 fix source map merging - closes #2522, fixes #2336 2015-11-03 14:24:36 +00:00
Sebastian McKenzie
7dc1b4e7e9 add ExistentialTypeParam - fixes #2587 2015-11-03 13:48:03 +00:00
Sebastian McKenzie
49cbd27441 simplify Parser::semicolon method 2015-11-03 11:46:11 +00:00
Sebastian McKenzie
b486dfb675 add lineBreak test to tt.name.updateContext - fixes #2591 2015-11-03 11:46:01 +00:00
Sebastian McKenzie
d8b17a9eaa add support for async generator concise methods - fixes #2603 2015-11-03 11:19:04 +00:00
Sebastian McKenzie
72b6e42b34 fix object rest/spread in arrow function params - fixes #2631 2015-11-03 11:14:12 +00:00
Sebastian McKenzie
8ffc7012cc autoclear cache when it gets too big - fixes #2678 2015-11-03 10:57:32 +00:00
Sebastian McKenzie
cdeff2fbb1 simplify parentheses logic and properly parenthesise unaries - fixes #2711 2015-11-03 10:49:24 +00:00
Sebastian McKenzie
1e725f4806 add babel-browser package - fixes #2635, closes #2721 2015-11-03 10:43:43 +00:00
Sebastian McKenzie
a7f35e39f8 v6.1.1 2015-11-03 10:21:51 +00:00
Sebastian McKenzie
9110cbfbc8 stop looking for configs in babel-doctor when we get to the root 2015-11-03 10:20:57 +00:00
Sebastian McKenzie
c004777efa v6.1.0 2015-11-03 10:06:50 +00:00
Sebastian McKenzie
a31d211e2e remove unused imports 2015-11-03 10:05:39 +00:00
Sebastian McKenzie
5ee8f7568b add babel-doctor 2015-11-03 10:04:20 +00:00
Sebastian McKenzie
751c53b728 v6.0.20 2015-11-03 04:21:25 +00:00
Sebastian McKenzie
59ecfecb9e fix indentation and skip check for references that are inside the function we're checking execution status against 2015-11-03 04:17:38 +00:00