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
|
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
|
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
|
7f6bf078c0
|
avoid duplicate let references - fixes #66
|
2014-10-14 18:14:25 +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
|
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
|
d412f46696
|
rename util.isPattern to traverse.isPattern
|
2014-10-13 20:13:10 +11:00 |
|
ahomu
|
9f267e54a9
|
fix typo writable
s/writeable/writable
|
2014-10-13 17:18:56 +09: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
|
8bc182fdb5
|
use ast-types instead of using a template
|
2014-10-13 14:25:00 +11:00 |
|
Sebastian McKenzie
|
e00ba1d8bb
|
remove array comprehension if template as it's nastier than using ast-types
|
2014-10-13 14:11:20 +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
|
0795693d97
|
nice alias function definitions
|
2014-10-13 12:45:52 +11:00 |
|
Sebastian McKenzie
|
f7a84c36cd
|
inherit temporary computed property closure name from AssignmentExpressions and VariableDeclarators - #56
|
2014-10-13 12:25:40 +11:00 |
|
Sebastian McKenzie
|
4f14810321
|
remove completed todo
|
2014-10-13 05:35:59 +11:00 |
|
Sebastian McKenzie
|
3d2c41bb5a
|
dry up array comprehension and arrow functions by introducing an alias-functions transformer
|
2014-10-13 05:35:26 +11:00 |
|
Sebastian McKenzie
|
a6ffde6e9b
|
add traversal node aliases to be dry
|
2014-10-13 05:34:46 +11:00 |
|
Sebastian McKenzie
|
79f2dbb8d7
|
better let scoping CallExpression comments and layout
|
2014-10-13 04:48:44 +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
|
fae60291b3
|
remove unused path variable
|
2014-10-13 03:27:01 +11:00 |
|
Sebastian McKenzie
|
99d626d23f
|
add file class to simplify transforming
|
2014-10-13 03:26:49 +11:00 |
|
Sebastian McKenzie
|
8f587fa833
|
rename block binding to let scoping
|
2014-10-13 03:26:13 +11:00 |
|
Sebastian McKenzie
|
38fc5159a3
|
add support for ClassDeclaration and FunctionDeclaration read-only checking - fixes #53
|
2014-10-13 03:25:48 +11:00 |
|
Sebastian McKenzie
|
52d4d73f0b
|
remove block binding because the current implementation is flaky and will have to be rewritten from scratch without the issue of wrapping functions
|
2014-10-12 16:18:18 +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
|
c3541a65cc
|
remove null supername hack
|
2014-10-12 13:41:22 +11:00 |
|
Sebastian McKenzie
|
2e404c92c8
|
better support for Identifier in ForOfStatement
|
2014-10-12 13:39:59 +11:00 |
|
Sebastian McKenzie
|
bb697c6436
|
fix static member expression calls, make classes more spec-compliant
|
2014-10-12 13:39:10 +11:00 |
|
Sebastian McKenzie
|
5edbb63f9a
|
more reliable super parsing in classes - fixes #51
|
2014-10-12 09:39:29 +11:00 |
|
Sebastian McKenzie
|
27cb0f6f87
|
fix blacklist traversal bug - fixes #49
|
2014-10-12 09:34:01 +11:00 |
|
Sebastian McKenzie
|
0f7da020e3
|
change obj references to a unique identifier
|
2014-10-12 00:23:13 +11:00 |
|
Sebastian McKenzie
|
2dbdb9e3a5
|
support patterns in constants
|
2014-10-11 23:31:53 +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 |
|