@voidzero-dev/vite-plus-test 0.1.9 → 0.1.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (205) hide show
  1. package/LICENSE.md +181 -1
  2. package/dist/@vitest/browser/client/.vite/manifest.json +6 -6
  3. package/dist/@vitest/browser/client/__vitest__/assets/index-Da0hb3oU.css +1 -0
  4. package/dist/@vitest/browser/client/__vitest__/assets/index-Di71CKDo.js +63 -0
  5. package/dist/@vitest/browser/client/__vitest__/favicon.ico +0 -0
  6. package/dist/@vitest/browser/client/__vitest__/favicon.svg +49 -4
  7. package/dist/@vitest/browser/client/__vitest__/index.html +2 -2
  8. package/dist/@vitest/browser/client/__vitest_browser__/{orchestrator-S_3e_uzt.js → orchestrator-CXs6qrFe.js} +70 -28
  9. package/dist/@vitest/browser/client/__vitest_browser__/{tester-k74mgIRa.js → tester-K5NNxh1O.js} +167 -58
  10. package/dist/@vitest/browser/client/__vitest_browser__/{utils-uxqdqUz8.js → utils-C2ISqq1C.js} +2 -2
  11. package/dist/@vitest/browser/client/favicon.svg +49 -4
  12. package/dist/@vitest/browser/client/orchestrator.html +2 -2
  13. package/dist/@vitest/browser/client/tester/tester.html +2 -2
  14. package/dist/@vitest/browser/client.js +20 -13
  15. package/dist/@vitest/browser/context.d.ts +160 -10
  16. package/dist/@vitest/browser/context.js +108 -22
  17. package/dist/@vitest/browser/expect-element.js +23 -28
  18. package/dist/@vitest/browser/index-5Pe7X7sp.js +7 -0
  19. package/dist/@vitest/browser/index.d.ts +20 -2
  20. package/dist/@vitest/browser/index.js +5706 -159
  21. package/dist/@vitest/browser/locators.d.ts +14 -3
  22. package/dist/@vitest/browser/locators.js +1 -1
  23. package/dist/@vitest/browser-playwright/index.d.ts +22 -5
  24. package/dist/@vitest/browser-playwright/index.js +169 -61
  25. package/dist/@vitest/browser-preview/index.d.ts +14 -1
  26. package/dist/@vitest/browser-preview/locators.js +31 -18
  27. package/dist/@vitest/browser-webdriverio/index.d.ts +17 -3
  28. package/dist/@vitest/browser-webdriverio/index.js +22 -2
  29. package/dist/@vitest/browser-webdriverio/locators.js +84 -7
  30. package/dist/@vitest/expect/index.d.ts +172 -54
  31. package/dist/@vitest/expect/index.js +124 -67
  32. package/dist/@vitest/mocker/auto-register.js +1 -0
  33. package/dist/@vitest/mocker/automock.d.ts +1 -0
  34. package/dist/@vitest/mocker/automock.js +5 -0
  35. package/dist/@vitest/mocker/browser.d.ts +4 -4
  36. package/dist/@vitest/mocker/browser.js +1 -0
  37. package/dist/@vitest/mocker/chunk-automock.js +182 -14
  38. package/dist/@vitest/mocker/chunk-helpers.js +44 -0
  39. package/dist/@vitest/mocker/chunk-hoistMocks.js +659 -0
  40. package/dist/@vitest/mocker/chunk-mocker.js +41 -30
  41. package/dist/@vitest/mocker/chunk-registry.js +21 -7
  42. package/dist/@vitest/mocker/chunk-utils.js +18 -7
  43. package/dist/@vitest/mocker/hoistMocks.d-w2ILr1dG.d.ts +739 -0
  44. package/dist/@vitest/mocker/{index.d-C-sLYZi-.d.ts → index.d-B41z0AuW.d.ts} +1 -1
  45. package/dist/@vitest/mocker/index.d.ts +2 -2
  46. package/dist/@vitest/mocker/index.js +18 -3
  47. package/dist/@vitest/mocker/{mocker.d-TnKRhz7N.d.ts → mocker.d-QEntlm6J.d.ts} +10 -5
  48. package/dist/@vitest/mocker/node.d.ts +5 -734
  49. package/dist/@vitest/mocker/node.js +29 -587
  50. package/dist/@vitest/mocker/redirect.js +4 -4
  51. package/dist/@vitest/mocker/register.d.ts +3 -3
  52. package/dist/@vitest/mocker/register.js +1 -0
  53. package/dist/@vitest/mocker/transforms.d.ts +6 -0
  54. package/dist/@vitest/mocker/transforms.js +8 -0
  55. package/dist/@vitest/mocker/{types.d-B8CCKmHt.d.ts → types.d-BjI5eAwu.d.ts} +23 -7
  56. package/dist/@vitest/pretty-format/index.d.ts +11 -1
  57. package/dist/@vitest/pretty-format/index.js +33 -4
  58. package/dist/@vitest/runner/chunk-tasks.js +305 -37
  59. package/dist/@vitest/runner/index.d.ts +5 -6
  60. package/dist/@vitest/runner/index.js +1146 -455
  61. package/dist/@vitest/runner/{tasks.d-C7UxawJ9.d.ts → tasks.d-D2GKpdwQ.d.ts} +726 -55
  62. package/dist/@vitest/runner/types.d.ts +2 -182
  63. package/dist/@vitest/runner/utils.d.ts +16 -8
  64. package/dist/@vitest/runner/utils.js +1 -1
  65. package/dist/@vitest/snapshot/{environment.d-DHdQ1Csl.d.ts → environment.d-DOJxxZV9.d.ts} +2 -7
  66. package/dist/@vitest/snapshot/environment.d.ts +2 -1
  67. package/dist/@vitest/snapshot/environment.js +1 -1
  68. package/dist/@vitest/snapshot/index.d.ts +4 -3
  69. package/dist/@vitest/snapshot/index.js +21 -550
  70. package/dist/@vitest/snapshot/manager.d.ts +3 -2
  71. package/dist/@vitest/snapshot/manager.js +1 -1
  72. package/dist/@vitest/snapshot/{rawSnapshot.d-lFsMJFUd.d.ts → rawSnapshot.d-U2kJUxDr.d.ts} +1 -1
  73. package/dist/@vitest/spy/index.d.ts +34 -4
  74. package/dist/@vitest/spy/index.js +69 -19
  75. package/dist/@vitest/utils/diff.js +11 -9
  76. package/dist/@vitest/utils/display.d.ts +2 -1
  77. package/dist/@vitest/utils/display.js +38 -5
  78. package/dist/@vitest/utils/error.d.ts +2 -1
  79. package/dist/@vitest/utils/error.js +1 -2
  80. package/dist/@vitest/utils/helpers.d.ts +4 -1
  81. package/dist/@vitest/utils/helpers.js +43 -1
  82. package/dist/@vitest/utils/resolver.js +1 -2
  83. package/dist/@vitest/utils/serialize.js +6 -6
  84. package/dist/@vitest/utils/source-map/node.d.ts +6 -0
  85. package/dist/@vitest/utils/source-map/node.js +23 -0
  86. package/dist/@vitest/utils/source-map.js +15 -5
  87. package/dist/browser.d.ts +3 -2
  88. package/dist/browser.js +2 -2
  89. package/dist/chunks/acorn.B2iPLyUM.js +5958 -0
  90. package/dist/chunks/{base.CJ0Y4ePK.js → base.DM0-RqVb.js} +54 -16
  91. package/dist/chunks/{benchmark.B3N2zMcH.js → benchmark.D0SlKNbZ.js} +1 -1
  92. package/dist/chunks/{browser.d.ChKACdzH.d.ts → browser.d.X3SXoOCV.d.ts} +4 -1
  93. package/dist/chunks/{cac.DVeoLl0M.js → cac.CWGDZnXT.js} +979 -20
  94. package/dist/chunks/{cli-api.B7PN_QUv.js → cli-api.DuT9iuvY.js} +8764 -7898
  95. package/dist/chunks/{config.d.Cy95HiCx.d.ts → config.d.EJLVE3es.d.ts} +30 -15
  96. package/dist/chunks/{console.Cf-YriPC.js → console.3WNpx0tS.js} +3 -2
  97. package/dist/chunks/{constants.D_Q9UYh-.js → constants.CPYnjOGj.js} +4 -2
  98. package/dist/chunks/coverage.Bri33R1t.js +1050 -0
  99. package/dist/chunks/{creator.DAmOKTvJ.js → creator.DgVhQm5q.js} +35 -4
  100. package/dist/chunks/{defaults.BOqNVLsY.js → defaults.CdU2lD-q.js} +4 -3
  101. package/dist/chunks/{global.d.B15mdLcR.d.ts → global.d.x-ILCfAE.d.ts} +1 -2
  102. package/dist/chunks/{globals.DOayXfHP.js → globals.BXNGLnTL.js} +11 -10
  103. package/dist/chunks/{coverage.AVPTjMgw.js → index.BCY_7LL2.js} +5 -959
  104. package/dist/chunks/{index.C5r1PdPD.js → index.CEzQDJGb.js} +1 -1
  105. package/dist/chunks/{index.D3XRDfWc.js → index.CMESou6r.js} +26 -1
  106. package/dist/chunks/{index.6Qv1eEA6.js → index.DGNSnENe.js} +95 -9
  107. package/dist/chunks/{index.M8mOzt4Y.js → index.DXMFO5MJ.js} +3279 -2914
  108. package/dist/chunks/{index.Z5E_ObnR.js → index.DlDSLQD3.js} +7 -3
  109. package/dist/chunks/{index.CyBMJtT7.js → index.EY6TCHpo.js} +10 -8
  110. package/dist/chunks/{index.D4KonVSU.js → index.og1WyBLx.js} +18 -3
  111. package/dist/chunks/{init-forks._y3TW739.js → init-forks.DeArv0jT.js} +1 -1
  112. package/dist/chunks/{init-threads.DBO2kn-p.js → init-threads.-2OUl4Nn.js} +1 -1
  113. package/dist/chunks/{init.B6MLFIaN.js → init.DICorXCo.js} +52 -13
  114. package/dist/chunks/native.DPzPHdi5.js +148 -0
  115. package/dist/chunks/nativeModuleMocker.DndvSdL6.js +206 -0
  116. package/dist/chunks/nativeModuleRunner.BIakptoF.js +36 -0
  117. package/dist/chunks/{node.Ce0vMQM7.js → node.COQbm6gK.js} +1 -1
  118. package/dist/chunks/{plugin.d.CtqpEehP.d.ts → plugin.d.BuW-flqo.d.ts} +1 -1
  119. package/dist/chunks/{reporters.d.CWXNI2jG.d.ts → reporters.d.DVUYHHhe.d.ts} +328 -79
  120. package/dist/chunks/rpc.MzXet3jl.js +144 -0
  121. package/dist/chunks/{rpc.d.RH3apGEf.d.ts → rpc.d.BFMWpdph.d.ts} +10 -2
  122. package/dist/chunks/{setup-common.Cm-kSBVi.js → setup-common.B41N_kPE.js} +3 -3
  123. package/dist/chunks/{startModuleRunner.DEj0jb3e.js → startVitestModuleRunner.C3ZR-4J3.js} +265 -405
  124. package/dist/chunks/{suite.d.BJWk38HB.d.ts → suite.d.udJtyAgw.d.ts} +1 -1
  125. package/dist/chunks/{vi.2VT5v0um.js → test.CTcmp4Su.js} +538 -181
  126. package/dist/chunks/{utils.DvEY5TfP.js → utils.BX5Fg8C4.js} +8 -1
  127. package/dist/chunks/{vm.D3epNOPZ.js → vm.Dh2rTtmP.js} +48 -8
  128. package/dist/chunks/{worker.d.Dyxm8DEL.d.ts → worker.d.B84sVRy0.d.ts} +2 -2
  129. package/dist/cli.js +6 -5
  130. package/dist/client/.vite/manifest.json +6 -6
  131. package/dist/client/__vitest__/assets/index-Da0hb3oU.css +1 -0
  132. package/dist/client/__vitest__/assets/index-Di71CKDo.js +63 -0
  133. package/dist/client/__vitest__/favicon.ico +0 -0
  134. package/dist/client/__vitest__/favicon.svg +49 -4
  135. package/dist/client/__vitest__/index.html +2 -2
  136. package/dist/client/__vitest_browser__/{orchestrator-S_3e_uzt.js → orchestrator-CXs6qrFe.js} +70 -28
  137. package/dist/client/__vitest_browser__/{tester-k74mgIRa.js → tester-K5NNxh1O.js} +167 -58
  138. package/dist/client/__vitest_browser__/{utils-uxqdqUz8.js → utils-C2ISqq1C.js} +2 -2
  139. package/dist/client/favicon.svg +49 -4
  140. package/dist/client/orchestrator.html +2 -2
  141. package/dist/client/tester/tester.html +2 -2
  142. package/dist/client.js +20 -13
  143. package/dist/config.cjs +3 -2
  144. package/dist/config.d.ts +13 -12
  145. package/dist/config.js +2 -2
  146. package/dist/context.js +108 -22
  147. package/dist/coverage.d.ts +12 -8
  148. package/dist/coverage.js +8 -5
  149. package/dist/environments.js +3 -1
  150. package/dist/expect-element.js +23 -23
  151. package/dist/index-5Pe7X7sp.js +7 -0
  152. package/dist/index.d.ts +66 -27
  153. package/dist/index.js +10 -9
  154. package/dist/locators.d.ts +14 -3
  155. package/dist/locators.js +1 -1
  156. package/dist/module-evaluator.d.ts +11 -1
  157. package/dist/module-evaluator.js +43 -26
  158. package/dist/node.d.ts +28 -14
  159. package/dist/node.js +42 -40
  160. package/dist/nodejs-worker-loader.js +41 -0
  161. package/dist/plugins/mocker-transforms.mjs +2 -0
  162. package/dist/plugins/utils-source-map-node.mjs +2 -0
  163. package/dist/reporters.d.ts +8 -8
  164. package/dist/reporters.js +7 -5
  165. package/dist/runners.d.ts +24 -5
  166. package/dist/runners.js +6 -6
  167. package/dist/runtime.d.ts +6 -0
  168. package/dist/runtime.js +35 -0
  169. package/dist/snapshot.js +4 -2
  170. package/dist/suite.d.ts +1 -1
  171. package/dist/suite.js +4 -2
  172. package/dist/vendor/blazediff_core.d.mts +1 -0
  173. package/dist/vendor/blazediff_core.mjs +117 -0
  174. package/dist/vendor/chai.mjs +4 -249
  175. package/dist/vendor/convert-source-map.d.mts +1 -0
  176. package/dist/vendor/convert-source-map.mjs +150 -0
  177. package/dist/vendor/expect-type.d.mts +14 -7
  178. package/dist/vendor/expect-type.mjs +5 -5
  179. package/dist/vendor/std-env.d.mts +131 -40
  180. package/dist/vendor/std-env.mjs +114 -117
  181. package/dist/worker.d.ts +6 -6
  182. package/dist/worker.js +27 -21
  183. package/dist/workers/forks.js +23 -17
  184. package/dist/workers/runVmTests.js +18 -16
  185. package/dist/workers/threads.js +23 -17
  186. package/dist/workers/vmForks.js +15 -12
  187. package/dist/workers/vmThreads.js +15 -12
  188. package/globals.d.ts +2 -0
  189. package/package.json +35 -26
  190. package/suppress-warnings.cjs +1 -0
  191. package/dist/@vitest/browser/client/__vitest__/assets/index-BUCFJtth.js +0 -57
  192. package/dist/@vitest/browser/client/__vitest__/assets/index-DlhE0rqZ.css +0 -1
  193. package/dist/@vitest/browser/index-D6m36C6U.js +0 -11
  194. package/dist/@vitest/utils/chunk-_commonjsHelpers.js +0 -5
  195. package/dist/@vitest/utils/highlight.d.ts +0 -9
  196. package/dist/@vitest/utils/highlight.js +0 -538
  197. package/dist/chunks/date.Bq6ZW5rf.js +0 -73
  198. package/dist/chunks/rpc.BoxB0q7B.js +0 -76
  199. package/dist/chunks/test.B8ej_ZHS.js +0 -254
  200. package/dist/client/__vitest__/assets/index-BUCFJtth.js +0 -57
  201. package/dist/client/__vitest__/assets/index-DlhE0rqZ.css +0 -1
  202. package/dist/index-D6m36C6U.js +0 -6
  203. package/dist/mocker.d.ts +0 -1
  204. package/dist/mocker.js +0 -1
  205. package/dist/module-runner.js +0 -17
@@ -1,7 +1,59 @@
1
- //#region ../../node_modules/.pnpm/std-env@3.10.0/node_modules/std-env/dist/index.d.ts
2
- type EnvObject = Record<string, string | undefined>;
3
- declare const env: EnvObject;
4
- declare const nodeENV: string;
1
+ //#region ../../node_modules/.pnpm/std-env@4.0.0/node_modules/std-env/dist/index.d.mts
2
+ //#region src/agents.d.ts
3
+ /**
4
+ * Represents the name of an AI coding agent.
5
+ */
6
+ type AgentName = (string & {}) | "cursor" | "claude" | "devin" | "replit" | "gemini" | "codex" | "auggie" | "opencode" | "kiro" | "goose" | "pi";
7
+ /**
8
+ * Provides information about an AI coding agent.
9
+ */
10
+ type AgentInfo = {
11
+ /**
12
+ * The name of the AI coding agent. See {@link AgentName} for possible values.
13
+ */
14
+ name?: AgentName;
15
+ };
16
+ /**
17
+ * Detects the current AI coding agent from environment variables.
18
+ *
19
+ * Supported agents: `cursor`, `claude`, `devin`, `replit`, `gemini`, `codex`, `auggie`, `opencode`, `kiro`, `goose`, `pi`
20
+ *
21
+ * You can also set the `AI_AGENT` environment variable to explicitly specify the agent name.
22
+ */
23
+ declare function detectAgent(): AgentInfo;
24
+ /**
25
+ * The detected agent information for the current execution context.
26
+ * This value is evaluated once at module initialisation.
27
+ */
28
+ declare const agentInfo: AgentInfo;
29
+ /**
30
+ * Name of the detected agent.
31
+ */
32
+ declare const agent: AgentName | undefined;
33
+ /**
34
+ * A boolean flag indicating whether the current environment is running inside an AI coding agent.
35
+ */
36
+ declare const isAgent: boolean; //#endregion
37
+ //#region src/env.d.ts
38
+ /**
39
+ * Runtime-agnostic reference to environment variables.
40
+ *
41
+ * Resolves to `globalThis.process.env` when available, otherwise an empty object.
42
+ */
43
+ declare const env: Record<string, string | undefined>;
44
+ /**
45
+ * Runtime-agnostic reference to the `process` global.
46
+ *
47
+ * Resolves to `globalThis.process` when available, otherwise a minimal shim containing only `env`.
48
+ */
49
+ declare const process: Partial<typeof globalThis.process>;
50
+ /**
51
+ * Current value of the `NODE_ENV` environment variable (or static value if replaced during build).
52
+ *
53
+ * If `NODE_ENV` is not set, this will be undefined.
54
+ */
55
+ declare const nodeENV: string | undefined; //#endregion
56
+ //#region src/flags.d.ts
5
57
  /** Value of process.platform */
6
58
  declare const platform: string;
7
59
  /** Detect if `CI` environment variable is set or a provider CI detected */
@@ -12,11 +64,11 @@ declare const hasTTY: boolean;
12
64
  declare const hasWindow: boolean;
13
65
  /** Detect if `DEBUG` environment variable is set */
14
66
  declare const isDebug: boolean;
15
- /** Detect if `NODE_ENV` environment variable is `test` */
67
+ /** Detect if `NODE_ENV` environment variable is `test` or `TEST` environment variable is set */
16
68
  declare const isTest: boolean;
17
- /** Detect if `NODE_ENV` environment variable is `production` */
69
+ /** Detect if `NODE_ENV` or `MODE` environment variable is `production` */
18
70
  declare const isProduction: boolean;
19
- /** Detect if `NODE_ENV` environment variable is `dev` or `development` */
71
+ /** Detect if `NODE_ENV` environment variable is `dev` or `development`, or if `MODE` environment variable is `development` */
20
72
  declare const isDevelopment: boolean;
21
73
  /** Detect if MINIMAL environment variable is set, running in CI or test or TTY is unavailable */
22
74
  declare const isMinimal: boolean;
@@ -26,63 +78,102 @@ declare const isWindows: boolean;
26
78
  declare const isLinux: boolean;
27
79
  /** Detect if process.platform is macOS (darwin kernel) */
28
80
  declare const isMacOS: boolean;
29
- /** Color Support */
81
+ /** Detect if terminal color output is supported based on `NO_COLOR`, `FORCE_COLOR`, TTY, and CI environment */
30
82
  declare const isColorSupported: boolean;
31
- /** Node.js versions */
83
+ /** Node.js version string (e.g. `"20.11.0"`), or `null` if not running in Node.js */
32
84
  declare const nodeVersion: string | null;
33
- declare const nodeMajorVersion: number | null;
34
- interface Process extends Partial<Omit<typeof globalThis.process, "versions">> {
35
- env: EnvObject;
36
- versions: Record<string, string>;
37
- }
38
- declare const process: Process;
39
- type ProviderName = "" | "appveyor" | "aws_amplify" | "azure_pipelines" | "azure_static" | "appcircle" | "bamboo" | "bitbucket" | "bitrise" | "buddy" | "buildkite" | "circle" | "cirrus" | "cloudflare_pages" | "cloudflare_workers" | "codebuild" | "codefresh" | "drone" | "drone" | "dsari" | "github_actions" | "gitlab" | "gocd" | "layerci" | "hudson" | "jenkins" | "magnum" | "netlify" | "nevercode" | "render" | "sail" | "semaphore" | "screwdriver" | "shippable" | "solano" | "strider" | "teamcity" | "travis" | "vercel" | "appcenter" | "codesandbox" | "stackblitz" | "stormkit" | "cleavr" | "zeabur" | "codesphere" | "railway" | "deno-deploy" | "firebase_app_hosting";
85
+ /** Node.js major version number (e.g. `20`), or `null` if not running in Node.js */
86
+ declare const nodeMajorVersion: number | null; //#endregion
87
+ //#region src/providers.d.ts
88
+ /**
89
+ * Represents the name of a CI/CD or Deployment provider.
90
+ */
91
+ type ProviderName = (string & {}) | "appveyor" | "aws_amplify" | "azure_pipelines" | "azure_static" | "appcircle" | "bamboo" | "bitbucket" | "bitrise" | "buddy" | "buildkite" | "circle" | "cirrus" | "cloudflare_pages" | "cloudflare_workers" | "google_cloudrun" | "google_cloudrun_job" | "codebuild" | "codefresh" | "drone" | "drone" | "dsari" | "github_actions" | "gitlab" | "gocd" | "layerci" | "hudson" | "jenkins" | "magnum" | "netlify" | "nevercode" | "render" | "sail" | "semaphore" | "screwdriver" | "shippable" | "solano" | "strider" | "teamcity" | "travis" | "vercel" | "appcenter" | "codesandbox" | "stackblitz" | "stormkit" | "cleavr" | "zeabur" | "codesphere" | "railway" | "deno-deploy" | "firebase_app_hosting";
92
+ /**
93
+ * Provides information about a CI/CD or Deployment provider, including its name and possibly other metadata.
94
+ */
40
95
  type ProviderInfo = {
96
+ /**
97
+ * The name of the CI/CD or Deployment provider. See {@link ProviderName} for possible values.
98
+ */
41
99
  name: ProviderName;
100
+ /**
101
+ * If is set to `true`, the environment is recognised as a CI/CD provider.
102
+ */
42
103
  ci?: boolean;
104
+ /**
105
+ * Arbitrary metadata associated with the provider.
106
+ */
43
107
  [meta: string]: any;
44
108
  };
45
- /** Current provider info */
109
+ /**
110
+ * Detects the current CI/CD or Deployment provider from environment variables.
111
+ */
112
+ declare function detectProvider(): ProviderInfo;
113
+ /**
114
+ * The detected provider information for the current execution context.
115
+ * This value is evaluated once at module initialisation.
116
+ */
46
117
  declare const providerInfo: ProviderInfo;
47
- declare const provider: ProviderName;
48
- type RuntimeName = "workerd" | "deno" | "netlify" | "node" | "bun" | "edge-light" | "fastly" | "";
118
+ /**
119
+ * Name of the detected provider, defaults to an empty string if no provider is detected.
120
+ */
121
+ declare const provider: ProviderName; //#endregion
122
+ //#region src/runtimes.d.ts
123
+ /**
124
+ * Represents the name of a JavaScript runtime.
125
+ *
126
+ * @see https://runtime-keys.proposal.wintercg.org/
127
+ */
128
+ type RuntimeName = (string & {}) | "workerd" | "deno" | "netlify" | "node" | "bun" | "edge-light" | "fastly";
49
129
  type RuntimeInfo = {
130
+ /**
131
+ * The name of the detected runtime.
132
+ */
50
133
  name: RuntimeName;
51
134
  };
52
135
  /**
53
- * Indicates if running in Node.js or a Node.js compatible runtime.
54
- *
55
- * **Note:** When running code in Bun and Deno with Node.js compatibility mode, `isNode` flag will be also `true`, indicating running in a Node.js compatible runtime.
56
- *
57
- * Use `runtime === "node"` if you need strict check for Node.js runtime.
58
- */
136
+ * Indicates if running in Node.js or a Node.js compatible runtime.
137
+ *
138
+ * **Note:** When running code in Bun and Deno with Node.js compatibility mode, `isNode` flag will be also `true`, indicating running in a Node.js compatible runtime.
139
+ *
140
+ * Use `runtime === "node"` if you need strict check for Node.js runtime.
141
+ */
59
142
  declare const isNode: boolean;
60
143
  /**
61
- * Indicates if running in Bun runtime.
62
- */
144
+ * Indicates if running in Bun runtime.
145
+ */
63
146
  declare const isBun: boolean;
64
147
  /**
65
- * Indicates if running in Deno runtime.
66
- */
148
+ * Indicates if running in Deno runtime.
149
+ */
67
150
  declare const isDeno: boolean;
68
151
  /**
69
- * Indicates if running in Fastly runtime.
70
- */
152
+ * Indicates if running in Fastly runtime.
153
+ */
71
154
  declare const isFastly: boolean;
72
155
  /**
73
- * Indicates if running in Netlify runtime.
74
- */
156
+ * Indicates if running in Netlify runtime.
157
+ */
75
158
  declare const isNetlify: boolean;
76
159
  /**
77
- *
78
- * Indicates if running in EdgeLight (Vercel Edge) runtime.
79
- */
160
+ * Indicates if running in EdgeLight (Vercel Edge) runtime.
161
+ */
80
162
  declare const isEdgeLight: boolean;
81
163
  /**
82
- * Indicates if running in Cloudflare Workers runtime.
83
- */
164
+ * Indicates if running in Cloudflare Workers runtime.
165
+ *
166
+ * https://developers.cloudflare.com/workers/runtime-apis/web-standards/#navigatoruseragent
167
+ */
84
168
  declare const isWorkerd: boolean;
169
+ /**
170
+ * Contains information about the detected runtime, if any.
171
+ */
85
172
  declare const runtimeInfo: RuntimeInfo | undefined;
86
- declare const runtime: RuntimeName;
173
+ /**
174
+ * A convenience constant that returns the name of the detected runtime,
175
+ * defaults to an empty string if no runtime is detected.
176
+ */
177
+ declare const runtime: RuntimeName; //#endregion
87
178
  //#endregion
88
- export { type EnvObject, type Process, type ProviderInfo, type ProviderName, type RuntimeInfo, type RuntimeName, env, hasTTY, hasWindow, isBun, isCI, isColorSupported, isDebug, isDeno, isDevelopment, isEdgeLight, isFastly, isLinux, isMacOS, isMinimal, isNetlify, isNode, isProduction, isTest, isWindows, isWorkerd, nodeENV, nodeMajorVersion, nodeVersion, platform, process, provider, providerInfo, runtime, runtimeInfo };
179
+ export { type AgentInfo, type AgentName, type ProviderInfo, type ProviderName, type RuntimeInfo, type RuntimeName, agent, agentInfo, detectAgent, detectProvider, env, hasTTY, hasWindow, isAgent, isBun, isCI, isColorSupported, isDebug, isDeno, isDevelopment, isEdgeLight, isFastly, isLinux, isMacOS, isMinimal, isNetlify, isNode, isProduction, isTest, isWindows, isWorkerd, nodeENV, nodeMajorVersion, nodeVersion, platform, process, provider, providerInfo, runtime, runtimeInfo };
@@ -1,157 +1,154 @@
1
- //#region ../../node_modules/.pnpm/std-env@3.10.0/node_modules/std-env/dist/index.mjs
2
- const r = Object.create(null), i = (e) => globalThis.process?.env || import.meta.env || globalThis.Deno?.env.toObject() || globalThis.__env__ || (e ? r : globalThis), o = new Proxy(r, {
3
- get(e, s) {
4
- return i()[s] ?? r[s];
5
- },
6
- has(e, s) {
7
- return s in i() || s in r;
8
- },
9
- set(e, s, E) {
10
- const B = i(!0);
11
- return B[s] = E, !0;
12
- },
13
- deleteProperty(e, s) {
14
- if (!s) return !1;
15
- const E = i(!0);
16
- return delete E[s], !0;
17
- },
18
- ownKeys() {
19
- const e = i(!0);
20
- return Object.keys(e);
21
- }
22
- }), t = typeof process < "u" && process.env && process.env.NODE_ENV || "", f = [
23
- ["APPVEYOR"],
1
+ //#region ../../node_modules/.pnpm/std-env@4.0.0/node_modules/std-env/dist/index.mjs
2
+ const e = globalThis.process?.env || Object.create(null), t = globalThis.process || { env: e }, n = t !== void 0 && t.env && t.env.NODE_ENV || void 0, r = [
3
+ [`claude`, [`CLAUDECODE`, `CLAUDE_CODE`]],
4
+ [`replit`, [`REPL_ID`]],
5
+ [`gemini`, [`GEMINI_CLI`]],
6
+ [`codex`, [`CODEX_SANDBOX`, `CODEX_THREAD_ID`]],
7
+ [`opencode`, [`OPENCODE`]],
8
+ [`pi`, [i(`PATH`, /\.pi[\\/]agent/)]],
9
+ [`auggie`, [`AUGMENT_AGENT`]],
10
+ [`goose`, [`GOOSE_PROVIDER`]],
11
+ [`devin`, [i(`EDITOR`, /devin/)]],
12
+ [`cursor`, [`CURSOR_AGENT`]],
13
+ [`kiro`, [i(`TERM_PROGRAM`, /kiro/)]]
14
+ ];
15
+ function i(t, n) {
16
+ return () => {
17
+ let r = e[t];
18
+ return r ? n.test(r) : !1;
19
+ };
20
+ }
21
+ function a() {
22
+ let t = e.AI_AGENT;
23
+ if (t) return { name: t.toLowerCase() };
24
+ for (let [t, n] of r) for (let r of n) if (typeof r == `string` ? e[r] : r()) return { name: t };
25
+ return {};
26
+ }
27
+ const o = a(), s = o.name, c = !!o.name, l = [
28
+ [`APPVEYOR`],
24
29
  [
25
- "AWS_AMPLIFY",
26
- "AWS_APP_ID",
30
+ `AWS_AMPLIFY`,
31
+ `AWS_APP_ID`,
27
32
  { ci: !0 }
28
33
  ],
29
- ["AZURE_PIPELINES", "SYSTEM_TEAMFOUNDATIONCOLLECTIONURI"],
30
- ["AZURE_STATIC", "INPUT_AZURE_STATIC_WEB_APPS_API_TOKEN"],
31
- ["APPCIRCLE", "AC_APPCIRCLE"],
32
- ["BAMBOO", "bamboo_planKey"],
33
- ["BITBUCKET", "BITBUCKET_COMMIT"],
34
- ["BITRISE", "BITRISE_IO"],
35
- ["BUDDY", "BUDDY_WORKSPACE_ID"],
36
- ["BUILDKITE"],
37
- ["CIRCLE", "CIRCLECI"],
38
- ["CIRRUS", "CIRRUS_CI"],
34
+ [`AZURE_PIPELINES`, `SYSTEM_TEAMFOUNDATIONCOLLECTIONURI`],
35
+ [`AZURE_STATIC`, `INPUT_AZURE_STATIC_WEB_APPS_API_TOKEN`],
36
+ [`APPCIRCLE`, `AC_APPCIRCLE`],
37
+ [`BAMBOO`, `bamboo_planKey`],
38
+ [`BITBUCKET`, `BITBUCKET_COMMIT`],
39
+ [`BITRISE`, `BITRISE_IO`],
40
+ [`BUDDY`, `BUDDY_WORKSPACE_ID`],
41
+ [`BUILDKITE`],
42
+ [`CIRCLE`, `CIRCLECI`],
43
+ [`CIRRUS`, `CIRRUS_CI`],
39
44
  [
40
- "CLOUDFLARE_PAGES",
41
- "CF_PAGES",
45
+ `CLOUDFLARE_PAGES`,
46
+ `CF_PAGES`,
42
47
  { ci: !0 }
43
48
  ],
44
49
  [
45
- "CLOUDFLARE_WORKERS",
46
- "WORKERS_CI",
50
+ `CLOUDFLARE_WORKERS`,
51
+ `WORKERS_CI`,
47
52
  { ci: !0 }
48
53
  ],
49
- ["CODEBUILD", "CODEBUILD_BUILD_ARN"],
50
- ["CODEFRESH", "CF_BUILD_ID"],
51
- ["DRONE"],
52
- ["DRONE", "DRONE_BUILD_EVENT"],
53
- ["DSARI"],
54
- ["GITHUB_ACTIONS"],
55
- ["GITLAB", "GITLAB_CI"],
56
- ["GITLAB", "CI_MERGE_REQUEST_ID"],
57
- ["GOCD", "GO_PIPELINE_LABEL"],
58
- ["LAYERCI"],
59
- ["HUDSON", "HUDSON_URL"],
60
- ["JENKINS", "JENKINS_URL"],
61
- ["MAGNUM"],
62
- ["NETLIFY"],
54
+ [`GOOGLE_CLOUDRUN`, `K_SERVICE`],
55
+ [`GOOGLE_CLOUDRUN_JOB`, `CLOUD_RUN_JOB`],
56
+ [`CODEBUILD`, `CODEBUILD_BUILD_ARN`],
57
+ [`CODEFRESH`, `CF_BUILD_ID`],
58
+ [`DRONE`],
59
+ [`DRONE`, `DRONE_BUILD_EVENT`],
60
+ [`DSARI`],
61
+ [`GITHUB_ACTIONS`],
62
+ [`GITLAB`, `GITLAB_CI`],
63
+ [`GITLAB`, `CI_MERGE_REQUEST_ID`],
64
+ [`GOCD`, `GO_PIPELINE_LABEL`],
65
+ [`LAYERCI`],
66
+ [`JENKINS`, `JENKINS_URL`],
67
+ [`HUDSON`, `HUDSON_URL`],
68
+ [`MAGNUM`],
69
+ [`NETLIFY`],
63
70
  [
64
- "NETLIFY",
65
- "NETLIFY_LOCAL",
71
+ `NETLIFY`,
72
+ `NETLIFY_LOCAL`,
66
73
  { ci: !1 }
67
74
  ],
68
- ["NEVERCODE"],
69
- ["RENDER"],
70
- ["SAIL", "SAILCI"],
71
- ["SEMAPHORE"],
72
- ["SCREWDRIVER"],
73
- ["SHIPPABLE"],
74
- ["SOLANO", "TDDIUM"],
75
- ["STRIDER"],
76
- ["TEAMCITY", "TEAMCITY_VERSION"],
77
- ["TRAVIS"],
78
- ["VERCEL", "NOW_BUILDER"],
75
+ [`NEVERCODE`],
76
+ [`RENDER`],
77
+ [`SAIL`, `SAILCI`],
78
+ [`SEMAPHORE`],
79
+ [`SCREWDRIVER`],
80
+ [`SHIPPABLE`],
81
+ [`SOLANO`, `TDDIUM`],
82
+ [`STRIDER`],
83
+ [`TEAMCITY`, `TEAMCITY_VERSION`],
84
+ [`TRAVIS`],
85
+ [`VERCEL`, `NOW_BUILDER`],
79
86
  [
80
- "VERCEL",
81
- "VERCEL",
87
+ `VERCEL`,
88
+ `VERCEL`,
82
89
  { ci: !1 }
83
90
  ],
84
91
  [
85
- "VERCEL",
86
- "VERCEL_ENV",
92
+ `VERCEL`,
93
+ `VERCEL_ENV`,
87
94
  { ci: !1 }
88
95
  ],
89
- ["APPCENTER", "APPCENTER_BUILD_ID"],
96
+ [`APPCENTER`, `APPCENTER_BUILD_ID`],
90
97
  [
91
- "CODESANDBOX",
92
- "CODESANDBOX_SSE",
98
+ `CODESANDBOX`,
99
+ `CODESANDBOX_SSE`,
93
100
  { ci: !1 }
94
101
  ],
95
102
  [
96
- "CODESANDBOX",
97
- "CODESANDBOX_HOST",
103
+ `CODESANDBOX`,
104
+ `CODESANDBOX_HOST`,
98
105
  { ci: !1 }
99
106
  ],
100
- ["STACKBLITZ"],
101
- ["STORMKIT"],
102
- ["CLEAVR"],
103
- ["ZEABUR"],
107
+ [`STACKBLITZ`],
108
+ [`STORMKIT`],
109
+ [`CLEAVR`],
110
+ [`ZEABUR`],
104
111
  [
105
- "CODESPHERE",
106
- "CODESPHERE_APP_ID",
112
+ `CODESPHERE`,
113
+ `CODESPHERE_APP_ID`,
107
114
  { ci: !0 }
108
115
  ],
109
- ["RAILWAY", "RAILWAY_PROJECT_ID"],
110
- ["RAILWAY", "RAILWAY_SERVICE_ID"],
111
- ["DENO-DEPLOY", "DENO_DEPLOYMENT_ID"],
116
+ [`RAILWAY`, `RAILWAY_PROJECT_ID`],
117
+ [`RAILWAY`, `RAILWAY_SERVICE_ID`],
118
+ [`DENO-DEPLOY`, `DENO_DEPLOY`],
119
+ [`DENO-DEPLOY`, `DENO_DEPLOYMENT_ID`],
112
120
  [
113
- "FIREBASE_APP_HOSTING",
114
- "FIREBASE_APP_HOSTING",
121
+ `FIREBASE_APP_HOSTING`,
122
+ `FIREBASE_APP_HOSTING`,
115
123
  { ci: !0 }
116
124
  ]
117
125
  ];
118
- function b() {
119
- if (globalThis.process?.env) for (const e of f) {
120
- const s = e[1] || e[0];
121
- if (globalThis.process?.env[s]) return {
122
- name: e[0].toLowerCase(),
123
- ...e[2]
124
- };
125
- }
126
- return globalThis.process?.env?.SHELL === "/bin/jsh" && globalThis.process?.versions?.webcontainer ? {
127
- name: "stackblitz",
126
+ function u() {
127
+ for (let t of l) if (e[t[1] || t[0]]) return {
128
+ name: t[0].toLowerCase(),
129
+ ...t[2]
130
+ };
131
+ return e.SHELL === `/bin/jsh` && t.versions?.webcontainer ? {
132
+ name: `stackblitz`,
128
133
  ci: !1
129
134
  } : {
130
- name: "",
135
+ name: ``,
131
136
  ci: !1
132
137
  };
133
138
  }
134
- const l = b(), p = l.name;
135
- function n(e) {
136
- return e ? e !== "false" : !1;
137
- }
138
- const I = globalThis.process?.platform || "", T = n(o.CI) || l.ci !== !1, R = n(globalThis.process?.stdout && globalThis.process?.stdout.isTTY), U = typeof window < "u", d = n(o.DEBUG), a = t === "test" || n(o.TEST), g = t === "production", h = t === "dev" || t === "development", v = n(o.MINIMAL) || T || a || !R, A = /^win/i.test(I), M = /^linux/i.test(I), m = /^darwin/i.test(I), Y = !n(o.NO_COLOR) && (n(o.FORCE_COLOR) || (R || A) && o.TERM !== "dumb" || T), C = (globalThis.process?.versions?.node || "").replace(/^v/, "") || null, V = Number(C?.split(".")[0]) || null, W = globalThis.process || Object.create(null), _ = { versions: {} }, y = new Proxy(W, { get(e, s) {
139
- if (s === "env") return o;
140
- if (s in e) return e[s];
141
- if (s in _) return _[s];
142
- } }), O = globalThis.process?.release?.name === "node", c = !!globalThis.Bun || !!globalThis.process?.versions?.bun, D = !!globalThis.Deno, L = !!globalThis.fastly, S = !!globalThis.Netlify, u = !!globalThis.EdgeRuntime, N = globalThis.navigator?.userAgent === "Cloudflare-Workers", F = [
143
- [S, "netlify"],
144
- [u, "edge-light"],
145
- [N, "workerd"],
146
- [L, "fastly"],
147
- [D, "deno"],
148
- [c, "bun"],
149
- [O, "node"]
139
+ const d = u(), f = d.name, p = t.platform || ``, m = !!e.CI || d.ci !== !1, h = !!t.stdout?.isTTY, g = typeof window < `u`, _ = !!e.DEBUG, v = n === `test` || !!e.TEST, y = n === `production` || e.MODE === `production`, b = n === `dev` || n === `development` || e.MODE === `development`, x = !!e.MINIMAL || m || v || !h, S = /^win/i.test(p), C = /^linux/i.test(p), w = /^darwin/i.test(p), T = !e.NO_COLOR && (!!e.FORCE_COLOR || (h || S) && e.TERM !== `dumb` || m), E = (t.versions?.node || ``).replace(/^v/, ``) || null, D = Number(E?.split(`.`)[0]) || null, O = !!t?.versions?.node, k = `Bun` in globalThis, A = `Deno` in globalThis, j = `fastly` in globalThis, M = `Netlify` in globalThis, N = `EdgeRuntime` in globalThis, P = globalThis.navigator?.userAgent === `Cloudflare-Workers`, F = [
140
+ [M, `netlify`],
141
+ [N, `edge-light`],
142
+ [P, `workerd`],
143
+ [j, `fastly`],
144
+ [A, `deno`],
145
+ [k, `bun`],
146
+ [O, `node`]
150
147
  ];
151
- function G() {
152
- const e = F.find((s) => s[0]);
148
+ function I() {
149
+ let e = F.find((e) => e[0]);
153
150
  if (e) return { name: e[1] };
154
151
  }
155
- const P = G(), K = P?.name || "";
152
+ const L = I(), R = L?.name || ``;
156
153
  //#endregion
157
- export { o as env, R as hasTTY, U as hasWindow, c as isBun, T as isCI, Y as isColorSupported, d as isDebug, D as isDeno, h as isDevelopment, u as isEdgeLight, L as isFastly, M as isLinux, m as isMacOS, v as isMinimal, S as isNetlify, O as isNode, g as isProduction, a as isTest, A as isWindows, N as isWorkerd, t as nodeENV, V as nodeMajorVersion, C as nodeVersion, I as platform, y as process, p as provider, l as providerInfo, K as runtime, P as runtimeInfo };
154
+ export { s as agent, o as agentInfo, a as detectAgent, u as detectProvider, e as env, h as hasTTY, g as hasWindow, c as isAgent, k as isBun, m as isCI, T as isColorSupported, _ as isDebug, A as isDeno, b as isDevelopment, N as isEdgeLight, j as isFastly, C as isLinux, w as isMacOS, x as isMinimal, M as isNetlify, O as isNode, y as isProduction, v as isTest, S as isWindows, P as isWorkerd, n as nodeENV, D as nodeMajorVersion, E as nodeVersion, p as platform, t as process, f as provider, d as providerInfo, R as runtime, L as runtimeInfo };
package/dist/worker.d.ts CHANGED
@@ -1,17 +1,17 @@
1
- import { W as WorkerGlobalState, a as WorkerSetupContext, B as BirpcOptions } from './chunks/worker.d.Dyxm8DEL.js';
1
+ import { W as WorkerGlobalState, a as WorkerSetupContext, B as BirpcOptions } from './chunks/worker.d.B84sVRy0.js';
2
2
  import { T as Traces } from './chunks/traces.d.402V_yFI.js';
3
3
  import { Awaitable } from './@vitest/utils/index.js';
4
4
  import { ModuleRunner } from '@voidzero-dev/vite-plus-core/module-runner';
5
- import { R as RuntimeRPC } from './chunks/rpc.d.RH3apGEf.js';
5
+ import { R as RuntimeRPC } from './chunks/rpc.d.BFMWpdph.js';
6
6
  import './@vitest/runner/index.js';
7
- import './chunks/config.d.Cy95HiCx.js';
7
+ import './chunks/config.d.EJLVE3es.js';
8
8
  import './@vitest/pretty-format/index.js';
9
9
  import './@vitest/snapshot/index.js';
10
10
  import './@vitest/utils/diff.js';
11
11
  import './chunks/environment.d.CrsxCzP1.js';
12
12
 
13
13
  /** @experimental */
14
- declare function setupEnvironment(context: WorkerSetupContext): Promise<() => Promise<void>>;
14
+ declare function setupBaseEnvironment(context: WorkerSetupContext): Promise<() => Promise<void>>;
15
15
  /** @experimental */
16
16
  declare function runBaseTests(method: "run" | "collect", state: WorkerGlobalState, traces: Traces): Promise<void>;
17
17
 
@@ -20,7 +20,7 @@ interface VitestWorker extends WorkerRpcOptions {
20
20
  runTests: (state: WorkerGlobalState, traces: Traces) => Awaitable<unknown>;
21
21
  collectTests: (state: WorkerGlobalState, traces: Traces) => Awaitable<unknown>;
22
22
  onModuleRunner?: (moduleRunner: ModuleRunner) => Awaitable<unknown>;
23
- setup?: (context: WorkerSetupContext) => Promise<() => Promise<unknown>>;
23
+ setup?: (context: WorkerSetupContext) => void | Promise<() => Promise<unknown>>;
24
24
  }
25
25
 
26
26
  interface Options extends VitestWorker {
@@ -29,4 +29,4 @@ interface Options extends VitestWorker {
29
29
  /** @experimental */
30
30
  declare function init(worker: Options): void;
31
31
 
32
- export { init, runBaseTests, setupEnvironment };
32
+ export { init, runBaseTests, setupBaseEnvironment as setupEnvironment };
package/dist/worker.js CHANGED
@@ -1,48 +1,54 @@
1
- export { r as runBaseTests, s as setupEnvironment } from './chunks/base.CJ0Y4ePK.js';
2
- export { i as init } from './chunks/init.B6MLFIaN.js';
1
+ export { r as runBaseTests, s as setupEnvironment } from './chunks/base.DM0-RqVb.js';
2
+ export { i as init } from './chunks/init.DICorXCo.js';
3
3
  import 'node:vm';
4
4
  import './@vitest/spy/index.js';
5
- import './chunks/index.6Qv1eEA6.js';
5
+ import './chunks/index.DGNSnENe.js';
6
6
  import './@vitest/expect/index.js';
7
- import './chunks/setup-common.Cm-kSBVi.js';
7
+ import 'node:async_hooks';
8
+ import './chunks/setup-common.B41N_kPE.js';
8
9
  import './chunks/coverage.D_JHT54q.js';
9
10
  import './@vitest/snapshot/index.js';
10
11
  import './@vitest/utils/timers.js';
11
- import './chunks/utils.DvEY5TfP.js';
12
- import './chunks/rpc.BoxB0q7B.js';
12
+ import './chunks/utils.BX5Fg8C4.js';
13
+ import './chunks/rpc.MzXet3jl.js';
13
14
  import './chunks/index.Chj8NDwU.js';
14
- import './chunks/test.B8ej_ZHS.js';
15
+ import './chunks/test.CTcmp4Su.js';
15
16
  import './@vitest/runner/index.js';
16
17
  import './@vitest/utils/helpers.js';
17
- import './chunks/benchmark.B3N2zMcH.js';
18
+ import './chunks/benchmark.D0SlKNbZ.js';
18
19
  import './@vitest/runner/utils.js';
19
20
  import './@vitest/utils/error.js';
20
21
  import './vendor/pathe.mjs';
21
- import './chunks/vi.2VT5v0um.js';
22
22
  import './@vitest/utils/offset.js';
23
23
  import './@vitest/utils/source-map.js';
24
24
  import './chunks/_commonjsHelpers.D26ty3Ew.js';
25
- import './chunks/date.Bq6ZW5rf.js';
26
- import './chunks/evaluatedModules.Dg1zASAC.js';
27
- import '@voidzero-dev/vite-plus-core/module-runner';
28
- import './chunks/startModuleRunner.DEj0jb3e.js';
25
+ import './chunks/nativeModuleRunner.BIakptoF.js';
26
+ import 'node:url';
27
+ import './chunks/index.BCY_7LL2.js';
29
28
  import 'node:fs';
30
- import './chunks/modules.BJuCwlRJ.js';
31
29
  import 'node:module';
32
- import 'node:url';
33
- import './path.js';
34
30
  import 'node:path';
35
- import './@vitest/utils/serialize.js';
36
- import './module-evaluator.js';
31
+ import 'node:process';
32
+ import 'node:fs/promises';
33
+ import 'node:assert';
34
+ import 'node:v8';
35
+ import 'node:util';
36
+ import '@voidzero-dev/vite-plus-core/module-runner';
37
37
  import './chunks/traces.CCmnQaNT.js';
38
+ import './chunks/evaluatedModules.Dg1zASAC.js';
39
+ import './chunks/startVitestModuleRunner.C3ZR-4J3.js';
40
+ import './chunks/modules.BJuCwlRJ.js';
41
+ import './path.js';
42
+ import './module-evaluator.js';
38
43
  import './@vitest/mocker/index.js';
44
+ import './@vitest/mocker/redirect.js';
39
45
  import 'node:perf_hooks';
40
46
  import './chunks/inspector.CvyFGlXm.js';
41
47
  import 'node:timers';
42
48
  import 'node:timers/promises';
43
- import 'node:util';
44
49
  import './@vitest/utils/constants.js';
45
- import './chunks/index.Z5E_ObnR.js';
50
+ import './chunks/index.DlDSLQD3.js';
46
51
  import './vendor/expect-type.mjs';
47
- import './chunks/index.CyBMJtT7.js';
52
+ import './chunks/index.EY6TCHpo.js';
48
53
  import 'node:console';
54
+ import './@vitest/utils/serialize.js';