@maka/maka-cli 4.2.28 → 4.2.30
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/dist/command.js +1 -1
- package/dist/commands/_index.js +1 -1
- package/dist/commands/aws/_index.js +1 -1
- package/dist/commands/aws/aws.command.js +1 -1
- package/dist/commands/aws/ci.sub.cmd.js +1 -1
- package/dist/commands/aws/ckp.sub.cmd.js +1 -1
- package/dist/commands/aws/csg.sub.cmd.js +1 -1
- package/dist/commands/aws/di.sub.cmd.js +1 -1
- package/dist/commands/aws/dkp.sub.cmd.js +1 -1
- package/dist/commands/aws/dsg.sub.cmd.js +1 -1
- package/dist/commands/aws/rbi.sub.cmd.js +1 -1
- package/dist/commands/aws/rkp.sub.cmd.js +1 -1
- package/dist/commands/aws/sth.sub.cmd.js +1 -1
- package/dist/commands/aws/ti.sub.cmd.js +1 -1
- package/dist/commands/build/_index.js +1 -1
- package/dist/commands/build/build.js +1 -1
- package/dist/commands/build/docker.sub.cmd.js +1 -1
- package/dist/commands/create.js +1 -1
- package/dist/commands/debug.js +1 -1
- package/dist/commands/deploy.js +1 -1
- package/dist/commands/game/_index.js +1 -1
- package/dist/commands/game/battleship.sub.cmd.js +1 -1
- package/dist/commands/game/play.command.js +1 -1
- package/dist/commands/game/pong.sub.cmd.js +1 -1
- package/dist/commands/game/snake.sub.cmd.js +1 -1
- package/dist/commands/game/tetris.sub.cmd.js +1 -1
- package/dist/commands/generate.js +1 -1
- package/dist/commands/get/_index.js +1 -1
- package/dist/commands/get/get.command.js +1 -1
- package/dist/commands/get/global.sub.cmd.js +1 -1
- package/dist/commands/get/local.sub.cmd.js +1 -1
- package/dist/commands/get/whoami.sub.cmd.js +1 -1
- package/dist/commands/help.js +1 -1
- package/dist/commands/install.js +1 -1
- package/dist/commands/jsdoc.js +1 -1
- package/dist/commands/login.js +1 -1
- package/dist/commands/logout.js +1 -1
- package/dist/commands/logs.js +1 -1
- package/dist/commands/maka.cmd.js +1 -1
- package/dist/commands/murder.js +1 -1
- package/dist/commands/proxy.js +1 -1
- package/dist/commands/reconfig.js +1 -1
- package/dist/commands/run/_index.js +1 -1
- package/dist/commands/run/docker.sub.cmd.js +1 -1
- package/dist/commands/run/run.command.js +1 -1
- package/dist/commands/set/_index.js +1 -1
- package/dist/commands/set/global.sub.cmd.js +1 -1
- package/dist/commands/set/local.sub.cmd.js +1 -1
- package/dist/commands/set/set.command.js +1 -1
- package/dist/commands/ssh.js +1 -1
- package/dist/commands/ssl.js +1 -1
- package/dist/commands/test.js +1 -1
- package/dist/commands/version.js +1 -1
- package/dist/error.js +1 -1
- package/dist/generator.js +1 -1
- package/dist/generators/_index.js +1 -1
- package/dist/generators/api.js +1 -1
- package/dist/generators/collection.js +1 -1
- package/dist/generators/component.js +1 -1
- package/dist/generators/config.js +1 -1
- package/dist/generators/dbc.js +1 -1
- package/dist/generators/dockerfile.js +1 -1
- package/dist/generators/hook.js +1 -1
- package/dist/generators/kit.js +1 -1
- package/dist/generators/layout.js +1 -1
- package/dist/generators/maka.gen.js +1 -1
- package/dist/generators/methods.js +1 -1
- package/dist/generators/package.js +1 -1
- package/dist/generators/page.js +1 -1
- package/dist/generators/publish.js +1 -1
- package/dist/generators/route.js +1 -1
- package/dist/generators/scaffold.js +1 -1
- package/dist/generators/service.js +1 -1
- package/dist/generators/services/_index.js +1 -1
- package/dist/generators/services/openssl.js +1 -1
- package/dist/generators/services/translation.js +1 -1
- package/dist/maka.js +1 -1
- package/dist/tool.js +1 -1
- package/dist/tools/actions/actions.class.js +1 -1
- package/dist/tools/actions/actions.test.js +1 -1
- package/dist/tools/aws/aws.class.js +1 -1
- package/dist/tools/aws/aws.interfaces.js +1 -1
- package/dist/tools/docker/docker.class.js +1 -1
- package/dist/tools/docker/docker.interfaces.js +1 -1
- package/dist/tools/fsi/fsi.class.js +1 -1
- package/dist/tools/fsi/fsi.interfaces.js +1 -1
- package/dist/tools/https/https.class.js +1 -1
- package/dist/tools/https/https.interface.js +1 -1
- package/dist/tools/log/log.class.js +1 -1
- package/dist/tools/log/log.interfaces.js +1 -1
- package/dist/tools/spawn-async/spawn-async.class.js +1 -1
- package/dist/tools/spawn-async/spawn-async.interfaces.js +1 -1
- package/dist/tools/ssh/ssh.class.js +1 -1
- package/dist/tools/ssh/ssh.interfaces.js +1 -1
- package/dist/tools/ssl/ssl.class.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var u=a27d,c=a();while(!![]){try{var d=parseInt(u(0x1e9))/0x1*(-parseInt(u(0x1f1))/0x2)+-parseInt(u(0x1ea))/0x3*(parseInt(u(0x1e6))/0x4)+-parseInt(u(0x1e5))/0x5*(parseInt(u(0x1f5))/0x6)+-parseInt(u(0x1ec))/0x7*(-parseInt(u(0x1e8))/0x8)+parseInt(u(0x1f4))/0x9+parseInt(u(0x1ed))/0xa*(-parseInt(u(0x1f3))/0xb)+-parseInt(u(0x1f0))/0xc*(-parseInt(u(0x1eb))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a27c,0xa1cac));var a27b=(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;};}()),a27a=a27b(this,function(){var v=a27d;return a27a[v(0x1ee)]()[v(0x1ef)]('(((.+)+)+)+$')['toString']()[v(0x1e7)](a27a)[v(0x1ef)](v(0x1f2));});a27a();function a27c(){var w=['156ossBCD','(((.+)+)+)+$','66VFRSkg','3476745tGsbNw','18sPqzjM','1949455GbMWnn','3241572JbdcPi','constructor','136jamdVh','1914UEmBmk','3NdytHt','13NimewY','140966VsJFog','622010bTOejp','toString','search','29239356poAudi'];a27c=function(){return w;};return a27c();}import'./get.command.js';function a27d(a,b){var c=a27c();return a27d=function(d,e){d=d-0x1e5;var f=c[d];return f;},a27d(a,b);}import'./global.sub.cmd.js';import'./local.sub.cmd.js';import'./whoami.sub.cmd.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a28E=a28d;(function(a,b){const y=a28d,c=a();while(!![]){try{const d=parseInt(y(0x123))/0x1+-parseInt(y(0x120))/0x2+parseInt(y(0x127))/0x3+parseInt(y(0x139))/0x4+-parseInt(y(0x129))/0x5*(-parseInt(y(0x134))/0x6)+-parseInt(y(0x126))/0x7*(-parseInt(y(0x12b))/0x8)+-parseInt(y(0x124))/0x9*(parseInt(y(0x137))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a28c,0x4f2d0));function a28c(){const H=['toString','60235JwJNtt','create','3733536esYWLm','BUsdn','value','lMeib','yHRzv','maka\x20get:<cmd>','throw','runSubCommand','(((.+)+)+)+$','138YDqrAr','CXOaR','ALThS','130TjrjnK','help','1422316gyuaTp','done','findSubCommand','apply','oZYba','812924biOWHY','then','next','610004LzxYnQ','988191TwrJXW','Wnfxk','7KUwFfc','1346391gMWRDA'];a28c=function(){return H;};return a28c();}const a28b=(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;};}()),a28a=a28b(this,function(){const z=a28d;return a28a['toString']()['search'](z(0x133))[z(0x128)]()['constructor'](a28a)['search']('(((.+)+)+)+$');});a28a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const A=a28d;A(0x12c)==='BUsdn'?g(f):c(d);});}return new(c||(c=Promise))(function(f,g){const D=a28d;function h(k){try{j(d['next'](k));}catch(l){g(l);}}function i(k){const B=a28d;if(B(0x125)===B(0x125))try{j(d['throw'](k));}catch(l){g(l);}else{if(e){const n=i[B(0x11e)](j,arguments);return k=null,n;}}}function j(k){const C=a28d;C(0x12f)===C(0x136)?d(e[C(0x131)](f)):k[C(0x11c)]?f(k[C(0x12d)]):e(k[C(0x12d)])[C(0x121)](h,i);}j((d=d[D(0x11e)](a,b||[]))[D(0x122)]());});};import{Command}from'../../command.js';import{UsageError}from'../../error.js';function a28d(a,b){const c=a28c();return a28d=function(d,e){d=d-0x11c;let f=c[d];return f;},a28d(a,b);}const GetCommand=Command[a28E(0x12a)]({'name':'get','usage':a28E(0x130),'minArgLength':0x1},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const F=a28d;if(F(0x12e)!==F(0x135)){let c=a[0x0];if(b[F(0x138)])throw new UsageError();let d=this[F(0x11d)](c);if(d){if(F(0x11f)==='VkIKk')return g(this,void 0x0,void 0x0,function*(){const G=F;let w=m[0x0];if(n[G(0x138)])throw new r();let x=this[G(0x11d)](w);x&&this[G(0x132)](w,s,t);});else this[F(0x132)](c,a,b);}}else try{i(j[F(0x122)](k));}catch(g){m(g);}});});export default GetCommand;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a29y=a29d;(function(a,b){var v=a29d,c=a();while(!![]){try{var d=-parseInt(v(0x1c9))/0x1*(parseInt(v(0x1aa))/0x2)+-parseInt(v(0x1b6))/0x3*(-parseInt(v(0x1b8))/0x4)+-parseInt(v(0x1c0))/0x5+-parseInt(v(0x1b4))/0x6+parseInt(v(0x1ba))/0x7*(parseInt(v(0x1c8))/0x8)+-parseInt(v(0x1bb))/0x9*(parseInt(v(0x1ac))/0xa)+parseInt(v(0x1ab))/0xb*(parseInt(v(0x1c7))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a29c,0x84774));var a29b=(function(){var a=!![];return function(b,c){var d=a?function(){var w=a29d;if('TzNZJ'!==w(0x1c3)){if(c){if(w(0x1b3)===w(0x1c2))c(d);else{var e=c[w(0x1a9)](b,arguments);return c=null,e;}}}else try{i(j['throw'](k));}catch(h){m(h);}}:function(){};return a=![],d;};}()),a29a=a29b(this,function(){var x=a29d;return a29a[x(0x1ae)]()[x(0x1c1)]('(((.+)+)+)+$')[x(0x1ae)]()['constructor'](a29a)['search']('(((.+)+)+)+$');});a29a();function a29c(){var E=['213VhufGK','then','value','apply','5714WujzKi','3185435ZsKlTt','272950fzLFOb','xSFCc','toString','__awaiter','IQsDp','Licbq','BiyRh','jUmJM','2383056QOKACP','maka\x20get:global-config','6bEjgRC','XpzbT','1245496YGdkUq','done','7WkBRox','171nlNDoL','throw','fsi','next','global-config','343830dhiQiJ','search','bjsRq','XBORl','Get\x20maka\x20configurations\x20in\x20the\x20global\x20~/.maka/global-config.json\x20file','getGlobalConfig','RtRhZ','36coMVeL','5153320KDlMby'];a29c=function(){return E;};return a29c();}var __awaiter=this&&this[a29y(0x1af)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){var z=a29d;z(0x1b0)==='IQsDp'?g(f):c(d);});}return new(c||(c=Promise))(function(f,g){function h(k){var A=a29d;if(A(0x1c6)!==A(0x1b7))try{j(d[A(0x1be)](k));}catch(l){g(l);}else c(d);}function i(k){var B=a29d;try{'xSFCc'!==B(0x1ad)?h['done']?i(j[B(0x1a8)]):k(l[B(0x1a8)])[B(0x1ca)](m,n):j(d[B(0x1bc)](k));}catch(m){g(m);}}function j(k){var C=a29d;k[C(0x1b9)]?f(k[C(0x1a8)]):e(k[C(0x1a8)])[C(0x1ca)](h,i);}j((d=d['apply'](a,b||[]))['next']());});};import a29u from'./get.command.js';function a29d(a,b){var c=a29c();return a29d=function(d,e){d=d-0x1a8;var f=c[d];return f;},a29d(a,b);}import{Command}from'../../command.js';Command['create']({'name':a29y(0x1bf),'usage':a29y(0x1b5),'aliases':['gc'],'description':a29y(0x1c4)},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){var D=a29d;if(D(0x1b2)===D(0x1b2))try{const c=yield this[D(0x1bd)][D(0x1c5)]();console['log'](c);}catch(d){if(D(0x1b1)==='Licbq')console['error'](d),process['exit'](0x0);else{var h=d['apply'](d,arguments);return f=null,h;}}else return f instanceof g?h:new i(function(m){m(k);});});},a29u);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var a30x=a30d;(function(a,b){var v=a30d,c=a();while(!![]){try{var d=parseInt(v(0xfe))/0x1*(-parseInt(v(0xfa))/0x2)+parseInt(v(0x10f))/0x3*(parseInt(v(0x10a))/0x4)+parseInt(v(0x10b))/0x5*(parseInt(v(0x112))/0x6)+-parseInt(v(0x10c))/0x7+-parseInt(v(0xfc))/0x8*(-parseInt(v(0xfb))/0x9)+-parseInt(v(0x102))/0xa*(-parseInt(v(0x108))/0xb)+-parseInt(v(0x107))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a30c,0xf1c79));var a30b=(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;};}()),a30a=a30b(this,function(){var w=a30d;return a30a[w(0x110)]()[w(0x100)](w(0x113))[w(0x110)]()[w(0x104)](a30a)[w(0x100)](w(0x113));});a30a();var __awaiter=this&&this[a30x(0x105)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){var y=a30d;if(y(0xf5)===y(0xf8)){var i=d[y(0xf1)](e,arguments);return f=null,i;}else g(f);});}return new(c||(c=Promise))(function(f,g){var C=a30d;function h(k){var z=a30d;try{j(d[z(0x109)](k));}catch(l){g(l);}}function i(k){var A=a30d;if(A(0xf4)===A(0x111))c(d);else try{A(0x10e)===A(0x10e)?j(d[A(0x10d)](k)):c(d);}catch(n){g(n);}}function j(k){var B=a30d;B(0x114)===B(0x114)?k[B(0xf9)]?f(k[B(0x106)]):e(k[B(0x106)])[B(0xf7)](h,i):d(e[B(0x109)](f));}j((d=d[C(0xf1)](a,b||[]))[C(0x109)]());});};import a30u from'./get.command.js';function a30d(a,b){var c=a30c();return a30d=function(d,e){d=d-0xf1;var f=c[d];return f;},a30d(a,b);}import{Command}from'../../command.js';function a30c(){var E=['value','19223424qAGDWH','21460483GKYFNX','next','2884796qJpedP','3490odaIfS','5684112tmFCyb','throw','gmbcL','3YYhLlw','toString','VknQm','7908sEqnJg','(((.+)+)+)+$','eSZSa','apply','AaeaZ','log','xGkqd','VOtGq','local-config','then','KIYlT','done','11428eYRNlU','27WHTKVI','1129544VOHeDv','Get\x20maka\x20configurations\x20in\x20the\x20local\x20.maka/config.json\x20file','107ryLqcz','getProjectConfig','search','create','10mDkgTq','mAycJ','constructor','__awaiter'];a30c=function(){return E;};return a30c();}Command[a30x(0x101)]({'name':a30x(0xf6),'usage':'maka\x20get:local-config','mustBeInMakaProject':!![],'aliases':['lc'],'description':a30x(0xfd)},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){var D=a30d;if(D(0x103)!==D(0xf2)){const c=yield this['fsi'][D(0xff)]();console[D(0xf3)](c);}else try{i(j[D(0x10d)](k));}catch(e){m(e);}});},a30u);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a31z=a31d;(function(a,b){const w=a31d,c=a();while(!![]){try{const d=-parseInt(w(
|
|
1
|
+
function a31c(){const G=['join','decode','GwDoC','hash','search','exit','542822piktbf','user','authToken','throw','152052PlMvJz','error','7641585ACPthg','value','1884542EvSKYk','User\x20Access\x20Token:\x20\x20','18GAtYEA','11270848YtxCaQ','fsi','apply','20WRwnUH','(((.+)+)+)+$','create','toString','whoami','getGlobalConfig','constructor','45DGWKDg','UAhmt','BZhGM','__awaiter','18468936SRgwva','next','User\x20ID:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','2077035LcWXtz','roles','token','then','notice','kZDQS','maka\x20get:whoami','User\x20Email:\x20\x20\x20\x20\x20\x20\x20\x20\x20'];a31c=function(){return G;};return a31c();}const a31z=a31d;(function(a,b){const w=a31d,c=a();while(!![]){try{const d=-parseInt(w(0x18b))/0x1+parseInt(w(0x183))/0x2+parseInt(w(0x16e))/0x3*(-parseInt(w(0x187))/0x4)+-parseInt(w(0x175))/0x5*(parseInt(w(0x163))/0x6)+-parseInt(w(0x189))/0x7+parseInt(w(0x164))/0x8+-parseInt(w(0x172))/0x9*(-parseInt(w(0x167))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a31c,0xf2276));const a31b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a31d;if(c){const e=c[x(0x166)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a31a=a31b(this,function(){const y=a31d;return a31a[y(0x16a)]()['search']('(((.+)+)+)+$')[y(0x16a)]()[y(0x16d)](a31a)[y(0x181)](y(0x168));});a31a();var __awaiter=this&&this[a31z(0x171)]||function(a,b,c,d){function e(f){const A=a31d;if(A(0x170)!==A(0x170)){if(e){const h=i[A(0x166)](j,arguments);return k=null,h;}}else return f instanceof c?f:new c(function(h){h(f);});}return new(c||(c=Promise))(function(f,g){const E=a31d;function h(k){const B=a31d;try{j(d[B(0x173)](k));}catch(l){g(l);}}function i(k){const C=a31d;try{if('mEKCF'==='mEKCF')j(d[C(0x186)](k));else{const n=g?function(){if(n){const u=q['apply'](r,arguments);return s=null,u;}}:function(){};return l=![],n;}}catch(m){g(m);}}function j(k){const D=a31d;D(0x17f)!==D(0x17a)?k['done']?f(k['value']):e(k[D(0x18a)])[D(0x178)](h,i):d(e[D(0x186)](f));}j((d=d[E(0x166)](a,b||[]))[E(0x173)]());});};import a31u from'./get.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';import a31v from'jsonwebtoken';function a31d(a,b){const c=a31c();return a31d=function(d,e){d=d-0x163;let f=c[d];return f;},a31d(a,b);}Command[a31z(0x169)]({'name':a31z(0x16b),'usage':a31z(0x17b),'description':'If\x20logged\x20in,\x20get\x20the\x20current\x20user\x27s\x20information'},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const F=a31d;if(F(0x16f)==='WCmqq'){const d=d[F(0x166)](e,arguments);return f=null,d;}else try{const d=yield this[F(0x165)][F(0x16c)]();if(d[F(0x180)]){const f=a31v[F(0x17e)](d['hash']);Log[F(0x179)](F(0x17c)+(f===null||f===void 0x0?void 0x0:f[F(0x184)])),Log[F(0x179)](F(0x174)+d[F(0x177)]['userId']),Log['notice'](F(0x18c)+d[F(0x177)][F(0x185)]),Log['notice']('Licenses:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(f===null||f===void 0x0?void 0x0:f[F(0x176)][F(0x17d)](',\x20')));}}catch(g){console[F(0x188)](g),process[F(0x182)](0x0);}});},a31u);
|
package/dist/commands/help.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
function a32d(a,b){var c=a32c();return a32d=function(d,e){d=d-0xbf;var f=c[d];return f;},a32d(a,b);}var a32z=a32d;(function(a,b){var v=a32d,c=a();while(!![]){try{var d=parseInt(v(0xc9))/0x1*(parseInt(v(0xc3))/0x2)+-parseInt(v(0xc1))/0x3+parseInt(v(0xc2))/0x4*(-parseInt(v(0xdb))/0x5)+parseInt(v(0xdc))/0x6*(-parseInt(v(0xd1))/0x7)+parseInt(v(0xca))/0x8+parseInt(v(0xd6))/0x9+-parseInt(v(0xce))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a32c,0xb4376));var a32b=(function(){var a=!![];return function(b,c){var w=a32d;if(w(0xcf)===w(0xcf)){var d=a?function(){var x=w;if(x(0xc4)!==x(0xc4))d(e[x(0xda)](f));else{if(c){if(x(0xd8)!==x(0xd8))return c[x(0xc6)]()[x(0xcb)](x(0xd7))[x(0xc6)]()[x(0xd9)](d)[x(0xcb)](x(0xd7));else{var e=c[x(0xc0)](b,arguments);return c=null,e;}}}}:function(){};return a=![],d;}else try{i(j['next'](k));}catch(f){m(f);}};}()),a32a=a32b(this,function(){var y=a32d;return a32a['toString']()[y(0xcb)](y(0xd7))[y(0xc6)]()[y(0xd9)](a32a)[y(0xcb)](y(0xd7));});a32a();var __awaiter=this&&this[a32z(0xd0)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){g(f);});}return new(c||(c=Promise))(function(f,g){var D=a32d;function h(k){var A=a32d;try{j(d[A(0xda)](k));}catch(l){A(0xcd)!==A(0xcd)?c(d):g(l);}}function i(k){var B=a32d;if(B(0xc8)==='bTttm')try{j(d[B(0xd3)](k));}catch(l){g(l);}else{var n=g?function(){if(n){var u=q['apply'](r,arguments);return s=null,u;}}:function(){};return l=![],n;}}function j(k){var C=a32d;if(C(0xc7)!==C(0xd4))k[C(0xbf)]?f(k[C(0xd2)]):e(k[C(0xd2)])['then'](h,i);else try{i(j[C(0xd3)](k));}catch(m){m(m);}}j((d=d[D(0xc0)](a,b||[]))['next']());});};function a32c(){var F=['1306629sqkflb','(((.+)+)+)+$','ZPQNX','constructor','next','5MQvZOr','12120BsZjPB','done','apply','3186018WfiOvr','1386624cujkyW','25242gjoNTF','FPtop','help','toString','ynVwd','bTttm','69SAIIXV','11319872yMRoBN','search','create','RjMtt','680460ZShVxT','pxSQk','__awaiter','749CVvxqE','value','throw','Foowj','rtCKh'];a32c=function(){return F;};return a32c();}import{Command}from'../command.js';import{UsageError}from'../error.js';Command[a32z(0xcc)]({'name':a32z(0xc5),'description':'Try,\x20maka\x20--help','aliases':['h']},function(){return __awaiter(this,void 0x0,void 0x0,function*(){var E=a32d;if(E(0xd5)!==E(0xd5))c(d);else throw new UsageError();});});
|
package/dist/commands/install.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a33L=a33d;(function(a,b){const D=a33d,c=a();while(!![]){try{const d=parseInt(D(0x213))/0x1*(parseInt(D(0x242))/0x2)+-parseInt(D(0x226))/0x3*(parseInt(D(0x224))/0x4)+parseInt(D(0x23f))/0x5+parseInt(D(0x220))/0x6+parseInt(D(0x239))/0x7+parseInt(D(0x1ff))/0x8+-parseInt(D(0x1f6))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a33c,0xd6bad));const a33b=(function(){let a=!![];return function(b,c){const d=a?function(){const E=a33d;if(E(0x22c)!==E(0x236)){if(c){const e=c[E(0x20c)](b,arguments);return c=null,e;}}else{if(e){const g=i[E(0x20c)](j,arguments);return k=null,g;}}}:function(){};return a=![],d;};}()),a33a=a33b(this,function(){const F=a33d;return a33a[F(0x22b)]()[F(0x1fd)](F(0x22f))[F(0x22b)]()['constructor'](a33a)[F(0x1fd)](F(0x22f));});function a33c(){const N=['8521492qiNIdU','platform','mkdir\x20-p\x20','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka.cert,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','-xzf','Installing\x20meteor\x20','4335485TeWwKk','exit','Removing\x20previous\x20install\x20of\x20meteor','116474mpbcxt','CFjYJ','nvFkg','/.local/bin','-rf','warn','printf\x20\x27test\x20-f\x20~/.profile\x20&&\x20.\x20~/.profile\x27\x20>>\x20~/.zshrc','wSPyV','fsi','getGlobalConfig','length','notice','confirm','win32','next','cert','/meteor-bootstrap-','yjJjw','debug','diBvX','error','19677780FWDoKa','Network\x20error,\x20please\x20try\x20again.','value','CoRBf','iPaPb','tar','withSpinner','search','printf\x20\x27%s\x5cn\x27\x20\x27#!/bin/sh\x27\x20\x27exec\x20\x22$HOME/.meteor/meteor\x22\x20\x22$@\x22\x27\x20>\x20$HOME/.local/bin/meteor\x20&&\x20chmod\x20+x\x20$HOME/.local/bin/meteor','5699464OeFSKM','.meteor','GjEXf','EWwmq','wfBNJ','--cacert','Using\x20CA\x20Cert\x20','\x20installed.\x0a','maka\x20i','create','then','rrcYN','sZYoD','apply','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','throw','uZCmh','sync','os.linux.x86_64','cacert','5cJpZVT','install','Please\x20use\x20\x22npm\x20i\x20-g\x20meteor\x22\x20to\x20install\x20on\x20windows','kXPnZ','success','allowInsecure','maka\x20install','Downloading\x20meteor\x20version\x20','replace','os.osx.x86_64','printf\x20\x27test\x20-f\x20~/.profile\x20&&\x20.\x20~/.profile\x27\x20>>\x20~/.bashrc','join','meteor.tar.gz','9287418Kgatvd','ebfEy','maka\x20install\x20meteor','ignore','169732hjHuZG','GmsGo','111jnLLoR','existsSync','.tar.gz','Install\x20a\x20meteor.\x20\x22maka\x20install\x22\x20defaults\x20to\x20\x22maka\x20install\x20meteor\x22','string','toString','MRPPK','Aborted','darwin','(((.+)+)+)+$','done','Meteor\x20version\x20','xspMF','This\x20command\x20should\x20NOT\x20be\x20run\x20as\x20sudo\x20or\x20with\x20administrative\x20privileges.\x20\x20Are\x20you\x20ready\x20to\x20proceed?','version','Allowing\x20insecure\x20curl\x20connections.','TgKKc','keepInstall','maka\x20install\x20meteor\x20-v\x202.3.6'];a33c=function(){return N;};return a33c();}a33a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){const G=a33d;if('wSPyV'!==G(0x249))throw'Network\x20error,\x20please\x20try\x20again.';else return f instanceof c?f:new c(function(h){h(f);});}return new(c||(c=Promise))(function(f,g){const K=a33d;function h(k){const H=a33d;if('zwEpm'==='zwEpm')try{j(d[H(0x250)](k));}catch(l){H(0x203)!=='rHDrP'?g(l):(g('mkdir\x20-p\x20'+h+H(0x245),{'stdio':H(0x223)}),i(H(0x1fe),{'stdio':H(0x223)}),j('printf\x20\x27export\x20PATH=$PATH:$HOME/.local/bin\x27\x20>>\x20$HOME/.profile\x20&&\x20source\x20$HOME/.profile',{'stdio':'ignore'}),k(H(0x21d),{'stdio':H(0x223)}),l(H(0x248),{'stdio':H(0x223)}));}else g['notice']('Using\x20CA\x20Cert\x20'+h[H(0x212)]),i=j[H(0x212)],k=[H(0x204),l];}function i(k){const I=a33d;try{if(I(0x221)===I(0x221))j(d[I(0x20e)](k));else return c[I(0x22b)]()[I(0x1fd)](I(0x22f))[I(0x22b)]()['constructor'](d)['search'](I(0x22f));}catch(m){g(m);}}function j(k){const J=a33d;J(0x225)===J(0x216)?b=!![]:k[J(0x230)]?f(k[J(0x1f8)]):e(k[J(0x1f8)])[J(0x209)](h,i);}j((d=d[K(0x20c)](a,b||[]))[K(0x250)]());});};import a33x from'os';import a33y from'path';import a33z from'fs';import a33A from'delete';import{execSync}from'child_process';import{SpawnAsync}from'../tools/spawn-async/spawn-async.class.js';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';function a33d(a,b){const c=a33c();return a33d=function(d,e){d=d-0x1f0;let f=c[d];return f;},a33d(a,b);}const homeDir=a33x['homedir']();Command[a33L(0x208)]({'name':a33L(0x214),'aliases':['i'],'validOpts':['f','force','v',a33L(0x234),a33L(0x1f3),a33L(0x212),a33L(0x237)],'usage':a33L(0x219),'description':a33L(0x229),'examples':[a33L(0x222),'maka\x20install\x20meteor\x20--force',a33L(0x238),'maka\x20install\x20meteor\x20--version\x201.12.1',a33L(0x207)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const M=a33d;if('zfEGB'==='fgMyQ'){const d=d['apply'](e,arguments);return f=null,d;}else try{let d=[],f='';if(b[M(0x212)]){if(M(0x243)!==M(0x243))throw M(0x22d);else{if(this[M(0x24a)]['isFile'](b[M(0x212)])){if(M(0x20b)!=='sZYoD')try{i(j['next'](k));}catch(q){m(q);}else Log[M(0x24d)](M(0x205)+b[M(0x212)]),f=b['cacert'],d=['--cacert',f];}else throw M(0x20d)+f;}}const g=yield this['fsi'][M(0x24b)]();if(g[M(0x1f0)]){if(M(0x201)!==M(0x1fa)){if(this[M(0x24a)]['isFile'](g[M(0x1f0)]))M(0x20f)==='uZCmh'?(f=g[M(0x1f0)],d=[M(0x204),f]):c(d);else throw M(0x23c)+f;}else c[M(0x1f5)](d);}g[M(0x218)]&&(M(0x232)==='WsnWN'?(c['warn'](M(0x235)),d=['-k']):(Log['warn'](M(0x235)),d=['-k']));let h=![];b['f']||b['force']?h=!![]:h=yield Actions[M(0x24e)](M(0x233));if(!h){if(M(0x244)!==M(0x244))d=e['v']||f[M(0x234)];else throw'Aborted';}const i=process[M(0x23a)]===M(0x24f),j=process[M(0x23a)]===M(0x22e);let k=execSync('curl\x20'+d[M(0x21e)]('\x20')+'\x20-s\x20https://install.meteor.com/')[M(0x22b)](),l=yield this[M(0x24a)]['grep'](k,'RELEASE=');if(l[M(0x24c)]===0x0)throw M(0x1f7);let m=l[0x0][M(0x21b)](/[^0-9.]/gi,'')['replace'](/\r?\n|\r/,'');if(typeof b['v']===M(0x22a)||typeof b[M(0x234)]===M(0x22a)){if(M(0x1f2)!==M(0x20a))m=b['v']||b['version'];else{if(this[M(0x24a)]['isFile'](g[M(0x1f0)]))m=n[M(0x1f0)],o=['--cacert',p];else throw'CA\x20Cert\x20is\x20configured\x20in\x20~/.maka.cert,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20'+q;}}let n=a33y[M(0x21e)](homeDir,M(0x200));if(i)Log[M(0x247)](M(0x215));else{if(a33z[M(0x227)](n)){if(M(0x1f9)===M(0x1f9))yield SpawnAsync[M(0x1fc)]('rm',[M(0x246),n],{'message':M(0x241)});else throw'CA\x20Cert\x20is\x20configured\x20in\x20~/.maka.cert,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20'+b;}try{if('EWwmq'===M(0x202)){const w=j?M(0x21c):M(0x211);yield SpawnAsync[M(0x1fc)]('curl',[...d,'-s','https://static-meteor.netdna-ssl.com/packages-bootstrap/'+m+M(0x1f1)+w+M(0x228),'--output',a33y[M(0x21e)](homeDir,M(0x21f))],{'message':M(0x21a)+m});const x=[M(0x23d),a33y['join'](homeDir,M(0x21f)),'-C',homeDir];yield SpawnAsync[M(0x1fc)](M(0x1fb),x,{'message':M(0x23e)+m}),a33A[M(0x210)](a33y['join'](homeDir,M(0x21f)),{'force':!![]});}else d(e[M(0x20e)](f));}catch(z){M(0x1f4)===M(0x1f4)?console[M(0x1f5)](z):h['done']?i(j[M(0x1f8)]):k(l[M(0x1f8)])[M(0x209)](m,n);}try{execSync(M(0x23b)+homeDir+M(0x245),{'stdio':M(0x223)}),execSync(M(0x1fe),{'stdio':M(0x223)}),execSync('printf\x20\x27export\x20PATH=$PATH:$HOME/.local/bin\x27\x20>>\x20$HOME/.profile\x20&&\x20source\x20$HOME/.profile',{'stdio':M(0x223)}),execSync('printf\x20\x27test\x20-f\x20~/.profile\x20&&\x20.\x20~/.profile\x27\x20>>\x20~/.bashrc',{'stdio':M(0x223)}),execSync(M(0x248),{'stdio':M(0x223)});}catch(B){console[M(0x1f5)](B);}Log[M(0x217)](M(0x231)+m+M(0x206));}}catch(C){console[M(0x1f5)](C),process[M(0x240)](0x0);}});});
|
package/dist/commands/jsdoc.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a34z=a34d;(function(a,b){const w=a34d,c=a();while(!![]){try{const d=-parseInt(w(
|
|
1
|
+
function a34d(a,b){const c=a34c();return a34d=function(d,e){d=d-0xc4;let f=c[d];return f;},a34d(a,b);}const a34z=a34d;(function(a,b){const w=a34d,c=a();while(!![]){try{const d=-parseInt(w(0xc4))/0x1+-parseInt(w(0xeb))/0x2+-parseInt(w(0xda))/0x3+-parseInt(w(0xe7))/0x4*(parseInt(w(0xd7))/0x5)+-parseInt(w(0xd5))/0x6*(parseInt(w(0xe0))/0x7)+-parseInt(w(0xe8))/0x8*(parseInt(w(0xe5))/0x9)+parseInt(w(0xe9))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a34c,0x940e2));const a34b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a34d;if(c){const e=c[x(0xc6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a34a=a34b(this,function(){const y=a34d;return a34a[y(0xc7)]()[y(0xc9)](y(0xd0))[y(0xc7)]()[y(0xe3)](a34a)[y(0xc9)](y(0xd0));});a34a();function a34c(){const B=['join','config','fsi','create','7504HTgsaM','jsdoc','writeFileSync','constructor','docs','5598jUfeFw','sep','341916rmPchv','2216ogpLuP','37356990XSrfkp','inherit','120474ziRlJd','427461XTKvMZ','.+\x5c.(j|t)s(doc|x)?$','apply','toString','plugins/markdown','search','pathFromProject','Use\x20the\x20popular\x20JSDoc\x20documentation\x20generator','logWithSpinner','app/packages','isFile','logNotice','(((.+)+)+)+$','\x20-r\x20app','app/private','maka\x20jsdoc','maka\x20jsdoc\x20--init','6582aNyquP','utf-8','60YVYOtl','stop','[-]\x20You\x20may\x20need\x20to\x20install\x20jsdoc:\x20\x22npm\x20i\x20-g\x20jsdoc\x22','802623heIsqh','jsdoc-config.json'];a34c=function(){return B;};return a34c();}import a34u from'path';import a34v from'fs';import{execSync}from'child_process';import{Command}from'../command.js';Command[a34z(0xdf)]({'name':a34z(0xe1),'usage':a34z(0xd3),'mustBeInMakaProject':!![],'description':a34z(0xcb),'examples':[a34z(0xd4),a34z(0xd3)]},function(a){const A=a34z;let b=a34u[A(0xdc)](this[A(0xde)][A(0xca)]({}),A(0xe4)+a34u[A(0xe6)]),c=a34u[A(0xdc)](this[A(0xde)][A(0xca)]({}),A(0xdd),A(0xdb)),d=this[A(0xde)][A(0xca)]({}),f='jsdoc';if(!this[A(0xce)](c)){let h={'plugins':[A(0xc8)],'tags':{'allowUnknownTags':!![],'dictionaries':[A(0xe1),'closure']},'source':{'includePattern':A(0xc5),'excludePattern':'(.+\x5c.app-tests.js)|(^|\x5c/|\x5c\x5c)_','exclude':[A(0xcd),'app/node_modules','app/public',A(0xd2)]},'templates':{'cleverLinks':![],'monospaceLinks':![]},'opts':{'recursive':!![],'encoding':A(0xd6)}};a34v[A(0xe2)](c,JSON['stringify'](h,null,0x4));}let g=this[A(0xcc)]('Running\x20'+f);try{let i=f+'\x20-c\x20'+c+A(0xd1)+a34u[A(0xe6)]+'\x20-d\x20'+b;execSync(i,{'cwd':d,'stdio':A(0xea)}),this[A(0xcf)]('\x0a[+]\x20Documentation\x20written\x20to\x20'+b);}catch(j){this['logError'](j),this['logError'](A(0xd9));}finally{g[A(0xd8)]();}});
|
package/dist/commands/login.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a35C=a35d;(function(a,b){const z=a35d,c=a();while(!![]){try{const d=-parseInt(z(0x160))/0x1+-parseInt(z(0x176))/0x2+-parseInt(z(0x186))/0x3+parseInt(z(0x168))/0x4*(parseInt(z(0x155))/0x5)+parseInt(z(0x16c))/0x6+-parseInt(z(0x190))/0x7+-parseInt(z(0x18b))/0x8*(-parseInt(z(0x17a))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a35c,0x30393));const a35b=(function(){let a=!![];return function(b,c){const d=a?function(){const A=a35d;if(c){if(A(0x187)!=='IEKLr')d(e[A(0x169)](f));else{const f=c[A(0x15d)](b,arguments);return c=null,f;}}}:function(){};return a=![],d;};}()),a35a=a35b(this,function(){const B=a35d;return a35a[B(0x16d)]()[B(0x15b)](B(0x15e))[B(0x16d)]()[B(0x181)](a35a)[B(0x15b)]('(((.+)+)+)+$');});a35a();function a35d(a,b){const c=a35c();return a35d=function(d,e){d=d-0x153;let f=c[d];return f;},a35d(a,b);}var __awaiter=this&&this[a35C(0x153)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const D=a35d;if('rFWUQ'!==D(0x16f)){const i=d[D(0x15d)](e,arguments);return f=null,i;}else g(f);});}return new(c||(c=Promise))(function(f,g){const H=a35d;function h(k){const E=a35d;if(E(0x18c)!==E(0x18c))e=f[E(0x184)],g[E(0x158)](E(0x183)+h);else try{j(d['next'](k));}catch(m){g(m);}}function i(k){const F=a35d;if(F(0x19f)===F(0x161))throw b;else try{if(F(0x18a)!=='OEDbO'){b[F(0x182)]();throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}else j(d[F(0x169)](k));}catch(n){F(0x194)===F(0x196)?c=d[F(0x17c)]:g(n);}}function j(k){const G=a35d;k['done']?f(k[G(0x16e)]):e(k[G(0x16e)])[G(0x191)](h,i);}j((d=d['apply'](a,b||[]))[H(0x165)]());});};function a35c(){const J=['4RMyOjg','throw','sha256','ask','2164302wHTBXt','toString','value','rFWUQ','\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','Logging\x20in','wKZDP','/api/v1/status','withSpinner','Logging\x20into\x20https://','607682MJAcBt','getSystemInfo','debug','www.maka-cli.com','9fGLLPy','mUdKB','cert','assign','/api/v1/encodeJwt','Retrieves\x20login\x20information\x20from\x20www.maka-cli.com,\x20and\x20stores\x20a\x20hash\x20in\x20~/.maka','success','constructor','failure','Using\x20CA\x20Cert\x20','cacert','getGlobalConfig','580725VvCiLG','IEKLr','rzcYL','Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://','OEDbO','3619888rfSzVt','DeJZz','isFile','maka\x20login','https://','448553DGZjiJ','then','Email:','fsi','fRXST','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','PzLRT','exit','header','cGlfW','TIMEOUT','/api/v1/login','create','Password:\x20','login','ByxdC','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','__awaiter','email','1619905viusqg','password','sHLzT','notice','error','QNzGW','search','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','apply','(((.+)+)+)+$','uuid','378166DMKWac','YRkel','QUKWt','setGlobalConfig','post','next','update','authToken'];a35c=function(){return J;};return a35c();}import a35u from'node-forge';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';import{HTTPS}from'../tools/https/https.class.js';const hostname=a35C(0x179);Command[a35C(0x19c)]({'name':a35C(0x19e),'validOpts':[a35C(0x154),a35C(0x156),'help',a35C(0x184),a35C(0x178)],'usage':a35C(0x18e),'maxArgLength':0x2,'disableAuthCheck':!![],'description':a35C(0x17f),'examples':[a35C(0x18e),'maka\x20login\x20--email\x20<address>\x20--password\x20<password>']},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const I=a35d;if(I(0x172)===I(0x172)){let c=Log[I(0x174)]();try{let d='';b['cacert']&&(I(0x157)!==I(0x157)?d[I(0x17d)](e,{'cert':f}):this['fsi'][I(0x18d)](b[I(0x184)])?(d=b[I(0x184)],Log[I(0x158)]('Using\x20CA\x20Cert\x20'+d)):Log['error'](I(0x195)+d));const f=this[I(0x193)][I(0x185)]();if(f[I(0x17c)]){if(this['fsi']['isFile'](f[I(0x17c)]))d=f[I(0x17c)];else{Log['error'](I(0x15c)+d);return;}}const g=yield this[I(0x193)][I(0x177)]();Log[I(0x198)](I(0x175)+hostname);const h={'url':I(0x18f)+hostname+I(0x173)};b[I(0x184)]&&Object[I(0x17d)](h,{'cert':d});c['start']('Preflight\x20Check');const i=yield HTTPS['get'](h);if(i===I(0x19a)){c['failure']();throw I(0x1a0);}c['success']();let j=b[I(0x154)]?b[I(0x154)]:yield Actions['ask'](I(0x192)),k=b[I(0x156)]?b['password']:yield Actions[I(0x16b)](I(0x19d),!![]);if(i!==':D')throw I(0x18f)+hostname+I(0x170);const l=a35u['md'][I(0x16a)][I(0x19c)]();l[I(0x166)](k);const m=l['digest']()['toHex'](),n={'hostname':hostname,'path':I(0x19b),'data':{'email':j,'password':m,'hashed':!![]}};b['cacert']&&(I(0x15a)!==I(0x199)?Object[I(0x17d)](n,{'cert':d}):c[I(0x159)](I(0x195)+d));c['start'](I(0x171));const o=yield HTTPS[I(0x164)](n);if(o===I(0x19a)){c[I(0x182)]('\x0a');throw I(0x189)+hostname;}let p=null;if(o[I(0x167)]){const s={'hostname':hostname,'path':I(0x17e),'headers':{'x-auth-token':o[I(0x167)]},'data':{'uuid':g[I(0x15f)]}};if(b[I(0x184)]){if(I(0x162)!==I(0x162)){c['failure']('\x0a');throw I(0x189)+d;}else Object['assign'](s,{'cert':d});}p=yield HTTPS[I(0x164)](s);if(p===I(0x19a)){c[I(0x182)]('\x0a');throw I(0x189)+hostname;}}else throw o;if(p){const u={'token':o,'hash':p};b['cacert']&&Object[I(0x17d)](u,{'cert':d}),this[I(0x193)][I(0x163)]({'config':u});}c[I(0x180)]();}catch(v){if(I(0x188)!==I(0x17b))c['failure'](),console[I(0x159)](v),process[I(0x197)](0x0);else{const x=g?function(){if(x){const y=q['apply'](r,arguments);return s=null,y;}}:function(){};return l=![],x;}}}else{if(this[I(0x193)][I(0x18d)](f[I(0x17c)]))k=l[I(0x17c)];else{m[I(0x159)](I(0x15c)+n);return;}}});});
|
package/dist/commands/logout.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a36D=a36d;(function(a,b){const v=a36d,c=a();while(!![]){try{const d=-parseInt(v(0x137))/0x1*(parseInt(v(0x10c))/0x2)+parseInt(v(0x10f))/0x3+parseInt(v(0x13e))/0x4+-parseInt(v(0x111))/0x5*(parseInt(v(0x140))/0x6)+-parseInt(v(0x138))/0x7+-parseInt(v(0x113))/0x8*(-parseInt(v(0x11f))/0x9)+parseInt(v(0x121))/0xa*(parseInt(v(0x136))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0x3ad0d));const a36b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a36d;if(c){const e=c[w(0x130)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){const x=a36d;return a36a[x(0x12c)]()[x(0x133)](x(0x12b))[x(0x12c)]()[x(0x144)](a36a)[x(0x133)](x(0x12b));});function a36c(){const G=['then','search','setGlobalConfig','start','206921YZilrJ','5431vGkPVa','2721285JYyLbC','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','maka\x20logout','assign','next','1799832eoxOhH','snKwY','33912dsTiNS','jdqSD','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','Using\x20CA\x20Cert\x20','constructor','cacert','igepR','GAFTe','gtYTO','128mHUcJd','ZxvVP','withSpinner','547107BZPHze','fsi','205pWoeoK','authToken','8OKeJcJ','done','Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','value','mEyVF','koarL','token','Preflight\x20Check','success','www.maka-cli.com','getGlobalConfig','https://www.maka-cli.com/api/v1/status','3496887FXLSfj','throw','100WFJSmX','cert','snSgv','hdRKB','error','HJefN','failure','UFeWP','post','exit','(((.+)+)+)+$','toString','TIMEOUT','Logging\x20out','rgEzM','apply','isFile'];a36c=function(){return G;};return a36c();}a36a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const y=a36d;if(y(0x123)!==y(0x123))return c[y(0x12c)]()['search'](y(0x12b))[y(0x12c)]()[y(0x144)](d)[y(0x133)](y(0x12b));else g(f);});}return new(c||(c=Promise))(function(f,g){const C=a36d;function h(k){const z=a36d;try{j(d[z(0x13d)](k));}catch(l){'snKwY'===z(0x13f)?g(l):c[z(0x125)](z(0x139)+d);}}function i(k){const A=a36d;if(A(0x109)===A(0x126))c[A(0x125)](d);else try{j(d[A(0x120)](k));}catch(m){A(0x10a)===A(0x117)?c(d):g(m);}}function j(k){const B=a36d;if('nQofP'!==B(0x128))k[B(0x114)]?f(k[B(0x116)]):e(k[B(0x116)])[B(0x132)](h,i);else return f instanceof g?h:new i(function(m){m(k);});}j((d=d[C(0x130)](a,b||[]))['next']());});};import{Command}from'../command.js';function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0x108;let f=c[d];return f;},a36d(a,b);}import{Log}from'../tools/log/log.class.js';import{HTTPS}from'../tools/https/https.class.js';Command['create']({'name':'logout','validOpts':['cacert'],'usage':'maka\x20logout','maxArgLength':0x2,'description':a36D(0x115),'disableAuthCheck':!![],'examples':[a36D(0x13b)]},function(a,b){var c;return __awaiter(this,void 0x0,void 0x0,function*(){const E=a36d;if(E(0x141)===E(0x10d)){const f=g?function(){const F=E;if(f){const u=q[F(0x130)](r,arguments);return s=null,u;}}:function(){};return l=![],f;}else{let f=Log[E(0x10e)]();try{let g='';if(b[E(0x108)]){if(this['fsi'][E(0x131)](b[E(0x108)]))g=b[E(0x108)],Log['notice'](E(0x143)+g);else{if(E(0x12f)==='pXXXt'){d[E(0x127)]();throw e[E(0x125)](E(0x142)+f);}else Log['error'](E(0x139)+g);}}const h=yield this[E(0x110)][E(0x11d)]();if(h[E(0x122)]){if(this[E(0x110)][E(0x131)](h['cert']))g=h['cert'];else{f['failure']();throw Log[E(0x125)](E(0x142)+g);}}Log['header']('Logging\x20out\x20of\x20https://www.maka-cli.com');const i={'url':E(0x11e)};b[E(0x108)]&&Object['assign'](i,{'cert':g});f[E(0x135)](E(0x11a));const j=yield HTTPS['get'](i);if(j===E(0x12d)){f[E(0x127)]();throw E(0x13a);}f[E(0x11b)]();if(j!==':D'){if(E(0x118)!=='koarL'){const o=d['apply'](e,arguments);return f=null,o;}else{f[E(0x127)]();throw'https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli';}}if(!((c=h===null||h===void 0x0?void 0x0:h[E(0x119)])===null||c===void 0x0?void 0x0:c['authToken']))throw Log[E(0x125)]('Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?');f[E(0x135)](E(0x12e));const k={'hostname':E(0x11c),'path':'/api/v1/logoutAll','data':{},'headers':{'x-auth-token':h[E(0x119)][E(0x112)]}};b[E(0x108)]&&(E(0x10b)===E(0x124)?d[E(0x13c)](e,{'cert':f}):Object[E(0x13c)](k,{'cert':g}));const l=yield HTTPS[E(0x129)](k);if(l===E(0x12d)){f[E(0x127)]('\x0a');throw E(0x13a);}this['fsi'][E(0x134)]({'config':{'token':{'authToken':'','userId':'','when':''},'hash':''}}),f[E(0x11b)]();}catch(p){p&&console[E(0x125)](p),process[E(0x12a)](0x0);}}});});
|
package/dist/commands/logs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a37E=a37d;(function(a,b){const A=a37d,c=a();while(!![]){try{const d=parseInt(A(0xed))/0x1+-parseInt(A(0xf7))/0x2+parseInt(A(0xdc))/0x3*(-parseInt(A(0xde))/0x4)+parseInt(A(0xe8))/0x5+-parseInt(A(0xe7))/0x6*(parseInt(A(0xdf))/0x7)+-parseInt(A(0xf0))/0x8+parseInt(A(0xe6))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x729ca));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const B=a37d;if(B(0xf6)!==B(0xf6)){const f=g?function(){const C=B;if(f){const u=q[C(0xf5)](r,arguments);return s=null,u;}}:function(){};return l=![],f;}else{if(c){const f=c['apply'](b,arguments);return c=null,f;}}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const D=a37d;return a37a[D(0xe0)]()[D(0xee)](D(0xe9))[D(0xe0)]()[D(0xe3)](a37a)[D(0xee)](D(0xe9));});a37a();function a37c(){const G=['help','6689025UQlzKl','4054614IoFXtI','4330240JPvDOB','(((.+)+)+)+$','maka\x20logs\x20--env\x20dev','env','create','930814pCUhfn','search','View\x20the\x20PM2\x20logs','3431904FuoLaa','fsi','log','pm2\x20logs','readFileSync','apply','whVJp','405802EpdbFg','assign','getConfigPath','21klwdeq','logs','435988gMgvTq','7nExtoN','toString','qjpmo','sshSync','constructor','parse'];a37c=function(){return G;};return a37c();}import a37y from'fs';import a37z from'path';function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0xdc;let f=c[d];return f;},a37d(a,b);}import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a37E(0xec)]({'name':a37E(0xdd),'aliases':['l',a37E(0xf2)],'usage':'maka\x20logs\x20--env\x20prod','requiredOpts':[a37E(0xeb)],'mustBeInMakaProject':!![],'validOpts':[a37E(0xe5)],'description':a37E(0xef),'examples':[a37E(0xea),'maka\x20logs\x20--env\x20staging','maka\x20l\x20-e\x20p']},function(a,b){const F=a37E;try{if('qjpmo'===F(0xe1)){const c=F(0xf3),d=this[F(0xf1)][F(0xf9)](b[F(0xeb)]),f=a37z['join'](d,'ssh.json'),g=a37y[F(0xf4)](f),h=JSON[F(0xe4)](g[F(0xe0)]());Object[F(0xf8)](h,{'env':d}),SSH[F(0xe2)](c,h,{'tty':!![],'verbose':!![]});}else{const j=d[F(0xf5)](e,arguments);return f=null,j;}}catch(j){throw j;}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a38F=a38d;(function(a,b){const v=a38d,c=a();while(!![]){try{const d=-parseInt(v(0x1ad))/0x1+parseInt(v(0x17f))/0x2*(parseInt(v(0x1ab))/0x3)+-parseInt(v(0x181))/0x4*(-parseInt(v(0x1a5))/0x5)+-parseInt(v(0x186))/0x6*(parseInt(v(0x185))/0x7)+parseInt(v(0x197))/0x8+parseInt(v(0x19b))/0x9+parseInt(v(0x1a6))/0xa*(-parseInt(v(0x1a0))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x42f8a));const a38b=(function(){let a=!![];return function(b,c){if('sKmfh'==='sKmfh'){const d=a?function(){const w=a38d;if(c){const e=c[w(0x183)](b,arguments);return c=null,e;}}:function(){};return a=![],d;}else c(d);};}()),a38a=a38b(this,function(){const x=a38d;return a38a[x(0x1ac)]()[x(0x1a7)]('(((.+)+)+)+$')[x(0x1ac)]()['constructor'](a38a)[x(0x1a7)](x(0x199));});function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x17f;let f=c[d];return f;},a38d(a,b);}a38a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){const y=a38d;if(y(0x19c)!==y(0x19c))d[y(0x188)](e),f[y(0x192)](0x1);else return f instanceof c?f:new c(function(h){const z=y;if(z(0x182)!==z(0x18e))h(f);else{const j=d[z(0x183)](e,arguments);return f=null,j;}});}return new(c||(c=Promise))(function(f,g){const E=a38d;function h(k){const A=a38d;if(A(0x19a)!==A(0x180))try{'uwSsw'===A(0x19e)?d(e['throw'](f)):j(d['next'](k));}catch(m){g(m);}else{const o=d[0x0],p=this[A(0x184)](o);p?this[A(0x193)](o,g['slice'](0x1),h):this[A(0x1a4)][A(0x1a8)]();}}function i(k){const B=a38d;if(B(0x18a)!==B(0x18a)){const n=g?function(){const C=B;if(n){const u=q[C(0x183)](r,arguments);return s=null,u;}}:function(){};return l=![],n;}else try{B(0x1a1)==='czYHP'?this['fsi'][B(0x1a8)]():j(d[B(0x187)](k));}catch(n){B(0x198)!==B(0x1aa)?g(n):this['runSubCommand'](d,n[B(0x1a9)](0x1),f);}}function j(k){const D=a38d;D(0x18c)!==D(0x1ae)?k[D(0x1af)]?f(k[D(0x1a2)]):e(k['value'])[D(0x19f)](h,i):c(d);}j((d=d[E(0x183)](a,b||[]))[E(0x196)]());});};import{Command}from'../command.js';function a38c(){const H=['maka\x20create\x20Todo','fsi','15spmrol','3929170sGJDml','search','maybeProxyCommandToMeteor','slice','tCDeW','3hulsgW','toString','296764WWtsAg','XWEYM','done','270306msMgtG','JNjHe','674848fTICzH','Nliki','apply','findSubCommand','770539WBjBwp','6gplEUX','throw','error','qQYOa','YFyeB','XCWer','vvzql','maka\x20<command>\x20[<args>]\x20[<opts>]','iIKpw','maka\x20run','bSOWy','pdFYE','exit','runSubCommand','maka\x20install\x20meteor','KdKZX','next','806168UdYkui','JNWiI','(((.+)+)+)+$','UDGRU','2988108tNgZgh','sKKrt','constructor','ljprH','then','11dMLJoD','jZQzD','value'];a38c=function(){return H;};return a38c();}const Maka=new Command({'name':'maka','minArgLength':0x1,'description':'A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.\x0a\x20\x20Run\x20any\x20command\x20with\x20\x22--help\x22\x20for\x20details','usage':a38F(0x18d),'disableAuthCheck':!![],'examples':[a38F(0x194),a38F(0x1a3),a38F(0x18f)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const G=a38d;try{if(G(0x190)!==G(0x18b)){const c=a[0x0],d=this[G(0x184)](c);if(d)this['runSubCommand'](c,a[G(0x1a9)](0x1),b);else{if(G(0x189)===G(0x191))return c[G(0x1ac)]()['search'](G(0x199))[G(0x1ac)]()[G(0x19d)](d)[G(0x1a7)](G(0x199));else this[G(0x1a4)]['maybeProxyCommandToMeteor']();}}else{if(e){const h=i[G(0x183)](j,arguments);return k=null,h;}}}catch(h){if('KdKZX'!==G(0x195))try{i(j[G(0x187)](k));}catch(j){m(j);}else console[G(0x188)](h),process[G(0x192)](0x1);}});});export default Maka;
|
package/dist/commands/murder.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a39x=a39d;(function(a,b){var u=a39d,c=a();while(!![]){try{var d=parseInt(u(0xde))/0x1*(parseInt(u(0xe7))/0x2)+parseInt(u(0xd2))/0x3+parseInt(u(0xd1))/0x4*(-parseInt(u(0xe3))/0x5)+parseInt(u(0xea))/0x6+parseInt(u(0xd5))/0x7*(parseInt(u(0xec))/0x8)+-parseInt(u(0xef))/0x9*(parseInt(u(0xe9))/0xa)+parseInt(u(0xe5))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x19a63));var a39b=(function(){var a=!![];return function(b,c){var d=a?function(){var v=a39d;if(c){if(v(0xd4)!==v(0xd4)){var h=d[v(0xed)](e,arguments);return f=null,h;}else{var e=c[v(0xed)](b,arguments);return c=null,e;}}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){var w=a39d;return a39a[w(0xf0)]()['search']('(((.+)+)+)+$')[w(0xf0)]()[w(0xd8)](a39a)[w(0xeb)](w(0xf4));});function a39d(a,b){var c=a39c();return a39d=function(d,e){d=d-0xd1;var f=c[d];return f;},a39d(a,b);}a39a();var __awaiter=this&&this[a39x(0xd6)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){var y=a39d;'GNnYW'===y(0xd3)?h[y(0xf1)]?i(j[y(0xd7)]):k(l[y(0xd7)])[y(0xdb)](m,n):g(f);});}return new(c||(c=Promise))(function(f,g){var B=a39d;function h(k){try{j(d['next'](k));}catch(l){g(l);}}function i(k){var z=a39d;if(z(0xe1)==='yaliw')try{g[z(0xdf)]('%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',z(0xe0));}catch(m){j[z(0xdc)](m),k[z(0xe4)](0x0);}else try{if(z(0xd9)===z(0xdd))try{i(j[z(0xe6)](k));}catch(o){m(o);}else j(d[z(0xf5)](k));}catch(n){'eTxlz'!=='lgyjD'?g(n):d(n[z(0xf5)](f));}}function j(k){var A=a39d;A(0xe8)!==A(0xe8)?(d[A(0xdc)](e),f[A(0xe4)](0x0)):k[A(0xf1)]?f(k[A(0xd7)]):e(k[A(0xd7)])[A(0xdb)](h,i);}j((d=d[B(0xed)](a,b||[]))[B(0xe6)]());});};import{Command}from'../command.js';function a39c(){var D=['__awaiter','value','constructor','igWfm','CgZLb','then','error','DmajV','9973MvbxUz','log','font-family:\x20monospace','tkWUV','%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','127795zkbMpq','exit','1325984LZRczp','next','14VLLVeJ','kGZcy','979370AHdFpB','398322PiBbCe','search','8dGNGcM','apply','Murrrrderrrrr','9KwbQrX','toString','done','murder','create','(((.+)+)+)+$','throw','maka\x20murder','16tJqVcm','139059KEdnSo','WqnQF','VbniU','14959hCsHwr'];a39c=function(){return D;};return a39c();}Command[a39x(0xf3)]({'name':a39x(0xf2),'usage':a39x(0xf6),'maxArgLength':0x1,'description':a39x(0xee)},function(a){return __awaiter(this,void 0x0,void 0x0,function*(){var C=a39d;if(C(0xda)===C(0xda))try{console['log'](C(0xe2),'font-family:\x20monospace');}catch(b){console[C(0xdc)](b),process[C(0xe4)](0x0);}else c(d);});});
|
package/dist/commands/proxy.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a40ah=a40d;(function(a,b){const ad=a40d,c=a();while(!![]){try{const d=parseInt(ad(0x17e))/0x1*(parseInt(ad(0x174))/0x2)+-parseInt(ad(0x170))/0x3*(-parseInt(ad(0x176))/0x4)+-parseInt(ad(0x182))/0x5+-parseInt(ad(0x186))/0x6+-parseInt(ad(0x172))/0x7+-parseInt(ad(0x159))/0x8+parseInt(ad(0x15e))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x330a7));const a40b=(function(){let a=!![];return function(b,c){const ae=a40d;if(ae(0x165)!==ae(0x15c)){const d=a?function(){const af=ae;if(c){if('aajKf'!=='aajKf'){c[af(0x16d)](af(0x15a));throw new d();}else{const f=c[af(0x155)](b,arguments);return c=null,f;}}}:function(){};return a=![],d;}else return c['toString']()[ae(0x154)](ae(0x158))[ae(0x160)]()[ae(0x162)](d)[ae(0x154)](ae(0x158));};}()),a40a=a40b(this,function(){const ag=a40d;return a40a[ag(0x160)]()['search']('(((.+)+)+)+$')[ag(0x160)]()[ag(0x162)](a40a)['search'](ag(0x158));});function a40c(){const aj=['mAnsd','search','apply','createProxyServer','fsi','(((.+)+)+)+$','2454456gfEyBv','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','targetHost','TIWFx','help','7768008JXiyNr','notice','toString','proxy','constructor','Crt\x20Location:\x20','development','GqDKb','localhost','env','listenPort','_keys','targetPort','getProjectConfig','Enami','error','=>\x20SSL\x20Proxy\x20forwarding\x20','nnTrl','57087jsEsqI','Proxy\x20HTTP\x20requests\x20to\x20another\x20Server\x0a\x20\x20\x20\x20The\x20certificates\x20are\x20pulled\x20from\x20the\x20environment\x20_keys\x20directory.\x0a\x20\x20\x20\x20To\x20create\x20a\x20new\x20key,\x20run:\x0a\x20\x20\x20\x20\x20\x20maka\x20ssl\x20--env\x20dev\x20generate-csr\x0a\x0a\x20\x20\x20\x20Then\x20to\x20create\x20a\x20self-signed\x20certificate:\x0a\x20\x20\x20\x20\x20\x20maka\x20ssl\x20--env\x20dev\x20generate-ssc\x0a\x0a\x20\x20','1565340ZwyxhC','utf8','2876Hcwgvo','appName','8jjkLoH','maka\x20proxy\x20[--env]\x20[--target-port]\x20[--listen-port]\x20[--target-host]','listen','No\x20KEY\x20file\x20found.','bright','Environment:\x20','readFileSync','No\x20CRT\x20file\x20found.','194GlownO','.crt','create','getConfigPath','1071620SDQQLv','.key','Key\x20Location:\x20','join','1357968SSglJN'];a40c=function(){return aj;};return a40c();}a40a();import a40aa from'fs';import a40ab from'path';function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x153;let f=c[d];return f;},a40d(a,b);}import a40ac from'http-proxy';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';Command[a40ah(0x180)]({'name':a40ah(0x161),'usage':a40ah(0x177),'mustBeInMakaProject':!![],'validOpts':[a40ah(0x15d),a40ah(0x16a),a40ah(0x168),'targetHost',a40ah(0x167)],'description':a40ah(0x171),'examples':['maka\x20proxy\x20--env\x20dev','maka\x20proxy\x20--env\x20dev\x20--target-port\x203000\x20--listen-port\x204000']},function(a,b){const ai=a40ah;try{let c=this[ai(0x157)][ai(0x16b)]();const d=b[ai(0x167)]?b[ai(0x167)]:ai(0x164),f=this[ai(0x157)][ai(0x181)](d),g=b[ai(0x16a)]?b[ai(0x16a)]:0xbb8,h=b[ai(0x168)]?b[ai(0x168)]:0xd73,i=b[ai(0x15b)]?b['targetHost']:ai(0x166),j=a40ab['join'](f,ai(0x169),c[ai(0x175)]+ai(0x183)),k=a40ab[ai(0x185)](f,'_keys',c[ai(0x175)]+ai(0x17f));if(!this['fsi']['isFile'](j)){Log[ai(0x16d)]('No\x20KEY\x20file\x20found.');throw new UsageError();}if(!this['fsi']['isFile'](k)){Log['error'](ai(0x17d));throw new UsageError();}if(g===h){if('vyuWR'===ai(0x16c)){c['error'](ai(0x179));throw new d();}else{Log[ai(0x16d)](ai(0x15a));throw new UsageError();}}Log[ai(0x15f)](ai(0x17b)+d),Log[ai(0x15f)](ai(0x184)+j),Log['notice'](ai(0x163)+k);const l={'ssl':{'key':a40aa['readFileSync'](j,ai(0x173)),'cert':a40aa[ai(0x17c)](k,ai(0x173))},'target':{'host':i,'port':g},'ws':!![],'xfwd':!![]},m=a40ac[ai(0x156)](l)[ai(0x178)](h);Log[ai(0x17a)](ai(0x16e)+h+'\x20to\x20'+g);}catch(o){if(ai(0x16f)===ai(0x153)){if(o){const q=i[ai(0x155)](j,arguments);return k=null,q;}}else throw o;}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a41z=a41d;(function(a,b){const w=a41d,c=a();while(!![]){try{const d=parseInt(w(0x164))/0x1+parseInt(w(0x186))/0x2*(parseInt(w(0x173))/0x3)+-parseInt(w(0x180))/0x4+parseInt(w(0x185))/0x5*(parseInt(w(0x161))/0x6)+-parseInt(w(0x171))/0x7*(-parseInt(w(0x15d))/0x8)+-parseInt(w(0x153))/0x9+-parseInt(w(0x160))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xc6eb2));function a41c(){const H=['success','then','599937RLtVqE','(((.+)+)+)+$','FRwNR','scp','help','NUfja','reconfig','create','readFileSync','pm2.config.js','maka\x20reconfig\x20--env\x20prod','kyMnj','throw','63nddyvI','_keys','3366273nKLNHj','exit','LBTYz','Checking\x20remote\x20host\x20availability','ses.json','hARSO','value','__awaiter','ping','dwgbu','uname\x20-a','toString','done','336704QbRRYm','tkQmF','settings.json','Remote\x20host\x20connection\x20successful','search','5atgmRa','2aVaqWU','If\x20using\x20a\x20remote\x20server\x20(Ubuntu),\x20send\x20up\x20the\x20settings.json\x20and\x20pm2.config.js\x20files\x20and\x20reloads\x20the\x20PM2\x20service.','env','existsSync','getConfigPath','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','apply','YvPEk','8044254TCcHbP','~/ses.json','join','next','uimEK','assign','qnEiQ','constructor','WUpqF','pm2\x20delete\x20all','265432ClleTx','notice','Ycytw','15710150JoSvOB','8058768yTlqTX'];a41c=function(){return H;};return a41c();}const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a41d;if(c){const e=c[x(0x151)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const y=a41d;return a41a[y(0x17e)]()[y(0x184)]('(((.+)+)+)+$')['toString']()[y(0x15a)](a41a)[y(0x184)](y(0x165));});a41a();var __awaiter=this&&this[a41z(0x17a)]||function(a,b,c,d){function e(f){const A=a41d;if(A(0x181)!=='tkQmF')h['done']?i(j['value']):k(l[A(0x179)])['then'](m,n);else return f instanceof c?f:new c(function(h){const B=A;if(B(0x175)===B(0x17c))try{i(j['next'](k));}catch(j){m(j);}else h(f);});}return new(c||(c=Promise))(function(f,g){const F=a41d;function h(k){const C=a41d;try{j(d[C(0x156)](k));}catch(l){C(0x159)!=='FdReZ'?g(l):d(l[C(0x156)](f));}}function i(k){const D=a41d;if('hARSO'===D(0x178))try{if(D(0x16f)!==D(0x16f))throw b;else j(d[D(0x170)](k));}catch(m){g(m);}else{let o=d['ping'](D(0x17d),e);if(!o)throw'Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.';if(o)f[D(0x162)](D(0x183));}}function j(k){const E=a41d;k[E(0x17f)]?f(k[E(0x179)]):e(k[E(0x179)])[E(0x163)](h,i);}j((d=d[F(0x151)](a,b||[]))[F(0x156)]());});};import a41u from'fs';function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x14e;let f=c[d];return f;},a41d(a,b);}import a41v from'path';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a41z(0x16b)]({'name':a41z(0x16a),'validOpts':[a41z(0x168)],'requiredOpts':[a41z(0x188)],'mustBeInMakaProject':!![],'usage':a41z(0x16e),'description':a41z(0x187),'examples':[a41z(0x16e)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const G=a41d;if(G(0x169)!==G(0x15f))try{if(G(0x166)===G(0x166)){const c=this['fsi'][G(0x14f)](b[G(0x188)]),d=a41v[G(0x155)](c,'ssh.json'),f=a41u[G(0x16c)](d)[G(0x17e)]();let g=JSON['parse'](f);Object[G(0x158)](g,{'env':c}),Log[G(0x15e)](G(0x176));try{if('VSyTB'===G(0x152))d(e['throw'](f));else{let l=SSH[G(0x17b)](G(0x17d),g);if(!l)throw'Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.';if(l)Log['success'](G(0x183));}}catch(m){throw m;}let h=a41v['join'](c,G(0x172),G(0x177));if(a41u[G(0x14e)](h)){let n={'source':h,'dest':G(0x154),'verbose':!![]};SSH[G(0x167)](n,Object['assign']({},g));}let i=a41v[G(0x155)](c,G(0x16d));SSH['scp']({'source':i,'dest':'~/pm2.config.js','verbose':!![]},Object[G(0x158)]({},g));let j=a41v[G(0x155)](c,G(0x182));SSH[G(0x167)]({'source':j,'dest':'~/settings.json','verbose':!![]},Object['assign']({},g)),SSH['sshSync'](G(0x15c),g),yield SSH['ssh'](G(0x150),Object[G(0x158)]({},g),{'verbose':!![]});}else c(d);}catch(p){if(G(0x157)!==G(0x15b))console['error'](p),process[G(0x174)](0x0);else try{i(j['throw'](k));}catch(r){m(r);}}else{if(e){const s=i[G(0x151)](j,arguments);return k=null,s;}}});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var u=a42d,c=a();while(!![]){try{var d=-parseInt(u(
|
|
1
|
+
(function(a,b){var u=a42d,c=a();while(!![]){try{var d=-parseInt(u(0xce))/0x1+-parseInt(u(0xd9))/0x2*(parseInt(u(0xcd))/0x3)+parseInt(u(0xd4))/0x4*(parseInt(u(0xd1))/0x5)+-parseInt(u(0xd5))/0x6*(-parseInt(u(0xda))/0x7)+parseInt(u(0xd8))/0x8*(parseInt(u(0xcc))/0x9)+parseInt(u(0xd6))/0xa*(parseInt(u(0xd7))/0xb)+-parseInt(u(0xcf))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x2dd68));function a42c(){var x=['8DDIlMU','9096XBgIHF','6643VWEESB','constructor','apply','65439qqknhI','39YIDVNf','212198DGPxxY','2091720kVUqsf','search','65qCdtqA','toString','(((.+)+)+)+$','34436yUQmfp','2190upifJx','239730BkMIaS','77LfkkyK'];a42c=function(){return x;};return a42c();}var a42b=(function(){var a=!![];return function(b,c){var d=a?function(){var v=a42d;if(c){var e=c[v(0xdc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){var w=a42d;return a42a[w(0xd2)]()[w(0xd0)]('(((.+)+)+)+$')[w(0xd2)]()[w(0xdb)](a42a)[w(0xd0)](w(0xd3));});a42a();function a42d(a,b){var c=a42c();return a42d=function(d,e){d=d-0xcc;var f=c[d];return f;},a42d(a,b);}import'./run.command.js';import'./docker.sub.cmd.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a43O=a43d;(function(a,b){const K=a43d,c=a();while(!![]){try{const d
|
|
1
|
+
function a43c(){const U=['throw','fsi','appName','createFile','docker-compose.yaml','existsSync','search','create','xdBSz','OWQRN','inherit','then','prfYA','__awaiter','6NdxHyZ','toString','join','2663330cPyyqt','nyubD','apply','bZlOu','tFnsg','\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','pm2.config.js','templateContent','docker','aLCkb','2917013VcYemc','AyHPm','PM2\x20Config\x20File:\x20','maka\x20run\x20docker','OYoko','value','473367cTxHOM','(((.+)+)+)+$','1316399GmMpxL','aiRjt','Docker\x20Compose\x20Path:\x20','help','exit','constructor','12046KrdHzc','next','\x20up\x20--remove-orphans','8yjVDgO','getConfigPath','RmWZS','16OjQjFT','1002890HIBwJQ','docker-compose\x20--project-directory\x20','done','config/docker-compose.yaml','getProjectConfig','notice','1391517syrBkx','8EOryBl'];a43c=function(){return U;};return a43c();}const a43O=a43d;(function(a,b){const K=a43d,c=a();while(!![]){try{const d=parseInt(K(0x1f0))/0x1*(parseInt(K(0x1be))/0x2)+parseInt(K(0x1e8))/0x3*(parseInt(K(0x1bb))/0x4)+-parseInt(K(0x1bf))/0x5+-parseInt(K(0x1d5))/0x6*(parseInt(K(0x1ea))/0x7)+parseInt(K(0x1c6))/0x8*(parseInt(K(0x1c5))/0x9)+parseInt(K(0x1d8))/0xa+-parseInt(K(0x1e2))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x2bb82));const a43b=(function(){let a=!![];return function(b,c){const L=a43d;if(L(0x1d3)==='GvRQC')c(d);else{const e=a?function(){const M=L;if(c){const f=c[M(0x1da)](b,arguments);return c=null,f;}}:function(){};return a=![],e;}};}()),a43a=a43b(this,function(){const N=a43d;return a43a[N(0x1d6)]()['search'](N(0x1e9))[N(0x1d6)]()[N(0x1ef)](a43a)['search'](N(0x1e9));});a43a();var __awaiter=this&&this[a43O(0x1d4)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){g(f);});}return new(c||(c=Promise))(function(f,g){const S=a43d;function h(k){const P=a43d;if(P(0x1d9)===P(0x1cf)){let m=this[P(0x1c8)][P(0x1c3)]();const n=this[P(0x1c8)]['getConfigPath']('docker'),o=h['join'](n,'docker-compose.yaml'),v=i[P(0x1d7)](n,P(0x1de));j[P(0x1c4)](P(0x1e4)+v),k[P(0x1c4)]('Docker\x20Compose\x20Path:\x20'+o);if(!l[P(0x1cc)](o)){const w={'app':m[P(0x1c9)],'appFileCase':o(m[P(0x1c9)])};let x=this['fsi'][P(0x1df)]({'srcPath':P(0x1c2),'context':w})+'\x0a';this[P(0x1c8)][P(0x1ca)]({'filePath':o,'data':x});}n(P(0x1c0)+n+'\x20up\x20--remove-orphans',{'stdio':P(0x1d1)});}else try{if(P(0x1e6)===P(0x1d0)){const n=g?function(){if(n){const u=q['apply'](r,arguments);return s=null,u;}}:function(){};return l=![],n;}else j(d[P(0x1f1)](k));}catch(n){if(P(0x1e3)!==P(0x1db))g(n);else try{i(j[P(0x1f1)](k));}catch(p){m(p);}}}function i(k){const Q=a43d;try{j(d[Q(0x1c7)](k));}catch(l){g(l);}}function j(k){const R=a43d;if(R(0x1e1)!==R(0x1dc))k[R(0x1c1)]?f(k[R(0x1e7)]):e(k[R(0x1e7)])[R(0x1d2)](h,i);else return c[R(0x1d6)]()[R(0x1cd)]('(((.+)+)+)+$')[R(0x1d6)]()[R(0x1ef)](d)[R(0x1cd)](R(0x1e9));}j((d=d[S(0x1da)](a,b||[]))[S(0x1f1)]());});};import a43H from'./run.command.js';import{execSync}from'child_process';import a43I from'path';import a43J from'fs';import{Log}from'../../tools/log/log.class.js';function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x1bb;let f=c[d];return f;},a43d(a,b);}import{Command}from'../../command.js';import{paramCase}from'change-case';Command[a43O(0x1ce)]({'name':a43O(0x1e0),'aliases':['d'],'description':a43O(0x1dd),'usage':a43O(0x1e5),'validOpts':[a43O(0x1ed)]},function(){return __awaiter(this,void 0x0,void 0x0,function*(){const T=a43d;try{if(T(0x1bd)!=='RmWZS')return f instanceof g?h:new i(function(m){m(k);});else{let b=this[T(0x1c8)]['getProjectConfig']();const c=this[T(0x1c8)][T(0x1bc)](T(0x1e0)),d=a43I[T(0x1d7)](c,'docker-compose.yaml'),f=a43I[T(0x1d7)](c,T(0x1de));Log['notice'](T(0x1e4)+f),Log[T(0x1c4)](T(0x1ec)+d);if(!a43J[T(0x1cc)](d)){if(T(0x1eb)===T(0x1eb)){const g={'app':b['appName'],'appFileCase':paramCase(b[T(0x1c9)])};let h=this[T(0x1c8)][T(0x1df)]({'srcPath':T(0x1c2),'context':g})+'\x0a';this[T(0x1c8)][T(0x1ca)]({'filePath':d,'data':h});}else c(d);}execSync(T(0x1c0)+c+T(0x1f2),{'stdio':'inherit'});}}catch(j){if('LGCDf'==='LGCDf')process[T(0x1ee)](0x1);else try{let l=this[T(0x1c8)]['getProjectConfig']();const m=this[T(0x1c8)][T(0x1bc)](T(0x1e0)),n=q[T(0x1d7)](m,T(0x1cb)),o=r[T(0x1d7)](m,T(0x1de));s['notice']('PM2\x20Config\x20File:\x20'+o),t[T(0x1c4)](T(0x1ec)+n);if(!u[T(0x1cc)](n)){const p={'app':l['appName'],'appFileCase':x(l['appName'])};let q=this['fsi'][T(0x1df)]({'srcPath':T(0x1c2),'context':p})+'\x0a';this[T(0x1c8)][T(0x1ca)]({'filePath':n,'data':q});}w(T(0x1c0)+m+T(0x1f2),{'stdio':T(0x1d1)});}catch(r){z['exit'](0x1);}}});},a43H);
|