@bleedingdev/modern-js-utils 3.9.0-ultramodern.9 → 3.9.3-ultramodern.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1396) hide show
  1. package/dist/cjs/cli/applyOptionsChain.js +1 -1
  2. package/dist/cjs/cli/get/config.js +1 -1
  3. package/dist/cjs/cli/is/config.js +1 -1
  4. package/dist/cjs/cli/require.js +3 -7
  5. package/dist/cjs/compiled.js +28 -34
  6. package/dist/cjs/fast-glob.js +50 -0
  7. package/dist/cjs/watch-options.js +18 -0
  8. package/dist/compiled/address/LICENSE.txt +22 -0
  9. package/dist/compiled/address/declaration-licenses/address/LICENSE.txt +22 -0
  10. package/dist/compiled/address/index.d.mts +50 -0
  11. package/dist/compiled/address/index.d.ts +50 -0
  12. package/dist/compiled/address/index.js +189 -136
  13. package/dist/compiled/address/index.mjs +187 -0
  14. package/dist/compiled/address/licenses-cjs.txt +24 -0
  15. package/dist/compiled/address/licenses-esm.txt +24 -0
  16. package/dist/compiled/address/package.json +1 -1
  17. package/dist/compiled/address/provenance.json +22 -0
  18. package/dist/compiled/browserslist/LICENSE +20 -0
  19. package/dist/compiled/browserslist/declaration-licenses/browserslist/LICENSE +20 -0
  20. package/dist/compiled/browserslist/index.d.ts +51 -5
  21. package/dist/compiled/browserslist/index.js +1763 -820
  22. package/dist/compiled/browserslist/licenses-cjs.txt +286 -0
  23. package/dist/compiled/browserslist/package.json +1 -1
  24. package/dist/compiled/browserslist/provenance.json +19 -0
  25. package/dist/compiled/chalk/declaration-licenses/chalk/license +9 -0
  26. package/dist/compiled/chalk/index.d.mts +677 -0
  27. package/dist/compiled/chalk/index.d.ts +619 -357
  28. package/dist/compiled/chalk/index.js +734 -2343
  29. package/dist/compiled/chalk/index.mjs +761 -0
  30. package/dist/compiled/chalk/license +1 -1
  31. package/dist/compiled/chalk/licenses-cjs.txt +11 -0
  32. package/dist/compiled/chalk/licenses-esm.txt +11 -0
  33. package/dist/compiled/chalk/package.json +1 -1
  34. package/dist/compiled/chalk/provenance.json +19 -0
  35. package/dist/compiled/chokidar/LICENSE +21 -0
  36. package/dist/compiled/chokidar/declaration-licenses/chokidar/LICENSE +21 -0
  37. package/dist/compiled/chokidar/declaration-licenses/readdirp/LICENSE +21 -0
  38. package/dist/compiled/chokidar/index.d.mts +385 -0
  39. package/dist/compiled/chokidar/index.d.ts +385 -0
  40. package/dist/compiled/chokidar/index.js +1437 -4099
  41. package/dist/compiled/chokidar/index.js.LICENSE.txt +1 -41
  42. package/dist/compiled/chokidar/index.mjs +1492 -0
  43. package/dist/compiled/chokidar/index.mjs.LICENSE.txt +1 -0
  44. package/dist/compiled/chokidar/licenses-cjs.txt +48 -0
  45. package/dist/compiled/chokidar/licenses-esm.txt +48 -0
  46. package/dist/compiled/chokidar/package.json +1 -1
  47. package/dist/compiled/chokidar/provenance.json +27 -0
  48. package/dist/compiled/commander/declaration-licenses/commander/LICENSE +22 -0
  49. package/dist/compiled/commander/index.d.mts +1116 -0
  50. package/dist/compiled/commander/index.d.ts +1116 -0
  51. package/dist/compiled/commander/index.js +1738 -1499
  52. package/dist/compiled/commander/index.mjs +1778 -2
  53. package/dist/compiled/commander/licenses-cjs.txt +24 -0
  54. package/dist/compiled/commander/licenses-esm.txt +24 -0
  55. package/dist/compiled/commander/package.json +1 -1
  56. package/dist/compiled/commander/provenance.json +22 -0
  57. package/dist/compiled/debug/declaration-licenses/@types_ms/LICENSE +21 -0
  58. package/dist/compiled/debug/index.d.ts +79 -16
  59. package/dist/compiled/debug/index.js +172 -106
  60. package/dist/compiled/debug/licenses-cjs.txt +60 -0
  61. package/dist/compiled/debug/package.json +1 -1
  62. package/dist/compiled/debug/provenance.json +27 -0
  63. package/dist/compiled/dotenv-expand/declaration-licenses/dotenv-expand/LICENSE +24 -0
  64. package/dist/compiled/dotenv-expand/index.d.ts +48 -10
  65. package/dist/compiled/dotenv-expand/index.js +65 -41
  66. package/dist/compiled/dotenv-expand/licenses-cjs.txt +25 -0
  67. package/dist/compiled/dotenv-expand/package.json +1 -1
  68. package/dist/compiled/dotenv-expand/provenance.json +22 -0
  69. package/dist/compiled/execa/declaration-licenses/execa/license +9 -0
  70. package/dist/compiled/execa/index.d.mts +2451 -0
  71. package/dist/compiled/execa/index.d.ts +2301 -414
  72. package/dist/compiled/execa/index.js +6485 -1681
  73. package/dist/compiled/execa/index.mjs +6541 -0
  74. package/dist/compiled/execa/licenses-cjs.txt +443 -0
  75. package/dist/compiled/execa/licenses-esm.txt +443 -0
  76. package/dist/compiled/execa/package.json +1 -1
  77. package/dist/compiled/execa/provenance.json +19 -0
  78. package/dist/compiled/filesize/LICENSE +28 -0
  79. package/dist/compiled/filesize/declaration-licenses/filesize/LICENSE +28 -0
  80. package/dist/compiled/filesize/index.d.mts +98 -0
  81. package/dist/compiled/filesize/index.d.ts +98 -0
  82. package/dist/compiled/filesize/index.js +425 -185
  83. package/dist/compiled/filesize/index.js.LICENSE.txt +2 -2
  84. package/dist/compiled/filesize/index.mjs +450 -0
  85. package/dist/compiled/filesize/index.mjs.LICENSE.txt +7 -0
  86. package/dist/compiled/filesize/licenses-cjs.txt +29 -0
  87. package/dist/compiled/filesize/licenses-esm.txt +29 -0
  88. package/dist/compiled/filesize/package.json +1 -1
  89. package/dist/compiled/filesize/provenance.json +22 -0
  90. package/dist/compiled/fs-extra/LICENSE +15 -0
  91. package/dist/compiled/fs-extra/declaration-licenses/@types_fs-extra/LICENSE +21 -0
  92. package/dist/compiled/fs-extra/declaration-licenses/@types_jsonfile/LICENSE +21 -0
  93. package/dist/compiled/fs-extra/index.d.ts +997 -496
  94. package/dist/compiled/fs-extra/index.js +1142 -1355
  95. package/dist/compiled/fs-extra/licenses-cjs.txt +79 -0
  96. package/dist/compiled/fs-extra/package.json +1 -1
  97. package/dist/compiled/fs-extra/provenance.json +27 -0
  98. package/dist/compiled/glob/LICENSE.md +63 -0
  99. package/dist/compiled/glob/declaration-licenses/glob/LICENSE.md +63 -0
  100. package/dist/compiled/glob/declaration-licenses/lru-cache/LICENSE.md +55 -0
  101. package/dist/compiled/glob/declaration-licenses/minimatch/LICENSE.md +55 -0
  102. package/dist/compiled/glob/declaration-licenses/minipass/LICENSE.md +55 -0
  103. package/dist/compiled/glob/declaration-licenses/path-scurry/LICENSE.md +55 -0
  104. package/dist/compiled/glob/index.d.mts +3823 -0
  105. package/dist/compiled/glob/index.d.ts +3823 -91
  106. package/dist/compiled/glob/index.js +3612 -1937
  107. package/dist/compiled/glob/index.mjs +3467 -0
  108. package/dist/compiled/glob/licenses-cjs.txt +65 -0
  109. package/dist/compiled/glob/licenses-esm.txt +65 -0
  110. package/dist/compiled/glob/package.json +1 -1
  111. package/dist/compiled/glob/provenance.json +42 -0
  112. package/dist/compiled/globby/declaration-licenses/globby/license +9 -0
  113. package/dist/compiled/globby/index.d.mts +422 -0
  114. package/dist/compiled/globby/index.d.ts +364 -128
  115. package/dist/compiled/globby/index.js +4417 -521
  116. package/dist/compiled/globby/index.js.LICENSE.txt +20 -0
  117. package/dist/compiled/globby/index.mjs +4572 -0
  118. package/dist/compiled/globby/index.mjs.LICENSE.txt +20 -0
  119. package/dist/compiled/globby/license +1 -1
  120. package/dist/compiled/globby/licenses-cjs.txt +237 -0
  121. package/dist/compiled/globby/licenses-esm.txt +237 -0
  122. package/dist/compiled/globby/package.json +1 -1
  123. package/dist/compiled/globby/provenance.json +19 -0
  124. package/dist/compiled/gzip-size/declaration-licenses/gzip-size/license +9 -0
  125. package/dist/compiled/gzip-size/index.d.mts +106 -0
  126. package/dist/compiled/gzip-size/index.d.ts +91 -81
  127. package/dist/compiled/gzip-size/index.js +117 -94
  128. package/dist/compiled/gzip-size/index.mjs +170 -0
  129. package/dist/compiled/gzip-size/licenses-cjs.txt +33 -0
  130. package/dist/compiled/gzip-size/licenses-esm.txt +33 -0
  131. package/dist/compiled/gzip-size/package.json +1 -1
  132. package/dist/compiled/gzip-size/provenance.json +19 -0
  133. package/dist/compiled/import-lazy/declaration-licenses/import-lazy/license +9 -0
  134. package/dist/compiled/import-lazy/index.d.ts +2 -2
  135. package/dist/compiled/import-lazy/index.js +18 -19
  136. package/dist/compiled/import-lazy/licenses-cjs.txt +11 -0
  137. package/dist/compiled/import-lazy/package.json +1 -1
  138. package/dist/compiled/import-lazy/provenance.json +19 -0
  139. package/dist/compiled/inquirer/LICENSE +22 -0
  140. package/dist/compiled/inquirer/declaration-licenses/@inquirer_checkbox/LICENSE +22 -0
  141. package/dist/compiled/inquirer/declaration-licenses/@inquirer_confirm/LICENSE +22 -0
  142. package/dist/compiled/inquirer/declaration-licenses/@inquirer_core/LICENSE +22 -0
  143. package/dist/compiled/inquirer/declaration-licenses/@inquirer_editor/LICENSE +22 -0
  144. package/dist/compiled/inquirer/declaration-licenses/@inquirer_expand/LICENSE +22 -0
  145. package/dist/compiled/inquirer/declaration-licenses/@inquirer_external-editor/LICENSE +22 -0
  146. package/dist/compiled/inquirer/declaration-licenses/@inquirer_input/LICENSE +22 -0
  147. package/dist/compiled/inquirer/declaration-licenses/@inquirer_number/LICENSE +22 -0
  148. package/dist/compiled/inquirer/declaration-licenses/@inquirer_password/LICENSE +22 -0
  149. package/dist/compiled/inquirer/declaration-licenses/@inquirer_prompts/LICENSE +22 -0
  150. package/dist/compiled/inquirer/declaration-licenses/@inquirer_rawlist/LICENSE +22 -0
  151. package/dist/compiled/inquirer/declaration-licenses/@inquirer_search/LICENSE +22 -0
  152. package/dist/compiled/inquirer/declaration-licenses/@inquirer_select/LICENSE +22 -0
  153. package/dist/compiled/inquirer/declaration-licenses/@inquirer_type/LICENSE +22 -0
  154. package/dist/compiled/inquirer/declaration-licenses/inquirer/LICENSE +22 -0
  155. package/dist/compiled/inquirer/index.d.mts +790 -0
  156. package/dist/compiled/inquirer/index.d.ts +727 -934
  157. package/dist/compiled/inquirer/index.js +5975 -14467
  158. package/dist/compiled/inquirer/index.mjs +11624 -0
  159. package/dist/compiled/inquirer/licenses-cjs.txt +619 -0
  160. package/dist/compiled/inquirer/licenses-esm.txt +619 -0
  161. package/dist/compiled/inquirer/package.json +1 -1
  162. package/dist/compiled/inquirer/provenance.json +92 -0
  163. package/dist/compiled/js-yaml/declaration-licenses/js-yaml/LICENSE +21 -0
  164. package/dist/compiled/js-yaml/index.d.mts +1126 -0
  165. package/dist/compiled/js-yaml/index.d.ts +1114 -142
  166. package/dist/compiled/js-yaml/index.js +20 -21
  167. package/dist/compiled/js-yaml/index.js.LICENSE.txt +1 -1
  168. package/dist/compiled/js-yaml/index.mjs +5 -4
  169. package/dist/compiled/js-yaml/index.mjs.LICENSE.txt +1 -1
  170. package/dist/compiled/js-yaml/licenses-cjs.txt +23 -0
  171. package/dist/compiled/js-yaml/licenses-esm.txt +23 -0
  172. package/dist/compiled/js-yaml/package.json +1 -1
  173. package/dist/compiled/js-yaml/provenance.json +19 -0
  174. package/dist/compiled/json5/LICENSE.md +23 -0
  175. package/dist/compiled/json5/declaration-licenses/json5/LICENSE.md +23 -0
  176. package/dist/compiled/json5/index.d.ts +103 -0
  177. package/dist/compiled/json5/index.js +11 -11
  178. package/dist/compiled/json5/licenses-cjs.txt +25 -0
  179. package/dist/compiled/json5/package.json +1 -1
  180. package/dist/compiled/json5/provenance.json +22 -0
  181. package/dist/compiled/lodash/add.d.ts +2 -0
  182. package/dist/compiled/lodash/after.d.ts +2 -0
  183. package/dist/compiled/lodash/ary.d.ts +2 -0
  184. package/dist/compiled/lodash/assign.d.ts +2 -0
  185. package/dist/compiled/lodash/assignIn.d.ts +2 -0
  186. package/dist/compiled/lodash/assignInWith.d.ts +2 -0
  187. package/dist/compiled/lodash/assignWith.d.ts +2 -0
  188. package/dist/compiled/lodash/at.d.ts +2 -0
  189. package/dist/compiled/lodash/attempt.d.ts +2 -0
  190. package/dist/compiled/lodash/before.d.ts +2 -0
  191. package/dist/compiled/lodash/bind.d.ts +2 -0
  192. package/dist/compiled/lodash/bindAll.d.ts +2 -0
  193. package/dist/compiled/lodash/bindKey.d.ts +2 -0
  194. package/dist/compiled/lodash/camelCase.d.ts +2 -0
  195. package/dist/compiled/lodash/capitalize.d.ts +2 -0
  196. package/dist/compiled/lodash/castArray.d.ts +2 -0
  197. package/dist/compiled/lodash/ceil.d.ts +2 -0
  198. package/dist/compiled/lodash/chain.d.ts +2 -0
  199. package/dist/compiled/lodash/chunk.d.ts +2 -0
  200. package/dist/compiled/lodash/clamp.d.ts +2 -0
  201. package/dist/compiled/lodash/clone.d.ts +2 -0
  202. package/dist/compiled/lodash/cloneDeep.d.ts +2 -0
  203. package/dist/compiled/lodash/cloneDeepWith.d.ts +2 -0
  204. package/dist/compiled/lodash/cloneWith.d.ts +2 -0
  205. package/dist/compiled/lodash/common/array.d.ts +56 -22
  206. package/dist/compiled/lodash/common/collection.d.ts +9 -1
  207. package/dist/compiled/lodash/common/common.d.ts +17 -10
  208. package/dist/compiled/lodash/common/function.d.ts +10 -1
  209. package/dist/compiled/lodash/common/lang.d.ts +8 -5
  210. package/dist/compiled/lodash/common/math.d.ts +3 -1
  211. package/dist/compiled/lodash/common/object.d.ts +141 -17
  212. package/dist/compiled/lodash/common/seq.d.ts +2 -2
  213. package/dist/compiled/lodash/common/string.d.ts +17 -17
  214. package/dist/compiled/lodash/compact.d.ts +2 -0
  215. package/dist/compiled/lodash/concat.d.ts +2 -0
  216. package/dist/compiled/lodash/cond.d.ts +2 -0
  217. package/dist/compiled/lodash/conforms.d.ts +2 -0
  218. package/dist/compiled/lodash/conformsTo.d.ts +2 -0
  219. package/dist/compiled/lodash/constant.d.ts +2 -0
  220. package/dist/compiled/lodash/countBy.d.ts +2 -0
  221. package/dist/compiled/lodash/create.d.ts +2 -0
  222. package/dist/compiled/lodash/curry.d.ts +2 -0
  223. package/dist/compiled/lodash/curryRight.d.ts +2 -0
  224. package/dist/compiled/lodash/debounce.d.ts +2 -0
  225. package/dist/compiled/lodash/deburr.d.ts +2 -0
  226. package/dist/compiled/lodash/declaration-licenses/@types_lodash/LICENSE +21 -0
  227. package/dist/compiled/lodash/defaultTo.d.ts +2 -0
  228. package/dist/compiled/lodash/defaults.d.ts +2 -0
  229. package/dist/compiled/lodash/defaultsDeep.d.ts +2 -0
  230. package/dist/compiled/lodash/defer.d.ts +2 -0
  231. package/dist/compiled/lodash/delay.d.ts +2 -0
  232. package/dist/compiled/lodash/difference.d.ts +2 -0
  233. package/dist/compiled/lodash/differenceBy.d.ts +2 -0
  234. package/dist/compiled/lodash/differenceWith.d.ts +2 -0
  235. package/dist/compiled/lodash/divide.d.ts +2 -0
  236. package/dist/compiled/lodash/drop.d.ts +2 -0
  237. package/dist/compiled/lodash/dropRight.d.ts +2 -0
  238. package/dist/compiled/lodash/dropRightWhile.d.ts +2 -0
  239. package/dist/compiled/lodash/dropWhile.d.ts +2 -0
  240. package/dist/compiled/lodash/each.d.ts +2 -0
  241. package/dist/compiled/lodash/eachRight.d.ts +2 -0
  242. package/dist/compiled/lodash/endsWith.d.ts +2 -0
  243. package/dist/compiled/lodash/entries.d.ts +2 -0
  244. package/dist/compiled/lodash/entriesIn.d.ts +2 -0
  245. package/dist/compiled/lodash/eq.d.ts +2 -0
  246. package/dist/compiled/lodash/escape.d.ts +2 -0
  247. package/dist/compiled/lodash/escapeRegExp.d.ts +2 -0
  248. package/dist/compiled/lodash/every.d.ts +2 -0
  249. package/dist/compiled/lodash/extend.d.ts +2 -0
  250. package/dist/compiled/lodash/extendWith.d.ts +2 -0
  251. package/dist/compiled/lodash/fill.d.ts +2 -0
  252. package/dist/compiled/lodash/filter.d.ts +2 -0
  253. package/dist/compiled/lodash/find.d.ts +2 -0
  254. package/dist/compiled/lodash/findIndex.d.ts +2 -0
  255. package/dist/compiled/lodash/findKey.d.ts +2 -0
  256. package/dist/compiled/lodash/findLast.d.ts +2 -0
  257. package/dist/compiled/lodash/findLastIndex.d.ts +2 -0
  258. package/dist/compiled/lodash/findLastKey.d.ts +2 -0
  259. package/dist/compiled/lodash/first.d.ts +2 -0
  260. package/dist/compiled/lodash/flatMap.d.ts +2 -0
  261. package/dist/compiled/lodash/flatMapDeep.d.ts +2 -0
  262. package/dist/compiled/lodash/flatMapDepth.d.ts +2 -0
  263. package/dist/compiled/lodash/flatten.d.ts +2 -0
  264. package/dist/compiled/lodash/flattenDeep.d.ts +2 -0
  265. package/dist/compiled/lodash/flattenDepth.d.ts +2 -0
  266. package/dist/compiled/lodash/flip.d.ts +2 -0
  267. package/dist/compiled/lodash/floor.d.ts +2 -0
  268. package/dist/compiled/lodash/flow.d.ts +2 -0
  269. package/dist/compiled/lodash/flowRight.d.ts +2 -0
  270. package/dist/compiled/lodash/forEach.d.ts +2 -0
  271. package/dist/compiled/lodash/forEachRight.d.ts +2 -0
  272. package/dist/compiled/lodash/forIn.d.ts +2 -0
  273. package/dist/compiled/lodash/forInRight.d.ts +2 -0
  274. package/dist/compiled/lodash/forOwn.d.ts +2 -0
  275. package/dist/compiled/lodash/forOwnRight.d.ts +2 -0
  276. package/dist/compiled/lodash/fp/F.d.ts +2 -0
  277. package/dist/compiled/lodash/fp/T.d.ts +2 -0
  278. package/dist/compiled/lodash/fp/__.d.ts +3 -0
  279. package/dist/compiled/lodash/fp/add.d.ts +2 -0
  280. package/dist/compiled/lodash/fp/after.d.ts +2 -0
  281. package/dist/compiled/lodash/fp/all.d.ts +2 -0
  282. package/dist/compiled/lodash/fp/allPass.d.ts +2 -0
  283. package/dist/compiled/lodash/fp/always.d.ts +2 -0
  284. package/dist/compiled/lodash/fp/any.d.ts +2 -0
  285. package/dist/compiled/lodash/fp/anyPass.d.ts +2 -0
  286. package/dist/compiled/lodash/fp/apply.d.ts +2 -0
  287. package/dist/compiled/lodash/fp/ary.d.ts +2 -0
  288. package/dist/compiled/lodash/fp/assign.d.ts +2 -0
  289. package/dist/compiled/lodash/fp/assignAll.d.ts +2 -0
  290. package/dist/compiled/lodash/fp/assignAllWith.d.ts +2 -0
  291. package/dist/compiled/lodash/fp/assignIn.d.ts +2 -0
  292. package/dist/compiled/lodash/fp/assignInAll.d.ts +2 -0
  293. package/dist/compiled/lodash/fp/assignInAllWith.d.ts +2 -0
  294. package/dist/compiled/lodash/fp/assignInWith.d.ts +2 -0
  295. package/dist/compiled/lodash/fp/assignWith.d.ts +2 -0
  296. package/dist/compiled/lodash/fp/assoc.d.ts +2 -0
  297. package/dist/compiled/lodash/fp/assocPath.d.ts +2 -0
  298. package/dist/compiled/lodash/fp/at.d.ts +2 -0
  299. package/dist/compiled/lodash/fp/attempt.d.ts +2 -0
  300. package/dist/compiled/lodash/fp/before.d.ts +2 -0
  301. package/dist/compiled/lodash/fp/bind.d.ts +2 -0
  302. package/dist/compiled/lodash/fp/bindAll.d.ts +2 -0
  303. package/dist/compiled/lodash/fp/bindKey.d.ts +2 -0
  304. package/dist/compiled/lodash/fp/camelCase.d.ts +2 -0
  305. package/dist/compiled/lodash/fp/capitalize.d.ts +2 -0
  306. package/dist/compiled/lodash/fp/castArray.d.ts +2 -0
  307. package/dist/compiled/lodash/fp/ceil.d.ts +2 -0
  308. package/dist/compiled/lodash/fp/chunk.d.ts +2 -0
  309. package/dist/compiled/lodash/fp/clamp.d.ts +2 -0
  310. package/dist/compiled/lodash/fp/clone.d.ts +2 -0
  311. package/dist/compiled/lodash/fp/cloneDeep.d.ts +2 -0
  312. package/dist/compiled/lodash/fp/cloneDeepWith.d.ts +2 -0
  313. package/dist/compiled/lodash/fp/cloneWith.d.ts +2 -0
  314. package/dist/compiled/lodash/fp/compact.d.ts +2 -0
  315. package/dist/compiled/lodash/fp/complement.d.ts +2 -0
  316. package/dist/compiled/lodash/fp/compose.d.ts +2 -0
  317. package/dist/compiled/lodash/fp/concat.d.ts +2 -0
  318. package/dist/compiled/lodash/fp/cond.d.ts +2 -0
  319. package/dist/compiled/lodash/fp/conforms.d.ts +2 -0
  320. package/dist/compiled/lodash/fp/conformsTo.d.ts +2 -0
  321. package/dist/compiled/lodash/fp/constant.d.ts +2 -0
  322. package/dist/compiled/lodash/fp/contains.d.ts +2 -0
  323. package/dist/compiled/lodash/fp/convert.d.ts +15 -0
  324. package/dist/compiled/lodash/fp/countBy.d.ts +2 -0
  325. package/dist/compiled/lodash/fp/create.d.ts +2 -0
  326. package/dist/compiled/lodash/fp/curry.d.ts +2 -0
  327. package/dist/compiled/lodash/fp/curryN.d.ts +2 -0
  328. package/dist/compiled/lodash/fp/curryRight.d.ts +2 -0
  329. package/dist/compiled/lodash/fp/curryRightN.d.ts +2 -0
  330. package/dist/compiled/lodash/fp/debounce.d.ts +2 -0
  331. package/dist/compiled/lodash/fp/deburr.d.ts +2 -0
  332. package/dist/compiled/lodash/fp/defaultTo.d.ts +2 -0
  333. package/dist/compiled/lodash/fp/defaults.d.ts +2 -0
  334. package/dist/compiled/lodash/fp/defaultsAll.d.ts +2 -0
  335. package/dist/compiled/lodash/fp/defaultsDeep.d.ts +2 -0
  336. package/dist/compiled/lodash/fp/defaultsDeepAll.d.ts +2 -0
  337. package/dist/compiled/lodash/fp/defer.d.ts +2 -0
  338. package/dist/compiled/lodash/fp/delay.d.ts +2 -0
  339. package/dist/compiled/lodash/fp/difference.d.ts +2 -0
  340. package/dist/compiled/lodash/fp/differenceBy.d.ts +2 -0
  341. package/dist/compiled/lodash/fp/differenceWith.d.ts +2 -0
  342. package/dist/compiled/lodash/fp/dissoc.d.ts +2 -0
  343. package/dist/compiled/lodash/fp/dissocPath.d.ts +2 -0
  344. package/dist/compiled/lodash/fp/divide.d.ts +2 -0
  345. package/dist/compiled/lodash/fp/drop.d.ts +2 -0
  346. package/dist/compiled/lodash/fp/dropLast.d.ts +2 -0
  347. package/dist/compiled/lodash/fp/dropLastWhile.d.ts +2 -0
  348. package/dist/compiled/lodash/fp/dropRight.d.ts +2 -0
  349. package/dist/compiled/lodash/fp/dropRightWhile.d.ts +2 -0
  350. package/dist/compiled/lodash/fp/dropWhile.d.ts +2 -0
  351. package/dist/compiled/lodash/fp/each.d.ts +2 -0
  352. package/dist/compiled/lodash/fp/eachRight.d.ts +2 -0
  353. package/dist/compiled/lodash/fp/endsWith.d.ts +2 -0
  354. package/dist/compiled/lodash/fp/entries.d.ts +2 -0
  355. package/dist/compiled/lodash/fp/entriesIn.d.ts +2 -0
  356. package/dist/compiled/lodash/fp/eq.d.ts +2 -0
  357. package/dist/compiled/lodash/fp/equals.d.ts +2 -0
  358. package/dist/compiled/lodash/fp/escape.d.ts +2 -0
  359. package/dist/compiled/lodash/fp/escapeRegExp.d.ts +2 -0
  360. package/dist/compiled/lodash/fp/every.d.ts +2 -0
  361. package/dist/compiled/lodash/fp/extend.d.ts +2 -0
  362. package/dist/compiled/lodash/fp/extendAll.d.ts +2 -0
  363. package/dist/compiled/lodash/fp/extendAllWith.d.ts +2 -0
  364. package/dist/compiled/lodash/fp/extendWith.d.ts +2 -0
  365. package/dist/compiled/lodash/fp/fill.d.ts +2 -0
  366. package/dist/compiled/lodash/fp/filter.d.ts +2 -0
  367. package/dist/compiled/lodash/fp/find.d.ts +2 -0
  368. package/dist/compiled/lodash/fp/findFrom.d.ts +2 -0
  369. package/dist/compiled/lodash/fp/findIndex.d.ts +2 -0
  370. package/dist/compiled/lodash/fp/findIndexFrom.d.ts +2 -0
  371. package/dist/compiled/lodash/fp/findKey.d.ts +2 -0
  372. package/dist/compiled/lodash/fp/findLast.d.ts +2 -0
  373. package/dist/compiled/lodash/fp/findLastFrom.d.ts +2 -0
  374. package/dist/compiled/lodash/fp/findLastIndex.d.ts +2 -0
  375. package/dist/compiled/lodash/fp/findLastIndexFrom.d.ts +2 -0
  376. package/dist/compiled/lodash/fp/findLastKey.d.ts +2 -0
  377. package/dist/compiled/lodash/fp/first.d.ts +2 -0
  378. package/dist/compiled/lodash/fp/flatMap.d.ts +2 -0
  379. package/dist/compiled/lodash/fp/flatMapDeep.d.ts +2 -0
  380. package/dist/compiled/lodash/fp/flatMapDepth.d.ts +2 -0
  381. package/dist/compiled/lodash/fp/flatten.d.ts +2 -0
  382. package/dist/compiled/lodash/fp/flattenDeep.d.ts +2 -0
  383. package/dist/compiled/lodash/fp/flattenDepth.d.ts +2 -0
  384. package/dist/compiled/lodash/fp/flip.d.ts +2 -0
  385. package/dist/compiled/lodash/fp/floor.d.ts +2 -0
  386. package/dist/compiled/lodash/fp/flow.d.ts +2 -0
  387. package/dist/compiled/lodash/fp/flowRight.d.ts +2 -0
  388. package/dist/compiled/lodash/fp/forEach.d.ts +2 -0
  389. package/dist/compiled/lodash/fp/forEachRight.d.ts +2 -0
  390. package/dist/compiled/lodash/fp/forIn.d.ts +2 -0
  391. package/dist/compiled/lodash/fp/forInRight.d.ts +2 -0
  392. package/dist/compiled/lodash/fp/forOwn.d.ts +2 -0
  393. package/dist/compiled/lodash/fp/forOwnRight.d.ts +2 -0
  394. package/dist/compiled/lodash/fp/fromPairs.d.ts +2 -0
  395. package/dist/compiled/lodash/fp/functions.d.ts +2 -0
  396. package/dist/compiled/lodash/fp/functionsIn.d.ts +2 -0
  397. package/dist/compiled/lodash/fp/get.d.ts +2 -0
  398. package/dist/compiled/lodash/fp/getOr.d.ts +2 -0
  399. package/dist/compiled/lodash/fp/groupBy.d.ts +2 -0
  400. package/dist/compiled/lodash/fp/gt.d.ts +2 -0
  401. package/dist/compiled/lodash/fp/gte.d.ts +2 -0
  402. package/dist/compiled/lodash/fp/has.d.ts +2 -0
  403. package/dist/compiled/lodash/fp/hasIn.d.ts +2 -0
  404. package/dist/compiled/lodash/fp/head.d.ts +2 -0
  405. package/dist/compiled/lodash/fp/identical.d.ts +2 -0
  406. package/dist/compiled/lodash/fp/identity.d.ts +2 -0
  407. package/dist/compiled/lodash/fp/inRange.d.ts +2 -0
  408. package/dist/compiled/lodash/fp/includes.d.ts +2 -0
  409. package/dist/compiled/lodash/fp/includesFrom.d.ts +2 -0
  410. package/dist/compiled/lodash/fp/indexBy.d.ts +2 -0
  411. package/dist/compiled/lodash/fp/indexOf.d.ts +2 -0
  412. package/dist/compiled/lodash/fp/indexOfFrom.d.ts +2 -0
  413. package/dist/compiled/lodash/fp/init.d.ts +2 -0
  414. package/dist/compiled/lodash/fp/initial.d.ts +2 -0
  415. package/dist/compiled/lodash/fp/intersection.d.ts +2 -0
  416. package/dist/compiled/lodash/fp/intersectionBy.d.ts +2 -0
  417. package/dist/compiled/lodash/fp/intersectionWith.d.ts +2 -0
  418. package/dist/compiled/lodash/fp/invert.d.ts +2 -0
  419. package/dist/compiled/lodash/fp/invertBy.d.ts +2 -0
  420. package/dist/compiled/lodash/fp/invertObj.d.ts +2 -0
  421. package/dist/compiled/lodash/fp/invoke.d.ts +2 -0
  422. package/dist/compiled/lodash/fp/invokeArgs.d.ts +2 -0
  423. package/dist/compiled/lodash/fp/invokeArgsMap.d.ts +2 -0
  424. package/dist/compiled/lodash/fp/invokeMap.d.ts +2 -0
  425. package/dist/compiled/lodash/fp/isArguments.d.ts +2 -0
  426. package/dist/compiled/lodash/fp/isArray.d.ts +2 -0
  427. package/dist/compiled/lodash/fp/isArrayBuffer.d.ts +2 -0
  428. package/dist/compiled/lodash/fp/isArrayLike.d.ts +2 -0
  429. package/dist/compiled/lodash/fp/isArrayLikeObject.d.ts +2 -0
  430. package/dist/compiled/lodash/fp/isBoolean.d.ts +2 -0
  431. package/dist/compiled/lodash/fp/isBuffer.d.ts +2 -0
  432. package/dist/compiled/lodash/fp/isDate.d.ts +2 -0
  433. package/dist/compiled/lodash/fp/isElement.d.ts +2 -0
  434. package/dist/compiled/lodash/fp/isEmpty.d.ts +2 -0
  435. package/dist/compiled/lodash/fp/isEqual.d.ts +2 -0
  436. package/dist/compiled/lodash/fp/isEqualWith.d.ts +2 -0
  437. package/dist/compiled/lodash/fp/isError.d.ts +2 -0
  438. package/dist/compiled/lodash/fp/isFinite.d.ts +2 -0
  439. package/dist/compiled/lodash/fp/isFunction.d.ts +2 -0
  440. package/dist/compiled/lodash/fp/isInteger.d.ts +2 -0
  441. package/dist/compiled/lodash/fp/isLength.d.ts +2 -0
  442. package/dist/compiled/lodash/fp/isMap.d.ts +2 -0
  443. package/dist/compiled/lodash/fp/isMatch.d.ts +2 -0
  444. package/dist/compiled/lodash/fp/isMatchWith.d.ts +2 -0
  445. package/dist/compiled/lodash/fp/isNaN.d.ts +2 -0
  446. package/dist/compiled/lodash/fp/isNative.d.ts +2 -0
  447. package/dist/compiled/lodash/fp/isNil.d.ts +2 -0
  448. package/dist/compiled/lodash/fp/isNull.d.ts +2 -0
  449. package/dist/compiled/lodash/fp/isNumber.d.ts +2 -0
  450. package/dist/compiled/lodash/fp/isObject.d.ts +2 -0
  451. package/dist/compiled/lodash/fp/isObjectLike.d.ts +2 -0
  452. package/dist/compiled/lodash/fp/isPlainObject.d.ts +2 -0
  453. package/dist/compiled/lodash/fp/isRegExp.d.ts +2 -0
  454. package/dist/compiled/lodash/fp/isSafeInteger.d.ts +2 -0
  455. package/dist/compiled/lodash/fp/isSet.d.ts +2 -0
  456. package/dist/compiled/lodash/fp/isString.d.ts +2 -0
  457. package/dist/compiled/lodash/fp/isSymbol.d.ts +2 -0
  458. package/dist/compiled/lodash/fp/isTypedArray.d.ts +2 -0
  459. package/dist/compiled/lodash/fp/isUndefined.d.ts +2 -0
  460. package/dist/compiled/lodash/fp/isWeakMap.d.ts +2 -0
  461. package/dist/compiled/lodash/fp/isWeakSet.d.ts +2 -0
  462. package/dist/compiled/lodash/fp/iteratee.d.ts +2 -0
  463. package/dist/compiled/lodash/fp/join.d.ts +2 -0
  464. package/dist/compiled/lodash/fp/juxt.d.ts +2 -0
  465. package/dist/compiled/lodash/fp/kebabCase.d.ts +2 -0
  466. package/dist/compiled/lodash/fp/keyBy.d.ts +2 -0
  467. package/dist/compiled/lodash/fp/keys.d.ts +2 -0
  468. package/dist/compiled/lodash/fp/keysIn.d.ts +2 -0
  469. package/dist/compiled/lodash/fp/last.d.ts +2 -0
  470. package/dist/compiled/lodash/fp/lastIndexOf.d.ts +2 -0
  471. package/dist/compiled/lodash/fp/lastIndexOfFrom.d.ts +2 -0
  472. package/dist/compiled/lodash/fp/lowerCase.d.ts +2 -0
  473. package/dist/compiled/lodash/fp/lowerFirst.d.ts +2 -0
  474. package/dist/compiled/lodash/fp/lt.d.ts +2 -0
  475. package/dist/compiled/lodash/fp/lte.d.ts +2 -0
  476. package/dist/compiled/lodash/fp/map.d.ts +2 -0
  477. package/dist/compiled/lodash/fp/mapKeys.d.ts +2 -0
  478. package/dist/compiled/lodash/fp/mapValues.d.ts +2 -0
  479. package/dist/compiled/lodash/fp/matches.d.ts +2 -0
  480. package/dist/compiled/lodash/fp/matchesProperty.d.ts +2 -0
  481. package/dist/compiled/lodash/fp/max.d.ts +2 -0
  482. package/dist/compiled/lodash/fp/maxBy.d.ts +2 -0
  483. package/dist/compiled/lodash/fp/mean.d.ts +2 -0
  484. package/dist/compiled/lodash/fp/meanBy.d.ts +2 -0
  485. package/dist/compiled/lodash/fp/memoize.d.ts +2 -0
  486. package/dist/compiled/lodash/fp/merge.d.ts +2 -0
  487. package/dist/compiled/lodash/fp/mergeAll.d.ts +2 -0
  488. package/dist/compiled/lodash/fp/mergeAllWith.d.ts +2 -0
  489. package/dist/compiled/lodash/fp/mergeWith.d.ts +2 -0
  490. package/dist/compiled/lodash/fp/method.d.ts +2 -0
  491. package/dist/compiled/lodash/fp/methodOf.d.ts +2 -0
  492. package/dist/compiled/lodash/fp/min.d.ts +2 -0
  493. package/dist/compiled/lodash/fp/minBy.d.ts +2 -0
  494. package/dist/compiled/lodash/fp/multiply.d.ts +2 -0
  495. package/dist/compiled/lodash/fp/nAry.d.ts +2 -0
  496. package/dist/compiled/lodash/fp/negate.d.ts +2 -0
  497. package/dist/compiled/lodash/fp/noConflict.d.ts +2 -0
  498. package/dist/compiled/lodash/fp/noop.d.ts +2 -0
  499. package/dist/compiled/lodash/fp/now.d.ts +2 -0
  500. package/dist/compiled/lodash/fp/nth.d.ts +2 -0
  501. package/dist/compiled/lodash/fp/nthArg.d.ts +2 -0
  502. package/dist/compiled/lodash/fp/omit.d.ts +2 -0
  503. package/dist/compiled/lodash/fp/omitAll.d.ts +2 -0
  504. package/dist/compiled/lodash/fp/omitBy.d.ts +2 -0
  505. package/dist/compiled/lodash/fp/once.d.ts +2 -0
  506. package/dist/compiled/lodash/fp/orderBy.d.ts +2 -0
  507. package/dist/compiled/lodash/fp/over.d.ts +2 -0
  508. package/dist/compiled/lodash/fp/overArgs.d.ts +2 -0
  509. package/dist/compiled/lodash/fp/overEvery.d.ts +2 -0
  510. package/dist/compiled/lodash/fp/overSome.d.ts +2 -0
  511. package/dist/compiled/lodash/fp/pad.d.ts +2 -0
  512. package/dist/compiled/lodash/fp/padChars.d.ts +2 -0
  513. package/dist/compiled/lodash/fp/padCharsEnd.d.ts +2 -0
  514. package/dist/compiled/lodash/fp/padCharsStart.d.ts +2 -0
  515. package/dist/compiled/lodash/fp/padEnd.d.ts +2 -0
  516. package/dist/compiled/lodash/fp/padStart.d.ts +2 -0
  517. package/dist/compiled/lodash/fp/parseInt.d.ts +2 -0
  518. package/dist/compiled/lodash/fp/partial.d.ts +2 -0
  519. package/dist/compiled/lodash/fp/partialRight.d.ts +2 -0
  520. package/dist/compiled/lodash/fp/partition.d.ts +2 -0
  521. package/dist/compiled/lodash/fp/path.d.ts +2 -0
  522. package/dist/compiled/lodash/fp/pathEq.d.ts +2 -0
  523. package/dist/compiled/lodash/fp/pathOr.d.ts +2 -0
  524. package/dist/compiled/lodash/fp/paths.d.ts +2 -0
  525. package/dist/compiled/lodash/fp/pick.d.ts +2 -0
  526. package/dist/compiled/lodash/fp/pickAll.d.ts +2 -0
  527. package/dist/compiled/lodash/fp/pickBy.d.ts +2 -0
  528. package/dist/compiled/lodash/fp/pipe.d.ts +2 -0
  529. package/dist/compiled/lodash/fp/placeholder.d.ts +3 -0
  530. package/dist/compiled/lodash/fp/pluck.d.ts +2 -0
  531. package/dist/compiled/lodash/fp/prop.d.ts +2 -0
  532. package/dist/compiled/lodash/fp/propEq.d.ts +2 -0
  533. package/dist/compiled/lodash/fp/propOr.d.ts +2 -0
  534. package/dist/compiled/lodash/fp/property.d.ts +2 -0
  535. package/dist/compiled/lodash/fp/propertyOf.d.ts +2 -0
  536. package/dist/compiled/lodash/fp/props.d.ts +2 -0
  537. package/dist/compiled/lodash/fp/pull.d.ts +2 -0
  538. package/dist/compiled/lodash/fp/pullAll.d.ts +2 -0
  539. package/dist/compiled/lodash/fp/pullAllBy.d.ts +2 -0
  540. package/dist/compiled/lodash/fp/pullAllWith.d.ts +2 -0
  541. package/dist/compiled/lodash/fp/pullAt.d.ts +2 -0
  542. package/dist/compiled/lodash/fp/random.d.ts +2 -0
  543. package/dist/compiled/lodash/fp/range.d.ts +2 -0
  544. package/dist/compiled/lodash/fp/rangeRight.d.ts +2 -0
  545. package/dist/compiled/lodash/fp/rangeStep.d.ts +2 -0
  546. package/dist/compiled/lodash/fp/rangeStepRight.d.ts +2 -0
  547. package/dist/compiled/lodash/fp/rearg.d.ts +2 -0
  548. package/dist/compiled/lodash/fp/reduce.d.ts +2 -0
  549. package/dist/compiled/lodash/fp/reduceRight.d.ts +2 -0
  550. package/dist/compiled/lodash/fp/reject.d.ts +2 -0
  551. package/dist/compiled/lodash/fp/remove.d.ts +2 -0
  552. package/dist/compiled/lodash/fp/repeat.d.ts +2 -0
  553. package/dist/compiled/lodash/fp/replace.d.ts +2 -0
  554. package/dist/compiled/lodash/fp/rest.d.ts +2 -0
  555. package/dist/compiled/lodash/fp/restFrom.d.ts +2 -0
  556. package/dist/compiled/lodash/fp/result.d.ts +2 -0
  557. package/dist/compiled/lodash/fp/reverse.d.ts +2 -0
  558. package/dist/compiled/lodash/fp/round.d.ts +2 -0
  559. package/dist/compiled/lodash/fp/runInContext.d.ts +2 -0
  560. package/dist/compiled/lodash/fp/sample.d.ts +2 -0
  561. package/dist/compiled/lodash/fp/sampleSize.d.ts +2 -0
  562. package/dist/compiled/lodash/fp/set.d.ts +2 -0
  563. package/dist/compiled/lodash/fp/setWith.d.ts +2 -0
  564. package/dist/compiled/lodash/fp/shuffle.d.ts +2 -0
  565. package/dist/compiled/lodash/fp/size.d.ts +2 -0
  566. package/dist/compiled/lodash/fp/slice.d.ts +2 -0
  567. package/dist/compiled/lodash/fp/snakeCase.d.ts +2 -0
  568. package/dist/compiled/lodash/fp/some.d.ts +2 -0
  569. package/dist/compiled/lodash/fp/sortBy.d.ts +2 -0
  570. package/dist/compiled/lodash/fp/sortedIndex.d.ts +2 -0
  571. package/dist/compiled/lodash/fp/sortedIndexBy.d.ts +2 -0
  572. package/dist/compiled/lodash/fp/sortedIndexOf.d.ts +2 -0
  573. package/dist/compiled/lodash/fp/sortedLastIndex.d.ts +2 -0
  574. package/dist/compiled/lodash/fp/sortedLastIndexBy.d.ts +2 -0
  575. package/dist/compiled/lodash/fp/sortedLastIndexOf.d.ts +2 -0
  576. package/dist/compiled/lodash/fp/sortedUniq.d.ts +2 -0
  577. package/dist/compiled/lodash/fp/sortedUniqBy.d.ts +2 -0
  578. package/dist/compiled/lodash/fp/split.d.ts +2 -0
  579. package/dist/compiled/lodash/fp/spread.d.ts +2 -0
  580. package/dist/compiled/lodash/fp/spreadFrom.d.ts +2 -0
  581. package/dist/compiled/lodash/fp/startCase.d.ts +2 -0
  582. package/dist/compiled/lodash/fp/startsWith.d.ts +2 -0
  583. package/dist/compiled/lodash/fp/stubArray.d.ts +2 -0
  584. package/dist/compiled/lodash/fp/stubFalse.d.ts +2 -0
  585. package/dist/compiled/lodash/fp/stubObject.d.ts +2 -0
  586. package/dist/compiled/lodash/fp/stubString.d.ts +2 -0
  587. package/dist/compiled/lodash/fp/stubTrue.d.ts +2 -0
  588. package/dist/compiled/lodash/fp/subtract.d.ts +2 -0
  589. package/dist/compiled/lodash/fp/sum.d.ts +2 -0
  590. package/dist/compiled/lodash/fp/sumBy.d.ts +2 -0
  591. package/dist/compiled/lodash/fp/symmetricDifference.d.ts +2 -0
  592. package/dist/compiled/lodash/fp/symmetricDifferenceBy.d.ts +2 -0
  593. package/dist/compiled/lodash/fp/symmetricDifferenceWith.d.ts +2 -0
  594. package/dist/compiled/lodash/fp/tail.d.ts +2 -0
  595. package/dist/compiled/lodash/fp/take.d.ts +2 -0
  596. package/dist/compiled/lodash/fp/takeLast.d.ts +2 -0
  597. package/dist/compiled/lodash/fp/takeLastWhile.d.ts +2 -0
  598. package/dist/compiled/lodash/fp/takeRight.d.ts +2 -0
  599. package/dist/compiled/lodash/fp/takeRightWhile.d.ts +2 -0
  600. package/dist/compiled/lodash/fp/takeWhile.d.ts +2 -0
  601. package/dist/compiled/lodash/fp/tap.d.ts +2 -0
  602. package/dist/compiled/lodash/fp/template.d.ts +2 -0
  603. package/dist/compiled/lodash/fp/throttle.d.ts +2 -0
  604. package/dist/compiled/lodash/fp/thru.d.ts +2 -0
  605. package/dist/compiled/lodash/fp/times.d.ts +2 -0
  606. package/dist/compiled/lodash/fp/toArray.d.ts +2 -0
  607. package/dist/compiled/lodash/fp/toFinite.d.ts +2 -0
  608. package/dist/compiled/lodash/fp/toInteger.d.ts +2 -0
  609. package/dist/compiled/lodash/fp/toLength.d.ts +2 -0
  610. package/dist/compiled/lodash/fp/toLower.d.ts +2 -0
  611. package/dist/compiled/lodash/fp/toNumber.d.ts +2 -0
  612. package/dist/compiled/lodash/fp/toPairs.d.ts +2 -0
  613. package/dist/compiled/lodash/fp/toPairsIn.d.ts +2 -0
  614. package/dist/compiled/lodash/fp/toPath.d.ts +2 -0
  615. package/dist/compiled/lodash/fp/toPlainObject.d.ts +2 -0
  616. package/dist/compiled/lodash/fp/toSafeInteger.d.ts +2 -0
  617. package/dist/compiled/lodash/fp/toString.d.ts +2 -0
  618. package/dist/compiled/lodash/fp/toUpper.d.ts +2 -0
  619. package/dist/compiled/lodash/fp/transform.d.ts +2 -0
  620. package/dist/compiled/lodash/fp/trim.d.ts +2 -0
  621. package/dist/compiled/lodash/fp/trimChars.d.ts +2 -0
  622. package/dist/compiled/lodash/fp/trimCharsEnd.d.ts +2 -0
  623. package/dist/compiled/lodash/fp/trimCharsStart.d.ts +2 -0
  624. package/dist/compiled/lodash/fp/trimEnd.d.ts +2 -0
  625. package/dist/compiled/lodash/fp/trimStart.d.ts +2 -0
  626. package/dist/compiled/lodash/fp/truncate.d.ts +2 -0
  627. package/dist/compiled/lodash/fp/unapply.d.ts +2 -0
  628. package/dist/compiled/lodash/fp/unary.d.ts +2 -0
  629. package/dist/compiled/lodash/fp/unescape.d.ts +2 -0
  630. package/dist/compiled/lodash/fp/union.d.ts +2 -0
  631. package/dist/compiled/lodash/fp/unionBy.d.ts +2 -0
  632. package/dist/compiled/lodash/fp/unionWith.d.ts +2 -0
  633. package/dist/compiled/lodash/fp/uniq.d.ts +2 -0
  634. package/dist/compiled/lodash/fp/uniqBy.d.ts +2 -0
  635. package/dist/compiled/lodash/fp/uniqWith.d.ts +2 -0
  636. package/dist/compiled/lodash/fp/uniqueId.d.ts +2 -0
  637. package/dist/compiled/lodash/fp/unnest.d.ts +2 -0
  638. package/dist/compiled/lodash/fp/unset.d.ts +2 -0
  639. package/dist/compiled/lodash/fp/unzip.d.ts +2 -0
  640. package/dist/compiled/lodash/fp/unzipWith.d.ts +2 -0
  641. package/dist/compiled/lodash/fp/update.d.ts +2 -0
  642. package/dist/compiled/lodash/fp/updateWith.d.ts +2 -0
  643. package/dist/compiled/lodash/fp/upperCase.d.ts +2 -0
  644. package/dist/compiled/lodash/fp/upperFirst.d.ts +2 -0
  645. package/dist/compiled/lodash/fp/useWith.d.ts +2 -0
  646. package/dist/compiled/lodash/fp/values.d.ts +2 -0
  647. package/dist/compiled/lodash/fp/valuesIn.d.ts +2 -0
  648. package/dist/compiled/lodash/fp/where.d.ts +2 -0
  649. package/dist/compiled/lodash/fp/whereEq.d.ts +2 -0
  650. package/dist/compiled/lodash/fp/without.d.ts +2 -0
  651. package/dist/compiled/lodash/fp/words.d.ts +2 -0
  652. package/dist/compiled/lodash/fp/wrap.d.ts +2 -0
  653. package/dist/compiled/lodash/fp/xor.d.ts +2 -0
  654. package/dist/compiled/lodash/fp/xorBy.d.ts +2 -0
  655. package/dist/compiled/lodash/fp/xorWith.d.ts +2 -0
  656. package/dist/compiled/lodash/fp/zip.d.ts +2 -0
  657. package/dist/compiled/lodash/fp/zipAll.d.ts +2 -0
  658. package/dist/compiled/lodash/fp/zipObj.d.ts +2 -0
  659. package/dist/compiled/lodash/fp/zipObject.d.ts +2 -0
  660. package/dist/compiled/lodash/fp/zipObjectDeep.d.ts +2 -0
  661. package/dist/compiled/lodash/fp/zipWith.d.ts +2 -0
  662. package/dist/compiled/lodash/fp.d.ts +4962 -0
  663. package/dist/compiled/lodash/fromPairs.d.ts +2 -0
  664. package/dist/compiled/lodash/functions.d.ts +2 -0
  665. package/dist/compiled/lodash/functionsIn.d.ts +2 -0
  666. package/dist/compiled/lodash/get.d.ts +2 -0
  667. package/dist/compiled/lodash/groupBy.d.ts +2 -0
  668. package/dist/compiled/lodash/gt.d.ts +2 -0
  669. package/dist/compiled/lodash/gte.d.ts +2 -0
  670. package/dist/compiled/lodash/has.d.ts +2 -0
  671. package/dist/compiled/lodash/hasIn.d.ts +2 -0
  672. package/dist/compiled/lodash/head.d.ts +2 -0
  673. package/dist/compiled/lodash/identity.d.ts +2 -0
  674. package/dist/compiled/lodash/inRange.d.ts +2 -0
  675. package/dist/compiled/lodash/includes.d.ts +2 -0
  676. package/dist/compiled/lodash/index.d.ts +1 -16
  677. package/dist/compiled/lodash/indexOf.d.ts +2 -0
  678. package/dist/compiled/lodash/initial.d.ts +2 -0
  679. package/dist/compiled/lodash/intersection.d.ts +2 -0
  680. package/dist/compiled/lodash/intersectionBy.d.ts +2 -0
  681. package/dist/compiled/lodash/intersectionWith.d.ts +2 -0
  682. package/dist/compiled/lodash/invert.d.ts +2 -0
  683. package/dist/compiled/lodash/invertBy.d.ts +2 -0
  684. package/dist/compiled/lodash/invoke.d.ts +2 -0
  685. package/dist/compiled/lodash/invokeMap.d.ts +2 -0
  686. package/dist/compiled/lodash/isArguments.d.ts +2 -0
  687. package/dist/compiled/lodash/isArray.d.ts +2 -0
  688. package/dist/compiled/lodash/isArrayBuffer.d.ts +2 -0
  689. package/dist/compiled/lodash/isArrayLike.d.ts +2 -0
  690. package/dist/compiled/lodash/isArrayLikeObject.d.ts +2 -0
  691. package/dist/compiled/lodash/isBoolean.d.ts +2 -0
  692. package/dist/compiled/lodash/isBuffer.d.ts +2 -0
  693. package/dist/compiled/lodash/isDate.d.ts +2 -0
  694. package/dist/compiled/lodash/isElement.d.ts +2 -0
  695. package/dist/compiled/lodash/isEmpty.d.ts +2 -0
  696. package/dist/compiled/lodash/isEqual.d.ts +2 -0
  697. package/dist/compiled/lodash/isEqualWith.d.ts +2 -0
  698. package/dist/compiled/lodash/isError.d.ts +2 -0
  699. package/dist/compiled/lodash/isFinite.d.ts +2 -0
  700. package/dist/compiled/lodash/isFunction.d.ts +2 -0
  701. package/dist/compiled/lodash/isInteger.d.ts +2 -0
  702. package/dist/compiled/lodash/isLength.d.ts +2 -0
  703. package/dist/compiled/lodash/isMap.d.ts +2 -0
  704. package/dist/compiled/lodash/isMatch.d.ts +2 -0
  705. package/dist/compiled/lodash/isMatchWith.d.ts +2 -0
  706. package/dist/compiled/lodash/isNaN.d.ts +2 -0
  707. package/dist/compiled/lodash/isNative.d.ts +2 -0
  708. package/dist/compiled/lodash/isNil.d.ts +2 -0
  709. package/dist/compiled/lodash/isNull.d.ts +2 -0
  710. package/dist/compiled/lodash/isNumber.d.ts +2 -0
  711. package/dist/compiled/lodash/isObject.d.ts +2 -0
  712. package/dist/compiled/lodash/isObjectLike.d.ts +2 -0
  713. package/dist/compiled/lodash/isPlainObject.d.ts +2 -0
  714. package/dist/compiled/lodash/isRegExp.d.ts +2 -0
  715. package/dist/compiled/lodash/isSafeInteger.d.ts +2 -0
  716. package/dist/compiled/lodash/isSet.d.ts +2 -0
  717. package/dist/compiled/lodash/isString.d.ts +2 -0
  718. package/dist/compiled/lodash/isSymbol.d.ts +2 -0
  719. package/dist/compiled/lodash/isTypedArray.d.ts +2 -0
  720. package/dist/compiled/lodash/isUndefined.d.ts +2 -0
  721. package/dist/compiled/lodash/isWeakMap.d.ts +2 -0
  722. package/dist/compiled/lodash/isWeakSet.d.ts +2 -0
  723. package/dist/compiled/lodash/iteratee.d.ts +2 -0
  724. package/dist/compiled/lodash/join.d.ts +2 -0
  725. package/dist/compiled/lodash/kebabCase.d.ts +2 -0
  726. package/dist/compiled/lodash/keyBy.d.ts +2 -0
  727. package/dist/compiled/lodash/keys.d.ts +2 -0
  728. package/dist/compiled/lodash/keysIn.d.ts +2 -0
  729. package/dist/compiled/lodash/last.d.ts +2 -0
  730. package/dist/compiled/lodash/lastIndexOf.d.ts +2 -0
  731. package/dist/compiled/lodash/licenses-cjs.txt +49 -0
  732. package/dist/compiled/lodash/lowerCase.d.ts +2 -0
  733. package/dist/compiled/lodash/lowerFirst.d.ts +2 -0
  734. package/dist/compiled/lodash/lt.d.ts +2 -0
  735. package/dist/compiled/lodash/lte.d.ts +2 -0
  736. package/dist/compiled/lodash/map.d.ts +2 -0
  737. package/dist/compiled/lodash/mapKeys.d.ts +2 -0
  738. package/dist/compiled/lodash/mapValues.d.ts +2 -0
  739. package/dist/compiled/lodash/matches.d.ts +2 -0
  740. package/dist/compiled/lodash/matchesProperty.d.ts +2 -0
  741. package/dist/compiled/lodash/max.d.ts +2 -0
  742. package/dist/compiled/lodash/maxBy.d.ts +2 -0
  743. package/dist/compiled/lodash/mean.d.ts +2 -0
  744. package/dist/compiled/lodash/meanBy.d.ts +2 -0
  745. package/dist/compiled/lodash/memoize.d.ts +2 -0
  746. package/dist/compiled/lodash/merge.d.ts +2 -0
  747. package/dist/compiled/lodash/mergeWith.d.ts +2 -0
  748. package/dist/compiled/lodash/method.d.ts +2 -0
  749. package/dist/compiled/lodash/methodOf.d.ts +2 -0
  750. package/dist/compiled/lodash/min.d.ts +2 -0
  751. package/dist/compiled/lodash/minBy.d.ts +2 -0
  752. package/dist/compiled/lodash/mixin.d.ts +2 -0
  753. package/dist/compiled/lodash/multiply.d.ts +2 -0
  754. package/dist/compiled/lodash/negate.d.ts +2 -0
  755. package/dist/compiled/lodash/noConflict.d.ts +2 -0
  756. package/dist/compiled/lodash/noop.d.ts +2 -0
  757. package/dist/compiled/lodash/now.d.ts +2 -0
  758. package/dist/compiled/lodash/nth.d.ts +2 -0
  759. package/dist/compiled/lodash/nthArg.d.ts +2 -0
  760. package/dist/compiled/lodash/omit.d.ts +2 -0
  761. package/dist/compiled/lodash/omitBy.d.ts +2 -0
  762. package/dist/compiled/lodash/once.d.ts +2 -0
  763. package/dist/compiled/lodash/orderBy.d.ts +2 -0
  764. package/dist/compiled/lodash/over.d.ts +2 -0
  765. package/dist/compiled/lodash/overArgs.d.ts +2 -0
  766. package/dist/compiled/lodash/overEvery.d.ts +2 -0
  767. package/dist/compiled/lodash/overSome.d.ts +2 -0
  768. package/dist/compiled/lodash/package.json +1 -1
  769. package/dist/compiled/lodash/pad.d.ts +2 -0
  770. package/dist/compiled/lodash/padEnd.d.ts +2 -0
  771. package/dist/compiled/lodash/padStart.d.ts +2 -0
  772. package/dist/compiled/lodash/parseInt.d.ts +2 -0
  773. package/dist/compiled/lodash/partial.d.ts +2 -0
  774. package/dist/compiled/lodash/partialRight.d.ts +2 -0
  775. package/dist/compiled/lodash/partition.d.ts +2 -0
  776. package/dist/compiled/lodash/pick.d.ts +2 -0
  777. package/dist/compiled/lodash/pickBy.d.ts +2 -0
  778. package/dist/compiled/lodash/property.d.ts +2 -0
  779. package/dist/compiled/lodash/propertyOf.d.ts +2 -0
  780. package/dist/compiled/lodash/provenance.json +19 -0
  781. package/dist/compiled/lodash/pull.d.ts +2 -0
  782. package/dist/compiled/lodash/pullAll.d.ts +2 -0
  783. package/dist/compiled/lodash/pullAllBy.d.ts +2 -0
  784. package/dist/compiled/lodash/pullAllWith.d.ts +2 -0
  785. package/dist/compiled/lodash/pullAt.d.ts +2 -0
  786. package/dist/compiled/lodash/random.d.ts +2 -0
  787. package/dist/compiled/lodash/range.d.ts +2 -0
  788. package/dist/compiled/lodash/rangeRight.d.ts +2 -0
  789. package/dist/compiled/lodash/rearg.d.ts +2 -0
  790. package/dist/compiled/lodash/reduce.d.ts +2 -0
  791. package/dist/compiled/lodash/reduceRight.d.ts +2 -0
  792. package/dist/compiled/lodash/reject.d.ts +2 -0
  793. package/dist/compiled/lodash/remove.d.ts +2 -0
  794. package/dist/compiled/lodash/repeat.d.ts +2 -0
  795. package/dist/compiled/lodash/replace.d.ts +2 -0
  796. package/dist/compiled/lodash/rest.d.ts +2 -0
  797. package/dist/compiled/lodash/result.d.ts +2 -0
  798. package/dist/compiled/lodash/reverse.d.ts +2 -0
  799. package/dist/compiled/lodash/round.d.ts +2 -0
  800. package/dist/compiled/lodash/runInContext.d.ts +2 -0
  801. package/dist/compiled/lodash/sample.d.ts +2 -0
  802. package/dist/compiled/lodash/sampleSize.d.ts +2 -0
  803. package/dist/compiled/lodash/set.d.ts +2 -0
  804. package/dist/compiled/lodash/setWith.d.ts +2 -0
  805. package/dist/compiled/lodash/shuffle.d.ts +2 -0
  806. package/dist/compiled/lodash/size.d.ts +2 -0
  807. package/dist/compiled/lodash/slice.d.ts +2 -0
  808. package/dist/compiled/lodash/snakeCase.d.ts +2 -0
  809. package/dist/compiled/lodash/some.d.ts +2 -0
  810. package/dist/compiled/lodash/sortBy.d.ts +2 -0
  811. package/dist/compiled/lodash/sortedIndex.d.ts +2 -0
  812. package/dist/compiled/lodash/sortedIndexBy.d.ts +2 -0
  813. package/dist/compiled/lodash/sortedIndexOf.d.ts +2 -0
  814. package/dist/compiled/lodash/sortedLastIndex.d.ts +2 -0
  815. package/dist/compiled/lodash/sortedLastIndexBy.d.ts +2 -0
  816. package/dist/compiled/lodash/sortedLastIndexOf.d.ts +2 -0
  817. package/dist/compiled/lodash/sortedUniq.d.ts +2 -0
  818. package/dist/compiled/lodash/sortedUniqBy.d.ts +2 -0
  819. package/dist/compiled/lodash/split.d.ts +2 -0
  820. package/dist/compiled/lodash/spread.d.ts +2 -0
  821. package/dist/compiled/lodash/startCase.d.ts +2 -0
  822. package/dist/compiled/lodash/startsWith.d.ts +2 -0
  823. package/dist/compiled/lodash/stubArray.d.ts +2 -0
  824. package/dist/compiled/lodash/stubFalse.d.ts +2 -0
  825. package/dist/compiled/lodash/stubObject.d.ts +2 -0
  826. package/dist/compiled/lodash/stubString.d.ts +2 -0
  827. package/dist/compiled/lodash/stubTrue.d.ts +2 -0
  828. package/dist/compiled/lodash/subtract.d.ts +2 -0
  829. package/dist/compiled/lodash/sum.d.ts +2 -0
  830. package/dist/compiled/lodash/sumBy.d.ts +2 -0
  831. package/dist/compiled/lodash/tail.d.ts +2 -0
  832. package/dist/compiled/lodash/take.d.ts +2 -0
  833. package/dist/compiled/lodash/takeRight.d.ts +2 -0
  834. package/dist/compiled/lodash/takeRightWhile.d.ts +2 -0
  835. package/dist/compiled/lodash/takeWhile.d.ts +2 -0
  836. package/dist/compiled/lodash/tap.d.ts +2 -0
  837. package/dist/compiled/lodash/template.d.ts +2 -0
  838. package/dist/compiled/lodash/throttle.d.ts +2 -0
  839. package/dist/compiled/lodash/thru.d.ts +2 -0
  840. package/dist/compiled/lodash/times.d.ts +2 -0
  841. package/dist/compiled/lodash/toArray.d.ts +2 -0
  842. package/dist/compiled/lodash/toFinite.d.ts +2 -0
  843. package/dist/compiled/lodash/toInteger.d.ts +2 -0
  844. package/dist/compiled/lodash/toLength.d.ts +2 -0
  845. package/dist/compiled/lodash/toLower.d.ts +2 -0
  846. package/dist/compiled/lodash/toNumber.d.ts +2 -0
  847. package/dist/compiled/lodash/toPairs.d.ts +2 -0
  848. package/dist/compiled/lodash/toPairsIn.d.ts +2 -0
  849. package/dist/compiled/lodash/toPath.d.ts +2 -0
  850. package/dist/compiled/lodash/toPlainObject.d.ts +2 -0
  851. package/dist/compiled/lodash/toSafeInteger.d.ts +2 -0
  852. package/dist/compiled/lodash/toString.d.ts +2 -0
  853. package/dist/compiled/lodash/toUpper.d.ts +2 -0
  854. package/dist/compiled/lodash/transform.d.ts +2 -0
  855. package/dist/compiled/lodash/trim.d.ts +2 -0
  856. package/dist/compiled/lodash/trimEnd.d.ts +2 -0
  857. package/dist/compiled/lodash/trimStart.d.ts +2 -0
  858. package/dist/compiled/lodash/truncate.d.ts +2 -0
  859. package/dist/compiled/lodash/unary.d.ts +2 -0
  860. package/dist/compiled/lodash/unescape.d.ts +2 -0
  861. package/dist/compiled/lodash/union.d.ts +2 -0
  862. package/dist/compiled/lodash/unionBy.d.ts +2 -0
  863. package/dist/compiled/lodash/unionWith.d.ts +2 -0
  864. package/dist/compiled/lodash/uniq.d.ts +2 -0
  865. package/dist/compiled/lodash/uniqBy.d.ts +2 -0
  866. package/dist/compiled/lodash/uniqWith.d.ts +2 -0
  867. package/dist/compiled/lodash/uniqueId.d.ts +2 -0
  868. package/dist/compiled/lodash/unset.d.ts +2 -0
  869. package/dist/compiled/lodash/unzip.d.ts +2 -0
  870. package/dist/compiled/lodash/unzipWith.d.ts +2 -0
  871. package/dist/compiled/lodash/update.d.ts +2 -0
  872. package/dist/compiled/lodash/updateWith.d.ts +2 -0
  873. package/dist/compiled/lodash/upperCase.d.ts +2 -0
  874. package/dist/compiled/lodash/upperFirst.d.ts +2 -0
  875. package/dist/compiled/lodash/values.d.ts +2 -0
  876. package/dist/compiled/lodash/valuesIn.d.ts +2 -0
  877. package/dist/compiled/lodash/without.d.ts +2 -0
  878. package/dist/compiled/lodash/words.d.ts +2 -0
  879. package/dist/compiled/lodash/wrap.d.ts +2 -0
  880. package/dist/compiled/lodash/xor.d.ts +2 -0
  881. package/dist/compiled/lodash/xorBy.d.ts +2 -0
  882. package/dist/compiled/lodash/xorWith.d.ts +2 -0
  883. package/dist/compiled/lodash/zip.d.ts +2 -0
  884. package/dist/compiled/lodash/zipObject.d.ts +2 -0
  885. package/dist/compiled/lodash/zipObjectDeep.d.ts +2 -0
  886. package/dist/compiled/lodash/zipWith.d.ts +2 -0
  887. package/dist/compiled/mime-types/declaration-licenses/@types_mime-types/LICENSE +21 -0
  888. package/dist/compiled/mime-types/index.d.ts +15 -12
  889. package/dist/compiled/mime-types/index.js +74 -28
  890. package/dist/compiled/mime-types/licenses-cjs.txt +52 -0
  891. package/dist/compiled/mime-types/package.json +1 -1
  892. package/dist/compiled/mime-types/provenance.json +19 -0
  893. package/dist/compiled/minimist/declaration-licenses/@types_minimist/LICENSE +21 -0
  894. package/dist/compiled/minimist/index.d.ts +3 -11
  895. package/dist/compiled/minimist/index.js +103 -104
  896. package/dist/compiled/minimist/licenses-cjs.txt +20 -0
  897. package/dist/compiled/minimist/package.json +1 -1
  898. package/dist/compiled/minimist/provenance.json +22 -0
  899. package/dist/compiled/nanoid/LICENSE +20 -0
  900. package/dist/compiled/nanoid/declaration-licenses/nanoid/LICENSE +20 -0
  901. package/dist/compiled/nanoid/index.d.mts +108 -0
  902. package/dist/compiled/nanoid/index.d.ts +31 -14
  903. package/dist/compiled/nanoid/index.js +117 -74
  904. package/dist/compiled/nanoid/index.mjs +98 -48
  905. package/dist/compiled/nanoid/licenses-cjs.txt +22 -0
  906. package/dist/compiled/nanoid/licenses-esm.txt +22 -0
  907. package/dist/compiled/nanoid/package.json +1 -1
  908. package/dist/compiled/nanoid/provenance.json +19 -0
  909. package/dist/compiled/ora/declaration-licenses/cli-spinners/license +9 -0
  910. package/dist/compiled/ora/declaration-licenses/ora/license +9 -0
  911. package/dist/compiled/ora/index.d.mts +501 -0
  912. package/dist/compiled/ora/index.d.ts +428 -204
  913. package/dist/compiled/ora/index.js +2121 -3893
  914. package/dist/compiled/ora/index.mjs +2155 -0
  915. package/dist/compiled/ora/licenses-cjs.txt +226 -0
  916. package/dist/compiled/ora/licenses-esm.txt +226 -0
  917. package/dist/compiled/ora/package.json +1 -1
  918. package/dist/compiled/ora/provenance.json +24 -0
  919. package/dist/compiled/pkg-up/declaration-licenses/@modern-js_compiled-pkg-up/license +9 -0
  920. package/dist/compiled/pkg-up/index.d.ts +9 -9
  921. package/dist/compiled/pkg-up/index.js +47 -14
  922. package/dist/compiled/pkg-up/licenses-cjs.txt +11 -0
  923. package/dist/compiled/pkg-up/package.json +1 -1
  924. package/dist/compiled/pkg-up/provenance.json +18 -0
  925. package/dist/compiled/semver/classes/comparator.d.ts +3 -3
  926. package/dist/compiled/semver/classes/range.d.ts +6 -6
  927. package/dist/compiled/semver/classes/semver.d.ts +11 -4
  928. package/dist/compiled/semver/declaration-licenses/@types_semver/LICENSE +21 -0
  929. package/dist/compiled/semver/functions/clean.d.ts +1 -1
  930. package/dist/compiled/semver/functions/cmp.d.ts +2 -2
  931. package/dist/compiled/semver/functions/coerce.d.ts +2 -2
  932. package/dist/compiled/semver/functions/compare-build.d.ts +7 -2
  933. package/dist/compiled/semver/functions/compare-loose.d.ts +4 -1
  934. package/dist/compiled/semver/functions/compare.d.ts +2 -2
  935. package/dist/compiled/semver/functions/diff.d.ts +3 -7
  936. package/dist/compiled/semver/functions/eq.d.ts +2 -2
  937. package/dist/compiled/semver/functions/gt.d.ts +2 -2
  938. package/dist/compiled/semver/functions/gte.d.ts +2 -2
  939. package/dist/compiled/semver/functions/inc.d.ts +15 -4
  940. package/dist/compiled/semver/functions/lt.d.ts +2 -2
  941. package/dist/compiled/semver/functions/lte.d.ts +2 -2
  942. package/dist/compiled/semver/functions/major.d.ts +2 -2
  943. package/dist/compiled/semver/functions/minor.d.ts +2 -2
  944. package/dist/compiled/semver/functions/neq.d.ts +2 -2
  945. package/dist/compiled/semver/functions/parse.d.ts +15 -4
  946. package/dist/compiled/semver/functions/patch.d.ts +2 -2
  947. package/dist/compiled/semver/functions/prerelease.d.ts +2 -2
  948. package/dist/compiled/semver/functions/rcompare.d.ts +2 -2
  949. package/dist/compiled/semver/functions/rsort.d.ts +2 -2
  950. package/dist/compiled/semver/functions/satisfies.d.ts +4 -4
  951. package/dist/compiled/semver/functions/sort.d.ts +2 -2
  952. package/dist/compiled/semver/functions/truncate.d.ts +10 -0
  953. package/dist/compiled/semver/functions/valid.d.ts +2 -2
  954. package/dist/compiled/semver/index.d.ts +82 -77
  955. package/dist/compiled/semver/index.js +639 -1026
  956. package/dist/compiled/semver/licenses-cjs.txt +17 -0
  957. package/dist/compiled/semver/package.json +1 -1
  958. package/dist/compiled/semver/preload.d.ts +2 -0
  959. package/dist/compiled/semver/provenance.json +22 -0
  960. package/dist/compiled/semver/ranges/gtr.d.ts +4 -4
  961. package/dist/compiled/semver/ranges/intersects.d.ts +3 -3
  962. package/dist/compiled/semver/ranges/ltr.d.ts +4 -4
  963. package/dist/compiled/semver/ranges/max-satisfying.d.ts +5 -5
  964. package/dist/compiled/semver/ranges/min-satisfying.d.ts +5 -5
  965. package/dist/compiled/semver/ranges/min-version.d.ts +3 -3
  966. package/dist/compiled/semver/ranges/outside.d.ts +5 -5
  967. package/dist/compiled/semver/ranges/simplify.d.ts +2 -2
  968. package/dist/compiled/semver/ranges/subset.d.ts +3 -7
  969. package/dist/compiled/semver/ranges/to-comparators.d.ts +2 -2
  970. package/dist/compiled/semver/ranges/valid.d.ts +3 -3
  971. package/dist/compiled/signale/declaration-licenses/@types_signale/LICENSE +21 -0
  972. package/dist/compiled/signale/index.d.ts +22 -29
  973. package/dist/compiled/signale/index.js +2934 -613
  974. package/dist/compiled/signale/license.md +21 -0
  975. package/dist/compiled/signale/licenses-cjs.txt +468 -0
  976. package/dist/compiled/signale/package.json +1 -1
  977. package/dist/compiled/signale/provenance.json +19 -0
  978. package/dist/compiled/slash/declaration-licenses/slash/license +9 -0
  979. package/dist/compiled/slash/index.d.mts +25 -0
  980. package/dist/compiled/slash/index.d.ts +4 -4
  981. package/dist/compiled/slash/index.js +31 -27
  982. package/dist/compiled/slash/index.mjs +25 -0
  983. package/dist/compiled/slash/license +1 -1
  984. package/dist/compiled/slash/licenses-cjs.txt +11 -0
  985. package/dist/compiled/slash/licenses-esm.txt +11 -0
  986. package/dist/compiled/slash/package.json +1 -1
  987. package/dist/compiled/slash/provenance.json +19 -0
  988. package/dist/compiled/strip-ansi/declaration-licenses/strip-ansi/license +9 -0
  989. package/dist/compiled/strip-ansi/index.d.mts +17 -0
  990. package/dist/compiled/strip-ansi/index.d.ts +2 -2
  991. package/dist/compiled/strip-ansi/index.js +39 -29
  992. package/dist/compiled/strip-ansi/index.mjs +33 -0
  993. package/dist/compiled/strip-ansi/license +1 -1
  994. package/dist/compiled/strip-ansi/licenses-cjs.txt +24 -0
  995. package/dist/compiled/strip-ansi/licenses-esm.txt +24 -0
  996. package/dist/compiled/strip-ansi/package.json +1 -1
  997. package/dist/compiled/strip-ansi/provenance.json +19 -0
  998. package/dist/compiled/tsconfig-paths/declaration-licenses/tsconfig-paths/LICENSE +21 -0
  999. package/dist/compiled/tsconfig-paths/index.d.mts +115 -0
  1000. package/dist/compiled/tsconfig-paths/index.d.ts +115 -0
  1001. package/dist/compiled/tsconfig-paths/index.js +256 -243
  1002. package/dist/compiled/tsconfig-paths/index.mjs +2 -2
  1003. package/dist/compiled/tsconfig-paths/licenses-cjs.txt +48 -0
  1004. package/dist/compiled/tsconfig-paths/package.json +1 -1
  1005. package/dist/compiled/tsconfig-paths/provenance.json +19 -0
  1006. package/dist/compiled/upath/LICENSE +22 -0
  1007. package/dist/compiled/upath/declaration-licenses/upath/LICENSE +22 -0
  1008. package/dist/compiled/upath/index.d.mts +84 -0
  1009. package/dist/compiled/upath/index.d.ts +84 -0
  1010. package/dist/compiled/upath/index.js +173 -110
  1011. package/dist/compiled/upath/index.mjs +236 -0
  1012. package/dist/compiled/upath/licenses-cjs.txt +24 -0
  1013. package/dist/compiled/upath/licenses-esm.txt +24 -0
  1014. package/dist/compiled/upath/package.json +1 -1
  1015. package/dist/compiled/upath/provenance.json +22 -0
  1016. package/dist/compiled/url-join/declaration-licenses/url-join/LICENSE +21 -0
  1017. package/dist/compiled/url-join/index.d.mts +9 -0
  1018. package/dist/compiled/url-join/index.d.ts +3 -11
  1019. package/dist/compiled/url-join/index.js +55 -55
  1020. package/dist/compiled/url-join/index.mjs +50 -0
  1021. package/dist/compiled/url-join/licenses-cjs.txt +23 -0
  1022. package/dist/compiled/url-join/licenses-esm.txt +23 -0
  1023. package/dist/compiled/url-join/package.json +1 -1
  1024. package/dist/compiled/url-join/provenance.json +22 -0
  1025. package/dist/esm/cli/applyOptionsChain.mjs +1 -1
  1026. package/dist/esm/cli/get/config.mjs +1 -1
  1027. package/dist/esm/cli/is/config.mjs +1 -1
  1028. package/dist/esm/cli/require.mjs +4 -5
  1029. package/dist/esm/compiled.mjs +22 -31
  1030. package/dist/esm/fast-glob.mjs +1 -0
  1031. package/dist/esm/watch-options.mjs +0 -0
  1032. package/dist/esm-node/cli/applyOptionsChain.mjs +1 -1
  1033. package/dist/esm-node/cli/get/config.mjs +1 -1
  1034. package/dist/esm-node/cli/is/config.mjs +1 -1
  1035. package/dist/esm-node/cli/require.mjs +4 -5
  1036. package/dist/esm-node/compiled.mjs +22 -30
  1037. package/dist/esm-node/fast-glob.mjs +2 -0
  1038. package/dist/esm-node/watch-options.mjs +1 -0
  1039. package/dist/types/cli/commands.d.ts +1 -1
  1040. package/dist/types/cli/modulePath.d.ts +1 -1
  1041. package/dist/types/cli/require.d.ts +0 -1
  1042. package/dist/types/compiled.d.ts +30 -29
  1043. package/dist/types/fast-glob.d.ts +1 -0
  1044. package/dist/types/watch-options.d.ts +1 -0
  1045. package/package.json +100 -36
  1046. package/rslib.config.mts +20 -84
  1047. package/dist/compiled/address/lib/address.d.ts +0 -28
  1048. package/dist/compiled/browserslist/license +0 -20
  1049. package/dist/compiled/chokidar/anymatch/index.d.ts +0 -19
  1050. package/dist/compiled/chokidar/fsevents.node +0 -0
  1051. package/dist/compiled/chokidar/license +0 -21
  1052. package/dist/compiled/chokidar/types/index.d.ts +0 -188
  1053. package/dist/compiled/commander/typings/index.d.ts +0 -890
  1054. package/dist/compiled/debug/ms/index.d.ts +0 -25
  1055. package/dist/compiled/dotenv/index.js +0 -101
  1056. package/dist/compiled/dotenv/license +0 -23
  1057. package/dist/compiled/dotenv/package.json +0 -1
  1058. package/dist/compiled/dotenv/types/index.d.ts +0 -59
  1059. package/dist/compiled/fast-glob/@nodelib/fs.scandir/out/adapters/fs.d.ts +0 -20
  1060. package/dist/compiled/fast-glob/@nodelib/fs.scandir/out/index.d.ts +0 -12
  1061. package/dist/compiled/fast-glob/@nodelib/fs.scandir/out/providers/async.d.ts +0 -7
  1062. package/dist/compiled/fast-glob/@nodelib/fs.scandir/out/settings.d.ts +0 -20
  1063. package/dist/compiled/fast-glob/@nodelib/fs.scandir/out/types/index.d.ts +0 -20
  1064. package/dist/compiled/fast-glob/@nodelib/fs.stat/out/adapters/fs.d.ts +0 -13
  1065. package/dist/compiled/fast-glob/@nodelib/fs.stat/out/index.d.ts +0 -12
  1066. package/dist/compiled/fast-glob/@nodelib/fs.stat/out/providers/async.d.ts +0 -4
  1067. package/dist/compiled/fast-glob/@nodelib/fs.stat/out/settings.d.ts +0 -16
  1068. package/dist/compiled/fast-glob/@nodelib/fs.stat/out/types/index.d.ts +0 -4
  1069. package/dist/compiled/fast-glob/@nodelib/fs.walk/out/index.d.ts +0 -14
  1070. package/dist/compiled/fast-glob/@nodelib/fs.walk/out/providers/async.d.ts +0 -12
  1071. package/dist/compiled/fast-glob/@nodelib/fs.walk/out/readers/async.d.ts +0 -30
  1072. package/dist/compiled/fast-glob/@nodelib/fs.walk/out/readers/reader.d.ts +0 -6
  1073. package/dist/compiled/fast-glob/@nodelib/fs.walk/out/settings.d.ts +0 -30
  1074. package/dist/compiled/fast-glob/@nodelib/fs.walk/out/types/index.d.ts +0 -8
  1075. package/dist/compiled/fast-glob/index.js +0 -4665
  1076. package/dist/compiled/fast-glob/index.js.LICENSE.txt +0 -38
  1077. package/dist/compiled/fast-glob/license +0 -21
  1078. package/dist/compiled/fast-glob/out/index.d.ts +0 -27
  1079. package/dist/compiled/fast-glob/out/managers/tasks.d.ts +0 -22
  1080. package/dist/compiled/fast-glob/out/settings.d.ts +0 -164
  1081. package/dist/compiled/fast-glob/out/types/index.d.ts +0 -31
  1082. package/dist/compiled/fast-glob/package.json +0 -1
  1083. package/dist/compiled/filesize/filesize.d.ts +0 -131
  1084. package/dist/compiled/filesize/license +0 -28
  1085. package/dist/compiled/fs-extra/license +0 -15
  1086. package/dist/compiled/glob/license +0 -21
  1087. package/dist/compiled/glob/minimatch/index.d.ts +0 -204
  1088. package/dist/compiled/inquirer/index.js.LICENSE.txt +0 -7
  1089. package/dist/compiled/inquirer/lib/objects/choice.d.ts +0 -65
  1090. package/dist/compiled/inquirer/lib/objects/choices.d.ts +0 -206
  1091. package/dist/compiled/inquirer/lib/objects/separator.d.ts +0 -37
  1092. package/dist/compiled/inquirer/lib/prompts/base.d.ts +0 -100
  1093. package/dist/compiled/inquirer/lib/prompts/checkbox.d.ts +0 -116
  1094. package/dist/compiled/inquirer/lib/prompts/confirm.d.ts +0 -53
  1095. package/dist/compiled/inquirer/lib/prompts/editor.d.ts +0 -101
  1096. package/dist/compiled/inquirer/lib/prompts/expand.d.ts +0 -149
  1097. package/dist/compiled/inquirer/lib/prompts/input.d.ts +0 -82
  1098. package/dist/compiled/inquirer/lib/prompts/list.d.ts +0 -89
  1099. package/dist/compiled/inquirer/lib/prompts/number.d.ts +0 -32
  1100. package/dist/compiled/inquirer/lib/prompts/password.d.ts +0 -82
  1101. package/dist/compiled/inquirer/lib/prompts/rawlist.d.ts +0 -111
  1102. package/dist/compiled/inquirer/lib/ui/baseUI.d.ts +0 -37
  1103. package/dist/compiled/inquirer/lib/ui/bottom-bar.d.ts +0 -65
  1104. package/dist/compiled/inquirer/lib/ui/prompt.d.ts +0 -104
  1105. package/dist/compiled/inquirer/lib/utils/events.d.ts +0 -72
  1106. package/dist/compiled/inquirer/lib/utils/incrementListIndex.d.ts +0 -23
  1107. package/dist/compiled/inquirer/lib/utils/paginator.d.ts +0 -55
  1108. package/dist/compiled/inquirer/lib/utils/readline.d.ts +0 -56
  1109. package/dist/compiled/inquirer/lib/utils/screen-manager.d.ts +0 -90
  1110. package/dist/compiled/inquirer/lib/utils/utils.d.ts +0 -30
  1111. package/dist/compiled/inquirer/license +0 -22
  1112. package/dist/compiled/inquirer/rxjs/LICENSE.txt +0 -202
  1113. package/dist/compiled/inquirer/rxjs/ajax/index.d.ts +0 -5
  1114. package/dist/compiled/inquirer/rxjs/fetch/index.d.ts +0 -2
  1115. package/dist/compiled/inquirer/rxjs/index.d.ts +0 -173
  1116. package/dist/compiled/inquirer/rxjs/internal/AnyCatcher.d.ts +0 -10
  1117. package/dist/compiled/inquirer/rxjs/internal/AsyncSubject.d.ts +0 -13
  1118. package/dist/compiled/inquirer/rxjs/internal/BehaviorSubject.d.ts +0 -13
  1119. package/dist/compiled/inquirer/rxjs/internal/Notification.d.ts +0 -175
  1120. package/dist/compiled/inquirer/rxjs/internal/NotificationFactories.d.ts +0 -2
  1121. package/dist/compiled/inquirer/rxjs/internal/Observable.d.ts +0 -121
  1122. package/dist/compiled/inquirer/rxjs/internal/Operator.d.ts +0 -9
  1123. package/dist/compiled/inquirer/rxjs/internal/ReplaySubject.d.ts +0 -49
  1124. package/dist/compiled/inquirer/rxjs/internal/Scheduler.d.ts +0 -53
  1125. package/dist/compiled/inquirer/rxjs/internal/Subject.d.ts +0 -54
  1126. package/dist/compiled/inquirer/rxjs/internal/Subscriber.d.ts +0 -72
  1127. package/dist/compiled/inquirer/rxjs/internal/Subscription.d.ts +0 -92
  1128. package/dist/compiled/inquirer/rxjs/internal/ajax/AjaxResponse.d.ts +0 -115
  1129. package/dist/compiled/inquirer/rxjs/internal/ajax/ajax.d.ts +0 -227
  1130. package/dist/compiled/inquirer/rxjs/internal/ajax/errors.d.ts +0 -65
  1131. package/dist/compiled/inquirer/rxjs/internal/ajax/getXHRResponse.d.ts +0 -14
  1132. package/dist/compiled/inquirer/rxjs/internal/ajax/types.d.ts +0 -200
  1133. package/dist/compiled/inquirer/rxjs/internal/config.d.ts +0 -73
  1134. package/dist/compiled/inquirer/rxjs/internal/firstValueFrom.d.ts +0 -7
  1135. package/dist/compiled/inquirer/rxjs/internal/lastValueFrom.d.ts +0 -7
  1136. package/dist/compiled/inquirer/rxjs/internal/observable/ConnectableObservable.d.ts +0 -42
  1137. package/dist/compiled/inquirer/rxjs/internal/observable/bindCallback.d.ts +0 -5
  1138. package/dist/compiled/inquirer/rxjs/internal/observable/bindCallbackInternals.d.ts +0 -4
  1139. package/dist/compiled/inquirer/rxjs/internal/observable/bindNodeCallback.d.ts +0 -5
  1140. package/dist/compiled/inquirer/rxjs/internal/observable/combineLatest.d.ts +0 -33
  1141. package/dist/compiled/inquirer/rxjs/internal/observable/concat.d.ts +0 -5
  1142. package/dist/compiled/inquirer/rxjs/internal/observable/connectable.d.ts +0 -27
  1143. package/dist/compiled/inquirer/rxjs/internal/observable/defer.d.ts +0 -51
  1144. package/dist/compiled/inquirer/rxjs/internal/observable/dom/WebSocketSubject.d.ts +0 -173
  1145. package/dist/compiled/inquirer/rxjs/internal/observable/dom/animationFrames.d.ts +0 -76
  1146. package/dist/compiled/inquirer/rxjs/internal/observable/dom/fetch.d.ts +0 -7
  1147. package/dist/compiled/inquirer/rxjs/internal/observable/dom/webSocket.d.ts +0 -159
  1148. package/dist/compiled/inquirer/rxjs/internal/observable/empty.d.ts +0 -72
  1149. package/dist/compiled/inquirer/rxjs/internal/observable/forkJoin.d.ts +0 -24
  1150. package/dist/compiled/inquirer/rxjs/internal/observable/from.d.ts +0 -6
  1151. package/dist/compiled/inquirer/rxjs/internal/observable/fromEvent.d.ts +0 -45
  1152. package/dist/compiled/inquirer/rxjs/internal/observable/fromEventPattern.d.ts +0 -5
  1153. package/dist/compiled/inquirer/rxjs/internal/observable/fromSubscribable.d.ts +0 -14
  1154. package/dist/compiled/inquirer/rxjs/internal/observable/generate.d.ts +0 -314
  1155. package/dist/compiled/inquirer/rxjs/internal/observable/iif.d.ts +0 -82
  1156. package/dist/compiled/inquirer/rxjs/internal/observable/innerFrom.d.ts +0 -21
  1157. package/dist/compiled/inquirer/rxjs/internal/observable/interval.d.ts +0 -48
  1158. package/dist/compiled/inquirer/rxjs/internal/observable/merge.d.ts +0 -9
  1159. package/dist/compiled/inquirer/rxjs/internal/observable/never.d.ts +0 -40
  1160. package/dist/compiled/inquirer/rxjs/internal/observable/of.d.ts +0 -14
  1161. package/dist/compiled/inquirer/rxjs/internal/observable/onErrorResumeNext.d.ts +0 -5
  1162. package/dist/compiled/inquirer/rxjs/internal/observable/pairs.d.ts +0 -19
  1163. package/dist/compiled/inquirer/rxjs/internal/observable/partition.d.ts +0 -9
  1164. package/dist/compiled/inquirer/rxjs/internal/observable/race.d.ts +0 -12
  1165. package/dist/compiled/inquirer/rxjs/internal/observable/range.d.ts +0 -8
  1166. package/dist/compiled/inquirer/rxjs/internal/observable/throwError.d.ts +0 -115
  1167. package/dist/compiled/inquirer/rxjs/internal/observable/timer.d.ts +0 -126
  1168. package/dist/compiled/inquirer/rxjs/internal/observable/using.d.ts +0 -30
  1169. package/dist/compiled/inquirer/rxjs/internal/observable/zip.d.ts +0 -7
  1170. package/dist/compiled/inquirer/rxjs/internal/operators/OperatorSubscriber.d.ts +0 -41
  1171. package/dist/compiled/inquirer/rxjs/internal/operators/audit.d.ts +0 -48
  1172. package/dist/compiled/inquirer/rxjs/internal/operators/auditTime.d.ts +0 -50
  1173. package/dist/compiled/inquirer/rxjs/internal/operators/buffer.d.ts +0 -41
  1174. package/dist/compiled/inquirer/rxjs/internal/operators/bufferCount.d.ts +0 -54
  1175. package/dist/compiled/inquirer/rxjs/internal/operators/bufferTime.d.ts +0 -5
  1176. package/dist/compiled/inquirer/rxjs/internal/operators/bufferToggle.d.ts +0 -46
  1177. package/dist/compiled/inquirer/rxjs/internal/operators/bufferWhen.d.ts +0 -41
  1178. package/dist/compiled/inquirer/rxjs/internal/operators/catchError.d.ts +0 -4
  1179. package/dist/compiled/inquirer/rxjs/internal/operators/combineAll.d.ts +0 -6
  1180. package/dist/compiled/inquirer/rxjs/internal/operators/combineLatest.d.ts +0 -10
  1181. package/dist/compiled/inquirer/rxjs/internal/operators/combineLatestAll.d.ts +0 -6
  1182. package/dist/compiled/inquirer/rxjs/internal/operators/combineLatestWith.d.ts +0 -43
  1183. package/dist/compiled/inquirer/rxjs/internal/operators/concat.d.ts +0 -6
  1184. package/dist/compiled/inquirer/rxjs/internal/operators/concatAll.d.ts +0 -59
  1185. package/dist/compiled/inquirer/rxjs/internal/operators/concatMap.d.ts +0 -7
  1186. package/dist/compiled/inquirer/rxjs/internal/operators/concatMapTo.d.ts +0 -8
  1187. package/dist/compiled/inquirer/rxjs/internal/operators/concatWith.d.ts +0 -43
  1188. package/dist/compiled/inquirer/rxjs/internal/operators/connect.d.ts +0 -87
  1189. package/dist/compiled/inquirer/rxjs/internal/operators/count.d.ts +0 -58
  1190. package/dist/compiled/inquirer/rxjs/internal/operators/debounce.d.ts +0 -61
  1191. package/dist/compiled/inquirer/rxjs/internal/operators/debounceTime.d.ts +0 -59
  1192. package/dist/compiled/inquirer/rxjs/internal/operators/defaultIfEmpty.d.ts +0 -38
  1193. package/dist/compiled/inquirer/rxjs/internal/operators/delay.d.ts +0 -59
  1194. package/dist/compiled/inquirer/rxjs/internal/operators/delayWhen.d.ts +0 -6
  1195. package/dist/compiled/inquirer/rxjs/internal/operators/dematerialize.d.ts +0 -51
  1196. package/dist/compiled/inquirer/rxjs/internal/operators/distinct.d.ts +0 -60
  1197. package/dist/compiled/inquirer/rxjs/internal/operators/distinctUntilChanged.d.ts +0 -4
  1198. package/dist/compiled/inquirer/rxjs/internal/operators/distinctUntilKeyChanged.d.ts +0 -4
  1199. package/dist/compiled/inquirer/rxjs/internal/operators/elementAt.d.ts +0 -51
  1200. package/dist/compiled/inquirer/rxjs/internal/operators/endWith.d.ts +0 -7
  1201. package/dist/compiled/inquirer/rxjs/internal/operators/every.d.ts +0 -9
  1202. package/dist/compiled/inquirer/rxjs/internal/operators/exhaust.d.ts +0 -6
  1203. package/dist/compiled/inquirer/rxjs/internal/operators/exhaustAll.d.ts +0 -47
  1204. package/dist/compiled/inquirer/rxjs/internal/operators/exhaustMap.d.ts +0 -7
  1205. package/dist/compiled/inquirer/rxjs/internal/operators/expand.d.ts +0 -9
  1206. package/dist/compiled/inquirer/rxjs/internal/operators/filter.d.ts +0 -9
  1207. package/dist/compiled/inquirer/rxjs/internal/operators/finalize.d.ts +0 -64
  1208. package/dist/compiled/inquirer/rxjs/internal/operators/find.d.ts +0 -12
  1209. package/dist/compiled/inquirer/rxjs/internal/operators/findIndex.d.ts +0 -9
  1210. package/dist/compiled/inquirer/rxjs/internal/operators/first.d.ts +0 -9
  1211. package/dist/compiled/inquirer/rxjs/internal/operators/flatMap.d.ts +0 -6
  1212. package/dist/compiled/inquirer/rxjs/internal/operators/groupBy.d.ts +0 -119
  1213. package/dist/compiled/inquirer/rxjs/internal/operators/ignoreElements.d.ts +0 -38
  1214. package/dist/compiled/inquirer/rxjs/internal/operators/isEmpty.d.ts +0 -64
  1215. package/dist/compiled/inquirer/rxjs/internal/operators/joinAllInternals.d.ts +0 -14
  1216. package/dist/compiled/inquirer/rxjs/internal/operators/last.d.ts +0 -8
  1217. package/dist/compiled/inquirer/rxjs/internal/operators/map.d.ts +0 -5
  1218. package/dist/compiled/inquirer/rxjs/internal/operators/mapTo.d.ts +0 -10
  1219. package/dist/compiled/inquirer/rxjs/internal/operators/materialize.d.ts +0 -52
  1220. package/dist/compiled/inquirer/rxjs/internal/operators/max.d.ts +0 -50
  1221. package/dist/compiled/inquirer/rxjs/internal/operators/merge.d.ts +0 -10
  1222. package/dist/compiled/inquirer/rxjs/internal/operators/mergeAll.d.ts +0 -62
  1223. package/dist/compiled/inquirer/rxjs/internal/operators/mergeInternals.d.ts +0 -18
  1224. package/dist/compiled/inquirer/rxjs/internal/operators/mergeMap.d.ts +0 -7
  1225. package/dist/compiled/inquirer/rxjs/internal/operators/mergeMapTo.d.ts +0 -9
  1226. package/dist/compiled/inquirer/rxjs/internal/operators/mergeScan.d.ts +0 -68
  1227. package/dist/compiled/inquirer/rxjs/internal/operators/mergeWith.d.ts +0 -44
  1228. package/dist/compiled/inquirer/rxjs/internal/operators/min.d.ts +0 -50
  1229. package/dist/compiled/inquirer/rxjs/internal/operators/multicast.d.ts +0 -63
  1230. package/dist/compiled/inquirer/rxjs/internal/operators/observeOn.d.ts +0 -56
  1231. package/dist/compiled/inquirer/rxjs/internal/operators/onErrorResumeNextWith.d.ts +0 -8
  1232. package/dist/compiled/inquirer/rxjs/internal/operators/pairwise.d.ts +0 -46
  1233. package/dist/compiled/inquirer/rxjs/internal/operators/partition.d.ts +0 -54
  1234. package/dist/compiled/inquirer/rxjs/internal/operators/pluck.d.ts +0 -18
  1235. package/dist/compiled/inquirer/rxjs/internal/operators/publish.d.ts +0 -30
  1236. package/dist/compiled/inquirer/rxjs/internal/operators/publishBehavior.d.ts +0 -19
  1237. package/dist/compiled/inquirer/rxjs/internal/operators/publishLast.d.ts +0 -69
  1238. package/dist/compiled/inquirer/rxjs/internal/operators/publishReplay.d.ts +0 -56
  1239. package/dist/compiled/inquirer/rxjs/internal/operators/race.d.ts +0 -6
  1240. package/dist/compiled/inquirer/rxjs/internal/operators/raceWith.d.ts +0 -29
  1241. package/dist/compiled/inquirer/rxjs/internal/operators/reduce.d.ts +0 -5
  1242. package/dist/compiled/inquirer/rxjs/internal/operators/refCount.d.ts +0 -61
  1243. package/dist/compiled/inquirer/rxjs/internal/operators/repeat.d.ts +0 -108
  1244. package/dist/compiled/inquirer/rxjs/internal/operators/repeatWhen.d.ts +0 -38
  1245. package/dist/compiled/inquirer/rxjs/internal/operators/retry.d.ts +0 -28
  1246. package/dist/compiled/inquirer/rxjs/internal/operators/retryWhen.d.ts +0 -61
  1247. package/dist/compiled/inquirer/rxjs/internal/operators/sample.d.ts +0 -43
  1248. package/dist/compiled/inquirer/rxjs/internal/operators/sampleTime.d.ts +0 -46
  1249. package/dist/compiled/inquirer/rxjs/internal/operators/scan.d.ts +0 -5
  1250. package/dist/compiled/inquirer/rxjs/internal/operators/scanInternals.d.ts +0 -12
  1251. package/dist/compiled/inquirer/rxjs/internal/operators/sequenceEqual.d.ts +0 -60
  1252. package/dist/compiled/inquirer/rxjs/internal/operators/share.d.ts +0 -43
  1253. package/dist/compiled/inquirer/rxjs/internal/operators/shareReplay.d.ts +0 -10
  1254. package/dist/compiled/inquirer/rxjs/internal/operators/single.d.ts +0 -5
  1255. package/dist/compiled/inquirer/rxjs/internal/operators/skip.d.ts +0 -36
  1256. package/dist/compiled/inquirer/rxjs/internal/operators/skipLast.d.ts +0 -45
  1257. package/dist/compiled/inquirer/rxjs/internal/operators/skipUntil.d.ts +0 -48
  1258. package/dist/compiled/inquirer/rxjs/internal/operators/skipWhile.d.ts +0 -5
  1259. package/dist/compiled/inquirer/rxjs/internal/operators/startWith.d.ts +0 -7
  1260. package/dist/compiled/inquirer/rxjs/internal/operators/subscribeOn.d.ts +0 -62
  1261. package/dist/compiled/inquirer/rxjs/internal/operators/switchAll.d.ts +0 -61
  1262. package/dist/compiled/inquirer/rxjs/internal/operators/switchMap.d.ts +0 -7
  1263. package/dist/compiled/inquirer/rxjs/internal/operators/switchMapTo.d.ts +0 -8
  1264. package/dist/compiled/inquirer/rxjs/internal/operators/switchScan.d.ts +0 -20
  1265. package/dist/compiled/inquirer/rxjs/internal/operators/take.d.ts +0 -45
  1266. package/dist/compiled/inquirer/rxjs/internal/operators/takeLast.d.ts +0 -42
  1267. package/dist/compiled/inquirer/rxjs/internal/operators/takeUntil.d.ts +0 -41
  1268. package/dist/compiled/inquirer/rxjs/internal/operators/takeWhile.d.ts +0 -8
  1269. package/dist/compiled/inquirer/rxjs/internal/operators/tap.d.ts +0 -72
  1270. package/dist/compiled/inquirer/rxjs/internal/operators/throttle.d.ts +0 -78
  1271. package/dist/compiled/inquirer/rxjs/internal/operators/throttleTime.d.ts +0 -53
  1272. package/dist/compiled/inquirer/rxjs/internal/operators/throwIfEmpty.d.ts +0 -39
  1273. package/dist/compiled/inquirer/rxjs/internal/operators/timeInterval.d.ts +0 -50
  1274. package/dist/compiled/inquirer/rxjs/internal/operators/timeout.d.ts +0 -255
  1275. package/dist/compiled/inquirer/rxjs/internal/operators/timeoutWith.d.ts +0 -8
  1276. package/dist/compiled/inquirer/rxjs/internal/operators/timestamp.d.ts +0 -35
  1277. package/dist/compiled/inquirer/rxjs/internal/operators/toArray.d.ts +0 -33
  1278. package/dist/compiled/inquirer/rxjs/internal/operators/window.d.ts +0 -48
  1279. package/dist/compiled/inquirer/rxjs/internal/operators/windowCount.d.ts +0 -65
  1280. package/dist/compiled/inquirer/rxjs/internal/operators/windowTime.d.ts +0 -6
  1281. package/dist/compiled/inquirer/rxjs/internal/operators/windowToggle.d.ts +0 -49
  1282. package/dist/compiled/inquirer/rxjs/internal/operators/windowWhen.d.ts +0 -49
  1283. package/dist/compiled/inquirer/rxjs/internal/operators/withLatestFrom.d.ts +0 -4
  1284. package/dist/compiled/inquirer/rxjs/internal/operators/zip.d.ts +0 -10
  1285. package/dist/compiled/inquirer/rxjs/internal/operators/zipAll.d.ts +0 -14
  1286. package/dist/compiled/inquirer/rxjs/internal/operators/zipWith.d.ts +0 -26
  1287. package/dist/compiled/inquirer/rxjs/internal/scheduled/scheduleArray.d.ts +0 -4
  1288. package/dist/compiled/inquirer/rxjs/internal/scheduled/scheduleAsyncIterable.d.ts +0 -4
  1289. package/dist/compiled/inquirer/rxjs/internal/scheduled/scheduleIterable.d.ts +0 -9
  1290. package/dist/compiled/inquirer/rxjs/internal/scheduled/scheduleObservable.d.ts +0 -3
  1291. package/dist/compiled/inquirer/rxjs/internal/scheduled/schedulePromise.d.ts +0 -3
  1292. package/dist/compiled/inquirer/rxjs/internal/scheduled/scheduleReadableStreamLike.d.ts +0 -4
  1293. package/dist/compiled/inquirer/rxjs/internal/scheduled/scheduled.d.ts +0 -15
  1294. package/dist/compiled/inquirer/rxjs/internal/scheduler/Action.d.ts +0 -30
  1295. package/dist/compiled/inquirer/rxjs/internal/scheduler/AnimationFrameAction.d.ts +0 -12
  1296. package/dist/compiled/inquirer/rxjs/internal/scheduler/AnimationFrameScheduler.d.ts +0 -6
  1297. package/dist/compiled/inquirer/rxjs/internal/scheduler/AsapAction.d.ts +0 -12
  1298. package/dist/compiled/inquirer/rxjs/internal/scheduler/AsapScheduler.d.ts +0 -6
  1299. package/dist/compiled/inquirer/rxjs/internal/scheduler/AsyncAction.d.ts +0 -24
  1300. package/dist/compiled/inquirer/rxjs/internal/scheduler/AsyncScheduler.d.ts +0 -9
  1301. package/dist/compiled/inquirer/rxjs/internal/scheduler/QueueAction.d.ts +0 -14
  1302. package/dist/compiled/inquirer/rxjs/internal/scheduler/QueueScheduler.d.ts +0 -4
  1303. package/dist/compiled/inquirer/rxjs/internal/scheduler/VirtualTimeScheduler.d.ts +0 -48
  1304. package/dist/compiled/inquirer/rxjs/internal/scheduler/animationFrame.d.ts +0 -38
  1305. package/dist/compiled/inquirer/rxjs/internal/scheduler/animationFrameProvider.d.ts +0 -13
  1306. package/dist/compiled/inquirer/rxjs/internal/scheduler/asap.d.ts +0 -41
  1307. package/dist/compiled/inquirer/rxjs/internal/scheduler/async.d.ts +0 -53
  1308. package/dist/compiled/inquirer/rxjs/internal/scheduler/dateTimestampProvider.d.ts +0 -7
  1309. package/dist/compiled/inquirer/rxjs/internal/scheduler/immediateProvider.d.ts +0 -14
  1310. package/dist/compiled/inquirer/rxjs/internal/scheduler/intervalProvider.d.ts +0 -14
  1311. package/dist/compiled/inquirer/rxjs/internal/scheduler/performanceTimestampProvider.d.ts +0 -7
  1312. package/dist/compiled/inquirer/rxjs/internal/scheduler/queue.d.ts +0 -69
  1313. package/dist/compiled/inquirer/rxjs/internal/scheduler/timeoutProvider.d.ts +0 -14
  1314. package/dist/compiled/inquirer/rxjs/internal/scheduler/timerHandle.d.ts +0 -2
  1315. package/dist/compiled/inquirer/rxjs/internal/symbol/iterator.d.ts +0 -3
  1316. package/dist/compiled/inquirer/rxjs/internal/symbol/observable.d.ts +0 -8
  1317. package/dist/compiled/inquirer/rxjs/internal/testing/ColdObservable.d.ts +0 -16
  1318. package/dist/compiled/inquirer/rxjs/internal/testing/HotObservable.d.ts +0 -15
  1319. package/dist/compiled/inquirer/rxjs/internal/testing/SubscriptionLog.d.ts +0 -6
  1320. package/dist/compiled/inquirer/rxjs/internal/testing/SubscriptionLoggable.d.ts +0 -9
  1321. package/dist/compiled/inquirer/rxjs/internal/testing/TestMessage.d.ts +0 -7
  1322. package/dist/compiled/inquirer/rxjs/internal/testing/TestScheduler.d.ts +0 -88
  1323. package/dist/compiled/inquirer/rxjs/internal/types.d.ts +0 -307
  1324. package/dist/compiled/inquirer/rxjs/internal/util/ArgumentOutOfRangeError.d.ts +0 -19
  1325. package/dist/compiled/inquirer/rxjs/internal/util/EmptyError.d.ts +0 -21
  1326. package/dist/compiled/inquirer/rxjs/internal/util/Immediate.d.ts +0 -14
  1327. package/dist/compiled/inquirer/rxjs/internal/util/NotFoundError.d.ts +0 -17
  1328. package/dist/compiled/inquirer/rxjs/internal/util/ObjectUnsubscribedError.d.ts +0 -20
  1329. package/dist/compiled/inquirer/rxjs/internal/util/SequenceError.d.ts +0 -17
  1330. package/dist/compiled/inquirer/rxjs/internal/util/UnsubscriptionError.d.ts +0 -16
  1331. package/dist/compiled/inquirer/rxjs/internal/util/applyMixins.d.ts +0 -2
  1332. package/dist/compiled/inquirer/rxjs/internal/util/args.d.ts +0 -5
  1333. package/dist/compiled/inquirer/rxjs/internal/util/argsArgArrayOrObject.d.ts +0 -11
  1334. package/dist/compiled/inquirer/rxjs/internal/util/argsOrArgArray.d.ts +0 -6
  1335. package/dist/compiled/inquirer/rxjs/internal/util/arrRemove.d.ts +0 -7
  1336. package/dist/compiled/inquirer/rxjs/internal/util/createErrorClass.d.ts +0 -11
  1337. package/dist/compiled/inquirer/rxjs/internal/util/createObject.d.ts +0 -2
  1338. package/dist/compiled/inquirer/rxjs/internal/util/errorContext.d.ts +0 -14
  1339. package/dist/compiled/inquirer/rxjs/internal/util/executeSchedule.d.ts +0 -5
  1340. package/dist/compiled/inquirer/rxjs/internal/util/identity.d.ts +0 -44
  1341. package/dist/compiled/inquirer/rxjs/internal/util/isArrayLike.d.ts +0 -2
  1342. package/dist/compiled/inquirer/rxjs/internal/util/isAsyncIterable.d.ts +0 -2
  1343. package/dist/compiled/inquirer/rxjs/internal/util/isDate.d.ts +0 -9
  1344. package/dist/compiled/inquirer/rxjs/internal/util/isFunction.d.ts +0 -6
  1345. package/dist/compiled/inquirer/rxjs/internal/util/isInteropObservable.d.ts +0 -4
  1346. package/dist/compiled/inquirer/rxjs/internal/util/isIterable.d.ts +0 -3
  1347. package/dist/compiled/inquirer/rxjs/internal/util/isObservable.d.ts +0 -8
  1348. package/dist/compiled/inquirer/rxjs/internal/util/isPromise.d.ts +0 -6
  1349. package/dist/compiled/inquirer/rxjs/internal/util/isReadableStreamLike.d.ts +0 -4
  1350. package/dist/compiled/inquirer/rxjs/internal/util/isScheduler.d.ts +0 -3
  1351. package/dist/compiled/inquirer/rxjs/internal/util/lift.d.ts +0 -15
  1352. package/dist/compiled/inquirer/rxjs/internal/util/mapOneOrManyArgs.d.ts +0 -7
  1353. package/dist/compiled/inquirer/rxjs/internal/util/noop.d.ts +0 -2
  1354. package/dist/compiled/inquirer/rxjs/internal/util/not.d.ts +0 -2
  1355. package/dist/compiled/inquirer/rxjs/internal/util/pipe.d.ts +0 -14
  1356. package/dist/compiled/inquirer/rxjs/internal/util/reportUnhandledError.d.ts +0 -11
  1357. package/dist/compiled/inquirer/rxjs/internal/util/subscribeToArray.d.ts +0 -7
  1358. package/dist/compiled/inquirer/rxjs/internal/util/throwUnobservableError.d.ts +0 -6
  1359. package/dist/compiled/inquirer/rxjs/internal/util/workarounds.d.ts +0 -2
  1360. package/dist/compiled/inquirer/rxjs/operators/index.d.ts +0 -114
  1361. package/dist/compiled/inquirer/rxjs/testing/index.d.ts +0 -2
  1362. package/dist/compiled/inquirer/rxjs/webSocket/index.d.ts +0 -3
  1363. package/dist/compiled/inquirer/through/index.d.ts +0 -25
  1364. package/dist/compiled/json5/lib/index.d.ts +0 -4
  1365. package/dist/compiled/json5/lib/parse.d.ts +0 -15
  1366. package/dist/compiled/json5/lib/stringify.d.ts +0 -89
  1367. package/dist/compiled/nanoid/license +0 -20
  1368. package/dist/compiled/ora/cli-spinners/index.d.ts +0 -125
  1369. package/dist/compiled/ora/index.js.LICENSE.txt +0 -1
  1370. package/dist/compiled/tsconfig-paths/lib/config-loader.d.ts +0 -33
  1371. package/dist/compiled/tsconfig-paths/lib/filesystem.d.ts +0 -34
  1372. package/dist/compiled/tsconfig-paths/lib/index.d.ts +0 -5
  1373. package/dist/compiled/tsconfig-paths/lib/mapping-entry.d.ts +0 -18
  1374. package/dist/compiled/tsconfig-paths/lib/match-path-async.d.ts +0 -21
  1375. package/dist/compiled/tsconfig-paths/lib/match-path-sync.d.ts +0 -32
  1376. package/dist/compiled/tsconfig-paths/lib/register.d.ts +0 -12
  1377. package/dist/compiled/tsconfig-paths/lib/try-path.d.ts +0 -15
  1378. package/dist/compiled/tsconfig-paths/lib/tsconfig-loader.d.ts +0 -28
  1379. package/dist/compiled/upath/license +0 -22
  1380. package/dist/compiled/upath/upath.d.ts +0 -241
  1381. package/dist/compiled/webpack-chain/index.js +0 -1475
  1382. package/dist/compiled/webpack-chain/license +0 -373
  1383. package/dist/compiled/webpack-chain/package.json +0 -1
  1384. package/dist/compiled/webpack-chain/types/index.d.ts +0 -599
  1385. package/dist/esm/rslib-runtime~1.mjs +0 -12
  1386. /package/dist/compiled/commander/{license → LICENSE} +0 -0
  1387. /package/dist/compiled/debug/{license → LICENSE} +0 -0
  1388. /package/dist/compiled/{inquirer/types-license → debug/declaration-licenses/@types_debug/LICENSE} +0 -0
  1389. /package/dist/compiled/dotenv-expand/{license → LICENSE} +0 -0
  1390. /package/dist/compiled/js-yaml/{license → LICENSE} +0 -0
  1391. /package/dist/compiled/lodash/{license → LICENSE} +0 -0
  1392. /package/dist/compiled/mime-types/{license → LICENSE} +0 -0
  1393. /package/dist/compiled/minimist/{license → LICENSE} +0 -0
  1394. /package/dist/compiled/semver/{license → LICENSE} +0 -0
  1395. /package/dist/compiled/tsconfig-paths/{license → LICENSE} +0 -0
  1396. /package/dist/compiled/url-join/{license → LICENSE} +0 -0
@@ -1,2 +1,1778 @@
1
- import commander from './index.js';
2
- export const { Command, program } = commander;
1
+ import { createRequire } from 'node:module';
2
+ const require = createRequire(import.meta.url);
3
+ var t = {};
4
+ (()=>{
5
+ t.d = (e, i)=>{
6
+ for(var n in i)if (t.o(i, n) && !t.o(e, n)) Object.defineProperty(e, n, {
7
+ enumerable: true,
8
+ get: i[n]
9
+ });
10
+ };
11
+ })();
12
+ (()=>{
13
+ t.o = (t, e)=>Object.prototype.hasOwnProperty.call(t, e);
14
+ })();
15
+ var e = {};
16
+ t.d(e, {
17
+ ef: ()=>Argument,
18
+ uB: ()=>Command,
19
+ b7: ()=>CommanderError,
20
+ _V: ()=>Help,
21
+ Di: ()=>InvalidArgumentError,
22
+ a2: ()=>InvalidArgumentError,
23
+ c$: ()=>Option,
24
+ er: ()=>createArgument,
25
+ gu: ()=>createCommand,
26
+ Ww: ()=>createOption,
27
+ DM: ()=>l
28
+ });
29
+ class CommanderError extends Error {
30
+ constructor(t, e, i){
31
+ super(i);
32
+ Error.captureStackTrace(this, this.constructor);
33
+ this.name = this.constructor.name;
34
+ this.code = e;
35
+ this.exitCode = t;
36
+ this.nestedError = void 0;
37
+ }
38
+ }
39
+ class InvalidArgumentError extends CommanderError {
40
+ constructor(t){
41
+ super(1, "commander.invalidArgument", t);
42
+ Error.captureStackTrace(this, this.constructor);
43
+ this.name = this.constructor.name;
44
+ }
45
+ }
46
+ class Argument {
47
+ constructor(t, e){
48
+ this.description = e || "";
49
+ this.variadic = false;
50
+ this.parseArg = void 0;
51
+ this.defaultValue = void 0;
52
+ this.defaultValueDescription = void 0;
53
+ this.argChoices = void 0;
54
+ switch(t[0]){
55
+ case "<":
56
+ this.required = true;
57
+ this._name = t.slice(1, -1);
58
+ break;
59
+ case "[":
60
+ this.required = false;
61
+ this._name = t.slice(1, -1);
62
+ break;
63
+ default:
64
+ this.required = true;
65
+ this._name = t;
66
+ break;
67
+ }
68
+ if (this._name.endsWith("...")) {
69
+ this.variadic = true;
70
+ this._name = this._name.slice(0, -3);
71
+ }
72
+ }
73
+ name() {
74
+ return this._name;
75
+ }
76
+ _collectValue(t, e) {
77
+ if (e === this.defaultValue || !Array.isArray(e)) return [
78
+ t
79
+ ];
80
+ e.push(t);
81
+ return e;
82
+ }
83
+ default(t, e) {
84
+ this.defaultValue = t;
85
+ this.defaultValueDescription = e;
86
+ return this;
87
+ }
88
+ argParser(t) {
89
+ this.parseArg = t;
90
+ return this;
91
+ }
92
+ choices(t) {
93
+ this.argChoices = t.slice();
94
+ this.parseArg = (t, e)=>{
95
+ if (!this.argChoices.includes(t)) throw new InvalidArgumentError(`Allowed choices are ${this.argChoices.join(", ")}.`);
96
+ if (this.variadic) return this._collectValue(t, e);
97
+ return t;
98
+ };
99
+ return this;
100
+ }
101
+ argRequired() {
102
+ this.required = true;
103
+ return this;
104
+ }
105
+ argOptional() {
106
+ this.required = false;
107
+ return this;
108
+ }
109
+ }
110
+ function humanReadableArgName(t) {
111
+ const e = t.name() + (true === t.variadic ? "..." : "");
112
+ return t.required ? "<" + e + ">" : "[" + e + "]";
113
+ }
114
+ const i = require("node:events");
115
+ const n = require("node:child_process");
116
+ const s = require("node:path");
117
+ const r = require("node:fs");
118
+ const o = require("node:process");
119
+ const a = require("node:util");
120
+ class Help {
121
+ constructor(){
122
+ this.helpWidth = void 0;
123
+ this.minWidthToWrap = 40;
124
+ this.sortSubcommands = false;
125
+ this.sortOptions = false;
126
+ this.showGlobalOptions = false;
127
+ }
128
+ prepareContext(t) {
129
+ this.helpWidth = this.helpWidth ?? t.helpWidth ?? 80;
130
+ }
131
+ visibleCommands(t) {
132
+ const e = t.commands.filter((t)=>!t._hidden);
133
+ const i = t._getHelpCommand();
134
+ if (i && !i._hidden) e.push(i);
135
+ if (this.sortSubcommands) e.sort((t, e)=>t.name().localeCompare(e.name()));
136
+ return e;
137
+ }
138
+ compareOptions(t, e) {
139
+ const getSortKey = (t)=>t.short ? t.short.replace(/^-/, "") : t.long.replace(/^--/, "");
140
+ return getSortKey(t).localeCompare(getSortKey(e));
141
+ }
142
+ visibleOptions(t) {
143
+ const e = t.options.filter((t)=>!t.hidden);
144
+ const i = t._getHelpOption();
145
+ if (i && !i.hidden) {
146
+ const n = i.short && t._findOption(i.short);
147
+ const s = i.long && t._findOption(i.long);
148
+ if (n || s) {
149
+ if (i.long && !s) e.push(t.createOption(i.long, i.description));
150
+ else if (i.short && !n) e.push(t.createOption(i.short, i.description));
151
+ } else e.push(i);
152
+ }
153
+ if (this.sortOptions) e.sort(this.compareOptions);
154
+ return e;
155
+ }
156
+ visibleGlobalOptions(t) {
157
+ if (!this.showGlobalOptions) return [];
158
+ const e = [];
159
+ for(let i = t.parent; i; i = i.parent){
160
+ const t = i.options.filter((t)=>!t.hidden);
161
+ e.push(...t);
162
+ }
163
+ if (this.sortOptions) e.sort(this.compareOptions);
164
+ return e;
165
+ }
166
+ visibleArguments(t) {
167
+ if (t._argsDescription) t.registeredArguments.forEach((e)=>{
168
+ e.description = e.description || t._argsDescription[e.name()] || "";
169
+ });
170
+ if (t.registeredArguments.find((t)=>t.description)) return t.registeredArguments;
171
+ return [];
172
+ }
173
+ subcommandTerm(t) {
174
+ const e = t.registeredArguments.map((t)=>humanReadableArgName(t)).join(" ");
175
+ return t._name + (t._aliases[0] ? "|" + t._aliases[0] : "") + (t.options.length ? " [options]" : "") + (e ? " " + e : "");
176
+ }
177
+ optionTerm(t) {
178
+ return t.flags;
179
+ }
180
+ argumentTerm(t) {
181
+ return t.name();
182
+ }
183
+ longestSubcommandTermLength(t, e) {
184
+ return e.visibleCommands(t).reduce((t, i)=>Math.max(t, this.displayWidth(e.styleSubcommandTerm(e.subcommandTerm(i)))), 0);
185
+ }
186
+ longestOptionTermLength(t, e) {
187
+ return e.visibleOptions(t).reduce((t, i)=>Math.max(t, this.displayWidth(e.styleOptionTerm(e.optionTerm(i)))), 0);
188
+ }
189
+ longestGlobalOptionTermLength(t, e) {
190
+ return e.visibleGlobalOptions(t).reduce((t, i)=>Math.max(t, this.displayWidth(e.styleOptionTerm(e.optionTerm(i)))), 0);
191
+ }
192
+ longestArgumentTermLength(t, e) {
193
+ return e.visibleArguments(t).reduce((t, i)=>Math.max(t, this.displayWidth(e.styleArgumentTerm(e.argumentTerm(i)))), 0);
194
+ }
195
+ commandUsage(t) {
196
+ let e = t._name;
197
+ if (t._aliases[0]) e = e + "|" + t._aliases[0];
198
+ let i = "";
199
+ for(let e = t.parent; e; e = e.parent)i = e.name() + " " + i;
200
+ return i + e + " " + t.usage();
201
+ }
202
+ commandDescription(t) {
203
+ return t.description();
204
+ }
205
+ subcommandDescription(t) {
206
+ return t.summary() || t.description();
207
+ }
208
+ optionDescription(t) {
209
+ const e = [];
210
+ if (t.argChoices) e.push(`choices: ${t.argChoices.map((t)=>JSON.stringify(t)).join(", ")}`);
211
+ if (void 0 !== t.defaultValue) {
212
+ const i = t.required || t.optional || t.isBoolean() && "boolean" == typeof t.defaultValue;
213
+ if (i) e.push(`default: ${t.defaultValueDescription || JSON.stringify(t.defaultValue)}`);
214
+ }
215
+ if (void 0 !== t.presetArg && t.optional) e.push(`preset: ${JSON.stringify(t.presetArg)}`);
216
+ if (void 0 !== t.envVar) e.push(`env: ${t.envVar}`);
217
+ if (e.length > 0) {
218
+ const i = `(${e.join(", ")})`;
219
+ if (t.description) return `${t.description} ${i}`;
220
+ return i;
221
+ }
222
+ return t.description;
223
+ }
224
+ argumentDescription(t) {
225
+ const e = [];
226
+ if (t.argChoices) e.push(`choices: ${t.argChoices.map((t)=>JSON.stringify(t)).join(", ")}`);
227
+ if (void 0 !== t.defaultValue) e.push(`default: ${t.defaultValueDescription || JSON.stringify(t.defaultValue)}`);
228
+ if (e.length > 0) {
229
+ const i = `(${e.join(", ")})`;
230
+ if (t.description) return `${t.description} ${i}`;
231
+ return i;
232
+ }
233
+ return t.description;
234
+ }
235
+ formatItemList(t, e, i) {
236
+ if (0 === e.length) return [];
237
+ return [
238
+ i.styleTitle(t),
239
+ ...e,
240
+ ""
241
+ ];
242
+ }
243
+ groupItems(t, e, i) {
244
+ const n = new Map;
245
+ t.forEach((t)=>{
246
+ const e = i(t);
247
+ if (!n.has(e)) n.set(e, []);
248
+ });
249
+ e.forEach((t)=>{
250
+ const e = i(t);
251
+ if (!n.has(e)) n.set(e, []);
252
+ n.get(e).push(t);
253
+ });
254
+ return n;
255
+ }
256
+ formatHelp(t, e) {
257
+ const i = e.padWidth(t, e);
258
+ const n = e.helpWidth ?? 80;
259
+ function callFormatItem(t, n) {
260
+ return e.formatItem(t, i, n, e);
261
+ }
262
+ let s = [
263
+ `${e.styleTitle("Usage:")} ${e.styleUsage(e.commandUsage(t))}`,
264
+ ""
265
+ ];
266
+ const r = e.commandDescription(t);
267
+ if (r.length > 0) s = s.concat([
268
+ e.boxWrap(e.styleCommandDescription(r), n),
269
+ ""
270
+ ]);
271
+ const o = e.visibleArguments(t).map((t)=>callFormatItem(e.styleArgumentTerm(e.argumentTerm(t)), e.styleArgumentDescription(e.argumentDescription(t))));
272
+ s = s.concat(this.formatItemList("Arguments:", o, e));
273
+ const a = this.groupItems(t.options, e.visibleOptions(t), (t)=>t.helpGroupHeading ?? "Options:");
274
+ a.forEach((t, i)=>{
275
+ const n = t.map((t)=>callFormatItem(e.styleOptionTerm(e.optionTerm(t)), e.styleOptionDescription(e.optionDescription(t))));
276
+ s = s.concat(this.formatItemList(i, n, e));
277
+ });
278
+ if (e.showGlobalOptions) {
279
+ const i = e.visibleGlobalOptions(t).map((t)=>callFormatItem(e.styleOptionTerm(e.optionTerm(t)), e.styleOptionDescription(e.optionDescription(t))));
280
+ s = s.concat(this.formatItemList("Global Options:", i, e));
281
+ }
282
+ const h = this.groupItems(t.commands, e.visibleCommands(t), (t)=>t.helpGroup() || "Commands:");
283
+ h.forEach((t, i)=>{
284
+ const n = t.map((t)=>callFormatItem(e.styleSubcommandTerm(e.subcommandTerm(t)), e.styleSubcommandDescription(e.subcommandDescription(t))));
285
+ s = s.concat(this.formatItemList(i, n, e));
286
+ });
287
+ return s.join("\n");
288
+ }
289
+ displayWidth(t) {
290
+ return (0, a.stripVTControlCharacters)(t).length;
291
+ }
292
+ styleTitle(t) {
293
+ return t;
294
+ }
295
+ styleUsage(t) {
296
+ return t.split(" ").map((t)=>{
297
+ if ("[options]" === t) return this.styleOptionText(t);
298
+ if ("[command]" === t) return this.styleSubcommandText(t);
299
+ if ("[" === t[0] || "<" === t[0]) return this.styleArgumentText(t);
300
+ return this.styleCommandText(t);
301
+ }).join(" ");
302
+ }
303
+ styleCommandDescription(t) {
304
+ return this.styleDescriptionText(t);
305
+ }
306
+ styleOptionDescription(t) {
307
+ return this.styleDescriptionText(t);
308
+ }
309
+ styleSubcommandDescription(t) {
310
+ return this.styleDescriptionText(t);
311
+ }
312
+ styleArgumentDescription(t) {
313
+ return this.styleDescriptionText(t);
314
+ }
315
+ styleDescriptionText(t) {
316
+ return t;
317
+ }
318
+ styleOptionTerm(t) {
319
+ return this.styleOptionText(t);
320
+ }
321
+ styleSubcommandTerm(t) {
322
+ return t.split(" ").map((t)=>{
323
+ if ("[options]" === t) return this.styleOptionText(t);
324
+ if ("[" === t[0] || "<" === t[0]) return this.styleArgumentText(t);
325
+ return this.styleSubcommandText(t);
326
+ }).join(" ");
327
+ }
328
+ styleArgumentTerm(t) {
329
+ return this.styleArgumentText(t);
330
+ }
331
+ styleOptionText(t) {
332
+ return t;
333
+ }
334
+ styleArgumentText(t) {
335
+ return t;
336
+ }
337
+ styleSubcommandText(t) {
338
+ return t;
339
+ }
340
+ styleCommandText(t) {
341
+ return t;
342
+ }
343
+ padWidth(t, e) {
344
+ return Math.max(e.longestOptionTermLength(t, e), e.longestGlobalOptionTermLength(t, e), e.longestSubcommandTermLength(t, e), e.longestArgumentTermLength(t, e));
345
+ }
346
+ preformatted(t) {
347
+ return /\n[^\S\r\n]/.test(t);
348
+ }
349
+ formatItem(t, e, i, n) {
350
+ const s = 2;
351
+ const r = " ".repeat(s);
352
+ if (!i) return r + t;
353
+ const o = t.padEnd(e + t.length - n.displayWidth(t));
354
+ const a = 2;
355
+ const h = this.helpWidth ?? 80;
356
+ const l = h - e - a - s;
357
+ let u;
358
+ if (l < this.minWidthToWrap || n.preformatted(i)) u = i;
359
+ else {
360
+ const t = n.boxWrap(i, l);
361
+ u = t.replace(/\n/g, "\n" + " ".repeat(e + a));
362
+ }
363
+ return r + o + " ".repeat(a) + u.replace(/\n/g, `\n${r}`);
364
+ }
365
+ boxWrap(t, e) {
366
+ if (e < this.minWidthToWrap) return t;
367
+ const i = t.split(/\r\n|\n/);
368
+ const n = /[\s]*[^\s]+/g;
369
+ const s = [];
370
+ i.forEach((t)=>{
371
+ const i = t.match(n);
372
+ if (null === i) return void s.push("");
373
+ let r = [
374
+ i.shift()
375
+ ];
376
+ let o = this.displayWidth(r[0]);
377
+ i.forEach((t)=>{
378
+ const i = this.displayWidth(t);
379
+ if (o + i <= e) {
380
+ r.push(t);
381
+ o += i;
382
+ return;
383
+ }
384
+ s.push(r.join(""));
385
+ const n = t.trimStart();
386
+ r = [
387
+ n
388
+ ];
389
+ o = this.displayWidth(n);
390
+ });
391
+ s.push(r.join(""));
392
+ });
393
+ return s.join("\n");
394
+ }
395
+ }
396
+ class Option {
397
+ constructor(t, e){
398
+ this.flags = t;
399
+ this.description = e || "";
400
+ this.required = t.includes("<");
401
+ this.optional = t.includes("[");
402
+ this.variadic = /\w\.\.\.[>\]]$/.test(t);
403
+ this.mandatory = false;
404
+ const i = splitOptionFlags(t);
405
+ this.short = i.shortFlag;
406
+ this.long = i.longFlag;
407
+ this.negate = false;
408
+ if (this.long) this.negate = this.long.startsWith("--no-");
409
+ this.defaultValue = void 0;
410
+ this.defaultValueDescription = void 0;
411
+ this.presetArg = void 0;
412
+ this.envVar = void 0;
413
+ this.parseArg = void 0;
414
+ this.hidden = false;
415
+ this.argChoices = void 0;
416
+ this.conflictsWith = [];
417
+ this.implied = void 0;
418
+ this.helpGroupHeading = void 0;
419
+ }
420
+ default(t, e) {
421
+ this.defaultValue = t;
422
+ this.defaultValueDescription = e;
423
+ return this;
424
+ }
425
+ preset(t) {
426
+ this.presetArg = t;
427
+ return this;
428
+ }
429
+ conflicts(t) {
430
+ this.conflictsWith = this.conflictsWith.concat(t);
431
+ return this;
432
+ }
433
+ implies(t) {
434
+ let e = t;
435
+ if ("string" == typeof t) e = {
436
+ [t]: true
437
+ };
438
+ this.implied = Object.assign(this.implied || {}, e);
439
+ return this;
440
+ }
441
+ env(t) {
442
+ this.envVar = t;
443
+ return this;
444
+ }
445
+ argParser(t) {
446
+ this.parseArg = t;
447
+ return this;
448
+ }
449
+ makeOptionMandatory(t = true) {
450
+ this.mandatory = !!t;
451
+ return this;
452
+ }
453
+ hideHelp(t = true) {
454
+ this.hidden = !!t;
455
+ return this;
456
+ }
457
+ _collectValue(t, e) {
458
+ if (e === this.defaultValue || !Array.isArray(e)) return [
459
+ t
460
+ ];
461
+ e.push(t);
462
+ return e;
463
+ }
464
+ choices(t) {
465
+ this.argChoices = t.slice();
466
+ this.parseArg = (t, e)=>{
467
+ if (!this.argChoices.includes(t)) throw new InvalidArgumentError(`Allowed choices are ${this.argChoices.join(", ")}.`);
468
+ if (this.variadic) return this._collectValue(t, e);
469
+ return t;
470
+ };
471
+ return this;
472
+ }
473
+ name() {
474
+ if (this.long) return this.long.replace(/^--/, "");
475
+ return this.short.replace(/^-/, "");
476
+ }
477
+ attributeName() {
478
+ if (this.negate) return camelcase(this.name().replace(/^no-/, ""));
479
+ return camelcase(this.name());
480
+ }
481
+ helpGroup(t) {
482
+ this.helpGroupHeading = t;
483
+ return this;
484
+ }
485
+ is(t) {
486
+ return this.short === t || this.long === t;
487
+ }
488
+ isBoolean() {
489
+ return !this.required && !this.optional && !this.negate;
490
+ }
491
+ }
492
+ class DualOptions {
493
+ constructor(t){
494
+ this.positiveOptions = new Map;
495
+ this.negativeOptions = new Map;
496
+ this.dualOptions = new Set;
497
+ t.forEach((t)=>{
498
+ if (t.negate) this.negativeOptions.set(t.attributeName(), t);
499
+ else this.positiveOptions.set(t.attributeName(), t);
500
+ });
501
+ this.negativeOptions.forEach((t, e)=>{
502
+ if (this.positiveOptions.has(e)) this.dualOptions.add(e);
503
+ });
504
+ }
505
+ valueFromOption(t, e) {
506
+ const i = e.attributeName();
507
+ if (!this.dualOptions.has(i)) return true;
508
+ const n = this.negativeOptions.get(i).presetArg;
509
+ const s = void 0 !== n ? n : false;
510
+ return e.negate === (s === t);
511
+ }
512
+ }
513
+ function camelcase(t) {
514
+ return t.split("-").reduce((t, e)=>t + e[0].toUpperCase() + e.slice(1));
515
+ }
516
+ function splitOptionFlags(t) {
517
+ let e;
518
+ let i;
519
+ const n = /^-[^-]$/;
520
+ const s = /^--[^-]/;
521
+ const r = t.split(/[ |,]+/).concat("guard");
522
+ if (n.test(r[0])) e = r.shift();
523
+ if (s.test(r[0])) i = r.shift();
524
+ if (!e && n.test(r[0])) e = r.shift();
525
+ if (!e && s.test(r[0])) {
526
+ e = i;
527
+ i = r.shift();
528
+ }
529
+ if (r[0].startsWith("-")) {
530
+ const e = r[0];
531
+ const i = `option creation failed due to '${e}' in option flags '${t}'`;
532
+ if (/^-[^-][^-]/.test(e)) throw new Error(`${i}\n- a short flag is a single dash and a single character\n - either use a single dash and a single character (for a short flag)\n - or use a double dash for a long option (and can have two, like '--ws, --workspace')`);
533
+ if (n.test(e)) throw new Error(`${i}\n- too many short flags`);
534
+ if (s.test(e)) throw new Error(`${i}\n- too many long flags`);
535
+ throw new Error(`${i}\n- unrecognised flag format`);
536
+ }
537
+ if (void 0 === e && void 0 === i) throw new Error(`option creation failed due to no flags found in '${t}'.`);
538
+ return {
539
+ shortFlag: e,
540
+ longFlag: i
541
+ };
542
+ }
543
+ const h = 3;
544
+ function editDistance(t, e) {
545
+ if (Math.abs(t.length - e.length) > h) return Math.max(t.length, e.length);
546
+ const i = [];
547
+ for(let e = 0; e <= t.length; e++)i[e] = [
548
+ e
549
+ ];
550
+ for(let t = 0; t <= e.length; t++)i[0][t] = t;
551
+ for(let n = 1; n <= e.length; n++)for(let s = 1; s <= t.length; s++){
552
+ let r;
553
+ r = t[s - 1] === e[n - 1] ? 0 : 1;
554
+ i[s][n] = Math.min(i[s - 1][n] + 1, i[s][n - 1] + 1, i[s - 1][n - 1] + r);
555
+ if (s > 1 && n > 1 && t[s - 1] === e[n - 2] && t[s - 2] === e[n - 1]) i[s][n] = Math.min(i[s][n], i[s - 2][n - 2] + 1);
556
+ }
557
+ return i[t.length][e.length];
558
+ }
559
+ function suggestSimilar(t, e) {
560
+ if (!e || 0 === e.length) return "";
561
+ e = Array.from(new Set(e));
562
+ const i = t.startsWith("--");
563
+ if (i) {
564
+ t = t.slice(2);
565
+ e = e.map((t)=>t.slice(2));
566
+ }
567
+ let n = [];
568
+ let s = h;
569
+ const r = .4;
570
+ e.forEach((e)=>{
571
+ if (e.length <= 1) return;
572
+ const i = editDistance(t, e);
573
+ const o = Math.max(t.length, e.length);
574
+ const a = (o - i) / o;
575
+ if (a > r) {
576
+ if (i < s) {
577
+ s = i;
578
+ n = [
579
+ e
580
+ ];
581
+ } else if (i === s) n.push(e);
582
+ }
583
+ });
584
+ n.sort((t, e)=>t.localeCompare(e));
585
+ if (i) n = n.map((t)=>`--${t}`);
586
+ if (n.length > 1) return `\n(Did you mean one of ${n.join(", ")}?)`;
587
+ if (1 === n.length) return `\n(Did you mean ${n[0]}?)`;
588
+ return "";
589
+ }
590
+ class Command extends i.EventEmitter {
591
+ constructor(t){
592
+ super();
593
+ this.commands = [];
594
+ this.options = [];
595
+ this.parent = null;
596
+ this._allowUnknownOption = false;
597
+ this._allowExcessArguments = false;
598
+ this.registeredArguments = [];
599
+ this._args = this.registeredArguments;
600
+ this.args = [];
601
+ this.rawArgs = [];
602
+ this.processedArgs = [];
603
+ this._scriptPath = null;
604
+ this._name = t || "";
605
+ this._optionValues = {};
606
+ this._optionValueSources = {};
607
+ this._storeOptionsAsProperties = false;
608
+ this._actionHandler = null;
609
+ this._executableHandler = false;
610
+ this._executableFile = null;
611
+ this._executableDir = null;
612
+ this._defaultCommandName = null;
613
+ this._exitCallback = null;
614
+ this._aliases = [];
615
+ this._combineFlagAndOptionalValue = true;
616
+ this._description = "";
617
+ this._summary = "";
618
+ this._argsDescription = void 0;
619
+ this._enablePositionalOptions = false;
620
+ this._passThroughOptions = false;
621
+ this._lifeCycleHooks = {};
622
+ this._showHelpAfterError = false;
623
+ this._showSuggestionAfterError = true;
624
+ this._savedState = null;
625
+ this._outputConfiguration = {
626
+ writeOut: (t)=>o.stdout.write(t),
627
+ writeErr: (t)=>o.stderr.write(t),
628
+ outputError: (t, e)=>e(t),
629
+ getOutHelpWidth: ()=>o.stdout.isTTY ? o.stdout.columns : void 0,
630
+ getErrHelpWidth: ()=>o.stderr.isTTY ? o.stderr.columns : void 0,
631
+ getOutHasColors: ()=>useColor() ?? (o.stdout.isTTY && o.stdout.hasColors?.()),
632
+ getErrHasColors: ()=>useColor() ?? (o.stderr.isTTY && o.stderr.hasColors?.()),
633
+ stripColor: (t)=>(0, a.stripVTControlCharacters)(t)
634
+ };
635
+ this._hidden = false;
636
+ this._helpOption = void 0;
637
+ this._addImplicitHelpCommand = void 0;
638
+ this._helpCommand = void 0;
639
+ this._helpConfiguration = {};
640
+ this._helpGroupHeading = void 0;
641
+ this._defaultCommandGroup = void 0;
642
+ this._defaultOptionGroup = void 0;
643
+ }
644
+ copyInheritedSettings(t) {
645
+ this._outputConfiguration = t._outputConfiguration;
646
+ this._helpOption = t._helpOption;
647
+ this._helpCommand = t._helpCommand;
648
+ this._helpConfiguration = t._helpConfiguration;
649
+ this._exitCallback = t._exitCallback;
650
+ this._storeOptionsAsProperties = t._storeOptionsAsProperties;
651
+ this._combineFlagAndOptionalValue = t._combineFlagAndOptionalValue;
652
+ this._allowExcessArguments = t._allowExcessArguments;
653
+ this._enablePositionalOptions = t._enablePositionalOptions;
654
+ this._showHelpAfterError = t._showHelpAfterError;
655
+ this._showSuggestionAfterError = t._showSuggestionAfterError;
656
+ return this;
657
+ }
658
+ _getCommandAndAncestors() {
659
+ const t = [];
660
+ for(let e = this; e; e = e.parent)t.push(e);
661
+ return t;
662
+ }
663
+ command(t, e, i) {
664
+ let n = e;
665
+ let s = i;
666
+ if ("object" == typeof n && null !== n) {
667
+ s = n;
668
+ n = null;
669
+ }
670
+ s = s || {};
671
+ const [, r, o] = t.match(/([^ ]+) *(.*)/);
672
+ const a = this.createCommand(r);
673
+ if (n) {
674
+ a.description(n);
675
+ a._executableHandler = true;
676
+ }
677
+ if (s.isDefault) this._defaultCommandName = a._name;
678
+ a._hidden = !!(s.noHelp || s.hidden);
679
+ a._executableFile = s.executableFile || null;
680
+ if (o) a.arguments(o);
681
+ this._registerCommand(a);
682
+ a.parent = this;
683
+ a.copyInheritedSettings(this);
684
+ if (n) return this;
685
+ return a;
686
+ }
687
+ createCommand(t) {
688
+ return new Command(t);
689
+ }
690
+ createHelp() {
691
+ return Object.assign(new Help, this.configureHelp());
692
+ }
693
+ configureHelp(t) {
694
+ if (void 0 === t) return this._helpConfiguration;
695
+ this._helpConfiguration = t;
696
+ return this;
697
+ }
698
+ configureOutput(t) {
699
+ if (void 0 === t) return this._outputConfiguration;
700
+ this._outputConfiguration = {
701
+ ...this._outputConfiguration,
702
+ ...t
703
+ };
704
+ return this;
705
+ }
706
+ showHelpAfterError(t = true) {
707
+ if ("string" != typeof t) t = !!t;
708
+ this._showHelpAfterError = t;
709
+ return this;
710
+ }
711
+ showSuggestionAfterError(t = true) {
712
+ this._showSuggestionAfterError = !!t;
713
+ return this;
714
+ }
715
+ addCommand(t, e) {
716
+ if (!t._name) throw new Error(`Command passed to .addCommand() must have a name\n- specify the name in Command constructor or using .name()`);
717
+ e = e || {};
718
+ if (e.isDefault) this._defaultCommandName = t._name;
719
+ if (e.noHelp || e.hidden) t._hidden = true;
720
+ this._registerCommand(t);
721
+ t.parent = this;
722
+ t._checkForBrokenPassThrough();
723
+ return this;
724
+ }
725
+ createArgument(t, e) {
726
+ return new Argument(t, e);
727
+ }
728
+ argument(t, e, i, n) {
729
+ const s = this.createArgument(t, e);
730
+ if ("function" == typeof i) s.default(n).argParser(i);
731
+ else s.default(i);
732
+ this.addArgument(s);
733
+ return this;
734
+ }
735
+ arguments(t) {
736
+ t.trim().split(/ +/).forEach((t)=>{
737
+ this.argument(t);
738
+ });
739
+ return this;
740
+ }
741
+ addArgument(t) {
742
+ const e = this.registeredArguments.slice(-1)[0];
743
+ if (e?.variadic) throw new Error(`only the last argument can be variadic '${e.name()}'`);
744
+ if (t.required && void 0 !== t.defaultValue && void 0 === t.parseArg) throw new Error(`a default value for a required argument is never used: '${t.name()}'`);
745
+ this.registeredArguments.push(t);
746
+ return this;
747
+ }
748
+ helpCommand(t, e) {
749
+ if ("boolean" == typeof t) {
750
+ this._addImplicitHelpCommand = t;
751
+ if (t && this._defaultCommandGroup) this._initCommandGroup(this._getHelpCommand());
752
+ return this;
753
+ }
754
+ const i = t ?? "help [command]";
755
+ const [, n, s] = i.match(/([^ ]+) *(.*)/);
756
+ const r = e ?? "display help for command";
757
+ const o = this.createCommand(n);
758
+ o.helpOption(false);
759
+ if (s) o.arguments(s);
760
+ if (r) o.description(r);
761
+ this._addImplicitHelpCommand = true;
762
+ this._helpCommand = o;
763
+ if (t || e) this._initCommandGroup(o);
764
+ return this;
765
+ }
766
+ addHelpCommand(t, e) {
767
+ if ("object" != typeof t) {
768
+ this.helpCommand(t, e);
769
+ return this;
770
+ }
771
+ this._addImplicitHelpCommand = true;
772
+ this._helpCommand = t;
773
+ this._initCommandGroup(t);
774
+ return this;
775
+ }
776
+ _getHelpCommand() {
777
+ const t = this._addImplicitHelpCommand ?? (this.commands.length && !this._actionHandler && !this._findCommand("help"));
778
+ if (t) {
779
+ if (void 0 === this._helpCommand) this.helpCommand(void 0, void 0);
780
+ return this._helpCommand;
781
+ }
782
+ return null;
783
+ }
784
+ hook(t, e) {
785
+ const i = [
786
+ "preSubcommand",
787
+ "preAction",
788
+ "postAction"
789
+ ];
790
+ if (!i.includes(t)) throw new Error(`Unexpected value for event passed to hook : '${t}'.\nExpecting one of '${i.join("', '")}'`);
791
+ if (this._lifeCycleHooks[t]) this._lifeCycleHooks[t].push(e);
792
+ else this._lifeCycleHooks[t] = [
793
+ e
794
+ ];
795
+ return this;
796
+ }
797
+ exitOverride(t) {
798
+ if (t) this._exitCallback = t;
799
+ else this._exitCallback = (t)=>{
800
+ if ("commander.executeSubCommandAsync" !== t.code) throw t;
801
+ };
802
+ return this;
803
+ }
804
+ _exit(t, e, i) {
805
+ if (this._exitCallback) this._exitCallback(new CommanderError(t, e, i));
806
+ o.exit(t);
807
+ }
808
+ action(t) {
809
+ const listener = (e)=>{
810
+ const i = this.registeredArguments.length;
811
+ const n = e.slice(0, i);
812
+ if (this._storeOptionsAsProperties) n[i] = this;
813
+ else n[i] = this.opts();
814
+ n.push(this);
815
+ return t.apply(this, n);
816
+ };
817
+ this._actionHandler = listener;
818
+ return this;
819
+ }
820
+ createOption(t, e) {
821
+ return new Option(t, e);
822
+ }
823
+ _callParseArg(t, e, i, n) {
824
+ try {
825
+ return t.parseArg(e, i);
826
+ } catch (t) {
827
+ if ("commander.invalidArgument" === t.code) {
828
+ const e = `${n} ${t.message}`;
829
+ this.error(e, {
830
+ exitCode: t.exitCode,
831
+ code: t.code
832
+ });
833
+ }
834
+ throw t;
835
+ }
836
+ }
837
+ _registerOption(t) {
838
+ const e = t.short && this._findOption(t.short) || t.long && this._findOption(t.long);
839
+ if (e) {
840
+ const i = t.long && this._findOption(t.long) ? t.long : t.short;
841
+ throw new Error(`Cannot add option '${t.flags}'${this._name && ` to command '${this._name}'`} due to conflicting flag '${i}'\n- already used by option '${e.flags}'`);
842
+ }
843
+ this._initOptionGroup(t);
844
+ this.options.push(t);
845
+ }
846
+ _registerCommand(t) {
847
+ const knownBy = (t)=>[
848
+ t.name()
849
+ ].concat(t.aliases());
850
+ const e = knownBy(t).find((t)=>this._findCommand(t));
851
+ if (e) {
852
+ const i = knownBy(this._findCommand(e)).join("|");
853
+ const n = knownBy(t).join("|");
854
+ throw new Error(`cannot add command '${n}' as already have command '${i}'`);
855
+ }
856
+ this._initCommandGroup(t);
857
+ this.commands.push(t);
858
+ }
859
+ addOption(t) {
860
+ this._registerOption(t);
861
+ const e = t.name();
862
+ const i = t.attributeName();
863
+ if (void 0 !== t.defaultValue) this.setOptionValueWithSource(i, t.defaultValue, "default");
864
+ const handleOptionValue = (e, n, s)=>{
865
+ if (null == e && void 0 !== t.presetArg) e = t.presetArg;
866
+ const r = this.getOptionValue(i);
867
+ if (null !== e && t.parseArg) e = this._callParseArg(t, e, r, n);
868
+ else if (null !== e && t.variadic) e = t._collectValue(e, r);
869
+ if (null == e) e = t.negate ? false : t.isBoolean() || t.optional ? true : "";
870
+ this.setOptionValueWithSource(i, e, s);
871
+ };
872
+ this.on("option:" + e, (e)=>{
873
+ const i = `error: option '${t.flags}' argument '${e}' is invalid.`;
874
+ handleOptionValue(e, i, "cli");
875
+ });
876
+ if (t.envVar) this.on("optionEnv:" + e, (e)=>{
877
+ const i = `error: option '${t.flags}' value '${e}' from env '${t.envVar}' is invalid.`;
878
+ handleOptionValue(e, i, "env");
879
+ });
880
+ return this;
881
+ }
882
+ _optionEx(t, e, i, n, s) {
883
+ if ("object" == typeof e && e instanceof Option) throw new Error("To add an Option object use addOption() instead of option() or requiredOption()");
884
+ const r = this.createOption(e, i);
885
+ r.makeOptionMandatory(!!t.mandatory);
886
+ if ("function" == typeof n) r.default(s).argParser(n);
887
+ else if (n instanceof RegExp) {
888
+ const t = n;
889
+ n = (e, i)=>{
890
+ const n = t.exec(e);
891
+ return n ? n[0] : i;
892
+ };
893
+ r.default(s).argParser(n);
894
+ } else r.default(n);
895
+ return this.addOption(r);
896
+ }
897
+ option(t, e, i, n) {
898
+ return this._optionEx({}, t, e, i, n);
899
+ }
900
+ requiredOption(t, e, i, n) {
901
+ return this._optionEx({
902
+ mandatory: true
903
+ }, t, e, i, n);
904
+ }
905
+ combineFlagAndOptionalValue(t = true) {
906
+ this._combineFlagAndOptionalValue = !!t;
907
+ return this;
908
+ }
909
+ allowUnknownOption(t = true) {
910
+ this._allowUnknownOption = !!t;
911
+ return this;
912
+ }
913
+ allowExcessArguments(t = true) {
914
+ this._allowExcessArguments = !!t;
915
+ return this;
916
+ }
917
+ enablePositionalOptions(t = true) {
918
+ this._enablePositionalOptions = !!t;
919
+ return this;
920
+ }
921
+ passThroughOptions(t = true) {
922
+ this._passThroughOptions = !!t;
923
+ this._checkForBrokenPassThrough();
924
+ return this;
925
+ }
926
+ _checkForBrokenPassThrough() {
927
+ if (this.parent && this._passThroughOptions && !this.parent._enablePositionalOptions) throw new Error(`passThroughOptions cannot be used for '${this._name}' without turning on enablePositionalOptions for parent command(s)`);
928
+ }
929
+ storeOptionsAsProperties(t = true) {
930
+ if (this.options.length) throw new Error("call .storeOptionsAsProperties() before adding options");
931
+ if (Object.keys(this._optionValues).length) throw new Error("call .storeOptionsAsProperties() before setting option values");
932
+ this._storeOptionsAsProperties = !!t;
933
+ return this;
934
+ }
935
+ getOptionValue(t) {
936
+ if (this._storeOptionsAsProperties) return this[t];
937
+ return this._optionValues[t];
938
+ }
939
+ setOptionValue(t, e) {
940
+ return this.setOptionValueWithSource(t, e, void 0);
941
+ }
942
+ setOptionValueWithSource(t, e, i) {
943
+ if (this._storeOptionsAsProperties) this[t] = e;
944
+ else this._optionValues[t] = e;
945
+ this._optionValueSources[t] = i;
946
+ return this;
947
+ }
948
+ getOptionValueSource(t) {
949
+ return this._optionValueSources[t];
950
+ }
951
+ getOptionValueSourceWithGlobals(t) {
952
+ let e;
953
+ this._getCommandAndAncestors().forEach((i)=>{
954
+ if (void 0 !== i.getOptionValueSource(t)) e = i.getOptionValueSource(t);
955
+ });
956
+ return e;
957
+ }
958
+ _prepareUserArgs(t, e) {
959
+ if (void 0 !== t && !Array.isArray(t)) throw new Error("first parameter to parse must be array or undefined");
960
+ e = e || {};
961
+ if (void 0 === t && void 0 === e.from) {
962
+ if (o.versions?.electron) e.from = "electron";
963
+ const t = o.execArgv ?? [];
964
+ if (t.includes("-e") || t.includes("--eval") || t.includes("-p") || t.includes("--print")) e.from = "eval";
965
+ }
966
+ if (void 0 === t) t = o.argv;
967
+ this.rawArgs = t.slice();
968
+ let i;
969
+ switch(e.from){
970
+ case void 0:
971
+ case "node":
972
+ this._scriptPath = t[1];
973
+ i = t.slice(2);
974
+ break;
975
+ case "electron":
976
+ if (o.defaultApp) {
977
+ this._scriptPath = t[1];
978
+ i = t.slice(2);
979
+ } else i = t.slice(1);
980
+ break;
981
+ case "user":
982
+ i = t.slice(0);
983
+ break;
984
+ case "eval":
985
+ i = t.slice(1);
986
+ break;
987
+ default:
988
+ throw new Error(`unexpected parse option { from: '${e.from}' }`);
989
+ }
990
+ if (!this._name && this._scriptPath) this.nameFromFilename(this._scriptPath);
991
+ this._name = this._name || "program";
992
+ return i;
993
+ }
994
+ parse(t, e) {
995
+ this._prepareForParse();
996
+ const i = this._prepareUserArgs(t, e);
997
+ this._parseCommand([], i);
998
+ return this;
999
+ }
1000
+ async parseAsync(t, e) {
1001
+ this._prepareForParse();
1002
+ const i = this._prepareUserArgs(t, e);
1003
+ await this._parseCommand([], i);
1004
+ return this;
1005
+ }
1006
+ _prepareForParse() {
1007
+ if (null === this._savedState) {
1008
+ this.options.filter((t)=>t.negate && void 0 === t.defaultValue && void 0 === this.getOptionValue(t.attributeName())).forEach((t)=>{
1009
+ const e = t.long.replace(/^--no-/, "--");
1010
+ if (!this._findOption(e)) this.setOptionValueWithSource(t.attributeName(), true, "default");
1011
+ });
1012
+ this.saveStateBeforeParse();
1013
+ } else this.restoreStateBeforeParse();
1014
+ }
1015
+ saveStateBeforeParse() {
1016
+ this._savedState = {
1017
+ _name: this._name,
1018
+ _optionValues: {
1019
+ ...this._optionValues
1020
+ },
1021
+ _optionValueSources: {
1022
+ ...this._optionValueSources
1023
+ }
1024
+ };
1025
+ }
1026
+ restoreStateBeforeParse() {
1027
+ if (this._storeOptionsAsProperties) throw new Error(`Can not call parse again when storeOptionsAsProperties is true.\n- either make a new Command for each call to parse, or stop storing options as properties`);
1028
+ this._name = this._savedState._name;
1029
+ this._scriptPath = null;
1030
+ this.rawArgs = [];
1031
+ this._optionValues = {
1032
+ ...this._savedState._optionValues
1033
+ };
1034
+ this._optionValueSources = {
1035
+ ...this._savedState._optionValueSources
1036
+ };
1037
+ this.args = [];
1038
+ this.processedArgs = [];
1039
+ }
1040
+ _checkForMissingExecutable(t, e, i) {
1041
+ if (r.existsSync(t)) return;
1042
+ const n = e ? `searched for local subcommand relative to directory '${e}'` : "no directory for search for local subcommand, use .executableDir() to supply a custom directory";
1043
+ const s = `'${t}' does not exist\n - if '${i}' is not meant to be an executable command, remove description parameter from '.command()' and use '.description()' instead\n - if the default executable name is not suitable, use the executableFile option to supply a custom name or path\n - ${n}`;
1044
+ throw new Error(s);
1045
+ }
1046
+ _executeSubCommand(t, e) {
1047
+ e = e.slice();
1048
+ const i = [
1049
+ ".js",
1050
+ ".ts",
1051
+ ".tsx",
1052
+ ".mjs",
1053
+ ".cjs"
1054
+ ];
1055
+ function findFile(t, e) {
1056
+ const n = s.resolve(t, e);
1057
+ if (r.existsSync(n)) return n;
1058
+ if (i.includes(s.extname(e))) return;
1059
+ const o = i.find((t)=>r.existsSync(`${n}${t}`));
1060
+ if (o) return `${n}${o}`;
1061
+ }
1062
+ this._checkForMissingMandatoryOptions();
1063
+ this._checkForConflictingOptions();
1064
+ let a = t._executableFile || `${this._name}-${t._name}`;
1065
+ let h = this._executableDir || "";
1066
+ if (this._scriptPath) {
1067
+ let t;
1068
+ try {
1069
+ t = r.realpathSync(this._scriptPath);
1070
+ } catch {
1071
+ t = this._scriptPath;
1072
+ }
1073
+ h = s.resolve(s.dirname(t), h);
1074
+ }
1075
+ if (h) {
1076
+ let e = findFile(h, a);
1077
+ if (!e && !t._executableFile && this._scriptPath) {
1078
+ const i = s.basename(this._scriptPath, s.extname(this._scriptPath));
1079
+ if (i !== this._name) e = findFile(h, `${i}-${t._name}`);
1080
+ }
1081
+ a = e || a;
1082
+ }
1083
+ const l = i.includes(s.extname(a));
1084
+ let u;
1085
+ if ("win32" !== o.platform) if (l) {
1086
+ e.unshift(a);
1087
+ e = incrementNodeInspectorPort(o.execArgv).concat(e);
1088
+ u = n.spawn(o.argv[0], e, {
1089
+ stdio: "inherit"
1090
+ });
1091
+ } else u = n.spawn(a, e, {
1092
+ stdio: "inherit"
1093
+ });
1094
+ else {
1095
+ this._checkForMissingExecutable(a, h, t._name);
1096
+ e.unshift(a);
1097
+ e = incrementNodeInspectorPort(o.execArgv).concat(e);
1098
+ u = n.spawn(o.execPath, e, {
1099
+ stdio: "inherit"
1100
+ });
1101
+ }
1102
+ if (!u.killed) {
1103
+ const t = [
1104
+ "SIGUSR1",
1105
+ "SIGUSR2",
1106
+ "SIGTERM",
1107
+ "SIGINT",
1108
+ "SIGHUP"
1109
+ ];
1110
+ t.forEach((t)=>{
1111
+ o.on(t, ()=>{
1112
+ if (false === u.killed && null === u.exitCode) u.kill(t);
1113
+ });
1114
+ });
1115
+ }
1116
+ const c = this._exitCallback;
1117
+ u.on("close", (t)=>{
1118
+ t = t ?? 1;
1119
+ if (c) c(new CommanderError(t, "commander.executeSubCommandAsync", "(close)"));
1120
+ else o.exit(t);
1121
+ });
1122
+ u.on("error", (e)=>{
1123
+ if ("ENOENT" === e.code) this._checkForMissingExecutable(a, h, t._name);
1124
+ else if ("EACCES" === e.code) throw new Error(`'${a}' not executable`);
1125
+ if (c) {
1126
+ const t = new CommanderError(1, "commander.executeSubCommandAsync", "(error)");
1127
+ t.nestedError = e;
1128
+ c(t);
1129
+ } else o.exit(1);
1130
+ });
1131
+ this.runningCommand = u;
1132
+ }
1133
+ _dispatchSubcommand(t, e, i) {
1134
+ const n = this._findCommand(t);
1135
+ if (!n) this.help({
1136
+ error: true
1137
+ });
1138
+ n._prepareForParse();
1139
+ let s;
1140
+ s = this._chainOrCallSubCommandHook(s, n, "preSubcommand");
1141
+ s = this._chainOrCall(s, ()=>{
1142
+ if (!n._executableHandler) return n._parseCommand(e, i);
1143
+ else this._executeSubCommand(n, e.concat(i));
1144
+ });
1145
+ return s;
1146
+ }
1147
+ _dispatchHelpCommand(t) {
1148
+ if (!t) this.help();
1149
+ const e = this._findCommand(t);
1150
+ if (e && !e._executableHandler) e.help();
1151
+ return this._dispatchSubcommand(t, [], [
1152
+ this._getHelpOption()?.long ?? this._getHelpOption()?.short ?? "--help"
1153
+ ]);
1154
+ }
1155
+ _checkNumberOfArguments() {
1156
+ this.registeredArguments.forEach((t, e)=>{
1157
+ if (t.required && null == this.args[e]) this.missingArgument(t.name());
1158
+ });
1159
+ if (this.registeredArguments.length > 0 && this.registeredArguments[this.registeredArguments.length - 1].variadic) return;
1160
+ if (this.args.length > this.registeredArguments.length) this._excessArguments(this.args);
1161
+ }
1162
+ _processArguments() {
1163
+ const myParseArg = (t, e, i)=>{
1164
+ let n = e;
1165
+ if (null !== e && t.parseArg) {
1166
+ const s = `error: command-argument value '${e}' is invalid for argument '${t.name()}'.`;
1167
+ n = this._callParseArg(t, e, i, s);
1168
+ }
1169
+ return n;
1170
+ };
1171
+ this._checkNumberOfArguments();
1172
+ const t = [];
1173
+ this.registeredArguments.forEach((e, i)=>{
1174
+ let n = e.defaultValue;
1175
+ if (e.variadic) {
1176
+ if (i < this.args.length) {
1177
+ n = this.args.slice(i);
1178
+ if (e.parseArg) n = n.reduce((t, i)=>myParseArg(e, i, t), e.defaultValue);
1179
+ } else if (void 0 === n) n = [];
1180
+ } else if (i < this.args.length) {
1181
+ n = this.args[i];
1182
+ if (e.parseArg) n = myParseArg(e, n, e.defaultValue);
1183
+ }
1184
+ t[i] = n;
1185
+ });
1186
+ this.processedArgs = t;
1187
+ }
1188
+ _chainOrCall(t, e) {
1189
+ if (t?.then && "function" == typeof t.then) return t.then(()=>e());
1190
+ return e();
1191
+ }
1192
+ _chainOrCallHooks(t, e) {
1193
+ let i = t;
1194
+ const n = [];
1195
+ this._getCommandAndAncestors().reverse().filter((t)=>void 0 !== t._lifeCycleHooks[e]).forEach((t)=>{
1196
+ t._lifeCycleHooks[e].forEach((e)=>{
1197
+ n.push({
1198
+ hookedCommand: t,
1199
+ callback: e
1200
+ });
1201
+ });
1202
+ });
1203
+ if ("postAction" === e) n.reverse();
1204
+ n.forEach((t)=>{
1205
+ i = this._chainOrCall(i, ()=>t.callback(t.hookedCommand, this));
1206
+ });
1207
+ return i;
1208
+ }
1209
+ _chainOrCallSubCommandHook(t, e, i) {
1210
+ let n = t;
1211
+ if (void 0 !== this._lifeCycleHooks[i]) this._lifeCycleHooks[i].forEach((t)=>{
1212
+ n = this._chainOrCall(n, ()=>t(this, e));
1213
+ });
1214
+ return n;
1215
+ }
1216
+ _parseCommand(t, e) {
1217
+ const i = this.parseOptions(e);
1218
+ this._parseOptionsEnv();
1219
+ this._parseOptionsImplied();
1220
+ t = t.concat(i.operands);
1221
+ e = i.unknown;
1222
+ this.args = t.concat(e);
1223
+ if (t && this._findCommand(t[0])) return this._dispatchSubcommand(t[0], t.slice(1), e);
1224
+ if (this._getHelpCommand() && t[0] === this._getHelpCommand().name()) return this._dispatchHelpCommand(t[1]);
1225
+ if (this._defaultCommandName) {
1226
+ this._outputHelpIfRequested(e);
1227
+ return this._dispatchSubcommand(this._defaultCommandName, t, e);
1228
+ }
1229
+ if (this.commands.length && 0 === this.args.length && !this._actionHandler && !this._defaultCommandName) this.help({
1230
+ error: true
1231
+ });
1232
+ this._outputHelpIfRequested(i.unknown);
1233
+ this._checkForMissingMandatoryOptions();
1234
+ this._checkForConflictingOptions();
1235
+ const checkForUnknownOptions = ()=>{
1236
+ if (i.unknown.length > 0) this.unknownOption(i.unknown[0]);
1237
+ };
1238
+ const n = `command:${this.name()}`;
1239
+ if (this._actionHandler) {
1240
+ checkForUnknownOptions();
1241
+ this._processArguments();
1242
+ let i;
1243
+ i = this._chainOrCallHooks(i, "preAction");
1244
+ i = this._chainOrCall(i, ()=>this._actionHandler(this.processedArgs));
1245
+ if (this.parent) i = this._chainOrCall(i, ()=>{
1246
+ this.parent.emit(n, t, e);
1247
+ });
1248
+ i = this._chainOrCallHooks(i, "postAction");
1249
+ return i;
1250
+ }
1251
+ if (this.parent?.listenerCount(n)) {
1252
+ checkForUnknownOptions();
1253
+ this._processArguments();
1254
+ this.parent.emit(n, t, e);
1255
+ } else if (t.length) {
1256
+ if (this._findCommand("*")) return this._dispatchSubcommand("*", t, e);
1257
+ if (this.listenerCount("command:*")) this.emit("command:*", t, e);
1258
+ else if (this.commands.length) this.unknownCommand();
1259
+ else {
1260
+ checkForUnknownOptions();
1261
+ this._processArguments();
1262
+ }
1263
+ } else if (this.commands.length) {
1264
+ checkForUnknownOptions();
1265
+ this.help({
1266
+ error: true
1267
+ });
1268
+ } else {
1269
+ checkForUnknownOptions();
1270
+ this._processArguments();
1271
+ }
1272
+ }
1273
+ _findCommand(t) {
1274
+ if (!t) return;
1275
+ return this.commands.find((e)=>e._name === t || e._aliases.includes(t));
1276
+ }
1277
+ _findOption(t) {
1278
+ return this.options.find((e)=>e.is(t));
1279
+ }
1280
+ _checkForMissingMandatoryOptions() {
1281
+ this._getCommandAndAncestors().forEach((t)=>{
1282
+ t.options.forEach((e)=>{
1283
+ if (e.mandatory && void 0 === t.getOptionValue(e.attributeName())) t.missingMandatoryOptionValue(e);
1284
+ });
1285
+ });
1286
+ }
1287
+ _checkForConflictingLocalOptions() {
1288
+ const t = this.options.filter((t)=>{
1289
+ const e = t.attributeName();
1290
+ if (void 0 === this.getOptionValue(e)) return false;
1291
+ return "default" !== this.getOptionValueSource(e);
1292
+ });
1293
+ const e = t.filter((t)=>t.conflictsWith.length > 0);
1294
+ e.forEach((e)=>{
1295
+ const i = t.find((t)=>e.conflictsWith.includes(t.attributeName()));
1296
+ if (i) this._conflictingOption(e, i);
1297
+ });
1298
+ }
1299
+ _checkForConflictingOptions() {
1300
+ this._getCommandAndAncestors().forEach((t)=>{
1301
+ t._checkForConflictingLocalOptions();
1302
+ });
1303
+ }
1304
+ parseOptions(t) {
1305
+ const e = [];
1306
+ const i = [];
1307
+ let n = e;
1308
+ function maybeOption(t) {
1309
+ return t.length > 1 && "-" === t[0];
1310
+ }
1311
+ const negativeNumberArg = (t)=>{
1312
+ if (!/^-(\d+|\d*\.\d+)(e[+-]?\d+)?$/.test(t)) return false;
1313
+ return !this._getCommandAndAncestors().some((t)=>t.options.map((t)=>t.short).some((t)=>/^-\d$/.test(t)));
1314
+ };
1315
+ let s = null;
1316
+ let r = null;
1317
+ let o = 0;
1318
+ while(o < t.length || r){
1319
+ const a = r ?? t[o++];
1320
+ r = null;
1321
+ if ("--" === a) {
1322
+ if (n === i) n.push(a);
1323
+ n.push(...t.slice(o));
1324
+ break;
1325
+ }
1326
+ if (s && (!maybeOption(a) || negativeNumberArg(a))) {
1327
+ this.emit(`option:${s.name()}`, a);
1328
+ continue;
1329
+ }
1330
+ s = null;
1331
+ if (maybeOption(a)) {
1332
+ const e = this._findOption(a);
1333
+ if (e) {
1334
+ if (e.required) {
1335
+ const i = t[o++];
1336
+ if (void 0 === i) this.optionMissingArgument(e);
1337
+ this.emit(`option:${e.name()}`, i);
1338
+ } else if (e.optional) {
1339
+ let i = null;
1340
+ if (o < t.length && (!maybeOption(t[o]) || negativeNumberArg(t[o]))) i = t[o++];
1341
+ this.emit(`option:${e.name()}`, i);
1342
+ } else this.emit(`option:${e.name()}`);
1343
+ s = e.variadic ? e : null;
1344
+ continue;
1345
+ }
1346
+ }
1347
+ if (a.length > 2 && "-" === a[0] && "-" !== a[1]) {
1348
+ const t = this._findOption(`-${a[1]}`);
1349
+ if (t) {
1350
+ if (t.required || t.optional && this._combineFlagAndOptionalValue) this.emit(`option:${t.name()}`, a.slice(2));
1351
+ else {
1352
+ this.emit(`option:${t.name()}`);
1353
+ r = `-${a.slice(2)}`;
1354
+ }
1355
+ continue;
1356
+ }
1357
+ }
1358
+ if (/^--[^=]+=/.test(a)) {
1359
+ const t = a.indexOf("=");
1360
+ const e = this._findOption(a.slice(0, t));
1361
+ if (e && (e.required || e.optional)) {
1362
+ this.emit(`option:${e.name()}`, a.slice(t + 1));
1363
+ continue;
1364
+ }
1365
+ }
1366
+ if (n === e && maybeOption(a) && !(0 === this.commands.length && negativeNumberArg(a))) n = i;
1367
+ if ((this._enablePositionalOptions || this._passThroughOptions) && 0 === e.length && 0 === i.length) {
1368
+ if (this._findCommand(a)) {
1369
+ e.push(a);
1370
+ i.push(...t.slice(o));
1371
+ break;
1372
+ } else if (this._getHelpCommand() && a === this._getHelpCommand().name()) {
1373
+ e.push(a, ...t.slice(o));
1374
+ break;
1375
+ } else if (this._defaultCommandName) {
1376
+ i.push(a, ...t.slice(o));
1377
+ break;
1378
+ }
1379
+ }
1380
+ if (this._passThroughOptions) {
1381
+ n.push(a, ...t.slice(o));
1382
+ break;
1383
+ }
1384
+ n.push(a);
1385
+ }
1386
+ return {
1387
+ operands: e,
1388
+ unknown: i
1389
+ };
1390
+ }
1391
+ opts() {
1392
+ if (this._storeOptionsAsProperties) {
1393
+ const t = {};
1394
+ const e = this.options.length;
1395
+ for(let i = 0; i < e; i++){
1396
+ const e = this.options[i].attributeName();
1397
+ t[e] = e === this._versionOptionName ? this._version : this[e];
1398
+ }
1399
+ return t;
1400
+ }
1401
+ return this._optionValues;
1402
+ }
1403
+ optsWithGlobals() {
1404
+ return this._getCommandAndAncestors().reduce((t, e)=>Object.assign(t, e.opts()), {});
1405
+ }
1406
+ error(t, e) {
1407
+ this._outputConfiguration.outputError(`${t}\n`, this._outputConfiguration.writeErr);
1408
+ if ("string" == typeof this._showHelpAfterError) this._outputConfiguration.writeErr(`${this._showHelpAfterError}\n`);
1409
+ else if (this._showHelpAfterError) {
1410
+ this._outputConfiguration.writeErr("\n");
1411
+ this.outputHelp({
1412
+ error: true
1413
+ });
1414
+ }
1415
+ const i = e || {};
1416
+ const n = i.exitCode || 1;
1417
+ const s = i.code || "commander.error";
1418
+ this._exit(n, s, t);
1419
+ }
1420
+ _parseOptionsEnv() {
1421
+ this.options.forEach((t)=>{
1422
+ if (t.envVar && t.envVar in o.env) {
1423
+ const e = t.attributeName();
1424
+ if (void 0 === this.getOptionValue(e) || [
1425
+ "default",
1426
+ "config",
1427
+ "env"
1428
+ ].includes(this.getOptionValueSource(e))) if (t.required || t.optional) this.emit(`optionEnv:${t.name()}`, o.env[t.envVar]);
1429
+ else this.emit(`optionEnv:${t.name()}`);
1430
+ }
1431
+ });
1432
+ }
1433
+ _parseOptionsImplied() {
1434
+ const t = new DualOptions(this.options);
1435
+ const hasCustomOptionValue = (t)=>void 0 !== this.getOptionValue(t) && ![
1436
+ "default",
1437
+ "implied"
1438
+ ].includes(this.getOptionValueSource(t));
1439
+ this.options.filter((e)=>void 0 !== e.implied && hasCustomOptionValue(e.attributeName()) && t.valueFromOption(this.getOptionValue(e.attributeName()), e)).forEach((t)=>{
1440
+ Object.keys(t.implied).filter((t)=>!hasCustomOptionValue(t)).forEach((e)=>{
1441
+ this.setOptionValueWithSource(e, t.implied[e], "implied");
1442
+ });
1443
+ });
1444
+ }
1445
+ missingArgument(t) {
1446
+ const e = `error: missing required argument '${t}'`;
1447
+ this.error(e, {
1448
+ code: "commander.missingArgument"
1449
+ });
1450
+ }
1451
+ optionMissingArgument(t) {
1452
+ const e = `error: option '${t.flags}' argument missing`;
1453
+ this.error(e, {
1454
+ code: "commander.optionMissingArgument"
1455
+ });
1456
+ }
1457
+ missingMandatoryOptionValue(t) {
1458
+ const e = `error: required option '${t.flags}' not specified`;
1459
+ this.error(e, {
1460
+ code: "commander.missingMandatoryOptionValue"
1461
+ });
1462
+ }
1463
+ _conflictingOption(t, e) {
1464
+ const findBestOptionFromValue = (t)=>{
1465
+ const e = t.attributeName();
1466
+ const i = this.getOptionValue(e);
1467
+ const n = this.options.find((t)=>t.negate && e === t.attributeName());
1468
+ const s = this.options.find((t)=>!t.negate && e === t.attributeName());
1469
+ if (n && (void 0 === n.presetArg && false === i || void 0 !== n.presetArg && i === n.presetArg)) return n;
1470
+ return s || t;
1471
+ };
1472
+ const getErrorMessage = (t)=>{
1473
+ const e = findBestOptionFromValue(t);
1474
+ const i = e.attributeName();
1475
+ const n = this.getOptionValueSource(i);
1476
+ if ("env" === n) return `environment variable '${e.envVar}'`;
1477
+ return `option '${e.flags}'`;
1478
+ };
1479
+ const i = `error: ${getErrorMessage(t)} cannot be used with ${getErrorMessage(e)}`;
1480
+ this.error(i, {
1481
+ code: "commander.conflictingOption"
1482
+ });
1483
+ }
1484
+ unknownOption(t) {
1485
+ if (this._allowUnknownOption) return;
1486
+ let e = "";
1487
+ if (t.startsWith("--") && this._showSuggestionAfterError) {
1488
+ let i = [];
1489
+ let n = this;
1490
+ do {
1491
+ const t = n.createHelp().visibleOptions(n).filter((t)=>t.long).map((t)=>t.long);
1492
+ i = i.concat(t);
1493
+ n = n.parent;
1494
+ }while (n && !n._enablePositionalOptions);
1495
+ e = suggestSimilar(t, i);
1496
+ }
1497
+ const i = `error: unknown option '${t}'${e}`;
1498
+ this.error(i, {
1499
+ code: "commander.unknownOption"
1500
+ });
1501
+ }
1502
+ _excessArguments(t) {
1503
+ if (this._allowExcessArguments) return;
1504
+ const e = this.registeredArguments.length;
1505
+ const i = 1 === e ? "" : "s";
1506
+ const n = t.length;
1507
+ const s = this.parent ? ` for '${this.name()}'` : "";
1508
+ const r = t.join(", ");
1509
+ const o = `error: too many arguments${s}. Expected ${e} argument${i} but got ${n}: ${r}.`;
1510
+ this.error(o, {
1511
+ code: "commander.excessArguments"
1512
+ });
1513
+ }
1514
+ unknownCommand() {
1515
+ const t = this.args[0];
1516
+ let e = "";
1517
+ if (this._showSuggestionAfterError) {
1518
+ const i = [];
1519
+ this.createHelp().visibleCommands(this).forEach((t)=>{
1520
+ i.push(t.name());
1521
+ if (t.alias()) i.push(t.alias());
1522
+ });
1523
+ e = suggestSimilar(t, i);
1524
+ }
1525
+ const i = `error: unknown command '${t}'${e}`;
1526
+ this.error(i, {
1527
+ code: "commander.unknownCommand"
1528
+ });
1529
+ }
1530
+ version(t, e, i) {
1531
+ if (void 0 === t) return this._version;
1532
+ this._version = t;
1533
+ e = e || "-V, --version";
1534
+ i = i || "output the version number";
1535
+ const n = this.createOption(e, i);
1536
+ this._versionOptionName = n.attributeName();
1537
+ this._registerOption(n);
1538
+ this.on("option:" + n.name(), ()=>{
1539
+ this._outputConfiguration.writeOut(`${t}\n`);
1540
+ this._exit(0, "commander.version", t);
1541
+ });
1542
+ return this;
1543
+ }
1544
+ description(t, e) {
1545
+ if (void 0 === t && void 0 === e) return this._description;
1546
+ this._description = t;
1547
+ if (e) this._argsDescription = e;
1548
+ return this;
1549
+ }
1550
+ summary(t) {
1551
+ if (void 0 === t) return this._summary;
1552
+ this._summary = t;
1553
+ return this;
1554
+ }
1555
+ alias(t) {
1556
+ if (void 0 === t) return this._aliases[0];
1557
+ let e = this;
1558
+ if (0 !== this.commands.length && this.commands[this.commands.length - 1]._executableHandler) e = this.commands[this.commands.length - 1];
1559
+ if (t === e._name) throw new Error("Command alias can't be the same as its name");
1560
+ const i = this.parent?._findCommand(t);
1561
+ if (i) {
1562
+ const e = [
1563
+ i.name()
1564
+ ].concat(i.aliases()).join("|");
1565
+ throw new Error(`cannot add alias '${t}' to command '${this.name()}' as already have command '${e}'`);
1566
+ }
1567
+ e._aliases.push(t);
1568
+ return this;
1569
+ }
1570
+ aliases(t) {
1571
+ if (void 0 === t) return this._aliases;
1572
+ t.forEach((t)=>this.alias(t));
1573
+ return this;
1574
+ }
1575
+ usage(t) {
1576
+ if (void 0 === t) {
1577
+ if (this._usage) return this._usage;
1578
+ const t = this.registeredArguments.map((t)=>humanReadableArgName(t));
1579
+ return [].concat(this.options.length || null !== this._helpOption ? "[options]" : [], this.commands.length ? "[command]" : [], this.registeredArguments.length ? t : []).join(" ");
1580
+ }
1581
+ this._usage = t;
1582
+ return this;
1583
+ }
1584
+ name(t) {
1585
+ if (void 0 === t) return this._name;
1586
+ this._name = t;
1587
+ return this;
1588
+ }
1589
+ helpGroup(t) {
1590
+ if (void 0 === t) return this._helpGroupHeading ?? "";
1591
+ this._helpGroupHeading = t;
1592
+ return this;
1593
+ }
1594
+ commandsGroup(t) {
1595
+ if (void 0 === t) return this._defaultCommandGroup ?? "";
1596
+ this._defaultCommandGroup = t;
1597
+ return this;
1598
+ }
1599
+ optionsGroup(t) {
1600
+ if (void 0 === t) return this._defaultOptionGroup ?? "";
1601
+ this._defaultOptionGroup = t;
1602
+ return this;
1603
+ }
1604
+ _initOptionGroup(t) {
1605
+ if (this._defaultOptionGroup && !t.helpGroupHeading) t.helpGroup(this._defaultOptionGroup);
1606
+ }
1607
+ _initCommandGroup(t) {
1608
+ if (this._defaultCommandGroup && !t.helpGroup()) t.helpGroup(this._defaultCommandGroup);
1609
+ }
1610
+ nameFromFilename(t) {
1611
+ this._name = s.basename(t, s.extname(t));
1612
+ return this;
1613
+ }
1614
+ executableDir(t) {
1615
+ if (void 0 === t) return this._executableDir;
1616
+ this._executableDir = t;
1617
+ return this;
1618
+ }
1619
+ helpInformation(t) {
1620
+ const e = this.createHelp();
1621
+ const i = this._getOutputContext(t);
1622
+ e.prepareContext({
1623
+ error: i.error,
1624
+ helpWidth: i.helpWidth,
1625
+ outputHasColors: i.hasColors
1626
+ });
1627
+ const n = e.formatHelp(this, e);
1628
+ if (i.hasColors) return n;
1629
+ return this._outputConfiguration.stripColor(n);
1630
+ }
1631
+ _getOutputContext(t) {
1632
+ t = t || {};
1633
+ const e = !!t.error;
1634
+ let i;
1635
+ let n;
1636
+ let s;
1637
+ if (e) {
1638
+ i = (t)=>this._outputConfiguration.writeErr(t);
1639
+ n = this._outputConfiguration.getErrHasColors();
1640
+ s = this._outputConfiguration.getErrHelpWidth();
1641
+ } else {
1642
+ i = (t)=>this._outputConfiguration.writeOut(t);
1643
+ n = this._outputConfiguration.getOutHasColors();
1644
+ s = this._outputConfiguration.getOutHelpWidth();
1645
+ }
1646
+ const write = (t)=>{
1647
+ if (!n) t = this._outputConfiguration.stripColor(t);
1648
+ return i(t);
1649
+ };
1650
+ return {
1651
+ error: e,
1652
+ write: write,
1653
+ hasColors: n,
1654
+ helpWidth: s
1655
+ };
1656
+ }
1657
+ outputHelp(t) {
1658
+ let e;
1659
+ if ("function" == typeof t) {
1660
+ e = t;
1661
+ t = void 0;
1662
+ }
1663
+ const i = this._getOutputContext(t);
1664
+ const n = {
1665
+ error: i.error,
1666
+ write: i.write,
1667
+ command: this
1668
+ };
1669
+ this._getCommandAndAncestors().reverse().forEach((t)=>t.emit("beforeAllHelp", n));
1670
+ this.emit("beforeHelp", n);
1671
+ let s = this.helpInformation({
1672
+ error: i.error
1673
+ });
1674
+ if (e) {
1675
+ s = e(s);
1676
+ if ("string" != typeof s && !Buffer.isBuffer(s)) throw new Error("outputHelp callback must return a string or a Buffer");
1677
+ }
1678
+ i.write(s);
1679
+ if (this._getHelpOption()?.long) this.emit(this._getHelpOption().long);
1680
+ this.emit("afterHelp", n);
1681
+ this._getCommandAndAncestors().forEach((t)=>t.emit("afterAllHelp", n));
1682
+ }
1683
+ helpOption(t, e) {
1684
+ if ("boolean" == typeof t) {
1685
+ if (t) {
1686
+ if (null === this._helpOption) this._helpOption = void 0;
1687
+ if (this._defaultOptionGroup) this._initOptionGroup(this._getHelpOption());
1688
+ } else this._helpOption = null;
1689
+ return this;
1690
+ }
1691
+ this._helpOption = this.createOption(t ?? "-h, --help", e ?? "display help for command");
1692
+ if (t || e) this._initOptionGroup(this._helpOption);
1693
+ return this;
1694
+ }
1695
+ _getHelpOption() {
1696
+ if (void 0 === this._helpOption) this.helpOption(void 0, void 0);
1697
+ return this._helpOption;
1698
+ }
1699
+ addHelpOption(t) {
1700
+ this._helpOption = t;
1701
+ this._initOptionGroup(t);
1702
+ return this;
1703
+ }
1704
+ help(t) {
1705
+ this.outputHelp(t);
1706
+ let e = Number(o.exitCode ?? 0);
1707
+ if (0 === e && t && "function" != typeof t && t.error) e = 1;
1708
+ this._exit(e, "commander.help", "(outputHelp)");
1709
+ }
1710
+ addHelpText(t, e) {
1711
+ const i = [
1712
+ "beforeAll",
1713
+ "before",
1714
+ "after",
1715
+ "afterAll"
1716
+ ];
1717
+ if (!i.includes(t)) throw new Error(`Unexpected value for position to addHelpText.\nExpecting one of '${i.join("', '")}'`);
1718
+ const n = `${t}Help`;
1719
+ this.on(n, (t)=>{
1720
+ let i;
1721
+ i = "function" == typeof e ? e({
1722
+ error: t.error,
1723
+ command: t.command
1724
+ }) : e;
1725
+ if (i) t.write(`${i}\n`);
1726
+ });
1727
+ return this;
1728
+ }
1729
+ _outputHelpIfRequested(t) {
1730
+ const e = this._getHelpOption();
1731
+ const i = e && t.find((t)=>e.is(t));
1732
+ if (i) {
1733
+ this.outputHelp();
1734
+ this._exit(0, "commander.helpDisplayed", "(outputHelp)");
1735
+ }
1736
+ }
1737
+ }
1738
+ function incrementNodeInspectorPort(t) {
1739
+ return t.map((t)=>{
1740
+ if (!t.startsWith("--inspect")) return t;
1741
+ let e;
1742
+ let i = "127.0.0.1";
1743
+ let n = "9229";
1744
+ let s;
1745
+ if (null !== (s = t.match(/^(--inspect(-brk)?)$/))) e = s[1];
1746
+ else if (null !== (s = t.match(/^(--inspect(-brk|-port)?)=([^:]+)$/))) {
1747
+ e = s[1];
1748
+ if (/^\d+$/.test(s[3])) n = s[3];
1749
+ else i = s[3];
1750
+ } else if (null !== (s = t.match(/^(--inspect(-brk|-port)?)=([^:]+):(\d+)$/))) {
1751
+ e = s[1];
1752
+ i = s[3];
1753
+ n = s[4];
1754
+ }
1755
+ if (e && "0" !== n) return `${e}=${i}:${parseInt(n) + 1}`;
1756
+ return t;
1757
+ });
1758
+ }
1759
+ function useColor() {
1760
+ if (o.env.NO_COLOR || "0" === o.env.FORCE_COLOR || "false" === o.env.FORCE_COLOR) return false;
1761
+ if (o.env.FORCE_COLOR || void 0 !== o.env.CLICOLOR_FORCE) return true;
1762
+ }
1763
+ const l = new Command;
1764
+ const createCommand = (t)=>new Command(t);
1765
+ const createOption = (t, e)=>new Option(t, e);
1766
+ const createArgument = (t, e)=>new Argument(t, e);
1767
+ var u = e.ef;
1768
+ var c = e.uB;
1769
+ var p = e.b7;
1770
+ var d = e._V;
1771
+ var m = e.Di;
1772
+ var f = e.a2;
1773
+ var g = e.c$;
1774
+ var _ = e.er;
1775
+ var O = e.gu;
1776
+ var C = e.Ww;
1777
+ var b = e.DM;
1778
+ export { u as Argument, c as Command, p as CommanderError, d as Help, m as InvalidArgumentError, f as InvalidOptionArgumentError, g as Option, _ as createArgument, O as createCommand, C as createOption, b as program };