@maka/maka-cli 4.5.5 → 4.5.7
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/README.md +4 -0
- package/bundle/obf/src/command.js +1 -1
- package/bundle/obf/src/commands/_index.js +1 -1
- package/bundle/obf/src/commands/aws/_index.js +1 -1
- package/bundle/obf/src/commands/aws/aws.command.js +1 -1
- package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/build/_index.js +1 -1
- package/bundle/obf/src/commands/build/build.js +1 -1
- package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/create.js +1 -1
- package/bundle/obf/src/commands/debug.js +1 -1
- package/bundle/obf/src/commands/deploy.js +1 -1
- package/bundle/obf/src/commands/game/_index.js +1 -1
- package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/play.command.js +1 -1
- package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/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/proxy.js +1 -1
- package/bundle/obf/src/commands/reconfig.js +1 -1
- package/bundle/obf/src/commands/run/_index.js +1 -1
- package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/run/run.command.js +1 -1
- package/bundle/obf/src/commands/set/_index.js +1 -1
- package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/set.command.js +1 -1
- package/bundle/obf/src/commands/ssh.js +1 -1
- package/bundle/obf/src/commands/ssl.js +1 -1
- package/bundle/obf/src/commands/test.js +1 -1
- package/bundle/obf/src/commands/version.js +1 -1
- package/bundle/obf/src/error.js +1 -1
- package/bundle/obf/src/generator.js +1 -1
- package/bundle/obf/src/generators/_index.js +1 -1
- package/bundle/obf/src/generators/api.js +1 -1
- package/bundle/obf/src/generators/collection.js +1 -1
- package/bundle/obf/src/generators/component.js +1 -1
- package/bundle/obf/src/generators/config.js +1 -1
- package/bundle/obf/src/generators/dbc.js +1 -1
- package/bundle/obf/src/generators/dockerfile.js +1 -1
- package/bundle/obf/src/generators/hook.js +1 -1
- package/bundle/obf/src/generators/kit.js +1 -1
- package/bundle/obf/src/generators/layout.js +1 -1
- package/bundle/obf/src/generators/maka.gen.js +1 -1
- package/bundle/obf/src/generators/methods.js +1 -1
- package/bundle/obf/src/generators/package.js +1 -1
- package/bundle/obf/src/generators/page.js +1 -1
- package/bundle/obf/src/generators/publish.js +1 -1
- package/bundle/obf/src/generators/route.js +1 -1
- package/bundle/obf/src/generators/service.js +1 -1
- package/bundle/obf/src/generators/services/_index.js +1 -1
- package/bundle/obf/src/generators/services/openssl.js +1 -1
- package/bundle/obf/src/generators/services/translation.js +1 -1
- package/bundle/obf/src/maka.js +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/actions/actions.test.js +1 -1
- package/bundle/obf/src/tools/aws/aws.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
- package/bundle/obf/src/tools/docker/docker.class.js +1 -1
- package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
- package/bundle/obf/src/tools/https/https.class.js +1 -1
- package/bundle/obf/src/tools/https/https.interface.js +1 -1
- package/bundle/obf/src/tools/log/log.class.js +1 -1
- package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
- package/jest.config.js +11 -0
- package/package.json +5 -4
- package/tsconfig.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a90l=a90d;(function(a,b){const i=a90d,c=a();while(!![]){try{const d
|
|
1
|
+
const a90l=a90d;(function(a,b){const i=a90d,c=a();while(!![]){try{const d=parseInt(i(0x1d4))/0x1*(-parseInt(i(0x1e3))/0x2)+parseInt(i(0x1c7))/0x3+parseInt(i(0x1c1))/0x4+-parseInt(i(0x1e9))/0x5+parseInt(i(0x1d7))/0x6+-parseInt(i(0x1dc))/0x7+-parseInt(i(0x1d2))/0x8*(parseInt(i(0x1c0))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a90c,0xe6c03));const a90b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a90d;if(c){const e=c[j(0x1d9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a90a=a90b(this,function(){const k=a90d;return a90a[k(0x1c3)]()[k(0x1e2)](k(0x1cb))['toString']()[k(0x1c2)](a90a)[k(0x1e2)](k(0x1cb));});function a90c(){const C=['(((.+)+)+)+$','error','greenBright','bold','join','success','cyanBright','62504NQXmhN','stdout','94xpNKrR','length','For\x20more\x20information,\x20visit\x20https://www.maka-cli.com','5419440QsrYvK','notice','apply','show','log','8079162EnMbTt','bright','withSpinner','platform','majestic','hide','search','2670GOSZmn','red','magentaBright','cyan','win32','[--','4865775WqQJLH','blackBright','45aTBoDp','5136096wqAWiv','constructor','toString','forEach','\x0aManual:','\x20>\x20','3149301LOLOIN','header','usage','yellowBright'];a90c=function(){return C;};return a90c();}a90a();import*as a90e from'single-line-log2';import a90f from'cli-color';function a90d(a,b){const c=a90c();return a90d=function(d,e){d=d-0x1bf;let f=c[d];return f;},a90d(a,b);}import a90g from'cli-cursor';import a90h from'elegant-spinner';const isWin=process[a90l(0x1df)]===a90l(0x1e7),check=isWin?'K':'✔',cross=isWin?'X\x20':'✘',formatOptionalOpts=a=>{return a['map'](b=>{const m=a90d;return m(0x1e8)+b+']';})['join']('\x20');},formatRequiredOpts=a=>{const n=a90l;return a['map'](b=>{return'--'+b;})[n(0x1cf)]('\x20');};export class Log{static[a90l(0x1d0)](a){const o=a90l;console[o(0x1db)](a90f[o(0x1cd)](a));}static['warn'](a){const p=a90l;console[p(0x1db)](a90f[p(0x1ca)](a));}static[a90l(0x1d8)](a){const q=a90l;console[q(0x1db)](a90f[q(0x1d1)](a));}static[a90l(0x1cc)](a){const r=a90l;console[r(0x1db)](a90f[r(0x1e4)][r(0x1ce)](a));}static[a90l(0x1c8)](a){const s=a90l;console['log'](a90f[s(0x1bf)](a));}static['bright'](a){const t=a90l;console[t(0x1db)](a90f['whiteBright'](a));}static[a90l(0x1e0)](a){const u=a90l;console[u(0x1db)](a90f[u(0x1e5)](a));}static[a90l(0x1c9)](a,b,c,d,e,f){const v=a90l,g=a90f['blackBright'];Log[v(0x1dd)](d),b&&b[v(0x1d5)]>0x0&&(Log[v(0x1dd)](g('Examples:')),b[v(0x1c4)](h=>{const w=v;Log[w(0x1dd)](w(0x1c6)+h);})),a&&(Log[v(0x1c8)](v(0x1c5)),Log[v(0x1d8)]('\x20\x20'+a['trim']()+'\x0a')),c&&Log[v(0x1dd)](g('Usage:\x20')+c+'\x20'+formatRequiredOpts(e)+'\x20'+formatOptionalOpts(f)+'\x0a'),Log[v(0x1c8)](v(0x1d6));}static[a90l(0x1de)](a=''){const x=a90l;a90g[x(0x1e1)]();const b=a90h();a90g['hide']();let c;return{'start'(d){d&&(a=d),c=setInterval(function(){const y=a90d;a90e[y(0x1d3)](a90f[y(0x1e6)](b())+'\x20'+d);},0x5a);},'success'(d=''){const z=x;clearInterval(c),a90e['stdout'](a90f[z(0x1cd)](check)+'\x20'+a+'\x20'+d),console[z(0x1db)](),a90g[z(0x1da)]();},'failure'(d=''){const A=x;clearInterval(c),a90e[A(0x1d3)](a90f[A(0x1e4)][A(0x1ce)](cross)+'\x20'+a+'\x20'+d),console[A(0x1db)](),a90g[A(0x1da)]();},'stop'(){const B=x;clearInterval(c),a90g[B(0x1da)]();}};}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a91d,c=a();while(!![]){try{var d=parseInt(f(0x1ca))/0x1+parseInt(f(0x1d0))/0x2+-parseInt(f(0x1c3))/0x3*(-parseInt(f(0x1c5))/0x4)+parseInt(f(0x1c6))/0x5*(-parseInt(f(0x1c9))/0x6)+-parseInt(f(0x1c8))/0x7*(parseInt(f(0x1c7))/0x8)+parseInt(f(0x1cd))/0x9+-parseInt(f(0x1cf))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a91c,0xca153));var a91b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a91d;if(c){var e=c[g(0x1c4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a91a=a91b(this,function(){var h=a91d;return a91a['toString']()[h(0x1cc)](h(0x1ce))['toString']()[h(0x1cb)](a91a)[h(0x1cc)](h(0x1ce));});a91a();function a91d(a,b){var c=a91c();return a91d=function(d,e){d=d-0x1c3;var f=c[d];return f;},a91d(a,b);}export{};function a91c(){var i=['1878454ZBlbAx','27nAZetc','apply','329008PNJOzH','20AaNROG','47480bzmYiX','7fRNtTn','1136634qJQCOu','238394hxRjhP','constructor','search','8043687aZaQdT','(((.+)+)+)+$','12202100RBJrvU'];a91c=function(){return i;};return a91c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a93m=a93d;(function(a,b){const j=a93d,c=a();while(!![]){try{const d=parseInt(j(0x1b7))/0x1+parseInt(j(0x1b8))/0x2*(-parseInt(j(0x1be))/0x3)+-parseInt(j(0x1c2))/0x4*(-parseInt(j(0x1af))/0x5)+parseInt(j(0x1c5))/0x6+parseInt(j(0x1bf))/0x7+-parseInt(j(0x1b2))/0x8+parseInt(j(0x1b9))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a93c,0x1d0c3));const a93b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a93d;if(c){const e=c[k(0x1c3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a93a=a93b(this,function(){const l=a93d;return a93a[l(0x1c0)]()[l(0x1c7)](l(0x1bc))[l(0x1c0)]()[l(0x1b4)](a93a)[l(0x1c7)]('(((.+)+)+)+$');});function a93c(){const t=['search','451665qaBvll','ignore','message','1476776rfCwyP','error','constructor','kill','log','31682meOkgR','28BqsCwW','2390031KIutug','verbose','data','(((.+)+)+)+$','success','32904fiOJYA','142275flgbgL','toString','pid','4OxHaWD','apply','withSpinner','295374GGuupE','cwd'];a93c=function(){return t;};return a93c();}a93a();import{spawn}from'child_process';function a93d(a,b){const c=a93c();return a93d=function(d,e){d=d-0x1af;let f=c[d];return f;},a93d(a,b);}import{Log}from'../log/log.class.js';export class SpawnAsync{static[a93m(0x1c4)](a,b,c){return new Promise((d,e)=>{const n=a93d,f=Log[n(0x1c4)](),g=c?.[n(0x1c6)]||'.';c?.[n(0x1b1)]&&f['start'](c?.[n(0x1b1)]);const h=spawn(a,b,{'cwd':g,'stdio':c?.[n(0x1ba)]?'inherit':n(0x1b0)});process['on']('SIGINT',()=>{const o=n,i=h[o(0x1c1)];i&&process[o(0x1b5)](i);}),h['on'](n(0x1bb),i=>{const p=n;console[p(0x1b6)](i);}),h['on']('disconnect',()=>{const q=n;c?.[q(0x1b1)]&&f[q(0x1bd)](),d();}),h['on']('close',()=>{const r=n;c?.['message']&&f[r(0x1bd)](),d();}),h['on'](n(0x1b3),()=>{const s=n;c?.[s(0x1b1)]&&f['failure'](),e();});});}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a94d,c=a();while(!![]){try{var d
|
|
1
|
+
function a94c(){var h=['constructor','161903GJNAFd','3WmYbEJ','262930MHUzEI','48lakWyY','11434665DKtldS','1334421oeDquj','(((.+)+)+)+$','2219972aktKLd','71680ymlcry','48EJqvGL','22456jJLdij','3EyaLOa','search','toString'];a94c=function(){return h;};return a94c();}(function(a,b){var f=a94d,c=a();while(!![]){try{var d=parseInt(f(0x186))/0x1*(-parseInt(f(0x185))/0x2)+-parseInt(f(0x18b))/0x3*(parseInt(f(0x191))/0x4)+parseInt(f(0x18c))/0x5*(-parseInt(f(0x184))/0x6)+-parseInt(f(0x18a))/0x7*(-parseInt(f(0x18d))/0x8)+parseInt(f(0x18f))/0x9+parseInt(f(0x183))/0xa+parseInt(f(0x18e))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a94c,0x4f309));var a94b=(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;};}()),a94a=a94b(this,function(){var g=a94d;return a94a['toString']()['search'](g(0x190))[g(0x188)]()[g(0x189)](a94a)[g(0x187)](g(0x190));});a94a();function a94d(a,b){var c=a94c();return a94d=function(d,e){d=d-0x183;var f=c[d];return f;},a94d(a,b);}export{};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a96t=a96d;(function(a,b){const m=a96d,c=a();while(!![]){try{const d=-parseInt(m(0x191))/0x1+parseInt(m(0x195))/0x2+parseInt(m(0x1af))/0x3*(parseInt(m(0x192))/0x4)+parseInt(m(0x1a1))/0x5*(parseInt(m(0x1a6))/0x6)+-parseInt(m(0x1b3))/0x7+-parseInt(m(0x18f))/0x8+parseInt(m(0x19d))/0x9*(parseInt(m(0x1a0))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a96c,0x8b1a3));const a96b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a96d;if(c){const e=c[n(0x1a9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a96a=a96b(this,function(){const o=a96d;return a96a[o(0x197)]()[o(0x1ab)](o(0x1b4))[o(0x197)]()['constructor'](a96a)[o(0x1ab)](o(0x1b4));});a96a();import a96e from'path';function a96d(a,b){const c=a96c();return a96d=function(d,e){d=d-0x18d;let f=c[d];return f;},a96d(a,b);}import{execSync,spawnSync,spawn}from'child_process';import{Log}from'../log/log.class.js';function a96c(){const x=['163443RLBJxT','port','disconnect','sshVerbose','6309919rLCYAg','(((.+)+)+)+$','concat','withSpinner','2212112xHEmLV','2>&1','895154mwRWXp','44qWRdMg','ssh\x20','host','332834TbmAEZ','verbose','toString','sshSync','pem','ConnectTimeout=2','push','env','9KdWZxt','ping','join','7429530VbjPZg','5670935VdrJRV','tty','dest','ignore','inherit','6zIvWdW','message','user','apply','scp','search','success','close','ssh'];a96c=function(){return x;};return a96c();}class SSH{static ['ssh']=(a,b,c)=>{return new Promise((d,e)=>{const p=a96d,f=b[p(0x1a8)]+'@'+b[p(0x194)],g=a96e[p(0x19f)](b[p(0x19c)],b[p(0x199)]),h=c?.[p(0x1a2)]||![],i=c?.[p(0x1b2)]||![];let j=[];h&&j[p(0x19b)]('-t');i&&j[p(0x19b)]('-v');j=j[p(0x18d)](['-o','ConnectTimeout=2','-i',g,'-p',b[p(0x1b0)],f,a]);const k=Log[p(0x18e)]();c?.[p(0x1a7)]&&k['start'](c?.[p(0x1a7)]);const l=spawn(p(0x1ae),j,{'stdio':c?.[p(0x196)]?p(0x1a5):p(0x1a4)});l['on'](p(0x1b1),()=>{const q=p;c?.[q(0x1a7)]&&k[q(0x1ac)](),d();}),l['on'](p(0x1ad),()=>{const r=p;c?.[r(0x1a7)]&&k['success'](),d();}),l['on']('error',()=>{const s=p;c?.[s(0x1a7)]&&k['failure'](),e();});});};static [a96t(0x198)]=(a,b,c)=>{const u=a96t,d=b[u(0x1a8)]+'@'+b[u(0x194)],e=a96e[u(0x19f)](b[u(0x19c)],b['pem']),f=c?.['tty']||![],g=c?.[u(0x1b2)]||![];let h=[];f&&h['push']('-t'),g&&h['push']('-v'),h=h[u(0x18d)](['-o',u(0x19a),'-i',e,'-p',b['port'],d,a]),spawnSync(u(0x1ae),h,{'stdio':c?.[u(0x196)]?u(0x1a5):u(0x1a4)});};static[a96t(0x19e)](a,b,c){const v=a96t,d=b['user']+'@'+b[v(0x194)],e=a96e['join'](b[v(0x19c)],b['pem']),f=c?.['tty']||![];let g=[];f&&g[v(0x19b)]('-t');g=g[v(0x18d)](['-o',v(0x19a),'-i',e,'-p',b[v(0x1b0)],d,a,v(0x190)]);const h=v(0x193)+g[v(0x19f)]('\x20');return execSync(h)['toString']();}static[a96t(0x1aa)](a,b){const w=a96t,c=b[w(0x1a8)]+'@'+b['host']+':'+a[w(0x1a3)],d=a96e[w(0x19f)](b['env'],b[w(0x199)]),e=['-i',d,'-P',b['port'],a['source'],c];spawnSync('scp',e,{'stdio':a[w(0x196)]?w(0x1a5):w(0x1a4)});}}export{SSH};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a97d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a97d,c=a();while(!![]){try{var d=-parseInt(f(0x1d6))/0x1+-parseInt(f(0x1d7))/0x2+-parseInt(f(0x1d4))/0x3+parseInt(f(0x1cd))/0x4+-parseInt(f(0x1d5))/0x5*(parseInt(f(0x1d2))/0x6)+-parseInt(f(0x1d3))/0x7*(parseInt(f(0x1cb))/0x8)+parseInt(f(0x1ce))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a97c,0x4112e));var a97b=(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;};}()),a97a=a97b(this,function(){var g=a97d;return a97a[g(0x1cf)]()[g(0x1cc)]('(((.+)+)+)+$')[g(0x1cf)]()[g(0x1d1)](a97a)[g(0x1cc)](g(0x1d0));});function a97d(a,b){var c=a97c();return a97d=function(d,e){d=d-0x1cb;var f=c[d];return f;},a97d(a,b);}a97a();export{};function a97c(){var h=['15dbeynl','441460WlmgPN','732782vfLiFZ','8fdJOor','search','1522020TsUxwx','9826407azyXEq','toString','(((.+)+)+)+$','constructor','754674UHEhEd','53977zdVhOE','38661NwasHx'];a97c=function(){return h;};return a97c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a99d(a,b){const c=a99c();return a99d=function(d,e){d=d-0x1db;let f=c[d];return f;},a99d(a,b);}const a99i=a99d;(function(a,b){const f=a99d,c=a();while(!![]){try{const d=parseInt(f(0x1e1))/0x1+parseInt(f(0x1ef))/0x2+parseInt(f(0x1f8))/0x3*(-parseInt(f(0x1ec))/0x4)+-parseInt(f(0x1fc))/0x5*(-parseInt(f(0x1e5))/0x6)+-parseInt(f(0x1f5))/0x7*(parseInt(f(0x1db))/0x8)+-parseInt(f(0x1f0))/0x9*(parseInt(f(0x1ed))/0xa)+-parseInt(f(0x1f7))/0xb*(-parseInt(f(0x1e3))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a99c,0x6c5f9));const a99b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a99d;if(c){const e=c[g(0x1dd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a99a=a99b(this,function(){const h=a99d;return a99a[h(0x1de)]()['search'](h(0x1ee))['toString']()[h(0x1dc)](a99a)[h(0x1f6)](h(0x1ee));});a99a();function a99c(){const l=['6112aGjULk','-out','5292bhZqNF','-key','12xNzoXR','-new','useConfig','-nodes','inherit','csrName','openssl.conf','8HdxrHR','100XzFzri','(((.+)+)+)+$','1485628VjBsjF','697725EcYmSp','crtName','-config','cwd','keyName','14UamvUI','search','17897CnvcpC','225372rkDwNh','push','-x509','genCSR','840820hbGres','1733464xsTJpR','constructor','apply','toString','req','genSSC'];a99c=function(){return l;};return a99c();}import{spawnSync}from'child_process';export class SSL{static[a99i(0x1fb)](a){const j=a99i,b=a['cwd']?a[j(0x1f3)]:process[j(0x1f3)](),c=[j(0x1df),'-new','-newkey','rsa:2048',j(0x1e8),'-keyout',a[j(0x1f4)],j(0x1e2),a[j(0x1ea)]];a[j(0x1e7)]&&(c[j(0x1f9)](j(0x1f2)),c[j(0x1f9)](j(0x1eb))),spawnSync('openssl',c,{'stdio':'inherit','cwd':b});}static[a99i(0x1e0)](a){const k=a99i,b=a[k(0x1f3)]?a[k(0x1f3)]:process['cwd'](),c=['req',k(0x1fa),k(0x1e6),k(0x1e4),a[k(0x1f4)],'-out',a[k(0x1f1)]];a[k(0x1e7)]&&(c[k(0x1f9)](k(0x1f2)),c[k(0x1f9)](k(0x1eb))),spawnSync('openssl',c,{'stdio':k(0x1e9),'cwd':b});}}
|
package/jest.config.js
ADDED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maka/maka-cli",
|
|
3
3
|
"//": "NOTE: don't forget to update version.ts and fsi.class.ts",
|
|
4
|
-
"version": "4.5.
|
|
4
|
+
"version": "4.5.7",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"summary": "A command line tool for scaffolding Meteor 2.x applications using either React.",
|
|
7
7
|
"description": "A command line tool for scaffolding Meteor 2.x applications using React.",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"scripts": {
|
|
23
23
|
"lint": "eslint src/ --fix",
|
|
24
24
|
"maka": "./typescript/src/maka.js",
|
|
25
|
-
"test": "
|
|
25
|
+
"test": "jest",
|
|
26
26
|
"develop": "npm run build && concurrently \"tsc -w\" \"wait-on -d 10 ./bundle/typescript/src/maka.js && chmod +x ./bundle/typescript/src/maka.js\" \"cp -R ./src/templates ./bundle/typescript/src/templates/\"",
|
|
27
27
|
"build": "npm run lint && rm -rf ./bundle && rm -rf ./compiled && tsc && npm run obf && npm run prep",
|
|
28
28
|
"obf": "javascript-obfuscator ./bundle/typescript/src --exclude=bundle/typescript/src/templates/**/** --output ./bundle/obf/src/ --config=obfuscator.json",
|
|
@@ -71,10 +71,10 @@
|
|
|
71
71
|
"@types/fibers": "^3.1.1",
|
|
72
72
|
"@types/humps": "^2.0.2",
|
|
73
73
|
"@types/inquirer": "^9.0.3",
|
|
74
|
+
"@types/jest": "^29.5.3",
|
|
74
75
|
"@types/jsonwebtoken": "^9.0.2",
|
|
75
76
|
"@types/meteor": "^2.9.2",
|
|
76
77
|
"@types/minimist": "^1.2.2",
|
|
77
|
-
"@types/mocha": "^10.0.1",
|
|
78
78
|
"@types/node": "^20.1.1",
|
|
79
79
|
"@types/react": "^18.2.6",
|
|
80
80
|
"@types/react-dom": "^18.2.4",
|
|
@@ -90,9 +90,10 @@
|
|
|
90
90
|
"eslint-plugin-import": "^2.27.5",
|
|
91
91
|
"husky": "^8.0.3",
|
|
92
92
|
"javascript-obfuscator": "^4.0.2",
|
|
93
|
+
"jest": "^29.6.2",
|
|
93
94
|
"mkdirp": "^3.0.1",
|
|
94
|
-
"mocha": "^10.2.0",
|
|
95
95
|
"pkg": "^5.8.1",
|
|
96
|
+
"ts-jest": "^29.1.1",
|
|
96
97
|
"typescript": "^5.0.4",
|
|
97
98
|
"wait-on": "^7.0.1"
|
|
98
99
|
},
|