phantom10111
22dc8f8323
Fix scope cache returning an item that was just inserted
2015-11-07 23:09:54 +01:00
phantom10111
e0f1bd76cb
Fix clearNode clearing all properties instead of just symbols
2015-11-07 23:09:50 +01:00
Sebastian McKenzie
0370402a0d
fix lint errors
2015-11-06 20:55:05 -05:00
Sebastian McKenzie
bb1703e1a1
add header comment for scope cache function
2015-11-06 20:53:12 -05:00
Sebastian McKenzie
e80c206591
clear and inherit all symbols and underscore propertes in t.inherits and traverse.removeProperties
2015-11-06 20:52:59 -05:00
Sebastian McKenzie
63cd3008d2
clean up parameter names in Scope constructor
2015-11-06 20:42:16 -05:00
Sebastian McKenzie
8dd292075a
clean up scope cache
2015-11-06 20:39:16 -05:00
Sebastian McKenzie
acbeda8182
Merge branch 'master' of github.com:babel/babel
2015-11-06 19:56:52 -05:00
Sebastian McKenzie
9a1cf40296
Merge pull request #2861 from hzoo/i-2838
...
helper-remap-async-to-generator: account for ObjectMethod - fixes #2838
2015-11-06 19:40:30 -05:00
Sebastian McKenzie
a2202802e4
Merge pull request #2866 from hzoo/i-2865
...
transform-es2015-typeof-symbol: check for undefined - fixes #2865
2015-11-06 19:40:21 -05:00
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
Henry Zhu
bb5a7804bc
transform-es2015-typeof-symbol: check for undefined - fixes #2865
2015-11-06 06:54:51 -05:00
Henry Zhu
042af348bc
helper-remap-async-to-generator: account for ObjectMethod - fixes #2838
2015-11-05 23:57:53 -05: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
72c5ecf250
add babel-browser sanity check test
2015-11-05 12:58:28 +00: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