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,256 +0,0 @@
1
- #!/usr/bin/env node
2
- import { readFile } from 'fs/promises';
3
- import { rimraf } from './index.js';
4
- const pj = fileURLToPath(new URL('../package.json', import.meta.url));
5
- const pjDist = fileURLToPath(new URL('../../package.json', import.meta.url));
6
- const { version } = JSON.parse(await readFile(pjDist, 'utf8').catch(() => readFile(pj, 'utf8')));
7
- const runHelpForUsage = () => console.error('run `rimraf --help` for usage information');
8
- export const help = `rimraf version ${version}
9
-
10
- Usage: rimraf <path> [<path> ...]
11
- Deletes all files and folders at "path", recursively.
12
-
13
- Options:
14
- -- Treat all subsequent arguments as paths
15
- -h --help Display this usage info
16
- --preserve-root Do not remove '/' recursively (default)
17
- --no-preserve-root Do not treat '/' specially
18
- -G --no-glob Treat arguments as literal paths, not globs (default)
19
- -g --glob Treat arguments as glob patterns
20
- -v --verbose Be verbose when deleting files, showing them as
21
- they are removed. Not compatible with --impl=native
22
- -V --no-verbose Be silent when deleting files, showing nothing as
23
- they are removed (default)
24
- -i --interactive Ask for confirmation before deleting anything
25
- Not compatible with --impl=native
26
- -I --no-interactive Do not ask for confirmation before deleting
27
-
28
- --impl=<type> Specify the implementation to use:
29
- rimraf: choose the best option (default)
30
- native: the built-in implementation in Node.js
31
- manual: the platform-specific JS implementation
32
- posix: the Posix JS implementation
33
- windows: the Windows JS implementation (falls back to
34
- move-remove on ENOTEMPTY)
35
- move-remove: a slow reliable Windows fallback
36
-
37
- Implementation-specific options:
38
- --tmp=<path> Temp file folder for 'move-remove' implementation
39
- --max-retries=<n> maxRetries for 'native' and 'windows' implementations
40
- --retry-delay=<n> retryDelay for 'native' implementation, default 100
41
- --backoff=<n> Exponential backoff factor for retries (default: 1.2)
42
- `;
43
- import { parse, relative, resolve } from 'path';
44
- const cwd = process.cwd();
45
- import { createInterface } from 'readline';
46
- import { fileURLToPath } from 'url';
47
- const prompt = async (rl, q) => new Promise(res => rl.question(q, res));
48
- const interactiveRimraf = async (impl, paths, opt) => {
49
- const existingFilter = opt.filter || (() => true);
50
- let allRemaining = false;
51
- let noneRemaining = false;
52
- const queue = [];
53
- let processing = false;
54
- const processQueue = async () => {
55
- if (processing)
56
- return;
57
- processing = true;
58
- let next;
59
- while ((next = queue.shift())) {
60
- await next();
61
- }
62
- processing = false;
63
- };
64
- const oneAtATime = (fn) => async (s, e) => {
65
- const p = new Promise(res => {
66
- queue.push(async () => {
67
- const result = await fn(s, e);
68
- res(result);
69
- return result;
70
- });
71
- });
72
- processQueue();
73
- return p;
74
- };
75
- const rl = createInterface({
76
- input: process.stdin,
77
- output: process.stdout,
78
- });
79
- opt.filter = oneAtATime(async (path, ent) => {
80
- if (noneRemaining) {
81
- return false;
82
- }
83
- while (!allRemaining) {
84
- const a = (await prompt(rl, `rm? ${relative(cwd, path)}\n[(Yes)/No/All/Quit] > `)).trim();
85
- if (/^n/i.test(a)) {
86
- return false;
87
- }
88
- else if (/^a/i.test(a)) {
89
- allRemaining = true;
90
- break;
91
- }
92
- else if (/^q/i.test(a)) {
93
- noneRemaining = true;
94
- return false;
95
- }
96
- else if (a === '' || /^y/i.test(a)) {
97
- break;
98
- }
99
- else {
100
- continue;
101
- }
102
- }
103
- return existingFilter(path, ent);
104
- });
105
- await impl(paths, opt);
106
- rl.close();
107
- };
108
- const main = async (...args) => {
109
- const verboseFilter = (s) => {
110
- console.log(relative(cwd, s));
111
- return true;
112
- };
113
- if (process.env.__RIMRAF_TESTING_BIN_FAIL__ === '1') {
114
- throw new Error('simulated rimraf failure');
115
- }
116
- const opt = {};
117
- const paths = [];
118
- let dashdash = false;
119
- let impl = rimraf;
120
- let interactive = false;
121
- for (const arg of args) {
122
- if (dashdash) {
123
- paths.push(arg);
124
- continue;
125
- }
126
- if (arg === '--') {
127
- dashdash = true;
128
- continue;
129
- }
130
- else if (arg === '-rf' || arg === '-fr') {
131
- // this never did anything, but people put it there I guess
132
- continue;
133
- }
134
- else if (arg === '-h' || arg === '--help') {
135
- console.log(help);
136
- return 0;
137
- }
138
- else if (arg === '--interactive' || arg === '-i') {
139
- interactive = true;
140
- continue;
141
- }
142
- else if (arg === '--no-interactive' || arg === '-I') {
143
- interactive = false;
144
- continue;
145
- }
146
- else if (arg === '--verbose' || arg === '-v') {
147
- opt.filter = verboseFilter;
148
- continue;
149
- }
150
- else if (arg === '--no-verbose' || arg === '-V') {
151
- opt.filter = undefined;
152
- continue;
153
- }
154
- else if (arg === '-g' || arg === '--glob') {
155
- opt.glob = true;
156
- continue;
157
- }
158
- else if (arg === '-G' || arg === '--no-glob') {
159
- opt.glob = false;
160
- continue;
161
- }
162
- else if (arg === '--preserve-root') {
163
- opt.preserveRoot = true;
164
- continue;
165
- }
166
- else if (arg === '--no-preserve-root') {
167
- opt.preserveRoot = false;
168
- continue;
169
- }
170
- else if (/^--tmp=/.test(arg)) {
171
- const val = arg.substring('--tmp='.length);
172
- opt.tmp = val;
173
- continue;
174
- }
175
- else if (/^--max-retries=/.test(arg)) {
176
- const val = +arg.substring('--max-retries='.length);
177
- opt.maxRetries = val;
178
- continue;
179
- }
180
- else if (/^--retry-delay=/.test(arg)) {
181
- const val = +arg.substring('--retry-delay='.length);
182
- opt.retryDelay = val;
183
- continue;
184
- }
185
- else if (/^--backoff=/.test(arg)) {
186
- const val = +arg.substring('--backoff='.length);
187
- opt.backoff = val;
188
- continue;
189
- }
190
- else if (/^--impl=/.test(arg)) {
191
- const val = arg.substring('--impl='.length);
192
- switch (val) {
193
- case 'rimraf':
194
- impl = rimraf;
195
- continue;
196
- case 'native':
197
- case 'manual':
198
- case 'posix':
199
- case 'windows':
200
- impl = rimraf[val];
201
- continue;
202
- case 'move-remove':
203
- impl = rimraf.moveRemove;
204
- continue;
205
- default:
206
- console.error(`unknown implementation: ${val}`);
207
- runHelpForUsage();
208
- return 1;
209
- }
210
- }
211
- else if (/^-/.test(arg)) {
212
- console.error(`unknown option: ${arg}`);
213
- runHelpForUsage();
214
- return 1;
215
- }
216
- else {
217
- paths.push(arg);
218
- }
219
- }
220
- if (opt.preserveRoot !== false) {
221
- for (const path of paths.map(p => resolve(p))) {
222
- if (path === parse(path).root) {
223
- console.error(`rimraf: it is dangerous to operate recursively on '/'`);
224
- console.error('use --no-preserve-root to override this failsafe');
225
- return 1;
226
- }
227
- }
228
- }
229
- if (!paths.length) {
230
- console.error('rimraf: must provide a path to remove');
231
- runHelpForUsage();
232
- return 1;
233
- }
234
- if (impl === rimraf.native && (interactive || opt.filter)) {
235
- console.error('native implementation does not support -v or -i');
236
- runHelpForUsage();
237
- return 1;
238
- }
239
- if (interactive) {
240
- await interactiveRimraf(impl, paths, opt);
241
- }
242
- else {
243
- await impl(paths, opt);
244
- }
245
- return 0;
246
- };
247
- main.help = help;
248
- export default main;
249
- if (process.env.__TESTING_RIMRAF_BIN__ !== '1') {
250
- const args = process.argv.slice(2);
251
- main(...args).then(code => process.exit(code), er => {
252
- console.error(er);
253
- process.exit(1);
254
- });
255
- }
256
- //# sourceMappingURL=bin.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"bin.mjs","sourceRoot":"","sources":["../../src/bin.mts"],"names":[],"mappings":";AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAEtC,OAAO,EAAE,MAAM,EAAE,MAAM,YAAY,CAAA;AAEnC,MAAM,EAAE,GAAG,aAAa,CAAC,IAAI,GAAG,CAAC,iB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EAAE,CAAC;QAClB,OAAO,CAAC,KAAK,CAAC,uCAAuC,CAAC,CAAA;QACtD,eAAe,EAAE,CAAA;QACjB,OAAO,CAAC,CAAA;IACV,CAAC;IAED,IAAI,IAAI,KAAK,MAAM,CAAC,MAAM,IAAI,CAAC,WAAW,IAAI,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC;QAC1D,OAAO,CAAC,KAAK,CAAC,iDAAiD,CAAC,CAAA;QAChE,eAAe,EAAE,CAAA;QACjB,OAAO,CAAC,CAAA;IACV,CAAC;IAED,IAAI,WAAW,EAAE,CAAC;QAChB,MAAM,iBAAiB,CAAC,IAAI,EAAE,KAAK,EAAE,GAAG,CAAC,CAAA;IAC3C,CAAC;SAAM,CAAC;QACN,MAAM,IAAI,CAAC,KAAK,EAAE,GAAG,CAAC,CAAA;IACxB,CAAC;IAED,OAAO,CAAC,CAAA;AACV,CAAC,CAAA;AACD,IAAI,CAAC,IAAI,GAAG,IAAI,CAAA;AAEhB,eAAe,IAAI,CAAA;AAEnB,IAAI,OAAO,CAAC,GAAG,CAAC,sBAAsB,KAAK,GAAG,EAAE,CAAC;IAC/C,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAA;IAClC,IAAI,CAAC,GAAG,IAAI,CAAC,CAAC,IAAI,CAChB,IAAI,CAAC,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAC1B,EAAE,CAAC,EAAE;QACH,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC,CAAA;QACjB,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAA;IACjB,CAAC,CACF,CAAA;AACH,CAAC","sourcesContent":["#!/usr/bin/env node\nimport { readFile } from 'fs/promises'\nimport type { RimrafAsyncOptions } from './index.js'\nimport { rimraf } from './index.js'\n\nconst pj = fileURLToPath(new URL('../package.json', import.meta.url))\nconst pjDist = fileURLToPath(new URL('../../package.json', import.meta.url))\nconst { version } = JSON.parse(\n await readFile(pjDist, 'utf8').catch(() => readFile(pj, 'utf8')),\n) as { version: string }\n\nconst runHelpForUsage = () =>\n console.error('run `rimraf --help` for usage information')\n\nexport const help = `rimraf version ${version}\n\nUsage: rimraf <path> [<path> ...]\nDeletes all files and folders at \"path\", recursively.\n\nOptions:\n -- Treat all subsequent arguments as paths\n -h --help Display this usage info\n --preserve-root Do not remove '/' recursively (default)\n --no-preserve-root Do not treat '/' specially\n -G --no-glob Treat arguments as literal paths, not globs (default)\n -g --glob Treat arguments as glob patterns\n -v --verbose Be verbose when deleting files, showing them as\n they are removed. Not compatible with --impl=native\n -V --no-verbose Be silent when deleting files, showing nothing as\n they are removed (default)\n -i --interactive Ask for confirmation before deleting anything\n Not compatible with --impl=native\n -I --no-interactive Do not ask for confirmation before deleting\n\n --impl=<type> Specify the implementation to use:\n rimraf: choose the best option (default)\n native: the built-in implementation in Node.js\n manual: the platform-specific JS implementation\n posix: the Posix JS implementation\n windows: the Windows JS implementation (falls back to\n move-remove on ENOTEMPTY)\n move-remove: a slow reliable Windows fallback\n\nImplementation-specific options:\n --tmp=<path> Temp file folder for 'move-remove' implementation\n --max-retries=<n> maxRetries for 'native' and 'windows' implementations\n --retry-delay=<n> retryDelay for 'native' implementation, default 100\n --backoff=<n> Exponential backoff factor for retries (default: 1.2)\n`\n\nimport { parse, relative, resolve } from 'path'\nconst cwd = process.cwd()\n\nimport { Dirent, Stats } from 'fs'\nimport { createInterface, Interface } from 'readline'\nimport { fileURLToPath } from 'url'\n\nconst prompt = async (rl: Interface, q: string) =>\n new Promise<string>(res => rl.question(q, res))\n\nconst interactiveRimraf = async (\n impl: (path: string | string[], opt?: RimrafAsyncOptions) => Promise<boolean>,\n paths: string[],\n opt: RimrafAsyncOptions,\n) => {\n const existingFilter = opt.filter || (() => true)\n let allRemaining = false\n let noneRemaining = false\n const queue: (() => Promise<boolean>)[] = []\n let processing = false\n const processQueue = async () => {\n if (processing) return\n processing = true\n let next: (() => Promise<boolean>) | undefined\n while ((next = queue.shift())) {\n await next()\n }\n processing = false\n }\n const oneAtATime =\n (fn: (s: string, e: Dirent | Stats) => Promise<boolean>) =>\n async (s: string, e: Dirent | Stats): Promise<boolean> => {\n const p = new Promise<boolean>(res => {\n queue.push(async () => {\n const result = await fn(s, e)\n res(result)\n return result\n })\n })\n processQueue()\n return p\n }\n const rl = createInterface({\n input: process.stdin,\n output: process.stdout,\n })\n opt.filter = oneAtATime(\n async (path: string, ent: Dirent | Stats): Promise<boolean> => {\n if (noneRemaining) {\n return false\n }\n while (!allRemaining) {\n const a = (\n await prompt(rl, `rm? ${relative(cwd, path)}\\n[(Yes)/No/All/Quit] > `)\n ).trim()\n if (/^n/i.test(a)) {\n return false\n } else if (/^a/i.test(a)) {\n allRemaining = true\n break\n } else if (/^q/i.test(a)) {\n noneRemaining = true\n return false\n } else if (a === '' || /^y/i.test(a)) {\n break\n } else {\n continue\n }\n }\n return existingFilter(path, ent)\n },\n )\n await impl(paths, opt)\n rl.close()\n}\n\nconst main = async (...args: string[]) => {\n const verboseFilter = (s: string) => {\n console.log(relative(cwd, s))\n return true\n }\n\n if (process.env.__RIMRAF_TESTING_BIN_FAIL__ === '1') {\n throw new Error('simulated rimraf failure')\n }\n\n const opt: RimrafAsyncOptions = {}\n const paths: string[] = []\n let dashdash = false\n let impl: (\n path: string | string[],\n opt?: RimrafAsyncOptions,\n ) => Promise<boolean> = rimraf\n\n let interactive = false\n\n for (const arg of args) {\n if (dashdash) {\n paths.push(arg)\n continue\n }\n if (arg === '--') {\n dashdash = true\n continue\n } else if (arg === '-rf' || arg === '-fr') {\n // this never did anything, but people put it there I guess\n continue\n } else if (arg === '-h' || arg === '--help') {\n console.log(help)\n return 0\n } else if (arg === '--interactive' || arg === '-i') {\n interactive = true\n continue\n } else if (arg === '--no-interactive' || arg === '-I') {\n interactive = false\n continue\n } else if (arg === '--verbose' || arg === '-v') {\n opt.filter = verboseFilter\n continue\n } else if (arg === '--no-verbose' || arg === '-V') {\n opt.filter = undefined\n continue\n } else if (arg === '-g' || arg === '--glob') {\n opt.glob = true\n continue\n } else if (arg === '-G' || arg === '--no-glob') {\n opt.glob = false\n continue\n } else if (arg === '--preserve-root') {\n opt.preserveRoot = true\n continue\n } else if (arg === '--no-preserve-root') {\n opt.preserveRoot = false\n continue\n } else if (/^--tmp=/.test(arg)) {\n const val = arg.substring('--tmp='.length)\n opt.tmp = val\n continue\n } else if (/^--max-retries=/.test(arg)) {\n const val = +arg.substring('--max-retries='.length)\n opt.maxRetries = val\n continue\n } else if (/^--retry-delay=/.test(arg)) {\n const val = +arg.substring('--retry-delay='.length)\n opt.retryDelay = val\n continue\n } else if (/^--backoff=/.test(arg)) {\n const val = +arg.substring('--backoff='.length)\n opt.backoff = val\n continue\n } else if (/^--impl=/.test(arg)) {\n const val = arg.substring('--impl='.length)\n switch (val) {\n case 'rimraf':\n impl = rimraf\n continue\n case 'native':\n case 'manual':\n case 'posix':\n case 'windows':\n impl = rimraf[val]\n continue\n case 'move-remove':\n impl = rimraf.moveRemove\n continue\n default:\n console.error(`unknown implementation: ${val}`)\n runHelpForUsage()\n return 1\n }\n } else if (/^-/.test(arg)) {\n console.error(`unknown option: ${arg}`)\n runHelpForUsage()\n return 1\n } else {\n paths.push(arg)\n }\n }\n\n if (opt.preserveRoot !== false) {\n for (const path of paths.map(p => resolve(p))) {\n if (path === parse(path).root) {\n console.error(`rimraf: it is dangerous to operate recursively on '/'`)\n console.error('use --no-preserve-root to override this failsafe')\n return 1\n }\n }\n }\n\n if (!paths.length) {\n console.error('rimraf: must provide a path to remove')\n runHelpForUsage()\n return 1\n }\n\n if (impl === rimraf.native && (interactive || opt.filter)) {\n console.error('native implementation does not support -v or -i')\n runHelpForUsage()\n return 1\n }\n\n if (interactive) {\n await interactiveRimraf(impl, paths, opt)\n } else {\n await impl(paths, opt)\n }\n\n return 0\n}\nmain.help = help\n\nexport default main\n\nif (process.env.__TESTING_RIMRAF_BIN__ !== '1') {\n const args = process.argv.slice(2)\n main(...args).then(\n code => process.exit(code),\n er => {\n console.error(er)\n process.exit(1)\n },\n )\n}\n"]}
@@ -1,3 +0,0 @@
1
- export declare const defaultTmp: (path: string) => Promise<string>;
2
- export declare const defaultTmpSync: (path: string) => string;
3
- //# sourceMappingURL=default-tmp.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"default-tmp.d.ts","sourceRoot":"","sources":["../../src/default-tmp.ts"],"names":[],"mappings":"AAiEA,eAAO,MAAM,UAAU,SAnCc,MAAM,oBAoCe,CAAA;AAC1D,eAAO,MAAM,cAAc,SArBQ,MAAM,WAsByB,CAAA"}
@@ -1,55 +0,0 @@
1
- // The default temporary folder location for use in the windows algorithm.
2
- // It's TEMPting to use dirname(path), since that's guaranteed to be on the
3
- // same device. However, this means that:
4
- // rimraf(path).then(() => rimraf(dirname(path)))
5
- // will often fail with EBUSY, because the parent dir contains
6
- // marked-for-deletion directory entries (which do not show up in readdir).
7
- // The approach here is to use os.tmpdir() if it's on the same drive letter,
8
- // or resolve(path, '\\temp') if it exists, or the root of the drive if not.
9
- // On Posix (not that you'd be likely to use the windows algorithm there),
10
- // it uses os.tmpdir() always.
11
- import { tmpdir } from 'os';
12
- import { parse, resolve } from 'path';
13
- import { promises, statSync } from './fs.js';
14
- import platform from './platform.js';
15
- const { stat } = promises;
16
- const isDirSync = (path) => {
17
- try {
18
- return statSync(path).isDirectory();
19
- }
20
- catch (er) {
21
- return false;
22
- }
23
- };
24
- const isDir = (path) => stat(path).then(st => st.isDirectory(), () => false);
25
- const win32DefaultTmp = async (path) => {
26
- const { root } = parse(path);
27
- const tmp = tmpdir();
28
- const { root: tmpRoot } = parse(tmp);
29
- if (root.toLowerCase() === tmpRoot.toLowerCase()) {
30
- return tmp;
31
- }
32
- const driveTmp = resolve(root, '/temp');
33
- if (await isDir(driveTmp)) {
34
- return driveTmp;
35
- }
36
- return root;
37
- };
38
- const win32DefaultTmpSync = (path) => {
39
- const { root } = parse(path);
40
- const tmp = tmpdir();
41
- const { root: tmpRoot } = parse(tmp);
42
- if (root.toLowerCase() === tmpRoot.toLowerCase()) {
43
- return tmp;
44
- }
45
- const driveTmp = resolve(root, '/temp');
46
- if (isDirSync(driveTmp)) {
47
- return driveTmp;
48
- }
49
- return root;
50
- };
51
- const posixDefaultTmp = async () => tmpdir();
52
- const posixDefaultTmpSync = () => tmpdir();
53
- export const defaultTmp = platform === 'win32' ? win32DefaultTmp : posixDefaultTmp;
54
- export const defaultTmpSync = platform === 'win32' ? win32DefaultTmpSync : posixDefaultTmpSync;
55
- //# sourceMappingURL=default-tmp.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"default-tmp.js","sourceRoot":"","sources":["../../src/default-tmp.ts"],"names":[],"mappings":"AAAA,0EAA0E;AAC1E,2EAA2E;AAC3E,0CAA0C;AAC1C,iDAAiD;AACjD,8DAA8D;AAC9D,2EAA2E;AAC3E,4EAA4E;AAC5E,4EAA4E;AAC5E,0EAA0E;AAC1E,8BAA8B;AAC9B,OAAO,EAAE,MAAM,EAAE,MAAM,IAAI,CAAA;AAC3B,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,MAAM,CAAA;AACrC,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAC5C,OAAO,QAAQ,MAAM,eAAe,CAAA;AACpC,MAAM,EAAE,IAAI,EAAE,GAAG,QAAQ,CAAA;AAEzB,MAAM,SAAS,GAAG,CAAC,IAAY,EAAE,EAAE;IACjC,IAAI,CAAC;QACH,OAAO,QAAQ,CAAC,IAAI,CAAC,CAAC,WAAW,EAAE,CAAA;IACrC,CAAC;IAAC,OAAO,EAAE,EAAE,CAAC;QACZ,OAAO,KAAK,CAAA;IACd,CAAC;AACH,CAAC,CAAA;AAED,MAAM,KAAK,GAAG,CAAC,IAAY,EAAE,EAAE,CAC7B,IAAI,CAAC,IAAI,CAAC,CAAC,IAAI,CACb,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,WAAW,EAAE,EACtB,GA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G,EAAE,CAAC,MAAM,EAAE,CAAA;AAE1C,MAAM,CAAC,MAAM,UAAU,GACrB,QAAQ,KAAK,OAAO,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,eAAe,CAAA;AAC1D,MAAM,CAAC,MAAM,cAAc,GACzB,QAAQ,KAAK,OAAO,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,mBAAmB,CAAA","sourcesContent":["// The default temporary folder location for use in the windows algorithm.\n// It's TEMPting to use dirname(path), since that's guaranteed to be on the\n// same device. However, this means that:\n// rimraf(path).then(() => rimraf(dirname(path)))\n// will often fail with EBUSY, because the parent dir contains\n// marked-for-deletion directory entries (which do not show up in readdir).\n// The approach here is to use os.tmpdir() if it's on the same drive letter,\n// or resolve(path, '\\\\temp') if it exists, or the root of the drive if not.\n// On Posix (not that you'd be likely to use the windows algorithm there),\n// it uses os.tmpdir() always.\nimport { tmpdir } from 'os'\nimport { parse, resolve } from 'path'\nimport { promises, statSync } from './fs.js'\nimport platform from './platform.js'\nconst { stat } = promises\n\nconst isDirSync = (path: string) => {\n try {\n return statSync(path).isDirectory()\n } catch (er) {\n return false\n }\n}\n\nconst isDir = (path: string) =>\n stat(path).then(\n st => st.isDirectory(),\n () => false,\n )\n\nconst win32DefaultTmp = async (path: string) => {\n const { root } = parse(path)\n const tmp = tmpdir()\n const { root: tmpRoot } = parse(tmp)\n if (root.toLowerCase() === tmpRoot.toLowerCase()) {\n return tmp\n }\n\n const driveTmp = resolve(root, '/temp')\n if (await isDir(driveTmp)) {\n return driveTmp\n }\n\n return root\n}\n\nconst win32DefaultTmpSync = (path: string) => {\n const { root } = parse(path)\n const tmp = tmpdir()\n const { root: tmpRoot } = parse(tmp)\n if (root.toLowerCase() === tmpRoot.toLowerCase()) {\n return tmp\n }\n\n const driveTmp = resolve(root, '/temp')\n if (isDirSync(driveTmp)) {\n return driveTmp\n }\n\n return root\n}\n\nconst posixDefaultTmp = async () => tmpdir()\nconst posixDefaultTmpSync = () => tmpdir()\n\nexport const defaultTmp =\n platform === 'win32' ? win32DefaultTmp : posixDefaultTmp\nexport const defaultTmpSync =\n platform === 'win32' ? win32DefaultTmpSync : posixDefaultTmpSync\n"]}
@@ -1,3 +0,0 @@
1
- export declare const fixEPERM: (fn: (path: string) => Promise<any>) => (path: string) => Promise<any>;
2
- export declare const fixEPERMSync: (fn: (path: string) => any) => (path: string) => any;
3
- //# sourceMappingURL=fix-eperm.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"fix-eperm.d.ts","sourceRoot":"","sources":["../../src/fix-eperm.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ,OACd,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC,GAAG,CAAC,YAAkB,MAAM,iBAsB1D,CAAA;AAEH,eAAO,MAAM,YAAY,OAAQ,CAAC,IAAI,EAAE,MAAM,KAAK,GAAG,YAAY,MAAM,QAsBvE,CAAA"}
@@ -1,53 +0,0 @@
1
- import { chmodSync, promises } from './fs.js';
2
- const { chmod } = promises;
3
- export const fixEPERM = (fn) => async (path) => {
4
- try {
5
- return await fn(path);
6
- }
7
- catch (er) {
8
- const fer = er;
9
- if (fer?.code === 'ENOENT') {
10
- return;
11
- }
12
- if (fer?.code === 'EPERM') {
13
- try {
14
- await chmod(path, 0o666);
15
- }
16
- catch (er2) {
17
- const fer2 = er2;
18
- if (fer2?.code === 'ENOENT') {
19
- return;
20
- }
21
- throw er;
22
- }
23
- return await fn(path);
24
- }
25
- throw er;
26
- }
27
- };
28
- export const fixEPERMSync = (fn) => (path) => {
29
- try {
30
- return fn(path);
31
- }
32
- catch (er) {
33
- const fer = er;
34
- if (fer?.code === 'ENOENT') {
35
- return;
36
- }
37
- if (fer?.code === 'EPERM') {
38
- try {
39
- chmodSync(path, 0o666);
40
- }
41
- catch (er2) {
42
- const fer2 = er2;
43
- if (fer2?.code === 'ENOENT') {
44
- return;
45
- }
46
- throw er;
47
- }
48
- return fn(path);
49
- }
50
- thro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,CAAA;QACvC,IAAI,GAAG,EAAE,IAAI,KAAK,QAAQ,EAAE,CAAC;YAC3B,OAAM;QACR,CAAC;QACD,IAAI,GAAG,EAAE,IAAI,KAAK,OAAO,EAAE,CAAC;YAC1B,IAAI,CAAC;gBACH,SAAS,CAAC,IAAI,EAAE,KAAK,CAAC,CAAA;YACxB,CAAC;YAAC,OAAO,GAAG,EAAE,CAAC;gBACb,MAAM,IAAI,GAAG,GAA4B,CAAA;gBACzC,IAAI,IAAI,EAAE,IAAI,KAAK,QAAQ,EAAE,CAAC;oBAC5B,OAAM;gBACR,CAAC;gBACD,MAAM,EAAE,CAAA;YACV,CAAC;YACD,OAAO,EAAE,CAAC,IAAI,CAAC,CAAA;QACjB,CAAC;QACD,MAAM,EAAE,CAAA;IACV,CAAC;AACH,CAAC,CAAA","sourcesContent":["import { chmodSync, promises } from './fs.js'\nconst { chmod } = promises\n\nexport const fixEPERM =\n (fn: (path: string) => Promise<any>) => async (path: string) => {\n try {\n return await fn(path)\n } catch (er) {\n const fer = er as NodeJS.ErrnoException\n if (fer?.code === 'ENOENT') {\n return\n }\n if (fer?.code === 'EPERM') {\n try {\n await chmod(path, 0o666)\n } catch (er2) {\n const fer2 = er2 as NodeJS.ErrnoException\n if (fer2?.code === 'ENOENT') {\n return\n }\n throw er\n }\n return await fn(path)\n }\n throw er\n }\n }\n\nexport const fixEPERMSync = (fn: (path: string) => any) => (path: string) => {\n try {\n return fn(path)\n } catch (er) {\n const fer = er as NodeJS.ErrnoException\n if (fer?.code === 'ENOENT') {\n return\n }\n if (fer?.code === 'EPERM') {\n try {\n chmodSync(path, 0o666)\n } catch (er2) {\n const fer2 = er2 as NodeJS.ErrnoException\n if (fer2?.code === 'ENOENT') {\n return\n }\n throw er\n }\n return fn(path)\n }\n throw er\n }\n}\n"]}
@@ -1,17 +0,0 @@
1
- import fs, { Dirent } from 'fs';
2
- export { chmodSync, mkdirSync, renameSync, rmdirSync, rmSync, statSync, lstatSync, unlinkSync, } from 'fs';
3
- export declare const readdirSync: (path: fs.PathLike) => Dirent[];
4
- export declare const promises: {
5
- chmod: (path: fs.PathLike, mode: fs.Mode) => Promise<void>;
6
- mkdir: (path: fs.PathLike, options?: fs.Mode | (fs.MakeDirectoryOptions & {
7
- recursive?: boolean | null;
8
- }) | undefined | null) => Promise<string | undefined>;
9
- readdir: (path: fs.PathLike) => Promise<Dirent[]>;
10
- rename: (oldPath: fs.PathLike, newPath: fs.PathLike) => Promise<void>;
11
- rm: (path: fs.PathLike, options: fs.RmOptions) => Promise<void>;
12
- rmdir: (path: fs.PathLike) => Promise<void>;
13
- stat: (path: fs.PathLike) => Promise<fs.Stats>;
14
- lstat: (path: fs.PathLike) => Promise<fs.Stats>;
15
- unlink: (path: fs.PathLike) => Promise<void>;
16
- };
17
- //# sourceMappingURL=fs.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"fs.d.ts","sourceRoot":"","sources":["../../src/fs.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,EAAE,EAAE,MAAM,EAAE,MAAM,IAAI,CAAA;AAG/B,OAAO,EACL,SAAS,EACT,SAAS,EACT,UAAU,EACV,SAAS,EACT,MAAM,EACN,QAAQ,EACR,SAAS,EACT,UAAU,GACX,MAAM,IAAI,CAAA;AAGX,eAAO,MAAM,WAAW,SAAU,EAAE,CAAC,QAAQ,KAAG,MAAM,EACf,CAAA;AA+DvC,eAAO,MAAM,QAAQ;kBAxDA,EAAE,CAAC,QAAQ,QAAQ,EAAE,CAAC,IAAI,KAAG,OAAO,CAAC,IAAI,CAAC;kBAMvD,EAAE,CAAC,QAAQ,YAEb,EAAE,CAAC,IAAI,GACP,CAAC,EAAE,CAAC,oBAAoB,GAAG;QAAE,SAAS,CAAC,EAAE,OAAO,GAAG,IAAI,CAAA;KAAE,CAAC,GAC1D,SAAS,GACT,IAAI,KACP,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC;oBAKP,EAAE,CAAC,QAAQ,KAAG,OAAO,CAAC,MAAM,EAAE,CAAC;sBAO7B,EAAE,CAAC,QAAQ,WAAW,EAAE,CAAC,QAAQ,KAAG,OAAO,CAAC,IAAI,CAAC;eAOxD,EAAE,CAAC,QAAQ,WAAW,EAAE,CAAC,SAAS,KAAG,OAAO,CAAC,IAAI,CAAC;kBAK/C,EAAE,CAAC,QAAQ,KAAG,OAAO,CAAC,IAAI,CAAC;iBAK5B,EAAE,CAAC,QAAQ,KAAG,OAAO,CAAC,EAAE,CAAC,KAAK,CAAC;kBAK9B,EAAE,CAAC,QAAQ,KAAG,OAAO,CAAC,EAAE,CAAC,KAAK,CAAC;mBAK9B,EAAE,CAAC,QAAQ,KAAG,OAAO,CAAC,IAAI,CAAC;CAehD,CAAA"}
@@ -1,31 +0,0 @@
1
- // promisify ourselves, because older nodes don't have fs.promises
2
- import fs from 'fs';
3
- // sync ones just take the sync version from node
4
- export { chmodSync, mkdirSync, renameSync, rmdirSync, rmSync, statSync, lstatSync, unlinkSync, } from 'fs';
5
- import { readdirSync as rdSync } from 'fs';
6
- export const readdirSync = (path) => rdSync(path, { withFileTypes: true });
7
- // unrolled for better inlining, this seems to get better performance
8
- // than something like:
9
- // const makeCb = (res, rej) => (er, ...d) => er ? rej(er) : res(...d)
10
- // which would be a bit cleaner.
11
- const chmod = (path, mode) => new Promise((res, rej) => fs.chmod(path, mode, (er, ...d) => (er ? rej(er) : res(...d))));
12
- const mkdir = (path, options) => new Promise((res, rej) => fs.mkdir(path, options, (er, made) => (er ? rej(er) : res(made))));
13
- const readdir = (path) => new Promise((res, rej) => fs.readdir(path, { withFileTypes: true }, (er, data) => er ? rej(er) : res(data)));
14
- const rename = (oldPath, newPath) => new Promise((res, rej) => fs.rename(oldPath, newPath, (er, ...d) => er ? rej(er) : res(...d)));
15
- const rm = (path, options) => new Promise((res, rej) => fs.rm(path, options, (er, ...d) => (er ? rej(er) : res(...d))));
16
- const rmdir = (path) => new Promise((res, rej) => fs.rmdir(path, (er, ...d) => (er ? rej(er) : res(...d))));
17
- const stat = (path) => new Promise((res, rej) => fs.stat(path, (er, data) => (er ? rej(er) : res(data))));
18
- const lstat = (path) => new Promise((res, rej) => fs.lstat(path, (er, data) => (er ? rej(er) : res(data))));
19
- const unlink = (path) => new Promise((res, rej) => fs.unlink(path, (er, ...d) => (er ? rej(er) : res(...d))));
20
- export const promises = {
21
- chmod,
22
- mkdir,
23
- readdir,
24
- rename,
25
- rm,
26
- rmdir,
27
- stat,
28
- lstat,
29
- unlink,
30
- };
31
- //# sourceMappingURL=fs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"fs.js","sourceRoot":"","sources":["../../src/fs.ts"],"names":[],"mappings":"AAAA,kEAAkE;AAElE,OAAO,EAAc,MAAM,IAAI,CAAA;AAE/B,iDAAiD;AACjD,OAAO,EACL,SAAS,EACT,SAAS,EACT,UAAU,EACV,SAAS,EACT,MAAM,EACN,QAAQ,EACR,SAAS,EACT,UAAU,GACX,MAAM,IAAI,CAAA;AAEX,OAAO,EAAE,WAAW,IAAI,MAAM,EAAE,MAAM,IAAI,CAAA;AAC1C,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,IAAiB,EAAY,EAAE,CACzD,MAAM,CAAC,IAAI,EAAE,EAAE,aAAa,EAAE,IAAI,EAAE,CAAC,CAAA;AAEvC,qEAAqE;AACrE,uBAAuB;AACvB,sEAAsE;AACtE,gCAAgC;AAEhC,MAAM,KAAK,GAAG,CAAC,IAAiB,EAAE,IAAa,EAAiB,EAAE,CAChE,IAAI,OAAO,CAAC,CAAC,GAAG,EAAE,GAAG,EAAE,EAAE,CACvB,EAAE,CAAC,KAAK,CAAC,IAAI,EAAE,IAAI,EAAE,CAAC,EAAE,EAAE,GAAG,CAAQ,EAAE,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CACtE,CAAA;AAEH,MAAM,KAAK,GAAG,CACZ,IAAiB,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AE,GAAG,CAAQ,EAAE,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CACjE,CAAA;AAEH,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,KAAK;IACL,KAAK;IACL,OAAO;IACP,MAAM;IACN,EAAE;IACF,KAAK;IACL,IAAI;IACJ,KAAK;IACL,MAAM;CACP,CAAA","sourcesContent":["// promisify ourselves, because older nodes don't have fs.promises\n\nimport fs, { Dirent } from 'fs'\n\n// sync ones just take the sync version from node\nexport {\n chmodSync,\n mkdirSync,\n renameSync,\n rmdirSync,\n rmSync,\n statSync,\n lstatSync,\n unlinkSync,\n} from 'fs'\n\nimport { readdirSync as rdSync } from 'fs'\nexport const readdirSync = (path: fs.PathLike): Dirent[] =>\n rdSync(path, { withFileTypes: true })\n\n// unrolled for better inlining, this seems to get better performance\n// than something like:\n// const makeCb = (res, rej) => (er, ...d) => er ? rej(er) : res(...d)\n// which would be a bit cleaner.\n\nconst chmod = (path: fs.PathLike, mode: fs.Mode): Promise<void> =>\n new Promise((res, rej) =>\n fs.chmod(path, mode, (er, ...d: any[]) => (er ? rej(er) : res(...d))),\n )\n\nconst mkdir = (\n path: fs.PathLike,\n options?:\n | fs.Mode\n | (fs.MakeDirectoryOptions & { recursive?: boolean | null })\n | undefined\n | null,\n): Promise<string | undefined> =>\n new Promise((res, rej) =>\n fs.mkdir(path, options, (er, made) => (er ? rej(er) : res(made))),\n )\n\nconst readdir = (path: fs.PathLike): Promise<Dirent[]> =>\n new Promise<Dirent[]>((res, rej) =>\n fs.readdir(path, { withFileTypes: true }, (er, data) =>\n er ? rej(er) : res(data),\n ),\n )\n\nconst rename = (oldPath: fs.PathLike, newPath: fs.PathLike): Promise<void> =>\n new Promise((res, rej) =>\n fs.rename(oldPath, newPath, (er, ...d: any[]) =>\n er ? rej(er) : res(...d),\n ),\n )\n\nconst rm = (path: fs.PathLike, options: fs.RmOptions): Promise<void> =>\n new Promise((res, rej) =>\n fs.rm(path, options, (er, ...d: any[]) => (er ? rej(er) : res(...d))),\n )\n\nconst rmdir = (path: fs.PathLike): Promise<void> =>\n new Promise((res, rej) =>\n fs.rmdir(path, (er, ...d: any[]) => (er ? rej(er) : res(...d))),\n )\n\nconst stat = (path: fs.PathLike): Promise<fs.Stats> =>\n new Promise((res, rej) =>\n fs.stat(path, (er, data) => (er ? rej(er) : res(data))),\n )\n\nconst lstat = (path: fs.PathLike): Promise<fs.Stats> =>\n new Promise((res, rej) =>\n fs.lstat(path, (er, data) => (er ? rej(er) : res(data))),\n )\n\nconst unlink = (path: fs.PathLike): Promise<void> =>\n new Promise((res, rej) =>\n fs.unlink(path, (er, ...d: any[]) => (er ? rej(er) : res(...d))),\n )\n\nexport const promises = {\n chmod,\n mkdir,\n readdir,\n rename,\n rm,\n rmdir,\n stat,\n lstat,\n unlink,\n}\n"]}
@@ -1,3 +0,0 @@
1
- export declare const ignoreENOENT: (p: Promise<any>) => Promise<any>;
2
- export declare const ignoreENOENTSync: (fn: () => any) => any;
3
- //# sourceMappingURL=ignore-enoent.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ignore-enoent.d.ts","sourceRoot":"","sources":["../../src/ignore-enoent.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,MAAa,OAAO,CAAC,GAAG,CAAC,iBAK9C,CAAA;AAEJ,eAAO,MAAM,gBAAgB,OAAQ,MAAM,GAAG,QAQ7C,CAAA"}
@@ -1,16 +0,0 @@
1
- export const ignoreENOENT = async (p) => p.catch(er => {
2
- if (er.code !== 'ENOENT') {
3
- throw er;
4
- }
5
- });
6
- export const ignoreENOENTSync = (fn) => {
7
- try {
8
- return fn();
9
- }
10
- catch (er) {
11
- if (er?.code !== 'ENOENT') {
12
- throw er;
13
- }
14
- }
15
- };
16
- //# sourceMappingURL=ignore-enoent.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ignore-enoent.js","sourceRoot":"","sources":["../../src/ignore-enoent.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,YAAY,GAAG,KAAK,EAAE,CAAe,EAAE,EAAE,CACpD,CAAC,CAAC,KAAK,CAAC,EAAE,CAAC,EAAE;IACX,IAAI,EAAE,CAAC,IAAI,KAAK,QAAQ,EAAE,CAAC;QACzB,MAAM,EAAE,CAAA;IACV,CAAC;AACH,CAAC,CAAC,CAAA;AAEJ,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,EAAa,EAAE,EAAE;IAChD,IAAI,CAAC;QACH,OAAO,EAAE,EAAE,CAAA;IACb,CAAC;IAAC,OAAO,EAAE,EAAE,CAAC;QACZ,IAAK,EAA4B,EAAE,IAAI,KAAK,QAAQ,EAAE,CAAC;YACrD,MAAM,EAAE,CAAA;QACV,CAAC;IACH,CAAC;AACH,CAAC,CAAA","sourcesContent":["export const ignoreENOENT = async (p: Promise<any>) =>\n p.catch(er => {\n if (er.code !== 'ENOENT') {\n throw er\n }\n })\n\nexport const ignoreENOENTSync = (fn: () => any) => {\n try {\n return fn()\n } catch (er) {\n if ((er as NodeJS.ErrnoException)?.code !== 'ENOENT') {\n throw er\n }\n }\n}\n"]}
@@ -1,50 +0,0 @@
1
- import { RimrafAsyncOptions, RimrafSyncOptions } from './opt-arg.js';
2
- export { assertRimrafOptions, isRimrafOptions, type RimrafAsyncOptions, type RimrafOptions, type RimrafSyncOptions, } from './opt-arg.js';
3
- export declare const nativeSync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
4
- export declare const native: ((path: string | string[], opt?: RimrafAsyncOptions) => Promise<boolean>) & {
5
- sync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
6
- };
7
- export declare const manualSync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
8
- export declare const manual: ((path: string | string[], opt?: RimrafAsyncOptions) => Promise<boolean>) & {
9
- sync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
10
- };
11
- export declare const windowsSync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
12
- export declare const windows: ((path: string | string[], opt?: RimrafAsyncOptions) => Promise<boolean>) & {
13
- sync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
14
- };
15
- export declare const posixSync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
16
- export declare const posix: ((path: string | string[], opt?: RimrafAsyncOptions) => Promise<boolean>) & {
17
- sync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
18
- };
19
- export declare const moveRemoveSync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
20
- export declare const moveRemove: ((path: string | string[], opt?: RimrafAsyncOptions) => Promise<boolean>) & {
21
- sync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
22
- };
23
- export declare const rimrafSync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
24
- export declare const sync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
25
- export declare const rimraf: ((path: string | string[], opt?: RimrafAsyncOptions) => Promise<boolean>) & {
26
- rimraf: (path: string | string[], opt?: RimrafAsyncOptions) => Promise<boolean>;
27
- sync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
28
- rimrafSync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
29
- manual: ((path: string | string[], opt?: RimrafAsyncOptions) => Promise<boolean>) & {
30
- sync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
31
- };
32
- manualSync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
33
- native: ((path: string | string[], opt?: RimrafAsyncOptions) => Promise<boolean>) & {
34
- sync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
35
- };
36
- nativeSync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
37
- posix: ((path: string | string[], opt?: RimrafAsyncOptions) => Promise<boolean>) & {
38
- sync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
39
- };
40
- posixSync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
41
- windows: ((path: string | string[], opt?: RimrafAsyncOptions) => Promise<boolean>) & {
42
- sync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
43
- };
44
- windowsSync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
45
- moveRemove: ((path: string | string[], opt?: RimrafAsyncOptions) => Promise<boolean>) & {
46
- sync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
47
- };
48
- moveRemoveSync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
49
- };
50
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,kBAAkB,EAClB,iBAAiB,EAClB,MAAM,cAAc,CAAA;AASrB,OAAO,EACL,mBAAmB,EACnB,eAAe,EACf,KAAK,kBAAkB,EACvB,KAAK,aAAa,EAClB,KAAK,iBAAiB,GACvB,MAAM,cAAc,CAAA;AAqCrB,eAAO,MAAM,UAAU,SAdd,MAAM,GAAG,MAAM,EAAE,QAAQ,iBAAiB,KAAG,OAcF,CAAA;AACpD,eAAO,MAAM,MAAM,UAjCT,MAAM,GAAG,MAAM,EAAE,QACjB,kBAAkB,KACvB,OAAO,CAAC,OAAO,CAAC;iBAgBZ,MAAM,GAAG,MAAM,EAAE,QAAQ,iBAAiB,KAAG,OAAO;CAegB,CAAA;AAE7E,eAAO,MAAM,UAAU,SAjBd,MAAM,GAAG,MAAM,EAAE,QAAQ,iBAAiB,KAAG,OAiBF,CAAA;AACpD,eAAO,MAAM,MAAM,UApCT,MAAM,GAAG,MAAM,EAAE,QACjB,kBAAkB,KACvB,OAAO,CAAC,OAAO,CAAC;iBAgBZ,MAAM,GAAG,MAAM,EAAE,QAAQ,iBAAiB,KAAG,OAAO;CAkBgB,CAAA;AAE7E,eAAO,MAAM,WAAW,SApBf,MAAM,GAAG,MAAM,EAAE,QAAQ,iBAAiB,KAAG,OAoBA,CAAA;AACtD,eAAO,MAAM,OAAO,UAvCV,M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