Sebastian McKenzie
|
fceff4b52f
|
add amd module formatter #82
|
2014-10-19 17:05:24 +11:00 |
|
Sebastian McKenzie
|
209093a3f0
|
move ImportbatchSpecifier definition to modules transformer
|
2014-10-19 15:23:37 +11:00 |
|
Sebastian McKenzie
|
7013e970d8
|
fix acorn to esprima module ast/syntax changes
|
2014-10-19 14:58:14 +11:00 |
|
Sebastian McKenzie
|
42a7973a9d
|
add support for spreads anywhere in list - fixes #73
|
2014-10-19 14:52:37 +11:00 |
|
Sebastian McKenzie
|
a75248d2d2
|
remove jsx from valid extensions since we're now using acorn
|
2014-10-19 14:21:27 +11:00 |
|
Sebastian McKenzie
|
1f274a3b95
|
monkeypatch in acorn instead of esprima - immediately fixes #38, fixes #67 @thejameskyle
|
2014-10-19 13:21:56 +11:00 |
|
Sebastian McKenzie
|
4241227dbe
|
remove jsx and react transformers
|
2014-10-19 13:17:02 +11:00 |
|
Sebastian McKenzie
|
a1adca6b65
|
add support for custom module formatters - #82
|
2014-10-19 12:11:12 +11:00 |
|
James Kyle
|
9c784436f0
|
Fix for spread on computed context
|
2014-10-18 17:07:23 -07:00 |
|
Sebastian McKenzie
|
cc84b5e1a4
|
make use-strict a public transformer
|
2014-10-18 15:47:03 +11:00 |
|
Sebastian McKenzie
|
435cd98480
|
add file argument to transformer.ast and fix ast transformer resolution bug
|
2014-10-18 15:45:39 +11:00 |
|
Sebastian McKenzie
|
d3b088cc6d
|
move declaration insertion to a hidden transformer, add tabWidth to recast prettyPrint
|
2014-10-18 15:45:22 +11:00 |
|
Sebastian McKenzie
|
234d9997c8
|
add "use strict" declaration - closes #78
|
2014-10-18 15:44:44 +11:00 |
|
Sebastian McKenzie
|
6c48e6cd66
|
add createClass displayName to react
|
2014-10-17 22:00:14 +11:00 |
|
Sebastian McKenzie
|
f06901ac05
|
add jsx and react transformer
|
2014-10-17 21:28:01 +11:00 |
|
Sebastian McKenzie
|
531ea91a07
|
add support for exit traversal functions to replace the node
|
2014-10-17 21:20:08 +11:00 |
|
Sebastian McKenzie
|
0188556b36
|
forbid function declarations that reference block scoped variables
|
2014-10-17 21:19:51 +11:00 |
|
Sebastian McKenzie
|
aeac003dc8
|
add util.ensureExpressionType which will change a node from a declaration to an expression
|
2014-10-17 11:48:25 +11:00 |
|
Sebastian McKenzie
|
41ab47dde8
|
allow let scope access within FunctionDeclaration, add _block-hoist helper transformer - fixes #77
|
2014-10-17 11:09:49 +11:00 |
|
Sebastian McKenzie
|
112932f9ee
|
add jsx elements to traversal visitor keys
|
2014-10-17 09:18:29 +11:00 |
|
Sebastian McKenzie
|
45c8c29cdf
|
add --ignore and --extensions flag to 6to5-node to compliment require hook options
|
2014-10-16 10:02:16 +11:00 |
|
Sebastian McKenzie
|
5b08924c02
|
add customisable extensions to require hook #75
|
2014-10-16 09:39:52 +11:00 |
|
Sebastian McKenzie
|
5db127e622
|
source-map support for 6to5/register
|
2014-10-15 21:52:03 +11:00 |
|
Sebastian McKenzie
|
045fb3e3d8
|
nicer sourceMapping test code
|
2014-10-15 14:34:07 +11:00 |
|
Sebastian McKenzie
|
4ea9b9c028
|
better exec tests
|
2014-10-15 14:28:51 +11:00 |
|
Sebastian McKenzie
|
32e3948b34
|
implement custom require ignore regex - closes #72
|
2014-10-15 11:39:18 +11:00 |
|
Markus Wolf
|
db1dae1024
|
Fixed regenerator runtime require
|
2014-10-14 19:48:01 +02:00 |
|
Sebastian McKenzie
|
7f6bf078c0
|
avoid duplicate let references - fixes #66
|
2014-10-14 18:14:25 +11:00 |
|
Sebastian McKenzie
|
31dbe2b0b0
|
add back register method and add polyfill method
|
2014-10-14 15:22:25 +11:00 |
|
Sebastian McKenzie
|
7fb023c2b0
|
move util.generate to File::generate
|
2014-10-14 14:58:18 +11:00 |
|
Sebastian McKenzie
|
c9f56b838f
|
return vanilla object instead of modifying the recast PrintResult
|
2014-10-14 14:58:18 +11:00 |
|
Sebastian McKenzie
|
04466e3fea
|
move code generation to new method
|
2014-10-14 14:58:18 +11:00 |
|
Sebastian McKenzie
|
ef9060b0c3
|
remove unused register method
|
2014-10-14 14:58:18 +11:00 |
|
Sebastian McKenzie
|
73b8daf370
|
add generators support via regenerator
|
2014-10-14 14:58:18 +11:00 |
|
Sebastian McKenzie
|
7db9abb9dd
|
fix jshint errors
|
2014-10-14 14:58:17 +11:00 |
|
Sebastian McKenzie
|
835cfd2a15
|
add hasSpread helper to spread transformer
|
2014-10-14 14:58:17 +11:00 |
|
Sebastian McKenzie
|
e97086f5f7
|
always slice spread literals
|
2014-10-14 14:58:17 +11:00 |
|
Sebastian McKenzie
|
3b22cb283b
|
use templates instead of separate declarations logic
|
2014-10-14 14:58:17 +11:00 |
|
Sebastian McKenzie
|
6af0ffd97e
|
nicer automatic reference variables for comptued property names and property method assignment #54
|
2014-10-14 08:50:34 +11:00 |
|
Sebastian McKenzie
|
1f61e7675b
|
add file alias declarations so we can alias certain long function calls - resolves #62
|
2014-10-14 08:49:53 +11:00 |
|
Sebastian McKenzie
|
a9d101e3da
|
support nested arrow functions - fixes #60
|
2014-10-14 08:07:03 +11:00 |
|
Sebastian McKenzie
|
0056b0fcd6
|
nicer exec test option
|
2014-10-13 20:13:20 +11:00 |
|
Sebastian McKenzie
|
d412f46696
|
rename util.isPattern to traverse.isPattern
|
2014-10-13 20:13:10 +11:00 |
|
Sebastian McKenzie
|
7bb53314a8
|
move util.isPattern to traverse.isPattern
|
2014-10-13 20:12:28 +11:00 |
|
ahomu
|
9f267e54a9
|
fix typo writable
s/writeable/writable
|
2014-10-13 17:18:56 +09:00 |
|
Sebastian McKenzie
|
5accf49ebf
|
fix mutatormap property bug
|
2014-10-13 16:36:07 +11:00 |
|
Sebastian McKenzie
|
9d18905ce9
|
output shebang in transpiled code - fixes #55
|
2014-10-13 15:47:22 +11:00 |
|
Sebastian McKenzie
|
0859d0a122
|
fix uncovered branch in destructuring
|
2014-10-13 14:55:36 +11:00 |
|
Sebastian McKenzie
|
428d53a50d
|
fix jshint errors
|
2014-10-13 14:45:22 +11:00 |
|
Sebastian McKenzie
|
453502b4f2
|
add Transformer class that deals with running a transformer against a File
|
2014-10-13 14:45:15 +11:00 |
|