Sebastian McKenzie
3361b81658
expose parentPath
2015-02-08 01:27:00 +11:00
Sebastian McKenzie
a15f218e9b
dump code to esvalid errors
2015-02-08 01:26:46 +11:00
Sebastian McKenzie
067cf43f52
fix File::addHelper unknown helper error message
2015-02-08 00:01:26 +11:00
Sebastian McKenzie
689ce048e6
remove tail call exec test
2015-02-07 23:52:41 +11:00
Sebastian McKenzie
8a143bf957
use a template in tail call transformer - @RReverser
2015-02-07 23:52:35 +11:00
Sebastian McKenzie
9f7bcf585d
remove dead TraversalContext code
2015-02-07 23:51:05 +11:00
Sebastian McKenzie
f9efd8a272
fix error message in File::addHelper
2015-02-07 23:50:56 +11:00
Sebastian McKenzie
8cd2326ff9
Merge branch 'master' of github.com:6to5/6to5
2015-02-07 23:37:51 +11:00
Sebastian McKenzie
eb1ae70bfa
Merge pull request #701 from RReverser/master
...
Add tail recursion optimization.
2015-02-07 23:37:43 +11:00
Ingvar Stepanyan
24ef81908c
Increase test timeout for Travis.
2015-02-07 14:34:23 +02:00
Ingvar Stepanyan
b53b41cef3
Provide placeholders for proper function length.
2015-02-07 14:26:03 +02:00
Sebastian McKenzie
ad245ed46a
3.4.1
2015-02-07 19:48:59 +11:00
Sebastian McKenzie
3f6199493e
v3.4.1
v3.4.1
2015-02-07 19:48:28 +11:00
Sebastian McKenzie
e06aac4783
Revert "make export { foo as default }; trigger common interop"
...
This reverts commit 07c7b5b419a99802e2949b72c5cbf6ee4010929a.
2015-02-07 19:40:49 +11:00
Sebastian McKenzie
6a5adfe338
update 3.4.1 changelog
2015-02-07 19:40:29 +11:00
Sebastian McKenzie
07c7b5b419
make export { foo as default }; trigger common interop
2015-02-07 19:29:59 +11:00
Sebastian McKenzie
7f985fe08a
fix incorrect strict module formatter variable - fixes #706
2015-02-07 19:29:32 +11:00
Sebastian McKenzie
38f02a6429
add 3.4.1 changelog
2015-02-07 19:19:55 +11:00
Sebastian McKenzie
f943bdcac0
Merge branch 'master' of github.com:6to5/6to5
2015-02-07 19:18:29 +11:00
Sebastian McKenzie
8dc634edfc
add options to require cache key - fixes #707
2015-02-07 19:18:12 +11:00
Sebastian McKenzie
05b9cf17f0
Merge pull request #708 from tricknotes/avoid-conflict
...
Switch short option of `--module-ids` from `-i` to `-M`
2015-02-07 19:12:22 +11:00
Ryunosuke SATO
69bbe89616
Switch short option of --module-ids from -i to -M
...
`-i` conflicts with `--optional` option.
```
$ bin/6to5/index.js --help | grep "\-i,"
-i, --optional [list] List of optional transformers to enable
-i, --module-ids Insert module id in modules
```
2015-02-07 16:37:38 +09:00
Sebastian McKenzie
6b49958f7c
Merge branch 'master' of github.com:6to5/6to5
2015-02-07 15:59:15 +11:00
Sebastian McKenzie
e75ce94578
move reactCompat option onto an optional transformer
2015-02-07 15:59:00 +11:00
Sebastian McKenzie
f666473724
Merge pull request #705 from cesarandreu/patch-2
...
Add 6to5-runtime README
2015-02-07 13:54:58 +11:00
Cesar Andreu
ae817e3c9c
Add 6to5-runtime README
2015-02-06 18:53:42 -08:00
Sebastian McKenzie
2e9352de14
3.4.0
2015-02-07 10:44:06 +11:00
Sebastian McKenzie
1e9e55ddef
fix browser build location in makefile
2015-02-07 10:42:28 +11:00
Sebastian McKenzie
0799ed7116
v3.4.0
v3.4.0
2015-02-07 10:41:38 +11:00
Sebastian McKenzie
5537250d4f
fix linting errors
2015-02-07 10:40:01 +11:00
Sebastian McKenzie
7ada50937b
add 3.4.0 changelog
2015-02-07 10:39:24 +11:00
Sebastian McKenzie
f2ae88af93
add commonStandard module formatter - fixes #675
...
will be merged into strict formatters in next major
TODO: rewrite all module formatters as they've gotten out of han
2015-02-07 10:31:52 +11:00
Sebastian McKenzie
726451f86f
reverts d6b39bc89b6022aecf69da500deb5b88a0266b85
2015-02-07 09:54:18 +11:00
Sebastian McKenzie
306cfc6328
fix 3.3.12 changelog misspelling
2015-02-07 09:53:18 +11:00
Sebastian McKenzie
a051a47048
reorder types requires
2015-02-07 08:11:42 +11:00
Ingvar Stepanyan
5b2216b348
Add tail recursion optimization.
...
As per ES6, VMs should perform tail call optimization and prevent growth of call stack.
This adds tail call optimization for recursion case (when function has explicit name and calls itself in `return`).
Cross-function optimization is not currently performed as it's more complicated and requires value tracking.
2015-02-06 16:34:35 +02:00
Sebastian McKenzie
ad60d49611
fix bindingEquals in constants transformer
2015-02-06 23:35:19 +11:00
Sebastian McKenzie
a6d1a5a724
add bindingEquals, typeEquals, referenceEquals helper methods to Scope
2015-02-06 23:07:10 +11:00
Sebastian McKenzie
399d835285
fix linting errors
2015-02-06 23:06:54 +11:00
Sebastian McKenzie
b66367ddde
change namespace of minification.propertyLiterals and minifciation.memberExpressionLiterals to es3
2015-02-06 22:42:16 +11:00
Sebastian McKenzie
37d29b7a6f
clean up function scope collection - @RReverser
2015-02-06 22:04:13 +11:00
Sebastian McKenzie
1e708fb373
fix traverse test
2015-02-06 01:59:45 +11:00
Sebastian McKenzie
76ae1682a3
remove context arg in favor of this, rename TraversalIteration to TraversalPath, and remove ast handlers
2015-02-06 01:47:43 +11:00
Sebastian McKenzie
2ef0aa95c5
clean up indentation
2015-02-06 01:17:42 +11:00
Sebastian McKenzie
9cbb49c6b2
don't return the sourcemap when inline is requested - 6to5/grunt-6to5#18
2015-02-05 22:25:33 +11:00
Sebastian McKenzie
f04a734838
fix module ids shorthand arg - fixes #696
2015-02-05 22:19:39 +11:00
Sebastian McKenzie
beb5ccab25
split up traversal so it's easier to maintain and extend later on
2015-02-05 19:42:08 +11:00
Sebastian McKenzie
b8f8f24e82
add newline to es6 destructuring member expression test
2015-02-05 19:41:53 +11:00
Sebastian McKenzie
c35a007401
simplify replace supers helper
2015-02-05 19:41:37 +11:00
Sebastian McKenzie
e639c82f2f
fix internal refactoring...
2015-02-05 14:08:02 +11:00