@emulsify/cli 1.6.0 → 1.8.0

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
@@ -1,8 +1,8 @@
1
- declare module 'child_process' {
2
- import { BaseEncodingOptions } from 'fs';
3
- import * as events from 'events';
4
- import * as net from 'net';
5
- import { Writable, Readable, Stream, Pipe } from 'stream';
1
+ declare module "child_process" {
2
+ import { BaseEncodingOptions } from "fs";
3
+ import * as events from "events";
4
+ import * as net from "net";
5
+ import { Pipe, Readable, Stream, Writable } from "stream";
6
6
 
7
7
  type Serializable = string | object | number | boolean;
8
8
  type SendHandle = net.Socket | net.Server;
@@ -17,7 +17,7 @@ declare module 'child_process' {
17
17
  Readable | null, // stdout
18
18
  Readable | null, // stderr
19
19
  Readable | Writable | null | undefined, // extra
20
- Readable | Writable | null | undefined // extra
20
+ Readable | Writable | null | undefined, // extra
21
21
  ];
22
22
  readonly killed: boolean;
23
23
  readonly pid: number;
@@ -29,7 +29,12 @@ declare module 'child_process' {
29
29
  kill(signal?: NodeJS.Signals | number): boolean;
30
30
  send(message: Serializable, callback?: (error: Error | null) => void): boolean;
31
31
  send(message: Serializable, sendHandle?: SendHandle, callback?: (error: Error | null) => void): boolean;
32
- send(message: Serializable, sendHandle?: SendHandle, options?: MessageOptions, callback?: (error: Error | null) => void): boolean;
32
+ send(
33
+ message: Serializable,
34
+ sendHandle?: SendHandle,
35
+ options?: MessageOptions,
36
+ callback?: (error: Error | null) => void,
37
+ ): boolean;
33
38
  disconnect(): void;
34
39
  unref(): void;
35
40
  ref(): void;
@@ -79,10 +84,16 @@ declare module 'child_process' {
79
84
  prependListener(event: "message", listener: (message: Serializable, sendHandle: SendHandle) => void): this;
80
85
 
81
86
  prependOnceListener(event: string, listener: (...args: any[]) => void): this;
82
- prependOnceListener(event: "close", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this;
87
+ prependOnceListener(
88
+ event: "close",
89
+ listener: (code: number | null, signal: NodeJS.Signals | null) => void,
90
+ ): this;
83
91
  prependOnceListener(event: "disconnect", listener: () => void): this;
84
92
  prependOnceListener(event: "error", listener: (err: Error) => void): this;
85
- prependOnceListener(event: "exit", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this;
93
+ prependOnceListener(
94
+ event: "exit",
95
+ listener: (code: number | null, signal: NodeJS.Signals | null) => void,
96
+ ): this;
86
97
  prependOnceListener(event: "message", listener: (message: Serializable, sendHandle: SendHandle) => void): this;
87
98
  }
88
99
 
@@ -96,7 +107,7 @@ declare module 'child_process' {
96
107
  Readable, // stdout
97
108
  Readable, // stderr
98
109
  Readable | Writable | null | undefined, // extra, no modification
99
- Readable | Writable | null | undefined // extra, no modification
110
+ Readable | Writable | null | undefined, // extra, no modification
100
111
  ];
101
112
  }
102
113
 
@@ -114,7 +125,7 @@ declare module 'child_process' {
114
125
  O,
115
126
  E,
116
127
  Readable | Writable | null | undefined, // extra, no modification
117
- Readable | Writable | null | undefined // extra, no modification
128
+ Readable | Writable | null | undefined, // extra, no modification
118
129
  ];
119
130
  }
120
131
 
@@ -122,9 +133,13 @@ declare module 'child_process' {
122
133
  keepOpen?: boolean | undefined;
123
134
  }
124
135
 
125
- type StdioOptions = "pipe" | "ignore" | "inherit" | Array<("pipe" | "ipc" | "ignore" | "inherit" | Stream | number | null | undefined)>;
136
+ type StdioOptions =
137
+ | "pipe"
138
+ | "ignore"
139
+ | "inherit"
140
+ | Array<("pipe" | "ipc" | "ignore" | "inherit" | Stream | number | null | undefined)>;
126
141
 
127
- type SerializationType = 'json' | 'advanced';
142
+ type SerializationType = "json" | "advanced";
128
143
 
129
144
  interface MessagingOptions {
130
145
  /**
@@ -143,7 +158,7 @@ declare module 'child_process' {
143
158
 
144
159
  interface CommonOptions extends ProcessEnvOptions {
145
160
  /**
146
- * @default true
161
+ * @default false
147
162
  */
148
163
  windowsHide?: boolean | undefined;
149
164
  /**
@@ -154,6 +169,15 @@ declare module 'child_process' {
154
169
 
155
170
  interface CommonSpawnOptions extends CommonOptions, MessagingOptions {
156
171
  argv0?: string | undefined;
172
+ /**
173
+ * Can be set to 'pipe', 'inherit', 'overlapped', or 'ignore', or an array of these strings.
174
+ * If passed as an array, the first element is used for `stdin`, the second for
175
+ * `stdout`, and the third for `stderr`. A fourth element can be used to
176
+ * specify the `stdio` behavior beyond the standard streams. See
177
+ * {@link ChildProcess.stdio} for more information.
178
+ *
179
+ * @default 'pipe'
180
+ */
157
181
  stdio?: StdioOptions | undefined;
158
182
  shell?: boolean | string | undefined;
159
183
  windowsVerbatimArguments?: boolean | undefined;
@@ -164,11 +188,11 @@ declare module 'child_process' {
164
188
  }
165
189
 
166
190
  interface SpawnOptionsWithoutStdio extends SpawnOptions {
167
- stdio?: 'pipe' | Array<null | undefined | 'pipe'> | undefined;
191
+ stdio?: "pipe" | Array<null | undefined | "pipe"> | undefined;
168
192
  }
169
193
 
170
- type StdioNull = 'inherit' | 'ignore' | Stream;
171
- type StdioPipe = undefined | null | 'pipe';
194
+ type StdioNull = "inherit" | "ignore" | Stream;
195
+ type StdioPipe = undefined | null | "pipe";
172
196
 
173
197
  interface SpawnOptionsWithStdioTuple<
174
198
  Stdin extends StdioNull | StdioPipe,
@@ -217,7 +241,11 @@ declare module 'child_process' {
217
241
  function spawn(command: string, options: SpawnOptions): ChildProcess;
218
242
 
219
243
  // overloads of spawn with 'args'
220
- function spawn(command: string, args?: ReadonlyArray<string>, options?: SpawnOptionsWithoutStdio): ChildProcessWithoutNullStreams;
244
+ function spawn(
245
+ command: string,
246
+ args?: ReadonlyArray<string>,
247
+ options?: SpawnOptionsWithoutStdio,
248
+ ): ChildProcessWithoutNullStreams;
221
249
 
222
250
  function spawn(
223
251
  command: string,
@@ -284,13 +312,24 @@ declare module 'child_process' {
284
312
  }
285
313
 
286
314
  // no `options` definitely means stdout/stderr are `string`.
287
- function exec(command: string, callback?: (error: ExecException | null, stdout: string, stderr: string) => void): ChildProcess;
315
+ function exec(
316
+ command: string,
317
+ callback?: (error: ExecException | null, stdout: string, stderr: string) => void,
318
+ ): ChildProcess;
288
319
 
289
320
  // `options` with `"buffer"` or `null` for `encoding` means stdout/stderr are definitely `Buffer`.
290
- function exec(command: string, options: { encoding: "buffer" | null } & ExecOptions, callback?: (error: ExecException | null, stdout: Buffer, stderr: Buffer) => void): ChildProcess;
321
+ function exec(
322
+ command: string,
323
+ options: { encoding: "buffer" | null } & ExecOptions,
324
+ callback?: (error: ExecException | null, stdout: Buffer, stderr: Buffer) => void,
325
+ ): ChildProcess;
291
326
 
292
327
  // `options` with well known `encoding` means stdout/stderr are definitely `string`.
293
- function exec(command: string, options: { encoding: BufferEncoding } & ExecOptions, callback?: (error: ExecException | null, stdout: string, stderr: string) => void): ChildProcess;
328
+ function exec(
329
+ command: string,
330
+ options: { encoding: BufferEncoding } & ExecOptions,
331
+ callback?: (error: ExecException | null, stdout: string, stderr: string) => void,
332
+ ): ChildProcess;
294
333
 
295
334
  // `options` with an `encoding` whose type is `string` means stdout/stderr could either be `Buffer` or `string`.
296
335
  // There is no guarantee the `encoding` is unknown as `string` is a superset of `BufferEncoding`.
@@ -301,7 +340,11 @@ declare module 'child_process' {
301
340
  ): ChildProcess;
302
341
 
303
342
  // `options` without an `encoding` means stdout/stderr are definitely `string`.
304
- function exec(command: string, options: ExecOptions, callback?: (error: ExecException | null, stdout: string, stderr: string) => void): ChildProcess;
343
+ function exec(
344
+ command: string,
345
+ options: ExecOptions,
346
+ callback?: (error: ExecException | null, stdout: string, stderr: string) => void,
347
+ ): ChildProcess;
305
348
 
306
349
  // fallback if nothing else matches. Worst case is always `string | Buffer`.
307
350
  function exec(
@@ -316,11 +359,23 @@ declare module 'child_process' {
316
359
 
317
360
  // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime.
318
361
  namespace exec {
319
- function __promisify__(command: string): PromiseWithChild<{ stdout: string, stderr: string }>;
320
- function __promisify__(command: string, options: { encoding: "buffer" | null } & ExecOptions): PromiseWithChild<{ stdout: Buffer, stderr: Buffer }>;
321
- function __promisify__(command: string, options: { encoding: BufferEncoding } & ExecOptions): PromiseWithChild<{ stdout: string, stderr: string }>;
322
- function __promisify__(command: string, options: ExecOptions): PromiseWithChild<{ stdout: string, stderr: string }>;
323
- function __promisify__(command: string, options?: (BaseEncodingOptions & ExecOptions) | null): PromiseWithChild<{ stdout: string | Buffer, stderr: string | Buffer }>;
362
+ function __promisify__(command: string): PromiseWithChild<{ stdout: string; stderr: string }>;
363
+ function __promisify__(
364
+ command: string,
365
+ options: { encoding: "buffer" | null } & ExecOptions,
366
+ ): PromiseWithChild<{ stdout: Buffer; stderr: Buffer }>;
367
+ function __promisify__(
368
+ command: string,
369
+ options: { encoding: BufferEncoding } & ExecOptions,
370
+ ): PromiseWithChild<{ stdout: string; stderr: string }>;
371
+ function __promisify__(
372
+ command: string,
373
+ options: ExecOptions,
374
+ ): PromiseWithChild<{ stdout: string; stderr: string }>;
375
+ function __promisify__(
376
+ command: string,
377
+ options?: (BaseEncodingOptions & ExecOptions) | null,
378
+ ): PromiseWithChild<{ stdout: string | Buffer; stderr: string | Buffer }>;
324
379
  }
325
380
 
326
381
  interface ExecFileOptions extends CommonOptions {
@@ -333,24 +388,42 @@ declare module 'child_process' {
333
388
  encoding: BufferEncoding;
334
389
  }
335
390
  interface ExecFileOptionsWithBufferEncoding extends ExecFileOptions {
336
- encoding: 'buffer' | null;
391
+ encoding: "buffer" | null;
337
392
  }
338
393
  interface ExecFileOptionsWithOtherEncoding extends ExecFileOptions {
339
394
  encoding: BufferEncoding;
340
395
  }
341
- type ExecFileException = ExecException & NodeJS.ErrnoException;
396
+ type ExecFileException =
397
+ & Omit<ExecException, "code">
398
+ & Omit<NodeJS.ErrnoException, "code">
399
+ & { code?: string | number | undefined | null };
342
400
 
343
401
  function execFile(file: string): ChildProcess;
344
402
  function execFile(file: string, options: (BaseEncodingOptions & ExecFileOptions) | undefined | null): ChildProcess;
345
403
  function execFile(file: string, args?: ReadonlyArray<string> | null): ChildProcess;
346
- function execFile(file: string, args: ReadonlyArray<string> | undefined | null, options: (BaseEncodingOptions & ExecFileOptions) | undefined | null): ChildProcess;
404
+ function execFile(
405
+ file: string,
406
+ args: ReadonlyArray<string> | undefined | null,
407
+ options: (BaseEncodingOptions & ExecFileOptions) | undefined | null,
408
+ ): ChildProcess;
347
409
 
348
410
  // no `options` definitely means stdout/stderr are `string`.
349
- function execFile(file: string, callback: (error: ExecFileException | null, stdout: string, stderr: string) => void): ChildProcess;
350
- function execFile(file: string, args: ReadonlyArray<string> | undefined | null, callback: (error: ExecFileException | null, stdout: string, stderr: string) => void): ChildProcess;
411
+ function execFile(
412
+ file: string,
413
+ callback: (error: ExecFileException | null, stdout: string, stderr: string) => void,
414
+ ): ChildProcess;
415
+ function execFile(
416
+ file: string,
417
+ args: ReadonlyArray<string> | undefined | null,
418
+ callback: (error: ExecFileException | null, stdout: string, stderr: string) => void,
419
+ ): ChildProcess;
351
420
 
352
421
  // `options` with `"buffer"` or `null` for `encoding` means stdout/stderr are definitely `Buffer`.
353
- function execFile(file: string, options: ExecFileOptionsWithBufferEncoding, callback: (error: ExecFileException | null, stdout: Buffer, stderr: Buffer) => void): ChildProcess;
422
+ function execFile(
423
+ file: string,
424
+ options: ExecFileOptionsWithBufferEncoding,
425
+ callback: (error: ExecFileException | null, stdout: Buffer, stderr: Buffer) => void,
426
+ ): ChildProcess;
354
427
  function execFile(
355
428
  file: string,
356
429
  args: ReadonlyArray<string> | undefined | null,
@@ -359,7 +432,11 @@ declare module 'child_process' {
359
432
  ): ChildProcess;
360
433
 
361
434
  // `options` with well known `encoding` means stdout/stderr are definitely `string`.
362
- function execFile(file: string, options: ExecFileOptionsWithStringEncoding, callback: (error: ExecFileException | null, stdout: string, stderr: string) => void): ChildProcess;
435
+ function execFile(
436
+ file: string,
437
+ options: ExecFileOptionsWithStringEncoding,
438
+ callback: (error: ExecFileException | null, stdout: string, stderr: string) => void,
439
+ ): ChildProcess;
363
440
  function execFile(
364
441
  file: string,
365
442
  args: ReadonlyArray<string> | undefined | null,
@@ -382,55 +459,104 @@ declare module 'child_process' {
382
459
  ): ChildProcess;
383
460
 
384
461
  // `options` without an `encoding` means stdout/stderr are definitely `string`.
385
- function execFile(file: string, options: ExecFileOptions, callback: (error: ExecFileException | null, stdout: string, stderr: string) => void): ChildProcess;
462
+ function execFile(
463
+ file: string,
464
+ options: ExecFileOptions,
465
+ callback: (error: ExecFileException | null, stdout: string, stderr: string) => void,
466
+ ): ChildProcess;
386
467
  function execFile(
387
468
  file: string,
388
469
  args: ReadonlyArray<string> | undefined | null,
389
470
  options: ExecFileOptions,
390
- callback: (error: ExecFileException | null, stdout: string, stderr: string) => void
471
+ callback: (error: ExecFileException | null, stdout: string, stderr: string) => void,
391
472
  ): ChildProcess;
392
473
 
393
474
  // fallback if nothing else matches. Worst case is always `string | Buffer`.
394
475
  function execFile(
395
476
  file: string,
396
477
  options: (BaseEncodingOptions & ExecFileOptions) | undefined | null,
397
- callback: ((error: ExecFileException | null, stdout: string | Buffer, stderr: string | Buffer) => void) | undefined | null,
478
+ callback:
479
+ | ((error: ExecFileException | null, stdout: string | Buffer, stderr: string | Buffer) => void)
480
+ | undefined
481
+ | null,
398
482
  ): ChildProcess;
399
483
  function execFile(
400
484
  file: string,
401
485
  args: ReadonlyArray<string> | undefined | null,
402
486
  options: (BaseEncodingOptions & ExecFileOptions) | undefined | null,
403
- callback: ((error: ExecFileException | null, stdout: string | Buffer, stderr: string | Buffer) => void) | undefined | null,
487
+ callback:
488
+ | ((error: ExecFileException | null, stdout: string | Buffer, stderr: string | Buffer) => void)
489
+ | undefined
490
+ | null,
404
491
  ): ChildProcess;
405
492
 
406
493
  // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime.
407
494
  namespace execFile {
408
- function __promisify__(file: string): PromiseWithChild<{ stdout: string, stderr: string }>;
409
- function __promisify__(file: string, args: ReadonlyArray<string> | undefined | null): PromiseWithChild<{ stdout: string, stderr: string }>;
410
- function __promisify__(file: string, options: ExecFileOptionsWithBufferEncoding): PromiseWithChild<{ stdout: Buffer, stderr: Buffer }>;
411
- function __promisify__(file: string, args: ReadonlyArray<string> | undefined | null, options: ExecFileOptionsWithBufferEncoding): PromiseWithChild<{ stdout: Buffer, stderr: Buffer }>;
412
- function __promisify__(file: string, options: ExecFileOptionsWithStringEncoding): PromiseWithChild<{ stdout: string, stderr: string }>;
413
- function __promisify__(file: string, args: ReadonlyArray<string> | undefined | null, options: ExecFileOptionsWithStringEncoding): PromiseWithChild<{ stdout: string, stderr: string }>;
414
- function __promisify__(file: string, options: ExecFileOptionsWithOtherEncoding): PromiseWithChild<{ stdout: string | Buffer, stderr: string | Buffer }>;
495
+ function __promisify__(file: string): PromiseWithChild<{ stdout: string; stderr: string }>;
496
+ function __promisify__(
497
+ file: string,
498
+ args: ReadonlyArray<string> | undefined | null,
499
+ ): PromiseWithChild<{ stdout: string; stderr: string }>;
500
+ function __promisify__(
501
+ file: string,
502
+ options: ExecFileOptionsWithBufferEncoding,
503
+ ): PromiseWithChild<{ stdout: Buffer; stderr: Buffer }>;
504
+ function __promisify__(
505
+ file: string,
506
+ args: ReadonlyArray<string> | undefined | null,
507
+ options: ExecFileOptionsWithBufferEncoding,
508
+ ): PromiseWithChild<{ stdout: Buffer; stderr: Buffer }>;
509
+ function __promisify__(
510
+ file: string,
511
+ options: ExecFileOptionsWithStringEncoding,
512
+ ): PromiseWithChild<{ stdout: string; stderr: string }>;
513
+ function __promisify__(
514
+ file: string,
515
+ args: ReadonlyArray<string> | undefined | null,
516
+ options: ExecFileOptionsWithStringEncoding,
517
+ ): PromiseWithChild<{ stdout: string; stderr: string }>;
518
+ function __promisify__(
519
+ file: string,
520
+ options: ExecFileOptionsWithOtherEncoding,
521
+ ): PromiseWithChild<{ stdout: string | Buffer; stderr: string | Buffer }>;
415
522
  function __promisify__(
416
523
  file: string,
417
524
  args: ReadonlyArray<string> | undefined | null,
418
525
  options: ExecFileOptionsWithOtherEncoding,
419
- ): PromiseWithChild<{ stdout: string | Buffer, stderr: string | Buffer }>;
420
- function __promisify__(file: string, options: ExecFileOptions): PromiseWithChild<{ stdout: string, stderr: string }>;
421
- function __promisify__(file: string, args: ReadonlyArray<string> | undefined | null, options: ExecFileOptions): PromiseWithChild<{ stdout: string, stderr: string }>;
422
- function __promisify__(file: string, options: (BaseEncodingOptions & ExecFileOptions) | undefined | null): PromiseWithChild<{ stdout: string | Buffer, stderr: string | Buffer }>;
526
+ ): PromiseWithChild<{ stdout: string | Buffer; stderr: string | Buffer }>;
527
+ function __promisify__(
528
+ file: string,
529
+ options: ExecFileOptions,
530
+ ): PromiseWithChild<{ stdout: string; stderr: string }>;
531
+ function __promisify__(
532
+ file: string,
533
+ args: ReadonlyArray<string> | undefined | null,
534
+ options: ExecFileOptions,
535
+ ): PromiseWithChild<{ stdout: string; stderr: string }>;
536
+ function __promisify__(
537
+ file: string,
538
+ options: (BaseEncodingOptions & ExecFileOptions) | undefined | null,
539
+ ): PromiseWithChild<{ stdout: string | Buffer; stderr: string | Buffer }>;
423
540
  function __promisify__(
424
541
  file: string,
425
542
  args: ReadonlyArray<string> | undefined | null,
426
543
  options: (BaseEncodingOptions & ExecFileOptions) | undefined | null,
427
- ): PromiseWithChild<{ stdout: string | Buffer, stderr: string | Buffer }>;
544
+ ): PromiseWithChild<{ stdout: string | Buffer; stderr: string | Buffer }>;
428
545
  }
429
546
 
430
547
  interface ForkOptions extends ProcessEnvOptions, MessagingOptions {
431
548
  execPath?: string | undefined;
432
549
  execArgv?: string[] | undefined;
433
550
  silent?: boolean | undefined;
551
+ /**
552
+ * Can be set to 'pipe', 'inherit', 'overlapped', or 'ignore', or an array of these strings.
553
+ * If passed as an array, the first element is used for `stdin`, the second for
554
+ * `stdout`, and the third for `stderr`. A fourth element can be used to
555
+ * specify the `stdio` behavior beyond the standard streams. See
556
+ * {@link ChildProcess.stdio} for more information.
557
+ *
558
+ * @default 'pipe'
559
+ */
434
560
  stdio?: StdioOptions | undefined;
435
561
  detached?: boolean | undefined;
436
562
  windowsVerbatimArguments?: boolean | undefined;
@@ -442,13 +568,13 @@ declare module 'child_process' {
442
568
  input?: string | NodeJS.ArrayBufferView | undefined;
443
569
  killSignal?: NodeJS.Signals | number | undefined;
444
570
  maxBuffer?: number | undefined;
445
- encoding?: BufferEncoding | 'buffer' | null | undefined;
571
+ encoding?: BufferEncoding | "buffer" | null | undefined;
446
572
  }
447
573
  interface SpawnSyncOptionsWithStringEncoding extends SpawnSyncOptions {
448
574
  encoding: BufferEncoding;
449
575
  }
450
576
  interface SpawnSyncOptionsWithBufferEncoding extends SpawnSyncOptions {
451
- encoding?: 'buffer' | null | undefined;
577
+ encoding?: "buffer" | null | undefined;
452
578
  }
453
579
  interface SpawnSyncReturns<T> {
454
580
  pid: number;
@@ -463,23 +589,44 @@ declare module 'child_process' {
463
589
  function spawnSync(command: string, options?: SpawnSyncOptionsWithStringEncoding): SpawnSyncReturns<string>;
464
590
  function spawnSync(command: string, options?: SpawnSyncOptionsWithBufferEncoding): SpawnSyncReturns<Buffer>;
465
591
  function spawnSync(command: string, options?: SpawnSyncOptions): SpawnSyncReturns<string | Buffer>;
466
- function spawnSync(command: string, args?: ReadonlyArray<string>, options?: SpawnSyncOptionsWithStringEncoding): SpawnSyncReturns<string>;
467
- function spawnSync(command: string, args?: ReadonlyArray<string>, options?: SpawnSyncOptionsWithBufferEncoding): SpawnSyncReturns<Buffer>;
468
- function spawnSync(command: string, args?: ReadonlyArray<string>, options?: SpawnSyncOptions): SpawnSyncReturns<string | Buffer>;
592
+ function spawnSync(
593
+ command: string,
594
+ args?: ReadonlyArray<string>,
595
+ options?: SpawnSyncOptionsWithStringEncoding,
596
+ ): SpawnSyncReturns<string>;
597
+ function spawnSync(
598
+ command: string,
599
+ args?: ReadonlyArray<string>,
600
+ options?: SpawnSyncOptionsWithBufferEncoding,
601
+ ): SpawnSyncReturns<Buffer>;
602
+ function spawnSync(
603
+ command: string,
604
+ args?: ReadonlyArray<string>,
605
+ options?: SpawnSyncOptions,
606
+ ): SpawnSyncReturns<string | Buffer>;
469
607
 
470
608
  interface ExecSyncOptions extends CommonOptions {
471
609
  input?: string | Uint8Array | undefined;
610
+ /**
611
+ * Can be set to 'pipe', 'inherit', 'overlapped', or 'ignore', or an array of these strings.
612
+ * If passed as an array, the first element is used for `stdin`, the second for
613
+ * `stdout`, and the third for `stderr`. A fourth element can be used to
614
+ * specify the `stdio` behavior beyond the standard streams. See
615
+ * {@link ChildProcess.stdio} for more information.
616
+ *
617
+ * @default 'pipe'
618
+ */
472
619
  stdio?: StdioOptions | undefined;
473
620
  shell?: string | undefined;
474
621
  killSignal?: NodeJS.Signals | number | undefined;
475
622
  maxBuffer?: number | undefined;
476
- encoding?: BufferEncoding | 'buffer' | null | undefined;
623
+ encoding?: BufferEncoding | "buffer" | null | undefined;
477
624
  }
478
625
  interface ExecSyncOptionsWithStringEncoding extends ExecSyncOptions {
479
626
  encoding: BufferEncoding;
480
627
  }
481
628
  interface ExecSyncOptionsWithBufferEncoding extends ExecSyncOptions {
482
- encoding?: 'buffer' | null | undefined;
629
+ encoding?: "buffer" | null | undefined;
483
630
  }
484
631
  function execSync(command: string): Buffer;
485
632
  function execSync(command: string, options: ExecSyncOptionsWithStringEncoding): string;
@@ -488,6 +635,15 @@ declare module 'child_process' {
488
635
 
489
636
  interface ExecFileSyncOptions extends CommonOptions {
490
637
  input?: string | NodeJS.ArrayBufferView | undefined;
638
+ /**
639
+ * Can be set to 'pipe', 'inherit', 'overlapped', or 'ignore', or an array of these strings.
640
+ * If passed as an array, the first element is used for `stdin`, the second for
641
+ * `stdout`, and the third for `stderr`. A fourth element can be used to
642
+ * specify the `stdio` behavior beyond the standard streams. See
643
+ * {@link ChildProcess.stdio} for more information.
644
+ *
645
+ * @default 'pipe'
646
+ */
491
647
  stdio?: StdioOptions | undefined;
492
648
  killSignal?: NodeJS.Signals | number | undefined;
493
649
  maxBuffer?: number | undefined;
@@ -505,10 +661,22 @@ declare module 'child_process' {
505
661
  function execFileSync(command: string, options: ExecFileSyncOptionsWithBufferEncoding): Buffer;
506
662
  function execFileSync(command: string, options?: ExecFileSyncOptions): string | Buffer;
507
663
  function execFileSync(command: string, args: ReadonlyArray<string>): Buffer;
508
- function execFileSync(command: string, args: ReadonlyArray<string>, options: ExecFileSyncOptionsWithStringEncoding): string;
509
- function execFileSync(command: string, args: ReadonlyArray<string>, options: ExecFileSyncOptionsWithBufferEncoding): Buffer;
510
- function execFileSync(command: string, args?: ReadonlyArray<string>, options?: ExecFileSyncOptions): string | Buffer;
664
+ function execFileSync(
665
+ command: string,
666
+ args: ReadonlyArray<string>,
667
+ options: ExecFileSyncOptionsWithStringEncoding,
668
+ ): string;
669
+ function execFileSync(
670
+ command: string,
671
+ args: ReadonlyArray<string>,
672
+ options: ExecFileSyncOptionsWithBufferEncoding,
673
+ ): Buffer;
674
+ function execFileSync(
675
+ command: string,
676
+ args?: ReadonlyArray<string>,
677
+ options?: ExecFileSyncOptions,
678
+ ): string | Buffer;
511
679
  }
512
- declare module 'node:child_process' {
513
- export * from 'child_process';
680
+ declare module "node:child_process" {
681
+ export * from "child_process";
514
682
  }