omegon 0.6.32 → 0.7.0

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 (591) hide show
  1. package/bin/omegon.mjs +74 -1
  2. package/extensions/00-secrets/index.ts +6 -0
  3. package/extensions/00-splash/index.ts +338 -0
  4. package/extensions/00-splash/logo.ts +194 -0
  5. package/extensions/bootstrap/index.ts +19 -2
  6. package/extensions/effort/index.ts +10 -0
  7. package/extensions/lib/splash-state.ts +25 -0
  8. package/extensions/mcp-bridge/index.ts +5 -0
  9. package/extensions/project-memory/index.ts +10 -0
  10. package/extensions/tool-profile/index.ts +7 -2
  11. package/node_modules/@smithy/core/package.json +2 -2
  12. package/node_modules/@smithy/middleware-endpoint/package.json +3 -3
  13. package/node_modules/@smithy/middleware-retry/package.json +2 -2
  14. package/node_modules/@smithy/middleware-serde/package.json +2 -2
  15. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +44 -37
  16. package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +38 -31
  17. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +1 -1
  18. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +1 -1
  19. package/node_modules/@smithy/node-http-handler/dist-es/readable.mock.js +1 -1
  20. package/node_modules/@smithy/node-http-handler/dist-es/server.mock.js +6 -6
  21. package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/collector.js +1 -1
  22. package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/readable.mock.js +1 -1
  23. package/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +1 -1
  24. package/node_modules/@smithy/node-http-handler/dist-types/get-transformed-headers.d.ts +1 -1
  25. package/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +4 -4
  26. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +1 -1
  27. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-pool.d.ts +1 -1
  28. package/node_modules/@smithy/node-http-handler/dist-types/readable.mock.d.ts +2 -2
  29. package/node_modules/@smithy/node-http-handler/dist-types/server.mock.d.ts +3 -3
  30. package/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +1 -1
  31. package/node_modules/@smithy/node-http-handler/dist-types/set-request-timeout.d.ts +1 -1
  32. package/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts +1 -1
  33. package/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +1 -1
  34. package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/collector.d.ts +1 -1
  35. package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/readable.mock.d.ts +2 -2
  36. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/get-transformed-headers.d.ts +1 -1
  37. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +4 -4
  38. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-manager.d.ts +1 -1
  39. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-pool.d.ts +1 -1
  40. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/readable.mock.d.ts +2 -2
  41. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/server.mock.d.ts +3 -3
  42. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-connection-timeout.d.ts +1 -1
  43. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-request-timeout.d.ts +1 -1
  44. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-keep-alive.d.ts +1 -1
  45. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +1 -1
  46. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/collector.d.ts +1 -1
  47. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/readable.mock.d.ts +2 -2
  48. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/write-request-body.d.ts +2 -2
  49. package/node_modules/@smithy/node-http-handler/dist-types/write-request-body.d.ts +2 -2
  50. package/node_modules/@smithy/node-http-handler/package.json +1 -1
  51. package/node_modules/@smithy/smithy-client/package.json +4 -4
  52. package/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
  53. package/node_modules/@smithy/util-defaults-mode-node/package.json +2 -2
  54. package/node_modules/@smithy/util-stream/package.json +2 -2
  55. package/node_modules/file-type/core.js +86 -9
  56. package/node_modules/file-type/index.js +17 -1
  57. package/node_modules/file-type/package.json +1 -1
  58. package/node_modules/file-type/readme.md +3 -0
  59. package/node_modules/gaxios/build/cjs/tsconfig.cjs.tsbuildinfo +1 -1
  60. package/node_modules/gaxios/build/esm/tsconfig.tsbuildinfo +1 -1
  61. package/node_modules/gaxios/package.json +13 -14
  62. package/node_modules/google-auth-library/package.json +2 -2
  63. package/package.json +5 -5
  64. package/node_modules/@isaacs/cliui/LICENSE.txt +0 -14
  65. package/node_modules/@isaacs/cliui/README.md +0 -143
  66. package/node_modules/@isaacs/cliui/build/index.cjs +0 -317
  67. package/node_modules/@isaacs/cliui/build/index.d.cts +0 -43
  68. package/node_modules/@isaacs/cliui/build/lib/index.js +0 -302
  69. package/node_modules/@isaacs/cliui/index.mjs +0 -14
  70. package/node_modules/@isaacs/cliui/node_modules/ansi-styles/index.d.ts +0 -236
  71. package/node_modules/@isaacs/cliui/node_modules/ansi-styles/index.js +0 -223
  72. package/node_modules/@isaacs/cliui/node_modules/ansi-styles/license +0 -9
  73. package/node_modules/@isaacs/cliui/node_modules/ansi-styles/package.json +0 -54
  74. package/node_modules/@isaacs/cliui/node_modules/ansi-styles/readme.md +0 -173
  75. package/node_modules/@isaacs/cliui/node_modules/emoji-regex/LICENSE-MIT.txt +0 -20
  76. package/node_modules/@isaacs/cliui/node_modules/emoji-regex/README.md +0 -137
  77. package/node_modules/@isaacs/cliui/node_modules/emoji-regex/RGI_Emoji.d.ts +0 -5
  78. package/node_modules/@isaacs/cliui/node_modules/emoji-regex/RGI_Emoji.js +0 -6
  79. package/node_modules/@isaacs/cliui/node_modules/emoji-regex/es2015/RGI_Emoji.d.ts +0 -5
  80. package/node_modules/@isaacs/cliui/node_modules/emoji-regex/es2015/RGI_Emoji.js +0 -6
  81. package/node_modules/@isaacs/cliui/node_modules/emoji-regex/es2015/index.d.ts +0 -5
  82. package/node_modules/@isaacs/cliui/node_modules/emoji-regex/es2015/index.js +0 -6
  83. package/node_modules/@isaacs/cliui/node_modules/emoji-regex/es2015/text.d.ts +0 -5
  84. package/node_modules/@isaacs/cliui/node_modules/emoji-regex/es2015/text.js +0 -6
  85. package/node_modules/@isaacs/cliui/node_modules/emoji-regex/index.d.ts +0 -5
  86. package/node_modules/@isaacs/cliui/node_modules/emoji-regex/index.js +0 -6
  87. package/node_modules/@isaacs/cliui/node_modules/emoji-regex/package.json +0 -52
  88. package/node_modules/@isaacs/cliui/node_modules/emoji-regex/text.d.ts +0 -5
  89. package/node_modules/@isaacs/cliui/node_modules/emoji-regex/text.js +0 -6
  90. package/node_modules/@isaacs/cliui/node_modules/string-width/index.d.ts +0 -29
  91. package/node_modules/@isaacs/cliui/node_modules/string-width/index.js +0 -54
  92. package/node_modules/@isaacs/cliui/node_modules/string-width/license +0 -9
  93. package/node_modules/@isaacs/cliui/node_modules/string-width/package.json +0 -59
  94. package/node_modules/@isaacs/cliui/node_modules/string-width/readme.md +0 -67
  95. package/node_modules/@isaacs/cliui/node_modules/wrap-ansi/index.d.ts +0 -41
  96. package/node_modules/@isaacs/cliui/node_modules/wrap-ansi/index.js +0 -214
  97. package/node_modules/@isaacs/cliui/node_modules/wrap-ansi/license +0 -9
  98. package/node_modules/@isaacs/cliui/node_modules/wrap-ansi/package.json +0 -69
  99. package/node_modules/@isaacs/cliui/node_modules/wrap-ansi/readme.md +0 -91
  100. package/node_modules/@isaacs/cliui/package.json +0 -86
  101. package/node_modules/@pkgjs/parseargs/.editorconfig +0 -14
  102. package/node_modules/@pkgjs/parseargs/CHANGELOG.md +0 -147
  103. package/node_modules/@pkgjs/parseargs/LICENSE +0 -201
  104. package/node_modules/@pkgjs/parseargs/README.md +0 -413
  105. package/node_modules/@pkgjs/parseargs/examples/is-default-value.js +0 -25
  106. package/node_modules/@pkgjs/parseargs/examples/limit-long-syntax.js +0 -35
  107. package/node_modules/@pkgjs/parseargs/examples/negate.js +0 -43
  108. package/node_modules/@pkgjs/parseargs/examples/no-repeated-options.js +0 -31
  109. package/node_modules/@pkgjs/parseargs/examples/ordered-options.mjs +0 -41
  110. package/node_modules/@pkgjs/parseargs/examples/simple-hard-coded.js +0 -26
  111. package/node_modules/@pkgjs/parseargs/index.js +0 -396
  112. package/node_modules/@pkgjs/parseargs/internal/errors.js +0 -47
  113. package/node_modules/@pkgjs/parseargs/internal/primordials.js +0 -393
  114. package/node_modules/@pkgjs/parseargs/internal/util.js +0 -14
  115. package/node_modules/@pkgjs/parseargs/internal/validators.js +0 -89
  116. package/node_modules/@pkgjs/parseargs/package.json +0 -36
  117. package/node_modules/@pkgjs/parseargs/utils.js +0 -198
  118. package/node_modules/cross-spawn/LICENSE +0 -21
  119. package/node_modules/cross-spawn/README.md +0 -89
  120. package/node_modules/cross-spawn/index.js +0 -39
  121. package/node_modules/cross-spawn/lib/enoent.js +0 -59
  122. package/node_modules/cross-spawn/lib/parse.js +0 -91
  123. package/node_modules/cross-spawn/lib/util/escape.js +0 -47
  124. package/node_modules/cross-spawn/lib/util/readShebang.js +0 -23
  125. package/node_modules/cross-spawn/lib/util/resolveCommand.js +0 -52
  126. package/node_modules/cross-spawn/package.json +0 -73
  127. package/node_modules/eastasianwidth/README.md +0 -32
  128. package/node_modules/eastasianwidth/eastasianwidth.js +0 -311
  129. package/node_modules/eastasianwidth/package.json +0 -18
  130. package/node_modules/foreground-child/LICENSE +0 -15
  131. package/node_modules/foreground-child/README.md +0 -128
  132. package/node_modules/foreground-child/dist/commonjs/all-signals.d.ts +0 -2
  133. package/node_modules/foreground-child/dist/commonjs/all-signals.d.ts.map +0 -1
  134. package/node_modules/foreground-child/dist/commonjs/all-signals.js +0 -58
  135. package/node_modules/foreground-child/dist/commonjs/all-signals.js.map +0 -1
  136. package/node_modules/foreground-child/dist/commonjs/index.d.ts +0 -58
  137. package/node_modules/foreground-child/dist/commonjs/index.d.ts.map +0 -1
  138. package/node_modules/foreground-child/dist/commonjs/index.js +0 -123
  139. package/node_modules/foreground-child/dist/commonjs/index.js.map +0 -1
  140. package/node_modules/foreground-child/dist/commonjs/package.json +0 -3
  141. package/node_modules/foreground-child/dist/commonjs/proxy-signals.d.ts +0 -6
  142. package/node_modules/foreground-child/dist/commonjs/proxy-signals.d.ts.map +0 -1
  143. package/node_modules/foreground-child/dist/commonjs/proxy-signals.js +0 -38
  144. package/node_modules/foreground-child/dist/commonjs/proxy-signals.js.map +0 -1
  145. package/node_modules/foreground-child/dist/commonjs/watchdog.d.ts +0 -10
  146. package/node_modules/foreground-child/dist/commonjs/watchdog.d.ts.map +0 -1
  147. package/node_modules/foreground-child/dist/commonjs/watchdog.js +0 -50
  148. package/node_modules/foreground-child/dist/commonjs/watchdog.js.map +0 -1
  149. package/node_modules/foreground-child/dist/esm/all-signals.d.ts +0 -2
  150. package/node_modules/foreground-child/dist/esm/all-signals.d.ts.map +0 -1
  151. package/node_modules/foreground-child/dist/esm/all-signals.js +0 -52
  152. package/node_modules/foreground-child/dist/esm/all-signals.js.map +0 -1
  153. package/node_modules/foreground-child/dist/esm/index.d.ts +0 -58
  154. package/node_modules/foreground-child/dist/esm/index.d.ts.map +0 -1
  155. package/node_modules/foreground-child/dist/esm/index.js +0 -115
  156. package/node_modules/foreground-child/dist/esm/index.js.map +0 -1
  157. package/node_modules/foreground-child/dist/esm/package.json +0 -3
  158. package/node_modules/foreground-child/dist/esm/proxy-signals.d.ts +0 -6
  159. package/node_modules/foreground-child/dist/esm/proxy-signals.d.ts.map +0 -1
  160. package/node_modules/foreground-child/dist/esm/proxy-signals.js +0 -34
  161. package/node_modules/foreground-child/dist/esm/proxy-signals.js.map +0 -1
  162. package/node_modules/foreground-child/dist/esm/watchdog.d.ts +0 -10
  163. package/node_modules/foreground-child/dist/esm/watchdog.d.ts.map +0 -1
  164. package/node_modules/foreground-child/dist/esm/watchdog.js +0 -46
  165. package/node_modules/foreground-child/dist/esm/watchdog.js.map +0 -1
  166. package/node_modules/foreground-child/node_modules/signal-exit/LICENSE.txt +0 -16
  167. package/node_modules/foreground-child/node_modules/signal-exit/README.md +0 -74
  168. package/node_modules/foreground-child/node_modules/signal-exit/dist/cjs/browser.d.ts +0 -12
  169. package/node_modules/foreground-child/node_modules/signal-exit/dist/cjs/browser.d.ts.map +0 -1
  170. package/node_modules/foreground-child/node_modules/signal-exit/dist/cjs/browser.js +0 -10
  171. package/node_modules/foreground-child/node_modules/signal-exit/dist/cjs/browser.js.map +0 -1
  172. package/node_modules/foreground-child/node_modules/signal-exit/dist/cjs/index.d.ts +0 -48
  173. package/node_modules/foreground-child/node_modules/signal-exit/dist/cjs/index.d.ts.map +0 -1
  174. package/node_modules/foreground-child/node_modules/signal-exit/dist/cjs/index.js +0 -279
  175. package/node_modules/foreground-child/node_modules/signal-exit/dist/cjs/index.js.map +0 -1
  176. package/node_modules/foreground-child/node_modules/signal-exit/dist/cjs/package.json +0 -3
  177. package/node_modules/foreground-child/node_modules/signal-exit/dist/cjs/signals.d.ts +0 -29
  178. package/node_modules/foreground-child/node_modules/signal-exit/dist/cjs/signals.d.ts.map +0 -1
  179. package/node_modules/foreground-child/node_modules/signal-exit/dist/cjs/signals.js +0 -42
  180. package/node_modules/foreground-child/node_modules/signal-exit/dist/cjs/signals.js.map +0 -1
  181. package/node_modules/foreground-child/node_modules/signal-exit/dist/mjs/browser.d.ts +0 -12
  182. package/node_modules/foreground-child/node_modules/signal-exit/dist/mjs/browser.d.ts.map +0 -1
  183. package/node_modules/foreground-child/node_modules/signal-exit/dist/mjs/browser.js +0 -4
  184. package/node_modules/foreground-child/node_modules/signal-exit/dist/mjs/browser.js.map +0 -1
  185. package/node_modules/foreground-child/node_modules/signal-exit/dist/mjs/index.d.ts +0 -48
  186. package/node_modules/foreground-child/node_modules/signal-exit/dist/mjs/index.d.ts.map +0 -1
  187. package/node_modules/foreground-child/node_modules/signal-exit/dist/mjs/index.js +0 -275
  188. package/node_modules/foreground-child/node_modules/signal-exit/dist/mjs/index.js.map +0 -1
  189. package/node_modules/foreground-child/node_modules/signal-exit/dist/mjs/package.json +0 -3
  190. package/node_modules/foreground-child/node_modules/signal-exit/dist/mjs/signals.d.ts +0 -29
  191. package/node_modules/foreground-child/node_modules/signal-exit/dist/mjs/signals.d.ts.map +0 -1
  192. package/node_modules/foreground-child/node_modules/signal-exit/dist/mjs/signals.js +0 -39
  193. package/node_modules/foreground-child/node_modules/signal-exit/dist/mjs/signals.js.map +0 -1
  194. package/node_modules/foreground-child/node_modules/signal-exit/package.json +0 -106
  195. package/node_modules/foreground-child/package.json +0 -106
  196. package/node_modules/isexe/.npmignore +0 -2
  197. package/node_modules/isexe/LICENSE +0 -15
  198. package/node_modules/isexe/README.md +0 -51
  199. package/node_modules/isexe/index.js +0 -57
  200. package/node_modules/isexe/mode.js +0 -41
  201. package/node_modules/isexe/package.json +0 -31
  202. package/node_modules/isexe/test/basic.js +0 -221
  203. package/node_modules/isexe/windows.js +0 -42
  204. package/node_modules/jackspeak/LICENSE.md +0 -55
  205. package/node_modules/jackspeak/README.md +0 -357
  206. package/node_modules/jackspeak/dist/commonjs/index.d.ts +0 -315
  207. package/node_modules/jackspeak/dist/commonjs/index.d.ts.map +0 -1
  208. package/node_modules/jackspeak/dist/commonjs/index.js +0 -1010
  209. package/node_modules/jackspeak/dist/commonjs/index.js.map +0 -1
  210. package/node_modules/jackspeak/dist/commonjs/package.json +0 -3
  211. package/node_modules/jackspeak/dist/commonjs/parse-args-cjs.cjs.map +0 -1
  212. package/node_modules/jackspeak/dist/commonjs/parse-args-cjs.d.cts.map +0 -1
  213. package/node_modules/jackspeak/dist/commonjs/parse-args.d.ts +0 -4
  214. package/node_modules/jackspeak/dist/commonjs/parse-args.js +0 -50
  215. package/node_modules/jackspeak/dist/esm/index.d.ts +0 -315
  216. package/node_modules/jackspeak/dist/esm/index.d.ts.map +0 -1
  217. package/node_modules/jackspeak/dist/esm/index.js +0 -1000
  218. package/node_modules/jackspeak/dist/esm/index.js.map +0 -1
  219. package/node_modules/jackspeak/dist/esm/package.json +0 -3
  220. package/node_modules/jackspeak/dist/esm/parse-args.d.ts +0 -4
  221. package/node_modules/jackspeak/dist/esm/parse-args.d.ts.map +0 -1
  222. package/node_modules/jackspeak/dist/esm/parse-args.js +0 -26
  223. package/node_modules/jackspeak/dist/esm/parse-args.js.map +0 -1
  224. package/node_modules/jackspeak/package.json +0 -95
  225. package/node_modules/package-json-from-dist/LICENSE.md +0 -63
  226. package/node_modules/package-json-from-dist/README.md +0 -110
  227. package/node_modules/package-json-from-dist/dist/commonjs/index.d.ts +0 -89
  228. package/node_modules/package-json-from-dist/dist/commonjs/index.d.ts.map +0 -1
  229. package/node_modules/package-json-from-dist/dist/commonjs/index.js +0 -134
  230. package/node_modules/package-json-from-dist/dist/commonjs/index.js.map +0 -1
  231. package/node_modules/package-json-from-dist/dist/commonjs/package.json +0 -3
  232. package/node_modules/package-json-from-dist/dist/esm/index.d.ts +0 -89
  233. package/node_modules/package-json-from-dist/dist/esm/index.d.ts.map +0 -1
  234. package/node_modules/package-json-from-dist/dist/esm/index.js +0 -129
  235. package/node_modules/package-json-from-dist/dist/esm/index.js.map +0 -1
  236. package/node_modules/package-json-from-dist/dist/esm/package.json +0 -3
  237. package/node_modules/package-json-from-dist/package.json +0 -68
  238. package/node_modules/path-key/index.d.ts +0 -40
  239. package/node_modules/path-key/index.js +0 -16
  240. package/node_modules/path-key/license +0 -9
  241. package/node_modules/path-key/package.json +0 -39
  242. package/node_modules/path-key/readme.md +0 -61
  243. package/node_modules/rimraf/LICENSE +0 -15
  244. package/node_modules/rimraf/README.md +0 -220
  245. package/node_modules/rimraf/dist/commonjs/default-tmp.d.ts +0 -3
  246. package/node_modules/rimraf/dist/commonjs/default-tmp.d.ts.map +0 -1
  247. package/node_modules/rimraf/dist/commonjs/default-tmp.js +0 -61
  248. package/node_modules/rimraf/dist/commonjs/default-tmp.js.map +0 -1
  249. package/node_modules/rimraf/dist/commonjs/fix-eperm.d.ts +0 -3
  250. package/node_modules/rimraf/dist/commonjs/fix-eperm.d.ts.map +0 -1
  251. package/node_modules/rimraf/dist/commonjs/fix-eperm.js +0 -58
  252. package/node_modules/rimraf/dist/commonjs/fix-eperm.js.map +0 -1
  253. package/node_modules/rimraf/dist/commonjs/fs.d.ts +0 -17
  254. package/node_modules/rimraf/dist/commonjs/fs.d.ts.map +0 -1
  255. package/node_modules/rimraf/dist/commonjs/fs.js +0 -46
  256. package/node_modules/rimraf/dist/commonjs/fs.js.map +0 -1
  257. package/node_modules/rimraf/dist/commonjs/ignore-enoent.d.ts +0 -3
  258. package/node_modules/rimraf/dist/commonjs/ignore-enoent.d.ts.map +0 -1
  259. package/node_modules/rimraf/dist/commonjs/ignore-enoent.js +0 -21
  260. package/node_modules/rimraf/dist/commonjs/ignore-enoent.js.map +0 -1
  261. package/node_modules/rimraf/dist/commonjs/index.d.ts +0 -50
  262. package/node_modules/rimraf/dist/commonjs/index.d.ts.map +0 -1
  263. package/node_modules/rimraf/dist/commonjs/index.js +0 -78
  264. package/node_modules/rimraf/dist/commonjs/index.js.map +0 -1
  265. package/node_modules/rimraf/dist/commonjs/opt-arg.d.ts +0 -34
  266. package/node_modules/rimraf/dist/commonjs/opt-arg.d.ts.map +0 -1
  267. package/node_modules/rimraf/dist/commonjs/opt-arg.js +0 -53
  268. package/node_modules/rimraf/dist/commonjs/opt-arg.js.map +0 -1
  269. package/node_modules/rimraf/dist/commonjs/package.json +0 -3
  270. package/node_modules/rimraf/dist/commonjs/path-arg.d.ts +0 -4
  271. package/node_modules/rimraf/dist/commonjs/path-arg.d.ts.map +0 -1
  272. package/node_modules/rimraf/dist/commonjs/path-arg.js +0 -52
  273. package/node_modules/rimraf/dist/commonjs/path-arg.js.map +0 -1
  274. package/node_modules/rimraf/dist/commonjs/platform.d.ts +0 -3
  275. package/node_modules/rimraf/dist/commonjs/platform.d.ts.map +0 -1
  276. package/node_modules/rimraf/dist/commonjs/platform.js +0 -4
  277. package/node_modules/rimraf/dist/commonjs/platform.js.map +0 -1
  278. package/node_modules/rimraf/dist/commonjs/readdir-or-error.d.ts +0 -3
  279. package/node_modules/rimraf/dist/commonjs/readdir-or-error.d.ts.map +0 -1
  280. package/node_modules/rimraf/dist/commonjs/readdir-or-error.js +0 -19
  281. package/node_modules/rimraf/dist/commonjs/readdir-or-error.js.map +0 -1
  282. package/node_modules/rimraf/dist/commonjs/retry-busy.d.ts +0 -8
  283. package/node_modules/rimraf/dist/commonjs/retry-busy.d.ts.map +0 -1
  284. package/node_modules/rimraf/dist/commonjs/retry-busy.js +0 -68
  285. package/node_modules/rimraf/dist/commonjs/retry-busy.js.map +0 -1
  286. package/node_modules/rimraf/dist/commonjs/rimraf-manual.d.ts +0 -3
  287. package/node_modules/rimraf/dist/commonjs/rimraf-manual.d.ts.map +0 -1
  288. package/node_modules/rimraf/dist/commonjs/rimraf-manual.js +0 -12
  289. package/node_modules/rimraf/dist/commonjs/rimraf-manual.js.map +0 -1
  290. package/node_modules/rimraf/dist/commonjs/rimraf-move-remove.d.ts +0 -4
  291. package/node_modules/rimraf/dist/commonjs/rimraf-move-remove.d.ts.map +0 -1
  292. package/node_modules/rimraf/dist/commonjs/rimraf-move-remove.js +0 -192
  293. package/node_modules/rimraf/dist/commonjs/rimraf-move-remove.js.map +0 -1
  294. package/node_modules/rimraf/dist/commonjs/rimraf-native.d.ts +0 -4
  295. package/node_modules/rimraf/dist/commonjs/rimraf-native.d.ts.map +0 -1
  296. package/node_modules/rimraf/dist/commonjs/rimraf-native.js +0 -24
  297. package/node_modules/rimraf/dist/commonjs/rimraf-native.js.map +0 -1
  298. package/node_modules/rimraf/dist/commonjs/rimraf-posix.d.ts +0 -4
  299. package/node_modules/rimraf/dist/commonjs/rimraf-posix.d.ts.map +0 -1
  300. package/node_modules/rimraf/dist/commonjs/rimraf-posix.js +0 -123
  301. package/node_modules/rimraf/dist/commonjs/rimraf-posix.js.map +0 -1
  302. package/node_modules/rimraf/dist/commonjs/rimraf-windows.d.ts +0 -4
  303. package/node_modules/rimraf/dist/commonjs/rimraf-windows.d.ts.map +0 -1
  304. package/node_modules/rimraf/dist/commonjs/rimraf-windows.js +0 -182
  305. package/node_modules/rimraf/dist/commonjs/rimraf-windows.js.map +0 -1
  306. package/node_modules/rimraf/dist/commonjs/use-native.d.ts +0 -4
  307. package/node_modules/rimraf/dist/commonjs/use-native.d.ts.map +0 -1
  308. package/node_modules/rimraf/dist/commonjs/use-native.js +0 -22
  309. package/node_modules/rimraf/dist/commonjs/use-native.js.map +0 -1
  310. package/node_modules/rimraf/dist/esm/bin.d.mts +0 -8
  311. package/node_modules/rimraf/dist/esm/bin.d.mts.map +0 -1
  312. package/node_modules/rimraf/dist/esm/bin.mjs +0 -256
  313. package/node_modules/rimraf/dist/esm/bin.mjs.map +0 -1
  314. package/node_modules/rimraf/dist/esm/default-tmp.d.ts +0 -3
  315. package/node_modules/rimraf/dist/esm/default-tmp.d.ts.map +0 -1
  316. package/node_modules/rimraf/dist/esm/default-tmp.js +0 -55
  317. package/node_modules/rimraf/dist/esm/default-tmp.js.map +0 -1
  318. package/node_modules/rimraf/dist/esm/fix-eperm.d.ts +0 -3
  319. package/node_modules/rimraf/dist/esm/fix-eperm.d.ts.map +0 -1
  320. package/node_modules/rimraf/dist/esm/fix-eperm.js +0 -53
  321. package/node_modules/rimraf/dist/esm/fix-eperm.js.map +0 -1
  322. package/node_modules/rimraf/dist/esm/fs.d.ts +0 -17
  323. package/node_modules/rimraf/dist/esm/fs.d.ts.map +0 -1
  324. package/node_modules/rimraf/dist/esm/fs.js +0 -31
  325. package/node_modules/rimraf/dist/esm/fs.js.map +0 -1
  326. package/node_modules/rimraf/dist/esm/ignore-enoent.d.ts +0 -3
  327. package/node_modules/rimraf/dist/esm/ignore-enoent.d.ts.map +0 -1
  328. package/node_modules/rimraf/dist/esm/ignore-enoent.js +0 -16
  329. package/node_modules/rimraf/dist/esm/ignore-enoent.js.map +0 -1
  330. package/node_modules/rimraf/dist/esm/index.d.ts +0 -50
  331. package/node_modules/rimraf/dist/esm/index.d.ts.map +0 -1
  332. package/node_modules/rimraf/dist/esm/index.js +0 -70
  333. package/node_modules/rimraf/dist/esm/index.js.map +0 -1
  334. package/node_modules/rimraf/dist/esm/opt-arg.d.ts +0 -34
  335. package/node_modules/rimraf/dist/esm/opt-arg.d.ts.map +0 -1
  336. package/node_modules/rimraf/dist/esm/opt-arg.js +0 -46
  337. package/node_modules/rimraf/dist/esm/opt-arg.js.map +0 -1
  338. package/node_modules/rimraf/dist/esm/package.json +0 -3
  339. package/node_modules/rimraf/dist/esm/path-arg.d.ts +0 -4
  340. package/node_modules/rimraf/dist/esm/path-arg.d.ts.map +0 -1
  341. package/node_modules/rimraf/dist/esm/path-arg.js +0 -47
  342. package/node_modules/rimraf/dist/esm/path-arg.js.map +0 -1
  343. package/node_modules/rimraf/dist/esm/platform.d.ts +0 -3
  344. package/node_modules/rimraf/dist/esm/platform.d.ts.map +0 -1
  345. package/node_modules/rimraf/dist/esm/platform.js +0 -2
  346. package/node_modules/rimraf/dist/esm/platform.js.map +0 -1
  347. package/node_modules/rimraf/dist/esm/readdir-or-error.d.ts +0 -3
  348. package/node_modules/rimraf/dist/esm/readdir-or-error.d.ts.map +0 -1
  349. package/node_modules/rimraf/dist/esm/readdir-or-error.js +0 -14
  350. package/node_modules/rimraf/dist/esm/readdir-or-error.js.map +0 -1
  351. package/node_modules/rimraf/dist/esm/retry-busy.d.ts +0 -8
  352. package/node_modules/rimraf/dist/esm/retry-busy.d.ts.map +0 -1
  353. package/node_modules/rimraf/dist/esm/retry-busy.js +0 -63
  354. package/node_modules/rimraf/dist/esm/retry-busy.js.map +0 -1
  355. package/node_modules/rimraf/dist/esm/rimraf-manual.d.ts +0 -3
  356. package/node_modules/rimraf/dist/esm/rimraf-manual.d.ts.map +0 -1
  357. package/node_modules/rimraf/dist/esm/rimraf-manual.js +0 -6
  358. package/node_modules/rimraf/dist/esm/rimraf-manual.js.map +0 -1
  359. package/node_modules/rimraf/dist/esm/rimraf-move-remove.d.ts +0 -4
  360. package/node_modules/rimraf/dist/esm/rimraf-move-remove.d.ts.map +0 -1
  361. package/node_modules/rimraf/dist/esm/rimraf-move-remove.js +0 -187
  362. package/node_modules/rimraf/dist/esm/rimraf-move-remove.js.map +0 -1
  363. package/node_modules/rimraf/dist/esm/rimraf-native.d.ts +0 -4
  364. package/node_modules/rimraf/dist/esm/rimraf-native.d.ts.map +0 -1
  365. package/node_modules/rimraf/dist/esm/rimraf-native.js +0 -19
  366. package/node_modules/rimraf/dist/esm/rimraf-native.js.map +0 -1
  367. package/node_modules/rimraf/dist/esm/rimraf-posix.d.ts +0 -4
  368. package/node_modules/rimraf/dist/esm/rimraf-posix.d.ts.map +0 -1
  369. package/node_modules/rimraf/dist/esm/rimraf-posix.js +0 -118
  370. package/node_modules/rimraf/dist/esm/rimraf-posix.js.map +0 -1
  371. package/node_modules/rimraf/dist/esm/rimraf-windows.d.ts +0 -4
  372. package/node_modules/rimraf/dist/esm/rimraf-windows.d.ts.map +0 -1
  373. package/node_modules/rimraf/dist/esm/rimraf-windows.js +0 -177
  374. package/node_modules/rimraf/dist/esm/rimraf-windows.js.map +0 -1
  375. package/node_modules/rimraf/dist/esm/use-native.d.ts +0 -4
  376. package/node_modules/rimraf/dist/esm/use-native.d.ts.map +0 -1
  377. package/node_modules/rimraf/dist/esm/use-native.js +0 -16
  378. package/node_modules/rimraf/dist/esm/use-native.js.map +0 -1
  379. package/node_modules/rimraf/node_modules/balanced-match/.github/FUNDING.yml +0 -2
  380. package/node_modules/rimraf/node_modules/balanced-match/LICENSE.md +0 -21
  381. package/node_modules/rimraf/node_modules/balanced-match/README.md +0 -97
  382. package/node_modules/rimraf/node_modules/balanced-match/index.js +0 -62
  383. package/node_modules/rimraf/node_modules/balanced-match/package.json +0 -48
  384. package/node_modules/rimraf/node_modules/brace-expansion/.github/FUNDING.yml +0 -2
  385. package/node_modules/rimraf/node_modules/brace-expansion/LICENSE +0 -21
  386. package/node_modules/rimraf/node_modules/brace-expansion/README.md +0 -135
  387. package/node_modules/rimraf/node_modules/brace-expansion/index.js +0 -203
  388. package/node_modules/rimraf/node_modules/brace-expansion/package.json +0 -49
  389. package/node_modules/rimraf/node_modules/glob/LICENSE +0 -15
  390. package/node_modules/rimraf/node_modules/glob/README.md +0 -1265
  391. package/node_modules/rimraf/node_modules/glob/dist/commonjs/glob.d.ts +0 -388
  392. package/node_modules/rimraf/node_modules/glob/dist/commonjs/glob.d.ts.map +0 -1
  393. package/node_modules/rimraf/node_modules/glob/dist/commonjs/glob.js +0 -247
  394. package/node_modules/rimraf/node_modules/glob/dist/commonjs/glob.js.map +0 -1
  395. package/node_modules/rimraf/node_modules/glob/dist/commonjs/has-magic.d.ts +0 -14
  396. package/node_modules/rimraf/node_modules/glob/dist/commonjs/has-magic.d.ts.map +0 -1
  397. package/node_modules/rimraf/node_modules/glob/dist/commonjs/has-magic.js +0 -27
  398. package/node_modules/rimraf/node_modules/glob/dist/commonjs/has-magic.js.map +0 -1
  399. package/node_modules/rimraf/node_modules/glob/dist/commonjs/ignore.d.ts +0 -24
  400. package/node_modules/rimraf/node_modules/glob/dist/commonjs/ignore.d.ts.map +0 -1
  401. package/node_modules/rimraf/node_modules/glob/dist/commonjs/ignore.js +0 -119
  402. package/node_modules/rimraf/node_modules/glob/dist/commonjs/ignore.js.map +0 -1
  403. package/node_modules/rimraf/node_modules/glob/dist/commonjs/index.d.ts +0 -97
  404. package/node_modules/rimraf/node_modules/glob/dist/commonjs/index.d.ts.map +0 -1
  405. package/node_modules/rimraf/node_modules/glob/dist/commonjs/index.js +0 -68
  406. package/node_modules/rimraf/node_modules/glob/dist/commonjs/index.js.map +0 -1
  407. package/node_modules/rimraf/node_modules/glob/dist/commonjs/package.json +0 -3
  408. package/node_modules/rimraf/node_modules/glob/dist/commonjs/pattern.d.ts +0 -76
  409. package/node_modules/rimraf/node_modules/glob/dist/commonjs/pattern.d.ts.map +0 -1
  410. package/node_modules/rimraf/node_modules/glob/dist/commonjs/pattern.js +0 -219
  411. package/node_modules/rimraf/node_modules/glob/dist/commonjs/pattern.js.map +0 -1
  412. package/node_modules/rimraf/node_modules/glob/dist/commonjs/processor.d.ts +0 -59
  413. package/node_modules/rimraf/node_modules/glob/dist/commonjs/processor.d.ts.map +0 -1
  414. package/node_modules/rimraf/node_modules/glob/dist/commonjs/processor.js +0 -301
  415. package/node_modules/rimraf/node_modules/glob/dist/commonjs/processor.js.map +0 -1
  416. package/node_modules/rimraf/node_modules/glob/dist/commonjs/walker.d.ts +0 -97
  417. package/node_modules/rimraf/node_modules/glob/dist/commonjs/walker.d.ts.map +0 -1
  418. package/node_modules/rimraf/node_modules/glob/dist/commonjs/walker.js +0 -387
  419. package/node_modules/rimraf/node_modules/glob/dist/commonjs/walker.js.map +0 -1
  420. package/node_modules/rimraf/node_modules/glob/dist/esm/bin.d.mts +0 -3
  421. package/node_modules/rimraf/node_modules/glob/dist/esm/bin.d.mts.map +0 -1
  422. package/node_modules/rimraf/node_modules/glob/dist/esm/bin.mjs +0 -346
  423. package/node_modules/rimraf/node_modules/glob/dist/esm/bin.mjs.map +0 -1
  424. package/node_modules/rimraf/node_modules/glob/dist/esm/glob.d.ts +0 -388
  425. package/node_modules/rimraf/node_modules/glob/dist/esm/glob.d.ts.map +0 -1
  426. package/node_modules/rimraf/node_modules/glob/dist/esm/glob.js +0 -243
  427. package/node_modules/rimraf/node_modules/glob/dist/esm/glob.js.map +0 -1
  428. package/node_modules/rimraf/node_modules/glob/dist/esm/has-magic.d.ts +0 -14
  429. package/node_modules/rimraf/node_modules/glob/dist/esm/has-magic.d.ts.map +0 -1
  430. package/node_modules/rimraf/node_modules/glob/dist/esm/has-magic.js +0 -23
  431. package/node_modules/rimraf/node_modules/glob/dist/esm/has-magic.js.map +0 -1
  432. package/node_modules/rimraf/node_modules/glob/dist/esm/ignore.d.ts +0 -24
  433. package/node_modules/rimraf/node_modules/glob/dist/esm/ignore.d.ts.map +0 -1
  434. package/node_modules/rimraf/node_modules/glob/dist/esm/ignore.js +0 -115
  435. package/node_modules/rimraf/node_modules/glob/dist/esm/ignore.js.map +0 -1
  436. package/node_modules/rimraf/node_modules/glob/dist/esm/index.d.ts +0 -97
  437. package/node_modules/rimraf/node_modules/glob/dist/esm/index.d.ts.map +0 -1
  438. package/node_modules/rimraf/node_modules/glob/dist/esm/index.js +0 -55
  439. package/node_modules/rimraf/node_modules/glob/dist/esm/index.js.map +0 -1
  440. package/node_modules/rimraf/node_modules/glob/dist/esm/package.json +0 -3
  441. package/node_modules/rimraf/node_modules/glob/dist/esm/pattern.d.ts +0 -76
  442. package/node_modules/rimraf/node_modules/glob/dist/esm/pattern.d.ts.map +0 -1
  443. package/node_modules/rimraf/node_modules/glob/dist/esm/pattern.js +0 -215
  444. package/node_modules/rimraf/node_modules/glob/dist/esm/pattern.js.map +0 -1
  445. package/node_modules/rimraf/node_modules/glob/dist/esm/processor.d.ts +0 -59
  446. package/node_modules/rimraf/node_modules/glob/dist/esm/processor.d.ts.map +0 -1
  447. package/node_modules/rimraf/node_modules/glob/dist/esm/processor.js +0 -294
  448. package/node_modules/rimraf/node_modules/glob/dist/esm/processor.js.map +0 -1
  449. package/node_modules/rimraf/node_modules/glob/dist/esm/walker.d.ts +0 -97
  450. package/node_modules/rimraf/node_modules/glob/dist/esm/walker.d.ts.map +0 -1
  451. package/node_modules/rimraf/node_modules/glob/dist/esm/walker.js +0 -381
  452. package/node_modules/rimraf/node_modules/glob/dist/esm/walker.js.map +0 -1
  453. package/node_modules/rimraf/node_modules/glob/package.json +0 -99
  454. package/node_modules/rimraf/node_modules/lru-cache/LICENSE +0 -15
  455. package/node_modules/rimraf/node_modules/lru-cache/README.md +0 -331
  456. package/node_modules/rimraf/node_modules/lru-cache/dist/commonjs/index.d.ts +0 -1277
  457. package/node_modules/rimraf/node_modules/lru-cache/dist/commonjs/index.d.ts.map +0 -1
  458. package/node_modules/rimraf/node_modules/lru-cache/dist/commonjs/index.js +0 -1546
  459. package/node_modules/rimraf/node_modules/lru-cache/dist/commonjs/index.js.map +0 -1
  460. package/node_modules/rimraf/node_modules/lru-cache/dist/commonjs/index.min.js +0 -2
  461. package/node_modules/rimraf/node_modules/lru-cache/dist/commonjs/index.min.js.map +0 -7
  462. package/node_modules/rimraf/node_modules/lru-cache/dist/commonjs/package.json +0 -3
  463. package/node_modules/rimraf/node_modules/lru-cache/dist/esm/index.d.ts +0 -1277
  464. package/node_modules/rimraf/node_modules/lru-cache/dist/esm/index.d.ts.map +0 -1
  465. package/node_modules/rimraf/node_modules/lru-cache/dist/esm/index.js +0 -1542
  466. package/node_modules/rimraf/node_modules/lru-cache/dist/esm/index.js.map +0 -1
  467. package/node_modules/rimraf/node_modules/lru-cache/dist/esm/index.min.js +0 -2
  468. package/node_modules/rimraf/node_modules/lru-cache/dist/esm/index.min.js.map +0 -7
  469. package/node_modules/rimraf/node_modules/lru-cache/dist/esm/package.json +0 -3
  470. package/node_modules/rimraf/node_modules/lru-cache/package.json +0 -116
  471. package/node_modules/rimraf/node_modules/minimatch/LICENSE +0 -15
  472. package/node_modules/rimraf/node_modules/minimatch/README.md +0 -491
  473. package/node_modules/rimraf/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts +0 -2
  474. package/node_modules/rimraf/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts.map +0 -1
  475. package/node_modules/rimraf/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js +0 -14
  476. package/node_modules/rimraf/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js.map +0 -1
  477. package/node_modules/rimraf/node_modules/minimatch/dist/commonjs/ast.d.ts +0 -20
  478. package/node_modules/rimraf/node_modules/minimatch/dist/commonjs/ast.d.ts.map +0 -1
  479. package/node_modules/rimraf/node_modules/minimatch/dist/commonjs/ast.js +0 -747
  480. package/node_modules/rimraf/node_modules/minimatch/dist/commonjs/ast.js.map +0 -1
  481. package/node_modules/rimraf/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts +0 -8
  482. package/node_modules/rimraf/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts.map +0 -1
  483. package/node_modules/rimraf/node_modules/minimatch/dist/commonjs/brace-expressions.js +0 -152
  484. package/node_modules/rimraf/node_modules/minimatch/dist/commonjs/brace-expressions.js.map +0 -1
  485. package/node_modules/rimraf/node_modules/minimatch/dist/commonjs/escape.d.ts +0 -12
  486. package/node_modules/rimraf/node_modules/minimatch/dist/commonjs/escape.d.ts.map +0 -1
  487. package/node_modules/rimraf/node_modules/minimatch/dist/commonjs/escape.js +0 -22
  488. package/node_modules/rimraf/node_modules/minimatch/dist/commonjs/escape.js.map +0 -1
  489. package/node_modules/rimraf/node_modules/minimatch/dist/commonjs/index.d.ts +0 -98
  490. package/node_modules/rimraf/node_modules/minimatch/dist/commonjs/index.d.ts.map +0 -1
  491. package/node_modules/rimraf/node_modules/minimatch/dist/commonjs/index.js +0 -1023
  492. package/node_modules/rimraf/node_modules/minimatch/dist/commonjs/index.js.map +0 -1
  493. package/node_modules/rimraf/node_modules/minimatch/dist/commonjs/package.json +0 -3
  494. package/node_modules/rimraf/node_modules/minimatch/dist/commonjs/unescape.d.ts +0 -17
  495. package/node_modules/rimraf/node_modules/minimatch/dist/commonjs/unescape.d.ts.map +0 -1
  496. package/node_modules/rimraf/node_modules/minimatch/dist/commonjs/unescape.js +0 -24
  497. package/node_modules/rimraf/node_modules/minimatch/dist/commonjs/unescape.js.map +0 -1
  498. package/node_modules/rimraf/node_modules/minimatch/dist/esm/assert-valid-pattern.d.ts +0 -2
  499. package/node_modules/rimraf/node_modules/minimatch/dist/esm/assert-valid-pattern.d.ts.map +0 -1
  500. package/node_modules/rimraf/node_modules/minimatch/dist/esm/assert-valid-pattern.js +0 -10
  501. package/node_modules/rimraf/node_modules/minimatch/dist/esm/assert-valid-pattern.js.map +0 -1
  502. package/node_modules/rimraf/node_modules/minimatch/dist/esm/ast.d.ts +0 -20
  503. package/node_modules/rimraf/node_modules/minimatch/dist/esm/ast.d.ts.map +0 -1
  504. package/node_modules/rimraf/node_modules/minimatch/dist/esm/ast.js +0 -743
  505. package/node_modules/rimraf/node_modules/minimatch/dist/esm/ast.js.map +0 -1
  506. package/node_modules/rimraf/node_modules/minimatch/dist/esm/brace-expressions.d.ts +0 -8
  507. package/node_modules/rimraf/node_modules/minimatch/dist/esm/brace-expressions.d.ts.map +0 -1
  508. package/node_modules/rimraf/node_modules/minimatch/dist/esm/brace-expressions.js +0 -148
  509. package/node_modules/rimraf/node_modules/minimatch/dist/esm/brace-expressions.js.map +0 -1
  510. package/node_modules/rimraf/node_modules/minimatch/dist/esm/escape.d.ts +0 -12
  511. package/node_modules/rimraf/node_modules/minimatch/dist/esm/escape.d.ts.map +0 -1
  512. package/node_modules/rimraf/node_modules/minimatch/dist/esm/escape.js +0 -18
  513. package/node_modules/rimraf/node_modules/minimatch/dist/esm/escape.js.map +0 -1
  514. package/node_modules/rimraf/node_modules/minimatch/dist/esm/index.d.ts +0 -98
  515. package/node_modules/rimraf/node_modules/minimatch/dist/esm/index.d.ts.map +0 -1
  516. package/node_modules/rimraf/node_modules/minimatch/dist/esm/index.js +0 -1007
  517. package/node_modules/rimraf/node_modules/minimatch/dist/esm/index.js.map +0 -1
  518. package/node_modules/rimraf/node_modules/minimatch/dist/esm/package.json +0 -3
  519. package/node_modules/rimraf/node_modules/minimatch/dist/esm/unescape.d.ts +0 -17
  520. package/node_modules/rimraf/node_modules/minimatch/dist/esm/unescape.d.ts.map +0 -1
  521. package/node_modules/rimraf/node_modules/minimatch/dist/esm/unescape.js +0 -20
  522. package/node_modules/rimraf/node_modules/minimatch/dist/esm/unescape.js.map +0 -1
  523. package/node_modules/rimraf/node_modules/minimatch/package.json +0 -82
  524. package/node_modules/rimraf/node_modules/path-scurry/LICENSE.md +0 -55
  525. package/node_modules/rimraf/node_modules/path-scurry/README.md +0 -636
  526. package/node_modules/rimraf/node_modules/path-scurry/dist/commonjs/index.d.ts +0 -1116
  527. package/node_modules/rimraf/node_modules/path-scurry/dist/commonjs/index.d.ts.map +0 -1
  528. package/node_modules/rimraf/node_modules/path-scurry/dist/commonjs/index.js +0 -2014
  529. package/node_modules/rimraf/node_modules/path-scurry/dist/commonjs/index.js.map +0 -1
  530. package/node_modules/rimraf/node_modules/path-scurry/dist/commonjs/package.json +0 -3
  531. package/node_modules/rimraf/node_modules/path-scurry/dist/esm/index.d.ts +0 -1116
  532. package/node_modules/rimraf/node_modules/path-scurry/dist/esm/index.d.ts.map +0 -1
  533. package/node_modules/rimraf/node_modules/path-scurry/dist/esm/index.js +0 -1979
  534. package/node_modules/rimraf/node_modules/path-scurry/dist/esm/index.js.map +0 -1
  535. package/node_modules/rimraf/node_modules/path-scurry/dist/esm/package.json +0 -3
  536. package/node_modules/rimraf/node_modules/path-scurry/package.json +0 -89
  537. package/node_modules/rimraf/package.json +0 -89
  538. package/node_modules/shebang-command/index.js +0 -19
  539. package/node_modules/shebang-command/license +0 -9
  540. package/node_modules/shebang-command/package.json +0 -34
  541. package/node_modules/shebang-command/readme.md +0 -34
  542. package/node_modules/shebang-regex/index.d.ts +0 -22
  543. package/node_modules/shebang-regex/index.js +0 -2
  544. package/node_modules/shebang-regex/license +0 -9
  545. package/node_modules/shebang-regex/package.json +0 -35
  546. package/node_modules/shebang-regex/readme.md +0 -33
  547. package/node_modules/string-width-cjs/index.d.ts +0 -29
  548. package/node_modules/string-width-cjs/index.js +0 -47
  549. package/node_modules/string-width-cjs/license +0 -9
  550. package/node_modules/string-width-cjs/node_modules/ansi-regex/index.d.ts +0 -37
  551. package/node_modules/string-width-cjs/node_modules/ansi-regex/index.js +0 -10
  552. package/node_modules/string-width-cjs/node_modules/ansi-regex/license +0 -9
  553. package/node_modules/string-width-cjs/node_modules/ansi-regex/package.json +0 -55
  554. package/node_modules/string-width-cjs/node_modules/ansi-regex/readme.md +0 -78
  555. package/node_modules/string-width-cjs/node_modules/strip-ansi/index.d.ts +0 -17
  556. package/node_modules/string-width-cjs/node_modules/strip-ansi/index.js +0 -4
  557. package/node_modules/string-width-cjs/node_modules/strip-ansi/license +0 -9
  558. package/node_modules/string-width-cjs/node_modules/strip-ansi/package.json +0 -54
  559. package/node_modules/string-width-cjs/node_modules/strip-ansi/readme.md +0 -46
  560. package/node_modules/string-width-cjs/package.json +0 -56
  561. package/node_modules/string-width-cjs/readme.md +0 -50
  562. package/node_modules/strip-ansi-cjs/index.d.ts +0 -17
  563. package/node_modules/strip-ansi-cjs/index.js +0 -4
  564. package/node_modules/strip-ansi-cjs/license +0 -9
  565. package/node_modules/strip-ansi-cjs/node_modules/ansi-regex/index.d.ts +0 -37
  566. package/node_modules/strip-ansi-cjs/node_modules/ansi-regex/index.js +0 -10
  567. package/node_modules/strip-ansi-cjs/node_modules/ansi-regex/license +0 -9
  568. package/node_modules/strip-ansi-cjs/node_modules/ansi-regex/package.json +0 -55
  569. package/node_modules/strip-ansi-cjs/node_modules/ansi-regex/readme.md +0 -78
  570. package/node_modules/strip-ansi-cjs/package.json +0 -54
  571. package/node_modules/strip-ansi-cjs/readme.md +0 -46
  572. package/node_modules/which/CHANGELOG.md +0 -166
  573. package/node_modules/which/LICENSE +0 -15
  574. package/node_modules/which/README.md +0 -54
  575. package/node_modules/which/bin/node-which +0 -52
  576. package/node_modules/which/package.json +0 -43
  577. package/node_modules/which/which.js +0 -125
  578. package/node_modules/wrap-ansi-cjs/index.js +0 -216
  579. package/node_modules/wrap-ansi-cjs/license +0 -9
  580. package/node_modules/wrap-ansi-cjs/node_modules/ansi-regex/index.d.ts +0 -37
  581. package/node_modules/wrap-ansi-cjs/node_modules/ansi-regex/index.js +0 -10
  582. package/node_modules/wrap-ansi-cjs/node_modules/ansi-regex/license +0 -9
  583. package/node_modules/wrap-ansi-cjs/node_modules/ansi-regex/package.json +0 -55
  584. package/node_modules/wrap-ansi-cjs/node_modules/ansi-regex/readme.md +0 -78
  585. package/node_modules/wrap-ansi-cjs/node_modules/strip-ansi/index.d.ts +0 -17
  586. package/node_modules/wrap-ansi-cjs/node_modules/strip-ansi/index.js +0 -4
  587. package/node_modules/wrap-ansi-cjs/node_modules/strip-ansi/license +0 -9
  588. package/node_modules/wrap-ansi-cjs/node_modules/strip-ansi/package.json +0 -54
  589. package/node_modules/wrap-ansi-cjs/node_modules/strip-ansi/readme.md +0 -46
  590. package/node_modules/wrap-ansi-cjs/package.json +0 -62
  591. package/node_modules/wrap-ansi-cjs/readme.md +0 -91
@@ -1,1116 +0,0 @@
1
- /// <reference types="node" />
2
- /// <reference types="node" />
3
- /// <reference types="node" />
4
- import { LRUCache } from 'lru-cache';
5
- import { posix, win32 } from 'node:path';
6
- import { Minipass } from 'minipass';
7
- import type { Dirent, Stats } from 'node:fs';
8
- /**
9
- * An object that will be used to override the default `fs`
10
- * methods. Any methods that are not overridden will use Node's
11
- * built-in implementations.
12
- *
13
- * - lstatSync
14
- * - readdir (callback `withFileTypes` Dirent variant, used for
15
- * readdirCB and most walks)
16
- * - readdirSync
17
- * - readlinkSync
18
- * - realpathSync
19
- * - promises: Object containing the following async methods:
20
- * - lstat
21
- * - readdir (Dirent variant only)
22
- * - readlink
23
- * - realpath
24
- */
25
- export interface FSOption {
26
- lstatSync?: (path: string) => Stats;
27
- readdir?: (path: string, options: {
28
- withFileTypes: true;
29
- }, cb: (er: NodeJS.ErrnoException | null, entries?: Dirent[]) => any) => void;
30
- readdirSync?: (path: string, options: {
31
- withFileTypes: true;
32
- }) => Dirent[];
33
- readlinkSync?: (path: string) => string;
34
- realpathSync?: (path: string) => string;
35
- promises?: {
36
- lstat?: (path: string) => Promise<Stats>;
37
- readdir?: (path: string, options: {
38
- withFileTypes: true;
39
- }) => Promise<Dirent[]>;
40
- readlink?: (path: string) => Promise<string>;
41
- realpath?: (path: string) => Promise<string>;
42
- [k: string]: any;
43
- };
44
- [k: string]: any;
45
- }
46
- interface FSValue {
47
- lstatSync: (path: string) => Stats;
48
- readdir: (path: string, options: {
49
- withFileTypes: true;
50
- }, cb: (er: NodeJS.ErrnoException | null, entries?: Dirent[]) => any) => void;
51
- readdirSync: (path: string, options: {
52
- withFileTypes: true;
53
- }) => Dirent[];
54
- readlinkSync: (path: string) => string;
55
- realpathSync: (path: string) => string;
56
- promises: {
57
- lstat: (path: string) => Promise<Stats>;
58
- readdir: (path: string, options: {
59
- withFileTypes: true;
60
- }) => Promise<Dirent[]>;
61
- readlink: (path: string) => Promise<string>;
62
- realpath: (path: string) => Promise<string>;
63
- [k: string]: any;
64
- };
65
- [k: string]: any;
66
- }
67
- export type Type = 'Unknown' | 'FIFO' | 'CharacterDevice' | 'Directory' | 'BlockDevice' | 'File' | 'SymbolicLink' | 'Socket';
68
- /**
69
- * Options that may be provided to the Path constructor
70
- */
71
- export interface PathOpts {
72
- fullpath?: string;
73
- relative?: string;
74
- relativePosix?: string;
75
- parent?: PathBase;
76
- /**
77
- * See {@link FSOption}
78
- */
79
- fs?: FSOption;
80
- }
81
- /**
82
- * An LRUCache for storing resolved path strings or Path objects.
83
- * @internal
84
- */
85
- export declare class ResolveCache extends LRUCache<string, string> {
86
- constructor();
87
- }
88
- /**
89
- * an LRUCache for storing child entries.
90
- * @internal
91
- */
92
- export declare class ChildrenCache extends LRUCache<PathBase, Children> {
93
- constructor(maxSize?: number);
94
- }
95
- /**
96
- * Array of Path objects, plus a marker indicating the first provisional entry
97
- *
98
- * @internal
99
- */
100
- export type Children = PathBase[] & {
101
- provisional: number;
102
- };
103
- declare const setAsCwd: unique symbol;
104
- /**
105
- * Path objects are sort of like a super-powered
106
- * {@link https://nodejs.org/docs/latest/api/fs.html#class-fsdirent fs.Dirent}
107
- *
108
- * Each one represents a single filesystem entry on disk, which may or may not
109
- * exist. It includes methods for reading various types of information via
110
- * lstat, readlink, and readdir, and caches all information to the greatest
111
- * degree possible.
112
- *
113
- * Note that fs operations that would normally throw will instead return an
114
- * "empty" value. This is in order to prevent excessive overhead from error
115
- * stack traces.
116
- */
117
- export declare abstract class PathBase implements Dirent {
118
- #private;
119
- /**
120
- * the basename of this path
121
- *
122
- * **Important**: *always* test the path name against any test string
123
- * usingthe {@link isNamed} method, and not by directly comparing this
124
- * string. Otherwise, unicode path strings that the system sees as identical
125
- * will not be properly treated as the same path, leading to incorrect
126
- * behavior and possible security issues.
127
- */
128
- name: string;
129
- /**
130
- * the Path entry corresponding to the path root.
131
- *
132
- * @internal
133
- */
134
- root: PathBase;
135
- /**
136
- * All roots found within the current PathScurry family
137
- *
138
- * @internal
139
- */
140
- roots: {
141
- [k: string]: PathBase;
142
- };
143
- /**
144
- * a reference to the parent path, or undefined in the case of root entries
145
- *
146
- * @internal
147
- */
148
- parent?: PathBase;
149
- /**
150
- * boolean indicating whether paths are compared case-insensitively
151
- * @internal
152
- */
153
- nocase: boolean;
154
- /**
155
- * boolean indicating that this path is the current working directory
156
- * of the PathScurry collection that contains it.
157
- */
158
- isCWD: boolean;
159
- /**
160
- * the string or regexp used to split paths. On posix, it is `'/'`, and on
161
- * windows it is a RegExp matching either `'/'` or `'\\'`
162
- */
163
- abstract splitSep: string | RegExp;
164
- /**
165
- * The path separator string to use when joining paths
166
- */
167
- abstract sep: string;
168
- get dev(): number | undefined;
169
- get mode(): number | undefined;
170
- get nlink(): number | undefined;
171
- get uid(): number | undefined;
172
- get gid(): number | undefined;
173
- get rdev(): number | undefined;
174
- get blksize(): number | undefined;
175
- get ino(): number | undefined;
176
- get size(): number | undefined;
177
- get blocks(): number | undefined;
178
- get atimeMs(): number | undefined;
179
- get mtimeMs(): number | undefined;
180
- get ctimeMs(): number | undefined;
181
- get birthtimeMs(): number | undefined;
182
- get atime(): Date | undefined;
183
- get mtime(): Date | undefined;
184
- get ctime(): Date | undefined;
185
- get birthtime(): Date | undefined;
186
- /**
187
- * This property is for compatibility with the Dirent class as of
188
- * Node v20, where Dirent['parentPath'] refers to the path of the
189
- * directory that was passed to readdir. For root entries, it's the path
190
- * to the entry itself.
191
- */
192
- get parentPath(): string;
193
- /**
194
- * Deprecated alias for Dirent['parentPath'] Somewhat counterintuitively,
195
- * this property refers to the *parent* path, not the path object itself.
196
- */
197
- get path(): string;
198
- /**
199
- * Do not create new Path objects directly. They should always be accessed
200
- * via the PathScurry class or other methods on the Path class.
201
- *
202
- * @internal
203
- */
204
- constructor(name: string, type: number | undefined, root: PathBase | undefined, roots: {
205
- [k: string]: PathBase;
206
- }, nocase: boolean, children: ChildrenCache, opts: PathOpts);
207
- /**
208
- * Returns the depth of the Path object from its root.
209
- *
210
- * For example, a path at `/foo/bar` would have a depth of 2.
211
- */
212
- depth(): number;
213
- /**
214
- * @internal
215
- */
216
- abstract getRootString(path: string): string;
217
- /**
218
- * @internal
219
- */
220
- abstract getRoot(rootPath: string): PathBase;
221
- /**
222
- * @internal
223
- */
224
- abstract newChild(name: string, type?: number, opts?: PathOpts): PathBase;
225
- /**
226
- * @internal
227
- */
228
- childrenCache(): ChildrenCache;
229
- /**
230
- * Get the Path object referenced by the string path, resolved from this Path
231
- */
232
- resolve(path?: string): PathBase;
233
- /**
234
- * Returns the cached children Path objects, if still available. If they
235
- * have fallen out of the cache, then returns an empty array, and resets the
236
- * READDIR_CALLED bit, so that future calls to readdir() will require an fs
237
- * lookup.
238
- *
239
- * @internal
240
- */
241
- children(): Children;
242
- /**
243
- * Resolves a path portion and returns or creates the child Path.
244
- *
245
- * Returns `this` if pathPart is `''` or `'.'`, or `parent` if pathPart is
246
- * `'..'`.
247
- *
248
- * This should not be called directly. If `pathPart` contains any path
249
- * separators, it will lead to unsafe undefined behavior.
250
- *
251
- * Use `Path.resolve()` instead.
252
- *
253
- * @internal
254
- */
255
- child(pathPart: string, opts?: PathOpts): PathBase;
256
- /**
257
- * The relative path from the cwd. If it does not share an ancestor with
258
- * the cwd, then this ends up being equivalent to the fullpath()
259
- */
260
- relative(): string;
261
- /**
262
- * The relative path from the cwd, using / as the path separator.
263
- * If it does not share an ancestor with
264
- * the cwd, then this ends up being equivalent to the fullpathPosix()
265
- * On posix systems, this is identical to relative().
266
- */
267
- relativePosix(): string;
268
- /**
269
- * The fully resolved path string for this Path entry
270
- */
271
- fullpath(): string;
272
- /**
273
- * On platforms other than windows, this is identical to fullpath.
274
- *
275
- * On windows, this is overridden to return the forward-slash form of the
276
- * full UNC path.
277
- */
278
- fullpathPosix(): string;
279
- /**
280
- * Is the Path of an unknown type?
281
- *
282
- * Note that we might know *something* about it if there has been a previous
283
- * filesystem operation, for example that it does not exist, or is not a
284
- * link, or whether it has child entries.
285
- */
286
- isUnknown(): boolean;
287
- isType(type: Type): boolean;
288
- getType(): Type;
289
- /**
290
- * Is the Path a regular file?
291
- */
292
- isFile(): boolean;
293
- /**
294
- * Is the Path a directory?
295
- */
296
- isDirectory(): boolean;
297
- /**
298
- * Is the path a character device?
299
- */
300
- isCharacterDevice(): boolean;
301
- /**
302
- * Is the path a block device?
303
- */
304
- isBlockDevice(): boolean;
305
- /**
306
- * Is the path a FIFO pipe?
307
- */
308
- isFIFO(): boolean;
309
- /**
310
- * Is the path a socket?
311
- */
312
- isSocket(): boolean;
313
- /**
314
- * Is the path a symbolic link?
315
- */
316
- isSymbolicLink(): boolean;
317
- /**
318
- * Return the entry if it has been subject of a successful lstat, or
319
- * undefined otherwise.
320
- *
321
- * Does not read the filesystem, so an undefined result *could* simply
322
- * mean that we haven't called lstat on it.
323
- */
324
- lstatCached(): PathBase | undefined;
325
- /**
326
- * Return the cached link target if the entry has been the subject of a
327
- * successful readlink, or undefined otherwise.
328
- *
329
- * Does not read the filesystem, so an undefined result *could* just mean we
330
- * don't have any cached data. Only use it if you are very sure that a
331
- * readlink() has been called at some point.
332
- */
333
- readlinkCached(): PathBase | undefined;
334
- /**
335
- * Returns the cached realpath target if the entry has been the subject
336
- * of a successful realpath, or undefined otherwise.
337
- *
338
- * Does not read the filesystem, so an undefined result *could* just mean we
339
- * don't have any cached data. Only use it if you are very sure that a
340
- * realpath() has been called at some point.
341
- */
342
- realpathCached(): PathBase | undefined;
343
- /**
344
- * Returns the cached child Path entries array if the entry has been the
345
- * subject of a successful readdir(), or [] otherwise.
346
- *
347
- * Does not read the filesystem, so an empty array *could* just mean we
348
- * don't have any cached data. Only use it if you are very sure that a
349
- * readdir() has been called recently enough to still be valid.
350
- */
351
- readdirCached(): PathBase[];
352
- /**
353
- * Return true if it's worth trying to readlink. Ie, we don't (yet) have
354
- * any indication that readlink will definitely fail.
355
- *
356
- * Returns false if the path is known to not be a symlink, if a previous
357
- * readlink failed, or if the entry does not exist.
358
- */
359
- canReadlink(): boolean;
360
- /**
361
- * Return true if readdir has previously been successfully called on this
362
- * path, indicating that cachedReaddir() is likely valid.
363
- */
364
- calledReaddir(): boolean;
365
- /**
366
- * Returns true if the path is known to not exist. That is, a previous lstat
367
- * or readdir failed to verify its existence when that would have been
368
- * expected, or a parent entry was marked either enoent or enotdir.
369
- */
370
- isENOENT(): boolean;
371
- /**
372
- * Return true if the path is a match for the given path name. This handles
373
- * case sensitivity and unicode normalization.
374
- *
375
- * Note: even on case-sensitive systems, it is **not** safe to test the
376
- * equality of the `.name` property to determine whether a given pathname
377
- * matches, due to unicode normalization mismatches.
378
- *
379
- * Always use this method instead of testing the `path.name` property
380
- * directly.
381
- */
382
- isNamed(n: string): boolean;
383
- /**
384
- * Return the Path object corresponding to the target of a symbolic link.
385
- *
386
- * If the Path is not a symbolic link, or if the readlink call fails for any
387
- * reason, `undefined` is returned.
388
- *
389
- * Result is cached, and thus may be outdated if the filesystem is mutated.
390
- */
391
- readlink(): Promise<PathBase | undefined>;
392
- /**
393
- * Synchronous {@link PathBase.readlink}
394
- */
395
- readlinkSync(): PathBase | undefined;
396
- /**
397
- * Call lstat() on this Path, and update all known information that can be
398
- * determined.
399
- *
400
- * Note that unlike `fs.lstat()`, the returned value does not contain some
401
- * information, such as `mode`, `dev`, `nlink`, and `ino`. If that
402
- * information is required, you will need to call `fs.lstat` yourself.
403
- *
404
- * If the Path refers to a nonexistent file, or if the lstat call fails for
405
- * any reason, `undefined` is returned. Otherwise the updated Path object is
406
- * returned.
407
- *
408
- * Results are cached, and thus may be out of date if the filesystem is
409
- * mutated.
410
- */
411
- lstat(): Promise<PathBase | undefined>;
412
- /**
413
- * synchronous {@link PathBase.lstat}
414
- */
415
- lstatSync(): PathBase | undefined;
416
- /**
417
- * Standard node-style callback interface to get list of directory entries.
418
- *
419
- * If the Path cannot or does not contain any children, then an empty array
420
- * is returned.
421
- *
422
- * Results are cached, and thus may be out of date if the filesystem is
423
- * mutated.
424
- *
425
- * @param cb The callback called with (er, entries). Note that the `er`
426
- * param is somewhat extraneous, as all readdir() errors are handled and
427
- * simply result in an empty set of entries being returned.
428
- * @param allowZalgo Boolean indicating that immediately known results should
429
- * *not* be deferred with `queueMicrotask`. Defaults to `false`. Release
430
- * zalgo at your peril, the dark pony lord is devious and unforgiving.
431
- */
432
- readdirCB(cb: (er: NodeJS.ErrnoException | null, entries: PathBase[]) => any, allowZalgo?: boolean): void;
433
- /**
434
- * Return an array of known child entries.
435
- *
436
- * If the Path cannot or does not contain any children, then an empty array
437
- * is returned.
438
- *
439
- * Results are cached, and thus may be out of date if the filesystem is
440
- * mutated.
441
- */
442
- readdir(): Promise<PathBase[]>;
443
- /**
444
- * synchronous {@link PathBase.readdir}
445
- */
446
- readdirSync(): PathBase[];
447
- canReaddir(): boolean;
448
- shouldWalk(dirs: Set<PathBase | undefined>, walkFilter?: (e: PathBase) => boolean): boolean;
449
- /**
450
- * Return the Path object corresponding to path as resolved
451
- * by realpath(3).
452
- *
453
- * If the realpath call fails for any reason, `undefined` is returned.
454
- *
455
- * Result is cached, and thus may be outdated if the filesystem is mutated.
456
- * On success, returns a Path object.
457
- */
458
- realpath(): Promise<PathBase | undefined>;
459
- /**
460
- * Synchronous {@link realpath}
461
- */
462
- realpathSync(): PathBase | undefined;
463
- /**
464
- * Internal method to mark this Path object as the scurry cwd,
465
- * called by {@link PathScurry#chdir}
466
- *
467
- * @internal
468
- */
469
- [setAsCwd](oldCwd: PathBase): void;
470
- }
471
- /**
472
- * Path class used on win32 systems
473
- *
474
- * Uses `'\\'` as the path separator for returned paths, either `'\\'` or `'/'`
475
- * as the path separator for parsing paths.
476
- */
477
- export declare class PathWin32 extends PathBase {
478
- /**
479
- * Separator for generating path strings.
480
- */
481
- sep: '\\';
482
- /**
483
- * Separator for parsing path strings.
484
- */
485
- splitSep: RegExp;
486
- /**
487
- * Do not create new Path objects directly. They should always be accessed
488
- * via the PathScurry class or other methods on the Path class.
489
- *
490
- * @internal
491
- */
492
- constructor(name: string, type: number | undefined, root: PathBase | undefined, roots: {
493
- [k: string]: PathBase;
494
- }, nocase: boolean, children: ChildrenCache, opts: PathOpts);
495
- /**
496
- * @internal
497
- */
498
- newChild(name: string, type?: number, opts?: PathOpts): PathWin32;
499
- /**
500
- * @internal
501
- */
502
- getRootString(path: string): string;
503
- /**
504
- * @internal
505
- */
506
- getRoot(rootPath: string): PathBase;
507
- /**
508
- * @internal
509
- */
510
- sameRoot(rootPath: string, compare?: string): boolean;
511
- }
512
- /**
513
- * Path class used on all posix systems.
514
- *
515
- * Uses `'/'` as the path separator.
516
- */
517
- export declare class PathPosix extends PathBase {
518
- /**
519
- * separator for parsing path strings
520
- */
521
- splitSep: '/';
522
- /**
523
- * separator for generating path strings
524
- */
525
- sep: '/';
526
- /**
527
- * Do not create new Path objects directly. They should always be accessed
528
- * via the PathScurry class or other methods on the Path class.
529
- *
530
- * @internal
531
- */
532
- constructor(name: string, type: number | undefined, root: PathBase | undefined, roots: {
533
- [k: string]: PathBase;
534
- }, nocase: boolean, children: ChildrenCache, opts: PathOpts);
535
- /**
536
- * @internal
537
- */
538
- getRootString(path: string): string;
539
- /**
540
- * @internal
541
- */
542
- getRoot(_rootPath: string): PathBase;
543
- /**
544
- * @internal
545
- */
546
- newChild(name: string, type?: number, opts?: PathOpts): PathPosix;
547
- }
548
- /**
549
- * Options that may be provided to the PathScurry constructor
550
- */
551
- export interface PathScurryOpts {
552
- /**
553
- * perform case-insensitive path matching. Default based on platform
554
- * subclass.
555
- */
556
- nocase?: boolean;
557
- /**
558
- * Number of Path entries to keep in the cache of Path child references.
559
- *
560
- * Setting this higher than 65536 will dramatically increase the data
561
- * consumption and construction time overhead of each PathScurry.
562
- *
563
- * Setting this value to 256 or lower will significantly reduce the data
564
- * consumption and construction time overhead, but may also reduce resolve()
565
- * and readdir() performance on large filesystems.
566
- *
567
- * Default `16384`.
568
- */
569
- childrenCacheSize?: number;
570
- /**
571
- * An object that overrides the built-in functions from the fs and
572
- * fs/promises modules.
573
- *
574
- * See {@link FSOption}
575
- */
576
- fs?: FSOption;
577
- }
578
- /**
579
- * The base class for all PathScurry classes, providing the interface for path
580
- * resolution and filesystem operations.
581
- *
582
- * Typically, you should *not* instantiate this class directly, but rather one
583
- * of the platform-specific classes, or the exported {@link PathScurry} which
584
- * defaults to the current platform.
585
- */
586
- export declare abstract class PathScurryBase {
587
- #private;
588
- /**
589
- * The root Path entry for the current working directory of this Scurry
590
- */
591
- root: PathBase;
592
- /**
593
- * The string path for the root of this Scurry's current working directory
594
- */
595
- rootPath: string;
596
- /**
597
- * A collection of all roots encountered, referenced by rootPath
598
- */
599
- roots: {
600
- [k: string]: PathBase;
601
- };
602
- /**
603
- * The Path entry corresponding to this PathScurry's current working directory.
604
- */
605
- cwd: PathBase;
606
- /**
607
- * Perform path comparisons case-insensitively.
608
- *
609
- * Defaults true on Darwin and Windows systems, false elsewhere.
610
- */
611
- nocase: boolean;
612
- /**
613
- * The path separator used for parsing paths
614
- *
615
- * `'/'` on Posix systems, either `'/'` or `'\\'` on Windows
616
- */
617
- abstract sep: string | RegExp;
618
- /**
619
- * This class should not be instantiated directly.
620
- *
621
- * Use PathScurryWin32, PathScurryDarwin, PathScurryPosix, or PathScurry
622
- *
623
- * @internal
624
- */
625
- constructor(cwd: string | URL | undefined, pathImpl: typeof win32 | typeof posix, sep: string | RegExp, { nocase, childrenCacheSize, fs, }?: PathScurryOpts);
626
- /**
627
- * Get the depth of a provided path, string, or the cwd
628
- */
629
- depth(path?: Path | string): number;
630
- /**
631
- * Parse the root portion of a path string
632
- *
633
- * @internal
634
- */
635
- abstract parseRootPath(dir: string): string;
636
- /**
637
- * create a new Path to use as root during construction.
638
- *
639
- * @internal
640
- */
641
- abstract newRoot(fs: FSValue): PathBase;
642
- /**
643
- * Determine whether a given path string is absolute
644
- */
645
- abstract isAbsolute(p: string): boolean;
646
- /**
647
- * Return the cache of child entries. Exposed so subclasses can create
648
- * child Path objects in a platform-specific way.
649
- *
650
- * @internal
651
- */
652
- childrenCache(): ChildrenCache;
653
- /**
654
- * Resolve one or more path strings to a resolved string
655
- *
656
- * Same interface as require('path').resolve.
657
- *
658
- * Much faster than path.resolve() when called multiple times for the same
659
- * path, because the resolved Path objects are cached. Much slower
660
- * otherwise.
661
- */
662
- resolve(...paths: string[]): string;
663
- /**
664
- * Resolve one or more path strings to a resolved string, returning
665
- * the posix path. Identical to .resolve() on posix systems, but on
666
- * windows will return a forward-slash separated UNC path.
667
- *
668
- * Same interface as require('path').resolve.
669
- *
670
- * Much faster than path.resolve() when called multiple times for the same
671
- * path, because the resolved Path objects are cached. Much slower
672
- * otherwise.
673
- */
674
- resolvePosix(...paths: string[]): string;
675
- /**
676
- * find the relative path from the cwd to the supplied path string or entry
677
- */
678
- relative(entry?: PathBase | string): string;
679
- /**
680
- * find the relative path from the cwd to the supplied path string or
681
- * entry, using / as the path delimiter, even on Windows.
682
- */
683
- relativePosix(entry?: PathBase | string): string;
684
- /**
685
- * Return the basename for the provided string or Path object
686
- */
687
- basename(entry?: PathBase | string): string;
688
- /**
689
- * Return the dirname for the provided string or Path object
690
- */
691
- dirname(entry?: PathBase | string): string;
692
- /**
693
- * Return an array of known child entries.
694
- *
695
- * First argument may be either a string, or a Path object.
696
- *
697
- * If the Path cannot or does not contain any children, then an empty array
698
- * is returned.
699
- *
700
- * Results are cached, and thus may be out of date if the filesystem is
701
- * mutated.
702
- *
703
- * Unlike `fs.readdir()`, the `withFileTypes` option defaults to `true`. Set
704
- * `{ withFileTypes: false }` to return strings.
705
- */
706
- readdir(): Promise<PathBase[]>;
707
- readdir(opts: {
708
- withFileTypes: true;
709
- }): Promise<PathBase[]>;
710
- readdir(opts: {
711
- withFileTypes: false;
712
- }): Promise<string[]>;
713
- readdir(opts: {
714
- withFileTypes: boolean;
715
- }): Promise<PathBase[] | string[]>;
716
- readdir(entry: PathBase | string): Promise<PathBase[]>;
717
- readdir(entry: PathBase | string, opts: {
718
- withFileTypes: true;
719
- }): Promise<PathBase[]>;
720
- readdir(entry: PathBase | string, opts: {
721
- withFileTypes: false;
722
- }): Promise<string[]>;
723
- readdir(entry: PathBase | string, opts: {
724
- withFileTypes: boolean;
725
- }): Promise<PathBase[] | string[]>;
726
- /**
727
- * synchronous {@link PathScurryBase.readdir}
728
- */
729
- readdirSync(): PathBase[];
730
- readdirSync(opts: {
731
- withFileTypes: true;
732
- }): PathBase[];
733
- readdirSync(opts: {
734
- withFileTypes: false;
735
- }): string[];
736
- readdirSync(opts: {
737
- withFileTypes: boolean;
738
- }): PathBase[] | string[];
739
- readdirSync(entry: PathBase | string): PathBase[];
740
- readdirSync(entry: PathBase | string, opts: {
741
- withFileTypes: true;
742
- }): PathBase[];
743
- readdirSync(entry: PathBase | string, opts: {
744
- withFileTypes: false;
745
- }): string[];
746
- readdirSync(entry: PathBase | string, opts: {
747
- withFileTypes: boolean;
748
- }): PathBase[] | string[];
749
- /**
750
- * Call lstat() on the string or Path object, and update all known
751
- * information that can be determined.
752
- *
753
- * Note that unlike `fs.lstat()`, the returned value does not contain some
754
- * information, such as `mode`, `dev`, `nlink`, and `ino`. If that
755
- * information is required, you will need to call `fs.lstat` yourself.
756
- *
757
- * If the Path refers to a nonexistent file, or if the lstat call fails for
758
- * any reason, `undefined` is returned. Otherwise the updated Path object is
759
- * returned.
760
- *
761
- * Results are cached, and thus may be out of date if the filesystem is
762
- * mutated.
763
- */
764
- lstat(entry?: string | PathBase): Promise<PathBase | undefined>;
765
- /**
766
- * synchronous {@link PathScurryBase.lstat}
767
- */
768
- lstatSync(entry?: string | PathBase): PathBase | undefined;
769
- /**
770
- * Return the Path object or string path corresponding to the target of a
771
- * symbolic link.
772
- *
773
- * If the path is not a symbolic link, or if the readlink call fails for any
774
- * reason, `undefined` is returned.
775
- *
776
- * Result is cached, and thus may be outdated if the filesystem is mutated.
777
- *
778
- * `{withFileTypes}` option defaults to `false`.
779
- *
780
- * On success, returns a Path object if `withFileTypes` option is true,
781
- * otherwise a string.
782
- */
783
- readlink(): Promise<string | undefined>;
784
- readlink(opt: {
785
- withFileTypes: false;
786
- }): Promise<string | undefined>;
787
- readlink(opt: {
788
- withFileTypes: true;
789
- }): Promise<PathBase | undefined>;
790
- readlink(opt: {
791
- withFileTypes: boolean;
792
- }): Promise<PathBase | string | undefined>;
793
- readlink(entry: string | PathBase, opt?: {
794
- withFileTypes: false;
795
- }): Promise<string | undefined>;
796
- readlink(entry: string | PathBase, opt: {
797
- withFileTypes: true;
798
- }): Promise<PathBase | undefined>;
799
- readlink(entry: string | PathBase, opt: {
800
- withFileTypes: boolean;
801
- }): Promise<string | PathBase | undefined>;
802
- /**
803
- * synchronous {@link PathScurryBase.readlink}
804
- */
805
- readlinkSync(): string | undefined;
806
- readlinkSync(opt: {
807
- withFileTypes: false;
808
- }): string | undefined;
809
- readlinkSync(opt: {
810
- withFileTypes: true;
811
- }): PathBase | undefined;
812
- readlinkSync(opt: {
813
- withFileTypes: boolean;
814
- }): PathBase | string | undefined;
815
- readlinkSync(entry: string | PathBase, opt?: {
816
- withFileTypes: false;
817
- }): string | undefined;
818
- readlinkSync(entry: string | PathBase, opt: {
819
- withFileTypes: true;
820
- }): PathBase | undefined;
821
- readlinkSync(entry: string | PathBase, opt: {
822
- withFileTypes: boolean;
823
- }): string | PathBase | undefined;
824
- /**
825
- * Return the Path object or string path corresponding to path as resolved
826
- * by realpath(3).
827
- *
828
- * If the realpath call fails for any reason, `undefined` is returned.
829
- *
830
- * Result is cached, and thus may be outdated if the filesystem is mutated.
831
- *
832
- * `{withFileTypes}` option defaults to `false`.
833
- *
834
- * On success, returns a Path object if `withFileTypes` option is true,
835
- * otherwise a string.
836
- */
837
- realpath(): Promise<string | undefined>;
838
- realpath(opt: {
839
- withFileTypes: false;
840
- }): Promise<string | undefined>;
841
- realpath(opt: {
842
- withFileTypes: true;
843
- }): Promise<PathBase | undefined>;
844
- realpath(opt: {
845
- withFileTypes: boolean;
846
- }): Promise<PathBase | string | undefined>;
847
- realpath(entry: string | PathBase, opt?: {
848
- withFileTypes: false;
849
- }): Promise<string | undefined>;
850
- realpath(entry: string | PathBase, opt: {
851
- withFileTypes: true;
852
- }): Promise<PathBase | undefined>;
853
- realpath(entry: string | PathBase, opt: {
854
- withFileTypes: boolean;
855
- }): Promise<string | PathBase | undefined>;
856
- realpathSync(): string | undefined;
857
- realpathSync(opt: {
858
- withFileTypes: false;
859
- }): string | undefined;
860
- realpathSync(opt: {
861
- withFileTypes: true;
862
- }): PathBase | undefined;
863
- realpathSync(opt: {
864
- withFileTypes: boolean;
865
- }): PathBase | string | undefined;
866
- realpathSync(entry: string | PathBase, opt?: {
867
- withFileTypes: false;
868
- }): string | undefined;
869
- realpathSync(entry: string | PathBase, opt: {
870
- withFileTypes: true;
871
- }): PathBase | undefined;
872
- realpathSync(entry: string | PathBase, opt: {
873
- withFileTypes: boolean;
874
- }): string | PathBase | undefined;
875
- /**
876
- * Asynchronously walk the directory tree, returning an array of
877
- * all path strings or Path objects found.
878
- *
879
- * Note that this will be extremely memory-hungry on large filesystems.
880
- * In such cases, it may be better to use the stream or async iterator
881
- * walk implementation.
882
- */
883
- walk(): Promise<PathBase[]>;
884
- walk(opts: WalkOptionsWithFileTypesTrue | WalkOptionsWithFileTypesUnset): Promise<PathBase[]>;
885
- walk(opts: WalkOptionsWithFileTypesFalse): Promise<string[]>;
886
- walk(opts: WalkOptions): Promise<string[] | PathBase[]>;
887
- walk(entry: string | PathBase): Promise<PathBase[]>;
888
- walk(entry: string | PathBase, opts: WalkOptionsWithFileTypesTrue | WalkOptionsWithFileTypesUnset): Promise<PathBase[]>;
889
- walk(entry: string | PathBase, opts: WalkOptionsWithFileTypesFalse): Promise<string[]>;
890
- walk(entry: string | PathBase, opts: WalkOptions): Promise<PathBase[] | string[]>;
891
- /**
892
- * Synchronously walk the directory tree, returning an array of
893
- * all path strings or Path objects found.
894
- *
895
- * Note that this will be extremely memory-hungry on large filesystems.
896
- * In such cases, it may be better to use the stream or async iterator
897
- * walk implementation.
898
- */
899
- walkSync(): PathBase[];
900
- walkSync(opts: WalkOptionsWithFileTypesTrue | WalkOptionsWithFileTypesUnset): PathBase[];
901
- walkSync(opts: WalkOptionsWithFileTypesFalse): string[];
902
- walkSync(opts: WalkOptions): string[] | PathBase[];
903
- walkSync(entry: string | PathBase): PathBase[];
904
- walkSync(entry: string | PathBase, opts: WalkOptionsWithFileTypesUnset | WalkOptionsWithFileTypesTrue): PathBase[];
905
- walkSync(entry: string | PathBase, opts: WalkOptionsWithFileTypesFalse): string[];
906
- walkSync(entry: string | PathBase, opts: WalkOptions): PathBase[] | string[];
907
- /**
908
- * Support for `for await`
909
- *
910
- * Alias for {@link PathScurryBase.iterate}
911
- *
912
- * Note: As of Node 19, this is very slow, compared to other methods of
913
- * walking. Consider using {@link PathScurryBase.stream} if memory overhead
914
- * and backpressure are concerns, or {@link PathScurryBase.walk} if not.
915
- */
916
- [Symbol.asyncIterator](): AsyncGenerator<PathBase, void, void>;
917
- /**
918
- * Async generator form of {@link PathScurryBase.walk}
919
- *
920
- * Note: As of Node 19, this is very slow, compared to other methods of
921
- * walking, especially if most/all of the directory tree has been previously
922
- * walked. Consider using {@link PathScurryBase.stream} if memory overhead
923
- * and backpressure are concerns, or {@link PathScurryBase.walk} if not.
924
- */
925
- iterate(): AsyncGenerator<PathBase, void, void>;
926
- iterate(opts: WalkOptionsWithFileTypesTrue | WalkOptionsWithFileTypesUnset): AsyncGenerator<PathBase, void, void>;
927
- iterate(opts: WalkOptionsWithFileTypesFalse): AsyncGenerator<string, void, void>;
928
- iterate(opts: WalkOptions): AsyncGenerator<string | PathBase, void, void>;
929
- iterate(entry: string | PathBase): AsyncGenerator<PathBase, void, void>;
930
- iterate(entry: string | PathBase, opts: WalkOptionsWithFileTypesTrue | WalkOptionsWithFileTypesUnset): AsyncGenerator<PathBase, void, void>;
931
- iterate(entry: string | PathBase, opts: WalkOptionsWithFileTypesFalse): AsyncGenerator<string, void, void>;
932
- iterate(entry: string | PathBase, opts: WalkOptions): AsyncGenerator<PathBase | string, void, void>;
933
- /**
934
- * Iterating over a PathScurry performs a synchronous walk.
935
- *
936
- * Alias for {@link PathScurryBase.iterateSync}
937
- */
938
- [Symbol.iterator](): Generator<PathBase, void, void>;
939
- iterateSync(): Generator<PathBase, void, void>;
940
- iterateSync(opts: WalkOptionsWithFileTypesTrue | WalkOptionsWithFileTypesUnset): Generator<PathBase, void, void>;
941
- iterateSync(opts: WalkOptionsWithFileTypesFalse): Generator<string, void, void>;
942
- iterateSync(opts: WalkOptions): Generator<string | PathBase, void, void>;
943
- iterateSync(entry: string | PathBase): Generator<PathBase, void, void>;
944
- iterateSync(entry: string | PathBase, opts: WalkOptionsWithFileTypesTrue | WalkOptionsWithFileTypesUnset): Generator<PathBase, void, void>;
945
- iterateSync(entry: string | PathBase, opts: WalkOptionsWithFileTypesFalse): Generator<string, void, void>;
946
- iterateSync(entry: string | PathBase, opts: WalkOptions): Generator<PathBase | string, void, void>;
947
- /**
948
- * Stream form of {@link PathScurryBase.walk}
949
- *
950
- * Returns a Minipass stream that emits {@link PathBase} objects by default,
951
- * or strings if `{ withFileTypes: false }` is set in the options.
952
- */
953
- stream(): Minipass<PathBase>;
954
- stream(opts: WalkOptionsWithFileTypesTrue | WalkOptionsWithFileTypesUnset): Minipass<PathBase>;
955
- stream(opts: WalkOptionsWithFileTypesFalse): Minipass<string>;
956
- stream(opts: WalkOptions): Minipass<string | PathBase>;
957
- stream(entry: string | PathBase): Minipass<PathBase>;
958
- stream(entry: string | PathBase, opts: WalkOptionsWithFileTypesUnset | WalkOptionsWithFileTypesTrue): Minipass<PathBase>;
959
- stream(entry: string | PathBase, opts: WalkOptionsWithFileTypesFalse): Minipass<string>;
960
- stream(entry: string | PathBase, opts: WalkOptions): Minipass<string> | Minipass<PathBase>;
961
- /**
962
- * Synchronous form of {@link PathScurryBase.stream}
963
- *
964
- * Returns a Minipass stream that emits {@link PathBase} objects by default,
965
- * or strings if `{ withFileTypes: false }` is set in the options.
966
- *
967
- * Will complete the walk in a single tick if the stream is consumed fully.
968
- * Otherwise, will pause as needed for stream backpressure.
969
- */
970
- streamSync(): Minipass<PathBase>;
971
- streamSync(opts: WalkOptionsWithFileTypesTrue | WalkOptionsWithFileTypesUnset): Minipass<PathBase>;
972
- streamSync(opts: WalkOptionsWithFileTypesFalse): Minipass<string>;
973
- streamSync(opts: WalkOptions): Minipass<string | PathBase>;
974
- streamSync(entry: string | PathBase): Minipass<PathBase>;
975
- streamSync(entry: string | PathBase, opts: WalkOptionsWithFileTypesUnset | WalkOptionsWithFileTypesTrue): Minipass<PathBase>;
976
- streamSync(entry: string | PathBase, opts: WalkOptionsWithFileTypesFalse): Minipass<string>;
977
- streamSync(entry: string | PathBase, opts: WalkOptions): Minipass<string> | Minipass<PathBase>;
978
- chdir(path?: string | Path): void;
979
- }
980
- /**
981
- * Options provided to all walk methods.
982
- */
983
- export interface WalkOptions {
984
- /**
985
- * Return results as {@link PathBase} objects rather than strings.
986
- * When set to false, results are fully resolved paths, as returned by
987
- * {@link PathBase.fullpath}.
988
- * @default true
989
- */
990
- withFileTypes?: boolean;
991
- /**
992
- * Attempt to read directory entries from symbolic links. Otherwise, only
993
- * actual directories are traversed. Regardless of this setting, a given
994
- * target path will only ever be walked once, meaning that a symbolic link
995
- * to a previously traversed directory will never be followed.
996
- *
997
- * Setting this imposes a slight performance penalty, because `readlink`
998
- * must be called on all symbolic links encountered, in order to avoid
999
- * infinite cycles.
1000
- * @default false
1001
- */
1002
- follow?: boolean;
1003
- /**
1004
- * Only return entries where the provided function returns true.
1005
- *
1006
- * This will not prevent directories from being traversed, even if they do
1007
- * not pass the filter, though it will prevent directories themselves from
1008
- * being included in the result set. See {@link walkFilter}
1009
- *
1010
- * Asynchronous functions are not supported here.
1011
- *
1012
- * By default, if no filter is provided, all entries and traversed
1013
- * directories are included.
1014
- */
1015
- filter?: (entry: PathBase) => boolean;
1016
- /**
1017
- * Only traverse directories (and in the case of {@link follow} being set to
1018
- * true, symbolic links to directories) if the provided function returns
1019
- * true.
1020
- *
1021
- * This will not prevent directories from being included in the result set,
1022
- * even if they do not pass the supplied filter function. See {@link filter}
1023
- * to do that.
1024
- *
1025
- * Asynchronous functions are not supported here.
1026
- */
1027
- walkFilter?: (entry: PathBase) => boolean;
1028
- }
1029
- export type WalkOptionsWithFileTypesUnset = WalkOptions & {
1030
- withFileTypes?: undefined;
1031
- };
1032
- export type WalkOptionsWithFileTypesTrue = WalkOptions & {
1033
- withFileTypes: true;
1034
- };
1035
- export type WalkOptionsWithFileTypesFalse = WalkOptions & {
1036
- withFileTypes: false;
1037
- };
1038
- /**
1039
- * Windows implementation of {@link PathScurryBase}
1040
- *
1041
- * Defaults to case insensitve, uses `'\\'` to generate path strings. Uses
1042
- * {@link PathWin32} for Path objects.
1043
- */
1044
- export declare class PathScurryWin32 extends PathScurryBase {
1045
- /**
1046
- * separator for generating path strings
1047
- */
1048
- sep: '\\';
1049
- constructor(cwd?: URL | string, opts?: PathScurryOpts);
1050
- /**
1051
- * @internal
1052
- */
1053
- parseRootPath(dir: string): string;
1054
- /**
1055
- * @internal
1056
- */
1057
- newRoot(fs: FSValue): PathWin32;
1058
- /**
1059
- * Return true if the provided path string is an absolute path
1060
- */
1061
- isAbsolute(p: string): boolean;
1062
- }
1063
- /**
1064
- * {@link PathScurryBase} implementation for all posix systems other than Darwin.
1065
- *
1066
- * Defaults to case-sensitive matching, uses `'/'` to generate path strings.
1067
- *
1068
- * Uses {@link PathPosix} for Path objects.
1069
- */
1070
- export declare class PathScurryPosix extends PathScurryBase {
1071
- /**
1072
- * separator for generating path strings
1073
- */
1074
- sep: '/';
1075
- constructor(cwd?: URL | string, opts?: PathScurryOpts);
1076
- /**
1077
- * @internal
1078
- */
1079
- parseRootPath(_dir: string): string;
1080
- /**
1081
- * @internal
1082
- */
1083
- newRoot(fs: FSValue): PathPosix;
1084
- /**
1085
- * Return true if the provided path string is an absolute path
1086
- */
1087
- isAbsolute(p: string): boolean;
1088
- }
1089
- /**
1090
- * {@link PathScurryBase} implementation for Darwin (macOS) systems.
1091
- *
1092
- * Defaults to case-insensitive matching, uses `'/'` for generating path
1093
- * strings.
1094
- *
1095
- * Uses {@link PathPosix} for Path objects.
1096
- */
1097
- export declare class PathScurryDarwin extends PathScurryPosix {
1098
- constructor(cwd?: URL | string, opts?: PathScurryOpts);
1099
- }
1100
- /**
1101
- * Default {@link PathBase} implementation for the current platform.
1102
- *
1103
- * {@link PathWin32} on Windows systems, {@link PathPosix} on all others.
1104
- */
1105
- export declare const Path: typeof PathWin32 | typeof PathPosix;
1106
- export type Path = PathBase | InstanceType<typeof Path>;
1107
- /**
1108
- * Default {@link PathScurryBase} implementation for the current platform.
1109
- *
1110
- * {@link PathScurryWin32} on Windows systems, {@link PathScurryDarwin} on
1111
- * Darwin (macOS) systems, {@link PathScurryPosix} on all others.
1112
- */
1113
- export declare const PathScurry: typeof PathScurryWin32 | typeof PathScurryDarwin | typeof PathScurryPosix;
1114
- export type PathScurry = PathScurryBase | InstanceType<typeof PathScurry>;
1115
- export {};
1116
- //# sourceMappingURL=index.d.ts.map