vitest 1.3.0 → 1.4.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 (47) hide show
  1. package/LICENSE.md +1 -2
  2. package/dist/browser.d.ts +1 -1
  3. package/dist/browser.js +1 -1
  4. package/dist/chunks/{integrations-globals.FlQVNhQx.js → integrations-globals.trMeEBob.js} +3 -3
  5. package/dist/chunks/{runtime-console.Iloo9fIt.js → runtime-console.tUKE_2UJ.js} +4 -4
  6. package/dist/chunks/{runtime-runBaseTests.0UwIvo_U.js → runtime-runBaseTests.SKlFOhuq.js} +6 -6
  7. package/dist/cli.js +41 -1373
  8. package/dist/config.d.ts +1 -1
  9. package/dist/coverage.d.ts +6 -6
  10. package/dist/coverage.js +34 -3
  11. package/dist/environments.d.ts +1 -1
  12. package/dist/execute.d.ts +1 -1
  13. package/dist/execute.js +2 -2
  14. package/dist/index.d.ts +5 -3
  15. package/dist/index.js +4 -4
  16. package/dist/node.d.ts +11 -3
  17. package/dist/node.js +21 -13
  18. package/dist/{reporters-QGe8gs4b.d.ts → reporters-P7C2ytIv.d.ts} +230 -173
  19. package/dist/reporters.d.ts +1 -1
  20. package/dist/reporters.js +3 -3
  21. package/dist/runners.d.ts +2 -1
  22. package/dist/runners.js +8 -3
  23. package/dist/{suite-xGC-mxBC.d.ts → suite-a18diDsI.d.ts} +1 -1
  24. package/dist/suite.d.ts +2 -2
  25. package/dist/utils.d.ts +5 -0
  26. package/dist/utils.js +6 -0
  27. package/dist/vendor/{base.knFzp7G3.js → base.Xt0Omgh7.js} +9 -3
  28. package/dist/vendor/{base.RpormaJz.js → base.nhvUBzQY.js} +2 -2
  29. package/dist/vendor/{cli-api.RIYLcWhB.js → cac.RvTIWZBK.js} +6288 -106
  30. package/dist/vendor/{execute.aFSzc0Da.js → execute.2_yoIC01.js} +1 -1
  31. package/dist/vendor/{index.n-Ib4UWN.js → index.BeX1oZht.js} +1 -1
  32. package/dist/vendor/{index.CKbXK54q.js → index.LNWuEnUT.js} +1 -1
  33. package/dist/vendor/{index.QcWmThJv.js → index.e9RDLAeW.js} +43 -25
  34. package/dist/vendor/{setup-common.NSpEdAQm.js → setup-common.vyF1kALR.js} +1 -1
  35. package/dist/vendor/{utils.GbToHGHI.js → utils.w0xgzP1h.js} +15 -10
  36. package/dist/vendor/{vi.-Nr_x6dl.js → vi.JYQecGiw.js} +16 -1
  37. package/dist/vendor/{vm.UmCkcXp-.js → vm.cAHVDF92.js} +2 -2
  38. package/dist/worker.js +20 -5
  39. package/dist/workers/forks.js +5 -5
  40. package/dist/workers/runVmTests.js +5 -5
  41. package/dist/workers/threads.js +4 -4
  42. package/dist/workers/vmForks.js +6 -6
  43. package/dist/workers/vmThreads.js +5 -5
  44. package/dist/workers.d.ts +6 -3
  45. package/dist/workers.js +6 -6
  46. package/package.json +10 -10
  47. package/dist/chunks/api-setup.Xh60JpeM.js +0 -4771
package/dist/config.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  export { ConfigEnv, UserConfig, mergeConfig } from 'vite';
2
- export { aw as UserConfigExport, av as UserConfigFn, at as UserConfigFnObject, au as UserConfigFnPromise, ay as UserProjectConfigExport, ax as UserProjectConfigFn, a0 as UserWorkspaceConfig, aC as configDefaults, aF as coverageConfigDefaults, aE as defaultExclude, aD as defaultInclude, az as defineConfig, aA as defineProject, aB as defineWorkspace, aG as extraInlineDeps } from './reporters-QGe8gs4b.js';
2
+ export { ax as UserConfigExport, aw as UserConfigFn, au as UserConfigFnObject, av as UserConfigFnPromise, az as UserProjectConfigExport, ay as UserProjectConfigFn, a1 as UserWorkspaceConfig, aD as configDefaults, aG as coverageConfigDefaults, aF as defaultExclude, aE as defaultInclude, aA as defineConfig, aB as defineProject, aC as defineWorkspace, aH as extraInlineDeps } from './reporters-P7C2ytIv.js';
3
3
  import '@vitest/runner';
4
4
  import 'vite-node';
5
5
  import '@vitest/snapshot';
@@ -1,4 +1,4 @@
1
- import { B as BaseCoverageOptions, a as ResolvedCoverageOptions } from './reporters-QGe8gs4b.js';
1
+ import { B as BaseCoverageOptions, a as ResolvedCoverageOptions } from './reporters-P7C2ytIv.js';
2
2
  import 'vite';
3
3
  import '@vitest/runner';
4
4
  import 'vite-node';
@@ -128,13 +128,11 @@ declare class BaseCoverageProvider {
128
128
  /**
129
129
  * Check if current coverage is above configured thresholds and bump the thresholds if needed
130
130
  */
131
- updateThresholds({ thresholds: allThresholds, perFile, configurationFile }: {
131
+ updateThresholds({ thresholds: allThresholds, perFile, configurationFile, onUpdate }: {
132
132
  thresholds: ResolvedThreshold[];
133
133
  perFile?: boolean;
134
- configurationFile: {
135
- read: () => unknown;
136
- write: () => void;
137
- };
134
+ configurationFile: unknown;
135
+ onUpdate: () => void;
138
136
  }): void;
139
137
  /**
140
138
  * Check collected coverage against configured thresholds. Sets exit code to 1 when thresholds not reached.
@@ -157,6 +155,8 @@ declare class BaseCoverageProvider {
157
155
  * Resolve reporters from various configuration options
158
156
  */
159
157
  resolveReporters(configReporters: NonNullable<BaseCoverageOptions['reporter']>): ResolvedCoverageOptions['reporter'];
158
+ hasTerminalReporter(reporters: ResolvedCoverageOptions['reporter']): boolean;
159
+ toSlices<T>(array: T[], size: number): T[][];
160
160
  }
161
161
 
162
162
  export { BaseCoverageProvider };
package/dist/coverage.js CHANGED
@@ -10,9 +10,9 @@ class BaseCoverageProvider {
10
10
  /**
11
11
  * Check if current coverage is above configured thresholds and bump the thresholds if needed
12
12
  */
13
- updateThresholds({ thresholds: allThresholds, perFile, configurationFile }) {
13
+ updateThresholds({ thresholds: allThresholds, perFile, configurationFile, onUpdate }) {
14
14
  let updatedThresholds = false;
15
- const config = configurationFile.read();
15
+ const config = resolveConfig(configurationFile);
16
16
  assertConfigurationModule(config);
17
17
  for (const { coverageMap, thresholds, name } of allThresholds) {
18
18
  const summaries = perFile ? coverageMap.files().map((file) => coverageMap.fileCoverageFor(file).toSummary()) : [coverageMap.getCoverageSummary()];
@@ -37,7 +37,7 @@ class BaseCoverageProvider {
37
37
  }
38
38
  if (updatedThresholds) {
39
39
  console.log("Updating thresholds to configuration file. You may want to push with updated coverage thresholds.");
40
- configurationFile.write();
40
+ onUpdate();
41
41
  }
42
42
  }
43
43
  /**
@@ -131,6 +131,21 @@ class BaseCoverageProvider {
131
131
  }
132
132
  return resolvedReporters;
133
133
  }
134
+ hasTerminalReporter(reporters) {
135
+ return reporters.some(([reporter]) => reporter === "text" || reporter === "text-summary" || reporter === "text-lcov" || reporter === "teamcity");
136
+ }
137
+ toSlices(array, size) {
138
+ return array.reduce((chunks, item) => {
139
+ const index = Math.max(0, chunks.length - 1);
140
+ const lastChunk = chunks[index] || [];
141
+ chunks[index] = lastChunk;
142
+ if (lastChunk.length >= size)
143
+ chunks.push([item]);
144
+ else
145
+ lastChunk.push(item);
146
+ return chunks;
147
+ }, []);
148
+ }
134
149
  }
135
150
  function resolveGlobThresholds(thresholds) {
136
151
  if (!thresholds || typeof thresholds !== "object")
@@ -151,5 +166,21 @@ function assertConfigurationModule(config) {
151
166
  throw new Error(`Unable to parse thresholds from configuration file: ${message}`);
152
167
  }
153
168
  }
169
+ function resolveConfig(configModule) {
170
+ const mod = configModule.exports.default;
171
+ try {
172
+ if (mod.$type === "object")
173
+ return mod;
174
+ if (mod.$type === "function-call") {
175
+ if (mod.$args[0].$type === "object")
176
+ return mod.$args[0];
177
+ if (mod.$args[0].$type === "arrow-function-expression" && mod.$args[0].$body.$type === "object")
178
+ return mod.$args[0].$body;
179
+ }
180
+ } catch (error) {
181
+ throw new Error(error instanceof Error ? error.message : String(error));
182
+ }
183
+ throw new Error("Failed to update coverage thresholds. Configuration file is too complex.");
184
+ }
154
185
 
155
186
  export { BaseCoverageProvider };
@@ -1,4 +1,4 @@
1
- import { E as Environment } from './reporters-QGe8gs4b.js';
1
+ import { E as Environment } from './reporters-P7C2ytIv.js';
2
2
  import 'vite';
3
3
  import '@vitest/runner';
4
4
  import 'vite-node';
package/dist/execute.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import vm from 'node:vm';
2
2
  import { ViteNodeRunner } from 'vite-node/client';
3
3
  import { ViteNodeRunnerOptions } from 'vite-node';
4
- import { aq as PendingSuiteMock, ar as MockFactory, f as RuntimeRPC, p as WorkerGlobalState, as as MockMap } from './reporters-QGe8gs4b.js';
4
+ import { ar as PendingSuiteMock, as as MockFactory, e as RuntimeRPC, W as WorkerGlobalState, at as MockMap } from './reporters-P7C2ytIv.js';
5
5
  import 'vite';
6
6
  import '@vitest/runner';
7
7
  import '@vitest/snapshot';
package/dist/execute.js CHANGED
@@ -1,4 +1,4 @@
1
- export { V as VitestExecutor } from './vendor/execute.aFSzc0Da.js';
1
+ export { V as VitestExecutor } from './vendor/execute.2_yoIC01.js';
2
2
  import 'node:vm';
3
3
  import 'node:url';
4
4
  import 'vite-node/client';
@@ -8,4 +8,4 @@ import '@vitest/utils/error';
8
8
  import './path.js';
9
9
  import 'node:fs';
10
10
  import '@vitest/utils';
11
- import './vendor/base.knFzp7G3.js';
11
+ import './vendor/base.Xt0Omgh7.js';
package/dist/index.d.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  import { TaskPopulated, File, TaskResultPack, CancelReason } from '@vitest/runner';
2
2
  export { Custom, DoneCallback, ExtendedContext, File, HookCleanupCallback, HookListener, OnTestFailedHandler, RunMode, RuntimeContext, SequenceHooks, SequenceSetupFiles, Suite, SuiteAPI, SuiteCollector, SuiteFactory, SuiteHooks, Task, TaskBase, TaskContext, TaskCustomOptions, TaskMeta, TaskResult, TaskResultPack, TaskState, Test, TestAPI, TestContext, TestFunction, TestOptions, afterAll, afterEach, beforeAll, beforeEach, describe, it, onTestFailed, onTestFinished, suite, test } from '@vitest/runner';
3
- export { b as bench } from './suite-xGC-mxBC.js';
3
+ export { b as bench } from './suite-a18diDsI.js';
4
4
  import { ExpectStatic } from '@vitest/expect';
5
5
  export { Assertion, AsymmetricMatchersContaining, ExpectStatic, JestAssertion } from '@vitest/expect';
6
- import { F as FakeTimerInstallOpts, M as MockFactoryWithHelper, r as RuntimeConfig, P as ProvidedContext, A as AfterSuiteRunMeta, t as UserConsoleLog, R as ResolvedConfig, u as ModuleGraphData, v as Reporter } from './reporters-QGe8gs4b.js';
7
- export { Q as ApiConfig, a9 as ArgumentsType, a8 as Arrayable, a6 as Awaitable, B as BaseCoverageOptions, ao as BenchFunction, am as Benchmark, ap as BenchmarkAPI, an as BenchmarkResult, al as BenchmarkUserOptions, L as BuiltinEnvironment, O as CSSModuleScopeStrategy, y as CollectLineNumbers, z as CollectLines, ab as Constructable, G as Context, o as ContextRPC, a2 as ContextTestEnvironment, ai as CoverageIstanbulOptions, C as CoverageOptions, b as CoverageProvider, c as CoverageProviderModule, ah as CoverageReporter, aj as CoverageV8Options, ak as CustomProviderOptions, X as DepsOptimizationOptions, E as Environment, S as EnvironmentOptions, ad as EnvironmentReturn, K as HappyDOMOptions, Z as InlineConfig, J as JSDOMOptions, ac as ModuleCache, aa as MutableArray, a7 as Nullable, af as OnServerRestartHandler, H as Pool, I as PoolOptions, $ as ProjectConfig, w as RawErrsMap, ag as ReportContext, a4 as ResolveIdFunction, a as ResolvedCoverageOptions, a3 as ResolvedTestEnvironment, D as RootAndTarget, a1 as RunnerRPC, f as RuntimeRPC, Y as TransformModePatterns, x as TscErrorInfo, _ as TypecheckConfig, U as UserConfig, a0 as UserWorkspaceConfig, e as Vitest, N as VitestEnvironment, V as VitestRunMode, ae as VmEnvironmentReturn, q as WorkerContext, p as WorkerGlobalState, a5 as WorkerRPC } from './reporters-QGe8gs4b.js';
6
+ import { F as FakeTimerInstallOpts, M as MockFactoryWithHelper, t as RuntimeConfig, P as ProvidedContext, A as AfterSuiteRunMeta, u as UserConsoleLog, R as ResolvedConfig, v as ModuleGraphData, w as Reporter } from './reporters-P7C2ytIv.js';
7
+ export { S as ApiConfig, aa as ArgumentsType, a9 as Arrayable, a7 as Awaitable, B as BaseCoverageOptions, ap as BenchFunction, an as Benchmark, aq as BenchmarkAPI, ao as BenchmarkResult, am as BenchmarkUserOptions, N as BuiltinEnvironment, Q as CSSModuleScopeStrategy, z as CollectLineNumbers, D as CollectLines, ac as Constructable, H as Context, f as ContextRPC, a3 as ContextTestEnvironment, aj as CoverageIstanbulOptions, C as CoverageOptions, b as CoverageProvider, c as CoverageProviderModule, ai as CoverageReporter, ak as CoverageV8Options, al as CustomProviderOptions, Y as DepsOptimizationOptions, E as Environment, X as EnvironmentOptions, ae as EnvironmentReturn, L as HappyDOMOptions, _ as InlineConfig, K as JSDOMOptions, ad as ModuleCache, ab as MutableArray, a8 as Nullable, ag as OnServerRestartHandler, I as Pool, J as PoolOptions, a0 as ProjectConfig, x as RawErrsMap, ah as ReportContext, a5 as ResolveIdFunction, a as ResolvedCoverageOptions, a4 as ResolvedTestEnvironment, G as RootAndTarget, a2 as RunnerRPC, e as RuntimeRPC, Z as TransformModePatterns, y as TscErrorInfo, $ as TypecheckConfig, U as UserConfig, a1 as UserWorkspaceConfig, i as Vitest, O as VitestEnvironment, V as VitestRunMode, af as VmEnvironmentReturn, g as WorkerContext, W as WorkerGlobalState, a6 as WorkerRPC } from './reporters-P7C2ytIv.js';
8
8
  import { spyOn, fn, MaybeMockedDeep, MaybeMocked, MaybePartiallyMocked, MaybePartiallyMockedDeep, MockInstance } from '@vitest/spy';
9
9
  export { Mock, MockContext, MockInstance, Mocked, MockedClass, MockedFunction, MockedObject, SpyInstance } from '@vitest/spy';
10
10
  export { SnapshotEnvironment } from '@vitest/snapshot/environment';
@@ -687,6 +687,7 @@ interface WebSocketHandlers {
687
687
  resolveSnapshotPath: (testPath: string) => string;
688
688
  resolveSnapshotRawPath: (testPath: string, rawPath: string) => string;
689
689
  getModuleGraph: (id: string) => Promise<ModuleGraphData>;
690
+ getBrowserFileSourceMap: (id: string) => Promise<TransformResult['map'] | undefined>;
690
691
  getTransformResult: (id: string) => Promise<TransformResultWithSource | undefined>;
691
692
  readSnapshotFile: (id: string) => Promise<string | null>;
692
693
  readTestFile: (id: string) => Promise<string | null>;
@@ -704,6 +705,7 @@ interface WebSocketHandlers {
704
705
  }
705
706
  interface WebSocketEvents extends Pick<Reporter, 'onCollected' | 'onFinished' | 'onTaskUpdate' | 'onUserConsoleLog' | 'onPathsCollected'> {
706
707
  onCancel: (reason: CancelReason) => void;
708
+ onFinishedReportCoverage: () => void;
707
709
  }
708
710
 
709
711
  export { AfterSuiteRunMeta, type AssertType, type ExpectTypeOf, ModuleGraphData, ProvidedContext, Reporter, ResolvedConfig, RuntimeConfig, type TransformResultWithSource, UserConsoleLog, type VitestUtils, type WebSocketEvents, type WebSocketHandlers, assertType, createExpect, globalExpect as expect, expectTypeOf, getRunningMode, inject, isFirstRun, isWatchMode, runOnce, vi, vitest };
package/dist/index.js CHANGED
@@ -1,9 +1,9 @@
1
1
  export { afterAll, afterEach, beforeAll, beforeEach, describe, it, onTestFailed, onTestFinished, suite, test } from '@vitest/runner';
2
2
  export { b as bench } from './vendor/benchmark.eeqk2rd8.js';
3
3
  export { i as isFirstRun, a as runOnce } from './vendor/run-once.Olz_Zkd8.js';
4
- export { c as createExpect, a as expect, v as vi, b as vitest } from './vendor/vi.-Nr_x6dl.js';
5
- import { d as dist } from './vendor/index.n-Ib4UWN.js';
6
- export { b as assertType, g as getRunningMode, i as inject, a as isWatchMode } from './vendor/index.n-Ib4UWN.js';
4
+ export { c as createExpect, a as expect, v as vi, b as vitest } from './vendor/vi.JYQecGiw.js';
5
+ import { d as dist } from './vendor/index.BeX1oZht.js';
6
+ export { b as assertType, g as getRunningMode, i as inject, a as isWatchMode } from './vendor/index.BeX1oZht.js';
7
7
  import * as chai from 'chai';
8
8
  export { chai };
9
9
  export { assert, should } from 'chai';
@@ -19,7 +19,7 @@ import '@vitest/snapshot';
19
19
  import '@vitest/utils/error';
20
20
  import './vendor/tasks.IknbGB2n.js';
21
21
  import '@vitest/utils/source-map';
22
- import './vendor/base.knFzp7G3.js';
22
+ import './vendor/base.Xt0Omgh7.js';
23
23
  import './vendor/date.Ns1pGd_X.js';
24
24
  import '@vitest/spy';
25
25
 
package/dist/node.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { V as VitestRunMode, U as UserConfig, d as VitestOptions, e as Vitest, R as ResolvedConfig, P as ProvidedContext, W as WorkspaceProject, f as RuntimeRPC, T as TestSequencer, g as WorkspaceSpec } from './reporters-QGe8gs4b.js';
2
- export { l as BrowserProvider, k as BrowserProviderInitializationOptions, m as BrowserProviderOptions, h as ProcessPool, j as TestSequencerConstructor, i as VitestPackageInstaller, s as startVitest } from './reporters-QGe8gs4b.js';
1
+ import { V as VitestRunMode, U as UserConfig, h as VitestOptions, i as Vitest, j as CliOptions, R as ResolvedConfig, P as ProvidedContext, k as WorkspaceProject, e as RuntimeRPC, T as TestSequencer, l as WorkspaceSpec } from './reporters-P7C2ytIv.js';
2
+ export { q as BrowserProvider, p as BrowserProviderInitializationOptions, r as BrowserProviderOptions, m as ProcessPool, o as TestSequencerConstructor, n as VitestPackageInstaller, s as startVitest } from './reporters-P7C2ytIv.js';
3
3
  import { UserConfig as UserConfig$1, Plugin } from 'vite';
4
4
  import '@vitest/runner';
5
5
  import 'vite-node';
@@ -19,6 +19,14 @@ declare function createVitest(mode: VitestRunMode, options: UserConfig, viteOver
19
19
 
20
20
  declare function VitestPlugin(options?: UserConfig, ctx?: Vitest): Promise<Plugin[]>;
21
21
 
22
+ interface CLIOptions {
23
+ allowUnknownOptions?: boolean;
24
+ }
25
+ declare function parseCLI(argv: string | string[], config?: CLIOptions): {
26
+ filter: string[];
27
+ options: CliOptions;
28
+ };
29
+
22
30
  declare function registerConsoleShortcuts(ctx: Vitest): () => void;
23
31
 
24
32
  interface GlobalSetupContext {
@@ -35,4 +43,4 @@ declare class BaseSequencer implements TestSequencer {
35
43
  sort(files: WorkspaceSpec[]): Promise<WorkspaceSpec[]>;
36
44
  }
37
45
 
38
- export { BaseSequencer, type GlobalSetupContext, TestSequencer, Vitest, VitestPlugin, WorkspaceProject, WorkspaceSpec, createMethodsRPC, createVitest, registerConsoleShortcuts };
46
+ export { BaseSequencer, type GlobalSetupContext, TestSequencer, Vitest, VitestPlugin, WorkspaceProject, WorkspaceSpec, createMethodsRPC, createVitest, parseCLI, registerConsoleShortcuts };
package/dist/node.js CHANGED
@@ -1,6 +1,13 @@
1
- export { b as VitestPackageInstaller, V as VitestPlugin, a as createMethodsRPC, c as createVitest, r as registerConsoleShortcuts, s as startVitest } from './vendor/cli-api.RIYLcWhB.js';
2
- export { B as BaseSequencer } from './vendor/index.QcWmThJv.js';
1
+ export { b as VitestPackageInstaller, V as VitestPlugin, a as createMethodsRPC, c as createVitest, p as parseCLI, r as registerConsoleShortcuts, s as startVitest } from './vendor/cac.RvTIWZBK.js';
2
+ export { B as BaseSequencer } from './vendor/index.e9RDLAeW.js';
3
3
  import 'pathe';
4
+ import 'events';
5
+ import 'picocolors';
6
+ import './vendor/index.ir9i0ywP.js';
7
+ import 'std-env';
8
+ import '@vitest/runner/utils';
9
+ import '@vitest/utils';
10
+ import './vendor/global.CkGT_TMy.js';
4
11
  import './vendor/constants.K-Wf1PUy.js';
5
12
  import './vendor/coverage.E7sG1b3r.js';
6
13
  import './vendor/index.GVFv9dZ0.js';
@@ -16,24 +23,26 @@ import 'path';
16
23
  import './vendor/index.xL8XjTLv.js';
17
24
  import 'util';
18
25
  import 'stream';
19
- import 'events';
20
26
  import 'fs';
21
- import 'picocolors';
22
27
  import 'vite-node/client';
23
28
  import '@vitest/snapshot/manager';
24
29
  import 'vite-node/server';
25
- import './vendor/index.ir9i0ywP.js';
26
- import 'std-env';
27
- import '@vitest/runner/utils';
28
- import '@vitest/utils';
29
- import './vendor/global.CkGT_TMy.js';
30
30
  import './path.js';
31
+ import './vendor/index.8bPxjt7g.js';
32
+ import 'zlib';
33
+ import 'buffer';
34
+ import 'crypto';
35
+ import 'https';
36
+ import 'http';
37
+ import 'net';
38
+ import 'tls';
39
+ import 'url';
40
+ import '@vitest/utils/source-map';
41
+ import './vendor/base.Xt0Omgh7.js';
31
42
  import 'node:v8';
32
43
  import 'node:os';
33
44
  import 'node:events';
34
45
  import 'tinypool';
35
- import './vendor/index.8bPxjt7g.js';
36
- import './vendor/base.knFzp7G3.js';
37
46
  import 'node:worker_threads';
38
47
  import 'local-pkg';
39
48
  import 'node:crypto';
@@ -46,11 +55,10 @@ import 'node:module';
46
55
  import 'node:readline';
47
56
  import 'readline';
48
57
  import 'node:perf_hooks';
49
- import './chunks/runtime-console.Iloo9fIt.js';
58
+ import './chunks/runtime-console.tUKE_2UJ.js';
50
59
  import 'node:stream';
51
60
  import './vendor/date.Ns1pGd_X.js';
52
61
  import './vendor/tasks.IknbGB2n.js';
53
- import '@vitest/utils/source-map';
54
62
  import 'node:fs/promises';
55
63
  import 'execa';
56
64
  import 'module';