@maka/maka-cli 5.0.24 → 5.0.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundle/obf/package.json +1 -1
- package/bundle/obf/src/command.js +1 -1
- package/bundle/obf/src/commands/_index.js +1 -1
- package/bundle/obf/src/commands/ai.js +1 -1
- package/bundle/obf/src/commands/aws/_index.js +1 -1
- package/bundle/obf/src/commands/aws/aws.command.js +1 -1
- package/bundle/obf/src/commands/aws/cecr.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/decr.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/lecr.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/build/_index.js +1 -1
- package/bundle/obf/src/commands/build/build.js +1 -1
- package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/create.js +1 -1
- package/bundle/obf/src/commands/debug.js +1 -1
- package/bundle/obf/src/commands/deploy/_index.js +1 -1
- package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
- package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/_index.js +1 -1
- package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/play.command.js +1 -1
- package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/generate.js +1 -1
- package/bundle/obf/src/commands/get/_index.js +1 -1
- package/bundle/obf/src/commands/get/get.command.js +1 -1
- package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/help.js +1 -1
- package/bundle/obf/src/commands/install.js +1 -1
- package/bundle/obf/src/commands/jsdoc.js +1 -1
- package/bundle/obf/src/commands/lint.js +1 -1
- package/bundle/obf/src/commands/login.js +1 -1
- package/bundle/obf/src/commands/logout.js +1 -1
- package/bundle/obf/src/commands/logs.js +1 -1
- package/bundle/obf/src/commands/maka.cmd.js +1 -1
- package/bundle/obf/src/commands/murder.js +1 -1
- package/bundle/obf/src/commands/profile.js +1 -1
- package/bundle/obf/src/commands/proxy.js +1 -1
- package/bundle/obf/src/commands/reconfig.js +1 -1
- package/bundle/obf/src/commands/register.js +1 -1
- package/bundle/obf/src/commands/run/_index.js +1 -1
- package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/run/run.command.js +1 -1
- package/bundle/obf/src/commands/set/_index.js +1 -1
- package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/set.command.js +1 -1
- package/bundle/obf/src/commands/ssh.js +1 -1
- package/bundle/obf/src/commands/ssl.js +1 -1
- package/bundle/obf/src/commands/test.js +1 -1
- package/bundle/obf/src/commands/undo.js +1 -1
- package/bundle/obf/src/commands/version.js +1 -1
- package/bundle/obf/src/error.js +1 -1
- package/bundle/obf/src/exec.js +1 -1
- package/bundle/obf/src/generator.js +1 -1
- package/bundle/obf/src/generators/_index.js +1 -1
- package/bundle/obf/src/generators/api.js +1 -1
- package/bundle/obf/src/generators/aws/_index.js +1 -1
- package/bundle/obf/src/generators/aws/aws.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/_index.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/cloudformation.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.js +1 -1
- package/bundle/obf/src/generators/collection.js +1 -1
- package/bundle/obf/src/generators/component.js +1 -1
- package/bundle/obf/src/generators/config.js +1 -1
- package/bundle/obf/src/generators/dbc.js +1 -1
- package/bundle/obf/src/generators/dockerfile.js +1 -1
- package/bundle/obf/src/generators/hook.js +1 -1
- package/bundle/obf/src/generators/kits/_index.js +1 -1
- package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
- package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
- package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
- package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
- package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
- package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
- package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
- package/bundle/obf/src/generators/kits/kit.js +1 -1
- package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
- package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
- package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
- package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
- package/bundle/obf/src/generators/layout.js +1 -1
- package/bundle/obf/src/generators/maka.gen.js +1 -1
- package/bundle/obf/src/generators/methods.js +1 -1
- package/bundle/obf/src/generators/package.js +1 -1
- package/bundle/obf/src/generators/page.js +1 -1
- package/bundle/obf/src/generators/publish.js +1 -1
- package/bundle/obf/src/generators/route.js +1 -1
- package/bundle/obf/src/generators/service.js +1 -1
- package/bundle/obf/src/generators/services/_index.js +1 -1
- package/bundle/obf/src/generators/services/openssl.js +1 -1
- package/bundle/obf/src/generators/services/translation.js +1 -1
- package/bundle/obf/src/maka.js +1 -1
- package/bundle/obf/src/templates/meteor/app/imports/startup/client/index.js.jsx +6 -6
- package/bundle/obf/src/templates/meteor/app/imports/startup/client/index.js.tsx +6 -6
- package/bundle/obf/src/templates/meteor/app/imports/startup/lib/routes.js.jsx +8 -10
- package/bundle/obf/src/templates/meteor/app/imports/startup/lib/routes.js.tsx +8 -10
- package/bundle/obf/src/templates/meteor/app/imports/startup/server/index.js.jsx +1 -1
- package/bundle/obf/src/templates/meteor/app/imports/startup/server/index.js.tsx +1 -1
- package/bundle/obf/src/templates/react/kit/auth/service/meteor-auth-service.js.jsx +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/cfg/cfg.class.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/mpi/mpi.class.js +1 -1
- package/bundle/obf/src/tools/options/options.class.js +1 -1
- package/bundle/obf/src/tools/pkg/pkg.class.js +1 -1
- package/bundle/obf/src/tools/progress/progress.class.js +1 -1
- package/bundle/obf/src/tools/scaffold/scaffold.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
- package/package.json +1 -1
- package/delete-1.1.0.tgz +0 -0
- package/maka-maka-cli-5.0.23.tgz +0 -0
- package/matched-5.0.1.tgz +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
const a159z=a159d;(function(a,b){const v=a159d,c=a();while(!![]){try{const d=-parseInt(v(0x145))/0x1*(parseInt(v(0x12c))/0x2)+parseInt(v(0x176))/0x3*(-parseInt(v(0x101))/0x4)+-parseInt(v(0x141))/0x5*(-parseInt(v(0xfa))/0x6)+-parseInt(v(0x130))/0x7+parseInt(v(0x144))/0x8+parseInt(v(0xfc))/0x9*(-parseInt(v(0x17d))/0xa)+parseInt(v(0x10c))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a159c,0x93587));const a159b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a159d;if(c){const e=c[w(0x157)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a159a=a159b(this,function(){const x=a159d;return a159a[x(0x192)]()['search']('(((.+)+)+)+$')['toString']()[x(0x175)](a159a)['search'](x(0x178));});a159a();import a159e from'path';import a159f from'fs';function a159d(a,b){const c=a159c();return a159d=function(d,e){d=d-0xfa;let f=c[d];return f;},a159d(a,b);}import a159g from'util';import{exec}from'child_process';import a159h from'delete';import a159i from'ejs';import{pascalCase}from'change-case';import{Log}from'../log/log.class.js';const errorHandler=(a,b)=>{const y=a159d;process[y(0x11b)]['MAKA_DEV']===y(0x11c)&&Log[y(0x13b)](y(0x117)+a),b&&console[y(0x13b)](b);},isWin=process['platform']===a159z(0x190),treeSymbol=isWin?a159z(0x197):'\x20┗';function a159c(){const a5=['.js.ts','injectAtEndOfFile','12190uQwGkm','--minimal','jsx','map','match','trim','No\x20pathParts\x20option\x20provided','readFileSync','message','css','type','isFile','--release\x20','json','import\x20','injectTemplateModule','findAppDirectory','filter','ssr','win32','File\x20not\x20found:\x20','toString','ico','test','release','injectAtBeginningOfFile()','\x20->','slice','No\x20configuration\x20so\x20can\x27t\x20determine\x20engines.','468pYeICC','calculateMode','7713elnmvI','adjustIndentation','fsi','Please\x20report\x20any\x20issues\x20to\x20https://github.com/maka-io/maka-cli/issues','repeat','80COvhzf','pathFromTemplates()','getCommonIndentSize','\x20}\x20from\x20\x27','join','promisify','tsx','isArray','Directory\x20','rewriteSourcePathForEngine()','detectIndentation','41027734Wvbrbs','Unable\x20to\x20find\x20the\x20target\x20block\x20to\x20inject\x20content\x20in\x20','relative','render','.js','forEach','png','writeSourcePath','from\x20\x27','splice','isTemplateForEngine()','Error\x20in\x20','No\x20file\x20found\x20at\x20path\x20','templates.js','pop','env','True','src/templates/','injectAtEndOfFile()','.meteor','\x20updated\x20file\x20','.js.jsx','length','meteor','header','.git','stringify','split','pathFromTemplates','includes','from','injectAtBeginningOfFile','4JbeaOi','templates','rewriteDestinationPathForEngine','utf8','3512663CldJJi','pathFromApp()','Couldn\x27t\x20find\x20a\x20source\x20template\x20in\x20','injectIntoCodeBlock','rewriteDestinationPathForType()','noRename','startsWith','No\x20app\x20directory\x20found','getInstance','No\x20file\x20found\x20to\x20inject\x20content\x20into\x20at\x20path\x20','injectImport()','error','.tsx','Looking\x20for\x20','injectIntoFile','engine','isDirectory','30410MXFzkW','readdirSync','pathFromApp','283896nxruJN','569869EZdIWy','While\x20injecting\x20','isTemplateForEngine','template','concat','Error\x20in\x20injectIntoCodeBlock:\x20','engineAndTypeFromfilePath()','replace','html','instance','Creating\x20a\x20new\x20Meteor\x20project\x20with\x20an\x20alpha\x20release:\x20','\x5cS*$','mpi','injectAfterLineNumber()','sep','injectTemplateModule()','rewriteSourcePathForEngine','imports','apply','Dockerfile','.jsx','injectAroundString','\x20create\x20','No\x20filePath\x20provided\x20to\x20injectAtBeginningOfFile()','rewriteDestinationPathForType','copyTemplateDirectory()','writeFileSync','pathFromAppWithNoReWrite','\x27;\x0a','normalize','engines','No\x20matching\x20section\x20found.','verbose','startup','from\x20\x22','exit','cwd','createFile','createDirectory','injectAfterLineNumber','reduce','engineAndTypeFromfilePath','warn','templateContent','existsSync','push','.js.tsx','rewriteDestinationPathForEngine()','constructor','142488MnLlwF','Unable\x20to\x20find\x20the\x20target\x20block\x20to\x20inject\x20content.','(((.+)+)+)+$','scss','fileContainsString'];a159c=function(){return a5;};return a159c();}export class Scaffold{static [a159z(0x14e)];['fsi'];[a159z(0x151)];constructor(a,b){const A=a159z;this[A(0xfe)]=a,this[A(0x151)]=b;}static[a159z(0x138)](a,b){const B=a159z;return!Scaffold[B(0x14e)]&&(Scaffold[B(0x14e)]=new Scaffold(a,b)),Scaffold[B(0x14e)];}async['createEmptyMeteorProject'](a,b){const C=a159z;b[C(0x169)]=b[C(0x169)]||'.';const c=a159e[C(0x105)](b[C(0x169)],a),d=a159e['join'](c,C(0x11f));if(this['fsi'][C(0x140)](d))throw new Error('Meteor\x20project\x20already\x20exists\x20at\x20'+JSON['stringify'](c));const e=C(0x17e),f=a159e[C(0x105)](b[C(0x169)]),g=a159g[C(0x106)](exec),h=b[C(0x195)]?C(0x189)+b[C(0x195)]:'';b['release']&&b[C(0x195)][C(0x129)]('alpha')&&(Log['warn'](C(0x14f)+b[C(0x195)]),Log[C(0x16f)](C(0xff)));try{await g(this[C(0x151)][C(0x123)]+C(0x15b)+a+'\x20'+e+'\x20'+h,{'cwd':f});}catch(k){Log[C(0x13b)]('\x0a'+k[C(0x185)]);throw k;}const i=a159e[C(0x105)](f,a);if(!a159f[C(0x171)](i))throw new Error(C(0x109)+i+'\x20doesn\x27t\x20exist');const j=a159f[C(0x142)](i);for(const l of j){if(l!==C(0x125)&&l!==C(0x11f)){const m=a159e['join'](i,l);await a159h(m,{'force':!![]});}}}['engineAndTypeFromfilePath']({filePath:a}){const D=a159z;try{const b=/\.([A-Za-z0-9.]+)$/g;let c=a['match'](b);c=c&&c[0x0][D(0x127)]('.',0x3);if(!c)return{'type':undefined,'engine':undefined};let d=c[D(0x11a)](),f=c['pop']()||d;if(d)d=d['replace']('.','');if(f)f=f[D(0x14c)]('.','');return{'type':f,'engine':d};}catch(g){errorHandler(D(0x14b),g),process[D(0x168)](0x1);}}[a159z(0x15d)]({pathParts:a,config:b}){const E=a159z;try{const c=a[E(0x105)](a159e[E(0x153)]),d=this[E(0x16e)]({'filePath':c})[E(0x187)],f=b?.[E(0x163)][d],g=new RegExp('\x5c.'+d+E(0x150));return!d||!f?c:c[E(0x14c)](g,'.'+d);}catch(h){errorHandler(E(0x134),h),process['exit'](0x1);}}[a159z(0x147)]({pathParts:a,config:b}){const F=a159z;try{if(!b)throw new Error(F(0x199));const c=a[F(0x105)](a159e[F(0x153)]),d=this['engineAndTypeFromfilePath']({'filePath':c});if(!d[F(0x187)]||!d[F(0x13f)])return!![];const f=b[F(0x163)][d['type']];if(!f)return!![];return f===d[F(0x13f)];}catch(g){errorHandler(F(0x116),g),process[F(0x168)](0x1);}}[a159z(0x113)]({pathParts:pathParts=[]}){const G=a159z;return pathParts[G(0x105)](a159e[G(0x153)]);}['rewriteDestinationPathForEngine']({pathParts:pathParts=[],config:a}){const H=a159z;try{const b=pathParts[H(0x105)](a159e[H(0x153)]),c=this[H(0x16e)]({'filePath':b})['type'],d=a?.[H(0x163)][c],f=new RegExp('\x5c.'+c+H(0x150));return!c||!d?b:b[H(0x14c)](f,'.'+d);}catch(g){errorHandler(H(0x174),g),process[H(0x168)](0x1);}}[a159z(0x155)]({pathParts:pathParts=[],framework:framework=a159z(0x123),config:a}){const I=a159z;try{const b=a159e[I(0x162)](pathParts[I(0x105)](a159e[I(0x153)]));if(!b['endsWith'](I(0x110)))return b;const c='js';if(!a?.[I(0x163)]||!a?.[I(0x163)][c])return b;const d=a[I(0x163)][c],f=d===I(0x107)?[I(0x173),I(0x17b),'.js']:[I(0x121),I(0x110)];for(const g of f){const h=b[I(0x14c)](/\.js$/,g),i=a159e[I(0x105)](I(0x12d),framework,h),j=a159e[I(0x162)](a159e[I(0x105)](global['MAKA_COMMAND_PATH'],i));if(a159f[I(0x171)](j))return h;}return b;}catch(k){errorHandler(I(0x10a),k),process[I(0x168)](0x1);}}['pathFromTemplates']({pathParts:a,framework:framework=a159z(0x123),config:b}){const J=a159z;try{const c=this['rewriteSourcePathForEngine']({'pathParts':a,'framework':framework,'config':b}),d=a159e[J(0x105)](J(0x11d)+framework,c),f=a159e[J(0x105)](global['MAKA_COMMAND_PATH'],'..',d);return f;}catch(g){errorHandler(J(0x102),g),process[J(0x168)](0x1);}}[a159z(0x170)]({srcPath:a,context:b,framework:c,config:d}){const K=a159z;try{let f=this[K(0x128)]({'pathParts':[a],'framework':c,'config':d});const {engine:g}=this['engineAndTypeFromfilePath']({'filePath':f}),h=[K(0x186),K(0x179),'less',K(0x14d),'js',K(0x17f),'ts',K(0x107),K(0x18a),'env','yaml',K(0x148)],i=[K(0x112),K(0x193)];if(!this['fsi'][K(0x188)](f)){g===K(0x17f)&&(f=f['replace'](K(0x159),''));g===K(0x107)&&(f=f[K(0x14c)](K(0x13c),''));if(!this[K(0xfe)]['isFile'](f))throw new Error(K(0x132)+JSON[K(0x126)](f));}const j=f[K(0x127)]('.'),k=a159e[K(0x162)](f)[K(0x127)](a159e[K(0x153)]),l=k[k[K(0x122)]-0x1]===K(0x158),m=i[K(0x129)](j[j['length']-0x1]),n=a159f[K(0x184)](f);if(l)return a159i[K(0x10f)](n['toString'](),b)['trim']();if(m)return Buffer[K(0x12a)](n)[K(0x192)]('base64');if(!h[K(0x129)](j[j[K(0x122)]-0x1]))return n[K(0x192)]()[K(0x182)]();return a159i['render'](n[K(0x192)](),b||{})['trim']();}catch(o){errorHandler('templateContent()',o),process['exit'](0x1);}}async[a159z(0x148)]({srcPath:a,destPath:b,context:c,config:d,framework:f,force:force=![],ignore:ignore=![]}){const L=a159z;try{const g=[L(0x112),L(0x193)],h=g[L(0x129)](a[L(0x127)]('.')[L(0x11a)]()||''),i=this[L(0x170)]({'srcPath':a,'context':c,'framework':f,'config':d})+'\x0a';c?.['noRename']?b=this[L(0x15d)]({'pathParts':[b],'config':d}):b=this[L(0x12e)]({'pathParts':[b],'config':d});const j=await this[L(0xfe)][L(0x16a)]({'filePath':b,'data':i,'opts':{'force':force,'isImage':h,'absolute':![],'ignore':ignore}});return j;}catch(k){errorHandler('template()',k),process[L(0x168)](0x1);}}async['copyTemplateDirectory']({srcPath:a,destPath:b,context:c,ignore:d,keep:f,framework:g,config:h}){const M=a159z;try{const i=this[M(0x128)]({'pathParts':[a],'framework':g,'config':h}),j=this[M(0x128)]({'pathParts':[],'framework':g,'config':h}),k=n=>{const N=M;return n[N(0x14c)](j,'');},l=n=>{const O=M;return n[O(0x14c)](i,b);};await this[M(0xfe)][M(0x16b)]({'dirPath':b});const m=a159f[M(0x142)](i);for(const n of m){try{const o=a159e['join'](i,n),p=k(o),q=l(o),r=d[M(0x180)](t=>a159e[M(0x162)](t)),s=a159e[M(0x162)](a159e['join'](a,n));if(r[M(0x129)](s))continue;if(this['fsi'][M(0x140)](o))await this['copyTemplateDirectory']({'srcPath':p,'destPath':q,'context':c,'ignore':d,'keep':f,'framework':g,'config':h});else{if(this[M(0xfe)][M(0x188)](o)&&this['isTemplateForEngine']({'pathParts':[o],'config':h}))await this[M(0x148)]({'srcPath':p,'destPath':q,'context':c,'framework':g,'config':h});else f['indexOf'](a159e[M(0x105)](a,n))>=0x0&&this['fsi'][M(0x188)](o)&&(c[M(0x135)]=!![],await this[M(0x148)]({'srcPath':p,'destPath':q,'context':c,'framework':g,'config':h}),c[M(0x135)]=![]);}}catch(t){console[M(0x13b)](t),process[M(0x168)](0x1);}}}catch(u){errorHandler(M(0x15e),u),process[M(0x168)](0x1);}}async[a159z(0x12b)]({filePath:a,content:b,opts:c}){const P=a159z;if(!a)throw new Error(P(0x15c));try{!this[P(0xfe)][P(0x188)](a)&&await this[P(0xfe)][P(0x16a)]({'filePath':a,'data':b});let d=a159f[P(0x184)](a,P(0x12f));d=b+'\x0a'+d,a159f['writeFileSync'](a,d),c?.[P(0x165)]&&Log['header'](treeSymbol+'\x20updated\x20file\x20'+a159e[P(0x10e)](process[P(0x169)](),a));}catch(f){errorHandler(P(0x196),f),process[P(0x168)](0x1);}}async[a159z(0x17c)]({filePath:a,content:b,opts:c}){const Q=a159z;try{if(!this[Q(0xfe)][Q(0x188)](a))await this[Q(0xfe)][Q(0x16a)]({'filePath':a,'data':b});else{let d=a159f[Q(0x184)](a,Q(0x12f));!d[Q(0x129)](b)&&(d=d+'\x0a'+b,a159f[Q(0x15f)](a,d)),c?.['verbose']&&Log[Q(0x124)](treeSymbol+Q(0x120)+a159e['relative'](process['cwd'](),a));}}catch(f){errorHandler(Q(0x11e),f),process[Q(0x168)](0x1);}}async[a159z(0x15a)]({filePath:a,aboveContent:b,belowContent:c,targetString:d,indentAdjustment:indentAdjustment=0x0,targetIndentAdjustment:targetIndentAdjustment=0x0}){const R=a159z;try{if(!this['fsi'][R(0x188)](a))throw Log[R(0x13b)](R(0x118)+JSON[R(0x126)](a));const f=a159f[R(0x184)](a,R(0x12f)),g=f[R(0x14c)](/\r\n|\r/g,'\x0a'),h=g[R(0x127)]('\x0a'),j=this[R(0x10b)](h),k=b[R(0x14c)](/\r\n|\r/g,'\x0a')['split']('\x0a'),l=c[R(0x14c)](/\r\n|\r/g,'\x0a')[R(0x127)]('\x0a'),m=new RegExp(Array[R(0x108)](d)?d[R(0x105)]('|'):d,'i'),n=[];for(let p=0x0;p<h[R(0x122)];p++){const q=h[p];if(m[R(0x194)](q)){const r=this[R(0xfd)](j,targetIndentAdjustment),s=r+q['trim']();k['forEach'](t=>{!g['includes'](t['trim']())&&n['push'](this['adjustIndentation'](j,indentAdjustment)+t);}),n[R(0x172)](s),l['forEach'](t=>{const S=R;!g['includes'](t[S(0x182)]())&&n[S(0x172)](this['adjustIndentation'](j,indentAdjustment)+t);});}else n[R(0x172)](q);}const o=n[R(0x105)]('\x0a');a159f['writeFileSync'](a,o),Log['header'](treeSymbol+R(0x120)+a159e[R(0x10e)](process[R(0x169)](),a));}catch(t){errorHandler('injectAroundString()',t),process[R(0x168)](0x1);}}[a159z(0xfd)](a,b){const T=a159z;if(b===0x0)return a;const c=a['length']+b;return c>0x0?a[0x0][T(0x100)](c):'';}[a159z(0x10b)](a){const U=a159z;let b=0x0,c=0x0;a[U(0x111)](f=>{const V=U;if(f[V(0x136)]('\x20'))b++;else f[V(0x136)]('\x09')&&c++;});const d=b>=c?'\x20':'\x09',e=this[U(0x103)](a,d);return d['repeat'](e);}[a159z(0x103)](a,b){const W=a159z,c=a[W(0x18e)](d=>d&&d[W(0x136)](b))['map'](d=>{const e=d['match'](new RegExp('^'+b+'+'));return e?e[0x0]['length']:0x0;});if(c['length']===0x0)return 0x0;return this[W(0xfb)](c);}[a159z(0xfb)](a){const X=a159z,b=a[X(0x16d)]((c,d)=>{return c[d]=(c[d]||0x0)+0x1,c;},{});return Object['keys'](b)[X(0x16d)]((c,d)=>{const e=b[+c],f=b[+d];return e>f?+c:+d;},0x0);}async[a159z(0x133)]({filePath:a,content:b,begin:c,replace:replace=![]}){const Y=a159z;try{if(!this[Y(0xfe)][Y(0x188)](a))throw new Error(Y(0x191)+a);const d=a159f[Y(0x184)](a,Y(0x12f)),f=d['split']('\x0a');let g=-0x1,h=-0x1,j=0x0,k=![],l=![];const m=Array[Y(0x108)](c)?c:[c];for(let o=0x0;o<f[Y(0x122)];o++){const p=f[o];k&&p[Y(0x129)]('{')&&j++;if(m['some'](q=>p['includes'](q))){g=o,k=!![],j++;continue;}if(k){p[Y(0x129)](b[Y(0x182)]())&&(l=!![]);if(p[Y(0x129)]('}')){j--;if(j===0x0){h=o;break;}}}}if(g===-0x1||h===-0x1){Log[Y(0x13b)](Y(0x10d)+a),Log['error'](Y(0x146)+b),Log[Y(0x13b)](Y(0x13d)+c);throw new Error(Y(0x177));}if(l)return;let n=f[Y(0x198)](0x0,g+0x1);replace?(n['push'](b[Y(0x182)]()),n['push'](f[h])):(n=n['concat'](f[Y(0x198)](g+0x1,h)),n[Y(0x172)](b[Y(0x182)]())),n=n[Y(0x149)](f[Y(0x198)](h+0x1)),a159f['writeFileSync'](a,n[Y(0x105)]('\x0a'),Y(0x12f));}catch(q){console['error'](Y(0x14a),q);throw q;}}async[a159z(0x13e)]({filePath:a,content:c,begin:d,end:f,replace:replace=![]}){const Z=a159z;try{const g=await this[Z(0xfe)][Z(0x17a)](a,c);if(g)return;if(!this[Z(0xfe)][Z(0x188)](a))throw Log[Z(0x13b)](Z(0x139)+JSON['stringify'](a));const h=a159f[Z(0x184)](a,Z(0x12f));if(!Array['isArray'](d))d=[d];if(!Array[Z(0x108)](f))f=[f];let i=h,j=![];for(const k of d){for(const l of f){const m=new RegExp('('+k+'[\x5cs\x5cS]*?)('+l+')','i');i=h[Z(0x14c)](m,(n,o,p)=>{return j=!![],replace?''+o+c+p:''+o+c+'\x0a'+p;});if(j)break;}if(j)break;}if(!j)throw new Error(Z(0x164));a159f[Z(0x15f)](a,i),Log[Z(0x124)](treeSymbol+Z(0x120)+a159e[Z(0x10e)](process['cwd'](),a));}catch(n){errorHandler('injectIntoFile()',n),process[Z(0x168)](0x1);}}async['injectImport']({filePath:a,importName:b,modulePath:c,isNamedExport:d,injectAtStart:injectAtStart=![]}){const a0=a159z;try{const f=a159f[a0(0x184)](a,a0(0x12f));let g;d?g='import\x20{\x20'+b+'\x20}\x20from\x20\x27'+c+a0(0x161):g=a0(0x18b)+b+'\x20from\x20\x27'+c+a0(0x161);const h=f[a0(0x127)]('\x0a');let j=0x0,k=![];for(const m of h){if(m[a0(0x129)](a0(0x114)+c+'\x27')||m['includes'](a0(0x167)+c+'\x22')){const n=d?new RegExp('\x5cb'+b+'\x5cb','g'):new RegExp(a0(0x18b)+b+'\x20from');if(m[a0(0x181)](n)){k=!![];break;}}}if(k)return;if(injectAtStart)for(let o=0x0;o<h[a0(0x122)];o++){if(h[o][a0(0x181)](/^import .* from .*;$/)){j=o;break;}}else{for(let p=0x0;p<h[a0(0x122)];p++){h[p]['match'](/^import .* from .*;$/)&&(j=p);}j++;}h[a0(0x115)](j,0x0,g);const l=h[a0(0x105)]('\x0a');a159f[a0(0x15f)](a,l,a0(0x12f));}catch(q){errorHandler(a0(0x13a),q),process[a0(0x168)](0x1);}}async[a159z(0x18c)](a,b,c){const a1=a159z;try{let d;b['engines'][a1(0x18f)]!=='none'?d=this[a1(0x143)]({'pathParts':[a1(0x156),a1(0x166),'lib',a1(0x119)],'config':b}):d=this['pathFromApp']({'pathParts':['imports',a1(0x166),'client','templates.js'],'config':b});const f=this[a1(0x12e)]({'pathParts':[d],'config':b}),g='export\x20{\x20'+pascalCase(a)+a1(0x104)+c+'\x27;',h=await this[a1(0xfe)][a1(0x17a)](f,g);!h&&this[a1(0x17c)]({'filePath':f,'content':g+'\x0a'});}catch(i){errorHandler(a1(0x154),i),process['exit'](0x1);}}[a159z(0x16c)]({filePath:a,content:b,lineNumber:c}){const a2=a159z;try{const d=a159f[a2(0x184)](a)['toString']()[a2(0x127)]('\x0a');d['splice'](c,0x0,b);const f=d[a2(0x105)]('\x0a');a159f[a2(0x15f)](a,f);}catch(g){errorHandler(a2(0x152),g),process[a2(0x168)](0x1);}}[a159z(0x143)]({pathParts:a,config:b}){const a3=a159z;try{if(!a)throw new Error(a3(0x183));const c=this[a3(0x155)]({'pathParts':a,'config':b}),d=this[a3(0xfe)][a3(0x18d)]();return d?a159e[a3(0x105)](d,c):'';}catch(f){errorHandler(a3(0x131),f),process['exit'](0x1);}}[a159z(0x160)]({pathParts:a,config:b}){const a4=a159z;try{const c=this['writeSourcePath']({'pathParts':a,'config':b}),d=this[a4(0xfe)][a4(0x18d)]();if(!d)throw new Error(a4(0x137));return a159e[a4(0x105)](d,c);}catch(f){errorHandler('pathFromAppWithNoReWrite()',f),process[a4(0x168)](0x1);}}}
|
|
1
|
+
const a159z=a159d;(function(a,b){const v=a159d,c=a();while(!![]){try{const d=-parseInt(v(0x1b0))/0x1*(-parseInt(v(0x1dc))/0x2)+parseInt(v(0x1ba))/0x3*(-parseInt(v(0x215))/0x4)+parseInt(v(0x1a2))/0x5+-parseInt(v(0x217))/0x6+parseInt(v(0x206))/0x7+parseInt(v(0x1ee))/0x8*(-parseInt(v(0x1d9))/0x9)+-parseInt(v(0x1a7))/0xa*(parseInt(v(0x1cc))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a159c,0x3cb28));const a159b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a159d;if(c){const e=c[w(0x23d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a159a=a159b(this,function(){const x=a159d;return a159a['toString']()[x(0x1dd)]('(((.+)+)+)+$')[x(0x212)]()['constructor'](a159a)[x(0x1dd)](x(0x1d0));});a159a();function a159c(){const a6=['error','endsWith','pathFromTemplates()','No\x20app\x20directory\x20found','injectAtBeginningOfFile()','cwd','template','getInstance','While\x20injecting\x20','import\x20','2671956DRwrCZ','indexOf','copyTemplateDirectory','existsSync','Meteor\x20project\x20already\x20exists\x20at\x20','join','base64','\x20updated\x20file\x20','startup','from\x20\x22','normalize','calculateMode','toString','rewriteDestinationPathForType','trim','416356bzvtni','\x27;\x0a','451818kDrMra','isDirectory','readdirSync','findAppDirectory','MAKA_DEV','isTemplateForEngine','.js.ts','slice','injectIntoFile()','none','isArray','replace','injectImport()','client','filter','injectAfterLineNumber','jsx','export\x20{\x20','from\x20\x27','length','pathFromAppWithNoReWrite()','render','engines','stringify','engineAndTypeFromfilePath','getCommonIndentSize','instance','match','sep','imports','templates.js','ico','templateContent()','lib','createFile','No\x20filePath\x20provided\x20to\x20injectAtBeginningOfFile()','copyTemplateDirectory()','rewriteDestinationPathForType()','apply','pathFromTemplates','--minimal','\x20from','pop','MAKA_COMMAND_PATH','scss','1964425WaodcV','injectAtBeginningOfFile','rewriteSourcePathForEngine','\x20from\x20\x27','Looking\x20for\x20','1153430FhRTvH','fileContainsString','win32','json','rewriteDestinationPathForEngine','engine','meteor','.meteor','utf8','1cvgUkn','createDirectory','.js','Error\x20in\x20injectIntoCodeBlock:\x20','injectAtEndOfFile()','push','verbose','ssr','release','\x20}\x20from\x20\x27','9eXGtDE','writeFileSync','templateContent','tsx','detectIndentation','Dockerfile','File\x20not\x20found:\x20','createEmptyMeteorProject','reduce','injectIntoFile','some','.tsx','writeSourcePath','No\x20configuration\x20so\x20can\x27t\x20determine\x20engines.','engineAndTypeFromfilePath()','fsi','adjustIndentation','concat','11KjLCmu','includes','map','split','(((.+)+)+)+$','yaml','png','No\x20file\x20found\x20at\x20path\x20','noRename','splice','.js.tsx','exit','forEach','3189717HUbDpI','pathFromApp','readFileSync','662698DxROzz','search','repeat','True','type','alpha','header','Unable\x20to\x20find\x20the\x20target\x20block\x20to\x20inject\x20content\x20in\x20','No\x20pathParts\x20option\x20provided','startsWith','Directory\x20','injectTemplateModule()','platform','message','Error\x20in\x20','isTemplateForEngine()','\x20create\x20','src/templates/','8PfGnkK','warn','less','injectAtEndOfFile','test','isFile','injectAroundString()','relative','injectAfterLineNumber()','\x5cS*$','env','\x20->','mpi','injectTemplateModule'];a159c=function(){return a6;};return a159c();}import a159e from'path';import a159f from'fs';import a159g from'util';import{exec}from'child_process';import a159h from'delete';import a159i from'ejs';import{pascalCase}from'change-case';function a159d(a,b){const c=a159c();return a159d=function(d,e){d=d-0x19e;let f=c[d];return f;},a159d(a,b);}import{Log}from'../log/log.class.js';const errorHandler=(a,b)=>{const y=a159d;process[y(0x1f8)][y(0x21b)]===y(0x1df)&&Log['error'](y(0x1ea)+a),b&&console[y(0x1fc)](b);},isWin=process[a159z(0x1e8)]===a159z(0x1a9),treeSymbol=isWin?a159z(0x1f9):'\x20┗';export class Scaffold{static [a159z(0x231)];['fsi'];[a159z(0x1fa)];constructor(a,b){const A=a159z;this[A(0x1c9)]=a,this[A(0x1fa)]=b;}static[a159z(0x203)](a,b){const B=a159z;return!Scaffold['instance']&&(Scaffold[B(0x231)]=new Scaffold(a,b)),Scaffold['instance'];}async[a159z(0x1c1)](a,b){const C=a159z;b[C(0x201)]=b[C(0x201)]||'.';const c=a159e[C(0x20b)](b[C(0x201)],a),d=a159e[C(0x20b)](c,C(0x1ae));if(this[C(0x1c9)][C(0x218)](d))throw new Error(C(0x20a)+JSON[C(0x22e)](c));const e=C(0x23f),f=a159e['join'](b[C(0x201)]),g=a159g['promisify'](exec),h=b['release']?'--release\x20'+b['release']:'';b['release']&&b[C(0x1b8)][C(0x1cd)](C(0x1e1))&&(Log['warn']('Creating\x20a\x20new\x20Meteor\x20project\x20with\x20an\x20alpha\x20release:\x20'+b[C(0x1b8)]),Log[C(0x1ef)]('Please\x20report\x20any\x20issues\x20to\x20https://github.com/maka-io/maka-cli/issues'));try{await g(this[C(0x1fa)]['meteor']+C(0x1ec)+a+'\x20'+e+'\x20'+h,{'cwd':f});}catch(k){Log[C(0x1fc)]('\x0a'+k[C(0x1e9)]);throw k;}const i=a159e[C(0x20b)](f,a);if(!a159f[C(0x209)](i))throw new Error(C(0x1e6)+i+'\x20doesn\x27t\x20exist');const j=a159f[C(0x219)](i);for(const l of j){if(l!=='.git'&&l!==C(0x1ae)){const m=a159e['join'](i,l);await a159h(m,{'force':!![]});}}}[a159z(0x22f)]({filePath:a}){const D=a159z;try{const b=/\.([A-Za-z0-9.]+)$/g;let c=a[D(0x232)](b);c=c&&c[0x0][D(0x1cf)]('.',0x3);if(!c)return{'type':undefined,'engine':undefined};let d=c[D(0x19f)](),f=c[D(0x19f)]()||d;if(d)d=d[D(0x222)]('.','');if(f)f=f[D(0x222)]('.','');return{'type':f,'engine':d};}catch(g){errorHandler(D(0x1c8),g),process[D(0x1d7)](0x1);}}[a159z(0x213)]({pathParts:a,config:b}){const E=a159z;try{const c=a['join'](a159e[E(0x233)]),d=this[E(0x22f)]({'filePath':c})[E(0x1e0)],f=b?.[E(0x22d)][d],g=new RegExp('\x5c.'+d+E(0x1f7));return!d||!f?c:c['replace'](g,'.'+d);}catch(h){errorHandler(E(0x23c),h),process['exit'](0x1);}}[a159z(0x21c)]({pathParts:a,config:b}){const F=a159z;try{if(!b)throw new Error(F(0x1c7));const c=a[F(0x20b)](a159e[F(0x233)]),d=this[F(0x22f)]({'filePath':c});if(!d[F(0x1e0)]||!d['engine'])return!![];const f=b[F(0x22d)][d[F(0x1e0)]];if(!f)return!![];return f===d[F(0x1ac)];}catch(g){errorHandler(F(0x1eb),g),process[F(0x1d7)](0x1);}}[a159z(0x1c6)]({pathParts:pathParts=[]}){const G=a159z;return pathParts[G(0x20b)](a159e[G(0x233)]);}['rewriteDestinationPathForEngine']({pathParts:pathParts=[],config:a}){const H=a159z;try{const b=pathParts[H(0x20b)](a159e[H(0x233)]),c=this[H(0x22f)]({'filePath':b})[H(0x1e0)],d=a?.[H(0x22d)][c],f=new RegExp('\x5c.'+c+H(0x1f7));return!c||!d?b:b[H(0x222)](f,'.'+d);}catch(g){errorHandler('rewriteDestinationPathForEngine()',g),process[H(0x1d7)](0x1);}}['rewriteSourcePathForEngine']({pathParts:pathParts=[],framework:framework=a159z(0x1ad),config:a}){const I=a159z;try{const b=a159e['normalize'](pathParts[I(0x20b)](a159e[I(0x233)]));if(!b[I(0x1fd)](I(0x1b2)))return b;const c='js';if(!a?.[I(0x22d)]||!a?.[I(0x22d)][c])return b;const d=a[I(0x22d)][c],f=d===I(0x1bd)?[I(0x1d6),I(0x21d),I(0x1b2)]:['.js.jsx',I(0x1b2)];for(const g of f){const h=b[I(0x222)](/\.js$/,g),i=a159e['join']('templates',framework,h),j=a159e['normalize'](a159e[I(0x20b)](global[I(0x1a0)],i));if(a159f['existsSync'](j))return h;}return b;}catch(k){errorHandler('rewriteSourcePathForEngine()',k),process[I(0x1d7)](0x1);}}[a159z(0x23e)]({pathParts:a,framework:framework=a159z(0x1ad),config:b}){const J=a159z;try{const c=this[J(0x1a4)]({'pathParts':a,'framework':framework,'config':b}),d=a159e[J(0x20b)](J(0x1ed)+framework,c),f=a159e[J(0x20b)](global[J(0x1a0)],'..',d);return f;}catch(g){errorHandler(J(0x1fe),g),process[J(0x1d7)](0x1);}}[a159z(0x1bc)]({srcPath:a,context:b,framework:c,config:d}){const K=a159z;try{let f=this[K(0x23e)]({'pathParts':[a],'framework':c,'config':d});const {engine:g}=this[K(0x22f)]({'filePath':f}),h=['css',K(0x1a1),K(0x1f0),'html','js',K(0x227),'ts',K(0x1bd),K(0x1aa),K(0x1f8),K(0x1d1),'template'],i=[K(0x1d2),K(0x236)];if(!this['fsi'][K(0x1f3)](f)){g===K(0x227)&&(f=f[K(0x222)]('.jsx',''));g==='tsx'&&(f=f[K(0x222)](K(0x1c5),''));if(!this[K(0x1c9)][K(0x1f3)](f))throw new Error('Couldn\x27t\x20find\x20a\x20source\x20template\x20in\x20'+JSON[K(0x22e)](f));}const j=f[K(0x1cf)]('.'),k=a159e['normalize'](f)[K(0x1cf)](a159e[K(0x233)]),l=k[k[K(0x22a)]-0x1]===K(0x1bf),m=i[K(0x1cd)](j[j[K(0x22a)]-0x1]),n=a159f[K(0x1db)](f);if(l)return a159i[K(0x22c)](n[K(0x212)](),b)['trim']();if(m)return Buffer['from'](n)['toString'](K(0x20c));if(!h[K(0x1cd)](j[j[K(0x22a)]-0x1]))return n['toString']()['trim']();return a159i['render'](n[K(0x212)](),b||{})[K(0x214)]();}catch(o){errorHandler(K(0x237),o),process[K(0x1d7)](0x1);}}async[a159z(0x202)]({srcPath:a,destPath:b,context:c,config:d,framework:f,force:force=![],ignore:ignore=![]}){const L=a159z;try{const g=['png',L(0x236)],h=g[L(0x1cd)](a[L(0x1cf)]('.')['pop']()||''),i=this[L(0x1bc)]({'srcPath':a,'context':c,'framework':f,'config':d})+'\x0a';c?.[L(0x1d4)]?b=this[L(0x213)]({'pathParts':[b],'config':d}):b=this[L(0x1ab)]({'pathParts':[b],'config':d});const j=await this[L(0x1c9)][L(0x239)]({'filePath':b,'data':i,'opts':{'force':force,'isImage':h,'absolute':![],'ignore':ignore}});return j;}catch(k){errorHandler('template()',k),process[L(0x1d7)](0x1);}}async['copyTemplateDirectory']({srcPath:a,destPath:b,context:c,ignore:d,keep:f,framework:g,config:h}){const M=a159z;try{const i=this['pathFromTemplates']({'pathParts':[a],'framework':g,'config':h}),j=this[M(0x23e)]({'pathParts':[],'framework':g,'config':h}),k=n=>{const N=M;return n[N(0x222)](j,'');},l=n=>{const O=M;return n[O(0x222)](i,b);};await this[M(0x1c9)][M(0x1b1)]({'dirPath':b});const m=a159f[M(0x219)](i);for(const n of m){try{const o=a159e[M(0x20b)](i,n),p=k(o),q=l(o),r=d[M(0x1ce)](t=>a159e[M(0x210)](t)),s=a159e[M(0x210)](a159e[M(0x20b)](a,n));if(r[M(0x1cd)](s))continue;if(this['fsi'][M(0x218)](o))await this[M(0x208)]({'srcPath':p,'destPath':q,'context':c,'ignore':d,'keep':f,'framework':g,'config':h});else{if(this['fsi']['isFile'](o)&&this[M(0x21c)]({'pathParts':[o],'config':h}))await this[M(0x202)]({'srcPath':p,'destPath':q,'context':c,'framework':g,'config':h});else f[M(0x207)](a159e[M(0x20b)](a,n))>=0x0&&this[M(0x1c9)][M(0x1f3)](o)&&(c[M(0x1d4)]=!![],await this[M(0x202)]({'srcPath':p,'destPath':q,'context':c,'framework':g,'config':h}),c[M(0x1d4)]=![]);}}catch(t){console[M(0x1fc)](t),process[M(0x1d7)](0x1);}}}catch(u){errorHandler(M(0x23b),u),process['exit'](0x1);}}async[a159z(0x1a3)]({filePath:a,content:b,opts:c}){const P=a159z;if(!a)throw new Error(P(0x23a));try{!this[P(0x1c9)][P(0x1f3)](a)&&await this[P(0x1c9)][P(0x239)]({'filePath':a,'data':b});let d=a159f[P(0x1db)](a,P(0x1af));d=b+'\x0a'+d,a159f[P(0x1bb)](a,d),c?.[P(0x1b6)]&&Log[P(0x1e2)](treeSymbol+P(0x20d)+a159e[P(0x1f5)](process['cwd'](),a));}catch(f){errorHandler(P(0x200),f),process['exit'](0x1);}}async[a159z(0x1f1)]({filePath:a,content:b,opts:c}){const Q=a159z;try{if(!this[Q(0x1c9)]['isFile'](a))await this[Q(0x1c9)][Q(0x239)]({'filePath':a,'data':b});else{let d=a159f[Q(0x1db)](a,Q(0x1af));!d[Q(0x1cd)](b)&&(d=d+'\x0a'+b,a159f[Q(0x1bb)](a,d)),c?.['verbose']&&Log[Q(0x1e2)](treeSymbol+Q(0x20d)+a159e[Q(0x1f5)](process[Q(0x201)](),a));}}catch(f){errorHandler(Q(0x1b4),f),process[Q(0x1d7)](0x1);}}async['injectAroundString']({filePath:a,aboveContent:b,belowContent:c,targetString:d,indentAdjustment:indentAdjustment=0x0,targetIndentAdjustment:targetIndentAdjustment=0x0}){const R=a159z;try{if(!this[R(0x1c9)][R(0x1f3)](a))throw Log[R(0x1fc)](R(0x1d3)+JSON['stringify'](a));const f=a159f['readFileSync'](a,R(0x1af)),g=f[R(0x222)](/\r\n|\r/g,'\x0a'),h=g[R(0x1cf)]('\x0a'),j=this[R(0x1be)](h),k=b[R(0x222)](/\r\n|\r/g,'\x0a')['split']('\x0a'),l=c[R(0x222)](/\r\n|\r/g,'\x0a')[R(0x1cf)]('\x0a'),m=new RegExp(Array[R(0x221)](d)?d['join']('|'):d,'i'),n=[];for(let p=0x0;p<h['length'];p++){const q=h[p];if(m[R(0x1f2)](q)){const r=this[R(0x1ca)](j,targetIndentAdjustment),s=r+q[R(0x214)]();k[R(0x1d8)](t=>{const S=R;!g[S(0x1cd)](t['trim']())&&n[S(0x1b5)](this[S(0x1ca)](j,indentAdjustment)+t);}),n[R(0x1b5)](s),l[R(0x1d8)](t=>{const T=R;!g[T(0x1cd)](t[T(0x214)]())&&n[T(0x1b5)](this[T(0x1ca)](j,indentAdjustment)+t);});}else n[R(0x1b5)](q);}const o=n[R(0x20b)]('\x0a');a159f[R(0x1bb)](a,o),Log[R(0x1e2)](treeSymbol+R(0x20d)+a159e[R(0x1f5)](process[R(0x201)](),a));}catch(t){errorHandler(R(0x1f4),t),process[R(0x1d7)](0x1);}}[a159z(0x1ca)](a,b){const U=a159z;if(b===0x0)return a;const c=a[U(0x22a)]+b;return c>0x0?a[0x0][U(0x1de)](c):'';}['detectIndentation'](a){const V=a159z;let b=0x0,c=0x0;a[V(0x1d8)](f=>{if(f['startsWith']('\x20'))b++;else f['startsWith']('\x09')&&c++;});const d=b>=c?'\x20':'\x09',e=this[V(0x230)](a,d);return d[V(0x1de)](e);}[a159z(0x230)](a,b){const W=a159z,c=a[W(0x225)](d=>d&&d[W(0x1e5)](b))[W(0x1ce)](d=>{const X=W,e=d['match'](new RegExp('^'+b+'+'));return e?e[0x0][X(0x22a)]:0x0;});if(c['length']===0x0)return 0x0;return this[W(0x211)](c);}[a159z(0x211)](a){const Y=a159z,b=a[Y(0x1c2)]((c,d)=>{return c[d]=(c[d]||0x0)+0x1,c;},{});return Object['keys'](b)[Y(0x1c2)]((c,d)=>{const e=b[+c],f=b[+d];return e>f?+c:+d;},0x0);}async['injectIntoCodeBlock']({filePath:a,content:b,begin:c,replace:replace=![]}){const Z=a159z;try{if(!this[Z(0x1c9)][Z(0x1f3)](a))throw new Error(Z(0x1c0)+a);const d=a159f[Z(0x1db)](a,Z(0x1af)),f=d[Z(0x1cf)]('\x0a');let g=-0x1,h=-0x1,j=0x0,k=![],l=![];const m=Array[Z(0x221)](c)?c:[c];for(let o=0x0;o<f[Z(0x22a)];o++){const p=f[o];k&&p[Z(0x1cd)]('{')&&j++;if(m[Z(0x1c4)](q=>p[Z(0x1cd)](q))){g=o,k=!![],j++;continue;}if(k){p[Z(0x1cd)](b[Z(0x214)]())&&(l=!![]);if(p[Z(0x1cd)]('}')){j--;if(j===0x0){h=o;break;}}}}if(g===-0x1||h===-0x1){Log[Z(0x1fc)](Z(0x1e3)+a),Log['error'](Z(0x204)+b),Log[Z(0x1fc)](Z(0x1a6)+c);throw new Error('Unable\x20to\x20find\x20the\x20target\x20block\x20to\x20inject\x20content.');}if(l)return;let n=f[Z(0x21e)](0x0,g+0x1);replace?(n[Z(0x1b5)](b[Z(0x214)]()),n[Z(0x1b5)](f[h])):(n=n['concat'](f['slice'](g+0x1,h)),n[Z(0x1b5)](b[Z(0x214)]())),n=n[Z(0x1cb)](f[Z(0x21e)](h+0x1)),a159f[Z(0x1bb)](a,n[Z(0x20b)]('\x0a'),Z(0x1af));}catch(q){console[Z(0x1fc)](Z(0x1b3),q);throw q;}}async[a159z(0x1c3)]({filePath:a,content:c,begin:d,end:f,replace:replace=![]}){const a0=a159z;try{const g=await this[a0(0x1c9)][a0(0x1a8)](a,c);if(g)return;if(!this[a0(0x1c9)][a0(0x1f3)](a))throw Log['error']('No\x20file\x20found\x20to\x20inject\x20content\x20into\x20at\x20path\x20'+JSON[a0(0x22e)](a));const h=a159f[a0(0x1db)](a,a0(0x1af));if(!Array[a0(0x221)](d))d=[d];if(!Array[a0(0x221)](f))f=[f];let i=h,j=![];for(const k of d){for(const l of f){const m=new RegExp('('+k+'[\x5cs\x5cS]*?)('+l+')','i');i=h[a0(0x222)](m,(n,o,p)=>{return j=!![],replace?''+o+c+p:''+o+c+'\x0a'+p;});if(j)break;}if(j)break;}if(!j)throw new Error('No\x20matching\x20section\x20found.');a159f[a0(0x1bb)](a,i),Log['header'](treeSymbol+a0(0x20d)+a159e[a0(0x1f5)](process[a0(0x201)](),a));}catch(n){errorHandler(a0(0x21f),n),process[a0(0x1d7)](0x1);}}async['injectImport']({filePath:a,importName:b,modulePath:c,isNamedExport:d,injectAtStart:injectAtStart=![]}){const a1=a159z;try{const f=a159f[a1(0x1db)](a,a1(0x1af));let g;d?g='import\x20{\x20'+b+'\x20}\x20from\x20\x27'+c+a1(0x216):g=a1(0x205)+b+a1(0x1a5)+c+'\x27;\x0a';const h=f[a1(0x1cf)]('\x0a');let j=0x0,k=![];for(const m of h){if(m[a1(0x1cd)](a1(0x229)+c+'\x27')||m[a1(0x1cd)](a1(0x20f)+c+'\x22')){const n=d?new RegExp('\x5cb'+b+'\x5cb','g'):new RegExp(a1(0x205)+b+a1(0x19e));if(m[a1(0x232)](n)){k=!![];break;}}}if(k)return;if(injectAtStart)for(let o=0x0;o<h['length'];o++){if(h[o][a1(0x232)](/^import .* from .*;$/)){j=o;break;}}else{for(let p=0x0;p<h['length'];p++){h[p][a1(0x232)](/^import .* from .*;$/)&&(j=p);}j++;}h[a1(0x1d5)](j,0x0,g);const l=h['join']('\x0a');a159f[a1(0x1bb)](a,l,a1(0x1af));}catch(q){errorHandler(a1(0x223),q),process[a1(0x1d7)](0x1);}}async[a159z(0x1fb)](a,b,c){const a2=a159z;try{let d;b[a2(0x22d)][a2(0x1b7)]!==a2(0x220)?d=this[a2(0x1da)]({'pathParts':[a2(0x234),'startup',a2(0x238),a2(0x235)],'config':b}):d=this[a2(0x1da)]({'pathParts':[a2(0x234),a2(0x20e),a2(0x224),'templates.js'],'config':b});const f=this[a2(0x1ab)]({'pathParts':[d],'config':b}),g=a2(0x228)+pascalCase(a)+a2(0x1b9)+c+'\x27;',h=await this[a2(0x1c9)][a2(0x1a8)](f,g);!h&&this['injectAtEndOfFile']({'filePath':f,'content':g+'\x0a'});}catch(i){errorHandler(a2(0x1e7),i),process['exit'](0x1);}}[a159z(0x226)]({filePath:a,content:b,lineNumber:c}){const a3=a159z;try{const d=a159f[a3(0x1db)](a)[a3(0x212)]()[a3(0x1cf)]('\x0a');d[a3(0x1d5)](c,0x0,b);const f=d[a3(0x20b)]('\x0a');a159f['writeFileSync'](a,f);}catch(g){errorHandler(a3(0x1f6),g),process['exit'](0x1);}}[a159z(0x1da)]({pathParts:a,config:b}){const a4=a159z;try{if(!a)throw new Error(a4(0x1e4));const c=this[a4(0x1a4)]({'pathParts':a,'config':b}),d=this['fsi']['findAppDirectory']();return d?a159e[a4(0x20b)](d,c):'';}catch(f){errorHandler('pathFromApp()',f),process['exit'](0x1);}}['pathFromAppWithNoReWrite']({pathParts:a,config:b}){const a5=a159z;try{const c=this[a5(0x1c6)]({'pathParts':a,'config':b}),d=this[a5(0x1c9)][a5(0x21a)]();if(!d)throw new Error(a5(0x1ff));return a159e['join'](d,c);}catch(f){errorHandler(a5(0x22b),f),process[a5(0x1d7)](0x1);}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){const j=a160d,c=a();while(!![]){try{const d=parseInt(j(
|
|
1
|
+
const a160l=a160d;(function(a,b){const j=a160d,c=a();while(!![]){try{const d=parseInt(j(0x18d))/0x1*(parseInt(j(0x19f))/0x2)+parseInt(j(0x19b))/0x3*(parseInt(j(0x1a4))/0x4)+-parseInt(j(0x1a5))/0x5*(-parseInt(j(0x190))/0x6)+-parseInt(j(0x1a2))/0x7*(-parseInt(j(0x19c))/0x8)+parseInt(j(0x193))/0x9*(parseInt(j(0x198))/0xa)+-parseInt(j(0x18f))/0xb+-parseInt(j(0x19e))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a160c,0x69621));const a160b=(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;};}()),a160a=a160b(this,function(){const k=a160d;return a160a[k(0x195)]()[k(0x194)](k(0x1a3))[k(0x195)]()[k(0x19a)](a160a)[k(0x194)](k(0x1a3));});a160a();import{spawn}from'child_process';function a160d(a,b){const c=a160c();return a160d=function(d,e){d=d-0x18c;let f=c[d];return f;},a160d(a,b);}function a160c(){const q=['kill','5903kVNvPZ','withSpinner','6611176nVeKGL','9204ppkLRD','error','SIGINT','4897539BNKlXr','search','toString','start','message','10hPcXtL','cwd','constructor','128508BiHSDt','8wSaxVk','close','12591216XviiLj','172sjXcbc','pid','success','33502IwmfHq','(((.+)+)+)+$','32vkhCgV','2225VwGqOC'];a160c=function(){return q;};return a160c();}import{Log}from'../log/log.class.js';export class SpawnAsync{static[a160l(0x18e)](a,b,c){return new Promise((d,e)=>{const m=a160d,f=Log[m(0x18e)](),g=c?.[m(0x199)]||'.';c?.[m(0x197)]&&f[m(0x196)](c?.[m(0x197)]);const h=spawn(a,b,{'cwd':g,'stdio':c?.['verbose']?'inherit':'ignore'});process['on'](m(0x192),()=>{const n=m,i=h[n(0x1a0)];i&&process[n(0x18c)](i);}),h['on']('data',i=>{console['log'](i);}),h['on']('disconnect',()=>{const o=m;c?.[o(0x197)]&&f[o(0x1a1)](),d();}),h['on'](m(0x19d),()=>{const p=m;c?.[p(0x197)]&&f['success'](),d();}),h['on'](m(0x191),()=>{c?.['message']&&f['failure'](),e();});});}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a161d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a161d,c=a();while(!![]){try{var d=parseInt(f(0xee))/0x1*(parseInt(f(0xef))/0x2)+-parseInt(f(0xe8))/0x3*(parseInt(f(0xf0))/0x4)+-parseInt(f(0xf1))/0x5+-parseInt(f(0xed))/0x6+-parseInt(f(0xe9))/0x7+parseInt(f(0xea))/0x8*(-parseInt(f(0xe7))/0x9)+parseInt(f(0xec))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a161c,0x76c34));function a161d(a,b){var c=a161c();return a161d=function(d,e){d=d-0xe7;var f=c[d];return f;},a161d(a,b);}function a161c(){var h=['toString','search','constructor','900BMuWph','309aUTGDV','4495106SnXgAB','7608CpsyGL','(((.+)+)+)+$','18512970gmaDDg','4083768YfVfch','1256FeRGsF','1304WCGeZZ','11308ZOZszF','2373450QvXecB'];a161c=function(){return h;};return a161c();}var a161b=(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;};}()),a161a=a161b(this,function(){var g=a161d;return a161a[g(0xf2)]()[g(0xf3)](g(0xeb))['toString']()[g(0xf4)](a161a)[g(0xf3)]('(((.+)+)+)+$');});a161a();export{};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a162p=a162d;(function(a,b){const m=a162d,c=a();while(!![]){try{const d=parseInt(m(
|
|
1
|
+
const a162p=a162d;(function(a,b){const m=a162d,c=a();while(!![]){try{const d=parseInt(m(0x9c))/0x1+parseInt(m(0x85))/0x2*(parseInt(m(0x80))/0x3)+parseInt(m(0x8a))/0x4+-parseInt(m(0x93))/0x5+-parseInt(m(0x84))/0x6+-parseInt(m(0x96))/0x7*(parseInt(m(0xa2))/0x8)+parseInt(m(0x86))/0x9*(parseInt(m(0x91))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a162c,0x1a76b));function a162d(a,b){const c=a162c();return a162d=function(d,e){d=d-0x7a;let f=c[d];return f;},a162d(a,b);}const a162b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a162d;if(c){const e=c[n(0x9f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a162a=a162b(this,function(){const o=a162d;return a162a[o(0x89)]()[o(0x8f)](o(0x8d))[o(0x89)]()['constructor'](a162a)[o(0x8f)]('(((.+)+)+)+$');});a162a();import a162e from'path';import{execSync,spawnSync,spawn}from'child_process';import{Log}from'../log/log.class.js';function a162c(){const x=['search','failure','350990sIWimh','inherit','975465uVkzvs','source','success','7acIhpN','ssh\x20','ignore','concat','ConnectTimeout=2','withSpinner','145863iVmtYE','verbose','sshVerbose','apply','message','start','1175672XczDVk','join','scp','host','tty','ssh','env','3JiCsTt','port','dest','disconnect','793374PCuVcA','8278CvXqlN','63OZRoNX','push','pem','toString','747924FDEZUN','user','close','(((.+)+)+)+$','error'];a162c=function(){return x;};return a162c();}export class SSH{static [a162p(0x7e)]=(a,b,c)=>{return new Promise((d,e)=>{const q=a162d,f=b[q(0x8b)]+'@'+b[q(0x7c)],g=a162e[q(0x7a)](b[q(0x7f)],b[q(0x88)]),h=c?.[q(0x7d)]||![],i=c?.[q(0x9e)]||![];let j=[];h&&j['push']('-t');i&&j[q(0x87)]('-v');j=j[q(0x99)](['-o',q(0x9a),'-i',g,'-p',b[q(0x81)],f,a]);const k=Log[q(0x9b)]();c?.[q(0xa0)]&&k[q(0xa1)](c?.[q(0xa0)]);const l=spawn(q(0x7e),j,{'stdio':c?.[q(0x9d)]?q(0x92):q(0x98)});l['on'](q(0x83),()=>{const r=q;c?.[r(0xa0)]&&k[r(0x95)](),d();}),l['on'](q(0x8c),()=>{const s=q;c?.[s(0xa0)]&&k['success'](),d();}),l['on'](q(0x8e),()=>{const t=q;c?.[t(0xa0)]&&k[t(0x90)](),e();});});};static ['sshSync']=(a,b,c)=>{const u=a162p,d=b[u(0x8b)]+'@'+b[u(0x7c)],e=a162e[u(0x7a)](b['env'],b[u(0x88)]),f=c?.[u(0x7d)]||![],g=c?.['sshVerbose']||![];let h=[];f&&h[u(0x87)]('-t'),g&&h[u(0x87)]('-v'),h=h[u(0x99)](['-o','ConnectTimeout=2','-i',e,'-p',b[u(0x81)],d,a]),spawnSync(u(0x7e),h,{'stdio':c?.[u(0x9d)]?u(0x92):'ignore'});};static['ping'](a,b,c){const v=a162p,d=b[v(0x8b)]+'@'+b[v(0x7c)],e=a162e[v(0x7a)](b[v(0x7f)],b[v(0x88)]),f=c?.['tty']||![];let g=[];f&&g[v(0x87)]('-t');g=g[v(0x99)](['-o',v(0x9a),'-i',e,'-p',b['port'],d,a,'2>&1']);const h=v(0x97)+g[v(0x7a)]('\x20');return execSync(h)['toString']();}static[a162p(0x7b)](a,b){const w=a162p,c=b['user']+'@'+b[w(0x7c)]+':'+a[w(0x82)],d=a162e[w(0x7a)](b[w(0x7f)],b[w(0x88)]),e=['-i',d,'-P',b[w(0x81)],a[w(0x94)],c];spawnSync(w(0x7b),e,{'stdio':a[w(0x9d)]?w(0x92):'ignore'});}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a163d(a,b){var c=a163c();return a163d=function(d,e){d=d-
|
|
1
|
+
function a163d(a,b){var c=a163c();return a163d=function(d,e){d=d-0xa4;var f=c[d];return f;},a163d(a,b);}function a163c(){var i=['(((.+)+)+)+$','68yfgYuz','894365zBcLQW','694570GvdAoJ','1691866lhQmbt','110940PJIeJy','apply','3266494ycixCY','111140yeJDaC','132kVLkJQ','search','toString','1794882TgCTXg','6tQoBdK','constructor','45QgjobN','8yVZQYP'];a163c=function(){return i;};return a163c();}(function(a,b){var f=a163d,c=a();while(!![]){try{var d=parseInt(f(0xb0))/0x1*(-parseInt(f(0xa4))/0x2)+-parseInt(f(0xad))/0x3*(parseInt(f(0xa9))/0x4)+parseInt(f(0xaa))/0x5+parseInt(f(0xb4))/0x6+-parseInt(f(0xaf))/0x7*(parseInt(f(0xa7))/0x8)+parseInt(f(0xa6))/0x9*(-parseInt(f(0xab))/0xa)+parseInt(f(0xac))/0xb*(parseInt(f(0xb1))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a163c,0x60297));var a163b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a163d;if(c){var e=c[g(0xae)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a163a=a163b(this,function(){var h=a163d;return a163a[h(0xb3)]()[h(0xb2)](h(0xa8))['toString']()[h(0xa5)](a163a)['search']('(((.+)+)+)+$');});a163a();export{};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a164d(a,b){const c=a164c();return a164d=function(d,e){d=d-0x1d2;let f=c[d];return f;},a164d(a,b);}function a164c(){const j=['-out','-newkey','(((.+)+)+)+$','-config','cwd','push','7755935KpQVtj','req','1090820mhUFzr','3759312NpfmDA','keyName','5418049WOEDyy','-new','useConfig','search','openssl.conf','rsa:2048','3976935zjXyGo','crtName','3716820QLfHuA','147448KiCscW','684XbAGPQ','csrName','inherit','-key','2LYQfuH','-keyout','-x509','toString','openssl'];a164c=function(){return j;};return a164c();}(function(a,b){const f=a164d,c=a();while(!![]){try{const d=-parseInt(f(0x1d6))/0x1+parseInt(f(0x1e7))/0x2*(parseInt(f(0x1df))/0x3)+parseInt(f(0x1e1))/0x4+-parseInt(f(0x1d4))/0x5+parseInt(f(0x1d7))/0x6+-parseInt(f(0x1d9))/0x7+-parseInt(f(0x1e2))/0x8*(-parseInt(f(0x1e3))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a164c,0xd3760));const a164b=(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;};}()),a164a=a164b(this,function(){const g=a164d;return a164a['toString']()[g(0x1dc)](g(0x1ee))[g(0x1ea)]()['constructor'](a164a)['search'](g(0x1ee));});a164a();import{spawnSync}from'child_process';export class SSL{static['genCSR'](a){const h=a164d,b=a['cwd']?a[h(0x1d2)]:process['cwd'](),c=[h(0x1d5),h(0x1da),h(0x1ed),h(0x1de),'-nodes',h(0x1e8),a[h(0x1d8)],'-out',a[h(0x1e4)]];a[h(0x1db)]&&(c['push'](h(0x1ef)),c[h(0x1d3)](h(0x1dd))),a[h(0x1db)]?spawnSync(h(0x1eb),c,{'cwd':b}):spawnSync('openssl',c,{'stdio':h(0x1e5),'cwd':b});}static['genSSC'](a){const i=a164d,b=a[i(0x1d2)]?a['cwd']:process[i(0x1d2)](),c=[i(0x1d5),i(0x1e9),i(0x1da),i(0x1e6),a[i(0x1d8)],i(0x1ec),a[i(0x1e0)]];a['useConfig']&&(c[i(0x1d3)](i(0x1ef)),c[i(0x1d3)]('openssl.conf')),a[i(0x1db)]?spawnSync('openssl',c,{'cwd':b}):spawnSync('openssl',c,{'stdio':'inherit','cwd':b});}}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maka/maka-cli",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.25",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"summary": "A command line tool for scaffolding Meteor 2.x applications using either React.",
|
|
6
6
|
"description": "A command line tool for scaffolding Meteor 2.x applications using React.",
|
package/delete-1.1.0.tgz
DELETED
|
Binary file
|
package/maka-maka-cli-5.0.23.tgz
DELETED
|
Binary file
|
package/matched-5.0.1.tgz
DELETED
|
Binary file
|