Sebastian McKenzie
|
5f8420f23e
|
move from ast-types and recast to acorn-ast-types and acorn-recast
|
2014-10-23 09:00:27 +11:00 |
|
Sebastian McKenzie
|
2b70df4141
|
add util.resolve
|
2014-10-22 21:43:35 +11:00 |
|
Sebastian McKenzie
|
45bab5709f
|
change require("recast").types to require("ast-types")
|
2014-10-19 17:52:41 +11:00 |
|
Sebastian McKenzie
|
e76462303e
|
add umd module formatter - closes #82
|
2014-10-19 17:39:41 +11:00 |
|
Sebastian McKenzie
|
fceff4b52f
|
add amd module formatter #82
|
2014-10-19 17:05:24 +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
|
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
|
45c8c29cdf
|
add --ignore and --extensions flag to 6to5-node to compliment require hook options
|
2014-10-16 10:02:16 +11:00 |
|
Sebastian McKenzie
|
7fb023c2b0
|
move util.generate to File::generate
|
2014-10-14 14:58:18 +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
|
7bb53314a8
|
move util.isPattern to traverse.isPattern
|
2014-10-13 20:12:28 +11:00 |
|
Sebastian McKenzie
|
5accf49ebf
|
fix mutatormap property bug
|
2014-10-13 16:36:07 +11:00 |
|
Sebastian McKenzie
|
8b7d58fc1f
|
add ignore to dotfile templates
|
2014-10-13 14:25:19 +11:00 |
|
Sebastian McKenzie
|
964f50bdc8
|
remove ast-types dependency and use the exported recast ast-types
|
2014-10-13 14:11:08 +11:00 |
|
Sebastian McKenzie
|
737c349775
|
add util.isReferenced to check if a node is directly referenced
|
2014-10-13 05:34:18 +11:00 |
|
Sebastian McKenzie
|
da4a5d48ad
|
much better let scoping without wrapping functions #52 #49 #24
|
2014-10-13 04:37:28 +11:00 |
|
Sebastian McKenzie
|
aa7c9488b0
|
hardcode aliasArguments
|
2014-10-13 03:27:27 +11:00 |
|
Sebastian McKenzie
|
73c491ecb4
|
better arguments aliasing for arrow functions, add it to block binding - fixes #52
|
2014-10-12 15:32:40 +11:00 |
|
Sebastian McKenzie
|
86903f1087
|
remove unused formatJSON method, more reliable parse errors
|
2014-10-12 13:41:52 +11:00 |
|
Sebastian McKenzie
|
16010575b5
|
add missing util tests and remove dead util methods
|
2014-10-11 23:39:56 +11:00 |
|
Sebastian McKenzie
|
01413e5153
|
recapture stack trace in case the stack was built prior
|
2014-10-11 22:40:09 +11:00 |
|
Sebastian McKenzie
|
9a8dfd105e
|
add jsx to canCompile
|
2014-10-11 22:00:22 +11:00 |
|
Sebastian McKenzie
|
1571ba2045
|
add sourceMapName and sourceFileName options, make them default to the filename option - resolves #44
|
2014-10-11 15:01:42 +11:00 |
|
Sebastian McKenzie
|
ab46a26508
|
treat arrow functions as another function type when transforming
|
2014-10-11 14:08:53 +11:00 |
|
Sebastian McKenzie
|
a40cbc2cee
|
make class methods unenumerable - fixes #41
|
2014-10-11 11:49:03 +11:00 |
|
Sebastian McKenzie
|
603ae290cd
|
check for absolute path before joining cwd in 6to5-node - fixes #43
|
2014-10-11 09:30:58 +11:00 |
|
Sebastian McKenzie
|
a484ea6003
|
remove traverse.replace and let traverse deal with it
|
2014-10-10 14:37:23 +11:00 |
|
Sebastian McKenzie
|
5dec694e50
|
fix linting errors
|
2014-10-10 00:51:26 +11:00 |
|
Sebastian McKenzie
|
6ec00f6679
|
remove old requires
|
2014-10-10 00:49:47 +11:00 |
|
Sebastian McKenzie
|
98ab869af8
|
switch from escodegen to recast which is slower but far superior
|
2014-10-10 00:47:39 +11:00 |
|
Sebastian McKenzie
|
fd2187b37d
|
ensure BlockStatement when we're going to be pushing nodes
|
2014-10-09 22:58:36 +11:00 |
|
Sebastian McKenzie
|
4df2333938
|
support destructuring in AssignmentStatement and ForOf loops
|
2014-10-09 22:26:23 +11:00 |
|
Sebastian McKenzie
|
439b378ebf
|
add browser build - closes #17
|
2014-10-09 15:24:57 +11:00 |
|
Sebastian McKenzie
|
fc7c26e924
|
upgrade to esprima-fb - finalise es6 module syntax - closes #14
|
2014-10-09 13:30:22 +11:00 |
|
Sebastian McKenzie
|
6f487a8899
|
change 6to5 source-map flag operation
|
2014-10-08 18:07:21 +11:00 |
|
Sebastian McKenzie
|
1ddb70839e
|
add checks for templates and templates directory existence
|
2014-10-07 21:17:40 +11:00 |
|
Sebastian McKenzie
|
56fb41a616
|
add 6to5-node bin
|
2014-10-02 09:55:08 +10:00 |
|
Sebastian McKenzie
|
93ac9ad7d7
|
remove dead code in util
|
2014-10-01 20:19:10 +10:00 |
|
Sebastian McKenzie
|
4aeb62bee9
|
fix sourcemap filename resolution
|
2014-10-01 14:36:31 +10:00 |
|
Sebastian McKenzie
|
d47ab4ee67
|
remove old removeLoc call for templates
|
2014-10-01 11:06:52 +10:00 |
|
Sebastian McKenzie
|
abb146fff6
|
nicen up util methods
|
2014-10-01 11:02:46 +10:00 |
|
Sebastian McKenzie
|
908beea515
|
dry up array comprehension for single block
|
2014-09-29 16:27:35 +10:00 |
|
Sebastian McKenzie
|
b0cfbb20ca
|
add iterators
|
2014-09-29 14:51:33 +10:00 |
|
Sebastian McKenzie
|
886ed42b78
|
add util.errorWithNode method that returns an error with mapped location properties
|
2014-09-29 12:24:12 +10:00 |
|
Sebastian McKenzie
|
1db8afa97a
|
fix lint errors
|
2014-09-29 01:34:08 +10:00 |
|
Sebastian McKenzie
|
740a9167e4
|
fix esprima parse options
|
2014-09-29 01:03:12 +10:00 |
|
Sebastian McKenzie
|
c97696c224
|
first commit
|
2014-09-28 23:39:22 +10:00 |
|