Sebastian McKenzie
87d879e236
Merge branch 'master' of github.com:babel/babel
2015-05-09 16:53:05 +01:00
Sebastian McKenzie
2a5cb9d21b
move some utility transformers to minification
2015-05-09 16:52:31 +01:00
Amjad Masad
6834cc5b46
Add failing tests for trailing commas in new expressions
2015-05-08 19:12:10 -07:00
Sebastian McKenzie
080b26769c
remove compat-table
2015-05-09 00:09:19 +01:00
Sebastian McKenzie
4194857086
fix system modules test to reflect strict hoisting behaviour
2015-05-08 23:58:25 +01:00
Sebastian McKenzie
1179c44c5b
share comments with siblings when nodes are removed - fixes #1484
2015-05-08 23:57:12 +01:00
Sebastian McKenzie
f6d9b270c9
update to tracuer master
2015-05-08 23:48:30 +01:00
Sebastian McKenzie
1be0159b01
Merge pull request #1484 from amasad/type-comment-print
...
[Flow] Add failing tests for printing comments w/ type alias
2015-05-08 23:46:18 +01:00
Sebastian McKenzie
89e31085d2
ensure dynamic imports are hoisted
2015-05-08 23:33:30 +01:00
Sebastian McKenzie
920c84a1f2
move shadow function visitors to entrance instead of exit
2015-05-08 23:33:20 +01:00
Amjad Masad
ed56fecd04
[Flow] Add failing tests for printing comments w/ type alias
2015-05-08 15:33:00 -07:00
Sebastian McKenzie
d6a5c39079
update classes to reflect new transformer precedence
2015-05-08 22:52:19 +01:00
Sebastian McKenzie
4a439d8c8e
update flow strip type annotations test
2015-05-08 15:52:08 +01:00
Sebastian McKenzie
8f52229a86
add get function name to source map classes test
2015-05-08 15:25:50 +01:00
Sebastian McKenzie
b31c14c52a
Merge branch 'master' into single-pass
2015-05-08 00:24:33 +01:00
Sebastian McKenzie
8daf95bf59
name additional methods that are now covered since the naming is done in tandem
2015-05-08 00:22:43 +01:00
Sebastian McKenzie
a5cda5caa7
hoist param declaration when performing tco - fixes #1478
2015-05-07 23:14:03 +01:00
Sebastian McKenzie
c3a08d413f
attach auxiliary comment to function declaration helpers - fixes #1476
2015-05-07 20:11:31 +01:00
Sebastian McKenzie
a1bc0704ab
attach auxiliary comment to function declaration helpers - fixes #1476
2015-05-07 20:11:02 +01:00
Sebastian McKenzie
6f664ca64e
merge internal transformers into single traversal pass
2015-05-07 15:53:22 +01:00
Sebastian McKenzie
bf0e4ede00
pass correct function scope to nameMethod.property when naming class methods - fixes #1456
2015-05-06 16:03:15 +01:00
Christopher Monsanto
6a82eb5a5c
disallow async constructors -- fixes #1454
2015-05-06 02:50:11 -04:00
Sebastian McKenzie
f4b9faa6b3
clean up module declaration based UID generation - fixes #1437
2015-05-04 22:36:18 +01:00
Sebastian McKenzie
c1a6ff7f44
rename getModuleName option to getModuleId
2015-05-04 22:31:34 +01:00
Sebastian McKenzie
2c0c2f12df
avoid trying to replace a node with itself, antipattern!
2015-05-04 22:20:52 +01:00
Jay Phelps
340e75eb59
Added getModuleName() option as a function, allowing you to manipulate the name as needed
2015-05-04 13:30:57 -07:00
Sebastian McKenzie
53808a6d45
fix test/core/path imports
2015-05-04 15:25:35 +01:00
Sebastian McKenzie
9e0cf84505
adds test for #1431
2015-05-04 15:06:27 +01:00
Sebastian McKenzie
b8b70f2f4a
rejigger around parse mechanics
2015-05-04 03:57:28 +01:00
Sebastian McKenzie
3878bd812c
remove native super inheritance from classes - fixes #1424
2015-05-03 23:45:26 +01:00
Sebastian McKenzie
102cbbe493
fix up crazy parse argument order
2015-05-03 23:31:37 +01:00
Sebastian McKenzie
4be27ee72c
update bin tests to reflect new helper format
2015-05-03 17:47:31 +01:00
Sebastian McKenzie
ce8beec22c
update tests to reflect new helper format
2015-05-03 17:28:32 +01:00
Sebastian McKenzie
90a1c81d30
split up es3.xLiterals transformers - fixes #1415
2015-05-01 23:13:30 +01:00
Sebastian McKenzie
c28415c38a
handle shorthand objects properly when renaming bindings, create new ones and refresh the stored binding identifier if necessary - fixes #1406
2015-05-01 15:23:46 +01:00
Sebastian McKenzie
e9bcccffbd
futz the bundler idea
2015-05-01 03:26:12 +01:00
Sebastian McKenzie
aaf4cbf06f
start on babel module bundling and type inferrence
2015-05-01 02:59:59 +01:00
Sebastian McKenzie
d9169a87ad
allow util.arrayify to take arbitrary types and coerce it into an array - #1398
2015-05-01 00:41:47 +01:00
Sebastian McKenzie
d26e7ad577
fix no RHS in class properties causing undefined to be used instead of a noop - fixes #1396
2015-04-30 23:09:17 +01:00
Sebastian McKenzie
c12e8122f8
fix browser tests
2015-04-30 20:11:32 +01:00
Sebastian McKenzie
92e7a01d14
remove regenerator and test262 git submodule and tests - closes #1393
2015-04-30 20:03:34 +01:00
Sebastian McKenzie
ee0c88a070
clean up plugin manager constructor and add some basic plugin manager tests
2015-04-30 18:06:15 +01:00
Sebastian McKenzie
1066a42fb2
fix weird path context state by clearing the context before we visit it
2015-04-30 17:19:27 +01:00
Sebastian McKenzie
0dc6b582a6
Merge pull request #1385 from monsanto/fix-var-checker
...
fix reference check for shorthand properties
2015-04-30 16:43:36 +01:00
Sebastian McKenzie
d8d70ba137
Merge pull request #1388 from amasad/master
...
Add failing test for printing block line comments with retainLines option
2015-04-30 16:42:55 +01:00
Sebastian McKenzie
f23c916520
make function name inferrence smarter - fixes #1367
2015-04-30 16:41:25 +01:00
Sebastian McKenzie
471d60e5cd
Merge branch 'master' of github.com:babel/babel
2015-04-30 13:53:58 +01:00
Amjad Masad
4c2ae5dd19
Parenthesize statement argument when on a different line
2015-04-30 05:43:08 -07:00
Amjad Masad
a540cbe801
Failing test with return not on the same line as it's expression
...
Note that this is not a parenthesis issue but this was the easiest way
to reproduce it. I ran into it when testing generators with `retainLines`
and the generated `return` statement (replacing yeild) was printed on
the line preceding the expression being yielded.
2015-04-30 05:06:56 -07:00
Amjad Masad
34cc577fa2
Add failing test for printing block line comments with retainLines option
2015-04-30 04:37:45 -07:00