@socketsecurity/lib 6.0.8 → 6.0.10

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 (396) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/README.md +8 -9
  3. package/dist/abort/signal.d.ts +1 -1
  4. package/dist/abort/signal.js +1 -1
  5. package/dist/ai/agent-context.d.mts +1 -1
  6. package/dist/ai/agent-context.js +3 -2
  7. package/dist/ai/backends.d.mts +3 -3
  8. package/dist/ai/backends.js +2 -2
  9. package/dist/ai/billing-context.d.mts +74 -0
  10. package/dist/ai/billing-context.js +129 -0
  11. package/dist/ai/credentials.d.mts +39 -5
  12. package/dist/ai/credentials.js +61 -6
  13. package/dist/ai/discover.d.mts +4 -0
  14. package/dist/ai/discover.js +4 -0
  15. package/dist/ai/exec.d.mts +1 -1
  16. package/dist/ai/exec.js +1 -1
  17. package/dist/ai/http.d.mts +8 -8
  18. package/dist/ai/http.js +6 -6
  19. package/dist/ai/profiles.d.mts +9 -10
  20. package/dist/ai/profiles.js +0 -5
  21. package/dist/ai/role.d.mts +58 -0
  22. package/dist/ai/role.js +96 -0
  23. package/dist/ai/route-heuristic.d.mts +177 -0
  24. package/dist/ai/route-heuristic.js +194 -0
  25. package/dist/ai/route.d.mts +31 -17
  26. package/dist/ai/route.js +35 -19
  27. package/dist/ai/spawn.d.mts +34 -1
  28. package/dist/ai/spawn.js +115 -3
  29. package/dist/ai/subagent-status.d.mts +2 -0
  30. package/dist/ai/subagent-status.js +2 -0
  31. package/dist/ai/tier.d.mts +1 -1
  32. package/dist/ai/types.d.mts +19 -2
  33. package/dist/ai/worktree.d.mts +1 -1
  34. package/dist/ai/worktree.js +3 -2
  35. package/dist/argv/parse.d.ts +2 -0
  36. package/dist/argv/parse.js +2 -0
  37. package/dist/bin/_internal.d.ts +1 -1
  38. package/dist/bin/_internal.js +1 -1
  39. package/dist/bin/prim.cjs +19253 -13937
  40. package/dist/bin/resolve.js +1 -1
  41. package/dist/bin/shadow.js +2 -1
  42. package/dist/bin/which.d.ts +28 -3
  43. package/dist/bin/which.js +45 -3
  44. package/dist/cacache/_internal.d.ts +10 -2
  45. package/dist/cacache/_internal.js +6 -10
  46. package/dist/cache/ttl/_internal.d.ts +33 -0
  47. package/dist/cache/ttl/_internal.js +68 -0
  48. package/dist/cache/ttl/browser.d.ts +56 -0
  49. package/dist/cache/ttl/browser.js +257 -0
  50. package/dist/cache/ttl/store.js +11 -34
  51. package/dist/cache/ttl/types.d.ts +46 -3
  52. package/dist/checks/primordials-defaults.d.ts +5 -5
  53. package/dist/checks/primordials-defaults.js +5 -5
  54. package/dist/checks/primordials.d.ts +1 -1
  55. package/dist/checks/primordials.js +25 -17
  56. package/dist/cli/check-primordials.d.ts +6 -1
  57. package/dist/cli/check-primordials.js +14 -5
  58. package/dist/cli/check.js +1 -1
  59. package/dist/cli/socket-lib.d.ts +1 -1
  60. package/dist/cli/socket-lib.js +3 -3
  61. package/dist/colors/socket-palette.d.ts +1 -1
  62. package/dist/compression/brotli.d.ts +6 -2
  63. package/dist/compression/brotli.js +5 -1
  64. package/dist/compression/gzip.d.ts +6 -2
  65. package/dist/compression/gzip.js +7 -2
  66. package/dist/config/layers.d.ts +53 -0
  67. package/dist/config/layers.js +83 -0
  68. package/dist/constants/agents.d.ts +3 -0
  69. package/dist/constants/agents.js +3 -0
  70. package/dist/constants/node.d.ts +14 -0
  71. package/dist/constants/node.js +14 -0
  72. package/dist/constants/package-default-node-range.js +1 -5
  73. package/dist/constants/packages.d.ts +5 -0
  74. package/dist/constants/packages.js +5 -0
  75. package/dist/constants/platform.d.ts +1 -1
  76. package/dist/constants/platform.js +1 -1
  77. package/dist/constants/socket.js +1 -1
  78. package/dist/constants/typescript.d.ts +5 -0
  79. package/dist/constants/typescript.js +5 -0
  80. package/dist/debug/_internal.d.ts +22 -7
  81. package/dist/debug/_internal.js +33 -15
  82. package/dist/debug/caller-info.js +1 -1
  83. package/dist/debug/namespace.js +11 -8
  84. package/dist/debug/output.d.ts +12 -1
  85. package/dist/debug/output.js +33 -16
  86. package/dist/dlx/binary-cache.js +1 -1
  87. package/dist/dlx/binary-resolution.js +8 -5
  88. package/dist/dlx/firewall.js +1 -1
  89. package/dist/dlx/lockfile.js +1 -1
  90. package/dist/eco/npm/npm/parse-lockfile.js +3 -2
  91. package/dist/eco/npm/vlt/exec.d.ts +1 -1
  92. package/dist/eco/npm/vlt/exec.js +1 -1
  93. package/dist/eco/npm/yarnpkg/yarn/parse-lockfile.js +1 -1
  94. package/dist/env/agents.d.ts +6 -0
  95. package/dist/env/agents.js +29 -0
  96. package/dist/env/flags.d.ts +12 -0
  97. package/dist/env/flags.js +23 -0
  98. package/dist/env/github-status.js +2 -2
  99. package/dist/env/providers.d.ts +6 -0
  100. package/dist/env/providers.js +23 -0
  101. package/dist/env/proxy.js +1 -1
  102. package/dist/env/rewire.d.ts +37 -3
  103. package/dist/env/rewire.js +60 -29
  104. package/dist/env/runtimes.d.ts +9 -0
  105. package/dist/env/runtimes.js +53 -0
  106. package/dist/env/socket-cli.d.ts +5 -2
  107. package/dist/env/socket-cli.js +6 -3
  108. package/dist/env/xdg.d.ts +17 -0
  109. package/dist/env/xdg.js +21 -1
  110. package/dist/errors/predicates.d.ts +3 -2
  111. package/dist/errors/predicates.js +5 -3
  112. package/dist/events/exit/_internal.d.ts +1 -23
  113. package/dist/external/@npmcli/package-json.js +3570 -4905
  114. package/dist/external/@npmcli/promise-spawn.js +2 -2
  115. package/dist/external/@sinclair/typebox/value.js +5 -4
  116. package/dist/external/@socketregistry/yocto-spinner.js +3 -3
  117. package/dist/external/@yarnpkg/extensions.js +1 -1
  118. package/dist/external/adm-zip.d.ts +82 -0
  119. package/dist/external/adm-zip.js +2 -2
  120. package/dist/external/cacache.d.ts +87 -0
  121. package/dist/external/debug.d.ts +22 -0
  122. package/dist/external/debug.js +11 -4
  123. package/dist/external/del.d.ts +1 -0
  124. package/dist/external/external-pack.d.ts +12 -0
  125. package/dist/external/external-pack.js +42 -35
  126. package/dist/external/fast-glob.d.ts +8 -0
  127. package/dist/external/fast-sort.d.ts +1 -0
  128. package/dist/external/get-east-asian-width.d.ts +5 -0
  129. package/dist/external/get-east-asian-width.js +8 -1
  130. package/dist/external/has-flag.d.ts +1 -0
  131. package/dist/external/inquirer-pack.d.ts +18 -0
  132. package/dist/external/libnpmexec.d.ts +35 -0
  133. package/dist/external/libnpmpack.d.ts +1 -0
  134. package/dist/external/make-fetch-happen.d.ts +13 -0
  135. package/dist/external/normalize-package-data.d.ts +4 -0
  136. package/dist/external/npm-core.d.ts +14 -0
  137. package/dist/external/npm-pack.d.ts +24 -0
  138. package/dist/external/npm-pack.js +28934 -31885
  139. package/dist/external/npm-package-arg.d.ts +4 -0
  140. package/dist/external/p-map.js +8 -1
  141. package/dist/external/pacote.d.ts +15 -0
  142. package/dist/external/pico-pack.d.ts +16 -0
  143. package/dist/external/pico-pack.js +38 -23
  144. package/dist/external/picomatch.d.ts +96 -0
  145. package/dist/external/pony-cause.d.ts +14 -0
  146. package/dist/external/semver.d.ts +60 -0
  147. package/dist/external/semver.js +1459 -4
  148. package/dist/external/shell-quote.d.ts +51 -0
  149. package/dist/external/shell-quote.js +55 -15
  150. package/dist/external/signal-exit.d.ts +1 -0
  151. package/dist/external/spdx-correct.d.ts +4 -0
  152. package/dist/external/spdx-expression-parse.d.ts +4 -0
  153. package/dist/external/spdx-pack.d.ts +10 -0
  154. package/dist/external/std-env.d.ts +284 -0
  155. package/dist/external/std-env.js +323 -0
  156. package/dist/external/streaming-iterables.d.ts +11 -0
  157. package/dist/external/supports-color.d.ts +1 -0
  158. package/dist/external/tar-fs.d.ts +31 -0
  159. package/dist/external/tar-fs.js +63 -16
  160. package/dist/external/validate-npm-package-name.d.ts +4 -0
  161. package/dist/external/which.d.ts +25 -0
  162. package/dist/external/which.js +2 -2
  163. package/dist/external/yargs-parser.d.ts +2 -0
  164. package/dist/external/yargs-parser.js +11 -3
  165. package/dist/external/yoctocolors-cjs.d.ts +51 -0
  166. package/dist/external-tools/bazel/asset-names.d.ts +1 -1
  167. package/dist/external-tools/bazel/from-download.d.ts +1 -1
  168. package/dist/external-tools/bazel/resolve.d.ts +3 -0
  169. package/dist/external-tools/bazel/resolve.js +3 -0
  170. package/dist/external-tools/cdxgen/asset-names.d.ts +5 -5
  171. package/dist/external-tools/cdxgen/asset-names.js +3 -3
  172. package/dist/external-tools/cdxgen/from-download.d.ts +2 -2
  173. package/dist/external-tools/cdxgen/from-download.js +1 -1
  174. package/dist/external-tools/cdxgen/resolve.d.ts +4 -1
  175. package/dist/external-tools/cdxgen/resolve.js +4 -1
  176. package/dist/external-tools/cdxgen/types.d.ts +1 -1
  177. package/dist/external-tools/from-download.d.ts +2 -2
  178. package/dist/external-tools/from-download.js +1 -1
  179. package/dist/external-tools/janus/asset-names.d.ts +4 -1
  180. package/dist/external-tools/janus/asset-names.js +3 -0
  181. package/dist/external-tools/janus/from-download.d.ts +3 -3
  182. package/dist/external-tools/janus/from-download.js +2 -2
  183. package/dist/external-tools/janus/resolve.d.ts +3 -0
  184. package/dist/external-tools/janus/resolve.js +3 -0
  185. package/dist/external-tools/jre/asset-names.d.ts +3 -1
  186. package/dist/external-tools/jre/asset-names.js +2 -0
  187. package/dist/external-tools/jre/detect-platform-arch.js +1 -1
  188. package/dist/external-tools/jre/from-download.d.ts +1 -1
  189. package/dist/external-tools/manifest.d.ts +5 -3
  190. package/dist/external-tools/manifest.js +5 -3
  191. package/dist/external-tools/opengrep/asset-names.d.ts +1 -1
  192. package/dist/external-tools/opengrep/resolve.d.ts +3 -0
  193. package/dist/external-tools/opengrep/resolve.js +3 -0
  194. package/dist/external-tools/python/asset-names.d.ts +3 -1
  195. package/dist/external-tools/python/asset-names.js +8 -4
  196. package/dist/external-tools/python/pin.js +3 -1
  197. package/dist/external-tools/python/resolve.d.ts +3 -0
  198. package/dist/external-tools/python/resolve.js +3 -0
  199. package/dist/external-tools/python/uv-install.d.ts +89 -0
  200. package/dist/external-tools/python/uv-install.js +165 -0
  201. package/dist/external-tools/sbt/resolve.d.ts +3 -0
  202. package/dist/external-tools/sbt/resolve.js +3 -0
  203. package/dist/external-tools/skillspector/from-uv.d.ts +30 -0
  204. package/dist/external-tools/skillspector/from-uv.js +56 -0
  205. package/dist/external-tools/skillspector/resolve.d.ts +18 -3
  206. package/dist/external-tools/skillspector/resolve.js +21 -8
  207. package/dist/external-tools/skillspector/types.d.ts +3 -1
  208. package/dist/external-tools/synp/resolve.d.ts +3 -0
  209. package/dist/external-tools/synp/resolve.js +3 -0
  210. package/dist/external-tools/trivy/asset-names.d.ts +1 -1
  211. package/dist/external-tools/trivy/resolve.d.ts +3 -0
  212. package/dist/external-tools/trivy/resolve.js +3 -0
  213. package/dist/external-tools/trufflehog/asset-names.d.ts +4 -1
  214. package/dist/external-tools/trufflehog/asset-names.js +3 -0
  215. package/dist/external-tools/trufflehog/from-download.d.ts +1 -1
  216. package/dist/external-tools/trufflehog/resolve.d.ts +3 -0
  217. package/dist/external-tools/trufflehog/resolve.js +3 -0
  218. package/dist/external-tools/uv/asset-names.d.ts +36 -0
  219. package/dist/external-tools/uv/asset-names.js +73 -0
  220. package/dist/external-tools/uv/from-download.d.ts +17 -0
  221. package/dist/external-tools/uv/from-download.js +50 -0
  222. package/dist/external-tools/uv/from-path.d.ts +5 -0
  223. package/dist/external-tools/uv/from-path.js +22 -0
  224. package/dist/external-tools/uv/from-vfs.d.ts +7 -0
  225. package/dist/external-tools/uv/from-vfs.js +26 -0
  226. package/dist/external-tools/uv/resolve.d.ts +28 -0
  227. package/dist/external-tools/uv/resolve.js +64 -0
  228. package/dist/external-tools/uv/types.d.ts +24 -0
  229. package/dist/external-tools/uv/types.js +2 -0
  230. package/dist/fleet/repo-config.d.ts +55 -0
  231. package/dist/fleet/repo-config.js +81 -0
  232. package/dist/fs/_internal.d.ts +1 -1
  233. package/dist/fs/_internal.js +1 -1
  234. package/dist/fs/access.d.ts +2 -0
  235. package/dist/fs/access.js +2 -0
  236. package/dist/fs/copy.d.ts +88 -0
  237. package/dist/fs/copy.js +89 -0
  238. package/dist/fs/find.js +1 -2
  239. package/dist/fs/inspect.d.ts +2 -2
  240. package/dist/fs/read-file.js +3 -4
  241. package/dist/fs/safe.js +2 -2
  242. package/dist/git/_internal.js +7 -3
  243. package/dist/github/commit.d.ts +92 -0
  244. package/dist/github/commit.js +113 -0
  245. package/dist/github/ghsa.js +1 -1
  246. package/dist/github/refs-graphql.js +1 -1
  247. package/dist/github/refs.js +10 -15
  248. package/dist/github/request.js +1 -1
  249. package/dist/github/token.d.ts +5 -2
  250. package/dist/github/token.js +6 -4
  251. package/dist/github/workflow-runs.d.ts +107 -0
  252. package/dist/github/workflow-runs.js +98 -0
  253. package/dist/globs/_internal.js +1 -1
  254. package/dist/http-request/_internal.d.ts +1 -1
  255. package/dist/http-request/browser.d.ts +6 -0
  256. package/dist/http-request/browser.js +4 -3
  257. package/dist/http-request/checksum-file.js +1 -1
  258. package/dist/http-request/download.js +2 -0
  259. package/dist/http-request/headers.d.ts +1 -1
  260. package/dist/http-request/headers.js +2 -2
  261. package/dist/http-request/request-attempt.js +6 -3
  262. package/dist/http-request/request-types.d.ts +10 -1
  263. package/dist/http-request/request.js +2 -2
  264. package/dist/http-request/user-agent.d.ts +23 -2
  265. package/dist/http-request/user-agent.js +48 -6
  266. package/dist/integrity.d.ts +127 -78
  267. package/dist/integrity.js +170 -84
  268. package/dist/json/format.js +4 -1
  269. package/dist/logger/_internal.d.ts +13 -15
  270. package/dist/logger/_internal.js +21 -21
  271. package/dist/logger/colors.d.ts +10 -5
  272. package/dist/logger/colors.js +7 -14
  273. package/dist/logger/console-methods.js +2 -2
  274. package/dist/logger/console.d.ts +1 -0
  275. package/dist/logger/console.js +9 -9
  276. package/dist/logger/node.js +2 -1
  277. package/dist/logger/symbols-builder.js +7 -8
  278. package/dist/logger/symbols.js +8 -8
  279. package/dist/native-messaging/install.js +1 -1
  280. package/dist/native-messaging/rate-limit.d.ts +4 -1
  281. package/dist/native-messaging/rate-limit.js +4 -1
  282. package/dist/node/events.d.ts +3 -0
  283. package/dist/node/events.js +3 -0
  284. package/dist/node/fs.d.ts +1 -1
  285. package/dist/node/module.d.ts +73 -2
  286. package/dist/node/module.js +97 -12
  287. package/dist/node/timers-promises.d.ts +3 -0
  288. package/dist/node/timers-promises.js +3 -0
  289. package/dist/node/url.d.ts +3 -0
  290. package/dist/node/url.js +3 -0
  291. package/dist/npm/meta-cache.d.ts +183 -0
  292. package/dist/npm/meta-cache.js +318 -0
  293. package/dist/npm/meta-slice.d.ts +27 -0
  294. package/dist/npm/meta-slice.js +68 -0
  295. package/dist/npm/meta-types.d.ts +282 -0
  296. package/dist/npm/meta-types.js +2 -0
  297. package/dist/npm/meta.d.ts +125 -0
  298. package/dist/npm/meta.js +347 -0
  299. package/dist/npm/registry.d.ts +212 -0
  300. package/dist/npm/registry.js +284 -0
  301. package/dist/objects/getters.d.ts +1 -1
  302. package/dist/objects/getters.js +1 -1
  303. package/dist/objects/predicates.js +1 -1
  304. package/dist/packages/exports.js +2 -2
  305. package/dist/packages/isolation.js +1 -1
  306. package/dist/packages/manifest.d.ts +29 -0
  307. package/dist/packages/manifest.js +44 -9
  308. package/dist/packages/metadata-extensions.js +2 -4
  309. package/dist/packages/normalize.js +1 -1
  310. package/dist/packages/provenance.d.ts +8 -0
  311. package/dist/packages/provenance.js +10 -2
  312. package/dist/packages/specs.js +1 -1
  313. package/dist/packages/tarball.js +1 -2
  314. package/dist/packages/validation.d.ts +0 -10
  315. package/dist/packages/validation.js +0 -14
  316. package/dist/paths/_internal.d.ts +1 -7
  317. package/dist/paths/_internal.js +9 -15
  318. package/dist/paths/conversion.js +1 -1
  319. package/dist/paths/exts.d.ts +30 -0
  320. package/dist/paths/exts.js +30 -0
  321. package/dist/paths/filenames.d.ts +6 -0
  322. package/dist/paths/filenames.js +6 -0
  323. package/dist/paths/globs.d.ts +6 -0
  324. package/dist/paths/globs.js +6 -0
  325. package/dist/paths/normalize.js +1 -1
  326. package/dist/paths/predicates.js +2 -1
  327. package/dist/paths/resolve.js +19 -14
  328. package/dist/paths/socket.d.ts +81 -30
  329. package/dist/paths/socket.js +102 -28
  330. package/dist/perf/metrics.js +1 -1
  331. package/dist/perf/report.js +5 -3
  332. package/dist/pkg-ext/data.js +0 -2
  333. package/dist/primordials/globals.d.ts +1 -1
  334. package/dist/primordials/globals.js +1 -1
  335. package/dist/primordials/headers.d.ts +13 -1
  336. package/dist/primordials/headers.js +13 -1
  337. package/dist/primordials/process.d.ts +1 -1
  338. package/dist/primordials/process.js +1 -1
  339. package/dist/primordials/url.d.ts +18 -0
  340. package/dist/primordials/url.js +18 -0
  341. package/dist/process/spawn/child.js +3 -5
  342. package/dist/promises/_internal.d.ts +1 -1
  343. package/dist/promises/_internal.js +1 -2
  344. package/dist/promises/options.js +3 -3
  345. package/dist/regexps/spec.js +1 -1
  346. package/dist/releases/socket-btm-binary-naming.js +12 -1
  347. package/dist/schema/validate.js +1 -1
  348. package/dist/secrets/_internal.d.ts +1 -1
  349. package/dist/secrets/_internal.js +1 -1
  350. package/dist/secrets/broker.d.ts +35 -0
  351. package/dist/secrets/broker.js +72 -0
  352. package/dist/secrets/find.d.ts +8 -6
  353. package/dist/secrets/find.js +17 -3
  354. package/dist/secrets/keychain.d.ts +10 -1
  355. package/dist/secrets/keychain.js +10 -1
  356. package/dist/secrets/rc.js +1 -1
  357. package/dist/secrets/socket-api-token.d.ts +1 -1
  358. package/dist/secrets/socket-api-token.js +1 -1
  359. package/dist/secrets/types.d.ts +1 -1
  360. package/dist/smol/detect.js +1 -1
  361. package/dist/smol/http.d.ts +2 -0
  362. package/dist/smol/http.js +3 -1
  363. package/dist/smol/https.d.ts +2 -0
  364. package/dist/smol/https.js +3 -1
  365. package/dist/smol/manifest.js +1 -1
  366. package/dist/smol/path.js +1 -1
  367. package/dist/smol/primordial.js +1 -1
  368. package/dist/smol/purl.js +1 -1
  369. package/dist/smol/versions.js +1 -1
  370. package/dist/smol/vfs.js +1 -1
  371. package/dist/sorts/_internal.d.ts +2 -4
  372. package/dist/sorts/_internal.js +1 -7
  373. package/dist/sorts/semver.js +2 -2
  374. package/dist/spinner/create-spinner-class.js +1 -1
  375. package/dist/spinner/format.js +2 -4
  376. package/dist/stdio/footer.js +8 -7
  377. package/dist/stdio/progress.js +1 -1
  378. package/dist/stdio/prompts.d.ts +8 -23
  379. package/dist/stdio/prompts.js +28 -52
  380. package/dist/strings/format.js +1 -1
  381. package/dist/strings/predicates.d.ts +2 -2
  382. package/dist/strings/search.js +2 -2
  383. package/dist/strings/types.d.ts +4 -0
  384. package/dist/strings/width.d.ts +1 -0
  385. package/dist/strings/width.js +17 -8
  386. package/dist/themes/context.d.ts +18 -3
  387. package/dist/themes/context.js +28 -14
  388. package/dist/versions/_internal.d.ts +43 -13
  389. package/dist/versions/_internal.js +27 -15
  390. package/dist/versions/compare.d.ts +16 -10
  391. package/dist/versions/compare.js +36 -16
  392. package/dist/versions/parse.js +1 -1
  393. package/dist/versions/range.js +3 -2
  394. package/dist/words/pluralize.js +4 -1
  395. package/llms.txt +63 -0
  396. package/package.json +271 -40
@@ -80,7 +80,7 @@ var require_posix = /* @__PURE__ */ __commonJSMin(((exports) => {
80
80
  const myGroups = options.groups ?? process.getgroups?.() ?? [];
81
81
  const myGid = options.gid ?? process.getgid?.() ?? myGroups[0];
82
82
  if (myUid === void 0 || myGid === void 0) throw new _p_ErrorCtor("cannot get uid or gid");
83
- const groups = new _p_SetCtor([myGid, ...myGroups]);
83
+ const groups = /* @__PURE__ */ new _p_SetCtor([myGid, ...myGroups]);
84
84
  const mod = stat.mode;
85
85
  const uid = stat.uid;
86
86
  const gid = stat.gid;
@@ -210,7 +210,7 @@ var require_cjs = /* @__PURE__ */ __commonJSMin(((exports) => {
210
210
  }));
211
211
 
212
212
  //#endregion
213
- //#region node_modules/.pnpm/which@5.0.0/node_modules/which/lib/index.js
213
+ //#region node_modules/.pnpm/which@7.0.0/node_modules/which/lib/index.js
214
214
  var require_lib$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
215
215
  const { isexe, sync: isexeSync } = require_cjs();
216
216
  const { join, delimiter, sep, posix } = require("path");
@@ -3302,7 +3302,7 @@ var require_hash$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
3302
3302
  let Accumulator = BigInt("14695981039346656037");
3303
3303
  const [Prime, Size] = [BigInt("1099511628211"), BigInt("18446744073709551616")];
3304
3304
  const Bytes = Array.from({ length: 256 }).map((_, i) => BigInt(i));
3305
- const F64 = new Float64Array(1);
3305
+ const F64 = /* @__PURE__ */ new Float64Array(1);
3306
3306
  const F64In = new DataView(F64.buffer);
3307
3307
  const F64Out = new Uint8Array(F64.buffer);
3308
3308
  function* NumberToBytes(value) {
@@ -4960,7 +4960,8 @@ var require_errors$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
4960
4960
  }
4961
4961
  /** Returns an iterator for each error in this value. */
4962
4962
  function Errors(...args) {
4963
- return new ValueErrorIterator(args.length === 3 ? Visit(args[0], args[1], "", args[2]) : Visit(args[0], [], "", args[1]));
4963
+ const iterator = args.length === 3 ? Visit(args[0], args[1], "", args[2]) : Visit(args[0], [], "", args[1]);
4964
+ return new ValueErrorIterator(iterator);
4964
4965
  }
4965
4966
  }));
4966
4967
 
@@ -5327,7 +5328,7 @@ var require_create$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
5327
5328
  function FromUint8Array(schema, references) {
5328
5329
  if ((0, index_1.HasPropertyKey)(schema, "default")) return FromDefault(schema.default);
5329
5330
  else if (schema.minByteLength !== void 0) return new Uint8Array(schema.minByteLength);
5330
- else return new Uint8Array(0);
5331
+ else return /* @__PURE__ */ new Uint8Array(0);
5331
5332
  }
5332
5333
  function FromUnknown(schema, references) {
5333
5334
  if ((0, index_1.HasPropertyKey)(schema, "default")) return FromDefault(schema.default);
@@ -7103,7 +7104,7 @@ var require_parse$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
7103
7104
  exports.ParseError = ParseError;
7104
7105
  var ParseRegistry;
7105
7106
  (function(ParseRegistry) {
7106
- const registry = new Map([
7107
+ const registry = /* @__PURE__ */ new Map([
7107
7108
  ["Assert", (type, references, value) => {
7108
7109
  (0, index_3.Assert)(type, references, value);
7109
7110
  return value;
@@ -22,7 +22,7 @@ var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).expor
22
22
 
23
23
  //#region node_modules/.pnpm/yoctocolors-cjs@2.1.3/node_modules/yoctocolors-cjs/index.js
24
24
  var require_yoctocolors_cjs = /* @__PURE__ */ __commonJSMin(((exports, module) => {
25
- const hasColors = require("node:tty")?.WriteStream?.prototype?.hasColors?.() ?? false;
25
+ const hasColors = require("tty")?.WriteStream?.prototype?.hasColors?.() ?? false;
26
26
  const format = (open, close) => {
27
27
  if (!hasColors) return (input) => input;
28
28
  const openCode = `\u001B[${open}m`;
@@ -134,7 +134,7 @@ var require_yocto_spinner = /* @__PURE__ */ __commonJSMin(((exports, module) =>
134
134
  }
135
135
  let _process;
136
136
  function getProcess() {
137
- if (_process === void 0) _process = require("node:process");
137
+ if (_process === void 0) _process = require("process");
138
138
  return _process;
139
139
  }
140
140
  let _yoctocolors;
@@ -170,7 +170,7 @@ var require_yocto_spinner = /* @__PURE__ */ __commonJSMin(((exports, module) =>
170
170
  }
171
171
  let _stripVTControlCharacters;
172
172
  function stripVTControlCharacters(string) {
173
- if (_stripVTControlCharacters === void 0) _stripVTControlCharacters = (/* @__PURE__ */ require("node:util")).stripVTControlCharacters;
173
+ if (_stripVTControlCharacters === void 0) _stripVTControlCharacters = (/* @__PURE__ */ require("util")).stripVTControlCharacters;
174
174
  return _stripVTControlCharacters(string);
175
175
  }
176
176
  function getFrame(spinner, index) {
@@ -16,7 +16,7 @@ var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).expor
16
16
 
17
17
  //#endregion
18
18
 
19
- //#region node_modules/.pnpm/@yarnpkg+extensions@2.0.6_@yarnpkg+core@4.5.0_typanion@3.14.0_/node_modules/@yarnpkg/extensions/lib/index.js
19
+ //#region node_modules/.pnpm/@yarnpkg+extensions@2.0.6_@yarnpkg+core@4.8.0_typanion@3.14.0_/node_modules/@yarnpkg/extensions/lib/index.js
20
20
  var require_lib = /* @__PURE__ */ __commonJSMin(((exports) => {
21
21
  _p_ObjectDefineProperty(exports, "__esModule", { value: true });
22
22
  exports.packageExtensions = void 0;
@@ -0,0 +1,82 @@
1
+ export interface IZipEntry {
2
+ entryName: string
3
+ name: string
4
+ comment: string
5
+ isDirectory: boolean
6
+ header: any
7
+ getData(): Buffer
8
+ getDataAsync(callback: (data: Buffer, err?: string) => void): void
9
+ setData(value: string | Buffer): void
10
+ getCompressedData(): Buffer
11
+ toString(): string
12
+ }
13
+
14
+ export interface AdmZipOptions {
15
+ noSort?: boolean
16
+ readEntries?: boolean
17
+ method?: number
18
+ fs?: any
19
+ }
20
+
21
+ export interface AdmZipInstance {
22
+ getEntries(): IZipEntry[]
23
+ getEntry(name: string): IZipEntry | null
24
+ addFile(
25
+ entryName: string,
26
+ content: Buffer,
27
+ comment?: string,
28
+ attr?: number,
29
+ ): void
30
+ addLocalFile(
31
+ localPath: string,
32
+ zipPath?: string,
33
+ zipName?: string,
34
+ comment?: string,
35
+ ): void
36
+ addLocalFolder(localPath: string, zipPath?: string, filter?: RegExp): void
37
+ addZipComment(comment: string): void
38
+ getZipComment(): string
39
+ deleteFile(entryName: string): void
40
+ extractAllTo(
41
+ targetPath: string,
42
+ overwrite?: boolean,
43
+ keepOriginalPermission?: boolean,
44
+ outFileName?: string,
45
+ ): void
46
+ extractEntryTo(
47
+ entry: string | IZipEntry,
48
+ targetPath: string,
49
+ maintainEntryPath?: boolean,
50
+ overwrite?: boolean,
51
+ keepOriginalPermission?: boolean,
52
+ outFileName?: string,
53
+ ): boolean
54
+ readAsText(fileName: string, encoding?: string): string
55
+ readFile(
56
+ entry: string | IZipEntry,
57
+ callback?: (data: Buffer, err?: string) => void,
58
+ ): Buffer | undefined
59
+ readFileAsync(
60
+ entry: string | IZipEntry,
61
+ callback: (data: Buffer, err: string) => void,
62
+ ): void
63
+ toBuffer(
64
+ onSuccess?: Function,
65
+ onFail?: Function,
66
+ onItemStart?: Function,
67
+ onItemEnd?: Function,
68
+ ): Buffer | null
69
+ writeZip(
70
+ targetFileName?: string,
71
+ callback?: (error: Error | null) => void,
72
+ ): void
73
+ writeZipPromise(targetFileName?: string, props?: object): Promise<void>
74
+ }
75
+
76
+ export interface AdmZipConstructor {
77
+ new (filePath?: string | Buffer, options?: AdmZipOptions): AdmZipInstance
78
+ (filePath?: string | Buffer, options?: AdmZipOptions): AdmZipInstance
79
+ }
80
+
81
+ declare const AdmZip: AdmZipConstructor
82
+ export default AdmZip
@@ -206,7 +206,7 @@ var require_utils = /* @__PURE__ */ __commonJSMin(((exports, module) => {
206
206
  const Errors = require_errors();
207
207
  const isWin = typeof process === "object" && "win32" === process.platform;
208
208
  const is_Obj = (obj) => typeof obj === "object" && obj !== null;
209
- const crcTable = new _p_Uint32ArrayCtor(256).map((t, c) => {
209
+ const crcTable = (/* @__PURE__ */ new _p_Uint32ArrayCtor(256)).map((t, c) => {
210
210
  for (let k = 0; k < 8; k++) if ((c & 1) !== 0) c = 3988292384 ^ c >>> 1;
211
211
  else c >>>= 1;
212
212
  return c >>> 0;
@@ -967,7 +967,7 @@ var require_inflater = /* @__PURE__ */ __commonJSMin(((exports, module) => {
967
967
  var require_zipcrypto = /* @__PURE__ */ __commonJSMin(((exports, module) => {
968
968
  const { randomFillSync } = require("crypto");
969
969
  const Errors = require_errors();
970
- const crctable = new _p_Uint32ArrayCtor(256).map((t, crc) => {
970
+ const crctable = (/* @__PURE__ */ new _p_Uint32ArrayCtor(256)).map((t, crc) => {
971
971
  for (let j = 0; j < 8; j++) if (0 !== (crc & 1)) crc = crc >>> 1 ^ 3988292384;
972
972
  else crc >>>= 1;
973
973
  return crc >>> 0;
@@ -0,0 +1,87 @@
1
+ export namespace Cacache {
2
+ export interface GetOptions {
3
+ integrity?: string | undefined
4
+ size?: number | undefined
5
+ memoize?: boolean | undefined
6
+ }
7
+
8
+ export interface PutOptions {
9
+ integrity?: string | undefined
10
+ size?: number | undefined
11
+ metadata?: any | undefined
12
+ memoize?: boolean | undefined
13
+ }
14
+
15
+ export interface CacheEntry {
16
+ data: Buffer
17
+ integrity: string
18
+ key: string
19
+ metadata?: any | undefined
20
+ path: string
21
+ size: number
22
+ time: number
23
+ }
24
+
25
+ export interface LsEntry {
26
+ key: string
27
+ integrity: string
28
+ path: string
29
+ time: number
30
+ size: number
31
+ metadata?: any | undefined
32
+ }
33
+ }
34
+
35
+ export interface CacacheInstance {
36
+ get: {
37
+ (
38
+ cache: string,
39
+ key: string,
40
+ options?: Cacache.GetOptions,
41
+ ): Promise<Cacache.CacheEntry>
42
+ sync: (
43
+ cache: string,
44
+ key: string,
45
+ options?: Cacache.GetOptions,
46
+ ) => Cacache.CacheEntry
47
+ }
48
+ put: {
49
+ (
50
+ cache: string,
51
+ key: string,
52
+ data: string | Buffer,
53
+ options?: Cacache.PutOptions,
54
+ ): Promise<{ integrity: string; size: number }>
55
+ sync: (
56
+ cache: string,
57
+ key: string,
58
+ data: string | Buffer,
59
+ options?: Cacache.PutOptions,
60
+ ) => { integrity: string; size: number }
61
+ }
62
+ rm: {
63
+ entry: {
64
+ (cache: string, key: string): Promise<void>
65
+ sync: (cache: string, key: string) => void
66
+ }
67
+ all: {
68
+ (cache: string): Promise<void>
69
+ sync: (cache: string) => void
70
+ }
71
+ }
72
+ ls: {
73
+ (cache: string): Promise<Record<string, Cacache.LsEntry>>
74
+ stream: (cache: string) => AsyncIterable<Cacache.LsEntry>
75
+ }
76
+ tmp: {
77
+ withTmp: (
78
+ cache: string,
79
+ opts: any,
80
+ callback: (tmpDirPath: string) => Promise<any>,
81
+ ) => Promise<any>
82
+ }
83
+ [key: string]: any
84
+ }
85
+
86
+ declare const cacache: CacacheInstance
87
+ export default cacache
@@ -0,0 +1,22 @@
1
+ export interface Debug {
2
+ (namespace: string): DebugInstance
3
+ enable(namespaces: string): void
4
+ disable(): void
5
+ enabled(namespace: string): boolean
6
+ inspectOpts?: {
7
+ showHidden?: boolean | null
8
+ depth?: number | boolean | null
9
+ colors?: boolean
10
+ [key: string]: any
11
+ }
12
+ }
13
+
14
+ export interface DebugInstance {
15
+ (...args: any[]): void
16
+ enabled: boolean
17
+ log: (...args: any[]) => void
18
+ namespace: string
19
+ }
20
+
21
+ declare const debug: Debug
22
+ export default debug
@@ -16,7 +16,14 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
16
16
  var __getOwnPropNames = Object.getOwnPropertyNames;
17
17
  var __getProtoOf = Object.getPrototypeOf;
18
18
  var __hasOwnProp = Object.prototype.hasOwnProperty;
19
- var __esmMin = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
19
+ var __esmMin = (fn, res, err) => () => {
20
+ if (err) throw err[0];
21
+ try {
22
+ return fn && (res = fn(fn = 0)), res;
23
+ } catch (e) {
24
+ throw err = [e], e;
25
+ }
26
+ };
20
27
  var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
21
28
  var __exportAll = (all, no_symbols) => {
22
29
  let target = {};
@@ -52,11 +59,11 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
52
59
  var __toCommonJS = (mod) => __hasOwnProp.call(mod, "module.exports") ? mod["module.exports"] : __copyProps(__defProp({}, "__esModule", { value: true }), mod);
53
60
 
54
61
  //#endregion
55
- let node_process = require("node:process");
62
+ let node_process = require("process");
56
63
  node_process = __toESM(node_process, 1);
57
- let node_os = require("node:os");
64
+ let node_os = require("os");
58
65
  node_os = __toESM(node_os, 1);
59
- let node_tty = require("node:tty");
66
+ let node_tty = require("tty");
60
67
  const { ArrayPrototypeUnshift: _p_ArrayPrototypeUnshift } = require('../primordials/array.js')
61
68
 
62
69
  const { DateCtor: _p_DateCtor } = require('../primordials/date.js')
@@ -0,0 +1 @@
1
+ export * from 'del'
@@ -0,0 +1,12 @@
1
+ import type { default as hasFlag } from 'has-flag'
2
+ import type { default as signalExit } from 'signal-exit'
3
+ import type { default as supportsColor } from 'supports-color'
4
+
5
+ export interface ExternalPack {
6
+ hasFlag: typeof hasFlag
7
+ signalExit: typeof signalExit
8
+ supportsColor: typeof supportsColor
9
+ }
10
+
11
+ declare const externalPack: ExternalPack
12
+ export default externalPack
@@ -16,7 +16,14 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
16
16
  var __getOwnPropNames = Object.getOwnPropertyNames;
17
17
  var __getProtoOf = Object.getPrototypeOf;
18
18
  var __hasOwnProp = Object.prototype.hasOwnProperty;
19
- var __esmMin = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
19
+ var __esmMin = (fn, res, err) => () => {
20
+ if (err) throw err[0];
21
+ try {
22
+ return fn && (res = fn(fn = 0)), res;
23
+ } catch (e) {
24
+ throw err = [e], e;
25
+ }
26
+ };
20
27
  var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
21
28
  var __exportAll = (all, no_symbols) => {
22
29
  let target = {};
@@ -52,19 +59,19 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
52
59
  var __toCommonJS = (mod) => __hasOwnProp.call(mod, "module.exports") ? mod["module.exports"] : __copyProps(__defProp({}, "__esModule", { value: true }), mod);
53
60
 
54
61
  //#endregion
55
- let node_process = require("node:process");
62
+ let node_process = require("process");
56
63
  node_process = __toESM(node_process, 1);
57
- let node_os = require("node:os");
64
+ let node_os = require("os");
58
65
  node_os = __toESM(node_os, 1);
59
- let node_tty = require("node:tty");
66
+ let node_tty = require("tty");
60
67
  node_tty = __toESM(node_tty, 1);
61
68
  let process$1 = require("process");
62
69
  process$1 = __toESM(process$1, 1);
63
- let node_async_hooks = require("node:async_hooks");
64
- let node_util = require("node:util");
65
- let node_readline = require("node:readline");
70
+ let node_async_hooks = require("async_hooks");
71
+ let node_util = require("util");
72
+ let node_readline = require("readline");
66
73
  node_readline = __toESM(node_readline, 1);
67
- let node_path = require("node:path");
74
+ let node_path = require("path");
68
75
  const { ArrayFrom: _p_ArrayFrom, ArrayIsArray: _p_ArrayIsArray } = require('../primordials/array.js')
69
76
 
70
77
  const { ErrorCtor: _p_ErrorCtor } = require('../primordials/error.js')
@@ -421,7 +428,7 @@ var init_has_flag = __esmMin((() => {
421
428
  //#endregion
422
429
  //#region node_modules/.pnpm/yoctocolors-cjs@2.1.3/node_modules/yoctocolors-cjs/index.js
423
430
  var require_yoctocolors_cjs = /* @__PURE__ */ __commonJSMin(((exports, module) => {
424
- const hasColors = require("node:tty")?.WriteStream?.prototype?.hasColors?.() ?? false;
431
+ const hasColors = require("tty")?.WriteStream?.prototype?.hasColors?.() ?? false;
425
432
  const format = (open, close) => {
426
433
  if (!hasColors) return (input) => input;
427
434
  const openCode = `\u001B[${open}m`;
@@ -488,7 +495,7 @@ var require_yoctocolors_cjs = /* @__PURE__ */ __commonJSMin(((exports, module) =
488
495
  }));
489
496
 
490
497
  //#endregion
491
- //#region node_modules/.pnpm/@inquirer+core@11.1.8_@types+node@24.9.2/node_modules/@inquirer/core/dist/lib/key.js
498
+ //#region node_modules/.pnpm/@inquirer+core@11.1.8_@types+node@26.1.0/node_modules/@inquirer/core/dist/lib/key.js
492
499
  var isUpKey, isDownKey, isSpaceKey, isBackspaceKey, isTabKey, isNumberKey, isEnterKey;
493
500
  var init_key = __esmMin((() => {
494
501
  isUpKey = (key, keybindings = []) => key.name === "up" || keybindings.includes("vim") && key.name === "k" || keybindings.includes("emacs") && key.ctrl && key.name === "p";
@@ -501,7 +508,7 @@ var init_key = __esmMin((() => {
501
508
  }));
502
509
 
503
510
  //#endregion
504
- //#region node_modules/.pnpm/@inquirer+core@11.1.8_@types+node@24.9.2/node_modules/@inquirer/core/dist/lib/errors.js
511
+ //#region node_modules/.pnpm/@inquirer+core@11.1.8_@types+node@26.1.0/node_modules/@inquirer/core/dist/lib/errors.js
505
512
  var AbortPromptError, CancelPromptError, ExitPromptError, HookError, ValidationError;
506
513
  var init_errors = __esmMin((() => {
507
514
  AbortPromptError = class extends Error {
@@ -528,7 +535,7 @@ var init_errors = __esmMin((() => {
528
535
  }));
529
536
 
530
537
  //#endregion
531
- //#region node_modules/.pnpm/@inquirer+core@11.1.8_@types+node@24.9.2/node_modules/@inquirer/core/dist/lib/hook-engine.js
538
+ //#region node_modules/.pnpm/@inquirer+core@11.1.8_@types+node@26.1.0/node_modules/@inquirer/core/dist/lib/hook-engine.js
532
539
  function createStore(rl) {
533
540
  return {
534
541
  rl,
@@ -629,7 +636,7 @@ var init_hook_engine = __esmMin((() => {
629
636
  }));
630
637
 
631
638
  //#endregion
632
- //#region node_modules/.pnpm/@inquirer+core@11.1.8_@types+node@24.9.2/node_modules/@inquirer/core/dist/lib/use-state.js
639
+ //#region node_modules/.pnpm/@inquirer+core@11.1.8_@types+node@26.1.0/node_modules/@inquirer/core/dist/lib/use-state.js
633
640
  function isFactory(value) {
634
641
  return typeof value === "function";
635
642
  }
@@ -652,7 +659,7 @@ var init_use_state = __esmMin((() => {
652
659
  }));
653
660
 
654
661
  //#endregion
655
- //#region node_modules/.pnpm/@inquirer+core@11.1.8_@types+node@24.9.2/node_modules/@inquirer/core/dist/lib/use-effect.js
662
+ //#region node_modules/.pnpm/@inquirer+core@11.1.8_@types+node@26.1.0/node_modules/@inquirer/core/dist/lib/use-effect.js
656
663
  function useEffect(cb, depArray) {
657
664
  withPointer((pointer) => {
658
665
  const oldDeps = pointer.get();
@@ -954,7 +961,7 @@ var init_dist$10 = __esmMin((() => {
954
961
  }));
955
962
 
956
963
  //#endregion
957
- //#region node_modules/.pnpm/@inquirer+core@11.1.8_@types+node@24.9.2/node_modules/@inquirer/core/dist/lib/theme.js
964
+ //#region node_modules/.pnpm/@inquirer+core@11.1.8_@types+node@26.1.0/node_modules/@inquirer/core/dist/lib/theme.js
958
965
  var defaultTheme;
959
966
  var init_theme = __esmMin((() => {
960
967
  init_dist$10();
@@ -991,7 +998,7 @@ var init_theme = __esmMin((() => {
991
998
  }));
992
999
 
993
1000
  //#endregion
994
- //#region node_modules/.pnpm/@inquirer+core@11.1.8_@types+node@24.9.2/node_modules/@inquirer/core/dist/lib/make-theme.js
1001
+ //#region node_modules/.pnpm/@inquirer+core@11.1.8_@types+node@26.1.0/node_modules/@inquirer/core/dist/lib/make-theme.js
995
1002
  function isPlainObject(value) {
996
1003
  if (typeof value !== "object" || value === null) return false;
997
1004
  let proto = value;
@@ -1014,7 +1021,7 @@ var init_make_theme = __esmMin((() => {
1014
1021
  }));
1015
1022
 
1016
1023
  //#endregion
1017
- //#region node_modules/.pnpm/@inquirer+core@11.1.8_@types+node@24.9.2/node_modules/@inquirer/core/dist/lib/use-prefix.js
1024
+ //#region node_modules/.pnpm/@inquirer+core@11.1.8_@types+node@26.1.0/node_modules/@inquirer/core/dist/lib/use-prefix.js
1018
1025
  function usePrefix({ status = "idle", theme }) {
1019
1026
  const [showLoader, setShowLoader] = useState(false);
1020
1027
  const [tick, setTick] = useState(0);
@@ -1046,7 +1053,7 @@ var init_use_prefix = __esmMin((() => {
1046
1053
  }));
1047
1054
 
1048
1055
  //#endregion
1049
- //#region node_modules/.pnpm/@inquirer+core@11.1.8_@types+node@24.9.2/node_modules/@inquirer/core/dist/lib/use-memo.js
1056
+ //#region node_modules/.pnpm/@inquirer+core@11.1.8_@types+node@26.1.0/node_modules/@inquirer/core/dist/lib/use-memo.js
1050
1057
  function useMemo(fn, dependencies) {
1051
1058
  return withPointer((pointer) => {
1052
1059
  const prev = pointer.get();
@@ -1066,7 +1073,7 @@ var init_use_memo = __esmMin((() => {
1066
1073
  }));
1067
1074
 
1068
1075
  //#endregion
1069
- //#region node_modules/.pnpm/@inquirer+core@11.1.8_@types+node@24.9.2/node_modules/@inquirer/core/dist/lib/use-ref.js
1076
+ //#region node_modules/.pnpm/@inquirer+core@11.1.8_@types+node@26.1.0/node_modules/@inquirer/core/dist/lib/use-ref.js
1070
1077
  function useRef(val) {
1071
1078
  return useState({ current: val })[0];
1072
1079
  }
@@ -1075,7 +1082,7 @@ var init_use_ref = __esmMin((() => {
1075
1082
  }));
1076
1083
 
1077
1084
  //#endregion
1078
- //#region node_modules/.pnpm/@inquirer+core@11.1.8_@types+node@24.9.2/node_modules/@inquirer/core/dist/lib/use-keypress.js
1085
+ //#region node_modules/.pnpm/@inquirer+core@11.1.8_@types+node@26.1.0/node_modules/@inquirer/core/dist/lib/use-keypress.js
1079
1086
  function useKeypress(userHandler) {
1080
1087
  const signal = useRef(userHandler);
1081
1088
  signal.current = userHandler;
@@ -1259,7 +1266,7 @@ var init_dist$8 = __esmMin((() => {
1259
1266
  }));
1260
1267
 
1261
1268
  //#endregion
1262
- //#region node_modules/.pnpm/fast-wrap-ansi@0.2.0/node_modules/fast-wrap-ansi/lib/main.js
1269
+ //#region node_modules/.pnpm/fast-wrap-ansi@0.2.2/node_modules/fast-wrap-ansi/lib/main.js
1263
1270
  function wrapAnsi(string, columns, options) {
1264
1271
  return String(string).normalize().split(CRLF_OR_LF).map((line) => exec(line, columns, options)).join("\n");
1265
1272
  }
@@ -1429,7 +1436,7 @@ var init_main = __esmMin((() => {
1429
1436
  }));
1430
1437
 
1431
1438
  //#endregion
1432
- //#region node_modules/.pnpm/@inquirer+core@11.1.8_@types+node@24.9.2/node_modules/@inquirer/core/dist/lib/utils.js
1439
+ //#region node_modules/.pnpm/@inquirer+core@11.1.8_@types+node@26.1.0/node_modules/@inquirer/core/dist/lib/utils.js
1433
1440
  /**
1434
1441
  * Force line returns at specific width. This function is ANSI code friendly and it'll
1435
1442
  * ignore invisible codes during width calculation.
@@ -1461,7 +1468,7 @@ var init_utils = __esmMin((() => {
1461
1468
  }));
1462
1469
 
1463
1470
  //#endregion
1464
- //#region node_modules/.pnpm/@inquirer+core@11.1.8_@types+node@24.9.2/node_modules/@inquirer/core/dist/lib/pagination/use-pagination.js
1471
+ //#region node_modules/.pnpm/@inquirer+core@11.1.8_@types+node@26.1.0/node_modules/@inquirer/core/dist/lib/pagination/use-pagination.js
1465
1472
  function usePointerPosition({ active, renderedItems, pageSize, loop }) {
1466
1473
  const state = useRef({
1467
1474
  lastPointer: active,
@@ -1521,7 +1528,7 @@ function usePagination({ items, active, renderItem, pageSize, loop = true }) {
1521
1528
  const activeItemPosition = pointer + activeItem.length <= pageSize ? pointer : pageSize - activeItem.length;
1522
1529
  const pageBuffer = _p_ArrayFrom({ length: pageSize });
1523
1530
  pageBuffer.splice(activeItemPosition, activeItem.length, ...activeItem);
1524
- const itemVisited = new _p_SetCtor([active]);
1531
+ const itemVisited = /* @__PURE__ */ new _p_SetCtor([active]);
1525
1532
  let bufferPointer = activeItemPosition + activeItem.length;
1526
1533
  let itemPointer = bound(active + 1);
1527
1534
  while (bufferPointer < pageSize && !itemVisited.has(itemPointer) && (loop && renderedLength > pageSize ? itemPointer !== active : itemPointer > active)) {
@@ -1845,7 +1852,7 @@ var init_dist$7 = __esmMin((() => {
1845
1852
  }));
1846
1853
 
1847
1854
  //#endregion
1848
- //#region node_modules/.pnpm/@inquirer+core@11.1.8_@types+node@24.9.2/node_modules/@inquirer/core/dist/lib/screen-manager.js
1855
+ //#region node_modules/.pnpm/@inquirer+core@11.1.8_@types+node@26.1.0/node_modules/@inquirer/core/dist/lib/screen-manager.js
1849
1856
  var height, lastLine, ScreenManager;
1850
1857
  var init_screen_manager = __esmMin((() => {
1851
1858
  init_utils();
@@ -1906,7 +1913,7 @@ var init_screen_manager = __esmMin((() => {
1906
1913
  }));
1907
1914
 
1908
1915
  //#endregion
1909
- //#region node_modules/.pnpm/@inquirer+core@11.1.8_@types+node@24.9.2/node_modules/@inquirer/core/dist/lib/promise-polyfill.js
1916
+ //#region node_modules/.pnpm/@inquirer+core@11.1.8_@types+node@26.1.0/node_modules/@inquirer/core/dist/lib/promise-polyfill.js
1910
1917
  var PromisePolyfill;
1911
1918
  var init_promise_polyfill = __esmMin((() => {
1912
1919
  PromisePolyfill = class extends Promise {
@@ -1926,7 +1933,7 @@ var init_promise_polyfill = __esmMin((() => {
1926
1933
  }));
1927
1934
 
1928
1935
  //#endregion
1929
- //#region node_modules/.pnpm/@inquirer+core@11.1.8_@types+node@24.9.2/node_modules/@inquirer/core/dist/lib/create-prompt.js
1936
+ //#region node_modules/.pnpm/@inquirer+core@11.1.8_@types+node@26.1.0/node_modules/@inquirer/core/dist/lib/create-prompt.js
1930
1937
  function getCallSites() {
1931
1938
  const _prepareStackTrace = Error.prepareStackTrace;
1932
1939
  let result = [];
@@ -2038,7 +2045,7 @@ var init_create_prompt = __esmMin((() => {
2038
2045
  }));
2039
2046
 
2040
2047
  //#endregion
2041
- //#region node_modules/.pnpm/@inquirer+core@11.1.8_@types+node@24.9.2/node_modules/@inquirer/core/dist/lib/Separator.js
2048
+ //#region node_modules/.pnpm/@inquirer+core@11.1.8_@types+node@26.1.0/node_modules/@inquirer/core/dist/lib/Separator.js
2042
2049
  var Separator;
2043
2050
  var init_Separator = __esmMin((() => {
2044
2051
  init_dist$10();
@@ -2055,7 +2062,7 @@ var init_Separator = __esmMin((() => {
2055
2062
  }));
2056
2063
 
2057
2064
  //#endregion
2058
- //#region node_modules/.pnpm/@inquirer+core@11.1.8_@types+node@24.9.2/node_modules/@inquirer/core/dist/index.js
2065
+ //#region node_modules/.pnpm/@inquirer+core@11.1.8_@types+node@26.1.0/node_modules/@inquirer/core/dist/index.js
2059
2066
  var init_dist$6 = __esmMin((() => {
2060
2067
  init_key();
2061
2068
  init_errors();
@@ -2072,7 +2079,7 @@ var init_dist$6 = __esmMin((() => {
2072
2079
  }));
2073
2080
 
2074
2081
  //#endregion
2075
- //#region node_modules/.pnpm/@inquirer+checkbox@5.1.3_@types+node@24.9.2/node_modules/@inquirer/checkbox/dist/index.js
2082
+ //#region node_modules/.pnpm/@inquirer+checkbox@5.1.3_@types+node@26.1.0/node_modules/@inquirer/checkbox/dist/index.js
2076
2083
  var dist_exports$5 = /* @__PURE__ */ __exportAll({
2077
2084
  Separator: () => Separator,
2078
2085
  default: () => dist_default$5
@@ -2269,7 +2276,7 @@ var init_dist$5 = __esmMin((() => {
2269
2276
  }));
2270
2277
 
2271
2278
  //#endregion
2272
- //#region node_modules/.pnpm/@inquirer+confirm@6.0.11_@types+node@24.9.2/node_modules/@inquirer/confirm/dist/index.js
2279
+ //#region node_modules/.pnpm/@inquirer+confirm@6.0.11_@types+node@26.1.0/node_modules/@inquirer/confirm/dist/index.js
2273
2280
  var dist_exports$4 = /* @__PURE__ */ __exportAll({ default: () => dist_default$4 });
2274
2281
  function getBooleanValue(value, defaultValue) {
2275
2282
  let answer = defaultValue !== false;
@@ -2315,7 +2322,7 @@ var init_dist$4 = __esmMin((() => {
2315
2322
  }));
2316
2323
 
2317
2324
  //#endregion
2318
- //#region node_modules/.pnpm/@inquirer+input@5.0.11_@types+node@24.9.2/node_modules/@inquirer/input/dist/index.js
2325
+ //#region node_modules/.pnpm/@inquirer+input@5.0.11_@types+node@26.1.0/node_modules/@inquirer/input/dist/index.js
2319
2326
  var dist_exports$3 = /* @__PURE__ */ __exportAll({ default: () => dist_default$3 });
2320
2327
  var inputTheme, dist_default$3;
2321
2328
  var init_dist$3 = __esmMin((() => {
@@ -2390,7 +2397,7 @@ var init_dist$3 = __esmMin((() => {
2390
2397
  }));
2391
2398
 
2392
2399
  //#endregion
2393
- //#region node_modules/.pnpm/@inquirer+password@5.0.11_@types+node@24.9.2/node_modules/@inquirer/password/dist/index.js
2400
+ //#region node_modules/.pnpm/@inquirer+password@5.0.11_@types+node@26.1.0/node_modules/@inquirer/password/dist/index.js
2394
2401
  var dist_exports$2 = /* @__PURE__ */ __exportAll({ default: () => dist_default$2 });
2395
2402
  var passwordTheme, dist_default$2;
2396
2403
  var init_dist$2 = __esmMin((() => {
@@ -2444,7 +2451,7 @@ var init_dist$2 = __esmMin((() => {
2444
2451
  }));
2445
2452
 
2446
2453
  //#endregion
2447
- //#region node_modules/.pnpm/@inquirer+search@4.1.7_@types+node@24.9.2/node_modules/@inquirer/search/dist/index.js
2454
+ //#region node_modules/.pnpm/@inquirer+search@4.1.7_@types+node@26.1.0/node_modules/@inquirer/search/dist/index.js
2448
2455
  var dist_exports$1 = /* @__PURE__ */ __exportAll({
2449
2456
  Separator: () => Separator,
2450
2457
  default: () => dist_default$1
@@ -2610,7 +2617,7 @@ var init_dist$1 = __esmMin((() => {
2610
2617
  }));
2611
2618
 
2612
2619
  //#endregion
2613
- //#region node_modules/.pnpm/@inquirer+select@5.1.3_@types+node@24.9.2/node_modules/@inquirer/select/dist/index.js
2620
+ //#region node_modules/.pnpm/@inquirer+select@5.1.3_@types+node@26.1.0/node_modules/@inquirer/select/dist/index.js
2614
2621
  var dist_exports = /* @__PURE__ */ __exportAll({
2615
2622
  Separator: () => Separator,
2616
2623
  default: () => dist_default
@@ -0,0 +1,8 @@
1
+ import type { PicoPack } from './pico-pack'
2
+
3
+ export type FastGlob = PicoPack['glob']
4
+
5
+ declare const fastGlob: FastGlob
6
+ export default fastGlob
7
+
8
+ export const { glob, globStream, globSync } = fastGlob
@@ -0,0 +1 @@
1
+ export function createNewSortInstance(config?: any): any
@@ -0,0 +1,5 @@
1
+ export function eastAsianWidth(
2
+ codePoint: number,
3
+ options?: { ambiguousAsWide?: boolean },
4
+ ): number
5
+ export function eastAsianWidthType(codePoint: number): string