5894 Commits

Author SHA1 Message Date
Sebastian McKenzie
1cfeb391f7 Merge pull request #2784 from tschaub/instanceof-without-symbol
Allow use of instanceof without Symbol
2015-11-04 19:18:14 +00:00
Sebastian McKenzie
2d3c1cc5df Merge pull request #2810 from hzoo/i-2806
Docs: change preset to presets
2015-11-04 19:16:43 +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
Sebastian McKenzie
cc7e5ef1b3 Merge pull request #2818 from lijunle/typo-presets
Fix the typo in example: preset -> presets.
2015-11-04 19:16:07 +00:00
Sebastian McKenzie
999158fd31 Merge pull request #2813 from jmm/log-gulp-compilation
Log each file as compiled by build task
2015-11-04 19:15:57 +00:00
Sebastian McKenzie
f0ec155207 Merge pull request #2812 from jmm/make-path-node-bins
Add node_modules/.bin to makefile PATH
2015-11-04 19:15:45 +00:00
Junle
763d1d1f51 Fix the typo: preset -> presets. 2015-11-05 02:10:59 +08:00
Jesse McCarthy
0cd585126a Log each file as compiled. 2015-11-04 10:51:51 -05:00
Jesse McCarthy
25fb2b8410 Add node_modules/.bin to PATH.
Allows local bins, like gulp, to work.
2015-11-04 09:17:18 -05: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
Henry Zhu
0007e4ba72 Docs: change preset to presets 2015-11-04 08:25:08 -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
232439460f switch to gulp for build process 2015-11-04 00:00:18 +00: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
Tim Schaub
8edb208992 Allow use of instanceof without Symbol 2015-11-03 08:34:35 -08:00
Sebastian McKenzie
30311d121e Merge branch 'master' of github.com:babel/babel
Conflicts:
	packages/babel-core/src/transformation/file/index.js
2015-11-03 14:25:30 +00:00
Sebastian McKenzie
dd76272fb1 fix source map merging - closes #2522, fixes #2336 2015-11-03 14:24:36 +00:00
Sebastian McKenzie
0ef6072445 fix source map merging - closes #2522, fixes #2336 2015-11-03 13:50:06 +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
a4c3111e55 add 6.1.0 changelog 2015-11-03 10:05:04 +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
1c08fe3c16 add 6.0.20 changelog 2015-11-03 04:20:26 +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
Sebastian McKenzie
91c463c0f7 fix react inline elements plugin when creating properties out of jsx expression containers - fixes #2766 2015-11-03 03:34:46 +00:00
Sebastian McKenzie
c1cceef128 make class constructor call transform ignore derived classes and fix transforming of classes in export default position - fixes #2700 2015-11-03 03:31:05 +00:00
Sebastian McKenzie
f160565004 add 6.0.19 changelog 2015-11-03 03:22:57 +00:00
Sebastian McKenzie
072fffcbdf v6.0.19 2015-11-03 03:14:31 +00:00
Sebastian McKenzie
8ec3e16794 fix remaining outer binding identifier issues 2015-11-03 03:13:39 +00:00
Sebastian McKenzie
64a9a6027e refactor t.getOuterBindingIdentifiers to only return the id if it's a function declaration 2015-11-03 03:05:57 +00:00
Sebastian McKenzie
e72d4508de only use outer bindings when registering a binding to prevent retreiving function params - fixes #2615 2015-11-03 03:00:27 +00:00