34 Commits

Author SHA1 Message Date
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
73b8daf370 add generators support via regenerator 2014-10-14 14:58:18 +11:00
Sebastian McKenzie
0056b0fcd6 nicer exec test option 2014-10-13 20:13:20 +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
Sebastian McKenzie
eaf98de962 normalise transformers to improve performance 2014-10-13 14:36:11 +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
51db2ee136 support shebangs - fixes #55 2014-10-13 11:55:33 +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
da4a5d48ad much better let scoping without wrapping functions #52 #49 #24 2014-10-13 04:37:28 +11:00
Sebastian McKenzie
99d626d23f add file class to simplify transforming 2014-10-13 03:26:49 +11:00
Sebastian McKenzie
4a1496ee05 remove traversal and removal of EmptyStatements and add source map testing support 2014-10-12 13:42:27 +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
298184763a remove ast option and always return it 2014-10-11 14:28:41 +11:00
Sebastian McKenzie
8d74a4d925 hoist FunctionDeclaration exports to top, possible fix for #30 2014-10-10 14:38:46 +11:00
Sebastian McKenzie
d511fc8094 add more reliable source-map tests 2014-10-10 09:15:24 +11:00
Sebastian McKenzie
5dec694e50 fix linting errors 2014-10-10 00:51:26 +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
83487f22a7 support destructuring in For*Statements 2014-10-09 22:41:12 +11:00
Sebastian McKenzie
4df2333938 support destructuring in AssignmentStatement and ForOf loops 2014-10-09 22:26:23 +11:00
Sebastian McKenzie
14dcdc0d4a check whitelist and blacklist for valid transformer names 2014-10-09 18:56:48 +11:00
Sebastian McKenzie
21f039e775 add support for unicode regexes - closes #11 2014-10-09 14:24:04 +11:00
Sebastian McKenzie
b06cd42a0b change --source-map-type [type] flag to --source-maps-inline and rename comment sourcemap type to inline 2014-10-08 23:59:38 +11:00
Sebastian McKenzie
4cb7b786dd always return { map, code } object on transform, update apis, change sourceMap comment adding, closes #6, #7 and #8 2014-10-08 23:49:19 +11:00
Sebastian McKenzie
6336558826 fix linting errors 2014-10-06 20:51:43 +11:00
Sebastian McKenzie
d80eab43eb fix code serialisation bug 2014-10-01 14:49:19 +10:00
Sebastian McKenzie
4aeb62bee9 fix sourcemap filename resolution 2014-10-01 14:36:31 +10:00
Sebastian McKenzie
650ff2e735 add support for sourceMapObject option, add support for source maps, update to changed api 2014-10-01 11:04:41 +10:00
Sebastian McKenzie
dbf25a82ee rename iterators to for-of 2014-09-29 18:28:51 +10:00
Sebastian McKenzie
b0cfbb20ca add iterators 2014-09-29 14:51:33 +10:00
Sebastian McKenzie
53a8c34d33 add support for extra es6 features 2014-09-29 03:43:46 +10:00
Sebastian McKenzie
b9ed7f0cb2 add array comprehension and property name shorthand 2014-09-29 03:11:59 +10:00
Sebastian McKenzie
1db8afa97a fix lint errors 2014-09-29 01:34:08 +10:00
Sebastian McKenzie
c97696c224 first commit 2014-09-28 23:39:22 +10:00