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
Henry Zhu
f1a62ef078
transform-es2015-classes: check if node.id is null
2015-11-05 10:25:56 -05: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
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
Amjad Masad
e33ad7d2fb
Convert arrow functions when remaping to generator. Fixes #2789
2015-11-03 14:58:31 -08:00
Sebastian McKenzie
a9ac3b0c94
move instanceof functionality to separate plugin - fixes #2745
2015-11-03 19:22:51 +00:00
Sebastian McKenzie
dd76272fb1
fix source map merging - closes #2522 , fixes #2336
2015-11-03 14:24:36 +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
a639bffcd6
clean up auxiliaryComment
2015-11-03 02:46:00 +00:00
Sebastian McKenzie
83dca691d2
remove use strict directive
2015-11-02 19:47:09 +00:00
Sebastian McKenzie
d2b67d5048
remove buggy traceur test
2015-11-02 19:40:27 +00:00
Sebastian McKenzie
ff8bafaece
Merge pull request #2754 from hzoo/fix-simp-comp-op
...
WIP: Fix transform-simplify-comparison-operators plugin
2015-11-02 19:37:28 +00:00
Henry Zhu
44e64c41f8
Fix transform-simplify-comparison-operators plugin
2015-11-02 14:31:48 -05:00
Sebastian McKenzie
d91fab7337
Merge pull request #2528 from STRML/react-inline-children-fix
...
optimisations.react.inline: don't pass empty array.
2015-11-02 19:31:26 +00:00
Sebastian McKenzie
82dbbc95e1
Merge pull request #2737 from babel/thejameskyle-patch-1
...
Fix minify-booleans transform
2015-11-02 19:27:53 +00:00
Sebastian McKenzie
d1d0ed901e
fix export of parameters when renaming the binding of exported functions - fixes #2753
2015-11-02 19:24:23 +00:00
Sebastian McKenzie
2bdc222c0b
wWhen merging options, take precedence over the current array - fixes #2648
2015-11-02 19:21:24 +00:00
James Kyle
45d8ac7c12
Add minify-booleans test
2015-11-02 00:38:56 -08:00
Sebastian McKenzie
7a3fef26fa
update tests
2015-11-02 07:11:12 +00:00
Sebastian McKenzie
41ccee89c9
fix runtime plugin helper generation - fixes #2726
2015-11-02 06:56:36 +00:00
Sebastian McKenzie
9702ceb074
remove property mutators transfrom from esnext computed properties test
2015-11-01 06:01:48 +00:00
Sebastian McKenzie
f7073383e3
fix some tests to run on node 0.10
2015-11-01 05:01:34 +00:00
Sebastian McKenzie
bbb1db7e6d
add arrow functions transform to jscript test plugins
2015-11-01 04:39:43 +00:00
Sebastian McKenzie
39bdecb119
fix async function remap helper from outputing incorrect calls causing wrong scoping - fixes #2708 - fixes #2715
2015-11-01 04:39:31 +00:00
Sebastian McKenzie
f89724929e
remove parse test helper
2015-11-01 03:38:22 +00:00
Sebastian McKenzie
bfef4fa46a
fix transform locations in tests
2015-10-31 20:52:36 +00:00
Sebastian McKenzie
1ba7ff873c
remove excess newline
2015-10-30 23:26:28 +00:00
Sebastian McKenzie
5c7f88a5fb
fix parameters after defaults in arrow functions refering to the wrong arguments - fixes #2682
2015-10-30 17:39:57 +00:00
Sebastian McKenzie
309a7556ff
ensure that invalid identifier JSX attribute keys are quoted when transforming to calls - fixes #2675
2015-10-30 17:16:47 +00:00
Sebastian McKenzie
26cb025151
fix SystemJS module formatter exporting function parameters - fixes #2681
2015-10-30 17:05:26 +00:00
Sebastian McKenzie
24df725f48
add use strict directive to modules tests
2015-10-30 04:52:30 +00:00
Samuel Reed
b98d24594a
optimisations.react.inline: don't pass empty array.
...
This fixes incompatibilities with code that check for the existence
of children.
2015-10-29 21:18:07 -05:00
Sebastian McKenzie
b2af8af7c8
v6.0.0
2015-10-29 18:02:15 +00:00
Sebastian McKenzie
ae7d5367f1
6.0.0
...
I'm extremely stupid and didn't commit as I go. To anyone reading this
I'm extremely sorry. A lot of these changes are very broad and I plan on
releasing Babel 6.0.0 today live on stage at Ember Camp London so I'm
afraid I couldn't wait. If you're ever in London I'll buy you a beer
(or assorted beverage!) to make up for it, also I'll kiss your feet and
give you a back massage, maybe.
2015-10-29 17:51:24 +00:00
Sebastian McKenzie
55976b6392
remove redundant generator tests
2015-10-05 16:40:18 +01:00
Sebastian McKenzie
3720174a32
update tests to reflect new whitelist by default model
2015-09-05 20:02:36 +01:00
Sebastian McKenzie
b8d53c1811
fix predence of destructuring parameters - fixes #2269
2015-08-27 11:10:22 -07:00
Sebastian McKenzie
a4a347b4f0
Merge branch 'master' into development
...
Conflicts:
packages/babel/src/generation/generators/flow.js
packages/babel/src/generation/generators/types.js
packages/babel/src/transformation/transformers/es6/for-of.js
packages/babel/src/traversal/path/inference/inferers.js
packages/babel/src/types/index.js
packages/babel/src/util.js
packages/babel/test/util.js
2015-08-15 19:50:34 -04:00
Sebastian McKenzie
67c96b6ed5
move babel polyfill into a separate package
2015-08-12 02:57:12 +01:00
Sebastian McKenzie
3ef9bffcc2
split up babel core into multiple modules
2015-08-11 17:40:59 +01:00