@maka/maka-cli 4.5.20 → 4.5.21
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 +4 -4
- package/bundle/obf/src/command.js +1 -1
- package/bundle/obf/src/commands/_index.js +1 -1
- package/bundle/obf/src/commands/aws/_index.js +1 -1
- package/bundle/obf/src/commands/aws/aws.command.js +1 -1
- package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/build/_index.js +1 -1
- package/bundle/obf/src/commands/build/build.js +1 -1
- package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/create.js +1 -1
- package/bundle/obf/src/commands/debug.js +1 -1
- package/bundle/obf/src/commands/deploy.js +1 -1
- package/bundle/obf/src/commands/game/_index.js +1 -1
- package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/play.command.js +1 -1
- package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -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/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/game.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -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/enums.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/generate.js +1 -1
- package/bundle/obf/src/commands/get/_index.js +1 -1
- package/bundle/obf/src/commands/get/get.command.js +1 -1
- package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/help.js +1 -1
- package/bundle/obf/src/commands/jsdoc.js +1 -1
- package/bundle/obf/src/commands/lint.js +1 -1
- package/bundle/obf/src/commands/login.js +1 -1
- package/bundle/obf/src/commands/logout.js +1 -1
- package/bundle/obf/src/commands/logs.js +1 -1
- package/bundle/obf/src/commands/maka.cmd.js +1 -1
- package/bundle/obf/src/commands/murder.js +1 -1
- package/bundle/obf/src/commands/proxy.js +1 -1
- package/bundle/obf/src/commands/reconfig.js +1 -1
- package/bundle/obf/src/commands/run/_index.js +1 -1
- package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/run/run.command.js +1 -1
- package/bundle/obf/src/commands/set/_index.js +1 -1
- package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/set.command.js +1 -1
- package/bundle/obf/src/commands/ssh.js +1 -1
- package/bundle/obf/src/commands/ssl.js +1 -1
- package/bundle/obf/src/commands/test.js +1 -1
- package/bundle/obf/src/commands/version.js +1 -1
- package/bundle/obf/src/error.js +1 -1
- package/bundle/obf/src/exec.js +2 -0
- 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 -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 +4 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a99o=a99d;(function(a,b){const l=a99d,c=a();while(!![]){try{const d=parseInt(l(0x124))/0x1*(-parseInt(l(0x115))/0x2)+-parseInt(l(0x104))/0x3*(-parseInt(l(0x11f))/0x4)+-parseInt(l(0x10c))/0x5+-parseInt(l(0x120))/0x6*(parseInt(l(0x121))/0x7)+parseInt(l(0x114))/0x8*(parseInt(l(0x127))/0x9)+-parseInt(l(0x128))/0xa+parseInt(l(0x129))/0xb*(parseInt(l(0x107))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a99c,0x36ce7));const a99b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a99d;if(c){const e=c[m(0x110)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a99a=a99b(this,function(){const n=a99d;return a99a[n(0x11b)]()[n(0x12b)](n(0x12a))[n(0x11b)]()[n(0x10a)](a99a)['search'](n(0x12a));});a99a();import a99e from'path';import{Generator}from'../generator.js';function a99d(a,b){const c=a99c();return a99d=function(d,e){d=d-0x102;let f=c[d];return f;},a99d(a,b);}function a99c(){const s=['100938YrGIBP','140fGNbOo','ssr','features','47cUjvRN','theme','engines','261zuCiKt','2136710sTomqO','451cRtMBy','(((.+)+)+)+$','search','packages','.js','noRename','client','create','template/template.js','9759wNxQQF','store','fsi','188184UrPjZL','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','/package.js','constructor','layout','1839155KUUKws','forEach','template','pathFromProject','apply','pathFromAppWithNoReWrite','component','tests/server','38976AyVrQS','538GoJcSp','package.js','relative','package/package.js','hasOwnProperty','package/','toString','lib','resourceName','dir','456LnzVFt'];a99c=function(){return s;};return a99c();}import{camelCase,paramCase,pascalCase}from'change-case';Generator[a99o(0x102)]({'name':'package','aliases':['p'],'usage':a99o(0x108),'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','validOpts':['dir'],'examples':['maka\x20g:package\x20todos:package']},async function(a,b){const p=a99o,c=paramCase(b[p(0x11d)]),d=this['fsi']['pathFromApp']({'pathParts':[p(0x12c),b['dir'],c]}),e=this[p(0x106)][p(0x111)]({'pathParts':[p(0x12c),b[p(0x11e)],c,p(0x116)]}),f=this[p(0x106)]['getProjectConfig']();this[p(0x106)]['withValue'](f,async()=>{const q=p,g={'name':paramCase(b[q(0x11d)]),'myPath':a99e[q(0x117)](this[q(0x106)][q(0x10f)]({}),d),'cssCaseName':paramCase(b[q(0x11d)]),'className':pascalCase(b[q(0x11d)]),'camelCaseName':camelCase(b[q(0x11d)]),'fileName':c,'client':f['engines'][q(0x12f)],'graphql':f['engines']['graphql'],'ssr':f['engines'][q(0x122)],'isComponent':b[q(0x119)](q(0x112)),'isLayout':b[q(0x119)](q(0x10b)),'isStore':b[q(0x119)](q(0x105)),'features':f[q(0x123)],'noRename':!![],'theme':f[q(0x126)][q(0x125)]};this['fsi']['template']({'srcPath':q(0x118),'destPath':e,'context':g,'config':f}),g[q(0x12e)]=![];const h=d+'/client/'+c+q(0x12d);this[q(0x106)][q(0x10e)]({'srcPath':q(0x103),'destPath':h,'context':g,'config':f});const i=[q(0x11c),'server','tests/client',q(0x113)];i[q(0x10d)](j=>{const r=q,k=d+'/'+j+'/'+c+r(0x12d);this[r(0x106)][r(0x10e)]({'srcPath':r(0x11a)+j+r(0x109),'destPath':k,'context':g,'config':f});});});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a100d(a,b){const c=a100c();return a100d=function(d,e){d=d-0x78;let f=c[d];return f;},a100d(a,b);}const a100p=a100d;(function(a,b){const m=a100d,c=a();while(!![]){try{const d=-parseInt(m(0x7d))/0x1*(parseInt(m(0x86))/0x2)+parseInt(m(0xa0))/0x3*(-parseInt(m(0x81))/0x4)+-parseInt(m(0x7a))/0x5+parseInt(m(0xb3))/0x6*(parseInt(m(0xbf))/0x7)+parseInt(m(0xa2))/0x8+-parseInt(m(0x89))/0x9+parseInt(m(0xaf))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a100c,0x21511));const a100b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a100d;if(c){const e=c[n(0xa8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a100a=a100b(this,function(){const o=a100d;return a100a[o(0xb1)]()[o(0xa4)](o(0x8f))[o(0xb1)]()[o(0xbc)](a100a)[o(0xa4)]('(((.+)+)+)+$');});a100a();import a100e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';function a100c(){const s=['Updating\x20npm\x20packages\x20...','test','string','features','155742ZeCiuV','imports','1076944RWJXIU','resourceName','search','component','fsi','installNpmPackage','apply','template','maka\x20g:page\x20todos/todos-item','none','template/template.css','checkNpmPackage','tsx','5637690hgcDuf','rewriteDestinationPathForEngine','toString','engines','54uDgeDA','templates.js','withTranslations','withHook','html','ramda','lib','getProjectConfig','store','constructor','api','ssr','72870erEGGR','maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','dir','/imports/ui/pages','Generate\x20a\x20page.','679920RHfCse','component/component.js','assign','26654vFpvZt','css','setTemplate','import\x20\x27./','16LvlJBi','react','startup','injectAtEndOfFile','className','10SRuvMU','client','layout','1608318oUZhTu','.html','template/template.html','withValue','\x20}\x20from\x20\x27','warn','(((.+)+)+)+$','true','pathFromProject','graphql','page','injectAtBeginningOfFile','fileName','\x27;\x0a','hasOwnProperty','test/test.js','import\x20{\x20','pathFromApp','.js'];a100c=function(){return s;};return a100c();}const aliases=['p'];Generator['create']({'name':a100p(0x93),'aliases':aliases,'usage':a100p(0xc0),'shortDesc':a100p(0x79),'validOpts':['dir','withHook'],'examples':[a100p(0xaa)]},function(a,b){const q=a100p,c=q(0x78),d=this[q(0xa6)][q(0x9a)](b),e=this[q(0xa6)]['pathFromApp']({'pathParts':[c,b[q(0xc1)],paramCase(b[q(0xa3)]),paramCase(b['resourceName'])]}),f=this['fsi'][q(0xba)]();this[q(0xa6)][q(0x8c)](f,()=>{const r=q;typeof f[r(0xa9)][r(0xb7)]===r(0x9e)&&(f[r(0xa9)][r(0xb7)]=f[r(0xa9)][r(0xb7)]===r(0x90)?!![]:![],this[r(0xa6)][r(0x7f)](r(0xb7),f['template'][r(0xb7)]));typeof f[r(0xa9)]['test']===r(0x9e)&&(f[r(0xa9)]['test']=f[r(0xa9)][r(0x9d)]==='true'?!![]:![],this[r(0xa6)][r(0x7f)](r(0x9d),f[r(0xa9)][r(0x9d)]));typeof f[r(0xa9)]['css']===r(0x9e)&&(f['template'][r(0x7e)]=f[r(0xa9)][r(0x7e)]==='true'?!![]:![],this[r(0xa6)][r(0x7f)](r(0x7e),f[r(0xa9)][r(0x7e)]));typeof f[r(0xa9)]['js']==='string'&&(f[r(0xa9)]['js']=f[r(0xa9)]['js']===r(0x90)?!![]:![],this[r(0xa6)][r(0x7f)]('js',f[r(0xa9)]['js']));!f[r(0x9f)]&&(f[r(0x9f)]={});!b['root']&&!this[r(0xa6)][r(0xad)](r(0xb8))&&(Log[r(0x8e)](r(0x9c)),this['fsi'][r(0xa7)](r(0xb8),{'cwd':d}));const g={'name':pascalCase(b[r(0xa3)]),'myPath':a100e['relative'](this[r(0xa6)][r(0x91)]({}),e),'cssCaseName':paramCase(b[r(0xa3)]),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b[r(0xa3)]),'fileName':paramCase(b['resourceName']),'graphql':f['engines'][r(0x92)],'features':f[r(0x9f)],'client':f[r(0xb2)][r(0x87)],'api':f[r(0xb2)][r(0xbd)],'ssr':f[r(0xb2)][r(0xbe)],'isStore':b[r(0x97)](r(0xbb)),'isComponent':b[r(0x97)](r(0xa5)),'isLayout':b[r(0x97)](r(0x88)),'withTranslations':f['features'][r(0xb5)],'test':f[r(0xb2)][r(0x9d)],'theme':f[r(0xb2)]['theme']};f[r(0xa9)][r(0xb7)]&&this[r(0xa6)]['template']({'srcPath':r(0x8b),'destPath':e+r(0x8a),'context':g,'config':f});f[r(0x9f)]?.['withHooks']||b[r(0xb6)]?this['fsi']['template']({'srcPath':'hook/hook.js','destPath':e+r(0x9b),'framework':r(0x82),'context':g,'config':f}):this[r(0xa6)][r(0xa9)]({'srcPath':r(0x7b),'destPath':e+r(0x9b),'framework':r(0x82),'context':g,'config':f});f[r(0xb2)][r(0x9d)]!==r(0xab)&&this['fsi'][r(0xa9)]({'srcPath':r(0x98),'destPath':e+'.app-tests.js','framework':r(0x82),'context':g,'config':f});f[r(0xa9)]['css']&&this[r(0xa6)][r(0xa9)]({'srcPath':r(0xac),'destPath':e+'.css','context':Object[r(0x7c)]({},g,{'className':paramCase(b['resourceName'])}),'config':f});f[r(0xb2)][r(0x87)]!==r(0x82)&&f[r(0xb2)][r(0x87)]!=='vanilla'?(f[r(0xa9)][r(0x7e)]&&this['fsi'][r(0x94)]({'filePath':e+'.'+f['engines']['js'],'content':r(0x80)+g[r(0x95)]+'.'+f[r(0xb2)][r(0xb7)]+r(0x96)+'import\x20\x27./'+g[r(0x95)]+'.'+f[r(0xb2)]['css']+'\x27;'}),!f['template'][r(0x7e)]&&this[r(0xa6)]['injectAtBeginningOfFile']({'filePath':e+'.'+f[r(0xb2)]['js'],'content':r(0x80)+g[r(0x95)]+'.'+f[r(0xb2)][r(0xb7)]+'\x27;'})):f['template'][r(0x7e)]&&this[r(0xa6)][r(0x94)]({'filePath':e+'.'+f[r(0xb2)]['js'],'content':r(0x80)+g[r(0x95)]+'.'+f[r(0xb2)][r(0x7e)]+'\x27;'});const h=b['dir']?'/'+b[r(0xc1)]+'/':'/',i=''+c+h+g[r(0x95)]+'/'+g[r(0x95)];let j;if(f['engines'][r(0xbe)]===r(0x90)){const k=this[r(0xa6)][r(0x9a)]({'pathParts':[r(0xa1),r(0x83),r(0xb9),r(0xb4)]});j=this[r(0xa6)][r(0xb0)]({'pathParts':[k],'config':f});}else{const l=this[r(0xa6)][r(0x9a)]({'pathParts':[r(0xa1),r(0x83),r(0x87),r(0xb4)]});j=this[r(0xa6)][r(0xb0)]({'pathParts':[l],'config':f});}f[r(0xb2)][r(0x87)]===r(0x82)?(f[r(0xb2)]['js']===r(0xae)?this['fsi'][r(0x94)]({'filePath':j,'content':r(0x99)+g['className']+r(0x8d)+i+'\x27;\x0a'}):this[r(0xa6)][r(0x94)]({'filePath':j,'content':'import\x20{\x20'+g[r(0x85)]+r(0x8d)+i+'.'+f[r(0xb2)]['js']+r(0x96)}),this[r(0xa6)][r(0x84)]({'filePath':j,'content':'export\x20{\x20'+g[r(0x85)]+'\x20};\x0a'})):this['fsi'][r(0x84)]({'filePath':j,'content':'import\x20\x27'+i+'.'+f[r(0xb2)]['js']+r(0x96)});});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a101j=a101d;function a101c(){const m=['1638591udOguE','4014ypWtPn','maka\x20g:publish\x20todos','24qUHXKh','(((.+)+)+)+$','tsx','search','40AcbwQu','1588sSpyJJ','withValue','toString','injectAtEndOfFile','publish/publish.','fsi','Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','engines','918967gFVGrm','resourceName','templateContent','maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','2285sEDeta','constructor','92196XcvAGR','1236960cKAWcH','64930cYqXbE','publish','create','getProjectConfig'];a101c=function(){return m;};return a101c();}(function(a,b){const h=a101d,c=a();while(!![]){try{const d=-parseInt(h(0x80))/0x1+parseInt(h(0x82))/0x2+parseInt(h(0x6a))/0x3+parseInt(h(0x72))/0x4*(-parseInt(h(0x7e))/0x5)+-parseInt(h(0x81))/0x6+parseInt(h(0x7a))/0x7*(parseInt(h(0x6d))/0x8)+parseInt(h(0x6b))/0x9*(parseInt(h(0x71))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a101c,0x78ba8));function a101d(a,b){const c=a101c();return a101d=function(d,e){d=d-0x68;let f=c[d];return f;},a101d(a,b);}const a101b=(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;};}()),a101a=a101b(this,function(){const i=a101d;return a101a[i(0x74)]()[i(0x70)]('(((.+)+)+)+$')[i(0x74)]()[i(0x7f)](a101a)[i(0x70)](i(0x6e));});a101a();import{paramCase}from'change-case';import{Generator}from'../generator.js';Generator[a101j(0x68)]({'name':a101j(0x83),'aliases':['p'],'usage':a101j(0x7d),'shortDesc':a101j(0x78),'validOpts':[],'examples':[a101j(0x6c)]},async function(a,b){const k=a101j,c=this[k(0x77)][k(0x69)]();this['fsi'][k(0x73)](c,async()=>{const l=k,d={'name':b[l(0x7b)],'collection':paramCase(b[l(0x7b)]),'noRename':!![]};let e='js';c[l(0x79)]['js']===l(0x6f)&&(e='ts');const f=this[l(0x77)]['rewriteDestinationPathForEngine']({'pathParts':['server/publish.'+c['engines']['js']]}),g=this['fsi'][l(0x7c)]({'srcPath':l(0x76)+e,'context':d,'config':c});this['fsi'][l(0x75)]({'filePath':f,'content':'\x0a'+g});});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a102y=a102d;function a102c(){const G=['join','345638VDzQEk','filter','PrivateLayout','vanilla','engines','layout','cwd','<Router','findGenerator','create','fsi','1140wpcgbt','ssr','toLowerCase','\x22*\x22','url','warn','apply','imports','readFileLines','map','const\x20privateRoutes\x20=\x20(<>','maka\x20g:route\x20todosIndex\x20todos','11668vXvYII','toString','withTranslations','<Route','43356910OlRfya','length','maka\x20g:route\x20usersShow\x20users/:id/show\x20--layout\x20userView','4777452rmlRYn','210duilbO','react','search','injectAfterLineNumber','pathFromApp','maka\x20g:route\x20todosEdit\x20todos/:id/edit','\x0a\x09\x09','maka\x20g:route\x20lists/listIndex\x20lists','error','injectIntoFile','true','(((.+)+)+)+$','lib','only','withValue','734752KVFcAr','271428Locdks','constructor','config','routes.js','route/route.js','client','includes','</Router>','Scaffolding\x20for\x20a\x20Route.','templateContent','3488992AdSYyo','24ahDzzn','root','page','indexOf','startup','const\x20publicRoutes\x20=\x20(<>','rewriteDestinationPathForEngine','invoke','withHook','private'];a102c=function(){return G;};return a102c();}(function(a,b){const v=a102d,c=a();while(!![]){try{const d=parseInt(v(0xa4))/0x1+-parseInt(v(0xbb))/0x2*(parseInt(v(0xb0))/0x3)+-parseInt(v(0x8d))/0x4*(parseInt(v(0xc6))/0x5)+parseInt(v(0xa5))/0x6*(-parseInt(v(0x95))/0x7)+-parseInt(v(0xaf))/0x8+-parseInt(v(0x94))/0x9+parseInt(v(0x91))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a102c,0xaa963));const a102b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a102d;if(c){const e=c[w(0xcc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a102a=a102b(this,function(){const x=a102d;return a102a[x(0x8e)]()[x(0x97)](x(0xa0))[x(0x8e)]()[x(0xa6)](a102a)[x(0x97)]('(((.+)+)+)+$');});a102a();import a102e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a102f from'../generators/maka.gen.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['r'];function a102d(a,b){const c=a102c();return a102d=function(d,e){d=d-0x89;let f=c[d];return f;},a102d(a,b);}Generator[a102y(0xc4)]({'name':'route','aliases':aliases,'validOpts':[a102y(0xb9),'layout',a102y(0xa2),a102y(0xc1),a102y(0xa7),a102y(0xb1),a102y(0xb8),a102y(0xca)],'usage':'maka\x20{generate,\x20g}:{route,\x20r}\x20[path/]<name>\x20[url]\x20[--private]','shortDesc':a102y(0xad),'examples':[a102y(0x8c),a102y(0x9a),a102y(0x93),a102y(0x9c)]},function(a,b){const z=a102y;try{const c=this['fsi']['getProjectConfig']();this[z(0xc5)][z(0xa3)](c,async()=>{const A=z,d=b['private']??![];let f=paramCase(a[0x0]),g='/'+f;a['length']>0x1&&(g='/'+a[A(0xbc)](function(l){return l!=='/';})[A(0xba)]('/')[A(0xc8)]());f=camelCase(f);b[A(0xc0)]&&(b[A(0xc0)]=camelCase(b[A(0xc0)]));const h=a102e[A(0xba)]('/imports/ui/pages',f,f),i={'name':f,'fileCase':paramCase(f),'camelCaseName':camelCase(f),'url':g,'layout':b[A(0xc0)]||'MasterLayout','templatePath':h,'templateName':pascalCase(f),'client':c[A(0xbf)][A(0xaa)],'newForm':![],'withTranslations':c['features'][A(0x8f)]};d&&(i[A(0xc0)]=A(0xbd));if(!b[A(0xb1)]){const l=a102f[A(0xc3)](A(0xb2));l&&await l[A(0xb7)](a,b);}let j,k;if(c[A(0xbf)][A(0xaa)]===A(0x96)){if(c[A(0xbf)][A(0xc7)]===A(0x9f)){const p=this[A(0xc5)][A(0x99)]({'pathParts':[A(0xcd),'startup',A(0xa1),A(0xa8)]});j=this[A(0xc5)][A(0xb6)]({'pathParts':[p],'config':c});}else{const q=this[A(0xc5)][A(0x99)]({'pathParts':['imports','startup','client',A(0xa8)]});j=this[A(0xc5)][A(0xb6)]({'pathParts':[q],'config':c});}const m=this['fsi'][A(0x89)](j)[A(0x8a)]((r,s)=>{return r['includes']('import\x20*\x20as\x20Component\x20from\x20\x27./templates\x27;')?s+0x1:null;})[A(0xbc)](r=>r!==null);let n=this[A(0xc5)]['readFileLines'](j)[A(0x8a)]((r,s)=>{const B=A;return r[B(0xab)](B(0xb5))?s+0x1:null;})[A(0xbc)](r=>r!==null),o=this[A(0xc5)][A(0x89)](j)[A(0x8a)]((r,s)=>{const C=A;return r[C(0xab)](C(0x8b))?s+0x1:null;})[A(0xbc)](r=>r!==null);n['length']>0x0&&o[A(0x92)]>0x0&&(i['newForm']=!![]);k=this[A(0xc5)]['templateContent']({'srcPath':A(0xa9),'framework':A(0x96),'context':i,'config':c});if(n[A(0x92)]>0x0||o[A(0x92)]>0x0){this[A(0xc5)][A(0x98)]({'filePath':j,'content':k,'lineNumber':m[0x0]});if(d&&o[A(0x92)]>0x0)o=this[A(0xc5)][A(0x89)](j)['map']((r,s)=>{const D=A;return r[D(0xab)](D(0x8b))?s+0x1:null;})[A(0xbc)](r=>r!==null),this[A(0xc5)]['injectAfterLineNumber']({'filePath':j,'content':'\x09{'+i['templateName']+'}','lineNumber':o[0x0]});else n[A(0x92)]>0x0?(n=this[A(0xc5)][A(0x89)](j)[A(0x8a)]((r,s)=>{const E=A;return r[E(0xab)](E(0xb5))?s+0x1:null;})[A(0xbc)](r=>r!==null),this[A(0xc5)][A(0x98)]({'filePath':j,'content':'\x09{'+i['templateName']+'}','lineNumber':n[0x0]})):Log[A(0xcb)]('Could\x20not\x20find\x20a\x20suitable\x20location\x20to\x20enable\x20this\x20route.\x20\x20Please\x20inspect\x20'+j);}else{const r=this[A(0xc5)][A(0x89)](j)[A(0x8a)](u=>{const F=A;return u['includes'](F(0xc9));}),s=r[A(0xb3)](!![])>-0x1,t=s?A(0x90):A(0xac);this[A(0xc5)][A(0x9e)]({'filePath':j,'content':A(0x9b)+k+A(0x9b),'begin':A(0xc2),'end':t});}}else{if(c[A(0xbf)]['client']===A(0xbe)){const u=this[A(0xc5)][A(0x99)]({'pathParts':[A(0xcd),A(0xb4),A(0xaa),'routes.js']});j=this[A(0xc5)][A(0xb6)]({'pathParts':[u],'config':c}),k=this['fsi'][A(0xae)]({'srcPath':A(0xa9),'context':i}),this[A(0xc5)]['injectAtEndOfFile']({'filePath':j,'content':'\x0a'+k});}}});}catch(d){Log[z(0x9d)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a103l=a103d;function a103d(a,b){const c=a103c();return a103d=function(d,e){d=d-0xf7;let f=c[d];return f;},a103d(a,b);}(function(a,b){const j=a103d,c=a();while(!![]){try{const d=-parseInt(j(0x105))/0x1*(parseInt(j(0x102))/0x2)+-parseInt(j(0x113))/0x3+parseInt(j(0xfa))/0x4*(-parseInt(j(0x110))/0x5)+parseInt(j(0x100))/0x6+parseInt(j(0x106))/0x7+parseInt(j(0xf7))/0x8+-parseInt(j(0x115))/0x9*(-parseInt(j(0x103))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a103c,0x375d8));function a103c(){const o=['logger','service','error','497502XCuUUE','getProjectConfig','182548OUNjCz','50AmYEHE','service/logger/logger.js','4wANOYo','1379721pjycfm','template','checkNpmPackage','lib','type','winston','constructor','(((.+)+)+)+$','Generate\x20a\x20service\x20to\x20run\x20within\x20your\x20meteor\x20application.','fsi','5aRLIMU','maka\x20{generate,\x20g}:{service}\x20[service-type]','search','872181VXaSjD','installNpmPackage','1264689uKiUty','imports','svc','1016872iobndT','pathFromApp','toString','908540gpRKdG','resourceName','services'];a103c=function(){return o;};return a103c();}const a103b=(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;};}()),a103a=a103b(this,function(){const k=a103d;return a103a['toString']()[k(0x112)](k(0x10d))[k(0xf9)]()[k(0x10c)](a103a)[k(0x112)](k(0x10d));});a103a();import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator['create']({'name':a103l(0xfe),'aliases':[a103l(0x117)],'usage':a103l(0x111),'shortDesc':a103l(0x10e),'validOpts':[a103l(0x10a)],'validArgs':['logger'],'maxArgLength':0x1,'minArgLength':0x1,'examples':['maka\x20g:svc\x20logger']},async function(a,b){const m=a103l;try{const c=this[m(0x10f)][m(0x101)]();this[m(0x10f)]['withValue'](c,async()=>{const n=m,d=this[n(0x10f)][n(0xf8)]({}),f=paramCase(b[n(0xfb)]),g={'name':pascalCase(b[n(0xfb)]),'fileName':f,'camelCase':camelCase(b['resourceName']),'type':a[0x0],'engine':c['engines']['js'],'noRename':!![]};let h='js';c['engines']['js']==='tsx'&&(h='ts');if(a[0x0]===n(0xfd)){!this[n(0x10f)][n(0x108)](n(0x10b))&&await this[n(0x10f)][n(0x114)]('winston\x20setimmediate',{'cwd':d,'msg':'Installing\x20winston'});const i=this[n(0x10f)]['pathFromApp']({'pathParts':[n(0x116),'startup',n(0x109),n(0xfc),f+'.'+h]});this[n(0x10f)][n(0x107)]({'srcPath':n(0x104),'destPath':i,'context':g,'config':c});}});}catch(d){Log[m(0xff)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a104d,c=a();while(!![]){try{var d=-parseInt(f(0x1d9))/0x1+parseInt(f(0x1dc))/0x2+-parseInt(f(0x1d7))/0x3*(-parseInt(f(0x1df))/0x4)+-parseInt(f(0x1db))/0x5*(-parseInt(f(0x1d8))/0x6)+-parseInt(f(0x1e0))/0x7+parseInt(f(0x1da))/0x8*(parseInt(f(0x1e2))/0x9)+parseInt(f(0x1dd))/0xa*(-parseInt(f(0x1e4))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a104c,0xddaca));function a104d(a,b){var c=a104c();return a104d=function(d,e){d=d-0x1d6;var f=c[d];return f;},a104d(a,b);}var a104b=(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;};}()),a104a=a104b(this,function(){var g=a104d;return a104a[g(0x1de)]()[g(0x1e3)](g(0x1e1))[g(0x1de)]()[g(0x1d6)](a104a)[g(0x1e3)](g(0x1e1));});a104a();import'./translation.js';function a104c(){var h=['153NrnHla','search','11Oqzmpw','constructor','9EFJoBT','1883928NRbkaH','429674oZoQAe','662696rfKPea','15xElkZJ','3052390fXpZnt','18836870AjFZTj','toString','240796BqdSsB','5849522DGFdPu','(((.+)+)+)+$'];a104c=function(){return h;};return a104c();}import'./openssl.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a105l=a105d;(function(a,b){const i=a105d,c=a();while(!![]){try{const d=parseInt(i(0xf7))/0x1+parseInt(i(0x104))/0x2*(-parseInt(i(0xf8))/0x3)+-parseInt(i(0x10b))/0x4+parseInt(i(0x101))/0x5+parseInt(i(0xfd))/0x6*(-parseInt(i(0xf3))/0x7)+-parseInt(i(0x10a))/0x8+parseInt(i(0xfc))/0x9*(parseInt(i(0x105))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a105c,0xabd2c));const a105b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a105d;if(c){const e=c[j(0x109)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a105a=a105b(this,function(){const k=a105d;return a105a[k(0xfa)]()['search']('(((.+)+)+)+$')['toString']()[k(0xf5)](a105a)['search'](k(0x108));});function a105c(){const o=['constructor','fsi','1192004GrXgKY','552561fSYIWX','env','toString','appName','26225865chNFAQ','56526abAGfg','Generate\x20a\x20new\x20openssl\x20config\x20file','error','maka\x20g:sslconfig\x20--env\x20dev','296530drCgRj','openssl.conf','getProjectConfig','14FTCBuB','10MbGTVN','template','getGlobalConfig','(((.+)+)+)+$','apply','4664040xmVxkw','2852160owhMgI','openssl/openssl.conf','651dURhlM','sslconfig'];a105c=function(){return o;};return a105c();}a105a();import{Generator}from'../../generator.js';function a105d(a,b){const c=a105c();return a105d=function(d,e){d=d-0xf3;let f=c[d];return f;},a105d(a,b);}import{Log}from'../../tools/log/log.class.js';import a105e from'path';Generator['create']({'name':a105l(0xf4),'usage':'maka\x20{generate,\x20g}:sslconfig','shortDesc':a105l(0xfe),'noResource':!![],'requiredOpts':[a105l(0xf9)],'examples':[a105l(0x100)],'validOpts':[a105l(0xf9)]},async function(a,b){const m=a105l;try{const c=await this['fsi'][m(0x103)](),d=await this[m(0xf6)][m(0x107)](),f=this[m(0xf6)]['getConfigPath'](b[m(0xf9)]),g=a105e['join'](f,'_keys',m(0x102));await this[m(0xf6)]['withValue'](c,async()=>{const n=m,h={'app':d[n(0xfb)],'noRename':!![]};await this[n(0xf6)][n(0x106)]({'srcPath':n(0x10c),'destPath':g,'framework':'service','context':h,'config':c});});}catch(h){Log[m(0xff)](h);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a106A=a106d;(function(a,b){const x=a106d,c=a();while(!![]){try{const d=parseInt(x(0x206))/0x1+-parseInt(x(0x1f4))/0x2*(-parseInt(x(0x1dd))/0x3)+parseInt(x(0x20e))/0x4+-parseInt(x(0x1fa))/0x5+parseInt(x(0x200))/0x6+parseInt(x(0x1e7))/0x7+-parseInt(x(0x201))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a106c,0x1ed72));const a106b=(function(){let a=!![];return function(b,c){const d=a?function(){const y=a106d;if(c){const e=c[y(0x213)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a106a=a106b(this,function(){const z=a106d;return a106a[z(0x203)]()[z(0x205)](z(0x209))['toString']()[z(0x1ff)](a106a)[z(0x205)](z(0x209));});function a106c(){const D=['Locale\x20already\x20exported:\x20','constructor','148578ZYwzAA','4620728NNUUWO','checkNpmPackage','toString','i18n','search','171499iWzPCa','create','locales','(((.+)+)+)+$','exit','maka\x20g:translation\x20--lang=fr','index.js','maka\x20g:translation\x20--lang=de','455376KXFIJu','client','import\x20\x27../lib/services/translations/i18n\x27;\x0a','i18n.js','features.withTranslations','apply','maka\x20g:translation\x20--lang=en\x20(default)','rewriteDestinationPathForEngine','i18n/i18n.js','ssr','startup','service','root','9HWaAAU','services','getGlobalConfig','imports','.js','getProjectConfig','withValue','i18n/locales.js','Generate\x20a\x20new\x20locale\x20translation','injectAtBeginningOfFile','1451114OaRkTS','warn','import\x20\x27../lib/services/translations/i18n\x27;','injectAtEndOfFile','i18next\x20i18next-browser-languagedetector\x20react-i18next','engines','default\x20as\x20','pathFromApp','maka\x20{generate,\x20g}:translation\x20--lang=<language>','Locale\x20already\x20defined:\x20','index.','isFile','lang','136314ejBpKv','\x20}\x20from\x20\x27./','fsi','template','installNpmPackage','translations','89830fNvcOM','lib','i18next','readFileSync'];a106c=function(){return D;};return a106c();}a106a();import{Generator}from'../../generator.js';function a106d(a,b){const c=a106c();return a106d=function(d,e){d=d-0x1d9;let f=c[d];return f;},a106d(a,b);}import{Log}from'../../tools/log/log.class.js';import a106e from'fs';Generator[a106A(0x207)]({'name':'translation','usage':a106A(0x1ef),'aliases':[a106A(0x204)],'shortDesc':a106A(0x1e5),'noResource':!![],'examples':[a106A(0x214),a106A(0x20b),a106A(0x20d)],'validOpts':['lang']},function(a,b){const B=a106A;try{const c=this[B(0x1f6)][B(0x1e2)](),d=this[B(0x1f6)][B(0x1df)](),f=this[B(0x1f6)]['findAppDirectory']();this[B(0x1f6)][B(0x1e3)](c,()=>{const C=B;try{!b[C(0x1f3)]&&(b[C(0x1f3)]='en');!b[C(0x1dc)]&&!this[C(0x1f6)][C(0x202)](C(0x1fc))&&(Log[C(0x1e8)]('Verifying\x20npm\x20package\x20requirements:\x20i18next\x20...'),this[C(0x1f6)][C(0x1f8)](C(0x1eb),{'cwd':f}),this['fsi']['setProjectConfig'](C(0x212),!![]));const g=this['fsi']['pathFromApp']({'pathParts':[C(0x1e0),C(0x1da),C(0x20f),'index.js']}),h=this[C(0x1f6)][C(0x215)]({'pathParts':[g],'config':c}),i=this[C(0x1f6)]['grep'](a106e['readFileSync'](h)[C(0x203)](),C(0x1e9))[0x0]&&!![];if(c[C(0x1ec)][C(0x1d9)]==='true'){!i&&this[C(0x1f6)][C(0x1e6)]({'filePath':h,'content':C(0x210)});const t=this['fsi']['pathFromApp']({'pathParts':[C(0x1e0),'startup','server',C(0x20c)]}),u=this[C(0x1f6)][C(0x215)]({'pathParts':[t],'config':c}),v=this[C(0x1f6)]['grep'](a106e[C(0x1fd)](u)['toString'](),C(0x1e9))[0x0]&&!![];!v&&this[C(0x1f6)][C(0x1e6)]({'filePath':u,'content':C(0x210)});}else!i&&this[C(0x1f6)]['injectAtBeginningOfFile']({'filePath':h,'content':C(0x210)});const j={'app':d['appName'],'config':c},k=this['fsi'][C(0x1ee)]({'pathParts':[C(0x1e0),C(0x1da),C(0x1fb),C(0x1de),'translations',C(0x211)]}),l=this[C(0x1f6)]['isFile'](this[C(0x1f6)]['rewriteDestinationPathForEngine']({'pathParts':[k],'config':c}));!l&&this['fsi'][C(0x1f7)]({'srcPath':C(0x216),'destPath':k,'framework':C(0x1db),'context':j,'config':c});const m=this[C(0x1f6)][C(0x1ee)]({'pathParts':['imports',C(0x1da),C(0x1fb),C(0x1de),'translations',C(0x208),b[C(0x1f3)]+C(0x1e1)]}),n=this[C(0x1f6)][C(0x215)]({'pathParts':[m],'config':c}),o=this[C(0x1f6)][C(0x1f2)](n);!o?this['fsi'][C(0x1f7)]({'srcPath':C(0x1e4),'destPath':m,'framework':C(0x1db),'context':j,'config':c}):Log[C(0x1e8)](C(0x1f0)+n);const p=this[C(0x1f6)]['pathFromApp']({'pathParts':[C(0x1e0),C(0x1da),'lib',C(0x1de),C(0x1f9),C(0x208),C(0x1f1)+c['engines']['js']]}),q=this[C(0x1f6)][C(0x215)]({'pathParts':[p],'config':c}),r=this['fsi'][C(0x1f2)](q);!r&&this[C(0x1f6)][C(0x1f7)]({'srcPath':'i18n/index.js','destPath':p,'framework':C(0x1db),'context':j,'config':c});const s=this[C(0x1f6)]['grep'](a106e[C(0x1fd)](p)['toString'](),C(0x1ed)+b[C(0x1f3)])[0x0]&&!![];!s?this[C(0x1f6)][C(0x1ea)]({'filePath':p,'content':'export\x20{\x20default\x20as\x20'+b[C(0x1f3)]+C(0x1f5)+b[C(0x1f3)]+'\x27;'}):Log[C(0x1e8)](C(0x1fe)+p);}catch(w){Log['error'](w),process[C(0x20a)](0x1);}});}catch(g){Log['error'](g),process[B(0x20a)](0x1);}});
|
package/bundle/obf/src/maka.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
const a106l=a106d;function a106c(){const m=['131204NVGJzX','126804yizXPQ','parse','slice','env','214696DOOHpP','80sUlptL','MAKA_COMMAND_PATH','--max-old-space-size=','argv','floor','36vENYkQ','run','1514880DBCuaJ','toString','49828sDjFGW','constructor','search','url','3346240XLBeeY','dirname','(((.+)+)+)+$','stringify','7kOOgNL','TOOL_NODE_FLAGS','2201139BezWAe'];a106c=function(){return m;};return a106c();}(function(a,b){const j=a106d,c=a();while(!![]){try{const d=parseInt(j(0x131))/0x1+-parseInt(j(0x132))/0x2*(parseInt(j(0x13c))/0x3)+-parseInt(j(0x140))/0x4*(-parseInt(j(0x137))/0x5)+parseInt(j(0x13e))/0x6+parseInt(j(0x12e))/0x7*(parseInt(j(0x136))/0x8)+parseInt(j(0x130))/0x9+parseInt(j(0x144))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a106c,0x688ac));const a106b=(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;};}()),a106a=a106b(this,function(){const k=a106d;return a106a[k(0x13f)]()[k(0x142)](k(0x146))['toString']()[k(0x141)](a106a)[k(0x142)](k(0x146));});a106a();import a106e from'minimist';import a106f from'os';import a106g from'path';import a106h from'humps';import a106i from'./commands/maka.cmd.js';import'./commands/_index.js';import'./generators/_index.js';import{fileURLToPath}from'url';const __filename=fileURLToPath(import.meta[a106l(0x143)]),__dirname=a106g[a106l(0x145)](__filename);global[a106l(0x138)]=__dirname;const total_memory=a106f['totalmem'](),total_mem_in_kb=total_memory/0x400;let total_mem_in_mb=total_mem_in_kb/0x400;total_mem_in_mb=Math[a106l(0x13b)](total_mem_in_mb),process[a106l(0x135)][a106l(0x12f)]=a106l(0x139)+total_mem_in_mb,process['env']['BROWSERSLIST_IGNORE_OLD_DATA']='1';const argv=a106e(process[a106l(0x13a)][a106l(0x134)](0x2)),args=argv['_'],deepCopyArgv=JSON[a106l(0x133)](JSON[a106l(0x12d)](argv));function a106d(a,b){const c=a106c();return a106d=function(d,e){d=d-0x12d;let f=c[d];return f;},a106d(a,b);}delete deepCopyArgv['_'];const opts=a106h['camelizeKeys'](deepCopyArgv);a106i[a106l(0x13d)](args,opts);
|
|
1
|
+
const a107m=a107d;(function(a,b){const j=a107d,c=a();while(!![]){try{const d=parseInt(j(0xc0))/0x1+-parseInt(j(0xc1))/0x2*(-parseInt(j(0xb4))/0x3)+parseInt(j(0xbb))/0x4*(parseInt(j(0xbd))/0x5)+-parseInt(j(0xb3))/0x6*(-parseInt(j(0xad))/0x7)+-parseInt(j(0xaa))/0x8*(parseInt(j(0xab))/0x9)+parseInt(j(0xba))/0xa*(parseInt(j(0xb6))/0xb)+parseInt(j(0xbc))/0xc*(-parseInt(j(0xae))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a107c,0x628d8));const a107b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a107d;if(c){const e=c[k(0xbe)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a107a=a107b(this,function(){const l=a107d;return a107a[l(0xac)]()[l(0xbf)](l(0xb2))[l(0xac)]()['constructor'](a107a)[l(0xbf)](l(0xb2));});a107a();function a107c(){const n=['env','BROWSERSLIST_IGNORE_OLD_DATA','8032YcMrad','4068XkapIY','toString','34090SIKLme','962jMLfHs','totalmem','argv','--max-old-space-size=','(((.+)+)+)+$','396TMfkQy','964983pCdsHn','camelizeKeys','264913luOMQu','slice','stringify','MAKA_COMMAND_PATH','310dVaNZu','7860rjxWyx','288696Vufvmz','775cHSphb','apply','search','621882MoVkNf','4FvtMGF','dirname'];a107c=function(){return n;};return a107c();}import a107e from'minimist';import a107f from'os';import a107g from'path';import a107h from'humps';import a107i from'./commands/maka.cmd.js';import'./commands/_index.js';import'./generators/_index.js';import{fileURLToPath}from'url';function a107d(a,b){const c=a107c();return a107d=function(d,e){d=d-0xaa;let f=c[d];return f;},a107d(a,b);}const __filename=fileURLToPath(import.meta['url']),__dirname=a107g[a107m(0xc2)](__filename);global[a107m(0xb9)]=__dirname;const total_memory=a107f[a107m(0xaf)](),total_mem_in_kb=total_memory/0x400;let total_mem_in_mb=total_mem_in_kb/0x400;total_mem_in_mb=Math['floor'](total_mem_in_mb),process['env']['TOOL_NODE_FLAGS']=a107m(0xb1)+total_mem_in_mb,process[a107m(0xc3)][a107m(0xc4)]='1';const argv=a107e(process[a107m(0xb0)][a107m(0xb7)](0x2)),args=argv['_'],deepCopyArgv=JSON['parse'](JSON[a107m(0xb8)](argv));delete deepCopyArgv['_'];const opts=a107h[a107m(0xb5)](deepCopyArgv);a107i['run'](args,opts);
|
package/bundle/obf/src/tool.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a108k=a108d;(function(a,b){const h=a108d,c=a();while(!![]){try{const d=parseInt(h(0x18f))/0x1*(-parseInt(h(0x191))/0x2)+parseInt(h(0x199))/0x3*(parseInt(h(0x1a6))/0x4)+parseInt(h(0x1b3))/0x5*(-parseInt(h(0x1b2))/0x6)+-parseInt(h(0x18d))/0x7*(parseInt(h(0x1a9))/0x8)+-parseInt(h(0x1b4))/0x9+-parseInt(h(0x1b1))/0xa+parseInt(h(0x1ac))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a108c,0x4909b));const a108b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a108d;if(c){const e=c[i(0x1aa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a108a=a108b(this,function(){const j=a108d;return a108a[j(0x19f)]()['search'](j(0x1b5))[j(0x19f)]()['constructor'](a108a)[j(0x1b8)](j(0x1b5));});a108a();import a108e from'path';function a108c(){const x=['_handler','search','validateParams','description','name','78610OxEipV','No\x20usage\x20provided.','1145SMvold','usage','458obqPTh','shortDesc','NIE','Invalid\x20options:\x20','forEach','fsi','validateMeteorInstall','findProjectDirectory','126969oeDriC','existsSync','resourceName','dir','includes','push','toString','options','error','aliases','concat','.meteor','Missing\x20required\x20options\x20','4qkXwoR','cwd','win32','152XBWGFC','apply','platform','17331985iJGdmK','AppData','length','join','examples','2560480omfJNw','18uOykqB','555455lfpbuP','2285091uebeWb','(((.+)+)+)+$','parent'];a108c=function(){return x;};return a108c();}import a108f from'os';import a108g from'fs';const homeDir=a108f['homedir']();import{Docker}from'./tools/docker/docker.class.js';import{FSI}from'./tools/fsi/fsi.class.js';function a108d(a,b){const c=a108c();return a108d=function(d,e){d=d-0x18b;let f=c[d];return f;},a108d(a,b);}import{Log}from'./tools/log/log.class.js';import{UsageError}from'./error.js';export class Tool{['docker'];[a108k(0x196)];[a108k(0x1a0)];[a108k(0x18c)];[a108k(0x1b6)];[a108k(0x1b7)];constructor(){const l=a108k;this['docker']=new Docker(),this[l(0x196)]=new FSI();}['match'](a){const m=a108k,b=[this[m(0x18c)]][m(0x1a3)](this[m(0x1a0)][m(0x1a2)]||[]);return this[m(0x1b6)]&&b['push'](this[m(0x1b6)]),b[m(0x19d)](a);}['validateMakaProject'](){const n=a108k,a=this['fsi'][n(0x198)]();return a!==![]?!![]:![];}[a108k(0x197)](){const o=a108k;let a=a108e[o(0x1af)](homeDir,o(0x1a4));const b=process[o(0x1ab)]===o(0x1a8);if(b){a=a108e[o(0x1af)](homeDir,o(0x1ad),'Local',o(0x1a4));if(!a108g[o(0x19a)](a))return![];}else{if(!a108g['existsSync'](a))return![];}return!![];}[a108k(0x1b9)](a,b,c){const q=a108k,{requiredOpts:requiredOpts=[],validArgs:d}=c;let {validOpts:validOpts=[]}=c;const e=Object['keys'](b);d?.['length']>0x0&&a['forEach'](f=>{const p=a108d;if(!d[p(0x19d)](f)){Log['error']('Invalid\x20argument:\x20'+f);throw new UsageError();}});if(requiredOpts?.[q(0x1ae)]>0x0){if(e[q(0x1ae)]===0x0){Log[q(0x1a1)](q(0x1a5)+requiredOpts[q(0x1af)](',\x20'));throw new UsageError();}requiredOpts[q(0x195)](f=>{if(!e['includes'](f)){Log['error']('Missing\x20required\x20option:\x20'+f);throw new UsageError();}});}validOpts=validOpts['concat'](requiredOpts),validOpts?.[q(0x1ae)]>0x0&&(validOpts[q(0x19e)]('help'),validOpts[q(0x19e)](q(0x19b)),validOpts[q(0x19e)](q(0x19c)),validOpts[q(0x19e)](q(0x1a7)),validOpts[q(0x19e)]('root'),validOpts['push']('config'),e[q(0x195)](f=>{const r=q;if(!validOpts[r(0x19d)](f)){Log[r(0x1a1)](r(0x194)+f);throw new UsageError();}}));}[a108k(0x18b)](){const s=a108k;return this['options'][s(0x18b)]||this[s(0x1a0)]['shortDesc']||'No\x20description\x20provided.';}[a108k(0x192)](){const t=a108k;return this[t(0x1a0)][t(0x192)]||t(0x193);}[a108k(0x190)](){const u=a108k;return this[u(0x1a0)]['usage']||u(0x18e);}['examples'](){const v=a108k;return this[v(0x1a0)][v(0x1b0)]||[];}[a108k(0x1a2)](){const w=a108k;return this['options'][w(0x1a2)]||'None';}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a109d(a,b){const c=a109c();return a109d=function(d,e){d=d-0x133;let f=c[d];return f;},a109d(a,b);}const a109i=a109d;(function(a,b){const f=a109d,c=a();while(!![]){try{const d=-parseInt(f(0x137))/0x1*(-parseInt(f(0x140))/0x2)+parseInt(f(0x13a))/0x3+parseInt(f(0x13b))/0x4+parseInt(f(0x134))/0x5+-parseInt(f(0x142))/0x6+parseInt(f(0x144))/0x7+-parseInt(f(0x139))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a109c,0x1a19b));const a109b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a109d;if(c){const e=c[g(0x13c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a109a=a109b(this,function(){const h=a109d;return a109a[h(0x13d)]()[h(0x136)]('(((.+)+)+)+$')[h(0x13d)]()[h(0x13e)](a109a)[h(0x136)]('(((.+)+)+)+$');});a109a();import a109e from'inquirer';export class Actions{static async[a109i(0x135)](a,b){const j=a109i,{answer:c}=await a109e[j(0x138)]({'type':b?j(0x13f):j(0x133),'name':'answer','message':a});return c;}static async[a109i(0x141)](a,b=![]){const k=a109i,{answer:c}=await a109e[k(0x138)]({'type':k(0x141),'name':k(0x143),'message':a,'default':b});return c;}static async['options'](a){const l=a109i,b=await a109e[l(0x138)](a);return b;}}function a109c(){const m=['1182288pAwiCq','86067JLimnT','470416EigqZB','apply','toString','constructor','password','10RuHBth','confirm','1150836dmqzeL','answer','67277sXvabd','input','690625AFjtsw','ask','search','30494ZaTwFQ','prompt'];a109c=function(){return m;};return a109c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a110s=a110d;function a110d(a,b){const c=a110c();return a110d=function(d,e){d=d-0xf1;let f=c[d];return f;},a110d(a,b);}(function(a,b){const p=a110d,c=a();while(!![]){try{const d=-parseInt(p(0xf2))/0x1+-parseInt(p(0x140))/0x2+-parseInt(p(0x127))/0x3+-parseInt(p(0x10e))/0x4+-parseInt(p(0x131))/0x5*(parseInt(p(0xff))/0x6)+parseInt(p(0x113))/0x7+parseInt(p(0x12e))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a110c,0xaba36));const a110b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a110d;if(c){const e=c[q(0x156)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a110a=a110b(this,function(){const r=a110d;return a110a['toString']()[r(0x120)]('(((.+)+)+)+$')[r(0x12f)]()[r(0x122)](a110a)['search'](r(0x14f));});a110a();function a110c(){const S=['success','\x20VPCID:\x20','privateIp','VpcId','KeyMaterial','chooseInstance','1008087gXqQUP','minCount','ec2rebootInstance','publicIp','imageId','\x20PUB_IP:\x20','Key\x20Name:\x20[','/dev/sdh','instanceId','running','createKeyPairEC2Key','parse','maxCount','9462ciYLsl','\x20CIDR:\x20','split','sgId','Reservations','You\x20have\x20no\x20instances\x20created\x20by\x20maka-cli.\x20\x20Please\x20reivew\x20your\x20AWS\x20console\x20manually!!!','\x20opened!','userData','createKeyPair','Name','error','notice','createFile','Error\x20saving\x20pem\x20file,\x20aborting','You\x20have\x20no\x20key-pairs,\x20please\x20create\x20one.\x20(maka\x20aws\x20create-key-pair\x20--env).','4919612HjqzvS','getConfigPath','Description:','isFile','AWS\x20was\x20not\x20able\x20to\x20validate\x20the\x20provided\x20access\x20credentials','7511294QjWtfg','_keys','find','\x20ENV:\x20','Invalid\x20choice','ec2create','writeFileSync','CidrBlock','terminated','ecrCreateRepository','Please\x20choose\x20a\x20VPC:\x20[0]\x20','length','suggestion','search','Instance\x20rebooted!','constructor','Web\x20App','That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.','status','sgIds','1419408gayVNd','forEach','file://','$metadata','Instances','ssh.json','ID:\x20','29651712lcDDER','toString','send','905bsKIDC','Value','.pem.txt','cidr','key','\x20PRIV_IP:\x20','Would\x20you\x20like\x20to\x20update\x20the\x20ssh.json\x20config\x20file?','join','log','type','vpcId','No\x20instances\x20found','deleteSecurityGroup','ingressRule','ask','2159826bOqyII','readFileSync','utf8','GroupId','UserData','GroupName','\x20NAME:\x20','stringify','name','getProjectConfig','[?]\x20Please\x20choose\x20an\x20instance\x20ID:\x20','Port\x20','**\x20Available\x20\x20VPCs\x20**','tag:created-by','push','(((.+)+)+)+$','getSecurityGroups','fsi','chmod\x20400\x20','ec2describeInstances','instance','\x20INSTANCE_ID:\x20','apply','confirm','exit','config','httpStatusCode','description'];a110c=function(){return S;};return a110c();}import a110e from'fs';import a110f from'path';import{execSync}from'child_process';import{Actions}from'../actions/actions.class.js';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{[a110s(0x151)];constructor(){const t=a110s;this[t(0x151)]=new FSI();}async[a110s(0x11c)](a){const u=a110s;try{const b={'repositoryName':a[u(0x148)]},c=new CreateRepositoryCommand(b),d=await ecrClient['send'](c);return d;}catch(f){Log['error'](f);}}async[a110s(0x118)](a){const v=a110s;try{const b={'BlockDeviceMappings':[{'DeviceName':v(0xf9),'Ebs':{'VolumeSize':0x64}}],'ImageId':a[v(0xf6)],'InstanceType':a[v(0x13a)],'KeyName':a[v(0x135)],'MaxCount':a[v(0xfe)],'MinCount':a[v(0xf3)],'SecurityGroupIds':a[v(0x126)][v(0x101)](','),'SubnetId':a['subnet'],'TagSpecifications':[{'ResourceType':v(0x154),'Tags':a['tags']}]};a[v(0x106)]&&(b[v(0x144)]=v(0x129)+a[v(0x106)]);const c=new RunInstancesCommand(b),d=await client[v(0x130)](c);return d;}catch(f){Log[v(0x109)](f);}}async['ec2terminateInstance'](a){const w=a110s;try{const b={'InstanceIds':[a[w(0xfa)]]},c=new TerminateInstancesCommand(b),d=await client[w(0x130)](c);return d;}catch(f){return Log['error'](f),{};}}async[a110s(0xfc)]({keyName:a,env:b}){const x=a110s,c=this[x(0x151)][x(0x10f)](b),d=a110f[x(0x138)](c,x(0x114),a+x(0x133));try{const f={'KeyName':a},g=new CreateKeyPairCommand(f),h=await client['send'](g),i=h[x(0x160)];if(i){await this[x(0x151)][x(0x10b)]({'filePath':d,'data':i}),execSync(x(0x152)+d,{'stdio':'ignore'});const j=this[x(0x151)][x(0x111)](d);if(j)return Log[x(0x15c)]('Pem\x20key\x20saved\x20to\x20'+d),{'keyName':a,'filePath':d};else throw new Error(x(0x10c));}else throw new Error('Error\x20generating\x20key\x20pair');}catch(k){Log['error'](k),process[x(0x158)](0x1);}}async[a110s(0x13e)]({port:a,groupId:b}){const y=a110s,c={'GroupId':b,'IpPermissions':[{'FromPort':a,'IpProtocol':'tcp','IpRanges':[{'CidrIp':'0.0.0.0/0','Description':''}],'ToPort':a}]},d=new AuthorizeSecurityGroupIngressCommand(c);return Log[y(0x10a)](y(0x14b)+a+y(0x105)),await client[y(0x130)](d);}async['ec2createSG'](a){const z=a110s;try{a['description']===''&&(a[z(0x15b)]=await Actions[z(0x13f)](z(0x110))||z(0x123));const b={'Description':a[z(0x15b)],'GroupName':a[z(0x148)],'VpcId':a[z(0x13b)]},c=new CreateSecurityGroupCommand(b),d=await client[z(0x130)](c),{GroupId:f}=d;if(!d)throw new Error('AWS\x20was\x20not\x20able\x20to\x20validate\x20the\x20provided\x20access\x20credentials');f&&a['sgPorts'][z(0x128)](g=>{const A=z;this[A(0x13e)]({'port':parseInt(g),'groupId':f});}),Log['success']('Created:\x20'+f+z(0x146)+a['name']);}catch(g){return Log[z(0x109)](g),![];}return!![];}async['ec2describeKeys'](a){const B=a110s,b=[];try{const c={},d=new DescribeKeyPairsCommand(c),f=await client[B(0x130)](d);if(!f)throw B(0x112);const {KeyPairs:g}=f;g?(g?.['forEach']((h,i)=>{const C=B;h['KeyName']&&b[C(0x14e)]({'id':i,'name':h['KeyName']});}),b[B(0x11e)]>0x0&&b[B(0x128)](h=>{const D=B;h[D(0x148)]===a?.[D(0x11f)]?Log['success'](D(0x12d)+h['id']+'\x20NAME:\x20'+h['name']):Log[D(0x10a)](D(0x12d)+h['id']+D(0x146)+h[D(0x148)]);})):Log['error'](B(0x10d));}catch(h){Log['error'](h);}return b;}async['deleteKeyPair'](a){const E=a110s;try{const b={'KeyName':a},c=new DeleteKeyPairCommand(b);await client[E(0x130)](c);}catch(d){Log[E(0x109)](d),process[E(0x158)](0x1);}}async[a110s(0x153)](){const F=a110s,a=[];try{const b={'Filters':[{'Name':F(0x14d),'Values':['maka-cli']}]},c=new DescribeInstancesCommand(b),d=await client[F(0x130)](c);d[F(0x103)]?.[F(0x128)]((f,g)=>{const G=F;if(f?.[G(0x12b)]){const {InstanceId:h,PublicIpAddress:i,PrivateIpAddress:j,State:k,KeyName:l,Tags:m}=f[G(0x12b)][0x0],n=m?.[G(0x115)](({Key:o})=>o==='environment');a[G(0x14e)]({'id':g,'instanceId':h,'privateIp':j,'publicIp':i,'status':k?.[G(0x108)],'name':l,'env':n?.[G(0x132)]});}}),a[F(0x11e)]>0x0?a['forEach'](f=>{const H=F,g='ID:\x20'+f['id']+H(0x146)+f[H(0x148)]+H(0x116)+f['env']+'\x20STATUS:\x20'+f[H(0x125)]+H(0x155)+f[H(0xfa)]+H(0xf7)+f[H(0xf5)]+H(0x136)+f[H(0x15e)];if(f[H(0x125)]===H(0x11b))Log['error'](g);else f[H(0x125)]===H(0xfb)?Log[H(0x15c)](g):Log[H(0x10a)](g);}):Log[F(0x109)](F(0x104));}catch(f){Log[F(0x109)](f);}return a;}async[a110s(0xf4)](a){const I=a110s;try{const b={'InstanceIds':[a['instanceId']]},c=new RebootInstancesCommand(b),d=await client['send'](c);return d[I(0x12a)][I(0x15a)]===0xc8&&Log['success'](I(0x121)),d;}catch(f){Log[I(0x109)](f);}}async['chooseVPC'](){const J=a110s;let a='';Log[J(0x10a)](J(0x14c));const b=new DescribeVpcsCommand({}),c=await client[J(0x130)](b),{Vpcs:d}=c,e=[];d&&d['forEach']((g,h)=>{const K=J;g[K(0x15f)]&&g[K(0x11a)]&&e[K(0x14e)]({'id':h,'vpcId':g['VpcId'],'cidr':g[K(0x11a)]});});e[J(0x128)](function(g){const L=J;console[L(0x139)](L(0x12d)+g['id']+L(0x15d)+g[L(0x13b)]+L(0x100)+g[L(0x134)]);});const f=await Actions[J(0x13f)](J(0x11d))||0x0;e['forEach'](function(g){g['id']==f&&(a=g['vpcId'],Log['success']('[+]\x20Setting\x20VPC\x20ID\x20to:\x20'+a+'\x0a'));});if(a==='')return Log[J(0x109)](J(0x124)),'';return a;}async[a110s(0xf1)](){const M=a110s,a=await this[M(0x153)]();if(a[M(0x11e)]===0x0)return Log[M(0x109)](M(0x13c)),null;const b=await Actions['ask'](M(0x14a));!b&&(Log[M(0x109)](M(0x117)),process[M(0x158)](0x0));const c=a[M(0x115)](({id:d})=>{return d==parseInt(b);})||null;return c;}async[a110s(0x107)]({env:a}){const N=a110s,b=this[N(0x151)][N(0x149)](),{appName:c}=b,d=c+'-'+a,f=await Actions[N(0x13f)](N(0xf8)+d+']\x20')||d,{filePath:g}=await this[N(0xfc)]({'keyName':f,'env':a});try{const h=await Actions[N(0x157)](N(0x137),!![]);if(h)try{const i=a110e[N(0x141)](a110f[N(0x138)](N(0x159),a,N(0x12c)),N(0x142)),j=JSON[N(0xfd)](i);j['pem']=a110f[N(0x138)](N(0x114),f+N(0x133)),a110e[N(0x119)](a110f[N(0x138)](N(0x159),a,N(0x12c)),JSON[N(0x147)](j,null,0x2));}catch(k){Log[N(0x109)](k),Log[N(0x109)]('You\x20will\x20need\x20to\x20update\x20the\x20ssh.json\x20file\x20yourself.');}}catch(l){Log[N(0x109)](l),process[N(0x158)](0x1);}return{'keyName':f,'filePath':g};}async[a110s(0x150)](a){const O=a110s,b=[],c={},d=new DescribeSecurityGroupsCommand(c),e=await client[O(0x130)](d),{SecurityGroups:f}=e;f&&f[O(0x128)](function(i,j){const P=O;i[P(0x145)]&&i[P(0x143)]&&b[P(0x14e)]({'id':j,'name':i[P(0x145)],'sgId':i[P(0x143)]});});let g='',h=0x0;return b[O(0x128)](function(i){const Q=O;i[Q(0x148)]===a&&(g=i[Q(0x102)],h=i['id']);}),{'sgList':b,'createdSgId':g,'listIndexId':h};}async[a110s(0x13d)](a){const R=a110s;try{const b={'GroupId':a},c=new DeleteSecurityGroupCommand(b);await client[R(0x130)](c);}catch(d){Log[R(0x109)](d),process[R(0x158)](0x1);}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=
|
|
1
|
+
(function(a,b){var f=a111d,c=a();while(!![]){try{var d=parseInt(f(0xdf))/0x1*(parseInt(f(0xe0))/0x2)+-parseInt(f(0xe5))/0x3*(parseInt(f(0xdb))/0x4)+-parseInt(f(0xdd))/0x5+parseInt(f(0xda))/0x6+-parseInt(f(0xe2))/0x7+parseInt(f(0xe4))/0x8+parseInt(f(0xd9))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a111c,0x71467));function a111c(){var i=['743676fUOKsl','constructor','2448890cRBahi','search','715HjKjQh','110aKhdVM','toString','6357918uJZtCC','(((.+)+)+)+$','1290776GaZVlk','12IeDJgL','apply','20285055CtHZSS','906816vLgqUL'];a111c=function(){return i;};return a111c();}function a111d(a,b){var c=a111c();return a111d=function(d,e){d=d-0xd9;var f=c[d];return f;},a111d(a,b);}var a111b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a111d;if(c){var e=c[g(0xe6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a111a=a111b(this,function(){var h=a111d;return a111a[h(0xe1)]()['search'](h(0xe3))['toString']()[h(0xdc)](a111a)[h(0xde)]('(((.+)+)+)+$');});a111a();export{};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a112d(a,b){const c=a112c();return a112d=function(d,e){d=d-0x95;let f=c[d];return f;},a112d(a,b);}const a112m=a112d;(function(a,b){const j=a112d,c=a();while(!![]){try{const d=-parseInt(j(0xab))/0x1+parseInt(j(0xb1))/0x2*(-parseInt(j(0xa8))/0x3)+-parseInt(j(0x9d))/0x4*(-parseInt(j(0xae))/0x5)+-parseInt(j(0x9f))/0x6+-parseInt(j(0xad))/0x7*(parseInt(j(0x9a))/0x8)+parseInt(j(0x99))/0x9+parseInt(j(0xa7))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a112c,0x9e5c2));const a112b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a112d;if(c){const e=c[k(0x9c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a112a=a112b(this,function(){const l=a112d;return a112a['toString']()[l(0xaa)](l(0xa5))['toString']()[l(0x97)](a112a)[l(0xaa)]('(((.+)+)+)+$');});a112a();import{execSync}from'child_process';function a112c(){const q=['.dkr.ecr.','.amazonaws.com','login','docker\x20','push','(((.+)+)+)+$','--username','27127210BBPrMo','1193724vvkqVM','tag','search','1102249UFxqDt','AWS','91uOWqQP','10ieOAsG','.amazonaws.com/','awsLogin','4aMRqEV','toString','error','constructor','join','483057nnCEhU','89896UrOlbb','inherit','apply','442880jqPoWw','--password-stdin','1770276loVFAz'];a112c=function(){return q;};return a112c();}import{Log}from'../log/log.class.js';export class Docker{static[a112m(0xa9)]({imageName:a,awsAccountId:b,region:c,repoName:d}){const n=a112m;try{const f=['tag',a,b+n(0xa0)+c+n(0xaf)+d],g=n(0xa3)+f['join']('\x20'),h=execSync(g,{'stdio':n(0x9b)})[n(0x95)]();return h;}catch(i){return Log[n(0x96)](i),'';}}static[a112m(0xb0)]({awsAccountId:a,region:b}){const o=a112m;try{const c=[o(0xa2),o(0xa6),o(0xac),o(0x9e),a+o(0xa0)+b+o(0xa1)],d=o(0xa3)+c['join']('\x20'),f=execSync(d,{'stdio':o(0x9b)})[o(0x95)]();return f;}catch(g){return Log[o(0x96)](g),'';}}static['pushImage']({awsAccountId:a,region:b,repoName:c}){const p=a112m;try{const d=[p(0xa4),a+p(0xa0)+b+p(0xaf)+c],f=p(0xa3)+d[p(0x98)]('\x20'),g=execSync(f,{'stdio':'inherit'})['toString']();return g;}catch(h){return Log['error'](h),'';}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=
|
|
1
|
+
(function(a,b){var f=a113d,c=a();while(!![]){try{var d=parseInt(f(0xaf))/0x1*(parseInt(f(0xa7))/0x2)+parseInt(f(0xaa))/0x3*(-parseInt(f(0xad))/0x4)+parseInt(f(0xb3))/0x5+parseInt(f(0xb2))/0x6+-parseInt(f(0xb0))/0x7*(parseInt(f(0xa8))/0x8)+-parseInt(f(0xa6))/0x9*(-parseInt(f(0xac))/0xa)+-parseInt(f(0xb1))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a113c,0x49203));var a113b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a113d;if(c){var e=c[g(0xae)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a113a=a113b(this,function(){var h=a113d;return a113a['toString']()[h(0xb4)](h(0xa9))['toString']()[h(0xab)](a113a)[h(0xb4)](h(0xa9));});function a113c(){var i=['constructor','60jRjbbz','712924DmTsgB','apply','3931dqVSrO','119epiEdw','2012670GYvrun','2880732jHBrlW','1154170EsKTnP','search','637641hPeOPl','58QPqNxX','193456uZqwIj','(((.+)+)+)+$','6tlBSVR'];a113c=function(){return i;};return a113c();}function a113d(a,b){var c=a113c();return a113d=function(d,e){d=d-0xa6;var f=c[d];return f;},a113d(a,b);}a113a();export{};
|