diff --git a/lib/parseOptions.js b/lib/parseOptions.js index 2e43c98..b0d2abe 100644 --- a/lib/parseOptions.js +++ b/lib/parseOptions.js @@ -74,6 +74,9 @@ module.exports = function (inOptions) { options.getFileAST = inOptions.getFileAST || function (parseOpts) { return getFileContents(parseOpts.source).then(function (js) { + if (pathUtils.ext(parseOpts.source) === 'json') { + js = 'module.exports = ' + js; + } return esprima.parse(js, parseOpts); }); }; diff --git a/lib/pathUtils.js b/lib/pathUtils.js index f4e3a61..4355de9 100644 --- a/lib/pathUtils.js +++ b/lib/pathUtils.js @@ -27,4 +27,8 @@ exports.getNodePath = function (from, to, options) { moduleDirectory: options.moduleDir })); } +}; + +exports.ext = function (path) { + return stdUtils.extname(path).slice(1).toLowerCase(); }; \ No newline at end of file diff --git a/lib/templates/preamble.js b/lib/templates/preamble.js index 2497be2..794e56d 100644 --- a/lib/templates/preamble.js +++ b/lib/templates/preamble.js @@ -1,6 +1,4 @@ -(function (%= - deps.map(function (dep) { return dep.id }).concat([b.identifier('define')]) -%) { +(function (%= deps.map(function (dep) { return dep.id }) %, define) { function _require(index) { var module = _require.cache[index]; diff --git a/package.json b/package.json index 20b37b1..b771b81 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pure-cjs", - "version": "1.15.0", + "version": "1.16.0", "description": "Pure minimalistic CommonJS builder", "bin": "./bin/pure-cjs.js", "main": "./lib/index.js", @@ -11,18 +11,18 @@ "author": "Ingvar Stepanyan (http://github.com/RReverser)", "license": "MIT", "dependencies": { - "ast-types": "^0.5.2", - "commander": "^2.3.0", + "ast-types": "^0.6.5", + "commander": "^2.5.0", "davy": "0.3.3", "escodegen": "git+https://github.com/RReverser/escodegen.git", "esprima": "^1.2.2", - "estemplate": "^0.2.0", + "estemplate": "^0.3.0", "event-stream": "^3.1.7", "resolve": "^1.0.0" }, "devDependencies": { - "chai": "^1.9.2", - "mocha": "^1.21.5", + "chai": "^1.10.0", + "mocha": "^2.0.1", "source-map": "^0.1.40" } } diff --git a/test/fixtures/a.html b/test/fixtures/a.html deleted file mode 100644 index fd9b761..0000000 --- a/test/fixtures/a.html +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/test/fixtures/a.js b/test/fixtures/a.js index 366624c..c209576 100644 --- a/test/fixtures/a.js +++ b/test/fixtures/a.js @@ -4,4 +4,5 @@ var c = require('./c'), url = require('url'), Promise = require('davy'); -this.topValue = require('./sub/b.js') * 2; \ No newline at end of file +this.topValue = require('./sub/b.js') * 2; +this.expectedValue = require('./data.json').answer; \ No newline at end of file diff --git a/test/fixtures/a.out.js b/test/fixtures/a.out.js deleted file mode 100644 index 2271ac6..0000000 --- a/test/fixtures/a.out.js +++ /dev/null @@ -1,30 +0,0 @@ -(function (define) { - function _require(index) { - var module = _require.cache[index]; - if (!module) { - var exports = {}; - module = _require.cache[index] = { - id: index, - exports: exports - }; - _require.modules[index].call(exports, module, exports); - } - return module.exports; - } - _require.cache = []; - _require.modules = [ - function (module, exports) { - var c = _require(1), url = require('url'); - this.topValue = _require(2) * 2; - }, - function (module, exports) { - var a = _require(0); - exports.value = 3; - }, - function (module, exports) { - module.exports = _require(1).value * 7; - } - ]; - _require(0); -}()); -//# sourceMappingURL=aa.js \ No newline at end of file diff --git a/test/fixtures/data.json b/test/fixtures/data.json new file mode 100644 index 0000000..4818671 --- /dev/null +++ b/test/fixtures/data.json @@ -0,0 +1,3 @@ +{ + "answer": 42 +} \ No newline at end of file diff --git a/test/suites/a (exports A with externals)/expected.js b/test/suites/a (exports A with externals)/expected.js index 92c8664..377fcb3 100644 --- a/test/suites/a (exports A with externals)/expected.js +++ b/test/suites/a (exports A with externals)/expected.js @@ -32,13 +32,17 @@ function (module, exports) { // License of a var c = _require(2), url = require('url'), Promise = _require(0); - this.topValue = _require(3) * 2; + this.topValue = _require(4) * 2; + this.expectedValue = _require(3).answer; }, function (module, exports) { // License of c var a = _require(1); exports.value = 3; }, + function (module, exports) { + module.exports = { 'answer': 42 }; + }, function (module, exports) { // License of b module.exports = _require(2).value * 7; diff --git a/test/suites/a (exports A with externals)/expected.js.map b/test/suites/a (exports A with externals)/expected.js.map index 66b498a..e5945b5 100644 --- a/test/suites/a (exports A with externals)/expected.js.map +++ b/test/suites/a (exports A with externals)/expected.js.map @@ -1 +1 @@ -{"version":3,"sources":["umdWrapper.js","preamble.js","fixtures/a.js","fixtures/c.js","fixtures/sub/b.js"],"names":["name","factory","define","amd","exports","module","_require","index","cache","id","modules","call","c","url","require","Promise","topValue","a","value"],"mappings":"CAAC,UAAUA,IAAV,EAAgBC,OAAhB,EAAyB;AAAA,IACtB,IAAI,OAAOC,MAAP,KAAkB,UAAlB,IAAgCA,MAAA,CAAOC,GAA3C,EAAgD;AAAA,QAE5C;AAAA,QAAAD,MAAA,CAAO,C,MAAA,CAAP,EAAyBD,OAAzB,EAF4C;AAAA,KAAhD,MAGO,IAAI,OAAOG,OAAP,KAAmB,QAAvB,EAAiC;AAAA,QAIpC;AAAA;AAAA;AAAA,QAAAC,MAAA,CAAOD,OAAP,GAAiBH,OAAA,C,eAAA,CAAjB,CAJoC;AAAA,KAAjC,MAKA;AAAA,QAEH;AAAA,aAAKD,IAAL,IAAaC,OAAA,C,SAAA,CAAb,CAFG;AAAA,KATe;AAAA,C,MCAzB,U,eAAA,E,MAAA,EAA0B;AAAA,IAE3B,SAASK,QAAT,CAAkBC,KAAlB,EAAyB;AAAA,QACxB,IAAIF,MAAA,GAASC,QAAA,CAASE,KAAT,CAAeD,KAAf,CAAb,CADwB;AAAA,QAGxB,IAAI,CAACF,MAAL,EAAa;AAAA,YACZ,IAAID,OAAA,GAAU,EAAd,CADY;AAAA,YAEZC,MAAA,GAASC,QAAA,CAASE,KAAT,CAAeD,KAAf,IAAwB;AAAA,gBAACE,EAAA,EAAIF,KAAL;AAAA,gBAAYH,OAAA,EAASA,OAArB;AAAA,aAAjC,CAFY;AAAA,YAGZE,QAAA,CAASI,OAAT,CAAiBH,KAAjB,EAAwBI,IAAxB,CAA6BP,OAA7B,EAAsCC,MAAtC,EAA8CD,OAA9C,EAHY;AAAA,SAHW;AAAA,QASxB,OAAOC,MAAA,CAAOD,OAAd,CATwB;AAAA,KAFE;AAAA,IAc3BE,QAAA,CAASE,KAAT,GAAiB,EAAjB,CAd2B;AAAA,IAe3BF,QAAA,CAASI,OAAT,GAAmB;AAAA,Q;;SAAA;AAAA,Q;YCbnB;AAAA,gBAAIE,CAAA,GAAIN,QAAA,CAAQ,CAAR,CAAR,EACCO,GAAA,GAAMC,OAAA,CAAQ,KAAR,CADP,EAECC,OAAA,GAAUT,QAAA,CAAQ,CAAR,CAFX,C;YAIA,KAAKU,QAAL,GAAgBV,QAAA,CAAQ,CAAR,IAAwB,CAAxC,C;SDSmB;AAAA,Q;YEbnB;AAAA,gBAAIW,CAAA,GAAIX,QAAA,CAAQ,CAAR,CAAR,C;YACAF,OAAA,CAAQc,KAAR,GAAgB,CAAhB,C;SFYmB;AAAA,Q;YGbnB;AAAA,YAAAb,MAAA,CAAOD,OAAP,GAAiBE,QAAA,CAAQ,CAAR,EAAgBY,KAAhB,GAAwB,CAAzC,C;SHamB;AAAA,KAAnB,CAf2B;AAAA,IAiB3B,OAAOZ,QAAA,C,CAAA,CAAP,CAjB2B;AAAA,C"} \ No newline at end of file +{"version":3,"sources":["umdWrapper.js","preamble.js","fixtures/a.js","fixtures/c.js","fixtures/data.json","fixtures/sub/b.js"],"names":["name","factory","define","amd","exports","module","_require","index","cache","id","modules","call","c","url","require","Promise","topValue","expectedValue","answer","a","value"],"mappings":"CAAC,UAAUA,IAAV,EAAgBC,OAAhB,EAAyB;AAAA,IACtB,IAAI,OAAOC,MAAP,KAAkB,UAAlB,IAAgCA,MAAA,CAAOC,GAA3C,EAAgD;AAAA,QAE5C;AAAA,QAAAD,MAAA,CAAO,C,MAAA,CAAP,EAAyBD,OAAzB,EAF4C;AAAA,KAAhD,MAGO,IAAI,OAAOG,OAAP,KAAmB,QAAvB,EAAiC;AAAA,QAIp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YACAF,OAAA,CAAQgB,KAAR,GAAgB,CAAhB,C;SFWoB;AAAA,Q;YGdpBf,MAAA,CAAOD,OAAP,GAAiB,EAChB,UAAU,EADM,EAAjB,C;SHcoB;AAAA,Q;YIZpB;AAAA,YAAAC,MAAA,CAAOD,OAAP,GAAiBE,QAAA,CAAQ,CAAR,EAAgBc,KAAhB,GAAwB,CAAzC,C;SJYoB;AAAA,KAAnB,CAdkC;AAAA,IAgBlC,OAAOd,QAAA,C,CAAA,CAAP,CAhBkC;AAAA,C"} \ No newline at end of file diff --git a/test/suites/a (exports A with map and comments)/expected.js b/test/suites/a (exports A with map and comments)/expected.js index 14b3804..235a443 100644 --- a/test/suites/a (exports A with map and comments)/expected.js +++ b/test/suites/a (exports A with map and comments)/expected.js @@ -344,13 +344,17 @@ function (module, exports) { // License of a var c = _require(5), url = require('url'), Promise = _require(1); - this.topValue = _require(6) * 2; + this.topValue = _require(7) * 2; + this.expectedValue = _require(6).answer; }, function (module, exports) { // License of c var a = _require(4); exports.value = 3; }, + function (module, exports) { + module.exports = { 'answer': 42 }; + }, function (module, exports) { // License of b module.exports = _require(5).value * 7; diff --git a/test/suites/a (exports A with map and comments)/expected.js.map b/test/suites/a (exports A with map and comments)/expected.js.map index 0f2e1de..47df690 100644 --- a/test/suites/a (exports A with map and comments)/expected.js.map +++ b/test/suites/a (exports A with map and comments)/expected.js.map @@ -1 +1 @@ -{"version":3,"sources":["umdWrapper.js","preamble.js","../node_modules/davy/davy.js","../node_modules/davy/index.js","../node_modules/davy/node_modules/subsequent/index.js","../node_modules/davy/node_modules/subsequent/subsequent.js","fixtures/a.js","fixtures/c.js","fixtures/sub/b.js"],"names":["name","factory","define","amd","exports","module","_require","index","cache","id","modules","call","global","next","subsequent","Promise","Davy","fn","value","undefined","__deferreds","arguments","length","resolver","Resolver","val","fulfill","err","reject","e","prototype","isFulfilled","isRejected","then","onFulfill","onReject","deferred","defer","resolve","SUCCESS","FAILURE","push","promise","TypeError","isObject","isFunction","isResolved","self","complete","error","deferreds","type","i","onRejected","onResolved","tap","onFulfilled","spread","apply","cast","each","list","iterator","len","all","parse","race","wrap","obj","Array","isArray","args","buffer","tick","enqueue","execute","setImmediate","process","nextTick","postMessage","message","onMessage","data","stopPropagation","addEventListener","attachEvent","setTimeout","c","url","require","topValue","a"],"mappings":"CAAC,UAAUA,IAAV,EAAgBC,OAAhB,EAAyB;AAAA,IACtB,IAAI,OAAOC,MAAP,KAAkB,UAAlB,IAAgCA,MAAA,CAAOC,GAA3C,EAAgD;AAAA,QAE5C;AAAA,QAAAD,MAAA,CAAO,EAAP,EAAyBD,OAAzB,EAF4C;AAAA,KAAhD,MAGO,IAAI,OAAOG,OAAP,KAAmB,QAAvB,EAAiC;AAAA,QAIpC;AAAA;AAAA;AAAA,QAAAC,MAAA,CAAOD,OAAP,GAAiBH,OAAA,EAAjB,CAJoC;AAAA,KAAjC,MAKA;AAAA,QAEH;AAAA,aAAKD,IAAL,IAAaC,OAAA,EAAb,CAFG;AAAA,KATe;AAAA,C,MCAzB,U,MAAA,EAA0B;AAAA,IAE3B,SAASK,QAAT,CAAkBC,KAAlB,EAAyB;AAAA,QACxB,IAAIF,MAAA,GAASC,QAAA,CAASE,KAAT,CAAeD,KAAf,CAAb,CADwB;AAAA,QAGxB,IAAI,CAACF,MAAL,EAAa;AAAA,YACZ,IAAID,OAAA,GAAU,EAAd,CADY;AAAA,YAEZC,MAAA,GAASC,QAAA,CAASE,KAAT,CAAeD,KAAf,IAAwB;AAAA,gBAACE,EAAA,EAAIF,KAAL;AAAA,gBAAYH,OAAA,EAASA,OAArB;AAAA,aAAjC,CAFY;AAAA,YAGZE,QAAA,CAASI,OAAT,CAAiBH,KAAjB,EAAwBI,IAAxB,CAA6BP,OAA7B,EAAsCC,MAAtC,EAA8CD,OAA9C,EAHY;AAAA,SAHW;AAAA,QASxB,OAAOC,MAAA,CAAOD,OAAd,CATwB;AAAA,KAFE;AAAA,IAc3BE,QAAA,CAASE,KAAT,GAAiB,EAA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,UAAP,GAAoBD,IAApB,CADK;AAAA,iBA5DS;AAAA,aAAlB,CA+DG,IA/DH,G;SJemB;AAAA,Q;YKbnB;AAAA,gBAAI0E,CAAA,GAAIjF,QAAA,CAAQ,CAAR,CAAR,EACCkF,GAAA,GAAMC,OAAA,CAAQ,KAAR,CADP,EAEC1E,OAAA,GAAUT,QAAA,CAAQ,CAAR,CAFX,C;YAIA,KAAKoF,QAAL,GAAgBpF,QAAA,CAAQ,CAAR,IAAwB,CAAxC,C;SLSmB;AAAA,Q;YMbnB;AAAA,gBAAIqF,CAAA,GAAIrF,QAAA,CAAQ,CAAR,CAAR,C;YACAF,OAAA,CAAQc,KAAR,GAAgB,CAAhB,C;SNYmB;AAAA,Q;YObnB;AAAA,YAAAb,MAAA,CAAOD,OAAP,GAAiBE,QAAA,CAAQ,CAAR,EAAgBY,KAAhB,GAAwB,CAAzC,C;SPamB;AAAA,KAAnB,CAf2B;AAAA,IAiB3B,OAAOZ,QAAA,C,CAAA,CAAP,CAjB2B;AAAA,C"} \ No newline at end of file +{"version":3,"sources":["umdWrapper.js","preamble.js","../node_modules/davy/davy.js","../node_modules/davy/index.js","../node_modules/davy/node_modules/subsequent/index.js","../node_modules/davy/node_modules/subsequent/subsequent.js","fixtures/a.js","fixtures/c.js","fixtures/data.json","fixtures/sub/b.js"],"names":["name","factory","define","amd","exports","module","_require","index","cache","id","modules","call","global","next","subsequent","Promise","Davy","fn","value","undefined","__deferreds","arguments","length","resolver","Resolver","val","fulfill","err","reject","e","prototype","isFulfilled","isRejected","then","onFulfill","onReject","deferred","defer","resolve","SUCCESS","FAILURE","push","promise","TypeError","isObject","isFunction","isResolved","self","complete","error","deferreds","type","i","onRejected","onResolved","tap","onFulfilled","spread","apply","cast","each","list","iterator","len","all","parse","race","wrap","obj","Array","isArray","args","buffer","tick","enqueue","execute","setImmediate","process","nextTick","postMessage","message","onMessage","data","stopPropagation","addEventListener","attachEvent","setTimeout","c","url","require","topValue","expectedValue","answer","a"],"mappings":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P,EAEC1E,OAAA,GAAUT,QAAA,CAAQ,CAAR,CAFX,C;YAIA,KAAKoF,QAAL,GAAgBpF,QAAA,CAAQ,CAAR,IAAwB,CAAxC,C;YACA,KAAKqF,aAAL,GAAqBrF,QAAA,CAAQ,CAAR,EAAuBsF,MAA5C,C;SLOoB;AAAA,Q;YMZpB;AAAA,gBAAIC,CAAA,GAAIvF,QAAA,CAAQ,CAAR,CAAR,C;YACAF,OAAA,CAAQc,KAAR,GAAgB,CAAhB,C;SNWoB;AAAA,Q;YOdpBb,MAAA,CAAOD,OAAP,GAAiB,EAChB,UAAU,EADM,EAAjB,C;SPcoB;AAAA,Q;YQZpB;AAAA,YAAAC,MAAA,CAAOD,OAAP,GAAiBE,QAAA,CAAQ,CAAR,EAAgBY,KAAhB,GAAwB,CAAzC,C;SRYoB;AAAA,KAAnB,CAdkC;AAAA,IAgBlC,OAAOZ,QAAA,C,CAAA,CAAP,CAhBkC;AAAA,C"} \ No newline at end of file diff --git a/test/suites/a (exports A with map)/expected.js b/test/suites/a (exports A with map)/expected.js index 07e822c..a56396a 100644 --- a/test/suites/a (exports A with map)/expected.js +++ b/test/suites/a (exports A with map)/expected.js @@ -338,12 +338,16 @@ }, function (module, exports) { var c = _require(5), url = require('url'), Promise = _require(1); - this.topValue = _require(6) * 2; + this.topValue = _require(7) * 2; + this.expectedValue = _require(6).answer; }, function (module, exports) { var a = _require(4); exports.value = 3; }, + function (module, exports) { + module.exports = { 'answer': 42 }; + }, function (module, exports) { module.exports = _require(5).value * 7; } diff --git a/test/suites/a (exports A with map)/expected.js.map b/test/suites/a (exports A with map)/expected.js.map index 81de825..b7b3b82 100644 --- a/test/suites/a (exports A with map)/expected.js.map +++ b/test/suites/a (exports A with map)/expected.js.map @@ -1 +1 @@ -{"version":3,"sources":["umdWrapper.js","preamble.js","../node_modules/davy/davy.js","../node_modules/davy/index.js","../node_modules/davy/node_modules/subsequent/index.js","../node_modules/davy/node_modules/subsequent/subsequent.js","fixtures/a.js","fixtures/c.js","fixtures/sub/b.js"],"names":["name","factory","define","amd","exports","module","_require","index","cache","id","modules","call","global","next","subsequent","Promise","Davy","fn","value","undefined","__deferreds","arguments","length","resolver","Resolver","val","fulfill","err","reject","e","prototype","isFulfilled","isRejected","then","onFulfill","onReject","deferred","defer","resolve","SUCCESS","FAILURE","push","promise","TypeError","isObject","isFunction","isResolved","self","complete","error","deferreds","type","i","onRejected","onResolved","tap","onFulfilled","spread","apply","cast","each","list","iterator","len","all","parse","race","wrap","obj","Array","isArray","args","buffer","tick","enqueue","execute","setImmediate","process","nextTick","postMessage","message","onMessage","data","stopPropagation","addEventListener","attachEvent","setTimeout","c","url","require","topValue","a"],"mappings":"CAAC,UAAUA,IAAV,EAAgBC,OAAhB,EAAyB;AAAA,IACtB,IAAI,OAAOC,MAAP,KAAkB,UAAlB,IAAgCA,MAAA,CAAOC,GAA3C,EAAgD;AAAA,QAE5CD,MAAA,CAAO,EAAP,EAAyBD,OAAzB,EAF4C;AAAA,KAAhD,MAGO,IAAI,OAAOG,OAAP,KAAmB,QAAvB,EAAiC;AAAA,QAIpCC,MAAA,CAAOD,OAAP,GAAiBH,OAAA,EAAjB,CAJoC;AAAA,KAAjC,MAKA;AAAA,QAEH,KAAKD,IAAL,IAAaC,OAAA,EAAb,CAFG;AAAA,KATe;AAAA,C,MCAzB,U,MAAA,EAA0B;AAAA,IAE3B,SAASK,QAAT,CAAkBC,KAAlB,EAAyB;AAAA,QACxB,IAAIF,MAAA,GAASC,QAAA,CAASE,KAAT,CAAeD,KAAf,CAAb,CADwB;AAAA,QAGxB,IAAI,CAACF,MAAL,EAAa;AAAA,YACZ,IAAID,OAAA,GAAU,EAAd,CADY;AAAA,YAEZC,MAAA,GAASC,QAAA,CAASE,KAAT,CAAeD,KAAf,IAAwB;AAAA,gBAACE,EAAA,EAAIF,KAAL;AAAA,gBAAYH,OAAA,EAASA,OAArB;AAAA,aAAjC,CAFY;AAAA,YAGZE,QAAA,CAASI,OAAT,CAAiBH,KA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iBAAhD,MAIO,IAAI,OAAOR,MAAP,KAAkB,QAAlB,IAA8BA,MAAA,CAAOD,OAAzC,EAAkD;AAAA,oBACvDC,MAAA,CAAOD,OAAP,GAAiBS,IAAjB,CADuD;AAAA,iBAAlD,MAEA;AAAA,oBACLD,MAAA,CAAOE,UAAP,GAAoBD,IAApB,CADK;AAAA,iBA5DS;AAAA,aAAlB,CA+DG,IA/DH,G;SJemB;AAAA,Q;YKbnB,IAAI0E,CAAA,GAAIjF,QAAA,CAAQ,CAAR,CAAR,EACCkF,GAAA,GAAMC,OAAA,CAAQ,KAAR,CADP,EAEC1E,OAAA,GAAUT,QAAA,CAAQ,CAAR,CAFX,C;YAIA,KAAKoF,QAAL,GAAgBpF,QAAA,CAAQ,CAAR,IAAwB,CAAxC,C;SLSmB;AAAA,Q;YMbnB,IAAIqF,CAAA,GAAIrF,QAAA,CAAQ,CAAR,CAAR,C;YACAF,OAAA,CAAQc,KAAR,GAAgB,CAAhB,C;SNYmB;AAAA,Q;YObnBb,MAAA,CAAOD,OAAP,GAAiBE,QAAA,CAAQ,CAAR,EAAgBY,KAAhB,GAAwB,CAAzC,C;SPamB;AAAA,KAAnB,CAf2B;AAAA,IAiB3B,OAAOZ,QAAA,C,CAAA,CAAP,CAjB2B;AAAA,C"} \ No newline at end of file +{"version":3,"sources":["umdWrapper.js","preamble.js","../node_modules/davy/davy.js","../node_modules/davy/index.js","../node_modules/davy/node_modules/subsequent/index.js","../node_modules/davy/node_modules/subsequent/subsequent.js","fixtures/a.js","fixtures/c.js","fixtures/data.json","fixtures/sub/b.js"],"names":["name","factory","define","amd","exports","module","_require","index","cache","id","modules","call","global","next","subsequent","Promise","Davy","fn","value","undefined","__deferreds","arguments","length","resolver","Resolver","val","fulfill","err","reject","e","prototype","isFulfilled","isRejected","then","onFulfill","onReject","deferred","defer","resolve","SUCCESS","FAILURE","push","promise","TypeError","isObject","isFunction","isResolved","self","complete","error","deferreds","type","i","onRejected","onResolved","tap","onFulfilled","spread","apply","cast","each","list","iterator","len","all","parse","race","wrap","obj","Array","isArray","args","buffer","tick","enqueue","execute","setImmediate","process","nextTick","postMessage","message","onMessage","data","stopPropagation","addEventListener","attachEvent","setTimeout","c","url","require","topValue","expectedValue","answer","a"],"mappings":"CAAC,UAAUA,IAAV,EAAgBC,OAAhB,EAAyB;AAAA,IACtB,IAAI,OAAOC,MAAP,KAAkB,UAAlB,IAAgCA,MAAA,CAAOC,GAA3C,EAAgD;AAAA,QAE5CD,MAAA,CAAO,EAAP,EAAyBD,OAAzB,EAF4C;AAAA,KAAhD,MAGO,IAAI,OAAOG,OAAP,KAAmB,QAAvB,EAAiC;AAAA,QAIpCC,MAAA,CAAOD,OAAP,GAAiBH,OAAA,EAAjB,CAJoC;AAAA,KAAjC,MAKA;AAAA,QAEH,KAAKD,IAAL,IAAaC,OAAA,EAAb,CAFG;AAAA,KATe;AAAA,C,MCAzB,UAA0BC,MAA1B,EAAkC;AAAA,IAClC,SAASI,QAAT,CAAkBC,KAAlB,EAAyB;AAAA,QACxB,IAAIF,MAAA,GAASC,QAAA,CAASE,KAAT,CAAeD,KAAf,CAAb,CADwB;AAAA,QAGxB,IAAI,CAACF,MAAL,EAAa;AAAA,YACZ,IAAID,OAAA,GAAU,EAAd,CADY;AAAA,YAEZC,MAAA,GAASC,QAAA,CAASE,KAAT,CAAeD,KAAf,IAAwB;AAAA,gBAACE,EAAA,EAAIF,KAAL;AAAA,gBAAYH,OAAA,EAASA,OAArB;AAAA,aAAjC,CAFY;AAAA,YAGZE,QAAA,CAASI,OAAT,CAAiBH,KAAjB,EAAwBI,IAAxB,CAA6BP,OAA7B,EAAsCC,MAAtC,EAA8CD,OAA9C,EAHY;AAAA,SAHW;AAAA,QASxB,OAAOC,MAAA,CAAOD,OAAd,CATwB;AAAA,KADS;AAAA,IAalCE,QAAA,CAASE,KAAT,GAAiB,EAAjB,CAbkC;AAAA,IAclCF,QAAA,CAASI,OAAT,GAAmB;AAAA,Q;YCdpB,CAAC,UAASE,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B;AAAA,Q;YKZpB,IAAI0E,CAAA,GAAIjF,QAAA,CAAQ,CAAR,CAAR,EACCkF,GAAA,GAAMC,OAAA,CAAQ,KAAR,CADP,EAEC1E,OAAA,GAAUT,QAAA,CAAQ,CAAR,CAFX,C;YAIA,KAAKoF,QAAL,GAAgBpF,QAAA,CAAQ,CAAR,IAAwB,CAAxC,C;YACA,KAAKqF,aAAL,GAAqBrF,QAAA,CAAQ,CAAR,EAAuBsF,MAA5C,C;SLOoB;AAAA,Q;YMZpB,IAAIC,CAAA,GAAIvF,QAAA,CAAQ,CAAR,CAAR,C;YACAF,OAAA,CAAQc,KAAR,GAAgB,CAAhB,C;SNWoB;AAAA,Q;YOdpBb,MAAA,CAAOD,OAAP,GAAiB,EAChB,UAAU,EADM,EAAjB,C;SPcoB;AAAA,Q;YQZpBC,MAAA,CAAOD,OAAP,GAAiBE,QAAA,CAAQ,CAAR,EAAgBY,KAAhB,GAAwB,CAAzC,C;SRYoB;AAAA,KAAnB,CAdkC;AAAA,IAgBlC,OAAOZ,QAAA,C,CAAA,CAAP,CAhBkC;AAAA,C"} \ No newline at end of file diff --git a/test/suites/a (exports A)/expected.js b/test/suites/a (exports A)/expected.js index 025a9bd..19703f1 100644 --- a/test/suites/a (exports A)/expected.js +++ b/test/suites/a (exports A)/expected.js @@ -338,12 +338,16 @@ }, function (module, exports) { var c = _require(5), url = require('url'), Promise = _require(1); - this.topValue = _require(6) * 2; + this.topValue = _require(7) * 2; + this.expectedValue = _require(6).answer; }, function (module, exports) { var a = _require(4); exports.value = 3; }, + function (module, exports) { + module.exports = { 'answer': 42 }; + }, function (module, exports) { module.exports = _require(5).value * 7; } diff --git a/test/suites/c (no exports)/expected.js b/test/suites/c (no exports)/expected.js index 5dcc546..9eb2e03 100644 --- a/test/suites/c (no exports)/expected.js +++ b/test/suites/c (no exports)/expected.js @@ -330,12 +330,16 @@ }, function (module, exports) { var c = _require(5), url = require('url'), Promise = _require(1); - this.topValue = _require(6) * 2; + this.topValue = _require(7) * 2; + this.expectedValue = _require(6).answer; }, function (module, exports) { var a = _require(4); exports.value = 3; }, + function (module, exports) { + module.exports = { 'answer': 42 }; + }, function (module, exports) { module.exports = _require(5).value * 7; }