24 Commits

Author SHA1 Message Date
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