immosquare-cleaner 0.1.42 → 0.1.43

Sign up to get free protection for your applications and to get access to all the features.
Files changed (807) hide show
  1. checksums.yaml +4 -4
  2. data/lib/immosquare-cleaner/version.rb +1 -1
  3. data/node_modules/.bin/ncu +1 -1
  4. data/node_modules/.bin/npm-check-updates +1 -1
  5. data/node_modules/.bin/rimraf +1 -1
  6. data/node_modules/@eslint/config-array/dist/cjs/index.cjs +5 -0
  7. data/node_modules/@eslint/config-array/dist/esm/index.js +5 -0
  8. data/node_modules/@eslint/config-array/package.json +1 -1
  9. data/node_modules/@eslint/js/package.json +1 -1
  10. data/node_modules/ansi-regex/index.d.ts +13 -9
  11. data/node_modules/ansi-regex/index.js +5 -3
  12. data/node_modules/ansi-regex/license +1 -1
  13. data/node_modules/ansi-regex/package.json +6 -9
  14. data/node_modules/ansi-regex/readme.md +8 -2
  15. data/node_modules/brace-expansion/README.md +0 -6
  16. data/node_modules/brace-expansion/index.js +84 -86
  17. data/node_modules/brace-expansion/package.json +4 -3
  18. data/node_modules/chalk/license +1 -1
  19. data/node_modules/chalk/package.json +23 -38
  20. data/node_modules/chalk/readme.md +85 -69
  21. data/node_modules/chalk/source/index.js +84 -80
  22. data/node_modules/eslint/lib/cli.js +0 -20
  23. data/node_modules/eslint/lib/languages/js/source-code/source-code.js +19 -0
  24. data/node_modules/eslint/lib/linter/apply-disable-directives.js +24 -12
  25. data/node_modules/eslint/lib/linter/linter.js +44 -20
  26. data/node_modules/eslint/lib/linter/report-translator.js +10 -10
  27. data/node_modules/eslint/lib/linter/rule-fixer.js +38 -15
  28. data/node_modules/eslint/lib/shared/flags.js +2 -2
  29. data/node_modules/eslint/package.json +5 -4
  30. data/node_modules/glob/LICENSE +7 -1
  31. data/node_modules/glob/README.md +284 -1120
  32. data/node_modules/glob/common.js +238 -0
  33. data/node_modules/glob/glob.js +790 -0
  34. data/node_modules/glob/package.json +34 -76
  35. data/node_modules/glob/sync.js +486 -0
  36. data/node_modules/lru-cache/LICENSE +1 -1
  37. data/node_modules/lru-cache/README.md +104 -1055
  38. data/node_modules/lru-cache/index.js +246 -1139
  39. data/node_modules/lru-cache/package.json +11 -75
  40. data/node_modules/minimatch/LICENSE +1 -1
  41. data/node_modules/minimatch/README.md +65 -289
  42. data/node_modules/minimatch/package.json +14 -67
  43. data/node_modules/npm-check-updates/README.md +9 -12
  44. data/node_modules/npm-check-updates/build/cli.js +21 -21
  45. data/node_modules/npm-check-updates/build/cli.js.map +1 -1
  46. data/node_modules/npm-check-updates/build/index-CWktU8PK.js +58 -0
  47. data/node_modules/npm-check-updates/build/index-CWktU8PK.js.map +1 -0
  48. data/node_modules/npm-check-updates/build/index.d.ts +1 -3
  49. data/node_modules/npm-check-updates/build/index.js +207 -223
  50. data/node_modules/npm-check-updates/build/index.js.map +1 -1
  51. data/node_modules/npm-check-updates/package.json +101 -105
  52. data/node_modules/rimraf/LICENSE +1 -1
  53. data/node_modules/rimraf/README.md +70 -188
  54. data/node_modules/rimraf/bin.js +50 -0
  55. data/node_modules/rimraf/package.json +16 -74
  56. data/node_modules/rimraf/rimraf.js +364 -0
  57. data/node_modules/semver/README.md +27 -221
  58. data/node_modules/semver/bin/semver.js +84 -107
  59. data/node_modules/semver/package.json +14 -63
  60. data/node_modules/semver/semver.js +1643 -0
  61. data/node_modules/strip-ansi/index.d.ts +4 -2
  62. data/node_modules/strip-ansi/index.js +3 -13
  63. data/node_modules/strip-ansi/license +1 -1
  64. data/node_modules/strip-ansi/package.json +7 -10
  65. data/node_modules/strip-ansi/readme.md +7 -2
  66. data/node_modules/strip-json-comments/index.d.ts +13 -18
  67. data/node_modules/strip-json-comments/index.js +38 -68
  68. data/node_modules/strip-json-comments/package.json +5 -13
  69. data/node_modules/strip-json-comments/readme.md +18 -15
  70. data/node_modules/yallist/package.json +1 -1
  71. data/node_modules/yallist/yallist.js +3 -3
  72. data/package.json +3 -3
  73. metadata +14 -736
  74. data/node_modules/@eslint/config-array/node_modules/minimatch/LICENSE +0 -15
  75. data/node_modules/@eslint/config-array/node_modules/minimatch/README.md +0 -230
  76. data/node_modules/@eslint/config-array/node_modules/minimatch/node_modules/brace-expansion/LICENSE +0 -21
  77. data/node_modules/@eslint/config-array/node_modules/minimatch/node_modules/brace-expansion/README.md +0 -129
  78. data/node_modules/@eslint/config-array/node_modules/minimatch/node_modules/brace-expansion/index.js +0 -201
  79. data/node_modules/@eslint/config-array/node_modules/minimatch/node_modules/brace-expansion/package.json +0 -47
  80. data/node_modules/@eslint/config-array/node_modules/minimatch/package.json +0 -33
  81. data/node_modules/chalk/source/index.d.ts +0 -320
  82. data/node_modules/chalk/source/utilities.js +0 -33
  83. data/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
  84. data/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
  85. data/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
  86. data/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
  87. data/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
  88. data/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
  89. data/node_modules/eslint/node_modules/chalk/license +0 -9
  90. data/node_modules/eslint/node_modules/chalk/package.json +0 -68
  91. data/node_modules/eslint/node_modules/chalk/readme.md +0 -341
  92. data/node_modules/eslint/node_modules/chalk/source/index.js +0 -229
  93. data/node_modules/eslint/node_modules/minimatch/LICENSE +0 -15
  94. data/node_modules/eslint/node_modules/minimatch/README.md +0 -230
  95. data/node_modules/eslint/node_modules/minimatch/minimatch.js +0 -947
  96. data/node_modules/eslint/node_modules/minimatch/node_modules/brace-expansion/LICENSE +0 -21
  97. data/node_modules/eslint/node_modules/minimatch/node_modules/brace-expansion/README.md +0 -129
  98. data/node_modules/eslint/node_modules/minimatch/node_modules/brace-expansion/index.js +0 -201
  99. data/node_modules/eslint/node_modules/minimatch/node_modules/brace-expansion/package.json +0 -47
  100. data/node_modules/eslint/node_modules/minimatch/package.json +0 -33
  101. data/node_modules/eslint/node_modules/strip-ansi/index.d.ts +0 -17
  102. data/node_modules/eslint/node_modules/strip-ansi/index.js +0 -4
  103. data/node_modules/eslint/node_modules/strip-ansi/license +0 -9
  104. data/node_modules/eslint/node_modules/strip-ansi/node_modules/ansi-regex/index.d.ts +0 -37
  105. data/node_modules/eslint/node_modules/strip-ansi/node_modules/ansi-regex/index.js +0 -10
  106. data/node_modules/eslint/node_modules/strip-ansi/node_modules/ansi-regex/license +0 -9
  107. data/node_modules/eslint/node_modules/strip-ansi/node_modules/ansi-regex/package.json +0 -55
  108. data/node_modules/eslint/node_modules/strip-ansi/node_modules/ansi-regex/readme.md +0 -78
  109. data/node_modules/eslint/node_modules/strip-ansi/package.json +0 -54
  110. data/node_modules/eslint/node_modules/strip-ansi/readme.md +0 -46
  111. data/node_modules/glob/dist/commonjs/glob.d.ts +0 -344
  112. data/node_modules/glob/dist/commonjs/glob.d.ts.map +0 -1
  113. data/node_modules/glob/dist/commonjs/glob.js +0 -243
  114. data/node_modules/glob/dist/commonjs/glob.js.map +0 -1
  115. data/node_modules/glob/dist/commonjs/has-magic.d.ts +0 -14
  116. data/node_modules/glob/dist/commonjs/has-magic.d.ts.map +0 -1
  117. data/node_modules/glob/dist/commonjs/has-magic.js +0 -27
  118. data/node_modules/glob/dist/commonjs/has-magic.js.map +0 -1
  119. data/node_modules/glob/dist/commonjs/ignore.d.ts +0 -20
  120. data/node_modules/glob/dist/commonjs/ignore.d.ts.map +0 -1
  121. data/node_modules/glob/dist/commonjs/ignore.js +0 -108
  122. data/node_modules/glob/dist/commonjs/ignore.js.map +0 -1
  123. data/node_modules/glob/dist/commonjs/index.d.ts +0 -96
  124. data/node_modules/glob/dist/commonjs/index.d.ts.map +0 -1
  125. data/node_modules/glob/dist/commonjs/index.js +0 -68
  126. data/node_modules/glob/dist/commonjs/index.js.map +0 -1
  127. data/node_modules/glob/dist/commonjs/package.json +0 -1
  128. data/node_modules/glob/dist/commonjs/pattern.d.ts +0 -77
  129. data/node_modules/glob/dist/commonjs/pattern.d.ts.map +0 -1
  130. data/node_modules/glob/dist/commonjs/pattern.js +0 -219
  131. data/node_modules/glob/dist/commonjs/pattern.js.map +0 -1
  132. data/node_modules/glob/dist/commonjs/processor.d.ts +0 -59
  133. data/node_modules/glob/dist/commonjs/processor.d.ts.map +0 -1
  134. data/node_modules/glob/dist/commonjs/processor.js +0 -302
  135. data/node_modules/glob/dist/commonjs/processor.js.map +0 -1
  136. data/node_modules/glob/dist/commonjs/walker.d.ts +0 -96
  137. data/node_modules/glob/dist/commonjs/walker.d.ts.map +0 -1
  138. data/node_modules/glob/dist/commonjs/walker.js +0 -358
  139. data/node_modules/glob/dist/commonjs/walker.js.map +0 -1
  140. data/node_modules/glob/dist/esm/bin.d.mts +0 -3
  141. data/node_modules/glob/dist/esm/bin.d.mts.map +0 -1
  142. data/node_modules/glob/dist/esm/bin.mjs +0 -275
  143. data/node_modules/glob/dist/esm/bin.mjs.map +0 -1
  144. data/node_modules/glob/dist/esm/glob.d.ts +0 -344
  145. data/node_modules/glob/dist/esm/glob.d.ts.map +0 -1
  146. data/node_modules/glob/dist/esm/glob.js +0 -239
  147. data/node_modules/glob/dist/esm/glob.js.map +0 -1
  148. data/node_modules/glob/dist/esm/has-magic.d.ts +0 -14
  149. data/node_modules/glob/dist/esm/has-magic.d.ts.map +0 -1
  150. data/node_modules/glob/dist/esm/has-magic.js +0 -23
  151. data/node_modules/glob/dist/esm/has-magic.js.map +0 -1
  152. data/node_modules/glob/dist/esm/ignore.d.ts +0 -20
  153. data/node_modules/glob/dist/esm/ignore.d.ts.map +0 -1
  154. data/node_modules/glob/dist/esm/ignore.js +0 -104
  155. data/node_modules/glob/dist/esm/ignore.js.map +0 -1
  156. data/node_modules/glob/dist/esm/index.d.ts +0 -96
  157. data/node_modules/glob/dist/esm/index.d.ts.map +0 -1
  158. data/node_modules/glob/dist/esm/index.js +0 -56
  159. data/node_modules/glob/dist/esm/index.js.map +0 -1
  160. data/node_modules/glob/dist/esm/package.json +0 -1
  161. data/node_modules/glob/dist/esm/pattern.d.ts +0 -77
  162. data/node_modules/glob/dist/esm/pattern.d.ts.map +0 -1
  163. data/node_modules/glob/dist/esm/pattern.js +0 -215
  164. data/node_modules/glob/dist/esm/pattern.js.map +0 -1
  165. data/node_modules/glob/dist/esm/processor.d.ts +0 -59
  166. data/node_modules/glob/dist/esm/processor.d.ts.map +0 -1
  167. data/node_modules/glob/dist/esm/processor.js +0 -295
  168. data/node_modules/glob/dist/esm/processor.js.map +0 -1
  169. data/node_modules/glob/dist/esm/walker.d.ts +0 -96
  170. data/node_modules/glob/dist/esm/walker.d.ts.map +0 -1
  171. data/node_modules/glob/dist/esm/walker.js +0 -352
  172. data/node_modules/glob/dist/esm/walker.js.map +0 -1
  173. data/node_modules/glob/node_modules/minimatch/LICENSE +0 -15
  174. data/node_modules/glob/node_modules/minimatch/README.md +0 -454
  175. data/node_modules/glob/node_modules/minimatch/dist/cjs/assert-valid-pattern.d.ts +0 -2
  176. data/node_modules/glob/node_modules/minimatch/dist/cjs/assert-valid-pattern.d.ts.map +0 -1
  177. data/node_modules/glob/node_modules/minimatch/dist/cjs/assert-valid-pattern.js +0 -14
  178. data/node_modules/glob/node_modules/minimatch/dist/cjs/assert-valid-pattern.js.map +0 -1
  179. data/node_modules/glob/node_modules/minimatch/dist/cjs/ast.d.ts +0 -19
  180. data/node_modules/glob/node_modules/minimatch/dist/cjs/ast.d.ts.map +0 -1
  181. data/node_modules/glob/node_modules/minimatch/dist/cjs/ast.js +0 -589
  182. data/node_modules/glob/node_modules/minimatch/dist/cjs/ast.js.map +0 -1
  183. data/node_modules/glob/node_modules/minimatch/dist/cjs/brace-expressions.d.ts +0 -8
  184. data/node_modules/glob/node_modules/minimatch/dist/cjs/brace-expressions.d.ts.map +0 -1
  185. data/node_modules/glob/node_modules/minimatch/dist/cjs/brace-expressions.js +0 -152
  186. data/node_modules/glob/node_modules/minimatch/dist/cjs/brace-expressions.js.map +0 -1
  187. data/node_modules/glob/node_modules/minimatch/dist/cjs/escape.d.ts +0 -12
  188. data/node_modules/glob/node_modules/minimatch/dist/cjs/escape.d.ts.map +0 -1
  189. data/node_modules/glob/node_modules/minimatch/dist/cjs/escape.js +0 -22
  190. data/node_modules/glob/node_modules/minimatch/dist/cjs/escape.js.map +0 -1
  191. data/node_modules/glob/node_modules/minimatch/dist/cjs/index.d.ts +0 -94
  192. data/node_modules/glob/node_modules/minimatch/dist/cjs/index.d.ts.map +0 -1
  193. data/node_modules/glob/node_modules/minimatch/dist/cjs/index.js +0 -1011
  194. data/node_modules/glob/node_modules/minimatch/dist/cjs/index.js.map +0 -1
  195. data/node_modules/glob/node_modules/minimatch/dist/cjs/package.json +0 -3
  196. data/node_modules/glob/node_modules/minimatch/dist/cjs/unescape.d.ts +0 -17
  197. data/node_modules/glob/node_modules/minimatch/dist/cjs/unescape.d.ts.map +0 -1
  198. data/node_modules/glob/node_modules/minimatch/dist/cjs/unescape.js +0 -24
  199. data/node_modules/glob/node_modules/minimatch/dist/cjs/unescape.js.map +0 -1
  200. data/node_modules/glob/node_modules/minimatch/dist/mjs/assert-valid-pattern.d.ts +0 -2
  201. data/node_modules/glob/node_modules/minimatch/dist/mjs/assert-valid-pattern.d.ts.map +0 -1
  202. data/node_modules/glob/node_modules/minimatch/dist/mjs/assert-valid-pattern.js +0 -10
  203. data/node_modules/glob/node_modules/minimatch/dist/mjs/assert-valid-pattern.js.map +0 -1
  204. data/node_modules/glob/node_modules/minimatch/dist/mjs/ast.d.ts +0 -19
  205. data/node_modules/glob/node_modules/minimatch/dist/mjs/ast.d.ts.map +0 -1
  206. data/node_modules/glob/node_modules/minimatch/dist/mjs/ast.js +0 -585
  207. data/node_modules/glob/node_modules/minimatch/dist/mjs/ast.js.map +0 -1
  208. data/node_modules/glob/node_modules/minimatch/dist/mjs/brace-expressions.d.ts +0 -8
  209. data/node_modules/glob/node_modules/minimatch/dist/mjs/brace-expressions.d.ts.map +0 -1
  210. data/node_modules/glob/node_modules/minimatch/dist/mjs/brace-expressions.js +0 -148
  211. data/node_modules/glob/node_modules/minimatch/dist/mjs/brace-expressions.js.map +0 -1
  212. data/node_modules/glob/node_modules/minimatch/dist/mjs/escape.d.ts +0 -12
  213. data/node_modules/glob/node_modules/minimatch/dist/mjs/escape.d.ts.map +0 -1
  214. data/node_modules/glob/node_modules/minimatch/dist/mjs/escape.js +0 -18
  215. data/node_modules/glob/node_modules/minimatch/dist/mjs/escape.js.map +0 -1
  216. data/node_modules/glob/node_modules/minimatch/dist/mjs/index.d.ts +0 -94
  217. data/node_modules/glob/node_modules/minimatch/dist/mjs/index.d.ts.map +0 -1
  218. data/node_modules/glob/node_modules/minimatch/dist/mjs/index.js +0 -995
  219. data/node_modules/glob/node_modules/minimatch/dist/mjs/index.js.map +0 -1
  220. data/node_modules/glob/node_modules/minimatch/dist/mjs/package.json +0 -3
  221. data/node_modules/glob/node_modules/minimatch/dist/mjs/unescape.d.ts +0 -17
  222. data/node_modules/glob/node_modules/minimatch/dist/mjs/unescape.d.ts.map +0 -1
  223. data/node_modules/glob/node_modules/minimatch/dist/mjs/unescape.js +0 -20
  224. data/node_modules/glob/node_modules/minimatch/dist/mjs/unescape.js.map +0 -1
  225. data/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/LICENSE +0 -21
  226. data/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/README.md +0 -135
  227. data/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/index.js +0 -203
  228. data/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/package.json +0 -46
  229. data/node_modules/glob/node_modules/minimatch/package.json +0 -86
  230. data/node_modules/glob/node_modules/minipass/LICENSE +0 -15
  231. data/node_modules/glob/node_modules/minipass/README.md +0 -825
  232. data/node_modules/glob/node_modules/minipass/dist/commonjs/index.d.ts +0 -549
  233. data/node_modules/glob/node_modules/minipass/dist/commonjs/index.d.ts.map +0 -1
  234. data/node_modules/glob/node_modules/minipass/dist/commonjs/index.js +0 -1028
  235. data/node_modules/glob/node_modules/minipass/dist/commonjs/index.js.map +0 -1
  236. data/node_modules/glob/node_modules/minipass/dist/commonjs/package.json +0 -1
  237. data/node_modules/glob/node_modules/minipass/dist/esm/index.d.ts +0 -549
  238. data/node_modules/glob/node_modules/minipass/dist/esm/index.d.ts.map +0 -1
  239. data/node_modules/glob/node_modules/minipass/dist/esm/index.js +0 -1018
  240. data/node_modules/glob/node_modules/minipass/dist/esm/index.js.map +0 -1
  241. data/node_modules/glob/node_modules/minipass/dist/esm/package.json +0 -1
  242. data/node_modules/glob/node_modules/minipass/package.json +0 -82
  243. data/node_modules/lru-cache/index.d.ts +0 -869
  244. data/node_modules/lru-cache/index.mjs +0 -1227
  245. data/node_modules/minimatch/dist/cjs/assert-valid-pattern.d.ts +0 -2
  246. data/node_modules/minimatch/dist/cjs/assert-valid-pattern.d.ts.map +0 -1
  247. data/node_modules/minimatch/dist/cjs/assert-valid-pattern.js +0 -14
  248. data/node_modules/minimatch/dist/cjs/assert-valid-pattern.js.map +0 -1
  249. data/node_modules/minimatch/dist/cjs/ast.d.ts +0 -19
  250. data/node_modules/minimatch/dist/cjs/ast.d.ts.map +0 -1
  251. data/node_modules/minimatch/dist/cjs/ast.js +0 -589
  252. data/node_modules/minimatch/dist/cjs/ast.js.map +0 -1
  253. data/node_modules/minimatch/dist/cjs/brace-expressions.d.ts +0 -8
  254. data/node_modules/minimatch/dist/cjs/brace-expressions.d.ts.map +0 -1
  255. data/node_modules/minimatch/dist/cjs/brace-expressions.js +0 -152
  256. data/node_modules/minimatch/dist/cjs/brace-expressions.js.map +0 -1
  257. data/node_modules/minimatch/dist/cjs/escape.d.ts +0 -12
  258. data/node_modules/minimatch/dist/cjs/escape.d.ts.map +0 -1
  259. data/node_modules/minimatch/dist/cjs/escape.js +0 -22
  260. data/node_modules/minimatch/dist/cjs/escape.js.map +0 -1
  261. data/node_modules/minimatch/dist/cjs/index.d.ts +0 -94
  262. data/node_modules/minimatch/dist/cjs/index.d.ts.map +0 -1
  263. data/node_modules/minimatch/dist/cjs/index.js +0 -1011
  264. data/node_modules/minimatch/dist/cjs/index.js.map +0 -1
  265. data/node_modules/minimatch/dist/cjs/package.json +0 -3
  266. data/node_modules/minimatch/dist/cjs/unescape.d.ts +0 -17
  267. data/node_modules/minimatch/dist/cjs/unescape.d.ts.map +0 -1
  268. data/node_modules/minimatch/dist/cjs/unescape.js +0 -24
  269. data/node_modules/minimatch/dist/cjs/unescape.js.map +0 -1
  270. data/node_modules/minimatch/dist/mjs/assert-valid-pattern.d.ts +0 -2
  271. data/node_modules/minimatch/dist/mjs/assert-valid-pattern.d.ts.map +0 -1
  272. data/node_modules/minimatch/dist/mjs/assert-valid-pattern.js +0 -10
  273. data/node_modules/minimatch/dist/mjs/assert-valid-pattern.js.map +0 -1
  274. data/node_modules/minimatch/dist/mjs/ast.d.ts +0 -19
  275. data/node_modules/minimatch/dist/mjs/ast.d.ts.map +0 -1
  276. data/node_modules/minimatch/dist/mjs/ast.js +0 -585
  277. data/node_modules/minimatch/dist/mjs/ast.js.map +0 -1
  278. data/node_modules/minimatch/dist/mjs/brace-expressions.d.ts +0 -8
  279. data/node_modules/minimatch/dist/mjs/brace-expressions.d.ts.map +0 -1
  280. data/node_modules/minimatch/dist/mjs/brace-expressions.js +0 -148
  281. data/node_modules/minimatch/dist/mjs/brace-expressions.js.map +0 -1
  282. data/node_modules/minimatch/dist/mjs/escape.d.ts +0 -12
  283. data/node_modules/minimatch/dist/mjs/escape.d.ts.map +0 -1
  284. data/node_modules/minimatch/dist/mjs/escape.js +0 -18
  285. data/node_modules/minimatch/dist/mjs/escape.js.map +0 -1
  286. data/node_modules/minimatch/dist/mjs/index.d.ts +0 -94
  287. data/node_modules/minimatch/dist/mjs/index.d.ts.map +0 -1
  288. data/node_modules/minimatch/dist/mjs/index.js +0 -995
  289. data/node_modules/minimatch/dist/mjs/index.js.map +0 -1
  290. data/node_modules/minimatch/dist/mjs/package.json +0 -3
  291. data/node_modules/minimatch/dist/mjs/unescape.d.ts +0 -17
  292. data/node_modules/minimatch/dist/mjs/unescape.d.ts.map +0 -1
  293. data/node_modules/minimatch/dist/mjs/unescape.js +0 -20
  294. data/node_modules/minimatch/dist/mjs/unescape.js.map +0 -1
  295. data/node_modules/npm-check-updates/build/index-5sFb3Tvv.js +0 -66
  296. data/node_modules/npm-check-updates/build/index-5sFb3Tvv.js.map +0 -1
  297. data/node_modules/npm-check-updates/build/package.json +0 -183
  298. data/node_modules/npm-check-updates/build/src/bin/cli.d.ts +0 -2
  299. data/node_modules/npm-check-updates/build/src/bin/cli.js +0 -182
  300. data/node_modules/npm-check-updates/build/src/bin/cli.js.map +0 -1
  301. data/node_modules/npm-check-updates/build/src/cli-options.d.ts +0 -9
  302. data/node_modules/npm-check-updates/build/src/cli-options.js +0 -795
  303. data/node_modules/npm-check-updates/build/src/cli-options.js.map +0 -1
  304. data/node_modules/npm-check-updates/build/src/index.d.ts +0 -17
  305. data/node_modules/npm-check-updates/build/src/index.js +0 -316
  306. data/node_modules/npm-check-updates/build/src/index.js.map +0 -1
  307. data/node_modules/npm-check-updates/build/src/lib/cache.d.ts +0 -17
  308. data/node_modules/npm-check-updates/build/src/lib/cache.js +0 -105
  309. data/node_modules/npm-check-updates/build/src/lib/cache.js.map +0 -1
  310. data/node_modules/npm-check-updates/build/src/lib/chalk.d.ts +0 -7
  311. data/node_modules/npm-check-updates/build/src/lib/chalk.js +0 -66
  312. data/node_modules/npm-check-updates/build/src/lib/chalk.js.map +0 -1
  313. data/node_modules/npm-check-updates/build/src/lib/determinePackageManager.d.ts +0 -8
  314. data/node_modules/npm-check-updates/build/src/lib/determinePackageManager.js +0 -32
  315. data/node_modules/npm-check-updates/build/src/lib/determinePackageManager.js.map +0 -1
  316. data/node_modules/npm-check-updates/build/src/lib/doctor.d.ts +0 -8
  317. data/node_modules/npm-check-updates/build/src/lib/doctor.js +0 -290
  318. data/node_modules/npm-check-updates/build/src/lib/doctor.js.map +0 -1
  319. data/node_modules/npm-check-updates/build/src/lib/exists.d.ts +0 -3
  320. data/node_modules/npm-check-updates/build/src/lib/exists.js +0 -10
  321. data/node_modules/npm-check-updates/build/src/lib/exists.js.map +0 -1
  322. data/node_modules/npm-check-updates/build/src/lib/figgy-pudding/index.d.ts +0 -2
  323. data/node_modules/npm-check-updates/build/src/lib/figgy-pudding/index.js +0 -112
  324. data/node_modules/npm-check-updates/build/src/lib/figgy-pudding/index.js.map +0 -1
  325. data/node_modules/npm-check-updates/build/src/lib/filterAndReject.d.ts +0 -12
  326. data/node_modules/npm-check-updates/build/src/lib/filterAndReject.js +0 -80
  327. data/node_modules/npm-check-updates/build/src/lib/filterAndReject.js.map +0 -1
  328. data/node_modules/npm-check-updates/build/src/lib/filterObject.d.ts +0 -4
  329. data/node_modules/npm-check-updates/build/src/lib/filterObject.js +0 -10
  330. data/node_modules/npm-check-updates/build/src/lib/filterObject.js.map +0 -1
  331. data/node_modules/npm-check-updates/build/src/lib/findLockfile.d.ts +0 -12
  332. data/node_modules/npm-check-updates/build/src/lib/findLockfile.js +0 -54
  333. data/node_modules/npm-check-updates/build/src/lib/findLockfile.js.map +0 -1
  334. data/node_modules/npm-check-updates/build/src/lib/findPackage.d.ts +0 -16
  335. data/node_modules/npm-check-updates/build/src/lib/findPackage.js +0 -78
  336. data/node_modules/npm-check-updates/build/src/lib/findPackage.js.map +0 -1
  337. data/node_modules/npm-check-updates/build/src/lib/getAllPackages.d.ts +0 -10
  338. data/node_modules/npm-check-updates/build/src/lib/getAllPackages.js +0 -126
  339. data/node_modules/npm-check-updates/build/src/lib/getAllPackages.js.map +0 -1
  340. data/node_modules/npm-check-updates/build/src/lib/getCurrentDependencies.d.ts +0 -15
  341. data/node_modules/npm-check-updates/build/src/lib/getCurrentDependencies.js +0 -76
  342. data/node_modules/npm-check-updates/build/src/lib/getCurrentDependencies.js.map +0 -1
  343. data/node_modules/npm-check-updates/build/src/lib/getIgnoredUpgrades.d.ts +0 -8
  344. data/node_modules/npm-check-updates/build/src/lib/getIgnoredUpgrades.js +0 -37
  345. data/node_modules/npm-check-updates/build/src/lib/getIgnoredUpgrades.js.map +0 -1
  346. data/node_modules/npm-check-updates/build/src/lib/getInstalledPackages.d.ts +0 -12
  347. data/node_modules/npm-check-updates/build/src/lib/getInstalledPackages.js +0 -35
  348. data/node_modules/npm-check-updates/build/src/lib/getInstalledPackages.js.map +0 -1
  349. data/node_modules/npm-check-updates/build/src/lib/getNcuRc.d.ts +0 -22
  350. data/node_modules/npm-check-updates/build/src/lib/getNcuRc.js +0 -60
  351. data/node_modules/npm-check-updates/build/src/lib/getNcuRc.js.map +0 -1
  352. data/node_modules/npm-check-updates/build/src/lib/getPackageManager.d.ts +0 -13
  353. data/node_modules/npm-check-updates/build/src/lib/getPackageManager.js +0 -30
  354. data/node_modules/npm-check-updates/build/src/lib/getPackageManager.js.map +0 -1
  355. data/node_modules/npm-check-updates/build/src/lib/getPeerDependencies.d.ts +0 -6
  356. data/node_modules/npm-check-updates/build/src/lib/getPeerDependencies.js +0 -31
  357. data/node_modules/npm-check-updates/build/src/lib/getPeerDependencies.js.map +0 -1
  358. data/node_modules/npm-check-updates/build/src/lib/getPeerDependenciesFromRegistry.d.ts +0 -12
  359. data/node_modules/npm-check-updates/build/src/lib/getPeerDependenciesFromRegistry.js +0 -35
  360. data/node_modules/npm-check-updates/build/src/lib/getPeerDependenciesFromRegistry.js.map +0 -1
  361. data/node_modules/npm-check-updates/build/src/lib/getPreferredWildcard.d.ts +0 -10
  362. data/node_modules/npm-check-updates/build/src/lib/getPreferredWildcard.js +0 -30
  363. data/node_modules/npm-check-updates/build/src/lib/getPreferredWildcard.js.map +0 -1
  364. data/node_modules/npm-check-updates/build/src/lib/getRepoUrl.d.ts +0 -11
  365. data/node_modules/npm-check-updates/build/src/lib/getRepoUrl.js +0 -81
  366. data/node_modules/npm-check-updates/build/src/lib/getRepoUrl.js.map +0 -1
  367. data/node_modules/npm-check-updates/build/src/lib/initOptions.d.ts +0 -7
  368. data/node_modules/npm-check-updates/build/src/lib/initOptions.js +0 -207
  369. data/node_modules/npm-check-updates/build/src/lib/initOptions.js.map +0 -1
  370. data/node_modules/npm-check-updates/build/src/lib/isUpgradeable.d.ts +0 -14
  371. data/node_modules/npm-check-updates/build/src/lib/isUpgradeable.js +0 -68
  372. data/node_modules/npm-check-updates/build/src/lib/isUpgradeable.js.map +0 -1
  373. data/node_modules/npm-check-updates/build/src/lib/keyValueBy.d.ts +0 -6
  374. data/node_modules/npm-check-updates/build/src/lib/keyValueBy.js +0 -23
  375. data/node_modules/npm-check-updates/build/src/lib/keyValueBy.js.map +0 -1
  376. data/node_modules/npm-check-updates/build/src/lib/libnpmconfig/index.d.ts +0 -3
  377. data/node_modules/npm-check-updates/build/src/lib/libnpmconfig/index.js +0 -108
  378. data/node_modules/npm-check-updates/build/src/lib/libnpmconfig/index.js.map +0 -1
  379. data/node_modules/npm-check-updates/build/src/lib/loadPackageInfoFromFile.d.ts +0 -5
  380. data/node_modules/npm-check-updates/build/src/lib/loadPackageInfoFromFile.js +0 -27
  381. data/node_modules/npm-check-updates/build/src/lib/loadPackageInfoFromFile.js.map +0 -1
  382. data/node_modules/npm-check-updates/build/src/lib/logging.d.ts +0 -77
  383. data/node_modules/npm-check-updates/build/src/lib/logging.js +0 -287
  384. data/node_modules/npm-check-updates/build/src/lib/logging.js.map +0 -1
  385. data/node_modules/npm-check-updates/build/src/lib/mergeOptions.d.ts +0 -69
  386. data/node_modules/npm-check-updates/build/src/lib/mergeOptions.js +0 -23
  387. data/node_modules/npm-check-updates/build/src/lib/mergeOptions.js.map +0 -1
  388. data/node_modules/npm-check-updates/build/src/lib/programError.d.ts +0 -6
  389. data/node_modules/npm-check-updates/build/src/lib/programError.js +0 -19
  390. data/node_modules/npm-check-updates/build/src/lib/programError.js.map +0 -1
  391. data/node_modules/npm-check-updates/build/src/lib/queryVersions.d.ts +0 -13
  392. data/node_modules/npm-check-updates/build/src/lib/queryVersions.js +0 -118
  393. data/node_modules/npm-check-updates/build/src/lib/queryVersions.js.map +0 -1
  394. data/node_modules/npm-check-updates/build/src/lib/resolveDepSections.d.ts +0 -4
  395. data/node_modules/npm-check-updates/build/src/lib/resolveDepSections.js +0 -20
  396. data/node_modules/npm-check-updates/build/src/lib/resolveDepSections.js.map +0 -1
  397. data/node_modules/npm-check-updates/build/src/lib/runGlobal.d.ts +0 -5
  398. data/node_modules/npm-check-updates/build/src/lib/runGlobal.js +0 -76
  399. data/node_modules/npm-check-updates/build/src/lib/runGlobal.js.map +0 -1
  400. data/node_modules/npm-check-updates/build/src/lib/runLocal.d.ts +0 -18
  401. data/node_modules/npm-check-updates/build/src/lib/runLocal.js +0 -239
  402. data/node_modules/npm-check-updates/build/src/lib/runLocal.js.map +0 -1
  403. data/node_modules/npm-check-updates/build/src/lib/table.d.ts +0 -7
  404. data/node_modules/npm-check-updates/build/src/lib/table.js +0 -27
  405. data/node_modules/npm-check-updates/build/src/lib/table.js.map +0 -1
  406. data/node_modules/npm-check-updates/build/src/lib/upgradeDependencies.d.ts +0 -14
  407. data/node_modules/npm-check-updates/build/src/lib/upgradeDependencies.js +0 -103
  408. data/node_modules/npm-check-updates/build/src/lib/upgradeDependencies.js.map +0 -1
  409. data/node_modules/npm-check-updates/build/src/lib/upgradePackageData.d.ts +0 -14
  410. data/node_modules/npm-check-updates/build/src/lib/upgradePackageData.js +0 -50
  411. data/node_modules/npm-check-updates/build/src/lib/upgradePackageData.js.map +0 -1
  412. data/node_modules/npm-check-updates/build/src/lib/upgradePackageDefinitions.d.ts +0 -13
  413. data/node_modules/npm-check-updates/build/src/lib/upgradePackageDefinitions.js +0 -58
  414. data/node_modules/npm-check-updates/build/src/lib/upgradePackageDefinitions.js.map +0 -1
  415. data/node_modules/npm-check-updates/build/src/lib/version-util.d.ts +0 -180
  416. data/node_modules/npm-check-updates/build/src/lib/version-util.js +0 -518
  417. data/node_modules/npm-check-updates/build/src/lib/version-util.js.map +0 -1
  418. data/node_modules/npm-check-updates/build/src/lib/wrap.d.ts +0 -3
  419. data/node_modules/npm-check-updates/build/src/lib/wrap.js +0 -45
  420. data/node_modules/npm-check-updates/build/src/lib/wrap.js.map +0 -1
  421. data/node_modules/npm-check-updates/build/src/package-managers/bun.d.ts +0 -18
  422. data/node_modules/npm-check-updates/build/src/package-managers/bun.js +0 -89
  423. data/node_modules/npm-check-updates/build/src/package-managers/bun.js.map +0 -1
  424. data/node_modules/npm-check-updates/build/src/package-managers/filters.d.ts +0 -35
  425. data/node_modules/npm-check-updates/build/src/package-managers/filters.js +0 -96
  426. data/node_modules/npm-check-updates/build/src/package-managers/filters.js.map +0 -1
  427. data/node_modules/npm-check-updates/build/src/package-managers/gitTags.d.ts +0 -16
  428. data/node_modules/npm-check-updates/build/src/package-managers/gitTags.js +0 -112
  429. data/node_modules/npm-check-updates/build/src/package-managers/gitTags.js.map +0 -1
  430. data/node_modules/npm-check-updates/build/src/package-managers/index.d.ts +0 -4
  431. data/node_modules/npm-check-updates/build/src/package-managers/index.js +0 -40
  432. data/node_modules/npm-check-updates/build/src/package-managers/index.js.map +0 -1
  433. data/node_modules/npm-check-updates/build/src/package-managers/npm.d.ts +0 -147
  434. data/node_modules/npm-check-updates/build/src/package-managers/npm.js +0 -688
  435. data/node_modules/npm-check-updates/build/src/package-managers/npm.js.map +0 -1
  436. data/node_modules/npm-check-updates/build/src/package-managers/pnpm.d.ts +0 -25
  437. data/node_modules/npm-check-updates/build/src/package-managers/pnpm.js +0 -103
  438. data/node_modules/npm-check-updates/build/src/package-managers/pnpm.js.map +0 -1
  439. data/node_modules/npm-check-updates/build/src/package-managers/staticRegistry.d.ts +0 -10
  440. data/node_modules/npm-check-updates/build/src/package-managers/staticRegistry.js +0 -52
  441. data/node_modules/npm-check-updates/build/src/package-managers/staticRegistry.js.map +0 -1
  442. data/node_modules/npm-check-updates/build/src/package-managers/yarn.d.ts +0 -60
  443. data/node_modules/npm-check-updates/build/src/package-managers/yarn.js +0 -248
  444. data/node_modules/npm-check-updates/build/src/package-managers/yarn.js.map +0 -1
  445. data/node_modules/npm-check-updates/build/src/scripts/build-options.d.ts +0 -1
  446. data/node_modules/npm-check-updates/build/src/scripts/build-options.js +0 -121
  447. data/node_modules/npm-check-updates/build/src/scripts/build-options.js.map +0 -1
  448. data/node_modules/npm-check-updates/build/src/types/CLIOption.d.ts +0 -16
  449. data/node_modules/npm-check-updates/build/src/types/CLIOption.js +0 -3
  450. data/node_modules/npm-check-updates/build/src/types/CLIOption.js.map +0 -1
  451. data/node_modules/npm-check-updates/build/src/types/Cacher.d.ts +0 -10
  452. data/node_modules/npm-check-updates/build/src/types/Cacher.js +0 -3
  453. data/node_modules/npm-check-updates/build/src/types/Cacher.js.map +0 -1
  454. data/node_modules/npm-check-updates/build/src/types/ExtendedHelp.d.ts +0 -5
  455. data/node_modules/npm-check-updates/build/src/types/ExtendedHelp.js +0 -3
  456. data/node_modules/npm-check-updates/build/src/types/ExtendedHelp.js.map +0 -1
  457. data/node_modules/npm-check-updates/build/src/types/FilterFunction.d.ts +0 -3
  458. data/node_modules/npm-check-updates/build/src/types/FilterFunction.js +0 -3
  459. data/node_modules/npm-check-updates/build/src/types/FilterFunction.js.map +0 -1
  460. data/node_modules/npm-check-updates/build/src/types/FilterPattern.d.ts +0 -3
  461. data/node_modules/npm-check-updates/build/src/types/FilterPattern.js +0 -3
  462. data/node_modules/npm-check-updates/build/src/types/FilterPattern.js.map +0 -1
  463. data/node_modules/npm-check-updates/build/src/types/FilterResultsFunction.d.ts +0 -9
  464. data/node_modules/npm-check-updates/build/src/types/FilterResultsFunction.js +0 -3
  465. data/node_modules/npm-check-updates/build/src/types/FilterResultsFunction.js.map +0 -1
  466. data/node_modules/npm-check-updates/build/src/types/GetVersion.d.ts +0 -6
  467. data/node_modules/npm-check-updates/build/src/types/GetVersion.js +0 -3
  468. data/node_modules/npm-check-updates/build/src/types/GetVersion.js.map +0 -1
  469. data/node_modules/npm-check-updates/build/src/types/GroupFunction.d.ts +0 -4
  470. data/node_modules/npm-check-updates/build/src/types/GroupFunction.js +0 -3
  471. data/node_modules/npm-check-updates/build/src/types/GroupFunction.js.map +0 -1
  472. data/node_modules/npm-check-updates/build/src/types/IgnoredUpgrade.d.ts +0 -8
  473. data/node_modules/npm-check-updates/build/src/types/IgnoredUpgrade.js +0 -3
  474. data/node_modules/npm-check-updates/build/src/types/IgnoredUpgrade.js.map +0 -1
  475. data/node_modules/npm-check-updates/build/src/types/IndexType.d.ts +0 -4
  476. data/node_modules/npm-check-updates/build/src/types/IndexType.js +0 -4
  477. data/node_modules/npm-check-updates/build/src/types/IndexType.js.map +0 -1
  478. data/node_modules/npm-check-updates/build/src/types/Maybe.d.ts +0 -2
  479. data/node_modules/npm-check-updates/build/src/types/Maybe.js +0 -3
  480. data/node_modules/npm-check-updates/build/src/types/Maybe.js.map +0 -1
  481. data/node_modules/npm-check-updates/build/src/types/MockedVersions.d.ts +0 -5
  482. data/node_modules/npm-check-updates/build/src/types/MockedVersions.js +0 -3
  483. data/node_modules/npm-check-updates/build/src/types/MockedVersions.js.map +0 -1
  484. data/node_modules/npm-check-updates/build/src/types/NpmConfig.d.ts +0 -4
  485. data/node_modules/npm-check-updates/build/src/types/NpmConfig.js +0 -3
  486. data/node_modules/npm-check-updates/build/src/types/NpmConfig.js.map +0 -1
  487. data/node_modules/npm-check-updates/build/src/types/NpmOptions.d.ts +0 -6
  488. data/node_modules/npm-check-updates/build/src/types/NpmOptions.js +0 -3
  489. data/node_modules/npm-check-updates/build/src/types/NpmOptions.js.map +0 -1
  490. data/node_modules/npm-check-updates/build/src/types/Options.d.ts +0 -17
  491. data/node_modules/npm-check-updates/build/src/types/Options.js +0 -3
  492. data/node_modules/npm-check-updates/build/src/types/Options.js.map +0 -1
  493. data/node_modules/npm-check-updates/build/src/types/PackageFile.d.ts +0 -24
  494. data/node_modules/npm-check-updates/build/src/types/PackageFile.js +0 -3
  495. data/node_modules/npm-check-updates/build/src/types/PackageFile.js.map +0 -1
  496. data/node_modules/npm-check-updates/build/src/types/PackageFileRepository.d.ts +0 -5
  497. data/node_modules/npm-check-updates/build/src/types/PackageFileRepository.js +0 -3
  498. data/node_modules/npm-check-updates/build/src/types/PackageFileRepository.js.map +0 -1
  499. data/node_modules/npm-check-updates/build/src/types/PackageInfo.d.ts +0 -8
  500. data/node_modules/npm-check-updates/build/src/types/PackageInfo.js +0 -3
  501. data/node_modules/npm-check-updates/build/src/types/PackageInfo.js.map +0 -1
  502. data/node_modules/npm-check-updates/build/src/types/PackageManager.d.ts +0 -18
  503. data/node_modules/npm-check-updates/build/src/types/PackageManager.js +0 -3
  504. data/node_modules/npm-check-updates/build/src/types/PackageManager.js.map +0 -1
  505. data/node_modules/npm-check-updates/build/src/types/PackageManagerName.d.ts +0 -2
  506. data/node_modules/npm-check-updates/build/src/types/PackageManagerName.js +0 -3
  507. data/node_modules/npm-check-updates/build/src/types/PackageManagerName.js.map +0 -1
  508. data/node_modules/npm-check-updates/build/src/types/Packument.d.ts +0 -13
  509. data/node_modules/npm-check-updates/build/src/types/Packument.js +0 -3
  510. data/node_modules/npm-check-updates/build/src/types/Packument.js.map +0 -1
  511. data/node_modules/npm-check-updates/build/src/types/RunOptions.d.ts +0 -137
  512. data/node_modules/npm-check-updates/build/src/types/RunOptions.js +0 -3
  513. data/node_modules/npm-check-updates/build/src/types/RunOptions.js.map +0 -1
  514. data/node_modules/npm-check-updates/build/src/types/SpawnOptions.d.ts +0 -6
  515. data/node_modules/npm-check-updates/build/src/types/SpawnOptions.js +0 -3
  516. data/node_modules/npm-check-updates/build/src/types/SpawnOptions.js.map +0 -1
  517. data/node_modules/npm-check-updates/build/src/types/StaticRegistry.d.ts +0 -4
  518. data/node_modules/npm-check-updates/build/src/types/StaticRegistry.js +0 -3
  519. data/node_modules/npm-check-updates/build/src/types/StaticRegistry.js.map +0 -1
  520. data/node_modules/npm-check-updates/build/src/types/Target.d.ts +0 -9
  521. data/node_modules/npm-check-updates/build/src/types/Target.js +0 -6
  522. data/node_modules/npm-check-updates/build/src/types/Target.js.map +0 -1
  523. data/node_modules/npm-check-updates/build/src/types/TargetFunction.d.ts +0 -3
  524. data/node_modules/npm-check-updates/build/src/types/TargetFunction.js +0 -3
  525. data/node_modules/npm-check-updates/build/src/types/TargetFunction.js.map +0 -1
  526. data/node_modules/npm-check-updates/build/src/types/UpgradeGroup.d.ts +0 -1
  527. data/node_modules/npm-check-updates/build/src/types/UpgradeGroup.js +0 -3
  528. data/node_modules/npm-check-updates/build/src/types/UpgradeGroup.js.map +0 -1
  529. data/node_modules/npm-check-updates/build/src/types/Version.d.ts +0 -2
  530. data/node_modules/npm-check-updates/build/src/types/Version.js +0 -3
  531. data/node_modules/npm-check-updates/build/src/types/Version.js.map +0 -1
  532. data/node_modules/npm-check-updates/build/src/types/VersionLevel.d.ts +0 -2
  533. data/node_modules/npm-check-updates/build/src/types/VersionLevel.js +0 -3
  534. data/node_modules/npm-check-updates/build/src/types/VersionLevel.js.map +0 -1
  535. data/node_modules/npm-check-updates/build/src/types/VersionResult.d.ts +0 -7
  536. data/node_modules/npm-check-updates/build/src/types/VersionResult.js +0 -3
  537. data/node_modules/npm-check-updates/build/src/types/VersionResult.js.map +0 -1
  538. data/node_modules/npm-check-updates/build/src/types/VersionSpec.d.ts +0 -2
  539. data/node_modules/npm-check-updates/build/src/types/VersionSpec.js +0 -3
  540. data/node_modules/npm-check-updates/build/src/types/VersionSpec.js.map +0 -1
  541. data/node_modules/npm-check-updates/node_modules/chalk/license +0 -9
  542. data/node_modules/npm-check-updates/node_modules/chalk/package.json +0 -83
  543. data/node_modules/npm-check-updates/node_modules/chalk/readme.md +0 -325
  544. data/node_modules/npm-check-updates/node_modules/chalk/source/index.d.ts +0 -320
  545. data/node_modules/npm-check-updates/node_modules/chalk/source/index.js +0 -225
  546. data/node_modules/npm-check-updates/node_modules/chalk/source/utilities.js +0 -33
  547. data/node_modules/npm-check-updates/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
  548. data/node_modules/npm-check-updates/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
  549. data/node_modules/npm-check-updates/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
  550. data/node_modules/npm-check-updates/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
  551. data/node_modules/npm-check-updates/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
  552. data/node_modules/npm-check-updates/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
  553. data/node_modules/npm-check-updates/node_modules/minimatch/LICENSE +0 -15
  554. data/node_modules/npm-check-updates/node_modules/minimatch/README.md +0 -454
  555. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/assert-valid-pattern.d.ts +0 -2
  556. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/assert-valid-pattern.d.ts.map +0 -1
  557. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/assert-valid-pattern.js +0 -14
  558. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/assert-valid-pattern.js.map +0 -1
  559. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/ast.d.ts +0 -19
  560. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/ast.d.ts.map +0 -1
  561. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/ast.js +0 -589
  562. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/ast.js.map +0 -1
  563. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/brace-expressions.d.ts +0 -8
  564. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/brace-expressions.d.ts.map +0 -1
  565. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/brace-expressions.js +0 -152
  566. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/brace-expressions.js.map +0 -1
  567. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/escape.d.ts +0 -12
  568. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/escape.d.ts.map +0 -1
  569. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/escape.js +0 -22
  570. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/escape.js.map +0 -1
  571. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/index.d.ts +0 -94
  572. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/index.d.ts.map +0 -1
  573. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/index.js +0 -1011
  574. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/index.js.map +0 -1
  575. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/package.json +0 -3
  576. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/unescape.d.ts +0 -17
  577. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/unescape.d.ts.map +0 -1
  578. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/unescape.js +0 -24
  579. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/unescape.js.map +0 -1
  580. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/assert-valid-pattern.d.ts +0 -2
  581. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/assert-valid-pattern.d.ts.map +0 -1
  582. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/assert-valid-pattern.js +0 -10
  583. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/assert-valid-pattern.js.map +0 -1
  584. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/ast.d.ts +0 -19
  585. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/ast.d.ts.map +0 -1
  586. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/ast.js +0 -585
  587. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/ast.js.map +0 -1
  588. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/brace-expressions.d.ts +0 -8
  589. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/brace-expressions.d.ts.map +0 -1
  590. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/brace-expressions.js +0 -148
  591. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/brace-expressions.js.map +0 -1
  592. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/escape.d.ts +0 -12
  593. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/escape.d.ts.map +0 -1
  594. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/escape.js +0 -18
  595. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/escape.js.map +0 -1
  596. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/index.d.ts +0 -94
  597. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/index.d.ts.map +0 -1
  598. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/index.js +0 -995
  599. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/index.js.map +0 -1
  600. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/package.json +0 -3
  601. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/unescape.d.ts +0 -17
  602. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/unescape.d.ts.map +0 -1
  603. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/unescape.js +0 -20
  604. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/unescape.js.map +0 -1
  605. data/node_modules/npm-check-updates/node_modules/minimatch/node_modules/brace-expansion/LICENSE +0 -21
  606. data/node_modules/npm-check-updates/node_modules/minimatch/node_modules/brace-expansion/README.md +0 -135
  607. data/node_modules/npm-check-updates/node_modules/minimatch/node_modules/brace-expansion/index.js +0 -203
  608. data/node_modules/npm-check-updates/node_modules/minimatch/node_modules/brace-expansion/package.json +0 -46
  609. data/node_modules/npm-check-updates/node_modules/minimatch/package.json +0 -86
  610. data/node_modules/npm-check-updates/node_modules/strip-ansi/index.d.ts +0 -15
  611. data/node_modules/npm-check-updates/node_modules/strip-ansi/index.js +0 -14
  612. data/node_modules/npm-check-updates/node_modules/strip-ansi/license +0 -9
  613. data/node_modules/npm-check-updates/node_modules/strip-ansi/node_modules/ansi-regex/index.d.ts +0 -33
  614. data/node_modules/npm-check-updates/node_modules/strip-ansi/node_modules/ansi-regex/index.js +0 -8
  615. data/node_modules/npm-check-updates/node_modules/strip-ansi/node_modules/ansi-regex/license +0 -9
  616. data/node_modules/npm-check-updates/node_modules/strip-ansi/node_modules/ansi-regex/package.json +0 -58
  617. data/node_modules/npm-check-updates/node_modules/strip-ansi/node_modules/ansi-regex/readme.md +0 -72
  618. data/node_modules/npm-check-updates/node_modules/strip-ansi/package.json +0 -57
  619. data/node_modules/npm-check-updates/node_modules/strip-ansi/readme.md +0 -41
  620. data/node_modules/rimraf/dist/commonjs/default-tmp.d.ts +0 -3
  621. data/node_modules/rimraf/dist/commonjs/default-tmp.d.ts.map +0 -1
  622. data/node_modules/rimraf/dist/commonjs/default-tmp.js +0 -61
  623. data/node_modules/rimraf/dist/commonjs/default-tmp.js.map +0 -1
  624. data/node_modules/rimraf/dist/commonjs/fix-eperm.d.ts +0 -3
  625. data/node_modules/rimraf/dist/commonjs/fix-eperm.d.ts.map +0 -1
  626. data/node_modules/rimraf/dist/commonjs/fix-eperm.js +0 -58
  627. data/node_modules/rimraf/dist/commonjs/fix-eperm.js.map +0 -1
  628. data/node_modules/rimraf/dist/commonjs/fs.d.ts +0 -17
  629. data/node_modules/rimraf/dist/commonjs/fs.d.ts.map +0 -1
  630. data/node_modules/rimraf/dist/commonjs/fs.js +0 -46
  631. data/node_modules/rimraf/dist/commonjs/fs.js.map +0 -1
  632. data/node_modules/rimraf/dist/commonjs/ignore-enoent.d.ts +0 -3
  633. data/node_modules/rimraf/dist/commonjs/ignore-enoent.d.ts.map +0 -1
  634. data/node_modules/rimraf/dist/commonjs/ignore-enoent.js +0 -21
  635. data/node_modules/rimraf/dist/commonjs/ignore-enoent.js.map +0 -1
  636. data/node_modules/rimraf/dist/commonjs/index.d.ts +0 -50
  637. data/node_modules/rimraf/dist/commonjs/index.d.ts.map +0 -1
  638. data/node_modules/rimraf/dist/commonjs/index.js +0 -76
  639. data/node_modules/rimraf/dist/commonjs/index.js.map +0 -1
  640. data/node_modules/rimraf/dist/commonjs/opt-arg.d.ts +0 -35
  641. data/node_modules/rimraf/dist/commonjs/opt-arg.d.ts.map +0 -1
  642. data/node_modules/rimraf/dist/commonjs/opt-arg.js +0 -53
  643. data/node_modules/rimraf/dist/commonjs/opt-arg.js.map +0 -1
  644. data/node_modules/rimraf/dist/commonjs/package.json +0 -1
  645. data/node_modules/rimraf/dist/commonjs/path-arg.d.ts +0 -4
  646. data/node_modules/rimraf/dist/commonjs/path-arg.d.ts.map +0 -1
  647. data/node_modules/rimraf/dist/commonjs/path-arg.js +0 -54
  648. data/node_modules/rimraf/dist/commonjs/path-arg.js.map +0 -1
  649. data/node_modules/rimraf/dist/commonjs/platform.d.ts +0 -3
  650. data/node_modules/rimraf/dist/commonjs/platform.d.ts.map +0 -1
  651. data/node_modules/rimraf/dist/commonjs/platform.js +0 -4
  652. data/node_modules/rimraf/dist/commonjs/platform.js.map +0 -1
  653. data/node_modules/rimraf/dist/commonjs/readdir-or-error.d.ts +0 -5
  654. data/node_modules/rimraf/dist/commonjs/readdir-or-error.d.ts.map +0 -1
  655. data/node_modules/rimraf/dist/commonjs/readdir-or-error.js +0 -19
  656. data/node_modules/rimraf/dist/commonjs/readdir-or-error.js.map +0 -1
  657. data/node_modules/rimraf/dist/commonjs/retry-busy.d.ts +0 -8
  658. data/node_modules/rimraf/dist/commonjs/retry-busy.d.ts.map +0 -1
  659. data/node_modules/rimraf/dist/commonjs/retry-busy.js +0 -68
  660. data/node_modules/rimraf/dist/commonjs/retry-busy.js.map +0 -1
  661. data/node_modules/rimraf/dist/commonjs/rimraf-manual.d.ts +0 -3
  662. data/node_modules/rimraf/dist/commonjs/rimraf-manual.d.ts.map +0 -1
  663. data/node_modules/rimraf/dist/commonjs/rimraf-manual.js +0 -12
  664. data/node_modules/rimraf/dist/commonjs/rimraf-manual.js.map +0 -1
  665. data/node_modules/rimraf/dist/commonjs/rimraf-move-remove.d.ts +0 -4
  666. data/node_modules/rimraf/dist/commonjs/rimraf-move-remove.d.ts.map +0 -1
  667. data/node_modules/rimraf/dist/commonjs/rimraf-move-remove.js +0 -192
  668. data/node_modules/rimraf/dist/commonjs/rimraf-move-remove.js.map +0 -1
  669. data/node_modules/rimraf/dist/commonjs/rimraf-native.d.ts +0 -4
  670. data/node_modules/rimraf/dist/commonjs/rimraf-native.d.ts.map +0 -1
  671. data/node_modules/rimraf/dist/commonjs/rimraf-native.js +0 -24
  672. data/node_modules/rimraf/dist/commonjs/rimraf-native.js.map +0 -1
  673. data/node_modules/rimraf/dist/commonjs/rimraf-posix.d.ts +0 -4
  674. data/node_modules/rimraf/dist/commonjs/rimraf-posix.d.ts.map +0 -1
  675. data/node_modules/rimraf/dist/commonjs/rimraf-posix.js +0 -123
  676. data/node_modules/rimraf/dist/commonjs/rimraf-posix.js.map +0 -1
  677. data/node_modules/rimraf/dist/commonjs/rimraf-windows.d.ts +0 -4
  678. data/node_modules/rimraf/dist/commonjs/rimraf-windows.d.ts.map +0 -1
  679. data/node_modules/rimraf/dist/commonjs/rimraf-windows.js +0 -182
  680. data/node_modules/rimraf/dist/commonjs/rimraf-windows.js.map +0 -1
  681. data/node_modules/rimraf/dist/commonjs/use-native.d.ts +0 -4
  682. data/node_modules/rimraf/dist/commonjs/use-native.d.ts.map +0 -1
  683. data/node_modules/rimraf/dist/commonjs/use-native.js +0 -22
  684. data/node_modules/rimraf/dist/commonjs/use-native.js.map +0 -1
  685. data/node_modules/rimraf/dist/esm/bin.d.mts +0 -8
  686. data/node_modules/rimraf/dist/esm/bin.d.mts.map +0 -1
  687. data/node_modules/rimraf/dist/esm/bin.mjs +0 -256
  688. data/node_modules/rimraf/dist/esm/bin.mjs.map +0 -1
  689. data/node_modules/rimraf/dist/esm/default-tmp.d.ts +0 -3
  690. data/node_modules/rimraf/dist/esm/default-tmp.d.ts.map +0 -1
  691. data/node_modules/rimraf/dist/esm/default-tmp.js +0 -55
  692. data/node_modules/rimraf/dist/esm/default-tmp.js.map +0 -1
  693. data/node_modules/rimraf/dist/esm/fix-eperm.d.ts +0 -3
  694. data/node_modules/rimraf/dist/esm/fix-eperm.d.ts.map +0 -1
  695. data/node_modules/rimraf/dist/esm/fix-eperm.js +0 -53
  696. data/node_modules/rimraf/dist/esm/fix-eperm.js.map +0 -1
  697. data/node_modules/rimraf/dist/esm/fs.d.ts +0 -17
  698. data/node_modules/rimraf/dist/esm/fs.d.ts.map +0 -1
  699. data/node_modules/rimraf/dist/esm/fs.js +0 -31
  700. data/node_modules/rimraf/dist/esm/fs.js.map +0 -1
  701. data/node_modules/rimraf/dist/esm/ignore-enoent.d.ts +0 -3
  702. data/node_modules/rimraf/dist/esm/ignore-enoent.d.ts.map +0 -1
  703. data/node_modules/rimraf/dist/esm/ignore-enoent.js +0 -16
  704. data/node_modules/rimraf/dist/esm/ignore-enoent.js.map +0 -1
  705. data/node_modules/rimraf/dist/esm/index.d.ts +0 -50
  706. data/node_modules/rimraf/dist/esm/index.d.ts.map +0 -1
  707. data/node_modules/rimraf/dist/esm/index.js +0 -68
  708. data/node_modules/rimraf/dist/esm/index.js.map +0 -1
  709. data/node_modules/rimraf/dist/esm/opt-arg.d.ts +0 -35
  710. data/node_modules/rimraf/dist/esm/opt-arg.d.ts.map +0 -1
  711. data/node_modules/rimraf/dist/esm/opt-arg.js +0 -46
  712. data/node_modules/rimraf/dist/esm/opt-arg.js.map +0 -1
  713. data/node_modules/rimraf/dist/esm/package.json +0 -1
  714. data/node_modules/rimraf/dist/esm/path-arg.d.ts +0 -4
  715. data/node_modules/rimraf/dist/esm/path-arg.d.ts.map +0 -1
  716. data/node_modules/rimraf/dist/esm/path-arg.js +0 -49
  717. data/node_modules/rimraf/dist/esm/path-arg.js.map +0 -1
  718. data/node_modules/rimraf/dist/esm/platform.d.ts +0 -3
  719. data/node_modules/rimraf/dist/esm/platform.d.ts.map +0 -1
  720. data/node_modules/rimraf/dist/esm/platform.js +0 -2
  721. data/node_modules/rimraf/dist/esm/platform.js.map +0 -1
  722. data/node_modules/rimraf/dist/esm/readdir-or-error.d.ts +0 -5
  723. data/node_modules/rimraf/dist/esm/readdir-or-error.d.ts.map +0 -1
  724. data/node_modules/rimraf/dist/esm/readdir-or-error.js +0 -14
  725. data/node_modules/rimraf/dist/esm/readdir-or-error.js.map +0 -1
  726. data/node_modules/rimraf/dist/esm/retry-busy.d.ts +0 -8
  727. data/node_modules/rimraf/dist/esm/retry-busy.d.ts.map +0 -1
  728. data/node_modules/rimraf/dist/esm/retry-busy.js +0 -63
  729. data/node_modules/rimraf/dist/esm/retry-busy.js.map +0 -1
  730. data/node_modules/rimraf/dist/esm/rimraf-manual.d.ts +0 -3
  731. data/node_modules/rimraf/dist/esm/rimraf-manual.d.ts.map +0 -1
  732. data/node_modules/rimraf/dist/esm/rimraf-manual.js +0 -6
  733. data/node_modules/rimraf/dist/esm/rimraf-manual.js.map +0 -1
  734. data/node_modules/rimraf/dist/esm/rimraf-move-remove.d.ts +0 -4
  735. data/node_modules/rimraf/dist/esm/rimraf-move-remove.d.ts.map +0 -1
  736. data/node_modules/rimraf/dist/esm/rimraf-move-remove.js +0 -187
  737. data/node_modules/rimraf/dist/esm/rimraf-move-remove.js.map +0 -1
  738. data/node_modules/rimraf/dist/esm/rimraf-native.d.ts +0 -4
  739. data/node_modules/rimraf/dist/esm/rimraf-native.d.ts.map +0 -1
  740. data/node_modules/rimraf/dist/esm/rimraf-native.js +0 -19
  741. data/node_modules/rimraf/dist/esm/rimraf-native.js.map +0 -1
  742. data/node_modules/rimraf/dist/esm/rimraf-posix.d.ts +0 -4
  743. data/node_modules/rimraf/dist/esm/rimraf-posix.d.ts.map +0 -1
  744. data/node_modules/rimraf/dist/esm/rimraf-posix.js +0 -118
  745. data/node_modules/rimraf/dist/esm/rimraf-posix.js.map +0 -1
  746. data/node_modules/rimraf/dist/esm/rimraf-windows.d.ts +0 -4
  747. data/node_modules/rimraf/dist/esm/rimraf-windows.d.ts.map +0 -1
  748. data/node_modules/rimraf/dist/esm/rimraf-windows.js +0 -177
  749. data/node_modules/rimraf/dist/esm/rimraf-windows.js.map +0 -1
  750. data/node_modules/rimraf/dist/esm/use-native.d.ts +0 -4
  751. data/node_modules/rimraf/dist/esm/use-native.d.ts.map +0 -1
  752. data/node_modules/rimraf/dist/esm/use-native.js +0 -16
  753. data/node_modules/rimraf/dist/esm/use-native.js.map +0 -1
  754. data/node_modules/semver/classes/comparator.js +0 -141
  755. data/node_modules/semver/classes/index.js +0 -5
  756. data/node_modules/semver/classes/range.js +0 -539
  757. data/node_modules/semver/classes/semver.js +0 -302
  758. data/node_modules/semver/functions/clean.js +0 -6
  759. data/node_modules/semver/functions/cmp.js +0 -52
  760. data/node_modules/semver/functions/coerce.js +0 -52
  761. data/node_modules/semver/functions/compare-build.js +0 -7
  762. data/node_modules/semver/functions/compare-loose.js +0 -3
  763. data/node_modules/semver/functions/compare.js +0 -5
  764. data/node_modules/semver/functions/diff.js +0 -65
  765. data/node_modules/semver/functions/eq.js +0 -3
  766. data/node_modules/semver/functions/gt.js +0 -3
  767. data/node_modules/semver/functions/gte.js +0 -3
  768. data/node_modules/semver/functions/inc.js +0 -19
  769. data/node_modules/semver/functions/lt.js +0 -3
  770. data/node_modules/semver/functions/lte.js +0 -3
  771. data/node_modules/semver/functions/major.js +0 -3
  772. data/node_modules/semver/functions/minor.js +0 -3
  773. data/node_modules/semver/functions/neq.js +0 -3
  774. data/node_modules/semver/functions/parse.js +0 -16
  775. data/node_modules/semver/functions/patch.js +0 -3
  776. data/node_modules/semver/functions/prerelease.js +0 -6
  777. data/node_modules/semver/functions/rcompare.js +0 -3
  778. data/node_modules/semver/functions/rsort.js +0 -3
  779. data/node_modules/semver/functions/satisfies.js +0 -10
  780. data/node_modules/semver/functions/sort.js +0 -3
  781. data/node_modules/semver/functions/valid.js +0 -6
  782. data/node_modules/semver/index.js +0 -89
  783. data/node_modules/semver/internal/constants.js +0 -35
  784. data/node_modules/semver/internal/debug.js +0 -9
  785. data/node_modules/semver/internal/identifiers.js +0 -23
  786. data/node_modules/semver/internal/parse-options.js +0 -15
  787. data/node_modules/semver/internal/re.js +0 -212
  788. data/node_modules/semver/node_modules/lru-cache/LICENSE +0 -15
  789. data/node_modules/semver/node_modules/lru-cache/README.md +0 -166
  790. data/node_modules/semver/node_modules/lru-cache/index.js +0 -334
  791. data/node_modules/semver/node_modules/lru-cache/package.json +0 -34
  792. data/node_modules/semver/preload.js +0 -2
  793. data/node_modules/semver/ranges/gtr.js +0 -4
  794. data/node_modules/semver/ranges/intersects.js +0 -7
  795. data/node_modules/semver/ranges/ltr.js +0 -4
  796. data/node_modules/semver/ranges/max-satisfying.js +0 -25
  797. data/node_modules/semver/ranges/min-satisfying.js +0 -24
  798. data/node_modules/semver/ranges/min-version.js +0 -61
  799. data/node_modules/semver/ranges/outside.js +0 -80
  800. data/node_modules/semver/ranges/simplify.js +0 -47
  801. data/node_modules/semver/ranges/subset.js +0 -247
  802. data/node_modules/semver/ranges/to-comparators.js +0 -8
  803. data/node_modules/semver/ranges/valid.js +0 -11
  804. /data/node_modules/{eslint/node_modules/chalk → chalk}/index.d.ts +0 -0
  805. /data/node_modules/{eslint/node_modules/chalk → chalk}/source/templates.js +0 -0
  806. /data/node_modules/{eslint/node_modules/chalk → chalk}/source/util.js +0 -0
  807. /data/node_modules/{@eslint/config-array/node_modules/minimatch → minimatch}/minimatch.js +0 -0
@@ -2,85 +2,32 @@
2
2
  "author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me)",
3
3
  "name": "minimatch",
4
4
  "description": "a glob matcher in javascript",
5
- "version": "9.0.3",
5
+ "version": "3.1.2",
6
+ "publishConfig": {
7
+ "tag": "v3-legacy"
8
+ },
6
9
  "repository": {
7
10
  "type": "git",
8
11
  "url": "git://github.com/isaacs/minimatch.git"
9
12
  },
10
- "main": "./dist/cjs/index.js",
11
- "module": "./dist/mjs/index.js",
12
- "types": "./dist/cjs/index.d.ts",
13
- "exports": {
14
- ".": {
15
- "import": {
16
- "types": "./dist/mjs/index.d.ts",
17
- "default": "./dist/mjs/index.js"
18
- },
19
- "require": {
20
- "types": "./dist/cjs/index.d.ts",
21
- "default": "./dist/cjs/index.js"
22
- }
23
- }
24
- },
25
- "files": [
26
- "dist"
27
- ],
13
+ "main": "minimatch.js",
28
14
  "scripts": {
15
+ "test": "tap",
29
16
  "preversion": "npm test",
30
17
  "postversion": "npm publish",
31
- "prepublishOnly": "git push origin --follow-tags",
32
- "preprepare": "rm -rf dist",
33
- "prepare": "tsc -p tsconfig.json && tsc -p tsconfig-esm.json",
34
- "postprepare": "bash fixup.sh",
35
- "pretest": "npm run prepare",
36
- "presnap": "npm run prepare",
37
- "test": "c8 tap",
38
- "snap": "c8 tap",
39
- "format": "prettier --write . --loglevel warn",
40
- "benchmark": "node benchmark/index.js",
41
- "typedoc": "typedoc --tsconfig tsconfig-esm.json ./src/*.ts"
42
- },
43
- "prettier": {
44
- "semi": false,
45
- "printWidth": 80,
46
- "tabWidth": 2,
47
- "useTabs": false,
48
- "singleQuote": true,
49
- "jsxSingleQuote": false,
50
- "bracketSameLine": true,
51
- "arrowParens": "avoid",
52
- "endOfLine": "lf"
18
+ "postpublish": "git push origin --all; git push origin --tags"
53
19
  },
54
20
  "engines": {
55
- "node": ">=16 || 14 >=14.17"
21
+ "node": "*"
56
22
  },
57
23
  "dependencies": {
58
- "brace-expansion": "^2.0.1"
24
+ "brace-expansion": "^1.1.7"
59
25
  },
60
26
  "devDependencies": {
61
- "@types/brace-expansion": "^1.1.0",
62
- "@types/node": "^18.15.11",
63
- "@types/tap": "^15.0.8",
64
- "c8": "^7.12.0",
65
- "eslint-config-prettier": "^8.6.0",
66
- "mkdirp": "1",
67
- "prettier": "^2.8.2",
68
- "tap": "^16.3.7",
69
- "ts-node": "^10.9.1",
70
- "typedoc": "^0.23.21",
71
- "typescript": "^4.9.3"
27
+ "tap": "^15.1.6"
72
28
  },
73
- "tap": {
74
- "coverage": false,
75
- "node-arg": [
76
- "--no-warnings",
77
- "--loader",
78
- "ts-node/esm"
79
- ],
80
- "ts": false
81
- },
82
- "funding": {
83
- "url": "https://github.com/sponsors/isaacs"
84
- },
85
- "license": "ISC"
29
+ "license": "ISC",
30
+ "files": [
31
+ "minimatch.js"
32
+ ]
86
33
  }
@@ -2,7 +2,6 @@
2
2
 
3
3
  [![npm version](https://img.shields.io/npm/v/npm-check-updates)](https://www.npmjs.com/package/npm-check-updates)
4
4
  [![Build Status](https://img.shields.io/github/actions/workflow/status/raineorshine/npm-check-updates/test.yml?branch=main&label=tests&logo=github)](https://github.com/raineorshine/npm-check-updates/actions?query=workflow%3ATests+branch%3Amain)
5
- [![Coverage Status](https://img.shields.io/coveralls/github/raineorshine/npm-check-updates/main)](https://coveralls.io/github/raineorshine/npm-check-updates?branch=main)
6
5
 
7
6
  **npm-check-updates upgrades your package.json dependencies to the _latest_ versions, ignoring specified versions.**
8
7
 
@@ -133,9 +132,8 @@ ncu "/^(?!react-).*$/" # windows
133
132
  - `1.0.0 < 2.0.0` → `^3.0.0`
134
133
  - "Any version" is preserved:
135
134
  - `*` → `*`
136
- - Prerelease and deprecated versions are ignored by default.
135
+ - Prerelease versions are ignored by default.
137
136
  - Use `--pre` to include prerelease versions (e.g. `alpha`, `beta`, `build1235`)
138
- - Use `--deprecated` to include deprecated versions
139
137
  - With `--target minor`, only update patch and minor:
140
138
  - `0.1.0` → `0.2.1`
141
139
  - With `--target patch`, only update patch:
@@ -200,11 +198,11 @@ Options that take no arguments can be negated by prefixing them with `--no-`, e.
200
198
  </tr>
201
199
  <tr>
202
200
  <td>--dep &lt;value&gt;</td>
203
- <td>Check one or more sections of dependencies only: dev, optional, peer, prod, or packageManager (comma-delimited). (default: ["prod","dev","optional"])</td>
201
+ <td>Check one or more sections of dependencies only: dev, optional, peer, prod, or packageManager (comma-delimited). (default: ["prod","dev","optional","packageManager"])</td>
204
202
  </tr>
205
203
  <tr>
206
204
  <td>--deprecated</td>
207
- <td>Include deprecated packages.</td>
205
+ <td>Include deprecated packages. Use <code>--no-deprecated</code> to exclude deprecated packages (uses more bandwidth). (default: true)</td>
208
206
  </tr>
209
207
  <tr>
210
208
  <td><a href="#doctor">-d, --doctor</a></td>
@@ -332,7 +330,7 @@ Options that take no arguments can be negated by prefixing them with `--no-`, e.
332
330
  </tr>
333
331
  <tr>
334
332
  <td>--root</td>
335
- <td>Runs updates on the root project in addition to specified workspaces. Only allowed with <code>--workspace</code> or <code>--workspaces</code>. (default: false)</td>
333
+ <td>Runs updates on the root project in addition to specified workspaces. Only allowed with <code>--workspace</code> or <code>--workspaces</code>. (default: true)</td>
336
334
  </tr>
337
335
  <tr>
338
336
  <td>-s, --silent</td>
@@ -344,7 +342,7 @@ Options that take no arguments can be negated by prefixing them with `--no-`, e.
344
342
  </tr>
345
343
  <tr>
346
344
  <td><a href="#target">-t, --target &lt;value&gt;</a></td>
347
- <td>Determines the version to upgrade to: latest, newest, greatest, minor, patch, semver, @[tag], or [function]. (default: latest)</td>
345
+ <td>Determines the version to upgrade to: latest, newest, greatest, minor, patch, semver, <code>@[tag]<code>, or [function]. (default: latest)</td>
348
346
  </tr>
349
347
  <tr>
350
348
  <td>--timeout &lt;ms&gt;</td>
@@ -383,13 +381,13 @@ Run `ncu --help [OPTION]` to view advanced help for a specific option, or see be
383
381
 
384
382
  Usage:
385
383
 
386
- ncu --doctor
384
+ ncu --doctor -u
387
385
  ncu --no-doctor
388
- ncu -d
386
+ ncu -du
389
387
 
390
- Iteratively installs upgrades and runs tests to identify breaking upgrades. Reverts broken upgrades and updates package.json with working upgrades.
388
+ Iteratively installs upgrades and runs your project's tests to identify breaking upgrades. Reverts broken upgrades and updates package.json with working upgrades.
391
389
 
392
- Add `-u` to execute (modifies your package file, lock file, and node_modules)
390
+ Requires `-u` to execute (modifies your package file, lock file, and node_modules)
393
391
 
394
392
  To be more precise:
395
393
 
@@ -591,7 +589,6 @@ Specifies the package manager to use when looking up versions.
591
589
  <tr><td>yarn</td><td>System-installed yarn. Automatically used if yarn.lock is present.</td></tr>
592
590
  <tr><td>pnpm</td><td>System-installed pnpm. Automatically used if pnpm-lock.yaml is present.</td></tr>
593
591
  <tr><td>bun</td><td>System-installed bun. Automatically used if bun.lockb is present.</td></tr>
594
- <tr><td>staticRegistry</td><td>Deprecated. Use --registryType json.</td></tr>
595
592
  </table>
596
593
 
597
594
  ## peer
@@ -1,29 +1,29 @@
1
1
  #!/usr/bin/env node
2
- "use strict";const _e=require("node:events"),be=require("node:child_process"),Oe=require("node:path"),Ae=require("node:fs"),$e=require("node:process"),c=require("./index.js");var w={},j={},V={};let ie=class extends Error{constructor(e,t,n){super(n),Error.captureStackTrace(this,this.constructor),this.name=this.constructor.name,this.code=t,this.exitCode=e,this.nestedError=void 0}},Ce=class extends ie{constructor(e){super(1,"commander.invalidArgument",e),Error.captureStackTrace(this,this.constructor),this.name=this.constructor.name}};V.CommanderError=ie;V.InvalidArgumentError=Ce;const{InvalidArgumentError:ye}=V;let ve=class{constructor(e,t){switch(this.description=t||"",this.variadic=!1,this.parseArg=void 0,this.defaultValue=void 0,this.defaultValueDescription=void 0,this.argChoices=void 0,e[0]){case"<":this.required=!0,this._name=e.slice(1,-1);break;case"[":this.required=!1,this._name=e.slice(1,-1);break;default:this.required=!0,this._name=e;break}this._name.length>3&&this._name.slice(-3)==="..."&&(this.variadic=!0,this._name=this._name.slice(0,-3))}name(){return this._name}_concatValue(e,t){return t===this.defaultValue||!Array.isArray(t)?[e]:t.concat(e)}default(e,t){return this.defaultValue=e,this.defaultValueDescription=t,this}argParser(e){return this.parseArg=e,this}choices(e){return this.argChoices=e.slice(),this.parseArg=(t,n)=>{if(!this.argChoices.includes(t))throw new ye(`Allowed choices are ${this.argChoices.join(", ")}.`);return this.variadic?this._concatValue(t,n):t},this}argRequired(){return this.required=!0,this}argOptional(){return this.required=!1,this}};function we(s){const e=s.name()+(s.variadic===!0?"...":"");return s.required?"<"+e+">":"["+e+"]"}j.Argument=ve;j.humanReadableArgName=we;var re={},W={};const{humanReadableArgName:Ee}=j;let xe=class{constructor(){this.helpWidth=void 0,this.sortSubcommands=!1,this.sortOptions=!1,this.showGlobalOptions=!1}visibleCommands(e){const t=e.commands.filter(i=>!i._hidden),n=e._getHelpCommand();return n&&!n._hidden&&t.push(n),this.sortSubcommands&&t.sort((i,r)=>i.name().localeCompare(r.name())),t}compareOptions(e,t){const n=i=>i.short?i.short.replace(/^-/,""):i.long.replace(/^--/,"");return n(e).localeCompare(n(t))}visibleOptions(e){const t=e.options.filter(i=>!i.hidden),n=e._getHelpOption();if(n&&!n.hidden){const i=n.short&&e._findOption(n.short),r=n.long&&e._findOption(n.long);!i&&!r?t.push(n):n.long&&!r?t.push(e.createOption(n.long,n.description)):n.short&&!i&&t.push(e.createOption(n.short,n.description))}return this.sortOptions&&t.sort(this.compareOptions),t}visibleGlobalOptions(e){if(!this.showGlobalOptions)return[];const t=[];for(let n=e.parent;n;n=n.parent){const i=n.options.filter(r=>!r.hidden);t.push(...i)}return this.sortOptions&&t.sort(this.compareOptions),t}visibleArguments(e){return e._argsDescription&&e.registeredArguments.forEach(t=>{t.description=t.description||e._argsDescription[t.name()]||""}),e.registeredArguments.find(t=>t.description)?e.registeredArguments:[]}subcommandTerm(e){const t=e.registeredArguments.map(n=>Ee(n)).join(" ");return e._name+(e._aliases[0]?"|"+e._aliases[0]:"")+(e.options.length?" [options]":"")+(t?" "+t:"")}optionTerm(e){return e.flags}argumentTerm(e){return e.name()}longestSubcommandTermLength(e,t){return t.visibleCommands(e).reduce((n,i)=>Math.max(n,t.subcommandTerm(i).length),0)}longestOptionTermLength(e,t){return t.visibleOptions(e).reduce((n,i)=>Math.max(n,t.optionTerm(i).length),0)}longestGlobalOptionTermLength(e,t){return t.visibleGlobalOptions(e).reduce((n,i)=>Math.max(n,t.optionTerm(i).length),0)}longestArgumentTermLength(e,t){return t.visibleArguments(e).reduce((n,i)=>Math.max(n,t.argumentTerm(i).length),0)}commandUsage(e){let t=e._name;e._aliases[0]&&(t=t+"|"+e._aliases[0]);let n="";for(let i=e.parent;i;i=i.parent)n=i.name()+" "+n;return n+t+" "+e.usage()}commandDescription(e){return e.description()}subcommandDescription(e){return e.summary()||e.description()}optionDescription(e){const t=[];return e.argChoices&&t.push(`choices: ${e.argChoices.map(n=>JSON.stringify(n)).join(", ")}`),e.defaultValue!==void 0&&(e.required||e.optional||e.isBoolean()&&typeof e.defaultValue=="boolean")&&t.push(`default: ${e.defaultValueDescription||JSON.stringify(e.defaultValue)}`),e.presetArg!==void 0&&e.optional&&t.push(`preset: ${JSON.stringify(e.presetArg)}`),e.envVar!==void 0&&t.push(`env: ${e.envVar}`),t.length>0?`${e.description} (${t.join(", ")})`:e.description}argumentDescription(e){const t=[];if(e.argChoices&&t.push(`choices: ${e.argChoices.map(n=>JSON.stringify(n)).join(", ")}`),e.defaultValue!==void 0&&t.push(`default: ${e.defaultValueDescription||JSON.stringify(e.defaultValue)}`),t.length>0){const n=`(${t.join(", ")})`;return e.description?`${e.description} ${n}`:n}return e.description}formatHelp(e,t){const n=t.padWidth(e,t),i=t.helpWidth||80,r=2,o=2;function l(d,O){if(O){const b=`${d.padEnd(n+o)}${O}`;return t.wrap(b,i-r,n+o)}return d}function a(d){return d.join(`
3
- `).replace(/^/gm," ".repeat(r))}let u=[`Usage: ${t.commandUsage(e)}`,""];const h=t.commandDescription(e);h.length>0&&(u=u.concat([t.wrap(h,i,0),""]));const f=t.visibleArguments(e).map(d=>l(t.argumentTerm(d),t.argumentDescription(d)));f.length>0&&(u=u.concat(["Arguments:",a(f),""]));const _=t.visibleOptions(e).map(d=>l(t.optionTerm(d),t.optionDescription(d)));if(_.length>0&&(u=u.concat(["Options:",a(_),""])),this.showGlobalOptions){const d=t.visibleGlobalOptions(e).map(O=>l(t.optionTerm(O),t.optionDescription(O)));d.length>0&&(u=u.concat(["Global Options:",a(d),""]))}const $=t.visibleCommands(e).map(d=>l(t.subcommandTerm(d),t.subcommandDescription(d)));return $.length>0&&(u=u.concat(["Commands:",a($),""])),u.join(`
4
- `)}padWidth(e,t){return Math.max(t.longestOptionTermLength(e,t),t.longestGlobalOptionTermLength(e,t),t.longestSubcommandTermLength(e,t),t.longestArgumentTermLength(e,t))}wrap(e,t,n,i=40){const r=" \\f\\t\\v   -    \uFEFF",o=new RegExp(`[\\n][${r}]+`);if(e.match(o))return e;const l=t-n;if(l<i)return e;const a=e.slice(0,n),u=e.slice(n).replace(`\r
2
+ "use strict";const ie=require("node:events"),ne=require("node:child_process"),re=require("node:path"),se=require("node:fs"),oe=require("node:process"),g=require("./index.js");var w={},S={},V={};let G=class extends Error{constructor(e,t,i){super(i),Error.captureStackTrace(this,this.constructor),this.name=this.constructor.name,this.code=t,this.exitCode=e,this.nestedError=void 0}},ae=class extends G{constructor(e){super(1,"commander.invalidArgument",e),Error.captureStackTrace(this,this.constructor),this.name=this.constructor.name}};V.CommanderError=G;V.InvalidArgumentError=ae;const{InvalidArgumentError:le}=V;let ue=class{constructor(e,t){switch(this.description=t||"",this.variadic=!1,this.parseArg=void 0,this.defaultValue=void 0,this.defaultValueDescription=void 0,this.argChoices=void 0,e[0]){case"<":this.required=!0,this._name=e.slice(1,-1);break;case"[":this.required=!1,this._name=e.slice(1,-1);break;default:this.required=!0,this._name=e;break}this._name.length>3&&this._name.slice(-3)==="..."&&(this.variadic=!0,this._name=this._name.slice(0,-3))}name(){return this._name}_concatValue(e,t){return t===this.defaultValue||!Array.isArray(t)?[e]:t.concat(e)}default(e,t){return this.defaultValue=e,this.defaultValueDescription=t,this}argParser(e){return this.parseArg=e,this}choices(e){return this.argChoices=e.slice(),this.parseArg=(t,i)=>{if(!this.argChoices.includes(t))throw new le(`Allowed choices are ${this.argChoices.join(", ")}.`);return this.variadic?this._concatValue(t,i):t},this}argRequired(){return this.required=!0,this}argOptional(){return this.required=!1,this}};function ce(h){const e=h.name()+(h.variadic===!0?"...":"");return h.required?"<"+e+">":"["+e+"]"}S.Argument=ue;S.humanReadableArgName=ce;var L={},T={};const{humanReadableArgName:he}=S;let pe=class{constructor(){this.helpWidth=void 0,this.sortSubcommands=!1,this.sortOptions=!1,this.showGlobalOptions=!1}visibleCommands(e){const t=e.commands.filter(n=>!n._hidden),i=e._getHelpCommand();return i&&!i._hidden&&t.push(i),this.sortSubcommands&&t.sort((n,r)=>n.name().localeCompare(r.name())),t}compareOptions(e,t){const i=n=>n.short?n.short.replace(/^-/,""):n.long.replace(/^--/,"");return i(e).localeCompare(i(t))}visibleOptions(e){const t=e.options.filter(n=>!n.hidden),i=e._getHelpOption();if(i&&!i.hidden){const n=i.short&&e._findOption(i.short),r=i.long&&e._findOption(i.long);!n&&!r?t.push(i):i.long&&!r?t.push(e.createOption(i.long,i.description)):i.short&&!n&&t.push(e.createOption(i.short,i.description))}return this.sortOptions&&t.sort(this.compareOptions),t}visibleGlobalOptions(e){if(!this.showGlobalOptions)return[];const t=[];for(let i=e.parent;i;i=i.parent){const n=i.options.filter(r=>!r.hidden);t.push(...n)}return this.sortOptions&&t.sort(this.compareOptions),t}visibleArguments(e){return e._argsDescription&&e.registeredArguments.forEach(t=>{t.description=t.description||e._argsDescription[t.name()]||""}),e.registeredArguments.find(t=>t.description)?e.registeredArguments:[]}subcommandTerm(e){const t=e.registeredArguments.map(i=>he(i)).join(" ");return e._name+(e._aliases[0]?"|"+e._aliases[0]:"")+(e.options.length?" [options]":"")+(t?" "+t:"")}optionTerm(e){return e.flags}argumentTerm(e){return e.name()}longestSubcommandTermLength(e,t){return t.visibleCommands(e).reduce((i,n)=>Math.max(i,t.subcommandTerm(n).length),0)}longestOptionTermLength(e,t){return t.visibleOptions(e).reduce((i,n)=>Math.max(i,t.optionTerm(n).length),0)}longestGlobalOptionTermLength(e,t){return t.visibleGlobalOptions(e).reduce((i,n)=>Math.max(i,t.optionTerm(n).length),0)}longestArgumentTermLength(e,t){return t.visibleArguments(e).reduce((i,n)=>Math.max(i,t.argumentTerm(n).length),0)}commandUsage(e){let t=e._name;e._aliases[0]&&(t=t+"|"+e._aliases[0]);let i="";for(let n=e.parent;n;n=n.parent)i=n.name()+" "+i;return i+t+" "+e.usage()}commandDescription(e){return e.description()}subcommandDescription(e){return e.summary()||e.description()}optionDescription(e){const t=[];return e.argChoices&&t.push(`choices: ${e.argChoices.map(i=>JSON.stringify(i)).join(", ")}`),e.defaultValue!==void 0&&(e.required||e.optional||e.isBoolean()&&typeof e.defaultValue=="boolean")&&t.push(`default: ${e.defaultValueDescription||JSON.stringify(e.defaultValue)}`),e.presetArg!==void 0&&e.optional&&t.push(`preset: ${JSON.stringify(e.presetArg)}`),e.envVar!==void 0&&t.push(`env: ${e.envVar}`),t.length>0?`${e.description} (${t.join(", ")})`:e.description}argumentDescription(e){const t=[];if(e.argChoices&&t.push(`choices: ${e.argChoices.map(i=>JSON.stringify(i)).join(", ")}`),e.defaultValue!==void 0&&t.push(`default: ${e.defaultValueDescription||JSON.stringify(e.defaultValue)}`),t.length>0){const i=`(${t.join(", ")})`;return e.description?`${e.description} ${i}`:i}return e.description}formatHelp(e,t){const i=t.padWidth(e,t),n=t.helpWidth||80,r=2,s=2;function l(f,O){if(O){const k=`${f.padEnd(i+s)}${O}`;return t.wrap(k,n-r,i+s)}return f}function o(f){return f.join(`
3
+ `).replace(/^/gm," ".repeat(r))}let a=[`Usage: ${t.commandUsage(e)}`,""];const u=t.commandDescription(e);u.length>0&&(a=a.concat([t.wrap(u,n,0),""]));const c=t.visibleArguments(e).map(f=>l(t.argumentTerm(f),t.argumentDescription(f)));c.length>0&&(a=a.concat(["Arguments:",o(c),""]));const d=t.visibleOptions(e).map(f=>l(t.optionTerm(f),t.optionDescription(f)));if(d.length>0&&(a=a.concat(["Options:",o(d),""])),this.showGlobalOptions){const f=t.visibleGlobalOptions(e).map(O=>l(t.optionTerm(O),t.optionDescription(O)));f.length>0&&(a=a.concat(["Global Options:",o(f),""]))}const _=t.visibleCommands(e).map(f=>l(t.subcommandTerm(f),t.subcommandDescription(f)));return _.length>0&&(a=a.concat(["Commands:",o(_),""])),a.join(`
4
+ `)}padWidth(e,t){return Math.max(t.longestOptionTermLength(e,t),t.longestGlobalOptionTermLength(e,t),t.longestSubcommandTermLength(e,t),t.longestArgumentTermLength(e,t))}wrap(e,t,i,n=40){const r=" \\f\\t\\v   -    \uFEFF",s=new RegExp(`[\\n][${r}]+`);if(e.match(s))return e;const l=t-i;if(l<n)return e;const o=e.slice(0,i),a=e.slice(i).replace(`\r
5
5
  `,`
6
- `),h=" ".repeat(n),_="\\s​",$=new RegExp(`
7
- |.{1,${l-1}}([${_}]|$)|[^${_}]+?([${_}]|$)`,"g"),d=u.match($)||[];return a+d.map((O,b)=>O===`
8
- `?"":(b>0?h:"")+O.trimEnd()).join(`
9
- `)}};W.Help=xe;var P={};const{InvalidArgumentError:Se}=V;let Te=class{constructor(e,t){this.flags=e,this.description=t||"",this.required=e.includes("<"),this.optional=e.includes("["),this.variadic=/\w\.\.\.[>\]]$/.test(e),this.mandatory=!1;const n=je(e);this.short=n.shortFlag,this.long=n.longFlag,this.negate=!1,this.long&&(this.negate=this.long.startsWith("--no-")),this.defaultValue=void 0,this.defaultValueDescription=void 0,this.presetArg=void 0,this.envVar=void 0,this.parseArg=void 0,this.hidden=!1,this.argChoices=void 0,this.conflictsWith=[],this.implied=void 0}default(e,t){return this.defaultValue=e,this.defaultValueDescription=t,this}preset(e){return this.presetArg=e,this}conflicts(e){return this.conflictsWith=this.conflictsWith.concat(e),this}implies(e){let t=e;return typeof e=="string"&&(t={[e]:!0}),this.implied=Object.assign(this.implied||{},t),this}env(e){return this.envVar=e,this}argParser(e){return this.parseArg=e,this}makeOptionMandatory(e=!0){return this.mandatory=!!e,this}hideHelp(e=!0){return this.hidden=!!e,this}_concatValue(e,t){return t===this.defaultValue||!Array.isArray(t)?[e]:t.concat(e)}choices(e){return this.argChoices=e.slice(),this.parseArg=(t,n)=>{if(!this.argChoices.includes(t))throw new Se(`Allowed choices are ${this.argChoices.join(", ")}.`);return this.variadic?this._concatValue(t,n):t},this}name(){return this.long?this.long.replace(/^--/,""):this.short.replace(/^-/,"")}attributeName(){return Ve(this.name().replace(/^no-/,""))}is(e){return this.short===e||this.long===e}isBoolean(){return!this.required&&!this.optional&&!this.negate}},He=class{constructor(e){this.positiveOptions=new Map,this.negativeOptions=new Map,this.dualOptions=new Set,e.forEach(t=>{t.negate?this.negativeOptions.set(t.attributeName(),t):this.positiveOptions.set(t.attributeName(),t)}),this.negativeOptions.forEach((t,n)=>{this.positiveOptions.has(n)&&this.dualOptions.add(n)})}valueFromOption(e,t){const n=t.attributeName();if(!this.dualOptions.has(n))return!0;const i=this.negativeOptions.get(n).presetArg,r=i!==void 0?i:!1;return t.negate===(r===e)}};function Ve(s){return s.split("-").reduce((e,t)=>e+t[0].toUpperCase()+t.slice(1))}function je(s){let e,t;const n=s.split(/[ |,]+/);return n.length>1&&!/^[[<]/.test(n[1])&&(e=n.shift()),t=n.shift(),!e&&/^-[^-]$/.test(t)&&(e=t,t=void 0),{shortFlag:e,longFlag:t}}P.Option=Te;P.DualOptions=He;var se={};const oe=3;function ke(s,e){if(Math.abs(s.length-e.length)>oe)return Math.max(s.length,e.length);const t=[];for(let n=0;n<=s.length;n++)t[n]=[n];for(let n=0;n<=e.length;n++)t[0][n]=n;for(let n=1;n<=e.length;n++)for(let i=1;i<=s.length;i++){let r=1;s[i-1]===e[n-1]?r=0:r=1,t[i][n]=Math.min(t[i-1][n]+1,t[i][n-1]+1,t[i-1][n-1]+r),i>1&&n>1&&s[i-1]===e[n-2]&&s[i-2]===e[n-1]&&(t[i][n]=Math.min(t[i][n],t[i-2][n-2]+1))}return t[s.length][e.length]}function Ie(s,e){if(!e||e.length===0)return"";e=Array.from(new Set(e));const t=s.startsWith("--");t&&(s=s.slice(2),e=e.map(o=>o.slice(2)));let n=[],i=oe;const r=.4;return e.forEach(o=>{if(o.length<=1)return;const l=ke(s,o),a=Math.max(s.length,o.length);(a-l)/a>r&&(l<i?(i=l,n=[o]):l===i&&n.push(o))}),n.sort((o,l)=>o.localeCompare(l)),t&&(n=n.map(o=>`--${o}`)),n.length>1?`
10
- (Did you mean one of ${n.join(", ")}?)`:n.length===1?`
11
- (Did you mean ${n[0]}?)`:""}se.suggestSimilar=Ie;const Pe=_e.EventEmitter,N=be,x=Oe,M=Ae,g=$e,{Argument:Fe,humanReadableArgName:De}=j,{CommanderError:U}=V,{Help:Ne}=W,{Option:L,DualOptions:Me}=P,{suggestSimilar:R}=se;let Ue=class ae extends Pe{constructor(e){super(),this.commands=[],this.options=[],this.parent=null,this._allowUnknownOption=!1,this._allowExcessArguments=!0,this.registeredArguments=[],this._args=this.registeredArguments,this.args=[],this.rawArgs=[],this.processedArgs=[],this._scriptPath=null,this._name=e||"",this._optionValues={},this._optionValueSources={},this._storeOptionsAsProperties=!1,this._actionHandler=null,this._executableHandler=!1,this._executableFile=null,this._executableDir=null,this._defaultCommandName=null,this._exitCallback=null,this._aliases=[],this._combineFlagAndOptionalValue=!0,this._description="",this._summary="",this._argsDescription=void 0,this._enablePositionalOptions=!1,this._passThroughOptions=!1,this._lifeCycleHooks={},this._showHelpAfterError=!1,this._showSuggestionAfterError=!0,this._outputConfiguration={writeOut:t=>g.stdout.write(t),writeErr:t=>g.stderr.write(t),getOutHelpWidth:()=>g.stdout.isTTY?g.stdout.columns:void 0,getErrHelpWidth:()=>g.stderr.isTTY?g.stderr.columns:void 0,outputError:(t,n)=>n(t)},this._hidden=!1,this._helpOption=void 0,this._addImplicitHelpCommand=void 0,this._helpCommand=void 0,this._helpConfiguration={}}copyInheritedSettings(e){return this._outputConfiguration=e._outputConfiguration,this._helpOption=e._helpOption,this._helpCommand=e._helpCommand,this._helpConfiguration=e._helpConfiguration,this._exitCallback=e._exitCallback,this._storeOptionsAsProperties=e._storeOptionsAsProperties,this._combineFlagAndOptionalValue=e._combineFlagAndOptionalValue,this._allowExcessArguments=e._allowExcessArguments,this._enablePositionalOptions=e._enablePositionalOptions,this._showHelpAfterError=e._showHelpAfterError,this._showSuggestionAfterError=e._showSuggestionAfterError,this}_getCommandAndAncestors(){const e=[];for(let t=this;t;t=t.parent)e.push(t);return e}command(e,t,n){let i=t,r=n;typeof i=="object"&&i!==null&&(r=i,i=null),r=r||{};const[,o,l]=e.match(/([^ ]+) *(.*)/),a=this.createCommand(o);return i&&(a.description(i),a._executableHandler=!0),r.isDefault&&(this._defaultCommandName=a._name),a._hidden=!!(r.noHelp||r.hidden),a._executableFile=r.executableFile||null,l&&a.arguments(l),this._registerCommand(a),a.parent=this,a.copyInheritedSettings(this),i?this:a}createCommand(e){return new ae(e)}createHelp(){return Object.assign(new Ne,this.configureHelp())}configureHelp(e){return e===void 0?this._helpConfiguration:(this._helpConfiguration=e,this)}configureOutput(e){return e===void 0?this._outputConfiguration:(Object.assign(this._outputConfiguration,e),this)}showHelpAfterError(e=!0){return typeof e!="string"&&(e=!!e),this._showHelpAfterError=e,this}showSuggestionAfterError(e=!0){return this._showSuggestionAfterError=!!e,this}addCommand(e,t){if(!e._name)throw new Error(`Command passed to .addCommand() must have a name
12
- - specify the name in Command constructor or using .name()`);return t=t||{},t.isDefault&&(this._defaultCommandName=e._name),(t.noHelp||t.hidden)&&(e._hidden=!0),this._registerCommand(e),e.parent=this,e._checkForBrokenPassThrough(),this}createArgument(e,t){return new Fe(e,t)}argument(e,t,n,i){const r=this.createArgument(e,t);return typeof n=="function"?r.default(i).argParser(n):r.default(n),this.addArgument(r),this}arguments(e){return e.trim().split(/ +/).forEach(t=>{this.argument(t)}),this}addArgument(e){const t=this.registeredArguments.slice(-1)[0];if(t&&t.variadic)throw new Error(`only the last argument can be variadic '${t.name()}'`);if(e.required&&e.defaultValue!==void 0&&e.parseArg===void 0)throw new Error(`a default value for a required argument is never used: '${e.name()}'`);return this.registeredArguments.push(e),this}helpCommand(e,t){if(typeof e=="boolean")return this._addImplicitHelpCommand=e,this;e=e??"help [command]";const[,n,i]=e.match(/([^ ]+) *(.*)/),r=t??"display help for command",o=this.createCommand(n);return o.helpOption(!1),i&&o.arguments(i),r&&o.description(r),this._addImplicitHelpCommand=!0,this._helpCommand=o,this}addHelpCommand(e,t){return typeof e!="object"?(this.helpCommand(e,t),this):(this._addImplicitHelpCommand=!0,this._helpCommand=e,this)}_getHelpCommand(){return this._addImplicitHelpCommand??(this.commands.length&&!this._actionHandler&&!this._findCommand("help"))?(this._helpCommand===void 0&&this.helpCommand(void 0,void 0),this._helpCommand):null}hook(e,t){const n=["preSubcommand","preAction","postAction"];if(!n.includes(e))throw new Error(`Unexpected value for event passed to hook : '${e}'.
13
- Expecting one of '${n.join("', '")}'`);return this._lifeCycleHooks[e]?this._lifeCycleHooks[e].push(t):this._lifeCycleHooks[e]=[t],this}exitOverride(e){return e?this._exitCallback=e:this._exitCallback=t=>{if(t.code!=="commander.executeSubCommandAsync")throw t},this}_exit(e,t,n){this._exitCallback&&this._exitCallback(new U(e,t,n)),g.exit(e)}action(e){const t=n=>{const i=this.registeredArguments.length,r=n.slice(0,i);return this._storeOptionsAsProperties?r[i]=this:r[i]=this.opts(),r.push(this),e.apply(this,r)};return this._actionHandler=t,this}createOption(e,t){return new L(e,t)}_callParseArg(e,t,n,i){try{return e.parseArg(t,n)}catch(r){if(r.code==="commander.invalidArgument"){const o=`${i} ${r.message}`;this.error(o,{exitCode:r.exitCode,code:r.code})}throw r}}_registerOption(e){const t=e.short&&this._findOption(e.short)||e.long&&this._findOption(e.long);if(t){const n=e.long&&this._findOption(e.long)?e.long:e.short;throw new Error(`Cannot add option '${e.flags}'${this._name&&` to command '${this._name}'`} due to conflicting flag '${n}'
14
- - already used by option '${t.flags}'`)}this.options.push(e)}_registerCommand(e){const t=i=>[i.name()].concat(i.aliases()),n=t(e).find(i=>this._findCommand(i));if(n){const i=t(this._findCommand(n)).join("|"),r=t(e).join("|");throw new Error(`cannot add command '${r}' as already have command '${i}'`)}this.commands.push(e)}addOption(e){this._registerOption(e);const t=e.name(),n=e.attributeName();if(e.negate){const r=e.long.replace(/^--no-/,"--");this._findOption(r)||this.setOptionValueWithSource(n,e.defaultValue===void 0?!0:e.defaultValue,"default")}else e.defaultValue!==void 0&&this.setOptionValueWithSource(n,e.defaultValue,"default");const i=(r,o,l)=>{r==null&&e.presetArg!==void 0&&(r=e.presetArg);const a=this.getOptionValue(n);r!==null&&e.parseArg?r=this._callParseArg(e,r,a,o):r!==null&&e.variadic&&(r=e._concatValue(r,a)),r==null&&(e.negate?r=!1:e.isBoolean()||e.optional?r=!0:r=""),this.setOptionValueWithSource(n,r,l)};return this.on("option:"+t,r=>{const o=`error: option '${e.flags}' argument '${r}' is invalid.`;i(r,o,"cli")}),e.envVar&&this.on("optionEnv:"+t,r=>{const o=`error: option '${e.flags}' value '${r}' from env '${e.envVar}' is invalid.`;i(r,o,"env")}),this}_optionEx(e,t,n,i,r){if(typeof t=="object"&&t instanceof L)throw new Error("To add an Option object use addOption() instead of option() or requiredOption()");const o=this.createOption(t,n);if(o.makeOptionMandatory(!!e.mandatory),typeof i=="function")o.default(r).argParser(i);else if(i instanceof RegExp){const l=i;i=(a,u)=>{const h=l.exec(a);return h?h[0]:u},o.default(r).argParser(i)}else o.default(i);return this.addOption(o)}option(e,t,n,i){return this._optionEx({},e,t,n,i)}requiredOption(e,t,n,i){return this._optionEx({mandatory:!0},e,t,n,i)}combineFlagAndOptionalValue(e=!0){return this._combineFlagAndOptionalValue=!!e,this}allowUnknownOption(e=!0){return this._allowUnknownOption=!!e,this}allowExcessArguments(e=!0){return this._allowExcessArguments=!!e,this}enablePositionalOptions(e=!0){return this._enablePositionalOptions=!!e,this}passThroughOptions(e=!0){return this._passThroughOptions=!!e,this._checkForBrokenPassThrough(),this}_checkForBrokenPassThrough(){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)`)}storeOptionsAsProperties(e=!0){if(this.options.length)throw new Error("call .storeOptionsAsProperties() before adding options");if(Object.keys(this._optionValues).length)throw new Error("call .storeOptionsAsProperties() before setting option values");return this._storeOptionsAsProperties=!!e,this}getOptionValue(e){return this._storeOptionsAsProperties?this[e]:this._optionValues[e]}setOptionValue(e,t){return this.setOptionValueWithSource(e,t,void 0)}setOptionValueWithSource(e,t,n){return this._storeOptionsAsProperties?this[e]=t:this._optionValues[e]=t,this._optionValueSources[e]=n,this}getOptionValueSource(e){return this._optionValueSources[e]}getOptionValueSourceWithGlobals(e){let t;return this._getCommandAndAncestors().forEach(n=>{n.getOptionValueSource(e)!==void 0&&(t=n.getOptionValueSource(e))}),t}_prepareUserArgs(e,t){if(e!==void 0&&!Array.isArray(e))throw new Error("first parameter to parse must be array or undefined");t=t||{},e===void 0&&(e=g.argv,g.versions&&g.versions.electron&&(t.from="electron")),this.rawArgs=e.slice();let n;switch(t.from){case void 0:case"node":this._scriptPath=e[1],n=e.slice(2);break;case"electron":g.defaultApp?(this._scriptPath=e[1],n=e.slice(2)):n=e.slice(1);break;case"user":n=e.slice(0);break;default:throw new Error(`unexpected parse option { from: '${t.from}' }`)}return!this._name&&this._scriptPath&&this.nameFromFilename(this._scriptPath),this._name=this._name||"program",n}parse(e,t){const n=this._prepareUserArgs(e,t);return this._parseCommand([],n),this}async parseAsync(e,t){const n=this._prepareUserArgs(e,t);return await this._parseCommand([],n),this}_executeSubCommand(e,t){t=t.slice();let n=!1;const i=[".js",".ts",".tsx",".mjs",".cjs"];function r(h,f){const _=x.resolve(h,f);if(M.existsSync(_))return _;if(i.includes(x.extname(f)))return;const $=i.find(d=>M.existsSync(`${_}${d}`));if($)return`${_}${$}`}this._checkForMissingMandatoryOptions(),this._checkForConflictingOptions();let o=e._executableFile||`${this._name}-${e._name}`,l=this._executableDir||"";if(this._scriptPath){let h;try{h=M.realpathSync(this._scriptPath)}catch{h=this._scriptPath}l=x.resolve(x.dirname(h),l)}if(l){let h=r(l,o);if(!h&&!e._executableFile&&this._scriptPath){const f=x.basename(this._scriptPath,x.extname(this._scriptPath));f!==this._name&&(h=r(l,`${f}-${e._name}`))}o=h||o}n=i.includes(x.extname(o));let a;g.platform!=="win32"?n?(t.unshift(o),t=G(g.execArgv).concat(t),a=N.spawn(g.argv[0],t,{stdio:"inherit"})):a=N.spawn(o,t,{stdio:"inherit"}):(t.unshift(o),t=G(g.execArgv).concat(t),a=N.spawn(g.execPath,t,{stdio:"inherit"})),a.killed||["SIGUSR1","SIGUSR2","SIGTERM","SIGINT","SIGHUP"].forEach(f=>{g.on(f,()=>{a.killed===!1&&a.exitCode===null&&a.kill(f)})});const u=this._exitCallback;a.on("close",(h,f)=>{h=h??1,u?u(new U(h,"commander.executeSubCommandAsync","(close)")):g.exit(h)}),a.on("error",h=>{if(h.code==="ENOENT"){const f=l?`searched for local subcommand relative to directory '${l}'`:"no directory for search for local subcommand, use .executableDir() to supply a custom directory",_=`'${o}' does not exist
6
+ `),u=" ".repeat(i),d="\\s​",_=new RegExp(`
7
+ |.{1,${l-1}}([${d}]|$)|[^${d}]+?([${d}]|$)`,"g"),f=a.match(_)||[];return o+f.map((O,k)=>O===`
8
+ `?"":(k>0?u:"")+O.trimEnd()).join(`
9
+ `)}};T.Help=pe;var P={};const{InvalidArgumentError:fe}=V;let de=class{constructor(e,t){this.flags=e,this.description=t||"",this.required=e.includes("<"),this.optional=e.includes("["),this.variadic=/\w\.\.\.[>\]]$/.test(e),this.mandatory=!1;const i=_e(e);this.short=i.shortFlag,this.long=i.longFlag,this.negate=!1,this.long&&(this.negate=this.long.startsWith("--no-")),this.defaultValue=void 0,this.defaultValueDescription=void 0,this.presetArg=void 0,this.envVar=void 0,this.parseArg=void 0,this.hidden=!1,this.argChoices=void 0,this.conflictsWith=[],this.implied=void 0}default(e,t){return this.defaultValue=e,this.defaultValueDescription=t,this}preset(e){return this.presetArg=e,this}conflicts(e){return this.conflictsWith=this.conflictsWith.concat(e),this}implies(e){let t=e;return typeof e=="string"&&(t={[e]:!0}),this.implied=Object.assign(this.implied||{},t),this}env(e){return this.envVar=e,this}argParser(e){return this.parseArg=e,this}makeOptionMandatory(e=!0){return this.mandatory=!!e,this}hideHelp(e=!0){return this.hidden=!!e,this}_concatValue(e,t){return t===this.defaultValue||!Array.isArray(t)?[e]:t.concat(e)}choices(e){return this.argChoices=e.slice(),this.parseArg=(t,i)=>{if(!this.argChoices.includes(t))throw new fe(`Allowed choices are ${this.argChoices.join(", ")}.`);return this.variadic?this._concatValue(t,i):t},this}name(){return this.long?this.long.replace(/^--/,""):this.short.replace(/^-/,"")}attributeName(){return ge(this.name().replace(/^no-/,""))}is(e){return this.short===e||this.long===e}isBoolean(){return!this.required&&!this.optional&&!this.negate}},me=class{constructor(e){this.positiveOptions=new Map,this.negativeOptions=new Map,this.dualOptions=new Set,e.forEach(t=>{t.negate?this.negativeOptions.set(t.attributeName(),t):this.positiveOptions.set(t.attributeName(),t)}),this.negativeOptions.forEach((t,i)=>{this.positiveOptions.has(i)&&this.dualOptions.add(i)})}valueFromOption(e,t){const i=t.attributeName();if(!this.dualOptions.has(i))return!0;const n=this.negativeOptions.get(i).presetArg,r=n!==void 0?n:!1;return t.negate===(r===e)}};function ge(h){return h.split("-").reduce((e,t)=>e+t[0].toUpperCase()+t.slice(1))}function _e(h){let e,t;const i=h.split(/[ |,]+/);return i.length>1&&!/^[[<]/.test(i[1])&&(e=i.shift()),t=i.shift(),!e&&/^-[^-]$/.test(t)&&(e=t,t=void 0),{shortFlag:e,longFlag:t}}P.Option=de;P.DualOptions=me;var J={};const K=3;function Oe(h,e){if(Math.abs(h.length-e.length)>K)return Math.max(h.length,e.length);const t=[];for(let i=0;i<=h.length;i++)t[i]=[i];for(let i=0;i<=e.length;i++)t[0][i]=i;for(let i=1;i<=e.length;i++)for(let n=1;n<=h.length;n++){let r=1;h[n-1]===e[i-1]?r=0:r=1,t[n][i]=Math.min(t[n-1][i]+1,t[n][i-1]+1,t[n-1][i-1]+r),n>1&&i>1&&h[n-1]===e[i-2]&&h[n-2]===e[i-1]&&(t[n][i]=Math.min(t[n][i],t[n-2][i-2]+1))}return t[h.length][e.length]}function Ae(h,e){if(!e||e.length===0)return"";e=Array.from(new Set(e));const t=h.startsWith("--");t&&(h=h.slice(2),e=e.map(s=>s.slice(2)));let i=[],n=K;const r=.4;return e.forEach(s=>{if(s.length<=1)return;const l=Oe(h,s),o=Math.max(h.length,s.length);(o-l)/o>r&&(l<n?(n=l,i=[s]):l===n&&i.push(s))}),i.sort((s,l)=>s.localeCompare(l)),t&&(i=i.map(s=>`--${s}`)),i.length>1?`
10
+ (Did you mean one of ${i.join(", ")}?)`:i.length===1?`
11
+ (Did you mean ${i[0]}?)`:""}J.suggestSimilar=Ae;const be=ie.EventEmitter,F=ne,y=re,N=se,m=oe,{Argument:Ce,humanReadableArgName:we}=S,{CommanderError:I}=V,{Help:$e}=T,{Option:W,DualOptions:ye}=P,{suggestSimilar:q}=J;let ve=class Y extends be{constructor(e){super(),this.commands=[],this.options=[],this.parent=null,this._allowUnknownOption=!1,this._allowExcessArguments=!0,this.registeredArguments=[],this._args=this.registeredArguments,this.args=[],this.rawArgs=[],this.processedArgs=[],this._scriptPath=null,this._name=e||"",this._optionValues={},this._optionValueSources={},this._storeOptionsAsProperties=!1,this._actionHandler=null,this._executableHandler=!1,this._executableFile=null,this._executableDir=null,this._defaultCommandName=null,this._exitCallback=null,this._aliases=[],this._combineFlagAndOptionalValue=!0,this._description="",this._summary="",this._argsDescription=void 0,this._enablePositionalOptions=!1,this._passThroughOptions=!1,this._lifeCycleHooks={},this._showHelpAfterError=!1,this._showSuggestionAfterError=!0,this._outputConfiguration={writeOut:t=>m.stdout.write(t),writeErr:t=>m.stderr.write(t),getOutHelpWidth:()=>m.stdout.isTTY?m.stdout.columns:void 0,getErrHelpWidth:()=>m.stderr.isTTY?m.stderr.columns:void 0,outputError:(t,i)=>i(t)},this._hidden=!1,this._helpOption=void 0,this._addImplicitHelpCommand=void 0,this._helpCommand=void 0,this._helpConfiguration={}}copyInheritedSettings(e){return this._outputConfiguration=e._outputConfiguration,this._helpOption=e._helpOption,this._helpCommand=e._helpCommand,this._helpConfiguration=e._helpConfiguration,this._exitCallback=e._exitCallback,this._storeOptionsAsProperties=e._storeOptionsAsProperties,this._combineFlagAndOptionalValue=e._combineFlagAndOptionalValue,this._allowExcessArguments=e._allowExcessArguments,this._enablePositionalOptions=e._enablePositionalOptions,this._showHelpAfterError=e._showHelpAfterError,this._showSuggestionAfterError=e._showSuggestionAfterError,this}_getCommandAndAncestors(){const e=[];for(let t=this;t;t=t.parent)e.push(t);return e}command(e,t,i){let n=t,r=i;typeof n=="object"&&n!==null&&(r=n,n=null),r=r||{};const[,s,l]=e.match(/([^ ]+) *(.*)/),o=this.createCommand(s);return n&&(o.description(n),o._executableHandler=!0),r.isDefault&&(this._defaultCommandName=o._name),o._hidden=!!(r.noHelp||r.hidden),o._executableFile=r.executableFile||null,l&&o.arguments(l),this._registerCommand(o),o.parent=this,o.copyInheritedSettings(this),n?this:o}createCommand(e){return new Y(e)}createHelp(){return Object.assign(new $e,this.configureHelp())}configureHelp(e){return e===void 0?this._helpConfiguration:(this._helpConfiguration=e,this)}configureOutput(e){return e===void 0?this._outputConfiguration:(Object.assign(this._outputConfiguration,e),this)}showHelpAfterError(e=!0){return typeof e!="string"&&(e=!!e),this._showHelpAfterError=e,this}showSuggestionAfterError(e=!0){return this._showSuggestionAfterError=!!e,this}addCommand(e,t){if(!e._name)throw new Error(`Command passed to .addCommand() must have a name
12
+ - specify the name in Command constructor or using .name()`);return t=t||{},t.isDefault&&(this._defaultCommandName=e._name),(t.noHelp||t.hidden)&&(e._hidden=!0),this._registerCommand(e),e.parent=this,e._checkForBrokenPassThrough(),this}createArgument(e,t){return new Ce(e,t)}argument(e,t,i,n){const r=this.createArgument(e,t);return typeof i=="function"?r.default(n).argParser(i):r.default(i),this.addArgument(r),this}arguments(e){return e.trim().split(/ +/).forEach(t=>{this.argument(t)}),this}addArgument(e){const t=this.registeredArguments.slice(-1)[0];if(t&&t.variadic)throw new Error(`only the last argument can be variadic '${t.name()}'`);if(e.required&&e.defaultValue!==void 0&&e.parseArg===void 0)throw new Error(`a default value for a required argument is never used: '${e.name()}'`);return this.registeredArguments.push(e),this}helpCommand(e,t){if(typeof e=="boolean")return this._addImplicitHelpCommand=e,this;e=e??"help [command]";const[,i,n]=e.match(/([^ ]+) *(.*)/),r=t??"display help for command",s=this.createCommand(i);return s.helpOption(!1),n&&s.arguments(n),r&&s.description(r),this._addImplicitHelpCommand=!0,this._helpCommand=s,this}addHelpCommand(e,t){return typeof e!="object"?(this.helpCommand(e,t),this):(this._addImplicitHelpCommand=!0,this._helpCommand=e,this)}_getHelpCommand(){return this._addImplicitHelpCommand??(this.commands.length&&!this._actionHandler&&!this._findCommand("help"))?(this._helpCommand===void 0&&this.helpCommand(void 0,void 0),this._helpCommand):null}hook(e,t){const i=["preSubcommand","preAction","postAction"];if(!i.includes(e))throw new Error(`Unexpected value for event passed to hook : '${e}'.
13
+ Expecting one of '${i.join("', '")}'`);return this._lifeCycleHooks[e]?this._lifeCycleHooks[e].push(t):this._lifeCycleHooks[e]=[t],this}exitOverride(e){return e?this._exitCallback=e:this._exitCallback=t=>{if(t.code!=="commander.executeSubCommandAsync")throw t},this}_exit(e,t,i){this._exitCallback&&this._exitCallback(new I(e,t,i)),m.exit(e)}action(e){const t=i=>{const n=this.registeredArguments.length,r=i.slice(0,n);return this._storeOptionsAsProperties?r[n]=this:r[n]=this.opts(),r.push(this),e.apply(this,r)};return this._actionHandler=t,this}createOption(e,t){return new W(e,t)}_callParseArg(e,t,i,n){try{return e.parseArg(t,i)}catch(r){if(r.code==="commander.invalidArgument"){const s=`${n} ${r.message}`;this.error(s,{exitCode:r.exitCode,code:r.code})}throw r}}_registerOption(e){const t=e.short&&this._findOption(e.short)||e.long&&this._findOption(e.long);if(t){const i=e.long&&this._findOption(e.long)?e.long:e.short;throw new Error(`Cannot add option '${e.flags}'${this._name&&` to command '${this._name}'`} due to conflicting flag '${i}'
14
+ - already used by option '${t.flags}'`)}this.options.push(e)}_registerCommand(e){const t=n=>[n.name()].concat(n.aliases()),i=t(e).find(n=>this._findCommand(n));if(i){const n=t(this._findCommand(i)).join("|"),r=t(e).join("|");throw new Error(`cannot add command '${r}' as already have command '${n}'`)}this.commands.push(e)}addOption(e){this._registerOption(e);const t=e.name(),i=e.attributeName();if(e.negate){const r=e.long.replace(/^--no-/,"--");this._findOption(r)||this.setOptionValueWithSource(i,e.defaultValue===void 0?!0:e.defaultValue,"default")}else e.defaultValue!==void 0&&this.setOptionValueWithSource(i,e.defaultValue,"default");const n=(r,s,l)=>{r==null&&e.presetArg!==void 0&&(r=e.presetArg);const o=this.getOptionValue(i);r!==null&&e.parseArg?r=this._callParseArg(e,r,o,s):r!==null&&e.variadic&&(r=e._concatValue(r,o)),r==null&&(e.negate?r=!1:e.isBoolean()||e.optional?r=!0:r=""),this.setOptionValueWithSource(i,r,l)};return this.on("option:"+t,r=>{const s=`error: option '${e.flags}' argument '${r}' is invalid.`;n(r,s,"cli")}),e.envVar&&this.on("optionEnv:"+t,r=>{const s=`error: option '${e.flags}' value '${r}' from env '${e.envVar}' is invalid.`;n(r,s,"env")}),this}_optionEx(e,t,i,n,r){if(typeof t=="object"&&t instanceof W)throw new Error("To add an Option object use addOption() instead of option() or requiredOption()");const s=this.createOption(t,i);if(s.makeOptionMandatory(!!e.mandatory),typeof n=="function")s.default(r).argParser(n);else if(n instanceof RegExp){const l=n;n=(o,a)=>{const u=l.exec(o);return u?u[0]:a},s.default(r).argParser(n)}else s.default(n);return this.addOption(s)}option(e,t,i,n){return this._optionEx({},e,t,i,n)}requiredOption(e,t,i,n){return this._optionEx({mandatory:!0},e,t,i,n)}combineFlagAndOptionalValue(e=!0){return this._combineFlagAndOptionalValue=!!e,this}allowUnknownOption(e=!0){return this._allowUnknownOption=!!e,this}allowExcessArguments(e=!0){return this._allowExcessArguments=!!e,this}enablePositionalOptions(e=!0){return this._enablePositionalOptions=!!e,this}passThroughOptions(e=!0){return this._passThroughOptions=!!e,this._checkForBrokenPassThrough(),this}_checkForBrokenPassThrough(){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)`)}storeOptionsAsProperties(e=!0){if(this.options.length)throw new Error("call .storeOptionsAsProperties() before adding options");if(Object.keys(this._optionValues).length)throw new Error("call .storeOptionsAsProperties() before setting option values");return this._storeOptionsAsProperties=!!e,this}getOptionValue(e){return this._storeOptionsAsProperties?this[e]:this._optionValues[e]}setOptionValue(e,t){return this.setOptionValueWithSource(e,t,void 0)}setOptionValueWithSource(e,t,i){return this._storeOptionsAsProperties?this[e]=t:this._optionValues[e]=t,this._optionValueSources[e]=i,this}getOptionValueSource(e){return this._optionValueSources[e]}getOptionValueSourceWithGlobals(e){let t;return this._getCommandAndAncestors().forEach(i=>{i.getOptionValueSource(e)!==void 0&&(t=i.getOptionValueSource(e))}),t}_prepareUserArgs(e,t){if(e!==void 0&&!Array.isArray(e))throw new Error("first parameter to parse must be array or undefined");if(t=t||{},e===void 0&&t.from===void 0){m.versions?.electron&&(t.from="electron");const n=m.execArgv??[];(n.includes("-e")||n.includes("--eval")||n.includes("-p")||n.includes("--print"))&&(t.from="eval")}e===void 0&&(e=m.argv),this.rawArgs=e.slice();let i;switch(t.from){case void 0:case"node":this._scriptPath=e[1],i=e.slice(2);break;case"electron":m.defaultApp?(this._scriptPath=e[1],i=e.slice(2)):i=e.slice(1);break;case"user":i=e.slice(0);break;case"eval":i=e.slice(1);break;default:throw new Error(`unexpected parse option { from: '${t.from}' }`)}return!this._name&&this._scriptPath&&this.nameFromFilename(this._scriptPath),this._name=this._name||"program",i}parse(e,t){const i=this._prepareUserArgs(e,t);return this._parseCommand([],i),this}async parseAsync(e,t){const i=this._prepareUserArgs(e,t);return await this._parseCommand([],i),this}_executeSubCommand(e,t){t=t.slice();let i=!1;const n=[".js",".ts",".tsx",".mjs",".cjs"];function r(u,c){const d=y.resolve(u,c);if(N.existsSync(d))return d;if(n.includes(y.extname(c)))return;const _=n.find(f=>N.existsSync(`${d}${f}`));if(_)return`${d}${_}`}this._checkForMissingMandatoryOptions(),this._checkForConflictingOptions();let s=e._executableFile||`${this._name}-${e._name}`,l=this._executableDir||"";if(this._scriptPath){let u;try{u=N.realpathSync(this._scriptPath)}catch{u=this._scriptPath}l=y.resolve(y.dirname(u),l)}if(l){let u=r(l,s);if(!u&&!e._executableFile&&this._scriptPath){const c=y.basename(this._scriptPath,y.extname(this._scriptPath));c!==this._name&&(u=r(l,`${c}-${e._name}`))}s=u||s}i=n.includes(y.extname(s));let o;m.platform!=="win32"?i?(t.unshift(s),t=B(m.execArgv).concat(t),o=F.spawn(m.argv[0],t,{stdio:"inherit"})):o=F.spawn(s,t,{stdio:"inherit"}):(t.unshift(s),t=B(m.execArgv).concat(t),o=F.spawn(m.execPath,t,{stdio:"inherit"})),o.killed||["SIGUSR1","SIGUSR2","SIGTERM","SIGINT","SIGHUP"].forEach(c=>{m.on(c,()=>{o.killed===!1&&o.exitCode===null&&o.kill(c)})});const a=this._exitCallback;o.on("close",u=>{u=u??1,a?a(new I(u,"commander.executeSubCommandAsync","(close)")):m.exit(u)}),o.on("error",u=>{if(u.code==="ENOENT"){const c=l?`searched for local subcommand relative to directory '${l}'`:"no directory for search for local subcommand, use .executableDir() to supply a custom directory",d=`'${s}' does not exist
15
15
  - if '${e._name}' is not meant to be an executable command, remove description parameter from '.command()' and use '.description()' instead
16
16
  - if the default executable name is not suitable, use the executableFile option to supply a custom name or path
17
- - ${f}`;throw new Error(_)}else if(h.code==="EACCES")throw new Error(`'${o}' not executable`);if(!u)g.exit(1);else{const f=new U(1,"commander.executeSubCommandAsync","(error)");f.nestedError=h,u(f)}}),this.runningCommand=a}_dispatchSubcommand(e,t,n){const i=this._findCommand(e);i||this.help({error:!0});let r;return r=this._chainOrCallSubCommandHook(r,i,"preSubcommand"),r=this._chainOrCall(r,()=>{if(i._executableHandler)this._executeSubCommand(i,t.concat(n));else return i._parseCommand(t,n)}),r}_dispatchHelpCommand(e){e||this.help();const t=this._findCommand(e);return t&&!t._executableHandler&&t.help(),this._dispatchSubcommand(e,[],[this._getHelpOption()?.long??this._getHelpOption()?.short??"--help"])}_checkNumberOfArguments(){this.registeredArguments.forEach((e,t)=>{e.required&&this.args[t]==null&&this.missingArgument(e.name())}),!(this.registeredArguments.length>0&&this.registeredArguments[this.registeredArguments.length-1].variadic)&&this.args.length>this.registeredArguments.length&&this._excessArguments(this.args)}_processArguments(){const e=(n,i,r)=>{let o=i;if(i!==null&&n.parseArg){const l=`error: command-argument value '${i}' is invalid for argument '${n.name()}'.`;o=this._callParseArg(n,i,r,l)}return o};this._checkNumberOfArguments();const t=[];this.registeredArguments.forEach((n,i)=>{let r=n.defaultValue;n.variadic?i<this.args.length?(r=this.args.slice(i),n.parseArg&&(r=r.reduce((o,l)=>e(n,l,o),n.defaultValue))):r===void 0&&(r=[]):i<this.args.length&&(r=this.args[i],n.parseArg&&(r=e(n,r,n.defaultValue))),t[i]=r}),this.processedArgs=t}_chainOrCall(e,t){return e&&e.then&&typeof e.then=="function"?e.then(()=>t()):t()}_chainOrCallHooks(e,t){let n=e;const i=[];return this._getCommandAndAncestors().reverse().filter(r=>r._lifeCycleHooks[t]!==void 0).forEach(r=>{r._lifeCycleHooks[t].forEach(o=>{i.push({hookedCommand:r,callback:o})})}),t==="postAction"&&i.reverse(),i.forEach(r=>{n=this._chainOrCall(n,()=>r.callback(r.hookedCommand,this))}),n}_chainOrCallSubCommandHook(e,t,n){let i=e;return this._lifeCycleHooks[n]!==void 0&&this._lifeCycleHooks[n].forEach(r=>{i=this._chainOrCall(i,()=>r(this,t))}),i}_parseCommand(e,t){const n=this.parseOptions(t);if(this._parseOptionsEnv(),this._parseOptionsImplied(),e=e.concat(n.operands),t=n.unknown,this.args=e.concat(t),e&&this._findCommand(e[0]))return this._dispatchSubcommand(e[0],e.slice(1),t);if(this._getHelpCommand()&&e[0]===this._getHelpCommand().name())return this._dispatchHelpCommand(e[1]);if(this._defaultCommandName)return this._outputHelpIfRequested(t),this._dispatchSubcommand(this._defaultCommandName,e,t);this.commands.length&&this.args.length===0&&!this._actionHandler&&!this._defaultCommandName&&this.help({error:!0}),this._outputHelpIfRequested(n.unknown),this._checkForMissingMandatoryOptions(),this._checkForConflictingOptions();const i=()=>{n.unknown.length>0&&this.unknownOption(n.unknown[0])},r=`command:${this.name()}`;if(this._actionHandler){i(),this._processArguments();let o;return o=this._chainOrCallHooks(o,"preAction"),o=this._chainOrCall(o,()=>this._actionHandler(this.processedArgs)),this.parent&&(o=this._chainOrCall(o,()=>{this.parent.emit(r,e,t)})),o=this._chainOrCallHooks(o,"postAction"),o}if(this.parent&&this.parent.listenerCount(r))i(),this._processArguments(),this.parent.emit(r,e,t);else if(e.length){if(this._findCommand("*"))return this._dispatchSubcommand("*",e,t);this.listenerCount("command:*")?this.emit("command:*",e,t):this.commands.length?this.unknownCommand():(i(),this._processArguments())}else this.commands.length?(i(),this.help({error:!0})):(i(),this._processArguments())}_findCommand(e){if(e)return this.commands.find(t=>t._name===e||t._aliases.includes(e))}_findOption(e){return this.options.find(t=>t.is(e))}_checkForMissingMandatoryOptions(){this._getCommandAndAncestors().forEach(e=>{e.options.forEach(t=>{t.mandatory&&e.getOptionValue(t.attributeName())===void 0&&e.missingMandatoryOptionValue(t)})})}_checkForConflictingLocalOptions(){const e=this.options.filter(n=>{const i=n.attributeName();return this.getOptionValue(i)===void 0?!1:this.getOptionValueSource(i)!=="default"});e.filter(n=>n.conflictsWith.length>0).forEach(n=>{const i=e.find(r=>n.conflictsWith.includes(r.attributeName()));i&&this._conflictingOption(n,i)})}_checkForConflictingOptions(){this._getCommandAndAncestors().forEach(e=>{e._checkForConflictingLocalOptions()})}parseOptions(e){const t=[],n=[];let i=t;const r=e.slice();function o(a){return a.length>1&&a[0]==="-"}let l=null;for(;r.length;){const a=r.shift();if(a==="--"){i===n&&i.push(a),i.push(...r);break}if(l&&!o(a)){this.emit(`option:${l.name()}`,a);continue}if(l=null,o(a)){const u=this._findOption(a);if(u){if(u.required){const h=r.shift();h===void 0&&this.optionMissingArgument(u),this.emit(`option:${u.name()}`,h)}else if(u.optional){let h=null;r.length>0&&!o(r[0])&&(h=r.shift()),this.emit(`option:${u.name()}`,h)}else this.emit(`option:${u.name()}`);l=u.variadic?u:null;continue}}if(a.length>2&&a[0]==="-"&&a[1]!=="-"){const u=this._findOption(`-${a[1]}`);if(u){u.required||u.optional&&this._combineFlagAndOptionalValue?this.emit(`option:${u.name()}`,a.slice(2)):(this.emit(`option:${u.name()}`),r.unshift(`-${a.slice(2)}`));continue}}if(/^--[^=]+=/.test(a)){const u=a.indexOf("="),h=this._findOption(a.slice(0,u));if(h&&(h.required||h.optional)){this.emit(`option:${h.name()}`,a.slice(u+1));continue}}if(o(a)&&(i=n),(this._enablePositionalOptions||this._passThroughOptions)&&t.length===0&&n.length===0){if(this._findCommand(a)){t.push(a),r.length>0&&n.push(...r);break}else if(this._getHelpCommand()&&a===this._getHelpCommand().name()){t.push(a),r.length>0&&t.push(...r);break}else if(this._defaultCommandName){n.push(a),r.length>0&&n.push(...r);break}}if(this._passThroughOptions){i.push(a),r.length>0&&i.push(...r);break}i.push(a)}return{operands:t,unknown:n}}opts(){if(this._storeOptionsAsProperties){const e={},t=this.options.length;for(let n=0;n<t;n++){const i=this.options[n].attributeName();e[i]=i===this._versionOptionName?this._version:this[i]}return e}return this._optionValues}optsWithGlobals(){return this._getCommandAndAncestors().reduce((e,t)=>Object.assign(e,t.opts()),{})}error(e,t){this._outputConfiguration.outputError(`${e}
17
+ - ${c}`;throw new Error(d)}else if(u.code==="EACCES")throw new Error(`'${s}' not executable`);if(!a)m.exit(1);else{const c=new I(1,"commander.executeSubCommandAsync","(error)");c.nestedError=u,a(c)}}),this.runningCommand=o}_dispatchSubcommand(e,t,i){const n=this._findCommand(e);n||this.help({error:!0});let r;return r=this._chainOrCallSubCommandHook(r,n,"preSubcommand"),r=this._chainOrCall(r,()=>{if(n._executableHandler)this._executeSubCommand(n,t.concat(i));else return n._parseCommand(t,i)}),r}_dispatchHelpCommand(e){e||this.help();const t=this._findCommand(e);return t&&!t._executableHandler&&t.help(),this._dispatchSubcommand(e,[],[this._getHelpOption()?.long??this._getHelpOption()?.short??"--help"])}_checkNumberOfArguments(){this.registeredArguments.forEach((e,t)=>{e.required&&this.args[t]==null&&this.missingArgument(e.name())}),!(this.registeredArguments.length>0&&this.registeredArguments[this.registeredArguments.length-1].variadic)&&this.args.length>this.registeredArguments.length&&this._excessArguments(this.args)}_processArguments(){const e=(i,n,r)=>{let s=n;if(n!==null&&i.parseArg){const l=`error: command-argument value '${n}' is invalid for argument '${i.name()}'.`;s=this._callParseArg(i,n,r,l)}return s};this._checkNumberOfArguments();const t=[];this.registeredArguments.forEach((i,n)=>{let r=i.defaultValue;i.variadic?n<this.args.length?(r=this.args.slice(n),i.parseArg&&(r=r.reduce((s,l)=>e(i,l,s),i.defaultValue))):r===void 0&&(r=[]):n<this.args.length&&(r=this.args[n],i.parseArg&&(r=e(i,r,i.defaultValue))),t[n]=r}),this.processedArgs=t}_chainOrCall(e,t){return e&&e.then&&typeof e.then=="function"?e.then(()=>t()):t()}_chainOrCallHooks(e,t){let i=e;const n=[];return this._getCommandAndAncestors().reverse().filter(r=>r._lifeCycleHooks[t]!==void 0).forEach(r=>{r._lifeCycleHooks[t].forEach(s=>{n.push({hookedCommand:r,callback:s})})}),t==="postAction"&&n.reverse(),n.forEach(r=>{i=this._chainOrCall(i,()=>r.callback(r.hookedCommand,this))}),i}_chainOrCallSubCommandHook(e,t,i){let n=e;return this._lifeCycleHooks[i]!==void 0&&this._lifeCycleHooks[i].forEach(r=>{n=this._chainOrCall(n,()=>r(this,t))}),n}_parseCommand(e,t){const i=this.parseOptions(t);if(this._parseOptionsEnv(),this._parseOptionsImplied(),e=e.concat(i.operands),t=i.unknown,this.args=e.concat(t),e&&this._findCommand(e[0]))return this._dispatchSubcommand(e[0],e.slice(1),t);if(this._getHelpCommand()&&e[0]===this._getHelpCommand().name())return this._dispatchHelpCommand(e[1]);if(this._defaultCommandName)return this._outputHelpIfRequested(t),this._dispatchSubcommand(this._defaultCommandName,e,t);this.commands.length&&this.args.length===0&&!this._actionHandler&&!this._defaultCommandName&&this.help({error:!0}),this._outputHelpIfRequested(i.unknown),this._checkForMissingMandatoryOptions(),this._checkForConflictingOptions();const n=()=>{i.unknown.length>0&&this.unknownOption(i.unknown[0])},r=`command:${this.name()}`;if(this._actionHandler){n(),this._processArguments();let s;return s=this._chainOrCallHooks(s,"preAction"),s=this._chainOrCall(s,()=>this._actionHandler(this.processedArgs)),this.parent&&(s=this._chainOrCall(s,()=>{this.parent.emit(r,e,t)})),s=this._chainOrCallHooks(s,"postAction"),s}if(this.parent&&this.parent.listenerCount(r))n(),this._processArguments(),this.parent.emit(r,e,t);else if(e.length){if(this._findCommand("*"))return this._dispatchSubcommand("*",e,t);this.listenerCount("command:*")?this.emit("command:*",e,t):this.commands.length?this.unknownCommand():(n(),this._processArguments())}else this.commands.length?(n(),this.help({error:!0})):(n(),this._processArguments())}_findCommand(e){if(e)return this.commands.find(t=>t._name===e||t._aliases.includes(e))}_findOption(e){return this.options.find(t=>t.is(e))}_checkForMissingMandatoryOptions(){this._getCommandAndAncestors().forEach(e=>{e.options.forEach(t=>{t.mandatory&&e.getOptionValue(t.attributeName())===void 0&&e.missingMandatoryOptionValue(t)})})}_checkForConflictingLocalOptions(){const e=this.options.filter(i=>{const n=i.attributeName();return this.getOptionValue(n)===void 0?!1:this.getOptionValueSource(n)!=="default"});e.filter(i=>i.conflictsWith.length>0).forEach(i=>{const n=e.find(r=>i.conflictsWith.includes(r.attributeName()));n&&this._conflictingOption(i,n)})}_checkForConflictingOptions(){this._getCommandAndAncestors().forEach(e=>{e._checkForConflictingLocalOptions()})}parseOptions(e){const t=[],i=[];let n=t;const r=e.slice();function s(o){return o.length>1&&o[0]==="-"}let l=null;for(;r.length;){const o=r.shift();if(o==="--"){n===i&&n.push(o),n.push(...r);break}if(l&&!s(o)){this.emit(`option:${l.name()}`,o);continue}if(l=null,s(o)){const a=this._findOption(o);if(a){if(a.required){const u=r.shift();u===void 0&&this.optionMissingArgument(a),this.emit(`option:${a.name()}`,u)}else if(a.optional){let u=null;r.length>0&&!s(r[0])&&(u=r.shift()),this.emit(`option:${a.name()}`,u)}else this.emit(`option:${a.name()}`);l=a.variadic?a:null;continue}}if(o.length>2&&o[0]==="-"&&o[1]!=="-"){const a=this._findOption(`-${o[1]}`);if(a){a.required||a.optional&&this._combineFlagAndOptionalValue?this.emit(`option:${a.name()}`,o.slice(2)):(this.emit(`option:${a.name()}`),r.unshift(`-${o.slice(2)}`));continue}}if(/^--[^=]+=/.test(o)){const a=o.indexOf("="),u=this._findOption(o.slice(0,a));if(u&&(u.required||u.optional)){this.emit(`option:${u.name()}`,o.slice(a+1));continue}}if(s(o)&&(n=i),(this._enablePositionalOptions||this._passThroughOptions)&&t.length===0&&i.length===0){if(this._findCommand(o)){t.push(o),r.length>0&&i.push(...r);break}else if(this._getHelpCommand()&&o===this._getHelpCommand().name()){t.push(o),r.length>0&&t.push(...r);break}else if(this._defaultCommandName){i.push(o),r.length>0&&i.push(...r);break}}if(this._passThroughOptions){n.push(o),r.length>0&&n.push(...r);break}n.push(o)}return{operands:t,unknown:i}}opts(){if(this._storeOptionsAsProperties){const e={},t=this.options.length;for(let i=0;i<t;i++){const n=this.options[i].attributeName();e[n]=n===this._versionOptionName?this._version:this[n]}return e}return this._optionValues}optsWithGlobals(){return this._getCommandAndAncestors().reduce((e,t)=>Object.assign(e,t.opts()),{})}error(e,t){this._outputConfiguration.outputError(`${e}
18
18
  `,this._outputConfiguration.writeErr),typeof this._showHelpAfterError=="string"?this._outputConfiguration.writeErr(`${this._showHelpAfterError}
19
19
  `):this._showHelpAfterError&&(this._outputConfiguration.writeErr(`
20
- `),this.outputHelp({error:!0}));const n=t||{},i=n.exitCode||1,r=n.code||"commander.error";this._exit(i,r,e)}_parseOptionsEnv(){this.options.forEach(e=>{if(e.envVar&&e.envVar in g.env){const t=e.attributeName();(this.getOptionValue(t)===void 0||["default","config","env"].includes(this.getOptionValueSource(t)))&&(e.required||e.optional?this.emit(`optionEnv:${e.name()}`,g.env[e.envVar]):this.emit(`optionEnv:${e.name()}`))}})}_parseOptionsImplied(){const e=new Me(this.options),t=n=>this.getOptionValue(n)!==void 0&&!["default","implied"].includes(this.getOptionValueSource(n));this.options.filter(n=>n.implied!==void 0&&t(n.attributeName())&&e.valueFromOption(this.getOptionValue(n.attributeName()),n)).forEach(n=>{Object.keys(n.implied).filter(i=>!t(i)).forEach(i=>{this.setOptionValueWithSource(i,n.implied[i],"implied")})})}missingArgument(e){const t=`error: missing required argument '${e}'`;this.error(t,{code:"commander.missingArgument"})}optionMissingArgument(e){const t=`error: option '${e.flags}' argument missing`;this.error(t,{code:"commander.optionMissingArgument"})}missingMandatoryOptionValue(e){const t=`error: required option '${e.flags}' not specified`;this.error(t,{code:"commander.missingMandatoryOptionValue"})}_conflictingOption(e,t){const n=o=>{const l=o.attributeName(),a=this.getOptionValue(l),u=this.options.find(f=>f.negate&&l===f.attributeName()),h=this.options.find(f=>!f.negate&&l===f.attributeName());return u&&(u.presetArg===void 0&&a===!1||u.presetArg!==void 0&&a===u.presetArg)?u:h||o},i=o=>{const l=n(o),a=l.attributeName();return this.getOptionValueSource(a)==="env"?`environment variable '${l.envVar}'`:`option '${l.flags}'`},r=`error: ${i(e)} cannot be used with ${i(t)}`;this.error(r,{code:"commander.conflictingOption"})}unknownOption(e){if(this._allowUnknownOption)return;let t="";if(e.startsWith("--")&&this._showSuggestionAfterError){let i=[],r=this;do{const o=r.createHelp().visibleOptions(r).filter(l=>l.long).map(l=>l.long);i=i.concat(o),r=r.parent}while(r&&!r._enablePositionalOptions);t=R(e,i)}const n=`error: unknown option '${e}'${t}`;this.error(n,{code:"commander.unknownOption"})}_excessArguments(e){if(this._allowExcessArguments)return;const t=this.registeredArguments.length,n=t===1?"":"s",r=`error: too many arguments${this.parent?` for '${this.name()}'`:""}. Expected ${t} argument${n} but got ${e.length}.`;this.error(r,{code:"commander.excessArguments"})}unknownCommand(){const e=this.args[0];let t="";if(this._showSuggestionAfterError){const i=[];this.createHelp().visibleCommands(this).forEach(r=>{i.push(r.name()),r.alias()&&i.push(r.alias())}),t=R(e,i)}const n=`error: unknown command '${e}'${t}`;this.error(n,{code:"commander.unknownCommand"})}version(e,t,n){if(e===void 0)return this._version;this._version=e,t=t||"-V, --version",n=n||"output the version number";const i=this.createOption(t,n);return this._versionOptionName=i.attributeName(),this._registerOption(i),this.on("option:"+i.name(),()=>{this._outputConfiguration.writeOut(`${e}
21
- `),this._exit(0,"commander.version",e)}),this}description(e,t){return e===void 0&&t===void 0?this._description:(this._description=e,t&&(this._argsDescription=t),this)}summary(e){return e===void 0?this._summary:(this._summary=e,this)}alias(e){if(e===void 0)return this._aliases[0];let t=this;if(this.commands.length!==0&&this.commands[this.commands.length-1]._executableHandler&&(t=this.commands[this.commands.length-1]),e===t._name)throw new Error("Command alias can't be the same as its name");const n=this.parent?._findCommand(e);if(n){const i=[n.name()].concat(n.aliases()).join("|");throw new Error(`cannot add alias '${e}' to command '${this.name()}' as already have command '${i}'`)}return t._aliases.push(e),this}aliases(e){return e===void 0?this._aliases:(e.forEach(t=>this.alias(t)),this)}usage(e){if(e===void 0){if(this._usage)return this._usage;const t=this.registeredArguments.map(n=>De(n));return[].concat(this.options.length||this._helpOption!==null?"[options]":[],this.commands.length?"[command]":[],this.registeredArguments.length?t:[]).join(" ")}return this._usage=e,this}name(e){return e===void 0?this._name:(this._name=e,this)}nameFromFilename(e){return this._name=x.basename(e,x.extname(e)),this}executableDir(e){return e===void 0?this._executableDir:(this._executableDir=e,this)}helpInformation(e){const t=this.createHelp();return t.helpWidth===void 0&&(t.helpWidth=e&&e.error?this._outputConfiguration.getErrHelpWidth():this._outputConfiguration.getOutHelpWidth()),t.formatHelp(this,t)}_getHelpContext(e){e=e||{};const t={error:!!e.error};let n;return t.error?n=i=>this._outputConfiguration.writeErr(i):n=i=>this._outputConfiguration.writeOut(i),t.write=e.write||n,t.command=this,t}outputHelp(e){let t;typeof e=="function"&&(t=e,e=void 0);const n=this._getHelpContext(e);this._getCommandAndAncestors().reverse().forEach(r=>r.emit("beforeAllHelp",n)),this.emit("beforeHelp",n);let i=this.helpInformation(n);if(t&&(i=t(i),typeof i!="string"&&!Buffer.isBuffer(i)))throw new Error("outputHelp callback must return a string or a Buffer");n.write(i),this._getHelpOption()?.long&&this.emit(this._getHelpOption().long),this.emit("afterHelp",n),this._getCommandAndAncestors().forEach(r=>r.emit("afterAllHelp",n))}helpOption(e,t){return typeof e=="boolean"?(e?this._helpOption=this._helpOption??void 0:this._helpOption=null,this):(e=e??"-h, --help",t=t??"display help for command",this._helpOption=this.createOption(e,t),this)}_getHelpOption(){return this._helpOption===void 0&&this.helpOption(void 0,void 0),this._helpOption}addHelpOption(e){return this._helpOption=e,this}help(e){this.outputHelp(e);let t=g.exitCode||0;t===0&&e&&typeof e!="function"&&e.error&&(t=1),this._exit(t,"commander.help","(outputHelp)")}addHelpText(e,t){const n=["beforeAll","before","after","afterAll"];if(!n.includes(e))throw new Error(`Unexpected value for position to addHelpText.
22
- Expecting one of '${n.join("', '")}'`);const i=`${e}Help`;return this.on(i,r=>{let o;typeof t=="function"?o=t({error:r.error,command:r.command}):o=t,o&&r.write(`${o}
23
- `)}),this}_outputHelpIfRequested(e){const t=this._getHelpOption();t&&e.find(i=>t.is(i))&&(this.outputHelp(),this._exit(0,"commander.helpDisplayed","(outputHelp)"))}};function G(s){return s.map(e=>{if(!e.startsWith("--inspect"))return e;let t,n="127.0.0.1",i="9229",r;return(r=e.match(/^(--inspect(-brk)?)$/))!==null?t=r[1]:(r=e.match(/^(--inspect(-brk|-port)?)=([^:]+)$/))!==null?(t=r[1],/^\d+$/.test(r[3])?i=r[3]:n=r[3]):(r=e.match(/^(--inspect(-brk|-port)?)=([^:]+):(\d+)$/))!==null&&(t=r[1],n=r[3],i=r[4]),t&&i!=="0"?`${t}=${n}:${parseInt(i)+1}`:e})}re.Command=Ue;const{Argument:le}=j,{Command:q}=re,{CommanderError:We,InvalidArgumentError:ue}=V,{Help:qe}=W,{Option:ce}=P;w.program=new q;w.createCommand=s=>new q(s);w.createOption=(s,e)=>new ce(s,e);w.createArgument=(s,e)=>new le(s,e);w.Command=q;w.Option=ce;w.Argument=le;w.Help=qe;w.CommanderError=We;w.InvalidArgumentError=ue;w.InvalidOptionArgumentError=ue;const{program:v,createCommand:Hi,createArgument:Vi,createOption:ji,CommanderError:ki,InvalidArgumentError:Ii,InvalidOptionArgumentError:Pi,Command:Fi,Argument:Di,Option:K,Help:Be}=w;var Le=c._assignValue,Re=c._baseAssignValue;function Ge(s,e,t,n){var i=!t;t||(t={});for(var r=-1,o=e.length;++r<o;){var l=e[r],a=n?n(t[l],s[l],l,t,s):void 0;a===void 0&&(a=s[l]),i?Re(t,l,a):Le(t,l,a)}return t}var F=Ge,Ke=F,Je=c.keys_1;function Ye(s,e){return s&&Ke(e,Je(e),s)}var Qe=Ye,Xe=F,Ze=c.keysIn_1;function ze(s,e){return s&&Xe(e,Ze(e),s)}var et=ze,I={exports:{}};I.exports;(function(s,e){var t=c._root,n=e&&!e.nodeType&&e,i=n&&!0&&s&&!s.nodeType&&s,r=i&&i.exports===n,o=r?t.Buffer:void 0,l=o?o.allocUnsafe:void 0;function a(u,h){if(h)return u.slice();var f=u.length,_=l?l(f):new u.constructor(f);return u.copy(_),_}s.exports=a})(I,I.exports);var tt=I.exports,nt=F,it=c._getSymbols;function rt(s,e){return nt(s,it(s),e)}var st=rt,ot=F,at=c._getSymbolsIn;function lt(s,e){return ot(s,at(s),e)}var ut=lt,ct=Object.prototype,ht=ct.hasOwnProperty;function pt(s){var e=s.length,t=new s.constructor(e);return e&&typeof s[0]=="string"&&ht.call(s,"index")&&(t.index=s.index,t.input=s.input),t}var ft=pt,J=c._Uint8Array;function dt(s){var e=new s.constructor(s.byteLength);return new J(e).set(new J(s)),e}var B=dt,mt=B;function gt(s,e){var t=e?mt(s.buffer):s.buffer;return new s.constructor(t,s.byteOffset,s.byteLength)}var _t=gt,bt=/\w*$/;function Ot(s){var e=new s.constructor(s.source,bt.exec(s));return e.lastIndex=s.lastIndex,e}var At=Ot,Y=c._Symbol,Q=Y?Y.prototype:void 0,X=Q?Q.valueOf:void 0;function $t(s){return X?Object(X.call(s)):{}}var Ct=$t,yt=B;function vt(s,e){var t=e?yt(s.buffer):s.buffer;return new s.constructor(t,s.byteOffset,s.length)}var wt=vt,Et=B,xt=_t,St=At,Tt=Ct,Ht=wt,Vt="[object Boolean]",jt="[object Date]",kt="[object Map]",It="[object Number]",Pt="[object RegExp]",Ft="[object Set]",Dt="[object String]",Nt="[object Symbol]",Mt="[object ArrayBuffer]",Ut="[object DataView]",Wt="[object Float32Array]",qt="[object Float64Array]",Bt="[object Int8Array]",Lt="[object Int16Array]",Rt="[object Int32Array]",Gt="[object Uint8Array]",Kt="[object Uint8ClampedArray]",Jt="[object Uint16Array]",Yt="[object Uint32Array]";function Qt(s,e,t){var n=s.constructor;switch(e){case Mt:return Et(s);case Vt:case jt:return new n(+s);case Ut:return xt(s,t);case Wt:case qt:case Bt:case Lt:case Rt:case Gt:case Kt:case Jt:case Yt:return Ht(s,t);case kt:return new n;case It:case Dt:return new n(s);case Pt:return St(s);case Ft:return new n;case Nt:return Tt(s)}}var Xt=Qt,Zt=c._baseCreate,zt=c._getPrototype,en=c._isPrototype;function tn(s){return typeof s.constructor=="function"&&!en(s)?Zt(zt(s)):{}}var nn=tn,rn=c._getTag,sn=c.isObjectLike_1,on="[object Map]";function an(s){return sn(s)&&rn(s)==on}var ln=an,un=ln,cn=c._baseUnary,Z=c._nodeUtilExports,z=Z&&Z.isMap,hn=z?cn(z):un,pn=hn,fn=c._getTag,dn=c.isObjectLike_1,mn="[object Set]";function gn(s){return dn(s)&&fn(s)==mn}var _n=gn,bn=_n,On=c._baseUnary,ee=c._nodeUtilExports,te=ee&&ee.isSet,An=te?On(te):bn,$n=An,Cn=c._Stack,yn=c._arrayEach,vn=c._assignValue,wn=Qe,En=et,xn=tt,Sn=c._copyArray,Tn=st,Hn=ut,Vn=c._getAllKeys,jn=c._getAllKeysIn,kn=c._getTag,In=ft,Pn=Xt,Fn=nn,Dn=c.isArray_1,Nn=c.isBufferExports,Mn=pn,Un=c.isObject_1,Wn=$n,qn=c.keys_1,Bn=c.keysIn_1,Ln=1,Rn=2,Gn=4,he="[object Arguments]",Kn="[object Array]",Jn="[object Boolean]",Yn="[object Date]",Qn="[object Error]",pe="[object Function]",Xn="[object GeneratorFunction]",Zn="[object Map]",zn="[object Number]",fe="[object Object]",ei="[object RegExp]",ti="[object Set]",ni="[object String]",ii="[object Symbol]",ri="[object WeakMap]",si="[object ArrayBuffer]",oi="[object DataView]",ai="[object Float32Array]",li="[object Float64Array]",ui="[object Int8Array]",ci="[object Int16Array]",hi="[object Int32Array]",pi="[object Uint8Array]",fi="[object Uint8ClampedArray]",di="[object Uint16Array]",mi="[object Uint32Array]",m={};m[he]=m[Kn]=m[si]=m[oi]=m[Jn]=m[Yn]=m[ai]=m[li]=m[ui]=m[ci]=m[hi]=m[Zn]=m[zn]=m[fe]=m[ei]=m[ti]=m[ni]=m[ii]=m[pi]=m[fi]=m[di]=m[mi]=!0;m[Qn]=m[pe]=m[ri]=!1;function k(s,e,t,n,i,r){var o,l=e&Ln,a=e&Rn,u=e&Gn;if(t&&(o=i?t(s,n,i,r):t(s)),o!==void 0)return o;if(!Un(s))return s;var h=Dn(s);if(h){if(o=In(s),!l)return Sn(s,o)}else{var f=kn(s),_=f==pe||f==Xn;if(Nn(s))return xn(s,l);if(f==fe||f==he||_&&!i){if(o=a||_?{}:Fn(s),!l)return a?Hn(s,En(o,s)):Tn(s,wn(o,s))}else{if(!m[f])return i?s:{};o=Pn(s,f,l)}}r||(r=new Cn);var $=r.get(s);if($)return $;r.set(s,o),Wn(s)?s.forEach(function(b){o.add(k(b,e,t,b,s,r))}):Mn(s)&&s.forEach(function(b,C){o.set(C,k(b,e,t,C,s,r))});var d=u?a?jn:Vn:a?Bn:qn,O=h?void 0:d(s);return yn(O||s,function(b,C){O&&(C=b,b=s[C]),vn(o,C,k(b,e,t,C,s,r))}),o}var gi=k,_i=gi,bi=1,Oi=4;function Ai(s){return _i(s,bi|Oi)}var $i=Ai;const Ci=c.getDefaultExportFromCjs($i),ne="Output the version number of npm-check-updates.",yi=s=>s.replace(/`/g,"");(async()=>{const{default:s}=await Promise.resolve().then(()=>require("./index-5sFb3Tvv.js")),e=s({pkg:c.pkg});if(e.update&&e.update.latest!==c.pkg.version){const{default:p}=await Promise.resolve().then(()=>require("./index-BmUFwMVL.js")),y=c.semver.parse(e.update.current)?.major,A=c.semver.parse(e.update.latest)?.major,T=(y&&A&&A>=y?new Array(A-y).fill(0).map((H,D)=>y+D+1):[]).map(H=>`${c.pkg.homepage??""}/releases/tag/v${H}.0.0`),S=`${c.pkg.homepage??""}/compare/v${e.update.current}...v${e.update.latest}`;e.notify({defer:!1,isGlobal:!0,message:`Update available ${p.dim("{currentVersion}")}${p.reset(" → ")}${e.update.type==="major"?p.red("{latestVersion}"):e.update.type==="minor"?p.yellow("{latestVersion}"):p.green("{latestVersion}")}
20
+ `),this.outputHelp({error:!0}));const i=t||{},n=i.exitCode||1,r=i.code||"commander.error";this._exit(n,r,e)}_parseOptionsEnv(){this.options.forEach(e=>{if(e.envVar&&e.envVar in m.env){const t=e.attributeName();(this.getOptionValue(t)===void 0||["default","config","env"].includes(this.getOptionValueSource(t)))&&(e.required||e.optional?this.emit(`optionEnv:${e.name()}`,m.env[e.envVar]):this.emit(`optionEnv:${e.name()}`))}})}_parseOptionsImplied(){const e=new ye(this.options),t=i=>this.getOptionValue(i)!==void 0&&!["default","implied"].includes(this.getOptionValueSource(i));this.options.filter(i=>i.implied!==void 0&&t(i.attributeName())&&e.valueFromOption(this.getOptionValue(i.attributeName()),i)).forEach(i=>{Object.keys(i.implied).filter(n=>!t(n)).forEach(n=>{this.setOptionValueWithSource(n,i.implied[n],"implied")})})}missingArgument(e){const t=`error: missing required argument '${e}'`;this.error(t,{code:"commander.missingArgument"})}optionMissingArgument(e){const t=`error: option '${e.flags}' argument missing`;this.error(t,{code:"commander.optionMissingArgument"})}missingMandatoryOptionValue(e){const t=`error: required option '${e.flags}' not specified`;this.error(t,{code:"commander.missingMandatoryOptionValue"})}_conflictingOption(e,t){const i=s=>{const l=s.attributeName(),o=this.getOptionValue(l),a=this.options.find(c=>c.negate&&l===c.attributeName()),u=this.options.find(c=>!c.negate&&l===c.attributeName());return a&&(a.presetArg===void 0&&o===!1||a.presetArg!==void 0&&o===a.presetArg)?a:u||s},n=s=>{const l=i(s),o=l.attributeName();return this.getOptionValueSource(o)==="env"?`environment variable '${l.envVar}'`:`option '${l.flags}'`},r=`error: ${n(e)} cannot be used with ${n(t)}`;this.error(r,{code:"commander.conflictingOption"})}unknownOption(e){if(this._allowUnknownOption)return;let t="";if(e.startsWith("--")&&this._showSuggestionAfterError){let n=[],r=this;do{const s=r.createHelp().visibleOptions(r).filter(l=>l.long).map(l=>l.long);n=n.concat(s),r=r.parent}while(r&&!r._enablePositionalOptions);t=q(e,n)}const i=`error: unknown option '${e}'${t}`;this.error(i,{code:"commander.unknownOption"})}_excessArguments(e){if(this._allowExcessArguments)return;const t=this.registeredArguments.length,i=t===1?"":"s",r=`error: too many arguments${this.parent?` for '${this.name()}'`:""}. Expected ${t} argument${i} but got ${e.length}.`;this.error(r,{code:"commander.excessArguments"})}unknownCommand(){const e=this.args[0];let t="";if(this._showSuggestionAfterError){const n=[];this.createHelp().visibleCommands(this).forEach(r=>{n.push(r.name()),r.alias()&&n.push(r.alias())}),t=q(e,n)}const i=`error: unknown command '${e}'${t}`;this.error(i,{code:"commander.unknownCommand"})}version(e,t,i){if(e===void 0)return this._version;this._version=e,t=t||"-V, --version",i=i||"output the version number";const n=this.createOption(t,i);return this._versionOptionName=n.attributeName(),this._registerOption(n),this.on("option:"+n.name(),()=>{this._outputConfiguration.writeOut(`${e}
21
+ `),this._exit(0,"commander.version",e)}),this}description(e,t){return e===void 0&&t===void 0?this._description:(this._description=e,t&&(this._argsDescription=t),this)}summary(e){return e===void 0?this._summary:(this._summary=e,this)}alias(e){if(e===void 0)return this._aliases[0];let t=this;if(this.commands.length!==0&&this.commands[this.commands.length-1]._executableHandler&&(t=this.commands[this.commands.length-1]),e===t._name)throw new Error("Command alias can't be the same as its name");const i=this.parent?._findCommand(e);if(i){const n=[i.name()].concat(i.aliases()).join("|");throw new Error(`cannot add alias '${e}' to command '${this.name()}' as already have command '${n}'`)}return t._aliases.push(e),this}aliases(e){return e===void 0?this._aliases:(e.forEach(t=>this.alias(t)),this)}usage(e){if(e===void 0){if(this._usage)return this._usage;const t=this.registeredArguments.map(i=>we(i));return[].concat(this.options.length||this._helpOption!==null?"[options]":[],this.commands.length?"[command]":[],this.registeredArguments.length?t:[]).join(" ")}return this._usage=e,this}name(e){return e===void 0?this._name:(this._name=e,this)}nameFromFilename(e){return this._name=y.basename(e,y.extname(e)),this}executableDir(e){return e===void 0?this._executableDir:(this._executableDir=e,this)}helpInformation(e){const t=this.createHelp();return t.helpWidth===void 0&&(t.helpWidth=e&&e.error?this._outputConfiguration.getErrHelpWidth():this._outputConfiguration.getOutHelpWidth()),t.formatHelp(this,t)}_getHelpContext(e){e=e||{};const t={error:!!e.error};let i;return t.error?i=n=>this._outputConfiguration.writeErr(n):i=n=>this._outputConfiguration.writeOut(n),t.write=e.write||i,t.command=this,t}outputHelp(e){let t;typeof e=="function"&&(t=e,e=void 0);const i=this._getHelpContext(e);this._getCommandAndAncestors().reverse().forEach(r=>r.emit("beforeAllHelp",i)),this.emit("beforeHelp",i);let n=this.helpInformation(i);if(t&&(n=t(n),typeof n!="string"&&!Buffer.isBuffer(n)))throw new Error("outputHelp callback must return a string or a Buffer");i.write(n),this._getHelpOption()?.long&&this.emit(this._getHelpOption().long),this.emit("afterHelp",i),this._getCommandAndAncestors().forEach(r=>r.emit("afterAllHelp",i))}helpOption(e,t){return typeof e=="boolean"?(e?this._helpOption=this._helpOption??void 0:this._helpOption=null,this):(e=e??"-h, --help",t=t??"display help for command",this._helpOption=this.createOption(e,t),this)}_getHelpOption(){return this._helpOption===void 0&&this.helpOption(void 0,void 0),this._helpOption}addHelpOption(e){return this._helpOption=e,this}help(e){this.outputHelp(e);let t=m.exitCode||0;t===0&&e&&typeof e!="function"&&e.error&&(t=1),this._exit(t,"commander.help","(outputHelp)")}addHelpText(e,t){const i=["beforeAll","before","after","afterAll"];if(!i.includes(e))throw new Error(`Unexpected value for position to addHelpText.
22
+ Expecting one of '${i.join("', '")}'`);const n=`${e}Help`;return this.on(n,r=>{let s;typeof t=="function"?s=t({error:r.error,command:r.command}):s=t,s&&r.write(`${s}
23
+ `)}),this}_outputHelpIfRequested(e){const t=this._getHelpOption();t&&e.find(n=>t.is(n))&&(this.outputHelp(),this._exit(0,"commander.helpDisplayed","(outputHelp)"))}};function B(h){return h.map(e=>{if(!e.startsWith("--inspect"))return e;let t,i="127.0.0.1",n="9229",r;return(r=e.match(/^(--inspect(-brk)?)$/))!==null?t=r[1]:(r=e.match(/^(--inspect(-brk|-port)?)=([^:]+)$/))!==null?(t=r[1],/^\d+$/.test(r[3])?n=r[3]:i=r[3]):(r=e.match(/^(--inspect(-brk|-port)?)=([^:]+):(\d+)$/))!==null&&(t=r[1],i=r[3],n=r[4]),t&&n!=="0"?`${t}=${i}:${parseInt(n)+1}`:e})}L.Command=ve;const{Argument:z}=S,{Command:M}=L,{CommanderError:Ee,InvalidArgumentError:Q}=V,{Help:xe}=T,{Option:X}=P;w.program=new M;w.createCommand=h=>new M(h);w.createOption=(h,e)=>new X(h,e);w.createArgument=(h,e)=>new z(h,e);w.Command=M;w.Option=X;w.Argument=z;w.Help=xe;w.CommanderError=Ee;w.InvalidArgumentError=Q;w.InvalidOptionArgumentError=Q;const{program:C,createCommand:qe,createArgument:Be,createOption:Ue,CommanderError:Re,InvalidArgumentError:Ge,InvalidOptionArgumentError:Le,Command:Je,Argument:Ke,Option:U,Help:He}=w;var Ve=ke;function H(h){return h instanceof Buffer?Buffer.from(h):new h.constructor(h.buffer.slice(),h.byteOffset,h.length)}function ke(h){if(h=h||{},h.circles)return Se(h);const e=new Map;if(e.set(Date,s=>new Date(s)),e.set(Map,(s,l)=>new Map(i(Array.from(s),l))),e.set(Set,(s,l)=>new Set(i(Array.from(s),l))),h.constructorHandlers)for(const s of h.constructorHandlers)e.set(s[0],s[1]);let t=null;return h.proto?r:n;function i(s,l){const o=Object.keys(s),a=new Array(o.length);for(let u=0;u<o.length;u++){const c=o[u],d=s[c];typeof d!="object"||d===null?a[c]=d:d.constructor!==Object&&(t=e.get(d.constructor))?a[c]=t(d,l):ArrayBuffer.isView(d)?a[c]=H(d):a[c]=l(d)}return a}function n(s){if(typeof s!="object"||s===null)return s;if(Array.isArray(s))return i(s,n);if(s.constructor!==Object&&(t=e.get(s.constructor)))return t(s,n);const l={};for(const o in s){if(Object.hasOwnProperty.call(s,o)===!1)continue;const a=s[o];typeof a!="object"||a===null?l[o]=a:a.constructor!==Object&&(t=e.get(a.constructor))?l[o]=t(a,n):ArrayBuffer.isView(a)?l[o]=H(a):l[o]=n(a)}return l}function r(s){if(typeof s!="object"||s===null)return s;if(Array.isArray(s))return i(s,r);if(s.constructor!==Object&&(t=e.get(s.constructor)))return t(s,r);const l={};for(const o in s){const a=s[o];typeof a!="object"||a===null?l[o]=a:a.constructor!==Object&&(t=e.get(a.constructor))?l[o]=t(a,r):ArrayBuffer.isView(a)?l[o]=H(a):l[o]=r(a)}return l}}function Se(h){const e=[],t=[],i=new Map;if(i.set(Date,o=>new Date(o)),i.set(Map,(o,a)=>new Map(r(Array.from(o),a))),i.set(Set,(o,a)=>new Set(r(Array.from(o),a))),h.constructorHandlers)for(const o of h.constructorHandlers)i.set(o[0],o[1]);let n=null;return h.proto?l:s;function r(o,a){const u=Object.keys(o),c=new Array(u.length);for(let d=0;d<u.length;d++){const _=u[d],f=o[_];if(typeof f!="object"||f===null)c[_]=f;else if(f.constructor!==Object&&(n=i.get(f.constructor)))c[_]=n(f,a);else if(ArrayBuffer.isView(f))c[_]=H(f);else{const O=e.indexOf(f);O!==-1?c[_]=t[O]:c[_]=a(f)}}return c}function s(o){if(typeof o!="object"||o===null)return o;if(Array.isArray(o))return r(o,s);if(o.constructor!==Object&&(n=i.get(o.constructor)))return n(o,s);const a={};e.push(o),t.push(a);for(const u in o){if(Object.hasOwnProperty.call(o,u)===!1)continue;const c=o[u];if(typeof c!="object"||c===null)a[u]=c;else if(c.constructor!==Object&&(n=i.get(c.constructor)))a[u]=n(c,s);else if(ArrayBuffer.isView(c))a[u]=H(c);else{const d=e.indexOf(c);d!==-1?a[u]=t[d]:a[u]=s(c)}}return e.pop(),t.pop(),a}function l(o){if(typeof o!="object"||o===null)return o;if(Array.isArray(o))return r(o,l);if(o.constructor!==Object&&(n=i.get(o.constructor)))return n(o,l);const a={};e.push(o),t.push(a);for(const u in o){const c=o[u];if(typeof c!="object"||c===null)a[u]=c;else if(c.constructor!==Object&&(n=i.get(c.constructor)))a[u]=n(c,l);else if(ArrayBuffer.isView(c))a[u]=H(c);else{const d=e.indexOf(c);d!==-1?a[u]=t[d]:a[u]=l(c)}}return e.pop(),t.pop(),a}}const je=g.getDefaultExportFromCjs(Ve),R="Output the version number of npm-check-updates.",Pe=h=>h.replace(/`/g,""),De=je();(async()=>{const{default:h}=await Promise.resolve().then(()=>require("./index-CWktU8PK.js")),e=h({pkg:g.pkg});if(e.update&&e.update.latest!==g.pkg.version){const{default:p}=await Promise.resolve().then(()=>require("./index-BmUFwMVL.js")),b=g.semver.parse(e.update.current)?.major,A=g.semver.parse(e.update.latest)?.major,E=(b&&A&&A>=b?new Array(A-b).fill(0).map((x,D)=>b+D+1):[]).map(x=>`${g.pkg.homepage??""}/releases/tag/v${x}.0.0`),v=`${g.pkg.homepage??""}/compare/v${e.update.current}...v${e.update.latest}`;e.notify({defer:!1,isGlobal:!0,message:`Update available ${p.dim("{currentVersion}")}${p.reset(" → ")}${e.update.type==="major"?p.red("{latestVersion}"):e.update.type==="minor"?p.yellow("{latestVersion}"):p.green("{latestVersion}")}
24
24
  Run ${p.cyan("{updateCommand}")} to update
25
- ${p.dim.underline(e.update.type==="major"?T.map(H=>p.dim.underline(H)).join(`
26
- `):S)}`})}const t=process.argv.slice(2),n=t.findIndex(p=>p==="--help"||p==="-h");if(n!==-1&&t[n+1]){const p=t[n+1].replace(/^-*/,"");p==="help"||p==="h"?console.info("Would you like some help with your help?"):(await c.chalkInit(),[...t.slice(0,n),...t.slice(n+1)].forEach(A=>{const E=A.replace(/^-*/,""),T=c.cliOptionsSorted.find(S=>E===S.long||E===S.short||E===`no-${S.long}`&&S.type==="boolean");console.info(T?c.renderExtendedHelp(T)+`
27
- `:E==="version"||E==="v"||E==="V"?c.renderExtendedHelp({long:"version",short:"v",description:ne,type:"string"})+`
28
- `:`Unknown option: ${A}`)})),process.exit(0)}const i=new Set(c.cliOptionsSorted.filter(p=>p.cli===!1).map(p=>`--${p.long}`));v.description("[filter] is a list or regex of package names to check (all others will be ignored).").usage("[options] [filter]").configureHelp({optionTerm:p=>p.long&&i.has(p.long)?p.long.replace("--","")+"*":p.long==="--version"?"-v, -V, --version":p.flags.replace("[bool]",""),optionDescription:p=>p.long==="--version"?ne:p.long==="--help"?`You're lookin' at it. Run "ncu --help <option>" for a specific option.`:Be.prototype.optionDescription(p)}).addOption(new K("-v, --versionAlias").hideHelp()).on("option:versionAlias",()=>{console.info(c.pkg.version),process.exit(0)}),c.cliOptionsSorted.forEach(({long:p,short:y,arg:A,description:E,default:T,help:S,parse:H,type:D})=>{const me=`${y?`-${y}, `:""}--${p}${A?` <${A}>`:""}`,ge=`${yi(E)}${S?` Run "ncu --help ${p}" for details.`:""}`;v.option(me,ge,H||T,H?T:void 0),D==="boolean"&&v.addOption(new K(`--no-${p}`).default(!1).hideHelp())}),v.version(c.pkg.version);const r=Ci(v._optionValues);v.parse(process.argv);const o=v.opts(),l=process.argv.slice(2),{color:a,configFileName:u,configFilePath:h,global:f,packageFile:_,mergeConfig:$}=o;await c.chalkInit(a);const d=!process.env.NCU_TESTS||h||$?await c.getNcuRc({configFileName:u,configFilePath:h,global:f,packageFile:_,options:{...o,cli:!0}}):null,O=(d?.args||[]).filter((p,y,A)=>(typeof p!="string"||!p.startsWith("-")||!l.includes(p))&&(typeof A[y-1]!="string"||!A[y-1].startsWith("-")||!l.includes(A[y-1]))),b=[...process.argv.slice(0,2),...O,...l];v._optionValues=r,v.parse(b);const C=v.opts(),de={...d&&Object.keys(d.config).length>0?{rcConfigPath:d.filePath}:null,...c.pickBy(v.opts(),p=>p!==void 0),args:v.args,...C.filter?{filter:C.filter}:null,...C.reject?{reject:C.reject}:null};c.run(de,{cli:!0})})();
25
+ ${p.dim.underline(e.update.type==="major"?E.map(x=>p.dim.underline(x)).join(`
26
+ `):v)}`})}const t=process.argv.slice(2),i=t.findIndex(p=>p==="--help"||p==="-h");if(i!==-1&&t[i+1]){const p=t[i+1].replace(/^-*/,"");p==="help"||p==="h"?console.info("Would you like some help with your help?"):(await g.chalkInit(),[...t.slice(0,i),...t.slice(i+1)].forEach(A=>{const $=A.replace(/^-*/,""),E=g.cliOptionsSorted.find(v=>$===v.long||$===v.short||$===`no-${v.long}`&&v.type==="boolean");console.info(E?g.renderExtendedHelp(E)+`
27
+ `:$==="version"||$==="v"||$==="V"?g.renderExtendedHelp({long:"version",short:"v",description:R,type:"string"})+`
28
+ `:`Unknown option: ${A}`)})),process.exit(0)}const n=new Set(g.cliOptionsSorted.filter(p=>p.cli===!1).map(p=>`--${p.long}`));C.description("[filter] is a list or regex of package names to check (all others will be ignored).").usage("[options] [filter]").configureHelp({optionTerm:p=>p.long&&n.has(p.long)?p.long.replace("--","")+"*":p.long==="--version"?"-v, -V, --version":p.flags.replace("[bool]",""),optionDescription:p=>p.long==="--version"?R:p.long==="--help"?`You're lookin' at it. Run "ncu --help <option>" for a specific option.`:He.prototype.optionDescription(p)}).addOption(new U("-v, --versionAlias").hideHelp()).on("option:versionAlias",()=>{console.info(g.pkg.version),process.exit(0)}),g.cliOptionsSorted.forEach(({long:p,short:b,arg:A,description:$,default:E,help:v,parse:x,type:D})=>{const ee=`${b?`-${b}, `:""}--${p}${A?` <${A}>`:""}`,te=`${Pe($)}${v?` Run "ncu --help ${p}" for details.`:""}`;C.option(ee,te,x||E,x?E:void 0),D==="boolean"&&C.addOption(new U(`--no-${p}`).default(!1).hideHelp())}),C.version(g.pkg.version);const r=De(C._optionValues);C.parse(process.argv);const s=C.opts(),l=process.argv.slice(2),{color:o,configFileName:a,configFilePath:u,global:c,packageFile:d,mergeConfig:_}=s;await g.chalkInit(o);const f=!process.env.NCU_TESTS||u||_?await g.getNcuRc({configFileName:a,configFilePath:u,global:c,packageFile:d,options:{...s,cli:!0}}):null,O=(f?.args||[]).filter((p,b,A)=>(typeof p!="string"||!p.startsWith("-")||!l.includes(p))&&(typeof A[b-1]!="string"||!A[b-1].startsWith("-")||!l.includes(A[b-1]))),k=[...process.argv.slice(0,2),...O,...l];C._optionValues=r,C.parse(k);const j=C.opts(),Z={...f&&Object.keys(f.config).length>0?{rcConfigPath:f.filePath}:null,...g.pickBy(C.opts(),p=>p!==void 0),args:C.args,...j.filter?{filter:j.filter}:null,...j.reject?{reject:j.reject}:null};g.run(Z,{cli:!0})})();
29
29
  //# sourceMappingURL=cli.js.map