@voidzero-dev/vite-plus-test 0.0.0-0bfcc90f.20260209-0731

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 (318) hide show
  1. package/LICENSE.md +691 -0
  2. package/browser/context.d.ts +4 -0
  3. package/browser/context.js +20 -0
  4. package/config.d.ts +3 -0
  5. package/coverage.d.ts +1 -0
  6. package/dist/@vitest/browser/client/.vite/manifest.json +24 -0
  7. package/dist/@vitest/browser/client/__vitest__/assets/index-BUCFJtth.js +57 -0
  8. package/dist/@vitest/browser/client/__vitest__/assets/index-DlhE0rqZ.css +1 -0
  9. package/dist/@vitest/browser/client/__vitest__/bg.png +0 -0
  10. package/dist/@vitest/browser/client/__vitest__/favicon.ico +0 -0
  11. package/dist/@vitest/browser/client/__vitest__/favicon.svg +5 -0
  12. package/dist/@vitest/browser/client/__vitest__/index.html +32 -0
  13. package/dist/@vitest/browser/client/__vitest_browser__/orchestrator-S_3e_uzt.js +345 -0
  14. package/dist/@vitest/browser/client/__vitest_browser__/tester-k74mgIRa.js +2171 -0
  15. package/dist/@vitest/browser/client/__vitest_browser__/utils-uxqdqUz8.js +223 -0
  16. package/dist/@vitest/browser/client/error-catcher.js +82 -0
  17. package/dist/@vitest/browser/client/esm-client-injector.js +67 -0
  18. package/dist/@vitest/browser/client/favicon.svg +5 -0
  19. package/dist/@vitest/browser/client/orchestrator.html +35 -0
  20. package/dist/@vitest/browser/client/tester/tester.html +13 -0
  21. package/dist/@vitest/browser/client.js +456 -0
  22. package/dist/@vitest/browser/context.d.ts +792 -0
  23. package/dist/@vitest/browser/context.js +541 -0
  24. package/dist/@vitest/browser/expect-element.js +32 -0
  25. package/dist/@vitest/browser/index-D6m36C6U.js +11 -0
  26. package/dist/@vitest/browser/index.d.ts +73 -0
  27. package/dist/@vitest/browser/index.js +3513 -0
  28. package/dist/@vitest/browser/jest-dom.d.ts +724 -0
  29. package/dist/@vitest/browser/locators.d.ts +354 -0
  30. package/dist/@vitest/browser/locators.js +1 -0
  31. package/dist/@vitest/browser/matchers.d.ts +29 -0
  32. package/dist/@vitest/browser/shared/screenshotMatcher/types.d.ts +22 -0
  33. package/dist/@vitest/browser/state.js +280 -0
  34. package/dist/@vitest/browser/types.d.ts +69 -0
  35. package/dist/@vitest/browser-playwright/context.d.ts +1 -0
  36. package/dist/@vitest/browser-playwright/index.d.ts +106 -0
  37. package/dist/@vitest/browser-playwright/index.js +1111 -0
  38. package/dist/@vitest/browser-playwright/locators.js +114 -0
  39. package/dist/@vitest/browser-preview/context.d.ts +1 -0
  40. package/dist/@vitest/browser-preview/index.d.ts +19 -0
  41. package/dist/@vitest/browser-preview/index.js +148 -0
  42. package/dist/@vitest/browser-preview/locators.js +79 -0
  43. package/dist/@vitest/browser-webdriverio/context.d.ts +1 -0
  44. package/dist/@vitest/browser-webdriverio/index.d.ts +63 -0
  45. package/dist/@vitest/browser-webdriverio/index.js +600 -0
  46. package/dist/@vitest/browser-webdriverio/locators.js +163 -0
  47. package/dist/@vitest/expect/index.d.ts +807 -0
  48. package/dist/@vitest/expect/index.js +1875 -0
  49. package/dist/@vitest/mocker/auto-register.d.ts +2 -0
  50. package/dist/@vitest/mocker/auto-register.js +9 -0
  51. package/dist/@vitest/mocker/automock.d.ts +12 -0
  52. package/dist/@vitest/mocker/automock.js +1 -0
  53. package/dist/@vitest/mocker/browser.d.ts +53 -0
  54. package/dist/@vitest/mocker/browser.js +91 -0
  55. package/dist/@vitest/mocker/chunk-automock.js +354 -0
  56. package/dist/@vitest/mocker/chunk-interceptor-native.js +15 -0
  57. package/dist/@vitest/mocker/chunk-mocker.js +521 -0
  58. package/dist/@vitest/mocker/chunk-pathe.M-eThtNZ.js +174 -0
  59. package/dist/@vitest/mocker/chunk-registry.js +185 -0
  60. package/dist/@vitest/mocker/chunk-utils.js +16 -0
  61. package/dist/@vitest/mocker/index.d-C-sLYZi-.d.ts +25 -0
  62. package/dist/@vitest/mocker/index.d.ts +2 -0
  63. package/dist/@vitest/mocker/index.js +185 -0
  64. package/dist/@vitest/mocker/mocker.d-TnKRhz7N.d.ts +81 -0
  65. package/dist/@vitest/mocker/node.d.ts +800 -0
  66. package/dist/@vitest/mocker/node.js +966 -0
  67. package/dist/@vitest/mocker/redirect.d.ts +3 -0
  68. package/dist/@vitest/mocker/redirect.js +79 -0
  69. package/dist/@vitest/mocker/register.d.ts +9 -0
  70. package/dist/@vitest/mocker/register.js +41 -0
  71. package/dist/@vitest/mocker/types.d-B8CCKmHt.d.ts +107 -0
  72. package/dist/@vitest/pretty-format/index.d.ts +124 -0
  73. package/dist/@vitest/pretty-format/index.js +1022 -0
  74. package/dist/@vitest/runner/chunk-tasks.js +340 -0
  75. package/dist/@vitest/runner/index.d.ts +180 -0
  76. package/dist/@vitest/runner/index.js +2114 -0
  77. package/dist/@vitest/runner/tasks.d-C7UxawJ9.d.ts +834 -0
  78. package/dist/@vitest/runner/types.d.ts +183 -0
  79. package/dist/@vitest/runner/types.js +1 -0
  80. package/dist/@vitest/runner/utils.d.ts +45 -0
  81. package/dist/@vitest/runner/utils.js +5 -0
  82. package/dist/@vitest/snapshot/environment.d-DHdQ1Csl.d.ts +22 -0
  83. package/dist/@vitest/snapshot/environment.d.ts +16 -0
  84. package/dist/@vitest/snapshot/environment.js +40 -0
  85. package/dist/@vitest/snapshot/index.d.ts +130 -0
  86. package/dist/@vitest/snapshot/index.js +1437 -0
  87. package/dist/@vitest/snapshot/manager.d.ts +18 -0
  88. package/dist/@vitest/snapshot/manager.js +73 -0
  89. package/dist/@vitest/snapshot/rawSnapshot.d-lFsMJFUd.d.ts +61 -0
  90. package/dist/@vitest/spy/index.d.ts +384 -0
  91. package/dist/@vitest/spy/index.js +433 -0
  92. package/dist/@vitest/utils/chunk-_commonjsHelpers.js +5 -0
  93. package/dist/@vitest/utils/chunk-pathe.M-eThtNZ.js +156 -0
  94. package/dist/@vitest/utils/constants.d.ts +21 -0
  95. package/dist/@vitest/utils/constants.js +49 -0
  96. package/dist/@vitest/utils/diff.d.ts +93 -0
  97. package/dist/@vitest/utils/diff.js +2199 -0
  98. package/dist/@vitest/utils/display.d.ts +29 -0
  99. package/dist/@vitest/utils/display.js +742 -0
  100. package/dist/@vitest/utils/error.d.ts +7 -0
  101. package/dist/@vitest/utils/error.js +42 -0
  102. package/dist/@vitest/utils/helpers.d.ts +73 -0
  103. package/dist/@vitest/utils/helpers.js +295 -0
  104. package/dist/@vitest/utils/highlight.d.ts +9 -0
  105. package/dist/@vitest/utils/highlight.js +538 -0
  106. package/dist/@vitest/utils/index.d.ts +5 -0
  107. package/dist/@vitest/utils/index.js +1 -0
  108. package/dist/@vitest/utils/offset.d.ts +5 -0
  109. package/dist/@vitest/utils/offset.js +32 -0
  110. package/dist/@vitest/utils/resolver.d.ts +7 -0
  111. package/dist/@vitest/utils/resolver.js +71 -0
  112. package/dist/@vitest/utils/serialize.d.ts +3 -0
  113. package/dist/@vitest/utils/serialize.js +118 -0
  114. package/dist/@vitest/utils/source-map.d.ts +55 -0
  115. package/dist/@vitest/utils/source-map.js +478 -0
  116. package/dist/@vitest/utils/timers.d.ts +33 -0
  117. package/dist/@vitest/utils/timers.js +49 -0
  118. package/dist/@vitest/utils/types.d-BCElaP-c.d.ts +53 -0
  119. package/dist/@vitest/utils/types.d.ts +34 -0
  120. package/dist/@vitest/utils/types.js +1 -0
  121. package/dist/browser-compat.js +3 -0
  122. package/dist/browser.d.ts +46 -0
  123. package/dist/browser.js +20 -0
  124. package/dist/chunks/_commonjsHelpers.D26ty3Ew.js +6 -0
  125. package/dist/chunks/base.CJ0Y4ePK.js +165 -0
  126. package/dist/chunks/benchmark.B3N2zMcH.js +40 -0
  127. package/dist/chunks/benchmark.d.DAaHLpsq.d.ts +24 -0
  128. package/dist/chunks/browser.d.ChKACdzH.d.ts +59 -0
  129. package/dist/chunks/cac.DVeoLl0M.js +1409 -0
  130. package/dist/chunks/cli-api.B7PN_QUv.js +13672 -0
  131. package/dist/chunks/config.d.Cy95HiCx.d.ts +210 -0
  132. package/dist/chunks/console.Cf-YriPC.js +146 -0
  133. package/dist/chunks/constants.D_Q9UYh-.js +36 -0
  134. package/dist/chunks/coverage.AVPTjMgw.js +3292 -0
  135. package/dist/chunks/coverage.D_JHT54q.js +25 -0
  136. package/dist/chunks/coverage.d.BZtK59WP.d.ts +37 -0
  137. package/dist/chunks/creator.DAmOKTvJ.js +673 -0
  138. package/dist/chunks/date.Bq6ZW5rf.js +73 -0
  139. package/dist/chunks/defaults.BOqNVLsY.js +74 -0
  140. package/dist/chunks/env.D4Lgay0q.js +8 -0
  141. package/dist/chunks/environment.d.CrsxCzP1.d.ts +29 -0
  142. package/dist/chunks/evaluatedModules.Dg1zASAC.js +17 -0
  143. package/dist/chunks/evaluatedModules.d.BxJ5omdx.d.ts +7 -0
  144. package/dist/chunks/git.Bm2pzPAa.js +71 -0
  145. package/dist/chunks/global.d.B15mdLcR.d.ts +99 -0
  146. package/dist/chunks/globals.DOayXfHP.js +30 -0
  147. package/dist/chunks/index.6Qv1eEA6.js +109 -0
  148. package/dist/chunks/index.C5r1PdPD.js +231 -0
  149. package/dist/chunks/index.Chj8NDwU.js +206 -0
  150. package/dist/chunks/index.CyBMJtT7.js +727 -0
  151. package/dist/chunks/index.D3XRDfWc.js +213 -0
  152. package/dist/chunks/index.D4KonVSU.js +6343 -0
  153. package/dist/chunks/index.M8mOzt4Y.js +3839 -0
  154. package/dist/chunks/index.Z5E_ObnR.js +37 -0
  155. package/dist/chunks/init-forks._y3TW739.js +41 -0
  156. package/dist/chunks/init-threads.DBO2kn-p.js +18 -0
  157. package/dist/chunks/init.B6MLFIaN.js +334 -0
  158. package/dist/chunks/inspector.CvyFGlXm.js +53 -0
  159. package/dist/chunks/modules.BJuCwlRJ.js +36 -0
  160. package/dist/chunks/node.Ce0vMQM7.js +14 -0
  161. package/dist/chunks/plugin.d.CtqpEehP.d.ts +38 -0
  162. package/dist/chunks/reporters.d.CWXNI2jG.d.ts +3271 -0
  163. package/dist/chunks/rpc.BoxB0q7B.js +76 -0
  164. package/dist/chunks/rpc.d.RH3apGEf.d.ts +64 -0
  165. package/dist/chunks/setup-common.Cm-kSBVi.js +60 -0
  166. package/dist/chunks/startModuleRunner.DEj0jb3e.js +861 -0
  167. package/dist/chunks/suite.d.BJWk38HB.d.ts +10 -0
  168. package/dist/chunks/test.B8ej_ZHS.js +254 -0
  169. package/dist/chunks/traces.CCmnQaNT.js +217 -0
  170. package/dist/chunks/traces.d.402V_yFI.d.ts +18 -0
  171. package/dist/chunks/utils.DvEY5TfP.js +52 -0
  172. package/dist/chunks/vi.2VT5v0um.js +3919 -0
  173. package/dist/chunks/vm.D3epNOPZ.js +744 -0
  174. package/dist/chunks/worker.d.Dyxm8DEL.d.ts +255 -0
  175. package/dist/cli.js +28 -0
  176. package/dist/client/.vite/manifest.json +24 -0
  177. package/dist/client/__vitest__/assets/index-BUCFJtth.js +57 -0
  178. package/dist/client/__vitest__/assets/index-DlhE0rqZ.css +1 -0
  179. package/dist/client/__vitest__/bg.png +0 -0
  180. package/dist/client/__vitest__/favicon.ico +0 -0
  181. package/dist/client/__vitest__/favicon.svg +5 -0
  182. package/dist/client/__vitest__/index.html +32 -0
  183. package/dist/client/__vitest_browser__/orchestrator-S_3e_uzt.js +345 -0
  184. package/dist/client/__vitest_browser__/tester-k74mgIRa.js +2171 -0
  185. package/dist/client/__vitest_browser__/utils-uxqdqUz8.js +223 -0
  186. package/dist/client/error-catcher.js +82 -0
  187. package/dist/client/esm-client-injector.js +67 -0
  188. package/dist/client/favicon.svg +5 -0
  189. package/dist/client/orchestrator.html +35 -0
  190. package/dist/client/tester/tester.html +13 -0
  191. package/dist/client.js +456 -0
  192. package/dist/config.cjs +94 -0
  193. package/dist/config.d.ts +104 -0
  194. package/dist/config.js +15 -0
  195. package/dist/context.js +541 -0
  196. package/dist/coverage.d.ts +118 -0
  197. package/dist/coverage.js +23 -0
  198. package/dist/dummy.js +2 -0
  199. package/dist/environments.d.ts +22 -0
  200. package/dist/environments.js +3 -0
  201. package/dist/expect-element.js +27 -0
  202. package/dist/index-D6m36C6U.js +6 -0
  203. package/dist/index-node.js +7 -0
  204. package/dist/index.d.ts +510 -0
  205. package/dist/index.js +19 -0
  206. package/dist/locators.d.ts +354 -0
  207. package/dist/locators.js +1 -0
  208. package/dist/mocker.d.ts +1 -0
  209. package/dist/mocker.js +1 -0
  210. package/dist/module-evaluator.d.ts +124 -0
  211. package/dist/module-evaluator.js +343 -0
  212. package/dist/module-runner-stub.js +44 -0
  213. package/dist/module-runner.js +17 -0
  214. package/dist/node.d.ts +251 -0
  215. package/dist/node.js +98 -0
  216. package/dist/path.js +7 -0
  217. package/dist/plugins/browser-client.mjs +2 -0
  218. package/dist/plugins/browser-context.mjs +2 -0
  219. package/dist/plugins/browser-locators.mjs +2 -0
  220. package/dist/plugins/browser-playwright.mjs +2 -0
  221. package/dist/plugins/browser-preview.mjs +2 -0
  222. package/dist/plugins/browser-webdriverio.mjs +2 -0
  223. package/dist/plugins/browser.mjs +2 -0
  224. package/dist/plugins/expect.mjs +2 -0
  225. package/dist/plugins/mocker-automock.mjs +2 -0
  226. package/dist/plugins/mocker-browser.mjs +2 -0
  227. package/dist/plugins/mocker-node.mjs +2 -0
  228. package/dist/plugins/mocker-redirect.mjs +2 -0
  229. package/dist/plugins/mocker-register.mjs +2 -0
  230. package/dist/plugins/mocker.mjs +2 -0
  231. package/dist/plugins/pretty-format.mjs +2 -0
  232. package/dist/plugins/runner-types.mjs +2 -0
  233. package/dist/plugins/runner-utils.mjs +2 -0
  234. package/dist/plugins/runner.mjs +2 -0
  235. package/dist/plugins/snapshot-environment.mjs +2 -0
  236. package/dist/plugins/snapshot-manager.mjs +2 -0
  237. package/dist/plugins/snapshot.mjs +2 -0
  238. package/dist/plugins/spy.mjs +2 -0
  239. package/dist/plugins/utils-constants.mjs +2 -0
  240. package/dist/plugins/utils-diff.mjs +2 -0
  241. package/dist/plugins/utils-display.mjs +2 -0
  242. package/dist/plugins/utils-error.mjs +2 -0
  243. package/dist/plugins/utils-helpers.mjs +2 -0
  244. package/dist/plugins/utils-highlight.mjs +2 -0
  245. package/dist/plugins/utils-offset.mjs +2 -0
  246. package/dist/plugins/utils-resolver.mjs +2 -0
  247. package/dist/plugins/utils-serialize.mjs +2 -0
  248. package/dist/plugins/utils-source-map.mjs +2 -0
  249. package/dist/plugins/utils-timers.mjs +2 -0
  250. package/dist/plugins/utils.mjs +2 -0
  251. package/dist/reporters.d.ts +27 -0
  252. package/dist/reporters.js +24 -0
  253. package/dist/runners.d.ts +50 -0
  254. package/dist/runners.js +19 -0
  255. package/dist/shared/screenshotMatcher/types.d.ts +22 -0
  256. package/dist/snapshot.d.ts +9 -0
  257. package/dist/snapshot.js +4 -0
  258. package/dist/spy.js +1 -0
  259. package/dist/state.js +280 -0
  260. package/dist/suite.d.ts +5 -0
  261. package/dist/suite.js +6 -0
  262. package/dist/types.d.ts +69 -0
  263. package/dist/vendor/chai.d.mts +1 -0
  264. package/dist/vendor/chai.mjs +3577 -0
  265. package/dist/vendor/es-module-lexer.d.mts +193 -0
  266. package/dist/vendor/es-module-lexer.mjs +79 -0
  267. package/dist/vendor/estree-walker.d.mts +583 -0
  268. package/dist/vendor/estree-walker.mjs +339 -0
  269. package/dist/vendor/expect-type.d.mts +1574 -0
  270. package/dist/vendor/expect-type.mjs +214 -0
  271. package/dist/vendor/magic-string.d.mts +261 -0
  272. package/dist/vendor/magic-string.mjs +1700 -0
  273. package/dist/vendor/obug.d.mts +56 -0
  274. package/dist/vendor/obug.mjs +276 -0
  275. package/dist/vendor/pathe.d.mts +46 -0
  276. package/dist/vendor/pathe.mjs +496 -0
  277. package/dist/vendor/picomatch.d.mts +1 -0
  278. package/dist/vendor/picomatch.mjs +1855 -0
  279. package/dist/vendor/shared-3g9mwCWP.mjs +31 -0
  280. package/dist/vendor/std-env.d.mts +88 -0
  281. package/dist/vendor/std-env.mjs +159 -0
  282. package/dist/vendor/tinybench.d.mts +317 -0
  283. package/dist/vendor/tinybench.mjs +504 -0
  284. package/dist/vendor/tinyexec.d.mts +72 -0
  285. package/dist/vendor/tinyexec.mjs +637 -0
  286. package/dist/vendor/tinyglobby.d.mts +157 -0
  287. package/dist/vendor/tinyglobby.mjs +832 -0
  288. package/dist/vendor/tinyrainbow.d.mts +60 -0
  289. package/dist/vendor/tinyrainbow.mjs +93 -0
  290. package/dist/vendor/vitest_browser.mjs +2 -0
  291. package/dist/vendor/vitest_internal_browser.mjs +2 -0
  292. package/dist/vendor/vitest_runner.mjs +2 -0
  293. package/dist/vendor/vitest_runners.mjs +2 -0
  294. package/dist/worker.d.ts +32 -0
  295. package/dist/worker.js +48 -0
  296. package/dist/workers/forks.js +54 -0
  297. package/dist/workers/runVmTests.js +95 -0
  298. package/dist/workers/threads.js +55 -0
  299. package/dist/workers/vmForks.js +36 -0
  300. package/dist/workers/vmThreads.js +37 -0
  301. package/environments.d.ts +1 -0
  302. package/globals.d.ts +20 -0
  303. package/import-meta.d.ts +5 -0
  304. package/importMeta.d.ts +4 -0
  305. package/index.cjs +5 -0
  306. package/index.d.cts +1 -0
  307. package/jsdom.d.ts +6 -0
  308. package/mocker.d.ts +1 -0
  309. package/node.d.ts +1 -0
  310. package/optional-types.d.ts +7 -0
  311. package/package.json +335 -0
  312. package/reporters.d.ts +1 -0
  313. package/runners.d.ts +1 -0
  314. package/snapshot.d.ts +1 -0
  315. package/suite.d.ts +1 -0
  316. package/suppress-warnings.cjs +21 -0
  317. package/vitest.mjs +2 -0
  318. package/worker.d.ts +1 -0
@@ -0,0 +1,496 @@
1
+ //#region ../../node_modules/.pnpm/pathe@2.0.3/node_modules/pathe/dist/shared/pathe.M-eThtNZ.mjs
2
+ let _lazyMatch = () => {
3
+ var __lib__ = (() => {
4
+ var m = Object.defineProperty, V = Object.getOwnPropertyDescriptor, G = Object.getOwnPropertyNames, T = Object.prototype.hasOwnProperty, q = (r, e) => {
5
+ for (var n in e) m(r, n, {
6
+ get: e[n],
7
+ enumerable: true
8
+ });
9
+ }, H = (r, e, n, a) => {
10
+ if (e && typeof e == "object" || typeof e == "function") for (let t of G(e)) !T.call(r, t) && t !== n && m(r, t, {
11
+ get: () => e[t],
12
+ enumerable: !(a = V(e, t)) || a.enumerable
13
+ });
14
+ return r;
15
+ }, J = (r) => H(m({}, "__esModule", { value: true }), r), w = {};
16
+ q(w, { default: () => re });
17
+ var A = (r) => Array.isArray(r), d = (r) => typeof r == "function", Q = (r) => r.length === 0, W = (r) => typeof r == "number", K = (r) => typeof r == "object" && r !== null, X = (r) => r instanceof RegExp, b = (r) => typeof r == "string", h = (r) => r === void 0, Y = (r) => {
18
+ const e = new Map();
19
+ return (n) => {
20
+ const a = e.get(n);
21
+ if (a) return a;
22
+ const t = r(n);
23
+ return e.set(n, t), t;
24
+ };
25
+ }, rr = (r, e, n = {}) => {
26
+ const a = {
27
+ cache: {},
28
+ input: r,
29
+ index: 0,
30
+ indexMax: 0,
31
+ options: n,
32
+ output: []
33
+ };
34
+ if (v(e)(a) && a.index === r.length) return a.output;
35
+ throw new Error(`Failed to parse at index ${a.indexMax}`);
36
+ }, i = (r, e) => A(r) ? er(r, e) : b(r) ? ar(r, e) : nr(r, e), er = (r, e) => {
37
+ const n = {};
38
+ for (const a of r) {
39
+ if (a.length !== 1) throw new Error(`Invalid character: "${a}"`);
40
+ const t = a.charCodeAt(0);
41
+ n[t] = true;
42
+ }
43
+ return (a) => {
44
+ const t = a.index, o = a.input;
45
+ for (; a.index < o.length && o.charCodeAt(a.index) in n;) a.index += 1;
46
+ const u = a.index;
47
+ if (u > t) {
48
+ if (!h(e) && !a.options.silent) {
49
+ const s = a.input.slice(t, u), c = d(e) ? e(s, o, String(t)) : e;
50
+ h(c) || a.output.push(c);
51
+ }
52
+ a.indexMax = Math.max(a.indexMax, a.index);
53
+ }
54
+ return true;
55
+ };
56
+ }, nr = (r, e) => {
57
+ const n = r.source, a = r.flags.replace(/y|$/, "y"), t = new RegExp(n, a);
58
+ return g((o) => {
59
+ t.lastIndex = o.index;
60
+ const u = t.exec(o.input);
61
+ if (u) {
62
+ if (!h(e) && !o.options.silent) {
63
+ const s = d(e) ? e(...u, o.input, String(o.index)) : e;
64
+ h(s) || o.output.push(s);
65
+ }
66
+ return o.index += u[0].length, o.indexMax = Math.max(o.indexMax, o.index), true;
67
+ } else return false;
68
+ });
69
+ }, ar = (r, e) => (n) => {
70
+ if (n.input.startsWith(r, n.index)) {
71
+ if (!h(e) && !n.options.silent) {
72
+ const t = d(e) ? e(r, n.input, String(n.index)) : e;
73
+ h(t) || n.output.push(t);
74
+ }
75
+ return n.index += r.length, n.indexMax = Math.max(n.indexMax, n.index), true;
76
+ } else return false;
77
+ }, C = (r, e, n, a) => {
78
+ const t = v(r);
79
+ return g(_(M((o) => {
80
+ let u = 0;
81
+ for (; u < n;) {
82
+ const s = o.index;
83
+ if (!t(o) || (u += 1, o.index === s)) break;
84
+ }
85
+ return u >= e;
86
+ })));
87
+ }, tr = (r, e) => C(r, 0, 1), f = (r, e) => C(r, 0, 1 / 0), x = (r, e) => {
88
+ const n = r.map(v);
89
+ return g(_(M((a) => {
90
+ for (let t = 0, o = n.length; t < o; t++) if (!n[t](a)) return false;
91
+ return true;
92
+ })));
93
+ }, l = (r, e) => {
94
+ const n = r.map(v);
95
+ return g(_((a) => {
96
+ for (let t = 0, o = n.length; t < o; t++) if (n[t](a)) return true;
97
+ return false;
98
+ }));
99
+ }, M = (r, e = false) => {
100
+ const n = v(r);
101
+ return (a) => {
102
+ const t = a.index, o = a.output.length, u = n(a);
103
+ return (!u || e) && (a.index = t, a.output.length !== o && (a.output.length = o)), u;
104
+ };
105
+ }, _ = (r, e) => {
106
+ const n = v(r);
107
+ return n;
108
+ }, g = (() => {
109
+ let r = 0;
110
+ return (e) => {
111
+ const n = v(e), a = r += 1;
112
+ return (t) => {
113
+ var o;
114
+ if (t.options.memoization === false) return n(t);
115
+ const u = t.index, s = (o = t.cache)[a] || (o[a] = new Map()), c = s.get(u);
116
+ if (c === false) return false;
117
+ if (W(c)) return t.index = c, true;
118
+ if (c) return t.index = c.index, c.output?.length && t.output.push(...c.output), true;
119
+ {
120
+ const Z = t.output.length;
121
+ if (n(t)) {
122
+ const D = t.index, U = t.output.length;
123
+ if (U > Z) {
124
+ const ee = t.output.slice(Z, U);
125
+ s.set(u, {
126
+ index: D,
127
+ output: ee
128
+ });
129
+ } else s.set(u, D);
130
+ return true;
131
+ } else return s.set(u, false), false;
132
+ }
133
+ };
134
+ };
135
+ })(), E = (r) => {
136
+ let e;
137
+ return (n) => (e || (e = v(r())), e(n));
138
+ }, v = Y((r) => {
139
+ if (d(r)) return Q(r) ? E(r) : r;
140
+ if (b(r) || X(r)) return i(r);
141
+ if (A(r)) return x(r);
142
+ if (K(r)) return l(Object.values(r));
143
+ throw new Error("Invalid rule");
144
+ }), P = "abcdefghijklmnopqrstuvwxyz", ir = (r) => {
145
+ let e = "";
146
+ for (; r > 0;) {
147
+ const n = (r - 1) % 26;
148
+ e = P[n] + e, r = Math.floor((r - 1) / 26);
149
+ }
150
+ return e;
151
+ }, O = (r) => {
152
+ let e = 0;
153
+ for (let n = 0, a = r.length; n < a; n++) e = e * 26 + P.indexOf(r[n]) + 1;
154
+ return e;
155
+ }, S = (r, e) => {
156
+ if (e < r) return S(e, r);
157
+ const n = [];
158
+ for (; r <= e;) n.push(r++);
159
+ return n;
160
+ }, or = (r, e, n) => S(r, e).map((a) => String(a).padStart(n, "0")), R = (r, e) => S(O(r), O(e)).map(ir), p = (r) => r, z = (r) => ur((e) => rr(e, r, { memoization: false }).join("")), ur = (r) => {
161
+ const e = {};
162
+ return (n) => e[n] ?? (e[n] = r(n));
163
+ }, sr = i(/^\*\*\/\*$/, ".*"), cr = i(/^\*\*\/(\*)?([ a-zA-Z0-9._-]+)$/, (r, e, n) => `.*${e ? "" : "(?:^|/)"}${n.replaceAll(".", "\\.")}`), lr = i(/^\*\*\/(\*)?([ a-zA-Z0-9._-]*)\{([ a-zA-Z0-9._-]+(?:,[ a-zA-Z0-9._-]+)*)\}$/, (r, e, n, a) => `.*${e ? "" : "(?:^|/)"}${n.replaceAll(".", "\\.")}(?:${a.replaceAll(",", "|").replaceAll(".", "\\.")})`), y = i(/\\./, p), pr = i(/[$.*+?^(){}[\]\|]/, (r) => `\\${r}`), vr = i(/./, p), hr = i(/^(?:!!)*!(.*)$/, (r, e) => `(?!^${L(e)}$).*?`), dr = i(/^(!!)+/, ""), fr = l([hr, dr]), xr = i(/\/(\*\*\/)+/, "(?:/.+/|/)"), gr = i(/^(\*\*\/)+/, "(?:^|.*/)"), mr = i(/\/(\*\*)$/, "(?:/.*|$)"), _r = i(/\*\*/, ".*"), j = l([
164
+ xr,
165
+ gr,
166
+ mr,
167
+ _r
168
+ ]), Sr = i(/\*\/(?!\*\*\/)/, "[^/]*/"), yr = i(/\*/, "[^/]*"), N = l([Sr, yr]), k = i("?", "[^/]"), $r = i("[", p), wr = i("]", p), Ar = i(/[!^]/, "^/"), br = i(/[a-z]-[a-z]|[0-9]-[0-9]/i, p), Cr = i(/[$.*+?^(){}[\|]/, (r) => `\\${r}`), Mr = i(/[^\]]/, p), Er = l([
169
+ y,
170
+ Cr,
171
+ br,
172
+ Mr
173
+ ]), B = x([
174
+ $r,
175
+ tr(Ar),
176
+ f(Er),
177
+ wr
178
+ ]), Pr = i("{", "(?:"), Or = i("}", ")"), Rr = i(/(\d+)\.\.(\d+)/, (r, e, n) => or(+e, +n, Math.min(e.length, n.length)).join("|")), zr = i(/([a-z]+)\.\.([a-z]+)/, (r, e, n) => R(e, n).join("|")), jr = i(/([A-Z]+)\.\.([A-Z]+)/, (r, e, n) => R(e.toLowerCase(), n.toLowerCase()).join("|").toUpperCase()), Nr = l([
179
+ Rr,
180
+ zr,
181
+ jr
182
+ ]), I = x([
183
+ Pr,
184
+ Nr,
185
+ Or
186
+ ]), kr = i("{", "(?:"), Br = i("}", ")"), Ir = i(",", "|"), Fr = i(/[$.*+?^(){[\]\|]/, (r) => `\\${r}`), Lr = i(/[^}]/, p), Zr = E(() => F), Dr = l([
187
+ j,
188
+ N,
189
+ k,
190
+ B,
191
+ I,
192
+ Zr,
193
+ y,
194
+ Fr,
195
+ Ir,
196
+ Lr
197
+ ]), F = x([
198
+ kr,
199
+ f(Dr),
200
+ Br
201
+ ]), Ur = f(l([
202
+ sr,
203
+ cr,
204
+ lr,
205
+ fr,
206
+ j,
207
+ N,
208
+ k,
209
+ B,
210
+ I,
211
+ F,
212
+ y,
213
+ pr,
214
+ vr
215
+ ])), Vr = Ur, Gr = z(Vr), L = Gr, Tr = i(/\\./, p), qr = i(/./, p), Hr = i(/\*\*\*+/, "*"), Jr = i(/([^/{[(!])\*\*/, (r, e) => `${e}*`), Qr = i(/(^|.)\*\*(?=[^*/)\]}])/, (r, e) => `${e}*`), Wr = f(l([
216
+ Tr,
217
+ Hr,
218
+ Jr,
219
+ Qr,
220
+ qr
221
+ ])), Kr = Wr, Xr = z(Kr), Yr = Xr, $ = (r, e) => {
222
+ const n = Array.isArray(r) ? r : [r];
223
+ if (!n.length) return false;
224
+ const a = n.map($.compile), t = n.every((s) => /(\/(?:\*\*)?|\[\/\])$/.test(s)), o = e.replace(/[\\\/]+/g, "/").replace(/\/$/, t ? "/" : "");
225
+ return a.some((s) => s.test(o));
226
+ };
227
+ $.compile = (r) => new RegExp(`^${L(Yr(r))}$`, "s");
228
+ var re = $;
229
+ return J(w);
230
+ })();
231
+ return __lib__.default || __lib__;
232
+ };
233
+ let _match;
234
+ const zeptomatch = (path, pattern) => {
235
+ if (!_match) {
236
+ _match = _lazyMatch();
237
+ _lazyMatch = null;
238
+ }
239
+ return _match(path, pattern);
240
+ };
241
+ const _DRIVE_LETTER_START_RE = /^[A-Za-z]:\//;
242
+ function normalizeWindowsPath(input = "") {
243
+ if (!input) {
244
+ return input;
245
+ }
246
+ return input.replace(/\\/g, "/").replace(_DRIVE_LETTER_START_RE, (r) => r.toUpperCase());
247
+ }
248
+ const _UNC_REGEX = /^[/\\]{2}/;
249
+ const _IS_ABSOLUTE_RE = /^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/;
250
+ const _DRIVE_LETTER_RE = /^[A-Za-z]:$/;
251
+ const _ROOT_FOLDER_RE = /^\/([A-Za-z]:)?$/;
252
+ const _EXTNAME_RE = /.(\.[^./]+|\.)$/;
253
+ const _PATH_ROOT_RE = /^[/\\]|^[a-zA-Z]:[/\\]/;
254
+ const sep = "/";
255
+ const normalize = function(path) {
256
+ if (path.length === 0) {
257
+ return ".";
258
+ }
259
+ path = normalizeWindowsPath(path);
260
+ const isUNCPath = path.match(_UNC_REGEX);
261
+ const isPathAbsolute = isAbsolute(path);
262
+ const trailingSeparator = path[path.length - 1] === "/";
263
+ path = normalizeString(path, !isPathAbsolute);
264
+ if (path.length === 0) {
265
+ if (isPathAbsolute) {
266
+ return "/";
267
+ }
268
+ return trailingSeparator ? "./" : ".";
269
+ }
270
+ if (trailingSeparator) {
271
+ path += "/";
272
+ }
273
+ if (_DRIVE_LETTER_RE.test(path)) {
274
+ path += "/";
275
+ }
276
+ if (isUNCPath) {
277
+ if (!isPathAbsolute) {
278
+ return `//./${path}`;
279
+ }
280
+ return `//${path}`;
281
+ }
282
+ return isPathAbsolute && !isAbsolute(path) ? `/${path}` : path;
283
+ };
284
+ const join = function(...segments) {
285
+ let path = "";
286
+ for (const seg of segments) {
287
+ if (!seg) {
288
+ continue;
289
+ }
290
+ if (path.length > 0) {
291
+ const pathTrailing = path[path.length - 1] === "/";
292
+ const segLeading = seg[0] === "/";
293
+ const both = pathTrailing && segLeading;
294
+ if (both) {
295
+ path += seg.slice(1);
296
+ } else {
297
+ path += pathTrailing || segLeading ? seg : `/${seg}`;
298
+ }
299
+ } else {
300
+ path += seg;
301
+ }
302
+ }
303
+ return normalize(path);
304
+ };
305
+ function cwd() {
306
+ if (typeof process !== "undefined" && typeof process.cwd === "function") {
307
+ return process.cwd().replace(/\\/g, "/");
308
+ }
309
+ return "/";
310
+ }
311
+ const resolve = function(...arguments_) {
312
+ arguments_ = arguments_.map((argument) => normalizeWindowsPath(argument));
313
+ let resolvedPath = "";
314
+ let resolvedAbsolute = false;
315
+ for (let index = arguments_.length - 1; index >= -1 && !resolvedAbsolute; index--) {
316
+ const path = index >= 0 ? arguments_[index] : cwd();
317
+ if (!path || path.length === 0) {
318
+ continue;
319
+ }
320
+ resolvedPath = `${path}/${resolvedPath}`;
321
+ resolvedAbsolute = isAbsolute(path);
322
+ }
323
+ resolvedPath = normalizeString(resolvedPath, !resolvedAbsolute);
324
+ if (resolvedAbsolute && !isAbsolute(resolvedPath)) {
325
+ return `/${resolvedPath}`;
326
+ }
327
+ return resolvedPath.length > 0 ? resolvedPath : ".";
328
+ };
329
+ function normalizeString(path, allowAboveRoot) {
330
+ let res = "";
331
+ let lastSegmentLength = 0;
332
+ let lastSlash = -1;
333
+ let dots = 0;
334
+ let char = null;
335
+ for (let index = 0; index <= path.length; ++index) {
336
+ if (index < path.length) {
337
+ char = path[index];
338
+ } else if (char === "/") {
339
+ break;
340
+ } else {
341
+ char = "/";
342
+ }
343
+ if (char === "/") {
344
+ if (lastSlash === index - 1 || dots === 1);
345
+ else if (dots === 2) {
346
+ if (res.length < 2 || lastSegmentLength !== 2 || res[res.length - 1] !== "." || res[res.length - 2] !== ".") {
347
+ if (res.length > 2) {
348
+ const lastSlashIndex = res.lastIndexOf("/");
349
+ if (lastSlashIndex === -1) {
350
+ res = "";
351
+ lastSegmentLength = 0;
352
+ } else {
353
+ res = res.slice(0, lastSlashIndex);
354
+ lastSegmentLength = res.length - 1 - res.lastIndexOf("/");
355
+ }
356
+ lastSlash = index;
357
+ dots = 0;
358
+ continue;
359
+ } else if (res.length > 0) {
360
+ res = "";
361
+ lastSegmentLength = 0;
362
+ lastSlash = index;
363
+ dots = 0;
364
+ continue;
365
+ }
366
+ }
367
+ if (allowAboveRoot) {
368
+ res += res.length > 0 ? "/.." : "..";
369
+ lastSegmentLength = 2;
370
+ }
371
+ } else {
372
+ if (res.length > 0) {
373
+ res += `/${path.slice(lastSlash + 1, index)}`;
374
+ } else {
375
+ res = path.slice(lastSlash + 1, index);
376
+ }
377
+ lastSegmentLength = index - lastSlash - 1;
378
+ }
379
+ lastSlash = index;
380
+ dots = 0;
381
+ } else if (char === "." && dots !== -1) {
382
+ ++dots;
383
+ } else {
384
+ dots = -1;
385
+ }
386
+ }
387
+ return res;
388
+ }
389
+ const isAbsolute = function(p) {
390
+ return _IS_ABSOLUTE_RE.test(p);
391
+ };
392
+ const toNamespacedPath = function(p) {
393
+ return normalizeWindowsPath(p);
394
+ };
395
+ const extname = function(p) {
396
+ if (p === "..") return "";
397
+ const match = _EXTNAME_RE.exec(normalizeWindowsPath(p));
398
+ return match && match[1] || "";
399
+ };
400
+ const relative = function(from, to) {
401
+ const _from = resolve(from).replace(_ROOT_FOLDER_RE, "$1").split("/");
402
+ const _to = resolve(to).replace(_ROOT_FOLDER_RE, "$1").split("/");
403
+ if (_to[0][1] === ":" && _from[0][1] === ":" && _from[0] !== _to[0]) {
404
+ return _to.join("/");
405
+ }
406
+ const _fromCopy = [..._from];
407
+ for (const segment of _fromCopy) {
408
+ if (_to[0] !== segment) {
409
+ break;
410
+ }
411
+ _from.shift();
412
+ _to.shift();
413
+ }
414
+ return [..._from.map(() => ".."), ..._to].join("/");
415
+ };
416
+ const dirname = function(p) {
417
+ const segments = normalizeWindowsPath(p).replace(/\/$/, "").split("/").slice(0, -1);
418
+ if (segments.length === 1 && _DRIVE_LETTER_RE.test(segments[0])) {
419
+ segments[0] += "/";
420
+ }
421
+ return segments.join("/") || (isAbsolute(p) ? "/" : ".");
422
+ };
423
+ const format = function(p) {
424
+ const ext = p.ext ? p.ext.startsWith(".") ? p.ext : `.${p.ext}` : "";
425
+ const segments = [
426
+ p.root,
427
+ p.dir,
428
+ p.base ?? (p.name ?? "") + ext
429
+ ].filter(Boolean);
430
+ return normalizeWindowsPath(p.root ? resolve(...segments) : segments.join("/"));
431
+ };
432
+ const basename = function(p, extension) {
433
+ const segments = normalizeWindowsPath(p).split("/");
434
+ let lastSegment = "";
435
+ for (let i = segments.length - 1; i >= 0; i--) {
436
+ const val = segments[i];
437
+ if (val) {
438
+ lastSegment = val;
439
+ break;
440
+ }
441
+ }
442
+ return extension && lastSegment.endsWith(extension) ? lastSegment.slice(0, -extension.length) : lastSegment;
443
+ };
444
+ const parse = function(p) {
445
+ const root = _PATH_ROOT_RE.exec(p)?.[0]?.replace(/\\/g, "/") || "";
446
+ const base = basename(p);
447
+ const extension = extname(base);
448
+ return {
449
+ root,
450
+ dir: dirname(p),
451
+ base,
452
+ ext: extension,
453
+ name: base.slice(0, base.length - extension.length)
454
+ };
455
+ };
456
+ const matchesGlob = (path, pattern) => {
457
+ return zeptomatch(pattern, normalize(path));
458
+ };
459
+ const _path = {
460
+ __proto__: null,
461
+ basename,
462
+ dirname,
463
+ extname,
464
+ format,
465
+ isAbsolute,
466
+ join,
467
+ matchesGlob,
468
+ normalize,
469
+ normalizeString,
470
+ parse,
471
+ relative,
472
+ resolve,
473
+ sep,
474
+ toNamespacedPath
475
+ };
476
+
477
+ //#endregion
478
+ //#region ../../node_modules/.pnpm/pathe@2.0.3/node_modules/pathe/dist/index.mjs
479
+ const delimiter = /* @__PURE__ */ (() => globalThis.process?.platform === "win32" ? ";" : ":")();
480
+ const _platforms = {
481
+ posix: void 0,
482
+ win32: void 0
483
+ };
484
+ const mix = (del = delimiter) => {
485
+ return new Proxy(_path, { get(_, prop) {
486
+ if (prop === "delimiter") return del;
487
+ if (prop === "posix") return posix;
488
+ if (prop === "win32") return win32;
489
+ return _platforms[prop] || _path[prop];
490
+ } });
491
+ };
492
+ const posix = /* @__PURE__ */ mix(":");
493
+ const win32 = /* @__PURE__ */ mix(";");
494
+
495
+ //#endregion
496
+ export { basename, posix as default, posix, delimiter, dirname, extname, format, isAbsolute, join, matchesGlob, normalize, normalizeString, parse, relative, resolve, sep, toNamespacedPath, win32 };
@@ -0,0 +1 @@
1
+ export * from "picomatch";