@emulsify/cli 1.6.0 → 1.7.1

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 (277) hide show
  1. package/README.md +89 -1
  2. package/dist/handlers/componentInstall.js +1 -1
  3. package/dist/handlers/componentList.js +1 -1
  4. package/dist/handlers/systemInstall.js +24 -9
  5. package/dist/index.js +12 -21
  6. package/dist/node_modules/.package-lock.json +24 -24
  7. package/dist/node_modules/@types/node/LICENSE +0 -0
  8. package/dist/node_modules/@types/node/README.md +1 -1
  9. package/dist/node_modules/@types/node/assert.d.ts +33 -31
  10. package/dist/node_modules/@types/node/async_hooks.d.ts +28 -20
  11. package/dist/node_modules/@types/node/buffer.d.ts +4 -4
  12. package/dist/node_modules/@types/node/child_process.d.ts +230 -62
  13. package/dist/node_modules/@types/node/cluster.d.ts +62 -27
  14. package/dist/node_modules/@types/node/console.d.ts +6 -6
  15. package/dist/node_modules/@types/node/constants.d.ts +12 -11
  16. package/dist/node_modules/@types/node/crypto.d.ts +311 -237
  17. package/dist/node_modules/@types/node/dgram.d.ts +50 -14
  18. package/dist/node_modules/@types/node/dns.d.ts +183 -54
  19. package/dist/node_modules/@types/node/domain.d.ts +4 -4
  20. package/dist/node_modules/@types/node/events.d.ts +4 -4
  21. package/dist/node_modules/@types/node/fs/promises.d.ts +105 -39
  22. package/dist/node_modules/@types/node/fs.d.ts +440 -126
  23. package/dist/node_modules/@types/node/globals.d.ts +41 -22
  24. package/dist/node_modules/@types/node/globals.global.d.ts +0 -0
  25. package/dist/node_modules/@types/node/http.d.ts +306 -217
  26. package/dist/node_modules/@types/node/http2.d.ts +341 -95
  27. package/dist/node_modules/@types/node/https.d.ts +250 -118
  28. package/dist/node_modules/@types/node/index.d.ts +1 -1
  29. package/dist/node_modules/@types/node/inspector.d.ts +1 -2
  30. package/dist/node_modules/@types/node/module.d.ts +4 -4
  31. package/dist/node_modules/@types/node/net.d.ts +28 -12
  32. package/dist/node_modules/@types/node/os.d.ts +5 -4
  33. package/dist/node_modules/@types/node/package.json +10 -3
  34. package/dist/node_modules/@types/node/path.d.ts +35 -24
  35. package/dist/node_modules/@types/node/perf_hooks.d.ts +5 -5
  36. package/dist/node_modules/@types/node/process.d.ts +61 -22
  37. package/dist/node_modules/@types/node/punycode.d.ts +3 -3
  38. package/dist/node_modules/@types/node/querystring.d.ts +15 -5
  39. package/dist/node_modules/@types/node/readline.d.ts +16 -6
  40. package/dist/node_modules/@types/node/repl.d.ts +13 -7
  41. package/dist/node_modules/@types/node/stream.d.ts +182 -23
  42. package/dist/node_modules/@types/node/string_decoder.d.ts +3 -3
  43. package/dist/node_modules/@types/node/timers.d.ts +5 -5
  44. package/dist/node_modules/@types/node/tls.d.ts +112 -30
  45. package/dist/node_modules/@types/node/trace_events.d.ts +3 -3
  46. package/dist/node_modules/@types/node/ts4.8/assert.d.ts +130 -0
  47. package/dist/node_modules/@types/node/ts4.8/async_hooks.d.ts +237 -0
  48. package/dist/node_modules/@types/node/ts4.8/buffer.d.ts +89 -0
  49. package/dist/node_modules/@types/node/ts4.8/child_process.d.ts +682 -0
  50. package/dist/node_modules/@types/node/ts4.8/cluster.d.ts +300 -0
  51. package/dist/node_modules/@types/node/ts4.8/console.d.ts +142 -0
  52. package/dist/node_modules/@types/node/ts4.8/constants.d.ts +19 -0
  53. package/dist/node_modules/@types/node/ts4.8/crypto.d.ts +1287 -0
  54. package/dist/node_modules/@types/node/ts4.8/dgram.d.ts +180 -0
  55. package/dist/node_modules/@types/node/ts4.8/dns.d.ts +516 -0
  56. package/dist/node_modules/@types/node/ts4.8/domain.d.ts +27 -0
  57. package/dist/node_modules/@types/node/ts4.8/events.d.ts +82 -0
  58. package/dist/node_modules/@types/node/ts4.8/fs/promises.d.ts +634 -0
  59. package/dist/node_modules/@types/node/ts4.8/fs.d.ts +2587 -0
  60. package/dist/node_modules/@types/node/ts4.8/globals.d.ts +763 -0
  61. package/dist/node_modules/@types/node/ts4.8/globals.global.d.ts +1 -0
  62. package/dist/node_modules/@types/node/ts4.8/http.d.ts +580 -0
  63. package/dist/node_modules/@types/node/ts4.8/http2.d.ts +1208 -0
  64. package/dist/node_modules/@types/node/ts4.8/https.d.ts +274 -0
  65. package/dist/node_modules/@types/node/ts4.8/index.d.ts +53 -0
  66. package/dist/node_modules/@types/node/ts4.8/inspector.d.ts +3050 -0
  67. package/dist/node_modules/@types/node/ts4.8/module.d.ts +56 -0
  68. package/dist/node_modules/@types/node/ts4.8/net.d.ts +324 -0
  69. package/dist/node_modules/@types/node/ts4.8/os.d.ts +243 -0
  70. package/dist/node_modules/@types/node/ts4.8/path.d.ts +168 -0
  71. package/dist/node_modules/@types/node/ts4.8/perf_hooks.d.ts +274 -0
  72. package/dist/node_modules/@types/node/ts4.8/process.d.ts +452 -0
  73. package/dist/node_modules/@types/node/ts4.8/punycode.d.ts +78 -0
  74. package/dist/node_modules/@types/node/ts4.8/querystring.d.ts +41 -0
  75. package/dist/node_modules/@types/node/ts4.8/readline.d.ts +184 -0
  76. package/dist/node_modules/@types/node/ts4.8/repl.d.ts +404 -0
  77. package/dist/node_modules/@types/node/ts4.8/stream.d.ts +518 -0
  78. package/dist/node_modules/@types/node/ts4.8/string_decoder.d.ts +10 -0
  79. package/dist/node_modules/@types/node/ts4.8/timers.d.ts +19 -0
  80. package/dist/node_modules/@types/node/ts4.8/tls.d.ts +866 -0
  81. package/dist/node_modules/@types/node/ts4.8/trace_events.d.ts +64 -0
  82. package/dist/node_modules/@types/node/ts4.8/tty.d.ts +69 -0
  83. package/dist/node_modules/@types/node/ts4.8/url.d.ts +187 -0
  84. package/dist/node_modules/@types/node/ts4.8/util.d.ts +278 -0
  85. package/dist/node_modules/@types/node/ts4.8/v8.d.ts +189 -0
  86. package/dist/node_modules/@types/node/ts4.8/vm.d.ts +155 -0
  87. package/dist/node_modules/@types/node/ts4.8/wasi.d.ts +88 -0
  88. package/dist/node_modules/@types/node/ts4.8/worker_threads.d.ts +241 -0
  89. package/dist/node_modules/@types/node/ts4.8/zlib.d.ts +364 -0
  90. package/dist/node_modules/@types/node/tty.d.ts +4 -4
  91. package/dist/node_modules/@types/node/url.d.ts +49 -11
  92. package/dist/node_modules/@types/node/util.d.ts +103 -41
  93. package/dist/node_modules/@types/node/v8.d.ts +4 -5
  94. package/dist/node_modules/@types/node/vm.d.ts +7 -7
  95. package/dist/node_modules/@types/node/wasi.d.ts +3 -4
  96. package/dist/node_modules/@types/node/worker_threads.d.ts +8 -8
  97. package/dist/node_modules/@types/node/zlib.d.ts +13 -13
  98. package/dist/node_modules/@types/progress/LICENSE +0 -0
  99. package/dist/node_modules/@types/progress/README.md +2 -3
  100. package/dist/node_modules/@types/progress/index.d.ts +0 -5
  101. package/dist/node_modules/@types/progress/package.json +6 -6
  102. package/dist/node_modules/ajv-formats/node_modules/ajv/README.md +19 -5
  103. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/2019.d.ts +3 -1
  104. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/2019.js +7 -1
  105. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/2019.js.map +1 -1
  106. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/2020.d.ts +3 -1
  107. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/2020.js +7 -1
  108. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/2020.js.map +1 -1
  109. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/ajv.d.ts +3 -1
  110. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/ajv.js +7 -1
  111. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/ajv.js.map +1 -1
  112. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/code.d.ts +5 -5
  113. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/code.js.map +1 -1
  114. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/index.d.ts +2 -2
  115. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/index.js.map +1 -1
  116. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/scope.d.ts +5 -5
  117. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/scope.js +1 -1
  118. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/scope.js.map +1 -1
  119. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/errors.js +1 -1
  120. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/errors.js.map +1 -1
  121. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/index.d.ts +1 -1
  122. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/index.js +1 -1
  123. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/index.js.map +1 -1
  124. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/jtd/parse.js.map +1 -1
  125. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/jtd/serialize.js +18 -7
  126. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/jtd/serialize.js.map +1 -1
  127. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/jtd/types.d.ts +2 -2
  128. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/names.js +6 -6
  129. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/names.js.map +1 -1
  130. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/resolve.d.ts +1 -1
  131. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/resolve.js +4 -4
  132. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/resolve.js.map +1 -1
  133. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/rules.d.ts +2 -2
  134. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/util.d.ts +2 -2
  135. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/util.js +1 -1
  136. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/util.js.map +1 -1
  137. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/boolSchema.js.map +1 -1
  138. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/dataType.d.ts +1 -1
  139. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/dataType.js +2 -1
  140. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/dataType.js.map +1 -1
  141. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/defaults.js.map +1 -1
  142. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/index.js +11 -1
  143. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/index.js.map +1 -1
  144. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/keyword.js.map +1 -1
  145. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/subschema.d.ts +1 -1
  146. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/subschema.js.map +1 -1
  147. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/core.d.ts +3 -3
  148. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/core.js +2 -1
  149. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/core.js.map +1 -1
  150. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/jtd.d.ts +4 -2
  151. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/jtd.js +7 -1
  152. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/jtd.js.map +1 -1
  153. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/equal.d.ts +1 -1
  154. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/parseJson.js +2 -1
  155. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/parseJson.js.map +1 -1
  156. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/re2.d.ts +1 -1
  157. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/ucs2length.js.map +1 -1
  158. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/uri.d.ts +1 -1
  159. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/standalone/index.js.map +1 -1
  160. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/types/index.d.ts +19 -19
  161. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/types/json-schema.d.ts +15 -14
  162. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/types/jtd-schema.d.ts +30 -25
  163. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/additionalItems.d.ts +1 -1
  164. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js.map +1 -1
  165. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.d.ts +1 -1
  166. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js.map +1 -1
  167. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/anyOf.d.ts +1 -1
  168. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/contains.d.ts +1 -1
  169. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/contains.js.map +1 -1
  170. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/dependencies.d.ts +2 -2
  171. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/dependencies.js.map +1 -1
  172. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/if.d.ts +1 -1
  173. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/if.js.map +1 -1
  174. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/index.d.ts +1 -1
  175. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/items.js.map +1 -1
  176. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/items2020.d.ts +1 -1
  177. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/not.d.ts +1 -1
  178. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/not.js.map +1 -1
  179. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/oneOf.d.ts +1 -1
  180. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/oneOf.js.map +1 -1
  181. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js.map +1 -1
  182. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/properties.js.map +1 -1
  183. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/propertyNames.d.ts +1 -1
  184. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/code.js.map +1 -1
  185. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/ref.js.map +1 -1
  186. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/discriminator/index.d.ts +1 -1
  187. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/discriminator/index.js.map +1 -1
  188. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/discriminator/types.d.ts +1 -1
  189. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/discriminator/types.js +1 -1
  190. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/discriminator/types.js.map +1 -1
  191. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js.map +1 -1
  192. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/errors.d.ts +1 -1
  193. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/format/format.d.ts +1 -1
  194. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/format/format.js.map +1 -1
  195. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/discriminator.d.ts +1 -1
  196. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/discriminator.js.map +1 -1
  197. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/elements.d.ts +1 -1
  198. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/enum.d.ts +1 -1
  199. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/enum.js.map +1 -1
  200. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/error.d.ts +1 -1
  201. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/index.d.ts +1 -1
  202. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/metadata.js.map +1 -1
  203. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/nullable.js.map +1 -1
  204. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/properties.d.ts +3 -3
  205. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/properties.js +8 -5
  206. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/properties.js.map +1 -1
  207. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/ref.js.map +1 -1
  208. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/type.d.ts +3 -3
  209. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/type.js.map +1 -1
  210. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/values.d.ts +1 -1
  211. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/values.js +10 -7
  212. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/values.js.map +1 -1
  213. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.d.ts +1 -1
  214. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js.map +1 -1
  215. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.d.ts +1 -1
  216. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js.map +1 -1
  217. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/const.d.ts +1 -1
  218. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/const.js.map +1 -1
  219. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/dependentRequired.d.ts +1 -1
  220. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/enum.d.ts +1 -1
  221. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/enum.js.map +1 -1
  222. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/index.d.ts +2 -2
  223. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitContains.js.map +1 -1
  224. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitNumber.d.ts +3 -3
  225. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/multipleOf.d.ts +1 -1
  226. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/pattern.d.ts +1 -1
  227. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/required.d.ts +1 -1
  228. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/required.js.map +1 -1
  229. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/uniqueItems.d.ts +1 -1
  230. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/2019.ts +4 -1
  231. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/2020.ts +4 -1
  232. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/ajv.ts +4 -1
  233. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/codegen/index.ts +25 -5
  234. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/jtd/serialize.ts +20 -14
  235. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/jtd/types.ts +1 -1
  236. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/resolve.ts +4 -4
  237. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/rules.ts +1 -1
  238. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/validate/dataType.ts +1 -0
  239. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/validate/index.ts +10 -1
  240. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/core.ts +4 -0
  241. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/jtd.ts +4 -1
  242. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/runtime/parseJson.ts +2 -1
  243. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/types/index.ts +7 -3
  244. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/types/json-schema.ts +1 -0
  245. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/types/jtd-schema.ts +21 -11
  246. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/jtd/properties.ts +13 -6
  247. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/jtd/values.ts +10 -7
  248. package/dist/node_modules/ajv-formats/node_modules/ajv/package.json +40 -40
  249. package/dist/node_modules/commander/Readme.md +407 -169
  250. package/dist/node_modules/commander/esm.mjs +13 -1
  251. package/dist/node_modules/commander/index.js +13 -2206
  252. package/dist/node_modules/commander/lib/argument.js +145 -0
  253. package/dist/node_modules/commander/lib/command.js +2299 -0
  254. package/dist/node_modules/commander/lib/error.js +43 -0
  255. package/dist/node_modules/commander/lib/help.js +457 -0
  256. package/dist/node_modules/commander/lib/option.js +327 -0
  257. package/dist/node_modules/commander/lib/suggestSimilar.js +100 -0
  258. package/dist/node_modules/commander/package.json +46 -34
  259. package/dist/node_modules/commander/typings/esm.d.mts +3 -0
  260. package/dist/node_modules/commander/typings/index.d.ts +889 -617
  261. package/dist/node_modules/graceful-fs/package.json +6 -3
  262. package/dist/node_modules/graceful-fs/polyfills.js +1 -1
  263. package/dist/node_modules/punycode/README.md +29 -3
  264. package/dist/node_modules/punycode/package.json +7 -7
  265. package/dist/node_modules/punycode/punycode.es6.js +25 -22
  266. package/dist/node_modules/punycode/punycode.js +25 -22
  267. package/dist/node_modules/universalify/README.md +1 -1
  268. package/dist/node_modules/universalify/index.js +6 -6
  269. package/dist/node_modules/universalify/package.json +2 -2
  270. package/dist/package.json +1 -2
  271. package/dist/util/cache/cloneIntoCache.js +1 -1
  272. package/dist/util/cache/getCachedItemPath.js +4 -2
  273. package/dist/util/cache/getJsonFromCachedFile.js +2 -2
  274. package/dist/util/getGitRepoNameFromUrl.js +1 -1
  275. package/dist/util/getRepositoryLatestTag.js +16 -0
  276. package/package.json +2 -3
  277. package/dist/node_modules/commander/CHANGELOG.md +0 -440
@@ -0,0 +1,145 @@
1
+ const { InvalidArgumentError } = require('./error.js');
2
+
3
+ class Argument {
4
+ /**
5
+ * Initialize a new command argument with the given name and description.
6
+ * The default is that the argument is required, and you can explicitly
7
+ * indicate this with <> around the name. Put [] around the name for an optional argument.
8
+ *
9
+ * @param {string} name
10
+ * @param {string} [description]
11
+ */
12
+
13
+ constructor(name, description) {
14
+ this.description = description || '';
15
+ this.variadic = false;
16
+ this.parseArg = undefined;
17
+ this.defaultValue = undefined;
18
+ this.defaultValueDescription = undefined;
19
+ this.argChoices = undefined;
20
+
21
+ switch (name[0]) {
22
+ case '<': // e.g. <required>
23
+ this.required = true;
24
+ this._name = name.slice(1, -1);
25
+ break;
26
+ case '[': // e.g. [optional]
27
+ this.required = false;
28
+ this._name = name.slice(1, -1);
29
+ break;
30
+ default:
31
+ this.required = true;
32
+ this._name = name;
33
+ break;
34
+ }
35
+
36
+ if (this._name.length > 3 && this._name.slice(-3) === '...') {
37
+ this.variadic = true;
38
+ this._name = this._name.slice(0, -3);
39
+ }
40
+ }
41
+
42
+ /**
43
+ * Return argument name.
44
+ *
45
+ * @return {string}
46
+ */
47
+
48
+ name() {
49
+ return this._name;
50
+ }
51
+
52
+ /**
53
+ * @package internal use only
54
+ */
55
+
56
+ _concatValue(value, previous) {
57
+ if (previous === this.defaultValue || !Array.isArray(previous)) {
58
+ return [value];
59
+ }
60
+
61
+ return previous.concat(value);
62
+ }
63
+
64
+ /**
65
+ * Set the default value, and optionally supply the description to be displayed in the help.
66
+ *
67
+ * @param {*} value
68
+ * @param {string} [description]
69
+ * @return {Argument}
70
+ */
71
+
72
+ default(value, description) {
73
+ this.defaultValue = value;
74
+ this.defaultValueDescription = description;
75
+ return this;
76
+ }
77
+
78
+ /**
79
+ * Set the custom handler for processing CLI command arguments into argument values.
80
+ *
81
+ * @param {Function} [fn]
82
+ * @return {Argument}
83
+ */
84
+
85
+ argParser(fn) {
86
+ this.parseArg = fn;
87
+ return this;
88
+ }
89
+
90
+ /**
91
+ * Only allow argument value to be one of choices.
92
+ *
93
+ * @param {string[]} values
94
+ * @return {Argument}
95
+ */
96
+
97
+ choices(values) {
98
+ this.argChoices = values.slice();
99
+ this.parseArg = (arg, previous) => {
100
+ if (!this.argChoices.includes(arg)) {
101
+ throw new InvalidArgumentError(`Allowed choices are ${this.argChoices.join(', ')}.`);
102
+ }
103
+ if (this.variadic) {
104
+ return this._concatValue(arg, previous);
105
+ }
106
+ return arg;
107
+ };
108
+ return this;
109
+ }
110
+
111
+ /**
112
+ * Make argument required.
113
+ */
114
+ argRequired() {
115
+ this.required = true;
116
+ return this;
117
+ }
118
+
119
+ /**
120
+ * Make argument optional.
121
+ */
122
+ argOptional() {
123
+ this.required = false;
124
+ return this;
125
+ }
126
+ }
127
+
128
+ /**
129
+ * Takes an argument and returns its human readable equivalent for help usage.
130
+ *
131
+ * @param {Argument} arg
132
+ * @return {string}
133
+ * @private
134
+ */
135
+
136
+ function humanReadableArgName(arg) {
137
+ const nameOutput = arg.name() + (arg.variadic === true ? '...' : '');
138
+
139
+ return arg.required
140
+ ? '<' + nameOutput + '>'
141
+ : '[' + nameOutput + ']';
142
+ }
143
+
144
+ exports.Argument = Argument;
145
+ exports.humanReadableArgName = humanReadableArgName;