Sebastian McKenzie
|
92d9b3ff5f
|
make it illegal to export a __esModule property - #673
|
2015-02-03 14:41:11 +11:00 |
|
Sebastian McKenzie
|
b2ad79cf88
|
rename t.getDeclarations to the WAY more reflective t.getBindingIdentifiers
|
2015-02-03 12:03:21 +11:00 |
|
Sebastian McKenzie
|
0fea437536
|
rename t.getIds to t.getDeclarations and remove dead code
|
2015-01-30 21:36:51 +11:00 |
|
Stefan Penner
|
9ddf411f2c
|
cleanup: require explicit lodash modules needed
|
2015-01-28 23:52:17 -05:00 |
|
Sebastian McKenzie
|
cfd0059fc7
|
fix linting errors
|
2015-01-26 13:51:06 +11:00 |
|
Sebastian McKenzie
|
59e3eb2bd1
|
move doDefaultExportInterop to default module formatter
|
2015-01-26 11:43:46 +11:00 |
|
Sebastian McKenzie
|
75460b91d8
|
clean up module formatters and fix interopRequireWildcard helper
|
2015-01-26 00:14:04 +11:00 |
|
Sebastian McKenzie
|
3d355566dc
|
avoid duplicate requires when importing modules
|
2015-01-25 20:39:41 +11:00 |
|
Sebastian McKenzie
|
e1d2def4b1
|
add t.getSpecifierId that handles default specifiers
|
2015-01-23 23:03:04 +11:00 |
|
Sebastian McKenzie
|
8678917e2a
|
add util.object that we'll use to construct objects to avoid prototype collisions
|
2015-01-22 18:39:31 +11:00 |
|
Sebastian McKenzie
|
ccdb480d44
|
rename traverser to visitor
|
2015-01-22 00:28:20 +11:00 |
|
Sebastian McKenzie
|
3205c78f01
|
ensure that a scope is always passed to traverse and allow scopes to have access to file
|
2015-01-21 23:52:12 +11:00 |
|
Dan Abramov
|
3d9d842a0d
|
Extract traversers outside methods
|
2015-01-21 14:34:47 +03:00 |
|
Sebastian McKenzie
|
36a933a004
|
add strict mode to every file
|
2015-01-18 18:44:08 +11:00 |
|
Dan Abramov
|
ff9511d435
|
Proof of concept of how traversal would look like with state parameter
|
2015-01-17 05:03:23 +03:00 |
|
Dan Abramov
|
f9480b5280
|
Avoid closures when traversing
|
2015-01-17 00:13:39 +03:00 |
|
Sebastian McKenzie
|
0627cd94d4
|
turn array for ins into fors
|
2015-01-16 02:25:41 +11:00 |
|
Sebastian McKenzie
|
df9fa32b82
|
add optional to keep module id extensions - fixes #420
|
2015-01-13 01:12:14 +11:00 |
|
Sebastian McKenzie
|
1c8d24f78c
|
remove exportsWildcard helper in favor of defaults #430
|
2015-01-09 20:08:05 +11:00 |
|
Sebastian McKenzie
|
944a9d3908
|
pass exports to exportsWildcard - fixes #430
|
2015-01-09 19:48:11 +11:00 |
|
Sebastian McKenzie
|
0d45a8975c
|
normalise module name paths
|
2015-01-07 22:43:05 +11:00 |
|
Sebastian McKenzie
|
bf24a0d6b5
|
temporarily disable module collission detections
|
2015-01-07 18:30:33 +11:00 |
|
Sebastian McKenzie
|
81fb8647b6
|
fixing linting errors
|
2015-01-07 13:58:41 +11:00 |
|
Sebastian McKenzie
|
2305e2447f
|
fix hasOwnProperty object lookup conflict
|
2015-01-07 13:08:20 +11:00 |
|
Sebastian McKenzie
|
0d23c1cfdb
|
add todo for module collisions
|
2015-01-07 09:56:17 +11:00 |
|
Sebastian McKenzie
|
0dafdd6969
|
better support for import collision checking - todo: check exports for collisions
|
2015-01-07 09:08:34 +11:00 |
|
Sebastian McKenzie
|
1cc606d4d0
|
make import reassignment illegal @eventualbuddha
|
2015-01-07 07:58:04 +11:00 |
|
Sebastian McKenzie
|
8c1760bea2
|
fix faulty export default source detection - fixes #406
|
2015-01-07 00:30:41 +11:00 |
|
Sebastian McKenzie
|
2558a5e12e
|
better wildcard imports and exports - fixes #224
|
2015-01-06 11:48:23 +11:00 |
|
Sebastian McKenzie
|
8164bb17ce
|
don't use interopRequire if noInteropRequire is set for default module formatter
|
2015-01-06 10:39:47 +11:00 |
|
Sebastian McKenzie
|
b81f824b7e
|
normalise wildcard import into a default object
|
2015-01-05 00:07:22 +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
|
6df6652629
|
better circular references in amd/umd/system module formatter
|
2014-12-28 09:35:47 +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
|
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
|
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 |
|
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
|
8e96130bc0
|
rename common to commonStrict and commonInterop to common
|
2014-12-10 21:08:54 +11:00 |
|