@maka/maka-cli 4.5.18 → 4.5.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundle/obf/package.json +1 -1
- package/bundle/obf/src/command.js +1 -1
- package/bundle/obf/src/commands/_index.js +1 -1
- package/bundle/obf/src/commands/aws/_index.js +1 -1
- package/bundle/obf/src/commands/aws/aws.command.js +1 -1
- package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/build/_index.js +1 -1
- package/bundle/obf/src/commands/build/build.js +1 -1
- package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/create.js +1 -1
- package/bundle/obf/src/commands/debug.js +1 -1
- package/bundle/obf/src/commands/deploy.js +1 -1
- package/bundle/obf/src/commands/game/_index.js +1 -1
- package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/play.command.js +1 -1
- package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -0
- package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -0
- package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -0
- package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -0
- package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -0
- package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -0
- package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -0
- package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -0
- package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -0
- package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -0
- package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -0
- package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -0
- package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -0
- package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -0
- package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/generate.js +1 -1
- package/bundle/obf/src/commands/get/_index.js +1 -1
- package/bundle/obf/src/commands/get/get.command.js +1 -1
- package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/help.js +1 -1
- package/bundle/obf/src/commands/jsdoc.js +1 -1
- package/bundle/obf/src/commands/lint.js +1 -1
- package/bundle/obf/src/commands/login.js +1 -1
- package/bundle/obf/src/commands/logout.js +1 -1
- package/bundle/obf/src/commands/logs.js +1 -1
- package/bundle/obf/src/commands/maka.cmd.js +1 -1
- package/bundle/obf/src/commands/murder.js +1 -1
- package/bundle/obf/src/commands/proxy.js +1 -1
- package/bundle/obf/src/commands/reconfig.js +1 -1
- package/bundle/obf/src/commands/run/_index.js +1 -1
- package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/run/run.command.js +1 -1
- package/bundle/obf/src/commands/set/_index.js +1 -1
- package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/set.command.js +1 -1
- package/bundle/obf/src/commands/ssh.js +1 -1
- package/bundle/obf/src/commands/ssl.js +1 -1
- package/bundle/obf/src/commands/test.js +1 -1
- package/bundle/obf/src/commands/version.js +1 -1
- package/bundle/obf/src/error.js +1 -1
- package/bundle/obf/src/generator.js +1 -1
- package/bundle/obf/src/generators/_index.js +1 -1
- package/bundle/obf/src/generators/api.js +1 -1
- package/bundle/obf/src/generators/collection.js +1 -1
- package/bundle/obf/src/generators/component.js +1 -1
- package/bundle/obf/src/generators/config.js +1 -1
- package/bundle/obf/src/generators/dbc.js +1 -1
- package/bundle/obf/src/generators/dockerfile.js +1 -1
- package/bundle/obf/src/generators/hook.js +1 -1
- package/bundle/obf/src/generators/kit.js +1 -1
- package/bundle/obf/src/generators/layout.js +1 -1
- package/bundle/obf/src/generators/maka.gen.js +1 -1
- package/bundle/obf/src/generators/methods.js +1 -1
- package/bundle/obf/src/generators/package.js +1 -1
- package/bundle/obf/src/generators/page.js +1 -1
- package/bundle/obf/src/generators/publish.js +1 -1
- package/bundle/obf/src/generators/route.js +1 -1
- package/bundle/obf/src/generators/service.js +1 -1
- package/bundle/obf/src/generators/services/_index.js +1 -1
- package/bundle/obf/src/generators/services/openssl.js +1 -1
- package/bundle/obf/src/generators/services/translation.js +1 -1
- package/bundle/obf/src/maka.js +2 -2
- package/bundle/obf/src/tool.js +1 -1
- package/bundle/obf/src/tools/actions/actions.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
- package/bundle/obf/src/tools/docker/docker.class.js +1 -1
- package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
- package/bundle/obf/src/tools/https/https.class.js +1 -1
- package/bundle/obf/src/tools/https/https.interface.js +1 -1
- package/bundle/obf/src/tools/log/log.class.js +1 -1
- package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
- package/package.json +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/commands.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a65s=a65d;(function(a,b){const p=a65d,c=a();while(!![]){try{const d=-parseInt(p(0x160))/0x1+parseInt(p(0x13b))/0x2+parseInt(p(0x153))/0x3*(parseInt(p(0x149))/0x4)+-parseInt(p(0x14d))/0x5+parseInt(p(0x140))/0x6+parseInt(p(0x15f))/0x7+parseInt(p(0x155))/0x8*(-parseInt(p(0x14b))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a65c,0x664d0));const a65b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a65d;if(c){const e=c[q(0x15e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a65a=a65b(this,function(){const r=a65d;return a65a[r(0x163)]()[r(0x146)](r(0x158))[r(0x163)]()[r(0x144)](a65a)[r(0x146)](r(0x158));});a65a();import a65e from'path';import{ESLint}from'eslint';import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';function a65d(a,b){const c=a65c();return a65d=function(d,e){d=d-0x138;let f=c[d];return f;},a65d(a,b);}Command[a65s(0x152)]({'name':a65s(0x13a),'usage':a65s(0x150),'maxArgLength':0x1,'validOpts':[a65s(0x14f)],'mustBeInMakaProject':!![],'shortDesc':a65s(0x159),'description':a65s(0x139),'examples':[a65s(0x13d)]},async function(a,b){const t=a65s;try{const c=this['fsi'][t(0x143)](),d=this[t(0x13f)]['checkNpmPackage']('eslint'),f=this['fsi'][t(0x15d)]('eslint-plugin-react'),g=this[t(0x13f)][t(0x15d)](t(0x147)),h=[];!d&&h[t(0x142)](t(0x157));!f&&h[t(0x142)](t(0x15a));!g&&h[t(0x142)](t(0x147));h[t(0x14e)]>0x0&&await this['fsi']['installNpmPackage'](h['join']('\x20'),{'dev':!![]});const i=this[t(0x13f)][t(0x151)](a65e[t(0x164)](c,t(0x154)));if(!i){const n={'noRename':!![]};await this[t(0x13f)][t(0x161)]({'srcPath':t(0x15b),'destPath':a65e[t(0x164)](c,'.eslintrc.json'),'framework':t(0x14a),'context':n});}const j=new ESLint(),k=await j['lintFiles']([a65e[t(0x164)](c,t(0x15c),'**')]),l=await j['loadFormatter']('stylish'),m=l[t(0x141)](k);m[t(0x14e)]>0x0?Log[t(0x138)](m):Log[t(0x14c)](t(0x13c)),Log[t(0x13e)]('Lint\x20results\x20for\x20'+c+t(0x145)),b[t(0x14f)]?await ESLint[t(0x162)](k):Log[t(0x13e)](t(0x156));}catch(o){console[t(0x148)](o);}});function a65c(){const u=['eslint/eslintrc.json','imports','checkNpmPackage','apply','3979675IfYjqg','766278AzfaPs','template','outputFixes','toString','join','bright','\x0a\x20\x20Lint\x20the\x20\x22./app/imports\x22\x20directory.\x0a\x0a\x20\x20This\x20command\x20will\x20install\x20and\x20conigure\x20ESLint\x20if\x20not\x20already\x20setup.\x0a\x0a\x20\x20You\x20can\x20find\x20the\x20eslint\x20config\x20at\x20\x22./app/.eslintrc.json\x22\x0a\x20\x20','lint','1196782zSWiAh','All\x20good!\x20:)','maka\x20lint\x20--fix','notice','fsi','3432000JfRAhT','format','push','findAppDirectory','constructor','/imports','search','eslint-plugin-css','error','8248XXtqkf','service','59877LRhHAf','success','1456655KkFMxx','length','fix','maka\x20lint','isFile','create','1080PNvAVN','.eslintrc.json','1208KCUOec','Run\x20\x22maka\x20lint\x20--fix\x22\x20to\x20auto\x20fix','eslint','(((.+)+)+)+$','Use\x20ESLint\x20to\x20lint\x20the\x20imports\x20directory','eslint-plugin-react'];a65c=function(){return u;};return a65c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a66z=a66d;(function(a,b){const w=a66d,c=a();while(!![]){try{const d=-parseInt(w(0x1f0))/0x1*(parseInt(w(0x1ea))/0x2)+-parseInt(w(0x1ee))/0x3*(parseInt(w(0x1fa))/0x4)+parseInt(w(0x1fd))/0x5+-parseInt(w(0x1e4))/0x6+parseInt(w(0x1f9))/0x7*(-parseInt(w(0x209))/0x8)+parseInt(w(0x20a))/0x9+parseInt(w(0x207))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a66c,0x396be));const a66b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a66d;if(c){const e=c[x(0x200)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a66a=a66b(this,function(){const y=a66d;return a66a[y(0x1dc)]()[y(0x1fe)]('(((.+)+)+)+$')[y(0x1dc)]()[y(0x1f6)](a66a)[y(0x1fe)]('(((.+)+)+)+$');});a66a();function a66d(a,b){const c=a66c();return a66d=function(d,e){d=d-0x1d4;let f=c[d];return f;},a66d(a,b);}import a66e from'node-forge';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a66c(){const B=['4gADKvO','assign','digest','395425coZrqi','search','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','apply','create','MAKA_DEV','Email:','\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','https://','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','7034390OWWhQV','/api/v1/encodeJwt','8IjinwT','1823850TgbIjO','email','cert','start','getGlobalConfig','success','post','True','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','toString','Preflight\x20Check','env','parse','cacert','/api/v1/status','notice','maka\x20login','553974fhCkjE','error','update','ask','password','debug','2DphRMO','login','header','fsi','1312722tcPxOY','isFile','185422DxqEUE','/api/v1/login','failure','exit','authToken','sha256','constructor','Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://','Password:\x20','242557DCNcgx'];a66c=function(){return B;};return a66c();}import{Actions}from'../tools/actions/actions.class.js';import{HTTPS}from'../tools/https/https.class.js';const hostname=process[a66z(0x1de)][a66z(0x202)]===a66z(0x1da)?'localhost':'www.maka-cli.com';Command[a66z(0x201)]({'name':a66z(0x1eb),'validOpts':[a66z(0x1d4),a66z(0x1e8),'help','cacert',a66z(0x1e9)],'usage':a66z(0x1e3),'maxArgLength':0x2,'disableAuthCheck':!![],'shortDesc':'Retrieves\x20login\x20information\x20from\x20www.maka-cli.com,\x20and\x20stores\x20a\x20hash\x20in\x20~/.maka','examples':['maka\x20login','maka\x20login\x20--email\x20<address>\x20--password\x20<password>']},async function(a,b){const A=a66z,c=Log['withSpinner']();try{let d='';b['cacert']&&(this[A(0x1ed)][A(0x1ef)](b[A(0x1e0)])?(d=b[A(0x1e0)],Log[A(0x1e2)]('Using\x20CA\x20Cert\x20'+d)):Log['error'](A(0x1ff)+d));const f=await this[A(0x1ed)][A(0x1d7)]();if(f[A(0x1d5)]){if(this[A(0x1ed)][A(0x1ef)](f[A(0x1d5)]))d=f[A(0x1d5)];else{Log[A(0x1e5)](A(0x206)+d);return;}}Log[A(0x1ec)]('Logging\x20into\x20https://'+hostname);const g={'url':A(0x205)+hostname+A(0x1e1)};b[A(0x1e0)]&&Object[A(0x1fb)](g,{'cert':d});c[A(0x1d6)](A(0x1dd));const {statusCode:h}=await HTTPS['get'](g);if(h===0x198){c[A(0x1f2)]();throw A(0x1db);}if(h!==0xc8){c['failure']();throw A(0x205)+hostname+A(0x204);}c[A(0x1d8)]();const i=b[A(0x1d4)]?b['email']:await Actions[A(0x1e7)](A(0x203)),j=b[A(0x1e8)]?b[A(0x1e8)]:await Actions[A(0x1e7)](A(0x1f8),!![]),k=a66e['md'][A(0x1f5)]['create']();k[A(0x1e6)](j);const l=k[A(0x1fc)]()['toHex'](),m={'hostname':hostname,'path':A(0x1f1),'data':{'email':i,'password':l,'hashed':!![]}};b[A(0x1e0)]&&Object[A(0x1fb)](m,{'cert':d});c[A(0x1d6)]('Logging\x20in');const {data:n,statusCode:o}=await HTTPS[A(0x1d9)](m);if(o===0x198){c['failure']('\x0a');throw A(0x1f7)+hostname;}const p=JSON['parse'](n);if(p[A(0x1f4)]){const q={'hostname':hostname,'path':A(0x208),'headers':{'x-auth-token':p['authToken']},'data':{}};b['cacert']&&Object[A(0x1fb)](q,{'cert':d});const {data:r,statusCode:s}=await HTTPS[A(0x1d9)](q),{token:t}=JSON[A(0x1df)](r);if(s===0x198)throw A(0x1f7)+hostname;const u={'token':p,'hash':t};this['fsi']['setGlobalConfig'](u);}else{c[A(0x1f2)]();throw p;}c['success']();}catch(v){c[A(0x1f2)](),console[A(0x1e5)](v),process[A(0x1f3)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a67o=a67d;(function(a,b){const l=a67d,c=a();while(!![]){try{const d=parseInt(l(0x211))/0x1*(parseInt(l(0x1f5))/0x2)+parseInt(l(0x21b))/0x3*(parseInt(l(0x20b))/0x4)+-parseInt(l(0x200))/0x5+-parseInt(l(0x219))/0x6+-parseInt(l(0x215))/0x7*(-parseInt(l(0x21f))/0x8)+-parseInt(l(0x221))/0x9*(-parseInt(l(0x21c))/0xa)+-parseInt(l(0x21e))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a67c,0x19ff8));const a67b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a67d;if(c){const e=c[m(0x210)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a67a=a67b(this,function(){const n=a67d;return a67a[n(0x203)]()[n(0x202)](n(0x209))[n(0x203)]()['constructor'](a67a)['search']('(((.+)+)+)+$');});a67a();function a67d(a,b){const c=a67c();return a67d=function(d,e){d=d-0x1f3;let f=c[d];return f;},a67d(a,b);}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{HTTPS}from'../tools/https/https.class.js';function a67c(){const q=['token','Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?','cacert','(((.+)+)+)+$','failure','20QBTaqF','https://','maka\x20logout','fsi','/api/v1/logoutAll','apply','25331KiAwTV','isFile','assign','cert','7qdXxXb','post','True','/api/v1/status','1167810utWcBw','Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','47490WqtNDR','150YGvmJx','header','769186sdTvKr','125480LkrSfT','Using\x20CA\x20Cert\x20','121491zAAxgw','env','start','Preflight\x20Check','14YAfdig','get','www.maka-cli.com','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','logout','error','create','MAKA_DEV','authToken','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','517940qLciKE','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','search','toString','localhost','Logging\x20out'];a67c=function(){return q;};return a67c();}const hostname=process[a67o(0x222)][a67o(0x1fc)]===a67o(0x217)?a67o(0x204):a67o(0x1f7);Command[a67o(0x1fb)]({'name':a67o(0x1f9),'validOpts':['cacert'],'usage':a67o(0x20d),'maxArgLength':0x2,'shortDesc':a67o(0x21a),'disableAuthCheck':!![],'examples':[a67o(0x20d)]},async function(a,b){const p=a67o,c=Log['withSpinner']();try{let d='';b[p(0x208)]&&(this[p(0x20e)][p(0x212)](b['cacert'])?(d=b[p(0x208)],Log['notice'](p(0x220)+d)):Log[p(0x1fa)](p(0x1fe)+d));const f=await this[p(0x20e)]['getGlobalConfig']();if(f[p(0x214)]){if(this[p(0x20e)]['isFile'](f[p(0x214)]))d=f[p(0x214)];else{c['failure']();throw Log[p(0x1fa)](p(0x201)+d);}}Log[p(0x21d)]('Logging\x20out\x20of\x20https://'+hostname);const g={'url':p(0x20c)+hostname+p(0x218)};b[p(0x208)]&&Object[p(0x213)](g,{'cert':d});c[p(0x1f3)](p(0x1f4));const {statusCode:h}=await HTTPS[p(0x1f6)](g);if(h===0x198){c[p(0x20a)]();throw p(0x1ff);}c['success']();if(h!==0xc8){c[p(0x20a)]();throw p(0x1f8);}if(!f?.[p(0x206)]?.[p(0x1fd)])throw Log[p(0x1fa)](p(0x207));c[p(0x1f3)](p(0x205));const i={'hostname':hostname,'path':p(0x20f),'data':{},'headers':{'x-auth-token':f[p(0x206)][p(0x1fd)]}};b['cacert']&&Object[p(0x213)](i,{'cert':d});const {statusCode:j}=await HTTPS[p(0x216)](i);if(j===0x198){c[p(0x20a)]('\x0a');throw p(0x1ff);}this[p(0x20e)]['setGlobalConfig']({'token':{'authToken':'','userId':'','when':''},'hash':''}),c['success']();}catch(k){k&&console['error'](k),process['exit'](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a68k=a68d;(function(a,b){const h=a68d,c=a();while(!![]){try{const d=parseInt(h(0xc0))/0x1*(parseInt(h(0xa9))/0x2)+-parseInt(h(0xbb))/0x3*(parseInt(h(0xad))/0x4)+-parseInt(h(0xac))/0x5+parseInt(h(0xaf))/0x6*(-parseInt(h(0xb2))/0x7)+parseInt(h(0xb9))/0x8+-parseInt(h(0xb7))/0x9+parseInt(h(0xb6))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a68c,0x78f61));function a68d(a,b){const c=a68c();return a68d=function(d,e){d=d-0xa9;let f=c[d];return f;},a68d(a,b);}const a68b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a68d;if(c){const e=c[i(0xaa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a68a=a68b(this,function(){const j=a68d;return a68a[j(0xc2)]()[j(0xc3)]('(((.+)+)+)+$')[j(0xc2)]()[j(0xb8)](a68a)[j(0xc3)](j(0xb3));});a68a();import a68e from'fs';import a68f from'path';function a68c(){const m=['1476rZRPbv','View\x20the\x20PM2\x20logs','6lYroPf','parse','getConfigPath','1989421xSnmbh','(((.+)+)+)+$','maka\x20logs\x20--env\x20staging','readFileSync','13560820ZJfGnI','6416865ngnoFC','constructor','2347808GWNblk','create','4497mmJLCl','maka\x20l\x20-e\x20p','maka\x20logs','ssh.json','assign','445LmQtgg','logs','toString','search','3778jgGHRR','apply','fsi','2221935YYBAoM'];a68c=function(){return m;};return a68c();}import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a68k(0xba)]({'name':a68k(0xc1),'aliases':['l','log'],'usage':a68k(0xbd),'requiredOpts':['env'],'mustBeInMakaProject':!![],'validOpts':[''],'shortDesc':a68k(0xae),'examples':['maka\x20logs\x20--env\x20dev',a68k(0xb4),a68k(0xbc)]},function(a,b){const l=a68k,c='pm2\x20logs',d=this[l(0xab)][l(0xb1)](b['env']),e=a68f['join'](d,l(0xbe)),f=a68e[l(0xb5)](e),g=JSON[l(0xb0)](f['toString']());Object[l(0xbf)](g,{'env':d}),SSH['sshSync'](c,g,{'tty':!![],'verbose':!![]});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a69j=a69d;(function(a,b){const g=a69d,c=a();while(!![]){try{const d=-parseInt(g(0xaf))/0x1*(-parseInt(g(0xa6))/0x2)+parseInt(g(0xb4))/0x3*(-parseInt(g(0xb1))/0x4)+parseInt(g(0xaa))/0x5*(-parseInt(g(0xab))/0x6)+-parseInt(g(0xb2))/0x7+-parseInt(g(0xae))/0x8+parseInt(g(0xa3))/0x9+parseInt(g(0xad))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a69c,0x7707f));const a69b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a69d;if(c){const e=c[h(0xa5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a69a=a69b(this,function(){const i=a69d;return a69a[i(0xa7)]()[i(0xa9)](i(0x9e))[i(0xa7)]()[i(0x9f)](a69a)['search'](i(0x9e));});a69a();import{Command}from'../command.js';function a69d(a,b){const c=a69c();return a69d=function(d,e){d=d-0x9e;let f=c[d];return f;},a69d(a,b);}const Maka=new Command({'name':'maka','minArgLength':0x1,'shortDesc':'A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','validOpts':[],'usage':a69j(0xb0),'disableAuthCheck':!![],'examples':[a69j(0xa1),a69j(0xa4),'maka\x20create\x20Todo','maka\x20run'],'description':'\x0a\x0a\x20\x20Scaffold\x20Web\x20Applications\x20with\x20Meteor\x20and\x20Maka-CLI\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.-:\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20:-.\x20\x20\x20\x20\x20:--\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::\x20\x20::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20.\x20.:::::::\x20.:::::::\x20..\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20..:.....\x20.::..::.\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20.::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::::::\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20:--\x20\x20--\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.------\x20.-----:\x20\x20\x20\x20\x20\x20..\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20----.\x20\x20\x20\x20\x20.--\x20\x20-:\x20\x20\x20\x20\x20\x20::\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20\x20:::\x20:.\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20...\x20\x20\x20\x20\x20.::::::\x20\x20\x20\x20\x20\x20::\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:..\x20\x20\x20\x20::----::\x20.::\x20.::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-:::::\x20.-:\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::\x20.::\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20.:::..:::::\x20\x20\x20\x20\x20.--.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20.:\x20--------\x20.-------.::\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20:-:\x20\x20-:\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20:-.\x20\x20\x20\x20\x20:--\x20\x20--\x20\x20\x20\x20\x20.--.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.::::::\x20.::\x20\x20::\x20\x20\x20\x20\x20.--.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20\x20::::::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::..-::.\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20.\x20.:::....\x20\x20::..---:..\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20.\x20.:::::::\x20\x20::..::.\x20..\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20\x20:.\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:--\x20\x20\x20\x20\x20\x20\x20\x20\x20.--.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-:\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20:\x0a.:..::...::.\x20\x20\x20....:\x20\x20\x20.:\x20\x20\x20::\x20\x20....:.\x20\x20\x20\x20\x20\x20\x20\x20.::::\x20\x20.:\x20\x20::\x0a\x20:.\x20\x20\x20:.\x20\x20\x20:.\x20\x20....:-\x20\x20.-..:.\x20\x20\x20....:-\x20\x20...\x20\x20:.\x20\x20\x20\x20\x20\x20.:\x20\x20.:\x0a\x20:.\x20\x20\x20:.\x20\x20\x20:.\x20.:\x20\x20\x20:-\x20\x20.-\x20\x20.:\x20\x20.:\x20\x20\x20:-\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20\x20\x20\x20.:\x20\x20.:\x0a.:.\x20\x20\x20:.\x20\x20\x20.:\x20\x20....\x20:.\x20.:.\x20\x20..\x20\x20....\x20:.\x20\x20\x20\x20\x20\x20\x20.....\x20\x20.:.\x20.:.\x0a\x0a\x20\x20'},async function(a,b){const k=a69j;try{const c=a[0x0],d=this[k(0xb3)](c);d?this[k(0xa2)](c,a['slice'](0x1),b):this[k(0xa8)]['maybeProxyCommandToMeteor']();}catch(f){console[k(0xac)](f),process[k(0xa0)](0x1);}});function a69c(){const l=['2WSTjFz','toString','fsi','search','15vvcsAY','869016uONSOn','error','13351550UprYoS','5602160nHnSMm','911570KStGZV','maka\x20<command>\x20[<args>]\x20[<opts>]','117148YmNMRP','4307093gpTavK','findSubCommand','90WGbFMK','(((.+)+)+)+$','constructor','exit','maka\x20--help','runSubCommand','7825617TNnoli','maka\x20install\x20meteor','apply'];a69c=function(){return l;};return a69c();}export default Maka;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a70h=a70d;(function(a,b){var f=a70d,c=a();while(!![]){try{var d=-parseInt(f(0xb4))/0x1+-parseInt(f(0xc0))/0x2*(parseInt(f(0xbf))/0x3)+parseInt(f(0xbe))/0x4+parseInt(f(0xb7))/0x5+parseInt(f(0xb9))/0x6*(parseInt(f(0xc7))/0x7)+parseInt(f(0xb8))/0x8*(-parseInt(f(0xc6))/0x9)+-parseInt(f(0xb6))/0xa*(-parseInt(f(0xbc))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a70c,0xa8263));var a70b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a70a=a70b(this,function(){var g=a70d;return a70a[g(0xc1)]()[g(0xbb)](g(0xc4))[g(0xc1)]()['constructor'](a70a)['search'](g(0xc4));});function a70d(a,b){var c=a70c();return a70d=function(d,e){d=d-0xb4;var f=c[d];return f;},a70d(a,b);}a70a();import{Command}from'../command.js';function a70c(){var j=['create','1420506wRGFtO','3675jSVweI','1168799wxuWQO','Murrrrderrrrr','688910fgOnzM','814245MFxaRH','48XNYCpn','1758tjefZG','maka\x20murder','search','319IHmLoB','font-family:\x20monospace','4340644pyRVWe','12vIMOFw','297566eCWnom','toString','error','exit','(((.+)+)+)+$'];a70c=function(){return j;};return a70c();}Command[a70h(0xc5)]({'name':'murder','usage':a70h(0xba),'maxArgLength':0x1,'shortDesc':a70h(0xb5),'validOpts':[]},async function(){var i=a70h;try{console['log']('%c\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.___.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20,-^\x20\x20\x20\x20\x20^-.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x0a.-------|\x20|--------------/\x20\x20__\x20\x20\x20\x20\x20__\x20\x20\x5c-------------------.__\x0a|WMWMWMW|\x20|>>>>>>>>>>>>>\x20|\x20/>>\x5c\x20\x20\x20/>>\x5c\x20|>>>>>>>>>>>>>>>>>>>>>>:>\x0a`-------|\x20|--------------|\x20\x5c__/\x20\x20\x20\x5c__/\x20|-------------------\x27^^\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x5c\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x20/|\x5c\x20\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x5c_/\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|\x20\x20\x20\x20\x20\x20\x20|\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|+H+H+H+|\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x20\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20^-----^\x0a\x0a',i(0xbd));}catch(a){console[i(0xc2)](a),process[i(0xc3)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a71q=a71d;(function(a,b){const n=a71d,c=a();while(!![]){try{const d=-parseInt(n(0x1cb))/0x1*(-parseInt(n(0x1d6))/0x2)+-parseInt(n(0x1bb))/0x3+parseInt(n(0x1d0))/0x4*(-parseInt(n(0x1b7))/0x5)+parseInt(n(0x1cf))/0x6+parseInt(n(0x1b8))/0x7+parseInt(n(0x1d4))/0x8+-parseInt(n(0x1c5))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a71c,0xc8c60));const a71b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a71d;if(c){const e=c[o(0x1cd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a71a=a71b(this,function(){const p=a71d;return a71a['toString']()[p(0x1b6)]('(((.+)+)+)+$')[p(0x1c1)]()[p(0x1d2)](a71a)['search']('(((.+)+)+)+$');});a71a();import a71e from'fs';import a71f from'path';import a71g from'http-proxy';function a71c(){const s=['readFileSync','targetPort','isFile','9998622RdlnbN','maka\x20proxy','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','error','maka\x20proxy\x20--target-host\x20http://192.168.1.20','createProxyServer','407706fqbgGt','help','apply','development','802914OgkrAc','20mkEDhe','invoke','constructor','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','10062944yPPGYe','appName','6QjbfGT','proxy','\x0a\x20\x20If\x20you\x27re\x20running\x20your\x20Meteor\x20service,\x20and\x20need\x20to\x20stand\x20up\x20an\x20SSL\x0a\x20\x20Proxy,\x20this\x20command\x20will\x20automatically\x20create\x20a\x20key\x20pair\x20for\x20use\x20in\x20an\x20HTTPS\x0a\x20\x20proxy.\x0a\x0a\x20\x20For\x20example,\x20you\x27re\x20running\x20http://localhost:3000\x20with\x20\x22maka\x20run\x22\x20then\x20open\x20a\x20new\x0a\x20\x20terminal\x20and\x20run\x20\x22maka\x20proxy\x22\x20to\x20standup\x20https://localhost:3443.\x0a\x20\x20Then\x20open\x20your\x20browser\x20to\x20that\x20URL\x20(you\x20may\x20need\x20to\x20trust\x20the\x20certificates\x0a\x20\x20because\x20they\x20are\x20self-signed)\x20and\x20you\x27ll\x20have\x20an\x20SSL\x20connection\x20to\x20your\x0a\x20\x20http://localhost:3000.\x0a\x0a\x20\x20To\x20avoid\x20possibly\x20overwriting\x20PKI\x20files\x20in\x20higher\x20environments,\x20\x22maka\x20proxy\x22\x0a\x20\x20will\x20try\x20to\x20only\x20generate\x20/\x20store\x20PKI\x20keys\x20in\x20the\x20development\x20environment.\x0a\x20\x20','join','listen','fsi','search','1097185UjwxBc','9636347VWujJe','.key','listenPort','2882745RyvAEB','targetHost','.crt','mkKeysDir','utf8','genCSR','toString'];a71c=function(){return s;};return a71c();}import{Command}from'../command.js';function a71d(a,b){const c=a71c();return a71d=function(d,e){d=d-0x1b2;let f=c[d];return f;},a71d(a,b);}import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';import{SSL}from'../tools/ssl/ssl.class.js';import a71h from'../generators/maka.gen.js';Command['create']({'name':a71q(0x1d7),'usage':a71q(0x1c6),'mustBeInMakaProject':!![],'validOpts':[a71q(0x1cc),a71q(0x1c3),a71q(0x1ba),'targetHost'],'maxArgLength':0x1,'shortDesc':a71q(0x1d3),'description':a71q(0x1b2),'examples':[a71q(0x1c6),'maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000',a71q(0x1c9)]},async function(a,b){const r=a71q,c=this[r(0x1b5)]['getProjectConfig'](),d=r(0x1ce),e=this['fsi']['getConfigPath'](d),f=this[r(0x1b5)][r(0x1be)]({'configPath':e}),g=b[r(0x1c3)]?Number(b[r(0x1c3)]):0xbb8,h=b[r(0x1ba)]?Number(b['listenPort']):0xd73,i=b[r(0x1bc)]?b[r(0x1bc)]:'localhost',j=a71f[r(0x1b3)](f,c[r(0x1d5)]+r(0x1b9)),k=a71f['join'](f,c[r(0x1d5)]+r(0x1bd));if(!this[r(0x1b5)][r(0x1c4)](j)||!this['fsi'][r(0x1c4)](k)){const m=a71h['findGenerator']('sslconfig');m&&await m[r(0x1d1)](['sslconfig'],{'env':d}),SSL[r(0x1c0)]({'keyName':c[r(0x1d5)]+r(0x1b9),'csrName':c['appName']+'.csr','cwd':f}),SSL['genSSC']({'keyName':c[r(0x1d5)]+r(0x1b9),'crtName':c['appName']+r(0x1bd),'cwd':f});}if(g===h){Log[r(0x1c8)](r(0x1c7));throw new UsageError();}const l={'ssl':{'key':a71e[r(0x1c2)](j,r(0x1bf)),'cert':a71e[r(0x1c2)](k,r(0x1bf))},'target':{'host':i,'port':Number(g)},'ws':!![],'xfwd':!![]};a71g[r(0x1ca)](l)[r(0x1b4)](Number(h)),Log['bright']('=>\x20SSL\x20Proxy\x20forwarding\x20'+h+'\x20to\x20'+g);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a72p=a72d;(function(a,b){const n=a72d,c=a();while(!![]){try{const d=parseInt(n(0xfd))/0x1*(parseInt(n(0x106))/0x2)+parseInt(n(0x10b))/0x3+-parseInt(n(0x119))/0x4+parseInt(n(0x100))/0x5+-parseInt(n(0x111))/0x6+parseInt(n(0x10c))/0x7+-parseInt(n(0x10a))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a72c,0x6afe8));const a72b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a72a=a72b(this,function(){const o=a72d;return a72a['toString']()[o(0x117)]('(((.+)+)+)+$')['toString']()[o(0x11c)](a72a)[o(0x117)](o(0x114));});a72a();import a72e from'fs';import a72f from'path';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';function a72d(a,b){const c=a72c();return a72d=function(d,e){d=d-0xfc;let f=c[d];return f;},a72d(a,b);}Command[a72p(0x110)]({'name':a72p(0xfe),'validOpts':[''],'requiredOpts':[a72p(0x104)],'mustBeInMakaProject':!![],'usage':'maka\x20reconfig','shortDesc':a72p(0x109),'description':a72p(0x120),'examples':[a72p(0x115)]},async function(a,b){const q=a72p;try{const c=this[q(0x102)][q(0x101)](b[q(0x104)]),d=a72f[q(0x121)](c,q(0x10f)),f=a72e[q(0x11f)](d)['toString'](),g=JSON[q(0xff)](f);Object[q(0x108)](g,{'env':c}),Log['notice'](q(0x11e));const h=SSH[q(0x105)]('uname\x20-a',g);if(!h)throw q(0x118);if(h)Log['success'](q(0x10d));const i=a72f[q(0x121)](c,q(0x123),q(0x107));if(a72e[q(0x122)](i)){const l={'source':i,'dest':q(0x124),'verbose':!![]};SSH[q(0xfc)](l,{...g});}const j=a72f['join'](c,q(0x112));SSH[q(0xfc)]({'source':j,'dest':q(0x113),'verbose':!![]},{...g});const k=a72f[q(0x121)](c,q(0x103));SSH[q(0xfc)]({'source':k,'dest':q(0x11d),'verbose':!![]},{...g}),SSH['sshSync']('pm2\x20delete\x20all',g),await SSH[q(0x116)](q(0x10e),{...g},{'verbose':!![]});}catch(m){console[q(0x11a)](m),process[q(0x11b)](0x0);}});function a72c(){const r=['~/settings.json','Checking\x20remote\x20host\x20availability','readFileSync','\x0a\x20\x20If\x20using\x20a\x20remote\x20server\x20(Ubuntu),\x20send\x20up\x20the\x20settings.json\x0a\x20\x20and\x20pm2.config.js\x20files\x20and\x20reloads\x20the\x20PM2\x20service.\x0a\x20\x20','join','existsSync','_keys','~/ses.json','scp','285343YqpUYh','reconfig','parse','2551115QokfPJ','getConfigPath','fsi','settings.json','env','ping','4TGgVNu','ses.json','assign','Reconfigure\x20your\x20deployed\x20applications','10091960vtlnOq','2084949uBXjom','2590665NxKnWR','Remote\x20host\x20connection\x20successful','echo\x20\x22\x22\x20&&\x20pm2\x20start\x20pm2.config.js\x20&&\x20echo\x20\x22\x22\x20||\x20echo\x20\x22Cound\x20not\x20find\x20PM2,\x20have\x20you\x20deployed\x20the\x20app\x20yet?\x22','ssh.json','create','238536LpvPro','pm2.config.js','~/pm2.config.js','(((.+)+)+)+$','maka\x20reconfig\x20--env\x20prod','ssh','search','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','1625952PObyqZ','error','exit','constructor'];a72c=function(){return r;};return a72c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=
|
|
1
|
+
function a73d(a,b){var c=a73c();return a73d=function(d,e){d=d-0x1ef;var f=c[d];return f;},a73d(a,b);}function a73c(){var i=['30dbblIL','32JVLyBZ','apply','10330GhWqFg','696XMWpMG','107575hLmNxK','toString','306950JwuDtV','180vWqOYo','34370NHsTwA','166ymDWny','search','688kDhvAG','660546dcpUEd','52816fajGjH','(((.+)+)+)+$','693faloOp','constructor'];a73c=function(){return i;};return a73c();}(function(a,b){var f=a73d,c=a();while(!![]){try{var d=parseInt(f(0x200))/0x1*(parseInt(f(0x1f0))/0x2)+parseInt(f(0x1f6))/0x3*(-parseInt(f(0x1f2))/0x4)+parseInt(f(0x1f9))/0x5*(parseInt(f(0x1fa))/0x6)+-parseInt(f(0x1fd))/0x7+parseInt(f(0x1f7))/0x8*(-parseInt(f(0x1f1))/0x9)+-parseInt(f(0x1ff))/0xa*(-parseInt(f(0x1f4))/0xb)+-parseInt(f(0x1fe))/0xc*(-parseInt(f(0x1fb))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a73c,0x2900e));var a73b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a73d;if(c){var e=c[g(0x1f8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a73a=a73b(this,function(){var h=a73d;return a73a[h(0x1fc)]()[h(0x1ef)](h(0x1f3))['toString']()[h(0x1f5)](a73a)[h(0x1ef)]('(((.+)+)+)+$');});a73a();import'./run.command.js';import'./docker.sub.cmd.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a74l=a74d;(function(a,b){const i=a74d,c=a();while(!![]){try{const d=parseInt(i(0x1bb))/0x1*(parseInt(i(0x1bf))/0x2)+parseInt(i(0x1c6))/0x3+parseInt(i(0x1ca))/0x4*(parseInt(i(0x1bd))/0x5)+-parseInt(i(0x1c4))/0x6+-parseInt(i(0x1ac))/0x7*(-parseInt(i(0x1c5))/0x8)+parseInt(i(0x1c9))/0x9*(parseInt(i(0x1aa))/0xa)+-parseInt(i(0x1b1))/0xb*(parseInt(i(0x1ab))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a74c,0xbcada));const a74b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a74d;if(c){const e=c[j(0x1b7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a74a=a74b(this,function(){const k=a74d;return a74a[k(0x1b4)]()[k(0x1c2)]('(((.+)+)+)+$')[k(0x1b4)]()['constructor'](a74a)[k(0x1c2)]('(((.+)+)+)+$');});a74a();import a74e from'./run.command.js';import{execSync}from'child_process';import a74f from'path';import a74g from'fs';function a74c(){const n=['1reqjmJ','PM2\x20Config\x20File:\x20','156410mgOUFA','notice','1207974kOGAmD','existsSync','Docker\x20Compose\x20Path:\x20','search','fsi','3333756mwBAjn','1244296slnlnV','1314129cpBGPm','\x20up\x20--remove-orphans','pm2.config.js','9RQfAPJ','32PKTRZA','docker-compose.yaml','8679430JpdYyw','5923884AIDfCH','7dONqIC','docker','\x0a\x20\x20Run\x20your\x20application\x20in\x20a\x20Docker\x20container.\x20\x20Docker\x20Desktop\x20or\x20Colmia\x20is\x20required.\x0a\x0a\x20\x20Colima\x20is\x20a\x20great\x20alternative\x20to\x20Docker\x20Desktop,\x20and\x20it\x20is\x20free!\x0a\x20\x20Colima:\x20https://github.com/abiosoft/colima\x0a\x0a\x0a\x20\x20A\x20docker-compose.yml\x20file\x20(location\x20defaulted\x20to\x20the\x20\x22config/docker\x22\x20folder)\x0a\x20\x20is\x20used\x20to\x20startup\x20mongo\x20and\x20load\x20the\x20built\x20image\x27\x0a\x20\x20','exit','inherit','22dWudYw','getProjectConfig','create','toString','templateContent','maka\x20run\x20docker','apply','join','getConfigPath','appName'];a74c=function(){return n;};return a74c();}import{Log}from'../../tools/log/log.class.js';import{Command}from'../../command.js';import{paramCase}from'change-case';function a74d(a,b){const c=a74c();return a74d=function(d,e){d=d-0x1aa;let f=c[d];return f;},a74d(a,b);}Command[a74l(0x1b3)]({'name':a74l(0x1ad),'aliases':['d'],'shortDesc':'Run\x20your\x20application\x20in\x20a\x20Docker\x20container','description':a74l(0x1ae),'usage':a74l(0x1b6),'validOpts':['']},async function(){const m=a74l;try{const a=this[m(0x1c3)][m(0x1b2)](),b=this[m(0x1c3)][m(0x1b9)](m(0x1ad)),c=a74f['join'](b,m(0x1cb)),d=a74f[m(0x1b8)](b,m(0x1c8));Log[m(0x1be)](m(0x1bc)+d),Log['notice'](m(0x1c1)+c);if(!a74g[m(0x1c0)](c)){const f={'app':a[m(0x1ba)],'appFileCase':paramCase(a[m(0x1ba)])},g=this['fsi'][m(0x1b5)]({'srcPath':'config/docker-compose.yaml','context':f})+'\x0a';this[m(0x1c3)]['createFile']({'filePath':c,'data':g});}execSync('docker-compose\x20--project-directory\x20'+b+m(0x1c7),{'stdio':m(0x1b0)});}catch(h){process[m(0x1af)](0x1);}},a74e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a75u=a75d;(function(a,b){const q=a75d,c=a();while(!![]){try{const d=parseInt(q(0x78))/0x1+parseInt(q(0x85))/0x2+parseInt(q(0x9f))/0x3+parseInt(q(0xb5))/0x4*(parseInt(q(0x9e))/0x5)+-parseInt(q(0x93))/0x6*(-parseInt(q(0x89))/0x7)+-parseInt(q(0x92))/0x8+-parseInt(q(0xb7))/0x9*(-parseInt(q(0xb4))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a75c,0xf1544));const a75b=(function(){let a=!![];return function(b,c){const d=a?function(){const r=a75d;if(c){const e=c[r(0xb3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a75a=a75b(this,function(){const s=a75d;return a75a[s(0xa5)]()[s(0x80)]('(((.+)+)+)+$')['toString']()[s(0x81)](a75a)[s(0x80)](s(0x82));});a75a();function a75d(a,b){const c=a75c();return a75d=function(d,e){d=d-0x78;let f=c[d];return f;},a75d(a,b);}import a75e from'path';function a75c(){const x=['ios','126MuxyRv','settings','125755fdkePQ','\x0a\x20\x20maka\x20run\x0a\x20\x20-e\x20|\x20--env\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20target\x20environment.\x20\x20Will\x20automatically\x20pull\x20in\x20the\x20meteor\x20settings\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20file\x20(settings.json)\x20and\x20any\x20environment\x20options\x20that\x20have\x20been\x20enabled.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Defaults\x20to\x20the\x20development\x20(dev)\x20environment.\x0a\x0a\x20\x20-r\x20|\x20--raw-logs\x20\x20\x20\x20\x20\x20\x20Only\x20output\x20the\x20meteor\x20logs\x20without\x20the\x20timestamp.\x0a\x0a\x20\x20-p\x20|\x20--port\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20port\x20to\x20run\x20the\x20meteor\x20server\x20on.\x20Defaults\x20to\x20port\x203000.\x0a\x0a\x20\x20-i\x20|\x20--inspect\x20\x20\x20\x20\x20\x20\x20\x20Tells\x20the\x20meteor\x20server\x20to\x20run\x20nodejs\x20in\x20debug\x20mode.\x20Starts\x20a\x20debug\x20session\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20which\x20can\x20be\x20accessed\x20by\x20Chrome\x20Dev\x20Tools\x20or\x20another\x20debug\x20terminal.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default\x20port\x20is\x209229.\x0a\x0a\x20\x20-m\x20|\x20--mobile-server\x20\x20Specify\x20a\x20different\x20backend\x20server\x20to\x20connect\x20to.\x20\x20Mainly\x20used\x20when\x20running\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mobile\x20app\x20mode\x20with\x20Cordova.\x0a\x0a\x20\x20-x\x20|\x20--exclude-archs\x20\x20Don\x27t\x20create\x20bundles\x20for\x20certain\x20web\x20architectures\x20(comma\x20separated,\x20for\x20example:\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--exclude-archs\x20\x22web.browser.legacy,\x20web.cordova\x22)\x0a\x0a\x20\x20--production\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Runs\x20the\x20application\x20in\x20production\x20mode;\x20minifies\x20and\x20bundles\x20all\x20files\x20and\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20removes\x20development\x20packages.','process.env','mobile-server','split','exit','argv','production','search','constructor','(((.+)+)+)+$','splice','push','1528586PPuQgK','length','--production','openSync','3654yTQtVb','slice','run','--env','.meteor','settings.json','join','filter','getConfigPath','14569808IdqXgw','1842HQUGuY','docker','allowIncompatibleUpdate','Please\x20provide\x20a\x20URL\x20where\x20your\x20mobile\x20app\x20should\x20connect\x20to\x20your\x20server\x20(e.g.,\x20-m\x20|\x20--mobile-server=https://example-server.com)','create','rawLogs','sep','env','findSubCommand','warn','isDirectory','18395hJxnqw','727164ZdxEDO','Meteor\x20Settings:\x20','fsi','inspect','compareMakaToLatest','invokeMeteorCommand','toString','port','isFile','Node\x20Env\x20Config:\x20','app','verbose','Run\x20your\x20Meteor\x20application','cordova-build','local','notice','concat','extraPackages','findProjectDirectory','development','apply','305740wNIcVl','1184yIAqLr'];a75c=function(){return x;};return a75c();}import a75f from'fs';import a75g from'dotenv';import{rimraf}from'rimraf';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';const syncSource=function(a){const t=a75d;a75f[t(0x88)](a,'r'),a75g['config']({'path':a});},Run=Command[a75u(0x97)]({'name':a75u(0x8b),'mustBeInMakaProject':!![],'shortDesc':a75u(0xab),'description':a75u(0x79),'validOpts':['env',a75u(0x94),'r',a75u(0x98),'p',a75u(0xa6),'i',a75u(0xa2),'m','mobileServer','v',a75u(0xaa),a75u(0x95),a75u(0xb0),'x','exclude-archs',a75u(0x7f)]},async function(a,b){const v=a75u;try{const c=a[0x0],d=this[v(0x9b)](c);d&&this['runSubCommand'](c,a,b);if(c===v(0xb6)){const m=this[v(0xa1)][v(0xb1)](),n=a75e[v(0x8f)](m,v(0xa9),v(0x8d),v(0xad),v(0xac));this[v(0xa1)][v(0x9d)](n)&&await rimraf(n);}if(b[v(0x7b)]&&b[v(0x7b)]===!![]||b['m']&&b['m']===!![])throw v(0x96);await this[v(0xa1)][v(0xa3)]();const f=b['env']?b[v(0x9a)]:v(0xb2),g=this[v(0xa1)][v(0x91)](f),h=a75e[v(0x8f)](g,v(0x7a));let i=a75e[v(0x8f)](g,v(0x8e));b[v(0xb8)]?i=b[v(0xb8)]:i=a75e[v(0x8f)](g,v(0x8e));if(this[v(0xa1)][v(0xa7)](h)&&!b[v(0x94)])Log[v(0xae)](v(0xa8)+h),syncSource(h);else!b[v(0x94)]&&Log[v(0x9c)]('Cannot\x20find\x20Node\x20Environment\x20File:\x20'+h);this[v(0xa1)][v(0xa7)](i)?(Log[v(0xae)](v(0xa0)+i),a=a[v(0xaf)](['--settings',i])):Log['warn']('Cannot\x20find\x20Meteor\x20Settings\x20File:\x20'+i);const j=g[v(0x7c)](a75e[v(0x99)]),k=j[j[v(0x86)]-0x1];k===v(0x7f)&&a[v(0x84)](v(0x87));const l=process[v(0x7e)][v(0x8a)](0x2)[v(0x90)](o=>o!==v(0x8b))[v(0x90)](o=>o!==a[0x0]);l['forEach']((o,p)=>{const w=v;o===w(0x8c)&&l['splice'](p,0x2),o==='-e'&&l[w(0x83)](p,0x2);}),this[v(0xa1)][v(0xa4)](v(0x8b),a[v(0xaf)](l));}catch(o){console['error'](o),process[v(0x7d)](0x1);}});export default Run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=
|
|
1
|
+
(function(a,b){var f=a76d,c=a();while(!![]){try{var d=parseInt(f(0x157))/0x1*(-parseInt(f(0x155))/0x2)+parseInt(f(0x151))/0x3+-parseInt(f(0x159))/0x4+-parseInt(f(0x152))/0x5*(parseInt(f(0x15c))/0x6)+parseInt(f(0x158))/0x7*(-parseInt(f(0x15a))/0x8)+parseInt(f(0x156))/0x9+parseInt(f(0x14f))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a76c,0x764df));var a76b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a76d;if(c){var e=c[g(0x153)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a76a=a76b(this,function(){var h=a76d;return a76a[h(0x154)]()[h(0x150)]('(((.+)+)+)+$')[h(0x154)]()[h(0x15b)](a76a)[h(0x150)]('(((.+)+)+)+$');});a76a();function a76d(a,b){var c=a76c();return a76d=function(d,e){d=d-0x14f;var f=c[d];return f;},a76d(a,b);}function a76c(){var i=['54665kzkuEZ','apply','toString','679026oKfqsN','1026963HCiHOO','1vRHrJa','7HWjIvk','1916836nahXhU','573496mzTaSt','constructor','522CRuaNS','18490810YLVZTd','search','1088901PbhOCt'];a76c=function(){return i;};return a76c();}import'./set.command.js';import'./global.sub.cmd.js';import'./local.sub.cmd.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a77k=a77d;(function(a,b){const h=a77d,c=a();while(!![]){try{const d=parseInt(h(0x1db))/0x1*(-parseInt(h(0x1d6))/0x2)+-parseInt(h(0x1c9))/0x3*(parseInt(h(0x1c3))/0x4)+-parseInt(h(0x1e9))/0x5*(-parseInt(h(0x1da))/0x6)+-parseInt(h(0x1ea))/0x7*(-parseInt(h(0x1cf))/0x8)+parseInt(h(0x1c5))/0x9+parseInt(h(0x1d4))/0xa*(parseInt(h(0x1e4))/0xb)+parseInt(h(0x1cb))/0xc*(-parseInt(h(0x1c2))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a77c,0xd5614));const a77b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a77d;if(c){const e=c[i(0x1d3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a77a=a77b(this,function(){const j=a77d;return a77a[j(0x1dd)]()[j(0x1d8)](j(0x1e8))[j(0x1dd)]()['constructor'](a77a)['search']('(((.+)+)+)+$');});a77a();import a77e from'path';import a77f from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a77k(0x1c4)]({'name':a77k(0x1ca),'usage':a77k(0x1d7),'aliases':['gc'],'minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':['cacert','allowInsecure',a77k(0x1c7),a77k(0x1d2),a77k(0x1d1)],'shortDesc':'Set\x20global\x20Maka-CLI\x20settings','description':a77k(0x1e0),'examples':['maka\x20set:global-config\x20--cacert\x20<path>','maka\x20set:gc\x20--insecure\x20<path>',a77k(0x1ce)]},async function(a,b){const l=a77k;try{if(b['cacert']){if(this['fsi'][l(0x1d5)](b[l(0x1c8)]))this[l(0x1de)][l(0x1eb)]({'cert':b[l(0x1c8)]}),Log['success'](l(0x1e2)+b['cacert']);else{const c=typeof b[l(0x1c8)]===l(0x1e7)?l(0x1e3):l(0x1c6)+b[l(0x1c8)];throw Log[l(0x1e6)](c);}}if(b['workspace']){const d=this['fsi'][l(0x1e5)](b['workspace']);if(d)this[l(0x1de)][l(0x1eb)]({'workspace':a77e['resolve'](b['workspace'])}),Log[l(0x1cd)](l(0x1d0)+a77e[l(0x1d9)](b[l(0x1d2)]));else throw Log[l(0x1e6)](l(0x1cc));}if(b[l(0x1df)]){if(b[l(0x1df)]&&b[l(0x1c7)])throw Log[l(0x1e6)](l(0x1e1));let f=b[l(0x1df)];b[l(0x1c7)]&&(f=![]),this[l(0x1de)][l(0x1eb)]({'allowInsecure':f}),Log[l(0x1cd)]('Set\x20allowInsecure:\x20'+f);}}catch(g){console[l(0x1e6)](g),process[l(0x1dc)](0x0);}},a77f);function a77d(a,b){const c=a77c();return a77d=function(d,e){d=d-0x1c2;let f=c[d];return f;},a77d(a,b);}function a77c(){const m=['CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','disallowInsecure','cacert','412215UMassd','global-config','19080ORXzyk','Could\x20not\x20find\x20directory','success','maka\x20set:gc\x20--workspace\x20<path>','1544pEPRDP','Set\x20workspace:\x20','help','workspace','apply','10300CrQAhk','isFile','67908AcWYVd','maka\x20set:global-config\x20<args>','search','resolve','6JbBusc','15mpmVkh','exit','toString','fsi','allowInsecure','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x0a\x20\x20There\x20are\x20occasions\x20where\x20your\x20network\x20may\x20need\x20an\x20intermediate\x20certificate\x0a\x20\x20to\x20allow\x20connections\x20outside.\x20\x20You\x20may\x20set\x20your\x20certificate\x20path\x20using\x20the\x20command:\x0a\x0a\x20\x20maka\x20set:gc\x20--cacert\x0a\x20\x20','One\x20or\x20the\x20other\x20buddy','Set\x20CA\x20Cert\x20Path:\x20','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','9031NWWxld','isDirectory','error','boolean','(((.+)+)+)+$','7478690sGfgBt','29379zZVHla','setGlobalConfig','22139WtCXJk','4bwlOPQ','create','9693900mKVNNy'];a77c=function(){return m;};return a77c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a78i=a78d;(function(a,b){var f=a78d,c=a();while(!![]){try{var d=-parseInt(f(0x174))/0x1+-parseInt(f(0x17b))/0x2+parseInt(f(0x172))/0x3+-parseInt(f(0x171))/0x4+parseInt(f(0x17e))/0x5+-parseInt(f(0x17d))/0x6*(parseInt(f(0x17c))/0x7)+parseInt(f(0x180))/0x8*(parseInt(f(0x173))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a78c,0x7e086));var a78b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a78d;if(c){var e=c[g(0x181)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a78a=a78b(this,function(){var h=a78d;return a78a[h(0x179)]()[h(0x176)](h(0x184))[h(0x179)]()[h(0x182)](a78a)[h(0x176)]('(((.+)+)+)+$');});a78a();function a78c(){var k=['create','search','Sorry,\x20not\x20implemented\x20yet','notice','toString','local-config','1262254DRGXlY','7VtCwhm','2418414rMdAKb','3455870pJpeHg','maka\x20set:lc\x20<opts>','16301536bfEFoy','apply','constructor','maka\x20set:local-config\x20<opts>','(((.+)+)+)+$','3466084wgvAei','1720665XDnzqo','9qdhozM','885474uwgXuL'];a78c=function(){return k;};return a78c();}import a78e from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a78d(a,b){var c=a78c();return a78d=function(d,e){d=d-0x171;var f=c[d];return f;},a78d(a,b);}Command[a78i(0x175)]({'name':a78i(0x17a),'usage':a78i(0x183),'examples':[a78i(0x17f),a78i(0x183)],'aliases':['lc'],'mustBeInMakaProject':!![],'minArgLength':0x1,'maxArgLength':0x2,'shortDesc':'Set\x20local\x20maka\x20app\x20settings','validOpts':[],'description':'\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20'},async function(){var j=a78i;Log[j(0x178)](j(0x177));},a78e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a79i=a79d;(function(a,b){const f=a79d,c=a();while(!![]){try{const d=-parseInt(f(0x1a6))/0x1*(-parseInt(f(0x1b0))/0x2)+-parseInt(f(0x1a5))/0x3+parseInt(f(0x1b8))/0x4*(parseInt(f(0x1b9))/0x5)+-parseInt(f(0x1b5))/0x6+-parseInt(f(0x1ac))/0x7*(-parseInt(f(0x1a8))/0x8)+parseInt(f(0x1ad))/0x9*(-parseInt(f(0x1b1))/0xa)+-parseInt(f(0x1ab))/0xb*(parseInt(f(0x1a7))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a79c,0xe76ff));const a79b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a79d;if(c){const e=c[g(0x1b6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a79a=a79b(this,function(){const h=a79d;return a79a[h(0x1b3)]()[h(0x1b4)]('(((.+)+)+)+$')[h(0x1b3)]()['constructor'](a79a)[h(0x1b4)](h(0x1ae));});a79a();import{Command}from'../../command.js';function a79c(){const k=['2305hONynk','create','set','3344241zFJVsz','171389ALJTOy','24KeiKoE','3574264juUPMz','findSubCommand','Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','6937909AJgYPY','28kczyEt','819sHFBmd','(((.+)+)+)+$','help','12omnrux','65760MNJoya','maka\x20set:<sub-command>\x20<opts>','toString','search','244728JRNqtr','apply','runSubCommand','9960QuOdJF'];a79c=function(){return k;};return a79c();}import{UsageError}from'../../error.js';const SetCommand=Command[a79i(0x1ba)]({'name':a79i(0x1bb),'usage':a79i(0x1b2),'minArgLength':0x1,'shortDesc':a79i(0x1aa),'description':'\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x20\x20','validOpts':[]},async function(a,b){const j=a79i,c=a[0x0];if(b[j(0x1af)])throw new UsageError();const d=this[j(0x1a9)](c);d&&this[j(0x1b7)](c,a,b);});function a79d(a,b){const c=a79c();return a79d=function(d,e){d=d-0x1a5;let f=c[d];return f;},a79d(a,b);}export default SetCommand;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a80m=a80d;(function(a,b){const j=a80d,c=a();while(!![]){try{const d=-parseInt(j(0x139))/0x1+parseInt(j(0x134))/0x2+parseInt(j(0x143))/0x3+-parseInt(j(0x141))/0x4+-parseInt(j(0x144))/0x5+parseInt(j(0x135))/0x6+parseInt(j(0x12f))/0x7*(parseInt(j(0x137))/0x8);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a80c,0x81530));function a80d(a,b){const c=a80c();return a80d=function(d,e){d=d-0x12a;let f=c[d];return f;},a80d(a,b);}const a80b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a80d;if(c){const e=c[k(0x13c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a80a=a80b(this,function(){const l=a80d;return a80a['toString']()[l(0x146)](l(0x13b))['toString']()[l(0x138)](a80a)['search'](l(0x13b));});a80a();function a80c(){const o=['readFileSync','maka\x20ssh\x20<command>','3035064rTuxCJ','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','479421MJKzAS','1816580PDarxg','length','search','getConfigPath','maka\x20ssh\x20--env\x20staging','exit','env','error','196SfGgqY','fsi','toString','sshSync','maka\x20ssh\x20--env\x20dev','1393646FhUDNX','4847244fAidmI','maka\x20ssh\x20--env\x20prod','37536sgnTmJ','constructor','144086GxnWNQ','ssh.json','(((.+)+)+)+$','apply','assign','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22'];a80c=function(){return o;};return a80c();}import a80e from'fs';import a80f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';Command['create']({'name':'ssh','usage':a80m(0x140),'mustBeInMakaProject':!![],'requiredOpts':['env'],'validOpts':[a80m(0x12d),'v'],'shortDesc':'Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','examples':[a80m(0x133),a80m(0x12b),a80m(0x136),a80m(0x142),'maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22',a80m(0x13e)]},async function(a,b){const n=a80m;try{const c=this[n(0x130)][n(0x12a)](b[n(0x12d)]);let d='';a[n(0x145)]>0x0&&(d=a[0x0]);const f=a80f['join'](c,n(0x13a)),g=a80e[n(0x13f)](f)[n(0x131)](),h=JSON['parse'](g);Object[n(0x13d)](h,{'env':c}),SSH[n(0x132)](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b['v']});}catch(i){console[n(0x12e)](i),process[n(0x12c)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a81y=a81d;(function(a,b){const v=a81d,c=a();while(!![]){try{const d=-parseInt(v(0x14e))/0x1+-parseInt(v(0x163))/0x2+-parseInt(v(0x159))/0x3*(-parseInt(v(0x146))/0x4)+parseInt(v(0x168))/0x5*(parseInt(v(0x151))/0x6)+-parseInt(v(0x13e))/0x7+-parseInt(v(0x158))/0x8*(-parseInt(v(0x145))/0x9)+-parseInt(v(0x13f))/0xa*(parseInt(v(0x14f))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a81c,0xce701));const a81b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a81d;if(c){const e=c[w(0x12d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a81a=a81b(this,function(){const x=a81d;return a81a['toString']()[x(0x132)](x(0x142))[x(0x149)]()[x(0x156)](a81a)[x(0x132)](x(0x142));});a81a();import a81e from'fs';import a81f from'path';function a81d(a,b){const c=a81c();return a81d=function(d,e){d=d-0x12b;let f=c[d];return f;},a81d(a,b);}import{Actions}from'../tools/actions/actions.class.js';import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{SSL}from'../tools/ssl/ssl.class.js';Command[a81y(0x12f)]({'name':'ssl','usage':'maka\x20ssl\x20[command]','validOpts':[a81y(0x144),a81y(0x15c)],'requiredOpts':[a81y(0x13a)],'shortDesc':'Create\x20and\x20manage\x20your\x20SSL\x20operations.','mustBeInMakaProject':!![],'minArgLength':0x1,'examples':[a81y(0x161),a81y(0x152),a81y(0x14d)]},async function(a,b){const z=a81y,c=this['fsi'][z(0x15e)](),d=this[z(0x14b)]['getConfigPath'](b[z(0x13a)]),f=this['fsi']['mkKeysDir']({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g===z(0x131))SSL[z(0x139)]({'keyName':c[z(0x155)]+'.key','csrName':c[z(0x155)]+'.csr','cwd':f});else{if(g==='generate-ssc'){if(!a81e[z(0x13c)](a81f[z(0x153)](f,c[z(0x155)]+z(0x138))))throw z(0x141)+a81f[z(0x153)](f,c[z(0x155)]+'.key');if(!a81e[z(0x13c)](a81f[z(0x153)](f,c[z(0x155)]+z(0x14c))))throw z(0x15b)+a81f['join'](f,c[z(0x155)]+z(0x14c));SSL[z(0x14a)]({'keyName':c[z(0x155)]+z(0x138),'crtName':c[z(0x155)]+'.crt','cwd':f}),Log[z(0x140)]('New\x20CSR\x20written\x20to\x20'+f);}else{if(g===z(0x160)){let h=b[z(0x144)],i=b[z(0x15c)];try{const p=a81e[z(0x13d)](a81f[z(0x153)](d,z(0x148)))[z(0x149)](),q=JSON[z(0x143)](p);h=b[z(0x144)]?b[z(0x144)]:q['domainNames'],i=b['email']?b[z(0x15c)]:q[z(0x15d)],(!b[z(0x15c)]||!b[z(0x144)])&&Log[z(0x140)](z(0x133));}catch(r){}const j=JSON['parse'](a81e[z(0x13d)](d+'/ssh.json')[z(0x149)]());Object[z(0x165)](j,{'env':d}),Log[z(0x140)](z(0x12c));try{const s=SSH[z(0x164)]('uname\x20-a',j);if(!s)throw z(0x15f);if(s)Log[z(0x13b)](z(0x12e));}catch(t){Log[z(0x166)](t);return;}const k=Log[z(0x150)]();k[z(0x15a)](z(0x137)),SSH['ssh'](z(0x167),{...j}),SSH[z(0x136)](z(0x134),{...j}),SSH['ssh'](z(0x12b),{...j}),k[z(0x13b)]();const l=h?h:await Actions[z(0x135)](z(0x154)),m=i?i:await Actions[z(0x135)](z(0x162));SSH[z(0x136)](z(0x157)+l+z(0x130)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON[z(0x147)](n,null,0x2);a81e['writeFileSync'](a81f[z(0x153)](d,'letsencrypt.json'),o);}else throw'Please\x20provide\x20a\x20command.';}}}catch(u){console[z(0x166)](u),process['exit'](0x0);}});function a81c(){const A=['sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20','3095192ODMINf','30mudFMQ','start','The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20','email','emailUpdate','getProjectConfig','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','letsencrypt','maka\x20ssl\x20--env\x20dev\x20generate-csr','Email\x20to\x20use\x20for\x20auto-updates:\x20','2900260cRIHbO','ping','assign','error','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','5bckymg','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','Checking\x20remote\x20host\x20availability','apply','Remote\x20host\x20connection\x20successful','create','\x20--email\x20','generate-csr','search','Using\x20saved\x20letsencrypt\x20config','sudo\x20snap\x20install\x20--classic\x20certbot','ask','ssh','Verifying\x20Letsencrypt\x20configuration','.key','genCSR','env','success','existsSync','readFileSync','95249OyryeC','20aKKGQG','notice','The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20','(((.+)+)+)+$','parse','domains','27GvhFnV','587924gMEIeG','stringify','letsencrypt.json','toString','genSSC','fsi','.csr','maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process','1203022RGJALh','1991715XClptM','withSpinner','7463706PkwUsX','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','join','[?]\x20Domains\x20to\x20register:\x20','appName','constructor'];a81c=function(){return A;};return a81c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a82q=a82d;(function(a,b){const m=a82d,c=a();while(!![]){try{const d=-parseInt(m(0x207))/0x1+-parseInt(m(0x22b))/0x2+-parseInt(m(0x22f))/0x3+parseInt(m(0x231))/0x4*(-parseInt(m(0x21b))/0x5)+parseInt(m(0x22c))/0x6*(-parseInt(m(0x222))/0x7)+parseInt(m(0x225))/0x8*(parseInt(m(0x229))/0x9)+parseInt(m(0x22d))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a82c,0xef2aa));const a82b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a82d;if(c){const e=c[n(0x203)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a82a=a82b(this,function(){const o=a82d;return a82a['toString']()['search'](o(0x209))['toString']()['constructor'](a82a)['search'](o(0x209));});a82a();import a82e from'fs';import a82f from'path';import a82g from'dotenv';function a82d(a,b){const c=a82c();return a82d=function(d,e){d=d-0x1f4;let f=c[d];return f;},a82d(a,b);}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a82c(){const t=['9kxdyCl','sanjo:jasmine','799460dHjxBu','90jcVvWC','49225640TVPnes','driverPackage','2984913FWwQIo','isFile','859004gjywVp','--packages','Cannot\x20find\x20Node\x20Environment\x20File:\x20','unit','testAppPath','slice','--driver-package','Meteor\x20Settings:\x20','process.env','--driver','--settings','concat','readFileSync','mocha','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','test-packages','parse','fsi','apply','rawLogs','test','env','734568QeACCw','argv','(((.+)+)+)+$','notice','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','config','openSync','packages','Node\x20Env\x20Config:\x20','error','utf8','inspect','forEach','splice','--env','none','warn','filter','getConfigPath','port','35byzhCP','.maka','driver-package','once','--full-app','jasmine','meteortesting:mocha','169953PlisEZ','development','join','430184pJtfmh','engines','maka\x20test\x20<opts>','settings.json'];a82c=function(){return t;};return a82c();}const syncSource=function(a){const p=a82d;a82e[p(0x20d)](a,'r'),a82g[p(0x20c)]({'path':a});};Command['create']({'name':'test','mustBeInMakaProject':!![],'validOpts':[a82q(0x21e),'packages','driver',a82q(0x22e),a82q(0x1f4),a82q(0x206),a82q(0x204),a82q(0x21a),a82q(0x212),a82q(0x1f5)],'usage':a82q(0x227),'shortDesc':'Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','examples':[]},function(a,b){const r=a82q;try{let c=this['fsi']['getConfigPath'](r(0x223));b[r(0x206)]&&(c=this[r(0x202)][r(0x219)](b['env']));(!b['unit']||!!b[r(0x21e)])&&(a=a['concat']([r(0x21f)]));b[r(0x1f4)]&&delete b[r(0x1f4)];let d=b[r(0x21d)]||b['driver']||r(0x216);if(d===r(0x216)){const j=JSON[r(0x201)](a82e[r(0x1fd)](a82f[r(0x224)](this[r(0x202)]['findProjectDirectory'](),r(0x21c),'config.json'),r(0x211)));if(j[r(0x226)][r(0x205)]===r(0x220))d=r(0x22a);else j['engines'][r(0x205)]===r(0x1fe)&&(d=r(0x221));}if(d===r(0x216))throw r(0x20b);(!b[r(0x21d)]||!b['driver'])&&(a=a[r(0x1fc)]([r(0x1f7),d]));const f=a82f[r(0x224)](c,r(0x228));this[r(0x202)][r(0x230)](f)?(Log[r(0x20a)](r(0x1f8)+f),a=a[r(0x1fc)]([r(0x1fb),f])):Log[r(0x217)](r(0x1ff)+f);const g=a82f[r(0x224)](c,r(0x1f9));this[r(0x202)][r(0x230)](g)?(Log[r(0x20a)](r(0x20f)+g),syncSource(g)):Log['warn'](r(0x233)+g);const h=process[r(0x208)][r(0x1f6)](0x2)[r(0x218)](k=>k!==r(0x215))[r(0x218)](k=>k!==r(0x205))[r(0x218)](k=>k!==a[0x0]);h[r(0x213)]((k,l)=>{const s=r;(k===s(0x215)||k===s(0x1fa))&&h['splice'](l,0x2),k===s(0x232)&&h[s(0x214)](l,0x1);});const i=b[r(0x20e)]?r(0x200):'test';this[r(0x202)]['invokeMeteorCommand'](i,a[r(0x1fc)](h));}catch(k){console[r(0x210)](k),process['exit'](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a83l=a83d;function a83d(a,b){const c=a83c();return a83d=function(d,e){d=d-0x110;let f=c[d];return f;},a83d(a,b);}(function(a,b){const i=a83d,c=a();while(!![]){try{const d=parseInt(i(0x12f))/0x1*(-parseInt(i(0x12c))/0x2)+-parseInt(i(0x11b))/0x3*(parseInt(i(0x118))/0x4)+parseInt(i(0x116))/0x5+parseInt(i(0x13e))/0x6*(parseInt(i(0x13b))/0x7)+parseInt(i(0x11f))/0x8*(-parseInt(i(0x124))/0x9)+parseInt(i(0x12a))/0xa+parseInt(i(0x11e))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a83c,0xc32a6));const a83b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a83d;if(c){const e=c[j(0x135)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a83a=a83b(this,function(){const k=a83d;return a83a['toString']()['search'](k(0x114))[k(0x132)]()[k(0x139)](a83a)['search'](k(0x114));});function a83c(){const n=['version','\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.','apply','compareMakaToLatest','warn','getProjectsMeteorNodeVersion','constructor','isMakaProject','21BNJNVk','Maka\x20','bright','1025886vOulWM','Project\x27s\x20Meteor\x20Node\x20Version\x20','exit','maka\x20v','System\x27s\x20Meteor\x20Version\x20','(((.+)+)+)+$','Project\x27s\x20Meteor\x20Version\x20','7874415WBhkVI','replace','788308GjzFaF','getProjectMeteorVersion','----------------------Project----------------------------','3GWCnyr','error','System\x27s\x20Node\x20Version\x20','8162451HwbLKw','18776hUoRwL','----------------------System----------------------------','node\x20-v','meteor.bat','platform','6021gTXeFF','fsi','\x0a\x20To\x20get\x20the\x20mongo\x20version\x20in\x20use\x20by\x20meteor:\x0a\x201)\x20Run\x20the\x20project,\x20\x22maka\x20run\x22\x0a\x202)\x20In\x20a\x20new\x20terminal\x20open\x20the\x20mongo\x20shell,\x20\x22maka\x20mongo\x22','Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','N/A','maka\x20version','8277500YeRzfc','System\x27s\x20Meteor\x27s\x20Node\x20Version\x20','2181998XbXLcX','majestic',')\x20to\x20at\x20least\x20meteor\x27s\x20(','1tWGiUN','\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20','4.5.20','toString'];a83c=function(){return n;};return a83c();}a83a();import{execSync}from'child_process';import a83e from'semver';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const pjson={'version':a83l(0x131)};Command['create']({'name':'version','aliases':['v'],'usage':a83l(0x129),'maxArgLength':0x1,'validOpts':[],'shortDesc':a83l(0x127),'examples':[a83l(0x112),'maka\x20version']},async function(){const m=a83l;try{const a=process[m(0x123)]==='win32'?m(0x122):'meteor';Log[m(0x12d)](m(0x13c)+pjson[m(0x133)]),await this['fsi'][m(0x136)](),Log[m(0x13d)](m(0x120));const b=this[m(0x125)]['getGlobalMeteorVersion']();Log[m(0x13d)]((m(0x113)+b)[m(0x117)]('\x0a',''));const c=execSync(a+'\x20node\x20-v')[m(0x132)]()[m(0x117)](/\r?\n|\r/,'')['replace']('v','');Log['bright'](m(0x12b)+c);const d=execSync(m(0x121))[m(0x132)]()['replace'](/\r?\n|\r/,'')[m(0x117)]('v','');a83e['gt'](c,d)?(Log[m(0x137)](m(0x11d)+d),Log[m(0x137)]('\x20!\x20consider\x20updating\x20your\x20node\x20version\x20('+d+m(0x12e)+c+')')):Log[m(0x13d)]('System\x27s\x20Node\x20Version\x20'+d);if(this[m(0x125)][m(0x13a)]()){Log[m(0x13d)](m(0x11a));const f=this['fsi'][m(0x119)]();a83e['gt'](b,f)?(Log[m(0x137)]('Project\x27s\x20Meteor\x20Version\x20'+f[m(0x117)]('\x0a','')),Log['warn'](m(0x130)+b+'\x22')):Log['notice']((m(0x115)+f)[m(0x117)]('\x0a',''));const g=await this[m(0x125)][m(0x138)]();g===m(0x128)?(Log[m(0x137)](m(0x110)+g),Log[m(0x137)](m(0x134))):Log[m(0x13d)](m(0x110)+g),Log[m(0x13d)](m(0x126));}}catch(h){console[m(0x11c)](h),process[m(0x111)](0x0);}});
|
package/bundle/obf/src/error.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=
|
|
1
|
+
(function(a,b){var f=a84d,c=a();while(!![]){try{var d=parseInt(f(0xea))/0x1*(parseInt(f(0xe2))/0x2)+parseInt(f(0xe1))/0x3*(-parseInt(f(0xe0))/0x4)+-parseInt(f(0xe8))/0x5+-parseInt(f(0xe4))/0x6+parseInt(f(0xe3))/0x7+parseInt(f(0xe7))/0x8+parseInt(f(0xdd))/0x9*(-parseInt(f(0xdf))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a84c,0x5cba8));var a84b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a84d;if(c){var e=c[g(0xeb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a84a=a84b(this,function(){var h=a84d;return a84a[h(0xe6)]()[h(0xe5)]('(((.+)+)+)+$')[h(0xe6)]()[h(0xde)](a84a)[h(0xe5)](h(0xe9));});a84a();export class UsageError{}export class UsageErrorWithSubs{}export class MustBeInProjectError{}function a84c(){var i=['92660SUaiEK','709336IVbUkh','6CfQAPV','3314DFQplh','5112604jOtOZa','1366530JfFQuM','search','toString','4113256dfpfes','1645945MgfkgD','(((.+)+)+)+$','101JxKEZQ','apply','117ApydPC','constructor'];a84c=function(){return i;};return a84c();}export class NoMeteorAppFoundError{}function a84d(a,b){var c=a84c();return a84d=function(d,e){d=d-0xdd;var f=c[d];return f;},a84d(a,b);}export class NoMeteorFoundError{}
|