Sebastian McKenzie
|
3ec97fc86d
|
only check if a function is a declaration in common module hoisting
|
2015-01-06 10:39:18 +11:00 |
|
Sebastian McKenzie
|
b81f824b7e
|
normalise wildcard import into a default object
|
2015-01-05 00:07:22 +11:00 |
|
Sebastian McKenzie
|
931a80f5b3
|
rename "declarations" to the more sane "helpers"
|
2015-01-04 13:34:56 +11:00 |
|
Sebastian McKenzie
|
d20ab0eb05
|
rename traverse stop method to skip and add a stop method that actually breaks the current traversal
|
2015-01-03 20:08:31 +11:00 |
|
Sebastian McKenzie
|
52e23473ed
|
allow export default non-functions mapping to module.exports in common module formatter - fixes #356
|
2015-01-01 22:58:46 +11:00 |
|
Sebastian McKenzie
|
860432cdfd
|
hoist export default to very top
|
2015-01-01 22:31:59 +11:00 |
|
Sebastian McKenzie
|
c408432445
|
add support for circular references and hoist all variable declarations
|
2015-01-01 22:30:28 +11:00 |
|
Sebastian McKenzie
|
18739ad78b
|
remove unused variable
|
2014-12-29 11:15:24 +11:00 |
|
Sebastian McKenzie
|
52ffc65a06
|
make system module formatter modules anonymous by default - fixes #347
|
2014-12-29 01:55:30 +11:00 |
|
Sebastian McKenzie
|
22dc33f93c
|
remove unused variable
|
2014-12-28 09:36:29 +11:00 |
|
Sebastian McKenzie
|
6df6652629
|
better circular references in amd/umd/system module formatter
|
2014-12-28 09:35:47 +11:00 |
|
Sebastian McKenzie
|
b63bd8cba0
|
remove interopRequire from system module formatter
|
2014-12-28 01:14:08 +11:00 |
|
Sebastian McKenzie
|
84c2766756
|
remove unused variable
|
2014-12-28 01:01:52 +11:00 |
|
Sebastian McKenzie
|
601bbb86cd
|
remap UpdateExpression in module exports - closes #334
|
2014-12-28 01:00:53 +11:00 |
|
Sebastian McKenzie
|
c4c9f7984f
|
fix linting errors
|
2014-12-27 23:55:52 +11:00 |
|
Sebastian McKenzie
|
f4e516e8ce
|
fix tests as per acorn upgrade
|
2014-12-27 21:29:24 +11:00 |
|
Sebastian McKenzie
|
df66fa0a7f
|
heavily simplify system module formatter and share common code between them all
|
2014-12-27 21:23:53 +11:00 |
|
Sebastian McKenzie
|
22851cd1ac
|
clean up system module formatter
|
2014-12-27 19:12:31 +11:00 |
|
Sebastian McKenzie
|
987dc0692f
|
Merge branch 'feat-system-module-rewrite' of https://github.com/douglasduteil/6to5 into 2.0.0
Conflicts:
lib/6to5/transformation/modules/system.js
test/fixtures/transformation/es6-modules-system/exports-from/expected.js
|
2014-12-27 17:05:21 +11:00 |
|
Sebastian McKenzie
|
e96d02c972
|
make traversal code simpler
|
2014-12-27 17:01:47 +11:00 |
|
Sebastian McKenzie
|
198a9c6ead
|
nicer local exports remapping in default module formatter
|
2014-12-27 16:59:57 +11:00 |
|
Sebastian McKenzie
|
66e7134335
|
revert strict equals after #329
|
2014-12-23 16:11:15 +11:00 |
|
chico
|
5de9c22452
|
fix jsHint errors in branch 2.0.0
|
2014-12-23 06:23:16 +03:00 |
|
Douglas Duteil
|
104b1f4c9b
|
feat(system-module): rewrite
|
2014-12-17 02:36:47 +01:00 |
|
Sebastian McKenzie
|
1f990f4030
|
fFix module formatter parsing bug where literals were being converted to identifiers
|
2014-12-16 08:06:25 +11:00 |
|
Sebastian McKenzie
|
a03d491ac6
|
microoptimize module formatters, change method names to a new API, and add support for exporting multiple variable declarators - fixes #299
|
2014-12-15 22:34:49 +11:00 |
|
Sebastian McKenzie
|
e31e68cae3
|
use types.isSpecifierDefault in amd modules formatter
|
2014-12-15 14:16:34 +11:00 |
|
Sebastian McKenzie
|
778b4e3a27
|
remove commonStrict module formatter
|
2014-12-15 14:16:18 +11:00 |
|
Sebastian McKenzie
|
6011db7ae1
|
Merge branch 'master' into 2.0.0
|
2014-12-15 14:02:04 +11:00 |
|
Casey Foster
|
f4fdc3adc6
|
Fix incorrect object reference in #295
|
2014-12-14 20:57:32 -06:00 |
|
Casey Foster
|
5da4397392
|
Add interop require support for AMD and UMD
|
2014-12-14 20:44:38 -06:00 |
|
Sebastian McKenzie
|
615425c808
|
fix linting errors
|
2014-12-12 12:14:02 +11:00 |
|
Sebastian McKenzie
|
8e96130bc0
|
rename common to commonStrict and commonInterop to common
|
2014-12-10 21:08:54 +11:00 |
|
Sebastian McKenzie
|
e97e916b5c
|
module export variable declaration initializer default - fixes #264
|
2014-12-09 23:18:54 +11:00 |
|
Sebastian McKenzie
|
1b00ba21a1
|
fix commonInterop default export handling - fixes #223
|
2014-11-26 10:48:30 +11:00 |
|
Sebastian McKenzie
|
81434bb557
|
add types.isDynamic so we can scan a node to see if it's ~safe~ to include it twice
|
2014-11-25 11:44:53 +11:00 |
|
Sebastian McKenzie
|
0e822a7e54
|
remove unused variables
|
2014-11-24 10:21:01 +11:00 |
|
Sebastian McKenzie
|
e5ce69d6af
|
clean up register module formatter and rename it to system
|
2014-11-24 10:19:06 +11:00 |
|
Sebastian McKenzie
|
e3b8fa93e2
|
export as module.exports if there are no other ExportDeclarations in commonInterop module formatter @guybedford
|
2014-11-24 10:05:50 +11:00 |
|
Douglas Duteil
|
c87e14f6a9
|
feat(modules): add "register" module type
Inspired by https://github.com/ModuleLoader/es6-module-loader/wiki/System.register-Explained
|
2014-11-23 22:54:01 +01:00 |
|
Sebastian McKenzie
|
6b1d9b49b7
|
use generateUidIdentifier over the long form
|
2014-11-21 17:09:15 +11:00 |
|
Sebastian McKenzie
|
7fccf98c10
|
small performance improvements
|
2014-11-20 15:09:20 +11:00 |
|
Sebastian McKenzie
|
638143700b
|
add whitespace around defineArgs
|
2014-11-20 00:49:12 +11:00 |
|
Lars Kappert
|
b924e3deb5
|
Rename to "--amd-module-ids"
|
2014-11-19 08:55:16 +01:00 |
|
Lars Kappert
|
df0e4f6431
|
Reuse Formatter::getModuleName(), fix opts
|
2014-11-19 08:43:28 +01:00 |
|
Lars Kappert
|
a37f2093bc
|
Merge branch 'master' of github.com:6to5/6to5 into amd-module-id
Conflicts:
lib/6to5/file.js
lib/6to5/transformation/modules/umd.js
|
2014-11-19 08:39:02 +01:00 |
|
Sebastian McKenzie
|
32b32329b2
|
make umd module formatter inherit amd constructor
|
2014-11-19 17:50:42 +11:00 |
|
Sebastian McKenzie
|
34599a21cb
|
clean up common-interop module formatter
|
2014-11-19 12:40:10 +11:00 |
|
Richard Eames
|
6ae03a5dce
|
Added an interop commonjs loader.
|
2014-11-18 15:25:12 -07:00 |
|
Lars Kappert
|
9895711bf4
|
Improve performance
|
2014-11-18 22:15:02 +01:00 |
|