@visulima/vis 1.0.0-alpha.42 → 1.0.0-alpha.44

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (195) hide show
  1. package/CHANGELOG.md +54 -0
  2. package/LICENSE.md +256 -0
  3. package/bin/resolve-binary.mjs +85 -0
  4. package/bin/vis.mjs +76 -0
  5. package/dist/bin.d.ts +1 -0
  6. package/dist/bin.js +1 -2
  7. package/dist/binx.js +1 -1
  8. package/dist/config/index.js +1 -1
  9. package/dist/packem_chunks/CONFIG_FILES.js +8 -0
  10. package/dist/packem_chunks/bloom-status.js +1 -1
  11. package/dist/packem_chunks/bloom-sync.js +1 -1
  12. package/dist/packem_chunks/catalog.js +113 -0
  13. package/dist/packem_chunks/cli-exec.js +1 -1
  14. package/dist/packem_chunks/cli-main.js +297 -434
  15. package/dist/packem_chunks/detect.js +3 -3
  16. package/dist/packem_chunks/dispatch.js +1 -1
  17. package/dist/packem_chunks/fix.js +1 -1
  18. package/dist/packem_chunks/handler.js +1 -1
  19. package/dist/packem_chunks/handler10.js +5 -1
  20. package/dist/packem_chunks/handler11.js +1 -5
  21. package/dist/packem_chunks/handler12.js +27 -1
  22. package/dist/packem_chunks/handler13.js +5 -27
  23. package/dist/packem_chunks/handler14.js +1 -5
  24. package/dist/packem_chunks/handler15.js +1 -1
  25. package/dist/packem_chunks/handler16.js +1 -1
  26. package/dist/packem_chunks/handler17.js +1 -1
  27. package/dist/packem_chunks/handler18.js +1 -1
  28. package/dist/packem_chunks/handler19.js +5 -1
  29. package/dist/packem_chunks/handler2.js +1 -1
  30. package/dist/packem_chunks/handler20.js +2 -5
  31. package/dist/packem_chunks/handler21.js +2 -2
  32. package/dist/packem_chunks/handler22.js +14 -2
  33. package/dist/packem_chunks/handler23.js +1 -5
  34. package/dist/packem_chunks/handler24.js +1 -1
  35. package/dist/packem_chunks/handler25.js +1 -1
  36. package/dist/packem_chunks/handler26.js +5 -1
  37. package/dist/packem_chunks/handler27.js +1 -5
  38. package/dist/packem_chunks/handler28.js +3 -1
  39. package/dist/packem_chunks/handler29.js +1 -3
  40. package/dist/packem_chunks/handler3.js +4 -1
  41. package/dist/packem_chunks/handler30.js +1 -1
  42. package/dist/packem_chunks/handler31.js +2 -1
  43. package/dist/packem_chunks/handler32.js +2 -2
  44. package/dist/packem_chunks/handler33.js +2 -2
  45. package/dist/packem_chunks/handler34.js +3 -2
  46. package/dist/packem_chunks/handler35.js +6 -3
  47. package/dist/packem_chunks/handler36.js +1 -6
  48. package/dist/packem_chunks/handler37.js +42 -1
  49. package/dist/packem_chunks/handler38.js +8 -42
  50. package/dist/packem_chunks/handler39.js +9 -8
  51. package/dist/packem_chunks/handler4.js +4 -4
  52. package/dist/packem_chunks/handler40.js +75 -9
  53. package/dist/packem_chunks/handler41.js +5 -75
  54. package/dist/packem_chunks/handler42.js +4 -5
  55. package/dist/packem_chunks/handler43.js +3 -4
  56. package/dist/packem_chunks/handler44.js +2 -3
  57. package/dist/packem_chunks/handler45.js +1 -2
  58. package/dist/packem_chunks/handler46.js +1 -1
  59. package/dist/packem_chunks/handler47.js +1 -1
  60. package/dist/packem_chunks/handler48.js +3 -1
  61. package/dist/packem_chunks/handler49.js +1 -3
  62. package/dist/packem_chunks/handler5.js +6 -4
  63. package/dist/packem_chunks/handler50.js +7 -1
  64. package/dist/packem_chunks/handler51.js +32 -6
  65. package/dist/packem_chunks/handler52.js +3 -33
  66. package/dist/packem_chunks/handler53.js +8 -3
  67. package/dist/packem_chunks/handler54.js +2 -6
  68. package/dist/packem_chunks/handler55.js +1 -4
  69. package/dist/packem_chunks/handler56.js +12 -1
  70. package/dist/packem_chunks/handler57.js +5 -12
  71. package/dist/packem_chunks/handler58.js +11 -5
  72. package/dist/packem_chunks/handler59.js +3 -11
  73. package/dist/packem_chunks/handler6.js +8 -6
  74. package/dist/packem_chunks/handler60.js +22 -3
  75. package/dist/packem_chunks/handler61.js +60 -21
  76. package/dist/packem_chunks/handler62.js +3 -61
  77. package/dist/packem_chunks/handler63.js +6 -3
  78. package/dist/packem_chunks/handler64.js +9 -6
  79. package/dist/packem_chunks/handler65.js +2 -9
  80. package/dist/packem_chunks/handler66.js +13 -13
  81. package/dist/packem_chunks/handler67.js +5 -5
  82. package/dist/packem_chunks/handler68.js +1 -1
  83. package/dist/packem_chunks/handler69.js +4 -4
  84. package/dist/packem_chunks/handler7.js +1 -8
  85. package/dist/packem_chunks/handler70.js +16 -17
  86. package/dist/packem_chunks/handler71.js +12 -12
  87. package/dist/packem_chunks/handler72.js +5 -5
  88. package/dist/packem_chunks/handler73.js +7 -7
  89. package/dist/packem_chunks/handler74.js +3 -3
  90. package/dist/packem_chunks/handler75.js +3 -3
  91. package/dist/packem_chunks/handler76.js +63 -63
  92. package/dist/packem_chunks/handler77.js +1 -1
  93. package/dist/packem_chunks/handler8.js +1 -1
  94. package/dist/packem_chunks/handler9.js +1 -1
  95. package/dist/packem_chunks/heal-accept.js +1 -1
  96. package/dist/packem_chunks/heal.js +1 -1
  97. package/dist/packem_chunks/help-command.js +1 -1
  98. package/dist/packem_chunks/index2.js +2 -2
  99. package/dist/packem_chunks/keys-refresh.js +1 -1
  100. package/dist/packem_chunks/lean.js +3 -3
  101. package/dist/packem_chunks/list.js +1 -1
  102. package/dist/packem_chunks/loader.js +1 -1
  103. package/dist/packem_chunks/loader2.js +1 -1
  104. package/dist/packem_chunks/orchestrator.js +19 -19
  105. package/dist/packem_chunks/prune.js +1 -1
  106. package/dist/packem_chunks/run.js +1 -1
  107. package/dist/packem_chunks/status.js +1 -1
  108. package/dist/packem_chunks/sync.js +1 -1
  109. package/dist/packem_chunks/sync2.js +1 -1
  110. package/dist/packem_chunks/tripwire.js +1 -1
  111. package/dist/packem_chunks/ts-loader.js +22 -2
  112. package/dist/packem_chunks/verify-lockfile.js +1 -1
  113. package/dist/packem_chunks/version-resolver.js +1 -1
  114. package/dist/packem_shared/{advisories-aiDtubZQ.js → advisories-CefYKEPe.js} +1 -1
  115. package/dist/packem_shared/{affected-shas-C1XuRlvo.js → affected-shas-CwRY5aoc.js} +1 -1
  116. package/dist/packem_shared/{ai-analysis-CubpCxZJ.js → ai-analysis-CO6S0afy.js} +7 -7
  117. package/dist/packem_shared/{ai-fix-Btd5AnSr.js → ai-fix-CI0Vvqld.js} +9 -9
  118. package/dist/packem_shared/augment-DaSS2Lgs.js +4 -0
  119. package/dist/packem_shared/bin-P6Q5tKrP.js +1 -0
  120. package/dist/packem_shared/{build-scripts-Doxce2VM.js → build-scripts-MTSK6TNr.js} +1 -1
  121. package/dist/packem_shared/{command-runtime-RiCMa2C8.js → command-runtime-BE-vKsGH.js} +1 -1
  122. package/dist/packem_shared/{cyclonedx-NUJ9R2GQ.js → cyclonedx-BeUmPgfO.js} +1 -1
  123. package/dist/packem_shared/dependency-scan-DpOFiZuI.js +1 -0
  124. package/dist/packem_shared/{docker-DKlF-gk3.js → docker-CViFYtmM.js} +1 -1
  125. package/dist/packem_shared/env-C2ZCnfP_.js +27 -0
  126. package/dist/packem_shared/failure-log-jFfZRJK9.js +2 -0
  127. package/dist/packem_shared/glob-fqg4KepW-1S3z30c8.js +1 -0
  128. package/dist/packem_shared/index-B0EsgdzO.js +1 -0
  129. package/dist/packem_shared/index-CE6MsgcV.js +22 -0
  130. package/dist/packem_shared/index-CQjzW7m8.js +1 -0
  131. package/dist/packem_shared/{index-Cb4x6lWY.js → index-Cg0IHaFI.js} +1 -1
  132. package/dist/packem_shared/{index-CPhv-r4c.js → index-D7EZ612R.js} +13 -13
  133. package/dist/packem_shared/{lifecycle-D5roTh0a.js → lifecycle-Dyb47wbD.js} +1 -1
  134. package/dist/packem_shared/{lockfile-DIGyLfmF.js → lockfile-C1qCKGH6.js} +1 -1
  135. package/dist/packem_shared/{manifests-pLwnVmCN.js → manifests-WBnsV_Eb.js} +1 -1
  136. package/dist/packem_shared/{min-release-age-pUAqTiv3.js → min-release-age-C71MO72F.js} +1 -1
  137. package/dist/packem_shared/missing-package-json-CTF71tE5.js +1 -0
  138. package/dist/packem_shared/{native-config-sync-4K9wWTj5.js → native-config-sync-BFDVK9LH.js} +4 -4
  139. package/dist/packem_shared/{osv-bloom-OuTfu_LE.js → osv-bloom-BsQ-aFiM.js} +1 -1
  140. package/dist/packem_shared/packument-DquNPIq9.js +1 -0
  141. package/dist/packem_shared/{pm-runner-Dws_Bw1y.js → pm-runner-D4jM58Oz.js} +1 -1
  142. package/dist/packem_shared/prompt-DjXHVgYU.js +1 -0
  143. package/dist/packem_shared/provenance-DIq8KyBV.js +1 -0
  144. package/dist/packem_shared/readJsonSync-CvkZyKmL-ihoybKvs.js +1 -0
  145. package/dist/packem_shared/registry-keys-C8K11ets.js +1 -0
  146. package/dist/packem_shared/resolve-explicit-Dr4kIybR.js +5 -0
  147. package/dist/packem_shared/{resolve-runtime-CJSWV-K8.js → resolve-runtime-Tx0bvg0h.js} +1 -1
  148. package/dist/packem_shared/run-file-DD7Ne23Z.js +1 -0
  149. package/dist/packem_shared/{runtime-check-0lUJvgKt.js → runtime-check-BXehSP06.js} +1 -1
  150. package/dist/packem_shared/s1ngularity-CtMmtXJo.js +1 -0
  151. package/dist/packem_shared/scan-progress-D4yywI6P.js +2 -0
  152. package/dist/packem_shared/{selectors-UmnAuc26.js → selectors-D4iCvITE.js} +1 -1
  153. package/dist/packem_shared/{signatures-BOUhghTv.js → signatures-CE8OAK-i.js} +2 -2
  154. package/dist/packem_shared/spinner-DuJJvFTl.js +1 -0
  155. package/dist/packem_shared/tabs-CgxCvjCY.js +1 -0
  156. package/dist/packem_shared/target-merge-DOm6h6tW.js +11 -0
  157. package/dist/packem_shared/target-options-CR0OuYJr.js +1 -0
  158. package/dist/packem_shared/toolchain-C44mPKPu.js +5 -0
  159. package/dist/packem_shared/{typosquats-DBOvXwph.js → typosquats-CQz-1Y6K.js} +1 -1
  160. package/dist/packem_shared/use-measured-height-XK9YSwtv.js +1 -0
  161. package/dist/packem_shared/utils-CRueU43T.js +1 -0
  162. package/dist/packem_shared/verify-DStfg3nb.js +1 -0
  163. package/dist/packem_shared/vis-update-app-Cpme_3Du.js +1 -0
  164. package/dist/packem_shared/{watch-Bkp_AAbc.js → watch-BXNI7dC6.js} +1 -1
  165. package/dist/packem_shared/watch-loop-JfGKIgKB.js +11 -0
  166. package/dist/packem_shared/window-ops-DDePlWLV.js +2 -0
  167. package/dist/runtime/preload.js +1 -1
  168. package/index.js +52 -52
  169. package/package.json +17 -13
  170. package/dist/packem_chunks/config.js +0 -18
  171. package/dist/packem_shared/CONFIG_FILES-MsOntfYT.js +0 -1
  172. package/dist/packem_shared/augment-8fIWWGSc.js +0 -3
  173. package/dist/packem_shared/bin-CnDBuLh3.js +0 -2
  174. package/dist/packem_shared/dependency-scan-B0HV_qeB.js +0 -1
  175. package/dist/packem_shared/failure-log-C7r6UZLP.js +0 -2
  176. package/dist/packem_shared/glob-fqg4KepW-7Bs2kZuM.js +0 -1
  177. package/dist/packem_shared/index-BKFEWXU_.js +0 -1
  178. package/dist/packem_shared/index-OQZQyN5R.js +0 -19
  179. package/dist/packem_shared/missing-package-json-DhYzuKhD.js +0 -1
  180. package/dist/packem_shared/provenance-C0P-UYOM.js +0 -1
  181. package/dist/packem_shared/readJsonSync-CvkZyKmL-CY7PZob_.js +0 -4
  182. package/dist/packem_shared/registry-keys-D4chF-Wj.js +0 -1
  183. package/dist/packem_shared/resolve-explicit-Cgheka3B.js +0 -5
  184. package/dist/packem_shared/run-file-B4TqKa0X.js +0 -1
  185. package/dist/packem_shared/s1ngularity-Du1NnSFP.js +0 -1
  186. package/dist/packem_shared/scan-progress-CN9ONR0y.js +0 -2
  187. package/dist/packem_shared/spinner-lhXugSx3.js +0 -1
  188. package/dist/packem_shared/tabs-DTiU3usb.js +0 -1
  189. package/dist/packem_shared/target-options-ChWcK60i.js +0 -1
  190. package/dist/packem_shared/toolchain-DyCKnGch.js +0 -5
  191. package/dist/packem_shared/use-measured-height-CK2Co3XI.js +0 -1
  192. package/dist/packem_shared/utils-Cxree603.js +0 -1
  193. package/dist/packem_shared/verify-CVPYlUrF.js +0 -1
  194. package/dist/packem_shared/vis-update-app-DtHkwBca.js +0 -1
  195. package/dist/packem_shared/watch-loop-D9zbXzRd.js +0 -11
package/index.js CHANGED
@@ -81,8 +81,8 @@ function requireNative() {
81
81
  try {
82
82
  const binding = require('@visulima/vis-binding-android-arm64')
83
83
  const bindingPackageVersion = require('@visulima/vis-binding-android-arm64/package.json').version
84
- if (bindingPackageVersion !== '1.0.0-alpha.39' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
85
- throw new Error(`Native binding package version mismatch, expected 1.0.0-alpha.42 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
84
+ if (bindingPackageVersion !== '1.0.0-alpha.42' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
85
+ throw new Error(`Native binding package version mismatch, expected 1.0.0-alpha.44 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
86
86
  }
87
87
  return binding
88
88
  } catch (e) {
@@ -97,8 +97,8 @@ function requireNative() {
97
97
  try {
98
98
  const binding = require('@visulima/vis-binding-android-arm-eabi')
99
99
  const bindingPackageVersion = require('@visulima/vis-binding-android-arm-eabi/package.json').version
100
- if (bindingPackageVersion !== '1.0.0-alpha.39' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
101
- throw new Error(`Native binding package version mismatch, expected 1.0.0-alpha.42 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
100
+ if (bindingPackageVersion !== '1.0.0-alpha.42' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
101
+ throw new Error(`Native binding package version mismatch, expected 1.0.0-alpha.44 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
102
102
  }
103
103
  return binding
104
104
  } catch (e) {
@@ -118,8 +118,8 @@ function requireNative() {
118
118
  try {
119
119
  const binding = require('@visulima/vis-binding-win32-x64-gnu')
120
120
  const bindingPackageVersion = require('@visulima/vis-binding-win32-x64-gnu/package.json').version
121
- if (bindingPackageVersion !== '1.0.0-alpha.39' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
122
- throw new Error(`Native binding package version mismatch, expected 1.0.0-alpha.42 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
121
+ if (bindingPackageVersion !== '1.0.0-alpha.42' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
122
+ throw new Error(`Native binding package version mismatch, expected 1.0.0-alpha.44 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
123
123
  }
124
124
  return binding
125
125
  } catch (e) {
@@ -134,8 +134,8 @@ function requireNative() {
134
134
  try {
135
135
  const binding = require('@visulima/vis-binding-win32-x64-msvc')
136
136
  const bindingPackageVersion = require('@visulima/vis-binding-win32-x64-msvc/package.json').version
137
- if (bindingPackageVersion !== '1.0.0-alpha.39' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
138
- throw new Error(`Native binding package version mismatch, expected 1.0.0-alpha.42 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
137
+ if (bindingPackageVersion !== '1.0.0-alpha.42' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
138
+ throw new Error(`Native binding package version mismatch, expected 1.0.0-alpha.44 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
139
139
  }
140
140
  return binding
141
141
  } catch (e) {
@@ -151,8 +151,8 @@ function requireNative() {
151
151
  try {
152
152
  const binding = require('@visulima/vis-binding-win32-ia32-msvc')
153
153
  const bindingPackageVersion = require('@visulima/vis-binding-win32-ia32-msvc/package.json').version
154
- if (bindingPackageVersion !== '1.0.0-alpha.39' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
155
- throw new Error(`Native binding package version mismatch, expected 1.0.0-alpha.42 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
154
+ if (bindingPackageVersion !== '1.0.0-alpha.42' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
155
+ throw new Error(`Native binding package version mismatch, expected 1.0.0-alpha.44 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
156
156
  }
157
157
  return binding
158
158
  } catch (e) {
@@ -167,8 +167,8 @@ function requireNative() {
167
167
  try {
168
168
  const binding = require('@visulima/vis-binding-win32-arm64-msvc')
169
169
  const bindingPackageVersion = require('@visulima/vis-binding-win32-arm64-msvc/package.json').version
170
- if (bindingPackageVersion !== '1.0.0-alpha.39' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
171
- throw new Error(`Native binding package version mismatch, expected 1.0.0-alpha.42 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
170
+ if (bindingPackageVersion !== '1.0.0-alpha.42' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
171
+ throw new Error(`Native binding package version mismatch, expected 1.0.0-alpha.44 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
172
172
  }
173
173
  return binding
174
174
  } catch (e) {
@@ -186,8 +186,8 @@ function requireNative() {
186
186
  try {
187
187
  const binding = require('@visulima/vis-binding-darwin-universal')
188
188
  const bindingPackageVersion = require('@visulima/vis-binding-darwin-universal/package.json').version
189
- if (bindingPackageVersion !== '1.0.0-alpha.39' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
190
- throw new Error(`Native binding package version mismatch, expected 1.0.0-alpha.42 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
189
+ if (bindingPackageVersion !== '1.0.0-alpha.42' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
190
+ throw new Error(`Native binding package version mismatch, expected 1.0.0-alpha.44 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
191
191
  }
192
192
  return binding
193
193
  } catch (e) {
@@ -202,8 +202,8 @@ function requireNative() {
202
202
  try {
203
203
  const binding = require('@visulima/vis-binding-darwin-x64')
204
204
  const bindingPackageVersion = require('@visulima/vis-binding-darwin-x64/package.json').version
205
- if (bindingPackageVersion !== '1.0.0-alpha.39' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
206
- throw new Error(`Native binding package version mismatch, expected 1.0.0-alpha.42 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
205
+ if (bindingPackageVersion !== '1.0.0-alpha.42' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
206
+ throw new Error(`Native binding package version mismatch, expected 1.0.0-alpha.44 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
207
207
  }
208
208
  return binding
209
209
  } catch (e) {
@@ -218,8 +218,8 @@ function requireNative() {
218
218
  try {
219
219
  const binding = require('@visulima/vis-binding-darwin-arm64')
220
220
  const bindingPackageVersion = require('@visulima/vis-binding-darwin-arm64/package.json').version
221
- if (bindingPackageVersion !== '1.0.0-alpha.39' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
222
- throw new Error(`Native binding package version mismatch, expected 1.0.0-alpha.42 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
221
+ if (bindingPackageVersion !== '1.0.0-alpha.42' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
222
+ throw new Error(`Native binding package version mismatch, expected 1.0.0-alpha.44 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
223
223
  }
224
224
  return binding
225
225
  } catch (e) {
@@ -238,8 +238,8 @@ function requireNative() {
238
238
  try {
239
239
  const binding = require('@visulima/vis-binding-freebsd-x64')
240
240
  const bindingPackageVersion = require('@visulima/vis-binding-freebsd-x64/package.json').version
241
- if (bindingPackageVersion !== '1.0.0-alpha.39' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
242
- throw new Error(`Native binding package version mismatch, expected 1.0.0-alpha.42 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
241
+ if (bindingPackageVersion !== '1.0.0-alpha.42' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
242
+ throw new Error(`Native binding package version mismatch, expected 1.0.0-alpha.44 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
243
243
  }
244
244
  return binding
245
245
  } catch (e) {
@@ -254,8 +254,8 @@ function requireNative() {
254
254
  try {
255
255
  const binding = require('@visulima/vis-binding-freebsd-arm64')
256
256
  const bindingPackageVersion = require('@visulima/vis-binding-freebsd-arm64/package.json').version
257
- if (bindingPackageVersion !== '1.0.0-alpha.39' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
258
- throw new Error(`Native binding package version mismatch, expected 1.0.0-alpha.42 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
257
+ if (bindingPackageVersion !== '1.0.0-alpha.42' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
258
+ throw new Error(`Native binding package version mismatch, expected 1.0.0-alpha.44 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
259
259
  }
260
260
  return binding
261
261
  } catch (e) {
@@ -275,8 +275,8 @@ function requireNative() {
275
275
  try {
276
276
  const binding = require('@visulima/vis-binding-linux-x64-musl')
277
277
  const bindingPackageVersion = require('@visulima/vis-binding-linux-x64-musl/package.json').version
278
- if (bindingPackageVersion !== '1.0.0-alpha.39' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
279
- throw new Error(`Native binding package version mismatch, expected 1.0.0-alpha.42 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
278
+ if (bindingPackageVersion !== '1.0.0-alpha.42' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
279
+ throw new Error(`Native binding package version mismatch, expected 1.0.0-alpha.44 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
280
280
  }
281
281
  return binding
282
282
  } catch (e) {
@@ -291,8 +291,8 @@ function requireNative() {
291
291
  try {
292
292
  const binding = require('@visulima/vis-binding-linux-x64-gnu')
293
293
  const bindingPackageVersion = require('@visulima/vis-binding-linux-x64-gnu/package.json').version
294
- if (bindingPackageVersion !== '1.0.0-alpha.39' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
295
- throw new Error(`Native binding package version mismatch, expected 1.0.0-alpha.42 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
294
+ if (bindingPackageVersion !== '1.0.0-alpha.42' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
295
+ throw new Error(`Native binding package version mismatch, expected 1.0.0-alpha.44 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
296
296
  }
297
297
  return binding
298
298
  } catch (e) {
@@ -309,8 +309,8 @@ function requireNative() {
309
309
  try {
310
310
  const binding = require('@visulima/vis-binding-linux-arm64-musl')
311
311
  const bindingPackageVersion = require('@visulima/vis-binding-linux-arm64-musl/package.json').version
312
- if (bindingPackageVersion !== '1.0.0-alpha.39' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
313
- throw new Error(`Native binding package version mismatch, expected 1.0.0-alpha.42 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
312
+ if (bindingPackageVersion !== '1.0.0-alpha.42' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
313
+ throw new Error(`Native binding package version mismatch, expected 1.0.0-alpha.44 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
314
314
  }
315
315
  return binding
316
316
  } catch (e) {
@@ -325,8 +325,8 @@ function requireNative() {
325
325
  try {
326
326
  const binding = require('@visulima/vis-binding-linux-arm64-gnu')
327
327
  const bindingPackageVersion = require('@visulima/vis-binding-linux-arm64-gnu/package.json').version
328
- if (bindingPackageVersion !== '1.0.0-alpha.39' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
329
- throw new Error(`Native binding package version mismatch, expected 1.0.0-alpha.42 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
328
+ if (bindingPackageVersion !== '1.0.0-alpha.42' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
329
+ throw new Error(`Native binding package version mismatch, expected 1.0.0-alpha.44 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
330
330
  }
331
331
  return binding
332
332
  } catch (e) {
@@ -343,8 +343,8 @@ function requireNative() {
343
343
  try {
344
344
  const binding = require('@visulima/vis-binding-linux-arm-musleabihf')
345
345
  const bindingPackageVersion = require('@visulima/vis-binding-linux-arm-musleabihf/package.json').version
346
- if (bindingPackageVersion !== '1.0.0-alpha.39' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
347
- throw new Error(`Native binding package version mismatch, expected 1.0.0-alpha.42 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
346
+ if (bindingPackageVersion !== '1.0.0-alpha.42' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
347
+ throw new Error(`Native binding package version mismatch, expected 1.0.0-alpha.44 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
348
348
  }
349
349
  return binding
350
350
  } catch (e) {
@@ -359,8 +359,8 @@ function requireNative() {
359
359
  try {
360
360
  const binding = require('@visulima/vis-binding-linux-arm-gnueabihf')
361
361
  const bindingPackageVersion = require('@visulima/vis-binding-linux-arm-gnueabihf/package.json').version
362
- if (bindingPackageVersion !== '1.0.0-alpha.39' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
363
- throw new Error(`Native binding package version mismatch, expected 1.0.0-alpha.42 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
362
+ if (bindingPackageVersion !== '1.0.0-alpha.42' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
363
+ throw new Error(`Native binding package version mismatch, expected 1.0.0-alpha.44 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
364
364
  }
365
365
  return binding
366
366
  } catch (e) {
@@ -377,8 +377,8 @@ function requireNative() {
377
377
  try {
378
378
  const binding = require('@visulima/vis-binding-linux-loong64-musl')
379
379
  const bindingPackageVersion = require('@visulima/vis-binding-linux-loong64-musl/package.json').version
380
- if (bindingPackageVersion !== '1.0.0-alpha.39' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
381
- throw new Error(`Native binding package version mismatch, expected 1.0.0-alpha.42 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
380
+ if (bindingPackageVersion !== '1.0.0-alpha.42' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
381
+ throw new Error(`Native binding package version mismatch, expected 1.0.0-alpha.44 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
382
382
  }
383
383
  return binding
384
384
  } catch (e) {
@@ -393,8 +393,8 @@ function requireNative() {
393
393
  try {
394
394
  const binding = require('@visulima/vis-binding-linux-loong64-gnu')
395
395
  const bindingPackageVersion = require('@visulima/vis-binding-linux-loong64-gnu/package.json').version
396
- if (bindingPackageVersion !== '1.0.0-alpha.39' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
397
- throw new Error(`Native binding package version mismatch, expected 1.0.0-alpha.42 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
396
+ if (bindingPackageVersion !== '1.0.0-alpha.42' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
397
+ throw new Error(`Native binding package version mismatch, expected 1.0.0-alpha.44 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
398
398
  }
399
399
  return binding
400
400
  } catch (e) {
@@ -411,8 +411,8 @@ function requireNative() {
411
411
  try {
412
412
  const binding = require('@visulima/vis-binding-linux-riscv64-musl')
413
413
  const bindingPackageVersion = require('@visulima/vis-binding-linux-riscv64-musl/package.json').version
414
- if (bindingPackageVersion !== '1.0.0-alpha.39' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
415
- throw new Error(`Native binding package version mismatch, expected 1.0.0-alpha.42 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
414
+ if (bindingPackageVersion !== '1.0.0-alpha.42' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
415
+ throw new Error(`Native binding package version mismatch, expected 1.0.0-alpha.44 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
416
416
  }
417
417
  return binding
418
418
  } catch (e) {
@@ -427,8 +427,8 @@ function requireNative() {
427
427
  try {
428
428
  const binding = require('@visulima/vis-binding-linux-riscv64-gnu')
429
429
  const bindingPackageVersion = require('@visulima/vis-binding-linux-riscv64-gnu/package.json').version
430
- if (bindingPackageVersion !== '1.0.0-alpha.39' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
431
- throw new Error(`Native binding package version mismatch, expected 1.0.0-alpha.42 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
430
+ if (bindingPackageVersion !== '1.0.0-alpha.42' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
431
+ throw new Error(`Native binding package version mismatch, expected 1.0.0-alpha.44 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
432
432
  }
433
433
  return binding
434
434
  } catch (e) {
@@ -444,8 +444,8 @@ function requireNative() {
444
444
  try {
445
445
  const binding = require('@visulima/vis-binding-linux-ppc64-gnu')
446
446
  const bindingPackageVersion = require('@visulima/vis-binding-linux-ppc64-gnu/package.json').version
447
- if (bindingPackageVersion !== '1.0.0-alpha.39' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
448
- throw new Error(`Native binding package version mismatch, expected 1.0.0-alpha.42 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
447
+ if (bindingPackageVersion !== '1.0.0-alpha.42' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
448
+ throw new Error(`Native binding package version mismatch, expected 1.0.0-alpha.44 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
449
449
  }
450
450
  return binding
451
451
  } catch (e) {
@@ -460,8 +460,8 @@ function requireNative() {
460
460
  try {
461
461
  const binding = require('@visulima/vis-binding-linux-s390x-gnu')
462
462
  const bindingPackageVersion = require('@visulima/vis-binding-linux-s390x-gnu/package.json').version
463
- if (bindingPackageVersion !== '1.0.0-alpha.39' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
464
- throw new Error(`Native binding package version mismatch, expected 1.0.0-alpha.42 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
463
+ if (bindingPackageVersion !== '1.0.0-alpha.42' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
464
+ throw new Error(`Native binding package version mismatch, expected 1.0.0-alpha.44 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
465
465
  }
466
466
  return binding
467
467
  } catch (e) {
@@ -480,8 +480,8 @@ function requireNative() {
480
480
  try {
481
481
  const binding = require('@visulima/vis-binding-openharmony-arm64')
482
482
  const bindingPackageVersion = require('@visulima/vis-binding-openharmony-arm64/package.json').version
483
- if (bindingPackageVersion !== '1.0.0-alpha.39' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
484
- throw new Error(`Native binding package version mismatch, expected 1.0.0-alpha.42 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
483
+ if (bindingPackageVersion !== '1.0.0-alpha.42' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
484
+ throw new Error(`Native binding package version mismatch, expected 1.0.0-alpha.44 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
485
485
  }
486
486
  return binding
487
487
  } catch (e) {
@@ -496,8 +496,8 @@ function requireNative() {
496
496
  try {
497
497
  const binding = require('@visulima/vis-binding-openharmony-x64')
498
498
  const bindingPackageVersion = require('@visulima/vis-binding-openharmony-x64/package.json').version
499
- if (bindingPackageVersion !== '1.0.0-alpha.39' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
500
- throw new Error(`Native binding package version mismatch, expected 1.0.0-alpha.42 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
499
+ if (bindingPackageVersion !== '1.0.0-alpha.42' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
500
+ throw new Error(`Native binding package version mismatch, expected 1.0.0-alpha.44 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
501
501
  }
502
502
  return binding
503
503
  } catch (e) {
@@ -512,8 +512,8 @@ function requireNative() {
512
512
  try {
513
513
  const binding = require('@visulima/vis-binding-openharmony-arm')
514
514
  const bindingPackageVersion = require('@visulima/vis-binding-openharmony-arm/package.json').version
515
- if (bindingPackageVersion !== '1.0.0-alpha.39' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
516
- throw new Error(`Native binding package version mismatch, expected 1.0.0-alpha.42 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
515
+ if (bindingPackageVersion !== '1.0.0-alpha.42' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
516
+ throw new Error(`Native binding package version mismatch, expected 1.0.0-alpha.44 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
517
517
  }
518
518
  return binding
519
519
  } catch (e) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visulima/vis",
3
- "version": "1.0.0-alpha.42",
3
+ "version": "1.0.0-alpha.44",
4
4
  "description": "A monorepo dev toolkit — task runner, remote caching, security scanning, git hooks, and AI agent integrations — powered by @visulima/task-runner",
5
5
  "keywords": [
6
6
  "build",
@@ -43,6 +43,9 @@
43
43
  }
44
44
  },
45
45
  "exports": {
46
+ "./bin": {
47
+ "default": "./dist/bin.js"
48
+ },
46
49
  "./config": {
47
50
  "types": "./dist/config/index.d.ts",
48
51
  "default": "./dist/config/index.js"
@@ -93,13 +96,14 @@
93
96
  "./package.json": "./package.json"
94
97
  },
95
98
  "bin": {
96
- "v": "./dist/bin.js",
97
- "vis": "./dist/bin.js",
99
+ "v": "./bin/vis.mjs",
100
+ "vis": "./bin/vis.mjs",
98
101
  "visx": "./dist/binx.js",
99
102
  "vx": "./dist/binx.js"
100
103
  },
101
104
  "files": [
102
105
  "dist/**",
106
+ "bin/**",
103
107
  "dashboard/dist/**",
104
108
  "schemas/**",
105
109
  "skills/**",
@@ -112,10 +116,10 @@
112
116
  ],
113
117
  "dependencies": {
114
118
  "@visulima/error": "6.0.0-alpha.34",
115
- "@visulima/secret-scanner": "1.0.0-alpha.6",
119
+ "@visulima/secret-scanner": "1.0.0-alpha.7",
116
120
  "@visulima/source-map": "3.0.0-alpha.12",
117
121
  "@visulima/tabular": "4.0.0-alpha.14",
118
- "@visulima/task-runner": "1.0.0-alpha.24",
122
+ "@visulima/task-runner": "1.0.0-alpha.25",
119
123
  "@visulima/tui": "1.0.0-alpha.26",
120
124
  "module-replacements": "^2.11.0",
121
125
  "module-replacements-codemods": "^2.0.1",
@@ -143,14 +147,14 @@
143
147
  }
144
148
  },
145
149
  "optionalDependencies": {
146
- "@visulima/vis-binding-darwin-arm64": "1.0.0-alpha.42",
147
- "@visulima/vis-binding-linux-arm64-gnu": "1.0.0-alpha.42",
148
- "@visulima/vis-binding-darwin-x64": "1.0.0-alpha.42",
149
- "@visulima/vis-binding-linux-x64-gnu": "1.0.0-alpha.42",
150
- "@visulima/vis-binding-linux-arm64-musl": "1.0.0-alpha.42",
151
- "@visulima/vis-binding-win32-arm64-msvc": "1.0.0-alpha.42",
152
- "@visulima/vis-binding-linux-x64-musl": "1.0.0-alpha.42",
153
- "@visulima/vis-binding-win32-x64-msvc": "1.0.0-alpha.42"
150
+ "@visulima/vis-binding-darwin-x64": "1.0.0-alpha.44",
151
+ "@visulima/vis-binding-darwin-arm64": "1.0.0-alpha.44",
152
+ "@visulima/vis-binding-linux-arm64-gnu": "1.0.0-alpha.44",
153
+ "@visulima/vis-binding-linux-arm64-musl": "1.0.0-alpha.44",
154
+ "@visulima/vis-binding-linux-x64-gnu": "1.0.0-alpha.44",
155
+ "@visulima/vis-binding-linux-x64-musl": "1.0.0-alpha.44",
156
+ "@visulima/vis-binding-win32-x64-msvc": "1.0.0-alpha.44",
157
+ "@visulima/vis-binding-win32-arm64-msvc": "1.0.0-alpha.44"
154
158
  },
155
159
  "engines": {
156
160
  "node": "^22.14.0 || >=24.10.0"
@@ -1,18 +0,0 @@
1
- import{createRequire as Ho}from"node:module";import{m as te,A as no,f as me,a as lt,H as wt,O as uo}from"../packem_shared/index-OQZQyN5R.js";import{importTs as Bo}from"./ts-loader.js";import"../packem_shared/otelPlugin-DmKDBaPo.js";import"../packem_shared/definePlugin-DoUcoYSy.js";import{a as io}from"../packem_shared/readJsonSync-CvkZyKmL-CY7PZob_.js";const No=Ho(import.meta.url),Ae=typeof globalThis<"u"&&typeof globalThis.process<"u"?globalThis.process:process,St=e=>{if(typeof Ae<"u"&&Ae.versions&&Ae.versions.node){const[t,o]=Ae.versions.node.split(".").map(Number);if(t>22||t===22&&o>=3||t===20&&o>=16)return Ae.getBuiltinModule(e)}return No(e)},{createHash:oo}=St("node:crypto"),{readdirSync:so,readFileSync:Lo}=St("node:fs"),{createRequire:ro}=St("node:module"),Mo=ro(import.meta.url),ye=typeof globalThis<"u"&&typeof globalThis.process<"u"?globalThis.process:process,ao=e=>{if(typeof ye<"u"&&ye.versions&&ye.versions.node){const[t,o]=ye.versions.node.split(".").map(Number);if(t>22||t===22&&o>=3||t===20&&o>=16)return ye.getBuiltinModule(e)}return Mo(e)},{homedir:Io,tmpdir:ht}=ao("node:os"),{env:rt,cwd:Do,platform:Bt}=ye,{createRequire:w}=ao("node:module"),Go=0,lo=2,jo=Symbol("findUpStop"),Po=/^[A-Z]:\//i,ve=(e="")=>e&&e.replaceAll("\\","/").replace(Po,t=>t.toUpperCase()),Uo=/^[/\\]{2}/,Fo=/^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Z]:[/\\]/i,co=/^[A-Z]:$/i,Ko=/.(\.[^./]+)$/,zo=/^[/\\]|^[a-z]:[/\\]/i,Xo=/\/$/,Wo=()=>typeof process.cwd=="function"?process.cwd().replaceAll("\\","/"):"/",gt="/",po=(e,t)=>{let o="",r=0,i=-1,s=0,n;for(let p=0;p<=e.length;++p){if(p<e.length)n=e[p];else{if(n==="/")break;n="/"}if(n==="/"){if(!(i===p-1||s===1))if(s===2){if(o.length<2||r!==2||!o.endsWith(".")||o.at(-2)!=="."){if(o.length>2){const f=o.lastIndexOf("/");f===-1?(o="",r=0):(o=o.slice(0,f),r=o.length-1-o.lastIndexOf("/")),i=p,s=0;continue}else if(o.length>0){o="",r=0,i=p,s=0;continue}}t&&(o+=o.length>0?"/..":"..",r=2)}else o.length>0?o+=`/${e.slice(i+1,p)}`:o=e.slice(i+1,p),r=p-i-1;i=p,s=0}else n==="."&&s!==-1?++s:s=-1}return o},be=e=>Fo.test(e),fo=function(e){if(e.length===0)return".";e=ve(e);const t=Uo.exec(e),o=be(e),r=e.at(-1)==="/";return e=po(e,!o),e.length===0?o?"/":r?"./":".":(r&&(e+="/"),co.test(e)&&(e+="/"),t?o?`//${e}`:`//./${e}`:o&&!be(e)?`/${e}`:e)},se=(...e)=>{let t="";for(const o of e)if(o)if(t.length>0){const r=t.at(-1)==="/",i=o[0]==="/";r&&i?t+=o.slice(1):t+=r||i?o:`/${o}`}else t+=o;return fo(t)},dt=function(...e){e=e.map(r=>ve(r));let t="",o=!1;for(let r=e.length-1;r>=-1&&!o;r--){const i=r>=0?e[r]:Wo();!i||i.length===0||(t=`${i}/${t}`,o=be(i))}return t=po(t,!o),o&&!be(t)?`/${t}`:t.length>0?t:"."},Qo=function(e){return Ko.exec(ve(e))?.[1]??""},Ot=e=>{const t=ve(e).replace(Xo,""),o=t.lastIndexOf("/");if(o===-1)return be(e)?"/":".";const r=t.slice(0,o);return co.test(r)?`${r}/`:r||(be(e)?"/":".")},qo=(e,t)=>{const o=ve(e);return o.slice(o.lastIndexOf("/")+1)},Zo=function(e){const t=zo.exec(e)?.[0]?.replaceAll("\\","/")??"",o=qo(e),r=Qo(o);return{base:o,dir:Ot(e),ext:r,name:o.slice(0,o.length-r.length),root:t}},Vo=w(import.meta.url),Re=typeof globalThis<"u"&&typeof globalThis.process<"u"?globalThis.process:process,Yo=e=>{if(typeof Re<"u"&&Re.versions&&Re.versions.node){const[t,o]=Re.versions.node.split(".").map(Number);if(t>22||t===22&&o>=3||t===20&&o>=16)return Re.getBuiltinModule(e)}return Vo(e)},{fileURLToPath:Jo}=Yo("node:url");function es(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Mt,It;function ts(){return It||(It=1,Mt=["3dm","3ds","3g2","3gp","7z","a","aac","adp","afdesign","afphoto","afpub","ai","aif","aiff","alz","ape","apk","appimage","ar","arj","asf","au","avi","bak","baml","bh","bin","bk","bmp","btif","bz2","bzip2","cab","caf","cgm","class","cmx","cpio","cr2","cr3","cur","dat","dcm","deb","dex","djvu","dll","dmg","dng","doc","docm","docx","dot","dotm","dra","DS_Store","dsk","dts","dtshd","dvb","dwg","dxf","ecelp4800","ecelp7470","ecelp9600","egg","eol","eot","epub","exe","f4v","fbs","fh","fla","flac","flatpak","fli","flv","fpx","fst","fvt","g3","gh","gif","graffle","gz","gzip","h261","h263","h264","icns","ico","ief","img","ipa","iso","jar","jpeg","jpg","jpgv","jpm","jxr","key","ktx","lha","lib","lvp","lz","lzh","lzma","lzo","m3u","m4a","m4v","mar","mdi","mht","mid","midi","mj2","mka","mkv","mmr","mng","mobi","mov","movie","mp3","mp4","mp4a","mpeg","mpg","mpga","mxu","nef","npx","numbers","nupkg","o","odp","ods","odt","oga","ogg","ogv","otf","ott","pages","pbm","pcx","pdb","pdf","pea","pgm","pic","png","pnm","pot","potm","potx","ppa","ppam","ppm","pps","ppsm","ppsx","ppt","pptm","pptx","psd","pya","pyc","pyo","pyv","qt","rar","ras","raw","resources","rgb","rip","rlc","rmf","rmvb","rpm","rtf","rz","s3m","s7z","scpt","sgi","shar","snap","sil","sketch","slk","smv","snk","so","stl","suo","sub","swf","tar","tbz","tbz2","tga","tgz","thmx","tif","tiff","tlz","ttc","ttf","txz","udf","uvh","uvi","uvm","uvp","uvs","uvu","viv","vob","war","wav","wax","wbmp","wdp","weba","webm","webp","whl","wim","wm","wma","wmv","wmx","woff","woff2","wrm","wvx","xbm","xif","xla","xlam","xls","xlsb","xlsm","xlsx","xlt","xltm","xltx","xm","xmind","xpi","xpm","xwd","xz","z","zip","zipx"]),Mt}var os=ts();const ss=es(os);new Set(ss);const at=e=>ve(e instanceof URL?Jo(e):e),ho=e=>{if(!e||!(e instanceof URL)&&typeof e!="string")throw new TypeError("Path must be a non-empty string or URL.")},rs=w(import.meta.url),Te=typeof globalThis<"u"&&typeof globalThis.process<"u"?globalThis.process:process,ns=e=>{if(typeof Te<"u"&&Te.versions&&Te.versions.node){const[t,o]=Te.versions.node.split(".").map(Number);if(t>22||t===22&&o>=3||t===20&&o>=16)return Te.getBuiltinModule(e)}return rs(e)};ns("node:fs/promises");const us=w(import.meta.url),Ee=typeof globalThis<"u"&&typeof globalThis.process<"u"?globalThis.process:process,is=e=>{if(typeof Ee<"u"&&Ee.versions&&Ee.versions.node){const[t,o]=Ee.versions.node.split(".").map(Number);if(t>22||t===22&&o>=3||t===20&&o>=16)return Ee.getBuiltinModule(e)}return us(e)};is("node:fs");const Dt=e=>{if(e.isFile())return"file";if(e.isDirectory())return"dir";if(e.isSymbolicLink())return"symlink"},as=w(import.meta.url),_e=typeof globalThis<"u"&&typeof globalThis.process<"u"?globalThis.process:process,ls=e=>{if(typeof _e<"u"&&_e.versions&&_e.versions.node){const[t,o]=_e.versions.node.split(".").map(Number);if(t>22||t===22&&o>=3||t===20&&o>=16)return _e.getBuiltinModule(e)}return as(e)};ls("node:fs/promises");const cs=w(import.meta.url),xe=typeof globalThis<"u"&&typeof globalThis.process<"u"?globalThis.process:process,ps=e=>{if(typeof xe<"u"&&xe.versions&&xe.versions.node){const[t,o]=xe.versions.node.split(".").map(Number);if(t>22||t===22&&o>=3||t===20&&o>=16)return xe.getBuiltinModule(e)}return cs(e)},{lstatSync:Gt,mkdirSync:fs}=ps("node:fs"),$e=e=>{ho(e);try{const t=Gt(e);if(!t.isDirectory())throw new Error(`Ensure path exists, expected 'dir', got '${String(Dt(t))}'`);return}catch(t){if(t.code!=="ENOENT")throw t}try{fs(e,{recursive:!0})}catch(t){if(t.code!=="EEXIST")throw t;const o=Gt(e);if(!o.isDirectory())throw new Error(`Ensure path exists, expected 'dir', got '${String(Dt(o))}'`,{cause:t})}},hs=w(import.meta.url),ke=typeof globalThis<"u"&&typeof globalThis.process<"u"?globalThis.process:process,gs=e=>{if(typeof ke<"u"&&ke.versions&&ke.versions.node){const[t,o]=ke.versions.node.split(".").map(Number);if(t>22||t===22&&o>=3||t===20&&o>=16)return ke.getBuiltinModule(e)}return hs(e)};gs("node:fs/promises");const ds=w(import.meta.url),Ce=typeof globalThis<"u"&&typeof globalThis.process<"u"?globalThis.process:process,bs=e=>{if(typeof Ce<"u"&&Ce.versions&&Ce.versions.node){const[t,o]=Ce.versions.node.split(".").map(Number);if(t>22||t===22&&o>=3||t===20&&o>=16)return Ce.getBuiltinModule(e)}return ds(e)};bs("node:fs");const ys=w(import.meta.url),Se=typeof globalThis<"u"&&typeof globalThis.process<"u"?globalThis.process:process,ms=e=>{if(typeof Se<"u"&&Se.versions&&Se.versions.node){const[t,o]=Se.versions.node.split(".").map(Number);if(t>22||t===22&&o>=3||t===20&&o>=16)return Se.getBuiltinModule(e)}return ys(e)};ms("node:fs/promises");const vs=w(import.meta.url),we=typeof globalThis<"u"&&typeof globalThis.process<"u"?globalThis.process:process,As=e=>{if(typeof we<"u"&&we.versions&&we.versions.node){const[t,o]=we.versions.node.split(".").map(Number);if(t>22||t===22&&o>=3||t===20&&o>=16)return we.getBuiltinModule(e)}return vs(e)};As("node:fs");const Rs=w(import.meta.url),Oe=typeof globalThis<"u"&&typeof globalThis.process<"u"?globalThis.process:process,Ts=e=>{if(typeof Oe<"u"&&Oe.versions&&Oe.versions.node){const[t,o]=Oe.versions.node.split(".").map(Number);if(t>22||t===22&&o>=3||t===20&&o>=16)return Oe.getBuiltinModule(e)}return Rs(e)};Ts("node:fs/promises");const Es=w(import.meta.url),He=typeof globalThis<"u"&&typeof globalThis.process<"u"?globalThis.process:process,_s=e=>{if(typeof He<"u"&&He.versions&&He.versions.node){const[t,o]=He.versions.node.split(".").map(Number);if(t>22||t===22&&o>=3||t===20&&o>=16)return He.getBuiltinModule(e)}return Es(e)};_s("node:fs");w(import.meta.url);const xs=w(import.meta.url),Ne=typeof globalThis<"u"&&typeof globalThis.process<"u"?globalThis.process:process,$s=e=>{if(typeof Ne<"u"&&Ne.versions&&Ne.versions.node){const[t,o]=Ne.versions.node.split(".").map(Number);if(t>22||t===22&&o>=3||t===20&&o>=16)return Ne.getBuiltinModule(e)}return xs(e)};$s("node:fs/promises");const ks=w(import.meta.url),Le=typeof globalThis<"u"&&typeof globalThis.process<"u"?globalThis.process:process,Cs=e=>{if(typeof Le<"u"&&Le.versions&&Le.versions.node){const[t,o]=Le.versions.node.split(".").map(Number);if(t>22||t===22&&o>=3||t===20&&o>=16)return Le.getBuiltinModule(e)}return ks(e)};Cs("node:fs");const Ss=w(import.meta.url),Be=typeof globalThis<"u"&&typeof globalThis.process<"u"?globalThis.process:process,ws=e=>{if(typeof Be<"u"&&Be.versions&&Be.versions.node){const[t,o]=Be.versions.node.split(".").map(Number);if(t>22||t===22&&o>=3||t===20&&o>=16)return Be.getBuiltinModule(e)}return Ss(e)};ws("node:fs/promises");const Os=w(import.meta.url),Me=typeof globalThis<"u"&&typeof globalThis.process<"u"?globalThis.process:process,Hs=e=>{if(typeof Me<"u"&&Me.versions&&Me.versions.node){const[t,o]=Me.versions.node.split(".").map(Number);if(t>22||t===22&&o>=3||t===20&&o>=16)return Me.getBuiltinModule(e)}return Os(e)},{statSync:Ns,lstatSync:Ls}=Hs("node:fs"),Bs=(e,t={})=>{const o=t.cwd?at(t.cwd):process.cwd();let r=dt(o);const{root:i}=Zo(r),s=at(t.stopAt??i),n=dt(r,s),p=t.type??"file",f=function(h){return[e]};t.allowSymlinks??=!0;const T=t.allowSymlinks?Ns:Ls;for(;r&&r!==n&&r!==i;){for(let h of f()){if(h===jo)return;if(h===void 0)continue;Buffer.isBuffer(h)?h=h.toString():h instanceof URL&&(h=at(h));const x=be(h)?h:dt(r,h);try{const $=T(x);if(p==="file"&&$.isFile()||p==="directory"&&$.isDirectory())return x}catch{}}r=Ot(r)}};function Ht(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var jt={},bt,Pt;function ct(){if(Pt)return bt;Pt=1;const e="[^\\\\/]",t=Symbol("unignore"),o="\\.",r="\\+",i="\\?",s="\\/",n="(?=.)",p="[^/]",f=`(?:${s}|$)`,T=`(?:^|${s})`,h=`${o}{1,2}${f}`,x=`(?!${o})`,$=`(?!${T}${h})`,E=`(?!${o}{0,1}${f})`,B=`(?!${h})`,oe=`[^.${s}]`,q=`${p}*?`,z="/",d={DOT_LITERAL:o,PLUS_LITERAL:r,QMARK_LITERAL:i,SLASH_LITERAL:s,ONE_CHAR:n,QMARK:p,END_ANCHOR:f,DOTS_SLASH:h,NO_DOT:x,NO_DOTS:$,NO_DOT_SLASH:E,NO_DOTS_SLASH:B,QMARK_NO_DOT:oe,STAR:q,START_ANCHOR:T,SEP:z},y={...d,SLASH_LITERAL:"[\\\\/]",QMARK:e,STAR:`${e}*?`,DOTS_SLASH:`${o}{1,2}(?:[\\\\/]|$)`,NO_DOT:`(?!${o})`,NO_DOTS:`(?!(?:^|[\\\\/])${o}{1,2}(?:[\\\\/]|$))`,NO_DOT_SLASH:`(?!${o}{0,1}(?:[\\\\/]|$))`,NO_DOTS_SLASH:`(?!${o}{1,2}(?:[\\\\/]|$))`,QMARK_NO_DOT:"[^.\\\\/]",START_ANCHOR:"(?:^|[\\\\/])",END_ANCHOR:"(?:[\\\\/]|$)",SEP:"\\"},u={__proto__:null,alnum:"a-zA-Z0-9",alpha:"a-zA-Z",ascii:"\\x00-\\x7F",blank:" \\t",cntrl:"\\x00-\\x1F\\x7F",digit:"0-9",graph:"\\x21-\\x7E",lower:"a-z",print:"\\x20-\\x7E ",punct:"\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",space:" \\t\\r\\n\\v\\f",upper:"A-Z",word:"A-Za-z0-9_",xdigit:"A-Fa-f0-9"};return bt={DEFAULT_MAX_EXTGLOB_RECURSION:0,MAX_LENGTH:1024*64,POSIX_REGEX_SOURCE:u,UNIGNORE:t,REGEX_BACKSLASH:/\\(?![*+?^${}(|)[\]])/g,REGEX_NON_SPECIAL_CHARS:/^[^@![\].,$*+?^{}()|\\/]+/,REGEX_SPECIAL_CHARS:/[-*+?.^${}(|)[\]]/,REGEX_SPECIAL_CHARS_BACKREF:/(\\?)((\W)(\3*))/g,REGEX_SPECIAL_CHARS_GLOBAL:/([-*+?.^${}(|)[\]])/g,REGEX_REMOVE_BACKSLASH:/(?:\[.*?[^\\]\]|\\(?=.))/g,REPLACEMENTS:{__proto__:null,"***":"*","**/**":"**","**/**/**":"**"},CHAR_0:48,CHAR_9:57,CHAR_UPPERCASE_A:65,CHAR_LOWERCASE_A:97,CHAR_UPPERCASE_Z:90,CHAR_LOWERCASE_Z:122,CHAR_LEFT_PARENTHESES:40,CHAR_RIGHT_PARENTHESES:41,CHAR_ASTERISK:42,CHAR_AMPERSAND:38,CHAR_AT:64,CHAR_BACKWARD_SLASH:92,CHAR_CARRIAGE_RETURN:13,CHAR_CIRCUMFLEX_ACCENT:94,CHAR_COLON:58,CHAR_COMMA:44,CHAR_DOT:46,CHAR_DOUBLE_QUOTE:34,CHAR_EQUAL:61,CHAR_EXCLAMATION_MARK:33,CHAR_FORM_FEED:12,CHAR_FORWARD_SLASH:47,CHAR_GRAVE_ACCENT:96,CHAR_HASH:35,CHAR_HYPHEN_MINUS:45,CHAR_LEFT_ANGLE_BRACKET:60,CHAR_LEFT_CURLY_BRACE:123,CHAR_LEFT_SQUARE_BRACKET:91,CHAR_LINE_FEED:10,CHAR_NO_BREAK_SPACE:160,CHAR_PERCENT:37,CHAR_PLUS:43,CHAR_QUESTION_MARK:63,CHAR_RIGHT_ANGLE_BRACKET:62,CHAR_RIGHT_CURLY_BRACE:125,CHAR_RIGHT_SQUARE_BRACKET:93,CHAR_SEMICOLON:59,CHAR_SINGLE_QUOTE:39,CHAR_SPACE:32,CHAR_TAB:9,CHAR_UNDERSCORE:95,CHAR_VERTICAL_LINE:124,CHAR_ZERO_WIDTH_NOBREAK_SPACE:65279,extglobChars(m){return{"!":{type:"negate",open:"(?:(?!(?:",close:`))${m.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}},globChars(m){return m===!0?y:d}},bt}var Ut;function pt(){return Ut||(Ut=1,(function(e){const{REGEX_BACKSLASH:t,REGEX_REMOVE_BACKSLASH:o,REGEX_SPECIAL_CHARS:r,REGEX_SPECIAL_CHARS_GLOBAL:i}=ct();e.isObject=s=>s!==null&&typeof s=="object"&&!Array.isArray(s),e.hasRegexChars=s=>r.test(s),e.isRegexChar=s=>s.length===1&&e.hasRegexChars(s),e.escapeRegex=s=>s.replace(i,"\\$1"),e.toPosixSlashes=s=>s.replace(t,"/"),e.isWindows=()=>{if(typeof navigator<"u"&&navigator.platform){const s=navigator.platform.toLowerCase();return s==="win32"||s==="windows"}return process.platform?process.platform==="win32":!1},e.removeBackslashes=s=>s.replace(o,n=>n==="\\"?"":n),e.escapeLast=(s,n,p)=>{const f=s.lastIndexOf(n,p);return f===-1?s:s[f-1]==="\\"?e.escapeLast(s,n,f-1):`${s.slice(0,f)}\\${s.slice(f)}`},e.removePrefix=(s,n={})=>{let p=s;return p.startsWith("./")&&(p=p.slice(2),n.prefix="./"),p},e.wrapOutput=(s,n={},p={})=>{const f=p.contains?"":"^",T=p.contains?"":"$";let h=`${f}(?:${s})${T}`;return n.negated===!0&&(h=`(?:^(?!${h}).*$)`),h},e.basename=(s,{windows:n}={})=>{const p=s.split(n?/[\\/]/:"/"),f=p[p.length-1];return f===""?p[p.length-2]:f}})(jt)),jt}var yt,Ft;function Ms(){if(Ft)return yt;Ft=1;const e=pt(),{CHAR_ASTERISK:t,CHAR_AT:o,CHAR_BACKWARD_SLASH:r,CHAR_COMMA:i,CHAR_DOT:s,CHAR_EXCLAMATION_MARK:n,CHAR_FORWARD_SLASH:p,CHAR_LEFT_CURLY_BRACE:f,CHAR_LEFT_PARENTHESES:T,CHAR_LEFT_SQUARE_BRACKET:h,CHAR_PLUS:x,CHAR_QUESTION_MARK:$,CHAR_RIGHT_CURLY_BRACE:E,CHAR_RIGHT_PARENTHESES:B,CHAR_RIGHT_SQUARE_BRACKET:oe}=ct(),q=d=>d===p||d===r,z=d=>{d.isPrefix!==!0&&(d.depth=d.isGlobstar?1/0:1)};return yt=(d,y)=>{const u=y||{},m=d.length-1,A=u.parts===!0||u.scanToEnd===!0,R=[],v=[],O=[];let X=d,Z=-1,P=0,re=0,W=!1,ne=!1,I=!1,ce=!1,ge=!1,ue=!1,L=!1,ie=!1,de=!1,Q=!1,K=0,Y,_,S={value:"",depth:0,isGlob:!1};const c=()=>Z>=m,V=()=>X.charCodeAt(Z+1),U=()=>(Y=_,X.charCodeAt(++Z));for(;Z<m;){_=U();let H;if(_===r){L=S.backslashes=!0,_=U(),_===f&&(ue=!0);continue}if(ue===!0||_===f){for(K++;c()!==!0&&(_=U());){if(_===r){L=S.backslashes=!0,U();continue}if(_===f){K++;continue}if(ue!==!0&&_===s&&(_=U())===s){if(W=S.isBrace=!0,I=S.isGlob=!0,Q=!0,A===!0)continue;break}if(ue!==!0&&_===i){if(W=S.isBrace=!0,I=S.isGlob=!0,Q=!0,A===!0)continue;break}if(_===E&&(K--,K===0)){ue=!1,W=S.isBrace=!0,Q=!0;break}}if(A===!0)continue;break}if(_===p){if(R.push(Z),v.push(S),S={value:"",depth:0,isGlob:!1},Q===!0)continue;if(Y===s&&Z===P+1){P+=2;continue}re=Z+1;continue}if(u.noext!==!0&&(_===x||_===o||_===t||_===$||_===n)&&V()===T){if(I=S.isGlob=!0,ce=S.isExtglob=!0,Q=!0,_===n&&Z===P&&(de=!0),A===!0){for(;c()!==!0&&(_=U());){if(_===r){L=S.backslashes=!0,_=U();continue}if(_===B){I=S.isGlob=!0,Q=!0;break}}continue}break}if(_===t){if(Y===t&&(ge=S.isGlobstar=!0),I=S.isGlob=!0,Q=!0,A===!0)continue;break}if(_===$){if(I=S.isGlob=!0,Q=!0,A===!0)continue;break}if(_===h){for(;c()!==!0&&(H=U());){if(H===r){L=S.backslashes=!0,U();continue}if(H===oe){ne=S.isBracket=!0,I=S.isGlob=!0,Q=!0;break}}if(A===!0)continue;break}if(u.nonegate!==!0&&_===n&&Z===P){ie=S.negated=!0,P++;continue}if(u.noparen!==!0&&_===T){if(I=S.isGlob=!0,A===!0){for(;c()!==!0&&(_=U());){if(_===T){L=S.backslashes=!0,_=U();continue}if(_===B){Q=!0;break}}continue}break}if(I===!0){if(Q=!0,A===!0)continue;break}}u.noext===!0&&(ce=!1,I=!1);let j=X,a="",l="";P>0&&(a=X.slice(0,P),X=X.slice(P),re-=P),j&&I===!0&&re>0?(j=X.slice(0,re),l=X.slice(re)):I===!0?(j="",l=X):j=X,j&&j!==""&&j!=="/"&&j!==X&&q(j.charCodeAt(j.length-1))&&(j=j.slice(0,-1)),u.unescape===!0&&(l&&(l=e.removeBackslashes(l)),j&&L===!0&&(j=e.removeBackslashes(j)));const ee={prefix:a,input:d,start:P,base:j,glob:l,isBrace:W,isBracket:ne,isGlob:I,isExtglob:ce,isGlobstar:ge,negated:ie,negatedExtglob:de};if(u.tokens===!0&&(ee.maxDepth=0,q(_)||v.push(S),ee.tokens=v),u.parts===!0||u.tokens===!0){let H;for(let D=0;D<R.length;D++){const pe=H?H+1:P,J=R[D],fe=d.slice(pe,J);u.tokens&&(D===0&&P!==0?(v[D].isPrefix=!0,v[D].value=a):v[D].value=fe,z(v[D]),ee.maxDepth+=v[D].depth),(D!==0||fe!=="")&&O.push(fe),H=J}if(H&&H+1<d.length){const D=d.slice(H+1);O.push(D),u.tokens&&(v[v.length-1].value=D,z(v[v.length-1]),ee.maxDepth+=v[v.length-1].depth)}ee.slashes=R,ee.parts=O}return ee},yt}var mt,Kt;function Is(){if(Kt)return mt;Kt=1;const e=ct(),t=pt(),{MAX_LENGTH:o,POSIX_REGEX_SOURCE:r,REGEX_NON_SPECIAL_CHARS:i,REGEX_SPECIAL_CHARS_BACKREF:s,REPLACEMENTS:n}=e,p=(d,y)=>typeof y.expandRange=="function"?y.expandRange(...d,y):(d.sort(),`[${d.join("-")}]`),f=(d,y)=>`Missing ${d}: "${y}" - use "\\\\${y}" to match literal characters`,T=d=>{const y=[];let u=0,m=0,A=0,R="",v=!1;for(const O of d){if(v===!0){R+=O,v=!1;continue}if(O==="\\"){R+=O,v=!0;continue}if(O==='"'){A=A===1?0:1,R+=O;continue}if(A===0){if(O==="[")u++;else if(O==="]"&&u>0)u--;else if(u===0){if(O==="(")m++;else if(O===")"&&m>0)m--;else if(O==="|"&&m===0){y.push(R),R="";continue}}}R+=O}return y.push(R),y},h=d=>{let y=!1;for(const u of d){if(y===!0){y=!1;continue}if(u==="\\"){y=!0;continue}if(/[?*+@!()[\]{}]/.test(u))return!1}return!0},x=d=>{let y=d.trim(),u=!0;for(;u===!0;)u=!1,/^@\([^\\()[\]{}|]+\)$/.test(y)&&(y=y.slice(2,-1),u=!0);if(h(y))return y.replace(/\\(.)/g,"$1")},$=d=>{const y=d.map(x).filter(Boolean);for(let u=0;u<y.length;u++)for(let m=u+1;m<y.length;m++){const A=y[u],R=y[m],v=A[0];if(!(!v||A!==v.repeat(A.length)||R!==v.repeat(R.length))&&(A===R||A.startsWith(R)||R.startsWith(A)))return!0}return!1},E=(d,y=!0)=>{if(d[0]!=="+"&&d[0]!=="*"||d[1]!=="(")return;let u=0,m=0,A=0,R=!1;for(let v=1;v<d.length;v++){const O=d[v];if(R===!0){R=!1;continue}if(O==="\\"){R=!0;continue}if(O==='"'){A=A===1?0:1;continue}if(A!==1){if(O==="["){u++;continue}if(O==="]"&&u>0){u--;continue}if(!(u>0)){if(O==="("){m++;continue}if(O===")"&&(m--,m===0))return y===!0&&v!==d.length-1?void 0:{type:d[0],body:d.slice(2,v),end:v}}}}},B=d=>{let y=0;const u=[];for(;y<d.length;){const m=E(d.slice(y),!1);if(!m||m.type!=="*")return;const A=T(m.body).map(v=>v.trim());if(A.length!==1)return;const R=x(A[0]);if(!R||R.length!==1)return;u.push(R),y+=m.end+1}return u.length<1?void 0:`${u.length===1?t.escapeRegex(u[0]):`[${u.map(m=>t.escapeRegex(m)).join("")}]`}*`},oe=d=>{let y=0,u=d.trim(),m=E(u);for(;m;)y++,u=m.body.trim(),m=E(u);return y},q=(d,y)=>{if(y.maxExtglobRecursion===!1)return{risky:!1};const u=typeof y.maxExtglobRecursion=="number"?y.maxExtglobRecursion:e.DEFAULT_MAX_EXTGLOB_RECURSION,m=T(d).map(A=>A.trim());if(m.length>1&&(m.some(A=>A==="")||m.some(A=>/^[*?]+$/.test(A))||$(m)))return{risky:!0};for(const A of m){const R=B(A);if(R)return{risky:!0,safeOutput:R};if(oe(A)>u)return{risky:!0}}return{risky:!1}},z=(d,y)=>{if(typeof d!="string")throw new TypeError("Expected a string");d=n[d]||d;const u={...y},m=typeof u.maxLength=="number"?Math.min(o,u.maxLength):o;let A=d.length;if(A>m)throw new SyntaxError(`Input length: ${A}, exceeds maximum allowed length: ${m}`);const R={type:"bos",value:"",output:u.prepend||""},v=[R],O=u.capture?"":"?:",X=e.globChars(u.windows),Z=e.extglobChars(X),{DOT_LITERAL:P,PLUS_LITERAL:re,SLASH_LITERAL:W,ONE_CHAR:ne,DOTS_SLASH:I,NO_DOT:ce,NO_DOT_SLASH:ge,NO_DOTS_SLASH:ue,QMARK:L,QMARK_NO_DOT:ie,STAR:de,START_ANCHOR:Q}=X,K=b=>`(${O}(?:(?!${Q}${b.dot?I:P}).)*?)`,Y=u.dot?"":ce,_=u.dot?L:ie;let S=u.bash===!0?K(u):de;u.capture&&(S=`(${S})`),typeof u.noext=="boolean"&&(u.noextglob=u.noext);const c={input:d,index:-1,start:0,dot:u.dot===!0,consumed:"",output:"",prefix:"",backtrack:!1,negated:!1,brackets:0,braces:0,parens:0,quotes:0,globstar:!1,tokens:v};d=t.removePrefix(d,c),A=d.length;const V=[],U=[],j=[];let a=R,l;const ee=()=>c.index===A-1,H=c.peek=(b=1)=>d[c.index+b],D=c.advance=()=>d[++c.index]||"",pe=()=>d.slice(c.index+1),J=(b="",M=0)=>{c.consumed+=b,c.index+=M},fe=b=>{c.output+=b.output!=null?b.output:b.value,J(b.value)},wo=()=>{let b=1;for(;H()==="!"&&(H(2)!=="("||H(3)==="?");)D(),c.start++,b++;return b%2===0?!1:(c.negated=!0,c.start++,!0)},ut=b=>{c[b]++,j.push(b)},he=b=>{c[b]--,j.pop()},k=b=>{if(a.type==="globstar"){const M=c.braces>0&&(b.type==="comma"||b.type==="brace"),g=b.extglob===!0||V.length&&(b.type==="pipe"||b.type==="paren");b.type!=="slash"&&b.type!=="paren"&&!M&&!g&&(c.output=c.output.slice(0,-a.output.length),a.type="star",a.value="*",a.output=S,c.output+=a.output)}if(V.length&&b.type!=="paren"&&(V[V.length-1].inner+=b.value),(b.value||b.output)&&fe(b),a&&a.type==="text"&&b.type==="text"){a.output=(a.output||a.value)+b.value,a.value+=b.value;return}b.prev=a,v.push(b),a=b},it=(b,M)=>{const g={...Z[M],conditions:1,inner:""};g.prev=a,g.parens=c.parens,g.output=c.output,g.startIndex=c.index,g.tokensIndex=v.length;const C=(u.capture?"(":"")+g.open;ut("parens"),k({type:b,value:M,output:c.output?"":ne}),k({type:"paren",extglob:!0,value:D(),output:C}),V.push(g)},Oo=b=>{const M=d.slice(b.startIndex,c.index+1),g=d.slice(b.startIndex+2,c.index),C=q(g,u);if((b.type==="plus"||b.type==="star")&&C.risky){const N=C.safeOutput?(b.output?"":ne)+(u.capture?`(${C.safeOutput})`:C.safeOutput):void 0,ae=v[b.tokensIndex];ae.type="text",ae.value=M,ae.output=N||t.escapeRegex(M);for(let le=b.tokensIndex+1;le<v.length;le++)v[le].value="",v[le].output="",delete v[le].suffix;c.output=b.output+ae.output,c.backtrack=!0,k({type:"paren",extglob:!0,value:l,output:""}),he("parens");return}let G=b.close+(u.capture?")":""),F;if(b.type==="negate"){let N=S;if(b.inner&&b.inner.length>1&&b.inner.includes("/")&&(N=K(u)),(N!==S||ee()||/^\)+$/.test(pe()))&&(G=b.close=`)$))${N}`),b.inner.includes("*")&&(F=pe())&&/^\.[^\\/.]+$/.test(F)){const ae=z(F,{...y,fastpaths:!1}).output;G=b.close=`)${ae})${N})`}b.prev.type==="bos"&&(c.negatedExtglob=!0)}k({type:"paren",extglob:!0,value:l,output:G}),he("parens")};if(u.fastpaths!==!1&&!/(^[*!]|[/()[\]{}"])/.test(d)){let b=!1,M=d.replace(s,(g,C,G,F,N,ae)=>F==="\\"?(b=!0,g):F==="?"?C?C+F+(N?L.repeat(N.length):""):ae===0?_+(N?L.repeat(N.length):""):L.repeat(G.length):F==="."?P.repeat(G.length):F==="*"?C?C+F+(N?S:""):S:C?g:`\\${g}`);return b===!0&&(u.unescape===!0?M=M.replace(/\\/g,""):M=M.replace(/\\+/g,g=>g.length%2===0?"\\\\":g?"\\":"")),M===d&&u.contains===!0?(c.output=d,c):(c.output=t.wrapOutput(M,c,y),c)}for(;!ee();){if(l=D(),l==="\0")continue;if(l==="\\"){const g=H();if(g==="/"&&u.bash!==!0||g==="."||g===";")continue;if(!g){l+="\\",k({type:"text",value:l});continue}const C=/^\\+/.exec(pe());let G=0;if(C&&C[0].length>2&&(G=C[0].length,c.index+=G,G%2!==0&&(l+="\\")),u.unescape===!0?l=D():l+=D(),c.brackets===0){k({type:"text",value:l});continue}}if(c.brackets>0&&(l!=="]"||a.value==="["||a.value==="[^")){if(u.posix!==!1&&l===":"){const g=a.value.slice(1);if(g.includes("[")&&(a.posix=!0,g.includes(":"))){const C=a.value.lastIndexOf("["),G=a.value.slice(0,C),F=a.value.slice(C+2),N=r[F];if(N){a.value=G+N,c.backtrack=!0,D(),!R.output&&v.indexOf(a)===1&&(R.output=ne);continue}}}(l==="["&&H()!==":"||l==="-"&&H()==="]")&&(l=`\\${l}`),l==="]"&&(a.value==="["||a.value==="[^")&&(l=`\\${l}`),u.posix===!0&&l==="!"&&a.value==="["&&(l="^"),a.value+=l,fe({value:l});continue}if(c.quotes===1&&l!=='"'){l=t.escapeRegex(l),a.value+=l,fe({value:l});continue}if(l==='"'){c.quotes=c.quotes===1?0:1,u.keepQuotes===!0&&k({type:"text",value:l});continue}if(l==="("){ut("parens"),k({type:"paren",value:l});continue}if(l===")"){if(c.parens===0&&u.strictBrackets===!0)throw new SyntaxError(f("opening","("));const g=V[V.length-1];if(g&&c.parens===g.parens+1){Oo(V.pop());continue}k({type:"paren",value:l,output:c.parens?")":"\\)"}),he("parens");continue}if(l==="["){if(u.nobracket===!0||!pe().includes("]")){if(u.nobracket!==!0&&u.strictBrackets===!0)throw new SyntaxError(f("closing","]"));l=`\\${l}`}else ut("brackets");k({type:"bracket",value:l});continue}if(l==="]"){if(u.nobracket===!0||a&&a.type==="bracket"&&a.value.length===1){k({type:"text",value:l,output:`\\${l}`});continue}if(c.brackets===0){if(u.strictBrackets===!0)throw new SyntaxError(f("opening","["));k({type:"text",value:l,output:`\\${l}`});continue}he("brackets");const g=a.value.slice(1);if(a.posix!==!0&&g[0]==="^"&&!g.includes("/")&&(l=`/${l}`),a.value+=l,fe({value:l}),u.literalBrackets===!1||t.hasRegexChars(g))continue;const C=t.escapeRegex(a.value);if(c.output=c.output.slice(0,-a.value.length),u.literalBrackets===!0){c.output+=C,a.value=C;continue}a.value=`(${O}${C}|${a.value})`,c.output+=a.value;continue}if(l==="{"&&u.nobrace!==!0){ut("braces");const g={type:"brace",value:l,output:"(",outputIndex:c.output.length,tokensIndex:c.tokens.length};U.push(g),k(g);continue}if(l==="}"){const g=U[U.length-1];if(u.nobrace===!0||!g){k({type:"text",value:l,output:l});continue}let C=")";if(g.dots===!0){const G=v.slice(),F=[];for(let N=G.length-1;N>=0&&(v.pop(),G[N].type!=="brace");N--)G[N].type!=="dots"&&F.unshift(G[N].value);C=p(F,u),c.backtrack=!0}if(g.comma!==!0&&g.dots!==!0){const G=c.output.slice(0,g.outputIndex),F=c.tokens.slice(g.tokensIndex);g.value=g.output="\\{",l=C="\\}",c.output=G;for(const N of F)c.output+=N.output||N.value}k({type:"brace",value:l,output:C}),he("braces"),U.pop();continue}if(l==="|"){V.length>0&&V[V.length-1].conditions++,k({type:"text",value:l});continue}if(l===","){let g=l;const C=U[U.length-1];C&&j[j.length-1]==="braces"&&(C.comma=!0,g="|"),k({type:"comma",value:l,output:g});continue}if(l==="/"){if(a.type==="dot"&&c.index===c.start+1){c.start=c.index+1,c.consumed="",c.output="",v.pop(),a=R;continue}k({type:"slash",value:l,output:W});continue}if(l==="."){if(c.braces>0&&a.type==="dot"){a.value==="."&&(a.output=P);const g=U[U.length-1];a.type="dots",a.output+=l,a.value+=l,g.dots=!0;continue}if(c.braces+c.parens===0&&a.type!=="bos"&&a.type!=="slash"){k({type:"text",value:l,output:P});continue}k({type:"dot",value:l,output:P});continue}if(l==="?"){if(!(a&&a.value==="(")&&u.noextglob!==!0&&H()==="("&&H(2)!=="?"){it("qmark",l);continue}if(a&&a.type==="paren"){const g=H();let C=l;(a.value==="("&&!/[!=<:]/.test(g)||g==="<"&&!/<([!=]|\w+>)/.test(pe()))&&(C=`\\${l}`),k({type:"text",value:l,output:C});continue}if(u.dot!==!0&&(a.type==="slash"||a.type==="bos")){k({type:"qmark",value:l,output:ie});continue}k({type:"qmark",value:l,output:L});continue}if(l==="!"){if(u.noextglob!==!0&&H()==="("&&(H(2)!=="?"||!/[!=<:]/.test(H(3)))){it("negate",l);continue}if(u.nonegate!==!0&&c.index===0){wo();continue}}if(l==="+"){if(u.noextglob!==!0&&H()==="("&&H(2)!=="?"){it("plus",l);continue}if(a&&a.value==="("||u.regex===!1){k({type:"plus",value:l,output:re});continue}if(a&&(a.type==="bracket"||a.type==="paren"||a.type==="brace")||c.parens>0){k({type:"plus",value:l});continue}k({type:"plus",value:re});continue}if(l==="@"){if(u.noextglob!==!0&&H()==="("&&H(2)!=="?"){k({type:"at",extglob:!0,value:l,output:""});continue}k({type:"text",value:l});continue}if(l!=="*"){(l==="$"||l==="^")&&(l=`\\${l}`);const g=i.exec(pe());g&&(l+=g[0],c.index+=g[0].length),k({type:"text",value:l});continue}if(a&&(a.type==="globstar"||a.star===!0)){a.type="star",a.star=!0,a.value+=l,a.output=S,c.backtrack=!0,c.globstar=!0,J(l);continue}let b=pe();if(u.noextglob!==!0&&/^\([^?]/.test(b)){it("star",l);continue}if(a.type==="star"){if(u.noglobstar===!0){J(l);continue}const g=a.prev,C=g.prev,G=g.type==="slash"||g.type==="bos",F=C&&(C.type==="star"||C.type==="globstar");if(u.bash===!0&&(!G||b[0]&&b[0]!=="/")){k({type:"star",value:l,output:""});continue}const N=c.braces>0&&(g.type==="comma"||g.type==="brace"),ae=V.length&&(g.type==="pipe"||g.type==="paren");if(!G&&g.type!=="paren"&&!N&&!ae){k({type:"star",value:l,output:""});continue}for(;b.slice(0,3)==="/**";){const le=d[c.index+4];if(le&&le!=="/")break;b=b.slice(3),J("/**",3)}if(g.type==="bos"&&ee()){a.type="globstar",a.value+=l,a.output=K(u),c.output=a.output,c.globstar=!0,J(l);continue}if(g.type==="slash"&&g.prev.type!=="bos"&&!F&&ee()){c.output=c.output.slice(0,-(g.output+a.output).length),g.output=`(?:${g.output}`,a.type="globstar",a.output=K(u)+(u.strictSlashes?")":"|$)"),a.value+=l,c.globstar=!0,c.output+=g.output+a.output,J(l);continue}if(g.type==="slash"&&g.prev.type!=="bos"&&b[0]==="/"){const le=b[1]!==void 0?"|$":"";c.output=c.output.slice(0,-(g.output+a.output).length),g.output=`(?:${g.output}`,a.type="globstar",a.output=`${K(u)}${W}|${W}${le})`,a.value+=l,c.output+=g.output+a.output,c.globstar=!0,J(l+D()),k({type:"slash",value:"/",output:""});continue}if(g.type==="bos"&&b[0]==="/"){a.type="globstar",a.value+=l,a.output=`(?:^|${W}|${K(u)}${W})`,c.output=a.output,c.globstar=!0,J(l+D()),k({type:"slash",value:"/",output:""});continue}if(N&&b[0]==="/"){a.type="globstar",a.value+=l,a.output=`(?:^|${W}|${K(u)}${W})`,c.output+=a.output,c.globstar=!0,J(l+D()),k({type:"slash",value:"/",output:""});continue}c.output=c.output.slice(0,-a.output.length),a.type="globstar",a.output=K(u),a.value+=l,c.output+=a.output,c.globstar=!0,J(l);continue}const M={type:"star",value:l,output:S};if(u.bash===!0){M.output=".*?",(a.type==="bos"||a.type==="slash")&&(M.output=Y+M.output),k(M);continue}if(a&&(a.type==="bracket"||a.type==="paren")&&u.regex===!0){M.output=l,k(M);continue}(c.index===c.start||a.type==="slash"||a.type==="dot")&&(a.type==="dot"?(c.output+=ge,a.output+=ge):u.dot===!0?(c.output+=ue,a.output+=ue):(c.output+=Y,a.output+=Y),H()!=="*"&&(c.output+=ne,a.output+=ne)),k(M)}for(;c.brackets>0;){if(u.strictBrackets===!0)throw new SyntaxError(f("closing","]"));c.output=t.escapeLast(c.output,"["),he("brackets")}for(;c.parens>0;){if(u.strictBrackets===!0)throw new SyntaxError(f("closing",")"));c.output=t.escapeLast(c.output,"("),he("parens")}for(;c.braces>0;){if(u.strictBrackets===!0)throw new SyntaxError(f("closing","}"));c.output=t.escapeLast(c.output,"{"),he("braces")}if(u.strictSlashes!==!0&&(a.type==="star"||a.type==="bracket")&&k({type:"maybe_slash",value:"",output:`${W}?`}),c.backtrack===!0){c.output="";for(const b of c.tokens)c.output+=b.output!=null?b.output:b.value,b.suffix&&(c.output+=b.suffix)}return c};return z.fastpaths=(d,y)=>{const u={...y},m=typeof u.maxLength=="number"?Math.min(o,u.maxLength):o,A=d.length;if(A>m)throw new SyntaxError(`Input length: ${A}, exceeds maximum allowed length: ${m}`);d=n[d]||d;const{DOT_LITERAL:R,SLASH_LITERAL:v,ONE_CHAR:O,DOTS_SLASH:X,NO_DOT:Z,NO_DOTS:P,NO_DOTS_SLASH:re,STAR:W,START_ANCHOR:ne}=e.globChars(u.windows),I=u.dot?P:Z,ce=u.dot?re:Z,ge=u.capture?"":"?:",ue={negated:!1,prefix:""};let L=u.bash===!0?".*?":W;u.capture&&(L=`(${L})`);const ie=Y=>Y.noglobstar===!0?L:`(${ge}(?:(?!${ne}${Y.dot?X:R}).)*?)`,de=Y=>{switch(Y){case"*":return`${I}${O}${L}`;case".*":return`${R}${O}${L}`;case"*.*":return`${I}${L}${R}${O}${L}`;case"*/*":return`${I}${L}${v}${O}${ce}${L}`;case"**":return I+ie(u);case"**/*":return`(?:${I}${ie(u)}${v})?${ce}${O}${L}`;case"**/*.*":return`(?:${I}${ie(u)}${v})?${ce}${L}${R}${O}${L}`;case"**/.*":return`(?:${I}${ie(u)}${v})?${R}${O}${L}`;default:{const _=/^(.*?)\.(\w+)$/.exec(Y);if(!_)return;const S=de(_[1]);return S?S+R+_[2]:void 0}}},Q=t.removePrefix(d,ue);let K=de(Q);return K&&u.strictSlashes!==!0&&(K+=`${v}?`),K},mt=z,mt}var vt,zt;function Ds(){if(zt)return vt;zt=1;const e=Ms(),t=Is(),o=pt(),r=ct(),i=n=>n&&typeof n=="object"&&!Array.isArray(n),s=(n,p,f=!1)=>{if(Array.isArray(n)){const q=n.map(z=>s(z,p,f));return z=>{for(const d of q){const y=d(z);if(y)return y}return!1}}const T=i(n)&&n.tokens&&n.input;if(n===""||typeof n!="string"&&!T)throw new TypeError("Expected pattern to be a non-empty string");const h=p||{},x=h.windows,$=T?s.compileRe(n,p):s.makeRe(n,p,!1,!0),E=$.state;delete $.state;let B=()=>!1;if(h.ignore){const q={...p,ignore:null,onMatch:null,onResult:null};B=s(h.ignore,q,f)}const oe=(q,z=!1)=>{const{isMatch:d,match:y,output:u}=s.test(q,$,p,{glob:n,posix:x}),m={glob:n,state:E,regex:$,posix:x,input:q,output:u,match:y,isMatch:d};if(typeof h.onResult=="function"&&h.onResult(m),d===!1)return m.isMatch=!1,z?m:!1;e:if(B(q)){if(typeof h.onIgnore=="function"&&h.onIgnore(m)===r.UNIGNORE){m.isMatch=!0;break e}return m.isMatch=!1,z?m:!1}return typeof h.onMatch=="function"&&h.onMatch(m),z?m:!0};return f&&(oe.state=E),oe};return s.test=(n,p,f,{glob:T,posix:h}={})=>{if(typeof n!="string")throw new TypeError("Expected input to be a string");if(n==="")return{isMatch:!1,output:""};const x=f||{},$=x.format||(h?o.toPosixSlashes:null);let E=n===T,B=E&&$?$(n):n;return E===!1&&(B=$?$(n):n,E=B===T),(E===!1||x.capture===!0)&&(x.matchBase===!0||x.basename===!0?E=s.matchBase(n,p,f,h):E=p.exec(B)),{isMatch:!!E,match:E,output:B}},s.matchBase=(n,p,f)=>(p instanceof RegExp?p:s.makeRe(p,f)).test(o.basename(n)),s.isMatch=(n,p,f)=>s(p,f)(n),s.parse=(n,p)=>Array.isArray(n)?n.map(f=>s.parse(f,p)):t(n,{...p,fastpaths:!1}),s.scan=(n,p)=>e(n,p),s.compileRe=(n,p,f=!1,T=!1)=>{if(f===!0)return n.output;const h=p||{},x=h.contains?"":"^",$=h.contains?"":"$";let E=`${x}(?:${n.output})${$}`;n&&n.negated===!0&&(E=`^(?!${E}).*$`);const B=s.toRegex(E,p);return T===!0&&(B.state=n),B},s.makeRe=(n,p={},f=!1,T=!1)=>{if(!n||typeof n!="string")throw new TypeError("Expected a non-empty string");let h={negated:!1,fastpaths:!0};return p.fastpaths!==!1&&(n[0]==="."||n[0]==="*")&&(h.output=t.fastpaths(n,p)),h.output||(h=t(n,p)),s.compileRe(h,p,f,T)},s.toRegex=(n,p)=>{try{const f=p||{};return new RegExp(n,f.flags||(f.nocase?"i":""))}catch(f){if(p&&p.debug===!0)throw f;return/$^/}},s.constants=r,vt=s,vt}var At,Xt;function Gs(){if(Xt)return At;Xt=1;const e=Ds(),t=pt();function o(r,i,s=!1){return i&&(i.windows===null||i.windows===void 0)&&(i={...i,windows:t.isWindows()}),e(r,i,s)}return Object.assign(o,e),At=o,At}var js=Gs();Ht(js);const Ps=w(import.meta.url),Ie=typeof globalThis<"u"&&typeof globalThis.process<"u"?globalThis.process:process,nt=e=>{if(typeof Ie<"u"&&Ie.versions&&Ie.versions.node){const[t,o]=Ie.versions.node.split(".").map(Number);if(t>22||t===22&&o>=3||t===20&&o>=16)return Ie.getBuiltinModule(e)}return Ps(e)};nt("fs");nt("fs");nt("path");nt("url");const{createRequire:Us}=nt("module");var Wt=Us(import.meta.url);try{Wt.resolve("picomatch"),Wt("picomatch")}catch{}var Rt,Qt;function Fs(){if(Qt)return Rt;Qt=1;/*!
2
- * is-extglob <https://github.com/jonschlinkert/is-extglob>
3
- *
4
- * Copyright (c) 2014-2016, Jon Schlinkert.
5
- * Licensed under the MIT License.
6
- */return Rt=function(e){if(typeof e!="string"||e==="")return!1;for(var t;t=/(\\).|([@?!+*]\(.*\))/g.exec(e);){if(t[2])return!0;e=e.slice(t.index+t[0].length)}return!1},Rt}var Tt,qt;function go(){if(qt)return Tt;qt=1;/*!
7
- * is-glob <https://github.com/jonschlinkert/is-glob>
8
- *
9
- * Copyright (c) 2014-2017, Jon Schlinkert.
10
- * Released under the MIT License.
11
- */var e=Fs(),t={"{":"}","(":")","[":"]"},o=function(i){if(i[0]==="!")return!0;for(var s=0,n=-2,p=-2,f=-2,T=-2,h=-2;s<i.length;){if(i[s]==="*"||i[s+1]==="?"&&/[\].+)]/.test(i[s])||p!==-1&&i[s]==="["&&i[s+1]!=="]"&&(p<s&&(p=i.indexOf("]",s)),p>s&&(h===-1||h>p||(h=i.indexOf("\\",s),h===-1||h>p)))||f!==-1&&i[s]==="{"&&i[s+1]!=="}"&&(f=i.indexOf("}",s),f>s&&(h=i.indexOf("\\",s),h===-1||h>f))||T!==-1&&i[s]==="("&&i[s+1]==="?"&&/[:!=]/.test(i[s+2])&&i[s+3]!==")"&&(T=i.indexOf(")",s),T>s&&(h=i.indexOf("\\",s),h===-1||h>T))||n!==-1&&i[s]==="("&&i[s+1]!=="|"&&(n<s&&(n=i.indexOf("|",s)),n!==-1&&i[n+1]!==")"&&(T=i.indexOf(")",n),T>n&&(h=i.indexOf("\\",n),h===-1||h>T))))return!0;if(i[s]==="\\"){var x=i[s+1];s+=2;var $=t[x];if($){var E=i.indexOf($,s);E!==-1&&(s=E+1)}if(i[s]==="!")return!0}else s++}return!1},r=function(i){if(i[0]==="!")return!0;for(var s=0;s<i.length;){if(/[*?{}()[\]]/.test(i[s]))return!0;if(i[s]==="\\"){var n=i[s+1];s+=2;var p=t[n];if(p){var f=i.indexOf(p,s);f!==-1&&(s=f+1)}if(i[s]==="!")return!0}else s++}return!1};return Tt=function(i,s){if(typeof i!="string"||i==="")return!1;if(e(i))return!0;var n=o;return s&&s.strict===!1&&(n=r),n(i)},Tt}const Ks=w(import.meta.url),De=typeof globalThis<"u"&&typeof globalThis.process<"u"?globalThis.process:process,bo=e=>{if(typeof De<"u"&&De.versions&&De.versions.node){const[t,o]=De.versions.node.split(".").map(Number);if(t>22||t===22&&o>=3||t===20&&o>=16)return De.getBuiltinModule(e)}return Ks(e)},zs=bo("path"),Xs=bo("os");var Et,Zt;function Ws(){if(Zt)return Et;Zt=1;var e=go(),t=zs.posix.dirname,o=Xs.platform()==="win32",r="/",i=/\\/g,s=/\\([!*?|[\](){}])/g;Et=function(f,T){var h=Object.assign({flipBackslashes:!0},T);h.flipBackslashes&&o&&f.indexOf(r)<0&&(f=f.replace(i,r)),n(f)&&(f+=r),f+="a";do f=t(f);while(p(f));return f.replace(s,"$1")};function n(f){var T=f.slice(-1),h;switch(T){case"}":h="{";break;case"]":h="[";break;default:return!1}var x=f.indexOf(h);return x<0?!1:f.slice(x+1,-1).includes(r)}function p(f){return/\([^()]+$/.test(f)||f[0]==="{"||f[0]==="["||/[^\\][{[]/.test(f)?!0:e(f)}return Et}var Qs=Ws();Ht(Qs);const qs=w(import.meta.url),Ge=typeof globalThis<"u"&&typeof globalThis.process<"u"?globalThis.process:process,Zs=e=>{if(typeof Ge<"u"&&Ge.versions&&Ge.versions.node){const[t,o]=Ge.versions.node.split(".").map(Number);if(t>22||t===22&&o>=3||t===20&&o>=16)return Ge.getBuiltinModule(e)}return qs(e)};Zs("node:fs/promises");const Vs=w(import.meta.url),je=typeof globalThis<"u"&&typeof globalThis.process<"u"?globalThis.process:process,Ys=e=>{if(typeof je<"u"&&je.versions&&je.versions.node){const[t,o]=je.versions.node.split(".").map(Number);if(t>22||t===22&&o>=3||t===20&&o>=16)return je.getBuiltinModule(e)}return Vs(e)},{accessSync:Js}=Ys("node:fs");function Ct(e,t=Go){ho(e),e=at(e);try{return Js(e,t),!0}catch{return!1}}var er=go();Ht(er);const tr=w(import.meta.url),Pe=typeof globalThis<"u"&&typeof globalThis.process<"u"?globalThis.process:process,yo=e=>{if(typeof Pe<"u"&&Pe.versions&&Pe.versions.node){const[t,o]=Pe.versions.node.split(".").map(Number);if(t>22||t===22&&o>=3||t===20&&o>=16)return Pe.getBuiltinModule(e)}return tr(e)};yo("node:fs/promises");yo("node:fs");let or=class extends Error{constructor(e){super(`ENOENT: ${e}`)}get code(){return"ENOENT"}set code(e){throw new Error("Cannot overwrite code ENOENT")}get name(){return"NotFoundError"}set name(e){throw new Error("Cannot overwrite name of NotFoundError")}};const sr=w(import.meta.url),Ue=typeof globalThis<"u"&&typeof globalThis.process<"u"?globalThis.process:process,mo=e=>{if(typeof Ue<"u"&&Ue.versions&&Ue.versions.node){const[t,o]=Ue.versions.node.split(".").map(Number);if(t>22||t===22&&o>=3||t===20&&o>=16)return Ue.getBuiltinModule(e)}return sr(e)};mo("node:fs/promises");mo("node:zlib");const rr=w(import.meta.url),Fe=typeof globalThis<"u"&&typeof globalThis.process<"u"?globalThis.process:process,vo=e=>{if(typeof Fe<"u"&&Fe.versions&&Fe.versions.node){const[t,o]=Fe.versions.node.split(".").map(Number);if(t>22||t===22&&o>=3||t===20&&o>=16)return Fe.getBuiltinModule(e)}return rr(e)};vo("node:fs");vo("node:zlib");const nr=w(import.meta.url),Ke=typeof globalThis<"u"&&typeof globalThis.process<"u"?globalThis.process:process,ur=e=>{if(typeof Ke<"u"&&Ke.versions&&Ke.versions.node){const[t,o]=Ke.versions.node.split(".").map(Number);if(t>22||t===22&&o>=3||t===20&&o>=16)return Ke.getBuiltinModule(e)}return nr(e)},{createRequire:Ao}=ur("node:module"),ir=new Map([["Error",Error],["EvalError",EvalError],["RangeError",RangeError],["ReferenceError",ReferenceError],["SyntaxError",SyntaxError],["TypeError",TypeError],["URIError",URIError]]);typeof AggregateError<"u"&&ir.set("AggregateError",AggregateError);const ar=Ao(import.meta.url),ze=typeof globalThis<"u"&&typeof globalThis.process<"u"?globalThis.process:process,lr=e=>{if(typeof ze<"u"&&ze.versions&&ze.versions.node){const[t,o]=ze.versions.node.split(".").map(Number);if(t>22||t===22&&o>=3||t===20&&o>=16)return ze.getBuiltinModule(e)}return ar(e)};lr("node:util");const cr=Ao(import.meta.url),Xe=typeof globalThis<"u"&&typeof globalThis.process<"u"?globalThis.process:process,Nt=e=>{if(typeof Xe<"u"&&Xe.versions&&Xe.versions.node){const[t,o]=Xe.versions.node.split(".").map(Number);if(t>22||t===22&&o>=3||t===20&&o>=16)return Xe.getBuiltinModule(e)}return cr(e)};Nt("node:fs");Nt("node:path");Nt("node:url");const pr=w(import.meta.url),We=typeof globalThis<"u"&&typeof globalThis.process<"u"?globalThis.process:process,Ro=e=>{if(typeof We<"u"&&We.versions&&We.versions.node){const[t,o]=We.versions.node.split(".").map(Number);if(t>22||t===22&&o>=3||t===20&&o>=16)return We.getBuiltinModule(e)}return pr(e)};Ro("node:fs");Ro("node:fs/promises");const fr=w(import.meta.url),Qe=typeof globalThis<"u"&&typeof globalThis.process<"u"?globalThis.process:process,hr=e=>{if(typeof Qe<"u"&&Qe.versions&&Qe.versions.node){const[t,o]=Qe.versions.node.split(".").map(Number);if(t>22||t===22&&o>=3||t===20&&o>=16)return Qe.getBuiltinModule(e)}return fr(e)};hr("node:fs");const gr=w(import.meta.url),qe=typeof globalThis<"u"&&typeof globalThis.process<"u"?globalThis.process:process,dr=e=>{if(typeof qe<"u"&&qe.versions&&qe.versions.node){const[t,o]=qe.versions.node.split(".").map(Number);if(t>22||t===22&&o>=3||t===20&&o>=16)return qe.getBuiltinModule(e)}return gr(e)};dr("node:fs/promises");const br=w(import.meta.url),Ze=typeof globalThis<"u"&&typeof globalThis.process<"u"?globalThis.process:process,yr=e=>{if(typeof Ze<"u"&&Ze.versions&&Ze.versions.node){const[t,o]=Ze.versions.node.split(".").map(Number);if(t>22||t===22&&o>=3||t===20&&o>=16)return Ze.getBuiltinModule(e)}return br(e)};yr("node:fs");w(import.meta.url);const mr=w(import.meta.url),Ve=typeof globalThis<"u"&&typeof globalThis.process<"u"?globalThis.process:process,vr=e=>{if(typeof Ve<"u"&&Ve.versions&&Ve.versions.node){const[t,o]=Ve.versions.node.split(".").map(Number);if(t>22||t===22&&o>=3||t===20&&o>=16)return Ve.getBuiltinModule(e)}return mr(e)};vr("node:crypto");new TextEncoder;const Ar=w(import.meta.url),Ye=typeof globalThis<"u"&&typeof globalThis.process<"u"?globalThis.process:process,Rr=e=>{if(typeof Ye<"u"&&Ye.versions&&Ye.versions.node){const[t,o]=Ye.versions.node.split(".").map(Number);if(t>22||t===22&&o>=3||t===20&&o>=16)return Ye.getBuiltinModule(e)}return Ar(e)};Rr("node:fs/promises");const Tr=w(import.meta.url),Je=typeof globalThis<"u"&&typeof globalThis.process<"u"?globalThis.process:process,Er=e=>{if(typeof Je<"u"&&Je.versions&&Je.versions.node){const[t,o]=Je.versions.node.split(".").map(Number);if(t>22||t===22&&o>=3||t===20&&o>=16)return Je.getBuiltinModule(e)}return Tr(e)};Er("node:fs");const _r=w(import.meta.url),et=typeof globalThis<"u"&&typeof globalThis.process<"u"?globalThis.process:process,xr=e=>{if(typeof et<"u"&&et.versions&&et.versions.node){const[t,o]=et.versions.node.split(".").map(Number);if(t>22||t===22&&o>=3||t===20&&o>=16)return et.getBuiltinModule(e)}return _r(e)};xr("node:fs/promises");const $r=w(import.meta.url),tt=typeof globalThis<"u"&&typeof globalThis.process<"u"?globalThis.process:process,kr=e=>{if(typeof tt<"u"&&tt.versions&&tt.versions.node){const[t,o]=tt.versions.node.split(".").map(Number);if(t>22||t===22&&o>=3||t===20&&o>=16)return tt.getBuiltinModule(e)}return $r(e)};kr("node:fs");const Cr=w(import.meta.url),ot=typeof globalThis<"u"&&typeof globalThis.process<"u"?globalThis.process:process,Lt=e=>{if(typeof ot<"u"&&ot.versions&&ot.versions.node){const[t,o]=ot.versions.node.split(".").map(Number);if(t>22||t===22&&o>=3||t===20&&o>=16)return ot.getBuiltinModule(e)}return Cr(e)},Sr=Lt("fs"),wr=Lt("os"),Or=Lt("path");var _t={},Vt;function Hr(){if(Vt)return _t;Vt=1;var e=Object.defineProperty,t=(h,x)=>e(h,"name",{value:x,configurable:!0}),o=Sr,r=wr,i=Or;const s=t(h=>{let x="";for(let $=0;$<h.length;$+=1){const E=h[$],B=E.toUpperCase();x+=E===B?E.toLowerCase():B}return x},"invertCase"),n=new Map,p=t((h,x)=>{const $=i.join(h,`.is-fs-case-sensitive-test-${process.pid}`);try{return x.writeFileSync($,""),!x.existsSync(s($))}finally{try{x.unlinkSync($)}catch{}}},"checkDirectoryCaseWithWrite"),f=t((h,x,$)=>{try{return p(h,$)}catch(E){if(x===void 0)return p(r.tmpdir(),$);throw E}},"checkDirectoryCaseWithFallback"),T=t((h,x=o,$=!0)=>{const E=h??process.cwd();if($&&n.has(E))return n.get(E);let B;const oe=s(E);return oe!==E&&x.existsSync(E)?B=!x.existsSync(oe):B=f(E,h,x),$&&n.set(E,B),B},"isFsCaseSensitive");return _t.isFsCaseSensitive=T,_t}Hr();const To=e=>e instanceof URL?new URL(e).pathname:e,Yt=e=>{const t=Io();if(Bt==="win32"){const r=rt.LOCALAPPDATA??(t?se(t,"AppData","Local"):ht());return se(r,e,"Cache")}if(Bt==="darwin"){const r=t?se(t,"Library","Caches"):ht();return se(r,e)}const o=rt.XDG_CACHE_HOME??(t?se(t,".cache"):ht());return se(o,e)},Nr=e=>{if(e.length===0)return;const t=e.map(s=>fo(To(s)).split(gt));let o=Number.POSITIVE_INFINITY;for(const s of t)s.length<o&&(o=s.length);const r=[];for(let s=0;s<o;s+=1){const n=t[0][s];if(t.every(p=>p[s]===n))r.push(n);else break}const i=r.join(gt);return i===""?gt:i},st=(e,t)=>{if(e!==void 0)return t?(...o)=>se(e,...o):e},Lr=e=>{if(e?.files&&e.files.length>0){const t=Nr(e.files);if(t!==void 0)return t}return e?.cwd??Do()},Br=e=>new or(`No package.json found searching upwards from '${To(e)}'.`),xt=e=>!Ct(e,lo)&&Ct(e),Mr=(e,t)=>{if(rt.CACHE_DIR&&!["0","1","false","true"].includes(rt.CACHE_DIR)){const p=se(rt.CACHE_DIR,e);return t?.create&&$e(p),st(p,t?.thunk)}const o=Lr(t),r=Bs("package.json",{cwd:o,type:"file"});if(!r){if(t?.useGlobalCacheFallback){const p=Yt(e);return t.create&&$e(p),st(p,t.thunk)}if(t?.throwError)throw Br(o);return}const i=se(Ot(r),"node_modules"),s=se(i,".cache"),n=se(s,e);if(Ct(n,lo))return t?.create&&$e(n),st(n,t?.thunk);if(xt(n)||xt(s)||xt(i)){if(t?.useGlobalCacheFallback){const p=Yt(e);return t.create&&$e(p),st(p,t.thunk)}return}return t?.create&&$e(n),st(n,t?.thunk)},Eo=Mr;class ft extends Error{chain;constructor(t,o,r){super(t,r),this.name=this.constructor.name,this.chain=o}}class Ir extends ft{constructor(t,o){const r=[...o,`${t} (re-enters)`].join(" → ");super(`Config cycle: ${r}`,o)}}class _o extends ft{filePath;removedKeys;constructor(t,o,r){const i=[`${t} uses removed keys.`,""];for(const s of r){const n=s.location?` (at ${s.location})`:"";i.push(` • ${s.name}${n} → renamed to \`${s.renamedTo}\``);for(const p of s.children??[])i.push(` ↳ ${p.name} → renamed to \`${p.renamedTo}\``)}i.push("","Run `vis migrate self` to auto-rewrite the config (use --dry-run to preview)."),super(i.join(`
12
- `),o),this.filePath=t,this.removedKeys=r}}class Jt extends ft{constructor(t,o,r){const i=r instanceof Error?r.message:String(r),s=o.length>0?`
13
- Chain: ${o.join(" → ")}`:"";super(`Failed to load ${t}: ${i}${s}`,o,{cause:r})}}const Dr=e=>e.join(" → ");class $t extends ft{constructor(t,o,r){const i=o.length>0?o[o.length-1]:"<unknown>",s=r.length>0?`
14
- Tried:
15
- ${r.join(`
16
- `)}`:"";super(`Cannot resolve "${t}" extended from ${i}.${s}
17
- Chain: ${Dr(o)}`,o)}}const eo="@inherit",Gr=["aliases","dependsOn","inputs","outputs"],jr=(e,t)=>{if(t===void 0)return e===void 0?void 0:[...e];if(!t.includes(eo))return[...t];const o=[];for(const r of t){if(r===eo){e!==void 0&&o.push(...e);continue}o.push(r)}return o},Pr=(e,t)=>{const o={...e,...t};for(const r of Gr){const i=e?.[r],s=t?.[r],n=jr(i,s);n===void 0?delete o[r]:o[r]=n}return o},Ur=e=>{const t=[];if(Object.hasOwn(e,"targetDefaults")&&t.push({name:"targetDefaults",renamedTo:"tasks"}),Object.hasOwn(e,"taskRunnerOptions")&&t.push({name:"taskRunnerOptions",renamedTo:"taskRunner"}),Object.hasOwn(e,"taskDefaults")){const{taskDefaults:o}=e,r=[];if(Array.isArray(o))for(const[i,s]of o.entries())s&&typeof s=="object"&&(Object.hasOwn(s,"scope")&&r.push({location:`taskDefaults[${i}].scope`,name:"scope",renamedTo:"match"}),Object.hasOwn(s,"targets")&&r.push({location:`taskDefaults[${i}].targets`,name:"targets",renamedTo:"tasks"}));t.push({children:r.length>0?r:void 0,name:"taskDefaults",renamedTo:"scopedTasks"})}else if(Array.isArray(e.scopedTasks))for(const[o,r]of e.scopedTasks.entries())r&&typeof r=="object"&&(Object.hasOwn(r,"scope")&&t.push({location:`scopedTasks[${o}].scope`,name:"scope",renamedTo:"match"}),Object.hasOwn(r,"targets")&&t.push({location:`scopedTasks[${o}].targets`,name:"targets",renamedTo:"tasks"}));return t},Fr=e=>Object.hasOwn(e,"targets")&&!Object.hasOwn(e,"tasks")?[{name:"targets",renamedTo:"tasks"}]:[],Kr=(e,t,o)=>{if(!o||typeof o!="object")return;const r=Ur(o);if(r.length>0)throw new _o(e,t,r)},zr=(e,t,o)=>{if(!o||typeof o!="object")return;const r=Fr(o);if(r.length>0)throw new _o(e,t,r)},xo=["vis.config.ts","vis.config.mts","vis.config.cts","vis.config.js","vis.config.mjs","vis.config.cjs"],Xr=new Set(xo),$o=["vis.task.ts","vis.task.mts","vis.task.cts","vis.task.js","vis.task.mjs","vis.task.cjs"],Wr=new Set($o),dn=2880,kt={blockExoticSubdeps:!0,policies:{installScripts:{strict:!0},publisherChange:{ignoreAfter:43200,mode:"no-downgrade"}}},Qr=e=>{if(!e)return{...kt};const t=kt.policies??{},o=e.policies??{},r={...t,...o};for(const i of Object.keys(t)){const s=t[i],n=o[i];s!==void 0&&n!==void 0&&(r[i]={...s,...n})}return{...kt,...e,policies:r}},to=e=>({...e,security:Qr(e.security),update:{security:!0,target:"minor",...e.update}}),qr=e=>{let t;try{t=so(e)}catch{return}const o=new Set(t.filter(r=>Xr.has(r)));for(const r of xo)if(o.has(r))return te(e,r)},Zr=e=>{let t;try{t=so(e)}catch{return}const o=new Set(t.filter(r=>Wr.has(r)));for(const r of $o)if(o.has(r))return te(e,r)},ko=e=>oo("sha256").update(Lo(e)).digest("hex"),Vr=e=>{const t=oo("sha256"),o=[...e].sort();for(const r of o)t.update(r),t.update(":"),t.update(ko(r)),t.update(`
18
- `);return t.digest("hex")},Yr=e=>{const t=te(e,"node_modules");if(me(t)){const r=te(t,".cache","vis");return lt(r),te(r,"vis-config-cache.json")}const o=Eo("vis",{create:!0,cwd:e});return o?te(o,"vis-config-cache.json"):void 0},Jr=(e,t)=>{if(me(e))try{const o=io(e);if(o.hash===t)return o.config}catch{}},en=(e,t,o)=>{try{lt(wt(e)),uo(e,{config:o,hash:t})}catch{}},tn=e=>e===void 0?[]:Array.isArray(e)?e:[e],on=(e,t,o)=>{if(no(e))throw new $t(e,[...o,t],["Absolute paths in `extends` are not supported. Use a relative path or an npm package name."]);const r=[];if(e.startsWith("./")||e.startsWith("../")){const i=wt(t),s=te(i,e);if(r.push(s),me(s))return s;throw new $t(e,[...o,t],r)}try{return ro(t).resolve(e)}catch{throw r.push(`require.resolve("${e}") from ${t}`),new $t(e,[...o,t],r)}},Co=async(e,t)=>{let o;try{o=(await Bo(e)).default??{}}catch(r){throw new Jt(e,t,r)}try{return(typeof o=="function"?await o()??{}:o)??{}}catch(r){throw new Jt(e,t,r)}},sn=(e,t)=>{const o={...e,...t};if(e.tasks||t.tasks){const r=new Set([...Object.keys(e.tasks??{}),...Object.keys(t.tasks??{})]),i={};for(const s of r)i[s]=Pr(e.tasks?.[s],t.tasks?.[s]);o.tasks=i}if((e.scopedTasks||t.scopedTasks)&&(o.scopedTasks=[...e.scopedTasks??[],...t.scopedTasks??[]]),(e.fileGroups||t.fileGroups)&&(o.fileGroups={...e.fileGroups,...t.fileGroups}),(e.taskGroups||t.taskGroups)&&(o.taskGroups={...e.taskGroups,...t.taskGroups}),e.security||t.security){const r=e.security?.policies??{},i=t.security?.policies??{},s={...r,...i};for(const n of Object.keys(r)){const p=r[n],f=i[n];p!==void 0&&f!==void 0&&(s[n]={...p,...f})}o.security={...e.security,...t.security,acceptedRisks:{...e.security?.acceptedRisks,...t.security?.acceptedRisks},policies:s}}return(e.update||t.update)&&(o.update={...e.update,...t.update}),(e.taskRunner||t.taskRunner)&&(o.taskRunner={...e.taskRunner,...t.taskRunner}),delete o.extends,o},So=async(e,t,o,r,i)=>{if(o.has(e))throw new Ir(e,t);if(!r.has(e)){o.add(e);try{const s=await Co(e,t);Kr(e,t,s);const n=tn(s.extends);for(const p of n){const f=on(p,e,t);await So(f,[...t,e],o,r,i)}r.set(e,s),i.push(e)}finally{o.delete(e)}}},bn=async(e,t)=>{let o;if(t?.explicitConfigPath){const h=no(t.explicitConfigPath)?t.explicitConfigPath:te(e,t.explicitConfigPath);if(!me(h))throw new Error(`Cannot find config file at ${h}`);o=h}else o=qr(e);if(!o)return to({});const r=new Set,i=new Map,s=[];await So(o,[],r,i,s);const n=Vr(s),p=Yr(e);if(p){const h=Jr(p,n);if(h)return h}let f={};for(const h of s)f=sn(f,i.get(h));const T=to(f);return p&&en(p,n,T),T},rn=e=>e.replaceAll(/[^\w.-]+/g,"_"),nn=(e,t)=>{const o=te(e,"node_modules"),r=rn(t);if(me(o)){const s=te(o,".cache","vis","task-configs");return lt(s),te(s,`${r}.json`)}const i=Eo("vis",{create:!0,cwd:e});return i?te(i,"task-configs",`${r}.json`):void 0},un=(e,t)=>{if(me(e))try{const o=io(e);if(o.hash===t)return o.config}catch{}},an=(e,t,o)=>{try{lt(wt(e)),uo(e,{config:o,hash:t})}catch{}},yn=async(e,t,o)=>{const r=Zr(t);if(!r)return;const i=ko(r),s=nn(e,o);if(s){const f=un(s,i);if(f)return f}const n=await Co(r,[]);zr(r,[],n);const p=n;return s&&an(s,i,p),p},mn=e=>e,vn=e=>e;export{Zr as A,bn as B,Eo as E,qr as N,dn as U,Pr as a,kt as d,yn as e,vn as i,xo as k,$o as m,mn as n,to as y};
@@ -1 +0,0 @@
1
- import{createRequire as e}from"node:module";import{k as l,U as _,d as p,m as d,y as u,i as c,n as g,N as m,A as T,B as E,e as C}from"../packem_chunks/config.js";import"./index-OQZQyN5R.js";import"../packem_chunks/ts-loader.js";import{otelPlugin as I}from"./otelPlugin-DmKDBaPo.js";import{definePlugin as A}from"./definePlugin-DoUcoYSy.js";import"./readJsonSync-CvkZyKmL-CY7PZob_.js";const i=e(import.meta.url),o=typeof globalThis<"u"&&typeof globalThis.process<"u"?globalThis.process:process;export{l as CONFIG_FILES,_ as DEFAULT_MIN_RELEASE_AGE_MINUTES,p as SECURITY_DEFAULTS,d as TASK_CONFIG_FILES,u as applyDefaults,c as defineConfig,A as definePlugin,g as defineTaskConfig,m as findVisConfigFile,T as findVisTaskConfigFile,E as loadVisConfig,C as loadVisTaskConfig,I as otelPlugin};
@@ -1,3 +0,0 @@
1
- import{createRequire as a}from"node:module";import{l as c}from"./target-options-ChWcK60i.js";import{m as d}from"./index-OQZQyN5R.js";const p=a(import.meta.url),o=typeof globalThis<"u"&&typeof globalThis.process<"u"?globalThis.process:process,i=r=>{if(typeof o<"u"&&o.versions&&o.versions.node){const[e,t]=o.versions.node.split(".").map(Number);if(e>22||e===22&&t>=3||e===20&&t>=16)return o.getBuiltinModule(r)}return p(r)},{createRequire:u}=i("node:module"),{pathToFileURL:m}=i("node:url"),s=["temporal","urlpattern"],f=r=>{const e=r.trim().toLowerCase();return e===""||e==="all"||e==="1"||e==="true"?s:e.split(",").map(t=>t.trim()).filter(t=>s.includes(t))},l=async(r,e)=>{try{const t=u(d(e,"__vis_polyfill_resolver__.js")).resolve(r);return await import(m(t).href)}catch{return}},_=async r=>{if(globalThis.Temporal!==void 0)return;const e=await l("@js-temporal/polyfill",r);e?.Temporal===void 0?process.stderr.write(`vis: --polyfill temporal requested but @js-temporal/polyfill is not installed in this project.
2
- `):globalThis.Temporal=e.Temporal},v=async r=>{if(globalThis.URLPattern!==void 0)return;const e=await l("urlpattern-polyfill",r);e?.URLPattern===void 0?process.stderr.write(`vis: --polyfill urlpattern requested but urlpattern-polyfill is not installed in this project.
3
- `):globalThis.URLPattern=e.URLPattern},y=async(r,e=process.cwd())=>{const t=f(r);await Promise.all(t.map(async n=>{await(n==="temporal"?_(e):v(e))}))},b=async r=>{for(const[e,t]of Object.entries(c(r,!0)))process.env[e]===void 0&&(process.env[e]=t);process.env.VIS_POLYFILL!==void 0&&await y(process.env.VIS_POLYFILL,r)};export{b as p};
@@ -1,2 +0,0 @@
1
- import{createRequire as M}from"node:module";import{c as j}from"./compile-cache-B_Vf_WxT.js";import{i as Z,h as G,t as U,p as y,c as k}from"./runtime-process-Dmz0vCJy-DUwTvH1J.js";import"./index.server-J83sowC4.js";import"./index-OQZQyN5R.js";import{a as F}from"./readJsonSync-CvkZyKmL-CY7PZob_.js";const B=M(import.meta.url),a=typeof globalThis<"u"&&typeof globalThis.process<"u"?globalThis.process:process,X=e=>{if(typeof a<"u"&&a.versions&&a.versions.node){const[t,r]=a.versions.node.split(".").map(Number);if(t>22||t===22&&r>=3||t===20&&r>=16)return a.getBuiltinModule(e)}return B(e)},{createRequire:g}=X("node:module"),{env:T}=a,H=g(import.meta.url),_=typeof globalThis<"u"&&typeof globalThis.process<"u"?globalThis.process:process,A=e=>{if(typeof _<"u"&&_.versions&&_.versions.node){const[t,r]=_.versions.node.split(".").map(Number);if(t>22||t===22&&r>=3||t===20&&r>=16)return _.getBuiltinModule(e)}return H(e)},{execFileSync:V}=A("node:child_process"),{totalmem:Y}=A("node:os"),z=/--max-old-space-size=(\d+)/,q=/--max-semi-space-size=(\d+)/,Q=e=>Math.floor(Y()/1024/1024*e),K=e=>e<=512?4:e<=1024?8:e<=2048?16:e<=4096?32:e<=8192?64:Math.floor(Math.log2(e))*8,$=(e,t)=>{for(const r of t){const o=e.exec(r);if(o)return Number.parseInt(o[1],10)}},J=e=>{const r=[...k()],o=[...Z()],n=$(z,r),i=$(q,r);if(n!==void 0&&i!==void 0)return;const s=n??Q(.75),l=i??K(s),I=[];if(n===void 0&&I.push(`--max-old-space-size=${String(s)}`),i===void 0&&I.push(`--max-semi-space-size=${String(l)}`),I.length!==0)try{V(G(),[...I,...r,...o.slice(1)],{env:U(),stdio:"inherit"}),y(0)}catch(C){const W=C.status;y(typeof W=="number"?W:1)}},c="\x1B[",x=";";g(import.meta.url);const ee=typeof globalThis<"u"&&typeof globalThis.process<"u"?globalThis.process:process,h=ee,te=(e,t,r,o)=>{if(r==="length"||r==="prototype"||r==="arguments"||r==="caller")return;const n=Object.getOwnPropertyDescriptor(e,r),i=Object.getOwnPropertyDescriptor(t,r);!re(n,i)&&o||Object.defineProperty(e,r,i)},re=function(e,t){return e===void 0||e.configurable||e.writable===t.writable&&e.enumerable===t.enumerable&&e.configurable===t.configurable&&(e.writable||e.value===t.value)},oe=(e,t)=>{const r=Object.getPrototypeOf(t);r!==Object.getPrototypeOf(e)&&Object.setPrototypeOf(e,r)},ne=(e,t)=>`/* Wrapped ${e}*/
2
- ${t}`,ie=Object.getOwnPropertyDescriptor(Function.prototype,"toString"),se=Object.getOwnPropertyDescriptor(Function.prototype.toString,"name"),ce=(e,t,r)=>{const o=r===""?"":`with ${r.trim()}() `,n=ne.bind(null,o,t.toString());Object.defineProperty(n,"name",se);const{writable:i,enumerable:s,configurable:l}=ie;Object.defineProperty(e,"toString",{value:n,writable:i,enumerable:s,configurable:l})};function le(e,t,{ignoreNonConfigurable:r=!1}={}){const{name:o}=e;for(const n of Reflect.ownKeys(t))te(e,t,n,r);return oe(e,t),ce(e,t,o),e}const S=new WeakMap,D=(e,t={})=>{if(typeof e!="function")throw new TypeError("Expected a function");let r,o=0;const n=e.displayName||e.name||"<anonymous>",i=function(...s){if(S.set(i,++o),o===1)r=e.apply(this,s),e=void 0;else if(t.throw===!0)throw new Error(`Function \`${n}\` can only be called once`);return r};return le(i,e),S.set(i,o),i};D.callCount=e=>{if(!S.has(e))throw new Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`);return S.get(e)};const u=[];u.push("SIGHUP","SIGINT","SIGTERM");process.platform!=="win32"&&u.push("SIGALRM","SIGABRT","SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT");process.platform==="linux"&&u.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT");const d=e=>!!e&&!0&&typeof e.removeListener=="function"&&typeof e.emit=="function"&&typeof e.reallyExit=="function"&&typeof e.listeners=="function"&&typeof e.kill=="function"&&typeof e.pid=="number"&&typeof e.on=="function",E=Symbol.for("signal-exit emitter"),R=globalThis,ae=Object.defineProperty.bind(Object);let ue=class{emitted={afterExit:!1,exit:!1};listeners={afterExit:[],exit:[]};count=0;id=Math.random();constructor(){if(R[E])return R[E];ae(R,E,{value:this,writable:!1,enumerable:!1,configurable:!1})}on(t,r){this.listeners[t].push(r)}removeListener(t,r){const o=this.listeners[t],n=o.indexOf(r);n!==-1&&(n===0&&o.length===1?o.length=0:o.splice(n,1))}emit(t,r,o){if(this.emitted[t])return!1;this.emitted[t]=!0;let n=!1;for(const i of this.listeners[t])n=i(r,o)===!0||n;return t==="exit"&&(n=this.emit("afterExit",r,o)||n),n}};class L{}const _e=e=>({onExit(t,r){return e.onExit(t,r)},load(){return e.load()},unload(){return e.unload()}});let pe=class extends L{onExit(){return()=>{}}load(){}unload(){}},fe=class extends L{#s=m.platform==="win32"?"SIGINT":"SIGHUP";#t=new ue;#e;#n;#i;#o={};#r=!1;constructor(t){super(),this.#e=t,this.#o={};for(const r of u)this.#o[r]=()=>{const o=this.#e.listeners(r);let{count:n}=this.#t;const i=t;if(typeof i.__signal_exit_emitter__=="object"&&typeof i.__signal_exit_emitter__.count=="number"&&(n+=i.__signal_exit_emitter__.count),o.length===n){this.unload();const s=this.#t.emit("exit",null,r),l=r==="SIGHUP"?this.#s:r;s||t.kill(t.pid,l)}};this.#i=t.reallyExit,this.#n=t.emit}onExit(t,r){if(!d(this.#e))return()=>{};this.#r===!1&&this.load();const o=r?.alwaysLast?"afterExit":"exit";return this.#t.on(o,t),()=>{this.#t.removeListener(o,t),this.#t.listeners.exit.length===0&&this.#t.listeners.afterExit.length===0&&this.unload()}}load(){if(!this.#r){this.#r=!0,this.#t.count+=1;for(const t of u)try{const r=this.#o[t];r&&this.#e.on(t,r)}catch{}this.#e.emit=(t,...r)=>this.#l(t,...r),this.#e.reallyExit=t=>this.#c(t)}}unload(){this.#r&&(this.#r=!1,u.forEach(t=>{const r=this.#o[t];if(!r)throw new Error("Listener not defined for signal: "+t);try{this.#e.removeListener(t,r)}catch{}}),this.#e.emit=this.#n,this.#e.reallyExit=this.#i,this.#t.count-=1)}#c(t){return d(this.#e)?(this.#e.exitCode=t||0,this.#t.emit("exit",this.#e.exitCode,null),this.#i.call(this.#e,this.#e.exitCode)):0}#l(t,...r){const o=this.#n;if(t==="exit"&&d(this.#e)){typeof r[0]=="number"&&(this.#e.exitCode=r[0]);const n=o.call(this.#e,t,...r);return this.#t.emit("exit",this.#e.exitCode,null),n}else return o.call(this.#e,t,...r)}};const m=globalThis.process,{onExit:Ie}=_e(d(m)?new fe(m):new pe),b=h.stderr.isTTY?h.stderr:h.stdout.isTTY?h.stdout:void 0;b&&D(()=>{Ie(()=>{b.write("\x1B[?25h")},{alwaysLast:!0})});const Ye=(e=1)=>`${c}${String(e)}B`,ze=`${c}?25l`,he=`${c}G`,de=(e=1)=>`${c}${String(e)}G`,qe=(e=1)=>`${c}${String(e)}E`,Qe=`${c}?25h`,Ke=(e,t)=>t===void 0?de(e+1):`${c}${String(t+1)}${x}${String(e+1)}H`,Se=(e=1)=>`${c}${String(e)}A`;var Oe=(e=>(e[e.Default=0]="Default",e[e.BlinkingBlock=1]="BlinkingBlock",e[e.SteadyBlock=2]="SteadyBlock",e[e.BlinkingUnderline=3]="BlinkingUnderline",e[e.SteadyUnderline=4]="SteadyUnderline",e[e.BlinkingBar=5]="BlinkingBar",e[e.SteadyBar=6]="SteadyBar",e))(Oe||{});const Je=e=>`${c}${String(e)} q`;var Te=(e=>(e[e.ToEnd=0]="ToEnd",e[e.ToBeginning=1]="ToBeginning",e[e.EntireScreen=2]="EntireScreen",e[e.EntireScreenAndScrollback=3]="EntireScreenAndScrollback",e))(Te||{});const et=e=>{const t=e>=0&&e<=3?e:0;return`${c}${t===0?"":String(t)}J`};var Ee=(e=>(e[e.ToEnd=0]="ToEnd",e[e.ToBeginning=1]="ToBeginning",e[e.EntireLine=2]="EntireLine",e))(Ee||{});const v=e=>{const t=e>=0&&e<=2?e:0;return`${c}${t===0?"":String(t)}K`},Re=v(2),tt=v(0),rt=e=>{if(e<=0)return"";let t="";for(let r=0;r<e;r+=1)t+=Re,r<e-1&&(t+=Se());return t+=he,t},me=g(import.meta.url),p=typeof globalThis<"u"&&typeof globalThis.process<"u"?globalThis.process:process,ge=e=>{if(typeof p<"u"&&p.versions&&p.versions.node){const[t,r]=p.versions.node.split(".").map(Number);if(t>22||t===22&&r>=3||t===20&&r>=16)return p.getBuiltinModule(e)}return me(e)};ge("node:buffer");class Ne{code;isDecMode=!0;constructor(t){this.code=t}}const w=(e,...t)=>{if(t.length===0)return"";const r=e?"l":"h";if(t.length===1){const s=t[0];let l=c;return s.isDecMode&&(l+="?"),l+String(s.code)+r}const o=t.filter(s=>!s.isDecMode).map(s=>s.code),n=t.filter(s=>s.isDecMode).map(s=>s.code);let i="";return o.length>0&&(i+=`${c}${o.join(";")}${r}`),n.length>0&&(i+=`${c}?${n.join(";")}${r}`),i};var We=(e=>(e[e.NotRecognized=0]="NotRecognized",e[e.Set=1]="Set",e[e.Reset=2]="Reset",e[e.PermanentlySet=3]="PermanentlySet",e[e.PermanentlyReset=4]="PermanentlyReset",e))(We||{});const ye=e=>new Ne(e),ot=(...e)=>w(!1,...e),nt=(...e)=>w(!0,...e),it=ye(2004);class $e{constructor(t){this.reportCode=t}reportCode;isDecReport=!1}class be{constructor(t){this.reportCode=t}reportCode;isDecReport=!0}const Pe=e=>new $e(e),N=e=>new be(e),O=(...e)=>{if(e.length===0)return"";const t=e.some(n=>n.isDecReport),r=e.map(n=>n.reportCode.toString());let o=c;return t&&(o+="?"),`${o}${r.join(x)}n`},Ae=Pe(5);O(Ae);const xe=N(15);O(xe);const De=N(25);O(De);const Le=N(26);O(Le);var ve=(e=>(e[e.DEICONIFY_WINDOW=1]="DEICONIFY_WINDOW",e[e.ICONIFY_WINDOW=2]="ICONIFY_WINDOW",e[e.MOVE_WINDOW=3]="MOVE_WINDOW",e[e.RESIZE_TEXT_AREA_CHARS=4]="RESIZE_TEXT_AREA_CHARS",e[e.RAISE_WINDOW=5]="RAISE_WINDOW",e[e.LOWER_WINDOW=6]="LOWER_WINDOW",e[e.REFRESH_WINDOW=7]="REFRESH_WINDOW",e[e.RESIZE_TEXT_AREA_PIXELS=8]="RESIZE_TEXT_AREA_PIXELS",e[e.RESTORE_MAXIMIZED_WINDOW=9]="RESTORE_MAXIMIZED_WINDOW",e[e.MAXIMIZE_WINDOW=10]="MAXIMIZE_WINDOW",e[e.MAXIMIZE_WINDOW_VERTICALLY=10.1]="MAXIMIZE_WINDOW_VERTICALLY",e[e.MAXIMIZE_WINDOW_HORIZONTALLY=10.2]="MAXIMIZE_WINDOW_HORIZONTALLY",e[e.UNDO_FULL_SCREEN_MODE=10.3]="UNDO_FULL_SCREEN_MODE",e[e.REPORT_WINDOW_STATE=11]="REPORT_WINDOW_STATE",e[e.REPORT_WINDOW_POSITION=13]="REPORT_WINDOW_POSITION",e[e.REPORT_TEXT_AREA_SIZE_CHARS=14]="REPORT_TEXT_AREA_SIZE_CHARS",e[e.REQUEST_WINDOW_SIZE_WIN_OP_COMPAT=14]="REQUEST_WINDOW_SIZE_WIN_OP_COMPAT",e[e.REPORT_CELL_SIZE_PIXELS=16]="REPORT_CELL_SIZE_PIXELS",e[e.REPORT_TEXT_AREA_SIZE_PIXELS=18]="REPORT_TEXT_AREA_SIZE_PIXELS",e[e.REPORT_ICON_LABEL=19]="REPORT_ICON_LABEL",e[e.REPORT_WINDOW_TITLE=21]="REPORT_WINDOW_TITLE",e[e.PUSH_WINDOW_TITLE=22]="PUSH_WINDOW_TITLE",e[e.POP_WINDOW_TITLE=23]="POP_WINDOW_TITLE",e[e.RESIZE_SCREEN_AND_TEXT_AREA=24]="RESIZE_SCREEN_AND_TEXT_AREA",e))(ve||{});const P=e=>e in T&&T[e]!=="0"&&T[e]!=="false",we=P("CI")||P("CONTINUOUS_INTEGRATION"),Ce=()=>{if(process.env.VIS_VERSION)return process.env.VIS_VERSION;try{const e=new URL("../../package.json",import.meta.url);return F(e).version}catch{return"0.0.0"}},Me=()=>{process.env.VIS_VERSION=Ce()},st=e=>{!process.stdout.isTTY||we||process.env.TERM==="dumb"||process.stdout.write(`\x1B]0;${e}\x07`)},Be=new Set(["","--help","--version","-h","-v","completion","dlx","exec","x"]),f=process.argv[2]??"";!Be.has(f)&&!process.argv.includes("--help")&&!process.argv.includes("-h")&&J();process.argv.includes("--no-color")&&(process.env.NO_COLOR="1",process.env.FORCE_COLOR="0");Me();j();(async()=>{if(f==="__pm-shim"){const{dispatchShim:t}=await import("../packem_chunks/dispatch.js");t(process.argv[3]??"",process.argv.slice(4));return}if(f==="x"){const{runLeanX:t}=await import("../packem_chunks/lean.js");await t(process.argv.slice(3));return}if(f==="exec"||f==="dlx"){const{runExecCli:t}=await import("../packem_chunks/cli-exec.js");await t();return}const{runCli:e}=await import("../packem_chunks/cli-main.js").then(t=>t.br);await e()})();export{ze as A,Qe as H,we as I,rt as L,Ke as P,it as Q,nt as S,Se as _,ye as a,ot as c,tt as d,et as e,qe as h,Je as j,Te as o,st as s,Ye as v,c as x};
@@ -1 +0,0 @@
1
- import{v as u,m as l,f as g}from"./index-OQZQyN5R.js";import{D as d,i as D,W as v}from"../packem_chunks/cli-main.js";import"./public-api-WqUCiyIe.js";const w={bun:{file:"bun.lock",type:"bun"},npm:{aliases:["npm-shrinkwrap.json"],file:"package-lock.json",type:"npm"},pnpm:{file:"pnpm-lock.yaml",type:"pnpm"},yarn:{file:"yarn.lock",type:"yarn"}},j=o=>{const t=w[o];return t?[...t.aliases??[],t.file].map(e=>({file:e,type:t.type})):[]},m=(o,t)=>{const e=j(t);if(e.length!==0)return e.find(r=>g(l(o,r.file)))??e[e.length-1]},k=o=>{try{return JSON.parse(u(o))}catch{return}},y=o=>{const t=[],e=k(l(o,"package.json"));e&&t.push(e);const r=D(o);let c;if(r?c=r:e?.workspaces&&(Array.isArray(e.workspaces)?c=e.workspaces:e.workspaces.packages&&(c=e.workspaces.packages)),!c)return t;const a=v(o,c);for(const s of a){const n=k(l(o,s,"package.json"));n&&t.push(n)}return t},b=(o,t)=>{const e=new Set,r=[],c=new Map;for(const s of t){const n=c.get(s.name);n?n.push(s):c.set(s.name,[s])}const a=s=>{if(s)for(const n of Object.keys(s))e.has(n)||(e.add(n),r.push(n))};for(const s of y(o))a(s.dependencies),a(s.peerDependencies),a(s.optionalDependencies);for(;r.length>0;){const s=r.shift(),n=c.get(s);if(n){for(const i of n)for(const p of[i.dependencies,i.peerDependencies,i.optionalDependencies])if(p)for(const f of Object.keys(p))e.has(f)||(e.add(f),r.push(f))}}return e},$=(o,t,e={})=>{const r=m(o,t);if(!r)return[];let c;try{c=u(l(o,r.file))}catch{return[]}const a=d(c,r.type);if(a.length===0)return[];const s=e.includeDev??!0?void 0:b(o,a),n=new Set,i=[];for(const p of a){if(s&&!s.has(p.name))continue;const f=`${p.name}@${p.version}`;n.has(f)||(n.add(f),i.push({isDev:!1,name:p.name,version:p.version}))}return i},A=(o,t)=>{const e=m(o,t);if(!e)return[];let r;try{r=u(l(o,e.file))}catch{return[]}const c=d(r,e.type);if(c.length===0)return[];const a=new Map;for(const n of c)a.has(n.name)||a.set(n.name,new Set),a.get(n.name).add(n.version);const s=[];for(const[n,i]of a)i.size<=1||s.push({name:n,versions:[...i]});return s.sort((n,i)=>n.name.localeCompare(i.name))},E=(o,t)=>{const e=m(o,t);if(!e)return;let r;try{r=u(l(o,e.file))}catch{return}const c=d(r,e.type);if(c.length===0)return;const a=[],s=new Set;for(const n of y(o))for(const i of[n.dependencies,n.devDependencies,n.peerDependencies,n.optionalDependencies])if(i)for(const[p,f]of Object.entries(i)){const h=`${p}@${f}`;s.has(h)||(s.add(h),a.push({name:p,version:f}))}return{entries:c,roots:a}};export{w as L,E as a,A as f,$ as l,m as r};
@@ -1,2 +0,0 @@
1
- import{createRequire as m}from"node:module";import{m as _}from"./index-OQZQyN5R.js";import{a as F}from"../packem_chunks/cli-main.js";const p=m(import.meta.url),o=typeof globalThis<"u"&&typeof globalThis.process<"u"?globalThis.process:process,c=r=>{if(typeof o<"u"&&o.versions&&o.versions.node){const[t,e]=o.versions.node.split(".").map(Number);if(t>22||t===22&&e>=3||t===20&&e>=16)return o.getBuiltinModule(r)}return p(r)},{mkdirSync:f,writeFileSync:h,readdirSync:g}=c("node:fs"),{readFile:y}=c("node:fs/promises"),n=r=>F(r),a=(r,t)=>_(n(r),`${encodeURIComponent(t)}.json`);class S{#t;#e;constructor(t,e){this.#t=t,this.#e=e}printTaskTerminalOutput(t,e,s){if(e!=="failure")return;const i=n(this.#t);try{f(i,{recursive:!0})}catch{return}const u=t.overrides.command,d=t.projectRoot,l={command:u,cwd:d,exitCode:void 0,hash:t.hash,runId:this.#e,status:e,taskId:t.id,terminalOutput:s,timestamp:new Date().toISOString()};try{h(a(this.#t,t.id),`${JSON.stringify(l,void 0,2)}
2
- `,"utf8")}catch{}}}const I=async(r,t)=>{const e=a(r,t);try{const s=await y(e,"utf8");return JSON.parse(s)}catch{return}},O=r=>{const t=n(r);let e;try{e=g(t)}catch{return[]}const s=[];for(const i of e)if(i.endsWith(".json"))try{s.push(decodeURIComponent(i.slice(0,-5)))}catch{}return s};export{S as F,I as a,O as l};
@@ -1 +0,0 @@
1
- import{W as o}from"./index-OQZQyN5R.js";const r=async(s,a)=>await o(s,a);export{r as s};