@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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "graceful-fs",
3
3
  "description": "A drop-in replacement for fs, making various improvements.",
4
- "version": "4.2.10",
4
+ "version": "4.2.11",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/isaacs/node-graceful-fs"
@@ -38,7 +38,7 @@
38
38
  "import-fresh": "^2.0.0",
39
39
  "mkdirp": "^0.5.0",
40
40
  "rimraf": "^2.2.8",
41
- "tap": "^12.7.0"
41
+ "tap": "^16.3.4"
42
42
  },
43
43
  "files": [
44
44
  "fs.js",
@@ -46,5 +46,8 @@
46
46
  "legacy-streams.js",
47
47
  "polyfills.js",
48
48
  "clone.js"
49
- ]
49
+ ],
50
+ "tap": {
51
+ "reporter": "classic"
52
+ }
50
53
  }
@@ -101,7 +101,7 @@ function patch (fs) {
101
101
  var backoff = 0;
102
102
  fs$rename(from, to, function CB (er) {
103
103
  if (er
104
- && (er.code === "EACCES" || er.code === "EPERM")
104
+ && (er.code === "EACCES" || er.code === "EPERM" || er.code === "EBUSY")
105
105
  && Date.now() - start < 60000) {
106
106
  setTimeout(function() {
107
107
  fs.stat(to, function (stater, st) {
@@ -1,4 +1,4 @@
1
- # Punycode.js [![Build status](https://travis-ci.org/bestiejs/punycode.js.svg?branch=master)](https://travis-ci.org/bestiejs/punycode.js) [![Code coverage status](http://img.shields.io/codecov/c/github/bestiejs/punycode.js.svg)](https://codecov.io/gh/bestiejs/punycode.js) [![Dependency status](https://gemnasium.com/bestiejs/punycode.js.svg)](https://gemnasium.com/bestiejs/punycode.js)
1
+ # Punycode.js [![punycode on npm](https://img.shields.io/npm/v/punycode)](https://www.npmjs.com/package/punycode) [![](https://data.jsdelivr.com/v1/package/npm/punycode/badge)](https://www.jsdelivr.com/package/npm/punycode)
2
2
 
3
3
  Punycode.js is a robust Punycode converter that fully complies to [RFC 3492](https://tools.ietf.org/html/rfc3492) and [RFC 5891](https://tools.ietf.org/html/rfc5891).
4
4
 
@@ -12,7 +12,7 @@ This JavaScript library is the result of comparing, optimizing and documenting d
12
12
 
13
13
  This project was [bundled](https://github.com/joyent/node/blob/master/lib/punycode.js) with Node.js from [v0.6.2+](https://github.com/joyent/node/compare/975f1930b1...61e796decc) until [v7](https://github.com/nodejs/node/pull/7941) (soft-deprecated).
14
14
 
15
- The current version supports recent versions of Node.js only. It provides a CommonJS module and an ES6 module. For the old version that offers the same functionality with broader support, including Rhino, Ringo, Narwhal, and web browsers, see [v1.4.1](https://github.com/bestiejs/punycode.js/releases/tag/v1.4.1).
15
+ This project provides a CommonJS module that uses ES2015+ features and JavaScript module, which work in modern Node.js versions and browsers. For the old Punycode.js version that offers the same functionality in a UMD build with support for older pre-ES2015 runtimes, including Rhino, Ringo, and Narwhal, see [v1.4.1](https://github.com/mathiasbynens/punycode.js/releases/tag/v1.4.1).
16
16
 
17
17
  ## Installation
18
18
 
@@ -24,8 +24,12 @@ npm install punycode --save
24
24
 
25
25
  In [Node.js](https://nodejs.org/):
26
26
 
27
+ > ⚠️ Note that userland modules don't hide core modules.
28
+ > For example, `require('punycode')` still imports the deprecated core module even if you executed `npm install punycode`.
29
+ > Use `require('punycode/')` to import userland modules rather than core modules.
30
+
27
31
  ```js
28
- const punycode = require('punycode');
32
+ const punycode = require('punycode/');
29
33
  ```
30
34
 
31
35
  ## API
@@ -111,6 +115,28 @@ punycode.ucs2.encode([0x1D306]);
111
115
 
112
116
  A string representing the current Punycode.js version number.
113
117
 
118
+ ## For maintainers
119
+
120
+ ### How to publish a new release
121
+
122
+ 1. On the `main` branch, bump the version number in `package.json`:
123
+
124
+ ```sh
125
+ npm version patch -m 'Release v%s'
126
+ ```
127
+
128
+ Instead of `patch`, use `minor` or `major` [as needed](https://semver.org/).
129
+
130
+ Note that this produces a Git commit + tag.
131
+
132
+ 1. Push the release commit and tag:
133
+
134
+ ```sh
135
+ git push && git push --tags
136
+ ```
137
+
138
+ Our CI then automatically publishes the new release to npm, under both the [`punycode`](https://www.npmjs.com/package/punycode) and [`punycode.js`](https://www.npmjs.com/package/punycode.js) names.
139
+
114
140
  ## Author
115
141
 
116
142
  | [![twitter/mathias](https://gravatar.com/avatar/24e08a9ea84deb17ae121074d0f17125?s=70)](https://twitter.com/mathias "Follow @mathias on Twitter") |
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "punycode",
3
- "version": "2.1.1",
3
+ "version": "2.3.1",
4
4
  "description": "A robust Punycode converter that fully complies to RFC 3492 and RFC 5891, and works on nearly all JavaScript platforms.",
5
5
  "homepage": "https://mths.be/punycode",
6
6
  "main": "punycode.js",
@@ -31,9 +31,9 @@
31
31
  ],
32
32
  "repository": {
33
33
  "type": "git",
34
- "url": "https://github.com/bestiejs/punycode.js.git"
34
+ "url": "https://github.com/mathiasbynens/punycode.js.git"
35
35
  },
36
- "bugs": "https://github.com/bestiejs/punycode.js/issues",
36
+ "bugs": "https://github.com/mathiasbynens/punycode.js/issues",
37
37
  "files": [
38
38
  "LICENSE-MIT.txt",
39
39
  "punycode.js",
@@ -41,12 +41,12 @@
41
41
  ],
42
42
  "scripts": {
43
43
  "test": "mocha tests",
44
- "prepublish": "node scripts/prepublish.js"
44
+ "build": "node scripts/prepublish.js"
45
45
  },
46
46
  "devDependencies": {
47
- "codecov": "^1.0.1",
48
- "istanbul": "^0.4.1",
49
- "mocha": "^2.5.3"
47
+ "codecov": "^3.8.3",
48
+ "nyc": "^15.1.0",
49
+ "mocha": "^10.2.0"
50
50
  },
51
51
  "jspm": {
52
52
  "map": {
@@ -15,7 +15,7 @@ const delimiter = '-'; // '\x2D'
15
15
 
16
16
  /** Regular expressions */
17
17
  const regexPunycode = /^xn--/;
18
- const regexNonASCII = /[^\0-\x7E]/; // non-ASCII chars
18
+ const regexNonASCII = /[^\0-\x7F]/; // Note: U+007F DEL is excluded too.
19
19
  const regexSeparators = /[\x2E\u3002\uFF0E\uFF61]/g; // RFC 3490 separators
20
20
 
21
21
  /** Error messages */
@@ -50,11 +50,11 @@ function error(type) {
50
50
  * item.
51
51
  * @returns {Array} A new array of values returned by the callback function.
52
52
  */
53
- function map(array, fn) {
53
+ function map(array, callback) {
54
54
  const result = [];
55
55
  let length = array.length;
56
56
  while (length--) {
57
- result[length] = fn(array[length]);
57
+ result[length] = callback(array[length]);
58
58
  }
59
59
  return result;
60
60
  }
@@ -66,22 +66,22 @@ function map(array, fn) {
66
66
  * @param {String} domain The domain name or email address.
67
67
  * @param {Function} callback The function that gets called for every
68
68
  * character.
69
- * @returns {Array} A new string of characters returned by the callback
69
+ * @returns {String} A new string of characters returned by the callback
70
70
  * function.
71
71
  */
72
- function mapDomain(string, fn) {
73
- const parts = string.split('@');
72
+ function mapDomain(domain, callback) {
73
+ const parts = domain.split('@');
74
74
  let result = '';
75
75
  if (parts.length > 1) {
76
76
  // In email addresses, only the domain name should be punycoded. Leave
77
77
  // the local part (i.e. everything up to `@`) intact.
78
78
  result = parts[0] + '@';
79
- string = parts[1];
79
+ domain = parts[1];
80
80
  }
81
81
  // Avoid `split(regex)` for IE8 compatibility. See #17.
82
- string = string.replace(regexSeparators, '\x2E');
83
- const labels = string.split('.');
84
- const encoded = map(labels, fn).join('.');
82
+ domain = domain.replace(regexSeparators, '\x2E');
83
+ const labels = domain.split('.');
84
+ const encoded = map(labels, callback).join('.');
85
85
  return result + encoded;
86
86
  }
87
87
 
@@ -130,7 +130,7 @@ function ucs2decode(string) {
130
130
  * @param {Array} codePoints The array of numeric code points.
131
131
  * @returns {String} The new Unicode string (UCS-2).
132
132
  */
133
- const ucs2encode = array => String.fromCodePoint(...array);
133
+ const ucs2encode = codePoints => String.fromCodePoint(...codePoints);
134
134
 
135
135
  /**
136
136
  * Converts a basic code point into a digit/integer.
@@ -142,13 +142,13 @@ const ucs2encode = array => String.fromCodePoint(...array);
142
142
  * the code point does not represent a value.
143
143
  */
144
144
  const basicToDigit = function(codePoint) {
145
- if (codePoint - 0x30 < 0x0A) {
146
- return codePoint - 0x16;
145
+ if (codePoint >= 0x30 && codePoint < 0x3A) {
146
+ return 26 + (codePoint - 0x30);
147
147
  }
148
- if (codePoint - 0x41 < 0x1A) {
148
+ if (codePoint >= 0x41 && codePoint < 0x5B) {
149
149
  return codePoint - 0x41;
150
150
  }
151
- if (codePoint - 0x61 < 0x1A) {
151
+ if (codePoint >= 0x61 && codePoint < 0x7B) {
152
152
  return codePoint - 0x61;
153
153
  }
154
154
  return base;
@@ -228,7 +228,7 @@ const decode = function(input) {
228
228
  // which gets added to `i`. The overflow checking is easier
229
229
  // if we increase `i` as we go, then subtract off its starting
230
230
  // value at the end to obtain `delta`.
231
- let oldi = i;
231
+ const oldi = i;
232
232
  for (let w = 1, k = base; /* no condition */; k += base) {
233
233
 
234
234
  if (index >= inputLength) {
@@ -237,7 +237,10 @@ const decode = function(input) {
237
237
 
238
238
  const digit = basicToDigit(input.charCodeAt(index++));
239
239
 
240
- if (digit >= base || digit > floor((maxInt - i) / w)) {
240
+ if (digit >= base) {
241
+ error('invalid-input');
242
+ }
243
+ if (digit > floor((maxInt - i) / w)) {
241
244
  error('overflow');
242
245
  }
243
246
 
@@ -291,7 +294,7 @@ const encode = function(input) {
291
294
  input = ucs2decode(input);
292
295
 
293
296
  // Cache the length.
294
- let inputLength = input.length;
297
+ const inputLength = input.length;
295
298
 
296
299
  // Initialize the state.
297
300
  let n = initialN;
@@ -305,7 +308,7 @@ const encode = function(input) {
305
308
  }
306
309
  }
307
310
 
308
- let basicLength = output.length;
311
+ const basicLength = output.length;
309
312
  let handledCPCount = basicLength;
310
313
 
311
314
  // `handledCPCount` is the number of code points that have been handled;
@@ -342,7 +345,7 @@ const encode = function(input) {
342
345
  if (currentValue < n && ++delta > maxInt) {
343
346
  error('overflow');
344
347
  }
345
- if (currentValue == n) {
348
+ if (currentValue === n) {
346
349
  // Represent delta as a generalized variable-length integer.
347
350
  let q = delta;
348
351
  for (let k = base; /* no condition */; k += base) {
@@ -359,7 +362,7 @@ const encode = function(input) {
359
362
  }
360
363
 
361
364
  output.push(stringFromCharCode(digitToBasic(q, 0)));
362
- bias = adapt(delta, handledCPCountPlusOne, handledCPCount == basicLength);
365
+ bias = adapt(delta, handledCPCountPlusOne, handledCPCount === basicLength);
363
366
  delta = 0;
364
367
  ++handledCPCount;
365
368
  }
@@ -419,7 +422,7 @@ const punycode = {
419
422
  * @memberOf punycode
420
423
  * @type String
421
424
  */
422
- 'version': '2.1.0',
425
+ 'version': '2.3.1',
423
426
  /**
424
427
  * An object of methods to convert from JavaScript's internal character
425
428
  * representation (UCS-2) to Unicode code points, and back.
@@ -15,7 +15,7 @@ const delimiter = '-'; // '\x2D'
15
15
 
16
16
  /** Regular expressions */
17
17
  const regexPunycode = /^xn--/;
18
- const regexNonASCII = /[^\0-\x7E]/; // non-ASCII chars
18
+ const regexNonASCII = /[^\0-\x7F]/; // Note: U+007F DEL is excluded too.
19
19
  const regexSeparators = /[\x2E\u3002\uFF0E\uFF61]/g; // RFC 3490 separators
20
20
 
21
21
  /** Error messages */
@@ -50,11 +50,11 @@ function error(type) {
50
50
  * item.
51
51
  * @returns {Array} A new array of values returned by the callback function.
52
52
  */
53
- function map(array, fn) {
53
+ function map(array, callback) {
54
54
  const result = [];
55
55
  let length = array.length;
56
56
  while (length--) {
57
- result[length] = fn(array[length]);
57
+ result[length] = callback(array[length]);
58
58
  }
59
59
  return result;
60
60
  }
@@ -66,22 +66,22 @@ function map(array, fn) {
66
66
  * @param {String} domain The domain name or email address.
67
67
  * @param {Function} callback The function that gets called for every
68
68
  * character.
69
- * @returns {Array} A new string of characters returned by the callback
69
+ * @returns {String} A new string of characters returned by the callback
70
70
  * function.
71
71
  */
72
- function mapDomain(string, fn) {
73
- const parts = string.split('@');
72
+ function mapDomain(domain, callback) {
73
+ const parts = domain.split('@');
74
74
  let result = '';
75
75
  if (parts.length > 1) {
76
76
  // In email addresses, only the domain name should be punycoded. Leave
77
77
  // the local part (i.e. everything up to `@`) intact.
78
78
  result = parts[0] + '@';
79
- string = parts[1];
79
+ domain = parts[1];
80
80
  }
81
81
  // Avoid `split(regex)` for IE8 compatibility. See #17.
82
- string = string.replace(regexSeparators, '\x2E');
83
- const labels = string.split('.');
84
- const encoded = map(labels, fn).join('.');
82
+ domain = domain.replace(regexSeparators, '\x2E');
83
+ const labels = domain.split('.');
84
+ const encoded = map(labels, callback).join('.');
85
85
  return result + encoded;
86
86
  }
87
87
 
@@ -130,7 +130,7 @@ function ucs2decode(string) {
130
130
  * @param {Array} codePoints The array of numeric code points.
131
131
  * @returns {String} The new Unicode string (UCS-2).
132
132
  */
133
- const ucs2encode = array => String.fromCodePoint(...array);
133
+ const ucs2encode = codePoints => String.fromCodePoint(...codePoints);
134
134
 
135
135
  /**
136
136
  * Converts a basic code point into a digit/integer.
@@ -142,13 +142,13 @@ const ucs2encode = array => String.fromCodePoint(...array);
142
142
  * the code point does not represent a value.
143
143
  */
144
144
  const basicToDigit = function(codePoint) {
145
- if (codePoint - 0x30 < 0x0A) {
146
- return codePoint - 0x16;
145
+ if (codePoint >= 0x30 && codePoint < 0x3A) {
146
+ return 26 + (codePoint - 0x30);
147
147
  }
148
- if (codePoint - 0x41 < 0x1A) {
148
+ if (codePoint >= 0x41 && codePoint < 0x5B) {
149
149
  return codePoint - 0x41;
150
150
  }
151
- if (codePoint - 0x61 < 0x1A) {
151
+ if (codePoint >= 0x61 && codePoint < 0x7B) {
152
152
  return codePoint - 0x61;
153
153
  }
154
154
  return base;
@@ -228,7 +228,7 @@ const decode = function(input) {
228
228
  // which gets added to `i`. The overflow checking is easier
229
229
  // if we increase `i` as we go, then subtract off its starting
230
230
  // value at the end to obtain `delta`.
231
- let oldi = i;
231
+ const oldi = i;
232
232
  for (let w = 1, k = base; /* no condition */; k += base) {
233
233
 
234
234
  if (index >= inputLength) {
@@ -237,7 +237,10 @@ const decode = function(input) {
237
237
 
238
238
  const digit = basicToDigit(input.charCodeAt(index++));
239
239
 
240
- if (digit >= base || digit > floor((maxInt - i) / w)) {
240
+ if (digit >= base) {
241
+ error('invalid-input');
242
+ }
243
+ if (digit > floor((maxInt - i) / w)) {
241
244
  error('overflow');
242
245
  }
243
246
 
@@ -291,7 +294,7 @@ const encode = function(input) {
291
294
  input = ucs2decode(input);
292
295
 
293
296
  // Cache the length.
294
- let inputLength = input.length;
297
+ const inputLength = input.length;
295
298
 
296
299
  // Initialize the state.
297
300
  let n = initialN;
@@ -305,7 +308,7 @@ const encode = function(input) {
305
308
  }
306
309
  }
307
310
 
308
- let basicLength = output.length;
311
+ const basicLength = output.length;
309
312
  let handledCPCount = basicLength;
310
313
 
311
314
  // `handledCPCount` is the number of code points that have been handled;
@@ -342,7 +345,7 @@ const encode = function(input) {
342
345
  if (currentValue < n && ++delta > maxInt) {
343
346
  error('overflow');
344
347
  }
345
- if (currentValue == n) {
348
+ if (currentValue === n) {
346
349
  // Represent delta as a generalized variable-length integer.
347
350
  let q = delta;
348
351
  for (let k = base; /* no condition */; k += base) {
@@ -359,7 +362,7 @@ const encode = function(input) {
359
362
  }
360
363
 
361
364
  output.push(stringFromCharCode(digitToBasic(q, 0)));
362
- bias = adapt(delta, handledCPCountPlusOne, handledCPCount == basicLength);
365
+ bias = adapt(delta, handledCPCountPlusOne, handledCPCount === basicLength);
363
366
  delta = 0;
364
367
  ++handledCPCount;
365
368
  }
@@ -419,7 +422,7 @@ const punycode = {
419
422
  * @memberOf punycode
420
423
  * @type String
421
424
  */
422
- 'version': '2.1.0',
425
+ 'version': '2.3.1',
423
426
  /**
424
427
  * An object of methods to convert from JavaScript's internal character
425
428
  * representation (UCS-2) to Unicode code points, and back.
@@ -1,6 +1,6 @@
1
1
  # universalify
2
2
 
3
- [![Travis branch](https://img.shields.io/travis/RyanZim/universalify/master.svg)](https://travis-ci.org/RyanZim/universalify)
3
+ ![GitHub Workflow Status (branch)](https://img.shields.io/github/actions/workflow/status/RyanZim/universalify/ci.yml?branch=master)
4
4
  ![Coveralls github branch](https://img.shields.io/coveralls/github/RyanZim/universalify/master.svg)
5
5
  ![npm](https://img.shields.io/npm/dm/universalify.svg)
6
6
  ![npm](https://img.shields.io/npm/l/universalify.svg)
@@ -5,11 +5,8 @@ exports.fromCallback = function (fn) {
5
5
  if (typeof args[args.length - 1] === 'function') fn.apply(this, args)
6
6
  else {
7
7
  return new Promise((resolve, reject) => {
8
- fn.call(
9
- this,
10
- ...args,
11
- (err, res) => (err != null) ? reject(err) : resolve(res)
12
- )
8
+ args.push((err, res) => (err != null) ? reject(err) : resolve(res))
9
+ fn.apply(this, args)
13
10
  })
14
11
  }
15
12
  }, 'name', { value: fn.name })
@@ -19,6 +16,9 @@ exports.fromPromise = function (fn) {
19
16
  return Object.defineProperty(function (...args) {
20
17
  const cb = args[args.length - 1]
21
18
  if (typeof cb !== 'function') return fn.apply(this, args)
22
- else fn.apply(this, args.slice(0, -1)).then(r => cb(null, r), cb)
19
+ else {
20
+ args.pop()
21
+ fn.apply(this, args).then(r => cb(null, r), cb)
22
+ }
23
23
  }, 'name', { value: fn.name })
24
24
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "universalify",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "Make a callback- or promise-based function support both promises and callbacks.",
5
5
  "keywords": [
6
6
  "callback",
@@ -19,7 +19,7 @@
19
19
  "url": "git+https://github.com/RyanZim/universalify.git"
20
20
  },
21
21
  "scripts": {
22
- "test": "standard && nyc tape test/*.js | colortape"
22
+ "test": "standard && nyc --reporter text --reporter lcovonly tape test/*.js | colortape"
23
23
  },
24
24
  "devDependencies": {
25
25
  "colortape": "^0.1.2",
package/dist/package.json CHANGED
@@ -42,7 +42,6 @@
42
42
  "@semantic-release/github": "^8.0.2",
43
43
  "@semantic-release/npm": "^8.0.3",
44
44
  "@types/chalk": "^2.2.0",
45
- "@types/commander": "^2.12.2",
46
45
  "@types/fs-extra": "^9.0.8",
47
46
  "@types/jest": "^26.0.20",
48
47
  "@types/node": "^14.14.25",
@@ -69,7 +68,7 @@
69
68
  "ajv": "^7.2.4",
70
69
  "ajv-formats": "^2.1.1",
71
70
  "chalk": "^4.1.0",
72
- "commander": "^7.0.0",
71
+ "commander": "^12.0.0",
73
72
  "consola": "^2.15.3",
74
73
  "fs-extra": "^10.0.0",
75
74
  "progress": "^2.0.3",
@@ -9,7 +9,7 @@ const path_1 = require("path");
9
9
  const getCachedItemPath_1 = __importDefault(require("./getCachedItemPath"));
10
10
  function cloneIntoCache(bucket, itemPath) {
11
11
  return async ({ repository, checkout }) => {
12
- const destination = (0, getCachedItemPath_1.default)(bucket, itemPath);
12
+ const destination = (0, getCachedItemPath_1.default)(bucket, itemPath, checkout);
13
13
  const parentDir = (0, path_1.dirname)(destination);
14
14
  if ((0, fs_1.existsSync)(destination)) {
15
15
  return;
@@ -7,11 +7,13 @@ const path_1 = require("path");
7
7
  const crypto_1 = require("crypto");
8
8
  const constants_1 = require("../../lib/constants");
9
9
  const findFileInCurrentPath_1 = __importDefault(require("../fs/findFileInCurrentPath"));
10
- function getCachedItemPath(bucket, itemPath) {
10
+ function getCachedItemPath(bucket, itemPath, checkout) {
11
11
  const projectPath = (0, findFileInCurrentPath_1.default)(constants_1.EMULSIFY_PROJECT_CONFIG_FILE);
12
12
  if (!projectPath) {
13
13
  throw new Error(`Unable to find ${constants_1.EMULSIFY_PROJECT_CONFIG_FILE}`);
14
14
  }
15
- return (0, path_1.join)(constants_1.CACHE_DIR, bucket, (0, crypto_1.createHash)('md5').update(projectPath).digest('hex'), ...itemPath);
15
+ return (0, path_1.join)(constants_1.CACHE_DIR, bucket, (0, crypto_1.createHash)('md5')
16
+ .update(`MBR${String(projectPath)}${String(checkout)}`)
17
+ .digest('hex'), ...itemPath);
16
18
  }
17
19
  exports.default = getCachedItemPath;
@@ -5,7 +5,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const getCachedItemPath_1 = __importDefault(require("./getCachedItemPath"));
7
7
  const loadJsonFile_1 = __importDefault(require("../fs/loadJsonFile"));
8
- async function getJsonFromCachedFile(bucket, itemPath, fileName) {
9
- return (0, loadJsonFile_1.default)((0, getCachedItemPath_1.default)(bucket, [...itemPath, fileName]));
8
+ async function getJsonFromCachedFile(bucket, itemPath, checkout, fileName) {
9
+ return (0, loadJsonFile_1.default)((0, getCachedItemPath_1.default)(bucket, [...itemPath, fileName], checkout));
10
10
  }
11
11
  exports.default = getJsonFromCachedFile;
@@ -8,7 +8,7 @@ function getGitRepoNameFromUrl(url) {
8
8
  const parts = url.split('/');
9
9
  const gitName = ramda_1.default.last(parts);
10
10
  if (!gitName.includes('.git')) {
11
- return undefined;
11
+ throw new Error('The repository URL must end in .git.');
12
12
  }
13
13
  return ramda_1.default.head(gitName.split('.'));
14
14
  }
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const simple_git_1 = __importDefault(require("simple-git"));
7
+ const git = (0, simple_git_1.default)();
8
+ async function getRepositoryLatestTag(url) {
9
+ const repositoryTags = await git
10
+ .init()
11
+ .addRemote('origin', url)
12
+ .fetch()
13
+ .tags();
14
+ return repositoryTags.latest;
15
+ }
16
+ exports.default = getRepositoryLatestTag;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emulsify/cli",
3
- "version": "1.6.0",
3
+ "version": "1.7.1",
4
4
  "description": "Command line interface for Emulsify",
5
5
  "repository": "git@github.com:emulsify-ds/emulsify-cli.git",
6
6
  "author": "Patrick Coffey <patrickcoffey48@gmail.com>",
@@ -42,7 +42,6 @@
42
42
  "@semantic-release/github": "^8.0.2",
43
43
  "@semantic-release/npm": "^8.0.3",
44
44
  "@types/chalk": "^2.2.0",
45
- "@types/commander": "^2.12.2",
46
45
  "@types/fs-extra": "^9.0.8",
47
46
  "@types/jest": "^26.0.20",
48
47
  "@types/node": "^14.14.25",
@@ -69,7 +68,7 @@
69
68
  "ajv": "^7.2.4",
70
69
  "ajv-formats": "^2.1.1",
71
70
  "chalk": "^4.1.0",
72
- "commander": "^7.0.0",
71
+ "commander": "^12.0.0",
73
72
  "consola": "^2.15.3",
74
73
  "fs-extra": "^10.0.0",
75
74
  "progress": "^2.0.3",