@emulsify/cli 0.0.0-development

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 (2090) hide show
  1. package/LICENSE +339 -0
  2. package/README.md +145 -0
  3. package/dist/handlers/componentInstall.js +72 -0
  4. package/dist/handlers/componentList.js +45 -0
  5. package/dist/handlers/hofs/withProgressBar.js +16 -0
  6. package/dist/handlers/init.js +85 -0
  7. package/dist/handlers/systemInstall.js +146 -0
  8. package/dist/handlers/systemList.js +11 -0
  9. package/dist/index.js +48 -0
  10. package/dist/lib/constants.js +14 -0
  11. package/dist/lib/log.js +31 -0
  12. package/dist/node_modules/.package-lock.json +289 -0
  13. package/dist/node_modules/@kwsites/file-exists/CHANGELOG.md +12 -0
  14. package/dist/node_modules/@kwsites/file-exists/LICENSE +20 -0
  15. package/dist/node_modules/@kwsites/file-exists/dist/index.d.ts +1 -0
  16. package/dist/node_modules/@kwsites/file-exists/dist/index.js +7 -0
  17. package/dist/node_modules/@kwsites/file-exists/dist/index.js.map +1 -0
  18. package/dist/node_modules/@kwsites/file-exists/dist/src/index.d.ts +19 -0
  19. package/dist/node_modules/@kwsites/file-exists/dist/src/index.js +55 -0
  20. package/dist/node_modules/@kwsites/file-exists/dist/src/index.js.map +1 -0
  21. package/dist/node_modules/@kwsites/file-exists/dist/test/__mocks__/fs.d.ts +7 -0
  22. package/dist/node_modules/@kwsites/file-exists/dist/test/__mocks__/fs.js +26 -0
  23. package/dist/node_modules/@kwsites/file-exists/dist/test/__mocks__/fs.js.map +1 -0
  24. package/dist/node_modules/@kwsites/file-exists/dist/test/exists.spec.d.ts +1 -0
  25. package/dist/node_modules/@kwsites/file-exists/dist/test/exists.spec.js +77 -0
  26. package/dist/node_modules/@kwsites/file-exists/dist/test/exists.spec.js.map +1 -0
  27. package/dist/node_modules/@kwsites/file-exists/package.json +42 -0
  28. package/dist/node_modules/@kwsites/file-exists/readme.md +41 -0
  29. package/dist/node_modules/@kwsites/promise-deferred/LICENSE +21 -0
  30. package/dist/node_modules/@kwsites/promise-deferred/dist/index.d.ts +49 -0
  31. package/dist/node_modules/@kwsites/promise-deferred/dist/index.js +59 -0
  32. package/dist/node_modules/@kwsites/promise-deferred/dist/index.js.map +1 -0
  33. package/dist/node_modules/@kwsites/promise-deferred/package.json +43 -0
  34. package/dist/node_modules/@types/node/LICENSE +21 -0
  35. package/dist/node_modules/@types/node/README.md +15 -0
  36. package/dist/node_modules/@types/node/assert/strict.d.ts +8 -0
  37. package/dist/node_modules/@types/node/assert.d.ts +1040 -0
  38. package/dist/node_modules/@types/node/async_hooks.d.ts +541 -0
  39. package/dist/node_modules/@types/node/buffer.d.ts +2282 -0
  40. package/dist/node_modules/@types/node/child_process.d.ts +1544 -0
  41. package/dist/node_modules/@types/node/cluster.d.ts +578 -0
  42. package/dist/node_modules/@types/node/console.d.ts +452 -0
  43. package/dist/node_modules/@types/node/constants.d.ts +19 -0
  44. package/dist/node_modules/@types/node/crypto.d.ts +4524 -0
  45. package/dist/node_modules/@types/node/dgram.d.ts +596 -0
  46. package/dist/node_modules/@types/node/diagnostics_channel.d.ts +554 -0
  47. package/dist/node_modules/@types/node/dns/promises.d.ts +476 -0
  48. package/dist/node_modules/@types/node/dns.d.ts +864 -0
  49. package/dist/node_modules/@types/node/dom-events.d.ts +124 -0
  50. package/dist/node_modules/@types/node/domain.d.ts +170 -0
  51. package/dist/node_modules/@types/node/events.d.ts +931 -0
  52. package/dist/node_modules/@types/node/fs/promises.d.ts +1245 -0
  53. package/dist/node_modules/@types/node/fs.d.ts +4317 -0
  54. package/dist/node_modules/@types/node/globals.d.ts +412 -0
  55. package/dist/node_modules/@types/node/globals.global.d.ts +1 -0
  56. package/dist/node_modules/@types/node/http.d.ts +1908 -0
  57. package/dist/node_modules/@types/node/http2.d.ts +2418 -0
  58. package/dist/node_modules/@types/node/https.d.ts +550 -0
  59. package/dist/node_modules/@types/node/index.d.ts +89 -0
  60. package/dist/node_modules/@types/node/inspector.d.ts +2746 -0
  61. package/dist/node_modules/@types/node/module.d.ts +315 -0
  62. package/dist/node_modules/@types/node/net.d.ts +999 -0
  63. package/dist/node_modules/@types/node/os.d.ts +495 -0
  64. package/dist/node_modules/@types/node/package.json +217 -0
  65. package/dist/node_modules/@types/node/path.d.ts +191 -0
  66. package/dist/node_modules/@types/node/perf_hooks.d.ts +905 -0
  67. package/dist/node_modules/@types/node/process.d.ts +1754 -0
  68. package/dist/node_modules/@types/node/punycode.d.ts +117 -0
  69. package/dist/node_modules/@types/node/querystring.d.ts +153 -0
  70. package/dist/node_modules/@types/node/readline/promises.d.ts +150 -0
  71. package/dist/node_modules/@types/node/readline.d.ts +540 -0
  72. package/dist/node_modules/@types/node/repl.d.ts +430 -0
  73. package/dist/node_modules/@types/node/sea.d.ts +153 -0
  74. package/dist/node_modules/@types/node/stream/consumers.d.ts +12 -0
  75. package/dist/node_modules/@types/node/stream/promises.d.ts +83 -0
  76. package/dist/node_modules/@types/node/stream/web.d.ts +367 -0
  77. package/dist/node_modules/@types/node/stream.d.ts +1707 -0
  78. package/dist/node_modules/@types/node/string_decoder.d.ts +67 -0
  79. package/dist/node_modules/@types/node/test.d.ts +1719 -0
  80. package/dist/node_modules/@types/node/timers/promises.d.ts +97 -0
  81. package/dist/node_modules/@types/node/timers.d.ts +240 -0
  82. package/dist/node_modules/@types/node/tls.d.ts +1217 -0
  83. package/dist/node_modules/@types/node/trace_events.d.ts +197 -0
  84. package/dist/node_modules/@types/node/tty.d.ts +208 -0
  85. package/dist/node_modules/@types/node/url.d.ts +952 -0
  86. package/dist/node_modules/@types/node/util.d.ts +2292 -0
  87. package/dist/node_modules/@types/node/v8.d.ts +808 -0
  88. package/dist/node_modules/@types/node/vm.d.ts +924 -0
  89. package/dist/node_modules/@types/node/wasi.d.ts +181 -0
  90. package/dist/node_modules/@types/node/worker_threads.d.ts +694 -0
  91. package/dist/node_modules/@types/node/zlib.d.ts +530 -0
  92. package/dist/node_modules/@types/progress/LICENSE +21 -0
  93. package/dist/node_modules/@types/progress/README.md +15 -0
  94. package/dist/node_modules/@types/progress/index.d.ts +143 -0
  95. package/dist/node_modules/@types/progress/package.json +27 -0
  96. package/dist/node_modules/ajv/.tonic_example.js +20 -0
  97. package/dist/node_modules/ajv/LICENSE +22 -0
  98. package/dist/node_modules/ajv/README.md +331 -0
  99. package/dist/node_modules/ajv/dist/2019.d.ts +17 -0
  100. package/dist/node_modules/ajv/dist/2019.js +50 -0
  101. package/dist/node_modules/ajv/dist/2019.js.map +1 -0
  102. package/dist/node_modules/ajv/dist/ajv.d.ts +16 -0
  103. package/dist/node_modules/ajv/dist/ajv.js +39 -0
  104. package/dist/node_modules/ajv/dist/ajv.js.map +1 -0
  105. package/dist/node_modules/ajv/dist/compile/codegen/code.d.ts +38 -0
  106. package/dist/node_modules/ajv/dist/compile/codegen/code.js +143 -0
  107. package/dist/node_modules/ajv/dist/compile/codegen/code.js.map +1 -0
  108. package/dist/node_modules/ajv/dist/compile/codegen/index.d.ts +79 -0
  109. package/dist/node_modules/ajv/dist/compile/codegen/index.js +696 -0
  110. package/dist/node_modules/ajv/dist/compile/codegen/index.js.map +1 -0
  111. package/dist/node_modules/ajv/dist/compile/codegen/scope.d.ts +79 -0
  112. package/dist/node_modules/ajv/dist/compile/codegen/scope.js +143 -0
  113. package/dist/node_modules/ajv/dist/compile/codegen/scope.js.map +1 -0
  114. package/dist/node_modules/ajv/dist/compile/context.d.ts +38 -0
  115. package/dist/node_modules/ajv/dist/compile/context.js +240 -0
  116. package/dist/node_modules/ajv/dist/compile/context.js.map +1 -0
  117. package/dist/node_modules/ajv/dist/compile/equal.d.ts +2 -0
  118. package/dist/node_modules/ajv/dist/compile/equal.js +5 -0
  119. package/dist/node_modules/ajv/dist/compile/equal.js.map +1 -0
  120. package/dist/node_modules/ajv/dist/compile/error_classes.d.ts +12 -0
  121. package/dist/node_modules/ajv/dist/compile/error_classes.js +25 -0
  122. package/dist/node_modules/ajv/dist/compile/error_classes.js.map +1 -0
  123. package/dist/node_modules/ajv/dist/compile/errors.d.ts +8 -0
  124. package/dist/node_modules/ajv/dist/compile/errors.js +121 -0
  125. package/dist/node_modules/ajv/dist/compile/errors.js.map +1 -0
  126. package/dist/node_modules/ajv/dist/compile/index.d.ts +76 -0
  127. package/dist/node_modules/ajv/dist/compile/index.js +235 -0
  128. package/dist/node_modules/ajv/dist/compile/index.js.map +1 -0
  129. package/dist/node_modules/ajv/dist/compile/jtd/parse.d.ts +4 -0
  130. package/dist/node_modules/ajv/dist/compile/jtd/parse.js +341 -0
  131. package/dist/node_modules/ajv/dist/compile/jtd/parse.js.map +1 -0
  132. package/dist/node_modules/ajv/dist/compile/jtd/serialize.d.ts +4 -0
  133. package/dist/node_modules/ajv/dist/compile/jtd/serialize.js +223 -0
  134. package/dist/node_modules/ajv/dist/compile/jtd/serialize.js.map +1 -0
  135. package/dist/node_modules/ajv/dist/compile/jtd/types.d.ts +6 -0
  136. package/dist/node_modules/ajv/dist/compile/jtd/types.js +14 -0
  137. package/dist/node_modules/ajv/dist/compile/jtd/types.js.map +1 -0
  138. package/dist/node_modules/ajv/dist/compile/names.d.ts +20 -0
  139. package/dist/node_modules/ajv/dist/compile/names.js +28 -0
  140. package/dist/node_modules/ajv/dist/compile/names.js.map +1 -0
  141. package/dist/node_modules/ajv/dist/compile/resolve.d.ts +12 -0
  142. package/dist/node_modules/ajv/dist/compile/resolve.js +152 -0
  143. package/dist/node_modules/ajv/dist/compile/resolve.js.map +1 -0
  144. package/dist/node_modules/ajv/dist/compile/rules.d.ts +28 -0
  145. package/dist/node_modules/ajv/dist/compile/rules.js +26 -0
  146. package/dist/node_modules/ajv/dist/compile/rules.js.map +1 -0
  147. package/dist/node_modules/ajv/dist/compile/subschema.d.ts +28 -0
  148. package/dist/node_modules/ajv/dist/compile/subschema.js +107 -0
  149. package/dist/node_modules/ajv/dist/compile/subschema.js.map +1 -0
  150. package/dist/node_modules/ajv/dist/compile/timestamp.d.ts +5 -0
  151. package/dist/node_modules/ajv/dist/compile/timestamp.js +31 -0
  152. package/dist/node_modules/ajv/dist/compile/timestamp.js.map +1 -0
  153. package/dist/node_modules/ajv/dist/compile/ucs2length.d.ts +1 -0
  154. package/dist/node_modules/ajv/dist/compile/ucs2length.js +23 -0
  155. package/dist/node_modules/ajv/dist/compile/ucs2length.js.map +1 -0
  156. package/dist/node_modules/ajv/dist/compile/util.d.ts +34 -0
  157. package/dist/node_modules/ajv/dist/compile/util.js +148 -0
  158. package/dist/node_modules/ajv/dist/compile/util.js.map +1 -0
  159. package/dist/node_modules/ajv/dist/compile/validate/applicability.d.ts +6 -0
  160. package/dist/node_modules/ajv/dist/compile/validate/applicability.js +19 -0
  161. package/dist/node_modules/ajv/dist/compile/validate/applicability.js.map +1 -0
  162. package/dist/node_modules/ajv/dist/compile/validate/boolSchema.d.ts +4 -0
  163. package/dist/node_modules/ajv/dist/compile/validate/boolSchema.js +50 -0
  164. package/dist/node_modules/ajv/dist/compile/validate/boolSchema.js.map +1 -0
  165. package/dist/node_modules/ajv/dist/compile/validate/dataType.d.ts +17 -0
  166. package/dist/node_modules/ajv/dist/compile/validate/dataType.js +202 -0
  167. package/dist/node_modules/ajv/dist/compile/validate/dataType.js.map +1 -0
  168. package/dist/node_modules/ajv/dist/compile/validate/defaults.d.ts +2 -0
  169. package/dist/node_modules/ajv/dist/compile/validate/defaults.js +35 -0
  170. package/dist/node_modules/ajv/dist/compile/validate/defaults.js.map +1 -0
  171. package/dist/node_modules/ajv/dist/compile/validate/index.d.ts +6 -0
  172. package/dist/node_modules/ajv/dist/compile/validate/index.js +187 -0
  173. package/dist/node_modules/ajv/dist/compile/validate/index.js.map +1 -0
  174. package/dist/node_modules/ajv/dist/compile/validate/iterate.d.ts +4 -0
  175. package/dist/node_modules/ajv/dist/compile/validate/iterate.js +109 -0
  176. package/dist/node_modules/ajv/dist/compile/validate/iterate.js.map +1 -0
  177. package/dist/node_modules/ajv/dist/compile/validate/keyword.d.ts +4 -0
  178. package/dist/node_modules/ajv/dist/compile/validate/keyword.js +107 -0
  179. package/dist/node_modules/ajv/dist/compile/validate/keyword.js.map +1 -0
  180. package/dist/node_modules/ajv/dist/core.d.ts +159 -0
  181. package/dist/node_modules/ajv/dist/core.js +591 -0
  182. package/dist/node_modules/ajv/dist/core.js.map +1 -0
  183. package/dist/node_modules/ajv/dist/jtd.d.ts +45 -0
  184. package/dist/node_modules/ajv/dist/jtd.js +68 -0
  185. package/dist/node_modules/ajv/dist/jtd.js.map +1 -0
  186. package/dist/node_modules/ajv/dist/refs/data.json +13 -0
  187. package/dist/node_modules/ajv/dist/refs/json-schema-2019-09/index.d.ts +2 -0
  188. package/dist/node_modules/ajv/dist/refs/json-schema-2019-09/index.js +28 -0
  189. package/dist/node_modules/ajv/dist/refs/json-schema-2019-09/index.js.map +1 -0
  190. package/dist/node_modules/ajv/dist/refs/json-schema-2019-09/meta/applicator.json +53 -0
  191. package/dist/node_modules/ajv/dist/refs/json-schema-2019-09/meta/content.json +17 -0
  192. package/dist/node_modules/ajv/dist/refs/json-schema-2019-09/meta/core.json +57 -0
  193. package/dist/node_modules/ajv/dist/refs/json-schema-2019-09/meta/format.json +14 -0
  194. package/dist/node_modules/ajv/dist/refs/json-schema-2019-09/meta/meta-data.json +37 -0
  195. package/dist/node_modules/ajv/dist/refs/json-schema-2019-09/meta/validation.json +90 -0
  196. package/dist/node_modules/ajv/dist/refs/json-schema-2019-09/schema.json +39 -0
  197. package/dist/node_modules/ajv/dist/refs/json-schema-draft-06.json +137 -0
  198. package/dist/node_modules/ajv/dist/refs/json-schema-draft-07.json +151 -0
  199. package/dist/node_modules/ajv/dist/refs/json-schema-secure.json +88 -0
  200. package/dist/node_modules/ajv/dist/refs/jtd-schema.d.ts +3 -0
  201. package/dist/node_modules/ajv/dist/refs/jtd-schema.js +118 -0
  202. package/dist/node_modules/ajv/dist/refs/jtd-schema.js.map +1 -0
  203. package/dist/node_modules/ajv/dist/runtime/parseJson.d.ts +18 -0
  204. package/dist/node_modules/ajv/dist/runtime/parseJson.js +183 -0
  205. package/dist/node_modules/ajv/dist/runtime/parseJson.js.map +1 -0
  206. package/dist/node_modules/ajv/dist/runtime/quote.d.ts +1 -0
  207. package/dist/node_modules/ajv/dist/runtime/quote.js +28 -0
  208. package/dist/node_modules/ajv/dist/runtime/quote.js.map +1 -0
  209. package/dist/node_modules/ajv/dist/standalone/index.d.ts +5 -0
  210. package/dist/node_modules/ajv/dist/standalone/index.js +81 -0
  211. package/dist/node_modules/ajv/dist/standalone/index.js.map +1 -0
  212. package/dist/node_modules/ajv/dist/standalone/instance.d.ts +12 -0
  213. package/dist/node_modules/ajv/dist/standalone/instance.js +35 -0
  214. package/dist/node_modules/ajv/dist/standalone/instance.js.map +1 -0
  215. package/dist/node_modules/ajv/dist/types/index.d.ts +169 -0
  216. package/dist/node_modules/ajv/dist/types/index.js +3 -0
  217. package/dist/node_modules/ajv/dist/types/index.js.map +1 -0
  218. package/dist/node_modules/ajv/dist/types/json-schema.d.ts +104 -0
  219. package/dist/node_modules/ajv/dist/types/json-schema.js +3 -0
  220. package/dist/node_modules/ajv/dist/types/json-schema.js.map +1 -0
  221. package/dist/node_modules/ajv/dist/types/jtd-schema.d.ts +136 -0
  222. package/dist/node_modules/ajv/dist/types/jtd-schema.js +3 -0
  223. package/dist/node_modules/ajv/dist/types/jtd-schema.js.map +1 -0
  224. package/dist/node_modules/ajv/dist/vocabularies/applicator/additionalItems.d.ts +6 -0
  225. package/dist/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +45 -0
  226. package/dist/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js.map +1 -0
  227. package/dist/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.d.ts +6 -0
  228. package/dist/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +107 -0
  229. package/dist/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js.map +1 -0
  230. package/dist/node_modules/ajv/dist/vocabularies/applicator/allOf.d.ts +3 -0
  231. package/dist/node_modules/ajv/dist/vocabularies/applicator/allOf.js +23 -0
  232. package/dist/node_modules/ajv/dist/vocabularies/applicator/allOf.js.map +1 -0
  233. package/dist/node_modules/ajv/dist/vocabularies/applicator/anyOf.d.ts +4 -0
  234. package/dist/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +14 -0
  235. package/dist/node_modules/ajv/dist/vocabularies/applicator/anyOf.js.map +1 -0
  236. package/dist/node_modules/ajv/dist/vocabularies/applicator/contains.d.ts +7 -0
  237. package/dist/node_modules/ajv/dist/vocabularies/applicator/contains.js +89 -0
  238. package/dist/node_modules/ajv/dist/vocabularies/applicator/contains.js.map +1 -0
  239. package/dist/node_modules/ajv/dist/vocabularies/applicator/dependencies.d.ts +21 -0
  240. package/dist/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +85 -0
  241. package/dist/node_modules/ajv/dist/vocabularies/applicator/dependencies.js.map +1 -0
  242. package/dist/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.d.ts +3 -0
  243. package/dist/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js +11 -0
  244. package/dist/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js.map +1 -0
  245. package/dist/node_modules/ajv/dist/vocabularies/applicator/if.d.ts +6 -0
  246. package/dist/node_modules/ajv/dist/vocabularies/applicator/if.js +67 -0
  247. package/dist/node_modules/ajv/dist/vocabularies/applicator/if.js.map +1 -0
  248. package/dist/node_modules/ajv/dist/vocabularies/applicator/index.d.ts +13 -0
  249. package/dist/node_modules/ajv/dist/vocabularies/applicator/index.js +37 -0
  250. package/dist/node_modules/ajv/dist/vocabularies/applicator/index.js.map +1 -0
  251. package/dist/node_modules/ajv/dist/vocabularies/applicator/items.d.ts +3 -0
  252. package/dist/node_modules/ajv/dist/vocabularies/applicator/items.js +51 -0
  253. package/dist/node_modules/ajv/dist/vocabularies/applicator/items.js.map +1 -0
  254. package/dist/node_modules/ajv/dist/vocabularies/applicator/not.d.ts +4 -0
  255. package/dist/node_modules/ajv/dist/vocabularies/applicator/not.js +28 -0
  256. package/dist/node_modules/ajv/dist/vocabularies/applicator/not.js.map +1 -0
  257. package/dist/node_modules/ajv/dist/vocabularies/applicator/oneOf.d.ts +6 -0
  258. package/dist/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +58 -0
  259. package/dist/node_modules/ajv/dist/vocabularies/applicator/oneOf.js.map +1 -0
  260. package/dist/node_modules/ajv/dist/vocabularies/applicator/patternProperties.d.ts +3 -0
  261. package/dist/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +70 -0
  262. package/dist/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js.map +1 -0
  263. package/dist/node_modules/ajv/dist/vocabularies/applicator/properties.d.ts +3 -0
  264. package/dist/node_modules/ajv/dist/vocabularies/applicator/properties.js +54 -0
  265. package/dist/node_modules/ajv/dist/vocabularies/applicator/properties.js.map +1 -0
  266. package/dist/node_modules/ajv/dist/vocabularies/applicator/propertyNames.d.ts +6 -0
  267. package/dist/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +38 -0
  268. package/dist/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js.map +1 -0
  269. package/dist/node_modules/ajv/dist/vocabularies/applicator/thenElse.d.ts +3 -0
  270. package/dist/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +13 -0
  271. package/dist/node_modules/ajv/dist/vocabularies/applicator/thenElse.js.map +1 -0
  272. package/dist/node_modules/ajv/dist/vocabularies/code.d.ts +17 -0
  273. package/dist/node_modules/ajv/dist/vocabularies/code.js +127 -0
  274. package/dist/node_modules/ajv/dist/vocabularies/code.js.map +1 -0
  275. package/dist/node_modules/ajv/dist/vocabularies/core/id.d.ts +3 -0
  276. package/dist/node_modules/ajv/dist/vocabularies/core/id.js +10 -0
  277. package/dist/node_modules/ajv/dist/vocabularies/core/id.js.map +1 -0
  278. package/dist/node_modules/ajv/dist/vocabularies/core/index.d.ts +3 -0
  279. package/dist/node_modules/ajv/dist/vocabularies/core/index.js +16 -0
  280. package/dist/node_modules/ajv/dist/vocabularies/core/index.js.map +1 -0
  281. package/dist/node_modules/ajv/dist/vocabularies/core/ref.d.ts +8 -0
  282. package/dist/node_modules/ajv/dist/vocabularies/core/ref.js +123 -0
  283. package/dist/node_modules/ajv/dist/vocabularies/core/ref.js.map +1 -0
  284. package/dist/node_modules/ajv/dist/vocabularies/draft7.d.ts +3 -0
  285. package/dist/node_modules/ajv/dist/vocabularies/draft7.js +17 -0
  286. package/dist/node_modules/ajv/dist/vocabularies/draft7.js.map +1 -0
  287. package/dist/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.d.ts +5 -0
  288. package/dist/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js +29 -0
  289. package/dist/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js.map +1 -0
  290. package/dist/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.d.ts +5 -0
  291. package/dist/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js +51 -0
  292. package/dist/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js.map +1 -0
  293. package/dist/node_modules/ajv/dist/vocabularies/dynamic/index.d.ts +3 -0
  294. package/dist/node_modules/ajv/dist/vocabularies/dynamic/index.js +9 -0
  295. package/dist/node_modules/ajv/dist/vocabularies/dynamic/index.js.map +1 -0
  296. package/dist/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.d.ts +3 -0
  297. package/dist/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js +16 -0
  298. package/dist/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js.map +1 -0
  299. package/dist/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.d.ts +3 -0
  300. package/dist/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js +10 -0
  301. package/dist/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js.map +1 -0
  302. package/dist/node_modules/ajv/dist/vocabularies/errors.d.ts +8 -0
  303. package/dist/node_modules/ajv/dist/vocabularies/errors.js +3 -0
  304. package/dist/node_modules/ajv/dist/vocabularies/errors.js.map +1 -0
  305. package/dist/node_modules/ajv/dist/vocabularies/format/format.d.ts +8 -0
  306. package/dist/node_modules/ajv/dist/vocabularies/format/format.js +91 -0
  307. package/dist/node_modules/ajv/dist/vocabularies/format/format.js.map +1 -0
  308. package/dist/node_modules/ajv/dist/vocabularies/format/index.d.ts +3 -0
  309. package/dist/node_modules/ajv/dist/vocabularies/format/index.js +6 -0
  310. package/dist/node_modules/ajv/dist/vocabularies/format/index.js.map +1 -0
  311. package/dist/node_modules/ajv/dist/vocabularies/jtd/discriminator.d.ts +3 -0
  312. package/dist/node_modules/ajv/dist/vocabularies/jtd/discriminator.js +38 -0
  313. package/dist/node_modules/ajv/dist/vocabularies/jtd/discriminator.js.map +1 -0
  314. package/dist/node_modules/ajv/dist/vocabularies/jtd/elements.d.ts +3 -0
  315. package/dist/node_modules/ajv/dist/vocabularies/jtd/elements.js +22 -0
  316. package/dist/node_modules/ajv/dist/vocabularies/jtd/elements.js.map +1 -0
  317. package/dist/node_modules/ajv/dist/vocabularies/jtd/enum.d.ts +3 -0
  318. package/dist/node_modules/ajv/dist/vocabularies/jtd/enum.js +41 -0
  319. package/dist/node_modules/ajv/dist/vocabularies/jtd/enum.js.map +1 -0
  320. package/dist/node_modules/ajv/dist/vocabularies/jtd/index.d.ts +3 -0
  321. package/dist/node_modules/ajv/dist/vocabularies/jtd/index.js +30 -0
  322. package/dist/node_modules/ajv/dist/vocabularies/jtd/index.js.map +1 -0
  323. package/dist/node_modules/ajv/dist/vocabularies/jtd/metadata.d.ts +5 -0
  324. package/dist/node_modules/ajv/dist/vocabularies/jtd/metadata.js +25 -0
  325. package/dist/node_modules/ajv/dist/vocabularies/jtd/metadata.js.map +1 -0
  326. package/dist/node_modules/ajv/dist/vocabularies/jtd/nullable.d.ts +4 -0
  327. package/dist/node_modules/ajv/dist/vocabularies/jtd/nullable.js +22 -0
  328. package/dist/node_modules/ajv/dist/vocabularies/jtd/nullable.js.map +1 -0
  329. package/dist/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.d.ts +3 -0
  330. package/dist/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js +14 -0
  331. package/dist/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js.map +1 -0
  332. package/dist/node_modules/ajv/dist/vocabularies/jtd/properties.d.ts +5 -0
  333. package/dist/node_modules/ajv/dist/vocabularies/jtd/properties.js +118 -0
  334. package/dist/node_modules/ajv/dist/vocabularies/jtd/properties.js.map +1 -0
  335. package/dist/node_modules/ajv/dist/vocabularies/jtd/ref.d.ts +4 -0
  336. package/dist/node_modules/ajv/dist/vocabularies/jtd/ref.js +66 -0
  337. package/dist/node_modules/ajv/dist/vocabularies/jtd/ref.js.map +1 -0
  338. package/dist/node_modules/ajv/dist/vocabularies/jtd/type.d.ts +7 -0
  339. package/dist/node_modules/ajv/dist/vocabularies/jtd/type.js +46 -0
  340. package/dist/node_modules/ajv/dist/vocabularies/jtd/type.js.map +1 -0
  341. package/dist/node_modules/ajv/dist/vocabularies/jtd/union.d.ts +3 -0
  342. package/dist/node_modules/ajv/dist/vocabularies/jtd/union.js +11 -0
  343. package/dist/node_modules/ajv/dist/vocabularies/jtd/union.js.map +1 -0
  344. package/dist/node_modules/ajv/dist/vocabularies/jtd/values.d.ts +3 -0
  345. package/dist/node_modules/ajv/dist/vocabularies/jtd/values.js +43 -0
  346. package/dist/node_modules/ajv/dist/vocabularies/jtd/values.js.map +1 -0
  347. package/dist/node_modules/ajv/dist/vocabularies/metadata.d.ts +3 -0
  348. package/dist/node_modules/ajv/dist/vocabularies/metadata.js +18 -0
  349. package/dist/node_modules/ajv/dist/vocabularies/metadata.js.map +1 -0
  350. package/dist/node_modules/ajv/dist/vocabularies/next.d.ts +3 -0
  351. package/dist/node_modules/ajv/dist/vocabularies/next.js +8 -0
  352. package/dist/node_modules/ajv/dist/vocabularies/next.js.map +1 -0
  353. package/dist/node_modules/ajv/dist/vocabularies/unevaluated/index.d.ts +3 -0
  354. package/dist/node_modules/ajv/dist/vocabularies/unevaluated/index.js +7 -0
  355. package/dist/node_modules/ajv/dist/vocabularies/unevaluated/index.js.map +1 -0
  356. package/dist/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.d.ts +6 -0
  357. package/dist/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js +41 -0
  358. package/dist/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js.map +1 -0
  359. package/dist/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.d.ts +6 -0
  360. package/dist/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js +66 -0
  361. package/dist/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js.map +1 -0
  362. package/dist/node_modules/ajv/dist/vocabularies/validation/const.d.ts +6 -0
  363. package/dist/node_modules/ajv/dist/vocabularies/validation/const.js +23 -0
  364. package/dist/node_modules/ajv/dist/vocabularies/validation/const.js.map +1 -0
  365. package/dist/node_modules/ajv/dist/vocabularies/validation/dependentRequired.d.ts +5 -0
  366. package/dist/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js +12 -0
  367. package/dist/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js.map +1 -0
  368. package/dist/node_modules/ajv/dist/vocabularies/validation/enum.d.ts +8 -0
  369. package/dist/node_modules/ajv/dist/vocabularies/validation/enum.js +49 -0
  370. package/dist/node_modules/ajv/dist/vocabularies/validation/enum.js.map +1 -0
  371. package/dist/node_modules/ajv/dist/vocabularies/validation/index.d.ts +16 -0
  372. package/dist/node_modules/ajv/dist/vocabularies/validation/index.js +33 -0
  373. package/dist/node_modules/ajv/dist/vocabularies/validation/index.js.map +1 -0
  374. package/dist/node_modules/ajv/dist/vocabularies/validation/limitContains.d.ts +3 -0
  375. package/dist/node_modules/ajv/dist/vocabularies/validation/limitContains.js +15 -0
  376. package/dist/node_modules/ajv/dist/vocabularies/validation/limitContains.js.map +1 -0
  377. package/dist/node_modules/ajv/dist/vocabularies/validation/limitItems.d.ts +3 -0
  378. package/dist/node_modules/ajv/dist/vocabularies/validation/limitItems.js +24 -0
  379. package/dist/node_modules/ajv/dist/vocabularies/validation/limitItems.js.map +1 -0
  380. package/dist/node_modules/ajv/dist/vocabularies/validation/limitLength.d.ts +3 -0
  381. package/dist/node_modules/ajv/dist/vocabularies/validation/limitLength.js +36 -0
  382. package/dist/node_modules/ajv/dist/vocabularies/validation/limitLength.js.map +1 -0
  383. package/dist/node_modules/ajv/dist/vocabularies/validation/limitNumber.d.ts +11 -0
  384. package/dist/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +27 -0
  385. package/dist/node_modules/ajv/dist/vocabularies/validation/limitNumber.js.map +1 -0
  386. package/dist/node_modules/ajv/dist/vocabularies/validation/limitProperties.d.ts +3 -0
  387. package/dist/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +24 -0
  388. package/dist/node_modules/ajv/dist/vocabularies/validation/limitProperties.js.map +1 -0
  389. package/dist/node_modules/ajv/dist/vocabularies/validation/multipleOf.d.ts +8 -0
  390. package/dist/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +26 -0
  391. package/dist/node_modules/ajv/dist/vocabularies/validation/multipleOf.js.map +1 -0
  392. package/dist/node_modules/ajv/dist/vocabularies/validation/pattern.d.ts +8 -0
  393. package/dist/node_modules/ajv/dist/vocabularies/validation/pattern.js +22 -0
  394. package/dist/node_modules/ajv/dist/vocabularies/validation/pattern.js.map +1 -0
  395. package/dist/node_modules/ajv/dist/vocabularies/validation/required.d.ts +8 -0
  396. package/dist/node_modules/ajv/dist/vocabularies/validation/required.js +79 -0
  397. package/dist/node_modules/ajv/dist/vocabularies/validation/required.js.map +1 -0
  398. package/dist/node_modules/ajv/dist/vocabularies/validation/uniqueItems.d.ts +9 -0
  399. package/dist/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +66 -0
  400. package/dist/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js.map +1 -0
  401. package/dist/node_modules/ajv/lib/2019.ts +72 -0
  402. package/dist/node_modules/ajv/lib/ajv.ts +61 -0
  403. package/dist/node_modules/ajv/lib/compile/codegen/code.ts +156 -0
  404. package/dist/node_modules/ajv/lib/compile/codegen/index.ts +832 -0
  405. package/dist/node_modules/ajv/lib/compile/codegen/scope.ts +215 -0
  406. package/dist/node_modules/ajv/lib/compile/context.ts +266 -0
  407. package/dist/node_modules/ajv/lib/compile/equal.js +3 -0
  408. package/dist/node_modules/ajv/lib/compile/error_classes.ts +30 -0
  409. package/dist/node_modules/ajv/lib/compile/errors.ts +154 -0
  410. package/dist/node_modules/ajv/lib/compile/index.ts +312 -0
  411. package/dist/node_modules/ajv/lib/compile/jtd/parse.ts +403 -0
  412. package/dist/node_modules/ajv/lib/compile/jtd/serialize.ts +266 -0
  413. package/dist/node_modules/ajv/lib/compile/jtd/types.ts +16 -0
  414. package/dist/node_modules/ajv/lib/compile/names.ts +27 -0
  415. package/dist/node_modules/ajv/lib/compile/resolve.ts +145 -0
  416. package/dist/node_modules/ajv/lib/compile/rules.ts +50 -0
  417. package/dist/node_modules/ajv/lib/compile/subschema.ts +169 -0
  418. package/dist/node_modules/ajv/lib/compile/timestamp.ts +31 -0
  419. package/dist/node_modules/ajv/lib/compile/ucs2length.ts +18 -0
  420. package/dist/node_modules/ajv/lib/compile/util.ts +176 -0
  421. package/dist/node_modules/ajv/lib/compile/validate/applicability.ts +22 -0
  422. package/dist/node_modules/ajv/lib/compile/validate/boolSchema.ts +47 -0
  423. package/dist/node_modules/ajv/lib/compile/validate/dataType.ts +229 -0
  424. package/dist/node_modules/ajv/lib/compile/validate/defaults.ts +32 -0
  425. package/dist/node_modules/ajv/lib/compile/validate/index.ts +199 -0
  426. package/dist/node_modules/ajv/lib/compile/validate/iterate.ts +116 -0
  427. package/dist/node_modules/ajv/lib/compile/validate/keyword.ts +144 -0
  428. package/dist/node_modules/ajv/lib/core.ts +827 -0
  429. package/dist/node_modules/ajv/lib/jtd.ts +128 -0
  430. package/dist/node_modules/ajv/lib/refs/data.json +13 -0
  431. package/dist/node_modules/ajv/lib/refs/json-schema-2019-09/index.ts +28 -0
  432. package/dist/node_modules/ajv/lib/refs/json-schema-2019-09/meta/applicator.json +53 -0
  433. package/dist/node_modules/ajv/lib/refs/json-schema-2019-09/meta/content.json +17 -0
  434. package/dist/node_modules/ajv/lib/refs/json-schema-2019-09/meta/core.json +57 -0
  435. package/dist/node_modules/ajv/lib/refs/json-schema-2019-09/meta/format.json +14 -0
  436. package/dist/node_modules/ajv/lib/refs/json-schema-2019-09/meta/meta-data.json +37 -0
  437. package/dist/node_modules/ajv/lib/refs/json-schema-2019-09/meta/validation.json +90 -0
  438. package/dist/node_modules/ajv/lib/refs/json-schema-2019-09/schema.json +39 -0
  439. package/dist/node_modules/ajv/lib/refs/json-schema-draft-06.json +137 -0
  440. package/dist/node_modules/ajv/lib/refs/json-schema-draft-07.json +151 -0
  441. package/dist/node_modules/ajv/lib/refs/json-schema-secure.json +88 -0
  442. package/dist/node_modules/ajv/lib/refs/jtd-schema.ts +130 -0
  443. package/dist/node_modules/ajv/lib/runtime/parseJson.ts +175 -0
  444. package/dist/node_modules/ajv/lib/runtime/quote.ts +28 -0
  445. package/dist/node_modules/ajv/lib/standalone/index.ts +88 -0
  446. package/dist/node_modules/ajv/lib/standalone/instance.ts +36 -0
  447. package/dist/node_modules/ajv/lib/types/index.ts +223 -0
  448. package/dist/node_modules/ajv/lib/types/json-schema.ts +120 -0
  449. package/dist/node_modules/ajv/lib/types/jtd-schema.ts +228 -0
  450. package/dist/node_modules/ajv/lib/vocabularies/applicator/additionalItems.ts +53 -0
  451. package/dist/node_modules/ajv/lib/vocabularies/applicator/additionalProperties.ts +118 -0
  452. package/dist/node_modules/ajv/lib/vocabularies/applicator/allOf.ts +22 -0
  453. package/dist/node_modules/ajv/lib/vocabularies/applicator/anyOf.ts +16 -0
  454. package/dist/node_modules/ajv/lib/vocabularies/applicator/contains.ts +104 -0
  455. package/dist/node_modules/ajv/lib/vocabularies/applicator/dependencies.ts +112 -0
  456. package/dist/node_modules/ajv/lib/vocabularies/applicator/dependentSchemas.ts +11 -0
  457. package/dist/node_modules/ajv/lib/vocabularies/applicator/if.ts +81 -0
  458. package/dist/node_modules/ajv/lib/vocabularies/applicator/index.ts +49 -0
  459. package/dist/node_modules/ajv/lib/vocabularies/applicator/items.ts +56 -0
  460. package/dist/node_modules/ajv/lib/vocabularies/applicator/not.ts +40 -0
  461. package/dist/node_modules/ajv/lib/vocabularies/applicator/oneOf.ts +81 -0
  462. package/dist/node_modules/ajv/lib/vocabularies/applicator/patternProperties.ts +76 -0
  463. package/dist/node_modules/ajv/lib/vocabularies/applicator/properties.ts +57 -0
  464. package/dist/node_modules/ajv/lib/vocabularies/applicator/propertyNames.ts +50 -0
  465. package/dist/node_modules/ajv/lib/vocabularies/applicator/thenElse.ts +13 -0
  466. package/dist/node_modules/ajv/lib/vocabularies/code.ts +163 -0
  467. package/dist/node_modules/ajv/lib/vocabularies/core/id.ts +10 -0
  468. package/dist/node_modules/ajv/lib/vocabularies/core/index.ts +16 -0
  469. package/dist/node_modules/ajv/lib/vocabularies/core/ref.ts +130 -0
  470. package/dist/node_modules/ajv/lib/vocabularies/draft7.ts +17 -0
  471. package/dist/node_modules/ajv/lib/vocabularies/dynamic/dynamicAnchor.ts +30 -0
  472. package/dist/node_modules/ajv/lib/vocabularies/dynamic/dynamicRef.ts +51 -0
  473. package/dist/node_modules/ajv/lib/vocabularies/dynamic/index.ts +9 -0
  474. package/dist/node_modules/ajv/lib/vocabularies/dynamic/recursiveAnchor.ts +14 -0
  475. package/dist/node_modules/ajv/lib/vocabularies/dynamic/recursiveRef.ts +10 -0
  476. package/dist/node_modules/ajv/lib/vocabularies/errors.ts +16 -0
  477. package/dist/node_modules/ajv/lib/vocabularies/format/format.ts +118 -0
  478. package/dist/node_modules/ajv/lib/vocabularies/format/index.ts +6 -0
  479. package/dist/node_modules/ajv/lib/vocabularies/jtd/discriminator.ts +44 -0
  480. package/dist/node_modules/ajv/lib/vocabularies/jtd/elements.ts +22 -0
  481. package/dist/node_modules/ajv/lib/vocabularies/jtd/enum.ts +39 -0
  482. package/dist/node_modules/ajv/lib/vocabularies/jtd/index.ts +30 -0
  483. package/dist/node_modules/ajv/lib/vocabularies/jtd/metadata.ts +24 -0
  484. package/dist/node_modules/ajv/lib/vocabularies/jtd/nullable.ts +18 -0
  485. package/dist/node_modules/ajv/lib/vocabularies/jtd/optionalProperties.ts +14 -0
  486. package/dist/node_modules/ajv/lib/vocabularies/jtd/properties.ts +129 -0
  487. package/dist/node_modules/ajv/lib/vocabularies/jtd/ref.ts +71 -0
  488. package/dist/node_modules/ajv/lib/vocabularies/jtd/type.ts +49 -0
  489. package/dist/node_modules/ajv/lib/vocabularies/jtd/union.ts +11 -0
  490. package/dist/node_modules/ajv/lib/vocabularies/jtd/values.ts +48 -0
  491. package/dist/node_modules/ajv/lib/vocabularies/metadata.ts +17 -0
  492. package/dist/node_modules/ajv/lib/vocabularies/next.ts +8 -0
  493. package/dist/node_modules/ajv/lib/vocabularies/unevaluated/index.ts +7 -0
  494. package/dist/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedItems.ts +48 -0
  495. package/dist/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedProperties.ts +86 -0
  496. package/dist/node_modules/ajv/lib/vocabularies/validation/const.ts +27 -0
  497. package/dist/node_modules/ajv/lib/vocabularies/validation/dependentRequired.ts +23 -0
  498. package/dist/node_modules/ajv/lib/vocabularies/validation/enum.ts +54 -0
  499. package/dist/node_modules/ajv/lib/vocabularies/validation/index.ts +49 -0
  500. package/dist/node_modules/ajv/lib/vocabularies/validation/limitContains.ts +16 -0
  501. package/dist/node_modules/ajv/lib/vocabularies/validation/limitItems.ts +26 -0
  502. package/dist/node_modules/ajv/lib/vocabularies/validation/limitLength.ts +37 -0
  503. package/dist/node_modules/ajv/lib/vocabularies/validation/limitNumber.ts +42 -0
  504. package/dist/node_modules/ajv/lib/vocabularies/validation/limitProperties.ts +26 -0
  505. package/dist/node_modules/ajv/lib/vocabularies/validation/multipleOf.ts +34 -0
  506. package/dist/node_modules/ajv/lib/vocabularies/validation/pattern.ts +26 -0
  507. package/dist/node_modules/ajv/lib/vocabularies/validation/required.ts +98 -0
  508. package/dist/node_modules/ajv/lib/vocabularies/validation/uniqueItems.ts +81 -0
  509. package/dist/node_modules/ajv/package.json +123 -0
  510. package/dist/node_modules/ajv/scripts/.eslintrc.yml +5 -0
  511. package/dist/node_modules/ajv/scripts/bundle.js +48 -0
  512. package/dist/node_modules/ajv/scripts/get-contributors.js +57 -0
  513. package/dist/node_modules/ajv/scripts/jsontests.js +31 -0
  514. package/dist/node_modules/ajv/scripts/prepare-site +15 -0
  515. package/dist/node_modules/ajv/scripts/prepare-tests +12 -0
  516. package/dist/node_modules/ajv/scripts/publish-bundles +37 -0
  517. package/dist/node_modules/ajv/scripts/publish-site +25 -0
  518. package/dist/node_modules/ajv-formats/LICENSE +21 -0
  519. package/dist/node_modules/ajv-formats/README.md +123 -0
  520. package/dist/node_modules/ajv-formats/dist/formats.d.ts +9 -0
  521. package/dist/node_modules/ajv-formats/dist/formats.js +173 -0
  522. package/dist/node_modules/ajv-formats/dist/formats.js.map +1 -0
  523. package/dist/node_modules/ajv-formats/dist/index.d.ts +15 -0
  524. package/dist/node_modules/ajv-formats/dist/index.js +37 -0
  525. package/dist/node_modules/ajv-formats/dist/index.js.map +1 -0
  526. package/dist/node_modules/ajv-formats/dist/limit.d.ts +10 -0
  527. package/dist/node_modules/ajv-formats/dist/limit.js +69 -0
  528. package/dist/node_modules/ajv-formats/dist/limit.js.map +1 -0
  529. package/dist/node_modules/ajv-formats/node_modules/ajv/.runkit_example.js +23 -0
  530. package/dist/node_modules/ajv-formats/node_modules/ajv/LICENSE +22 -0
  531. package/dist/node_modules/ajv-formats/node_modules/ajv/README.md +207 -0
  532. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/2019.d.ts +19 -0
  533. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/2019.js +61 -0
  534. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/2019.js.map +1 -0
  535. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/2020.d.ts +19 -0
  536. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/2020.js +55 -0
  537. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/2020.js.map +1 -0
  538. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/ajv.d.ts +18 -0
  539. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/ajv.js +50 -0
  540. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/ajv.js.map +1 -0
  541. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/code.d.ts +40 -0
  542. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/code.js +156 -0
  543. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/code.js.map +1 -0
  544. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/index.d.ts +79 -0
  545. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/index.js +697 -0
  546. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/index.js.map +1 -0
  547. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/scope.d.ts +79 -0
  548. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/scope.js +143 -0
  549. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/scope.js.map +1 -0
  550. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/errors.d.ts +13 -0
  551. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/errors.js +123 -0
  552. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/errors.js.map +1 -0
  553. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/index.d.ts +80 -0
  554. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/index.js +242 -0
  555. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/index.js.map +1 -0
  556. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/jtd/parse.d.ts +4 -0
  557. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/jtd/parse.js +350 -0
  558. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/jtd/parse.js.map +1 -0
  559. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/jtd/serialize.d.ts +4 -0
  560. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/jtd/serialize.js +229 -0
  561. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/jtd/serialize.js.map +1 -0
  562. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/jtd/types.d.ts +6 -0
  563. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/jtd/types.js +14 -0
  564. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/jtd/types.js.map +1 -0
  565. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/names.d.ts +20 -0
  566. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/names.js +28 -0
  567. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/names.js.map +1 -0
  568. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/ref_error.d.ts +6 -0
  569. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/ref_error.js +12 -0
  570. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/ref_error.js.map +1 -0
  571. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/resolve.d.ts +12 -0
  572. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/resolve.js +155 -0
  573. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/resolve.js.map +1 -0
  574. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/rules.d.ts +28 -0
  575. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/rules.js +26 -0
  576. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/rules.js.map +1 -0
  577. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/util.d.ts +40 -0
  578. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/util.js +178 -0
  579. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/util.js.map +1 -0
  580. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/applicability.d.ts +6 -0
  581. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/applicability.js +19 -0
  582. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/applicability.js.map +1 -0
  583. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/boolSchema.d.ts +4 -0
  584. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/boolSchema.js +50 -0
  585. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/boolSchema.js.map +1 -0
  586. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/dataType.d.ts +17 -0
  587. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/dataType.js +203 -0
  588. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/dataType.js.map +1 -0
  589. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/defaults.d.ts +2 -0
  590. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/defaults.js +35 -0
  591. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/defaults.js.map +1 -0
  592. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/index.d.ts +42 -0
  593. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/index.js +520 -0
  594. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/index.js.map +1 -0
  595. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/keyword.d.ts +8 -0
  596. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/keyword.js +124 -0
  597. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/keyword.js.map +1 -0
  598. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/subschema.d.ts +47 -0
  599. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/subschema.js +81 -0
  600. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/subschema.js.map +1 -0
  601. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/core.d.ts +173 -0
  602. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/core.js +618 -0
  603. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/core.js.map +1 -0
  604. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/jtd.d.ts +47 -0
  605. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/jtd.js +72 -0
  606. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/jtd.js.map +1 -0
  607. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/data.json +13 -0
  608. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2019-09/index.d.ts +2 -0
  609. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2019-09/index.js +28 -0
  610. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2019-09/index.js.map +1 -0
  611. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2019-09/meta/applicator.json +53 -0
  612. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2019-09/meta/content.json +17 -0
  613. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2019-09/meta/core.json +57 -0
  614. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2019-09/meta/format.json +14 -0
  615. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2019-09/meta/meta-data.json +37 -0
  616. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2019-09/meta/validation.json +90 -0
  617. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2019-09/schema.json +39 -0
  618. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2020-12/index.d.ts +2 -0
  619. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2020-12/index.js +30 -0
  620. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2020-12/index.js.map +1 -0
  621. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2020-12/meta/applicator.json +48 -0
  622. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2020-12/meta/content.json +17 -0
  623. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2020-12/meta/core.json +51 -0
  624. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2020-12/meta/format-annotation.json +14 -0
  625. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2020-12/meta/meta-data.json +37 -0
  626. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2020-12/meta/unevaluated.json +15 -0
  627. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2020-12/meta/validation.json +90 -0
  628. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2020-12/schema.json +55 -0
  629. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-draft-06.json +137 -0
  630. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-draft-07.json +151 -0
  631. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-secure.json +88 -0
  632. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/jtd-schema.d.ts +3 -0
  633. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/jtd-schema.js +118 -0
  634. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/jtd-schema.js.map +1 -0
  635. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/equal.d.ts +6 -0
  636. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/equal.js +7 -0
  637. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/equal.js.map +1 -0
  638. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/parseJson.d.ts +18 -0
  639. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/parseJson.js +185 -0
  640. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/parseJson.js.map +1 -0
  641. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/quote.d.ts +5 -0
  642. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/quote.js +30 -0
  643. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/quote.js.map +1 -0
  644. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/re2.d.ts +6 -0
  645. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/re2.js +6 -0
  646. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/re2.js.map +1 -0
  647. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/timestamp.d.ts +5 -0
  648. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/timestamp.js +42 -0
  649. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/timestamp.js.map +1 -0
  650. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/ucs2length.d.ts +5 -0
  651. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/ucs2length.js +24 -0
  652. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/ucs2length.js.map +1 -0
  653. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/uri.d.ts +6 -0
  654. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/uri.js +6 -0
  655. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/uri.js.map +1 -0
  656. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/validation_error.d.ts +7 -0
  657. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/validation_error.js +11 -0
  658. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/validation_error.js.map +1 -0
  659. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/standalone/index.d.ts +6 -0
  660. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/standalone/index.js +90 -0
  661. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/standalone/index.js.map +1 -0
  662. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/standalone/instance.d.ts +12 -0
  663. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/standalone/instance.js +35 -0
  664. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/standalone/instance.js.map +1 -0
  665. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/types/index.d.ts +183 -0
  666. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/types/index.js +3 -0
  667. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/types/index.js.map +1 -0
  668. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/types/json-schema.d.ts +125 -0
  669. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/types/json-schema.js +3 -0
  670. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/types/json-schema.js.map +1 -0
  671. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/types/jtd-schema.d.ts +174 -0
  672. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/types/jtd-schema.js +3 -0
  673. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/types/jtd-schema.js.map +1 -0
  674. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/additionalItems.d.ts +8 -0
  675. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +49 -0
  676. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js.map +1 -0
  677. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.d.ts +6 -0
  678. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +106 -0
  679. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js.map +1 -0
  680. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/allOf.d.ts +3 -0
  681. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/allOf.js +23 -0
  682. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/allOf.js.map +1 -0
  683. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/anyOf.d.ts +4 -0
  684. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +12 -0
  685. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/anyOf.js.map +1 -0
  686. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/contains.d.ts +7 -0
  687. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/contains.js +95 -0
  688. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/contains.js.map +1 -0
  689. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/dependencies.d.ts +21 -0
  690. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +85 -0
  691. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/dependencies.js.map +1 -0
  692. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.d.ts +3 -0
  693. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js +11 -0
  694. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js.map +1 -0
  695. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/if.d.ts +6 -0
  696. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/if.js +66 -0
  697. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/if.js.map +1 -0
  698. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/index.d.ts +13 -0
  699. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/index.js +44 -0
  700. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/index.js.map +1 -0
  701. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/items.d.ts +5 -0
  702. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/items.js +52 -0
  703. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/items.js.map +1 -0
  704. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/items2020.d.ts +6 -0
  705. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/items2020.js +30 -0
  706. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/items2020.js.map +1 -0
  707. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/not.d.ts +4 -0
  708. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/not.js +26 -0
  709. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/not.js.map +1 -0
  710. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/oneOf.d.ts +6 -0
  711. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +60 -0
  712. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/oneOf.js.map +1 -0
  713. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/patternProperties.d.ts +3 -0
  714. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +75 -0
  715. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js.map +1 -0
  716. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/prefixItems.d.ts +3 -0
  717. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +12 -0
  718. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js.map +1 -0
  719. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/properties.d.ts +3 -0
  720. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/properties.js +54 -0
  721. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/properties.js.map +1 -0
  722. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/propertyNames.d.ts +6 -0
  723. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +38 -0
  724. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js.map +1 -0
  725. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/thenElse.d.ts +3 -0
  726. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +13 -0
  727. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/thenElse.js.map +1 -0
  728. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/code.d.ts +17 -0
  729. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/code.js +131 -0
  730. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/code.js.map +1 -0
  731. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/id.d.ts +3 -0
  732. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/id.js +10 -0
  733. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/id.js.map +1 -0
  734. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/index.d.ts +3 -0
  735. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/index.js +16 -0
  736. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/index.js.map +1 -0
  737. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/ref.d.ts +8 -0
  738. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/ref.js +122 -0
  739. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/ref.js.map +1 -0
  740. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/discriminator/index.d.ts +5 -0
  741. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/discriminator/index.js +104 -0
  742. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/discriminator/index.js.map +1 -0
  743. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/discriminator/types.d.ts +10 -0
  744. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/discriminator/types.js +9 -0
  745. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/discriminator/types.js.map +1 -0
  746. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/draft2020.d.ts +3 -0
  747. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/draft2020.js +23 -0
  748. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/draft2020.js.map +1 -0
  749. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/draft7.d.ts +3 -0
  750. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/draft7.js +17 -0
  751. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/draft7.js.map +1 -0
  752. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.d.ts +5 -0
  753. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js +30 -0
  754. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js.map +1 -0
  755. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.d.ts +5 -0
  756. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js +51 -0
  757. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js.map +1 -0
  758. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/dynamic/index.d.ts +3 -0
  759. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/dynamic/index.js +9 -0
  760. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/dynamic/index.js.map +1 -0
  761. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.d.ts +3 -0
  762. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js +16 -0
  763. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js.map +1 -0
  764. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.d.ts +3 -0
  765. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js +10 -0
  766. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js.map +1 -0
  767. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/errors.d.ts +9 -0
  768. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/errors.js +3 -0
  769. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/errors.js.map +1 -0
  770. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/format/format.d.ts +8 -0
  771. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/format/format.js +92 -0
  772. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/format/format.js.map +1 -0
  773. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/format/index.d.ts +3 -0
  774. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/format/index.js +6 -0
  775. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/format/index.js.map +1 -0
  776. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/discriminator.d.ts +6 -0
  777. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/discriminator.js +71 -0
  778. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/discriminator.js.map +1 -0
  779. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/elements.d.ts +5 -0
  780. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/elements.js +24 -0
  781. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/elements.js.map +1 -0
  782. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/enum.d.ts +6 -0
  783. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/enum.js +43 -0
  784. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/enum.js.map +1 -0
  785. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/error.d.ts +9 -0
  786. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/error.js +20 -0
  787. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/error.js.map +1 -0
  788. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/index.d.ts +10 -0
  789. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/index.js +29 -0
  790. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/index.js.map +1 -0
  791. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/metadata.d.ts +5 -0
  792. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/metadata.js +25 -0
  793. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/metadata.js.map +1 -0
  794. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/nullable.d.ts +4 -0
  795. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/nullable.js +22 -0
  796. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/nullable.js.map +1 -0
  797. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.d.ts +3 -0
  798. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js +15 -0
  799. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js.map +1 -0
  800. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/properties.d.ts +22 -0
  801. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/properties.js +149 -0
  802. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/properties.js.map +1 -0
  803. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/ref.d.ts +4 -0
  804. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/ref.js +67 -0
  805. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/ref.js.map +1 -0
  806. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/type.d.ts +10 -0
  807. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/type.js +69 -0
  808. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/type.js.map +1 -0
  809. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/union.d.ts +3 -0
  810. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/union.js +12 -0
  811. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/union.js.map +1 -0
  812. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/values.d.ts +5 -0
  813. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/values.js +51 -0
  814. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/values.js.map +1 -0
  815. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/metadata.d.ts +3 -0
  816. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/metadata.js +18 -0
  817. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/metadata.js.map +1 -0
  818. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/next.d.ts +3 -0
  819. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/next.js +8 -0
  820. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/next.js.map +1 -0
  821. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/unevaluated/index.d.ts +3 -0
  822. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/unevaluated/index.js +7 -0
  823. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/unevaluated/index.js.map +1 -0
  824. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.d.ts +6 -0
  825. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js +40 -0
  826. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js.map +1 -0
  827. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.d.ts +6 -0
  828. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js +65 -0
  829. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js.map +1 -0
  830. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/const.d.ts +6 -0
  831. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/const.js +25 -0
  832. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/const.js.map +1 -0
  833. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/dependentRequired.d.ts +5 -0
  834. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js +12 -0
  835. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js.map +1 -0
  836. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/enum.d.ts +8 -0
  837. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/enum.js +48 -0
  838. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/enum.js.map +1 -0
  839. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/index.d.ts +16 -0
  840. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/index.js +33 -0
  841. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/index.js.map +1 -0
  842. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitContains.d.ts +3 -0
  843. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitContains.js +15 -0
  844. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitContains.js.map +1 -0
  845. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitItems.d.ts +3 -0
  846. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitItems.js +24 -0
  847. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitItems.js.map +1 -0
  848. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitLength.d.ts +3 -0
  849. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitLength.js +27 -0
  850. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitLength.js.map +1 -0
  851. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitNumber.d.ts +11 -0
  852. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +27 -0
  853. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitNumber.js.map +1 -0
  854. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitProperties.d.ts +3 -0
  855. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +24 -0
  856. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitProperties.js.map +1 -0
  857. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/multipleOf.d.ts +8 -0
  858. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +26 -0
  859. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/multipleOf.js.map +1 -0
  860. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/pattern.d.ts +8 -0
  861. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/pattern.js +24 -0
  862. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/pattern.js.map +1 -0
  863. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/required.d.ts +8 -0
  864. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/required.js +79 -0
  865. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/required.js.map +1 -0
  866. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/uniqueItems.d.ts +9 -0
  867. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +64 -0
  868. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js.map +1 -0
  869. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/2019.ts +81 -0
  870. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/2020.ts +75 -0
  871. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/ajv.ts +70 -0
  872. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/codegen/code.ts +169 -0
  873. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/codegen/index.ts +852 -0
  874. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/codegen/scope.ts +215 -0
  875. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/errors.ts +184 -0
  876. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/index.ts +324 -0
  877. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/jtd/parse.ts +411 -0
  878. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/jtd/serialize.ts +266 -0
  879. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/jtd/types.ts +16 -0
  880. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/names.ts +27 -0
  881. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/ref_error.ts +13 -0
  882. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/resolve.ts +149 -0
  883. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/rules.ts +50 -0
  884. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/util.ts +213 -0
  885. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/validate/applicability.ts +22 -0
  886. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/validate/boolSchema.ts +47 -0
  887. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/validate/dataType.ts +230 -0
  888. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/validate/defaults.ts +32 -0
  889. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/validate/index.ts +582 -0
  890. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/validate/keyword.ts +171 -0
  891. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/validate/subschema.ts +135 -0
  892. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/core.ts +891 -0
  893. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/jtd.ts +132 -0
  894. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/data.json +13 -0
  895. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-2019-09/index.ts +28 -0
  896. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-2019-09/meta/applicator.json +53 -0
  897. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-2019-09/meta/content.json +17 -0
  898. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-2019-09/meta/core.json +57 -0
  899. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-2019-09/meta/format.json +14 -0
  900. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-2019-09/meta/meta-data.json +37 -0
  901. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-2019-09/meta/validation.json +90 -0
  902. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-2019-09/schema.json +39 -0
  903. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-2020-12/index.ts +30 -0
  904. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-2020-12/meta/applicator.json +48 -0
  905. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-2020-12/meta/content.json +17 -0
  906. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-2020-12/meta/core.json +51 -0
  907. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-2020-12/meta/format-annotation.json +14 -0
  908. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-2020-12/meta/meta-data.json +37 -0
  909. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-2020-12/meta/unevaluated.json +15 -0
  910. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-2020-12/meta/validation.json +90 -0
  911. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-2020-12/schema.json +55 -0
  912. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-draft-06.json +137 -0
  913. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-draft-07.json +151 -0
  914. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-secure.json +88 -0
  915. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/jtd-schema.ts +130 -0
  916. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/runtime/equal.ts +7 -0
  917. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/runtime/parseJson.ts +177 -0
  918. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/runtime/quote.ts +31 -0
  919. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/runtime/re2.ts +6 -0
  920. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/runtime/timestamp.ts +46 -0
  921. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/runtime/ucs2length.ts +20 -0
  922. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/runtime/uri.ts +6 -0
  923. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/runtime/validation_error.ts +13 -0
  924. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/standalone/index.ts +100 -0
  925. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/standalone/instance.ts +36 -0
  926. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/types/index.ts +244 -0
  927. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/types/json-schema.ts +187 -0
  928. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/types/jtd-schema.ts +273 -0
  929. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/additionalItems.ts +56 -0
  930. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/additionalProperties.ts +118 -0
  931. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/allOf.ts +22 -0
  932. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/anyOf.ts +14 -0
  933. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/contains.ts +109 -0
  934. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/dependencies.ts +112 -0
  935. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/dependentSchemas.ts +11 -0
  936. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/if.ts +80 -0
  937. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/index.ts +53 -0
  938. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/items.ts +59 -0
  939. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/items2020.ts +36 -0
  940. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/not.ts +38 -0
  941. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/oneOf.ts +82 -0
  942. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/patternProperties.ts +91 -0
  943. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/prefixItems.ts +12 -0
  944. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/properties.ts +57 -0
  945. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/propertyNames.ts +50 -0
  946. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/thenElse.ts +13 -0
  947. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/code.ts +168 -0
  948. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/core/id.ts +10 -0
  949. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/core/index.ts +16 -0
  950. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/core/ref.ts +129 -0
  951. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/discriminator/index.ts +113 -0
  952. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/discriminator/types.ts +12 -0
  953. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/draft2020.ts +23 -0
  954. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/draft7.ts +17 -0
  955. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/dynamic/dynamicAnchor.ts +31 -0
  956. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/dynamic/dynamicRef.ts +51 -0
  957. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/dynamic/index.ts +9 -0
  958. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/dynamic/recursiveAnchor.ts +14 -0
  959. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/dynamic/recursiveRef.ts +10 -0
  960. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/errors.ts +18 -0
  961. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/format/format.ts +120 -0
  962. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/format/index.ts +6 -0
  963. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/jtd/discriminator.ts +89 -0
  964. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/jtd/elements.ts +32 -0
  965. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/jtd/enum.ts +45 -0
  966. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/jtd/error.ts +23 -0
  967. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/jtd/index.ts +37 -0
  968. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/jtd/metadata.ts +24 -0
  969. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/jtd/nullable.ts +21 -0
  970. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/jtd/optionalProperties.ts +15 -0
  971. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/jtd/properties.ts +184 -0
  972. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/jtd/ref.ts +76 -0
  973. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/jtd/type.ts +75 -0
  974. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/jtd/union.ts +12 -0
  975. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/jtd/values.ts +58 -0
  976. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/metadata.ts +17 -0
  977. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/next.ts +8 -0
  978. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/unevaluated/index.ts +7 -0
  979. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedItems.ts +47 -0
  980. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedProperties.ts +85 -0
  981. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/validation/const.ts +28 -0
  982. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/validation/dependentRequired.ts +23 -0
  983. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/validation/enum.ts +54 -0
  984. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/validation/index.ts +49 -0
  985. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/validation/limitContains.ts +16 -0
  986. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/validation/limitItems.ts +26 -0
  987. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/validation/limitLength.ts +30 -0
  988. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/validation/limitNumber.ts +42 -0
  989. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/validation/limitProperties.ts +26 -0
  990. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/validation/multipleOf.ts +34 -0
  991. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/validation/pattern.ts +28 -0
  992. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/validation/required.ts +98 -0
  993. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/validation/uniqueItems.ts +79 -0
  994. package/dist/node_modules/ajv-formats/node_modules/ajv/package.json +126 -0
  995. package/dist/node_modules/ajv-formats/package.json +74 -0
  996. package/dist/node_modules/ajv-formats/src/formats.ts +232 -0
  997. package/dist/node_modules/ajv-formats/src/index.ts +62 -0
  998. package/dist/node_modules/ajv-formats/src/limit.ts +99 -0
  999. package/dist/node_modules/ansi-styles/index.d.ts +345 -0
  1000. package/dist/node_modules/ansi-styles/index.js +163 -0
  1001. package/dist/node_modules/ansi-styles/license +9 -0
  1002. package/dist/node_modules/ansi-styles/package.json +56 -0
  1003. package/dist/node_modules/ansi-styles/readme.md +152 -0
  1004. package/dist/node_modules/chalk/index.d.ts +415 -0
  1005. package/dist/node_modules/chalk/license +9 -0
  1006. package/dist/node_modules/chalk/package.json +68 -0
  1007. package/dist/node_modules/chalk/readme.md +341 -0
  1008. package/dist/node_modules/chalk/source/index.js +229 -0
  1009. package/dist/node_modules/chalk/source/templates.js +134 -0
  1010. package/dist/node_modules/chalk/source/util.js +39 -0
  1011. package/dist/node_modules/color-convert/CHANGELOG.md +54 -0
  1012. package/dist/node_modules/color-convert/LICENSE +21 -0
  1013. package/dist/node_modules/color-convert/README.md +68 -0
  1014. package/dist/node_modules/color-convert/conversions.js +839 -0
  1015. package/dist/node_modules/color-convert/index.js +81 -0
  1016. package/dist/node_modules/color-convert/package.json +48 -0
  1017. package/dist/node_modules/color-convert/route.js +97 -0
  1018. package/dist/node_modules/color-name/LICENSE +8 -0
  1019. package/dist/node_modules/color-name/README.md +11 -0
  1020. package/dist/node_modules/color-name/index.js +152 -0
  1021. package/dist/node_modules/color-name/package.json +28 -0
  1022. package/dist/node_modules/commander/LICENSE +22 -0
  1023. package/dist/node_modules/commander/Readme.md +1157 -0
  1024. package/dist/node_modules/commander/esm.mjs +16 -0
  1025. package/dist/node_modules/commander/index.js +24 -0
  1026. package/dist/node_modules/commander/lib/argument.js +149 -0
  1027. package/dist/node_modules/commander/lib/command.js +2509 -0
  1028. package/dist/node_modules/commander/lib/error.js +39 -0
  1029. package/dist/node_modules/commander/lib/help.js +520 -0
  1030. package/dist/node_modules/commander/lib/option.js +330 -0
  1031. package/dist/node_modules/commander/lib/suggestSimilar.js +101 -0
  1032. package/dist/node_modules/commander/package-support.json +16 -0
  1033. package/dist/node_modules/commander/package.json +84 -0
  1034. package/dist/node_modules/commander/typings/esm.d.mts +3 -0
  1035. package/dist/node_modules/commander/typings/index.d.ts +969 -0
  1036. package/dist/node_modules/consola/CHANGELOG.md +706 -0
  1037. package/dist/node_modules/consola/README.md +288 -0
  1038. package/dist/node_modules/consola/dist/consola.browser.js +1 -0
  1039. package/dist/node_modules/consola/dist/consola.js +1 -0
  1040. package/dist/node_modules/consola/package.json +80 -0
  1041. package/dist/node_modules/consola/src/browser.js +20 -0
  1042. package/dist/node_modules/consola/src/consola.js +327 -0
  1043. package/dist/node_modules/consola/src/index.js +7 -0
  1044. package/dist/node_modules/consola/src/logLevels.js +11 -0
  1045. package/dist/node_modules/consola/src/node.js +36 -0
  1046. package/dist/node_modules/consola/src/reporters/basic.js +72 -0
  1047. package/dist/node_modules/consola/src/reporters/browser.js +54 -0
  1048. package/dist/node_modules/consola/src/reporters/fancy.js +87 -0
  1049. package/dist/node_modules/consola/src/reporters/index.js +5 -0
  1050. package/dist/node_modules/consola/src/reporters/json.js +9 -0
  1051. package/dist/node_modules/consola/src/reporters/winston.js +45 -0
  1052. package/dist/node_modules/consola/src/types.js +50 -0
  1053. package/dist/node_modules/consola/src/utils/chalk.js +37 -0
  1054. package/dist/node_modules/consola/src/utils/date.js +5 -0
  1055. package/dist/node_modules/consola/src/utils/error.js +16 -0
  1056. package/dist/node_modules/consola/src/utils/fancy.js +10 -0
  1057. package/dist/node_modules/consola/src/utils/format.js +30 -0
  1058. package/dist/node_modules/consola/src/utils/global.js +38 -0
  1059. package/dist/node_modules/consola/src/utils/index.js +23 -0
  1060. package/dist/node_modules/consola/src/utils/stream.js +20 -0
  1061. package/dist/node_modules/consola/src/utils/string.js +41 -0
  1062. package/dist/node_modules/consola/types/consola.d.ts +182 -0
  1063. package/dist/node_modules/debug/LICENSE +20 -0
  1064. package/dist/node_modules/debug/README.md +481 -0
  1065. package/dist/node_modules/debug/package.json +60 -0
  1066. package/dist/node_modules/debug/src/browser.js +271 -0
  1067. package/dist/node_modules/debug/src/common.js +274 -0
  1068. package/dist/node_modules/debug/src/index.js +10 -0
  1069. package/dist/node_modules/debug/src/node.js +263 -0
  1070. package/dist/node_modules/fast-deep-equal/LICENSE +21 -0
  1071. package/dist/node_modules/fast-deep-equal/README.md +96 -0
  1072. package/dist/node_modules/fast-deep-equal/es6/index.d.ts +2 -0
  1073. package/dist/node_modules/fast-deep-equal/es6/index.js +72 -0
  1074. package/dist/node_modules/fast-deep-equal/es6/react.d.ts +2 -0
  1075. package/dist/node_modules/fast-deep-equal/es6/react.js +79 -0
  1076. package/dist/node_modules/fast-deep-equal/index.d.ts +4 -0
  1077. package/dist/node_modules/fast-deep-equal/index.js +46 -0
  1078. package/dist/node_modules/fast-deep-equal/package.json +61 -0
  1079. package/dist/node_modules/fast-deep-equal/react.d.ts +2 -0
  1080. package/dist/node_modules/fast-deep-equal/react.js +53 -0
  1081. package/dist/node_modules/fast-uri/.gitattributes +2 -0
  1082. package/dist/node_modules/fast-uri/.github/.stale.yml +21 -0
  1083. package/dist/node_modules/fast-uri/.github/dependabot.yml +13 -0
  1084. package/dist/node_modules/fast-uri/.github/tests_checker.yml +8 -0
  1085. package/dist/node_modules/fast-uri/.github/workflows/ci.yml +23 -0
  1086. package/dist/node_modules/fast-uri/.github/workflows/package-manager-ci.yml +20 -0
  1087. package/dist/node_modules/fast-uri/.taprc +3 -0
  1088. package/dist/node_modules/fast-uri/LICENSE +30 -0
  1089. package/dist/node_modules/fast-uri/README.md +125 -0
  1090. package/dist/node_modules/fast-uri/benchmark.js +105 -0
  1091. package/dist/node_modules/fast-uri/index.js +309 -0
  1092. package/dist/node_modules/fast-uri/lib/schemes.js +188 -0
  1093. package/dist/node_modules/fast-uri/lib/scopedChars.js +30 -0
  1094. package/dist/node_modules/fast-uri/lib/utils.js +242 -0
  1095. package/dist/node_modules/fast-uri/package.json +39 -0
  1096. package/dist/node_modules/fast-uri/test/.gitkeep +0 -0
  1097. package/dist/node_modules/fast-uri/test/ajv.test.js +39 -0
  1098. package/dist/node_modules/fast-uri/test/compatibility.test.js +130 -0
  1099. package/dist/node_modules/fast-uri/test/equal.test.js +104 -0
  1100. package/dist/node_modules/fast-uri/test/parse.test.js +319 -0
  1101. package/dist/node_modules/fast-uri/test/resolve.test.js +76 -0
  1102. package/dist/node_modules/fast-uri/test/serialize.test.js +144 -0
  1103. package/dist/node_modules/fast-uri/test/uri-js.test.js +940 -0
  1104. package/dist/node_modules/fast-uri/test/util.test.js +24 -0
  1105. package/dist/node_modules/fast-uri/types/index.d.ts +53 -0
  1106. package/dist/node_modules/fast-uri/types/index.test-d.ts +17 -0
  1107. package/dist/node_modules/fs-extra/LICENSE +15 -0
  1108. package/dist/node_modules/fs-extra/README.md +292 -0
  1109. package/dist/node_modules/fs-extra/lib/copy/copy-sync.js +161 -0
  1110. package/dist/node_modules/fs-extra/lib/copy/copy.js +177 -0
  1111. package/dist/node_modules/fs-extra/lib/copy/index.js +7 -0
  1112. package/dist/node_modules/fs-extra/lib/empty/index.js +39 -0
  1113. package/dist/node_modules/fs-extra/lib/ensure/file.js +66 -0
  1114. package/dist/node_modules/fs-extra/lib/ensure/index.js +23 -0
  1115. package/dist/node_modules/fs-extra/lib/ensure/link.js +64 -0
  1116. package/dist/node_modules/fs-extra/lib/ensure/symlink-paths.js +101 -0
  1117. package/dist/node_modules/fs-extra/lib/ensure/symlink-type.js +34 -0
  1118. package/dist/node_modules/fs-extra/lib/ensure/symlink.js +67 -0
  1119. package/dist/node_modules/fs-extra/lib/esm.mjs +68 -0
  1120. package/dist/node_modules/fs-extra/lib/fs/index.js +140 -0
  1121. package/dist/node_modules/fs-extra/lib/index.js +16 -0
  1122. package/dist/node_modules/fs-extra/lib/json/index.js +16 -0
  1123. package/dist/node_modules/fs-extra/lib/json/jsonfile.js +11 -0
  1124. package/dist/node_modules/fs-extra/lib/json/output-json-sync.js +12 -0
  1125. package/dist/node_modules/fs-extra/lib/json/output-json.js +12 -0
  1126. package/dist/node_modules/fs-extra/lib/mkdirs/index.js +14 -0
  1127. package/dist/node_modules/fs-extra/lib/mkdirs/make-dir.js +27 -0
  1128. package/dist/node_modules/fs-extra/lib/mkdirs/utils.js +21 -0
  1129. package/dist/node_modules/fs-extra/lib/move/index.js +7 -0
  1130. package/dist/node_modules/fs-extra/lib/move/move-sync.js +55 -0
  1131. package/dist/node_modules/fs-extra/lib/move/move.js +59 -0
  1132. package/dist/node_modules/fs-extra/lib/output-file/index.js +31 -0
  1133. package/dist/node_modules/fs-extra/lib/path-exists/index.js +12 -0
  1134. package/dist/node_modules/fs-extra/lib/remove/index.js +17 -0
  1135. package/dist/node_modules/fs-extra/lib/util/stat.js +158 -0
  1136. package/dist/node_modules/fs-extra/lib/util/utimes.js +36 -0
  1137. package/dist/node_modules/fs-extra/package.json +71 -0
  1138. package/dist/node_modules/graceful-fs/LICENSE +15 -0
  1139. package/dist/node_modules/graceful-fs/README.md +143 -0
  1140. package/dist/node_modules/graceful-fs/clone.js +23 -0
  1141. package/dist/node_modules/graceful-fs/graceful-fs.js +448 -0
  1142. package/dist/node_modules/graceful-fs/legacy-streams.js +118 -0
  1143. package/dist/node_modules/graceful-fs/package.json +53 -0
  1144. package/dist/node_modules/graceful-fs/polyfills.js +355 -0
  1145. package/dist/node_modules/has-flag/index.d.ts +39 -0
  1146. package/dist/node_modules/has-flag/index.js +8 -0
  1147. package/dist/node_modules/has-flag/license +9 -0
  1148. package/dist/node_modules/has-flag/package.json +46 -0
  1149. package/dist/node_modules/has-flag/readme.md +89 -0
  1150. package/dist/node_modules/json-schema-traverse/.eslintrc.yml +27 -0
  1151. package/dist/node_modules/json-schema-traverse/.github/FUNDING.yml +2 -0
  1152. package/dist/node_modules/json-schema-traverse/.github/workflows/build.yml +28 -0
  1153. package/dist/node_modules/json-schema-traverse/.github/workflows/publish.yml +27 -0
  1154. package/dist/node_modules/json-schema-traverse/LICENSE +21 -0
  1155. package/dist/node_modules/json-schema-traverse/README.md +95 -0
  1156. package/dist/node_modules/json-schema-traverse/index.d.ts +40 -0
  1157. package/dist/node_modules/json-schema-traverse/index.js +93 -0
  1158. package/dist/node_modules/json-schema-traverse/package.json +43 -0
  1159. package/dist/node_modules/json-schema-traverse/spec/.eslintrc.yml +6 -0
  1160. package/dist/node_modules/json-schema-traverse/spec/fixtures/schema.js +125 -0
  1161. package/dist/node_modules/json-schema-traverse/spec/index.spec.js +171 -0
  1162. package/dist/node_modules/jsonfile/CHANGELOG.md +171 -0
  1163. package/dist/node_modules/jsonfile/LICENSE +15 -0
  1164. package/dist/node_modules/jsonfile/README.md +230 -0
  1165. package/dist/node_modules/jsonfile/index.js +88 -0
  1166. package/dist/node_modules/jsonfile/package.json +40 -0
  1167. package/dist/node_modules/jsonfile/utils.js +14 -0
  1168. package/dist/node_modules/ms/index.js +162 -0
  1169. package/dist/node_modules/ms/license.md +21 -0
  1170. package/dist/node_modules/ms/package.json +37 -0
  1171. package/dist/node_modules/ms/readme.md +60 -0
  1172. package/dist/node_modules/progress/CHANGELOG.md +115 -0
  1173. package/dist/node_modules/progress/LICENSE +22 -0
  1174. package/dist/node_modules/progress/Makefile +8 -0
  1175. package/dist/node_modules/progress/Readme.md +146 -0
  1176. package/dist/node_modules/progress/index.js +1 -0
  1177. package/dist/node_modules/progress/lib/node-progress.js +236 -0
  1178. package/dist/node_modules/progress/package.json +26 -0
  1179. package/dist/node_modules/punycode/LICENSE-MIT.txt +20 -0
  1180. package/dist/node_modules/punycode/README.md +148 -0
  1181. package/dist/node_modules/punycode/package.json +58 -0
  1182. package/dist/node_modules/punycode/punycode.es6.js +444 -0
  1183. package/dist/node_modules/punycode/punycode.js +443 -0
  1184. package/dist/node_modules/ramda/CHANGELOG.md +6 -0
  1185. package/dist/node_modules/ramda/LICENSE.txt +21 -0
  1186. package/dist/node_modules/ramda/README.md +248 -0
  1187. package/dist/node_modules/ramda/dist/ramda.js +9716 -0
  1188. package/dist/node_modules/ramda/dist/ramda.min.js +1 -0
  1189. package/dist/node_modules/ramda/es/F.js +20 -0
  1190. package/dist/node_modules/ramda/es/T.js +20 -0
  1191. package/dist/node_modules/ramda/es/__.js +30 -0
  1192. package/dist/node_modules/ramda/es/add.js +26 -0
  1193. package/dist/node_modules/ramda/es/addIndex.js +48 -0
  1194. package/dist/node_modules/ramda/es/adjust.js +46 -0
  1195. package/dist/node_modules/ramda/es/all.js +47 -0
  1196. package/dist/node_modules/ramda/es/allPass.js +51 -0
  1197. package/dist/node_modules/ramda/es/always.js +30 -0
  1198. package/dist/node_modules/ramda/es/and.js +28 -0
  1199. package/dist/node_modules/ramda/es/andThen.js +38 -0
  1200. package/dist/node_modules/ramda/es/any.js +48 -0
  1201. package/dist/node_modules/ramda/es/anyPass.js +52 -0
  1202. package/dist/node_modules/ramda/es/ap.js +42 -0
  1203. package/dist/node_modules/ramda/es/aperture.js +33 -0
  1204. package/dist/node_modules/ramda/es/append.js +30 -0
  1205. package/dist/node_modules/ramda/es/apply.js +29 -0
  1206. package/dist/node_modules/ramda/es/applySpec.js +58 -0
  1207. package/dist/node_modules/ramda/es/applyTo.js +28 -0
  1208. package/dist/node_modules/ramda/es/ascend.js +36 -0
  1209. package/dist/node_modules/ramda/es/assoc.js +36 -0
  1210. package/dist/node_modules/ramda/es/assocPath.js +55 -0
  1211. package/dist/node_modules/ramda/es/binary.js +38 -0
  1212. package/dist/node_modules/ramda/es/bind.js +34 -0
  1213. package/dist/node_modules/ramda/es/both.js +45 -0
  1214. package/dist/node_modules/ramda/es/call.js +40 -0
  1215. package/dist/node_modules/ramda/es/chain.js +47 -0
  1216. package/dist/node_modules/ramda/es/clamp.js +33 -0
  1217. package/dist/node_modules/ramda/es/clone.js +31 -0
  1218. package/dist/node_modules/ramda/es/comparator.js +34 -0
  1219. package/dist/node_modules/ramda/es/complement.js +29 -0
  1220. package/dist/node_modules/ramda/es/compose.js +34 -0
  1221. package/dist/node_modules/ramda/es/composeK.js +44 -0
  1222. package/dist/node_modules/ramda/es/composeP.js +45 -0
  1223. package/dist/node_modules/ramda/es/composeWith.js +35 -0
  1224. package/dist/node_modules/ramda/es/concat.js +65 -0
  1225. package/dist/node_modules/ramda/es/cond.js +53 -0
  1226. package/dist/node_modules/ramda/es/construct.js +42 -0
  1227. package/dist/node_modules/ramda/es/constructN.js +88 -0
  1228. package/dist/node_modules/ramda/es/contains.js +31 -0
  1229. package/dist/node_modules/ramda/es/converge.js +48 -0
  1230. package/dist/node_modules/ramda/es/countBy.js +32 -0
  1231. package/dist/node_modules/ramda/es/curry.js +51 -0
  1232. package/dist/node_modules/ramda/es/curryN.js +58 -0
  1233. package/dist/node_modules/ramda/es/dec.js +21 -0
  1234. package/dist/node_modules/ramda/es/defaultTo.js +32 -0
  1235. package/dist/node_modules/ramda/es/descend.js +36 -0
  1236. package/dist/node_modules/ramda/es/difference.js +48 -0
  1237. package/dist/node_modules/ramda/es/differenceWith.js +44 -0
  1238. package/dist/node_modules/ramda/es/dissoc.js +32 -0
  1239. package/dist/node_modules/ramda/es/dissocPath.js +53 -0
  1240. package/dist/node_modules/ramda/es/divide.js +31 -0
  1241. package/dist/node_modules/ramda/es/drop.js +38 -0
  1242. package/dist/node_modules/ramda/es/dropLast.js +35 -0
  1243. package/dist/node_modules/ramda/es/dropLastWhile.js +39 -0
  1244. package/dist/node_modules/ramda/es/dropRepeats.js +35 -0
  1245. package/dist/node_modules/ramda/es/dropRepeatsWith.js +51 -0
  1246. package/dist/node_modules/ramda/es/dropWhile.js +49 -0
  1247. package/dist/node_modules/ramda/es/either.js +44 -0
  1248. package/dist/node_modules/ramda/es/empty.js +39 -0
  1249. package/dist/node_modules/ramda/es/endsWith.js +33 -0
  1250. package/dist/node_modules/ramda/es/eqBy.js +27 -0
  1251. package/dist/node_modules/ramda/es/eqProps.js +31 -0
  1252. package/dist/node_modules/ramda/es/equals.js +35 -0
  1253. package/dist/node_modules/ramda/es/evolve.js +45 -0
  1254. package/dist/node_modules/ramda/es/filter.js +51 -0
  1255. package/dist/node_modules/ramda/es/find.js +46 -0
  1256. package/dist/node_modules/ramda/es/findIndex.js +46 -0
  1257. package/dist/node_modules/ramda/es/findLast.js +43 -0
  1258. package/dist/node_modules/ramda/es/findLastIndex.js +45 -0
  1259. package/dist/node_modules/ramda/es/flatten.js +27 -0
  1260. package/dist/node_modules/ramda/es/flip.js +35 -0
  1261. package/dist/node_modules/ramda/es/forEach.js +54 -0
  1262. package/dist/node_modules/ramda/es/forEachObjIndexed.js +41 -0
  1263. package/dist/node_modules/ramda/es/fromPairs.js +33 -0
  1264. package/dist/node_modules/ramda/es/groupBy.js +60 -0
  1265. package/dist/node_modules/ramda/es/groupWith.js +54 -0
  1266. package/dist/node_modules/ramda/es/gt.js +30 -0
  1267. package/dist/node_modules/ramda/es/gte.js +30 -0
  1268. package/dist/node_modules/ramda/es/has.js +34 -0
  1269. package/dist/node_modules/ramda/es/hasIn.js +35 -0
  1270. package/dist/node_modules/ramda/es/hasPath.js +48 -0
  1271. package/dist/node_modules/ramda/es/head.js +27 -0
  1272. package/dist/node_modules/ramda/es/identical.js +33 -0
  1273. package/dist/node_modules/ramda/es/identity.js +27 -0
  1274. package/dist/node_modules/ramda/es/ifElse.js +37 -0
  1275. package/dist/node_modules/ramda/es/inc.js +21 -0
  1276. package/dist/node_modules/ramda/es/includes.js +30 -0
  1277. package/dist/node_modules/ramda/es/index.js +257 -0
  1278. package/dist/node_modules/ramda/es/indexBy.js +30 -0
  1279. package/dist/node_modules/ramda/es/indexOf.js +30 -0
  1280. package/dist/node_modules/ramda/es/init.js +30 -0
  1281. package/dist/node_modules/ramda/es/innerJoin.js +48 -0
  1282. package/dist/node_modules/ramda/es/insert.js +31 -0
  1283. package/dist/node_modules/ramda/es/insertAll.js +28 -0
  1284. package/dist/node_modules/ramda/es/internal/_Set.js +201 -0
  1285. package/dist/node_modules/ramda/es/internal/_aperture.js +12 -0
  1286. package/dist/node_modules/ramda/es/internal/_arity.js +62 -0
  1287. package/dist/node_modules/ramda/es/internal/_arrayFromIterator.js +10 -0
  1288. package/dist/node_modules/ramda/es/internal/_assertPromise.js +7 -0
  1289. package/dist/node_modules/ramda/es/internal/_checkForMethod.js +24 -0
  1290. package/dist/node_modules/ramda/es/internal/_clone.js +53 -0
  1291. package/dist/node_modules/ramda/es/internal/_cloneRegExp.js +3 -0
  1292. package/dist/node_modules/ramda/es/internal/_complement.js +5 -0
  1293. package/dist/node_modules/ramda/es/internal/_concat.js +34 -0
  1294. package/dist/node_modules/ramda/es/internal/_createPartialApplicator.js +9 -0
  1295. package/dist/node_modules/ramda/es/internal/_curry1.js +19 -0
  1296. package/dist/node_modules/ramda/es/internal/_curry2.js +31 -0
  1297. package/dist/node_modules/ramda/es/internal/_curry3.js +49 -0
  1298. package/dist/node_modules/ramda/es/internal/_curryN.js +42 -0
  1299. package/dist/node_modules/ramda/es/internal/_dispatchable.js +46 -0
  1300. package/dist/node_modules/ramda/es/internal/_dropLast.js +4 -0
  1301. package/dist/node_modules/ramda/es/internal/_dropLastWhile.js +10 -0
  1302. package/dist/node_modules/ramda/es/internal/_equals.js +166 -0
  1303. package/dist/node_modules/ramda/es/internal/_filter.js +15 -0
  1304. package/dist/node_modules/ramda/es/internal/_flatCat.js +32 -0
  1305. package/dist/node_modules/ramda/es/internal/_forceReduced.js +6 -0
  1306. package/dist/node_modules/ramda/es/internal/_functionName.js +5 -0
  1307. package/dist/node_modules/ramda/es/internal/_functionsWith.js +14 -0
  1308. package/dist/node_modules/ramda/es/internal/_has.js +3 -0
  1309. package/dist/node_modules/ramda/es/internal/_identity.js +3 -0
  1310. package/dist/node_modules/ramda/es/internal/_includes.js +4 -0
  1311. package/dist/node_modules/ramda/es/internal/_includesWith.js +14 -0
  1312. package/dist/node_modules/ramda/es/internal/_indexOf.js +67 -0
  1313. package/dist/node_modules/ramda/es/internal/_isArguments.js +14 -0
  1314. package/dist/node_modules/ramda/es/internal/_isArray.js +15 -0
  1315. package/dist/node_modules/ramda/es/internal/_isArrayLike.js +56 -0
  1316. package/dist/node_modules/ramda/es/internal/_isFunction.js +4 -0
  1317. package/dist/node_modules/ramda/es/internal/_isInteger.js +11 -0
  1318. package/dist/node_modules/ramda/es/internal/_isNumber.js +3 -0
  1319. package/dist/node_modules/ramda/es/internal/_isObject.js +3 -0
  1320. package/dist/node_modules/ramda/es/internal/_isPlaceholder.js +3 -0
  1321. package/dist/node_modules/ramda/es/internal/_isRegExp.js +3 -0
  1322. package/dist/node_modules/ramda/es/internal/_isString.js +3 -0
  1323. package/dist/node_modules/ramda/es/internal/_isTransformer.js +3 -0
  1324. package/dist/node_modules/ramda/es/internal/_makeFlat.js +35 -0
  1325. package/dist/node_modules/ramda/es/internal/_map.js +12 -0
  1326. package/dist/node_modules/ramda/es/internal/_objectAssign.js +29 -0
  1327. package/dist/node_modules/ramda/es/internal/_objectIs.js +14 -0
  1328. package/dist/node_modules/ramda/es/internal/_of.js +3 -0
  1329. package/dist/node_modules/ramda/es/internal/_pipe.js +5 -0
  1330. package/dist/node_modules/ramda/es/internal/_pipeP.js +8 -0
  1331. package/dist/node_modules/ramda/es/internal/_quote.js +5 -0
  1332. package/dist/node_modules/ramda/es/internal/_reduce.js +71 -0
  1333. package/dist/node_modules/ramda/es/internal/_reduced.js +6 -0
  1334. package/dist/node_modules/ramda/es/internal/_stepCat.js +46 -0
  1335. package/dist/node_modules/ramda/es/internal/_toISOString.js +14 -0
  1336. package/dist/node_modules/ramda/es/internal/_toString.js +58 -0
  1337. package/dist/node_modules/ramda/es/internal/_xall.js +42 -0
  1338. package/dist/node_modules/ramda/es/internal/_xany.js +42 -0
  1339. package/dist/node_modules/ramda/es/internal/_xaperture.js +50 -0
  1340. package/dist/node_modules/ramda/es/internal/_xchain.js +11 -0
  1341. package/dist/node_modules/ramda/es/internal/_xdrop.js +33 -0
  1342. package/dist/node_modules/ramda/es/internal/_xdropLast.js +49 -0
  1343. package/dist/node_modules/ramda/es/internal/_xdropLastWhile.js +45 -0
  1344. package/dist/node_modules/ramda/es/internal/_xdropRepeatsWith.js +39 -0
  1345. package/dist/node_modules/ramda/es/internal/_xdropWhile.js +36 -0
  1346. package/dist/node_modules/ramda/es/internal/_xfBase.js +8 -0
  1347. package/dist/node_modules/ramda/es/internal/_xfilter.js +28 -0
  1348. package/dist/node_modules/ramda/es/internal/_xfind.js +42 -0
  1349. package/dist/node_modules/ramda/es/internal/_xfindIndex.js +45 -0
  1350. package/dist/node_modules/ramda/es/internal/_xfindLast.js +35 -0
  1351. package/dist/node_modules/ramda/es/internal/_xfindLastIndex.js +39 -0
  1352. package/dist/node_modules/ramda/es/internal/_xmap.js +28 -0
  1353. package/dist/node_modules/ramda/es/internal/_xreduceBy.js +52 -0
  1354. package/dist/node_modules/ramda/es/internal/_xtake.js +32 -0
  1355. package/dist/node_modules/ramda/es/internal/_xtakeWhile.js +29 -0
  1356. package/dist/node_modules/ramda/es/internal/_xtap.js +29 -0
  1357. package/dist/node_modules/ramda/es/internal/_xwrap.js +25 -0
  1358. package/dist/node_modules/ramda/es/intersection.js +40 -0
  1359. package/dist/node_modules/ramda/es/intersperse.js +43 -0
  1360. package/dist/node_modules/ramda/es/into.js +52 -0
  1361. package/dist/node_modules/ramda/es/invert.js +46 -0
  1362. package/dist/node_modules/ramda/es/invertObj.js +48 -0
  1363. package/dist/node_modules/ramda/es/invoker.js +54 -0
  1364. package/dist/node_modules/ramda/es/is.js +32 -0
  1365. package/dist/node_modules/ramda/es/isEmpty.js +32 -0
  1366. package/dist/node_modules/ramda/es/isNil.js +26 -0
  1367. package/dist/node_modules/ramda/es/join.js +25 -0
  1368. package/dist/node_modules/ramda/es/juxt.js +29 -0
  1369. package/dist/node_modules/ramda/es/keys.js +91 -0
  1370. package/dist/node_modules/ramda/es/keysIn.js +37 -0
  1371. package/dist/node_modules/ramda/es/last.js +26 -0
  1372. package/dist/node_modules/ramda/es/lastIndexOf.js +44 -0
  1373. package/dist/node_modules/ramda/es/length.js +25 -0
  1374. package/dist/node_modules/ramda/es/lens.js +39 -0
  1375. package/dist/node_modules/ramda/es/lensIndex.js +32 -0
  1376. package/dist/node_modules/ramda/es/lensPath.js +36 -0
  1377. package/dist/node_modules/ramda/es/lensProp.js +32 -0
  1378. package/dist/node_modules/ramda/es/lift.js +32 -0
  1379. package/dist/node_modules/ramda/es/liftN.js +33 -0
  1380. package/dist/node_modules/ramda/es/lt.js +30 -0
  1381. package/dist/node_modules/ramda/es/lte.js +30 -0
  1382. package/dist/node_modules/ramda/es/map.js +66 -0
  1383. package/dist/node_modules/ramda/es/mapAccum.js +54 -0
  1384. package/dist/node_modules/ramda/es/mapAccumRight.js +56 -0
  1385. package/dist/node_modules/ramda/es/mapObjIndexed.js +35 -0
  1386. package/dist/node_modules/ramda/es/match.js +30 -0
  1387. package/dist/node_modules/ramda/es/mathMod.js +51 -0
  1388. package/dist/node_modules/ramda/es/max.js +26 -0
  1389. package/dist/node_modules/ramda/es/maxBy.js +33 -0
  1390. package/dist/node_modules/ramda/es/mean.js +26 -0
  1391. package/dist/node_modules/ramda/es/median.js +37 -0
  1392. package/dist/node_modules/ramda/es/memoizeWith.js +48 -0
  1393. package/dist/node_modules/ramda/es/merge.js +34 -0
  1394. package/dist/node_modules/ramda/es/mergeAll.js +27 -0
  1395. package/dist/node_modules/ramda/es/mergeDeepLeft.js +33 -0
  1396. package/dist/node_modules/ramda/es/mergeDeepRight.js +33 -0
  1397. package/dist/node_modules/ramda/es/mergeDeepWith.js +39 -0
  1398. package/dist/node_modules/ramda/es/mergeDeepWithKey.js +45 -0
  1399. package/dist/node_modules/ramda/es/mergeLeft.js +33 -0
  1400. package/dist/node_modules/ramda/es/mergeRight.js +33 -0
  1401. package/dist/node_modules/ramda/es/mergeWith.js +35 -0
  1402. package/dist/node_modules/ramda/es/mergeWithKey.js +50 -0
  1403. package/dist/node_modules/ramda/es/min.js +26 -0
  1404. package/dist/node_modules/ramda/es/minBy.js +33 -0
  1405. package/dist/node_modules/ramda/es/modulo.js +34 -0
  1406. package/dist/node_modules/ramda/es/move.js +32 -0
  1407. package/dist/node_modules/ramda/es/multiply.js +29 -0
  1408. package/dist/node_modules/ramda/es/nAry.js +97 -0
  1409. package/dist/node_modules/ramda/es/negate.js +23 -0
  1410. package/dist/node_modules/ramda/es/none.js +36 -0
  1411. package/dist/node_modules/ramda/es/not.js +28 -0
  1412. package/dist/node_modules/ramda/es/nth.js +37 -0
  1413. package/dist/node_modules/ramda/es/nthArg.js +32 -0
  1414. package/dist/node_modules/ramda/es/o.js +36 -0
  1415. package/dist/node_modules/ramda/es/objOf.js +31 -0
  1416. package/dist/node_modules/ramda/es/of.js +26 -0
  1417. package/dist/node_modules/ramda/es/omit.js +41 -0
  1418. package/dist/node_modules/ramda/es/once.js +39 -0
  1419. package/dist/node_modules/ramda/es/or.js +29 -0
  1420. package/dist/node_modules/ramda/es/otherwise.js +40 -0
  1421. package/dist/node_modules/ramda/es/over.js +47 -0
  1422. package/dist/node_modules/ramda/es/pair.js +25 -0
  1423. package/dist/node_modules/ramda/es/partial.js +36 -0
  1424. package/dist/node_modules/ramda/es/partialRight.js +35 -0
  1425. package/dist/node_modules/ramda/es/partition.js +32 -0
  1426. package/dist/node_modules/ramda/es/path.js +30 -0
  1427. package/dist/node_modules/ramda/es/pathEq.js +35 -0
  1428. package/dist/node_modules/ramda/es/pathOr.js +30 -0
  1429. package/dist/node_modules/ramda/es/pathSatisfies.js +30 -0
  1430. package/dist/node_modules/ramda/es/paths.js +45 -0
  1431. package/dist/node_modules/ramda/es/pick.js +38 -0
  1432. package/dist/node_modules/ramda/es/pickAll.js +37 -0
  1433. package/dist/node_modules/ramda/es/pickBy.js +37 -0
  1434. package/dist/node_modules/ramda/es/pipe.js +35 -0
  1435. package/dist/node_modules/ramda/es/pipeK.js +45 -0
  1436. package/dist/node_modules/ramda/es/pipeP.js +31 -0
  1437. package/dist/node_modules/ramda/es/pipeWith.js +47 -0
  1438. package/dist/node_modules/ramda/es/pluck.js +38 -0
  1439. package/dist/node_modules/ramda/es/prepend.js +27 -0
  1440. package/dist/node_modules/ramda/es/product.js +22 -0
  1441. package/dist/node_modules/ramda/es/project.js +29 -0
  1442. package/dist/node_modules/ramda/es/prop.js +31 -0
  1443. package/dist/node_modules/ramda/es/propEq.js +35 -0
  1444. package/dist/node_modules/ramda/es/propIs.js +30 -0
  1445. package/dist/node_modules/ramda/es/propOr.js +36 -0
  1446. package/dist/node_modules/ramda/es/propSatisfies.js +28 -0
  1447. package/dist/node_modules/ramda/es/props.js +32 -0
  1448. package/dist/node_modules/ramda/es/range.js +38 -0
  1449. package/dist/node_modules/ramda/es/reduce.js +54 -0
  1450. package/dist/node_modules/ramda/es/reduceBy.js +61 -0
  1451. package/dist/node_modules/ramda/es/reduceRight.js +58 -0
  1452. package/dist/node_modules/ramda/es/reduceWhile.js +42 -0
  1453. package/dist/node_modules/ramda/es/reduced.js +33 -0
  1454. package/dist/node_modules/ramda/es/reject.js +35 -0
  1455. package/dist/node_modules/ramda/es/remove.js +31 -0
  1456. package/dist/node_modules/ramda/es/repeat.js +34 -0
  1457. package/dist/node_modules/ramda/es/replace.js +33 -0
  1458. package/dist/node_modules/ramda/es/reverse.js +34 -0
  1459. package/dist/node_modules/ramda/es/scan.js +40 -0
  1460. package/dist/node_modules/ramda/es/sequence.js +39 -0
  1461. package/dist/node_modules/ramda/es/set.js +33 -0
  1462. package/dist/node_modules/ramda/es/slice.js +36 -0
  1463. package/dist/node_modules/ramda/es/sort.js +29 -0
  1464. package/dist/node_modules/ramda/es/sortBy.js +46 -0
  1465. package/dist/node_modules/ramda/es/sortWith.js +51 -0
  1466. package/dist/node_modules/ramda/es/split.js +26 -0
  1467. package/dist/node_modules/ramda/es/splitAt.js +29 -0
  1468. package/dist/node_modules/ramda/es/splitEvery.js +38 -0
  1469. package/dist/node_modules/ramda/es/splitWhen.js +37 -0
  1470. package/dist/node_modules/ramda/es/startsWith.js +33 -0
  1471. package/dist/node_modules/ramda/es/subtract.js +32 -0
  1472. package/dist/node_modules/ramda/es/sum.js +22 -0
  1473. package/dist/node_modules/ramda/es/symmetricDifference.js +29 -0
  1474. package/dist/node_modules/ramda/es/symmetricDifferenceWith.js +33 -0
  1475. package/dist/node_modules/ramda/es/tail.js +40 -0
  1476. package/dist/node_modules/ramda/es/take.js +57 -0
  1477. package/dist/node_modules/ramda/es/takeLast.js +32 -0
  1478. package/dist/node_modules/ramda/es/takeLastWhile.js +41 -0
  1479. package/dist/node_modules/ramda/es/takeWhile.js +50 -0
  1480. package/dist/node_modules/ramda/es/tap.js +34 -0
  1481. package/dist/node_modules/ramda/es/test.js +33 -0
  1482. package/dist/node_modules/ramda/es/thunkify.js +33 -0
  1483. package/dist/node_modules/ramda/es/times.js +47 -0
  1484. package/dist/node_modules/ramda/es/toLower.js +21 -0
  1485. package/dist/node_modules/ramda/es/toPairs.js +36 -0
  1486. package/dist/node_modules/ramda/es/toPairsIn.js +36 -0
  1487. package/dist/node_modules/ramda/es/toString.js +46 -0
  1488. package/dist/node_modules/ramda/es/toUpper.js +21 -0
  1489. package/dist/node_modules/ramda/es/transduce.js +57 -0
  1490. package/dist/node_modules/ramda/es/transpose.js +52 -0
  1491. package/dist/node_modules/ramda/es/traverse.js +37 -0
  1492. package/dist/node_modules/ramda/es/trim.js +36 -0
  1493. package/dist/node_modules/ramda/es/tryCatch.js +40 -0
  1494. package/dist/node_modules/ramda/es/type.js +34 -0
  1495. package/dist/node_modules/ramda/es/unapply.js +35 -0
  1496. package/dist/node_modules/ramda/es/unary.js +38 -0
  1497. package/dist/node_modules/ramda/es/uncurryN.js +43 -0
  1498. package/dist/node_modules/ramda/es/unfold.js +42 -0
  1499. package/dist/node_modules/ramda/es/union.js +29 -0
  1500. package/dist/node_modules/ramda/es/unionWith.js +33 -0
  1501. package/dist/node_modules/ramda/es/uniq.js +24 -0
  1502. package/dist/node_modules/ramda/es/uniqBy.js +44 -0
  1503. package/dist/node_modules/ramda/es/uniqWith.js +47 -0
  1504. package/dist/node_modules/ramda/es/unless.js +33 -0
  1505. package/dist/node_modules/ramda/es/unnest.js +24 -0
  1506. package/dist/node_modules/ramda/es/until.js +34 -0
  1507. package/dist/node_modules/ramda/es/update.js +33 -0
  1508. package/dist/node_modules/ramda/es/useWith.js +49 -0
  1509. package/dist/node_modules/ramda/es/values.js +37 -0
  1510. package/dist/node_modules/ramda/es/valuesIn.js +37 -0
  1511. package/dist/node_modules/ramda/es/view.js +42 -0
  1512. package/dist/node_modules/ramda/es/when.js +37 -0
  1513. package/dist/node_modules/ramda/es/where.js +51 -0
  1514. package/dist/node_modules/ramda/es/whereEq.js +40 -0
  1515. package/dist/node_modules/ramda/es/without.js +31 -0
  1516. package/dist/node_modules/ramda/es/xor.js +30 -0
  1517. package/dist/node_modules/ramda/es/xprod.js +45 -0
  1518. package/dist/node_modules/ramda/es/zip.js +37 -0
  1519. package/dist/node_modules/ramda/es/zipObj.js +35 -0
  1520. package/dist/node_modules/ramda/es/zipWith.js +42 -0
  1521. package/dist/node_modules/ramda/package.json +105 -0
  1522. package/dist/node_modules/ramda/src/F.js +20 -0
  1523. package/dist/node_modules/ramda/src/T.js +20 -0
  1524. package/dist/node_modules/ramda/src/__.js +30 -0
  1525. package/dist/node_modules/ramda/src/add.js +29 -0
  1526. package/dist/node_modules/ramda/src/addIndex.js +57 -0
  1527. package/dist/node_modules/ramda/src/adjust.js +52 -0
  1528. package/dist/node_modules/ramda/src/all.js +56 -0
  1529. package/dist/node_modules/ramda/src/allPass.js +66 -0
  1530. package/dist/node_modules/ramda/src/always.js +33 -0
  1531. package/dist/node_modules/ramda/src/and.js +31 -0
  1532. package/dist/node_modules/ramda/src/andThen.js +44 -0
  1533. package/dist/node_modules/ramda/src/any.js +57 -0
  1534. package/dist/node_modules/ramda/src/anyPass.js +67 -0
  1535. package/dist/node_modules/ramda/src/ap.js +54 -0
  1536. package/dist/node_modules/ramda/src/aperture.js +45 -0
  1537. package/dist/node_modules/ramda/src/append.js +36 -0
  1538. package/dist/node_modules/ramda/src/apply.js +32 -0
  1539. package/dist/node_modules/ramda/src/applySpec.js +82 -0
  1540. package/dist/node_modules/ramda/src/applyTo.js +31 -0
  1541. package/dist/node_modules/ramda/src/ascend.js +39 -0
  1542. package/dist/node_modules/ramda/src/assoc.js +39 -0
  1543. package/dist/node_modules/ramda/src/assocPath.js +73 -0
  1544. package/dist/node_modules/ramda/src/binary.js +44 -0
  1545. package/dist/node_modules/ramda/src/bind.js +40 -0
  1546. package/dist/node_modules/ramda/src/both.js +57 -0
  1547. package/dist/node_modules/ramda/src/call.js +43 -0
  1548. package/dist/node_modules/ramda/src/chain.js +62 -0
  1549. package/dist/node_modules/ramda/src/clamp.js +36 -0
  1550. package/dist/node_modules/ramda/src/clone.js +37 -0
  1551. package/dist/node_modules/ramda/src/comparator.js +37 -0
  1552. package/dist/node_modules/ramda/src/complement.js +35 -0
  1553. package/dist/node_modules/ramda/src/compose.js +42 -0
  1554. package/dist/node_modules/ramda/src/composeK.js +55 -0
  1555. package/dist/node_modules/ramda/src/composeP.js +53 -0
  1556. package/dist/node_modules/ramda/src/composeWith.js +44 -0
  1557. package/dist/node_modules/ramda/src/concat.js +80 -0
  1558. package/dist/node_modules/ramda/src/cond.js +68 -0
  1559. package/dist/node_modules/ramda/src/construct.js +48 -0
  1560. package/dist/node_modules/ramda/src/constructN.js +97 -0
  1561. package/dist/node_modules/ramda/src/contains.js +37 -0
  1562. package/dist/node_modules/ramda/src/converge.js +66 -0
  1563. package/dist/node_modules/ramda/src/countBy.js +35 -0
  1564. package/dist/node_modules/ramda/src/curry.js +57 -0
  1565. package/dist/node_modules/ramda/src/curryN.js +70 -0
  1566. package/dist/node_modules/ramda/src/dec.js +24 -0
  1567. package/dist/node_modules/ramda/src/defaultTo.js +35 -0
  1568. package/dist/node_modules/ramda/src/descend.js +39 -0
  1569. package/dist/node_modules/ramda/src/difference.js +54 -0
  1570. package/dist/node_modules/ramda/src/differenceWith.js +50 -0
  1571. package/dist/node_modules/ramda/src/dissoc.js +35 -0
  1572. package/dist/node_modules/ramda/src/dissocPath.js +74 -0
  1573. package/dist/node_modules/ramda/src/divide.js +34 -0
  1574. package/dist/node_modules/ramda/src/drop.js +50 -0
  1575. package/dist/node_modules/ramda/src/dropLast.js +47 -0
  1576. package/dist/node_modules/ramda/src/dropLastWhile.js +51 -0
  1577. package/dist/node_modules/ramda/src/dropRepeats.js +50 -0
  1578. package/dist/node_modules/ramda/src/dropRepeatsWith.js +63 -0
  1579. package/dist/node_modules/ramda/src/dropWhile.js +61 -0
  1580. package/dist/node_modules/ramda/src/either.js +56 -0
  1581. package/dist/node_modules/ramda/src/empty.js +54 -0
  1582. package/dist/node_modules/ramda/src/endsWith.js +42 -0
  1583. package/dist/node_modules/ramda/src/eqBy.js +33 -0
  1584. package/dist/node_modules/ramda/src/eqProps.js +37 -0
  1585. package/dist/node_modules/ramda/src/equals.js +41 -0
  1586. package/dist/node_modules/ramda/src/evolve.js +48 -0
  1587. package/dist/node_modules/ramda/src/filter.js +72 -0
  1588. package/dist/node_modules/ramda/src/find.js +55 -0
  1589. package/dist/node_modules/ramda/src/findIndex.js +55 -0
  1590. package/dist/node_modules/ramda/src/findLast.js +52 -0
  1591. package/dist/node_modules/ramda/src/findLastIndex.js +54 -0
  1592. package/dist/node_modules/ramda/src/flatten.js +33 -0
  1593. package/dist/node_modules/ramda/src/flip.js +41 -0
  1594. package/dist/node_modules/ramda/src/forEach.js +60 -0
  1595. package/dist/node_modules/ramda/src/forEachObjIndexed.js +47 -0
  1596. package/dist/node_modules/ramda/src/fromPairs.js +36 -0
  1597. package/dist/node_modules/ramda/src/groupBy.js +69 -0
  1598. package/dist/node_modules/ramda/src/groupWith.js +57 -0
  1599. package/dist/node_modules/ramda/src/gt.js +33 -0
  1600. package/dist/node_modules/ramda/src/gte.js +33 -0
  1601. package/dist/node_modules/ramda/src/has.js +40 -0
  1602. package/dist/node_modules/ramda/src/hasIn.js +38 -0
  1603. package/dist/node_modules/ramda/src/hasPath.js +57 -0
  1604. package/dist/node_modules/ramda/src/head.js +30 -0
  1605. package/dist/node_modules/ramda/src/identical.js +39 -0
  1606. package/dist/node_modules/ramda/src/identity.js +33 -0
  1607. package/dist/node_modules/ramda/src/ifElse.js +43 -0
  1608. package/dist/node_modules/ramda/src/inc.js +24 -0
  1609. package/dist/node_modules/ramda/src/includes.js +36 -0
  1610. package/dist/node_modules/ramda/src/index.js +772 -0
  1611. package/dist/node_modules/ramda/src/index.mjs +257 -0
  1612. package/dist/node_modules/ramda/src/indexBy.js +33 -0
  1613. package/dist/node_modules/ramda/src/indexOf.js +39 -0
  1614. package/dist/node_modules/ramda/src/init.js +33 -0
  1615. package/dist/node_modules/ramda/src/innerJoin.js +57 -0
  1616. package/dist/node_modules/ramda/src/insert.js +34 -0
  1617. package/dist/node_modules/ramda/src/insertAll.js +31 -0
  1618. package/dist/node_modules/ramda/src/internal/_Set.js +203 -0
  1619. package/dist/node_modules/ramda/src/internal/_aperture.js +14 -0
  1620. package/dist/node_modules/ramda/src/internal/_arity.js +64 -0
  1621. package/dist/node_modules/ramda/src/internal/_arrayFromIterator.js +12 -0
  1622. package/dist/node_modules/ramda/src/internal/_assertPromise.js +15 -0
  1623. package/dist/node_modules/ramda/src/internal/_checkForMethod.js +29 -0
  1624. package/dist/node_modules/ramda/src/internal/_clone.js +61 -0
  1625. package/dist/node_modules/ramda/src/internal/_cloneRegExp.js +5 -0
  1626. package/dist/node_modules/ramda/src/internal/_complement.js +7 -0
  1627. package/dist/node_modules/ramda/src/internal/_concat.js +36 -0
  1628. package/dist/node_modules/ramda/src/internal/_createPartialApplicator.js +17 -0
  1629. package/dist/node_modules/ramda/src/internal/_curry1.js +24 -0
  1630. package/dist/node_modules/ramda/src/internal/_curry2.js +39 -0
  1631. package/dist/node_modules/ramda/src/internal/_curry3.js +60 -0
  1632. package/dist/node_modules/ramda/src/internal/_curryN.js +50 -0
  1633. package/dist/node_modules/ramda/src/internal/_dispatchable.js +54 -0
  1634. package/dist/node_modules/ramda/src/internal/_dropLast.js +9 -0
  1635. package/dist/node_modules/ramda/src/internal/_dropLastWhile.js +15 -0
  1636. package/dist/node_modules/ramda/src/internal/_equals.js +189 -0
  1637. package/dist/node_modules/ramda/src/internal/_filter.js +17 -0
  1638. package/dist/node_modules/ramda/src/internal/_flatCat.js +43 -0
  1639. package/dist/node_modules/ramda/src/internal/_forceReduced.js +8 -0
  1640. package/dist/node_modules/ramda/src/internal/_functionName.js +7 -0
  1641. package/dist/node_modules/ramda/src/internal/_functionsWith.js +19 -0
  1642. package/dist/node_modules/ramda/src/internal/_has.js +5 -0
  1643. package/dist/node_modules/ramda/src/internal/_identity.js +5 -0
  1644. package/dist/node_modules/ramda/src/internal/_includes.js +9 -0
  1645. package/dist/node_modules/ramda/src/internal/_includesWith.js +16 -0
  1646. package/dist/node_modules/ramda/src/internal/_indexOf.js +72 -0
  1647. package/dist/node_modules/ramda/src/internal/_isArguments.js +17 -0
  1648. package/dist/node_modules/ramda/src/internal/_isArray.js +15 -0
  1649. package/dist/node_modules/ramda/src/internal/_isArrayLike.js +65 -0
  1650. package/dist/node_modules/ramda/src/internal/_isFunction.js +6 -0
  1651. package/dist/node_modules/ramda/src/internal/_isInteger.js +11 -0
  1652. package/dist/node_modules/ramda/src/internal/_isNumber.js +5 -0
  1653. package/dist/node_modules/ramda/src/internal/_isObject.js +5 -0
  1654. package/dist/node_modules/ramda/src/internal/_isPlaceholder.js +5 -0
  1655. package/dist/node_modules/ramda/src/internal/_isRegExp.js +5 -0
  1656. package/dist/node_modules/ramda/src/internal/_isString.js +5 -0
  1657. package/dist/node_modules/ramda/src/internal/_isTransformer.js +5 -0
  1658. package/dist/node_modules/ramda/src/internal/_makeFlat.js +40 -0
  1659. package/dist/node_modules/ramda/src/internal/_map.js +14 -0
  1660. package/dist/node_modules/ramda/src/internal/_objectAssign.js +32 -0
  1661. package/dist/node_modules/ramda/src/internal/_objectIs.js +14 -0
  1662. package/dist/node_modules/ramda/src/internal/_of.js +5 -0
  1663. package/dist/node_modules/ramda/src/internal/_pipe.js +7 -0
  1664. package/dist/node_modules/ramda/src/internal/_pipeP.js +10 -0
  1665. package/dist/node_modules/ramda/src/internal/_quote.js +7 -0
  1666. package/dist/node_modules/ramda/src/internal/_reduce.js +82 -0
  1667. package/dist/node_modules/ramda/src/internal/_reduced.js +8 -0
  1668. package/dist/node_modules/ramda/src/internal/_stepCat.js +64 -0
  1669. package/dist/node_modules/ramda/src/internal/_toISOString.js +14 -0
  1670. package/dist/node_modules/ramda/src/internal/_toString.js +78 -0
  1671. package/dist/node_modules/ramda/src/internal/_xall.js +50 -0
  1672. package/dist/node_modules/ramda/src/internal/_xany.js +50 -0
  1673. package/dist/node_modules/ramda/src/internal/_xaperture.js +58 -0
  1674. package/dist/node_modules/ramda/src/internal/_xchain.js +19 -0
  1675. package/dist/node_modules/ramda/src/internal/_xdrop.js +38 -0
  1676. package/dist/node_modules/ramda/src/internal/_xdropLast.js +54 -0
  1677. package/dist/node_modules/ramda/src/internal/_xdropLastWhile.js +53 -0
  1678. package/dist/node_modules/ramda/src/internal/_xdropRepeatsWith.js +44 -0
  1679. package/dist/node_modules/ramda/src/internal/_xdropWhile.js +41 -0
  1680. package/dist/node_modules/ramda/src/internal/_xfBase.js +8 -0
  1681. package/dist/node_modules/ramda/src/internal/_xfilter.js +33 -0
  1682. package/dist/node_modules/ramda/src/internal/_xfind.js +50 -0
  1683. package/dist/node_modules/ramda/src/internal/_xfindIndex.js +53 -0
  1684. package/dist/node_modules/ramda/src/internal/_xfindLast.js +40 -0
  1685. package/dist/node_modules/ramda/src/internal/_xfindLastIndex.js +44 -0
  1686. package/dist/node_modules/ramda/src/internal/_xmap.js +33 -0
  1687. package/dist/node_modules/ramda/src/internal/_xreduceBy.js +60 -0
  1688. package/dist/node_modules/ramda/src/internal/_xtake.js +40 -0
  1689. package/dist/node_modules/ramda/src/internal/_xtakeWhile.js +37 -0
  1690. package/dist/node_modules/ramda/src/internal/_xtap.js +34 -0
  1691. package/dist/node_modules/ramda/src/internal/_xwrap.js +27 -0
  1692. package/dist/node_modules/ramda/src/intersection.js +55 -0
  1693. package/dist/node_modules/ramda/src/intersperse.js +49 -0
  1694. package/dist/node_modules/ramda/src/into.js +67 -0
  1695. package/dist/node_modules/ramda/src/invert.js +55 -0
  1696. package/dist/node_modules/ramda/src/invertObj.js +54 -0
  1697. package/dist/node_modules/ramda/src/invoker.js +66 -0
  1698. package/dist/node_modules/ramda/src/is.js +35 -0
  1699. package/dist/node_modules/ramda/src/isEmpty.js +41 -0
  1700. package/dist/node_modules/ramda/src/isNil.js +29 -0
  1701. package/dist/node_modules/ramda/src/join.js +28 -0
  1702. package/dist/node_modules/ramda/src/juxt.js +35 -0
  1703. package/dist/node_modules/ramda/src/keys.js +100 -0
  1704. package/dist/node_modules/ramda/src/keysIn.js +40 -0
  1705. package/dist/node_modules/ramda/src/last.js +29 -0
  1706. package/dist/node_modules/ramda/src/lastIndexOf.js +53 -0
  1707. package/dist/node_modules/ramda/src/length.js +31 -0
  1708. package/dist/node_modules/ramda/src/lens.js +45 -0
  1709. package/dist/node_modules/ramda/src/lensIndex.js +44 -0
  1710. package/dist/node_modules/ramda/src/lensPath.js +48 -0
  1711. package/dist/node_modules/ramda/src/lensProp.js +44 -0
  1712. package/dist/node_modules/ramda/src/lift.js +38 -0
  1713. package/dist/node_modules/ramda/src/liftN.js +48 -0
  1714. package/dist/node_modules/ramda/src/lt.js +33 -0
  1715. package/dist/node_modules/ramda/src/lte.js +33 -0
  1716. package/dist/node_modules/ramda/src/map.js +87 -0
  1717. package/dist/node_modules/ramda/src/mapAccum.js +57 -0
  1718. package/dist/node_modules/ramda/src/mapAccumRight.js +59 -0
  1719. package/dist/node_modules/ramda/src/mapObjIndexed.js +44 -0
  1720. package/dist/node_modules/ramda/src/match.js +33 -0
  1721. package/dist/node_modules/ramda/src/mathMod.js +57 -0
  1722. package/dist/node_modules/ramda/src/max.js +29 -0
  1723. package/dist/node_modules/ramda/src/maxBy.js +36 -0
  1724. package/dist/node_modules/ramda/src/mean.js +32 -0
  1725. package/dist/node_modules/ramda/src/median.js +43 -0
  1726. package/dist/node_modules/ramda/src/memoizeWith.js +57 -0
  1727. package/dist/node_modules/ramda/src/merge.js +40 -0
  1728. package/dist/node_modules/ramda/src/mergeAll.js +33 -0
  1729. package/dist/node_modules/ramda/src/mergeDeepLeft.js +39 -0
  1730. package/dist/node_modules/ramda/src/mergeDeepRight.js +39 -0
  1731. package/dist/node_modules/ramda/src/mergeDeepWith.js +45 -0
  1732. package/dist/node_modules/ramda/src/mergeDeepWithKey.js +54 -0
  1733. package/dist/node_modules/ramda/src/mergeLeft.js +39 -0
  1734. package/dist/node_modules/ramda/src/mergeRight.js +39 -0
  1735. package/dist/node_modules/ramda/src/mergeWith.js +41 -0
  1736. package/dist/node_modules/ramda/src/mergeWithKey.js +56 -0
  1737. package/dist/node_modules/ramda/src/min.js +29 -0
  1738. package/dist/node_modules/ramda/src/minBy.js +36 -0
  1739. package/dist/node_modules/ramda/src/modulo.js +37 -0
  1740. package/dist/node_modules/ramda/src/move.js +35 -0
  1741. package/dist/node_modules/ramda/src/multiply.js +32 -0
  1742. package/dist/node_modules/ramda/src/nAry.js +100 -0
  1743. package/dist/node_modules/ramda/src/negate.js +26 -0
  1744. package/dist/node_modules/ramda/src/none.js +45 -0
  1745. package/dist/node_modules/ramda/src/not.js +31 -0
  1746. package/dist/node_modules/ramda/src/nth.js +43 -0
  1747. package/dist/node_modules/ramda/src/nthArg.js +41 -0
  1748. package/dist/node_modules/ramda/src/o.js +39 -0
  1749. package/dist/node_modules/ramda/src/objOf.js +34 -0
  1750. package/dist/node_modules/ramda/src/of.js +32 -0
  1751. package/dist/node_modules/ramda/src/omit.js +44 -0
  1752. package/dist/node_modules/ramda/src/once.js +45 -0
  1753. package/dist/node_modules/ramda/src/or.js +32 -0
  1754. package/dist/node_modules/ramda/src/otherwise.js +46 -0
  1755. package/dist/node_modules/ramda/src/over.js +50 -0
  1756. package/dist/node_modules/ramda/src/pair.js +28 -0
  1757. package/dist/node_modules/ramda/src/partial.js +42 -0
  1758. package/dist/node_modules/ramda/src/partialRight.js +44 -0
  1759. package/dist/node_modules/ramda/src/partition.js +41 -0
  1760. package/dist/node_modules/ramda/src/path.js +36 -0
  1761. package/dist/node_modules/ramda/src/pathEq.js +44 -0
  1762. package/dist/node_modules/ramda/src/pathOr.js +39 -0
  1763. package/dist/node_modules/ramda/src/pathSatisfies.js +36 -0
  1764. package/dist/node_modules/ramda/src/paths.js +54 -0
  1765. package/dist/node_modules/ramda/src/pick.js +41 -0
  1766. package/dist/node_modules/ramda/src/pickAll.js +40 -0
  1767. package/dist/node_modules/ramda/src/pickBy.js +40 -0
  1768. package/dist/node_modules/ramda/src/pipe.js +49 -0
  1769. package/dist/node_modules/ramda/src/pipeK.js +53 -0
  1770. package/dist/node_modules/ramda/src/pipeP.js +45 -0
  1771. package/dist/node_modules/ramda/src/pipeWith.js +65 -0
  1772. package/dist/node_modules/ramda/src/pluck.js +47 -0
  1773. package/dist/node_modules/ramda/src/prepend.js +33 -0
  1774. package/dist/node_modules/ramda/src/product.js +28 -0
  1775. package/dist/node_modules/ramda/src/project.js +41 -0
  1776. package/dist/node_modules/ramda/src/prop.js +37 -0
  1777. package/dist/node_modules/ramda/src/propEq.js +41 -0
  1778. package/dist/node_modules/ramda/src/propIs.js +36 -0
  1779. package/dist/node_modules/ramda/src/propOr.js +42 -0
  1780. package/dist/node_modules/ramda/src/propSatisfies.js +31 -0
  1781. package/dist/node_modules/ramda/src/props.js +38 -0
  1782. package/dist/node_modules/ramda/src/range.js +44 -0
  1783. package/dist/node_modules/ramda/src/reduce.js +60 -0
  1784. package/dist/node_modules/ramda/src/reduceBy.js +79 -0
  1785. package/dist/node_modules/ramda/src/reduceRight.js +61 -0
  1786. package/dist/node_modules/ramda/src/reduceWhile.js +51 -0
  1787. package/dist/node_modules/ramda/src/reduced.js +39 -0
  1788. package/dist/node_modules/ramda/src/reject.js +44 -0
  1789. package/dist/node_modules/ramda/src/remove.js +34 -0
  1790. package/dist/node_modules/ramda/src/repeat.js +43 -0
  1791. package/dist/node_modules/ramda/src/replace.js +36 -0
  1792. package/dist/node_modules/ramda/src/reverse.js +40 -0
  1793. package/dist/node_modules/ramda/src/scan.js +43 -0
  1794. package/dist/node_modules/ramda/src/sequence.js +54 -0
  1795. package/dist/node_modules/ramda/src/set.js +42 -0
  1796. package/dist/node_modules/ramda/src/slice.js +42 -0
  1797. package/dist/node_modules/ramda/src/sort.js +32 -0
  1798. package/dist/node_modules/ramda/src/sortBy.js +49 -0
  1799. package/dist/node_modules/ramda/src/sortWith.js +54 -0
  1800. package/dist/node_modules/ramda/src/split.js +29 -0
  1801. package/dist/node_modules/ramda/src/splitAt.js +38 -0
  1802. package/dist/node_modules/ramda/src/splitEvery.js +44 -0
  1803. package/dist/node_modules/ramda/src/splitWhen.js +40 -0
  1804. package/dist/node_modules/ramda/src/startsWith.js +42 -0
  1805. package/dist/node_modules/ramda/src/subtract.js +35 -0
  1806. package/dist/node_modules/ramda/src/sum.js +28 -0
  1807. package/dist/node_modules/ramda/src/symmetricDifference.js +38 -0
  1808. package/dist/node_modules/ramda/src/symmetricDifferenceWith.js +42 -0
  1809. package/dist/node_modules/ramda/src/tail.js +49 -0
  1810. package/dist/node_modules/ramda/src/take.js +69 -0
  1811. package/dist/node_modules/ramda/src/takeLast.js +38 -0
  1812. package/dist/node_modules/ramda/src/takeLastWhile.js +47 -0
  1813. package/dist/node_modules/ramda/src/takeWhile.js +62 -0
  1814. package/dist/node_modules/ramda/src/tap.js +43 -0
  1815. package/dist/node_modules/ramda/src/test.js +45 -0
  1816. package/dist/node_modules/ramda/src/thunkify.js +39 -0
  1817. package/dist/node_modules/ramda/src/times.js +50 -0
  1818. package/dist/node_modules/ramda/src/toLower.js +24 -0
  1819. package/dist/node_modules/ramda/src/toPairs.js +42 -0
  1820. package/dist/node_modules/ramda/src/toPairsIn.js +39 -0
  1821. package/dist/node_modules/ramda/src/toString.js +52 -0
  1822. package/dist/node_modules/ramda/src/toUpper.js +24 -0
  1823. package/dist/node_modules/ramda/src/transduce.js +66 -0
  1824. package/dist/node_modules/ramda/src/transpose.js +55 -0
  1825. package/dist/node_modules/ramda/src/traverse.js +46 -0
  1826. package/dist/node_modules/ramda/src/trim.js +39 -0
  1827. package/dist/node_modules/ramda/src/tryCatch.js +49 -0
  1828. package/dist/node_modules/ramda/src/type.js +37 -0
  1829. package/dist/node_modules/ramda/src/unapply.js +38 -0
  1830. package/dist/node_modules/ramda/src/unary.js +44 -0
  1831. package/dist/node_modules/ramda/src/uncurryN.js +49 -0
  1832. package/dist/node_modules/ramda/src/unfold.js +45 -0
  1833. package/dist/node_modules/ramda/src/union.js +41 -0
  1834. package/dist/node_modules/ramda/src/unionWith.js +42 -0
  1835. package/dist/node_modules/ramda/src/uniq.js +30 -0
  1836. package/dist/node_modules/ramda/src/uniqBy.js +50 -0
  1837. package/dist/node_modules/ramda/src/uniqWith.js +53 -0
  1838. package/dist/node_modules/ramda/src/unless.js +36 -0
  1839. package/dist/node_modules/ramda/src/unnest.js +30 -0
  1840. package/dist/node_modules/ramda/src/until.js +37 -0
  1841. package/dist/node_modules/ramda/src/update.js +42 -0
  1842. package/dist/node_modules/ramda/src/useWith.js +55 -0
  1843. package/dist/node_modules/ramda/src/values.js +43 -0
  1844. package/dist/node_modules/ramda/src/valuesIn.js +40 -0
  1845. package/dist/node_modules/ramda/src/view.js +45 -0
  1846. package/dist/node_modules/ramda/src/when.js +40 -0
  1847. package/dist/node_modules/ramda/src/where.js +57 -0
  1848. package/dist/node_modules/ramda/src/whereEq.js +52 -0
  1849. package/dist/node_modules/ramda/src/without.js +43 -0
  1850. package/dist/node_modules/ramda/src/xor.js +33 -0
  1851. package/dist/node_modules/ramda/src/xprod.js +48 -0
  1852. package/dist/node_modules/ramda/src/zip.js +40 -0
  1853. package/dist/node_modules/ramda/src/zipObj.js +38 -0
  1854. package/dist/node_modules/ramda/src/zipWith.js +45 -0
  1855. package/dist/node_modules/require-from-string/index.js +34 -0
  1856. package/dist/node_modules/require-from-string/license +21 -0
  1857. package/dist/node_modules/require-from-string/package.json +28 -0
  1858. package/dist/node_modules/require-from-string/readme.md +56 -0
  1859. package/dist/node_modules/simple-git/dist/cjs/index.js +4958 -0
  1860. package/dist/node_modules/simple-git/dist/cjs/index.js.map +7 -0
  1861. package/dist/node_modules/simple-git/dist/esm/index.js +4813 -0
  1862. package/dist/node_modules/simple-git/dist/esm/index.js.map +7 -0
  1863. package/dist/node_modules/simple-git/dist/esm/package.json +3 -0
  1864. package/dist/node_modules/simple-git/dist/src/lib/api.d.ts +13 -0
  1865. package/dist/node_modules/simple-git/dist/src/lib/args/log-format.d.ts +9 -0
  1866. package/dist/node_modules/simple-git/dist/src/lib/args/pathspec.d.ts +3 -0
  1867. package/dist/node_modules/simple-git/dist/src/lib/errors/git-construct-error.d.ts +15 -0
  1868. package/dist/node_modules/simple-git/dist/src/lib/errors/git-error.d.ts +30 -0
  1869. package/dist/node_modules/simple-git/dist/src/lib/errors/git-plugin-error.d.ts +7 -0
  1870. package/dist/node_modules/simple-git/dist/src/lib/errors/git-response-error.d.ts +32 -0
  1871. package/dist/node_modules/simple-git/dist/src/lib/errors/task-configuration-error.d.ts +12 -0
  1872. package/dist/node_modules/simple-git/dist/src/lib/git-factory.d.ts +15 -0
  1873. package/dist/node_modules/simple-git/dist/src/lib/git-logger.d.ts +21 -0
  1874. package/dist/node_modules/simple-git/dist/src/lib/parsers/parse-branch-delete.d.ts +5 -0
  1875. package/dist/node_modules/simple-git/dist/src/lib/parsers/parse-branch.d.ts +2 -0
  1876. package/dist/node_modules/simple-git/dist/src/lib/parsers/parse-commit.d.ts +2 -0
  1877. package/dist/node_modules/simple-git/dist/src/lib/parsers/parse-diff-summary.d.ts +3 -0
  1878. package/dist/node_modules/simple-git/dist/src/lib/parsers/parse-fetch.d.ts +2 -0
  1879. package/dist/node_modules/simple-git/dist/src/lib/parsers/parse-list-log-summary.d.ts +6 -0
  1880. package/dist/node_modules/simple-git/dist/src/lib/parsers/parse-merge.d.ts +11 -0
  1881. package/dist/node_modules/simple-git/dist/src/lib/parsers/parse-move.d.ts +2 -0
  1882. package/dist/node_modules/simple-git/dist/src/lib/parsers/parse-pull.d.ts +6 -0
  1883. package/dist/node_modules/simple-git/dist/src/lib/parsers/parse-push.d.ts +4 -0
  1884. package/dist/node_modules/simple-git/dist/src/lib/parsers/parse-remote-messages.d.ts +5 -0
  1885. package/dist/node_modules/simple-git/dist/src/lib/parsers/parse-remote-objects.d.ts +3 -0
  1886. package/dist/node_modules/simple-git/dist/src/lib/plugins/abort-plugin.d.ts +3 -0
  1887. package/dist/node_modules/simple-git/dist/src/lib/plugins/block-unsafe-operations-plugin.d.ts +3 -0
  1888. package/dist/node_modules/simple-git/dist/src/lib/plugins/command-config-prefixing-plugin.d.ts +2 -0
  1889. package/dist/node_modules/simple-git/dist/src/lib/plugins/completion-detection.plugin.d.ts +3 -0
  1890. package/dist/node_modules/simple-git/dist/src/lib/plugins/custom-binary.plugin.d.ts +3 -0
  1891. package/dist/node_modules/simple-git/dist/src/lib/plugins/error-detection.plugin.d.ts +8 -0
  1892. package/dist/node_modules/simple-git/dist/src/lib/plugins/index.d.ts +11 -0
  1893. package/dist/node_modules/simple-git/dist/src/lib/plugins/plugin-store.d.ts +11 -0
  1894. package/dist/node_modules/simple-git/dist/src/lib/plugins/progress-monitor-plugin.d.ts +3 -0
  1895. package/dist/node_modules/simple-git/dist/src/lib/plugins/simple-git-plugin.d.ts +47 -0
  1896. package/dist/node_modules/simple-git/dist/src/lib/plugins/spawn-options-plugin.d.ts +4 -0
  1897. package/dist/node_modules/simple-git/dist/src/lib/plugins/suffix-paths.plugin.d.ts +2 -0
  1898. package/dist/node_modules/simple-git/dist/src/lib/plugins/timout-plugin.d.ts +3 -0
  1899. package/dist/node_modules/simple-git/dist/src/lib/responses/BranchDeleteSummary.d.ts +12 -0
  1900. package/dist/node_modules/simple-git/dist/src/lib/responses/BranchSummary.d.ts +14 -0
  1901. package/dist/node_modules/simple-git/dist/src/lib/responses/CheckIgnore.d.ts +4 -0
  1902. package/dist/node_modules/simple-git/dist/src/lib/responses/CleanSummary.d.ts +9 -0
  1903. package/dist/node_modules/simple-git/dist/src/lib/responses/ConfigList.d.ts +13 -0
  1904. package/dist/node_modules/simple-git/dist/src/lib/responses/DiffSummary.d.ts +10 -0
  1905. package/dist/node_modules/simple-git/dist/src/lib/responses/FileStatusSummary.d.ts +9 -0
  1906. package/dist/node_modules/simple-git/dist/src/lib/responses/GetRemoteSummary.d.ts +11 -0
  1907. package/dist/node_modules/simple-git/dist/src/lib/responses/InitSummary.d.ts +9 -0
  1908. package/dist/node_modules/simple-git/dist/src/lib/responses/MergeSummary.d.ts +16 -0
  1909. package/dist/node_modules/simple-git/dist/src/lib/responses/PullSummary.d.ts +25 -0
  1910. package/dist/node_modules/simple-git/dist/src/lib/responses/StatusSummary.d.ts +19 -0
  1911. package/dist/node_modules/simple-git/dist/src/lib/responses/TagList.d.ts +7 -0
  1912. package/dist/node_modules/simple-git/dist/src/lib/runners/git-executor-chain.d.ts +25 -0
  1913. package/dist/node_modules/simple-git/dist/src/lib/runners/git-executor.d.ts +14 -0
  1914. package/dist/node_modules/simple-git/dist/src/lib/runners/promise-wrapped.d.ts +2 -0
  1915. package/dist/node_modules/simple-git/dist/src/lib/runners/scheduler.d.ts +11 -0
  1916. package/dist/node_modules/simple-git/dist/src/lib/runners/tasks-pending-queue.d.ts +23 -0
  1917. package/dist/node_modules/simple-git/dist/src/lib/simple-git-api.d.ts +20 -0
  1918. package/dist/node_modules/simple-git/dist/src/lib/task-callback.d.ts +2 -0
  1919. package/dist/node_modules/simple-git/dist/src/lib/tasks/apply-patch.d.ts +3 -0
  1920. package/dist/node_modules/simple-git/dist/src/lib/tasks/branch.d.ts +7 -0
  1921. package/dist/node_modules/simple-git/dist/src/lib/tasks/change-working-directory.d.ts +2 -0
  1922. package/dist/node_modules/simple-git/dist/src/lib/tasks/check-ignore.d.ts +2 -0
  1923. package/dist/node_modules/simple-git/dist/src/lib/tasks/check-is-repo.d.ts +9 -0
  1924. package/dist/node_modules/simple-git/dist/src/lib/tasks/checkout.d.ts +2 -0
  1925. package/dist/node_modules/simple-git/dist/src/lib/tasks/clean.d.ts +25 -0
  1926. package/dist/node_modules/simple-git/dist/src/lib/tasks/clone.d.ts +5 -0
  1927. package/dist/node_modules/simple-git/dist/src/lib/tasks/commit.d.ts +4 -0
  1928. package/dist/node_modules/simple-git/dist/src/lib/tasks/config.d.ts +8 -0
  1929. package/dist/node_modules/simple-git/dist/src/lib/tasks/count-objects.d.ts +12 -0
  1930. package/dist/node_modules/simple-git/dist/src/lib/tasks/diff-name-status.d.ts +12 -0
  1931. package/dist/node_modules/simple-git/dist/src/lib/tasks/diff.d.ts +5 -0
  1932. package/dist/node_modules/simple-git/dist/src/lib/tasks/fetch.d.ts +4 -0
  1933. package/dist/node_modules/simple-git/dist/src/lib/tasks/first-commit.d.ts +2 -0
  1934. package/dist/node_modules/simple-git/dist/src/lib/tasks/grep.d.ts +12 -0
  1935. package/dist/node_modules/simple-git/dist/src/lib/tasks/hash-object.d.ts +5 -0
  1936. package/dist/node_modules/simple-git/dist/src/lib/tasks/init.d.ts +3 -0
  1937. package/dist/node_modules/simple-git/dist/src/lib/tasks/log.d.ts +32 -0
  1938. package/dist/node_modules/simple-git/dist/src/lib/tasks/merge.d.ts +4 -0
  1939. package/dist/node_modules/simple-git/dist/src/lib/tasks/move.d.ts +3 -0
  1940. package/dist/node_modules/simple-git/dist/src/lib/tasks/pull.d.ts +3 -0
  1941. package/dist/node_modules/simple-git/dist/src/lib/tasks/push.d.ts +9 -0
  1942. package/dist/node_modules/simple-git/dist/src/lib/tasks/remote.d.ts +6 -0
  1943. package/dist/node_modules/simple-git/dist/src/lib/tasks/reset.d.ts +11 -0
  1944. package/dist/node_modules/simple-git/dist/src/lib/tasks/show.d.ts +2 -0
  1945. package/dist/node_modules/simple-git/dist/src/lib/tasks/stash-list.d.ts +4 -0
  1946. package/dist/node_modules/simple-git/dist/src/lib/tasks/status.d.ts +3 -0
  1947. package/dist/node_modules/simple-git/dist/src/lib/tasks/sub-module.d.ts +5 -0
  1948. package/dist/node_modules/simple-git/dist/src/lib/tasks/tag.d.ts +18 -0
  1949. package/dist/node_modules/simple-git/dist/src/lib/tasks/task.d.ts +14 -0
  1950. package/dist/node_modules/simple-git/dist/src/lib/tasks/version.d.ts +9 -0
  1951. package/dist/node_modules/simple-git/dist/src/lib/types/handlers.d.ts +21 -0
  1952. package/dist/node_modules/simple-git/dist/src/lib/types/index.d.ts +158 -0
  1953. package/dist/node_modules/simple-git/dist/src/lib/types/tasks.d.ts +20 -0
  1954. package/dist/node_modules/simple-git/dist/src/lib/utils/argument-filters.d.ts +16 -0
  1955. package/dist/node_modules/simple-git/dist/src/lib/utils/exit-codes.d.ts +10 -0
  1956. package/dist/node_modules/simple-git/dist/src/lib/utils/git-output-streams.d.ts +8 -0
  1957. package/dist/node_modules/simple-git/dist/src/lib/utils/index.d.ts +8 -0
  1958. package/dist/node_modules/simple-git/dist/src/lib/utils/line-parser.d.ts +15 -0
  1959. package/dist/node_modules/simple-git/dist/src/lib/utils/simple-git-options.d.ts +2 -0
  1960. package/dist/node_modules/simple-git/dist/src/lib/utils/task-options.d.ts +13 -0
  1961. package/dist/node_modules/simple-git/dist/src/lib/utils/task-parser.d.ts +5 -0
  1962. package/dist/node_modules/simple-git/dist/src/lib/utils/util.d.ts +47 -0
  1963. package/dist/node_modules/simple-git/dist/typings/errors.d.ts +5 -0
  1964. package/dist/node_modules/simple-git/dist/typings/index.d.ts +12 -0
  1965. package/dist/node_modules/simple-git/dist/typings/response.d.ts +555 -0
  1966. package/dist/node_modules/simple-git/dist/typings/simple-git.d.ts +1032 -0
  1967. package/dist/node_modules/simple-git/dist/typings/types.d.ts +23 -0
  1968. package/dist/node_modules/simple-git/package.json +61 -0
  1969. package/dist/node_modules/simple-git/promise.js +17 -0
  1970. package/dist/node_modules/simple-git/readme.md +842 -0
  1971. package/dist/node_modules/supports-color/browser.js +5 -0
  1972. package/dist/node_modules/supports-color/index.js +135 -0
  1973. package/dist/node_modules/supports-color/license +9 -0
  1974. package/dist/node_modules/supports-color/package.json +53 -0
  1975. package/dist/node_modules/supports-color/readme.md +76 -0
  1976. package/dist/node_modules/undici-types/README.md +6 -0
  1977. package/dist/node_modules/undici-types/agent.d.ts +31 -0
  1978. package/dist/node_modules/undici-types/api.d.ts +43 -0
  1979. package/dist/node_modules/undici-types/balanced-pool.d.ts +18 -0
  1980. package/dist/node_modules/undici-types/cache.d.ts +36 -0
  1981. package/dist/node_modules/undici-types/client.d.ts +97 -0
  1982. package/dist/node_modules/undici-types/connector.d.ts +34 -0
  1983. package/dist/node_modules/undici-types/content-type.d.ts +21 -0
  1984. package/dist/node_modules/undici-types/cookies.d.ts +28 -0
  1985. package/dist/node_modules/undici-types/diagnostics-channel.d.ts +67 -0
  1986. package/dist/node_modules/undici-types/dispatcher.d.ts +241 -0
  1987. package/dist/node_modules/undici-types/errors.d.ts +128 -0
  1988. package/dist/node_modules/undici-types/fetch.d.ts +209 -0
  1989. package/dist/node_modules/undici-types/file.d.ts +39 -0
  1990. package/dist/node_modules/undici-types/filereader.d.ts +54 -0
  1991. package/dist/node_modules/undici-types/formdata.d.ts +108 -0
  1992. package/dist/node_modules/undici-types/global-dispatcher.d.ts +9 -0
  1993. package/dist/node_modules/undici-types/global-origin.d.ts +7 -0
  1994. package/dist/node_modules/undici-types/handlers.d.ts +9 -0
  1995. package/dist/node_modules/undici-types/header.d.ts +4 -0
  1996. package/dist/node_modules/undici-types/index.d.ts +63 -0
  1997. package/dist/node_modules/undici-types/interceptors.d.ts +5 -0
  1998. package/dist/node_modules/undici-types/mock-agent.d.ts +50 -0
  1999. package/dist/node_modules/undici-types/mock-client.d.ts +25 -0
  2000. package/dist/node_modules/undici-types/mock-errors.d.ts +12 -0
  2001. package/dist/node_modules/undici-types/mock-interceptor.d.ts +93 -0
  2002. package/dist/node_modules/undici-types/mock-pool.d.ts +25 -0
  2003. package/dist/node_modules/undici-types/package.json +55 -0
  2004. package/dist/node_modules/undici-types/patch.d.ts +71 -0
  2005. package/dist/node_modules/undici-types/pool-stats.d.ts +19 -0
  2006. package/dist/node_modules/undici-types/pool.d.ts +28 -0
  2007. package/dist/node_modules/undici-types/proxy-agent.d.ts +30 -0
  2008. package/dist/node_modules/undici-types/readable.d.ts +61 -0
  2009. package/dist/node_modules/undici-types/webidl.d.ts +220 -0
  2010. package/dist/node_modules/undici-types/websocket.d.ts +131 -0
  2011. package/dist/node_modules/universalify/LICENSE +20 -0
  2012. package/dist/node_modules/universalify/README.md +76 -0
  2013. package/dist/node_modules/universalify/index.js +24 -0
  2014. package/dist/node_modules/universalify/package.json +34 -0
  2015. package/dist/node_modules/uri-js/LICENSE +11 -0
  2016. package/dist/node_modules/uri-js/README.md +203 -0
  2017. package/dist/node_modules/uri-js/dist/es5/uri.all.d.ts +59 -0
  2018. package/dist/node_modules/uri-js/dist/es5/uri.all.js +1443 -0
  2019. package/dist/node_modules/uri-js/dist/es5/uri.all.js.map +1 -0
  2020. package/dist/node_modules/uri-js/dist/es5/uri.all.min.d.ts +59 -0
  2021. package/dist/node_modules/uri-js/dist/es5/uri.all.min.js +3 -0
  2022. package/dist/node_modules/uri-js/dist/es5/uri.all.min.js.map +1 -0
  2023. package/dist/node_modules/uri-js/dist/esnext/index.d.ts +1 -0
  2024. package/dist/node_modules/uri-js/dist/esnext/index.js +17 -0
  2025. package/dist/node_modules/uri-js/dist/esnext/index.js.map +1 -0
  2026. package/dist/node_modules/uri-js/dist/esnext/regexps-iri.d.ts +3 -0
  2027. package/dist/node_modules/uri-js/dist/esnext/regexps-iri.js +3 -0
  2028. package/dist/node_modules/uri-js/dist/esnext/regexps-iri.js.map +1 -0
  2029. package/dist/node_modules/uri-js/dist/esnext/regexps-uri.d.ts +4 -0
  2030. package/dist/node_modules/uri-js/dist/esnext/regexps-uri.js +42 -0
  2031. package/dist/node_modules/uri-js/dist/esnext/regexps-uri.js.map +1 -0
  2032. package/dist/node_modules/uri-js/dist/esnext/schemes/http.d.ts +3 -0
  2033. package/dist/node_modules/uri-js/dist/esnext/schemes/http.js +28 -0
  2034. package/dist/node_modules/uri-js/dist/esnext/schemes/http.js.map +1 -0
  2035. package/dist/node_modules/uri-js/dist/esnext/schemes/https.d.ts +3 -0
  2036. package/dist/node_modules/uri-js/dist/esnext/schemes/https.js +9 -0
  2037. package/dist/node_modules/uri-js/dist/esnext/schemes/https.js.map +1 -0
  2038. package/dist/node_modules/uri-js/dist/esnext/schemes/mailto.d.ts +12 -0
  2039. package/dist/node_modules/uri-js/dist/esnext/schemes/mailto.js +148 -0
  2040. package/dist/node_modules/uri-js/dist/esnext/schemes/mailto.js.map +1 -0
  2041. package/dist/node_modules/uri-js/dist/esnext/schemes/urn-uuid.d.ts +7 -0
  2042. package/dist/node_modules/uri-js/dist/esnext/schemes/urn-uuid.js +23 -0
  2043. package/dist/node_modules/uri-js/dist/esnext/schemes/urn-uuid.js.map +1 -0
  2044. package/dist/node_modules/uri-js/dist/esnext/schemes/urn.d.ts +10 -0
  2045. package/dist/node_modules/uri-js/dist/esnext/schemes/urn.js +49 -0
  2046. package/dist/node_modules/uri-js/dist/esnext/schemes/urn.js.map +1 -0
  2047. package/dist/node_modules/uri-js/dist/esnext/schemes/ws.d.ts +7 -0
  2048. package/dist/node_modules/uri-js/dist/esnext/schemes/ws.js +41 -0
  2049. package/dist/node_modules/uri-js/dist/esnext/schemes/ws.js.map +1 -0
  2050. package/dist/node_modules/uri-js/dist/esnext/schemes/wss.d.ts +3 -0
  2051. package/dist/node_modules/uri-js/dist/esnext/schemes/wss.js +9 -0
  2052. package/dist/node_modules/uri-js/dist/esnext/schemes/wss.js.map +1 -0
  2053. package/dist/node_modules/uri-js/dist/esnext/uri.d.ts +59 -0
  2054. package/dist/node_modules/uri-js/dist/esnext/uri.js +480 -0
  2055. package/dist/node_modules/uri-js/dist/esnext/uri.js.map +1 -0
  2056. package/dist/node_modules/uri-js/dist/esnext/util.d.ts +6 -0
  2057. package/dist/node_modules/uri-js/dist/esnext/util.js +36 -0
  2058. package/dist/node_modules/uri-js/dist/esnext/util.js.map +1 -0
  2059. package/dist/node_modules/uri-js/package.json +77 -0
  2060. package/dist/node_modules/uri-js/yarn.lock +2558 -0
  2061. package/dist/package-lock.json +10146 -0
  2062. package/dist/package.json +78 -0
  2063. package/dist/schemas/system.json +74 -0
  2064. package/dist/schemas/variant.json +144 -0
  2065. package/dist/scripts/jsonSchemaToTs.js +17 -0
  2066. package/dist/util/cache/cloneIntoCache.js +28 -0
  2067. package/dist/util/cache/copyItemFromCache.js +15 -0
  2068. package/dist/util/cache/getCachedItemCheckout.js +13 -0
  2069. package/dist/util/cache/getCachedItemPath.js +19 -0
  2070. package/dist/util/cache/getJsonFromCachedFile.js +11 -0
  2071. package/dist/util/catchLater.js +10 -0
  2072. package/dist/util/fs/executeScript.js +14 -0
  2073. package/dist/util/fs/findFileInCurrentPath.js +19 -0
  2074. package/dist/util/fs/loadJsonFile.js +14 -0
  2075. package/dist/util/fs/writeToJsonFile.js +15 -0
  2076. package/dist/util/getAvailableStarters.js +13 -0
  2077. package/dist/util/getGitRepoNameFromUrl.js +15 -0
  2078. package/dist/util/getRepositoryLatestTag.js +16 -0
  2079. package/dist/util/platform/getDrupalInfo.js +32 -0
  2080. package/dist/util/platform/getInitSuccessMessageForPlatform.js +36 -0
  2081. package/dist/util/platform/getPlatformInfo.js +11 -0
  2082. package/dist/util/project/buildComponentDependencyList.js +20 -0
  2083. package/dist/util/project/getEmulsifyConfig.js +16 -0
  2084. package/dist/util/project/installComponentFromCache.js +30 -0
  2085. package/dist/util/project/installDependencies.js +16 -0
  2086. package/dist/util/project/installGeneralAssetsFromCache.js +24 -0
  2087. package/dist/util/project/setEmulsifyConfig.js +19 -0
  2088. package/dist/util/strToMachineName.js +13 -0
  2089. package/dist/util/system/getAvailableSystems.js +12 -0
  2090. package/package.json +78 -0
@@ -0,0 +1,4958 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __defProps = Object.defineProperties;
5
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
+ var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
7
+ var __getOwnPropNames = Object.getOwnPropertyNames;
8
+ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
9
+ var __getProtoOf = Object.getPrototypeOf;
10
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
11
+ var __propIsEnum = Object.prototype.propertyIsEnumerable;
12
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
13
+ var __spreadValues = (a, b) => {
14
+ for (var prop in b || (b = {}))
15
+ if (__hasOwnProp.call(b, prop))
16
+ __defNormalProp(a, prop, b[prop]);
17
+ if (__getOwnPropSymbols)
18
+ for (var prop of __getOwnPropSymbols(b)) {
19
+ if (__propIsEnum.call(b, prop))
20
+ __defNormalProp(a, prop, b[prop]);
21
+ }
22
+ return a;
23
+ };
24
+ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
25
+ var __esm = (fn, res) => function __init() {
26
+ return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
27
+ };
28
+ var __commonJS = (cb, mod) => function __require() {
29
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
30
+ };
31
+ var __export = (target, all) => {
32
+ for (var name in all)
33
+ __defProp(target, name, { get: all[name], enumerable: true });
34
+ };
35
+ var __copyProps = (to, from, except, desc) => {
36
+ if (from && typeof from === "object" || typeof from === "function") {
37
+ for (let key of __getOwnPropNames(from))
38
+ if (!__hasOwnProp.call(to, key) && key !== except)
39
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
40
+ }
41
+ return to;
42
+ };
43
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
44
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
45
+ mod
46
+ ));
47
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
48
+ var __async = (__this, __arguments, generator) => {
49
+ return new Promise((resolve, reject) => {
50
+ var fulfilled = (value) => {
51
+ try {
52
+ step(generator.next(value));
53
+ } catch (e) {
54
+ reject(e);
55
+ }
56
+ };
57
+ var rejected = (value) => {
58
+ try {
59
+ step(generator.throw(value));
60
+ } catch (e) {
61
+ reject(e);
62
+ }
63
+ };
64
+ var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
65
+ step((generator = generator.apply(__this, __arguments)).next());
66
+ });
67
+ };
68
+
69
+ // src/lib/errors/git-error.ts
70
+ var GitError;
71
+ var init_git_error = __esm({
72
+ "src/lib/errors/git-error.ts"() {
73
+ "use strict";
74
+ GitError = class extends Error {
75
+ constructor(task, message) {
76
+ super(message);
77
+ this.task = task;
78
+ Object.setPrototypeOf(this, new.target.prototype);
79
+ }
80
+ };
81
+ }
82
+ });
83
+
84
+ // src/lib/errors/git-response-error.ts
85
+ var GitResponseError;
86
+ var init_git_response_error = __esm({
87
+ "src/lib/errors/git-response-error.ts"() {
88
+ "use strict";
89
+ init_git_error();
90
+ GitResponseError = class extends GitError {
91
+ constructor(git, message) {
92
+ super(void 0, message || String(git));
93
+ this.git = git;
94
+ }
95
+ };
96
+ }
97
+ });
98
+
99
+ // src/lib/args/pathspec.ts
100
+ function pathspec(...paths) {
101
+ const key = new String(paths);
102
+ cache.set(key, paths);
103
+ return key;
104
+ }
105
+ function isPathSpec(path) {
106
+ return path instanceof String && cache.has(path);
107
+ }
108
+ function toPaths(pathSpec) {
109
+ return cache.get(pathSpec) || [];
110
+ }
111
+ var cache;
112
+ var init_pathspec = __esm({
113
+ "src/lib/args/pathspec.ts"() {
114
+ "use strict";
115
+ cache = /* @__PURE__ */ new WeakMap();
116
+ }
117
+ });
118
+
119
+ // src/lib/errors/git-construct-error.ts
120
+ var GitConstructError;
121
+ var init_git_construct_error = __esm({
122
+ "src/lib/errors/git-construct-error.ts"() {
123
+ "use strict";
124
+ init_git_error();
125
+ GitConstructError = class extends GitError {
126
+ constructor(config, message) {
127
+ super(void 0, message);
128
+ this.config = config;
129
+ }
130
+ };
131
+ }
132
+ });
133
+
134
+ // src/lib/errors/git-plugin-error.ts
135
+ var GitPluginError;
136
+ var init_git_plugin_error = __esm({
137
+ "src/lib/errors/git-plugin-error.ts"() {
138
+ "use strict";
139
+ init_git_error();
140
+ GitPluginError = class extends GitError {
141
+ constructor(task, plugin, message) {
142
+ super(task, message);
143
+ this.task = task;
144
+ this.plugin = plugin;
145
+ Object.setPrototypeOf(this, new.target.prototype);
146
+ }
147
+ };
148
+ }
149
+ });
150
+
151
+ // src/lib/errors/task-configuration-error.ts
152
+ var TaskConfigurationError;
153
+ var init_task_configuration_error = __esm({
154
+ "src/lib/errors/task-configuration-error.ts"() {
155
+ "use strict";
156
+ init_git_error();
157
+ TaskConfigurationError = class extends GitError {
158
+ constructor(message) {
159
+ super(void 0, message);
160
+ }
161
+ };
162
+ }
163
+ });
164
+
165
+ // src/lib/utils/util.ts
166
+ function asFunction(source) {
167
+ return typeof source === "function" ? source : NOOP;
168
+ }
169
+ function isUserFunction(source) {
170
+ return typeof source === "function" && source !== NOOP;
171
+ }
172
+ function splitOn(input, char) {
173
+ const index = input.indexOf(char);
174
+ if (index <= 0) {
175
+ return [input, ""];
176
+ }
177
+ return [input.substr(0, index), input.substr(index + 1)];
178
+ }
179
+ function first(input, offset = 0) {
180
+ return isArrayLike(input) && input.length > offset ? input[offset] : void 0;
181
+ }
182
+ function last(input, offset = 0) {
183
+ if (isArrayLike(input) && input.length > offset) {
184
+ return input[input.length - 1 - offset];
185
+ }
186
+ }
187
+ function isArrayLike(input) {
188
+ return !!(input && typeof input.length === "number");
189
+ }
190
+ function toLinesWithContent(input = "", trimmed2 = true, separator = "\n") {
191
+ return input.split(separator).reduce((output, line) => {
192
+ const lineContent = trimmed2 ? line.trim() : line;
193
+ if (lineContent) {
194
+ output.push(lineContent);
195
+ }
196
+ return output;
197
+ }, []);
198
+ }
199
+ function forEachLineWithContent(input, callback) {
200
+ return toLinesWithContent(input, true).map((line) => callback(line));
201
+ }
202
+ function folderExists(path) {
203
+ return (0, import_file_exists.exists)(path, import_file_exists.FOLDER);
204
+ }
205
+ function append(target, item) {
206
+ if (Array.isArray(target)) {
207
+ if (!target.includes(item)) {
208
+ target.push(item);
209
+ }
210
+ } else {
211
+ target.add(item);
212
+ }
213
+ return item;
214
+ }
215
+ function including(target, item) {
216
+ if (Array.isArray(target) && !target.includes(item)) {
217
+ target.push(item);
218
+ }
219
+ return target;
220
+ }
221
+ function remove(target, item) {
222
+ if (Array.isArray(target)) {
223
+ const index = target.indexOf(item);
224
+ if (index >= 0) {
225
+ target.splice(index, 1);
226
+ }
227
+ } else {
228
+ target.delete(item);
229
+ }
230
+ return item;
231
+ }
232
+ function asArray(source) {
233
+ return Array.isArray(source) ? source : [source];
234
+ }
235
+ function asCamelCase(str) {
236
+ return str.replace(/[\s-]+(.)/g, (_all, chr) => {
237
+ return chr.toUpperCase();
238
+ });
239
+ }
240
+ function asStringArray(source) {
241
+ return asArray(source).map(String);
242
+ }
243
+ function asNumber(source, onNaN = 0) {
244
+ if (source == null) {
245
+ return onNaN;
246
+ }
247
+ const num = parseInt(source, 10);
248
+ return isNaN(num) ? onNaN : num;
249
+ }
250
+ function prefixedArray(input, prefix) {
251
+ const output = [];
252
+ for (let i = 0, max = input.length; i < max; i++) {
253
+ output.push(prefix, input[i]);
254
+ }
255
+ return output;
256
+ }
257
+ function bufferToString(input) {
258
+ return (Array.isArray(input) ? Buffer.concat(input) : input).toString("utf-8");
259
+ }
260
+ function pick(source, properties) {
261
+ return Object.assign(
262
+ {},
263
+ ...properties.map((property) => property in source ? { [property]: source[property] } : {})
264
+ );
265
+ }
266
+ function delay(duration = 0) {
267
+ return new Promise((done) => setTimeout(done, duration));
268
+ }
269
+ function orVoid(input) {
270
+ if (input === false) {
271
+ return void 0;
272
+ }
273
+ return input;
274
+ }
275
+ var import_file_exists, NULL, NOOP, objectToString;
276
+ var init_util = __esm({
277
+ "src/lib/utils/util.ts"() {
278
+ "use strict";
279
+ import_file_exists = require("@kwsites/file-exists");
280
+ NULL = "\0";
281
+ NOOP = () => {
282
+ };
283
+ objectToString = Object.prototype.toString.call.bind(Object.prototype.toString);
284
+ }
285
+ });
286
+
287
+ // src/lib/utils/argument-filters.ts
288
+ function filterType(input, filter, def) {
289
+ if (filter(input)) {
290
+ return input;
291
+ }
292
+ return arguments.length > 2 ? def : void 0;
293
+ }
294
+ function filterPrimitives(input, omit) {
295
+ const type = isPathSpec(input) ? "string" : typeof input;
296
+ return /number|string|boolean/.test(type) && (!omit || !omit.includes(type));
297
+ }
298
+ function filterPlainObject(input) {
299
+ return !!input && objectToString(input) === "[object Object]";
300
+ }
301
+ function filterFunction(input) {
302
+ return typeof input === "function";
303
+ }
304
+ var filterArray, filterString, filterStringArray, filterStringOrStringArray, filterHasLength;
305
+ var init_argument_filters = __esm({
306
+ "src/lib/utils/argument-filters.ts"() {
307
+ "use strict";
308
+ init_util();
309
+ init_pathspec();
310
+ filterArray = (input) => {
311
+ return Array.isArray(input);
312
+ };
313
+ filterString = (input) => {
314
+ return typeof input === "string";
315
+ };
316
+ filterStringArray = (input) => {
317
+ return Array.isArray(input) && input.every(filterString);
318
+ };
319
+ filterStringOrStringArray = (input) => {
320
+ return filterString(input) || Array.isArray(input) && input.every(filterString);
321
+ };
322
+ filterHasLength = (input) => {
323
+ if (input == null || "number|boolean|function".includes(typeof input)) {
324
+ return false;
325
+ }
326
+ return Array.isArray(input) || typeof input === "string" || typeof input.length === "number";
327
+ };
328
+ }
329
+ });
330
+
331
+ // src/lib/utils/exit-codes.ts
332
+ var ExitCodes;
333
+ var init_exit_codes = __esm({
334
+ "src/lib/utils/exit-codes.ts"() {
335
+ "use strict";
336
+ ExitCodes = /* @__PURE__ */ ((ExitCodes2) => {
337
+ ExitCodes2[ExitCodes2["SUCCESS"] = 0] = "SUCCESS";
338
+ ExitCodes2[ExitCodes2["ERROR"] = 1] = "ERROR";
339
+ ExitCodes2[ExitCodes2["NOT_FOUND"] = -2] = "NOT_FOUND";
340
+ ExitCodes2[ExitCodes2["UNCLEAN"] = 128] = "UNCLEAN";
341
+ return ExitCodes2;
342
+ })(ExitCodes || {});
343
+ }
344
+ });
345
+
346
+ // src/lib/utils/git-output-streams.ts
347
+ var GitOutputStreams;
348
+ var init_git_output_streams = __esm({
349
+ "src/lib/utils/git-output-streams.ts"() {
350
+ "use strict";
351
+ GitOutputStreams = class {
352
+ constructor(stdOut, stdErr) {
353
+ this.stdOut = stdOut;
354
+ this.stdErr = stdErr;
355
+ }
356
+ asStrings() {
357
+ return new GitOutputStreams(this.stdOut.toString("utf8"), this.stdErr.toString("utf8"));
358
+ }
359
+ };
360
+ }
361
+ });
362
+
363
+ // src/lib/utils/line-parser.ts
364
+ var LineParser, RemoteLineParser;
365
+ var init_line_parser = __esm({
366
+ "src/lib/utils/line-parser.ts"() {
367
+ "use strict";
368
+ LineParser = class {
369
+ constructor(regExp, useMatches) {
370
+ this.matches = [];
371
+ this.parse = (line, target) => {
372
+ this.resetMatches();
373
+ if (!this._regExp.every((reg, index) => this.addMatch(reg, index, line(index)))) {
374
+ return false;
375
+ }
376
+ return this.useMatches(target, this.prepareMatches()) !== false;
377
+ };
378
+ this._regExp = Array.isArray(regExp) ? regExp : [regExp];
379
+ if (useMatches) {
380
+ this.useMatches = useMatches;
381
+ }
382
+ }
383
+ useMatches(target, match) {
384
+ throw new Error(`LineParser:useMatches not implemented`);
385
+ }
386
+ resetMatches() {
387
+ this.matches.length = 0;
388
+ }
389
+ prepareMatches() {
390
+ return this.matches;
391
+ }
392
+ addMatch(reg, index, line) {
393
+ const matched = line && reg.exec(line);
394
+ if (matched) {
395
+ this.pushMatch(index, matched);
396
+ }
397
+ return !!matched;
398
+ }
399
+ pushMatch(_index, matched) {
400
+ this.matches.push(...matched.slice(1));
401
+ }
402
+ };
403
+ RemoteLineParser = class extends LineParser {
404
+ addMatch(reg, index, line) {
405
+ return /^remote:\s/.test(String(line)) && super.addMatch(reg, index, line);
406
+ }
407
+ pushMatch(index, matched) {
408
+ if (index > 0 || matched.length > 1) {
409
+ super.pushMatch(index, matched);
410
+ }
411
+ }
412
+ };
413
+ }
414
+ });
415
+
416
+ // src/lib/utils/simple-git-options.ts
417
+ function createInstanceConfig(...options) {
418
+ const baseDir = process.cwd();
419
+ const config = Object.assign(
420
+ __spreadValues({ baseDir }, defaultOptions),
421
+ ...options.filter((o) => typeof o === "object" && o)
422
+ );
423
+ config.baseDir = config.baseDir || baseDir;
424
+ config.trimmed = config.trimmed === true;
425
+ return config;
426
+ }
427
+ var defaultOptions;
428
+ var init_simple_git_options = __esm({
429
+ "src/lib/utils/simple-git-options.ts"() {
430
+ "use strict";
431
+ defaultOptions = {
432
+ binary: "git",
433
+ maxConcurrentProcesses: 5,
434
+ config: [],
435
+ trimmed: false
436
+ };
437
+ }
438
+ });
439
+
440
+ // src/lib/utils/task-options.ts
441
+ function appendTaskOptions(options, commands = []) {
442
+ if (!filterPlainObject(options)) {
443
+ return commands;
444
+ }
445
+ return Object.keys(options).reduce((commands2, key) => {
446
+ const value = options[key];
447
+ if (isPathSpec(value)) {
448
+ commands2.push(value);
449
+ } else if (filterPrimitives(value, ["boolean"])) {
450
+ commands2.push(key + "=" + value);
451
+ } else {
452
+ commands2.push(key);
453
+ }
454
+ return commands2;
455
+ }, commands);
456
+ }
457
+ function getTrailingOptions(args, initialPrimitive = 0, objectOnly = false) {
458
+ const command = [];
459
+ for (let i = 0, max = initialPrimitive < 0 ? args.length : initialPrimitive; i < max; i++) {
460
+ if ("string|number".includes(typeof args[i])) {
461
+ command.push(String(args[i]));
462
+ }
463
+ }
464
+ appendTaskOptions(trailingOptionsArgument(args), command);
465
+ if (!objectOnly) {
466
+ command.push(...trailingArrayArgument(args));
467
+ }
468
+ return command;
469
+ }
470
+ function trailingArrayArgument(args) {
471
+ const hasTrailingCallback = typeof last(args) === "function";
472
+ return filterType(last(args, hasTrailingCallback ? 1 : 0), filterArray, []);
473
+ }
474
+ function trailingOptionsArgument(args) {
475
+ const hasTrailingCallback = filterFunction(last(args));
476
+ return filterType(last(args, hasTrailingCallback ? 1 : 0), filterPlainObject);
477
+ }
478
+ function trailingFunctionArgument(args, includeNoop = true) {
479
+ const callback = asFunction(last(args));
480
+ return includeNoop || isUserFunction(callback) ? callback : void 0;
481
+ }
482
+ var init_task_options = __esm({
483
+ "src/lib/utils/task-options.ts"() {
484
+ "use strict";
485
+ init_argument_filters();
486
+ init_util();
487
+ init_pathspec();
488
+ }
489
+ });
490
+
491
+ // src/lib/utils/task-parser.ts
492
+ function callTaskParser(parser4, streams) {
493
+ return parser4(streams.stdOut, streams.stdErr);
494
+ }
495
+ function parseStringResponse(result, parsers12, texts, trim = true) {
496
+ asArray(texts).forEach((text) => {
497
+ for (let lines = toLinesWithContent(text, trim), i = 0, max = lines.length; i < max; i++) {
498
+ const line = (offset = 0) => {
499
+ if (i + offset >= max) {
500
+ return;
501
+ }
502
+ return lines[i + offset];
503
+ };
504
+ parsers12.some(({ parse }) => parse(line, result));
505
+ }
506
+ });
507
+ return result;
508
+ }
509
+ var init_task_parser = __esm({
510
+ "src/lib/utils/task-parser.ts"() {
511
+ "use strict";
512
+ init_util();
513
+ }
514
+ });
515
+
516
+ // src/lib/utils/index.ts
517
+ var utils_exports = {};
518
+ __export(utils_exports, {
519
+ ExitCodes: () => ExitCodes,
520
+ GitOutputStreams: () => GitOutputStreams,
521
+ LineParser: () => LineParser,
522
+ NOOP: () => NOOP,
523
+ NULL: () => NULL,
524
+ RemoteLineParser: () => RemoteLineParser,
525
+ append: () => append,
526
+ appendTaskOptions: () => appendTaskOptions,
527
+ asArray: () => asArray,
528
+ asCamelCase: () => asCamelCase,
529
+ asFunction: () => asFunction,
530
+ asNumber: () => asNumber,
531
+ asStringArray: () => asStringArray,
532
+ bufferToString: () => bufferToString,
533
+ callTaskParser: () => callTaskParser,
534
+ createInstanceConfig: () => createInstanceConfig,
535
+ delay: () => delay,
536
+ filterArray: () => filterArray,
537
+ filterFunction: () => filterFunction,
538
+ filterHasLength: () => filterHasLength,
539
+ filterPlainObject: () => filterPlainObject,
540
+ filterPrimitives: () => filterPrimitives,
541
+ filterString: () => filterString,
542
+ filterStringArray: () => filterStringArray,
543
+ filterStringOrStringArray: () => filterStringOrStringArray,
544
+ filterType: () => filterType,
545
+ first: () => first,
546
+ folderExists: () => folderExists,
547
+ forEachLineWithContent: () => forEachLineWithContent,
548
+ getTrailingOptions: () => getTrailingOptions,
549
+ including: () => including,
550
+ isUserFunction: () => isUserFunction,
551
+ last: () => last,
552
+ objectToString: () => objectToString,
553
+ orVoid: () => orVoid,
554
+ parseStringResponse: () => parseStringResponse,
555
+ pick: () => pick,
556
+ prefixedArray: () => prefixedArray,
557
+ remove: () => remove,
558
+ splitOn: () => splitOn,
559
+ toLinesWithContent: () => toLinesWithContent,
560
+ trailingFunctionArgument: () => trailingFunctionArgument,
561
+ trailingOptionsArgument: () => trailingOptionsArgument
562
+ });
563
+ var init_utils = __esm({
564
+ "src/lib/utils/index.ts"() {
565
+ "use strict";
566
+ init_argument_filters();
567
+ init_exit_codes();
568
+ init_git_output_streams();
569
+ init_line_parser();
570
+ init_simple_git_options();
571
+ init_task_options();
572
+ init_task_parser();
573
+ init_util();
574
+ }
575
+ });
576
+
577
+ // src/lib/tasks/check-is-repo.ts
578
+ var check_is_repo_exports = {};
579
+ __export(check_is_repo_exports, {
580
+ CheckRepoActions: () => CheckRepoActions,
581
+ checkIsBareRepoTask: () => checkIsBareRepoTask,
582
+ checkIsRepoRootTask: () => checkIsRepoRootTask,
583
+ checkIsRepoTask: () => checkIsRepoTask
584
+ });
585
+ function checkIsRepoTask(action) {
586
+ switch (action) {
587
+ case "bare" /* BARE */:
588
+ return checkIsBareRepoTask();
589
+ case "root" /* IS_REPO_ROOT */:
590
+ return checkIsRepoRootTask();
591
+ }
592
+ const commands = ["rev-parse", "--is-inside-work-tree"];
593
+ return {
594
+ commands,
595
+ format: "utf-8",
596
+ onError,
597
+ parser
598
+ };
599
+ }
600
+ function checkIsRepoRootTask() {
601
+ const commands = ["rev-parse", "--git-dir"];
602
+ return {
603
+ commands,
604
+ format: "utf-8",
605
+ onError,
606
+ parser(path) {
607
+ return /^\.(git)?$/.test(path.trim());
608
+ }
609
+ };
610
+ }
611
+ function checkIsBareRepoTask() {
612
+ const commands = ["rev-parse", "--is-bare-repository"];
613
+ return {
614
+ commands,
615
+ format: "utf-8",
616
+ onError,
617
+ parser
618
+ };
619
+ }
620
+ function isNotRepoMessage(error) {
621
+ return /(Not a git repository|Kein Git-Repository)/i.test(String(error));
622
+ }
623
+ var CheckRepoActions, onError, parser;
624
+ var init_check_is_repo = __esm({
625
+ "src/lib/tasks/check-is-repo.ts"() {
626
+ "use strict";
627
+ init_utils();
628
+ CheckRepoActions = /* @__PURE__ */ ((CheckRepoActions2) => {
629
+ CheckRepoActions2["BARE"] = "bare";
630
+ CheckRepoActions2["IN_TREE"] = "tree";
631
+ CheckRepoActions2["IS_REPO_ROOT"] = "root";
632
+ return CheckRepoActions2;
633
+ })(CheckRepoActions || {});
634
+ onError = ({ exitCode }, error, done, fail) => {
635
+ if (exitCode === 128 /* UNCLEAN */ && isNotRepoMessage(error)) {
636
+ return done(Buffer.from("false"));
637
+ }
638
+ fail(error);
639
+ };
640
+ parser = (text) => {
641
+ return text.trim() === "true";
642
+ };
643
+ }
644
+ });
645
+
646
+ // src/lib/responses/CleanSummary.ts
647
+ function cleanSummaryParser(dryRun, text) {
648
+ const summary = new CleanResponse(dryRun);
649
+ const regexp = dryRun ? dryRunRemovalRegexp : removalRegexp;
650
+ toLinesWithContent(text).forEach((line) => {
651
+ const removed = line.replace(regexp, "");
652
+ summary.paths.push(removed);
653
+ (isFolderRegexp.test(removed) ? summary.folders : summary.files).push(removed);
654
+ });
655
+ return summary;
656
+ }
657
+ var CleanResponse, removalRegexp, dryRunRemovalRegexp, isFolderRegexp;
658
+ var init_CleanSummary = __esm({
659
+ "src/lib/responses/CleanSummary.ts"() {
660
+ "use strict";
661
+ init_utils();
662
+ CleanResponse = class {
663
+ constructor(dryRun) {
664
+ this.dryRun = dryRun;
665
+ this.paths = [];
666
+ this.files = [];
667
+ this.folders = [];
668
+ }
669
+ };
670
+ removalRegexp = /^[a-z]+\s*/i;
671
+ dryRunRemovalRegexp = /^[a-z]+\s+[a-z]+\s*/i;
672
+ isFolderRegexp = /\/$/;
673
+ }
674
+ });
675
+
676
+ // src/lib/tasks/task.ts
677
+ var task_exports = {};
678
+ __export(task_exports, {
679
+ EMPTY_COMMANDS: () => EMPTY_COMMANDS,
680
+ adhocExecTask: () => adhocExecTask,
681
+ configurationErrorTask: () => configurationErrorTask,
682
+ isBufferTask: () => isBufferTask,
683
+ isEmptyTask: () => isEmptyTask,
684
+ straightThroughBufferTask: () => straightThroughBufferTask,
685
+ straightThroughStringTask: () => straightThroughStringTask
686
+ });
687
+ function adhocExecTask(parser4) {
688
+ return {
689
+ commands: EMPTY_COMMANDS,
690
+ format: "empty",
691
+ parser: parser4
692
+ };
693
+ }
694
+ function configurationErrorTask(error) {
695
+ return {
696
+ commands: EMPTY_COMMANDS,
697
+ format: "empty",
698
+ parser() {
699
+ throw typeof error === "string" ? new TaskConfigurationError(error) : error;
700
+ }
701
+ };
702
+ }
703
+ function straightThroughStringTask(commands, trimmed2 = false) {
704
+ return {
705
+ commands,
706
+ format: "utf-8",
707
+ parser(text) {
708
+ return trimmed2 ? String(text).trim() : text;
709
+ }
710
+ };
711
+ }
712
+ function straightThroughBufferTask(commands) {
713
+ return {
714
+ commands,
715
+ format: "buffer",
716
+ parser(buffer) {
717
+ return buffer;
718
+ }
719
+ };
720
+ }
721
+ function isBufferTask(task) {
722
+ return task.format === "buffer";
723
+ }
724
+ function isEmptyTask(task) {
725
+ return task.format === "empty" || !task.commands.length;
726
+ }
727
+ var EMPTY_COMMANDS;
728
+ var init_task = __esm({
729
+ "src/lib/tasks/task.ts"() {
730
+ "use strict";
731
+ init_task_configuration_error();
732
+ EMPTY_COMMANDS = [];
733
+ }
734
+ });
735
+
736
+ // src/lib/tasks/clean.ts
737
+ var clean_exports = {};
738
+ __export(clean_exports, {
739
+ CONFIG_ERROR_INTERACTIVE_MODE: () => CONFIG_ERROR_INTERACTIVE_MODE,
740
+ CONFIG_ERROR_MODE_REQUIRED: () => CONFIG_ERROR_MODE_REQUIRED,
741
+ CONFIG_ERROR_UNKNOWN_OPTION: () => CONFIG_ERROR_UNKNOWN_OPTION,
742
+ CleanOptions: () => CleanOptions,
743
+ cleanTask: () => cleanTask,
744
+ cleanWithOptionsTask: () => cleanWithOptionsTask,
745
+ isCleanOptionsArray: () => isCleanOptionsArray
746
+ });
747
+ function cleanWithOptionsTask(mode, customArgs) {
748
+ const { cleanMode, options, valid } = getCleanOptions(mode);
749
+ if (!cleanMode) {
750
+ return configurationErrorTask(CONFIG_ERROR_MODE_REQUIRED);
751
+ }
752
+ if (!valid.options) {
753
+ return configurationErrorTask(CONFIG_ERROR_UNKNOWN_OPTION + JSON.stringify(mode));
754
+ }
755
+ options.push(...customArgs);
756
+ if (options.some(isInteractiveMode)) {
757
+ return configurationErrorTask(CONFIG_ERROR_INTERACTIVE_MODE);
758
+ }
759
+ return cleanTask(cleanMode, options);
760
+ }
761
+ function cleanTask(mode, customArgs) {
762
+ const commands = ["clean", `-${mode}`, ...customArgs];
763
+ return {
764
+ commands,
765
+ format: "utf-8",
766
+ parser(text) {
767
+ return cleanSummaryParser(mode === "n" /* DRY_RUN */, text);
768
+ }
769
+ };
770
+ }
771
+ function isCleanOptionsArray(input) {
772
+ return Array.isArray(input) && input.every((test) => CleanOptionValues.has(test));
773
+ }
774
+ function getCleanOptions(input) {
775
+ let cleanMode;
776
+ let options = [];
777
+ let valid = { cleanMode: false, options: true };
778
+ input.replace(/[^a-z]i/g, "").split("").forEach((char) => {
779
+ if (isCleanMode(char)) {
780
+ cleanMode = char;
781
+ valid.cleanMode = true;
782
+ } else {
783
+ valid.options = valid.options && isKnownOption(options[options.length] = `-${char}`);
784
+ }
785
+ });
786
+ return {
787
+ cleanMode,
788
+ options,
789
+ valid
790
+ };
791
+ }
792
+ function isCleanMode(cleanMode) {
793
+ return cleanMode === "f" /* FORCE */ || cleanMode === "n" /* DRY_RUN */;
794
+ }
795
+ function isKnownOption(option) {
796
+ return /^-[a-z]$/i.test(option) && CleanOptionValues.has(option.charAt(1));
797
+ }
798
+ function isInteractiveMode(option) {
799
+ if (/^-[^\-]/.test(option)) {
800
+ return option.indexOf("i") > 0;
801
+ }
802
+ return option === "--interactive";
803
+ }
804
+ var CONFIG_ERROR_INTERACTIVE_MODE, CONFIG_ERROR_MODE_REQUIRED, CONFIG_ERROR_UNKNOWN_OPTION, CleanOptions, CleanOptionValues;
805
+ var init_clean = __esm({
806
+ "src/lib/tasks/clean.ts"() {
807
+ "use strict";
808
+ init_CleanSummary();
809
+ init_utils();
810
+ init_task();
811
+ CONFIG_ERROR_INTERACTIVE_MODE = "Git clean interactive mode is not supported";
812
+ CONFIG_ERROR_MODE_REQUIRED = 'Git clean mode parameter ("n" or "f") is required';
813
+ CONFIG_ERROR_UNKNOWN_OPTION = "Git clean unknown option found in: ";
814
+ CleanOptions = /* @__PURE__ */ ((CleanOptions2) => {
815
+ CleanOptions2["DRY_RUN"] = "n";
816
+ CleanOptions2["FORCE"] = "f";
817
+ CleanOptions2["IGNORED_INCLUDED"] = "x";
818
+ CleanOptions2["IGNORED_ONLY"] = "X";
819
+ CleanOptions2["EXCLUDING"] = "e";
820
+ CleanOptions2["QUIET"] = "q";
821
+ CleanOptions2["RECURSIVE"] = "d";
822
+ return CleanOptions2;
823
+ })(CleanOptions || {});
824
+ CleanOptionValues = /* @__PURE__ */ new Set([
825
+ "i",
826
+ ...asStringArray(Object.values(CleanOptions))
827
+ ]);
828
+ }
829
+ });
830
+
831
+ // src/lib/responses/ConfigList.ts
832
+ function configListParser(text) {
833
+ const config = new ConfigList();
834
+ for (const item of configParser(text)) {
835
+ config.addValue(item.file, String(item.key), item.value);
836
+ }
837
+ return config;
838
+ }
839
+ function configGetParser(text, key) {
840
+ let value = null;
841
+ const values = [];
842
+ const scopes = /* @__PURE__ */ new Map();
843
+ for (const item of configParser(text, key)) {
844
+ if (item.key !== key) {
845
+ continue;
846
+ }
847
+ values.push(value = item.value);
848
+ if (!scopes.has(item.file)) {
849
+ scopes.set(item.file, []);
850
+ }
851
+ scopes.get(item.file).push(value);
852
+ }
853
+ return {
854
+ key,
855
+ paths: Array.from(scopes.keys()),
856
+ scopes,
857
+ value,
858
+ values
859
+ };
860
+ }
861
+ function configFilePath(filePath) {
862
+ return filePath.replace(/^(file):/, "");
863
+ }
864
+ function* configParser(text, requestedKey = null) {
865
+ const lines = text.split("\0");
866
+ for (let i = 0, max = lines.length - 1; i < max; ) {
867
+ const file = configFilePath(lines[i++]);
868
+ let value = lines[i++];
869
+ let key = requestedKey;
870
+ if (value.includes("\n")) {
871
+ const line = splitOn(value, "\n");
872
+ key = line[0];
873
+ value = line[1];
874
+ }
875
+ yield { file, key, value };
876
+ }
877
+ }
878
+ var ConfigList;
879
+ var init_ConfigList = __esm({
880
+ "src/lib/responses/ConfigList.ts"() {
881
+ "use strict";
882
+ init_utils();
883
+ ConfigList = class {
884
+ constructor() {
885
+ this.files = [];
886
+ this.values = /* @__PURE__ */ Object.create(null);
887
+ }
888
+ get all() {
889
+ if (!this._all) {
890
+ this._all = this.files.reduce((all, file) => {
891
+ return Object.assign(all, this.values[file]);
892
+ }, {});
893
+ }
894
+ return this._all;
895
+ }
896
+ addFile(file) {
897
+ if (!(file in this.values)) {
898
+ const latest = last(this.files);
899
+ this.values[file] = latest ? Object.create(this.values[latest]) : {};
900
+ this.files.push(file);
901
+ }
902
+ return this.values[file];
903
+ }
904
+ addValue(file, key, value) {
905
+ const values = this.addFile(file);
906
+ if (!values.hasOwnProperty(key)) {
907
+ values[key] = value;
908
+ } else if (Array.isArray(values[key])) {
909
+ values[key].push(value);
910
+ } else {
911
+ values[key] = [values[key], value];
912
+ }
913
+ this._all = void 0;
914
+ }
915
+ };
916
+ }
917
+ });
918
+
919
+ // src/lib/tasks/config.ts
920
+ function asConfigScope(scope, fallback) {
921
+ if (typeof scope === "string" && GitConfigScope.hasOwnProperty(scope)) {
922
+ return scope;
923
+ }
924
+ return fallback;
925
+ }
926
+ function addConfigTask(key, value, append2, scope) {
927
+ const commands = ["config", `--${scope}`];
928
+ if (append2) {
929
+ commands.push("--add");
930
+ }
931
+ commands.push(key, value);
932
+ return {
933
+ commands,
934
+ format: "utf-8",
935
+ parser(text) {
936
+ return text;
937
+ }
938
+ };
939
+ }
940
+ function getConfigTask(key, scope) {
941
+ const commands = ["config", "--null", "--show-origin", "--get-all", key];
942
+ if (scope) {
943
+ commands.splice(1, 0, `--${scope}`);
944
+ }
945
+ return {
946
+ commands,
947
+ format: "utf-8",
948
+ parser(text) {
949
+ return configGetParser(text, key);
950
+ }
951
+ };
952
+ }
953
+ function listConfigTask(scope) {
954
+ const commands = ["config", "--list", "--show-origin", "--null"];
955
+ if (scope) {
956
+ commands.push(`--${scope}`);
957
+ }
958
+ return {
959
+ commands,
960
+ format: "utf-8",
961
+ parser(text) {
962
+ return configListParser(text);
963
+ }
964
+ };
965
+ }
966
+ function config_default() {
967
+ return {
968
+ addConfig(key, value, ...rest) {
969
+ return this._runTask(
970
+ addConfigTask(
971
+ key,
972
+ value,
973
+ rest[0] === true,
974
+ asConfigScope(rest[1], "local" /* local */)
975
+ ),
976
+ trailingFunctionArgument(arguments)
977
+ );
978
+ },
979
+ getConfig(key, scope) {
980
+ return this._runTask(
981
+ getConfigTask(key, asConfigScope(scope, void 0)),
982
+ trailingFunctionArgument(arguments)
983
+ );
984
+ },
985
+ listConfig(...rest) {
986
+ return this._runTask(
987
+ listConfigTask(asConfigScope(rest[0], void 0)),
988
+ trailingFunctionArgument(arguments)
989
+ );
990
+ }
991
+ };
992
+ }
993
+ var GitConfigScope;
994
+ var init_config = __esm({
995
+ "src/lib/tasks/config.ts"() {
996
+ "use strict";
997
+ init_ConfigList();
998
+ init_utils();
999
+ GitConfigScope = /* @__PURE__ */ ((GitConfigScope2) => {
1000
+ GitConfigScope2["system"] = "system";
1001
+ GitConfigScope2["global"] = "global";
1002
+ GitConfigScope2["local"] = "local";
1003
+ GitConfigScope2["worktree"] = "worktree";
1004
+ return GitConfigScope2;
1005
+ })(GitConfigScope || {});
1006
+ }
1007
+ });
1008
+
1009
+ // src/lib/tasks/diff-name-status.ts
1010
+ function isDiffNameStatus(input) {
1011
+ return diffNameStatus.has(input);
1012
+ }
1013
+ var DiffNameStatus, diffNameStatus;
1014
+ var init_diff_name_status = __esm({
1015
+ "src/lib/tasks/diff-name-status.ts"() {
1016
+ "use strict";
1017
+ DiffNameStatus = /* @__PURE__ */ ((DiffNameStatus2) => {
1018
+ DiffNameStatus2["ADDED"] = "A";
1019
+ DiffNameStatus2["COPIED"] = "C";
1020
+ DiffNameStatus2["DELETED"] = "D";
1021
+ DiffNameStatus2["MODIFIED"] = "M";
1022
+ DiffNameStatus2["RENAMED"] = "R";
1023
+ DiffNameStatus2["CHANGED"] = "T";
1024
+ DiffNameStatus2["UNMERGED"] = "U";
1025
+ DiffNameStatus2["UNKNOWN"] = "X";
1026
+ DiffNameStatus2["BROKEN"] = "B";
1027
+ return DiffNameStatus2;
1028
+ })(DiffNameStatus || {});
1029
+ diffNameStatus = new Set(Object.values(DiffNameStatus));
1030
+ }
1031
+ });
1032
+
1033
+ // src/lib/tasks/grep.ts
1034
+ function grepQueryBuilder(...params) {
1035
+ return new GrepQuery().param(...params);
1036
+ }
1037
+ function parseGrep(grep) {
1038
+ const paths = /* @__PURE__ */ new Set();
1039
+ const results = {};
1040
+ forEachLineWithContent(grep, (input) => {
1041
+ const [path, line, preview] = input.split(NULL);
1042
+ paths.add(path);
1043
+ (results[path] = results[path] || []).push({
1044
+ line: asNumber(line),
1045
+ path,
1046
+ preview
1047
+ });
1048
+ });
1049
+ return {
1050
+ paths,
1051
+ results
1052
+ };
1053
+ }
1054
+ function grep_default() {
1055
+ return {
1056
+ grep(searchTerm) {
1057
+ const then = trailingFunctionArgument(arguments);
1058
+ const options = getTrailingOptions(arguments);
1059
+ for (const option of disallowedOptions) {
1060
+ if (options.includes(option)) {
1061
+ return this._runTask(
1062
+ configurationErrorTask(`git.grep: use of "${option}" is not supported.`),
1063
+ then
1064
+ );
1065
+ }
1066
+ }
1067
+ if (typeof searchTerm === "string") {
1068
+ searchTerm = grepQueryBuilder().param(searchTerm);
1069
+ }
1070
+ const commands = ["grep", "--null", "-n", "--full-name", ...options, ...searchTerm];
1071
+ return this._runTask(
1072
+ {
1073
+ commands,
1074
+ format: "utf-8",
1075
+ parser(stdOut) {
1076
+ return parseGrep(stdOut);
1077
+ }
1078
+ },
1079
+ then
1080
+ );
1081
+ }
1082
+ };
1083
+ }
1084
+ var disallowedOptions, Query, _a, GrepQuery;
1085
+ var init_grep = __esm({
1086
+ "src/lib/tasks/grep.ts"() {
1087
+ "use strict";
1088
+ init_utils();
1089
+ init_task();
1090
+ disallowedOptions = ["-h"];
1091
+ Query = Symbol("grepQuery");
1092
+ GrepQuery = class {
1093
+ constructor() {
1094
+ this[_a] = [];
1095
+ }
1096
+ *[(_a = Query, Symbol.iterator)]() {
1097
+ for (const query of this[Query]) {
1098
+ yield query;
1099
+ }
1100
+ }
1101
+ and(...and) {
1102
+ and.length && this[Query].push("--and", "(", ...prefixedArray(and, "-e"), ")");
1103
+ return this;
1104
+ }
1105
+ param(...param) {
1106
+ this[Query].push(...prefixedArray(param, "-e"));
1107
+ return this;
1108
+ }
1109
+ };
1110
+ }
1111
+ });
1112
+
1113
+ // src/lib/tasks/reset.ts
1114
+ var reset_exports = {};
1115
+ __export(reset_exports, {
1116
+ ResetMode: () => ResetMode,
1117
+ getResetMode: () => getResetMode,
1118
+ resetTask: () => resetTask
1119
+ });
1120
+ function resetTask(mode, customArgs) {
1121
+ const commands = ["reset"];
1122
+ if (isValidResetMode(mode)) {
1123
+ commands.push(`--${mode}`);
1124
+ }
1125
+ commands.push(...customArgs);
1126
+ return straightThroughStringTask(commands);
1127
+ }
1128
+ function getResetMode(mode) {
1129
+ if (isValidResetMode(mode)) {
1130
+ return mode;
1131
+ }
1132
+ switch (typeof mode) {
1133
+ case "string":
1134
+ case "undefined":
1135
+ return "soft" /* SOFT */;
1136
+ }
1137
+ return;
1138
+ }
1139
+ function isValidResetMode(mode) {
1140
+ return ResetModes.includes(mode);
1141
+ }
1142
+ var ResetMode, ResetModes;
1143
+ var init_reset = __esm({
1144
+ "src/lib/tasks/reset.ts"() {
1145
+ "use strict";
1146
+ init_task();
1147
+ ResetMode = /* @__PURE__ */ ((ResetMode2) => {
1148
+ ResetMode2["MIXED"] = "mixed";
1149
+ ResetMode2["SOFT"] = "soft";
1150
+ ResetMode2["HARD"] = "hard";
1151
+ ResetMode2["MERGE"] = "merge";
1152
+ ResetMode2["KEEP"] = "keep";
1153
+ return ResetMode2;
1154
+ })(ResetMode || {});
1155
+ ResetModes = Array.from(Object.values(ResetMode));
1156
+ }
1157
+ });
1158
+
1159
+ // src/lib/api.ts
1160
+ var api_exports = {};
1161
+ __export(api_exports, {
1162
+ CheckRepoActions: () => CheckRepoActions,
1163
+ CleanOptions: () => CleanOptions,
1164
+ DiffNameStatus: () => DiffNameStatus,
1165
+ GitConfigScope: () => GitConfigScope,
1166
+ GitConstructError: () => GitConstructError,
1167
+ GitError: () => GitError,
1168
+ GitPluginError: () => GitPluginError,
1169
+ GitResponseError: () => GitResponseError,
1170
+ ResetMode: () => ResetMode,
1171
+ TaskConfigurationError: () => TaskConfigurationError,
1172
+ grepQueryBuilder: () => grepQueryBuilder,
1173
+ pathspec: () => pathspec
1174
+ });
1175
+ var init_api = __esm({
1176
+ "src/lib/api.ts"() {
1177
+ "use strict";
1178
+ init_pathspec();
1179
+ init_git_construct_error();
1180
+ init_git_error();
1181
+ init_git_plugin_error();
1182
+ init_git_response_error();
1183
+ init_task_configuration_error();
1184
+ init_check_is_repo();
1185
+ init_clean();
1186
+ init_config();
1187
+ init_diff_name_status();
1188
+ init_grep();
1189
+ init_reset();
1190
+ }
1191
+ });
1192
+
1193
+ // src/lib/plugins/abort-plugin.ts
1194
+ function abortPlugin(signal) {
1195
+ if (!signal) {
1196
+ return;
1197
+ }
1198
+ const onSpawnAfter = {
1199
+ type: "spawn.after",
1200
+ action(_data, context) {
1201
+ function kill() {
1202
+ context.kill(new GitPluginError(void 0, "abort", "Abort signal received"));
1203
+ }
1204
+ signal.addEventListener("abort", kill);
1205
+ context.spawned.on("close", () => signal.removeEventListener("abort", kill));
1206
+ }
1207
+ };
1208
+ const onSpawnBefore = {
1209
+ type: "spawn.before",
1210
+ action(_data, context) {
1211
+ if (signal.aborted) {
1212
+ context.kill(new GitPluginError(void 0, "abort", "Abort already signaled"));
1213
+ }
1214
+ }
1215
+ };
1216
+ return [onSpawnBefore, onSpawnAfter];
1217
+ }
1218
+ var init_abort_plugin = __esm({
1219
+ "src/lib/plugins/abort-plugin.ts"() {
1220
+ "use strict";
1221
+ init_git_plugin_error();
1222
+ }
1223
+ });
1224
+
1225
+ // src/lib/plugins/block-unsafe-operations-plugin.ts
1226
+ function isConfigSwitch(arg) {
1227
+ return typeof arg === "string" && arg.trim().toLowerCase() === "-c";
1228
+ }
1229
+ function preventProtocolOverride(arg, next) {
1230
+ if (!isConfigSwitch(arg)) {
1231
+ return;
1232
+ }
1233
+ if (!/^\s*protocol(.[a-z]+)?.allow/.test(next)) {
1234
+ return;
1235
+ }
1236
+ throw new GitPluginError(
1237
+ void 0,
1238
+ "unsafe",
1239
+ "Configuring protocol.allow is not permitted without enabling allowUnsafeExtProtocol"
1240
+ );
1241
+ }
1242
+ function preventUploadPack(arg, method) {
1243
+ if (/^\s*--(upload|receive)-pack/.test(arg)) {
1244
+ throw new GitPluginError(
1245
+ void 0,
1246
+ "unsafe",
1247
+ `Use of --upload-pack or --receive-pack is not permitted without enabling allowUnsafePack`
1248
+ );
1249
+ }
1250
+ if (method === "clone" && /^\s*-u\b/.test(arg)) {
1251
+ throw new GitPluginError(
1252
+ void 0,
1253
+ "unsafe",
1254
+ `Use of clone with option -u is not permitted without enabling allowUnsafePack`
1255
+ );
1256
+ }
1257
+ if (method === "push" && /^\s*--exec\b/.test(arg)) {
1258
+ throw new GitPluginError(
1259
+ void 0,
1260
+ "unsafe",
1261
+ `Use of push with option --exec is not permitted without enabling allowUnsafePack`
1262
+ );
1263
+ }
1264
+ }
1265
+ function blockUnsafeOperationsPlugin({
1266
+ allowUnsafeProtocolOverride = false,
1267
+ allowUnsafePack = false
1268
+ } = {}) {
1269
+ return {
1270
+ type: "spawn.args",
1271
+ action(args, context) {
1272
+ args.forEach((current, index) => {
1273
+ const next = index < args.length ? args[index + 1] : "";
1274
+ allowUnsafeProtocolOverride || preventProtocolOverride(current, next);
1275
+ allowUnsafePack || preventUploadPack(current, context.method);
1276
+ });
1277
+ return args;
1278
+ }
1279
+ };
1280
+ }
1281
+ var init_block_unsafe_operations_plugin = __esm({
1282
+ "src/lib/plugins/block-unsafe-operations-plugin.ts"() {
1283
+ "use strict";
1284
+ init_git_plugin_error();
1285
+ }
1286
+ });
1287
+
1288
+ // src/lib/plugins/command-config-prefixing-plugin.ts
1289
+ function commandConfigPrefixingPlugin(configuration) {
1290
+ const prefix = prefixedArray(configuration, "-c");
1291
+ return {
1292
+ type: "spawn.args",
1293
+ action(data) {
1294
+ return [...prefix, ...data];
1295
+ }
1296
+ };
1297
+ }
1298
+ var init_command_config_prefixing_plugin = __esm({
1299
+ "src/lib/plugins/command-config-prefixing-plugin.ts"() {
1300
+ "use strict";
1301
+ init_utils();
1302
+ }
1303
+ });
1304
+
1305
+ // src/lib/plugins/completion-detection.plugin.ts
1306
+ function completionDetectionPlugin({
1307
+ onClose = true,
1308
+ onExit = 50
1309
+ } = {}) {
1310
+ function createEvents() {
1311
+ let exitCode = -1;
1312
+ const events = {
1313
+ close: (0, import_promise_deferred.deferred)(),
1314
+ closeTimeout: (0, import_promise_deferred.deferred)(),
1315
+ exit: (0, import_promise_deferred.deferred)(),
1316
+ exitTimeout: (0, import_promise_deferred.deferred)()
1317
+ };
1318
+ const result = Promise.race([
1319
+ onClose === false ? never : events.closeTimeout.promise,
1320
+ onExit === false ? never : events.exitTimeout.promise
1321
+ ]);
1322
+ configureTimeout(onClose, events.close, events.closeTimeout);
1323
+ configureTimeout(onExit, events.exit, events.exitTimeout);
1324
+ return {
1325
+ close(code) {
1326
+ exitCode = code;
1327
+ events.close.done();
1328
+ },
1329
+ exit(code) {
1330
+ exitCode = code;
1331
+ events.exit.done();
1332
+ },
1333
+ get exitCode() {
1334
+ return exitCode;
1335
+ },
1336
+ result
1337
+ };
1338
+ }
1339
+ function configureTimeout(flag, event, timeout) {
1340
+ if (flag === false) {
1341
+ return;
1342
+ }
1343
+ (flag === true ? event.promise : event.promise.then(() => delay(flag))).then(timeout.done);
1344
+ }
1345
+ return {
1346
+ type: "spawn.after",
1347
+ action(_0, _1) {
1348
+ return __async(this, arguments, function* (_data, { spawned, close }) {
1349
+ var _a3, _b;
1350
+ const events = createEvents();
1351
+ let deferClose = true;
1352
+ let quickClose = () => void (deferClose = false);
1353
+ (_a3 = spawned.stdout) == null ? void 0 : _a3.on("data", quickClose);
1354
+ (_b = spawned.stderr) == null ? void 0 : _b.on("data", quickClose);
1355
+ spawned.on("error", quickClose);
1356
+ spawned.on("close", (code) => events.close(code));
1357
+ spawned.on("exit", (code) => events.exit(code));
1358
+ try {
1359
+ yield events.result;
1360
+ if (deferClose) {
1361
+ yield delay(50);
1362
+ }
1363
+ close(events.exitCode);
1364
+ } catch (err) {
1365
+ close(events.exitCode, err);
1366
+ }
1367
+ });
1368
+ }
1369
+ };
1370
+ }
1371
+ var import_promise_deferred, never;
1372
+ var init_completion_detection_plugin = __esm({
1373
+ "src/lib/plugins/completion-detection.plugin.ts"() {
1374
+ "use strict";
1375
+ import_promise_deferred = require("@kwsites/promise-deferred");
1376
+ init_utils();
1377
+ never = (0, import_promise_deferred.deferred)().promise;
1378
+ }
1379
+ });
1380
+
1381
+ // src/lib/plugins/custom-binary.plugin.ts
1382
+ function isBadArgument(arg) {
1383
+ return !arg || !/^([a-z]:)?([a-z0-9/.\\_-]+)$/i.test(arg);
1384
+ }
1385
+ function toBinaryConfig(input, allowUnsafe) {
1386
+ if (input.length < 1 || input.length > 2) {
1387
+ throw new GitPluginError(void 0, "binary", WRONG_NUMBER_ERR);
1388
+ }
1389
+ const isBad = input.some(isBadArgument);
1390
+ if (isBad) {
1391
+ if (allowUnsafe) {
1392
+ console.warn(WRONG_CHARS_ERR);
1393
+ } else {
1394
+ throw new GitPluginError(void 0, "binary", WRONG_CHARS_ERR);
1395
+ }
1396
+ }
1397
+ const [binary, prefix] = input;
1398
+ return {
1399
+ binary,
1400
+ prefix
1401
+ };
1402
+ }
1403
+ function customBinaryPlugin(plugins, input = ["git"], allowUnsafe = false) {
1404
+ let config = toBinaryConfig(asArray(input), allowUnsafe);
1405
+ plugins.on("binary", (input2) => {
1406
+ config = toBinaryConfig(asArray(input2), allowUnsafe);
1407
+ });
1408
+ plugins.append("spawn.binary", () => {
1409
+ return config.binary;
1410
+ });
1411
+ plugins.append("spawn.args", (data) => {
1412
+ return config.prefix ? [config.prefix, ...data] : data;
1413
+ });
1414
+ }
1415
+ var WRONG_NUMBER_ERR, WRONG_CHARS_ERR;
1416
+ var init_custom_binary_plugin = __esm({
1417
+ "src/lib/plugins/custom-binary.plugin.ts"() {
1418
+ "use strict";
1419
+ init_git_plugin_error();
1420
+ init_utils();
1421
+ WRONG_NUMBER_ERR = `Invalid value supplied for custom binary, requires a single string or an array containing either one or two strings`;
1422
+ WRONG_CHARS_ERR = `Invalid value supplied for custom binary, restricted characters must be removed or supply the unsafe.allowUnsafeCustomBinary option`;
1423
+ }
1424
+ });
1425
+
1426
+ // src/lib/plugins/error-detection.plugin.ts
1427
+ function isTaskError(result) {
1428
+ return !!(result.exitCode && result.stdErr.length);
1429
+ }
1430
+ function getErrorMessage(result) {
1431
+ return Buffer.concat([...result.stdOut, ...result.stdErr]);
1432
+ }
1433
+ function errorDetectionHandler(overwrite = false, isError = isTaskError, errorMessage = getErrorMessage) {
1434
+ return (error, result) => {
1435
+ if (!overwrite && error || !isError(result)) {
1436
+ return error;
1437
+ }
1438
+ return errorMessage(result);
1439
+ };
1440
+ }
1441
+ function errorDetectionPlugin(config) {
1442
+ return {
1443
+ type: "task.error",
1444
+ action(data, context) {
1445
+ const error = config(data.error, {
1446
+ stdErr: context.stdErr,
1447
+ stdOut: context.stdOut,
1448
+ exitCode: context.exitCode
1449
+ });
1450
+ if (Buffer.isBuffer(error)) {
1451
+ return { error: new GitError(void 0, error.toString("utf-8")) };
1452
+ }
1453
+ return {
1454
+ error
1455
+ };
1456
+ }
1457
+ };
1458
+ }
1459
+ var init_error_detection_plugin = __esm({
1460
+ "src/lib/plugins/error-detection.plugin.ts"() {
1461
+ "use strict";
1462
+ init_git_error();
1463
+ }
1464
+ });
1465
+
1466
+ // src/lib/plugins/plugin-store.ts
1467
+ var import_node_events, PluginStore;
1468
+ var init_plugin_store = __esm({
1469
+ "src/lib/plugins/plugin-store.ts"() {
1470
+ "use strict";
1471
+ import_node_events = require("node:events");
1472
+ init_utils();
1473
+ PluginStore = class {
1474
+ constructor() {
1475
+ this.plugins = /* @__PURE__ */ new Set();
1476
+ this.events = new import_node_events.EventEmitter();
1477
+ }
1478
+ on(type, listener) {
1479
+ this.events.on(type, listener);
1480
+ }
1481
+ reconfigure(type, data) {
1482
+ this.events.emit(type, data);
1483
+ }
1484
+ append(type, action) {
1485
+ const plugin = append(this.plugins, { type, action });
1486
+ return () => this.plugins.delete(plugin);
1487
+ }
1488
+ add(plugin) {
1489
+ const plugins = [];
1490
+ asArray(plugin).forEach((plugin2) => plugin2 && this.plugins.add(append(plugins, plugin2)));
1491
+ return () => {
1492
+ plugins.forEach((plugin2) => this.plugins.delete(plugin2));
1493
+ };
1494
+ }
1495
+ exec(type, data, context) {
1496
+ let output = data;
1497
+ const contextual = Object.freeze(Object.create(context));
1498
+ for (const plugin of this.plugins) {
1499
+ if (plugin.type === type) {
1500
+ output = plugin.action(output, contextual);
1501
+ }
1502
+ }
1503
+ return output;
1504
+ }
1505
+ };
1506
+ }
1507
+ });
1508
+
1509
+ // src/lib/plugins/progress-monitor-plugin.ts
1510
+ function progressMonitorPlugin(progress) {
1511
+ const progressCommand = "--progress";
1512
+ const progressMethods = ["checkout", "clone", "fetch", "pull", "push"];
1513
+ const onProgress = {
1514
+ type: "spawn.after",
1515
+ action(_data, context) {
1516
+ var _a2;
1517
+ if (!context.commands.includes(progressCommand)) {
1518
+ return;
1519
+ }
1520
+ (_a2 = context.spawned.stderr) == null ? void 0 : _a2.on("data", (chunk) => {
1521
+ const message = /^([\s\S]+?):\s*(\d+)% \((\d+)\/(\d+)\)/.exec(chunk.toString("utf8"));
1522
+ if (!message) {
1523
+ return;
1524
+ }
1525
+ progress({
1526
+ method: context.method,
1527
+ stage: progressEventStage(message[1]),
1528
+ progress: asNumber(message[2]),
1529
+ processed: asNumber(message[3]),
1530
+ total: asNumber(message[4])
1531
+ });
1532
+ });
1533
+ }
1534
+ };
1535
+ const onArgs = {
1536
+ type: "spawn.args",
1537
+ action(args, context) {
1538
+ if (!progressMethods.includes(context.method)) {
1539
+ return args;
1540
+ }
1541
+ return including(args, progressCommand);
1542
+ }
1543
+ };
1544
+ return [onArgs, onProgress];
1545
+ }
1546
+ function progressEventStage(input) {
1547
+ return String(input.toLowerCase().split(" ", 1)) || "unknown";
1548
+ }
1549
+ var init_progress_monitor_plugin = __esm({
1550
+ "src/lib/plugins/progress-monitor-plugin.ts"() {
1551
+ "use strict";
1552
+ init_utils();
1553
+ }
1554
+ });
1555
+
1556
+ // src/lib/plugins/simple-git-plugin.ts
1557
+ var init_simple_git_plugin = __esm({
1558
+ "src/lib/plugins/simple-git-plugin.ts"() {
1559
+ "use strict";
1560
+ }
1561
+ });
1562
+
1563
+ // src/lib/plugins/spawn-options-plugin.ts
1564
+ function spawnOptionsPlugin(spawnOptions) {
1565
+ const options = pick(spawnOptions, ["uid", "gid"]);
1566
+ return {
1567
+ type: "spawn.options",
1568
+ action(data) {
1569
+ return __spreadValues(__spreadValues({}, options), data);
1570
+ }
1571
+ };
1572
+ }
1573
+ var init_spawn_options_plugin = __esm({
1574
+ "src/lib/plugins/spawn-options-plugin.ts"() {
1575
+ "use strict";
1576
+ init_utils();
1577
+ }
1578
+ });
1579
+
1580
+ // src/lib/plugins/timout-plugin.ts
1581
+ function timeoutPlugin({
1582
+ block,
1583
+ stdErr = true,
1584
+ stdOut = true
1585
+ }) {
1586
+ if (block > 0) {
1587
+ return {
1588
+ type: "spawn.after",
1589
+ action(_data, context) {
1590
+ var _a2, _b;
1591
+ let timeout;
1592
+ function wait() {
1593
+ timeout && clearTimeout(timeout);
1594
+ timeout = setTimeout(kill, block);
1595
+ }
1596
+ function stop() {
1597
+ var _a3, _b2;
1598
+ (_a3 = context.spawned.stdout) == null ? void 0 : _a3.off("data", wait);
1599
+ (_b2 = context.spawned.stderr) == null ? void 0 : _b2.off("data", wait);
1600
+ context.spawned.off("exit", stop);
1601
+ context.spawned.off("close", stop);
1602
+ timeout && clearTimeout(timeout);
1603
+ }
1604
+ function kill() {
1605
+ stop();
1606
+ context.kill(new GitPluginError(void 0, "timeout", `block timeout reached`));
1607
+ }
1608
+ stdOut && ((_a2 = context.spawned.stdout) == null ? void 0 : _a2.on("data", wait));
1609
+ stdErr && ((_b = context.spawned.stderr) == null ? void 0 : _b.on("data", wait));
1610
+ context.spawned.on("exit", stop);
1611
+ context.spawned.on("close", stop);
1612
+ wait();
1613
+ }
1614
+ };
1615
+ }
1616
+ }
1617
+ var init_timout_plugin = __esm({
1618
+ "src/lib/plugins/timout-plugin.ts"() {
1619
+ "use strict";
1620
+ init_git_plugin_error();
1621
+ }
1622
+ });
1623
+
1624
+ // src/lib/plugins/index.ts
1625
+ var init_plugins = __esm({
1626
+ "src/lib/plugins/index.ts"() {
1627
+ "use strict";
1628
+ init_abort_plugin();
1629
+ init_block_unsafe_operations_plugin();
1630
+ init_command_config_prefixing_plugin();
1631
+ init_completion_detection_plugin();
1632
+ init_custom_binary_plugin();
1633
+ init_error_detection_plugin();
1634
+ init_plugin_store();
1635
+ init_progress_monitor_plugin();
1636
+ init_simple_git_plugin();
1637
+ init_spawn_options_plugin();
1638
+ init_timout_plugin();
1639
+ }
1640
+ });
1641
+
1642
+ // src/lib/plugins/suffix-paths.plugin.ts
1643
+ function suffixPathsPlugin() {
1644
+ return {
1645
+ type: "spawn.args",
1646
+ action(data) {
1647
+ const prefix = [];
1648
+ let suffix;
1649
+ function append2(args) {
1650
+ (suffix = suffix || []).push(...args);
1651
+ }
1652
+ for (let i = 0; i < data.length; i++) {
1653
+ const param = data[i];
1654
+ if (isPathSpec(param)) {
1655
+ append2(toPaths(param));
1656
+ continue;
1657
+ }
1658
+ if (param === "--") {
1659
+ append2(
1660
+ data.slice(i + 1).flatMap((item) => isPathSpec(item) && toPaths(item) || item)
1661
+ );
1662
+ break;
1663
+ }
1664
+ prefix.push(param);
1665
+ }
1666
+ return !suffix ? prefix : [...prefix, "--", ...suffix.map(String)];
1667
+ }
1668
+ };
1669
+ }
1670
+ var init_suffix_paths_plugin = __esm({
1671
+ "src/lib/plugins/suffix-paths.plugin.ts"() {
1672
+ "use strict";
1673
+ init_pathspec();
1674
+ }
1675
+ });
1676
+
1677
+ // src/lib/git-logger.ts
1678
+ function createLog() {
1679
+ return (0, import_debug.default)("simple-git");
1680
+ }
1681
+ function prefixedLogger(to, prefix, forward) {
1682
+ if (!prefix || !String(prefix).replace(/\s*/, "")) {
1683
+ return !forward ? to : (message, ...args) => {
1684
+ to(message, ...args);
1685
+ forward(message, ...args);
1686
+ };
1687
+ }
1688
+ return (message, ...args) => {
1689
+ to(`%s ${message}`, prefix, ...args);
1690
+ if (forward) {
1691
+ forward(message, ...args);
1692
+ }
1693
+ };
1694
+ }
1695
+ function childLoggerName(name, childDebugger, { namespace: parentNamespace }) {
1696
+ if (typeof name === "string") {
1697
+ return name;
1698
+ }
1699
+ const childNamespace = childDebugger && childDebugger.namespace || "";
1700
+ if (childNamespace.startsWith(parentNamespace)) {
1701
+ return childNamespace.substr(parentNamespace.length + 1);
1702
+ }
1703
+ return childNamespace || parentNamespace;
1704
+ }
1705
+ function createLogger(label, verbose, initialStep, infoDebugger = createLog()) {
1706
+ const labelPrefix = label && `[${label}]` || "";
1707
+ const spawned = [];
1708
+ const debugDebugger = typeof verbose === "string" ? infoDebugger.extend(verbose) : verbose;
1709
+ const key = childLoggerName(filterType(verbose, filterString), debugDebugger, infoDebugger);
1710
+ return step(initialStep);
1711
+ function sibling(name, initial) {
1712
+ return append(
1713
+ spawned,
1714
+ createLogger(label, key.replace(/^[^:]+/, name), initial, infoDebugger)
1715
+ );
1716
+ }
1717
+ function step(phase) {
1718
+ const stepPrefix = phase && `[${phase}]` || "";
1719
+ const debug2 = debugDebugger && prefixedLogger(debugDebugger, stepPrefix) || NOOP;
1720
+ const info = prefixedLogger(infoDebugger, `${labelPrefix} ${stepPrefix}`, debug2);
1721
+ return Object.assign(debugDebugger ? debug2 : info, {
1722
+ label,
1723
+ sibling,
1724
+ info,
1725
+ step
1726
+ });
1727
+ }
1728
+ }
1729
+ var import_debug;
1730
+ var init_git_logger = __esm({
1731
+ "src/lib/git-logger.ts"() {
1732
+ "use strict";
1733
+ import_debug = __toESM(require("debug"));
1734
+ init_utils();
1735
+ import_debug.default.formatters.L = (value) => String(filterHasLength(value) ? value.length : "-");
1736
+ import_debug.default.formatters.B = (value) => {
1737
+ if (Buffer.isBuffer(value)) {
1738
+ return value.toString("utf8");
1739
+ }
1740
+ return objectToString(value);
1741
+ };
1742
+ }
1743
+ });
1744
+
1745
+ // src/lib/runners/tasks-pending-queue.ts
1746
+ var _TasksPendingQueue, TasksPendingQueue;
1747
+ var init_tasks_pending_queue = __esm({
1748
+ "src/lib/runners/tasks-pending-queue.ts"() {
1749
+ "use strict";
1750
+ init_git_error();
1751
+ init_git_logger();
1752
+ _TasksPendingQueue = class {
1753
+ constructor(logLabel = "GitExecutor") {
1754
+ this.logLabel = logLabel;
1755
+ this._queue = /* @__PURE__ */ new Map();
1756
+ }
1757
+ withProgress(task) {
1758
+ return this._queue.get(task);
1759
+ }
1760
+ createProgress(task) {
1761
+ const name = _TasksPendingQueue.getName(task.commands[0]);
1762
+ const logger = createLogger(this.logLabel, name);
1763
+ return {
1764
+ task,
1765
+ logger,
1766
+ name
1767
+ };
1768
+ }
1769
+ push(task) {
1770
+ const progress = this.createProgress(task);
1771
+ progress.logger("Adding task to the queue, commands = %o", task.commands);
1772
+ this._queue.set(task, progress);
1773
+ return progress;
1774
+ }
1775
+ fatal(err) {
1776
+ for (const [task, { logger }] of Array.from(this._queue.entries())) {
1777
+ if (task === err.task) {
1778
+ logger.info(`Failed %o`, err);
1779
+ logger(
1780
+ `Fatal exception, any as-yet un-started tasks run through this executor will not be attempted`
1781
+ );
1782
+ } else {
1783
+ logger.info(
1784
+ `A fatal exception occurred in a previous task, the queue has been purged: %o`,
1785
+ err.message
1786
+ );
1787
+ }
1788
+ this.complete(task);
1789
+ }
1790
+ if (this._queue.size !== 0) {
1791
+ throw new Error(`Queue size should be zero after fatal: ${this._queue.size}`);
1792
+ }
1793
+ }
1794
+ complete(task) {
1795
+ const progress = this.withProgress(task);
1796
+ if (progress) {
1797
+ this._queue.delete(task);
1798
+ }
1799
+ }
1800
+ attempt(task) {
1801
+ const progress = this.withProgress(task);
1802
+ if (!progress) {
1803
+ throw new GitError(void 0, "TasksPendingQueue: attempt called for an unknown task");
1804
+ }
1805
+ progress.logger("Starting task");
1806
+ return progress;
1807
+ }
1808
+ static getName(name = "empty") {
1809
+ return `task:${name}:${++_TasksPendingQueue.counter}`;
1810
+ }
1811
+ };
1812
+ TasksPendingQueue = _TasksPendingQueue;
1813
+ TasksPendingQueue.counter = 0;
1814
+ }
1815
+ });
1816
+
1817
+ // src/lib/runners/git-executor-chain.ts
1818
+ function pluginContext(task, commands) {
1819
+ return {
1820
+ method: first(task.commands) || "",
1821
+ commands
1822
+ };
1823
+ }
1824
+ function onErrorReceived(target, logger) {
1825
+ return (err) => {
1826
+ logger(`[ERROR] child process exception %o`, err);
1827
+ target.push(Buffer.from(String(err.stack), "ascii"));
1828
+ };
1829
+ }
1830
+ function onDataReceived(target, name, logger, output) {
1831
+ return (buffer) => {
1832
+ logger(`%s received %L bytes`, name, buffer);
1833
+ output(`%B`, buffer);
1834
+ target.push(buffer);
1835
+ };
1836
+ }
1837
+ var import_child_process, GitExecutorChain;
1838
+ var init_git_executor_chain = __esm({
1839
+ "src/lib/runners/git-executor-chain.ts"() {
1840
+ "use strict";
1841
+ import_child_process = require("child_process");
1842
+ init_git_error();
1843
+ init_task();
1844
+ init_utils();
1845
+ init_tasks_pending_queue();
1846
+ GitExecutorChain = class {
1847
+ constructor(_executor, _scheduler, _plugins) {
1848
+ this._executor = _executor;
1849
+ this._scheduler = _scheduler;
1850
+ this._plugins = _plugins;
1851
+ this._chain = Promise.resolve();
1852
+ this._queue = new TasksPendingQueue();
1853
+ }
1854
+ get cwd() {
1855
+ return this._cwd || this._executor.cwd;
1856
+ }
1857
+ set cwd(cwd) {
1858
+ this._cwd = cwd;
1859
+ }
1860
+ get env() {
1861
+ return this._executor.env;
1862
+ }
1863
+ get outputHandler() {
1864
+ return this._executor.outputHandler;
1865
+ }
1866
+ chain() {
1867
+ return this;
1868
+ }
1869
+ push(task) {
1870
+ this._queue.push(task);
1871
+ return this._chain = this._chain.then(() => this.attemptTask(task));
1872
+ }
1873
+ attemptTask(task) {
1874
+ return __async(this, null, function* () {
1875
+ const onScheduleComplete = yield this._scheduler.next();
1876
+ const onQueueComplete = () => this._queue.complete(task);
1877
+ try {
1878
+ const { logger } = this._queue.attempt(task);
1879
+ return yield isEmptyTask(task) ? this.attemptEmptyTask(task, logger) : this.attemptRemoteTask(task, logger);
1880
+ } catch (e) {
1881
+ throw this.onFatalException(task, e);
1882
+ } finally {
1883
+ onQueueComplete();
1884
+ onScheduleComplete();
1885
+ }
1886
+ });
1887
+ }
1888
+ onFatalException(task, e) {
1889
+ const gitError = e instanceof GitError ? Object.assign(e, { task }) : new GitError(task, e && String(e));
1890
+ this._chain = Promise.resolve();
1891
+ this._queue.fatal(gitError);
1892
+ return gitError;
1893
+ }
1894
+ attemptRemoteTask(task, logger) {
1895
+ return __async(this, null, function* () {
1896
+ const binary = this._plugins.exec("spawn.binary", "", pluginContext(task, task.commands));
1897
+ const args = this._plugins.exec(
1898
+ "spawn.args",
1899
+ [...task.commands],
1900
+ pluginContext(task, task.commands)
1901
+ );
1902
+ const raw = yield this.gitResponse(
1903
+ task,
1904
+ binary,
1905
+ args,
1906
+ this.outputHandler,
1907
+ logger.step("SPAWN")
1908
+ );
1909
+ const outputStreams = yield this.handleTaskData(task, args, raw, logger.step("HANDLE"));
1910
+ logger(`passing response to task's parser as a %s`, task.format);
1911
+ if (isBufferTask(task)) {
1912
+ return callTaskParser(task.parser, outputStreams);
1913
+ }
1914
+ return callTaskParser(task.parser, outputStreams.asStrings());
1915
+ });
1916
+ }
1917
+ attemptEmptyTask(task, logger) {
1918
+ return __async(this, null, function* () {
1919
+ logger(`empty task bypassing child process to call to task's parser`);
1920
+ return task.parser(this);
1921
+ });
1922
+ }
1923
+ handleTaskData(task, args, result, logger) {
1924
+ const { exitCode, rejection, stdOut, stdErr } = result;
1925
+ return new Promise((done, fail) => {
1926
+ logger(`Preparing to handle process response exitCode=%d stdOut=`, exitCode);
1927
+ const { error } = this._plugins.exec(
1928
+ "task.error",
1929
+ { error: rejection },
1930
+ __spreadValues(__spreadValues({}, pluginContext(task, args)), result)
1931
+ );
1932
+ if (error && task.onError) {
1933
+ logger.info(`exitCode=%s handling with custom error handler`);
1934
+ return task.onError(
1935
+ result,
1936
+ error,
1937
+ (newStdOut) => {
1938
+ logger.info(`custom error handler treated as success`);
1939
+ logger(`custom error returned a %s`, objectToString(newStdOut));
1940
+ done(
1941
+ new GitOutputStreams(
1942
+ Array.isArray(newStdOut) ? Buffer.concat(newStdOut) : newStdOut,
1943
+ Buffer.concat(stdErr)
1944
+ )
1945
+ );
1946
+ },
1947
+ fail
1948
+ );
1949
+ }
1950
+ if (error) {
1951
+ logger.info(
1952
+ `handling as error: exitCode=%s stdErr=%s rejection=%o`,
1953
+ exitCode,
1954
+ stdErr.length,
1955
+ rejection
1956
+ );
1957
+ return fail(error);
1958
+ }
1959
+ logger.info(`retrieving task output complete`);
1960
+ done(new GitOutputStreams(Buffer.concat(stdOut), Buffer.concat(stdErr)));
1961
+ });
1962
+ }
1963
+ gitResponse(task, command, args, outputHandler, logger) {
1964
+ return __async(this, null, function* () {
1965
+ const outputLogger = logger.sibling("output");
1966
+ const spawnOptions = this._plugins.exec(
1967
+ "spawn.options",
1968
+ {
1969
+ cwd: this.cwd,
1970
+ env: this.env,
1971
+ windowsHide: true
1972
+ },
1973
+ pluginContext(task, task.commands)
1974
+ );
1975
+ return new Promise((done) => {
1976
+ const stdOut = [];
1977
+ const stdErr = [];
1978
+ logger.info(`%s %o`, command, args);
1979
+ logger("%O", spawnOptions);
1980
+ let rejection = this._beforeSpawn(task, args);
1981
+ if (rejection) {
1982
+ return done({
1983
+ stdOut,
1984
+ stdErr,
1985
+ exitCode: 9901,
1986
+ rejection
1987
+ });
1988
+ }
1989
+ this._plugins.exec("spawn.before", void 0, __spreadProps(__spreadValues({}, pluginContext(task, args)), {
1990
+ kill(reason) {
1991
+ rejection = reason || rejection;
1992
+ }
1993
+ }));
1994
+ const spawned = (0, import_child_process.spawn)(command, args, spawnOptions);
1995
+ spawned.stdout.on(
1996
+ "data",
1997
+ onDataReceived(stdOut, "stdOut", logger, outputLogger.step("stdOut"))
1998
+ );
1999
+ spawned.stderr.on(
2000
+ "data",
2001
+ onDataReceived(stdErr, "stdErr", logger, outputLogger.step("stdErr"))
2002
+ );
2003
+ spawned.on("error", onErrorReceived(stdErr, logger));
2004
+ if (outputHandler) {
2005
+ logger(`Passing child process stdOut/stdErr to custom outputHandler`);
2006
+ outputHandler(command, spawned.stdout, spawned.stderr, [...args]);
2007
+ }
2008
+ this._plugins.exec("spawn.after", void 0, __spreadProps(__spreadValues({}, pluginContext(task, args)), {
2009
+ spawned,
2010
+ close(exitCode, reason) {
2011
+ done({
2012
+ stdOut,
2013
+ stdErr,
2014
+ exitCode,
2015
+ rejection: rejection || reason
2016
+ });
2017
+ },
2018
+ kill(reason) {
2019
+ if (spawned.killed) {
2020
+ return;
2021
+ }
2022
+ rejection = reason;
2023
+ spawned.kill("SIGINT");
2024
+ }
2025
+ }));
2026
+ });
2027
+ });
2028
+ }
2029
+ _beforeSpawn(task, args) {
2030
+ let rejection;
2031
+ this._plugins.exec("spawn.before", void 0, __spreadProps(__spreadValues({}, pluginContext(task, args)), {
2032
+ kill(reason) {
2033
+ rejection = reason || rejection;
2034
+ }
2035
+ }));
2036
+ return rejection;
2037
+ }
2038
+ };
2039
+ }
2040
+ });
2041
+
2042
+ // src/lib/runners/git-executor.ts
2043
+ var git_executor_exports = {};
2044
+ __export(git_executor_exports, {
2045
+ GitExecutor: () => GitExecutor
2046
+ });
2047
+ var GitExecutor;
2048
+ var init_git_executor = __esm({
2049
+ "src/lib/runners/git-executor.ts"() {
2050
+ "use strict";
2051
+ init_git_executor_chain();
2052
+ GitExecutor = class {
2053
+ constructor(cwd, _scheduler, _plugins) {
2054
+ this.cwd = cwd;
2055
+ this._scheduler = _scheduler;
2056
+ this._plugins = _plugins;
2057
+ this._chain = new GitExecutorChain(this, this._scheduler, this._plugins);
2058
+ }
2059
+ chain() {
2060
+ return new GitExecutorChain(this, this._scheduler, this._plugins);
2061
+ }
2062
+ push(task) {
2063
+ return this._chain.push(task);
2064
+ }
2065
+ };
2066
+ }
2067
+ });
2068
+
2069
+ // src/lib/task-callback.ts
2070
+ function taskCallback(task, response, callback = NOOP) {
2071
+ const onSuccess = (data) => {
2072
+ callback(null, data);
2073
+ };
2074
+ const onError2 = (err) => {
2075
+ if ((err == null ? void 0 : err.task) === task) {
2076
+ callback(
2077
+ err instanceof GitResponseError ? addDeprecationNoticeToError(err) : err,
2078
+ void 0
2079
+ );
2080
+ }
2081
+ };
2082
+ response.then(onSuccess, onError2);
2083
+ }
2084
+ function addDeprecationNoticeToError(err) {
2085
+ let log = (name) => {
2086
+ console.warn(
2087
+ `simple-git deprecation notice: accessing GitResponseError.${name} should be GitResponseError.git.${name}, this will no longer be available in version 3`
2088
+ );
2089
+ log = NOOP;
2090
+ };
2091
+ return Object.create(err, Object.getOwnPropertyNames(err.git).reduce(descriptorReducer, {}));
2092
+ function descriptorReducer(all, name) {
2093
+ if (name in err) {
2094
+ return all;
2095
+ }
2096
+ all[name] = {
2097
+ enumerable: false,
2098
+ configurable: false,
2099
+ get() {
2100
+ log(name);
2101
+ return err.git[name];
2102
+ }
2103
+ };
2104
+ return all;
2105
+ }
2106
+ }
2107
+ var init_task_callback = __esm({
2108
+ "src/lib/task-callback.ts"() {
2109
+ "use strict";
2110
+ init_git_response_error();
2111
+ init_utils();
2112
+ }
2113
+ });
2114
+
2115
+ // src/lib/tasks/change-working-directory.ts
2116
+ function changeWorkingDirectoryTask(directory, root) {
2117
+ return adhocExecTask((instance) => {
2118
+ if (!folderExists(directory)) {
2119
+ throw new Error(`Git.cwd: cannot change to non-directory "${directory}"`);
2120
+ }
2121
+ return (root || instance).cwd = directory;
2122
+ });
2123
+ }
2124
+ var init_change_working_directory = __esm({
2125
+ "src/lib/tasks/change-working-directory.ts"() {
2126
+ "use strict";
2127
+ init_utils();
2128
+ init_task();
2129
+ }
2130
+ });
2131
+
2132
+ // src/lib/tasks/checkout.ts
2133
+ function checkoutTask(args) {
2134
+ const commands = ["checkout", ...args];
2135
+ if (commands[1] === "-b" && commands.includes("-B")) {
2136
+ commands[1] = remove(commands, "-B");
2137
+ }
2138
+ return straightThroughStringTask(commands);
2139
+ }
2140
+ function checkout_default() {
2141
+ return {
2142
+ checkout() {
2143
+ return this._runTask(
2144
+ checkoutTask(getTrailingOptions(arguments, 1)),
2145
+ trailingFunctionArgument(arguments)
2146
+ );
2147
+ },
2148
+ checkoutBranch(branchName, startPoint) {
2149
+ return this._runTask(
2150
+ checkoutTask(["-b", branchName, startPoint, ...getTrailingOptions(arguments)]),
2151
+ trailingFunctionArgument(arguments)
2152
+ );
2153
+ },
2154
+ checkoutLocalBranch(branchName) {
2155
+ return this._runTask(
2156
+ checkoutTask(["-b", branchName, ...getTrailingOptions(arguments)]),
2157
+ trailingFunctionArgument(arguments)
2158
+ );
2159
+ }
2160
+ };
2161
+ }
2162
+ var init_checkout = __esm({
2163
+ "src/lib/tasks/checkout.ts"() {
2164
+ "use strict";
2165
+ init_utils();
2166
+ init_task();
2167
+ }
2168
+ });
2169
+
2170
+ // src/lib/tasks/count-objects.ts
2171
+ function countObjectsResponse() {
2172
+ return {
2173
+ count: 0,
2174
+ garbage: 0,
2175
+ inPack: 0,
2176
+ packs: 0,
2177
+ prunePackable: 0,
2178
+ size: 0,
2179
+ sizeGarbage: 0,
2180
+ sizePack: 0
2181
+ };
2182
+ }
2183
+ function count_objects_default() {
2184
+ return {
2185
+ countObjects() {
2186
+ return this._runTask({
2187
+ commands: ["count-objects", "--verbose"],
2188
+ format: "utf-8",
2189
+ parser(stdOut) {
2190
+ return parseStringResponse(countObjectsResponse(), [parser2], stdOut);
2191
+ }
2192
+ });
2193
+ }
2194
+ };
2195
+ }
2196
+ var parser2;
2197
+ var init_count_objects = __esm({
2198
+ "src/lib/tasks/count-objects.ts"() {
2199
+ "use strict";
2200
+ init_utils();
2201
+ parser2 = new LineParser(
2202
+ /([a-z-]+): (\d+)$/,
2203
+ (result, [key, value]) => {
2204
+ const property = asCamelCase(key);
2205
+ if (result.hasOwnProperty(property)) {
2206
+ result[property] = asNumber(value);
2207
+ }
2208
+ }
2209
+ );
2210
+ }
2211
+ });
2212
+
2213
+ // src/lib/parsers/parse-commit.ts
2214
+ function parseCommitResult(stdOut) {
2215
+ const result = {
2216
+ author: null,
2217
+ branch: "",
2218
+ commit: "",
2219
+ root: false,
2220
+ summary: {
2221
+ changes: 0,
2222
+ insertions: 0,
2223
+ deletions: 0
2224
+ }
2225
+ };
2226
+ return parseStringResponse(result, parsers, stdOut);
2227
+ }
2228
+ var parsers;
2229
+ var init_parse_commit = __esm({
2230
+ "src/lib/parsers/parse-commit.ts"() {
2231
+ "use strict";
2232
+ init_utils();
2233
+ parsers = [
2234
+ new LineParser(/^\[([^\s]+)( \([^)]+\))? ([^\]]+)/, (result, [branch, root, commit]) => {
2235
+ result.branch = branch;
2236
+ result.commit = commit;
2237
+ result.root = !!root;
2238
+ }),
2239
+ new LineParser(/\s*Author:\s(.+)/i, (result, [author]) => {
2240
+ const parts = author.split("<");
2241
+ const email = parts.pop();
2242
+ if (!email || !email.includes("@")) {
2243
+ return;
2244
+ }
2245
+ result.author = {
2246
+ email: email.substr(0, email.length - 1),
2247
+ name: parts.join("<").trim()
2248
+ };
2249
+ }),
2250
+ new LineParser(
2251
+ /(\d+)[^,]*(?:,\s*(\d+)[^,]*)(?:,\s*(\d+))/g,
2252
+ (result, [changes, insertions, deletions]) => {
2253
+ result.summary.changes = parseInt(changes, 10) || 0;
2254
+ result.summary.insertions = parseInt(insertions, 10) || 0;
2255
+ result.summary.deletions = parseInt(deletions, 10) || 0;
2256
+ }
2257
+ ),
2258
+ new LineParser(
2259
+ /^(\d+)[^,]*(?:,\s*(\d+)[^(]+\(([+-]))?/,
2260
+ (result, [changes, lines, direction]) => {
2261
+ result.summary.changes = parseInt(changes, 10) || 0;
2262
+ const count = parseInt(lines, 10) || 0;
2263
+ if (direction === "-") {
2264
+ result.summary.deletions = count;
2265
+ } else if (direction === "+") {
2266
+ result.summary.insertions = count;
2267
+ }
2268
+ }
2269
+ )
2270
+ ];
2271
+ }
2272
+ });
2273
+
2274
+ // src/lib/tasks/commit.ts
2275
+ function commitTask(message, files, customArgs) {
2276
+ const commands = [
2277
+ "-c",
2278
+ "core.abbrev=40",
2279
+ "commit",
2280
+ ...prefixedArray(message, "-m"),
2281
+ ...files,
2282
+ ...customArgs
2283
+ ];
2284
+ return {
2285
+ commands,
2286
+ format: "utf-8",
2287
+ parser: parseCommitResult
2288
+ };
2289
+ }
2290
+ function commit_default() {
2291
+ return {
2292
+ commit(message, ...rest) {
2293
+ const next = trailingFunctionArgument(arguments);
2294
+ const task = rejectDeprecatedSignatures(message) || commitTask(
2295
+ asArray(message),
2296
+ asArray(filterType(rest[0], filterStringOrStringArray, [])),
2297
+ [...filterType(rest[1], filterArray, []), ...getTrailingOptions(arguments, 0, true)]
2298
+ );
2299
+ return this._runTask(task, next);
2300
+ }
2301
+ };
2302
+ function rejectDeprecatedSignatures(message) {
2303
+ return !filterStringOrStringArray(message) && configurationErrorTask(
2304
+ `git.commit: requires the commit message to be supplied as a string/string[]`
2305
+ );
2306
+ }
2307
+ }
2308
+ var init_commit = __esm({
2309
+ "src/lib/tasks/commit.ts"() {
2310
+ "use strict";
2311
+ init_parse_commit();
2312
+ init_utils();
2313
+ init_task();
2314
+ }
2315
+ });
2316
+
2317
+ // src/lib/tasks/first-commit.ts
2318
+ function first_commit_default() {
2319
+ return {
2320
+ firstCommit() {
2321
+ return this._runTask(
2322
+ straightThroughStringTask(["rev-list", "--max-parents=0", "HEAD"], true),
2323
+ trailingFunctionArgument(arguments)
2324
+ );
2325
+ }
2326
+ };
2327
+ }
2328
+ var init_first_commit = __esm({
2329
+ "src/lib/tasks/first-commit.ts"() {
2330
+ "use strict";
2331
+ init_utils();
2332
+ init_task();
2333
+ }
2334
+ });
2335
+
2336
+ // src/lib/tasks/hash-object.ts
2337
+ function hashObjectTask(filePath, write) {
2338
+ const commands = ["hash-object", filePath];
2339
+ if (write) {
2340
+ commands.push("-w");
2341
+ }
2342
+ return straightThroughStringTask(commands, true);
2343
+ }
2344
+ var init_hash_object = __esm({
2345
+ "src/lib/tasks/hash-object.ts"() {
2346
+ "use strict";
2347
+ init_task();
2348
+ }
2349
+ });
2350
+
2351
+ // src/lib/responses/InitSummary.ts
2352
+ function parseInit(bare, path, text) {
2353
+ const response = String(text).trim();
2354
+ let result;
2355
+ if (result = initResponseRegex.exec(response)) {
2356
+ return new InitSummary(bare, path, false, result[1]);
2357
+ }
2358
+ if (result = reInitResponseRegex.exec(response)) {
2359
+ return new InitSummary(bare, path, true, result[1]);
2360
+ }
2361
+ let gitDir = "";
2362
+ const tokens = response.split(" ");
2363
+ while (tokens.length) {
2364
+ const token = tokens.shift();
2365
+ if (token === "in") {
2366
+ gitDir = tokens.join(" ");
2367
+ break;
2368
+ }
2369
+ }
2370
+ return new InitSummary(bare, path, /^re/i.test(response), gitDir);
2371
+ }
2372
+ var InitSummary, initResponseRegex, reInitResponseRegex;
2373
+ var init_InitSummary = __esm({
2374
+ "src/lib/responses/InitSummary.ts"() {
2375
+ "use strict";
2376
+ InitSummary = class {
2377
+ constructor(bare, path, existing, gitDir) {
2378
+ this.bare = bare;
2379
+ this.path = path;
2380
+ this.existing = existing;
2381
+ this.gitDir = gitDir;
2382
+ }
2383
+ };
2384
+ initResponseRegex = /^Init.+ repository in (.+)$/;
2385
+ reInitResponseRegex = /^Rein.+ in (.+)$/;
2386
+ }
2387
+ });
2388
+
2389
+ // src/lib/tasks/init.ts
2390
+ function hasBareCommand(command) {
2391
+ return command.includes(bareCommand);
2392
+ }
2393
+ function initTask(bare = false, path, customArgs) {
2394
+ const commands = ["init", ...customArgs];
2395
+ if (bare && !hasBareCommand(commands)) {
2396
+ commands.splice(1, 0, bareCommand);
2397
+ }
2398
+ return {
2399
+ commands,
2400
+ format: "utf-8",
2401
+ parser(text) {
2402
+ return parseInit(commands.includes("--bare"), path, text);
2403
+ }
2404
+ };
2405
+ }
2406
+ var bareCommand;
2407
+ var init_init = __esm({
2408
+ "src/lib/tasks/init.ts"() {
2409
+ "use strict";
2410
+ init_InitSummary();
2411
+ bareCommand = "--bare";
2412
+ }
2413
+ });
2414
+
2415
+ // src/lib/args/log-format.ts
2416
+ function logFormatFromCommand(customArgs) {
2417
+ for (let i = 0; i < customArgs.length; i++) {
2418
+ const format = logFormatRegex.exec(customArgs[i]);
2419
+ if (format) {
2420
+ return `--${format[1]}`;
2421
+ }
2422
+ }
2423
+ return "" /* NONE */;
2424
+ }
2425
+ function isLogFormat(customArg) {
2426
+ return logFormatRegex.test(customArg);
2427
+ }
2428
+ var logFormatRegex;
2429
+ var init_log_format = __esm({
2430
+ "src/lib/args/log-format.ts"() {
2431
+ "use strict";
2432
+ logFormatRegex = /^--(stat|numstat|name-only|name-status)(=|$)/;
2433
+ }
2434
+ });
2435
+
2436
+ // src/lib/responses/DiffSummary.ts
2437
+ var DiffSummary;
2438
+ var init_DiffSummary = __esm({
2439
+ "src/lib/responses/DiffSummary.ts"() {
2440
+ "use strict";
2441
+ DiffSummary = class {
2442
+ constructor() {
2443
+ this.changed = 0;
2444
+ this.deletions = 0;
2445
+ this.insertions = 0;
2446
+ this.files = [];
2447
+ }
2448
+ };
2449
+ }
2450
+ });
2451
+
2452
+ // src/lib/parsers/parse-diff-summary.ts
2453
+ function getDiffParser(format = "" /* NONE */) {
2454
+ const parser4 = diffSummaryParsers[format];
2455
+ return (stdOut) => parseStringResponse(new DiffSummary(), parser4, stdOut, false);
2456
+ }
2457
+ var statParser, numStatParser, nameOnlyParser, nameStatusParser, diffSummaryParsers;
2458
+ var init_parse_diff_summary = __esm({
2459
+ "src/lib/parsers/parse-diff-summary.ts"() {
2460
+ "use strict";
2461
+ init_log_format();
2462
+ init_DiffSummary();
2463
+ init_diff_name_status();
2464
+ init_utils();
2465
+ statParser = [
2466
+ new LineParser(
2467
+ /^(.+)\s+\|\s+(\d+)(\s+[+\-]+)?$/,
2468
+ (result, [file, changes, alterations = ""]) => {
2469
+ result.files.push({
2470
+ file: file.trim(),
2471
+ changes: asNumber(changes),
2472
+ insertions: alterations.replace(/[^+]/g, "").length,
2473
+ deletions: alterations.replace(/[^-]/g, "").length,
2474
+ binary: false
2475
+ });
2476
+ }
2477
+ ),
2478
+ new LineParser(
2479
+ /^(.+) \|\s+Bin ([0-9.]+) -> ([0-9.]+) ([a-z]+)/,
2480
+ (result, [file, before, after]) => {
2481
+ result.files.push({
2482
+ file: file.trim(),
2483
+ before: asNumber(before),
2484
+ after: asNumber(after),
2485
+ binary: true
2486
+ });
2487
+ }
2488
+ ),
2489
+ new LineParser(
2490
+ /(\d+) files? changed\s*((?:, \d+ [^,]+){0,2})/,
2491
+ (result, [changed, summary]) => {
2492
+ const inserted = /(\d+) i/.exec(summary);
2493
+ const deleted = /(\d+) d/.exec(summary);
2494
+ result.changed = asNumber(changed);
2495
+ result.insertions = asNumber(inserted == null ? void 0 : inserted[1]);
2496
+ result.deletions = asNumber(deleted == null ? void 0 : deleted[1]);
2497
+ }
2498
+ )
2499
+ ];
2500
+ numStatParser = [
2501
+ new LineParser(
2502
+ /(\d+)\t(\d+)\t(.+)$/,
2503
+ (result, [changesInsert, changesDelete, file]) => {
2504
+ const insertions = asNumber(changesInsert);
2505
+ const deletions = asNumber(changesDelete);
2506
+ result.changed++;
2507
+ result.insertions += insertions;
2508
+ result.deletions += deletions;
2509
+ result.files.push({
2510
+ file,
2511
+ changes: insertions + deletions,
2512
+ insertions,
2513
+ deletions,
2514
+ binary: false
2515
+ });
2516
+ }
2517
+ ),
2518
+ new LineParser(/-\t-\t(.+)$/, (result, [file]) => {
2519
+ result.changed++;
2520
+ result.files.push({
2521
+ file,
2522
+ after: 0,
2523
+ before: 0,
2524
+ binary: true
2525
+ });
2526
+ })
2527
+ ];
2528
+ nameOnlyParser = [
2529
+ new LineParser(/(.+)$/, (result, [file]) => {
2530
+ result.changed++;
2531
+ result.files.push({
2532
+ file,
2533
+ changes: 0,
2534
+ insertions: 0,
2535
+ deletions: 0,
2536
+ binary: false
2537
+ });
2538
+ })
2539
+ ];
2540
+ nameStatusParser = [
2541
+ new LineParser(
2542
+ /([ACDMRTUXB])([0-9]{0,3})\t(.[^\t]*)(\t(.[^\t]*))?$/,
2543
+ (result, [status, _similarity, from, _to, to]) => {
2544
+ result.changed++;
2545
+ result.files.push({
2546
+ file: to != null ? to : from,
2547
+ changes: 0,
2548
+ status: orVoid(isDiffNameStatus(status) && status),
2549
+ insertions: 0,
2550
+ deletions: 0,
2551
+ binary: false
2552
+ });
2553
+ }
2554
+ )
2555
+ ];
2556
+ diffSummaryParsers = {
2557
+ ["" /* NONE */]: statParser,
2558
+ ["--stat" /* STAT */]: statParser,
2559
+ ["--numstat" /* NUM_STAT */]: numStatParser,
2560
+ ["--name-status" /* NAME_STATUS */]: nameStatusParser,
2561
+ ["--name-only" /* NAME_ONLY */]: nameOnlyParser
2562
+ };
2563
+ }
2564
+ });
2565
+
2566
+ // src/lib/parsers/parse-list-log-summary.ts
2567
+ function lineBuilder(tokens, fields) {
2568
+ return fields.reduce(
2569
+ (line, field, index) => {
2570
+ line[field] = tokens[index] || "";
2571
+ return line;
2572
+ },
2573
+ /* @__PURE__ */ Object.create({ diff: null })
2574
+ );
2575
+ }
2576
+ function createListLogSummaryParser(splitter = SPLITTER, fields = defaultFieldNames, logFormat = "" /* NONE */) {
2577
+ const parseDiffResult = getDiffParser(logFormat);
2578
+ return function(stdOut) {
2579
+ const all = toLinesWithContent(
2580
+ stdOut,
2581
+ true,
2582
+ START_BOUNDARY
2583
+ ).map(function(item) {
2584
+ const lineDetail = item.trim().split(COMMIT_BOUNDARY);
2585
+ const listLogLine = lineBuilder(
2586
+ lineDetail[0].trim().split(splitter),
2587
+ fields
2588
+ );
2589
+ if (lineDetail.length > 1 && !!lineDetail[1].trim()) {
2590
+ listLogLine.diff = parseDiffResult(lineDetail[1]);
2591
+ }
2592
+ return listLogLine;
2593
+ });
2594
+ return {
2595
+ all,
2596
+ latest: all.length && all[0] || null,
2597
+ total: all.length
2598
+ };
2599
+ };
2600
+ }
2601
+ var START_BOUNDARY, COMMIT_BOUNDARY, SPLITTER, defaultFieldNames;
2602
+ var init_parse_list_log_summary = __esm({
2603
+ "src/lib/parsers/parse-list-log-summary.ts"() {
2604
+ "use strict";
2605
+ init_utils();
2606
+ init_parse_diff_summary();
2607
+ init_log_format();
2608
+ START_BOUNDARY = "\xF2\xF2\xF2\xF2\xF2\xF2 ";
2609
+ COMMIT_BOUNDARY = " \xF2\xF2";
2610
+ SPLITTER = " \xF2 ";
2611
+ defaultFieldNames = ["hash", "date", "message", "refs", "author_name", "author_email"];
2612
+ }
2613
+ });
2614
+
2615
+ // src/lib/tasks/diff.ts
2616
+ var diff_exports = {};
2617
+ __export(diff_exports, {
2618
+ diffSummaryTask: () => diffSummaryTask,
2619
+ validateLogFormatConfig: () => validateLogFormatConfig
2620
+ });
2621
+ function diffSummaryTask(customArgs) {
2622
+ let logFormat = logFormatFromCommand(customArgs);
2623
+ const commands = ["diff"];
2624
+ if (logFormat === "" /* NONE */) {
2625
+ logFormat = "--stat" /* STAT */;
2626
+ commands.push("--stat=4096");
2627
+ }
2628
+ commands.push(...customArgs);
2629
+ return validateLogFormatConfig(commands) || {
2630
+ commands,
2631
+ format: "utf-8",
2632
+ parser: getDiffParser(logFormat)
2633
+ };
2634
+ }
2635
+ function validateLogFormatConfig(customArgs) {
2636
+ const flags = customArgs.filter(isLogFormat);
2637
+ if (flags.length > 1) {
2638
+ return configurationErrorTask(
2639
+ `Summary flags are mutually exclusive - pick one of ${flags.join(",")}`
2640
+ );
2641
+ }
2642
+ if (flags.length && customArgs.includes("-z")) {
2643
+ return configurationErrorTask(
2644
+ `Summary flag ${flags} parsing is not compatible with null termination option '-z'`
2645
+ );
2646
+ }
2647
+ }
2648
+ var init_diff = __esm({
2649
+ "src/lib/tasks/diff.ts"() {
2650
+ "use strict";
2651
+ init_log_format();
2652
+ init_parse_diff_summary();
2653
+ init_task();
2654
+ }
2655
+ });
2656
+
2657
+ // src/lib/tasks/log.ts
2658
+ function prettyFormat(format, splitter) {
2659
+ const fields = [];
2660
+ const formatStr = [];
2661
+ Object.keys(format).forEach((field) => {
2662
+ fields.push(field);
2663
+ formatStr.push(String(format[field]));
2664
+ });
2665
+ return [fields, formatStr.join(splitter)];
2666
+ }
2667
+ function userOptions(input) {
2668
+ return Object.keys(input).reduce((out, key) => {
2669
+ if (!(key in excludeOptions)) {
2670
+ out[key] = input[key];
2671
+ }
2672
+ return out;
2673
+ }, {});
2674
+ }
2675
+ function parseLogOptions(opt = {}, customArgs = []) {
2676
+ const splitter = filterType(opt.splitter, filterString, SPLITTER);
2677
+ const format = !filterPrimitives(opt.format) && opt.format ? opt.format : {
2678
+ hash: "%H",
2679
+ date: opt.strictDate === false ? "%ai" : "%aI",
2680
+ message: "%s",
2681
+ refs: "%D",
2682
+ body: opt.multiLine ? "%B" : "%b",
2683
+ author_name: opt.mailMap !== false ? "%aN" : "%an",
2684
+ author_email: opt.mailMap !== false ? "%aE" : "%ae"
2685
+ };
2686
+ const [fields, formatStr] = prettyFormat(format, splitter);
2687
+ const suffix = [];
2688
+ const command = [
2689
+ `--pretty=format:${START_BOUNDARY}${formatStr}${COMMIT_BOUNDARY}`,
2690
+ ...customArgs
2691
+ ];
2692
+ const maxCount = opt.n || opt["max-count"] || opt.maxCount;
2693
+ if (maxCount) {
2694
+ command.push(`--max-count=${maxCount}`);
2695
+ }
2696
+ if (opt.from || opt.to) {
2697
+ const rangeOperator = opt.symmetric !== false ? "..." : "..";
2698
+ suffix.push(`${opt.from || ""}${rangeOperator}${opt.to || ""}`);
2699
+ }
2700
+ if (filterString(opt.file)) {
2701
+ command.push("--follow", pathspec(opt.file));
2702
+ }
2703
+ appendTaskOptions(userOptions(opt), command);
2704
+ return {
2705
+ fields,
2706
+ splitter,
2707
+ commands: [...command, ...suffix]
2708
+ };
2709
+ }
2710
+ function logTask(splitter, fields, customArgs) {
2711
+ const parser4 = createListLogSummaryParser(splitter, fields, logFormatFromCommand(customArgs));
2712
+ return {
2713
+ commands: ["log", ...customArgs],
2714
+ format: "utf-8",
2715
+ parser: parser4
2716
+ };
2717
+ }
2718
+ function log_default() {
2719
+ return {
2720
+ log(...rest) {
2721
+ const next = trailingFunctionArgument(arguments);
2722
+ const options = parseLogOptions(
2723
+ trailingOptionsArgument(arguments),
2724
+ filterType(arguments[0], filterArray)
2725
+ );
2726
+ const task = rejectDeprecatedSignatures(...rest) || validateLogFormatConfig(options.commands) || createLogTask(options);
2727
+ return this._runTask(task, next);
2728
+ }
2729
+ };
2730
+ function createLogTask(options) {
2731
+ return logTask(options.splitter, options.fields, options.commands);
2732
+ }
2733
+ function rejectDeprecatedSignatures(from, to) {
2734
+ return filterString(from) && filterString(to) && configurationErrorTask(
2735
+ `git.log(string, string) should be replaced with git.log({ from: string, to: string })`
2736
+ );
2737
+ }
2738
+ }
2739
+ var excludeOptions;
2740
+ var init_log = __esm({
2741
+ "src/lib/tasks/log.ts"() {
2742
+ "use strict";
2743
+ init_log_format();
2744
+ init_pathspec();
2745
+ init_parse_list_log_summary();
2746
+ init_utils();
2747
+ init_task();
2748
+ init_diff();
2749
+ excludeOptions = /* @__PURE__ */ ((excludeOptions2) => {
2750
+ excludeOptions2[excludeOptions2["--pretty"] = 0] = "--pretty";
2751
+ excludeOptions2[excludeOptions2["max-count"] = 1] = "max-count";
2752
+ excludeOptions2[excludeOptions2["maxCount"] = 2] = "maxCount";
2753
+ excludeOptions2[excludeOptions2["n"] = 3] = "n";
2754
+ excludeOptions2[excludeOptions2["file"] = 4] = "file";
2755
+ excludeOptions2[excludeOptions2["format"] = 5] = "format";
2756
+ excludeOptions2[excludeOptions2["from"] = 6] = "from";
2757
+ excludeOptions2[excludeOptions2["to"] = 7] = "to";
2758
+ excludeOptions2[excludeOptions2["splitter"] = 8] = "splitter";
2759
+ excludeOptions2[excludeOptions2["symmetric"] = 9] = "symmetric";
2760
+ excludeOptions2[excludeOptions2["mailMap"] = 10] = "mailMap";
2761
+ excludeOptions2[excludeOptions2["multiLine"] = 11] = "multiLine";
2762
+ excludeOptions2[excludeOptions2["strictDate"] = 12] = "strictDate";
2763
+ return excludeOptions2;
2764
+ })(excludeOptions || {});
2765
+ }
2766
+ });
2767
+
2768
+ // src/lib/responses/MergeSummary.ts
2769
+ var MergeSummaryConflict, MergeSummaryDetail;
2770
+ var init_MergeSummary = __esm({
2771
+ "src/lib/responses/MergeSummary.ts"() {
2772
+ "use strict";
2773
+ MergeSummaryConflict = class {
2774
+ constructor(reason, file = null, meta) {
2775
+ this.reason = reason;
2776
+ this.file = file;
2777
+ this.meta = meta;
2778
+ }
2779
+ toString() {
2780
+ return `${this.file}:${this.reason}`;
2781
+ }
2782
+ };
2783
+ MergeSummaryDetail = class {
2784
+ constructor() {
2785
+ this.conflicts = [];
2786
+ this.merges = [];
2787
+ this.result = "success";
2788
+ }
2789
+ get failed() {
2790
+ return this.conflicts.length > 0;
2791
+ }
2792
+ get reason() {
2793
+ return this.result;
2794
+ }
2795
+ toString() {
2796
+ if (this.conflicts.length) {
2797
+ return `CONFLICTS: ${this.conflicts.join(", ")}`;
2798
+ }
2799
+ return "OK";
2800
+ }
2801
+ };
2802
+ }
2803
+ });
2804
+
2805
+ // src/lib/responses/PullSummary.ts
2806
+ var PullSummary, PullFailedSummary;
2807
+ var init_PullSummary = __esm({
2808
+ "src/lib/responses/PullSummary.ts"() {
2809
+ "use strict";
2810
+ PullSummary = class {
2811
+ constructor() {
2812
+ this.remoteMessages = {
2813
+ all: []
2814
+ };
2815
+ this.created = [];
2816
+ this.deleted = [];
2817
+ this.files = [];
2818
+ this.deletions = {};
2819
+ this.insertions = {};
2820
+ this.summary = {
2821
+ changes: 0,
2822
+ deletions: 0,
2823
+ insertions: 0
2824
+ };
2825
+ }
2826
+ };
2827
+ PullFailedSummary = class {
2828
+ constructor() {
2829
+ this.remote = "";
2830
+ this.hash = {
2831
+ local: "",
2832
+ remote: ""
2833
+ };
2834
+ this.branch = {
2835
+ local: "",
2836
+ remote: ""
2837
+ };
2838
+ this.message = "";
2839
+ }
2840
+ toString() {
2841
+ return this.message;
2842
+ }
2843
+ };
2844
+ }
2845
+ });
2846
+
2847
+ // src/lib/parsers/parse-remote-objects.ts
2848
+ function objectEnumerationResult(remoteMessages) {
2849
+ return remoteMessages.objects = remoteMessages.objects || {
2850
+ compressing: 0,
2851
+ counting: 0,
2852
+ enumerating: 0,
2853
+ packReused: 0,
2854
+ reused: { count: 0, delta: 0 },
2855
+ total: { count: 0, delta: 0 }
2856
+ };
2857
+ }
2858
+ function asObjectCount(source) {
2859
+ const count = /^\s*(\d+)/.exec(source);
2860
+ const delta = /delta (\d+)/i.exec(source);
2861
+ return {
2862
+ count: asNumber(count && count[1] || "0"),
2863
+ delta: asNumber(delta && delta[1] || "0")
2864
+ };
2865
+ }
2866
+ var remoteMessagesObjectParsers;
2867
+ var init_parse_remote_objects = __esm({
2868
+ "src/lib/parsers/parse-remote-objects.ts"() {
2869
+ "use strict";
2870
+ init_utils();
2871
+ remoteMessagesObjectParsers = [
2872
+ new RemoteLineParser(
2873
+ /^remote:\s*(enumerating|counting|compressing) objects: (\d+),/i,
2874
+ (result, [action, count]) => {
2875
+ const key = action.toLowerCase();
2876
+ const enumeration = objectEnumerationResult(result.remoteMessages);
2877
+ Object.assign(enumeration, { [key]: asNumber(count) });
2878
+ }
2879
+ ),
2880
+ new RemoteLineParser(
2881
+ /^remote:\s*(enumerating|counting|compressing) objects: \d+% \(\d+\/(\d+)\),/i,
2882
+ (result, [action, count]) => {
2883
+ const key = action.toLowerCase();
2884
+ const enumeration = objectEnumerationResult(result.remoteMessages);
2885
+ Object.assign(enumeration, { [key]: asNumber(count) });
2886
+ }
2887
+ ),
2888
+ new RemoteLineParser(
2889
+ /total ([^,]+), reused ([^,]+), pack-reused (\d+)/i,
2890
+ (result, [total, reused, packReused]) => {
2891
+ const objects = objectEnumerationResult(result.remoteMessages);
2892
+ objects.total = asObjectCount(total);
2893
+ objects.reused = asObjectCount(reused);
2894
+ objects.packReused = asNumber(packReused);
2895
+ }
2896
+ )
2897
+ ];
2898
+ }
2899
+ });
2900
+
2901
+ // src/lib/parsers/parse-remote-messages.ts
2902
+ function parseRemoteMessages(_stdOut, stdErr) {
2903
+ return parseStringResponse({ remoteMessages: new RemoteMessageSummary() }, parsers2, stdErr);
2904
+ }
2905
+ var parsers2, RemoteMessageSummary;
2906
+ var init_parse_remote_messages = __esm({
2907
+ "src/lib/parsers/parse-remote-messages.ts"() {
2908
+ "use strict";
2909
+ init_utils();
2910
+ init_parse_remote_objects();
2911
+ parsers2 = [
2912
+ new RemoteLineParser(/^remote:\s*(.+)$/, (result, [text]) => {
2913
+ result.remoteMessages.all.push(text.trim());
2914
+ return false;
2915
+ }),
2916
+ ...remoteMessagesObjectParsers,
2917
+ new RemoteLineParser(
2918
+ [/create a (?:pull|merge) request/i, /\s(https?:\/\/\S+)$/],
2919
+ (result, [pullRequestUrl]) => {
2920
+ result.remoteMessages.pullRequestUrl = pullRequestUrl;
2921
+ }
2922
+ ),
2923
+ new RemoteLineParser(
2924
+ [/found (\d+) vulnerabilities.+\(([^)]+)\)/i, /\s(https?:\/\/\S+)$/],
2925
+ (result, [count, summary, url]) => {
2926
+ result.remoteMessages.vulnerabilities = {
2927
+ count: asNumber(count),
2928
+ summary,
2929
+ url
2930
+ };
2931
+ }
2932
+ )
2933
+ ];
2934
+ RemoteMessageSummary = class {
2935
+ constructor() {
2936
+ this.all = [];
2937
+ }
2938
+ };
2939
+ }
2940
+ });
2941
+
2942
+ // src/lib/parsers/parse-pull.ts
2943
+ function parsePullErrorResult(stdOut, stdErr) {
2944
+ const pullError = parseStringResponse(new PullFailedSummary(), errorParsers, [stdOut, stdErr]);
2945
+ return pullError.message && pullError;
2946
+ }
2947
+ var FILE_UPDATE_REGEX, SUMMARY_REGEX, ACTION_REGEX, parsers3, errorParsers, parsePullDetail, parsePullResult;
2948
+ var init_parse_pull = __esm({
2949
+ "src/lib/parsers/parse-pull.ts"() {
2950
+ "use strict";
2951
+ init_PullSummary();
2952
+ init_utils();
2953
+ init_parse_remote_messages();
2954
+ FILE_UPDATE_REGEX = /^\s*(.+?)\s+\|\s+\d+\s*(\+*)(-*)/;
2955
+ SUMMARY_REGEX = /(\d+)\D+((\d+)\D+\(\+\))?(\D+(\d+)\D+\(-\))?/;
2956
+ ACTION_REGEX = /^(create|delete) mode \d+ (.+)/;
2957
+ parsers3 = [
2958
+ new LineParser(FILE_UPDATE_REGEX, (result, [file, insertions, deletions]) => {
2959
+ result.files.push(file);
2960
+ if (insertions) {
2961
+ result.insertions[file] = insertions.length;
2962
+ }
2963
+ if (deletions) {
2964
+ result.deletions[file] = deletions.length;
2965
+ }
2966
+ }),
2967
+ new LineParser(SUMMARY_REGEX, (result, [changes, , insertions, , deletions]) => {
2968
+ if (insertions !== void 0 || deletions !== void 0) {
2969
+ result.summary.changes = +changes || 0;
2970
+ result.summary.insertions = +insertions || 0;
2971
+ result.summary.deletions = +deletions || 0;
2972
+ return true;
2973
+ }
2974
+ return false;
2975
+ }),
2976
+ new LineParser(ACTION_REGEX, (result, [action, file]) => {
2977
+ append(result.files, file);
2978
+ append(action === "create" ? result.created : result.deleted, file);
2979
+ })
2980
+ ];
2981
+ errorParsers = [
2982
+ new LineParser(/^from\s(.+)$/i, (result, [remote]) => void (result.remote = remote)),
2983
+ new LineParser(/^fatal:\s(.+)$/, (result, [message]) => void (result.message = message)),
2984
+ new LineParser(
2985
+ /([a-z0-9]+)\.\.([a-z0-9]+)\s+(\S+)\s+->\s+(\S+)$/,
2986
+ (result, [hashLocal, hashRemote, branchLocal, branchRemote]) => {
2987
+ result.branch.local = branchLocal;
2988
+ result.hash.local = hashLocal;
2989
+ result.branch.remote = branchRemote;
2990
+ result.hash.remote = hashRemote;
2991
+ }
2992
+ )
2993
+ ];
2994
+ parsePullDetail = (stdOut, stdErr) => {
2995
+ return parseStringResponse(new PullSummary(), parsers3, [stdOut, stdErr]);
2996
+ };
2997
+ parsePullResult = (stdOut, stdErr) => {
2998
+ return Object.assign(
2999
+ new PullSummary(),
3000
+ parsePullDetail(stdOut, stdErr),
3001
+ parseRemoteMessages(stdOut, stdErr)
3002
+ );
3003
+ };
3004
+ }
3005
+ });
3006
+
3007
+ // src/lib/parsers/parse-merge.ts
3008
+ var parsers4, parseMergeResult, parseMergeDetail;
3009
+ var init_parse_merge = __esm({
3010
+ "src/lib/parsers/parse-merge.ts"() {
3011
+ "use strict";
3012
+ init_MergeSummary();
3013
+ init_utils();
3014
+ init_parse_pull();
3015
+ parsers4 = [
3016
+ new LineParser(/^Auto-merging\s+(.+)$/, (summary, [autoMerge]) => {
3017
+ summary.merges.push(autoMerge);
3018
+ }),
3019
+ new LineParser(/^CONFLICT\s+\((.+)\): Merge conflict in (.+)$/, (summary, [reason, file]) => {
3020
+ summary.conflicts.push(new MergeSummaryConflict(reason, file));
3021
+ }),
3022
+ new LineParser(
3023
+ /^CONFLICT\s+\((.+\/delete)\): (.+) deleted in (.+) and/,
3024
+ (summary, [reason, file, deleteRef]) => {
3025
+ summary.conflicts.push(new MergeSummaryConflict(reason, file, { deleteRef }));
3026
+ }
3027
+ ),
3028
+ new LineParser(/^CONFLICT\s+\((.+)\):/, (summary, [reason]) => {
3029
+ summary.conflicts.push(new MergeSummaryConflict(reason, null));
3030
+ }),
3031
+ new LineParser(/^Automatic merge failed;\s+(.+)$/, (summary, [result]) => {
3032
+ summary.result = result;
3033
+ })
3034
+ ];
3035
+ parseMergeResult = (stdOut, stdErr) => {
3036
+ return Object.assign(parseMergeDetail(stdOut, stdErr), parsePullResult(stdOut, stdErr));
3037
+ };
3038
+ parseMergeDetail = (stdOut) => {
3039
+ return parseStringResponse(new MergeSummaryDetail(), parsers4, stdOut);
3040
+ };
3041
+ }
3042
+ });
3043
+
3044
+ // src/lib/tasks/merge.ts
3045
+ function mergeTask(customArgs) {
3046
+ if (!customArgs.length) {
3047
+ return configurationErrorTask("Git.merge requires at least one option");
3048
+ }
3049
+ return {
3050
+ commands: ["merge", ...customArgs],
3051
+ format: "utf-8",
3052
+ parser(stdOut, stdErr) {
3053
+ const merge = parseMergeResult(stdOut, stdErr);
3054
+ if (merge.failed) {
3055
+ throw new GitResponseError(merge);
3056
+ }
3057
+ return merge;
3058
+ }
3059
+ };
3060
+ }
3061
+ var init_merge = __esm({
3062
+ "src/lib/tasks/merge.ts"() {
3063
+ "use strict";
3064
+ init_git_response_error();
3065
+ init_parse_merge();
3066
+ init_task();
3067
+ }
3068
+ });
3069
+
3070
+ // src/lib/parsers/parse-push.ts
3071
+ function pushResultPushedItem(local, remote, status) {
3072
+ const deleted = status.includes("deleted");
3073
+ const tag = status.includes("tag") || /^refs\/tags/.test(local);
3074
+ const alreadyUpdated = !status.includes("new");
3075
+ return {
3076
+ deleted,
3077
+ tag,
3078
+ branch: !tag,
3079
+ new: !alreadyUpdated,
3080
+ alreadyUpdated,
3081
+ local,
3082
+ remote
3083
+ };
3084
+ }
3085
+ var parsers5, parsePushResult, parsePushDetail;
3086
+ var init_parse_push = __esm({
3087
+ "src/lib/parsers/parse-push.ts"() {
3088
+ "use strict";
3089
+ init_utils();
3090
+ init_parse_remote_messages();
3091
+ parsers5 = [
3092
+ new LineParser(/^Pushing to (.+)$/, (result, [repo]) => {
3093
+ result.repo = repo;
3094
+ }),
3095
+ new LineParser(/^updating local tracking ref '(.+)'/, (result, [local]) => {
3096
+ result.ref = __spreadProps(__spreadValues({}, result.ref || {}), {
3097
+ local
3098
+ });
3099
+ }),
3100
+ new LineParser(/^[=*-]\s+([^:]+):(\S+)\s+\[(.+)]$/, (result, [local, remote, type]) => {
3101
+ result.pushed.push(pushResultPushedItem(local, remote, type));
3102
+ }),
3103
+ new LineParser(
3104
+ /^Branch '([^']+)' set up to track remote branch '([^']+)' from '([^']+)'/,
3105
+ (result, [local, remote, remoteName]) => {
3106
+ result.branch = __spreadProps(__spreadValues({}, result.branch || {}), {
3107
+ local,
3108
+ remote,
3109
+ remoteName
3110
+ });
3111
+ }
3112
+ ),
3113
+ new LineParser(
3114
+ /^([^:]+):(\S+)\s+([a-z0-9]+)\.\.([a-z0-9]+)$/,
3115
+ (result, [local, remote, from, to]) => {
3116
+ result.update = {
3117
+ head: {
3118
+ local,
3119
+ remote
3120
+ },
3121
+ hash: {
3122
+ from,
3123
+ to
3124
+ }
3125
+ };
3126
+ }
3127
+ )
3128
+ ];
3129
+ parsePushResult = (stdOut, stdErr) => {
3130
+ const pushDetail = parsePushDetail(stdOut, stdErr);
3131
+ const responseDetail = parseRemoteMessages(stdOut, stdErr);
3132
+ return __spreadValues(__spreadValues({}, pushDetail), responseDetail);
3133
+ };
3134
+ parsePushDetail = (stdOut, stdErr) => {
3135
+ return parseStringResponse({ pushed: [] }, parsers5, [stdOut, stdErr]);
3136
+ };
3137
+ }
3138
+ });
3139
+
3140
+ // src/lib/tasks/push.ts
3141
+ var push_exports = {};
3142
+ __export(push_exports, {
3143
+ pushTagsTask: () => pushTagsTask,
3144
+ pushTask: () => pushTask
3145
+ });
3146
+ function pushTagsTask(ref = {}, customArgs) {
3147
+ append(customArgs, "--tags");
3148
+ return pushTask(ref, customArgs);
3149
+ }
3150
+ function pushTask(ref = {}, customArgs) {
3151
+ const commands = ["push", ...customArgs];
3152
+ if (ref.branch) {
3153
+ commands.splice(1, 0, ref.branch);
3154
+ }
3155
+ if (ref.remote) {
3156
+ commands.splice(1, 0, ref.remote);
3157
+ }
3158
+ remove(commands, "-v");
3159
+ append(commands, "--verbose");
3160
+ append(commands, "--porcelain");
3161
+ return {
3162
+ commands,
3163
+ format: "utf-8",
3164
+ parser: parsePushResult
3165
+ };
3166
+ }
3167
+ var init_push = __esm({
3168
+ "src/lib/tasks/push.ts"() {
3169
+ "use strict";
3170
+ init_parse_push();
3171
+ init_utils();
3172
+ }
3173
+ });
3174
+
3175
+ // src/lib/tasks/show.ts
3176
+ function show_default() {
3177
+ return {
3178
+ showBuffer() {
3179
+ const commands = ["show", ...getTrailingOptions(arguments, 1)];
3180
+ if (!commands.includes("--binary")) {
3181
+ commands.splice(1, 0, "--binary");
3182
+ }
3183
+ return this._runTask(
3184
+ straightThroughBufferTask(commands),
3185
+ trailingFunctionArgument(arguments)
3186
+ );
3187
+ },
3188
+ show() {
3189
+ const commands = ["show", ...getTrailingOptions(arguments, 1)];
3190
+ return this._runTask(
3191
+ straightThroughStringTask(commands),
3192
+ trailingFunctionArgument(arguments)
3193
+ );
3194
+ }
3195
+ };
3196
+ }
3197
+ var init_show = __esm({
3198
+ "src/lib/tasks/show.ts"() {
3199
+ "use strict";
3200
+ init_utils();
3201
+ init_task();
3202
+ }
3203
+ });
3204
+
3205
+ // src/lib/responses/FileStatusSummary.ts
3206
+ var fromPathRegex, FileStatusSummary;
3207
+ var init_FileStatusSummary = __esm({
3208
+ "src/lib/responses/FileStatusSummary.ts"() {
3209
+ "use strict";
3210
+ fromPathRegex = /^(.+) -> (.+)$/;
3211
+ FileStatusSummary = class {
3212
+ constructor(path, index, working_dir) {
3213
+ this.path = path;
3214
+ this.index = index;
3215
+ this.working_dir = working_dir;
3216
+ if ("R" === index + working_dir) {
3217
+ const detail = fromPathRegex.exec(path) || [null, path, path];
3218
+ this.from = detail[1] || "";
3219
+ this.path = detail[2] || "";
3220
+ }
3221
+ }
3222
+ };
3223
+ }
3224
+ });
3225
+
3226
+ // src/lib/responses/StatusSummary.ts
3227
+ function renamedFile(line) {
3228
+ const [to, from] = line.split(NULL);
3229
+ return {
3230
+ from: from || to,
3231
+ to
3232
+ };
3233
+ }
3234
+ function parser3(indexX, indexY, handler) {
3235
+ return [`${indexX}${indexY}`, handler];
3236
+ }
3237
+ function conflicts(indexX, ...indexY) {
3238
+ return indexY.map((y) => parser3(indexX, y, (result, file) => append(result.conflicted, file)));
3239
+ }
3240
+ function splitLine(result, lineStr) {
3241
+ const trimmed2 = lineStr.trim();
3242
+ switch (" ") {
3243
+ case trimmed2.charAt(2):
3244
+ return data(trimmed2.charAt(0), trimmed2.charAt(1), trimmed2.substr(3));
3245
+ case trimmed2.charAt(1):
3246
+ return data(" " /* NONE */, trimmed2.charAt(0), trimmed2.substr(2));
3247
+ default:
3248
+ return;
3249
+ }
3250
+ function data(index, workingDir, path) {
3251
+ const raw = `${index}${workingDir}`;
3252
+ const handler = parsers6.get(raw);
3253
+ if (handler) {
3254
+ handler(result, path);
3255
+ }
3256
+ if (raw !== "##" && raw !== "!!") {
3257
+ result.files.push(new FileStatusSummary(path.replace(/\0.+$/, ""), index, workingDir));
3258
+ }
3259
+ }
3260
+ }
3261
+ var StatusSummary, parsers6, parseStatusSummary;
3262
+ var init_StatusSummary = __esm({
3263
+ "src/lib/responses/StatusSummary.ts"() {
3264
+ "use strict";
3265
+ init_utils();
3266
+ init_FileStatusSummary();
3267
+ StatusSummary = class {
3268
+ constructor() {
3269
+ this.not_added = [];
3270
+ this.conflicted = [];
3271
+ this.created = [];
3272
+ this.deleted = [];
3273
+ this.ignored = void 0;
3274
+ this.modified = [];
3275
+ this.renamed = [];
3276
+ this.files = [];
3277
+ this.staged = [];
3278
+ this.ahead = 0;
3279
+ this.behind = 0;
3280
+ this.current = null;
3281
+ this.tracking = null;
3282
+ this.detached = false;
3283
+ this.isClean = () => {
3284
+ return !this.files.length;
3285
+ };
3286
+ }
3287
+ };
3288
+ parsers6 = new Map([
3289
+ parser3(
3290
+ " " /* NONE */,
3291
+ "A" /* ADDED */,
3292
+ (result, file) => append(result.created, file)
3293
+ ),
3294
+ parser3(
3295
+ " " /* NONE */,
3296
+ "D" /* DELETED */,
3297
+ (result, file) => append(result.deleted, file)
3298
+ ),
3299
+ parser3(
3300
+ " " /* NONE */,
3301
+ "M" /* MODIFIED */,
3302
+ (result, file) => append(result.modified, file)
3303
+ ),
3304
+ parser3(
3305
+ "A" /* ADDED */,
3306
+ " " /* NONE */,
3307
+ (result, file) => append(result.created, file) && append(result.staged, file)
3308
+ ),
3309
+ parser3(
3310
+ "A" /* ADDED */,
3311
+ "M" /* MODIFIED */,
3312
+ (result, file) => append(result.created, file) && append(result.staged, file) && append(result.modified, file)
3313
+ ),
3314
+ parser3(
3315
+ "D" /* DELETED */,
3316
+ " " /* NONE */,
3317
+ (result, file) => append(result.deleted, file) && append(result.staged, file)
3318
+ ),
3319
+ parser3(
3320
+ "M" /* MODIFIED */,
3321
+ " " /* NONE */,
3322
+ (result, file) => append(result.modified, file) && append(result.staged, file)
3323
+ ),
3324
+ parser3(
3325
+ "M" /* MODIFIED */,
3326
+ "M" /* MODIFIED */,
3327
+ (result, file) => append(result.modified, file) && append(result.staged, file)
3328
+ ),
3329
+ parser3("R" /* RENAMED */, " " /* NONE */, (result, file) => {
3330
+ append(result.renamed, renamedFile(file));
3331
+ }),
3332
+ parser3("R" /* RENAMED */, "M" /* MODIFIED */, (result, file) => {
3333
+ const renamed = renamedFile(file);
3334
+ append(result.renamed, renamed);
3335
+ append(result.modified, renamed.to);
3336
+ }),
3337
+ parser3("!" /* IGNORED */, "!" /* IGNORED */, (_result, _file) => {
3338
+ append(_result.ignored = _result.ignored || [], _file);
3339
+ }),
3340
+ parser3(
3341
+ "?" /* UNTRACKED */,
3342
+ "?" /* UNTRACKED */,
3343
+ (result, file) => append(result.not_added, file)
3344
+ ),
3345
+ ...conflicts("A" /* ADDED */, "A" /* ADDED */, "U" /* UNMERGED */),
3346
+ ...conflicts(
3347
+ "D" /* DELETED */,
3348
+ "D" /* DELETED */,
3349
+ "U" /* UNMERGED */
3350
+ ),
3351
+ ...conflicts(
3352
+ "U" /* UNMERGED */,
3353
+ "A" /* ADDED */,
3354
+ "D" /* DELETED */,
3355
+ "U" /* UNMERGED */
3356
+ ),
3357
+ [
3358
+ "##",
3359
+ (result, line) => {
3360
+ const aheadReg = /ahead (\d+)/;
3361
+ const behindReg = /behind (\d+)/;
3362
+ const currentReg = /^(.+?(?=(?:\.{3}|\s|$)))/;
3363
+ const trackingReg = /\.{3}(\S*)/;
3364
+ const onEmptyBranchReg = /\son\s([\S]+)$/;
3365
+ let regexResult;
3366
+ regexResult = aheadReg.exec(line);
3367
+ result.ahead = regexResult && +regexResult[1] || 0;
3368
+ regexResult = behindReg.exec(line);
3369
+ result.behind = regexResult && +regexResult[1] || 0;
3370
+ regexResult = currentReg.exec(line);
3371
+ result.current = regexResult && regexResult[1];
3372
+ regexResult = trackingReg.exec(line);
3373
+ result.tracking = regexResult && regexResult[1];
3374
+ regexResult = onEmptyBranchReg.exec(line);
3375
+ result.current = regexResult && regexResult[1] || result.current;
3376
+ result.detached = /\(no branch\)/.test(line);
3377
+ }
3378
+ ]
3379
+ ]);
3380
+ parseStatusSummary = function(text) {
3381
+ const lines = text.split(NULL);
3382
+ const status = new StatusSummary();
3383
+ for (let i = 0, l = lines.length; i < l; ) {
3384
+ let line = lines[i++].trim();
3385
+ if (!line) {
3386
+ continue;
3387
+ }
3388
+ if (line.charAt(0) === "R" /* RENAMED */) {
3389
+ line += NULL + (lines[i++] || "");
3390
+ }
3391
+ splitLine(status, line);
3392
+ }
3393
+ return status;
3394
+ };
3395
+ }
3396
+ });
3397
+
3398
+ // src/lib/tasks/status.ts
3399
+ function statusTask(customArgs) {
3400
+ const commands = [
3401
+ "status",
3402
+ "--porcelain",
3403
+ "-b",
3404
+ "-u",
3405
+ "--null",
3406
+ ...customArgs.filter((arg) => !ignoredOptions.includes(arg))
3407
+ ];
3408
+ return {
3409
+ format: "utf-8",
3410
+ commands,
3411
+ parser(text) {
3412
+ return parseStatusSummary(text);
3413
+ }
3414
+ };
3415
+ }
3416
+ var ignoredOptions;
3417
+ var init_status = __esm({
3418
+ "src/lib/tasks/status.ts"() {
3419
+ "use strict";
3420
+ init_StatusSummary();
3421
+ ignoredOptions = ["--null", "-z"];
3422
+ }
3423
+ });
3424
+
3425
+ // src/lib/tasks/version.ts
3426
+ function versionResponse(major = 0, minor = 0, patch = 0, agent = "", installed = true) {
3427
+ return Object.defineProperty(
3428
+ {
3429
+ major,
3430
+ minor,
3431
+ patch,
3432
+ agent,
3433
+ installed
3434
+ },
3435
+ "toString",
3436
+ {
3437
+ value() {
3438
+ return `${this.major}.${this.minor}.${this.patch}`;
3439
+ },
3440
+ configurable: false,
3441
+ enumerable: false
3442
+ }
3443
+ );
3444
+ }
3445
+ function notInstalledResponse() {
3446
+ return versionResponse(0, 0, 0, "", false);
3447
+ }
3448
+ function version_default() {
3449
+ return {
3450
+ version() {
3451
+ return this._runTask({
3452
+ commands: ["--version"],
3453
+ format: "utf-8",
3454
+ parser: versionParser,
3455
+ onError(result, error, done, fail) {
3456
+ if (result.exitCode === -2 /* NOT_FOUND */) {
3457
+ return done(Buffer.from(NOT_INSTALLED));
3458
+ }
3459
+ fail(error);
3460
+ }
3461
+ });
3462
+ }
3463
+ };
3464
+ }
3465
+ function versionParser(stdOut) {
3466
+ if (stdOut === NOT_INSTALLED) {
3467
+ return notInstalledResponse();
3468
+ }
3469
+ return parseStringResponse(versionResponse(0, 0, 0, stdOut), parsers7, stdOut);
3470
+ }
3471
+ var NOT_INSTALLED, parsers7;
3472
+ var init_version = __esm({
3473
+ "src/lib/tasks/version.ts"() {
3474
+ "use strict";
3475
+ init_utils();
3476
+ NOT_INSTALLED = "installed=false";
3477
+ parsers7 = [
3478
+ new LineParser(
3479
+ /version (\d+)\.(\d+)\.(\d+)(?:\s*\((.+)\))?/,
3480
+ (result, [major, minor, patch, agent = ""]) => {
3481
+ Object.assign(
3482
+ result,
3483
+ versionResponse(asNumber(major), asNumber(minor), asNumber(patch), agent)
3484
+ );
3485
+ }
3486
+ ),
3487
+ new LineParser(
3488
+ /version (\d+)\.(\d+)\.(\D+)(.+)?$/,
3489
+ (result, [major, minor, patch, agent = ""]) => {
3490
+ Object.assign(result, versionResponse(asNumber(major), asNumber(minor), patch, agent));
3491
+ }
3492
+ )
3493
+ ];
3494
+ }
3495
+ });
3496
+
3497
+ // src/lib/simple-git-api.ts
3498
+ var simple_git_api_exports = {};
3499
+ __export(simple_git_api_exports, {
3500
+ SimpleGitApi: () => SimpleGitApi
3501
+ });
3502
+ var SimpleGitApi;
3503
+ var init_simple_git_api = __esm({
3504
+ "src/lib/simple-git-api.ts"() {
3505
+ "use strict";
3506
+ init_task_callback();
3507
+ init_change_working_directory();
3508
+ init_checkout();
3509
+ init_count_objects();
3510
+ init_commit();
3511
+ init_config();
3512
+ init_first_commit();
3513
+ init_grep();
3514
+ init_hash_object();
3515
+ init_init();
3516
+ init_log();
3517
+ init_merge();
3518
+ init_push();
3519
+ init_show();
3520
+ init_status();
3521
+ init_task();
3522
+ init_version();
3523
+ init_utils();
3524
+ SimpleGitApi = class {
3525
+ constructor(_executor) {
3526
+ this._executor = _executor;
3527
+ }
3528
+ _runTask(task, then) {
3529
+ const chain = this._executor.chain();
3530
+ const promise = chain.push(task);
3531
+ if (then) {
3532
+ taskCallback(task, promise, then);
3533
+ }
3534
+ return Object.create(this, {
3535
+ then: { value: promise.then.bind(promise) },
3536
+ catch: { value: promise.catch.bind(promise) },
3537
+ _executor: { value: chain }
3538
+ });
3539
+ }
3540
+ add(files) {
3541
+ return this._runTask(
3542
+ straightThroughStringTask(["add", ...asArray(files)]),
3543
+ trailingFunctionArgument(arguments)
3544
+ );
3545
+ }
3546
+ cwd(directory) {
3547
+ const next = trailingFunctionArgument(arguments);
3548
+ if (typeof directory === "string") {
3549
+ return this._runTask(changeWorkingDirectoryTask(directory, this._executor), next);
3550
+ }
3551
+ if (typeof (directory == null ? void 0 : directory.path) === "string") {
3552
+ return this._runTask(
3553
+ changeWorkingDirectoryTask(
3554
+ directory.path,
3555
+ directory.root && this._executor || void 0
3556
+ ),
3557
+ next
3558
+ );
3559
+ }
3560
+ return this._runTask(
3561
+ configurationErrorTask("Git.cwd: workingDirectory must be supplied as a string"),
3562
+ next
3563
+ );
3564
+ }
3565
+ hashObject(path, write) {
3566
+ return this._runTask(
3567
+ hashObjectTask(path, write === true),
3568
+ trailingFunctionArgument(arguments)
3569
+ );
3570
+ }
3571
+ init(bare) {
3572
+ return this._runTask(
3573
+ initTask(bare === true, this._executor.cwd, getTrailingOptions(arguments)),
3574
+ trailingFunctionArgument(arguments)
3575
+ );
3576
+ }
3577
+ merge() {
3578
+ return this._runTask(
3579
+ mergeTask(getTrailingOptions(arguments)),
3580
+ trailingFunctionArgument(arguments)
3581
+ );
3582
+ }
3583
+ mergeFromTo(remote, branch) {
3584
+ if (!(filterString(remote) && filterString(branch))) {
3585
+ return this._runTask(
3586
+ configurationErrorTask(
3587
+ `Git.mergeFromTo requires that the 'remote' and 'branch' arguments are supplied as strings`
3588
+ )
3589
+ );
3590
+ }
3591
+ return this._runTask(
3592
+ mergeTask([remote, branch, ...getTrailingOptions(arguments)]),
3593
+ trailingFunctionArgument(arguments, false)
3594
+ );
3595
+ }
3596
+ outputHandler(handler) {
3597
+ this._executor.outputHandler = handler;
3598
+ return this;
3599
+ }
3600
+ push() {
3601
+ const task = pushTask(
3602
+ {
3603
+ remote: filterType(arguments[0], filterString),
3604
+ branch: filterType(arguments[1], filterString)
3605
+ },
3606
+ getTrailingOptions(arguments)
3607
+ );
3608
+ return this._runTask(task, trailingFunctionArgument(arguments));
3609
+ }
3610
+ stash() {
3611
+ return this._runTask(
3612
+ straightThroughStringTask(["stash", ...getTrailingOptions(arguments)]),
3613
+ trailingFunctionArgument(arguments)
3614
+ );
3615
+ }
3616
+ status() {
3617
+ return this._runTask(
3618
+ statusTask(getTrailingOptions(arguments)),
3619
+ trailingFunctionArgument(arguments)
3620
+ );
3621
+ }
3622
+ };
3623
+ Object.assign(
3624
+ SimpleGitApi.prototype,
3625
+ checkout_default(),
3626
+ commit_default(),
3627
+ config_default(),
3628
+ count_objects_default(),
3629
+ first_commit_default(),
3630
+ grep_default(),
3631
+ log_default(),
3632
+ show_default(),
3633
+ version_default()
3634
+ );
3635
+ }
3636
+ });
3637
+
3638
+ // src/lib/runners/scheduler.ts
3639
+ var scheduler_exports = {};
3640
+ __export(scheduler_exports, {
3641
+ Scheduler: () => Scheduler
3642
+ });
3643
+ var import_promise_deferred2, createScheduledTask, Scheduler;
3644
+ var init_scheduler = __esm({
3645
+ "src/lib/runners/scheduler.ts"() {
3646
+ "use strict";
3647
+ init_utils();
3648
+ import_promise_deferred2 = require("@kwsites/promise-deferred");
3649
+ init_git_logger();
3650
+ createScheduledTask = (() => {
3651
+ let id = 0;
3652
+ return () => {
3653
+ id++;
3654
+ const { promise, done } = (0, import_promise_deferred2.createDeferred)();
3655
+ return {
3656
+ promise,
3657
+ done,
3658
+ id
3659
+ };
3660
+ };
3661
+ })();
3662
+ Scheduler = class {
3663
+ constructor(concurrency = 2) {
3664
+ this.concurrency = concurrency;
3665
+ this.logger = createLogger("", "scheduler");
3666
+ this.pending = [];
3667
+ this.running = [];
3668
+ this.logger(`Constructed, concurrency=%s`, concurrency);
3669
+ }
3670
+ schedule() {
3671
+ if (!this.pending.length || this.running.length >= this.concurrency) {
3672
+ this.logger(
3673
+ `Schedule attempt ignored, pending=%s running=%s concurrency=%s`,
3674
+ this.pending.length,
3675
+ this.running.length,
3676
+ this.concurrency
3677
+ );
3678
+ return;
3679
+ }
3680
+ const task = append(this.running, this.pending.shift());
3681
+ this.logger(`Attempting id=%s`, task.id);
3682
+ task.done(() => {
3683
+ this.logger(`Completing id=`, task.id);
3684
+ remove(this.running, task);
3685
+ this.schedule();
3686
+ });
3687
+ }
3688
+ next() {
3689
+ const { promise, id } = append(this.pending, createScheduledTask());
3690
+ this.logger(`Scheduling id=%s`, id);
3691
+ this.schedule();
3692
+ return promise;
3693
+ }
3694
+ };
3695
+ }
3696
+ });
3697
+
3698
+ // src/lib/tasks/apply-patch.ts
3699
+ var apply_patch_exports = {};
3700
+ __export(apply_patch_exports, {
3701
+ applyPatchTask: () => applyPatchTask
3702
+ });
3703
+ function applyPatchTask(patches, customArgs) {
3704
+ return straightThroughStringTask(["apply", ...customArgs, ...patches]);
3705
+ }
3706
+ var init_apply_patch = __esm({
3707
+ "src/lib/tasks/apply-patch.ts"() {
3708
+ "use strict";
3709
+ init_task();
3710
+ }
3711
+ });
3712
+
3713
+ // src/lib/responses/BranchDeleteSummary.ts
3714
+ function branchDeletionSuccess(branch, hash) {
3715
+ return {
3716
+ branch,
3717
+ hash,
3718
+ success: true
3719
+ };
3720
+ }
3721
+ function branchDeletionFailure(branch) {
3722
+ return {
3723
+ branch,
3724
+ hash: null,
3725
+ success: false
3726
+ };
3727
+ }
3728
+ var BranchDeletionBatch;
3729
+ var init_BranchDeleteSummary = __esm({
3730
+ "src/lib/responses/BranchDeleteSummary.ts"() {
3731
+ "use strict";
3732
+ BranchDeletionBatch = class {
3733
+ constructor() {
3734
+ this.all = [];
3735
+ this.branches = {};
3736
+ this.errors = [];
3737
+ }
3738
+ get success() {
3739
+ return !this.errors.length;
3740
+ }
3741
+ };
3742
+ }
3743
+ });
3744
+
3745
+ // src/lib/parsers/parse-branch-delete.ts
3746
+ function hasBranchDeletionError(data, processExitCode) {
3747
+ return processExitCode === 1 /* ERROR */ && deleteErrorRegex.test(data);
3748
+ }
3749
+ var deleteSuccessRegex, deleteErrorRegex, parsers8, parseBranchDeletions;
3750
+ var init_parse_branch_delete = __esm({
3751
+ "src/lib/parsers/parse-branch-delete.ts"() {
3752
+ "use strict";
3753
+ init_BranchDeleteSummary();
3754
+ init_utils();
3755
+ deleteSuccessRegex = /(\S+)\s+\(\S+\s([^)]+)\)/;
3756
+ deleteErrorRegex = /^error[^']+'([^']+)'/m;
3757
+ parsers8 = [
3758
+ new LineParser(deleteSuccessRegex, (result, [branch, hash]) => {
3759
+ const deletion = branchDeletionSuccess(branch, hash);
3760
+ result.all.push(deletion);
3761
+ result.branches[branch] = deletion;
3762
+ }),
3763
+ new LineParser(deleteErrorRegex, (result, [branch]) => {
3764
+ const deletion = branchDeletionFailure(branch);
3765
+ result.errors.push(deletion);
3766
+ result.all.push(deletion);
3767
+ result.branches[branch] = deletion;
3768
+ })
3769
+ ];
3770
+ parseBranchDeletions = (stdOut, stdErr) => {
3771
+ return parseStringResponse(new BranchDeletionBatch(), parsers8, [stdOut, stdErr]);
3772
+ };
3773
+ }
3774
+ });
3775
+
3776
+ // src/lib/responses/BranchSummary.ts
3777
+ var BranchSummaryResult;
3778
+ var init_BranchSummary = __esm({
3779
+ "src/lib/responses/BranchSummary.ts"() {
3780
+ "use strict";
3781
+ BranchSummaryResult = class {
3782
+ constructor() {
3783
+ this.all = [];
3784
+ this.branches = {};
3785
+ this.current = "";
3786
+ this.detached = false;
3787
+ }
3788
+ push(status, detached, name, commit, label) {
3789
+ if (status === "*" /* CURRENT */) {
3790
+ this.detached = detached;
3791
+ this.current = name;
3792
+ }
3793
+ this.all.push(name);
3794
+ this.branches[name] = {
3795
+ current: status === "*" /* CURRENT */,
3796
+ linkedWorkTree: status === "+" /* LINKED */,
3797
+ name,
3798
+ commit,
3799
+ label
3800
+ };
3801
+ }
3802
+ };
3803
+ }
3804
+ });
3805
+
3806
+ // src/lib/parsers/parse-branch.ts
3807
+ function branchStatus(input) {
3808
+ return input ? input.charAt(0) : "";
3809
+ }
3810
+ function parseBranchSummary(stdOut) {
3811
+ return parseStringResponse(new BranchSummaryResult(), parsers9, stdOut);
3812
+ }
3813
+ var parsers9;
3814
+ var init_parse_branch = __esm({
3815
+ "src/lib/parsers/parse-branch.ts"() {
3816
+ "use strict";
3817
+ init_BranchSummary();
3818
+ init_utils();
3819
+ parsers9 = [
3820
+ new LineParser(
3821
+ /^([*+]\s)?\((?:HEAD )?detached (?:from|at) (\S+)\)\s+([a-z0-9]+)\s(.*)$/,
3822
+ (result, [current, name, commit, label]) => {
3823
+ result.push(branchStatus(current), true, name, commit, label);
3824
+ }
3825
+ ),
3826
+ new LineParser(
3827
+ new RegExp("^([*+]\\s)?(\\S+)\\s+([a-z0-9]+)\\s?(.*)$", "s"),
3828
+ (result, [current, name, commit, label]) => {
3829
+ result.push(branchStatus(current), false, name, commit, label);
3830
+ }
3831
+ )
3832
+ ];
3833
+ }
3834
+ });
3835
+
3836
+ // src/lib/tasks/branch.ts
3837
+ var branch_exports = {};
3838
+ __export(branch_exports, {
3839
+ branchLocalTask: () => branchLocalTask,
3840
+ branchTask: () => branchTask,
3841
+ containsDeleteBranchCommand: () => containsDeleteBranchCommand,
3842
+ deleteBranchTask: () => deleteBranchTask,
3843
+ deleteBranchesTask: () => deleteBranchesTask
3844
+ });
3845
+ function containsDeleteBranchCommand(commands) {
3846
+ const deleteCommands = ["-d", "-D", "--delete"];
3847
+ return commands.some((command) => deleteCommands.includes(command));
3848
+ }
3849
+ function branchTask(customArgs) {
3850
+ const isDelete = containsDeleteBranchCommand(customArgs);
3851
+ const commands = ["branch", ...customArgs];
3852
+ if (commands.length === 1) {
3853
+ commands.push("-a");
3854
+ }
3855
+ if (!commands.includes("-v")) {
3856
+ commands.splice(1, 0, "-v");
3857
+ }
3858
+ return {
3859
+ format: "utf-8",
3860
+ commands,
3861
+ parser(stdOut, stdErr) {
3862
+ if (isDelete) {
3863
+ return parseBranchDeletions(stdOut, stdErr).all[0];
3864
+ }
3865
+ return parseBranchSummary(stdOut);
3866
+ }
3867
+ };
3868
+ }
3869
+ function branchLocalTask() {
3870
+ const parser4 = parseBranchSummary;
3871
+ return {
3872
+ format: "utf-8",
3873
+ commands: ["branch", "-v"],
3874
+ parser: parser4
3875
+ };
3876
+ }
3877
+ function deleteBranchesTask(branches, forceDelete = false) {
3878
+ return {
3879
+ format: "utf-8",
3880
+ commands: ["branch", "-v", forceDelete ? "-D" : "-d", ...branches],
3881
+ parser(stdOut, stdErr) {
3882
+ return parseBranchDeletions(stdOut, stdErr);
3883
+ },
3884
+ onError({ exitCode, stdOut }, error, done, fail) {
3885
+ if (!hasBranchDeletionError(String(error), exitCode)) {
3886
+ return fail(error);
3887
+ }
3888
+ done(stdOut);
3889
+ }
3890
+ };
3891
+ }
3892
+ function deleteBranchTask(branch, forceDelete = false) {
3893
+ const task = {
3894
+ format: "utf-8",
3895
+ commands: ["branch", "-v", forceDelete ? "-D" : "-d", branch],
3896
+ parser(stdOut, stdErr) {
3897
+ return parseBranchDeletions(stdOut, stdErr).branches[branch];
3898
+ },
3899
+ onError({ exitCode, stdErr, stdOut }, error, _, fail) {
3900
+ if (!hasBranchDeletionError(String(error), exitCode)) {
3901
+ return fail(error);
3902
+ }
3903
+ throw new GitResponseError(
3904
+ task.parser(bufferToString(stdOut), bufferToString(stdErr)),
3905
+ String(error)
3906
+ );
3907
+ }
3908
+ };
3909
+ return task;
3910
+ }
3911
+ var init_branch = __esm({
3912
+ "src/lib/tasks/branch.ts"() {
3913
+ "use strict";
3914
+ init_git_response_error();
3915
+ init_parse_branch_delete();
3916
+ init_parse_branch();
3917
+ init_utils();
3918
+ }
3919
+ });
3920
+
3921
+ // src/lib/responses/CheckIgnore.ts
3922
+ var parseCheckIgnore;
3923
+ var init_CheckIgnore = __esm({
3924
+ "src/lib/responses/CheckIgnore.ts"() {
3925
+ "use strict";
3926
+ parseCheckIgnore = (text) => {
3927
+ return text.split(/\n/g).map((line) => line.trim()).filter((file) => !!file);
3928
+ };
3929
+ }
3930
+ });
3931
+
3932
+ // src/lib/tasks/check-ignore.ts
3933
+ var check_ignore_exports = {};
3934
+ __export(check_ignore_exports, {
3935
+ checkIgnoreTask: () => checkIgnoreTask
3936
+ });
3937
+ function checkIgnoreTask(paths) {
3938
+ return {
3939
+ commands: ["check-ignore", ...paths],
3940
+ format: "utf-8",
3941
+ parser: parseCheckIgnore
3942
+ };
3943
+ }
3944
+ var init_check_ignore = __esm({
3945
+ "src/lib/tasks/check-ignore.ts"() {
3946
+ "use strict";
3947
+ init_CheckIgnore();
3948
+ }
3949
+ });
3950
+
3951
+ // src/lib/tasks/clone.ts
3952
+ var clone_exports = {};
3953
+ __export(clone_exports, {
3954
+ cloneMirrorTask: () => cloneMirrorTask,
3955
+ cloneTask: () => cloneTask
3956
+ });
3957
+ function disallowedCommand(command) {
3958
+ return /^--upload-pack(=|$)/.test(command);
3959
+ }
3960
+ function cloneTask(repo, directory, customArgs) {
3961
+ const commands = ["clone", ...customArgs];
3962
+ filterString(repo) && commands.push(repo);
3963
+ filterString(directory) && commands.push(directory);
3964
+ const banned = commands.find(disallowedCommand);
3965
+ if (banned) {
3966
+ return configurationErrorTask(`git.fetch: potential exploit argument blocked.`);
3967
+ }
3968
+ return straightThroughStringTask(commands);
3969
+ }
3970
+ function cloneMirrorTask(repo, directory, customArgs) {
3971
+ append(customArgs, "--mirror");
3972
+ return cloneTask(repo, directory, customArgs);
3973
+ }
3974
+ var init_clone = __esm({
3975
+ "src/lib/tasks/clone.ts"() {
3976
+ "use strict";
3977
+ init_task();
3978
+ init_utils();
3979
+ }
3980
+ });
3981
+
3982
+ // src/lib/parsers/parse-fetch.ts
3983
+ function parseFetchResult(stdOut, stdErr) {
3984
+ const result = {
3985
+ raw: stdOut,
3986
+ remote: null,
3987
+ branches: [],
3988
+ tags: [],
3989
+ updated: [],
3990
+ deleted: []
3991
+ };
3992
+ return parseStringResponse(result, parsers10, [stdOut, stdErr]);
3993
+ }
3994
+ var parsers10;
3995
+ var init_parse_fetch = __esm({
3996
+ "src/lib/parsers/parse-fetch.ts"() {
3997
+ "use strict";
3998
+ init_utils();
3999
+ parsers10 = [
4000
+ new LineParser(/From (.+)$/, (result, [remote]) => {
4001
+ result.remote = remote;
4002
+ }),
4003
+ new LineParser(/\* \[new branch]\s+(\S+)\s*-> (.+)$/, (result, [name, tracking]) => {
4004
+ result.branches.push({
4005
+ name,
4006
+ tracking
4007
+ });
4008
+ }),
4009
+ new LineParser(/\* \[new tag]\s+(\S+)\s*-> (.+)$/, (result, [name, tracking]) => {
4010
+ result.tags.push({
4011
+ name,
4012
+ tracking
4013
+ });
4014
+ }),
4015
+ new LineParser(/- \[deleted]\s+\S+\s*-> (.+)$/, (result, [tracking]) => {
4016
+ result.deleted.push({
4017
+ tracking
4018
+ });
4019
+ }),
4020
+ new LineParser(
4021
+ /\s*([^.]+)\.\.(\S+)\s+(\S+)\s*-> (.+)$/,
4022
+ (result, [from, to, name, tracking]) => {
4023
+ result.updated.push({
4024
+ name,
4025
+ tracking,
4026
+ to,
4027
+ from
4028
+ });
4029
+ }
4030
+ )
4031
+ ];
4032
+ }
4033
+ });
4034
+
4035
+ // src/lib/tasks/fetch.ts
4036
+ var fetch_exports = {};
4037
+ __export(fetch_exports, {
4038
+ fetchTask: () => fetchTask
4039
+ });
4040
+ function disallowedCommand2(command) {
4041
+ return /^--upload-pack(=|$)/.test(command);
4042
+ }
4043
+ function fetchTask(remote, branch, customArgs) {
4044
+ const commands = ["fetch", ...customArgs];
4045
+ if (remote && branch) {
4046
+ commands.push(remote, branch);
4047
+ }
4048
+ const banned = commands.find(disallowedCommand2);
4049
+ if (banned) {
4050
+ return configurationErrorTask(`git.fetch: potential exploit argument blocked.`);
4051
+ }
4052
+ return {
4053
+ commands,
4054
+ format: "utf-8",
4055
+ parser: parseFetchResult
4056
+ };
4057
+ }
4058
+ var init_fetch = __esm({
4059
+ "src/lib/tasks/fetch.ts"() {
4060
+ "use strict";
4061
+ init_parse_fetch();
4062
+ init_task();
4063
+ }
4064
+ });
4065
+
4066
+ // src/lib/parsers/parse-move.ts
4067
+ function parseMoveResult(stdOut) {
4068
+ return parseStringResponse({ moves: [] }, parsers11, stdOut);
4069
+ }
4070
+ var parsers11;
4071
+ var init_parse_move = __esm({
4072
+ "src/lib/parsers/parse-move.ts"() {
4073
+ "use strict";
4074
+ init_utils();
4075
+ parsers11 = [
4076
+ new LineParser(/^Renaming (.+) to (.+)$/, (result, [from, to]) => {
4077
+ result.moves.push({ from, to });
4078
+ })
4079
+ ];
4080
+ }
4081
+ });
4082
+
4083
+ // src/lib/tasks/move.ts
4084
+ var move_exports = {};
4085
+ __export(move_exports, {
4086
+ moveTask: () => moveTask
4087
+ });
4088
+ function moveTask(from, to) {
4089
+ return {
4090
+ commands: ["mv", "-v", ...asArray(from), to],
4091
+ format: "utf-8",
4092
+ parser: parseMoveResult
4093
+ };
4094
+ }
4095
+ var init_move = __esm({
4096
+ "src/lib/tasks/move.ts"() {
4097
+ "use strict";
4098
+ init_parse_move();
4099
+ init_utils();
4100
+ }
4101
+ });
4102
+
4103
+ // src/lib/tasks/pull.ts
4104
+ var pull_exports = {};
4105
+ __export(pull_exports, {
4106
+ pullTask: () => pullTask
4107
+ });
4108
+ function pullTask(remote, branch, customArgs) {
4109
+ const commands = ["pull", ...customArgs];
4110
+ if (remote && branch) {
4111
+ commands.splice(1, 0, remote, branch);
4112
+ }
4113
+ return {
4114
+ commands,
4115
+ format: "utf-8",
4116
+ parser(stdOut, stdErr) {
4117
+ return parsePullResult(stdOut, stdErr);
4118
+ },
4119
+ onError(result, _error, _done, fail) {
4120
+ const pullError = parsePullErrorResult(
4121
+ bufferToString(result.stdOut),
4122
+ bufferToString(result.stdErr)
4123
+ );
4124
+ if (pullError) {
4125
+ return fail(new GitResponseError(pullError));
4126
+ }
4127
+ fail(_error);
4128
+ }
4129
+ };
4130
+ }
4131
+ var init_pull = __esm({
4132
+ "src/lib/tasks/pull.ts"() {
4133
+ "use strict";
4134
+ init_git_response_error();
4135
+ init_parse_pull();
4136
+ init_utils();
4137
+ }
4138
+ });
4139
+
4140
+ // src/lib/responses/GetRemoteSummary.ts
4141
+ function parseGetRemotes(text) {
4142
+ const remotes = {};
4143
+ forEach(text, ([name]) => remotes[name] = { name });
4144
+ return Object.values(remotes);
4145
+ }
4146
+ function parseGetRemotesVerbose(text) {
4147
+ const remotes = {};
4148
+ forEach(text, ([name, url, purpose]) => {
4149
+ if (!remotes.hasOwnProperty(name)) {
4150
+ remotes[name] = {
4151
+ name,
4152
+ refs: { fetch: "", push: "" }
4153
+ };
4154
+ }
4155
+ if (purpose && url) {
4156
+ remotes[name].refs[purpose.replace(/[^a-z]/g, "")] = url;
4157
+ }
4158
+ });
4159
+ return Object.values(remotes);
4160
+ }
4161
+ function forEach(text, handler) {
4162
+ forEachLineWithContent(text, (line) => handler(line.split(/\s+/)));
4163
+ }
4164
+ var init_GetRemoteSummary = __esm({
4165
+ "src/lib/responses/GetRemoteSummary.ts"() {
4166
+ "use strict";
4167
+ init_utils();
4168
+ }
4169
+ });
4170
+
4171
+ // src/lib/tasks/remote.ts
4172
+ var remote_exports = {};
4173
+ __export(remote_exports, {
4174
+ addRemoteTask: () => addRemoteTask,
4175
+ getRemotesTask: () => getRemotesTask,
4176
+ listRemotesTask: () => listRemotesTask,
4177
+ remoteTask: () => remoteTask,
4178
+ removeRemoteTask: () => removeRemoteTask
4179
+ });
4180
+ function addRemoteTask(remoteName, remoteRepo, customArgs) {
4181
+ return straightThroughStringTask(["remote", "add", ...customArgs, remoteName, remoteRepo]);
4182
+ }
4183
+ function getRemotesTask(verbose) {
4184
+ const commands = ["remote"];
4185
+ if (verbose) {
4186
+ commands.push("-v");
4187
+ }
4188
+ return {
4189
+ commands,
4190
+ format: "utf-8",
4191
+ parser: verbose ? parseGetRemotesVerbose : parseGetRemotes
4192
+ };
4193
+ }
4194
+ function listRemotesTask(customArgs) {
4195
+ const commands = [...customArgs];
4196
+ if (commands[0] !== "ls-remote") {
4197
+ commands.unshift("ls-remote");
4198
+ }
4199
+ return straightThroughStringTask(commands);
4200
+ }
4201
+ function remoteTask(customArgs) {
4202
+ const commands = [...customArgs];
4203
+ if (commands[0] !== "remote") {
4204
+ commands.unshift("remote");
4205
+ }
4206
+ return straightThroughStringTask(commands);
4207
+ }
4208
+ function removeRemoteTask(remoteName) {
4209
+ return straightThroughStringTask(["remote", "remove", remoteName]);
4210
+ }
4211
+ var init_remote = __esm({
4212
+ "src/lib/tasks/remote.ts"() {
4213
+ "use strict";
4214
+ init_GetRemoteSummary();
4215
+ init_task();
4216
+ }
4217
+ });
4218
+
4219
+ // src/lib/tasks/stash-list.ts
4220
+ var stash_list_exports = {};
4221
+ __export(stash_list_exports, {
4222
+ stashListTask: () => stashListTask
4223
+ });
4224
+ function stashListTask(opt = {}, customArgs) {
4225
+ const options = parseLogOptions(opt);
4226
+ const commands = ["stash", "list", ...options.commands, ...customArgs];
4227
+ const parser4 = createListLogSummaryParser(
4228
+ options.splitter,
4229
+ options.fields,
4230
+ logFormatFromCommand(commands)
4231
+ );
4232
+ return validateLogFormatConfig(commands) || {
4233
+ commands,
4234
+ format: "utf-8",
4235
+ parser: parser4
4236
+ };
4237
+ }
4238
+ var init_stash_list = __esm({
4239
+ "src/lib/tasks/stash-list.ts"() {
4240
+ "use strict";
4241
+ init_log_format();
4242
+ init_parse_list_log_summary();
4243
+ init_diff();
4244
+ init_log();
4245
+ }
4246
+ });
4247
+
4248
+ // src/lib/tasks/sub-module.ts
4249
+ var sub_module_exports = {};
4250
+ __export(sub_module_exports, {
4251
+ addSubModuleTask: () => addSubModuleTask,
4252
+ initSubModuleTask: () => initSubModuleTask,
4253
+ subModuleTask: () => subModuleTask,
4254
+ updateSubModuleTask: () => updateSubModuleTask
4255
+ });
4256
+ function addSubModuleTask(repo, path) {
4257
+ return subModuleTask(["add", repo, path]);
4258
+ }
4259
+ function initSubModuleTask(customArgs) {
4260
+ return subModuleTask(["init", ...customArgs]);
4261
+ }
4262
+ function subModuleTask(customArgs) {
4263
+ const commands = [...customArgs];
4264
+ if (commands[0] !== "submodule") {
4265
+ commands.unshift("submodule");
4266
+ }
4267
+ return straightThroughStringTask(commands);
4268
+ }
4269
+ function updateSubModuleTask(customArgs) {
4270
+ return subModuleTask(["update", ...customArgs]);
4271
+ }
4272
+ var init_sub_module = __esm({
4273
+ "src/lib/tasks/sub-module.ts"() {
4274
+ "use strict";
4275
+ init_task();
4276
+ }
4277
+ });
4278
+
4279
+ // src/lib/responses/TagList.ts
4280
+ function singleSorted(a, b) {
4281
+ const aIsNum = isNaN(a);
4282
+ const bIsNum = isNaN(b);
4283
+ if (aIsNum !== bIsNum) {
4284
+ return aIsNum ? 1 : -1;
4285
+ }
4286
+ return aIsNum ? sorted(a, b) : 0;
4287
+ }
4288
+ function sorted(a, b) {
4289
+ return a === b ? 0 : a > b ? 1 : -1;
4290
+ }
4291
+ function trimmed(input) {
4292
+ return input.trim();
4293
+ }
4294
+ function toNumber(input) {
4295
+ if (typeof input === "string") {
4296
+ return parseInt(input.replace(/^\D+/g, ""), 10) || 0;
4297
+ }
4298
+ return 0;
4299
+ }
4300
+ var TagList, parseTagList;
4301
+ var init_TagList = __esm({
4302
+ "src/lib/responses/TagList.ts"() {
4303
+ "use strict";
4304
+ TagList = class {
4305
+ constructor(all, latest) {
4306
+ this.all = all;
4307
+ this.latest = latest;
4308
+ }
4309
+ };
4310
+ parseTagList = function(data, customSort = false) {
4311
+ const tags = data.split("\n").map(trimmed).filter(Boolean);
4312
+ if (!customSort) {
4313
+ tags.sort(function(tagA, tagB) {
4314
+ const partsA = tagA.split(".");
4315
+ const partsB = tagB.split(".");
4316
+ if (partsA.length === 1 || partsB.length === 1) {
4317
+ return singleSorted(toNumber(partsA[0]), toNumber(partsB[0]));
4318
+ }
4319
+ for (let i = 0, l = Math.max(partsA.length, partsB.length); i < l; i++) {
4320
+ const diff = sorted(toNumber(partsA[i]), toNumber(partsB[i]));
4321
+ if (diff) {
4322
+ return diff;
4323
+ }
4324
+ }
4325
+ return 0;
4326
+ });
4327
+ }
4328
+ const latest = customSort ? tags[0] : [...tags].reverse().find((tag) => tag.indexOf(".") >= 0);
4329
+ return new TagList(tags, latest);
4330
+ };
4331
+ }
4332
+ });
4333
+
4334
+ // src/lib/tasks/tag.ts
4335
+ var tag_exports = {};
4336
+ __export(tag_exports, {
4337
+ addAnnotatedTagTask: () => addAnnotatedTagTask,
4338
+ addTagTask: () => addTagTask,
4339
+ tagListTask: () => tagListTask
4340
+ });
4341
+ function tagListTask(customArgs = []) {
4342
+ const hasCustomSort = customArgs.some((option) => /^--sort=/.test(option));
4343
+ return {
4344
+ format: "utf-8",
4345
+ commands: ["tag", "-l", ...customArgs],
4346
+ parser(text) {
4347
+ return parseTagList(text, hasCustomSort);
4348
+ }
4349
+ };
4350
+ }
4351
+ function addTagTask(name) {
4352
+ return {
4353
+ format: "utf-8",
4354
+ commands: ["tag", name],
4355
+ parser() {
4356
+ return { name };
4357
+ }
4358
+ };
4359
+ }
4360
+ function addAnnotatedTagTask(name, tagMessage) {
4361
+ return {
4362
+ format: "utf-8",
4363
+ commands: ["tag", "-a", "-m", tagMessage, name],
4364
+ parser() {
4365
+ return { name };
4366
+ }
4367
+ };
4368
+ }
4369
+ var init_tag = __esm({
4370
+ "src/lib/tasks/tag.ts"() {
4371
+ "use strict";
4372
+ init_TagList();
4373
+ }
4374
+ });
4375
+
4376
+ // src/git.js
4377
+ var require_git = __commonJS({
4378
+ "src/git.js"(exports2, module2) {
4379
+ "use strict";
4380
+ var { GitExecutor: GitExecutor2 } = (init_git_executor(), __toCommonJS(git_executor_exports));
4381
+ var { SimpleGitApi: SimpleGitApi2 } = (init_simple_git_api(), __toCommonJS(simple_git_api_exports));
4382
+ var { Scheduler: Scheduler2 } = (init_scheduler(), __toCommonJS(scheduler_exports));
4383
+ var { configurationErrorTask: configurationErrorTask2 } = (init_task(), __toCommonJS(task_exports));
4384
+ var {
4385
+ asArray: asArray2,
4386
+ filterArray: filterArray2,
4387
+ filterPrimitives: filterPrimitives2,
4388
+ filterString: filterString2,
4389
+ filterStringOrStringArray: filterStringOrStringArray2,
4390
+ filterType: filterType2,
4391
+ getTrailingOptions: getTrailingOptions2,
4392
+ trailingFunctionArgument: trailingFunctionArgument2,
4393
+ trailingOptionsArgument: trailingOptionsArgument2
4394
+ } = (init_utils(), __toCommonJS(utils_exports));
4395
+ var { applyPatchTask: applyPatchTask2 } = (init_apply_patch(), __toCommonJS(apply_patch_exports));
4396
+ var {
4397
+ branchTask: branchTask2,
4398
+ branchLocalTask: branchLocalTask2,
4399
+ deleteBranchesTask: deleteBranchesTask2,
4400
+ deleteBranchTask: deleteBranchTask2
4401
+ } = (init_branch(), __toCommonJS(branch_exports));
4402
+ var { checkIgnoreTask: checkIgnoreTask2 } = (init_check_ignore(), __toCommonJS(check_ignore_exports));
4403
+ var { checkIsRepoTask: checkIsRepoTask2 } = (init_check_is_repo(), __toCommonJS(check_is_repo_exports));
4404
+ var { cloneTask: cloneTask2, cloneMirrorTask: cloneMirrorTask2 } = (init_clone(), __toCommonJS(clone_exports));
4405
+ var { cleanWithOptionsTask: cleanWithOptionsTask2, isCleanOptionsArray: isCleanOptionsArray2 } = (init_clean(), __toCommonJS(clean_exports));
4406
+ var { diffSummaryTask: diffSummaryTask2 } = (init_diff(), __toCommonJS(diff_exports));
4407
+ var { fetchTask: fetchTask2 } = (init_fetch(), __toCommonJS(fetch_exports));
4408
+ var { moveTask: moveTask2 } = (init_move(), __toCommonJS(move_exports));
4409
+ var { pullTask: pullTask2 } = (init_pull(), __toCommonJS(pull_exports));
4410
+ var { pushTagsTask: pushTagsTask2 } = (init_push(), __toCommonJS(push_exports));
4411
+ var {
4412
+ addRemoteTask: addRemoteTask2,
4413
+ getRemotesTask: getRemotesTask2,
4414
+ listRemotesTask: listRemotesTask2,
4415
+ remoteTask: remoteTask2,
4416
+ removeRemoteTask: removeRemoteTask2
4417
+ } = (init_remote(), __toCommonJS(remote_exports));
4418
+ var { getResetMode: getResetMode2, resetTask: resetTask2 } = (init_reset(), __toCommonJS(reset_exports));
4419
+ var { stashListTask: stashListTask2 } = (init_stash_list(), __toCommonJS(stash_list_exports));
4420
+ var {
4421
+ addSubModuleTask: addSubModuleTask2,
4422
+ initSubModuleTask: initSubModuleTask2,
4423
+ subModuleTask: subModuleTask2,
4424
+ updateSubModuleTask: updateSubModuleTask2
4425
+ } = (init_sub_module(), __toCommonJS(sub_module_exports));
4426
+ var { addAnnotatedTagTask: addAnnotatedTagTask2, addTagTask: addTagTask2, tagListTask: tagListTask2 } = (init_tag(), __toCommonJS(tag_exports));
4427
+ var { straightThroughBufferTask: straightThroughBufferTask2, straightThroughStringTask: straightThroughStringTask2 } = (init_task(), __toCommonJS(task_exports));
4428
+ function Git2(options, plugins) {
4429
+ this._plugins = plugins;
4430
+ this._executor = new GitExecutor2(
4431
+ options.baseDir,
4432
+ new Scheduler2(options.maxConcurrentProcesses),
4433
+ plugins
4434
+ );
4435
+ this._trimmed = options.trimmed;
4436
+ }
4437
+ (Git2.prototype = Object.create(SimpleGitApi2.prototype)).constructor = Git2;
4438
+ Git2.prototype.customBinary = function(command) {
4439
+ this._plugins.reconfigure("binary", command);
4440
+ return this;
4441
+ };
4442
+ Git2.prototype.env = function(name, value) {
4443
+ if (arguments.length === 1 && typeof name === "object") {
4444
+ this._executor.env = name;
4445
+ } else {
4446
+ (this._executor.env = this._executor.env || {})[name] = value;
4447
+ }
4448
+ return this;
4449
+ };
4450
+ Git2.prototype.stashList = function(options) {
4451
+ return this._runTask(
4452
+ stashListTask2(
4453
+ trailingOptionsArgument2(arguments) || {},
4454
+ filterArray2(options) && options || []
4455
+ ),
4456
+ trailingFunctionArgument2(arguments)
4457
+ );
4458
+ };
4459
+ function createCloneTask(api, task, repoPath, localPath) {
4460
+ if (typeof repoPath !== "string") {
4461
+ return configurationErrorTask2(`git.${api}() requires a string 'repoPath'`);
4462
+ }
4463
+ return task(repoPath, filterType2(localPath, filterString2), getTrailingOptions2(arguments));
4464
+ }
4465
+ Git2.prototype.clone = function() {
4466
+ return this._runTask(
4467
+ createCloneTask("clone", cloneTask2, ...arguments),
4468
+ trailingFunctionArgument2(arguments)
4469
+ );
4470
+ };
4471
+ Git2.prototype.mirror = function() {
4472
+ return this._runTask(
4473
+ createCloneTask("mirror", cloneMirrorTask2, ...arguments),
4474
+ trailingFunctionArgument2(arguments)
4475
+ );
4476
+ };
4477
+ Git2.prototype.mv = function(from, to) {
4478
+ return this._runTask(moveTask2(from, to), trailingFunctionArgument2(arguments));
4479
+ };
4480
+ Git2.prototype.checkoutLatestTag = function(then) {
4481
+ var git = this;
4482
+ return this.pull(function() {
4483
+ git.tags(function(err, tags) {
4484
+ git.checkout(tags.latest, then);
4485
+ });
4486
+ });
4487
+ };
4488
+ Git2.prototype.pull = function(remote, branch, options, then) {
4489
+ return this._runTask(
4490
+ pullTask2(
4491
+ filterType2(remote, filterString2),
4492
+ filterType2(branch, filterString2),
4493
+ getTrailingOptions2(arguments)
4494
+ ),
4495
+ trailingFunctionArgument2(arguments)
4496
+ );
4497
+ };
4498
+ Git2.prototype.fetch = function(remote, branch) {
4499
+ return this._runTask(
4500
+ fetchTask2(
4501
+ filterType2(remote, filterString2),
4502
+ filterType2(branch, filterString2),
4503
+ getTrailingOptions2(arguments)
4504
+ ),
4505
+ trailingFunctionArgument2(arguments)
4506
+ );
4507
+ };
4508
+ Git2.prototype.silent = function(silence) {
4509
+ console.warn(
4510
+ "simple-git deprecation notice: git.silent: logging should be configured using the `debug` library / `DEBUG` environment variable, this will be an error in version 3"
4511
+ );
4512
+ return this;
4513
+ };
4514
+ Git2.prototype.tags = function(options, then) {
4515
+ return this._runTask(
4516
+ tagListTask2(getTrailingOptions2(arguments)),
4517
+ trailingFunctionArgument2(arguments)
4518
+ );
4519
+ };
4520
+ Git2.prototype.rebase = function() {
4521
+ return this._runTask(
4522
+ straightThroughStringTask2(["rebase", ...getTrailingOptions2(arguments)]),
4523
+ trailingFunctionArgument2(arguments)
4524
+ );
4525
+ };
4526
+ Git2.prototype.reset = function(mode) {
4527
+ return this._runTask(
4528
+ resetTask2(getResetMode2(mode), getTrailingOptions2(arguments)),
4529
+ trailingFunctionArgument2(arguments)
4530
+ );
4531
+ };
4532
+ Git2.prototype.revert = function(commit) {
4533
+ const next = trailingFunctionArgument2(arguments);
4534
+ if (typeof commit !== "string") {
4535
+ return this._runTask(configurationErrorTask2("Commit must be a string"), next);
4536
+ }
4537
+ return this._runTask(
4538
+ straightThroughStringTask2(["revert", ...getTrailingOptions2(arguments, 0, true), commit]),
4539
+ next
4540
+ );
4541
+ };
4542
+ Git2.prototype.addTag = function(name) {
4543
+ const task = typeof name === "string" ? addTagTask2(name) : configurationErrorTask2("Git.addTag requires a tag name");
4544
+ return this._runTask(task, trailingFunctionArgument2(arguments));
4545
+ };
4546
+ Git2.prototype.addAnnotatedTag = function(tagName, tagMessage) {
4547
+ return this._runTask(
4548
+ addAnnotatedTagTask2(tagName, tagMessage),
4549
+ trailingFunctionArgument2(arguments)
4550
+ );
4551
+ };
4552
+ Git2.prototype.deleteLocalBranch = function(branchName, forceDelete, then) {
4553
+ return this._runTask(
4554
+ deleteBranchTask2(branchName, typeof forceDelete === "boolean" ? forceDelete : false),
4555
+ trailingFunctionArgument2(arguments)
4556
+ );
4557
+ };
4558
+ Git2.prototype.deleteLocalBranches = function(branchNames, forceDelete, then) {
4559
+ return this._runTask(
4560
+ deleteBranchesTask2(branchNames, typeof forceDelete === "boolean" ? forceDelete : false),
4561
+ trailingFunctionArgument2(arguments)
4562
+ );
4563
+ };
4564
+ Git2.prototype.branch = function(options, then) {
4565
+ return this._runTask(
4566
+ branchTask2(getTrailingOptions2(arguments)),
4567
+ trailingFunctionArgument2(arguments)
4568
+ );
4569
+ };
4570
+ Git2.prototype.branchLocal = function(then) {
4571
+ return this._runTask(branchLocalTask2(), trailingFunctionArgument2(arguments));
4572
+ };
4573
+ Git2.prototype.raw = function(commands) {
4574
+ const createRestCommands = !Array.isArray(commands);
4575
+ const command = [].slice.call(createRestCommands ? arguments : commands, 0);
4576
+ for (let i = 0; i < command.length && createRestCommands; i++) {
4577
+ if (!filterPrimitives2(command[i])) {
4578
+ command.splice(i, command.length - i);
4579
+ break;
4580
+ }
4581
+ }
4582
+ command.push(...getTrailingOptions2(arguments, 0, true));
4583
+ var next = trailingFunctionArgument2(arguments);
4584
+ if (!command.length) {
4585
+ return this._runTask(
4586
+ configurationErrorTask2("Raw: must supply one or more command to execute"),
4587
+ next
4588
+ );
4589
+ }
4590
+ return this._runTask(straightThroughStringTask2(command, this._trimmed), next);
4591
+ };
4592
+ Git2.prototype.submoduleAdd = function(repo, path, then) {
4593
+ return this._runTask(addSubModuleTask2(repo, path), trailingFunctionArgument2(arguments));
4594
+ };
4595
+ Git2.prototype.submoduleUpdate = function(args, then) {
4596
+ return this._runTask(
4597
+ updateSubModuleTask2(getTrailingOptions2(arguments, true)),
4598
+ trailingFunctionArgument2(arguments)
4599
+ );
4600
+ };
4601
+ Git2.prototype.submoduleInit = function(args, then) {
4602
+ return this._runTask(
4603
+ initSubModuleTask2(getTrailingOptions2(arguments, true)),
4604
+ trailingFunctionArgument2(arguments)
4605
+ );
4606
+ };
4607
+ Git2.prototype.subModule = function(options, then) {
4608
+ return this._runTask(
4609
+ subModuleTask2(getTrailingOptions2(arguments)),
4610
+ trailingFunctionArgument2(arguments)
4611
+ );
4612
+ };
4613
+ Git2.prototype.listRemote = function() {
4614
+ return this._runTask(
4615
+ listRemotesTask2(getTrailingOptions2(arguments)),
4616
+ trailingFunctionArgument2(arguments)
4617
+ );
4618
+ };
4619
+ Git2.prototype.addRemote = function(remoteName, remoteRepo, then) {
4620
+ return this._runTask(
4621
+ addRemoteTask2(remoteName, remoteRepo, getTrailingOptions2(arguments)),
4622
+ trailingFunctionArgument2(arguments)
4623
+ );
4624
+ };
4625
+ Git2.prototype.removeRemote = function(remoteName, then) {
4626
+ return this._runTask(removeRemoteTask2(remoteName), trailingFunctionArgument2(arguments));
4627
+ };
4628
+ Git2.prototype.getRemotes = function(verbose, then) {
4629
+ return this._runTask(getRemotesTask2(verbose === true), trailingFunctionArgument2(arguments));
4630
+ };
4631
+ Git2.prototype.remote = function(options, then) {
4632
+ return this._runTask(
4633
+ remoteTask2(getTrailingOptions2(arguments)),
4634
+ trailingFunctionArgument2(arguments)
4635
+ );
4636
+ };
4637
+ Git2.prototype.tag = function(options, then) {
4638
+ const command = getTrailingOptions2(arguments);
4639
+ if (command[0] !== "tag") {
4640
+ command.unshift("tag");
4641
+ }
4642
+ return this._runTask(straightThroughStringTask2(command), trailingFunctionArgument2(arguments));
4643
+ };
4644
+ Git2.prototype.updateServerInfo = function(then) {
4645
+ return this._runTask(
4646
+ straightThroughStringTask2(["update-server-info"]),
4647
+ trailingFunctionArgument2(arguments)
4648
+ );
4649
+ };
4650
+ Git2.prototype.pushTags = function(remote, then) {
4651
+ const task = pushTagsTask2(
4652
+ { remote: filterType2(remote, filterString2) },
4653
+ getTrailingOptions2(arguments)
4654
+ );
4655
+ return this._runTask(task, trailingFunctionArgument2(arguments));
4656
+ };
4657
+ Git2.prototype.rm = function(files) {
4658
+ return this._runTask(
4659
+ straightThroughStringTask2(["rm", "-f", ...asArray2(files)]),
4660
+ trailingFunctionArgument2(arguments)
4661
+ );
4662
+ };
4663
+ Git2.prototype.rmKeepLocal = function(files) {
4664
+ return this._runTask(
4665
+ straightThroughStringTask2(["rm", "--cached", ...asArray2(files)]),
4666
+ trailingFunctionArgument2(arguments)
4667
+ );
4668
+ };
4669
+ Git2.prototype.catFile = function(options, then) {
4670
+ return this._catFile("utf-8", arguments);
4671
+ };
4672
+ Git2.prototype.binaryCatFile = function() {
4673
+ return this._catFile("buffer", arguments);
4674
+ };
4675
+ Git2.prototype._catFile = function(format, args) {
4676
+ var handler = trailingFunctionArgument2(args);
4677
+ var command = ["cat-file"];
4678
+ var options = args[0];
4679
+ if (typeof options === "string") {
4680
+ return this._runTask(
4681
+ configurationErrorTask2("Git.catFile: options must be supplied as an array of strings"),
4682
+ handler
4683
+ );
4684
+ }
4685
+ if (Array.isArray(options)) {
4686
+ command.push.apply(command, options);
4687
+ }
4688
+ const task = format === "buffer" ? straightThroughBufferTask2(command) : straightThroughStringTask2(command);
4689
+ return this._runTask(task, handler);
4690
+ };
4691
+ Git2.prototype.diff = function(options, then) {
4692
+ const task = filterString2(options) ? configurationErrorTask2(
4693
+ "git.diff: supplying options as a single string is no longer supported, switch to an array of strings"
4694
+ ) : straightThroughStringTask2(["diff", ...getTrailingOptions2(arguments)]);
4695
+ return this._runTask(task, trailingFunctionArgument2(arguments));
4696
+ };
4697
+ Git2.prototype.diffSummary = function() {
4698
+ return this._runTask(
4699
+ diffSummaryTask2(getTrailingOptions2(arguments, 1)),
4700
+ trailingFunctionArgument2(arguments)
4701
+ );
4702
+ };
4703
+ Git2.prototype.applyPatch = function(patches) {
4704
+ const task = !filterStringOrStringArray2(patches) ? configurationErrorTask2(
4705
+ `git.applyPatch requires one or more string patches as the first argument`
4706
+ ) : applyPatchTask2(asArray2(patches), getTrailingOptions2([].slice.call(arguments, 1)));
4707
+ return this._runTask(task, trailingFunctionArgument2(arguments));
4708
+ };
4709
+ Git2.prototype.revparse = function() {
4710
+ const commands = ["rev-parse", ...getTrailingOptions2(arguments, true)];
4711
+ return this._runTask(
4712
+ straightThroughStringTask2(commands, true),
4713
+ trailingFunctionArgument2(arguments)
4714
+ );
4715
+ };
4716
+ Git2.prototype.clean = function(mode, options, then) {
4717
+ const usingCleanOptionsArray = isCleanOptionsArray2(mode);
4718
+ const cleanMode = usingCleanOptionsArray && mode.join("") || filterType2(mode, filterString2) || "";
4719
+ const customArgs = getTrailingOptions2([].slice.call(arguments, usingCleanOptionsArray ? 1 : 0));
4720
+ return this._runTask(
4721
+ cleanWithOptionsTask2(cleanMode, customArgs),
4722
+ trailingFunctionArgument2(arguments)
4723
+ );
4724
+ };
4725
+ Git2.prototype.exec = function(then) {
4726
+ const task = {
4727
+ commands: [],
4728
+ format: "utf-8",
4729
+ parser() {
4730
+ if (typeof then === "function") {
4731
+ then();
4732
+ }
4733
+ }
4734
+ };
4735
+ return this._runTask(task);
4736
+ };
4737
+ Git2.prototype.clearQueue = function() {
4738
+ return this;
4739
+ };
4740
+ Git2.prototype.checkIgnore = function(pathnames, then) {
4741
+ return this._runTask(
4742
+ checkIgnoreTask2(asArray2(filterType2(pathnames, filterStringOrStringArray2, []))),
4743
+ trailingFunctionArgument2(arguments)
4744
+ );
4745
+ };
4746
+ Git2.prototype.checkIsRepo = function(checkType, then) {
4747
+ return this._runTask(
4748
+ checkIsRepoTask2(filterType2(checkType, filterString2)),
4749
+ trailingFunctionArgument2(arguments)
4750
+ );
4751
+ };
4752
+ module2.exports = Git2;
4753
+ }
4754
+ });
4755
+
4756
+ // src/lib/git-factory.ts
4757
+ var git_factory_exports = {};
4758
+ __export(git_factory_exports, {
4759
+ esModuleFactory: () => esModuleFactory,
4760
+ gitExportFactory: () => gitExportFactory,
4761
+ gitInstanceFactory: () => gitInstanceFactory
4762
+ });
4763
+ function esModuleFactory(defaultExport) {
4764
+ return Object.defineProperties(defaultExport, {
4765
+ __esModule: { value: true },
4766
+ default: { value: defaultExport }
4767
+ });
4768
+ }
4769
+ function gitExportFactory(factory) {
4770
+ return Object.assign(factory.bind(null), api_exports);
4771
+ }
4772
+ function gitInstanceFactory(baseDir, options) {
4773
+ var _a2;
4774
+ const plugins = new PluginStore();
4775
+ const config = createInstanceConfig(
4776
+ baseDir && (typeof baseDir === "string" ? { baseDir } : baseDir) || {},
4777
+ options
4778
+ );
4779
+ if (!folderExists(config.baseDir)) {
4780
+ throw new GitConstructError(
4781
+ config,
4782
+ `Cannot use simple-git on a directory that does not exist`
4783
+ );
4784
+ }
4785
+ if (Array.isArray(config.config)) {
4786
+ plugins.add(commandConfigPrefixingPlugin(config.config));
4787
+ }
4788
+ plugins.add(blockUnsafeOperationsPlugin(config.unsafe));
4789
+ plugins.add(suffixPathsPlugin());
4790
+ plugins.add(completionDetectionPlugin(config.completion));
4791
+ config.abort && plugins.add(abortPlugin(config.abort));
4792
+ config.progress && plugins.add(progressMonitorPlugin(config.progress));
4793
+ config.timeout && plugins.add(timeoutPlugin(config.timeout));
4794
+ config.spawnOptions && plugins.add(spawnOptionsPlugin(config.spawnOptions));
4795
+ plugins.add(errorDetectionPlugin(errorDetectionHandler(true)));
4796
+ config.errors && plugins.add(errorDetectionPlugin(config.errors));
4797
+ customBinaryPlugin(plugins, config.binary, (_a2 = config.unsafe) == null ? void 0 : _a2.allowUnsafeCustomBinary);
4798
+ return new Git(config, plugins);
4799
+ }
4800
+ var Git;
4801
+ var init_git_factory = __esm({
4802
+ "src/lib/git-factory.ts"() {
4803
+ "use strict";
4804
+ init_api();
4805
+ init_plugins();
4806
+ init_suffix_paths_plugin();
4807
+ init_utils();
4808
+ Git = require_git();
4809
+ }
4810
+ });
4811
+
4812
+ // src/lib/runners/promise-wrapped.ts
4813
+ var promise_wrapped_exports = {};
4814
+ __export(promise_wrapped_exports, {
4815
+ gitP: () => gitP
4816
+ });
4817
+ function gitP(...args) {
4818
+ let git;
4819
+ let chain = Promise.resolve();
4820
+ try {
4821
+ git = gitInstanceFactory(...args);
4822
+ } catch (e) {
4823
+ chain = Promise.reject(e);
4824
+ }
4825
+ function builderReturn() {
4826
+ return promiseApi;
4827
+ }
4828
+ function chainReturn() {
4829
+ return chain;
4830
+ }
4831
+ const promiseApi = [...functionNamesBuilderApi, ...functionNamesPromiseApi].reduce(
4832
+ (api, name) => {
4833
+ const isAsync = functionNamesPromiseApi.includes(name);
4834
+ const valid = isAsync ? asyncWrapper(name, git) : syncWrapper(name, git, api);
4835
+ const alternative = isAsync ? chainReturn : builderReturn;
4836
+ Object.defineProperty(api, name, {
4837
+ enumerable: false,
4838
+ configurable: false,
4839
+ value: git ? valid : alternative
4840
+ });
4841
+ return api;
4842
+ },
4843
+ {}
4844
+ );
4845
+ return promiseApi;
4846
+ function asyncWrapper(fn, git2) {
4847
+ return function(...args2) {
4848
+ if (typeof args2[args2.length] === "function") {
4849
+ throw new TypeError(
4850
+ "Promise interface requires that handlers are not supplied inline, trailing function not allowed in call to " + fn
4851
+ );
4852
+ }
4853
+ return chain.then(function() {
4854
+ return new Promise(function(resolve, reject) {
4855
+ const callback = (err, result) => {
4856
+ if (err) {
4857
+ return reject(toError(err));
4858
+ }
4859
+ resolve(result);
4860
+ };
4861
+ args2.push(callback);
4862
+ git2[fn].apply(git2, args2);
4863
+ });
4864
+ });
4865
+ };
4866
+ }
4867
+ function syncWrapper(fn, git2, api) {
4868
+ return (...args2) => {
4869
+ git2[fn](...args2);
4870
+ return api;
4871
+ };
4872
+ }
4873
+ }
4874
+ function toError(error) {
4875
+ if (error instanceof Error) {
4876
+ return error;
4877
+ }
4878
+ if (typeof error === "string") {
4879
+ return new Error(error);
4880
+ }
4881
+ return new GitResponseError(error);
4882
+ }
4883
+ var functionNamesBuilderApi, functionNamesPromiseApi;
4884
+ var init_promise_wrapped = __esm({
4885
+ "src/lib/runners/promise-wrapped.ts"() {
4886
+ "use strict";
4887
+ init_git_response_error();
4888
+ init_git_factory();
4889
+ functionNamesBuilderApi = ["customBinary", "env", "outputHandler", "silent"];
4890
+ functionNamesPromiseApi = [
4891
+ "add",
4892
+ "addAnnotatedTag",
4893
+ "addConfig",
4894
+ "addRemote",
4895
+ "addTag",
4896
+ "applyPatch",
4897
+ "binaryCatFile",
4898
+ "branch",
4899
+ "branchLocal",
4900
+ "catFile",
4901
+ "checkIgnore",
4902
+ "checkIsRepo",
4903
+ "checkout",
4904
+ "checkoutBranch",
4905
+ "checkoutLatestTag",
4906
+ "checkoutLocalBranch",
4907
+ "clean",
4908
+ "clone",
4909
+ "commit",
4910
+ "cwd",
4911
+ "deleteLocalBranch",
4912
+ "deleteLocalBranches",
4913
+ "diff",
4914
+ "diffSummary",
4915
+ "exec",
4916
+ "fetch",
4917
+ "getRemotes",
4918
+ "init",
4919
+ "listConfig",
4920
+ "listRemote",
4921
+ "log",
4922
+ "merge",
4923
+ "mergeFromTo",
4924
+ "mirror",
4925
+ "mv",
4926
+ "pull",
4927
+ "push",
4928
+ "pushTags",
4929
+ "raw",
4930
+ "rebase",
4931
+ "remote",
4932
+ "removeRemote",
4933
+ "reset",
4934
+ "revert",
4935
+ "revparse",
4936
+ "rm",
4937
+ "rmKeepLocal",
4938
+ "show",
4939
+ "stash",
4940
+ "stashList",
4941
+ "status",
4942
+ "subModule",
4943
+ "submoduleAdd",
4944
+ "submoduleInit",
4945
+ "submoduleUpdate",
4946
+ "tag",
4947
+ "tags",
4948
+ "updateServerInfo"
4949
+ ];
4950
+ }
4951
+ });
4952
+
4953
+ // src/index.js
4954
+ var { gitP: gitP2 } = (init_promise_wrapped(), __toCommonJS(promise_wrapped_exports));
4955
+ var { esModuleFactory: esModuleFactory2, gitInstanceFactory: gitInstanceFactory2, gitExportFactory: gitExportFactory2 } = (init_git_factory(), __toCommonJS(git_factory_exports));
4956
+ var simpleGit = esModuleFactory2(gitExportFactory2(gitInstanceFactory2));
4957
+ module.exports = Object.assign(simpleGit, { gitP: gitP2, simpleGit });
4958
+ //# sourceMappingURL=index.js.map