@maka/maka-cli 4.5.13 → 4.5.15
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 +5 -1
- package/bundle/obf/src/command.js +1 -1
- package/bundle/obf/src/commands/_index.js +1 -1
- package/bundle/obf/src/commands/aws/_index.js +1 -1
- package/bundle/obf/src/commands/aws/aws.command.js +1 -1
- package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/build/_index.js +1 -1
- package/bundle/obf/src/commands/build/build.js +1 -1
- package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/create.js +1 -1
- package/bundle/obf/src/commands/debug.js +1 -1
- package/bundle/obf/src/commands/deploy.js +1 -1
- package/bundle/obf/src/commands/game/_index.js +1 -1
- package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/dunnet/commands.js +1 -0
- package/bundle/obf/src/commands/game/dunnet/game.js +1 -0
- package/bundle/obf/src/commands/game/dunnet/items.js +1 -0
- package/bundle/obf/src/commands/game/dunnet/puzzles.js +1 -0
- package/bundle/obf/src/commands/game/dunnet/rooms.js +1 -0
- package/bundle/obf/src/commands/game/dunnet/types.js +1 -0
- package/bundle/obf/src/commands/game/dunnet.sub.cmd.js +1 -0
- 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/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/templates/meteor/app/server/helmet-csp.js +2 -2
- package/bundle/obf/src/templates/meteor/app/server/helmet-csp.js.jsx +2 -2
- package/bundle/obf/src/templates/meteor/app/server/helmet-csp.js.ts +2 -2
- package/bundle/obf/src/templates/meteor/app/server/helmet-csp.js.tsx +2 -2
- package/bundle/obf/src/tool.js +1 -1
- package/bundle/obf/src/tools/actions/actions.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
- package/bundle/obf/src/tools/docker/docker.class.js +1 -1
- package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
- package/bundle/obf/src/tools/https/https.class.js +1 -1
- package/bundle/obf/src/tools/https/https.interface.js +1 -1
- package/bundle/obf/src/tools/log/log.class.js +1 -1
- package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
- package/package.json +5 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a74o=a74d;function a74c(){const s=['packages','167245oniIRV','graphql','tests/server','24DNthbG','noRename','20QpfflJ','pathFromApp','engines','2287222rSJkfD','tests/client','package.js','theme','1162416OPccDo','apply','.js','server','pathFromAppWithNoReWrite','toString','pathFromProject','lib','1zGJEqz','fsi','30ZsUzqE','client','relative','layout','template','package/','hasOwnProperty','103257pdGagL','(((.+)+)+)+$','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','dir','store','36Julmlv','1592379igTSHP','216Wpppeg','getProjectConfig','package','938FMiNfF','/package.js','search','385041nNvgRz','754202WLhBgb','withValue','ssr','resourceName','template/template.js','create'];a74c=function(){return s;};return a74c();}(function(a,b){const l=a74d,c=a();while(!![]){try{const d=parseInt(l(0x1ec))/0x1*(parseInt(l(0x1d1))/0x2)+parseInt(l(0x202))/0x3*(-parseInt(l(0x1fa))/0x4)+parseInt(l(0x1dd))/0x5*(parseInt(l(0x1e4))/0x6)+parseInt(l(0x1e0))/0x7*(-parseInt(l(0x1db))/0x8)+parseInt(l(0x1fb))/0x9*(parseInt(l(0x1ee))/0xa)+-parseInt(l(0x1f5))/0xb*(-parseInt(l(0x1fc))/0xc)+-parseInt(l(0x1d8))/0xd*(-parseInt(l(0x1ff))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a74c,0x8d35e));const a74b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a74d;if(c){const e=c[m(0x1e5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a74a=a74b(this,function(){const n=a74d;return a74a[n(0x1e9)]()['search']('(((.+)+)+)+$')['toString']()['constructor'](a74a)[n(0x201)](n(0x1f6));});a74a();function a74d(a,b){const c=a74c();return a74d=function(d,e){d=d-0x1d1;let f=c[d];return f;},a74d(a,b);}import a74e from'path';import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a74o(0x1d6)]({'name':a74o(0x1fe),'aliases':['p'],'usage':'maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','shortDesc':a74o(0x1f7),'validOpts':[a74o(0x1f8)],'examples':['maka\x20g:package\x20todos:package']},async function(a,b){const p=a74o,c=paramCase(b[p(0x1d4)]),d=this['fsi'][p(0x1de)]({'pathParts':[p(0x1d7),b[p(0x1f8)],c]}),e=this['fsi'][p(0x1e8)]({'pathParts':[p(0x1d7),b[p(0x1f8)],c,p(0x1e2)]}),f=this[p(0x1ed)][p(0x1fd)]();this[p(0x1ed)][p(0x1d2)](f,async()=>{const q=p,g={'name':paramCase(b[q(0x1d4)]),'myPath':a74e[q(0x1f0)](this[q(0x1ed)][q(0x1ea)]({}),d),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b[q(0x1d4)]),'camelCaseName':camelCase(b[q(0x1d4)]),'fileName':c,'client':f[q(0x1df)][q(0x1ef)],'graphql':f[q(0x1df)][q(0x1d9)],'ssr':f[q(0x1df)][q(0x1d3)],'isComponent':b['hasOwnProperty']('component'),'isLayout':b[q(0x1f4)](q(0x1f1)),'isStore':b[q(0x1f4)](q(0x1f9)),'features':f['features'],'noRename':!![],'theme':f[q(0x1df)][q(0x1e3)]};this['fsi'][q(0x1f2)]({'srcPath':'package/package.js','destPath':e,'context':g,'config':f}),g[q(0x1dc)]=![];const h=d+'/client/'+c+'.js';this[q(0x1ed)]['template']({'srcPath':q(0x1d5),'destPath':h,'context':g,'config':f});const i=[q(0x1eb),q(0x1e7),q(0x1e1),q(0x1da)];i['forEach'](j=>{const r=q,k=d+'/'+j+'/'+c+r(0x1e6);this[r(0x1ed)]['template']({'srcPath':r(0x1f3)+j+r(0x200),'destPath':k,'context':g,'config':f});});});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a75o=a75d;(function(a,b){const m=a75d,c=a();while(!![]){try{const d=-parseInt(m(0x201))/0x1+-parseInt(m(0x206))/0x2+-parseInt(m(0x1fd))/0x3*(parseInt(m(0x1db))/0x4)+parseInt(m(0x1d2))/0x5*(parseInt(m(0x1ec))/0x6)+parseInt(m(0x20d))/0x7*(-parseInt(m(0x20e))/0x8)+parseInt(m(0x1da))/0x9*(parseInt(m(0x20b))/0xa)+parseInt(m(0x1d6))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a75c,0xb60e0));function a75d(a,b){const c=a75c();return a75d=function(d,e){d=d-0x1d1;let f=c[d];return f;},a75d(a,b);}const a75b=(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;};}()),a75a=a75b(this,function(){const n=a75d;return a75a[n(0x1f1)]()[n(0x1f8)]('(((.+)+)+)+$')['toString']()['constructor'](a75a)[n(0x1f8)]('(((.+)+)+)+$');});a75a();import a75e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a75c(){const r=['import\x20\x27','552332cnrJqX','imports','react','injectAtEndOfFile','maka\x20g:page\x20todos/todos-item','30WtWyXi','template/template.html','3098018OeWhLK','16bvtpQo','installNpmPackage','page','true','injectAtBeginningOfFile','\x27;\x0a','withTranslations','client','.css','hook/hook.js','startup','withHook','\x20};\x0a','.js','api','template','311885grOUUi','ramda','none','root','31626628XPwWBH','assign','pathFromApp','component/component.js','2742354cipZjH','4OMRpBo','create','fileName','css','tsx','hasOwnProperty','component','dir','warn','html','getProjectConfig','theme','withValue','features','setTemplate','.html','className','6CPnjNG','test','templates.js','pathFromProject','rewriteDestinationPathForEngine','toString','Updating\x20npm\x20packages\x20...','\x20}\x20from\x20\x27','checkNpmPackage','graphql','import\x20{\x20','template/template.css','search','vanilla','import\x20\x27./','resourceName','withHooks','3801231XKCIKA','Generate\x20a\x20page.','string','fsi','677556pPUbcU','engines','.app-tests.js','ssr'];a75c=function(){return r;};return a75c();}import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['p'];Generator[a75o(0x1dc)]({'name':a75o(0x210),'aliases':aliases,'usage':'maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','shortDesc':a75o(0x1fe),'validOpts':[a75o(0x1e2),'withHook'],'examples':[a75o(0x20a)]},function(a,b){const p=a75o,c='/imports/ui/pages',d=this['fsi'][p(0x1d8)](b),e=this[p(0x200)][p(0x1d8)]({'pathParts':[c,b[p(0x1e2)],paramCase(b['resourceName']),paramCase(b[p(0x1fb)])]}),f=this[p(0x200)][p(0x1e5)]();this[p(0x200)][p(0x1e7)](f,()=>{const q=p;typeof f[q(0x1d1)][q(0x1e4)]===q(0x1ff)&&(f['template']['html']=f[q(0x1d1)][q(0x1e4)]===q(0x211)?!![]:![],this[q(0x200)][q(0x1e9)](q(0x1e4),f['template']['html']));typeof f['template']['test']===q(0x1ff)&&(f['template'][q(0x1ed)]=f[q(0x1d1)][q(0x1ed)]===q(0x211)?!![]:![],this['fsi'][q(0x1e9)]('test',f['template'][q(0x1ed)]));typeof f[q(0x1d1)][q(0x1de)]===q(0x1ff)&&(f[q(0x1d1)][q(0x1de)]=f['template'][q(0x1de)]===q(0x211)?!![]:![],this[q(0x200)][q(0x1e9)](q(0x1de),f[q(0x1d1)][q(0x1de)]));typeof f['template']['js']===q(0x1ff)&&(f[q(0x1d1)]['js']=f['template']['js']===q(0x211)?!![]:![],this[q(0x200)][q(0x1e9)]('js',f[q(0x1d1)]['js']));!f[q(0x1e8)]&&(f['features']={});!b[q(0x1d5)]&&!this[q(0x200)][q(0x1f4)](q(0x1d3))&&(Log[q(0x1e3)](q(0x1f2)),this[q(0x200)][q(0x20f)]('ramda',{'cwd':d}));const g={'name':pascalCase(b[q(0x1fb)]),'myPath':a75e['relative'](this[q(0x200)][q(0x1ef)]({}),e),'cssCaseName':paramCase(b[q(0x1fb)]),'className':pascalCase(b[q(0x1fb)]),'camelCaseName':camelCase(b['resourceName']),'fileName':paramCase(b['resourceName']),'graphql':f[q(0x202)][q(0x1f5)],'features':f[q(0x1e8)],'client':f[q(0x202)][q(0x215)],'api':f[q(0x202)][q(0x21c)],'ssr':f[q(0x202)]['ssr'],'isStore':b['hasOwnProperty']('store'),'isComponent':b[q(0x1e0)](q(0x1e1)),'isLayout':b['hasOwnProperty']('layout'),'withTranslations':f[q(0x1e8)][q(0x214)],'test':f[q(0x202)]['test'],'theme':f[q(0x202)][q(0x1e6)]};f[q(0x1d1)][q(0x1e4)]&&this[q(0x200)][q(0x1d1)]({'srcPath':q(0x20c),'destPath':e+q(0x1ea),'context':g,'config':f});f['features']?.[q(0x1fc)]||b[q(0x219)]?this[q(0x200)][q(0x1d1)]({'srcPath':q(0x217),'destPath':e+q(0x21b),'framework':q(0x208),'context':g,'config':f}):this['fsi'][q(0x1d1)]({'srcPath':q(0x1d9),'destPath':e+q(0x21b),'framework':q(0x208),'context':g,'config':f});f['engines'][q(0x1ed)]!==q(0x1d4)&&this['fsi'][q(0x1d1)]({'srcPath':'test/test.js','destPath':e+q(0x203),'framework':q(0x208),'context':g,'config':f});f[q(0x1d1)][q(0x1de)]&&this[q(0x200)][q(0x1d1)]({'srcPath':q(0x1f7),'destPath':e+q(0x216),'context':Object[q(0x1d7)]({},g,{'className':paramCase(b['resourceName'])}),'config':f});f['engines'][q(0x215)]!=='react'&&f['engines'][q(0x215)]!==q(0x1f9)?(f[q(0x1d1)][q(0x1de)]&&this[q(0x200)]['injectAtBeginningOfFile']({'filePath':e+'.'+f['engines']['js'],'content':q(0x1fa)+g[q(0x1dd)]+'.'+f[q(0x202)][q(0x1e4)]+'\x27;\x0a'+'import\x20\x27./'+g['fileName']+'.'+f[q(0x202)][q(0x1de)]+'\x27;'}),!f[q(0x1d1)][q(0x1de)]&&this[q(0x200)][q(0x212)]({'filePath':e+'.'+f['engines']['js'],'content':q(0x1fa)+g[q(0x1dd)]+'.'+f[q(0x202)]['html']+'\x27;'})):f[q(0x1d1)][q(0x1de)]&&this[q(0x200)][q(0x212)]({'filePath':e+'.'+f[q(0x202)]['js'],'content':q(0x1fa)+g[q(0x1dd)]+'.'+f[q(0x202)][q(0x1de)]+'\x27;'});const h=b[q(0x1e2)]?'/'+b[q(0x1e2)]+'/':'/',i=''+c+h+g['fileName']+'/'+g['fileName'];let j;if(f[q(0x202)][q(0x204)]==='true'){const k=this[q(0x200)][q(0x1d8)]({'pathParts':[q(0x207),q(0x218),'lib',q(0x1ee)]});j=this[q(0x200)][q(0x1f0)]({'pathParts':[k],'config':f});}else{const l=this[q(0x200)]['pathFromApp']({'pathParts':[q(0x207),q(0x218),q(0x215),q(0x1ee)]});j=this[q(0x200)]['rewriteDestinationPathForEngine']({'pathParts':[l],'config':f});}f[q(0x202)]['client']===q(0x208)?(f[q(0x202)]['js']===q(0x1df)?this[q(0x200)][q(0x212)]({'filePath':j,'content':q(0x1f6)+g['className']+q(0x1f3)+i+'\x27;\x0a'}):this[q(0x200)][q(0x212)]({'filePath':j,'content':q(0x1f6)+g[q(0x1eb)]+'\x20}\x20from\x20\x27'+i+'.'+f['engines']['js']+q(0x213)}),this[q(0x200)][q(0x209)]({'filePath':j,'content':'export\x20{\x20'+g['className']+q(0x21a)})):this[q(0x200)][q(0x209)]({'filePath':j,'content':q(0x205)+i+'.'+f[q(0x202)]['js']+'\x27;\x0a'});});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a76c(){const n=['17019390FmDHCU','create','fsi','tsx','(((.+)+)+)+$','apply','publish','24TNvsNc','maka\x20g:publish\x20todos','toString','templateContent','getProjectConfig','1697845NeYofo','3aLnFRS','maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','1849448VEgRyu','engines','rewriteDestinationPathForEngine','1258136DEgPaF','publish/publish.','search','14356sFzrSn','28qCZrqB','constructor','359933filtwk','4290264QiNXDv','server/publish.','withValue','resourceName'];a76c=function(){return n;};return a76c();}const a76k=a76d;function a76d(a,b){const c=a76c();return a76d=function(d,e){d=d-0x1ac;let f=c[d];return f;},a76d(a,b);}(function(a,b){const h=a76d,c=a();while(!![]){try{const d=-parseInt(h(0x1c6))/0x1*(-parseInt(h(0x1c5))/0x2)+-parseInt(h(0x1bd))/0x3*(parseInt(h(0x1bf))/0x4)+-parseInt(h(0x1bc))/0x5+parseInt(h(0x1b7))/0x6*(-parseInt(h(0x1c8))/0x7)+-parseInt(h(0x1c2))/0x8+-parseInt(h(0x1ac))/0x9+parseInt(h(0x1b0))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a76c,0x3fce9));const a76b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a76d;if(c){const e=c[i(0x1b5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a76a=a76b(this,function(){const j=a76d;return a76a[j(0x1b9)]()[j(0x1c4)]('(((.+)+)+)+$')[j(0x1b9)]()[j(0x1c7)](a76a)[j(0x1c4)](j(0x1b4));});a76a();import{paramCase}from'change-case';import{Generator}from'../generator.js';Generator[a76k(0x1b1)]({'name':a76k(0x1b6),'aliases':['p'],'usage':a76k(0x1be),'shortDesc':'Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','validOpts':[],'examples':[a76k(0x1b8)]},async function(a,b){const l=a76k,c=this[l(0x1b2)][l(0x1bb)]();this[l(0x1b2)][l(0x1ae)](c,async()=>{const m=l,d={'name':b['resourceName'],'collection':paramCase(b[m(0x1af)]),'noRename':!![]};let e='js';c[m(0x1c0)]['js']===m(0x1b3)&&(e='ts');const f=this[m(0x1b2)][m(0x1c1)]({'pathParts':[m(0x1ad)+c[m(0x1c0)]['js']]}),g=this[m(0x1b2)][m(0x1ba)]({'srcPath':m(0x1c3)+e,'context':d,'config':c});this['fsi']['injectAtEndOfFile']({'filePath':f,'content':'\x0a'+g});});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a77y=a77d;(function(a,b){const v=a77d,c=a();while(!![]){try{const d=-parseInt(v(0x113))/0x1*(parseInt(v(0x110))/0x2)+parseInt(v(0xf2))/0x3*(parseInt(v(0xf5))/0x4)+parseInt(v(0x105))/0x5+parseInt(v(0x119))/0x6*(-parseInt(v(0x11f))/0x7)+-parseInt(v(0x10a))/0x8*(-parseInt(v(0x106))/0x9)+-parseInt(v(0x136))/0xa*(parseInt(v(0x112))/0xb)+parseInt(v(0xf6))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a77c,0x5c9fc));const a77b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a77d;if(c){const e=c[w(0x101)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a77a=a77b(this,function(){const x=a77d;return a77a[x(0x11c)]()['search'](x(0x134))[x(0x11c)]()[x(0x104)](a77a)[x(0xf9)]('(((.+)+)+)+$');});a77a();import a77e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a77c(){const H=['features','72hJkEik','MasterLayout','\x0a\x09\x09','templateName','react','newForm','6966BCUCOH','maka\x20{generate,\x20g}:{route,\x20r}\x20[path/]<name>\x20[url]\x20[--private]','319zDsCpL','23yLrDdb','client','injectAfterLineNumber','toLowerCase','withValue','routes.js','84342aBfYny','maka\x20g:route\x20todosIndex\x20todos','injectAtEndOfFile','toString','true','pathFromApp','182haDJPT','cwd','layout','vanilla','engines','templateContent','error','withHook','length','fsi','route','const\x20privateRoutes\x20=\x20(<>','<Router','/imports/ui/pages','rewriteDestinationPathForEngine','maka\x20g:route\x20lists/listIndex\x20lists','private','</Router>','map','only','import\x20*\x20as\x20Component\x20from\x20\x27./templates\x27;','(((.+)+)+)+$','withTranslations','27870dOxVxv','root','imports','18jnylEb','indexOf','readFileLines','95616JNgpQa','3776400SYCmpa','route/route.js','maka\x20g:route\x20todosEdit\x20todos/:id/edit','search','includes','Could\x20not\x20find\x20a\x20suitable\x20location\x20to\x20enable\x20this\x20route.\x20\x20Please\x20inspect\x20','filter','getProjectConfig','const\x20publicRoutes\x20=\x20(<>','config','url','apply','injectIntoFile','page','constructor','989730zQSFfx','249732iTwvuc','startup','join'];a77c=function(){return H;};return a77c();}import a77f from'../generators/maka.gen.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['r'];function a77d(a,b){const c=a77c();return a77d=function(d,e){d=d-0xf2;let f=c[d];return f;},a77d(a,b);}Generator['create']({'name':a77y(0x129),'aliases':aliases,'validOpts':['private','layout',a77y(0x132),a77y(0x120),a77y(0xff),'root',a77y(0x126),a77y(0x100)],'usage':a77y(0x111),'shortDesc':'Scaffolding\x20for\x20a\x20Route.','examples':[a77y(0x11a),a77y(0xf8),'maka\x20g:route\x20usersShow\x20users/:id/show\x20--layout\x20userView',a77y(0x12e)]},function(a,b){const z=a77y;try{const c=this['fsi'][z(0xfd)]();this[z(0x128)][z(0x117)](c,async()=>{const A=z,d=b[A(0x12f)]??![];let f=paramCase(a[0x0]),g='/'+f;a[A(0x127)]>0x1&&(g='/'+a[A(0xfc)](function(l){return l!=='/';})[A(0x108)]('/')[A(0x116)]());f=camelCase(f);b[A(0x121)]&&(b[A(0x121)]=camelCase(b['layout']));const h=a77e[A(0x108)](A(0x12c),f,f),i={'name':f,'fileCase':paramCase(f),'camelCaseName':camelCase(f),'url':g,'layout':b[A(0x121)]||A(0x10b),'templatePath':h,'templateName':pascalCase(f),'client':c[A(0x123)]['client'],'newForm':![],'withTranslations':c[A(0x109)][A(0x135)]};d&&(i['layout']='PrivateLayout');if(!b[A(0x137)]){const l=a77f['findGenerator'](A(0x103));l&&await l['invoke'](a,b);}let j,k;if(c[A(0x123)][A(0x114)]==='react'){if(c[A(0x123)]['ssr']===A(0x11d)){const p=this[A(0x128)][A(0x11e)]({'pathParts':['imports','startup','lib',A(0x118)]});j=this[A(0x128)]['rewriteDestinationPathForEngine']({'pathParts':[p],'config':c});}else{const q=this[A(0x128)][A(0x11e)]({'pathParts':['imports','startup',A(0x114),'routes.js']});j=this[A(0x128)]['rewriteDestinationPathForEngine']({'pathParts':[q],'config':c});}const m=this[A(0x128)]['readFileLines'](j)['map']((r,s)=>{const B=A;return r['includes'](B(0x133))?s+0x1:null;})['filter'](r=>r!==null);let n=this[A(0x128)][A(0xf4)](j)['map']((r,s)=>{const C=A;return r[C(0xfa)](C(0xfe))?s+0x1:null;})[A(0xfc)](r=>r!==null),o=this[A(0x128)][A(0xf4)](j)['map']((r,s)=>{const D=A;return r[D(0xfa)](D(0x12a))?s+0x1:null;})[A(0xfc)](r=>r!==null);n[A(0x127)]>0x0&&o['length']>0x0&&(i[A(0x10f)]=!![]);k=this[A(0x128)][A(0x124)]({'srcPath':'route/route.js','framework':A(0x10e),'context':i,'config':c});if(n[A(0x127)]>0x0||o['length']>0x0){this[A(0x128)][A(0x115)]({'filePath':j,'content':k,'lineNumber':m[0x0]});if(d&&o['length']>0x0)o=this[A(0x128)][A(0xf4)](j)[A(0x131)]((r,s)=>{const E=A;return r[E(0xfa)]('const\x20privateRoutes\x20=\x20(<>')?s+0x1:null;})[A(0xfc)](r=>r!==null),this[A(0x128)][A(0x115)]({'filePath':j,'content':'\x09{'+i[A(0x10d)]+'}','lineNumber':o[0x0]});else n[A(0x127)]>0x0?(n=this['fsi'][A(0xf4)](j)[A(0x131)]((r,s)=>{const F=A;return r[F(0xfa)](F(0xfe))?s+0x1:null;})[A(0xfc)](r=>r!==null),this[A(0x128)][A(0x115)]({'filePath':j,'content':'\x09{'+i[A(0x10d)]+'}','lineNumber':n[0x0]})):Log['warn'](A(0xfb)+j);}else{const r=this['fsi'][A(0xf4)](j)[A(0x131)](u=>{const G=A;return u[G(0xfa)]('\x22*\x22');}),s=r[A(0xf3)](!![])>-0x1,t=s?'<Route':A(0x130);this[A(0x128)][A(0x102)]({'filePath':j,'content':'\x0a\x09\x09'+k+A(0x10c),'begin':A(0x12b),'end':t});}}else{if(c[A(0x123)][A(0x114)]===A(0x122)){const u=this['fsi'][A(0x11e)]({'pathParts':[A(0x138),A(0x107),A(0x114),'routes.js']});j=this['fsi'][A(0x12d)]({'pathParts':[u],'config':c}),k=this[A(0x128)][A(0x124)]({'srcPath':A(0xf7),'context':i}),this['fsi'][A(0x11b)]({'filePath':j,'content':'\x0a'+k});}}});}catch(d){Log[z(0x125)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a78c(){const p=['type','imports','2322oWGbYD','installNpmPackage','winston','checkNpmPackage','202dvWEkN','70tPzSeS','template','getProjectConfig','3939264XDxpgm','297HYQAhv','withValue','pathFromApp','729650SzFEOS','engines','resourceName','search','tsx','352HhjsEU','759680zFqGJS','Generate\x20a\x20service\x20to\x20run\x20within\x20your\x20meteor\x20application.','logger','error','(((.+)+)+)+$','toString','Installing\x20winston','constructor','fsi','service','maka\x20{generate,\x20g}:{service}\x20[service-type]','340116gABRdV','apply','96446oqWEQG','224959mYaAVL','services','lib'];a78c=function(){return p;};return a78c();}const a78m=a78d;(function(a,b){const j=a78d,c=a();while(!![]){try{const d=parseInt(j(0x100))/0x1+parseInt(j(0x109))/0x2*(-parseInt(j(0x105))/0x3)+parseInt(j(0xf2))/0x4+parseInt(j(0x10a))/0x5*(-parseInt(j(0xfd))/0x6)+parseInt(j(0xff))/0x7*(-parseInt(j(0xf1))/0x8)+-parseInt(j(0x10d))/0x9+-parseInt(j(0x111))/0xa*(-parseInt(j(0x10e))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a78c,0x728ec));const a78b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a78d;if(c){const e=c[k(0xfe)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a78a=a78b(this,function(){const l=a78d;return a78a[l(0xf7)]()[l(0xef)]('(((.+)+)+)+$')[l(0xf7)]()[l(0xf9)](a78a)[l(0xef)](l(0xf6));});a78a();import{camelCase,paramCase,pascalCase}from'change-case';function a78d(a,b){const c=a78c();return a78d=function(d,e){d=d-0xef;let f=c[d];return f;},a78d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator['create']({'name':a78m(0xfb),'aliases':['svc'],'usage':a78m(0xfc),'shortDesc':a78m(0xf3),'validOpts':[a78m(0x103)],'validArgs':[a78m(0xf4)],'maxArgLength':0x1,'minArgLength':0x1,'examples':['maka\x20g:svc\x20logger']},async function(a,b){const n=a78m;try{const c=this['fsi'][n(0x10c)]();this[n(0xfa)][n(0x10f)](c,async()=>{const o=n,d=this['fsi'][o(0x110)]({}),f=paramCase(b[o(0x113)]),g={'name':pascalCase(b[o(0x113)]),'fileName':f,'camelCase':camelCase(b[o(0x113)]),'type':a[0x0],'engine':c[o(0x112)]['js'],'noRename':!![]};let h='js';c['engines']['js']===o(0xf0)&&(h='ts');if(a[0x0]===o(0xf4)){!this[o(0xfa)][o(0x108)](o(0x107))&&await this[o(0xfa)][o(0x106)]('winston\x20setimmediate',{'cwd':d,'msg':o(0xf8)});const i=this[o(0xfa)][o(0x110)]({'pathParts':[o(0x104),'startup',o(0x102),o(0x101),f+'.'+h]});this[o(0xfa)][o(0x10b)]({'srcPath':'service/logger/logger.js','destPath':i,'context':g,'config':c});}});}catch(d){Log[n(0xf5)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=
|
|
1
|
+
(function(a,b){var f=a79d,c=a();while(!![]){try{var d=parseInt(f(0x197))/0x1+parseInt(f(0x190))/0x2*(parseInt(f(0x18f))/0x3)+parseInt(f(0x192))/0x4+-parseInt(f(0x198))/0x5*(parseInt(f(0x18d))/0x6)+parseInt(f(0x196))/0x7+parseInt(f(0x18e))/0x8+-parseInt(f(0x199))/0x9*(parseInt(f(0x195))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a79c,0xa6ab6));var a79b=(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;};}()),a79a=a79b(this,function(){var g=a79d;return a79a[g(0x191)]()['search']('(((.+)+)+)+$')[g(0x191)]()[g(0x193)](a79a)[g(0x19a)](g(0x194));});a79a();import'./translation.js';function a79d(a,b){var c=a79c();return a79d=function(d,e){d=d-0x18d;var f=c[d];return f;},a79d(a,b);}function a79c(){var h=['3Gtltws','634238kHlqtJ','toString','3138964HfNcst','constructor','(((.+)+)+)+$','10tDZSzK','6182820tUleWY','634620mcwZoV','5mXipQv','18434421wJapJV','search','5872956BVfDvD','8720264GpOnkd'];a79c=function(){return h;};return a79c();}import'./openssl.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a80d(a,b){const c=a80c();return a80d=function(d,e){d=d-0xc6;let f=c[d];return f;},a80d(a,b);}function a80c(){const o=['7XATtPu','toString','template','maka\x20g:sslconfig\x20--env\x20dev','openssl.conf','constructor','6895020geLmnu','8276562nUAouH','service','apply','11421688ONZdvN','Generate\x20a\x20new\x20openssl\x20config\x20file','4YwGUFG','1963083lvvSfi','error','getGlobalConfig','env','appName','sslconfig','337505CfExPa','9910251UrzOKg','10iqKcQm','1584595QZToSO','search','4dDhqFI','fsi','create','maka\x20{generate,\x20g}:sslconfig','(((.+)+)+)+$','join'];a80c=function(){return o;};return a80c();}const a80l=a80d;(function(a,b){const i=a80d,c=a();while(!![]){try{const d=-parseInt(i(0xdb))/0x1+parseInt(i(0xd1))/0x2*(parseInt(i(0xd2))/0x3)+-parseInt(i(0xdd))/0x4*(-parseInt(i(0xd8))/0x5)+parseInt(i(0xcc))/0x6*(parseInt(i(0xe3))/0x7)+parseInt(i(0xcf))/0x8+-parseInt(i(0xd9))/0x9*(parseInt(i(0xda))/0xa)+-parseInt(i(0xcb))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a80c,0xd4997));const a80b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a80d;if(c){const e=c[j(0xce)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a80a=a80b(this,function(){const k=a80d;return a80a[k(0xc6)]()[k(0xdc)](k(0xe1))['toString']()[k(0xca)](a80a)['search'](k(0xe1));});a80a();import{Generator}from'../../generator.js';import{Log}from'../../tools/log/log.class.js';import a80e from'path';Generator[a80l(0xdf)]({'name':a80l(0xd7),'usage':a80l(0xe0),'shortDesc':a80l(0xd0),'noResource':!![],'requiredOpts':['env'],'examples':[a80l(0xc8)],'validOpts':[a80l(0xd5)]},async function(a,b){const m=a80l;try{const c=await this['fsi']['getProjectConfig'](),d=await this[m(0xde)][m(0xd4)](),f=this['fsi']['getConfigPath'](b['env']),g=a80e[m(0xe2)](f,'_keys',m(0xc9));await this[m(0xde)]['withValue'](c,async()=>{const n=m,h={'app':d[n(0xd6)],'noRename':!![]};await this[n(0xde)][n(0xc7)]({'srcPath':'openssl/openssl.conf','destPath':g,'framework':n(0xcd),'context':h,'config':c});});}catch(h){Log[m(0xd3)](h);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a81z=a81d;(function(a,b){const x=a81d,c=a();while(!![]){try{const d=-parseInt(x(0x1fa))/0x1+-parseInt(x(0x218))/0x2*(-parseInt(x(0x236))/0x3)+-parseInt(x(0x22e))/0x4+parseInt(x(0x203))/0x5*(parseInt(x(0x205))/0x6)+-parseInt(x(0x21b))/0x7*(parseInt(x(0x1f8))/0x8)+parseInt(x(0x217))/0x9*(parseInt(x(0x1fb))/0xa)+-parseInt(x(0x238))/0xb*(-parseInt(x(0x235))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a81c,0xce52f));const a81b=(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;};}()),a81a=a81b(this,function(){const y=a81d;return a81a[y(0x22d)]()[y(0x230)](y(0x21f))[y(0x22d)]()[y(0x20d)](a81a)[y(0x230)](y(0x21f));});function a81c(){const C=['toString','2551284diBxcU','isFile','search','injectAtBeginningOfFile','maka\x20g:translation\x20--lang=de','template','.js','543684LeoKXC','681GEnyYT','locales','198zeLqUp','lang','Generate\x20a\x20new\x20locale\x20translation','export\x20{\x20default\x20as\x20','import\x20\x27../lib/services/translations/i18n\x27;\x0a','grep','8BQXgTJ','index.js','398415wdaFgV','42430UljKer','features.withTranslations','root','imports','injectAtEndOfFile','i18next\x20i18next-browser-languagedetector\x20react-i18next','maka\x20{generate,\x20g}:translation\x20--lang=<language>','i18n/locales.js','995BNXMlU','i18next','12618kwAkQc','index.','checkNpmPackage','ssr','readFileSync','appName','exit','rewriteDestinationPathForEngine','constructor','translation','create','client','i18n.js','startup','withValue','pathFromApp','service','translations','1206laJNrb','7918GjGGGq','warn','Verifying\x20npm\x20package\x20requirements:\x20i18next\x20...','5739573IjQIuH','lib','maka\x20g:translation\x20--lang=fr','fsi','(((.+)+)+)+$','engines','getProjectConfig','true','services','installNpmPackage','server','i18n','import\x20\x27../lib/services/translations/i18n\x27;','maka\x20g:translation\x20--lang=en\x20(default)','error','getGlobalConfig','i18n/index.js','Locale\x20already\x20defined:\x20'];a81c=function(){return C;};return a81c();}a81a();import{Generator}from'../../generator.js';import{Log}from'../../tools/log/log.class.js';import a81e from'fs';function a81d(a,b){const c=a81c();return a81d=function(d,e){d=d-0x1f3;let f=c[d];return f;},a81d(a,b);}Generator[a81z(0x20f)]({'name':a81z(0x20e),'usage':a81z(0x201),'aliases':[a81z(0x226)],'shortDesc':a81z(0x1f4),'noResource':!![],'examples':[a81z(0x228),a81z(0x21d),a81z(0x232)],'validOpts':['lang']},function(a,b){const A=a81z;try{const c=this['fsi'][A(0x221)](),d=this[A(0x21e)][A(0x22a)](),f=this['fsi']['findAppDirectory']();this[A(0x21e)][A(0x213)](c,()=>{const B=A;try{!b[B(0x1f3)]&&(b[B(0x1f3)]='en');!b[B(0x1fd)]&&!this[B(0x21e)][B(0x207)](B(0x204))&&(Log[B(0x219)](B(0x21a)),this['fsi'][B(0x224)](B(0x200),{'cwd':f}),this['fsi']['setProjectConfig'](B(0x1fc),!![]));const g=this['fsi'][B(0x214)]({'pathParts':['imports',B(0x212),B(0x210),B(0x1f9)]}),h=this[B(0x21e)][B(0x20c)]({'pathParts':[g],'config':c}),i=this['fsi'][B(0x1f7)](a81e[B(0x209)](h)[B(0x22d)](),B(0x227))[0x0]&&!![];if(c[B(0x220)][B(0x208)]===B(0x222)){!i&&this[B(0x21e)][B(0x231)]({'filePath':h,'content':'import\x20\x27../lib/services/translations/i18n\x27;\x0a'});const t=this[B(0x21e)]['pathFromApp']({'pathParts':[B(0x1fe),B(0x212),B(0x225),B(0x1f9)]}),u=this[B(0x21e)][B(0x20c)]({'pathParts':[t],'config':c}),v=this[B(0x21e)]['grep'](a81e['readFileSync'](u)[B(0x22d)](),B(0x227))[0x0]&&!![];!v&&this['fsi'][B(0x231)]({'filePath':u,'content':B(0x1f6)});}else!i&&this[B(0x21e)][B(0x231)]({'filePath':h,'content':B(0x1f6)});const j={'app':d[B(0x20a)],'config':c},k=this['fsi'][B(0x214)]({'pathParts':[B(0x1fe),'startup',B(0x21c),B(0x223),B(0x216),B(0x211)]}),l=this[B(0x21e)][B(0x22f)](this[B(0x21e)][B(0x20c)]({'pathParts':[k],'config':c}));!l&&this[B(0x21e)][B(0x233)]({'srcPath':'i18n/i18n.js','destPath':k,'framework':'service','context':j,'config':c});const m=this[B(0x21e)][B(0x214)]({'pathParts':[B(0x1fe),B(0x212),B(0x21c),B(0x223),'translations','locales',b[B(0x1f3)]+B(0x234)]}),n=this[B(0x21e)][B(0x20c)]({'pathParts':[m],'config':c}),o=this[B(0x21e)]['isFile'](n);!o?this[B(0x21e)][B(0x233)]({'srcPath':B(0x202),'destPath':m,'framework':'service','context':j,'config':c}):Log[B(0x219)](B(0x22c)+n);const p=this[B(0x21e)][B(0x214)]({'pathParts':['imports',B(0x212),B(0x21c),B(0x223),'translations',B(0x237),B(0x206)+c[B(0x220)]['js']]}),q=this[B(0x21e)][B(0x20c)]({'pathParts':[p],'config':c}),r=this[B(0x21e)][B(0x22f)](q);!r&&this[B(0x21e)]['template']({'srcPath':B(0x22b),'destPath':p,'framework':B(0x215),'context':j,'config':c});const s=this[B(0x21e)][B(0x1f7)](a81e['readFileSync'](p)[B(0x22d)](),'default\x20as\x20'+b[B(0x1f3)])[0x0]&&!![];!s?this[B(0x21e)][B(0x1ff)]({'filePath':p,'content':B(0x1f5)+b[B(0x1f3)]+'\x20}\x20from\x20\x27./'+b[B(0x1f3)]+'\x27;'}):Log[B(0x219)]('Locale\x20already\x20exported:\x20'+p);}catch(w){Log['error'](w),process[B(0x20b)](0x1);}});}catch(g){Log[A(0x229)](g),process[A(0x20b)](0x1);}});
|
package/bundle/obf/src/maka.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env -S node --experimental-modules --no-warnings --experimental-json-modules
|
|
2
|
-
const
|
|
2
|
+
const a82l=a82d;(function(a,b){const j=a82d,c=a();while(!![]){try{const d=parseInt(j(0x12b))/0x1+parseInt(j(0x128))/0x2+-parseInt(j(0x12a))/0x3+-parseInt(j(0x117))/0x4+parseInt(j(0x119))/0x5*(-parseInt(j(0x125))/0x6)+-parseInt(j(0x12d))/0x7+parseInt(j(0x127))/0x8*(parseInt(j(0x126))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a82c,0xba9aa));const a82b=(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;};}()),a82a=a82b(this,function(){const k=a82d;return a82a[k(0x120)]()[k(0x124)](k(0x12c))['toString']()[k(0x115)](a82a)[k(0x124)]('(((.+)+)+)+$');});a82a();import a82e from'minimist';import a82f from'os';import a82g from'path';function a82c(){const m=['(((.+)+)+)+$','7709744TsZmsc','parse','totalmem','constructor','BROWSERSLIST_IGNORE_OLD_DATA','1016180WxShyH','env','10lRBLHb','--max-old-space-size=','TOOL_NODE_FLAGS','floor','argv','run','MAKA_COMMAND_PATH','toString','url','stringify','slice','search','503766EsgEEI','2286Metlcw','12088pDwGhs','1672862IgcevA','camelizeKeys','846030MAnLhC','1349474MAXDdE'];a82c=function(){return m;};return a82c();}import a82h from'humps';import a82i from'./commands/maka.cmd.js';import'./commands/_index.js';import'./generators/_index.js';import{fileURLToPath}from'url';const __filename=fileURLToPath(import.meta[a82l(0x121)]),__dirname=a82g['dirname'](__filename);function a82d(a,b){const c=a82c();return a82d=function(d,e){d=d-0x113;let f=c[d];return f;},a82d(a,b);}global[a82l(0x11f)]=__dirname;const total_memory=a82f[a82l(0x114)](),total_mem_in_kb=total_memory/0x400;let total_mem_in_mb=total_mem_in_kb/0x400;total_mem_in_mb=Math[a82l(0x11c)](total_mem_in_mb),process[a82l(0x118)][a82l(0x11b)]=a82l(0x11a)+total_mem_in_mb,process[a82l(0x118)][a82l(0x116)]='1';const argv=a82e(process[a82l(0x11d)][a82l(0x123)](0x2)),args=argv['_'],deepCopyArgv=JSON[a82l(0x113)](JSON[a82l(0x122)](argv));delete deepCopyArgv['_'];const opts=a82h[a82l(0x129)](deepCopyArgv);a82i[a82l(0x11e)](args,opts);
|
|
@@ -58,9 +58,9 @@ const runtimeConfigHash = crypto.createHash('sha256').update(runtimeConfigScript
|
|
|
58
58
|
const helmetOptions = {
|
|
59
59
|
crossOriginOpenerPolicy: { policy: "same-origin-allow-popups" },
|
|
60
60
|
crossOriginResourcePolicy: true,
|
|
61
|
-
crossOriginResourcePolicy: true,
|
|
62
61
|
//If you want to embed something like an iframe, set to false
|
|
63
|
-
|
|
62
|
+
//If this is truu, site's won't be able to link to you
|
|
63
|
+
crossOriginEmbedderPolicy: false,
|
|
64
64
|
contentSecurityPolicy: {
|
|
65
65
|
blockAllMixedContent: true,
|
|
66
66
|
directives: {
|
|
@@ -58,9 +58,9 @@ const runtimeConfigHash = crypto.createHash('sha256').update(runtimeConfigScript
|
|
|
58
58
|
const helmetOptions = {
|
|
59
59
|
crossOriginOpenerPolicy: { policy: "same-origin-allow-popups" },
|
|
60
60
|
crossOriginResourcePolicy: true,
|
|
61
|
-
crossOriginResourcePolicy: true,
|
|
62
61
|
//If you want to embed something like an iframe, set to false
|
|
63
|
-
|
|
62
|
+
//If this is truu, site's won't be able to link to you
|
|
63
|
+
crossOriginEmbedderPolicy: false,
|
|
64
64
|
contentSecurityPolicy: {
|
|
65
65
|
blockAllMixedContent: true,
|
|
66
66
|
directives: {
|
|
@@ -58,9 +58,9 @@ const runtimeConfigHash = crypto.createHash('sha256').update(runtimeConfigScript
|
|
|
58
58
|
const helmetOptions = {
|
|
59
59
|
crossOriginOpenerPolicy: { policy: "same-origin-allow-popups" },
|
|
60
60
|
crossOriginResourcePolicy: true,
|
|
61
|
-
crossOriginResourcePolicy: true,
|
|
62
61
|
//If you want to embed something like an iframe, set to false
|
|
63
|
-
|
|
62
|
+
//If this is truu, site's won't be able to link to you
|
|
63
|
+
crossOriginEmbedderPolicy: false,
|
|
64
64
|
contentSecurityPolicy: {
|
|
65
65
|
blockAllMixedContent: true,
|
|
66
66
|
directives: {
|
|
@@ -58,9 +58,9 @@ const runtimeConfigHash = crypto.createHash('sha256').update(runtimeConfigScript
|
|
|
58
58
|
const helmetOptions = {
|
|
59
59
|
crossOriginOpenerPolicy: { policy: "same-origin-allow-popups" },
|
|
60
60
|
crossOriginResourcePolicy: true,
|
|
61
|
-
crossOriginResourcePolicy: true,
|
|
62
61
|
//If you want to embed something like an iframe, set to false
|
|
63
|
-
|
|
62
|
+
//If this is truu, site's won't be able to link to you
|
|
63
|
+
crossOriginEmbedderPolicy: false,
|
|
64
64
|
contentSecurityPolicy: {
|
|
65
65
|
blockAllMixedContent: true,
|
|
66
66
|
directives: {
|
package/bundle/obf/src/tool.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a83d(a,b){const c=a83c();return a83d=function(d,e){d=d-0x156;let f=c[d];return f;},a83d(a,b);}const a83k=a83d;(function(a,b){const h=a83d,c=a();while(!![]){try{const d=parseInt(h(0x17b))/0x1+parseInt(h(0x179))/0x2*(parseInt(h(0x16e))/0x3)+-parseInt(h(0x169))/0x4+-parseInt(h(0x17e))/0x5+parseInt(h(0x165))/0x6+-parseInt(h(0x16d))/0x7+parseInt(h(0x171))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a83c,0x93c0f));const a83b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a83d;if(c){const e=c[i(0x176)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a83a=a83b(this,function(){const j=a83d;return a83a[j(0x158)]()[j(0x15c)](j(0x17a))[j(0x158)]()['constructor'](a83a)[j(0x15c)](j(0x17a));});a83a();import a83e from'path';import a83f from'os';import a83g from'fs';const homeDir=a83f[a83k(0x173)]();import{Docker}from'./tools/docker/docker.class.js';import{FSI}from'./tools/fsi/fsi.class.js';import{Log}from'./tools/log/log.class.js';function a83c(){const y=['parent','length','toString','Invalid\x20argument:\x20','forEach','concat','search','_handler','No\x20description\x20provided.','validateMeteorInstall','includes','existsSync','help','join','usage','5693292CFikJM','validateMakaProject','Invalid\x20options:\x20','aliases','3998564bYMOiH','.meteor','Local','AppData','7128625skedwc','628461zORWBY','options','error','7594824bKirmw','fsi','homedir','examples','push','apply','resourceName','No\x20usage\x20provided.','10haqUBy','(((.+)+)+)+$','142902RbiXhi','findProjectDirectory','NIE','2326785EhtSfL','shortDesc','description','name','None','config'];a83c=function(){return y;};return a83c();}import{UsageError}from'./error.js';export class Tool{['docker'];[a83k(0x172)];['options'];[a83k(0x181)];['parent'];[a83k(0x15d)];constructor(){const l=a83k;this['docker']=new Docker(),this[l(0x172)]=new FSI();}['match'](a){const m=a83k,b=[this['name']]['concat'](this[m(0x16f)][m(0x168)]||[]);return this[m(0x156)]&&b[m(0x175)](this[m(0x156)]),b['includes'](a);}[a83k(0x166)](){const n=a83k,a=this[n(0x172)][n(0x17c)]();return a!==![]?!![]:![];}[a83k(0x15f)](){const o=a83k;let a=a83e[o(0x163)](homeDir,o(0x16a));const b=process['platform']==='win32';if(b){a=a83e[o(0x163)](homeDir,o(0x16c),o(0x16b),'.meteor');if(!a83g[o(0x161)](a))return![];}else{if(!a83g[o(0x161)](a))return![];}return!![];}['validateParams'](a,b,c){const p=a83k,{requiredOpts:requiredOpts=[],validArgs:d}=c;let {validOpts:validOpts=[]}=c;const e=Object['keys'](b);d?.[p(0x157)]>0x0&&a[p(0x15a)](f=>{const q=p;if(!d[q(0x160)](f)){Log['error'](q(0x159)+f);throw new UsageError();}});if(requiredOpts?.[p(0x157)]>0x0){if(e[p(0x157)]===0x0){Log[p(0x170)]('Missing\x20required\x20options\x20'+requiredOpts['join'](',\x20'));throw new UsageError();}requiredOpts[p(0x15a)](f=>{const r=p;if(!e[r(0x160)](f)){Log[r(0x170)]('Missing\x20required\x20option:\x20'+f);throw new UsageError();}});}validOpts=validOpts[p(0x15b)](requiredOpts),validOpts?.['length']>0x0&&(validOpts[p(0x175)](p(0x162)),validOpts[p(0x175)](p(0x177)),validOpts['push']('dir'),validOpts[p(0x175)]('cwd'),validOpts['push']('root'),validOpts[p(0x175)](p(0x183)),e[p(0x15a)](f=>{const s=p;if(!validOpts[s(0x160)](f)){Log[s(0x170)](s(0x167)+f);throw new UsageError();}}));}[a83k(0x180)](){const t=a83k;return this[t(0x16f)][t(0x180)]||this[t(0x16f)][t(0x17f)]||t(0x15e);}['shortDesc'](){const u=a83k;return this[u(0x16f)][u(0x17f)]||u(0x17d);}[a83k(0x164)](){const v=a83k;return this[v(0x16f)][v(0x164)]||v(0x178);}[a83k(0x174)](){const w=a83k;return this[w(0x16f)][w(0x174)]||[];}[a83k(0x168)](){const x=a83k;return this[x(0x16f)][x(0x168)]||x(0x182);}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a84i=a84d;(function(a,b){const f=a84d,c=a();while(!![]){try{const d=parseInt(f(0x14d))/0x1+parseInt(f(0x150))/0x2+parseInt(f(0x147))/0x3+parseInt(f(0x146))/0x4+-parseInt(f(0x144))/0x5*(parseInt(f(0x145))/0x6)+-parseInt(f(0x154))/0x7+-parseInt(f(0x14f))/0x8*(parseInt(f(0x14b))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a84c,0xb47d6));const a84b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a84d;if(c){const e=c[g(0x14e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a84a=a84b(this,function(){const h=a84d;return a84a[h(0x14c)]()[h(0x155)]('(((.+)+)+)+$')['toString']()[h(0x153)](a84a)[h(0x155)](h(0x151));});function a84d(a,b){const c=a84c();return a84d=function(d,e){d=d-0x144;let f=c[d];return f;},a84d(a,b);}a84a();import a84e from'inquirer';function a84c(){const m=['5UQsCaE','2151852gqmLyM','5022372NEMzmT','1371609vvsRGc','options','answer','confirm','3735VlEXjq','toString','74405JhulEO','apply','29624jCLNEV','2567414nlYhxO','(((.+)+)+)+$','input','constructor','3053645FpQwEs','search','prompt','ask'];a84c=function(){return m;};return a84c();}export class Actions{static async[a84i(0x157)](a,b){const j=a84i,{answer:c}=await a84e[j(0x156)]({'type':b?'password':j(0x152),'name':j(0x149),'message':a});return c;}static async[a84i(0x14a)](a,b=![]){const k=a84i,{answer:c}=await a84e['prompt']({'type':'confirm','name':k(0x149),'message':a,'default':b});return c;}static async[a84i(0x148)](a){const l=a84i,b=await a84e[l(0x156)](a);return b;}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a85s=a85d;(function(a,b){const p=a85d,c=a();while(!![]){try{const d=parseInt(p(0xbb))/0x1+-parseInt(p(0xe5))/0x2+parseInt(p(0xce))/0x3+parseInt(p(0xad))/0x4+-parseInt(p(0xa8))/0x5+-parseInt(p(0xff))/0x6+parseInt(p(0xb9))/0x7;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a85c,0x40875));const a85b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a85d;if(c){const e=c[q(0xe4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a85a=a85b(this,function(){const r=a85d;return a85a[r(0x103)]()['search']('(((.+)+)+)+$')[r(0x103)]()[r(0x101)](a85a)['search']('(((.+)+)+)+$');});function a85c(){const S=['ec2create','notice','1981084qXkqTj','ID:\x20','tag:created-by','publicIp','config','\x20NAME:\x20','chooseVPC','\x20PRIV_IP:\x20','userData','utf8','split','isFile','1547952COLSuU','description','271325QoSkjE','KeyName','createKeyPairEC2Key','\x20PUB_IP:\x20','status','No\x20instances\x20found','instanceId','join','confirm','fsi','ec2describeInstances','$metadata','exit','chmod\x20400\x20','privateIp','success','Reservations','subnet','[?]\x20Please\x20choose\x20an\x20instance\x20ID:\x20','765654EfSpuU','AWS\x20was\x20not\x20able\x20to\x20validate\x20the\x20provided\x20access\x20credentials','VpcId','httpStatusCode','name','\x20VPCID:\x20','readFileSync','Created:\x20','Name','ssh.json','getSecurityGroups','Instance\x20rebooted!','minCount','**\x20Available\x20\x20VPCs\x20**','file://','ec2rebootInstance','env','ask','suggestion','Key\x20Name:\x20[','_keys','length','apply','353186enZuTa','ignore','createKeyPair','chooseInstance','GroupId','sgIds','environment','\x20STATUS:\x20','Invalid\x20choice','Description:','[+]\x20Setting\x20VPC\x20ID\x20to:\x20','\x20ENV:\x20','Please\x20choose\x20a\x20VPC:\x20[0]\x20','type','ecrCreateRepository','\x20INSTANCE_ID:\x20','Value','imageId','Pem\x20key\x20saved\x20to\x20','CidrBlock','send','find','forEach','ec2terminateInstance','writeFileSync','.pem.txt','2434908fAPUBH','KeyMaterial','constructor','Web\x20App','toString','Would\x20you\x20like\x20to\x20update\x20the\x20ssh.json\x20config\x20file?','error','You\x20have\x20no\x20key-pairs,\x20please\x20create\x20one.\x20(maka\x20aws\x20create-key-pair\x20--env).','terminated','Port\x20','ingressRule','maka-cli','vpcId','deleteKeyPair','Instances','0.0.0.0/0','ec2createSG','GroupName','ec2describeKeys','That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.','\x20CIDR:\x20','1981150ULTYQb','push','getConfigPath'];a85c=function(){return S;};return a85c();}a85a();import a85e from'fs';import a85f from'path';import{execSync}from'child_process';import{Actions}from'../actions/actions.class.js';function a85d(a,b){const c=a85c();return a85d=function(d,e){d=d-0xa5;let f=c[d];return f;},a85d(a,b);}import{Log}from'../log/log.class.js';import{FSI}from'../fsi/fsi.class.js';import{EC2Client,DescribeInstancesCommand,RunInstancesCommand,TerminateInstancesCommand,CreateKeyPairCommand,AuthorizeSecurityGroupIngressCommand,CreateSecurityGroupCommand,RebootInstancesCommand,DescribeVpcsCommand,DescribeKeyPairsCommand,DeleteKeyPairCommand,DescribeSecurityGroupsCommand,DeleteSecurityGroupCommand}from'@aws-sdk/client-ec2';import{ECRClient,CreateRepositoryCommand}from'@aws-sdk/client-ecr';const client=new EC2Client({}),ecrClient=new ECRClient({});export class AWS{[a85s(0xc4)];constructor(){this['fsi']=new FSI();}async[a85s(0xf3)](a){const t=a85s;try{const b={'repositoryName':a[t(0xd2)]},c=new CreateRepositoryCommand(b),d=await ecrClient[t(0xf9)](c);return d;}catch(f){Log[t(0x105)](f);}}async[a85s(0xab)](a){const u=a85s;try{const b={'BlockDeviceMappings':[{'DeviceName':'/dev/sdh','Ebs':{'VolumeSize':0x64}}],'ImageId':a[u(0xf6)],'InstanceType':a[u(0xf2)],'KeyName':a['key'],'MaxCount':a['maxCount'],'MinCount':a[u(0xda)],'SecurityGroupIds':a[u(0xea)][u(0xb7)](','),'SubnetId':a[u(0xcc)],'TagSpecifications':[{'ResourceType':'instance','Tags':a['tags']}]};a[u(0xb5)]&&(b['UserData']=u(0xdc)+a[u(0xb5)]);const c=new RunInstancesCommand(b),d=await client[u(0xf9)](c);return d;}catch(f){Log[u(0x105)](f);}}async[a85s(0xfc)](a){const v=a85s;try{const b={'InstanceIds':[a[v(0xc1)]]},c=new TerminateInstancesCommand(b),d=await client[v(0xf9)](c);return d;}catch(f){return Log[v(0x105)](f),{};}}async[a85s(0xbd)]({keyName:a,env:b}){const w=a85s,c=this['fsi'][w(0xaa)](b),d=a85f[w(0xc2)](c,w(0xe2),a+w(0xfe));try{const f={'KeyName':a},g=new CreateKeyPairCommand(f),h=await client[w(0xf9)](g),i=h[w(0x100)];if(i){await this[w(0xc4)]['createFile']({'filePath':d,'data':i}),execSync(w(0xc8)+d,{'stdio':w(0xe6)});const j=this[w(0xc4)][w(0xb8)](d);if(j)return Log['success'](w(0xf7)+d),{'keyName':a,'filePath':d};else throw new Error('Error\x20saving\x20pem\x20file,\x20aborting');}else throw new Error('Error\x20generating\x20key\x20pair');}catch(k){Log[w(0x105)](k),process[w(0xc7)](0x1);}}async[a85s(0x109)]({port:a,groupId:b}){const x=a85s,c={'GroupId':b,'IpPermissions':[{'FromPort':a,'IpProtocol':'tcp','IpRanges':[{'CidrIp':x(0x10e),'Description':''}],'ToPort':a}]},d=new AuthorizeSecurityGroupIngressCommand(c);return Log[x(0xac)](x(0x108)+a+'\x20opened!'),await client[x(0xf9)](d);}async[a85s(0x10f)](a){const y=a85s;try{a[y(0xba)]===''&&(a[y(0xba)]=await Actions[y(0xdf)](y(0xee))||y(0x102));const b={'Description':a[y(0xba)],'GroupName':a[y(0xd2)],'VpcId':a[y(0x10b)]},c=new CreateSecurityGroupCommand(b),d=await client['send'](c),{GroupId:f}=d;if(!d)throw new Error(y(0xcf));f&&a['sgPorts'][y(0xfb)](g=>{const z=y;this[z(0x109)]({'port':parseInt(g),'groupId':f});}),Log[y(0xca)](y(0xd5)+f+y(0xb2)+a[y(0xd2)]);}catch(g){return Log[y(0x105)](g),![];}return!![];}async[a85s(0xa5)](a){const A=a85s,b=[];try{const c={},d=new DescribeKeyPairsCommand(c),f=await client['send'](d);if(!f)throw A(0xcf);const {KeyPairs:g}=f;g?(g?.['forEach']((h,i)=>{const B=A;h[B(0xbc)]&&b[B(0xa9)]({'id':i,'name':h[B(0xbc)]});}),b[A(0xe3)]>0x0&&b[A(0xfb)](h=>{const C=A;h['name']===a?.[C(0xe0)]?Log[C(0xca)](C(0xae)+h['id']+C(0xb2)+h[C(0xd2)]):Log['notice'](C(0xae)+h['id']+C(0xb2)+h[C(0xd2)]);})):Log[A(0x105)](A(0x106));}catch(h){Log[A(0x105)](h);}return b;}async[a85s(0x10c)](a){const D=a85s;try{const b={'KeyName':a},c=new DeleteKeyPairCommand(b);await client['send'](c);}catch(d){Log[D(0x105)](d),process[D(0xc7)](0x1);}}async['ec2describeInstances'](){const E=a85s,a=[];try{const b={'Filters':[{'Name':E(0xaf),'Values':[E(0x10a)]}]},c=new DescribeInstancesCommand(b),d=await client[E(0xf9)](c);d[E(0xcb)]?.[E(0xfb)]((f,g)=>{const F=E;if(f?.['Instances']){const {InstanceId:h,PublicIpAddress:i,PrivateIpAddress:j,State:k,KeyName:l,Tags:m}=f[F(0x10d)][0x0],n=m?.[F(0xfa)](({Key:o})=>o===F(0xeb));a[F(0xa9)]({'id':g,'instanceId':h,'privateIp':j,'publicIp':i,'status':k?.[F(0xd6)],'name':l,'env':n?.[F(0xf5)]});}}),a['length']>0x0?a[E(0xfb)](f=>{const G=E,g='ID:\x20'+f['id']+G(0xb2)+f['name']+G(0xf0)+f[G(0xde)]+G(0xec)+f[G(0xbf)]+G(0xf4)+f['instanceId']+G(0xbe)+f[G(0xb0)]+G(0xb4)+f[G(0xc9)];if(f[G(0xbf)]===G(0x107))Log[G(0x105)](g);else f[G(0xbf)]==='running'?Log[G(0xca)](g):Log['notice'](g);}):Log[E(0x105)]('You\x20have\x20no\x20instances\x20created\x20by\x20maka-cli.\x20\x20Please\x20reivew\x20your\x20AWS\x20console\x20manually!!!');}catch(f){Log[E(0x105)](f);}return a;}async[a85s(0xdd)](a){const H=a85s;try{const b={'InstanceIds':[a['instanceId']]},c=new RebootInstancesCommand(b),d=await client[H(0xf9)](c);return d[H(0xc6)][H(0xd1)]===0xc8&&Log['success'](H(0xd9)),d;}catch(f){Log[H(0x105)](f);}}async[a85s(0xb3)](){const I=a85s;let a='';Log['notice'](I(0xdb));const b=new DescribeVpcsCommand({}),c=await client[I(0xf9)](b),{Vpcs:d}=c,e=[];d&&d[I(0xfb)]((g,h)=>{const J=I;g[J(0xd0)]&&g[J(0xf8)]&&e[J(0xa9)]({'id':h,'vpcId':g[J(0xd0)],'cidr':g[J(0xf8)]});});e['forEach'](function(g){const K=I;console['log'](K(0xae)+g['id']+K(0xd3)+g[K(0x10b)]+K(0xa7)+g['cidr']);});const f=await Actions['ask'](I(0xf1))||0x0;e[I(0xfb)](function(g){const L=I;g['id']==f&&(a=g[L(0x10b)],Log[L(0xca)](L(0xef)+a+'\x0a'));});if(a==='')return Log[I(0x105)](I(0xa6)),'';return a;}async[a85s(0xe8)](){const M=a85s,a=await this[M(0xc5)]();if(a[M(0xe3)]===0x0)return Log[M(0x105)](M(0xc0)),null;const b=await Actions[M(0xdf)](M(0xcd));!b&&(Log[M(0x105)](M(0xed)),process[M(0xc7)](0x0));const c=a[M(0xfa)](({id:d})=>{return d==parseInt(b);})||null;return c;}async[a85s(0xe7)]({env:a}){const N=a85s,b=this[N(0xc4)]['getProjectConfig'](),{appName:c}=b,d=c+'-'+a,f=await Actions[N(0xdf)](N(0xe1)+d+']\x20')||d,{filePath:g}=await this[N(0xbd)]({'keyName':f,'env':a});try{const h=await Actions[N(0xc3)](N(0x104),!![]);if(h)try{const i=a85e[N(0xd4)](a85f[N(0xc2)](N(0xb1),a,N(0xd7)),N(0xb6)),j=JSON['parse'](i);j['pem']=a85f[N(0xc2)](N(0xe2),f+N(0xfe)),a85e[N(0xfd)](a85f[N(0xc2)]('config',a,N(0xd7)),JSON['stringify'](j,null,0x2));}catch(k){Log[N(0x105)](k),Log[N(0x105)]('You\x20will\x20need\x20to\x20update\x20the\x20ssh.json\x20file\x20yourself.');}}catch(l){Log[N(0x105)](l),process[N(0xc7)](0x1);}return{'keyName':f,'filePath':g};}async[a85s(0xd8)](a){const O=a85s,b=[],c={},d=new DescribeSecurityGroupsCommand(c),e=await client['send'](d),{SecurityGroups:f}=e;f&&f[O(0xfb)](function(i,j){const P=O;i[P(0x110)]&&i['GroupId']&&b[P(0xa9)]({'id':j,'name':i[P(0x110)],'sgId':i[P(0xe9)]});});let g='',h=0x0;return b['forEach'](function(i){const Q=O;i[Q(0xd2)]===a&&(g=i['sgId'],h=i['id']);}),{'sgList':b,'createdSgId':g,'listIndexId':h};}async['deleteSecurityGroup'](a){const R=a85s;try{const b={'GroupId':a},c=new DeleteSecurityGroupCommand(b);await client[R(0xf9)](c);}catch(d){Log[R(0x105)](d),process[R(0xc7)](0x1);}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=
|
|
1
|
+
function a86c(){var i=['3sVMmqt','144376RCuume','7370505udIxLA','toString','constructor','1098KMWnXR','25014561tiYZCd','28MwaOlz','search','2599208AkfhkX','160pOzktA','4235TSzjSf','2816770szQnIW','8974OcnoXF','apply'];a86c=function(){return i;};return a86c();}(function(a,b){var f=a86d,c=a();while(!![]){try{var d=-parseInt(f(0x125))/0x1*(parseInt(f(0x128))/0x2)+-parseInt(f(0x12a))/0x3*(parseInt(f(0x133))/0x4)+-parseInt(f(0x126))/0x5*(-parseInt(f(0x12f))/0x6)+-parseInt(f(0x131))/0x7*(-parseInt(f(0x12b))/0x8)+-parseInt(f(0x12c))/0x9+parseInt(f(0x127))/0xa+parseInt(f(0x130))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a86c,0x9191a));function a86d(a,b){var c=a86c();return a86d=function(d,e){d=d-0x125;var f=c[d];return f;},a86d(a,b);}var a86b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a86d;if(c){var e=c[g(0x129)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a86a=a86b(this,function(){var h=a86d;return a86a[h(0x12d)]()[h(0x132)]('(((.+)+)+)+$')[h(0x12d)]()[h(0x12e)](a86a)['search']('(((.+)+)+)+$');});a86a();export{};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a87m=a87d;(function(a,b){const j=a87d,c=a();while(!![]){try{const d=-parseInt(j(0x1a8))/0x1+-parseInt(j(0x1a3))/0x2+-parseInt(j(0x1ab))/0x3+-parseInt(j(0x1b9))/0x4*(-parseInt(j(0x1a9))/0x5)+parseInt(j(0x1b2))/0x6*(parseInt(j(0x1b3))/0x7)+-parseInt(j(0x1a2))/0x8+-parseInt(j(0x1a1))/0x9*(-parseInt(j(0x1b7))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a87c,0x22644));const a87b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a87d;if(c){const e=c[k(0x1b6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a87a=a87b(this,function(){const l=a87d;return a87a[l(0x1ae)]()[l(0x1ba)]('(((.+)+)+)+$')[l(0x1ae)]()[l(0x1a6)](a87a)[l(0x1ba)](l(0x1b8));});a87a();function a87d(a,b){const c=a87c();return a87d=function(d,e){d=d-0x1a0;let f=c[d];return f;},a87d(a,b);}function a87c(){const q=['.amazonaws.com','docker\x20','error','1088382hOtmnL','7rQXLCh','--password-stdin','.dkr.ecr.','apply','1024990nBNXjF','(((.+)+)+)+$','84PpwhKL','search','tag','36pAWoCI','1939312BlAMXK','525364cNunHX','login','AWS','constructor','.amazonaws.com/','48434vSgMuO','60220tCHgqM','join','449757gxyfob','push','inherit','toString'];a87c=function(){return q;};return a87c();}import{execSync}from'child_process';import{Log}from'../log/log.class.js';export class Docker{static[a87m(0x1a0)]({imageName:a,awsAccountId:b,region:c,repoName:d}){const n=a87m;try{const f=[n(0x1a0),a,b+n(0x1b5)+c+n(0x1a7)+d],g='docker\x20'+f[n(0x1aa)]('\x20'),h=execSync(g,{'stdio':n(0x1ad)})[n(0x1ae)]();return h;}catch(i){return Log['error'](i),'';}}static['awsLogin']({awsAccountId:a,region:b}){const o=a87m;try{const c=[o(0x1a4),'--username',o(0x1a5),o(0x1b4),a+'.dkr.ecr.'+b+o(0x1af)],d=o(0x1b0)+c['join']('\x20'),f=execSync(d,{'stdio':o(0x1ad)})[o(0x1ae)]();return f;}catch(g){return Log[o(0x1b1)](g),'';}}static['pushImage']({awsAccountId:a,region:b,repoName:c}){const p=a87m;try{const d=[p(0x1ac),a+p(0x1b5)+b+'.amazonaws.com/'+c],f=p(0x1b0)+d['join']('\x20'),g=execSync(f,{'stdio':p(0x1ad)})['toString']();return g;}catch(h){return Log[p(0x1b1)](h),'';}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a88d(a,b){var c=a88c();return a88d=function(d,e){d=d-0x90;var f=c[d];return f;},a88d(a,b);}function a88c(){var i=['4718whvTJT','81708bESqJM','constructor','2737592upuawP','23090240STtIht','apply','2094MYAHeg','toString','602620WETwrY','15kEvFFb','search','(((.+)+)+)+$','9VggJrW','3811440geGDWu','2176264wfwUHR'];a88c=function(){return i;};return a88c();}(function(a,b){var f=a88d,c=a();while(!![]){try{var d=-parseInt(f(0x99))/0x1+-parseInt(f(0x92))/0x2*(-parseInt(f(0x9a))/0x3)+-parseInt(f(0x90))/0x4+-parseInt(f(0x9e))/0x5+-parseInt(f(0x97))/0x6*(-parseInt(f(0x91))/0x7)+-parseInt(f(0x94))/0x8+parseInt(f(0x9d))/0x9*(parseInt(f(0x95))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a88c,0x796c3));var a88b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a88d;if(c){var e=c[g(0x96)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a88a=a88b(this,function(){var h=a88d;return a88a[h(0x98)]()[h(0x9b)](h(0x9c))[h(0x98)]()[h(0x93)](a88a)[h(0x9b)](h(0x9c));});a88a();export{};
|