@maka/maka-cli 5.0.0-beta.1 → 5.0.0-beta.2
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/ai.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/cecr.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/chz.sub.cmd.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/decr.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/lecr.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rdn.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/_index.js +1 -1
- package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
- package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.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 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/_index.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 -1
- 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/abstracts.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/install.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/patreon.js +1 -1
- package/bundle/obf/src/commands/profile.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/register.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/undo.js +1 -1
- package/bundle/obf/src/commands/version.js +1 -1
- package/bundle/obf/src/error.js +1 -1
- package/bundle/obf/src/exec.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/aws/_index.js +1 -1
- package/bundle/obf/src/generators/aws/aws.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/_index.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/cloudformation.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.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/kits/_index.js +1 -1
- package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
- package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
- package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
- package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
- package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
- package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
- package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
- package/bundle/obf/src/generators/kits/kit.js +1 -1
- package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
- package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
- package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
- package/bundle/obf/src/generators/kits/mui/mui.generator.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 +1 -1
- 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/options/options.class.js +1 -1
- package/bundle/obf/src/tools/progress/progress.class.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
|
@@ -1 +1 @@
|
|
|
1
|
-
const a79o=a79d;(function(a,b){const l=a79d,c=a();while(!![]){try{const d
|
|
1
|
+
const a79o=a79d;(function(a,b){const l=a79d,c=a();while(!![]){try{const d=-parseInt(l(0x20f))/0x1*(-parseInt(l(0x1f8))/0x2)+-parseInt(l(0x1e6))/0x3+-parseInt(l(0x1f0))/0x4+parseInt(l(0x1f3))/0x5*(parseInt(l(0x20b))/0x6)+-parseInt(l(0x1f6))/0x7+parseInt(l(0x207))/0x8*(-parseInt(l(0x20c))/0x9)+-parseInt(l(0x20a))/0xa*(-parseInt(l(0x204))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a79c,0x242db));const a79b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a79d;if(c){const e=c[m(0x20e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a79a=a79b(this,function(){const n=a79d;return a79a[n(0x1fa)]()['search'](n(0x200))[n(0x1fa)]()[n(0x1f2)](a79a)[n(0x1ee)]('(((.+)+)+)+$');});a79a();function a79c(){const q=['(((.+)+)+)+$','eslint-plugin-import','.eslintrc.json','loadFormatter','11ugHFMv','exit','Run\x20\x22maka\x20lint\x20--fix\x22\x20to\x20auto\x20fix','72MJFsYe','eslint/eslintrc.json','format','2256490zyOyBo','1469850pNyiEJ','34614sFhtYO','stylish','apply','8522jWvMhQ','checkNpmPackage','eslint','template','create','maka\x20lint\x20--fix','283518XpZKiA','maka\x20lint','notice','fix','lintFiles','eslint-plugin-css','outputFixes','eslint-plugin-jsx-a11y','search','length','110604oLQRLZ','join','constructor','5UdqoTx','Lint\x20results\x20for\x20','All\x20good!\x20:)','1219316ofgNYC','fsi','2ovXfIM','/imports','toString','imports','\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','isFile','findAppDirectory','eslint-config-airbnb'];a79c=function(){return q;};return a79c();}import a79e from'path';import{ESLint}from'eslint';import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';function a79d(a,b){const c=a79c();return a79d=function(d,e){d=d-0x1e2;let f=c[d];return f;},a79d(a,b);}Command[a79o(0x1e4)]({'name':'lint','usage':a79o(0x1e7),'maxArgLength':0x1,'validOpts':[a79o(0x1e9)],'mustBeInMakaProject':!![],'shortDesc':'Use\x20ESLint\x20to\x20lint\x20the\x20imports\x20directory','description':a79o(0x1fc),'examples':[a79o(0x1e5)]},async function(a,b){const p=a79o;try{const c=this[p(0x1f7)][p(0x1fe)]();await this['fsi'][p(0x210)]([p(0x1e2),p(0x201),'eslint-plugin-react',p(0x1eb),p(0x1ed),p(0x1ff)],{'cwd':c,'shouldInstall':!![],'dev':!![]});const d=this[p(0x1f7)][p(0x1fd)](a79e[p(0x1f1)](c,p(0x202)));if(!d){const j={'noRename':!![]};await this[p(0x1f7)][p(0x1e3)]({'srcPath':p(0x208),'destPath':a79e[p(0x1f1)](c,p(0x202)),'framework':'service','context':j});}const f=new ESLint({'fix':b[p(0x1e9)]}),g=await f[p(0x1ea)]([a79e[p(0x1f1)](c,p(0x1fb),'**')]),h=await f[p(0x203)](p(0x20d)),i=await h[p(0x209)](g);i[p(0x1ef)]>0x0?Log['bright'](i):Log['success'](p(0x1f5)),Log[p(0x1e8)](p(0x1f4)+c+p(0x1f9)),b['fix']?await ESLint[p(0x1ec)](g):Log[p(0x1e8)](p(0x206));}catch(k){console['error'](k),process[p(0x205)](0x1);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a80K=a80d;(function(a,b){const H=a80d,c=a();while(!![]){try{const d=parseInt(H(0xbc))/0x1+-parseInt(H(0xe9))/0x2*(parseInt(H(0xc3))/0x3)+-parseInt(H(0xd6))/0x4+-parseInt(H(0xc7))/0x5*(-parseInt(H(0xf0))/0x6)+-parseInt(H(0xe4))/0x7*(-parseInt(H(0xd2))/0x8)+parseInt(H(0xee))/0x9*(-parseInt(H(0xac))/0xa)+parseInt(H(0xb8))/0xb*(-parseInt(H(0xe6))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a80c,0x19d1f));const a80b=(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;};}()),a80a=a80b(this,function(){const I=a80d;return a80a[I(0xd0)]()[I(0xfa)](I(0xdf))[I(0xd0)]()[I(0xe5)](a80a)[I(0xfa)]('(((.+)+)+)+$');});a80a();function a80d(a,b){const c=a80c();return a80d=function(d,e){d=d-0xa7;let f=c[d];return f;},a80d(a,b);}import a80e from'node-forge';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a80c(){const M=['2fFHCdW','ask','cert','assign','start','36cJKUhD','/api/login','12aOEjtO','singleLicense','https://','Invalid\x20email\x20address','email','verify','includes','www.maka-cli.com','setGlobalConfig','env','search','message','/api/v1/status','authToken','PRO\x20Features\x20Enabled\x20🤘','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','/api/v1/forgotPassword','Logging\x20in','Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://','317290mxrzCn','notice','Please\x20verify\x20your\x20account.\x20If\x20you\x20need\x20a\x20new\x20verification\x20email,\x20run\x20`maka\x20login\x20--verify`.','digest','Using\x20CA\x20Cert\x20','toLowerCase','failure','error','Email:','success','Once\x20verified,\x20please\x20run\x20\x27maka\x20login\x27\x20again','warn','11KLNbYh','Your\x20email\x20is\x20already\x20verified!','maka\x20login','fsi','180392xJsLsj','toHex','statusMessage','cacert','localhost','log','parse','17526WMOvDx','getPro','withSpinner','/api/v1/resendEmailVerification','472490xDbrMy','create','post','password','True','getGlobalConfig','Securing\x20connection\x20to\x20https://','Non-verified\x20accounts\x20are\x20automatically\x20garbage\x20collected.\x20\x20Garbage\x20collection\x20is\x20on\x20Thursdays.','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','toString','debug','6280MjNhYj','reset','header','Logs\x20in\x20to\x20www.maka-cli.com','809396BZLdiT','majestic','maka\x20login\x20--reset','Preflight\x20Check','update','sha256','If\x20you\x20need\x20to\x20reset\x20your\x20password,\x20run\x20`maka\x20login\x20--reset`','help','emailVerified','(((.+)+)+)+$','login','/api/v1/encodeJwt','Please\x20enter\x20your\x20email\x20address\x20to\x20receive\x20a\x20password\x20reset\x20link.','isFile','1001RDXpUv','constructor','489324epVTJP','roles','test'];a80c=function(){return M;};return a80c();}import{Actions}from'../tools/actions/actions.class.js';import{HTTPS}from'../tools/https/https.class.js';function validateEmail(a){const J=a80d,b=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;return b[J(0xe8)](String(a)[J(0xb1)]());}const hostname=process[a80K(0xf9)]['MAKA_DEV']===a80K(0xcb)?a80K(0xc0):a80K(0xf7);Command[a80K(0xc8)]({'name':a80K(0xe0),'validOpts':[a80K(0xf4),a80K(0xca),a80K(0xdd),a80K(0xd3),a80K(0xf5),a80K(0xbf),a80K(0xd1)],'usage':a80K(0xba),'maxArgLength':0x2,'disableAuthCheck':!![],'shortDesc':a80K(0xd5),'examples':[a80K(0xba),'maka\x20login\x20--email\x20<address>\x20--password\x20<password>',a80K(0xd8)]},async function(a,b){const L=a80K,c=Log[L(0xc5)]();try{let d='';b[L(0xbf)]&&(this[L(0xbb)]['isFile'](b[L(0xbf)])?(d=b[L(0xbf)],Log['notice'](L(0xb0)+d)):Log[L(0xb3)]('CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+d));const f=await this[L(0xbb)][L(0xcc)]();if(f[L(0xeb)]){if(this[L(0xbb)][L(0xe3)](f[L(0xeb)]))d=f[L(0xeb)];else{Log[L(0xb3)](L(0xcf)+d);return;}}Log[L(0xd4)](L(0xcd)+hostname);const g={'url':'https://'+hostname+L(0xfc)};b[L(0xbf)]&&Object[L(0xec)](g,{'cert':d});c[L(0xed)](L(0xd9));const {statusCode:h}=await HTTPS['get'](g);if(h===0x198){c['failure']();throw L(0xa8);}if(h!==0xc8){c[L(0xb2)]();throw L(0xf2)+hostname+'\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli';}c[L(0xb5)]();if(b[L(0xd3)]){Log[L(0xad)](L(0xe2));const r=await Actions[L(0xea)](L(0xb4)),s={'hostname':hostname,'path':L(0xa9),'data':{'email':r}};if(!validateEmail(r))throw L(0xf3);b[L(0xbf)]&&Object[L(0xec)](s,{'cert':d});c[L(0xed)]('Sending\x20Password\x20Reset\x20Email');const {data:t,statusCode:u}=await HTTPS[L(0xc9)](s);if(u===0x198){c['failure']('\x0a');throw L(0xab)+hostname;}const v=JSON['parse'](t);u===0xc8?(c['success'](),Log[L(0xad)](v[L(0xfb)])):c['failure']();return;}if(b[L(0xf5)]){const w=await this['fsi']['getPro']();if(!w?.[L(0xde)]){const x={'hostname':hostname,'path':L(0xc6),'headers':{'x-auth-token':f?.['token']?.[L(0xfd)]},'data':{}},{statusCode:y,data:z}=await HTTPS[L(0xc9)](x),A=JSON[L(0xc2)](z);y<0x12c?Log[L(0xb3)](y+':\x20'+A[L(0xfb)]):(Log[L(0xb5)]('Email\x20sent!\x20'+A['message']),Log[L(0xb7)](L(0xb6)));}else Log[L(0xb5)](L(0xb9));return;}const i=b['email']?b['email']:await Actions[L(0xea)](L(0xb4));if(!validateEmail(i))throw L(0xf3);const j=b[L(0xca)]?b[L(0xca)]:await Actions['ask']('Password:\x20',!![]),k=a80e['md'][L(0xdb)][L(0xc8)]();k[L(0xda)](j);const l=k[L(0xaf)]()[L(0xbd)](),m={'hostname':hostname,'path':L(0xef),'data':{'email':i,'password':l,'hashed':!![]}};b[L(0xbf)]&&Object['assign'](m,{'cert':d});c[L(0xed)](L(0xaa));const {data:n,statusCode:o}=await HTTPS['post'](m),p=JSON[L(0xc2)](n);if(o>=0x190){c[L(0xb2)]('\x0a');throw p[L(0xb3)];}if(p[L(0xfd)]){const B={'hostname':hostname,'path':L(0xe1),'headers':{'x-auth-token':p[L(0xfd)]},'data':{}};b['cacert']&&Object['assign'](B,{'cert':d});const {data:C,statusCode:D}=await HTTPS[L(0xc9)](B),{token:E}=JSON[L(0xc2)](C);if(D===0x198)throw L(0xab)+hostname;const F={'token':p,'hash':E};await this[L(0xbb)][L(0xf8)](F);}else{c[L(0xb2)]();throw p;}c[L(0xb5)]();const q=await this[L(0xbb)][L(0xc4)]();!q[L(0xde)]&&(Log[L(0xb7)](L(0xae)),Log[L(0xb7)](L(0xce))),q[L(0xe7)][L(0xf6)](L(0xf1))&&Log[L(0xd7)](L(0xa7));}catch(G){G[L(0xbe)]?Log['error'](G[L(0xbe)]):(console[L(0xc1)](''),console[L(0xc1)](G)),Log[L(0xad)](L(0xdc)),process['exit'](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a81p=a81d;(function(a,b){const m=a81d,c=a();while(!![]){try{const d=parseInt(m(
|
|
1
|
+
const a81p=a81d;(function(a,b){const m=a81d,c=a();while(!![]){try{const d=parseInt(m(0xfb))/0x1+-parseInt(m(0xd4))/0x2*(parseInt(m(0xf1))/0x3)+-parseInt(m(0xd7))/0x4+parseInt(m(0xe5))/0x5*(parseInt(m(0xed))/0x6)+parseInt(m(0xe3))/0x7*(parseInt(m(0xfa))/0x8)+parseInt(m(0xf2))/0x9*(-parseInt(m(0xd9))/0xa)+-parseInt(m(0xe1))/0xb*(-parseInt(m(0xf6))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a81c,0x30f8a));const a81b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a81d;if(c){const e=c[n(0xf4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a81a=a81b(this,function(){const o=a81d;return a81a[o(0xdf)]()['search'](o(0xe8))[o(0xdf)]()['constructor'](a81a)['search'](o(0xe8));});a81a();import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a81d(a,b){const c=a81c();return a81d=function(d,e){d=d-0xd3;let f=c[d];return f;},a81d(a,b);}import{HTTPS}from'../tools/https/https.class.js';const hostname=process[a81p(0xfd)]['MAKA_DEV']==='True'?a81p(0xe7):'www.maka-cli.com';function a81c(){const r=['logout','localhost','(((.+)+)+)+$','getGlobalConfig','cert','get','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','48uksqwR','create','fsi','Using\x20CA\x20Cert\x20','3BiuMgG','54Tpsdgg','success','apply','exit','12EnGQFE','withSpinner','start','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','232orebRI','209773TcDZeV','maka\x20logout','env','Logging\x20out','assign','Preflight\x20Check','notice','694214AalnNo','You\x20may\x20not\x20be\x20logged\x20in...','isFile','1318344jAOCzO','setGlobalConfig','39670wtxjaQ','cacert','failure','token','Securing\x20connection\x20to\x20https://','statusMessage','toString','https://','572869UtAvqN','/api/logoutAll','59591BzqOIJ','error','245220tixyrD'];a81c=function(){return r;};return a81c();}Command[a81p(0xee)]({'name':a81p(0xe6),'validOpts':[a81p(0xda)],'usage':'maka\x20logout','maxArgLength':0x2,'shortDesc':'Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','disableAuthCheck':!![],'examples':[a81p(0xfc)]},async function(a,b){const q=a81p,c=Log[q(0xf7)]();try{let d='';b[q(0xda)]&&(this[q(0xef)][q(0xd6)](b[q(0xda)])?(d=b['cacert'],Log[q(0xd3)](q(0xf0)+d)):Log[q(0xe4)](q(0xf9)+d));const f=await this[q(0xef)][q(0xe9)]();if(f[q(0xea)]){if(this[q(0xef)][q(0xd6)](f[q(0xea)]))d=f[q(0xea)];else{c[q(0xdb)]();throw Log[q(0xe4)]('CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20'+d);}}Log['header'](q(0xdd)+hostname);const g={'url':q(0xe0)+hostname+'/api/v1/status'};b[q(0xda)]&&Object['assign'](g,{'cert':d});c[q(0xf8)](q(0x100));const {statusCode:h}=await HTTPS[q(0xeb)](g);if(h===0x198){c['failure']();throw q(0xec);}c[q(0xf3)]();if(h!==0xc8){c[q(0xdb)]();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(!f?.[q(0xdc)]?.['authToken'])throw Log['error']('Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?');c['start'](q(0xfe));const i={'hostname':hostname,'path':q(0xe2),'data':{},'headers':{'x-auth-token':f[q(0xdc)]['authToken']}};b[q(0xda)]&&Object[q(0xff)](i,{'cert':d});const {statusCode:j,statusMessage:k}=await HTTPS['post'](i);if(j>=0x190)throw k;this['fsi'][q(0xd8)]({'token':{'authToken':'','userId':'','when':''},'hash':''}),c[q(0xf3)]();}catch(l){c[q(0xdb)]('\x0a'),l&&(l[q(0xde)]?Log['error'](l['statusMessage']):(Log['error'](l),Log['notice'](q(0xd5)))),process[q(0xf5)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a82m=a82d;(function(a,b){const j=a82d,c=a();while(!![]){try{const d
|
|
1
|
+
function a82c(){const o=['readFileSync','getAppConfigPath','search','4925340yQwNzE','969247TKYekT','toString','(((.+)+)+)+$','maka\x20l\x20-e\x20p','maka\x20logs','259yjhpgj','error','15025653dGahQg','207984uHGwbl','pm2\x20logs','join','log','constructor','4209484IETDRt','env','fsi','logs','32LYCQXn','ssh.json','maka\x20logs\x20--env\x20dev','142548UmHadk','apply','View\x20the\x20PM2\x20logs','1264888tMhqJd'];a82c=function(){return o;};return a82c();}const a82m=a82d;(function(a,b){const j=a82d,c=a();while(!![]){try{const d=-parseInt(j(0xea))/0x1+parseInt(j(0xdf))/0x2*(parseInt(j(0xf2))/0x3)+parseInt(j(0xf7))/0x4+-parseInt(j(0xe9))/0x5+-parseInt(j(0xe2))/0x6*(parseInt(j(0xef))/0x7)+-parseInt(j(0xe5))/0x8+parseInt(j(0xf1))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a82c,0xccff0));const a82b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a82d;if(c){const e=c[k(0xe3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a82a=a82b(this,function(){const l=a82d;return a82a[l(0xeb)]()[l(0xe8)](l(0xec))['toString']()[l(0xf6)](a82a)[l(0xe8)]('(((.+)+)+)+$');});a82a();import a82e from'fs';import a82f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';function a82d(a,b){const c=a82c();return a82d=function(d,e){d=d-0xde;let f=c[d];return f;},a82d(a,b);}import{Log}from'../tools/log/log.class.js';Command['create']({'name':a82m(0xde),'aliases':['l',a82m(0xf5)],'usage':a82m(0xee),'requiredOpts':[a82m(0xf8)],'mustBeInMakaProject':!![],'validOpts':['verbose'],'shortDesc':a82m(0xe4),'examples':[a82m(0xe1),'maka\x20logs\x20--env\x20staging',a82m(0xed)]},function(a,b){const n=a82m;try{const c=n(0xf3),d=this[n(0xf9)][n(0xe7)](b[n(0xf8)]),f=a82f[n(0xf4)](d,n(0xe0)),g=a82e[n(0xe6)](f),h=JSON['parse'](g[n(0xeb)]());Object['assign'](h,{'env':d}),SSH['sshSync'](c,h,{'tty':!![],'verbose':!![]});}catch(i){Log[n(0xf0)](i);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a83d(a,b){const c=a83c();return a83d=function(d,e){d=d-0x105;let f=c[d];return f;},a83d(a,b);}function a83c(){const k=['A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','25565680HzdDOZ','\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.::.\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','813408LMJFoZ','(((.+)+)+)+$','toString','maka','21491FtcXYf','5GNxuJf','constructor','10wiFvDm','maka\x20--help','796592epVNhr','apply','search','splice','6888798coAtxW','processAndRunCommand','maka\x20install\x20meteor','1394660FdWYeV','1741911twAHiO','exit','maka\x20<command>\x20[<args>]\x20[<opts>]','54bXNyKa'];a83c=function(){return k;};return a83c();}const a83i=a83d;(function(a,b){const f=a83d,c=a();while(!![]){try{const d=parseInt(f(0x119))/0x1*(-parseInt(f(0x11c))/0x2)+-parseInt(f(0x10e))/0x3+parseInt(f(0x10d))/0x4*(parseInt(f(0x11a))/0x5)+-parseInt(f(0x115))/0x6+-parseInt(f(0x10a))/0x7+parseInt(f(0x106))/0x8*(-parseInt(f(0x111))/0x9)+parseInt(f(0x113))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a83c,0x7a12f));const a83b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a83d;if(c){const e=c[g(0x107)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a83a=a83b(this,function(){const h=a83d;return a83a[h(0x117)]()[h(0x108)](h(0x116))[h(0x117)]()[h(0x11b)](a83a)[h(0x108)]('(((.+)+)+)+$');});a83a();import{Command}from'../command.js';const Maka=new Command({'name':a83i(0x118),'minArgLength':0x1,'shortDesc':a83i(0x112),'validOpts':[],'usage':a83i(0x110),'disableAuthCheck':!![],'examples':[a83i(0x105),a83i(0x10c),'maka\x20create\x20Todo','maka\x20run'],'description':a83i(0x114)},async function(a,b){const j=a83i;try{const c=a[0x0];return a[j(0x109)](0x0,0x1),await this[j(0x10b)](c,a,b);}catch(d){process[j(0x10f)](0x1);}});export default Maka;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var a84i=a84d;(function(a,b){var f=a84d,c=a();while(!![]){try{var d
|
|
1
|
+
var a84i=a84d;(function(a,b){var f=a84d,c=a();while(!![]){try{var d=parseInt(f(0x1e7))/0x1*(parseInt(f(0x1e6))/0x2)+parseInt(f(0x1ef))/0x3+parseInt(f(0x1e2))/0x4*(parseInt(f(0x1eb))/0x5)+parseInt(f(0x1ea))/0x6*(parseInt(f(0x1e1))/0x7)+-parseInt(f(0x1e3))/0x8*(-parseInt(f(0x1f1))/0x9)+parseInt(f(0x1df))/0xa+-parseInt(f(0x1ec))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a84c,0x20fc1));function a84d(a,b){var c=a84c();return a84d=function(d,e){d=d-0x1df;var f=c[d];return f;},a84d(a,b);}var a84b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a84d;if(c){var e=c[g(0x1f0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a84a=a84b(this,function(){var h=a84d;return a84a['toString']()['search'](h(0x1ed))['toString']()[h(0x1e0)](a84a)[h(0x1e4)]('(((.+)+)+)+$');});a84a();import{Command}from'../command.js';function a84c(){var k=['415AoGXDa','9170953CUnUnz','(((.+)+)+)+$','maka\x20murder','665163YUGklE','apply','23994wpcFVm','Murrrrderrrrr','font-family:\x20monospace','error','1696100IeejNu','constructor','17549IqwyRr','4904yaDKwP','344uTAfgd','search','create','316068yWBYKF','1bhFvMk','murder','exit','486OPGBqk'];a84c=function(){return k;};return a84c();}Command[a84i(0x1e5)]({'name':a84i(0x1e8),'usage':a84i(0x1ee),'maxArgLength':0x1,'shortDesc':a84i(0x1f2),'validOpts':[]},async function(){var j=a84i;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',j(0x1f3));}catch(a){console[j(0x1f4)](a),process[j(0x1e9)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a85u=a85d;
|
|
1
|
+
const a85u=a85d;(function(a,b){const r=a85d,c=a();while(!![]){try{const d=parseInt(r(0x1bf))/0x1+parseInt(r(0x1c3))/0x2*(parseInt(r(0x1cb))/0x3)+-parseInt(r(0x1e7))/0x4*(parseInt(r(0x1af))/0x5)+-parseInt(r(0x1b8))/0x6+parseInt(r(0x1ef))/0x7+-parseInt(r(0x1ba))/0x8*(-parseInt(r(0x1da))/0x9)+parseInt(r(0x1c4))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a85c,0x3e75a));const a85b=(function(){let a=!![];return function(b,c){const d=a?function(){const s=a85d;if(c){const e=c[s(0x1e6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a85a=a85b(this,function(){const t=a85d;return a85a[t(0x1dc)]()[t(0x1cf)](t(0x1b7))[t(0x1dc)]()[t(0x1e4)](a85a)[t(0x1cf)]('(((.+)+)+)+$');});a85a();import{Command}from'../command.js';import a85e from'./maka.cmd.js';import{Log}from'../tools/log/log.class.js';import{HTTPS}from'../tools/https/https.class.js';import a85f from'open';const clientId='xKtLQ3M3ZzWReGTMgj0kEn73qtUKS5PBxzvANBfi43_rEoanXp0w_S5EYye1uAqP',redirectUri=process['env']['MAKA_DEV']===a85u(0x1ee)?a85u(0x1d0):a85u(0x1b5),patreonUnlinkUri=process[a85u(0x1d3)][a85u(0x1c7)]==='True'?a85u(0x1be):'https://www.maka-cli.com/api/v1/patreon/unlink',patreonStatusUri=process[a85u(0x1d3)]['MAKA_DEV']===a85u(0x1ee)?a85u(0x1c6):a85u(0x1e8);function a85d(a,b){const c=a85c();return a85d=function(d,e){d=d-0x1ae;let f=c[d];return f;},a85d(a,b);}function a85c(){const w=['maka\x20patreon\x20--cacert\x20/path/to/cacert.pem','465aZZgdM','To\x20link\x20your\x20Patreon\x20account,\x20run\x20`maka\x20patreon\x20--link`','Run\x20`maka\x20login`\x20to\x20login\x20or\x20`maka\x20register`\x20to\x20create\x20an\x20account','failure','search','https://localhost:443/api/v1/patreon/link','info','If\x20you\x20are\x20a\x20sponsor\x20through\x20Patreon,\x20you\x20can\x20level\x20up\x20to\x20PRO!','env','includes','https://www.patreon.com/oauth2/authorize?response_type=code&client_id=','Thank\x20you\x20for\x20your\x20support!!','maka\x20patreon\x20--link','Using\x20CA\x20Cert\x20','getPro','18CAbHxa','patreon','toString','PRO\x20Features\x20Enabled\x20🤘','token','emailVerified','get','notice','unlink','majestic','constructor','isFile','apply','544892avppDG','https://www.maka-cli.com/api/v1/patreon/status','get:whoami','You\x20are\x20SO\x20not\x20PRO\x20😭','exit','help','status','True','823319NjyAdQ','You\x20need\x20to\x20verify\x20your\x20email\x20before\x20you\x20can\x20link\x20your\x20account.','Failed\x20to\x20authenticate\x20with\x20Patreon:\x20','5NDnaAQ','warn','cacert','roles','error','You\x20need\x20to\x20be\x20logged\x20in\x20to\x20use\x20this\x20command!','https://www.maka-cli.com/api/v1/patreon/link','link','(((.+)+)+)+$','3002814pzirNo','setGlobalConfig','1571600nzaMyR','singleLicense','maka\x20patreon','maka\x20patreon\x20--unlink','https://localhost:443/api/v1/patreon/unlink','56870QWaJYB','Fetching\x20Patreon\x20status...\x20','parse','withSpinner','1454OKGgEJ','2124540cZUEfi','processAndRunCommand','https://localhost:443/api/v1/patreon/status','MAKA_DEV','Logging\x20you\x20out\x20for\x20security\x20reasons...','fsi'];a85c=function(){return w;};return a85c();}Command['create']({'name':a85u(0x1db),'validOpts':[a85u(0x1ed),a85u(0x1b6),a85u(0x1e2),a85u(0x1ec),a85u(0x1b1)],'usage':a85u(0x1bc),'shortDesc':a85u(0x1d2),'description':'\x0a\x20\x20--status:\x20Check\x20if\x20you\x20are\x20a\x20patron,\x20and\x20update\x20your\x20account\x0a\x0a\x20\x20--link:\x20Link\x20your\x20Patreon\x20account\x20to\x20your\x20Maka\x20account\x0a\x0a\x20\x20--unlink:\x20Unlink\x20your\x20Patreon\x20account\x20from\x20your\x20Maka\x20account\x0a\x0a\x20\x20--cacert:\x20Path\x20to\x20a\x20CA\x20Cert\x20file\x20if\x20you\x20need\x20to\x20use\x20one\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NOTE:\x20If\x20you\x20have\x20a\x20CA\x20Cert\x20configured\x20in\x20~/.meteor/.maka/global-config.json\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20maka\x20will\x20use\x20that\x20cert\x20by\x20default.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20To\x20set\x20a\x20CA\x20cert,\x20use\x20\x27maka\x20set:global-config\x20--cacert\x20/path/to/cacert.pem\x27\x0a\x20\x20','examples':['maka\x20patreon\x20--status',a85u(0x1d7),a85u(0x1bd),a85u(0x1ca)],'maxOptsLength':0x3,'minOptsLength':0x1,'mustBeLoggedIn':!![]},async function(a,b){const v=a85u;try{const c=await a85e[v(0x1c5)](v(0x1e9),[],{'silent':!![]});let d=await this[v(0x1c9)][v(0x1d9)](),e='';b[v(0x1b1)]&&(this[v(0x1c9)][v(0x1e5)](b[v(0x1b1)])?(e=b['cacert'],Log[v(0x1e1)](v(0x1d8)+e)):(Log[v(0x1b3)]('CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+b[v(0x1b1)]),process[v(0x1eb)](0x1)));const f=c[v(0x1de)]['authToken'];if(c[v(0x1de)]['authToken']){!d[v(0x1df)]&&(Log[v(0x1b0)](v(0x1f0)),Log[v(0x1b0)]('Check\x20your\x20email\x20for\x20the\x20verification\x20link\x20or\x20run\x20`maka\x20login\x20--verify`\x20to\x20resend\x20the\x20verification\x20email'),process[v(0x1eb)](0x1));if(b[v(0x1b6)]){Log[v(0x1e1)]('Opening\x20Patreon\x20in\x20your\x20browser...');const g=v(0x1d5)+clientId+'&redirect_uri='+encodeURIComponent(redirectUri)+'&state='+f;await a85f(g);}if(b[v(0x1e2)]){const {data:h,statusCode:i}=await HTTPS[v(0x1e0)]({'url':patreonUnlinkUri,'headers':{'x-auth-token':c[v(0x1de)]['authToken']},'cert':e}),{message:j}=JSON[v(0x1c1)](h);i===0xc8?Log[v(0x1e1)](j):Log[v(0x1b3)](j),Log[v(0x1d1)](v(0x1c8)),await a85e[v(0x1c5)]('logout');}if(!b['link']&&!b[v(0x1e2)]){const k=Log[v(0x1c2)](v(0x1c0)),{data:l,statusCode:m}=await HTTPS[v(0x1e0)]({'url':patreonStatusUri,'headers':{'x-auth-token':c['token']['authToken']}}),{message:n}=JSON[v(0x1c1)](l);m!==0xc8&&(k[v(0x1ce)](),Log['error'](n),process[v(0x1eb)](0x1));const {hasPatreonCredentials:o,token:p}=JSON['parse'](l);if(o&&p)await this[v(0x1c9)][v(0x1b9)]({'hash':p}),d=await this[v(0x1c9)][v(0x1d9)](),d[v(0x1b2)][v(0x1d4)](v(0x1bb))?(Log['majestic'](v(0x1dd)),Log[v(0x1e3)](v(0x1d6))):Log[v(0x1e1)](v(0x1ea));else!o&&Log[v(0x1e1)](v(0x1cc));}}else Log['notice'](v(0x1b4)),Log['notice'](v(0x1cd));}catch(q){Log[v(0x1b3)](v(0x1ae)+q),process[v(0x1eb)](0x1);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a86B=a86d;(function(a,b){const z=a86d,c=a();while(!![]){try{const d=parseInt(z(0xcf))/0x1*(-parseInt(z(0xba))/0x2)+-parseInt(z(0xc4))/0x3+-parseInt(z(0xd7))/0x4+parseInt(z(0xf6))/0x5+parseInt(z(0xf5))/0x6+parseInt(z(0xf1))/0x7+parseInt(z(0xd2))/0x8*(-parseInt(z(0xf7))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a86c,0x194b9));const a86b=(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;};}()),a86a=a86b(this,function(){const A=a86d;return a86a[A(0xe0)]()[A(0xbe)](A(0xf4))[A(0xe0)]()[A(0xff)](a86a)['search'](A(0xf4));});a86a();import a86e from'fs';function a86c(){const L=['utf8','isDirectory','api','stringify','exit','yyyy-MM-dd_HH-mm-ss','2HfFfzT','3000','existsSync','Number\x20of\x20concurrent\x20users','search','toLowerCase','fsi','.txt','users','isFile','410466PYSaPh','plugins','url','Enter\x20the\x20port\x20of\x20the\x20Meteor\x20app\x20[3000]:','routes.','Enter\x20the\x20duration\x20for\x20the\x20test\x20in\x20seconds:','Error:\x20','notice','substring','Execution\x20error:\x20','map','80681bIYjdb','split','getMakaProjectConfig','8eIJLUT','Running\x20performance\x20test','Run\x20a\x20performance\x20test\x20on\x20a\x20Meteor\x20app\x20with\x20specified\x20concurrent\x20users\x20and\x20duration','Error\x20reading\x20results\x20file:\x20','mkdirSync','217400voUYAI','success','exec','artilleryConfig.yml','withSpinner','npx\x20artillery\x20run\x20','dirname','push','maka\x20profile\x20--url\x20http://localhost:3000\x20--users\x201000\x20--duration\x2060','toString','warn','Invalid\x20number\x20of\x20users.\x20Please\x20enter\x20a\x20numeric\x20value.','length','Invalid\x20duration.\x20Please\x20enter\x20a\x20numeric\x20value.','ask','name','Port\x20of\x20the\x20Meteor\x20app','round','get','/api','findProjectDirectory','responseTimes','URL\x20of\x20the\x20Meteor\x20app','config','error','path','933611odacci','readFileSync','maka\x20profile','(((.+)+)+)+$','1240632NbKspO','587540ZNLHpr','739719EwmBjV','Enter\x20the\x20number\x20of\x20users\x20(arrival\x20rate\x20per\x20second):','join','imports','profile-tests','port','/imports/startup/lib','log','constructor','match','true','results_','duration','failure','No\x20API\x20routes\x20detected.\x20Proceeding\x20without\x20profiling\x20API\x20routes.','\x20>\x20','profile'];a86c=function(){return L;};return a86c();}import a86f from'path';import{format}from'date-fns';import{exec}from'child_process';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';const profileCommandOptions={'name':a86B(0x107),'aliases':[],'usage':a86B(0xf3),'validOpts':[{'name':a86B(0xc6),'description':a86B(0xed)},{'name':a86B(0xfc),'description':a86B(0xe7)},{'name':'users','description':a86B(0xbd),'regex':/^\d+$/},{'name':a86B(0x103),'description':'Duration\x20of\x20the\x20test\x20in\x20seconds','regex':/^\d+$/}],'mustBeInMakaProject':!![],'shortDesc':'Profile\x20a\x20Meteor\x20app\x20for\x20performance','description':a86B(0xd4),'examples':[a86B(0xdf)],'experimental':!![]};function extractRoutePaths(a){const C=a86B,b=/<Route path="([^"]+)"/g,c=[];let d;while((d=b[C(0xd9)](a))!==null){d[0x1]!=='*'&&c['push']({'method':C(0xe9),'path':d[0x1]});}return c;}function extractApiRoutes(a){const b=[];function c(d){const D=a86d,e=a86e['readdirSync'](d,{'withFileTypes':!![]});for(const f of e){const g=a86f['join'](d,f[D(0xe6)]);if(f[D(0xb5)]())c(g);else{if(f[D(0xc3)]()){const h=a86e[D(0xf2)](g,D(0x108)),i=/addRoute\('([^']+)'.*?{[\s\S]*?(\bget\b|\bpost\b|\bput\b|\bdelete\b)/g;let j;while((j=i[D(0xd9)](h))!==null){const k=j[0x1],l=j[0x2]['trim']()[D(0xbf)](),m=g[D(0xcc)](a[D(0xe3)])['replace'](/\\/g,'/'),n=a86f[D(0xdd)](m)+'/'+k;b[D(0xde)]({'method':l,'path':D(0xea)+n});}}}}}return c(a),b;}function createArtilleryConfig(a,b,c,d,e){const E=a86B,f=d[E(0xce)](h=>({'flow':[{[h['method']]:{'url':''+a+h[E(0xf0)]}}]})),g={'config':{'target':a,'phases':[{'duration':c,'arrivalRate':Math[E(0xe8)](b/c)}]},'scenarios':f};return e&&(g[E(0xee)][E(0xc5)]={'metrics-by-endpoint':{}}),JSON['stringify'](g,null,0x2);}function parseArtilleryResultsToJson(a){const F=a86B,b=a86e[F(0xf2)](a,F(0x108)),c=b[F(0xd0)]('\x0a'),d={};return c['forEach'](e=>{const G=F;let f;f=e['match'](/plugins\.metrics-by-endpoint\.(.+)\.codes\.(\d+):\s*(\d+)/);if(f){const g=f[0x1],h=f[0x2],i=parseInt(f[0x3],0xa);!d[g]&&(d[g]={'codes':{},'responseTimes':{'min':null,'max':null,'mean':null,'median':null,'p95':null,'p99':null}}),d[g]['codes'][h]=i;}f=e[G(0x100)](/plugins\.metrics-by-endpoint\.(.+)\.response_time\.(min|max|mean|median|p95|p99):\s*(\d+(\.\d+)?)/);if(f){const j=f[0x1],k=f[0x2],l=parseFloat(f[0x3]);!d[j]&&(d[j]={'codes':{},'responseTimes':{'min':null,'max':null,'mean':null,'median':null,'p95':null,'p99':null}}),d[j][G(0xec)][k]=l;}}),d;}function a86d(a,b){const c=a86c();return a86d=function(d,e){d=d-0xb5;let f=c[d];return f;},a86d(a,b);}async function runPerformanceTest(a,b){const H=a86B,c=a86f[H(0xdd)](b);!a86e[H(0xbc)](c)&&a86e[H(0xd6)](c,{'recursive':!![]});const d=Log[H(0xdb)]();return new Promise((e,f)=>{const I=H;d['start'](I(0xd3)),exec(I(0xdc)+a+I(0x106)+b,async(g,h,i)=>{const J=I;if(g){d[J(0x104)](),f(J(0xcd)+g);return;}if(i){d[J(0x104)](),f(J(0xca)+i);return;}try{const j=parseArtilleryResultsToJson(b);console[J(0xfe)](JSON[J(0xb7)](j,null,0x2)),Log[J(0xcb)]('Test\x20results\x20saved\x20to\x20'+b);}catch(k){Log[J(0xef)](J(0xd5)+k);}d[J(0xd8)]('\x0a'),e();});});}Command['create'](profileCommandOptions,async function(a,b){const K=a86B;try{let c=b[K(0xfc)];!c&&!b[K(0xc6)]&&(c=await Actions[K(0xe5)](K(0xc7))||K(0xbb));b['url']=b['url']?b[K(0xc6)]:'http://0.0.0.0:'+c;if(!b[K(0x103)]){const u=await Actions[K(0xe5)](K(0xc9));b['duration']=parseInt(u);if(isNaN(b[K(0x103)]))throw new Error(K(0xe4));}if(!b[K(0xc2)]){const v=await Actions['ask'](K(0xf8));b[K(0xc2)]=parseInt(v);if(isNaN(b[K(0xc2)]))throw new Error(K(0xe2));}const d=this[K(0xc0)][K(0xeb)](),f=this[K(0xc0)][K(0xd1)](),g=f['engines']['ssr']===K(0x101),h=f['engines']['js'],i=g?K(0xfd):'/imports/startup/client',j=this[K(0xc0)]['pathFromApp']({'pathParts':[i,'',K(0xc8)+h]}),k=a86e[K(0xf2)](j,K(0x108)),l=extractRoutePaths(k);let m=[];try{const w=this[K(0xc0)]['pathFromApp']({'pathParts':[K(0xfa),K(0xb6)]});m=extractApiRoutes(w);}catch(x){Log[K(0xe1)](K(0x105));}const n=[...l,...m],o=!![],p=createArtilleryConfig(b[K(0xc6)],b[K(0xc2)],b['duration'],n,o),q=format(new Date(),K(0xb9)),r=a86f[K(0xf9)](d,K(0xfb),'results'),s=a86f[K(0xf9)](d,K(0xfb),K(0xda)),t=a86f[K(0xf9)](r,K(0x102)+q+K(0xc1));await this[K(0xc0)]['createFile']({'filePath':s,'data':p,'opts':{'force':!![]}}),await runPerformanceTest(s,t);}catch(y){Log['error'](y),process[K(0xb8)](0x1);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a87z=a87d;
|
|
1
|
+
const a87z=a87d;(function(a,b){const w=a87d,c=a();while(!![]){try{const d=-parseInt(w(0xa8))/0x1*(parseInt(w(0xa9))/0x2)+-parseInt(w(0xc3))/0x3+-parseInt(w(0xbe))/0x4+parseInt(w(0xcb))/0x5+-parseInt(w(0x90))/0x6*(parseInt(w(0x9e))/0x7)+parseInt(w(0xa1))/0x8+-parseInt(w(0x82))/0x9*(-parseInt(w(0xc7))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a87c,0xc4826));const a87b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a87d;if(c){const e=c[x(0xc5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a87a=a87b(this,function(){const y=a87d;return a87a[y(0x9b)]()['search'](y(0xb5))[y(0x9b)]()[y(0x91)](a87a)[y(0xaa)]('(((.+)+)+)+$');});a87a();import a87e from'fs';function a87c(){const K=['createProxyServer','maka\x20proxy','644855BFnrNq','getHeader','host','658458PJXTBN','statusMessage','readFileSync','=>\x20SSL\x20Proxy\x20forwarding\x20','Shutting\x20down\x20proxy\x20server...','genSSC','url','exit','text/plain','.key','info',']\x20=>\x20',']\x20WebSocket\x20connection\x20closed','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','24gxNKjS','constructor','listen','.crt','method','\x20request\x20to\x20','genCSR','\x20from\x20','statusCode','utf8','join','toString','proxyReq','bright','460488wqudza',']\x20<=\x20Sending\x20','targetHost','6612648aZNumk','isFile','help','start','appName','fsi','\x20on\x20','8dfboBN','196968rwNTGY','search','Key\x20file\x20created:\x20','SSC\x20file\x20created:\x20','error','Proxy\x20server\x20closed.','0.0.0.0','proxy','local','targetPort','sslconfig','.csr','(((.+)+)+)+$','withSpinner','processAndRunGenerator','headers','\x20to\x20','success','getMakaProjectConfig','CSR\x20file\x20created:\x20','create','2508724MNjXMC','writeHead','\x20responded\x20with\x20','headersSent','toISOString','4635795rzNaTo','Internal\x20server\x20error.','apply','path','420cLHSTJ','listenPort'];a87c=function(){return K;};return a87c();}import a87f from'path';import a87g from'http-proxy';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';function a87d(a,b){const c=a87c();return a87d=function(d,e){d=d-0x80;let f=c[d];return f;},a87d(a,b);}import{SSL}from'../tools/ssl/ssl.class.js';import a87h from'../generators/maka.gen.js';Command[a87z(0xbd)]({'name':a87z(0xb0),'usage':a87z(0xca),'mustBeInMakaProject':!![],'validOpts':[a87z(0xa3),a87z(0xb2),a87z(0xc8),a87z(0xa0)],'maxArgLength':0x1,'shortDesc':a87z(0x8f),'description':'\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','examples':[a87z(0xca),'maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000','maka\x20proxy\x20--target-host\x20http://192.168.1.20']},async function(a,b){const A=a87z,c=this['fsi'][A(0xbb)](),d=A(0xb1),e=this[A(0xa6)]['getAppConfigPath'](d),f=this[A(0xa6)]['mkKeysDir']({'configPath':e}),g=b['targetPort']?Number(b[A(0xb2)]):0xbb8,h=b[A(0xc8)]?Number(b[A(0xc8)]):0xd73,i=b['targetHost']?b[A(0xa0)]:A(0xaf),j=a87f[A(0x9a)](f,c[A(0xa5)]+A(0x8b)),k=a87f[A(0x9a)](f,c[A(0xa5)]+'.crt');(!this[A(0xa6)][A(0xa2)](j)||!this[A(0xa6)][A(0xa2)](k))&&(await a87h[A(0xb7)](A(0xb3),[],{'env':d}),SSL[A(0x96)]({'keyName':c[A(0xa5)]+A(0x8b),'csrName':c[A(0xa5)]+A(0xb4),'cwd':f,'useConfig':!![]}),this['fsi'][A(0xa2)](a87f['join'](f,c[A(0xa5)]+A(0xb4)))&&Log[A(0x8c)](A(0xbc)+a87f['join'](f,c['appName']+A(0xb4))),SSL[A(0x87)]({'keyName':c[A(0xa5)]+A(0x8b),'crtName':c['appName']+'.crt','cwd':f,'useConfig':!![]}),this[A(0xa6)][A(0xa2)](a87f[A(0x9a)](f,c[A(0xa5)]+A(0x93)))&&Log[A(0x8c)](A(0xac)+a87f[A(0x9a)](f,c[A(0xa5)]+'.crt')),Log['info'](A(0xab)+j));if(g===h){Log['error']('Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.');throw new UsageError();}const l={'ssl':{'key':a87e[A(0x84)](j,'utf8'),'cert':a87e[A(0x84)](k,A(0x99))},'target':{'host':i,'port':Number(g)},'ws':!![],'xfwd':!![]},m=a87g[A(0xc9)](l);m['on'](A(0xad),(o,p,q)=>{const B=A;'writeHead'in q&&(Log[B(0xad)]('Proxy\x20error:\x20'+o['message']),!q[B(0xc1)]&&(q[B(0xbf)](0x1f4,{'content-type':B(0x8a)}),q['end'](B(0xc4))));}),m['on']('proxyRes',(o,p)=>{const C=A,q=new Date()[C(0xc2)](),r=p[C(0x94)],s=p[C(0x88)],t=p[C(0xb8)][C(0x81)],u=o[C(0x98)],v=o[C(0x83)];Log['warn']('['+q+C(0x8d)+r+'\x20'+s+C(0x97)+t+C(0xc0)+u+'\x20'+v);}),m['on'](A(0x9c),o=>{const D=A,p=new Date()['toISOString'](),q=o['method'],r=o[D(0xc6)],s=o[D(0x80)](D(0x81));Log[D(0x8c)]('['+p+D(0x9f)+q+D(0x95)+r+D(0xa7)+s);}),m['on']('proxyReqWs',(o,p)=>{const E=A,q=new Date()[E(0xc2)](),r=p['method'],s=p[E(0x88)],t=p['headers'][E(0x81)];Log[E(0xba)]('['+q+']\x20WS\x20'+r+'\x20'+s+E(0x97)+t+'\x20-\x20Starting\x20WebSocket\x20handshake');}),m['on']('open',()=>{const F=A,o=new Date()['toISOString']();Log[F(0xba)]('['+o+']\x20WebSocket\x20connection\x20established');}),m['on']('close',()=>{const G=A,o=new Date()['toISOString']();Log[G(0xad)]('['+o+G(0x8e));}),m[A(0x92)](Number(h)),Log[A(0x9d)](A(0x85)+h+A(0xb9)+g);const n=0x7d0;process['on']('SIGINT',()=>{const H=A,o=Log[H(0xb6)]();o[H(0xa4)](H(0x86));const p=setTimeout(()=>{const I=H;o['success'](),process[I(0x89)](0x1);},n);m['close'](()=>{const J=H;clearTimeout(p),Log[J(0x8c)](J(0xae)),process['exit'](0x0);});});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a88r=a88d;(function(a,b){const o=a88d,c=a();while(!![]){try{const d=parseInt(o(0xd5))/0x1+parseInt(o(0xd6))/0x2+-parseInt(o(0xdb))/0x3+-parseInt(o(0xce))/0x4*(-parseInt(o(0xca))/0x5)+parseInt(o(0xd3))/0x6+parseInt(o(0xc7))/0x7*(-parseInt(o(0xf1))/0x8)+parseInt(o(0xe5))/0x9*(-parseInt(o(0xe4))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a88c,0x2e9c6));const a88b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a88d;if(c){const e=c[p(0xef)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a88a=a88b(this,function(){const q=a88d;return a88a[q(0xc8)]()[q(0xcd)](q(0xd2))[q(0xc8)]()[q(0xe9)](a88a)[q(0xcd)](q(0xd2));});a88a();import a88e from'fs';import a88f from'path';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';function a88d(a,b){const c=a88c();return a88d=function(d,e){d=d-0xc7;let f=c[d];return f;},a88d(a,b);}Command[a88r(0xcb)]({'name':a88r(0xeb),'aliases':['reconfig'],'validOpts':[''],'requiredOpts':[a88r(0xf2)],'mustBeInMakaProject':!![],'usage':a88r(0xe8),'shortDesc':'Reconfigure\x20your\x20deployed\x20applications\x20w/o\x20rebuild\x20or\x20redploy','description':a88r(0xec),'examples':[a88r(0xe1)]},async function(a,b){const s=a88r;try{const c=this['fsi'][s(0xd1)](b[s(0xf2)]),d=this['fsi'][s(0xd8)](c),f=a88f[s(0xdc)](d,'ssh.json'),g=a88e[s(0xdd)](f)[s(0xc8)](),h=JSON[s(0xd4)](g);Object[s(0xd9)](h,{'env':d}),Log[s(0xed)](s(0xf0));const i=SSH['ping']('uname\x20-a',h);if(!i)throw s(0xe7);if(i)Log[s(0xd0)]('Remote\x20host\x20connection\x20successful');const j=a88f[s(0xdc)](d,s(0xda),s(0xe6));if(a88e[s(0xdf)](j)){const m={'source':j,'dest':'~/ses.json','verbose':!![]};SSH[s(0xd7)](m,{...h});}const k=a88f[s(0xdc)](d,s(0xe3));SSH[s(0xd7)]({'source':k,'dest':s(0xc9),'verbose':!![]},{...h});const l=a88f[s(0xdc)](d,s(0xea));SSH['scp']({'source':l,'dest':'~/settings.json','verbose':!![]},{...h}),SSH[s(0xee)](s(0xe0),h),await SSH[s(0xde)](s(0xcc),{...h},{'verbose':!![]});}catch(n){console[s(0xcf)](n),process[s(0xe2)](0x0);}});function a88c(){const t=['env','7EwwdnU','toString','~/pm2.config.js','219005LMNqoF','create','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','search','4yLdsxI','error','success','getEnvFromShorthand','(((.+)+)+)+$','2136120afCbYc','parse','109058jjpxus','556846sukkeR','scp','getAppConfigPath','assign','_keys','897567MMLTdb','join','readFileSync','ssh','existsSync','pm2\x20delete\x20all','maka\x20reconfig\x20--env\x20prod','exit','pm2.config.js','60buqLdN','174681gobzZA','ses.json','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','maka\x20reconfig','constructor','settings.json','reconfigure','\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\x0a\x20\x20This\x20does\x20not\x20restart\x20the\x20nginx\x20server\x20and\x20is\x20much\x20faster\x20than\x20deploying\x0a\x20\x20a\x20new\x20build.\x0a\x20\x20','notice','sshSync','apply','Checking\x20remote\x20host\x20availability','1445928DmMUbL'];a88c=function(){return t;};return a88c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a89s=a89d;(function(a,b){const o=a89d,c=a();while(!![]){try{const d
|
|
1
|
+
const a89s=a89d;(function(a,b){const o=a89d,c=a();while(!![]){try{const d=parseInt(o(0x178))/0x1+parseInt(o(0x189))/0x2*(parseInt(o(0x15f))/0x3)+-parseInt(o(0x175))/0x4*(-parseInt(o(0x17f))/0x5)+parseInt(o(0x185))/0x6+parseInt(o(0x17b))/0x7*(-parseInt(o(0x17d))/0x8)+-parseInt(o(0x155))/0x9*(parseInt(o(0x18b))/0xa)+-parseInt(o(0x166))/0xb*(parseInt(o(0x163))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a89c,0xb9780));const a89b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a89d;if(c){const e=c[p(0x176)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a89a=a89b(this,function(){const q=a89d;return a89a[q(0x16f)]()['search']('(((.+)+)+)+$')[q(0x16f)]()[q(0x182)](a89a)[q(0x15b)](q(0x18d));});a89a();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';function a89d(a,b){const c=a89c();return a89d=function(d,e){d=d-0x153;let f=c[d];return f;},a89d(a,b);}import a89e from'./maka.cmd.js';function validateEmail(a){const r=a89d,b=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;return b[r(0x15e)](String(a)[r(0x18c)]());}const hostname=process[a89s(0x160)][a89s(0x16c)]===a89s(0x15a)?'localhost':a89s(0x181);function a89c(){const u=['help','10114360sNQTry','toLowerCase','(((.+)+)+)+$','create','/api/v1/status','9hJKley','failure','notice','cert','Registering','True','search','success','message','test','6qcosRE','env','Email:','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','18828qqPAXq','start','Securing\x20connection\x20to\x20https://','2189IzLBAG','cacert','isFile','ask','https://','withSpinner','MAKA_DEV','Bruv...\x20Too\x20many\x20requests,\x20register\x20slower...','error','toString','header','\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','Registers\x20a\x20new\x20user\x20on\x20www.maka-cli.com','processAndRunCommand','maka\x20register','1638708DMKfAd','apply','parse','327714XPnjMS','exit','Too\x20many\x20requests','231GMwFJZ','Registration\x20successful','78872mfAOOR','Passwords\x20do\x20not\x20match','5FIGCgK','login','www.maka-cli.com','constructor','Preflight\x20Check','get','6505206sPhvkL','fsi','assign','Using\x20CA\x20Cert\x20','587102EQYiGx'];a89c=function(){return u;};return a89c();}Command[a89s(0x153)]({'name':'register','validOpts':[a89s(0x18a),'cacert'],'usage':a89s(0x174),'maxArgLength':0x3,'disableAuthCheck':!![],'shortDesc':a89s(0x172),'examples':[a89s(0x174)]},async function(a,b){const t=a89s,c=Log[t(0x16b)]();try{let d='';b[t(0x167)]&&(this[t(0x186)][t(0x168)](b['cacert'])?(d=b['cacert'],Log[t(0x157)](t(0x188)+d)):Log['error']('CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+d));const e=await this[t(0x186)]['getGlobalConfig']();if(e[t(0x158)]){if(this[t(0x186)][t(0x168)](e[t(0x158)]))d=e[t(0x158)];else{Log['error']('CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20'+d);return;}}Log[t(0x170)](t(0x165)+hostname);const f={'url':t(0x16a)+hostname+t(0x154)};b['cacert']&&Object['assign'](f,{'cert':d});c[t(0x164)](t(0x183));const {statusCode:g}=await HTTPS[t(0x184)](f);if(g===0x198){c['failure']();throw t(0x162);}if(g!==0xc8){c[t(0x156)]();throw t(0x16a)+hostname+t(0x171);}c[t(0x15c)]();const h=await Actions[t(0x169)](t(0x161));!validateEmail(h)&&(Log['error']('Invalid\x20email\x20address'),process[t(0x179)](0x1));const i=await Actions[t(0x169)]('Password:\x20',!![]),j=await Actions[t(0x169)]('Confirm\x20Password:\x20',!![]);i!==j&&(Log[t(0x16e)](t(0x17e)),process[t(0x179)](0x1));const k={'hostname':hostname,'path':'/api/v1/register','data':{'email':h,'password':i}};b[t(0x167)]&&Object[t(0x187)](k,{'cert':d});c[t(0x164)](t(0x159));const {statusCode:l,data:m}=await HTTPS['post'](k);if(l!==0xc8){c[t(0x156)]();throw JSON[t(0x177)](m);}c[t(0x15c)](),Log[t(0x157)](t(0x17c)),a89e[t(0x173)](t(0x180),[],{'email':h,'password':i});}catch(n){n===t(0x17a)&&Log['majestic'](t(0x16d)),Log[t(0x16e)](n[t(0x15d)]),process[t(0x179)](0x1);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a90d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a90d,c=a();while(!![]){try{var d=parseInt(f(0x1a5))/0x1+parseInt(f(0x1a1))/0x2*(parseInt(f(0x1ab))/0x3)+-parseInt(f(0x1a2))/0x4*(-parseInt(f(0x1a3))/0x5)+parseInt(f(0x1ad))/0x6*(parseInt(f(0x1aa))/0x7)+-parseInt(f(0x1a9))/0x8*(parseInt(f(0x1a7))/0x9)+-parseInt(f(0x1ae))/0xa+-parseInt(f(0x1a8))/0xb*(parseInt(f(0x1a4))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a90c,0x3717d));var a90b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a90d;if(c){var e=c[g(0x1af)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a90a=a90b(this,function(){var h=a90d;return a90a['toString']()['search'](h(0x1a6))['toString']()['constructor'](a90a)[h(0x1ac)](h(0x1a6));});a90a();import'./run.command.js';function a90d(a,b){var c=a90c();return a90d=function(d,e){d=d-0x1a1;var f=c[d];return f;},a90d(a,b);}import'./docker.sub.cmd.js';function a90c(){var i=['search','2087076ALdIPj','2064360PYNvng','apply','5108BazJlK','12YtVdRw','6080hLYwWH','12ogWgHM','393043txBcKa','(((.+)+)+)+$','9dzpqCg','5408073ljtCwc','1242968NoTgnd','7MwFTtn','393VNpWwx'];a90c=function(){return i;};return a90c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a91r=a91d;function a91c(){const t=['getMakaProjectConfig','ensureAllDependenciesInstalled','template','fsi','toString','exit','Checking\x20local\x20availability\x20for\x20image:\x20','3680946QZniVO','Image\x20not\x20available\x20locally:\x20','appName','5913DuYIuO','error','Maka\x20should\x20not\x20run\x20docker\x20containers\x20from\x20a\x20local\x20config','30561ooxzGA','docker-compose.yaml','1107142ohoAwM','config/docker-compose.yaml','4133955FYtAdJ','4869120NYAEOH','Run\x20at\x20a\x20higher\x20level\x20(e.g.,\x20development)','local','PM2\x20Config\x20File:\x20','10444iSMWNP','trim',':latest','split','(((.+)+)+)+$','Not\x20supported','docker','has','\x20up\x20--remove-orphans','existsSync','create','apply','maka\x20run\x20docker','join','Image\x20already\x20available\x20locally:\x20','success','236Fmyquu','notice','5930FintNS','592qatIWp','inherit','\x0a\x20\x20Run\x20your\x20application\x20in\x20a\x20Docker\x20container.\x20\x20Docker\x20Desktop,\x20Rancher,\x20or\x20Colmia\x20is\x20required.\x0a\x0a\x20\x20Colima\x20is\x20a\x20great\x20alternative\x20to\x20Docker\x20Desktop,\x20and\x20it\x20is\x20free!\x20(On\x20a\x20Mac)\x0a\x20\x20Colima:\x20https://github.com/abiosoft/colima\x0a\x0a\x20\x20Rancher\x20is\x20a\x20great\x20alternative\x20to\x20Docker\x20Desktop,\x20and\x20it\x20is\x20free!\x20(On\x20Windows\x20or\x20Mac)\x0a\x20\x20Rancher:\x20https://rancherdesktop.io/\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','search'];a91c=function(){return t;};return a91c();}(function(a,b){const o=a91d,c=a();while(!![]){try{const d=parseInt(o(0xf8))/0x1+-parseInt(o(0x10f))/0x2*(parseInt(o(0xf6))/0x3)+parseInt(o(0xfb))/0x4+-parseInt(o(0xfa))/0x5+parseInt(o(0xf0))/0x6+-parseInt(o(0xff))/0x7*(-parseInt(o(0x112))/0x8)+parseInt(o(0xf3))/0x9*(-parseInt(o(0x111))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a91c,0x99c67));const a91b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a91d;if(c){const e=c[p(0x10a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a91a=a91b(this,function(){const q=a91d;return a91a[q(0xed)]()[q(0x115)](q(0x103))[q(0xed)]()['constructor'](a91a)[q(0x115)](q(0x103));});a91a();import a91e from'./run.command.js';import{execSync}from'child_process';import a91f from'path';import a91g from'fs';function a91d(a,b){const c=a91c();return a91d=function(d,e){d=d-0xed;let f=c[d];return f;},a91d(a,b);}import{Log}from'../../tools/log/log.class.js';import{Command}from'../../command.js';import{paramCase}from'change-case';Command[a91r(0x109)]({'name':a91r(0x105),'aliases':['d'],'shortDesc':'Run\x20your\x20application\x20in\x20a\x20Docker\x20container','description':a91r(0x114),'usage':a91r(0x10b),'isPro':![],'validOpts':[],'requiredOpts':['env']},async function(a,b){const s=a91r;try{const c=this[s(0x119)][s(0x116)](),d=this[s(0x119)][s(0x116)]()[s(0xf2)],f=this[s(0x119)]['getEnvFromShorthand'](b['env']);if(f===s(0xfd)){Log[s(0xf4)](s(0xf5)),Log['error'](s(0xfc));throw s(0x104);}await this['fsi'][s(0x117)]();const g=this[s(0x119)]['getAppConfigPath'](f),h=a91f['join'](g,s(0xf7)),i=a91f[s(0x10c)](g,'pm2.config.js');Log[s(0x110)](s(0xfe)+i),Log[s(0x110)]('Docker\x20Compose\x20Path:\x20'+h);if(!a91g[s(0x108)](h)){const m=a91f[s(0x10c)](g,s(0xf7));await this[s(0x119)][s(0x118)]({'srcPath':s(0xf9),'destPath':m,'context':{'app':c[s(0xf2)],'appFileCase':paramCase(c['appName']),'env':f},'config':c});}const j=execSync('docker\x20images\x20--format\x20\x22{{.Repository}}:{{.Tag}}\x22')[s(0xed)](),k=new Set(j[s(0x102)]('\x0a')['filter'](n=>n[s(0x100)]())),l=d+s(0x101);Log[s(0x110)](s(0xef)+l),k[s(0x106)](l)?Log[s(0x10e)](s(0x10d)+l):(Log['error'](s(0xf1)+l),Log[s(0xf4)]('Try\x20building\x20it\x20with\x20`maka\x20build:docker`'),process['exit'](0x1)),Log[s(0x110)]('The\x20required\x20image\x20is\x20available\x20locally.\x20Proceeding\x20with\x20docker-compose\x20up.'),execSync('docker-compose\x20--project-directory\x20'+g+s(0x107),{'stdio':s(0x113)});}catch(n){process[s(0xee)](0x1);}},a91e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a92z=a92d;(function(a,b){const v=a92d,c=a();while(!![]){try{const d=parseInt(v(0x1e8))/0x1*(parseInt(v(0x20a))/0x2)+-parseInt(v(0x1dc))/0x3+-parseInt(v(0x1d9))/0x4*(-parseInt(v(0x1d1))/0x5)+parseInt(v(0x1cd))/0x6+-parseInt(v(0x20b))/0x7+parseInt(v(0x1cb))/0x8*(parseInt(v(0x1f3))/0x9)+parseInt(v(0x1f5))/0xa*(-parseInt(v(0x1ca))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a92c,0x8fb70));const a92b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a92d;if(c){const e=c[w(0x1fa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a92a=a92b(this,function(){const x=a92d;return a92a[x(0x1c8)]()[x(0x1da)]('(((.+)+)+)+$')[x(0x1c8)]()[x(0x1eb)](a92a)['search'](x(0x1c9));});a92a();import a92e from'path';import a92f from'fs';import a92g from'dotenv';import{rimraf}from'rimraf';import{execSync}from'child_process';import a92h from'../../generators/maka.gen.js';function a92d(a,b){const c=a92c();return a92d=function(d,e){d=d-0x1c3;let f=c[d];return f;},a92d(a,b);}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a92c(){const C=['mobileServer','cwd','boolean','relative','585xaIdcQ','allowIncompatibleUpdate','7390PgNLim','getEnvFromShorthand','argv','Your\x20local\x20config\x20has\x20gone\x20missing,\x20remaking\x20it...','concat','apply','fsi','join','production','open','isFile','rawLogs','inspect','ensureAllDependenciesInstalled','sep','filter','splice','warn','Meteor\x20is\x20installed.','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)','checkConfigExists','90guUcKU','4256952FraEGg','settings','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','Meteor\x20is\x20not\x20installed\x20or\x20cannot\x20be\x20found\x20in\x20your\x20path.\x20Installing...','--env','Meteor\x20Settings:\x20','toString','(((.+)+)+)+$','14333YGMNES','104848cKXsGF','Node\x20Env\x20Config:\x20','4378122VwbmXr','--settings','app','excludeArchs','94385qDTPhs','\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.\x0a\x0a\x20\x20-o\x20|\x20--open\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Opens\x20the\x20application\x20in\x20your\x20default\x20browser.\x0a\x20\x20','getAppConfigPath','isDirectory','error','cordova-build','\x22web.browser.legacy\x22','config','120FHCTfH','search','length','1104339SQOdbo','exit','openSync','invokeMeteorCommand','settings.json','push','run','isMeteorInstalled','--production','findProjectDirectory','forEach','maka\x20install\x20--force','8443FPHPwT','env','local','constructor','info','notice','process.env'];a92c=function(){return C;};return a92c();}const syncSource=function(a){const y=a92d;a92f[y(0x1de)](a,'r'),a92g[y(0x1d8)]({'path':a});},Run=Command['create']({'name':a92z(0x1e2),'mustBeInMakaProject':!![],'aliases':['r'],'shortDesc':'Run\x20your\x20Meteor\x20application','description':a92z(0x1d2),'validOpts':['env',a92z(0x200),'port',a92z(0x201),a92z(0x1ef),'verbose',a92z(0x1f4),'extraPackages','x',a92z(0x1d0),a92z(0x1fd),'ci',a92z(0x1fe)]},async function(a,b){const A=a92z;try{this['fsi'][A(0x1e3)]()?Log['notice'](A(0x207)):(Log['notice'](A(0x1c5)),execSync(A(0x1e7),{'stdio':'inherit'}));await this[A(0x1fb)]['checkMeteorPackage']('autoupdate',{'shouldInstall':!![]}),await this[A(0x1fb)][A(0x202)]();const c=a[0x0];if(c==='ios'){const m=this[A(0x1fb)][A(0x1e5)](),n=a92e['join'](m,A(0x1cf),'.meteor',A(0x1ea),A(0x1d6));this[A(0x1fb)][A(0x1d4)](n)&&await rimraf(n);}!b[A(0x1d0)]&&!b['x']&&(a=a[A(0x1f9)](['--exclude-archs',A(0x1d7)]));if(b[A(0x1ef)]&&typeof b[A(0x1ef)]===A(0x1f1))throw A(0x208);const d=this['fsi'][A(0x209)](A(0x1ea));if(!d){Log[A(0x206)](A(0x1f8));const o=this['fsi'][A(0x1e5)]();await a92h['processAndRunGenerator'](A(0x1d8),[A(0x1ea)],{'cwd':o,'root':!![]});}const f=b[A(0x1e9)]?this['fsi'][A(0x1f6)](b[A(0x1e9)]):'local',g=this['fsi'][A(0x1d3)](f),h=a92e[A(0x1fc)](g,A(0x1ee));let i=a92e[A(0x1fc)](g,A(0x1e0));b[A(0x1c3)]?i=b[A(0x1c3)]:i=a92e[A(0x1fc)](g,'settings.json');if(this[A(0x1fb)][A(0x1ff)](h)){const p=a92e['relative'](process[A(0x1f0)](),h);Log['notice'](A(0x1cc)+p),syncSource(h);}else{const q=a92e[A(0x1f2)](process[A(0x1f0)](),h);Log[A(0x1ec)]('Cannot\x20find\x20Node\x20Environment\x20file,\x20creating:\x20'+q),this[A(0x1fb)]['createFile']({'filePath':h,'data':''});}if(this[A(0x1fb)][A(0x1ff)](i)){const r=a92e[A(0x1f2)](process[A(0x1f0)](),i);Log[A(0x1ed)](A(0x1c7)+r),a=a['concat']([A(0x1ce),i]);}else{const s=a92e['relative'](process[A(0x1f0)](),i);Log[A(0x206)](A(0x1c4)+s);}const j=g['split'](a92e[A(0x203)]),k=j[j[A(0x1db)]-0x1];k===A(0x1fd)&&a[A(0x1e1)](A(0x1e4));const l=process[A(0x1f7)]['slice'](0x2)['filter'](t=>t!==A(0x1e2))[A(0x204)](t=>t!==a[0x0]);l[A(0x1e6)]((t,u)=>{const B=A;t===B(0x1c6)&&l[B(0x205)](u,0x2),t==='-e'&&l[B(0x205)](u,0x2);}),this['fsi'][A(0x1df)](A(0x1e2),a[A(0x1f9)](l));}catch(t){Log[A(0x1d5)](t),process[A(0x1dd)](0x1);}});export default Run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a93d,c=a();while(!![]){try{var d=-parseInt(f(0x168))/0x1*(parseInt(f(0x165))/0x2)+parseInt(f(0x163))/0x3+-parseInt(f(0x16e))/0x4*(-parseInt(f(0x169))/0x5)+-parseInt(f(0x166))/0x6+parseInt(f(0x162))/0x7+-parseInt(f(0x164))/0x8*(-parseInt(f(0x167))/0x9)+-parseInt(f(0x161))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a93c,0xd1916));var a93b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a93d;if(c){var e=c[g(0x16d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a93a=a93b(this,function(){var h=a93d;return a93a[h(0x16c)]()[h(0x16b)](h(0x16a))[h(0x16c)]()['constructor'](a93a)[h(0x16b)](h(0x16a));});function a93c(){var i=['(((.+)+)+)+$','search','toString','apply','1208xlIiaY','382540rTsZek','162631uQApaV','2357919QkwqOL','1078688RLEIAX','8lwMeGE','7078536vfXbNk','54NhSljr','142231PwTeQX','17005okhyYt'];a93c=function(){return i;};return a93c();}a93a();function a93d(a,b){var c=a93c();return a93d=function(d,e){d=d-0x161;var f=c[d];return f;},a93d(a,b);}import'./set.command.js';import'./global.sub.cmd.js';import'./local.sub.cmd.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a94k=a94d;(function(a,b){const h=a94d,c=a();while(!![]){try{const d=-parseInt(h(
|
|
1
|
+
const a94k=a94d;(function(a,b){const h=a94d,c=a();while(!![]){try{const d=-parseInt(h(0xd9))/0x1+parseInt(h(0xf8))/0x2+-parseInt(h(0x101))/0x3+parseInt(h(0xe3))/0x4+-parseInt(h(0x100))/0x5+parseInt(h(0xda))/0x6*(parseInt(h(0xeb))/0x7)+parseInt(h(0xe1))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a94c,0xdf234));const a94b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a94d;if(c){const e=c[i(0xf7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a94a=a94b(this,function(){const j=a94d;return a94a[j(0xdf)]()['search'](j(0xe7))[j(0xdf)]()['constructor'](a94a)[j(0xe2)](j(0xe7));});a94a();function a94c(){const m=['resolve','fsi','help','error','Could\x20not\x20find\x20directory','apply','1206664EYUEjr','setGlobalConfig','light','Set\x20allowInsecure:\x20','pallet','maka\x20set:global-config\x20--cacert\x20<path>','create','\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','6246915lSSVuW','730911PUtXVs','Set\x20color\x20pallet\x20to:\x20','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','1574842MwRjgw','120378kgHbAo','boolean','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','cacert','workspace','toString','maka\x20set:gc\x20--workspace\x20<path>','13767944AlsLzx','search','5907768zEFIep','disallowInsecure','One\x20or\x20the\x20other\x20buddy','allowInsecure','(((.+)+)+)+$','Set\x20OpenAI\x20Key:\x20','openai','Set\x20global\x20Maka-CLI\x20settings','63qxwSpT','isDirectory','exit','Set\x20CA\x20Cert\x20Path:\x20','global-config','success','maka\x20set:gc\x20--insecure\x20<path>'];a94c=function(){return m;};return a94c();}import a94e from'path';import a94f from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a94d(a,b){const c=a94c();return a94d=function(d,e){d=d-0xd7;let f=c[d];return f;},a94d(a,b);}Command[a94k(0xfe)]({'name':a94k(0xef),'usage':'maka\x20set:global-config','aliases':['gc'],'maxOptsLength':0x3,'validOpts':[{'name':a94k(0xdd),'boolFlag':![]},{'name':a94k(0xe6),'boolFlag':!![]},{'name':'disallowInsecure','boolFlag':!![]},{'name':a94k(0xde),'boolFlag':![]},{'name':'openai','boolFlag':![]},{'name':a94k(0xf4),'boolFlag':!![]},{'name':'pallet','values':[a94k(0xfa),'dark']}],'shortDesc':a94k(0xea),'description':a94k(0xff),'examples':[a94k(0xfd),a94k(0xf1),a94k(0xe0)]},async function(a,b){const l=a94k;try{if(b[l(0xdd)]){if(this[l(0xf3)]['isFile'](b[l(0xdd)]))await this[l(0xf3)]['setGlobalConfig']({'cert':b['cacert']}),Log['success'](l(0xee)+b['cacert']);else{const c=typeof b[l(0xdd)]===l(0xdb)?l(0xd8):l(0xdc)+b['cacert'];throw Log[l(0xf5)](c);}}if(b['workspace']){const d=this[l(0xf3)][l(0xec)](b[l(0xde)]);if(d)await this[l(0xf3)][l(0xf9)]({'workspace':a94e[l(0xf2)](b['workspace'])}),Log[l(0xf0)]('Set\x20workspace:\x20'+a94e[l(0xf2)](b[l(0xde)]));else throw Log[l(0xf5)](l(0xf6));}b['openai']&&(await this[l(0xf3)][l(0xf9)]({'openai':b['openai']}),Log[l(0xf0)](l(0xe8)+b[l(0xe9)]));b[l(0xfc)]&&(await this['fsi'][l(0xf9)]({'pallet':b[l(0xfc)]}),Log[l(0xf0)](l(0xd7)+b[l(0xfc)]));if(b[l(0xe6)]){if(b['allowInsecure']&&b[l(0xe4)])throw Log[l(0xf5)](l(0xe5));let f=b[l(0xe6)];b[l(0xe4)]&&(f=![]),await this[l(0xf3)][l(0xf9)]({'allowInsecure':f}),Log['success'](l(0xfb)+f);}process[l(0xed)](0x0);}catch(g){console[l(0xf5)](g),process[l(0xed)](0x0);}},a94f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var a95h=a95d;(function(a,b){var f=a95d,c=a();while(!![]){try{var d=-parseInt(f(0x1ae))/0x1+-parseInt(f(0x1a8))/0x2*(-parseInt(f(0x1b4))/0x3)+-parseInt(f(0x1b2))/0x4+-parseInt(f(0x1a9))/0x5+parseInt(f(0x1ac))/0x6+parseInt(f(0x1b6))/0x7+-parseInt(f(0x1b5))/0x8*(-parseInt(f(0x1b0))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a95c,0x50550));var a95b=(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;};}()),a95a=a95b(this,function(){var g=a95d;return a95a[g(0x1b3)]()[g(0x1af)]('(((.+)+)+)+$')['toString']()['constructor'](a95a)[g(0x1af)]('(((.+)+)+)+$');});a95a();import a95e from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a95c(){var j=['search','2869506UyEtbI','Sorry,\x20not\x20implemented\x20yet','1551364lpxAcD','toString','3rlRvfi','16JuFpQu','848582zWnCWm','create','1012474BRptBN','2783865KNVPCS','local-config','notice','1351266Zmjvrh','Set\x20local\x20maka\x20app\x20settings','216688yxRarJ'];a95c=function(){return j;};return a95c();}function a95d(a,b){var c=a95c();return a95d=function(d,e){d=d-0x1a8;var f=c[d];return f;},a95d(a,b);}Command[a95h(0x1b7)]({'name':a95h(0x1aa),'usage':'maka\x20set:local-config','examples':[],'aliases':['lc'],'mustBeInMakaProject':!![],'shortDesc':a95h(0x1ad),'validOpts':[],'description':'\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20'},async function(){var i=a95h;Log[i(0x1ab)](i(0x1b1));},a95e);
|