13320 Commits

Author SHA1 Message Date
Sebastian McKenzie
0683591c6c add new module formatters documentation 2014-10-19 17:49:09 +11:00
Sebastian McKenzie
44966849f9 remove useless root variable in umd module formatter 2014-10-19 17:48:59 +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
209093a3f0 move ImportbatchSpecifier definition to modules transformer 2014-10-19 15:23:37 +11:00
Sebastian McKenzie
7013e970d8 fix acorn to esprima module ast/syntax changes 2014-10-19 14:58:14 +11:00
Sebastian McKenzie
42a7973a9d add support for spreads anywhere in list - fixes #73 2014-10-19 14:52:37 +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
5bc4dfc14c add base umd and amd module formatter tests 2014-10-19 13:17:21 +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
Sebastian McKenzie
4f15bfcf1d v1.9.9 v1.9.9 2014-10-19 11:29:39 +11:00
Sebastian McKenzie
a405d6d3d5 Merge pull request #83 from thejameskyle/context-computed-spread-fix
Fix for spread on computed context
2014-10-19 11:11:54 +11:00
James Kyle
9c784436f0 Fix for spread on computed context 2014-10-18 17:07:23 -07:00
Sebastian McKenzie
88856e040d v1.9.8 v1.9.8 2014-10-18 15:49:47 +11:00
Sebastian McKenzie
9f493b23ab fix whitelist tests 2014-10-18 15:49:07 +11:00
Sebastian McKenzie
cc84b5e1a4 make use-strict a public transformer 2014-10-18 15:47:03 +11:00
Sebastian McKenzie
2be2e4e1ae simplify bin/6to5 util methods and fix double compilation bug with eval in 6to5-node 2014-10-18 15:46:15 +11:00
Sebastian McKenzie
435cd98480 add file argument to transformer.ast and fix ast transformer resolution bug 2014-10-18 15:45:39 +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
dcaea68240 fix up test styling and add use-strict declarator 2014-10-18 15:42:36 +11:00
Sebastian McKenzie
6c48e6cd66 add createClass displayName to react 2014-10-17 22:00:14 +11:00
Sebastian McKenzie
8e2abad41c v1.9.7 v1.9.7 2014-10-17 21:29:39 +11:00
Sebastian McKenzie
f06901ac05 add jsx and react transformer 2014-10-17 21:28:01 +11:00
Sebastian McKenzie
531ea91a07 add support for exit traversal functions to replace the node 2014-10-17 21:20:08 +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
112932f9ee add jsx elements to traversal visitor keys 2014-10-17 09:18:29 +11:00
Sebastian McKenzie
0efeed3d5e add destructuring no element test 2014-10-16 11:41:27 +11:00
Sebastian McKenzie
55fdf11555 add util list test 2014-10-16 11:41:13 +11:00
Sebastian McKenzie
d801c95f6e add hasType traverse test 2014-10-16 11:41:08 +11:00
Sebastian McKenzie
138d714589 add 6to5-node --extensions test 2014-10-16 11:05:35 +11:00
Sebastian McKenzie
123de49d9c v1.9.6 v1.9.6 2014-10-16 10:03:07 +11:00
Sebastian McKenzie
7cd574d7bc bump dependency versions 2014-10-16 10:02:22 +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
5b08924c02 add customisable extensions to require hook #75 2014-10-16 09:39:52 +11:00
Sebastian McKenzie
c2930c9650 v1.9.5 v1.9.5 2014-10-15 21:54:02 +11:00
Sebastian McKenzie
5db127e622 source-map support for 6to5/register 2014-10-15 21:52:03 +11:00
Sebastian McKenzie
e6ec26f77c v1.9.4 v1.9.4 2014-10-15 20:39:42 +11:00
Sebastian McKenzie
93f6bd7b3f fix version variable reference 2014-10-15 20:38:35 +11:00
Sebastian McKenzie
6e5e593840 fix semicolon 2014-10-15 20:36:27 +11:00
Sebastian McKenzie
965ea56255 simplify make publish 2014-10-15 20:33:55 +11:00
Sebastian McKenzie
0a287aba6c put require hook regex ignore into a code block 2014-10-15 15:48:29 +11:00
Sebastian McKenzie
c5da55324d v1.9.3 2014-10-15 15:35:03 +11:00
Sebastian McKenzie
74c8c3792c add more asserts to let scoping exec tests 2014-10-15 15:34:41 +11:00
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