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,1023 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.unescape = exports.escape = exports.AST = exports.Minimatch = exports.match = exports.makeRe = exports.braceExpand = exports.defaults = exports.filter = exports.GLOBSTAR = exports.sep = exports.minimatch = void 0;
7
- const brace_expansion_1 = __importDefault(require("brace-expansion"));
8
- const assert_valid_pattern_js_1 = require("./assert-valid-pattern.js");
9
- const ast_js_1 = require("./ast.js");
10
- const escape_js_1 = require("./escape.js");
11
- const unescape_js_1 = require("./unescape.js");
12
- const minimatch = (p, pattern, options = {}) => {
13
- (0, assert_valid_pattern_js_1.assertValidPattern)(pattern);
14
- // shortcut: comments match nothing.
15
- if (!options.nocomment && pattern.charAt(0) === '#') {
16
- return false;
17
- }
18
- return new Minimatch(pattern, options).match(p);
19
- };
20
- exports.minimatch = minimatch;
21
- // Optimized checking for the most common glob patterns.
22
- const starDotExtRE = /^\*+([^+@!?\*\[\(]*)$/;
23
- const starDotExtTest = (ext) => (f) => !f.startsWith('.') && f.endsWith(ext);
24
- const starDotExtTestDot = (ext) => (f) => f.endsWith(ext);
25
- const starDotExtTestNocase = (ext) => {
26
- ext = ext.toLowerCase();
27
- return (f) => !f.startsWith('.') && f.toLowerCase().endsWith(ext);
28
- };
29
- const starDotExtTestNocaseDot = (ext) => {
30
- ext = ext.toLowerCase();
31
- return (f) => f.toLowerCase().endsWith(ext);
32
- };
33
- const starDotStarRE = /^\*+\.\*+$/;
34
- const starDotStarTest = (f) => !f.startsWith('.') && f.includes('.');
35
- const starDotStarTestDot = (f) => f !== '.' && f !== '..' && f.includes('.');
36
- const dotStarRE = /^\.\*+$/;
37
- const dotStarTest = (f) => f !== '.' && f !== '..' && f.startsWith('.');
38
- const starRE = /^\*+$/;
39
- const starTest = (f) => f.length !== 0 && !f.startsWith('.');
40
- const starTestDot = (f) => f.length !== 0 && f !== '.' && f !== '..';
41
- const qmarksRE = /^\?+([^+@!?\*\[\(]*)?$/;
42
- const qmarksTestNocase = ([$0, ext = '']) => {
43
- const noext = qmarksTestNoExt([$0]);
44
- if (!ext)
45
- return noext;
46
- ext = ext.toLowerCase();
47
- return (f) => noext(f) && f.toLowerCase().endsWith(ext);
48
- };
49
- const qmarksTestNocaseDot = ([$0, ext = '']) => {
50
- const noext = qmarksTestNoExtDot([$0]);
51
- if (!ext)
52
- return noext;
53
- ext = ext.toLowerCase();
54
- return (f) => noext(f) && f.toLowerCase().endsWith(ext);
55
- };
56
- const qmarksTestDot = ([$0, ext = '']) => {
57
- const noext = qmarksTestNoExtDot([$0]);
58
- return !ext ? noext : (f) => noext(f) && f.endsWith(ext);
59
- };
60
- const qmarksTest = ([$0, ext = '']) => {
61
- const noext = qmarksTestNoExt([$0]);
62
- return !ext ? noext : (f) => noext(f) && f.endsWith(ext);
63
- };
64
- const qmarksTestNoExt = ([$0]) => {
65
- const len = $0.length;
66
- return (f) => f.length === len && !f.startsWith('.');
67
- };
68
- const qmarksTestNoExtDot = ([$0]) => {
69
- const len = $0.length;
70
- return (f) => f.length === len && f !== '.' && f !== '..';
71
- };
72
- /* c8 ignore start */
73
- const defaultPlatform = (typeof process === 'object' && process
74
- ? (typeof process.env === 'object' &&
75
- process.env &&
76
- process.env.__MINIMATCH_TESTING_PLATFORM__) ||
77
- process.platform
78
- : 'posix');
79
- const path = {
80
- win32: { sep: '\\' },
81
- posix: { sep: '/' },
82
- };
83
- /* c8 ignore stop */
84
- exports.sep = defaultPlatform === 'win32' ? path.win32.sep : path.posix.sep;
85
- exports.minimatch.sep = exports.sep;
86
- exports.GLOBSTAR = Symbol('globstar **');
87
- exports.minimatch.GLOBSTAR = exports.GLOBSTAR;
88
- // any single thing other than /
89
- // don't need to escape / when using new RegExp()
90
- const qmark = '[^/]';
91
- // * => any number of characters
92
- const star = qmark + '*?';
93
- // ** when dots are allowed. Anything goes, except .. and .
94
- // not (^ or / followed by one or two dots followed by $ or /),
95
- // followed by anything, any number of times.
96
- const twoStarDot = '(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?';
97
- // not a ^ or / followed by a dot,
98
- // followed by anything, any number of times.
99
- const twoStarNoDot = '(?:(?!(?:\\/|^)\\.).)*?';
100
- const filter = (pattern, options = {}) => (p) => (0, exports.minimatch)(p, pattern, options);
101
- exports.filter = filter;
102
- exports.minimatch.filter = exports.filter;
103
- const ext = (a, b = {}) => Object.assign({}, a, b);
104
- const defaults = (def) => {
105
- if (!def || typeof def !== 'object' || !Object.keys(def).length) {
106
- return exports.minimatch;
107
- }
108
- const orig = exports.minimatch;
109
- const m = (p, pattern, options = {}) => orig(p, pattern, ext(def, options));
110
- return Object.assign(m, {
111
- Minimatch: class Minimatch extends orig.Minimatch {
112
- constructor(pattern, options = {}) {
113
- super(pattern, ext(def, options));
114
- }
115
- static defaults(options) {
116
- return orig.defaults(ext(def, options)).Minimatch;
117
- }
118
- },
119
- AST: class AST extends orig.AST {
120
- /* c8 ignore start */
121
- constructor(type, parent, options = {}) {
122
- super(type, parent, ext(def, options));
123
- }
124
- /* c8 ignore stop */
125
- static fromGlob(pattern, options = {}) {
126
- return orig.AST.fromGlob(pattern, ext(def, options));
127
- }
128
- },
129
- unescape: (s, options = {}) => orig.unescape(s, ext(def, options)),
130
- escape: (s, options = {}) => orig.escape(s, ext(def, options)),
131
- filter: (pattern, options = {}) => orig.filter(pattern, ext(def, options)),
132
- defaults: (options) => orig.defaults(ext(def, options)),
133
- makeRe: (pattern, options = {}) => orig.makeRe(pattern, ext(def, options)),
134
- braceExpand: (pattern, options = {}) => orig.braceExpand(pattern, ext(def, options)),
135
- match: (list, pattern, options = {}) => orig.match(list, pattern, ext(def, options)),
136
- sep: orig.sep,
137
- GLOBSTAR: exports.GLOBSTAR,
138
- });
139
- };
140
- exports.defaults = defaults;
141
- exports.minimatch.defaults = exports.defaults;
142
- // Brace expansion:
143
- // a{b,c}d -> abd acd
144
- // a{b,}c -> abc ac
145
- // a{0..3}d -> a0d a1d a2d a3d
146
- // a{b,c{d,e}f}g -> abg acdfg acefg
147
- // a{b,c}d{e,f}g -> abdeg acdeg abdeg abdfg
148
- //
149
- // Invalid sets are not expanded.
150
- // a{2..}b -> a{2..}b
151
- // a{b}c -> a{b}c
152
- const braceExpand = (pattern, options = {}) => {
153
- (0, assert_valid_pattern_js_1.assertValidPattern)(pattern);
154
- // Thanks to Yeting Li <https://github.com/yetingli> for
155
- // improving this regexp to avoid a ReDOS vulnerability.
156
- if (options.nobrace || !/\{(?:(?!\{).)*\}/.test(pattern)) {
157
- // shortcut. no need to expand.
158
- return [pattern];
159
- }
160
- return (0, brace_expansion_1.default)(pattern);
161
- };
162
- exports.braceExpand = braceExpand;
163
- exports.minimatch.braceExpand = exports.braceExpand;
164
- // parse a component of the expanded set.
165
- // At this point, no pattern may contain "/" in it
166
- // so we're going to return a 2d array, where each entry is the full
167
- // pattern, split on '/', and then turned into a regular expression.
168
- // A regexp is made at the end which joins each array with an
169
- // escaped /, and another full one which joins each regexp with |.
170
- //
171
- // Following the lead of Bash 4.1, note that "**" only has special meaning
172
- // when it is the *only* thing in a path portion. Otherwise, any series
173
- // of * is equivalent to a single *. Globstar behavior is enabled by
174
- // default, and can be disabled by setting options.noglobstar.
175
- const makeRe = (pattern, options = {}) => new Minimatch(pattern, options).makeRe();
176
- exports.makeRe = makeRe;
177
- exports.minimatch.makeRe = exports.makeRe;
178
- const match = (list, pattern, options = {}) => {
179
- const mm = new Minimatch(pattern, options);
180
- list = list.filter(f => mm.match(f));
181
- if (mm.options.nonull && !list.length) {
182
- list.push(pattern);
183
- }
184
- return list;
185
- };
186
- exports.match = match;
187
- exports.minimatch.match = exports.match;
188
- // replace stuff like \* with *
189
- const globMagic = /[?*]|[+@!]\(.*?\)|\[|\]/;
190
- const regExpEscape = (s) => s.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, '\\$&');
191
- class Minimatch {
192
- options;
193
- set;
194
- pattern;
195
- windowsPathsNoEscape;
196
- nonegate;
197
- negate;
198
- comment;
199
- empty;
200
- preserveMultipleSlashes;
201
- partial;
202
- globSet;
203
- globParts;
204
- nocase;
205
- isWindows;
206
- platform;
207
- windowsNoMagicRoot;
208
- maxGlobstarRecursion;
209
- regexp;
210
- constructor(pattern, options = {}) {
211
- (0, assert_valid_pattern_js_1.assertValidPattern)(pattern);
212
- options = options || {};
213
- this.options = options;
214
- this.maxGlobstarRecursion = options.maxGlobstarRecursion ?? 200;
215
- this.pattern = pattern;
216
- this.platform = options.platform || defaultPlatform;
217
- this.isWindows = this.platform === 'win32';
218
- this.windowsPathsNoEscape =
219
- !!options.windowsPathsNoEscape || options.allowWindowsEscape === false;
220
- if (this.windowsPathsNoEscape) {
221
- this.pattern = this.pattern.replace(/\\/g, '/');
222
- }
223
- this.preserveMultipleSlashes = !!options.preserveMultipleSlashes;
224
- this.regexp = null;
225
- this.negate = false;
226
- this.nonegate = !!options.nonegate;
227
- this.comment = false;
228
- this.empty = false;
229
- this.partial = !!options.partial;
230
- this.nocase = !!this.options.nocase;
231
- this.windowsNoMagicRoot =
232
- options.windowsNoMagicRoot !== undefined
233
- ? options.windowsNoMagicRoot
234
- : !!(this.isWindows && this.nocase);
235
- this.globSet = [];
236
- this.globParts = [];
237
- this.set = [];
238
- // make the set of regexps etc.
239
- this.make();
240
- }
241
- hasMagic() {
242
- if (this.options.magicalBraces && this.set.length > 1) {
243
- return true;
244
- }
245
- for (const pattern of this.set) {
246
- for (const part of pattern) {
247
- if (typeof part !== 'string')
248
- return true;
249
- }
250
- }
251
- return false;
252
- }
253
- debug(..._) { }
254
- make() {
255
- const pattern = this.pattern;
256
- const options = this.options;
257
- // empty patterns and comments match nothing.
258
- if (!options.nocomment && pattern.charAt(0) === '#') {
259
- this.comment = true;
260
- return;
261
- }
262
- if (!pattern) {
263
- this.empty = true;
264
- return;
265
- }
266
- // step 1: figure out negation, etc.
267
- this.parseNegate();
268
- // step 2: expand braces
269
- this.globSet = [...new Set(this.braceExpand())];
270
- if (options.debug) {
271
- this.debug = (...args) => console.error(...args);
272
- }
273
- this.debug(this.pattern, this.globSet);
274
- // step 3: now we have a set, so turn each one into a series of
275
- // path-portion matching patterns.
276
- // These will be regexps, except in the case of "**", which is
277
- // set to the GLOBSTAR object for globstar behavior,
278
- // and will not contain any / characters
279
- //
280
- // First, we preprocess to make the glob pattern sets a bit simpler
281
- // and deduped. There are some perf-killing patterns that can cause
282
- // problems with a glob walk, but we can simplify them down a bit.
283
- const rawGlobParts = this.globSet.map(s => this.slashSplit(s));
284
- this.globParts = this.preprocess(rawGlobParts);
285
- this.debug(this.pattern, this.globParts);
286
- // glob --> regexps
287
- let set = this.globParts.map((s, _, __) => {
288
- if (this.isWindows && this.windowsNoMagicRoot) {
289
- // check if it's a drive or unc path.
290
- const isUNC = s[0] === '' &&
291
- s[1] === '' &&
292
- (s[2] === '?' || !globMagic.test(s[2])) &&
293
- !globMagic.test(s[3]);
294
- const isDrive = /^[a-z]:/i.test(s[0]);
295
- if (isUNC) {
296
- return [...s.slice(0, 4), ...s.slice(4).map(ss => this.parse(ss))];
297
- }
298
- else if (isDrive) {
299
- return [s[0], ...s.slice(1).map(ss => this.parse(ss))];
300
- }
301
- }
302
- return s.map(ss => this.parse(ss));
303
- });
304
- this.debug(this.pattern, set);
305
- // filter out everything that didn't compile properly.
306
- this.set = set.filter(s => s.indexOf(false) === -1);
307
- // do not treat the ? in UNC paths as magic
308
- if (this.isWindows) {
309
- for (let i = 0; i < this.set.length; i++) {
310
- const p = this.set[i];
311
- if (p[0] === '' &&
312
- p[1] === '' &&
313
- this.globParts[i][2] === '?' &&
314
- typeof p[3] === 'string' &&
315
- /^[a-z]:$/i.test(p[3])) {
316
- p[2] = '?';
317
- }
318
- }
319
- }
320
- this.debug(this.pattern, this.set);
321
- }
322
- // various transforms to equivalent pattern sets that are
323
- // faster to process in a filesystem walk. The goal is to
324
- // eliminate what we can, and push all ** patterns as far
325
- // to the right as possible, even if it increases the number
326
- // of patterns that we have to process.
327
- preprocess(globParts) {
328
- // if we're not in globstar mode, then turn all ** into *
329
- if (this.options.noglobstar) {
330
- for (let i = 0; i < globParts.length; i++) {
331
- for (let j = 0; j < globParts[i].length; j++) {
332
- if (globParts[i][j] === '**') {
333
- globParts[i][j] = '*';
334
- }
335
- }
336
- }
337
- }
338
- const { optimizationLevel = 1 } = this.options;
339
- if (optimizationLevel >= 2) {
340
- // aggressive optimization for the purpose of fs walking
341
- globParts = this.firstPhasePreProcess(globParts);
342
- globParts = this.secondPhasePreProcess(globParts);
343
- }
344
- else if (optimizationLevel >= 1) {
345
- // just basic optimizations to remove some .. parts
346
- globParts = this.levelOneOptimize(globParts);
347
- }
348
- else {
349
- // just collapse multiple ** portions into one
350
- globParts = this.adjascentGlobstarOptimize(globParts);
351
- }
352
- return globParts;
353
- }
354
- // just get rid of adjascent ** portions
355
- adjascentGlobstarOptimize(globParts) {
356
- return globParts.map(parts => {
357
- let gs = -1;
358
- while (-1 !== (gs = parts.indexOf('**', gs + 1))) {
359
- let i = gs;
360
- while (parts[i + 1] === '**') {
361
- i++;
362
- }
363
- if (i !== gs) {
364
- parts.splice(gs, i - gs);
365
- }
366
- }
367
- return parts;
368
- });
369
- }
370
- // get rid of adjascent ** and resolve .. portions
371
- levelOneOptimize(globParts) {
372
- return globParts.map(parts => {
373
- parts = parts.reduce((set, part) => {
374
- const prev = set[set.length - 1];
375
- if (part === '**' && prev === '**') {
376
- return set;
377
- }
378
- if (part === '..') {
379
- if (prev && prev !== '..' && prev !== '.' && prev !== '**') {
380
- set.pop();
381
- return set;
382
- }
383
- }
384
- set.push(part);
385
- return set;
386
- }, []);
387
- return parts.length === 0 ? [''] : parts;
388
- });
389
- }
390
- levelTwoFileOptimize(parts) {
391
- if (!Array.isArray(parts)) {
392
- parts = this.slashSplit(parts);
393
- }
394
- let didSomething = false;
395
- do {
396
- didSomething = false;
397
- // <pre>/<e>/<rest> -> <pre>/<rest>
398
- if (!this.preserveMultipleSlashes) {
399
- for (let i = 1; i < parts.length - 1; i++) {
400
- const p = parts[i];
401
- // don't squeeze out UNC patterns
402
- if (i === 1 && p === '' && parts[0] === '')
403
- continue;
404
- if (p === '.' || p === '') {
405
- didSomething = true;
406
- parts.splice(i, 1);
407
- i--;
408
- }
409
- }
410
- if (parts[0] === '.' &&
411
- parts.length === 2 &&
412
- (parts[1] === '.' || parts[1] === '')) {
413
- didSomething = true;
414
- parts.pop();
415
- }
416
- }
417
- // <pre>/<p>/../<rest> -> <pre>/<rest>
418
- let dd = 0;
419
- while (-1 !== (dd = parts.indexOf('..', dd + 1))) {
420
- const p = parts[dd - 1];
421
- if (p && p !== '.' && p !== '..' && p !== '**') {
422
- didSomething = true;
423
- parts.splice(dd - 1, 2);
424
- dd -= 2;
425
- }
426
- }
427
- } while (didSomething);
428
- return parts.length === 0 ? [''] : parts;
429
- }
430
- // First phase: single-pattern processing
431
- // <pre> is 1 or more portions
432
- // <rest> is 1 or more portions
433
- // <p> is any portion other than ., .., '', or **
434
- // <e> is . or ''
435
- //
436
- // **/.. is *brutal* for filesystem walking performance, because
437
- // it effectively resets the recursive walk each time it occurs,
438
- // and ** cannot be reduced out by a .. pattern part like a regexp
439
- // or most strings (other than .., ., and '') can be.
440
- //
441
- // <pre>/**/../<p>/<p>/<rest> -> {<pre>/../<p>/<p>/<rest>,<pre>/**/<p>/<p>/<rest>}
442
- // <pre>/<e>/<rest> -> <pre>/<rest>
443
- // <pre>/<p>/../<rest> -> <pre>/<rest>
444
- // **/**/<rest> -> **/<rest>
445
- //
446
- // **/*/<rest> -> */**/<rest> <== not valid because ** doesn't follow
447
- // this WOULD be allowed if ** did follow symlinks, or * didn't
448
- firstPhasePreProcess(globParts) {
449
- let didSomething = false;
450
- do {
451
- didSomething = false;
452
- // <pre>/**/../<p>/<p>/<rest> -> {<pre>/../<p>/<p>/<rest>,<pre>/**/<p>/<p>/<rest>}
453
- for (let parts of globParts) {
454
- let gs = -1;
455
- while (-1 !== (gs = parts.indexOf('**', gs + 1))) {
456
- let gss = gs;
457
- while (parts[gss + 1] === '**') {
458
- // <pre>/**/**/<rest> -> <pre>/**/<rest>
459
- gss++;
460
- }
461
- // eg, if gs is 2 and gss is 4, that means we have 3 **
462
- // parts, and can remove 2 of them.
463
- if (gss > gs) {
464
- parts.splice(gs + 1, gss - gs);
465
- }
466
- let next = parts[gs + 1];
467
- const p = parts[gs + 2];
468
- const p2 = parts[gs + 3];
469
- if (next !== '..')
470
- continue;
471
- if (!p ||
472
- p === '.' ||
473
- p === '..' ||
474
- !p2 ||
475
- p2 === '.' ||
476
- p2 === '..') {
477
- continue;
478
- }
479
- didSomething = true;
480
- // edit parts in place, and push the new one
481
- parts.splice(gs, 1);
482
- const other = parts.slice(0);
483
- other[gs] = '**';
484
- globParts.push(other);
485
- gs--;
486
- }
487
- // <pre>/<e>/<rest> -> <pre>/<rest>
488
- if (!this.preserveMultipleSlashes) {
489
- for (let i = 1; i < parts.length - 1; i++) {
490
- const p = parts[i];
491
- // don't squeeze out UNC patterns
492
- if (i === 1 && p === '' && parts[0] === '')
493
- continue;
494
- if (p === '.' || p === '') {
495
- didSomething = true;
496
- parts.splice(i, 1);
497
- i--;
498
- }
499
- }
500
- if (parts[0] === '.' &&
501
- parts.length === 2 &&
502
- (parts[1] === '.' || parts[1] === '')) {
503
- didSomething = true;
504
- parts.pop();
505
- }
506
- }
507
- // <pre>/<p>/../<rest> -> <pre>/<rest>
508
- let dd = 0;
509
- while (-1 !== (dd = parts.indexOf('..', dd + 1))) {
510
- const p = parts[dd - 1];
511
- if (p && p !== '.' && p !== '..' && p !== '**') {
512
- didSomething = true;
513
- const needDot = dd === 1 && parts[dd + 1] === '**';
514
- const splin = needDot ? ['.'] : [];
515
- parts.splice(dd - 1, 2, ...splin);
516
- if (parts.length === 0)
517
- parts.push('');
518
- dd -= 2;
519
- }
520
- }
521
- }
522
- } while (didSomething);
523
- return globParts;
524
- }
525
- // second phase: multi-pattern dedupes
526
- // {<pre>/*/<rest>,<pre>/<p>/<rest>} -> <pre>/*/<rest>
527
- // {<pre>/<rest>,<pre>/<rest>} -> <pre>/<rest>
528
- // {<pre>/**/<rest>,<pre>/<rest>} -> <pre>/**/<rest>
529
- //
530
- // {<pre>/**/<rest>,<pre>/**/<p>/<rest>} -> <pre>/**/<rest>
531
- // ^-- not valid because ** doens't follow symlinks
532
- secondPhasePreProcess(globParts) {
533
- for (let i = 0; i < globParts.length - 1; i++) {
534
- for (let j = i + 1; j < globParts.length; j++) {
535
- const matched = this.partsMatch(globParts[i], globParts[j], !this.preserveMultipleSlashes);
536
- if (matched) {
537
- globParts[i] = [];
538
- globParts[j] = matched;
539
- break;
540
- }
541
- }
542
- }
543
- return globParts.filter(gs => gs.length);
544
- }
545
- partsMatch(a, b, emptyGSMatch = false) {
546
- let ai = 0;
547
- let bi = 0;
548
- let result = [];
549
- let which = '';
550
- while (ai < a.length && bi < b.length) {
551
- if (a[ai] === b[bi]) {
552
- result.push(which === 'b' ? b[bi] : a[ai]);
553
- ai++;
554
- bi++;
555
- }
556
- else if (emptyGSMatch && a[ai] === '**' && b[bi] === a[ai + 1]) {
557
- result.push(a[ai]);
558
- ai++;
559
- }
560
- else if (emptyGSMatch && b[bi] === '**' && a[ai] === b[bi + 1]) {
561
- result.push(b[bi]);
562
- bi++;
563
- }
564
- else if (a[ai] === '*' &&
565
- b[bi] &&
566
- (this.options.dot || !b[bi].startsWith('.')) &&
567
- b[bi] !== '**') {
568
- if (which === 'b')
569
- return false;
570
- which = 'a';
571
- result.push(a[ai]);
572
- ai++;
573
- bi++;
574
- }
575
- else if (b[bi] === '*' &&
576
- a[ai] &&
577
- (this.options.dot || !a[ai].startsWith('.')) &&
578
- a[ai] !== '**') {
579
- if (which === 'a')
580
- return false;
581
- which = 'b';
582
- result.push(b[bi]);
583
- ai++;
584
- bi++;
585
- }
586
- else {
587
- return false;
588
- }
589
- }
590
- // if we fall out of the loop, it means they two are identical
591
- // as long as their lengths match
592
- return a.length === b.length && result;
593
- }
594
- parseNegate() {
595
- if (this.nonegate)
596
- return;
597
- const pattern = this.pattern;
598
- let negate = false;
599
- let negateOffset = 0;
600
- for (let i = 0; i < pattern.length && pattern.charAt(i) === '!'; i++) {
601
- negate = !negate;
602
- negateOffset++;
603
- }
604
- if (negateOffset)
605
- this.pattern = pattern.slice(negateOffset);
606
- this.negate = negate;
607
- }
608
- // set partial to true to test if, for example,
609
- // "/a/b" matches the start of "/*/b/*/d"
610
- // Partial means, if you run out of file before you run
611
- // out of pattern, then that's fine, as long as all
612
- // the parts match.
613
- matchOne(file, pattern, partial = false) {
614
- let fileStartIndex = 0;
615
- let patternStartIndex = 0;
616
- // UNC paths like //?/X:/... can match X:/... and vice versa
617
- // Drive letters in absolute drive or unc paths are always compared
618
- // case-insensitively.
619
- if (this.isWindows) {
620
- const fileDrive = typeof file[0] === 'string' && /^[a-z]:$/i.test(file[0]);
621
- const fileUNC = !fileDrive &&
622
- file[0] === '' &&
623
- file[1] === '' &&
624
- file[2] === '?' &&
625
- /^[a-z]:$/i.test(file[3]);
626
- const patternDrive = typeof pattern[0] === 'string' && /^[a-z]:$/i.test(pattern[0]);
627
- const patternUNC = !patternDrive &&
628
- pattern[0] === '' &&
629
- pattern[1] === '' &&
630
- pattern[2] === '?' &&
631
- typeof pattern[3] === 'string' &&
632
- /^[a-z]:$/i.test(pattern[3]);
633
- const fdi = fileUNC ? 3 : fileDrive ? 0 : undefined;
634
- const pdi = patternUNC ? 3 : patternDrive ? 0 : undefined;
635
- if (typeof fdi === 'number' && typeof pdi === 'number') {
636
- const [fd, pd] = [
637
- file[fdi],
638
- pattern[pdi],
639
- ];
640
- if (fd.toLowerCase() === pd.toLowerCase()) {
641
- pattern[pdi] = fd;
642
- patternStartIndex = pdi;
643
- fileStartIndex = fdi;
644
- }
645
- }
646
- }
647
- // resolve and reduce . and .. portions in the file as well.
648
- // dont' need to do the second phase, because it's only one string[]
649
- const { optimizationLevel = 1 } = this.options;
650
- if (optimizationLevel >= 2) {
651
- file = this.levelTwoFileOptimize(file);
652
- }
653
- if (pattern.includes(exports.GLOBSTAR)) {
654
- return this.#matchGlobstar(file, pattern, partial, fileStartIndex, patternStartIndex);
655
- }
656
- return this.#matchOne(file, pattern, partial, fileStartIndex, patternStartIndex);
657
- }
658
- #matchGlobstar(file, pattern, partial, fileIndex, patternIndex) {
659
- const firstgs = pattern.indexOf(exports.GLOBSTAR, patternIndex);
660
- const lastgs = pattern.lastIndexOf(exports.GLOBSTAR);
661
- const [head, body, tail] = partial ? [
662
- pattern.slice(patternIndex, firstgs),
663
- pattern.slice(firstgs + 1),
664
- [],
665
- ] : [
666
- pattern.slice(patternIndex, firstgs),
667
- pattern.slice(firstgs + 1, lastgs),
668
- pattern.slice(lastgs + 1),
669
- ];
670
- if (head.length) {
671
- const fileHead = file.slice(fileIndex, fileIndex + head.length);
672
- if (!this.#matchOne(fileHead, head, partial, 0, 0))
673
- return false;
674
- fileIndex += head.length;
675
- }
676
- let fileTailMatch = 0;
677
- if (tail.length) {
678
- if (tail.length + fileIndex > file.length)
679
- return false;
680
- let tailStart = file.length - tail.length;
681
- if (this.#matchOne(file, tail, partial, tailStart, 0)) {
682
- fileTailMatch = tail.length;
683
- }
684
- else {
685
- if (file[file.length - 1] !== '' ||
686
- fileIndex + tail.length === file.length) {
687
- return false;
688
- }
689
- tailStart--;
690
- if (!this.#matchOne(file, tail, partial, tailStart, 0))
691
- return false;
692
- fileTailMatch = tail.length + 1;
693
- }
694
- }
695
- if (!body.length) {
696
- let sawSome = !!fileTailMatch;
697
- for (let i = fileIndex; i < file.length - fileTailMatch; i++) {
698
- const f = String(file[i]);
699
- sawSome = true;
700
- if (f === '.' || f === '..' ||
701
- (!this.options.dot && f.startsWith('.'))) {
702
- return false;
703
- }
704
- }
705
- return partial || sawSome;
706
- }
707
- const bodySegments = [[[], 0]];
708
- let currentBody = bodySegments[0];
709
- let nonGsParts = 0;
710
- const nonGsPartsSums = [0];
711
- for (const b of body) {
712
- if (b === exports.GLOBSTAR) {
713
- nonGsPartsSums.push(nonGsParts);
714
- currentBody = [[], 0];
715
- bodySegments.push(currentBody);
716
- }
717
- else {
718
- currentBody[0].push(b);
719
- nonGsParts++;
720
- }
721
- }
722
- let i = bodySegments.length - 1;
723
- const fileLength = file.length - fileTailMatch;
724
- for (const b of bodySegments) {
725
- b[1] = fileLength - (nonGsPartsSums[i--] + b[0].length);
726
- }
727
- return !!this.#matchGlobStarBodySections(file, bodySegments, fileIndex, 0, partial, 0, !!fileTailMatch);
728
- }
729
- #matchGlobStarBodySections(file, bodySegments, fileIndex, bodyIndex, partial, globStarDepth, sawTail) {
730
- const bs = bodySegments[bodyIndex];
731
- if (!bs) {
732
- for (let i = fileIndex; i < file.length; i++) {
733
- sawTail = true;
734
- const f = file[i];
735
- if (f === '.' || f === '..' ||
736
- (!this.options.dot && f.startsWith('.'))) {
737
- return false;
738
- }
739
- }
740
- return sawTail;
741
- }
742
- const [body, after] = bs;
743
- while (fileIndex <= after) {
744
- const m = this.#matchOne(file.slice(0, fileIndex + body.length), body, partial, fileIndex, 0);
745
- if (m && globStarDepth < this.maxGlobstarRecursion) {
746
- const sub = this.#matchGlobStarBodySections(file, bodySegments, fileIndex + body.length, bodyIndex + 1, partial, globStarDepth + 1, sawTail);
747
- if (sub !== false)
748
- return sub;
749
- }
750
- const f = file[fileIndex];
751
- if (f === '.' || f === '..' ||
752
- (!this.options.dot && f.startsWith('.'))) {
753
- return false;
754
- }
755
- fileIndex++;
756
- }
757
- return partial || null;
758
- }
759
- #matchOne(file, pattern, partial, fileIndex, patternIndex) {
760
- let fi;
761
- let pi;
762
- let pl;
763
- let fl;
764
- for (fi = fileIndex, pi = patternIndex,
765
- fl = file.length, pl = pattern.length; fi < fl && pi < pl; fi++, pi++) {
766
- this.debug('matchOne loop');
767
- let p = pattern[pi];
768
- let f = file[fi];
769
- this.debug(pattern, p, f);
770
- /* c8 ignore start */
771
- if (p === false || p === exports.GLOBSTAR)
772
- return false;
773
- /* c8 ignore stop */
774
- let hit;
775
- if (typeof p === 'string') {
776
- hit = f === p;
777
- this.debug('string match', p, f, hit);
778
- }
779
- else {
780
- hit = p.test(f);
781
- this.debug('pattern match', p, f, hit);
782
- }
783
- if (!hit)
784
- return false;
785
- }
786
- if (fi === fl && pi === pl) {
787
- return true;
788
- }
789
- else if (fi === fl) {
790
- return partial;
791
- }
792
- else if (pi === pl) {
793
- return fi === fl - 1 && file[fi] === '';
794
- /* c8 ignore start */
795
- }
796
- else {
797
- throw new Error('wtf?');
798
- }
799
- /* c8 ignore stop */
800
- }
801
- braceExpand() {
802
- return (0, exports.braceExpand)(this.pattern, this.options);
803
- }
804
- parse(pattern) {
805
- (0, assert_valid_pattern_js_1.assertValidPattern)(pattern);
806
- const options = this.options;
807
- // shortcuts
808
- if (pattern === '**')
809
- return exports.GLOBSTAR;
810
- if (pattern === '')
811
- return '';
812
- // far and away, the most common glob pattern parts are
813
- // *, *.*, and *.<ext> Add a fast check method for those.
814
- let m;
815
- let fastTest = null;
816
- if ((m = pattern.match(starRE))) {
817
- fastTest = options.dot ? starTestDot : starTest;
818
- }
819
- else if ((m = pattern.match(starDotExtRE))) {
820
- fastTest = (options.nocase
821
- ? options.dot
822
- ? starDotExtTestNocaseDot
823
- : starDotExtTestNocase
824
- : options.dot
825
- ? starDotExtTestDot
826
- : starDotExtTest)(m[1]);
827
- }
828
- else if ((m = pattern.match(qmarksRE))) {
829
- fastTest = (options.nocase
830
- ? options.dot
831
- ? qmarksTestNocaseDot
832
- : qmarksTestNocase
833
- : options.dot
834
- ? qmarksTestDot
835
- : qmarksTest)(m);
836
- }
837
- else if ((m = pattern.match(starDotStarRE))) {
838
- fastTest = options.dot ? starDotStarTestDot : starDotStarTest;
839
- }
840
- else if ((m = pattern.match(dotStarRE))) {
841
- fastTest = dotStarTest;
842
- }
843
- const re = ast_js_1.AST.fromGlob(pattern, this.options).toMMPattern();
844
- if (fastTest && typeof re === 'object') {
845
- // Avoids overriding in frozen environments
846
- Reflect.defineProperty(re, 'test', { value: fastTest });
847
- }
848
- return re;
849
- }
850
- makeRe() {
851
- if (this.regexp || this.regexp === false)
852
- return this.regexp;
853
- // at this point, this.set is a 2d array of partial
854
- // pattern strings, or "**".
855
- //
856
- // It's better to use .match(). This function shouldn't
857
- // be used, really, but it's pretty convenient sometimes,
858
- // when you just want to work with a regex.
859
- const set = this.set;
860
- if (!set.length) {
861
- this.regexp = false;
862
- return this.regexp;
863
- }
864
- const options = this.options;
865
- const twoStar = options.noglobstar
866
- ? star
867
- : options.dot
868
- ? twoStarDot
869
- : twoStarNoDot;
870
- const flags = new Set(options.nocase ? ['i'] : []);
871
- // regexpify non-globstar patterns
872
- // if ** is only item, then we just do one twoStar
873
- // if ** is first, and there are more, prepend (\/|twoStar\/)? to next
874
- // if ** is last, append (\/twoStar|) to previous
875
- // if ** is in the middle, append (\/|\/twoStar\/) to previous
876
- // then filter out GLOBSTAR symbols
877
- let re = set
878
- .map(pattern => {
879
- const pp = pattern.map(p => {
880
- if (p instanceof RegExp) {
881
- for (const f of p.flags.split(''))
882
- flags.add(f);
883
- }
884
- return typeof p === 'string'
885
- ? regExpEscape(p)
886
- : p === exports.GLOBSTAR
887
- ? exports.GLOBSTAR
888
- : p._src;
889
- });
890
- pp.forEach((p, i) => {
891
- const next = pp[i + 1];
892
- const prev = pp[i - 1];
893
- if (p !== exports.GLOBSTAR || prev === exports.GLOBSTAR) {
894
- return;
895
- }
896
- if (prev === undefined) {
897
- if (next !== undefined && next !== exports.GLOBSTAR) {
898
- pp[i + 1] = '(?:\\/|' + twoStar + '\\/)?' + next;
899
- }
900
- else {
901
- pp[i] = twoStar;
902
- }
903
- }
904
- else if (next === undefined) {
905
- pp[i - 1] = prev + '(?:\\/|' + twoStar + ')?';
906
- }
907
- else if (next !== exports.GLOBSTAR) {
908
- pp[i - 1] = prev + '(?:\\/|\\/' + twoStar + '\\/)' + next;
909
- pp[i + 1] = exports.GLOBSTAR;
910
- }
911
- });
912
- return pp.filter(p => p !== exports.GLOBSTAR).join('/');
913
- })
914
- .join('|');
915
- // need to wrap in parens if we had more than one thing with |,
916
- // otherwise only the first will be anchored to ^ and the last to $
917
- const [open, close] = set.length > 1 ? ['(?:', ')'] : ['', ''];
918
- // must match entire pattern
919
- // ending in a * or ** will make it less strict.
920
- re = '^' + open + re + close + '$';
921
- // can match anything, as long as it's not this.
922
- if (this.negate)
923
- re = '^(?!' + re + ').+$';
924
- try {
925
- this.regexp = new RegExp(re, [...flags].join(''));
926
- /* c8 ignore start */
927
- }
928
- catch (ex) {
929
- // should be impossible
930
- this.regexp = false;
931
- }
932
- /* c8 ignore stop */
933
- return this.regexp;
934
- }
935
- slashSplit(p) {
936
- // if p starts with // on windows, we preserve that
937
- // so that UNC paths aren't broken. Otherwise, any number of
938
- // / characters are coalesced into one, unless
939
- // preserveMultipleSlashes is set to true.
940
- if (this.preserveMultipleSlashes) {
941
- return p.split('/');
942
- }
943
- else if (this.isWindows && /^\/\/[^\/]+/.test(p)) {
944
- // add an extra '' for the one we lose
945
- return ['', ...p.split(/\/+/)];
946
- }
947
- else {
948
- return p.split(/\/+/);
949
- }
950
- }
951
- match(f, partial = this.partial) {
952
- this.debug('match', f, this.pattern);
953
- // short-circuit in the case of busted things.
954
- // comments, etc.
955
- if (this.comment) {
956
- return false;
957
- }
958
- if (this.empty) {
959
- return f === '';
960
- }
961
- if (f === '/' && partial) {
962
- return true;
963
- }
964
- const options = this.options;
965
- // windows: need to use /, not \
966
- if (this.isWindows) {
967
- f = f.split('\\').join('/');
968
- }
969
- // treat the test path as a set of pathparts.
970
- const ff = this.slashSplit(f);
971
- this.debug(this.pattern, 'split', ff);
972
- // just ONE of the pattern sets in this.set needs to match
973
- // in order for it to be valid. If negating, then just one
974
- // match means that we have failed.
975
- // Either way, return on the first hit.
976
- const set = this.set;
977
- this.debug(this.pattern, 'set', set);
978
- // Find the basename of the path by looking for the last non-empty segment
979
- let filename = ff[ff.length - 1];
980
- if (!filename) {
981
- for (let i = ff.length - 2; !filename && i >= 0; i--) {
982
- filename = ff[i];
983
- }
984
- }
985
- for (let i = 0; i < set.length; i++) {
986
- const pattern = set[i];
987
- let file = ff;
988
- if (options.matchBase && pattern.length === 1) {
989
- file = [filename];
990
- }
991
- const hit = this.matchOne(file, pattern, partial);
992
- if (hit) {
993
- if (options.flipNegate) {
994
- return true;
995
- }
996
- return !this.negate;
997
- }
998
- }
999
- // didn't get any hits. this is success if it's a negative
1000
- // pattern, failure otherwise.
1001
- if (options.flipNegate) {
1002
- return false;
1003
- }
1004
- return this.negate;
1005
- }
1006
- static defaults(def) {
1007
- return exports.minimatch.defaults(def).Minimatch;
1008
- }
1009
- }
1010
- exports.Minimatch = Minimatch;
1011
- /* c8 ignore start */
1012
- var ast_js_2 = require("./ast.js");
1013
- Object.defineProperty(exports, "AST", { enumerable: true, get: function () { return ast_js_2.AST; } });
1014
- var escape_js_2 = require("./escape.js");
1015
- Object.defineProperty(exports, "escape", { enumerable: true, get: function () { return escape_js_2.escape; } });
1016
- var unescape_js_2 = require("./unescape.js");
1017
- Object.defineProperty(exports, "unescape", { enumerable: true, get: function () { return unescape_js_2.unescape; } });
1018
- /* c8 ignore stop */
1019
- exports.minimatch.AST = ast_js_1.AST;
1020
- exports.minimatch.Minimatch = Minimatch;
1021
- exports.minimatch.escape = escape_js_1.escape;
1022
- exports.minimatch.unescape = unescape_js_1.unescape;
1023
- //# sourceMappingURL=index.js.map