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
bb8b6ab718
v5.8.33
2015-10-29 08:40:32 +00:00
Sebastian McKenzie
de12747a3c
comment out semicolon removal for right braces in code generator - fixes #2621
2015-10-29 08:39:48 +00:00
Sebastian McKenzie
08fafb748c
v5.8.32
2015-10-28 23:15:16 +00:00
Sebastian McKenzie
794f696a59
don't register function as binding path for params
2015-10-28 23:09:56 +00:00
Sebastian McKenzie
953a121aad
make the binding path for a function declaration the function itself
2015-10-28 23:06:47 +00:00
Sebastian McKenzie
25daed751d
making the binding path for ids and params the function itself
2015-10-28 23:04:58 +00:00
Sebastian McKenzie
c6d7e704ff
v5.8.31
2015-10-28 22:57:35 +00:00
Sebastian McKenzie
37d40a03c1
only explicitly add id when scope tracking function expressions - fixes #2617
2015-10-28 22:54:37 +00:00
Sebastian McKenzie
9146a4cc81
v5.8.30
2015-10-28 01:14:19 +00:00
Amjad Masad
382c0d9c1a
Parens are needed unless it's a logical expression
2015-10-27 18:10:13 -07:00
Sebastian McKenzie
f9c923b87f
Merge pull request #2609 from amasad/extra-parens
...
If binary expression precedence is equal no need for parens. Fixes #2602
2015-10-28 00:26:31 +00:00
Amjad Masad
2d36d8b616
If binary expression precedence is equal no need for parens. Fixes #2602
2015-10-27 17:25:36 -07:00
Sebastian McKenzie
5c514bfa75
Merge pull request #2608 from amasad/compact-remove-semi
...
No need for semicolons at the end of the block in compact mode
2015-10-28 00:14:28 +00:00
Amjad Masad
9011dcbfeb
No need for semicolons at the end of the block in compact mode
2015-10-27 17:01:09 -07:00
Sebastian McKenzie
86b4f0dbe8
Merge pull request #2606 from amasad/for-in-edge-case
...
Special case paren printing in for-loop init node
2015-10-27 23:32:55 +00:00
Sebastian McKenzie
7d60bcbcb6
Merge pull request #2607 from amasad/extra-paren-return
...
It's safe not to parenthesize SequenceExpressions in ReturnStatements
2015-10-27 23:32:35 +00:00
Amjad Masad
84d80df181
It's safe not to parenthesize SequenceExpressions in ReturnStatements
2015-10-27 16:28:19 -07:00
Amjad Masad
50289bd2b0
whitespace
2015-10-27 16:11:37 -07:00
Amjad Masad
6caaf68024
Special case paren printing in for-loop init node
...
The printer doesn't have ancestry information so we have to set a flag before printing for's `node.init`.
We also need to make sure we're not printing extra parens so we check `node.needsParens` before adding them.
2015-10-27 16:04:46 -07:00
Sebastian McKenzie
3974dd762d
add node 4.0 to travis matrix
2015-10-25 21:04:02 +00:00
Sebastian McKenzie
332bde6a0d
v5.8.29
2015-10-24 17:26:54 +01:00
Sebastian McKenzie
355905a3bb
v5.8.28
2015-10-23 18:00:12 +01:00
Sebastian McKenzie
37604bd572
v5.8.27
2015-10-23 17:54:03 +01:00
Sebastian McKenzie
35169762ef
add 5.8.27 changelog
2015-10-23 17:53:21 +01:00
Sebastian McKenzie
7c3f0f98f5
remove faulty tests
2015-10-23 17:52:21 +01:00
Sebastian McKenzie
0b71625440
sync babel 5.x with 6.0 scope/traversal fixes - fixes #2570 , fixes #2574
2015-10-23 17:51:18 +01:00
Sebastian McKenzie
745f9fb5bd
clean up babel-code-frame, var -> let etc - closes #2505
2015-10-08 01:19:27 +01:00
Sebastian McKenzie
9c2b4e30b6
use basename of relative filename when using source map defaults - fixes #1567
2015-10-05 17:46:59 +01:00
Sebastian McKenzie
71031be044
Merge pull request #2405 from jhen0409/patch-1
...
[es6.tailCall] Move '<arg> = undefined' to the place in front of Continue statement.
2015-10-05 17:26:45 +01:00
Sebastian McKenzie
9320d661f9
flesh out async-to-generator and bluebird-coroutines transformers, add babel-helper-async-to-generator module
2015-10-05 17:25:43 +01:00
Sebastian McKenzie
de45daaef8
don't execute the callback inside of a try-catch as if the callback errors then it'll emit the error back to the callback
2015-10-05 16:46:45 +01:00
Sebastian McKenzie
52202543ff
better error messages for unknown extends clause and unknown options
2015-10-05 16:46:20 +01:00
Sebastian McKenzie
51c9d59050
allow plugins to be instances
2015-10-05 16:45:47 +01:00
Sebastian McKenzie
210910513d
remove babel.register
2015-10-05 16:44:59 +01:00
Sebastian McKenzie
5006403cd7
remove polyfill from babel/register
2015-10-05 16:44:39 +01:00
Sebastian McKenzie
d108d799bf
remove babel.parse and encourage use of babylon directly
2015-10-05 16:44:14 +01:00
Sebastian McKenzie
64d5ec090b
extend Store from Map
2015-10-05 16:43:37 +01:00
Sebastian McKenzie
72b74de833
add 5.8.23-5.8.26 changelog
2015-10-05 16:43:24 +01:00
Sebastian McKenzie
6467bf6809
add script to generate a flow lib file for babel types
2015-10-05 16:42:08 +01:00
Sebastian McKenzie
3e6b76aa41
add support for devDependencies to publish script
2015-10-05 16:41:54 +01:00
Sebastian McKenzie
c4dbb38f8a
remove bjs
2015-10-05 16:41:36 +01:00
Sebastian McKenzie
91f9cfb902
remove browser tests
2015-10-05 16:41:32 +01:00
Sebastian McKenzie
65e059e69b
allow local packages to be specified as devDependencies in bootstrap script
2015-10-05 16:41:11 +01:00
Sebastian McKenzie
95c9b2c8e0
add filename to babylon test errors
2015-10-05 16:40:55 +01:00
Sebastian McKenzie
3a89ee84ef
update babylon tests
2015-10-05 16:40:43 +01:00
Sebastian McKenzie
55976b6392
remove redundant generator tests
2015-10-05 16:40:18 +01:00
Sebastian McKenzie
6568aaa175
add babel-polyfill to CLI
2015-10-05 16:39:16 +01:00
Sebastian McKenzie
31e4d2e515
remove CLI aliases
2015-10-05 16:38:53 +01:00