@maka/maka-cli 5.0.13 → 5.0.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (167) hide show
  1. package/bundle/obf/package.json +2 -3
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/cecr.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/decr.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/lecr.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  20. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  21. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/build/_index.js +1 -1
  23. package/bundle/obf/src/commands/build/build.js +1 -1
  24. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  25. package/bundle/obf/src/commands/create.js +1 -1
  26. package/bundle/obf/src/commands/debug.js +1 -1
  27. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  28. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  29. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  31. package/bundle/obf/src/commands/game/_index.js +1 -1
  32. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  33. package/bundle/obf/src/commands/game/play.command.js +1 -1
  34. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  66. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  67. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  68. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  69. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  70. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  71. package/bundle/obf/src/commands/generate.js +1 -1
  72. package/bundle/obf/src/commands/get/_index.js +1 -1
  73. package/bundle/obf/src/commands/get/get.command.js +1 -1
  74. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  75. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  76. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  77. package/bundle/obf/src/commands/help.js +1 -1
  78. package/bundle/obf/src/commands/install.js +1 -1
  79. package/bundle/obf/src/commands/jsdoc.js +1 -1
  80. package/bundle/obf/src/commands/lint.js +1 -1
  81. package/bundle/obf/src/commands/login.js +1 -1
  82. package/bundle/obf/src/commands/logout.js +1 -1
  83. package/bundle/obf/src/commands/logs.js +1 -1
  84. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  85. package/bundle/obf/src/commands/murder.js +1 -1
  86. package/bundle/obf/src/commands/profile.js +1 -1
  87. package/bundle/obf/src/commands/proxy.js +1 -1
  88. package/bundle/obf/src/commands/reconfig.js +1 -1
  89. package/bundle/obf/src/commands/register.js +1 -1
  90. package/bundle/obf/src/commands/run/_index.js +1 -1
  91. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  92. package/bundle/obf/src/commands/run/run.command.js +1 -1
  93. package/bundle/obf/src/commands/set/_index.js +1 -1
  94. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  95. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  96. package/bundle/obf/src/commands/set/set.command.js +1 -1
  97. package/bundle/obf/src/commands/ssh.js +1 -1
  98. package/bundle/obf/src/commands/ssl.js +1 -1
  99. package/bundle/obf/src/commands/test.js +1 -1
  100. package/bundle/obf/src/commands/undo.js +1 -1
  101. package/bundle/obf/src/commands/version.js +1 -1
  102. package/bundle/obf/src/error.js +1 -1
  103. package/bundle/obf/src/exec.js +1 -1
  104. package/bundle/obf/src/generator.js +1 -1
  105. package/bundle/obf/src/generators/_index.js +1 -1
  106. package/bundle/obf/src/generators/api.js +1 -1
  107. package/bundle/obf/src/generators/aws/_index.js +1 -1
  108. package/bundle/obf/src/generators/aws/aws.js +1 -1
  109. package/bundle/obf/src/generators/aws/cloudformation/_index.js +1 -1
  110. package/bundle/obf/src/generators/aws/cloudformation/cloudformation.js +1 -1
  111. package/bundle/obf/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.js +1 -1
  112. package/bundle/obf/src/generators/collection.js +1 -1
  113. package/bundle/obf/src/generators/component.js +1 -1
  114. package/bundle/obf/src/generators/config.js +1 -1
  115. package/bundle/obf/src/generators/dbc.js +1 -1
  116. package/bundle/obf/src/generators/dockerfile.js +1 -1
  117. package/bundle/obf/src/generators/hook.js +1 -1
  118. package/bundle/obf/src/generators/kits/_index.js +1 -1
  119. package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
  120. package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
  121. package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
  122. package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
  123. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  124. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  125. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  126. package/bundle/obf/src/generators/kits/kit.js +1 -1
  127. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  128. package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
  129. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  130. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  131. package/bundle/obf/src/generators/layout.js +1 -1
  132. package/bundle/obf/src/generators/maka.gen.js +1 -1
  133. package/bundle/obf/src/generators/methods.js +1 -1
  134. package/bundle/obf/src/generators/package.js +1 -1
  135. package/bundle/obf/src/generators/page.js +1 -1
  136. package/bundle/obf/src/generators/publish.js +1 -1
  137. package/bundle/obf/src/generators/route.js +1 -1
  138. package/bundle/obf/src/generators/service.js +1 -1
  139. package/bundle/obf/src/generators/services/_index.js +1 -1
  140. package/bundle/obf/src/generators/services/openssl.js +1 -1
  141. package/bundle/obf/src/generators/services/translation.js +1 -1
  142. package/bundle/obf/src/maka.js +1 -1
  143. package/bundle/obf/src/tool.js +1 -1
  144. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  145. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  146. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  147. package/bundle/obf/src/tools/cfg/cfg.class.js +1 -0
  148. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  149. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  150. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  151. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  152. package/bundle/obf/src/tools/https/https.class.js +1 -1
  153. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  154. package/bundle/obf/src/tools/log/log.class.js +1 -1
  155. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  156. package/bundle/obf/src/tools/mpi/mpi.class.js +1 -0
  157. package/bundle/obf/src/tools/options/options.class.js +1 -1
  158. package/bundle/obf/src/tools/pkg/pkg.class.js +1 -0
  159. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  160. package/bundle/obf/src/tools/scaffold/scaffold.class.js +1 -0
  161. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  162. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  163. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  164. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  165. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  166. package/package.json +2 -3
  167. package/bundle/obf/src/commands/patreon.js +0 -1
@@ -1 +1 @@
1
- const a159o=a159d;(function(a,b){const m=a159d,c=a();while(!![]){try{const d=parseInt(m(0x16d))/0x1+parseInt(m(0x179))/0x2*(-parseInt(m(0x17d))/0x3)+parseInt(m(0x176))/0x4+parseInt(m(0x192))/0x5*(parseInt(m(0x17b))/0x6)+-parseInt(m(0x194))/0x7*(parseInt(m(0x174))/0x8)+-parseInt(m(0x193))/0x9*(parseInt(m(0x188))/0xa)+parseInt(m(0x185))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a159c,0x25aa3));function a159c(){const w=['join','search','disconnect','concat','615qZMmKx','258777OeFYZq','3773FqnsLQ','sshVerbose','dest','81659BmKVeF','toString','push','message','source','user','host','3688RebLtb','scp','958508TLgrxd','ConnectTimeout=2','inherit','1328zSAxfL','ssh\x20','1542nriOCU','start','81tXikNk','verbose','pem','env','(((.+)+)+)+$','sshSync','ping','ssh','3275899GgheTn','constructor','tty','80MIOBGZ','close','port','ignore','withSpinner','success'];a159c=function(){return w;};return a159c();}function a159d(a,b){const c=a159c();return a159d=function(d,e){d=d-0x16d;let f=c[d];return f;},a159d(a,b);}const a159b=(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;};}()),a159a=a159b(this,function(){const n=a159d;return a159a['toString']()[n(0x18f)](n(0x181))[n(0x16e)]()[n(0x186)](a159a)[n(0x18f)](n(0x181));});a159a();import a159e from'path';import{execSync,spawnSync,spawn}from'child_process';import{Log}from'../log/log.class.js';export class SSH{static [a159o(0x184)]=(a,b,c)=>{return new Promise((d,e)=>{const p=a159d,f=b[p(0x172)]+'@'+b[p(0x173)],g=a159e['join'](b[p(0x180)],b[p(0x17f)]),h=c?.[p(0x187)]||![],i=c?.[p(0x195)]||![];let j=[];h&&j[p(0x16f)]('-t');i&&j[p(0x16f)]('-v');j=j[p(0x191)](['-o','ConnectTimeout=2','-i',g,'-p',b['port'],f,a]);const k=Log[p(0x18c)]();c?.['message']&&k[p(0x17c)](c?.[p(0x170)]);const l=spawn(p(0x184),j,{'stdio':c?.[p(0x17e)]?p(0x178):p(0x18b)});l['on'](p(0x190),()=>{const q=p;c?.[q(0x170)]&&k[q(0x18d)](),d();}),l['on'](p(0x189),()=>{const r=p;c?.['message']&&k[r(0x18d)](),d();}),l['on']('error',()=>{const s=p;c?.[s(0x170)]&&k['failure'](),e();});});};static [a159o(0x182)]=(a,b,c)=>{const t=a159o,d=b[t(0x172)]+'@'+b['host'],e=a159e[t(0x18e)](b['env'],b['pem']),f=c?.['tty']||![],g=c?.[t(0x195)]||![];let h=[];f&&h[t(0x16f)]('-t'),g&&h[t(0x16f)]('-v'),h=h['concat'](['-o',t(0x177),'-i',e,'-p',b['port'],d,a]),spawnSync(t(0x184),h,{'stdio':c?.[t(0x17e)]?t(0x178):t(0x18b)});};static[a159o(0x183)](a,b,c){const u=a159o,d=b[u(0x172)]+'@'+b[u(0x173)],e=a159e[u(0x18e)](b[u(0x180)],b[u(0x17f)]),f=c?.[u(0x187)]||![];let g=[];f&&g[u(0x16f)]('-t');g=g[u(0x191)](['-o','ConnectTimeout=2','-i',e,'-p',b['port'],d,a,'2>&1']);const h=u(0x17a)+g[u(0x18e)]('\x20');return execSync(h)[u(0x16e)]();}static[a159o(0x175)](a,b){const v=a159o,c=b['user']+'@'+b[v(0x173)]+':'+a[v(0x196)],d=a159e[v(0x18e)](b[v(0x180)],b[v(0x17f)]),e=['-i',d,'-P',b[v(0x18a)],a[v(0x171)],c];spawnSync(v(0x175),e,{'stdio':a[v(0x17e)]?'inherit':v(0x18b)});}}
1
+ const a162p=a162d;(function(a,b){const m=a162d,c=a();while(!![]){try{const d=parseInt(m(0x1a1))/0x1+-parseInt(m(0x18c))/0x2+parseInt(m(0x1a5))/0x3*(-parseInt(m(0x182))/0x4)+parseInt(m(0x189))/0x5*(-parseInt(m(0x194))/0x6)+-parseInt(m(0x19f))/0x7*(parseInt(m(0x1aa))/0x8)+-parseInt(m(0x19e))/0x9*(parseInt(m(0x19b))/0xa)+parseInt(m(0x183))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a162c,0xcc7cf));const a162b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a162d;if(c){const e=c[n(0x196)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a162a=a162b(this,function(){const o=a162d;return a162a['toString']()[o(0x187)](o(0x198))[o(0x1a9)]()[o(0x184)](a162a)[o(0x187)](o(0x198));});function a162d(a,b){const c=a162c();return a162d=function(d,e){d=d-0x181;let f=c[d];return f;},a162d(a,b);}a162a();import a162e from'path';import{execSync,spawnSync,spawn}from'child_process';import{Log}from'../log/log.class.js';export class SSH{static [a162p(0x197)]=(a,b,c)=>{return new Promise((d,e)=>{const q=a162d,f=b[q(0x1a7)]+'@'+b[q(0x19d)],g=a162e[q(0x199)](b[q(0x195)],b[q(0x1a6)]),h=c?.['tty']||![],i=c?.[q(0x1a2)]||![];let j=[];h&&j[q(0x186)]('-t');i&&j[q(0x186)]('-v');j=j[q(0x190)](['-o','ConnectTimeout=2','-i',g,'-p',b[q(0x18f)],f,a]);const k=Log[q(0x191)]();c?.['message']&&k[q(0x193)](c?.['message']);const l=spawn(q(0x197),j,{'stdio':c?.[q(0x188)]?'inherit':'ignore'});l['on'](q(0x18b),()=>{const r=q;c?.[r(0x181)]&&k[r(0x192)](),d();}),l['on'](q(0x1a0),()=>{const s=q;c?.[s(0x181)]&&k[s(0x192)](),d();}),l['on']('error',()=>{const t=q;c?.[t(0x181)]&&k[t(0x18e)](),e();});});};static [a162p(0x19c)]=(a,b,c)=>{const u=a162p,d=b[u(0x1a7)]+'@'+b[u(0x19d)],e=a162e[u(0x199)](b[u(0x195)],b[u(0x1a6)]),f=c?.[u(0x1a8)]||![],g=c?.['sshVerbose']||![];let h=[];f&&h[u(0x186)]('-t'),g&&h[u(0x186)]('-v'),h=h[u(0x190)](['-o',u(0x18d),'-i',e,'-p',b[u(0x18f)],d,a]),spawnSync('ssh',h,{'stdio':c?.[u(0x188)]?u(0x185):'ignore'});};static[a162p(0x1a4)](a,b,c){const v=a162p,d=b['user']+'@'+b[v(0x19d)],e=a162e[v(0x199)](b[v(0x195)],b[v(0x1a6)]),f=c?.[v(0x1a8)]||![];let g=[];f&&g[v(0x186)]('-t');g=g['concat'](['-o','ConnectTimeout=2','-i',e,'-p',b['port'],d,a,'2>&1']);const h=v(0x1a3)+g[v(0x199)]('\x20');return execSync(h)[v(0x1a9)]();}static['scp'](a,b){const w=a162p,c=b[w(0x1a7)]+'@'+b[w(0x19d)]+':'+a[w(0x18a)],d=a162e[w(0x199)](b[w(0x195)],b[w(0x1a6)]),e=['-i',d,'-P',b[w(0x18f)],a[w(0x1ab)],c];spawnSync(w(0x19a),e,{'stdio':a[w(0x188)]?'inherit':'ignore'});}}function a162c(){const x=['ping','23091EzOILI','pem','user','tty','toString','3160beXKjR','source','message','520dRWgLh','55032307ecmNzw','constructor','inherit','push','search','verbose','3287155kSRRsh','dest','disconnect','5632CzMnoR','ConnectTimeout=2','failure','port','concat','withSpinner','success','start','6HdIMGM','env','apply','ssh','(((.+)+)+)+$','join','scp','885750NUoYte','sshSync','host','117DtRbpO','28273vFWGkM','close','242383CEJvSq','sshVerbose','ssh\x20'];a162c=function(){return x;};return a162c();}
@@ -1 +1 @@
1
- (function(a,b){var f=a160d,c=a();while(!![]){try{var d=-parseInt(f(0xb7))/0x1+parseInt(f(0xb9))/0x2*(-parseInt(f(0xbb))/0x3)+parseInt(f(0xb0))/0x4*(parseInt(f(0xba))/0x5)+-parseInt(f(0xb4))/0x6*(parseInt(f(0xb2))/0x7)+-parseInt(f(0xb1))/0x8+parseInt(f(0xab))/0x9*(-parseInt(f(0xac))/0xa)+-parseInt(f(0xad))/0xb*(-parseInt(f(0xb3))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a160c,0x57980));function a160c(){var i=['constructor','search','4276ziMYuM','5531600WELptp','8141ishiNl','245796sFPsYm','1812xknmTs','toString','(((.+)+)+)+$','683334VJxIoK','apply','1432302OwgVYG','470FaikLa','3WsYJWy','9giDHte','3310250EwUxKs','1628pxkJvU'];a160c=function(){return i;};return a160c();}function a160d(a,b){var c=a160c();return a160d=function(d,e){d=d-0xab;var f=c[d];return f;},a160d(a,b);}var a160b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a160d;if(c){var e=c[g(0xb8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a160a=a160b(this,function(){var h=a160d;return a160a[h(0xb5)]()[h(0xaf)](h(0xb6))['toString']()[h(0xae)](a160a)['search'](h(0xb6));});a160a();export{};
1
+ (function(a,b){var f=a163d,c=a();while(!![]){try{var d=parseInt(f(0x182))/0x1+parseInt(f(0x188))/0x2+-parseInt(f(0x17e))/0x3*(-parseInt(f(0x185))/0x4)+-parseInt(f(0x17f))/0x5+parseInt(f(0x180))/0x6*(parseInt(f(0x18a))/0x7)+-parseInt(f(0x183))/0x8*(parseInt(f(0x186))/0x9)+parseInt(f(0x184))/0xa*(-parseInt(f(0x18b))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a163c,0x524b5));function a163c(){var i=['constructor','1161238cCUVmg','(((.+)+)+)+$','1141QnNina','198naccrq','search','toString','241767PPfHUT','784245EOeAKL','4458EoVLIM','apply','96165wHNXlS','136wHPuQD','142370QWWLLr','8OqbipI','110583MxWHCh'];a163c=function(){return i;};return a163c();}var a163b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a163d;if(c){var e=c[g(0x181)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a163a=a163b(this,function(){var h=a163d;return a163a[h(0x17d)]()[h(0x18c)]('(((.+)+)+)+$')[h(0x17d)]()[h(0x187)](a163a)[h(0x18c)](h(0x189));});a163a();function a163d(a,b){var c=a163c();return a163d=function(d,e){d=d-0x17d;var f=c[d];return f;},a163d(a,b);}export{};
@@ -1 +1 @@
1
- const a161j=a161d;(function(a,b){const f=a161d,c=a();while(!![]){try{const d=parseInt(f(0x1ca))/0x1*(parseInt(f(0x1c3))/0x2)+parseInt(f(0x1db))/0x3*(parseInt(f(0x1c8))/0x4)+-parseInt(f(0x1cd))/0x5*(-parseInt(f(0x1d7))/0x6)+-parseInt(f(0x1d1))/0x7*(-parseInt(f(0x1d4))/0x8)+-parseInt(f(0x1cb))/0x9*(-parseInt(f(0x1c0))/0xa)+parseInt(f(0x1d6))/0xb+-parseInt(f(0x1bd))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a161c,0x23026));const a161b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a161d;if(c){const e=c[g(0x1c5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a161a=a161b(this,function(){const h=a161d;return a161a[h(0x1bf)]()[h(0x1cf)]('(((.+)+)+)+$')[h(0x1bf)]()[h(0x1c7)](a161a)[h(0x1cf)](h(0x1d0));});function a161c(){const l=['(((.+)+)+)+$','1604820oSTLhd','openssl','inherit','8GMLvdI','openssl.conf','1680745qegusB','841824kuowbr','rsa:2048','-key','useConfig','146913EQBizg','genSSC','-config','req','8774088hcUGIv','-newkey','toString','1730irYOPr','cwd','-x509','226QoOThB','-out','apply','-new','constructor','8ICQboi','push','511eDndYk','10224vyAUen','crtName','5GOUBOc','-nodes','search'];a161c=function(){return l;};return a161c();}a161a();import{spawnSync}from'child_process';function a161d(a,b){const c=a161c();return a161d=function(d,e){d=d-0x1bb;let f=c[d];return f;},a161d(a,b);}export class SSL{static['genCSR'](a){const i=a161d,b=a[i(0x1c1)]?a[i(0x1c1)]:process['cwd'](),c=[i(0x1bc),i(0x1c6),i(0x1be),i(0x1d8),i(0x1ce),'-keyout',a['keyName'],'-out',a['csrName']];a['useConfig']&&(c[i(0x1c9)](i(0x1bb)),c[i(0x1c9)](i(0x1d5))),a['useConfig']?spawnSync(i(0x1d2),c,{'cwd':b}):spawnSync('openssl',c,{'stdio':i(0x1d3),'cwd':b});}static[a161j(0x1dc)](a){const k=a161j,b=a[k(0x1c1)]?a[k(0x1c1)]:process[k(0x1c1)](),c=[k(0x1bc),k(0x1c2),k(0x1c6),k(0x1d9),a['keyName'],k(0x1c4),a[k(0x1cc)]];a[k(0x1da)]&&(c[k(0x1c9)](k(0x1bb)),c['push'](k(0x1d5))),a[k(0x1da)]?spawnSync(k(0x1d2),c,{'cwd':b}):spawnSync('openssl',c,{'stdio':k(0x1d3),'cwd':b});}}
1
+ const a164i=a164d;function a164d(a,b){const c=a164c();return a164d=function(d,e){d=d-0x16c;let f=c[d];return f;},a164d(a,b);}(function(a,b){const f=a164d,c=a();while(!![]){try{const d=-parseInt(f(0x18b))/0x1*(-parseInt(f(0x16f))/0x2)+-parseInt(f(0x173))/0x3*(-parseInt(f(0x185))/0x4)+-parseInt(f(0x174))/0x5+parseInt(f(0x176))/0x6+-parseInt(f(0x17f))/0x7+-parseInt(f(0x16d))/0x8*(-parseInt(f(0x187))/0x9)+-parseInt(f(0x183))/0xa*(-parseInt(f(0x172))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a164c,0xc03da));const a164b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a164d;if(c){const e=c[g(0x18a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a164a=a164b(this,function(){const h=a164d;return a164a[h(0x186)]()[h(0x175)](h(0x17b))[h(0x186)]()[h(0x189)](a164a)[h(0x175)](h(0x17b));});a164a();import{spawnSync}from'child_process';function a164c(){const l=['2HZQspl','openssl','-out','167981xjLNBI','39453FyNAHC','3169670fWEouF','search','3554826HOddaC','genSSC','openssl.conf','req','genCSR','(((.+)+)+)+$','push','useConfig','-config','6989304QuoZGX','-new','rsa:2048','-key','430YzZzdN','crtName','284ccxqfk','toString','270InooWo','-x509','constructor','apply','105819COJzDr','keyName','-keyout','34976wwxsKf','cwd'];a164c=function(){return l;};return a164c();}export class SSL{static[a164i(0x17a)](a){const j=a164i,b=a[j(0x16e)]?a[j(0x16e)]:process[j(0x16e)](),c=[j(0x179),j(0x180),'-newkey',j(0x181),'-nodes',j(0x16c),a['keyName'],'-out',a['csrName']];a[j(0x17d)]&&(c['push'](j(0x17e)),c[j(0x17c)](j(0x178))),a[j(0x17d)]?spawnSync('openssl',c,{'cwd':b}):spawnSync(j(0x170),c,{'stdio':'inherit','cwd':b});}static[a164i(0x177)](a){const k=a164i,b=a[k(0x16e)]?a[k(0x16e)]:process['cwd'](),c=['req',k(0x188),k(0x180),k(0x182),a[k(0x18c)],k(0x171),a[k(0x184)]];a['useConfig']&&(c[k(0x17c)]('-config'),c['push']('openssl.conf')),a[k(0x17d)]?spawnSync(k(0x170),c,{'cwd':b}):spawnSync(k(0x170),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.13",
3
+ "version": "5.0.15",
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.",
@@ -30,8 +30,7 @@
30
30
  "es-build": "esbuild ./bundle/typescript/src/maka.js --bundle --platform=node --outfile=bundle/maka.cjs",
31
31
  "package": "pkg ./bundle/maka.cjs -d --bundle --out-path=\"bundle/compiled\" --compress GZip",
32
32
  "distribute": "mkdir -p compiled/macos compiled/linux compiled/win && mv bundle/compiled/maka-linux compiled/linux/maka && mv bundle/compiled/maka-macos compiled/macos/maka && mv bundle/compiled/maka-win.exe compiled/win/maka.exe",
33
- "prepare": "husky install",
34
- "install": "maka v"
33
+ "prepare": "husky install"
35
34
  },
36
35
  "author": "Maka <maka@maka-cli.com>",
37
36
  "license": "MIT",
@@ -1 +0,0 @@
1
- const a85u=a85d;(function(a,b){const r=a85d,c=a();while(!![]){try{const d=-parseInt(r(0xa5))/0x1*(parseInt(r(0x6c))/0x2)+parseInt(r(0xa0))/0x3*(parseInt(r(0x9f))/0x4)+-parseInt(r(0x6b))/0x5*(parseInt(r(0x86))/0x6)+-parseInt(r(0x84))/0x7*(parseInt(r(0x99))/0x8)+-parseInt(r(0x6e))/0x9*(-parseInt(r(0x87))/0xa)+-parseInt(r(0x90))/0xb*(-parseInt(r(0x6d))/0xc)+-parseInt(r(0xa9))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a85c,0x83d32));function a85d(a,b){const c=a85c();return a85d=function(d,e){d=d-0x69;let f=c[d];return f;},a85d(a,b);}const a85b=(function(){let a=!![];return function(b,c){const d=a?function(){const s=a85d;if(c){const e=c[s(0x8e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a85a=a85b(this,function(){const t=a85d;return a85a[t(0x69)]()['search'](t(0x83))[t(0x69)]()[t(0xa8)](a85a)[t(0x80)]('(((.+)+)+)+$');});a85a();import{Command}from'../command.js';function a85c(){const w=['warn','You\x20need\x20to\x20verify\x20your\x20email\x20before\x20you\x20can\x20link\x20your\x20account.','To\x20link\x20your\x20Patreon\x20account,\x20run\x20`maka\x20patreon\x20--link`','error','3917840TLlguY','PRO\x20Features\x20Enabled\x20🤘','includes','info','&redirect_uri=','majestic','92hvRTEZ','136557OAqcHZ','getPro','MAKA_DEV','failure','fsi','329pWNgkm','Fetching\x20Patreon\x20status...\x20','True','constructor','3974724FGZuOz','link','You\x20are\x20SO\x20not\x20PRO\x20😭','Thank\x20you\x20for\x20your\x20support!!','Using\x20CA\x20Cert\x20','https://localhost:443/api/v1/patreon/status','logout','toString','roles','880hBTCJL','1594fifUSo','53028purEDv','415197IDRRDQ','Check\x20your\x20email\x20for\x20the\x20verification\x20link\x20or\x20run\x20`maka\x20login\x20--verify`\x20to\x20resend\x20the\x20verification\x20email','Opening\x20Patreon\x20in\x20your\x20browser...','processAndRunCommand','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','env','https://www.patreon.com/oauth2/authorize?response_type=code&client_id=','authToken','token','maka\x20patreon\x20--cacert\x20/path/to/cacert.pem','https://www.maka-cli.com/api/v1/patreon/status','withSpinner','exit','\x0a\x20\x20--status:\x20Check\x20if\x20you\x20are\x20a\x20patron,\x20and\x20update\x20your\x20account\x0a\x0a\x20\x20--link:\x20Link\x20your\x20Patreon\x20account\x20to\x20your\x20Maka\x20account\x0a\x0a\x20\x20--unlink:\x20Unlink\x20your\x20Patreon\x20account\x20from\x20your\x20Maka\x20account\x0a\x0a\x20\x20--cacert:\x20Path\x20to\x20a\x20CA\x20Cert\x20file\x20if\x20you\x20need\x20to\x20use\x20one\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NOTE:\x20If\x20you\x20have\x20a\x20CA\x20Cert\x20configured\x20in\x20~/.meteor/.maka/global-config.json\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20maka\x20will\x20use\x20that\x20cert\x20by\x20default.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20To\x20set\x20a\x20CA\x20cert,\x20use\x20\x27maka\x20set:global-config\x20--cacert\x20/path/to/cacert.pem\x27\x0a\x20\x20','get','maka\x20patreon','https://localhost:443/api/v1/patreon/link','maka\x20patreon\x20--unlink','search','setGlobalConfig','emailVerified','(((.+)+)+)+$','14VsxbiT','get:whoami','3264agBhwA','230lgqEIW','patreon','parse','https://www.maka-cli.com/api/v1/patreon/link','help','cacert','isFile','apply','unlink','187DxDSyY','notice','Run\x20`maka\x20login`\x20to\x20login\x20or\x20`maka\x20register`\x20to\x20create\x20an\x20account','https://www.maka-cli.com/api/v1/patreon/unlink','maka\x20patreon\x20--status'];a85c=function(){return w;};return a85c();}import a85e from'./maka.cmd.js';import{Log}from'../tools/log/log.class.js';import{HTTPS}from'../tools/https/https.class.js';import a85f from'open';const clientId='xKtLQ3M3ZzWReGTMgj0kEn73qtUKS5PBxzvANBfi43_rEoanXp0w_S5EYye1uAqP',redirectUri=process[a85u(0x73)][a85u(0xa2)]===a85u(0xa7)?a85u(0x7e):a85u(0x8a),patreonUnlinkUri=process[a85u(0x73)]['MAKA_DEV']===a85u(0xa7)?'https://localhost:443/api/v1/patreon/unlink':a85u(0x93),patreonStatusUri=process[a85u(0x73)][a85u(0xa2)]===a85u(0xa7)?a85u(0xae):a85u(0x78);Command['create']({'name':a85u(0x88),'validOpts':['status',a85u(0xaa),'unlink',a85u(0x8b),a85u(0x8c)],'usage':a85u(0x7d),'shortDesc':'If\x20you\x20are\x20a\x20sponsor\x20through\x20Patreon,\x20you\x20can\x20level\x20up\x20to\x20PRO!','description':a85u(0x7b),'examples':[a85u(0x94),'maka\x20patreon\x20--link',a85u(0x7f),a85u(0x77)],'maxOptsLength':0x3,'minOptsLength':0x1,'mustBeLoggedIn':!![]},async function(a,b){const v=a85u;try{const c=await a85e[v(0x71)](v(0x85),[],{'silent':!![]});let d=await this[v(0xa4)][v(0xa1)](),e='';b[v(0x8c)]&&(this[v(0xa4)][v(0x8d)](b[v(0x8c)])?(e=b[v(0x8c)],Log[v(0x91)](v(0xad)+e)):(Log[v(0x98)](v(0x72)+b[v(0x8c)]),process[v(0x7a)](0x1)));const f=c[v(0x76)][v(0x75)];if(c[v(0x76)][v(0x75)]){!d[v(0x82)]&&(Log[v(0x95)](v(0x96)),Log[v(0x95)](v(0x6f)),process['exit'](0x1));if(b[v(0xaa)]){Log['notice'](v(0x70));const g=v(0x74)+clientId+v(0x9d)+encodeURIComponent(redirectUri)+'&state='+f;await a85f(g);}if(b[v(0x8f)]){const {data:h,statusCode:i}=await HTTPS[v(0x7c)]({'url':patreonUnlinkUri,'headers':{'x-auth-token':c[v(0x76)][v(0x75)]},'cert':e}),{message:j}=JSON[v(0x89)](h);i===0xc8?Log[v(0x91)](j):Log[v(0x98)](j),Log[v(0x9c)]('Logging\x20you\x20out\x20for\x20security\x20reasons...'),await a85e[v(0x71)](v(0xaf));}if(!b[v(0xaa)]&&!b[v(0x8f)]){const k=Log[v(0x79)](v(0xa6)),{data:l,statusCode:m}=await HTTPS[v(0x7c)]({'url':patreonStatusUri,'headers':{'x-auth-token':c[v(0x76)][v(0x75)]}}),{message:n}=JSON[v(0x89)](l);m!==0xc8&&(k[v(0xa3)](),Log[v(0x98)](n),process['exit'](0x1));const {hasPatreonCredentials:o,token:p}=JSON['parse'](l);if(o&&p)await this[v(0xa4)][v(0x81)]({'hash':p}),d=await this['fsi'][v(0xa1)](),d[v(0x6a)][v(0x9b)]('singleLicense')?(Log[v(0x9e)](v(0x9a)),Log[v(0x9e)](v(0xac))):Log['notice'](v(0xab));else!o&&Log[v(0x91)](v(0x97));}}else Log[v(0x91)]('You\x20need\x20to\x20be\x20logged\x20in\x20to\x20use\x20this\x20command!'),Log['notice'](v(0x92));}catch(q){Log['error']('Failed\x20to\x20authenticate\x20with\x20Patreon:\x20'+q),process[v(0x7a)](0x1);}});