node-uglifier-es
Version:
Fully auto merging and uglifying a whole NodeJs project into one file with external files option. Recompiled from Zsolt Istvan Szabo's work with uglify-es instead of uglify-js-harmony.
2 lines • 2.68 kB
JavaScript
var cachedModules=[];cachedModules[7624]={exports:{}},function(e,t){(function(){e.exports.theNonTrivialFunction=function(e){return"ROOT_TEST_"+e}}).call(this)}.call(this,cachedModules[7624],cachedModules[7624].exports),cachedModules[6804]={exports:{}},function(e,t){(function(){e.exports.boothDeepAndShalow=function(e){return"DEEP_TEST"+e}}).call(this)}.call(this,cachedModules[6804],cachedModules[6804].exports),cachedModules[4077]={exports:{}},function(e,t){(function(){var t,o,n;t=require("./lib_external/gibberish-aes"),n=cachedModules[6804].exports,o=e.exports,o.enc=function(e,o){var r;return r=t.enc(e,n.boothDeepAndShalow(o))},o.dec=function(e,o){var r;return r=t.dec(e,n.boothDeepAndShalow(o))}}).call(this)}.call(this,cachedModules[4077],cachedModules[4077].exports),cachedModules[1326]={exports:{}},function(e,t){(function(){var t;t=function(){function e(e){this.initStr=e}return e.prototype.get=function(){return this.initStr},e}(),e.exports=t}).call(this)}.call(this,cachedModules[1326],cachedModules[1326].exports),cachedModules[4102]={exports:{}},function(e,t){(function(){var t;t=function(){function e(e){this.initStr=e}return e.prototype.get=function(){return this.initStr},e}(),e.exports=t}).call(this)}.call(this,cachedModules[4102],cachedModules[4102].exports),function(){var e,t,o,n,r,c,i,s,a,d,u,l,h,p,f,w,x;if(l=cachedModules[7624].exports.theNonTrivialFunction(),u=cachedModules[7624].exports.theNonTrivialFunction("blabla"),n=require("underscore"),x=require("sugar"),e=require("./lib_external/constants"),c=cachedModules[4077].exports,f=cachedModules[7624].exports,r=require("crypto"),i=cachedModules[6804].exports,t=new cachedModules[1326].exports("test1"),o=cachedModules[4102].exports,"ROOT_TEST_blabla"!==u)throw new Error("ups did not work we got: "+u+" instead of ROOT_TEST_blabla");if(s="./depDynamic/filename_used_in_dynamic_require",GLOBAL._loadDynamic&&(a=require(s)),h=c.dec(c.enc(e.PART_A+e.PART_B,"secret"),"secret"),w=r.createHash("sha1"),p=w.update(h).digest("hex"),console.log(f.theNonTrivialFunction(p)),d="",!n.isEqual(f.theNonTrivialFunction(p),"ROOT_TEST_6af9b2faa8ae8e408decd4f7121888af71597a90"))throw new Error("ups did not work we got: "+f.theNonTrivialFunction(p)+" instead");if(!n.isEqual(i.boothDeepAndShalow(p),i.boothDeepAndShalow("6af9b2faa8ae8e408decd4f7121888af71597a90")))throw new Error("ups did not work we got: "+p+" instead");if(!n.isEqual(t.get(),"test1"))throw new Error("ups did not work we got: "+t.get()+" instead test1 ");if(!n.isEqual(new o("test2").get()+d,"test2"))throw new Error("ups did not work we got: "+(new o("test2").get()+" instead test2 "))}.call(this);
//# sourceMappingURL=UGLIFY_SOURCE_MAP_TOKEN