1620 Commits

Author SHA1 Message Date
Sebastian McKenzie
fb67ab9b5d make super behaviour more spec compliant - fixes #32 2014-10-10 15:49:28 +11:00
Sebastian McKenzie
35bb0bc71d inherit super class static properties - fixes #31 2014-10-10 15:07:55 +11:00
Sebastian McKenzie
76f1abe5b0 remove old escodegen hack 2014-10-10 15:07:10 +11:00
Sebastian McKenzie
8d74a4d925 hoist FunctionDeclaration exports to top, possible fix for #30 2014-10-10 14:38:46 +11:00
Sebastian McKenzie
a484ea6003 remove traverse.replace and let traverse deal with it 2014-10-10 14:37:23 +11:00
Sebastian McKenzie
3e34bbe722 support static property on ClassMethods - fixes #28 2014-10-10 13:57:08 +11:00
Sebastian McKenzie
3cb8866fcc copy rest to class constructor - fixes #29 2014-10-10 13:51:13 +11:00
Sebastian McKenzie
9c5262baab support for non-Identifier/MemberExpression class super 2014-10-10 10:57:35 +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
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
a1bf8ab788 migrate to improved module syntax - fixes #25 2014-10-09 23:16:55 +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
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
b6e533ec5d handle ReturnStatements in block binding - closes #24 2014-10-09 20:19:22 +11:00
Sebastian McKenzie
14dcdc0d4a check whitelist and blacklist for valid transformer names 2014-10-09 18:56:48 +11:00
Sebastian McKenzie
e7ef64a5ad fix es6 visitor keys 2014-10-09 18:56:24 +11:00
Sebastian McKenzie
439b378ebf add browser build - closes #17 2014-10-09 15:24:57 +11:00
Sebastian McKenzie
2a2b2c427a more specific require for regexpu to prevent unneccesary loading 2014-10-09 15:24:09 +11:00
Sebastian McKenzie
b59168832c support tagged template literals - closes #16 2014-10-09 14:35:46 +11:00
Sebastian McKenzie
21f039e775 add support for unicode regexes - closes #11 2014-10-09 14:24:04 +11:00
Sebastian McKenzie
0664ccff98 add support for member expression super classes - closes #22 2014-10-09 14:03:19 +11:00
Sebastian McKenzie
7ee8f8ff3d support destructuring in parameter lists - closes #19 2014-10-09 13:52:40 +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
5d9fc19f76 support ClassExpression - fixes #21 2014-10-09 13:11:07 +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
6f487a8899 change 6to5 source-map flag operation 2014-10-08 18:07:21 +11:00
Sebastian McKenzie
577877b813 add support for this in computed property names 2014-10-08 15:36:45 +11:00
Sebastian McKenzie
b194461ba3 improve 6to5-node and fix register hook 2014-10-08 10:17:50 +11:00
Sebastian McKenzie
1ddb70839e add checks for templates and templates directory existence 2014-10-07 21:17:40 +11:00
Sebastian McKenzie
3ac9888bbd add polyfill 2014-10-07 20:22:30 +11:00
Sebastian McKenzie
6336558826 fix linting errors 2014-10-06 20:51:43 +11:00
Sebastian McKenzie
b97274cf3d move connect middleware and browserify to separate modules 2014-10-06 17:00:53 +11:00
Matt Brennan
800bbf8c22 Require missing _ 2014-10-03 11:12:53 +01:00
Sebastian McKenzie
2ccbc73a41 actually implement continue and break statement support to block binding 2014-10-03 20:00:52 +10:00
Sebastian McKenzie
5dabe50ed7 add support for break and continue in block binding 2014-10-03 10:50:53 +10:00
Sebastian McKenzie
56fb41a616 add 6to5-node bin 2014-10-02 09:55:08 +10:00
Sebastian McKenzie
9f46bcbe85 better node register 2014-10-02 09:53:28 +10:00
Sebastian McKenzie
93ac9ad7d7 remove dead code in util 2014-10-01 20:19:10 +10: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
d47ab4ee67 remove old removeLoc call for templates 2014-10-01 11:06:52 +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
5e41a88973 add more tests 2014-10-01 11:03:16 +10:00
Sebastian McKenzie
abb146fff6 nicen up util methods 2014-10-01 11:02:46 +10:00
Sebastian McKenzie
05c037d2d4 move transformers over to using ast-types when constructing new nodes 2014-10-01 11:01:49 +10:00
Sebastian McKenzie
ba1a27c90f exclude node_modules by default with register method 2014-09-29 20:38:26 +10:00