New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

vitest

Package Overview
Dependencies
Maintainers
4
Versions
395
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vitest - npm Package Compare versions

Comparing version 3.0.5 to 3.0.6

dist/chunks/base.B2NLWv2w.js

22

dist/browser.d.ts

@@ -1,5 +0,5 @@

import { b as CoverageProvider, c as CoverageProviderModule } from './chunks/reporters.6vxQttCV.js';
import { b as CoverageModuleLoader, c as CoverageProvider } from './chunks/reporters.DTtkbAtP.js';
import { a as SerializedCoverageConfig, S as SerializedConfig } from './chunks/config.BRtC-JeT.js';
import * as spy$1 from '@vitest/spy';
import * as _vitest_utils_diff from '@vitest/utils/diff';
import { SerializedDiffOptions } from '@vitest/utils/diff';
import { VitestExecutor } from './execute.js';

@@ -23,3 +23,3 @@ export { collectTests, processError, startTests } from '@vitest/runner';

import 'vite-node/client';
import './chunks/worker.CIpff8Eg.js';
import './chunks/worker.DaAIyCKm.js';
import 'node:vm';

@@ -48,14 +48,8 @@ import '@vitest/mocker';

interface Loader {
executeId: (id: string) => Promise<{
default: CoverageProviderModule;
}>;
isBrowser?: boolean;
}
declare function getCoverageProvider(options: SerializedCoverageConfig | undefined, loader: Loader): Promise<CoverageProvider | null>;
declare function startCoverageInsideWorker(options: SerializedCoverageConfig | undefined, loader: Loader, runtimeOptions: {
declare function getCoverageProvider(options: SerializedCoverageConfig | undefined, loader: CoverageModuleLoader): Promise<CoverageProvider | null>;
declare function startCoverageInsideWorker(options: SerializedCoverageConfig | undefined, loader: CoverageModuleLoader, runtimeOptions: {
isolate: boolean;
}): Promise<unknown>;
declare function takeCoverageInsideWorker(options: SerializedCoverageConfig | undefined, loader: Loader): Promise<unknown>;
declare function stopCoverageInsideWorker(options: SerializedCoverageConfig | undefined, loader: Loader, runtimeOptions: {
declare function takeCoverageInsideWorker(options: SerializedCoverageConfig | undefined, loader: CoverageModuleLoader): Promise<unknown>;
declare function stopCoverageInsideWorker(options: SerializedCoverageConfig | undefined, loader: CoverageModuleLoader, runtimeOptions: {
isolate: boolean;

@@ -65,5 +59,5 @@ }): Promise<unknown>;

declare function setupCommonEnv(config: SerializedConfig): Promise<void>;
declare function loadDiffConfig(config: SerializedConfig, executor: VitestExecutor): Promise<_vitest_utils_diff.SerializedDiffOptions | undefined>;
declare function loadDiffConfig(config: SerializedConfig, executor: VitestExecutor): Promise<SerializedDiffOptions | undefined>;
declare function loadSnapshotSerializers(config: SerializedConfig, executor: VitestExecutor): Promise<void>;
export { spy as SpyModule, getCoverageProvider, loadDiffConfig, loadSnapshotSerializers, setupCommonEnv, startCoverageInsideWorker, stopCoverageInsideWorker, takeCoverageInsideWorker };

@@ -1,4 +0,4 @@

export { g as getCoverageProvider, s as startCoverageInsideWorker, a as stopCoverageInsideWorker, t as takeCoverageInsideWorker } from './chunks/coverage.BWeNbfBa.js';
export { g as getCoverageProvider, s as startCoverageInsideWorker, a as stopCoverageInsideWorker, t as takeCoverageInsideWorker } from './chunks/coverage.DnNIv-kJ.js';
export { s as SpyModule } from './chunks/spy.Cf_4R5Oe.js';
export { l as loadDiffConfig, a as loadSnapshotSerializers, s as setupCommonEnv } from './chunks/setup-common.jLbIuaww.js';
export { l as loadDiffConfig, a as loadSnapshotSerializers, s as setupCommonEnv } from './chunks/setup-common.IrcyRZ8C.js';
export { collectTests, processError, startTests } from '@vitest/runner';

@@ -5,0 +5,0 @@ import '@vitest/spy';

@@ -1,2 +0,2 @@

import { c as createCLI } from './chunks/cac.B_eDEFh6.js';
import { c as createCLI } from './chunks/cac.mNJBJcT7.js';
import '@vitest/utils';

@@ -3,0 +3,0 @@ import 'events';

import { UserConfig as UserConfig$1, ConfigEnv } from 'vite';
export { ConfigEnv, Plugin, UserConfig as ViteUserConfig, mergeConfig } from 'vite';
import { R as ResolvedCoverageOptions, d as CoverageV8Options, U as UserWorkspaceConfig, e as UserProjectConfigFn, f as UserProjectConfigExport, T as TestProjectConfiguration } from './chunks/reporters.6vxQttCV.js';
export { W as WorkspaceProjectConfiguration } from './chunks/reporters.6vxQttCV.js';
import './chunks/vite.Cu7NWuBa.js';
import { d as CoverageV8Options, R as ResolvedCoverageOptions, U as UserWorkspaceConfig, e as UserProjectConfigFn, f as UserProjectConfigExport, T as TestProjectConfiguration } from './chunks/reporters.DTtkbAtP.js';
export { W as WorkspaceProjectConfiguration } from './chunks/reporters.DTtkbAtP.js';
import './chunks/vite.BmCIRnbq.js';
import { F as FakeTimerInstallOpts } from './chunks/config.BRtC-JeT.js';
import '@vitest/runner';

@@ -11,6 +12,4 @@ import './chunks/environment.d8YfPkTm.js';

import '@vitest/utils/source-map';
import './chunks/config.BRtC-JeT.js';
import '@vitest/pretty-format';
import '@vitest/snapshot';
import '@vitest/snapshot/environment';
import '@vitest/utils/diff';

@@ -24,2 +23,3 @@ import 'vite-node';

import 'node:fs';
import '@vitest/snapshot/environment';

@@ -34,12 +34,12 @@ declare const defaultBrowserPort = 63315;

allowOnly: boolean;
isolate: true;
isolate: boolean;
watch: boolean;
globals: false;
environment: "node";
pool: "forks";
clearMocks: false;
restoreMocks: false;
mockReset: false;
unstubGlobals: false;
unstubEnvs: false;
globals: boolean;
environment: 'node';
pool: 'forks';
clearMocks: boolean;
restoreMocks: boolean;
mockReset: boolean;
unstubGlobals: boolean;
unstubEnvs: boolean;
include: string[];

@@ -49,8 +49,8 @@ exclude: string[];

forceRerunTriggers: string[];
update: false;
update: boolean;
reporters: never[];
silent: false;
hideSkippedTests: false;
api: false;
ui: false;
silent: boolean;
hideSkippedTests: boolean;
api: boolean;
ui: boolean;
uiBase: string;

@@ -62,10 +62,7 @@ open: boolean;

coverage: CoverageV8Options;
fakeTimers: {
loopLimit: number;
shouldClearNativeTimers: true;
};
fakeTimers: FakeTimerInstallOpts;
maxConcurrency: number;
dangerouslyIgnoreUnhandledErrors: false;
dangerouslyIgnoreUnhandledErrors: boolean;
typecheck: {
checker: "tsc";
checker: 'tsc';
include: string[];

@@ -75,3 +72,3 @@ exclude: string[];

slowTestThreshold: number;
disableConsoleIntercept: false;
disableConsoleIntercept: boolean;
}>;

@@ -78,0 +75,0 @@

@@ -14,3 +14,3 @@ import os from 'node:os';

const isNode = typeof process < "u" && typeof process.stdout < "u" && !process.versions?.deno && !globalThis.window;
const isDeno = typeof process < "u" && typeof process.stdout < "u" && process.versions?.deno !== undefined;
const isDeno = typeof process < "u" && typeof process.stdout < "u" && process.versions?.deno !== void 0;
(isNode || isDeno) && process.platform === "win32";

@@ -86,3 +86,3 @@ (isNode || isDeno) && process.stdout?.isTTY && !isCI;

};
const config = {
const configDefaults = Object.freeze({
allowOnly: !isCI,

@@ -125,4 +125,3 @@ isolate: true,

disableConsoleIntercept: false
};
const configDefaults = Object.freeze(config);
});

@@ -129,0 +128,0 @@ function defineConfig(config) {

@@ -1,3 +0,3 @@

import * as vite from 'vite';
import { R as ResolvedCoverageOptions, V as Vitest, C as CoverageMap, a as ReportContext } from './chunks/reporters.6vxQttCV.js';
import { R as ResolvedCoverageOptions, V as Vitest, C as CoverageMap, a as ReportContext } from './chunks/reporters.DTtkbAtP.js';
import { TransformResult } from 'vite';
import { A as AfterSuiteRunMeta } from './chunks/environment.d8YfPkTm.js';

@@ -99,5 +99,5 @@ import '@vitest/runner';

toSlices<T>(array: T[], size: number): T[][];
createUncoveredFileTransformer(ctx: Vitest): (filename: string) => Promise<vite.TransformResult | null | undefined>;
createUncoveredFileTransformer(ctx: Vitest): (filename: string) => Promise<TransformResult | null | undefined>;
}
export { BaseCoverageProvider };
import { existsSync, promises, readdirSync, writeFileSync } from 'node:fs';
import { c as coverageConfigDefaults, r as resolveCoverageReporters, m as mm } from './chunks/resolveConfig.BT-MMQUD.js';
import { r as resolveCoverageReporters, c as coverageConfigDefaults, m as mm } from './chunks/resolveConfig.BbcK25zb.js';
import { resolve, relative } from 'pathe';

@@ -17,3 +17,3 @@ import c from 'tinyrainbow';

import 'node:os';
import './chunks/typechecker.CdcjdhoT.js';
import './chunks/typechecker.cZ0LjdSi.js';
import 'std-env';

@@ -31,3 +31,3 @@ import 'node:perf_hooks';

import 'node:events';
import './chunks/index.TH3f4LSA.js';
import './chunks/index.68735LiX.js';
import 'tinypool';

@@ -267,3 +267,3 @@ import 'node:worker_threads';

for (const { coverageMap, thresholds, name } of allThresholds) {
if (thresholds.branches === undefined && thresholds.functions === undefined && thresholds.lines === undefined && thresholds.statements === undefined) {
if (thresholds.branches === void 0 && thresholds.functions === void 0 && thresholds.lines === void 0 && thresholds.statements === void 0) {
continue;

@@ -278,3 +278,3 @@ }

const threshold = thresholds[thresholdKey];
if (threshold === undefined) {
if (threshold === void 0) {
continue;

@@ -421,6 +421,6 @@ }

return {
lines: "lines" in thresholds && typeof thresholds.lines === "number" ? thresholds.lines : undefined,
branches: "branches" in thresholds && typeof thresholds.branches === "number" ? thresholds.branches : undefined,
functions: "functions" in thresholds && typeof thresholds.functions === "number" ? thresholds.functions : undefined,
statements: "statements" in thresholds && typeof thresholds.statements === "number" ? thresholds.statements : undefined
lines: "lines" in thresholds && typeof thresholds.lines === "number" ? thresholds.lines : void 0,
branches: "branches" in thresholds && typeof thresholds.branches === "number" ? thresholds.branches : void 0,
functions: "functions" in thresholds && typeof thresholds.functions === "number" ? thresholds.functions : void 0,
statements: "statements" in thresholds && typeof thresholds.statements === "number" ? thresholds.statements : void 0
};

@@ -427,0 +427,0 @@ }

@@ -5,4 +5,4 @@ import { E as Environment } from './chunks/environment.d8YfPkTm.js';

declare const environments: {
node: Environment;
jsdom: Environment;
'node': Environment;
'jsdom': Environment;
'happy-dom': Environment;

@@ -9,0 +9,0 @@ 'edge-runtime': Environment;

@@ -1,2 +0,2 @@

export { e as builtinEnvironments, p as populateGlobal } from './chunks/index.cYxyd29h.js';
export { e as builtinEnvironments, p as populateGlobal } from './chunks/index.K90BXFOx.js';
import 'node:console';
import { ViteNodeRunnerOptions } from 'vite-node';
import { ViteNodeRunner } from 'vite-node/client';
import { R as RuntimeRPC, W as WorkerGlobalState } from './chunks/worker.CIpff8Eg.js';
import { ViteNodeRunner, ModuleExecutionInfo } from 'vite-node/client';
import { R as RuntimeRPC, W as WorkerGlobalState } from './chunks/worker.DaAIyCKm.js';
import vm from 'node:vm';
import * as _vitest_mocker from '@vitest/mocker';
import { MockedModuleType } from '@vitest/mocker';
import { MockedModule, MockedModuleType } from '@vitest/mocker';
import { P as PendingSuiteMock, b as MockFactory, a as MockOptions } from './chunks/mocker.cRtM890J.js';

@@ -21,3 +20,3 @@ import '@vitest/runner';

readFile(path: string): string;
readBuffer(path: string): Buffer<ArrayBufferLike>;
readBuffer(path: string): Buffer;
}

@@ -106,3 +105,3 @@

getMockPath(dep: string): string;
getDependencyMock(id: string): _vitest_mocker.MockedModule | undefined;
getDependencyMock(id: string): MockedModule | undefined;
normalizePath(path: string): string;

@@ -138,2 +137,3 @@ resolveMockPath(mockPath: string, external: string | null): string | null;

get state(): WorkerGlobalState;
get moduleExecutionInfo(): ModuleExecutionInfo | undefined;
shouldResolveId(id: string, _importee?: string | undefined): boolean;

@@ -140,0 +140,0 @@ originalResolveUrl(id: string, importer?: string): Promise<[url: string, fsPath: string]>;

@@ -1,2 +0,2 @@

export { V as VitestExecutor } from './chunks/execute.PoofJYS5.js';
export { V as VitestExecutor } from './chunks/execute.DNQad00_.js';
import 'node:fs';

@@ -3,0 +3,0 @@ import 'node:url';

@@ -1,11 +0,11 @@

import { TaskResultPack as TaskResultPack$1, TaskEventPack, File as File$1, TaskPopulated, Suite as Suite$1, Test as Test$1, Custom as Custom$1, Task as Task$1, TaskBase as TaskBase$1, TaskResult as TaskResult$1, DoneCallback as DoneCallback$1, RuntimeContext as RuntimeContext$1, SuiteHooks as SuiteHooks$1, SequenceHooks as SequenceHooks$1, SequenceSetupFiles as SequenceSetupFiles$1 } from '@vitest/runner';
import { File as File$1, TaskResultPack as TaskResultPack$1, TaskEventPack, TaskPopulated, Suite as Suite$1, Test as Test$1, Custom as Custom$1, Task as Task$1, TaskBase as TaskBase$1, TaskResult as TaskResult$1, DoneCallback as DoneCallback$1, RuntimeContext as RuntimeContext$1, SuiteHooks as SuiteHooks$1, SequenceHooks as SequenceHooks$1, SequenceSetupFiles as SequenceSetupFiles$1 } from '@vitest/runner';
export { CancelReason, ExtendedContext, HookCleanupCallback, HookListener, OnTestFailedHandler, OnTestFinishedHandler, RunMode, Custom as RunnerCustomCase, Task as RunnerTask, TaskBase as RunnerTaskBase, TaskResult as RunnerTaskResult, TaskResultPack as RunnerTaskResultPack, Test as RunnerTestCase, File as RunnerTestFile, Suite as RunnerTestSuite, SuiteAPI, SuiteCollector, SuiteFactory, TaskContext, TaskCustomOptions, TaskMeta, TaskState, TestAPI, TestContext, TestFunction, TestOptions, afterAll, afterEach, beforeAll, beforeEach, describe, it, onTestFailed, onTestFinished, suite, test } from '@vitest/runner';
import { S as SerializedTestSpecification, b as CoverageProvider$1, a as ReportContext$1, c as CoverageProviderModule$1, g as CoverageReporter$1, h as CoverageProviderName, i as CoverageOptions$1, R as ResolvedCoverageOptions$1, B as BaseCoverageOptions$1, j as CoverageIstanbulOptions$1, d as CoverageV8Options$1, k as CustomProviderOptions$1, l as Reporter$1, V as Vitest$1, m as BrowserScript$1, n as BrowserConfigOptions$1, o as BuiltinEnvironment$1, p as VitestEnvironment$1, P as Pool$1, q as PoolOptions$1, r as CSSModuleScopeStrategy$1, A as ApiConfig$1, s as VitestRunMode$1, D as DepsOptimizationOptions$1, t as TransformModePatterns$1, I as InlineConfig$1, u as TypecheckConfig$1, v as UserConfig$1, w as ResolvedConfig$1, x as ProjectConfig$1, U as UserWorkspaceConfig$1, y as BenchmarkUserOptions$1 } from './chunks/reporters.6vxQttCV.js';
import { W as WorkerContext$1 } from './chunks/worker.B1y96qmv.js';
import { S as SerializedTestSpecification, c as CoverageProvider$1, a as ReportContext$1, g as CoverageProviderModule$1, h as CoverageReporter$1, i as CoverageProviderName, j as CoverageOptions$1, R as ResolvedCoverageOptions$1, B as BaseCoverageOptions$1, k as CoverageIstanbulOptions$1, d as CoverageV8Options$1, l as CustomProviderOptions$1, m as Reporter$1, V as Vitest$1, n as BrowserScript$1, o as BrowserConfigOptions$1, p as BuiltinEnvironment$1, q as VitestEnvironment$1, P as Pool$1, r as PoolOptions$1, s as CSSModuleScopeStrategy$1, A as ApiConfig$1, t as VitestRunMode$1, D as DepsOptimizationOptions$1, u as TransformModePatterns$1, I as InlineConfig$1, v as TypecheckConfig$1, w as UserConfig$1, x as ResolvedConfig$1, y as ProjectConfig$1, U as UserWorkspaceConfig$1, z as BenchmarkUserOptions$1 } from './chunks/reporters.DTtkbAtP.js';
import { W as WorkerContext$1 } from './chunks/worker.B2JXutr8.js';
import { R as RawErrsMap$1, T as TscErrorInfo$1, C as CollectLineNumbers$1, a as CollectLines$1, b as RootAndTarget$1, c as Context$1 } from './chunks/global.CnI8_G5V.js';
import { M as ModuleGraphData, b as Awaitable$1, U as UserConsoleLog, P as ProvidedContext, N as Nullable$1, c as Arrayable$1, d as ArgumentsType$1, e as MutableArray$1, C as Constructable$1, a as EnvironmentReturn$1, V as VmEnvironmentReturn$1, E as Environment$1, R as ResolvedTestEnvironment$1, J as JSDOMOptions$1, H as HappyDOMOptions$1, f as EnvironmentOptions$1 } from './chunks/environment.d8YfPkTm.js';
import { b as Awaitable$1, U as UserConsoleLog, M as ModuleGraphData, P as ProvidedContext, N as Nullable$1, c as Arrayable$1, d as ArgumentsType$1, e as MutableArray$1, C as Constructable$1, a as EnvironmentReturn$1, V as VmEnvironmentReturn$1, E as Environment$1, R as ResolvedTestEnvironment$1, J as JSDOMOptions$1, H as HappyDOMOptions$1, f as EnvironmentOptions$1 } from './chunks/environment.d8YfPkTm.js';
export { A as AfterSuiteRunMeta, g as ModuleCache } from './chunks/environment.d8YfPkTm.js';
import { a as BirpcReturn, b as WorkerRPC$1 } from './chunks/worker.CIpff8Eg.js';
export { C as ContextRPC, d as ContextTestEnvironment, e as ResolveIdFunction, c as RunnerRPC, R as RuntimeRPC, W as WorkerGlobalState } from './chunks/worker.CIpff8Eg.js';
import './chunks/vite.Cu7NWuBa.js';
import { a as BirpcReturn, b as WorkerRPC$1 } from './chunks/worker.DaAIyCKm.js';
export { C as ContextRPC, d as ContextTestEnvironment, e as ResolveIdFunction, c as RunnerRPC, R as RuntimeRPC, W as WorkerGlobalState } from './chunks/worker.DaAIyCKm.js';
import './chunks/vite.BmCIRnbq.js';
import { S as SerializedConfig, F as FakeTimerInstallOpts, R as RuntimeOptions } from './chunks/config.BRtC-JeT.js';

@@ -18,3 +18,3 @@ export { b as RuntimeConfig, a as SerializedCoverageConfig } from './chunks/config.BRtC-JeT.js';

import { M as MockFactoryWithHelper, a as MockOptions } from './chunks/mocker.cRtM890J.js';
export { b as bench } from './chunks/suite.BJU7kdY9.js';
export { b as bench } from './chunks/suite.qtkXWc6R.js';
export { a as BenchFunction, b as Benchmark, c as BenchmarkAPI, B as BenchmarkResult } from './chunks/benchmark.CFFwLv-O.js';

@@ -116,3 +116,3 @@ export { ExpectTypeOf, expectTypeOf } from 'expect-type';

declare function getRunningMode(): "run" | "watch";
declare function getRunningMode(): 'watch' | 'run';
declare function isWatchMode(): boolean;

@@ -208,3 +208,3 @@

/**
* Returns mocked current date that was set using `setSystemTime`. If date is not mocked the method will return `null`.
* Returns mocked current date. If date is not mocked the method will return `null`.
*/

@@ -211,0 +211,0 @@ getMockedSystemTime: () => Date | null;

@@ -1,4 +0,4 @@

export { c as createExpect, a as expect, i as inject, v as vi, b as vitest } from './chunks/vi.CjhMlMwf.js';
export { c as createExpect, a as expect, i as inject, v as vi, b as vitest } from './chunks/vi.DrftpPF8.js';
export { i as isFirstRun, a as runOnce } from './chunks/run-once.2ogXb3JV.js';
export { a as assertType, g as getRunningMode, i as isWatchMode } from './chunks/index.Bf4FgyZN.js';
export { a as assertType, g as getRunningMode, i as isWatchMode } from './chunks/index.SduP00mx.js';
export { b as bench } from './chunks/benchmark.Cdu9hjj4.js';

@@ -5,0 +5,0 @@ export { expectTypeOf } from 'expect-type';

@@ -1,4 +0,4 @@

import { w as ResolvedConfig, s as VitestRunMode, z as VitestOptions, V as Vitest, v as UserConfig$1, A as ApiConfig, E as TestProject, F as TestSequencer, G as TestSpecification, L as Logger, H as TestModule, M as ModuleDiagnostic } from './chunks/reporters.6vxQttCV.js';
export { B as BaseCoverageOptions, y as BenchmarkUserOptions, ad as BrowserBuiltinProvider, ae as BrowserCommand, af as BrowserCommandContext, n as BrowserConfigOptions, ag as BrowserInstanceOption, ah as BrowserOrchestrator, ai as BrowserProvider, aj as BrowserProviderInitializationOptions, ak as BrowserProviderModule, al as BrowserProviderOptions, m as BrowserScript, am as BrowserServerState, an as BrowserServerStateSession, o as BuiltinEnvironment, ao as CDPSession, r as CSSModuleScopeStrategy, j as CoverageIstanbulOptions, i as CoverageOptions, b as CoverageProvider, c as CoverageProviderModule, g as CoverageReporter, d as CoverageV8Options, k as CustomProviderOptions, D as DepsOptimizationOptions, Z as HTMLOptions, I as InlineConfig, $ as JUnitOptions, _ as JsonOptions, O as OnServerRestartHandler, J as OnTestsRerunHandler, ap as ParentProjectBrowser, P as Pool, q as PoolOptions, N as ProcessPool, aq as ProjectBrowser, x as ProjectConfig, a as ReportContext, aw as ReportedHookContext, l as Reporter, at as ResolveSnapshotPathHandler, au as ResolveSnapshotPathHandlerContext, ar as ResolvedBrowserOptions, R as ResolvedCoverageOptions, as as ResolvedProjectConfig, Y as SerializedTestProject, a0 as TaskOptions, a1 as TestCase, a2 as TestCollection, a3 as TestDiagnostic, a4 as TestModuleState, a5 as TestResult, a6 as TestResultFailed, a7 as TestResultPassed, a8 as TestResultSkipped, ax as TestRunEndReason, av as TestRunResult, ac as TestSequencerConstructor, a9 as TestState, aa as TestSuite, ab as TestSuiteState, t as TransformModePatterns, u as TypecheckConfig, U as UserWorkspaceConfig, p as VitestEnvironment, K as VitestPackageInstaller, Q as WorkspaceSpec, X as getFilePoolName } from './chunks/reporters.6vxQttCV.js';
import { UserConfig, Plugin, ResolvedConfig as ResolvedConfig$1, LogLevel, LoggerOptions, Logger as Logger$1, createServer as createServer$1 } from 'vite';
import { x as ResolvedConfig, w as UserConfig, t as VitestRunMode, E as VitestOptions, V as Vitest, A as ApiConfig, F as TestProject, G as TestSequencer, H as TestSpecification, L as Logger, J as TestModule, M as ModuleDiagnostic } from './chunks/reporters.DTtkbAtP.js';
export { B as BaseCoverageOptions, z as BenchmarkUserOptions, ae as BrowserBuiltinProvider, af as BrowserCommand, ag as BrowserCommandContext, o as BrowserConfigOptions, ah as BrowserInstanceOption, ai as BrowserOrchestrator, aj as BrowserProvider, ak as BrowserProviderInitializationOptions, al as BrowserProviderModule, am as BrowserProviderOptions, n as BrowserScript, an as BrowserServerState, ao as BrowserServerStateSession, p as BuiltinEnvironment, ap as CDPSession, s as CSSModuleScopeStrategy, k as CoverageIstanbulOptions, j as CoverageOptions, c as CoverageProvider, g as CoverageProviderModule, h as CoverageReporter, d as CoverageV8Options, l as CustomProviderOptions, D as DepsOptimizationOptions, _ as HTMLOptions, I as InlineConfig, a0 as JUnitOptions, $ as JsonOptions, O as OnServerRestartHandler, K as OnTestsRerunHandler, aq as ParentProjectBrowser, P as Pool, r as PoolOptions, Q as ProcessPool, ar as ProjectBrowser, y as ProjectConfig, a as ReportContext, ax as ReportedHookContext, m as Reporter, au as ResolveSnapshotPathHandler, av as ResolveSnapshotPathHandlerContext, as as ResolvedBrowserOptions, R as ResolvedCoverageOptions, at as ResolvedProjectConfig, Z as SerializedTestProject, a1 as TaskOptions, a2 as TestCase, a3 as TestCollection, a4 as TestDiagnostic, a5 as TestModuleState, a6 as TestResult, a7 as TestResultFailed, a8 as TestResultPassed, a9 as TestResultSkipped, ay as TestRunEndReason, aw as TestRunResult, ad as TestSequencerConstructor, aa as TestState, ab as TestSuite, ac as TestSuiteState, u as TransformModePatterns, v as TypecheckConfig, U as UserWorkspaceConfig, q as VitestEnvironment, N as VitestPackageInstaller, X as WorkspaceSpec, Y as getFilePoolName } from './chunks/reporters.DTtkbAtP.js';
import { UserConfig as UserConfig$1, Plugin, ResolvedConfig as ResolvedConfig$1, LogLevel, LoggerOptions, Logger as Logger$1, createServer as createServer$1 } from 'vite';
import * as vite from 'vite';

@@ -8,5 +8,5 @@ export { vite as Vite };

import { IncomingMessage } from 'node:http';
import { R as RuntimeRPC } from './chunks/worker.CIpff8Eg.js';
import { R as RuntimeRPC } from './chunks/worker.DaAIyCKm.js';
import { Writable } from 'node:stream';
export { W as WorkerContext } from './chunks/worker.B1y96qmv.js';
export { W as WorkerContext } from './chunks/worker.B2JXutr8.js';
export { C as TypeCheckCollectLineNumbers, a as TypeCheckCollectLines, c as TypeCheckContext, T as TypeCheckErrorInfo, R as TypeCheckRawErrorsMap, b as TypeCheckRootAndTarget } from './chunks/global.CnI8_G5V.js';

@@ -18,3 +18,3 @@ import { Debugger } from 'debug';

export { b as RuntimeConfig } from './chunks/config.BRtC-JeT.js';
import './chunks/vite.Cu7NWuBa.js';
import './chunks/vite.BmCIRnbq.js';
export { generateFileHash } from '@vitest/runner/utils';

@@ -37,3 +37,3 @@ import '@vitest/utils/source-map';

interface CliOptions extends UserConfig$1 {
interface CliOptions extends UserConfig {
/**

@@ -61,3 +61,3 @@ * Override the watch mode

*/
declare function startVitest(mode: VitestRunMode, cliFilters?: string[], options?: CliOptions, viteOverrides?: UserConfig, vitestOptions?: VitestOptions): Promise<Vitest>;
declare function startVitest(mode: VitestRunMode, cliFilters?: string[], options?: CliOptions, viteOverrides?: UserConfig$1, vitestOptions?: VitestOptions): Promise<Vitest>;

@@ -72,5 +72,5 @@ interface CliParseOptions {

declare function resolveApiServerConfig<Options extends ApiConfig & UserConfig$1>(options: Options, defaultPort: number): ApiConfig | undefined;
declare function resolveApiServerConfig<Options extends ApiConfig & UserConfig>(options: Options, defaultPort: number): ApiConfig | undefined;
declare function createVitest(mode: VitestRunMode, options: UserConfig$1, viteOverrides?: UserConfig, vitestOptions?: VitestOptions): Promise<Vitest>;
declare function createVitest(mode: VitestRunMode, options: UserConfig, viteOverrides?: UserConfig$1, vitestOptions?: VitestOptions): Promise<Vitest>;

@@ -89,5 +89,5 @@ declare class FilesNotFoundError extends Error {

declare function VitestPlugin(options?: UserConfig$1, ctx?: Vitest): Promise<Plugin[]>;
declare function VitestPlugin(options?: UserConfig, ctx?: Vitest): Promise<Plugin[]>;
declare function resolveConfig(options?: UserConfig$1, viteOverrides?: UserConfig): Promise<{
declare function resolveConfig(options?: UserConfig, viteOverrides?: UserConfig$1): Promise<{
vitestConfig: ResolvedConfig;

@@ -137,2 +137,2 @@ viteConfig: ResolvedConfig$1;

export { ApiConfig, BaseSequencer, type CliParseOptions, type FileDiagnostic, GitNotFoundError, type GlobalSetupContext, ModuleDiagnostic, ResolvedConfig, TestFile, TestModule, TestProject, TestSequencer, TestSpecification, FilesNotFoundError as TestsNotFoundError, UserConfig$1 as UserConfig, Vitest, VitestOptions, VitestPlugin, VitestRunMode, TestProject as WorkspaceProject, createDebugger, createMethodsRPC, createServer, createViteLogger, createViteServer, createVitest, distDir, isValidApiRequest, parseCLI, registerConsoleShortcuts, resolveApiServerConfig, resolveConfig, resolveFsAllow, rootDir, startVitest, version };
export { ApiConfig, BaseSequencer, type CliParseOptions, type FileDiagnostic, GitNotFoundError, type GlobalSetupContext, ModuleDiagnostic, ResolvedConfig, TestFile, TestModule, TestProject, TestSequencer, TestSpecification, FilesNotFoundError as TestsNotFoundError, UserConfig, Vitest, VitestOptions, VitestPlugin, VitestRunMode, TestProject as WorkspaceProject, createDebugger, createMethodsRPC, createServer, createViteLogger, createViteServer, createVitest, distDir, isValidApiRequest, parseCLI, registerConsoleShortcuts, resolveApiServerConfig, resolveConfig, resolveFsAllow, rootDir, startVitest, version };
import { resolveConfig as resolveConfig$1, mergeConfig, createServer as createServer$1 } from 'vite';
export { esbuildVersion, isFileServingAllowed, parseAst, parseAstAsync, rollupVersion, version as viteVersion } from 'vite';
import { V as Vitest, a as VitestPlugin, T as TestModule } from './chunks/cli-api.az_rB_xZ.js';
export { G as GitNotFoundError, F as TestsNotFoundError, b as VitestPackageInstaller, e as createViteLogger, c as createVitest, i as isValidApiRequest, d as registerConsoleShortcuts, r as resolveFsAllow, s as startVitest } from './chunks/cli-api.az_rB_xZ.js';
export { p as parseCLI } from './chunks/cac.B_eDEFh6.js';
import { a as resolveConfig$2 } from './chunks/resolveConfig.BT-MMQUD.js';
export { B as BaseSequencer, d as createMethodsRPC, g as getFilePoolName, b as resolveApiServerConfig } from './chunks/resolveConfig.BT-MMQUD.js';
import { V as Vitest, a as VitestPlugin, T as TestModule } from './chunks/cli-api.Dkt_XoKq.js';
export { G as GitNotFoundError, F as TestsNotFoundError, b as VitestPackageInstaller, e as createViteLogger, c as createVitest, i as isValidApiRequest, d as registerConsoleShortcuts, r as resolveFsAllow, s as startVitest } from './chunks/cli-api.Dkt_XoKq.js';
export { p as parseCLI } from './chunks/cac.mNJBJcT7.js';
import { a as resolveConfig$2 } from './chunks/resolveConfig.BbcK25zb.js';
export { B as BaseSequencer, d as createMethodsRPC, g as getFilePoolName, b as resolveApiServerConfig } from './chunks/resolveConfig.BbcK25zb.js';
import { slash } from '@vitest/utils';
import { f as findUp } from './chunks/index.B57_6XMC.js';
import { f as findUp } from './chunks/index.DBIGubLC.js';
import { resolve } from 'pathe';

@@ -16,3 +16,3 @@ import { c as configFiles } from './chunks/constants.fzPh7AOq.js';

import 'node:fs';
import './chunks/coverage.BWeNbfBa.js';
import './chunks/coverage.DnNIv-kJ.js';
import 'node:path';

@@ -22,10 +22,10 @@ import '@vitest/snapshot/manager';

import 'vite-node/server';
import './chunks/index.TH3f4LSA.js';
import './chunks/index.vId0fl99.js';
import './chunks/index.68735LiX.js';
import './chunks/index.C1f-_gvH.js';
import 'tinyrainbow';
import './chunks/utils.DJWL04yX.js';
import './chunks/utils.bLM2atbD.js';
import 'node:util';
import 'node:perf_hooks';
import '@vitest/utils/source-map';
import './chunks/typechecker.CdcjdhoT.js';
import './chunks/typechecker.cZ0LjdSi.js';
import 'std-env';

@@ -52,3 +52,2 @@ import 'node:fs/promises';

import 'node:crypto';
import 'os';
import 'path';

@@ -55,0 +54,0 @@ import 'vite-node/utils';

@@ -1,2 +0,2 @@

export { aM as BaseReporter, ay as BasicReporter, aN as BenchmarkBuiltinReporters, az as BenchmarkReporter, aA as BenchmarkReportsMap, aO as BuiltinReporterOptions, aP as BuiltinReporters, aB as DefaultReporter, aC as DotReporter, aD as GithubActionsReporter, aE as HangingProcessReporter, aG as JUnitReporter, aQ as JsonAssertionResult, aF as JsonReporter, aR as JsonTestResult, aS as JsonTestResults, aw as ReportedHookContext, l as Reporter, aH as ReportersMap, aI as TapFlatReporter, aJ as TapReporter, ax as TestRunEndReason, aK as VerboseBenchmarkReporter, aL as VerboseReporter } from './chunks/reporters.6vxQttCV.js';
export { aN as BaseReporter, az as BasicReporter, aO as BenchmarkBuiltinReporters, aA as BenchmarkReporter, aB as BenchmarkReportsMap, aP as BuiltinReporterOptions, aQ as BuiltinReporters, aC as DefaultReporter, aD as DotReporter, aE as GithubActionsReporter, aF as HangingProcessReporter, aH as JUnitReporter, aR as JsonAssertionResult, aG as JsonReporter, aS as JsonTestResult, aT as JsonTestResults, ax as ReportedHookContext, m as Reporter, aI as ReportersMap, aJ as TapFlatReporter, aK as TapReporter, ay as TestRunEndReason, aL as VerboseBenchmarkReporter, aM as VerboseReporter } from './chunks/reporters.DTtkbAtP.js';
import '@vitest/runner';

@@ -3,0 +3,0 @@ import './chunks/environment.d8YfPkTm.js';

@@ -1,2 +0,2 @@

export { B as BasicReporter, a as BenchmarkReporter, b as BenchmarkReportsMap, D as DefaultReporter, c as DotReporter, G as GithubActionsReporter, H as HangingProcessReporter, d as JUnitReporter, J as JsonReporter, R as ReportersMap, T as TapFlatReporter, e as TapReporter, V as VerboseBenchmarkReporter, f as VerboseReporter } from './chunks/index.vId0fl99.js';
export { B as BasicReporter, a as BenchmarkReporter, b as BenchmarkReportsMap, D as DefaultReporter, c as DotReporter, G as GithubActionsReporter, H as HangingProcessReporter, d as JUnitReporter, J as JsonReporter, R as ReportersMap, T as TapFlatReporter, e as TapReporter, V as VerboseBenchmarkReporter, f as VerboseReporter } from './chunks/index.C1f-_gvH.js';
import 'node:fs';

@@ -6,3 +6,3 @@ import '@vitest/runner/utils';

import 'tinyrainbow';
import './chunks/utils.DJWL04yX.js';
import './chunks/utils.bLM2atbD.js';
import 'node:util';

@@ -12,3 +12,3 @@ import '@vitest/utils';

import '@vitest/utils/source-map';
import './chunks/typechecker.CdcjdhoT.js';
import './chunks/typechecker.cZ0LjdSi.js';
import 'std-env';

@@ -15,0 +15,0 @@ import 'node:fs/promises';

@@ -7,4 +7,4 @@ import { updateTask } from '@vitest/runner';

import { getTests, getNames, getTestName } from '@vitest/runner/utils';
import { g as getSnapshotClient, i as inject, c as createExpect, v as vi } from './chunks/vi.CjhMlMwf.js';
import { r as rpc } from './chunks/rpc.Bf456uf4.js';
import { g as getSnapshotClient, i as inject, c as createExpect, v as vi } from './chunks/vi.DrftpPF8.js';
import { r as rpc } from './chunks/rpc.TVf73xOu.js';
import 'chai';

@@ -17,3 +17,3 @@ import './chunks/_commonjsHelpers.BFTU3MAI.js';

import '@vitest/spy';
import './chunks/index.TH3f4LSA.js';
import './chunks/index.68735LiX.js';

@@ -168,3 +168,3 @@ function createBenchmarkResult(name) {

this.snapshotClient.clear();
this.workerState.current = undefined;
this.workerState.current = void 0;
}

@@ -171,0 +171,0 @@ async onAfterRunSuite(suite) {

@@ -1,2 +0,2 @@

export { g as getBenchFn, a as getBenchOptions } from './chunks/suite.BJU7kdY9.js';
export { g as getBenchFn, a as getBenchOptions } from './chunks/suite.qtkXWc6R.js';
export { VitestRunner, VitestRunnerConfig, createTaskCollector, getCurrentSuite, getCurrentTest, getFn, getHooks, setFn, setHooks } from '@vitest/runner';

@@ -3,0 +3,0 @@ export { createChainable } from '@vitest/runner/utils';

@@ -7,5 +7,5 @@ import { pathToFileURL } from 'node:url';

import { resolve, normalize } from 'pathe';
import { e as environments } from './chunks/index.cYxyd29h.js';
import { s as setupInspect } from './chunks/inspector.CU9GlB9I.js';
import { c as createRuntimeRpc, a as rpcDone } from './chunks/rpc.Bf456uf4.js';
import { e as environments } from './chunks/index.K90BXFOx.js';
import { s as setupInspect } from './chunks/inspector.DKLceBVD.js';
import { c as createRuntimeRpc, a as rpcDone } from './chunks/rpc.TVf73xOu.js';
import { i as isChildProcess, s as setProcessTitle } from './chunks/utils.C8RiOc4B.js';

@@ -16,3 +16,3 @@ import { d as disposeInternalListeners } from './chunks/utils.Cn0zI1t3.js';

import '@vitest/utils';
import './chunks/index.TH3f4LSA.js';
import './chunks/index.68735LiX.js';

@@ -48,3 +48,3 @@ function isBuiltinEnvironment(env) {

const root = loader.root;
const packageId = name[0] === "." || name[0] === "/" ? resolve(root, name) : (await rpc.resolveId(`vitest-environment-${name}`, undefined, "ssr"))?.id ?? resolve(root, name);
const packageId = name[0] === "." || name[0] === "/" ? resolve(root, name) : (await rpc.resolveId(`vitest-environment-${name}`, void 0, "ssr"))?.id ?? resolve(root, name);
const pkg = await loader.executeId(normalize(packageId));

@@ -111,2 +111,3 @@ if (!pkg || !pkg.default || typeof pkg.default !== "object") {

moduleCache: new ModuleCacheMap(),
moduleExecutionInfo: /* @__PURE__ */ new Map(),
config: ctx.config,

@@ -113,0 +114,0 @@ onCancel,

@@ -1,6 +0,6 @@

import { W as WorkerGlobalState, C as ContextRPC, B as BirpcOptions, R as RuntimeRPC } from './chunks/worker.CIpff8Eg.js';
import { W as WorkerGlobalState, C as ContextRPC, B as BirpcOptions, R as RuntimeRPC } from './chunks/worker.DaAIyCKm.js';
import { Awaitable } from '@vitest/utils';
import * as v8 from 'v8';
import { S as SerializedConfig } from './chunks/config.BRtC-JeT.js';
import { W as WorkerContext } from './chunks/worker.B1y96qmv.js';
import { W as WorkerContext } from './chunks/worker.B2JXutr8.js';
import '@vitest/runner';

@@ -7,0 +7,0 @@ import 'vite-node';

export { p as provideWorkerState } from './chunks/utils.C8RiOc4B.js';
export { collect as collectVitestWorkerTests, run as runVitestWorker } from './worker.js';
export { r as runBaseTests } from './chunks/base.wKnmhRYd.js';
export { r as runBaseTests } from './chunks/base.B2NLWv2w.js';
export { c as createForksRpcOptions, a as createThreadsRpcOptions, u as unwrapSerializableConfig } from './chunks/utils.Cn0zI1t3.js';
export { r as runVmTests } from './chunks/vm.DXDoSHPT.js';
export { r as runVmTests } from './chunks/vm.ku9l48hv.js';
import '@vitest/utils';

@@ -13,9 +13,9 @@ import 'node:url';

import 'pathe';
import './chunks/index.cYxyd29h.js';
import './chunks/index.K90BXFOx.js';
import 'node:console';
import './chunks/inspector.CU9GlB9I.js';
import './chunks/inspector.DKLceBVD.js';
import 'node:module';
import './chunks/rpc.Bf456uf4.js';
import './chunks/index.TH3f4LSA.js';
import './chunks/execute.PoofJYS5.js';
import './chunks/rpc.TVf73xOu.js';
import './chunks/index.68735LiX.js';
import './chunks/execute.DNQad00_.js';
import 'node:vm';

@@ -27,3 +27,3 @@ import '@vitest/utils/error';

import '@vitest/mocker';
import './chunks/console.BxE0RUCr.js';
import './chunks/console.CN7AiMGV.js';
import 'node:stream';

@@ -30,0 +30,0 @@ import 'tinyrainbow';

import v8 from 'node:v8';
import { r as runBaseTests } from '../chunks/base.wKnmhRYd.js';
import { r as runBaseTests } from '../chunks/base.B2NLWv2w.js';
import { c as createForksRpcOptions, u as unwrapSerializableConfig } from '../chunks/utils.Cn0zI1t3.js';
import 'vite-node/client';
import '../chunks/execute.PoofJYS5.js';
import '../chunks/execute.DNQad00_.js';
import 'node:fs';

@@ -39,4 +39,4 @@ import 'node:url';

}
var forks = new ForksBaseWorker();
const worker = new ForksBaseWorker();
export { forks as default };
export { worker as default };

@@ -9,7 +9,7 @@ import { createRequire } from 'node:module';

import { installSourcemapsSupport } from 'vite-node/source-map';
import { s as setupChaiConfig, r as resolveTestRunner, a as resolveSnapshotEnvironment } from '../chunks/index.C2XSkjNu.js';
import { s as startCoverageInsideWorker, a as stopCoverageInsideWorker } from '../chunks/coverage.BWeNbfBa.js';
import { V as VitestIndex } from '../chunks/index.Bf4FgyZN.js';
import { c as closeInspector } from '../chunks/inspector.CU9GlB9I.js';
import { s as setupCommonEnv } from '../chunks/setup-common.jLbIuaww.js';
import { s as setupChaiConfig, r as resolveTestRunner, a as resolveSnapshotEnvironment } from '../chunks/index.DC3HGwr0.js';
import { s as startCoverageInsideWorker, a as stopCoverageInsideWorker } from '../chunks/coverage.DnNIv-kJ.js';
import { V as VitestIndex } from '../chunks/index.SduP00mx.js';
import { c as closeInspector } from '../chunks/inspector.DKLceBVD.js';
import { s as setupCommonEnv } from '../chunks/setup-common.IrcyRZ8C.js';
import { g as getWorkerState } from '../chunks/utils.C8RiOc4B.js';

@@ -20,6 +20,6 @@ import 'chai';

import 'node:url';
import '../chunks/rpc.Bf456uf4.js';
import '../chunks/rpc.TVf73xOu.js';
import '@vitest/utils';
import '../chunks/index.TH3f4LSA.js';
import '../chunks/vi.CjhMlMwf.js';
import '../chunks/index.68735LiX.js';
import '../chunks/vi.DrftpPF8.js';
import '@vitest/expect';

@@ -26,0 +26,0 @@ import '@vitest/runner/utils';

@@ -1,5 +0,5 @@

import { r as runBaseTests } from '../chunks/base.wKnmhRYd.js';
import { r as runBaseTests } from '../chunks/base.B2NLWv2w.js';
import { a as createThreadsRpcOptions } from '../chunks/utils.Cn0zI1t3.js';
import 'vite-node/client';
import '../chunks/execute.PoofJYS5.js';
import '../chunks/execute.DNQad00_.js';
import 'node:fs';

@@ -29,4 +29,4 @@ import 'node:url';

}
var threads = new ThreadsBaseWorker();
const worker = new ThreadsBaseWorker();
export { threads as default };
export { worker as default };
import v8 from 'node:v8';
import { c as createForksRpcOptions, u as unwrapSerializableConfig } from '../chunks/utils.Cn0zI1t3.js';
import { r as runVmTests } from '../chunks/vm.DXDoSHPT.js';
import { r as runVmTests } from '../chunks/vm.ku9l48hv.js';
import '@vitest/utils';

@@ -10,3 +10,3 @@ import 'node:url';

import 'node:path';
import '../chunks/console.BxE0RUCr.js';
import '../chunks/console.CN7AiMGV.js';
import 'node:console';

@@ -17,3 +17,3 @@ import 'node:stream';

import '../chunks/utils.C8RiOc4B.js';
import '../chunks/execute.PoofJYS5.js';
import '../chunks/execute.DNQad00_.js';
import 'node:fs';

@@ -47,4 +47,4 @@ import '@vitest/utils/error';

}
var vmForks = new ForksVmWorker();
const worker = new ForksVmWorker();
export { vmForks as default };
export { worker as default };
import { a as createThreadsRpcOptions } from '../chunks/utils.Cn0zI1t3.js';
import { r as runVmTests } from '../chunks/vm.DXDoSHPT.js';
import { r as runVmTests } from '../chunks/vm.ku9l48hv.js';
import '@vitest/utils';

@@ -9,3 +9,3 @@ import 'node:url';

import 'node:path';
import '../chunks/console.BxE0RUCr.js';
import '../chunks/console.CN7AiMGV.js';
import 'node:console';

@@ -16,3 +16,3 @@ import 'node:stream';

import '../chunks/utils.C8RiOc4B.js';
import '../chunks/execute.PoofJYS5.js';
import '../chunks/execute.DNQad00_.js';
import 'node:fs';

@@ -37,4 +37,4 @@ import '@vitest/utils/error';

}
var vmThreads = new ThreadsVmWorker();
const worker = new ThreadsVmWorker();
export { vmThreads as default };
export { worker as default };

@@ -60,86 +60,2 @@ # Vitest core license

## @nodelib/fs.scandir
License: MIT
Repository: https://github.com/nodelib/nodelib/tree/master/packages/fs/fs.scandir
> The MIT License (MIT)
>
> Copyright (c) Denis Malinochkin
>
> Permission is hereby granted, free of charge, to any person obtaining a copy
> of this software and associated documentation files (the "Software"), to deal
> in the Software without restriction, including without limitation the rights
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
> copies of the Software, and to permit persons to whom the Software is
> furnished to do so, subject to the following conditions:
>
> The above copyright notice and this permission notice shall be included in all
> copies or substantial portions of the Software.
>
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
> SOFTWARE.
---------------------------------------
## @nodelib/fs.stat
License: MIT
Repository: https://github.com/nodelib/nodelib/tree/master/packages/fs/fs.stat
> The MIT License (MIT)
>
> Copyright (c) Denis Malinochkin
>
> Permission is hereby granted, free of charge, to any person obtaining a copy
> of this software and associated documentation files (the "Software"), to deal
> in the Software without restriction, including without limitation the rights
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
> copies of the Software, and to permit persons to whom the Software is
> furnished to do so, subject to the following conditions:
>
> The above copyright notice and this permission notice shall be included in all
> copies or substantial portions of the Software.
>
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
> SOFTWARE.
---------------------------------------
## @nodelib/fs.walk
License: MIT
Repository: https://github.com/nodelib/nodelib/tree/master/packages/fs/fs.walk
> The MIT License (MIT)
>
> Copyright (c) Denis Malinochkin
>
> Permission is hereby granted, free of charge, to any person obtaining a copy
> of this software and associated documentation files (the "Software"), to deal
> in the Software without restriction, including without limitation the rights
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
> copies of the Software, and to permit persons to whom the Software is
> furnished to do so, subject to the following conditions:
>
> The above copyright notice and this permission notice shall be included in all
> copies or substantial portions of the Software.
>
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
> SOFTWARE.
---------------------------------------
## @sinonjs/commons

@@ -345,52 +261,17 @@ License: BSD-3-Clause

## fast-glob
## fdir
License: MIT
By: Denis Malinochkin
Repository: mrmlnc/fast-glob
By: thecodrr
Repository: git+https://github.com/thecodrr/fdir.git
> The MIT License (MIT)
> Copyright 2023 Abdullah Atta
>
> Copyright (c) Denis Malinochkin
> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
>
> Permission is hereby granted, free of charge, to any person obtaining a copy
> of this software and associated documentation files (the "Software"), to deal
> in the Software without restriction, including without limitation the rights
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
> copies of the Software, and to permit persons to whom the Software is
> furnished to do so, subject to the following conditions:
> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
>
> The above copyright notice and this permission notice shall be included in all
> copies or substantial portions of the Software.
>
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
> SOFTWARE.
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
---------------------------------------
## fastq
License: ISC
By: Matteo Collina
Repository: git+https://github.com/mcollina/fastq.git
> Copyright (c) 2015-2020, Matteo Collina <matteo.collina@gmail.com>
>
> Permission to use, copy, modify, and/or distribute this software for any
> purpose with or without fee is hereby granted, provided that the above
> copyright notice and this permission notice appear in all copies.
>
> THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
> WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
> MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
> ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
> WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
> ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
> OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
---------------------------------------
## fill-range

@@ -494,83 +375,2 @@ License: MIT

## glob-parent
License: ISC
By: Gulp Team, Elan Shanker, Blaine Bublitz
Repository: gulpjs/glob-parent
> The ISC License
>
> Copyright (c) 2015, 2019 Elan Shanker
>
> Permission to use, copy, modify, and/or distribute this software for any
> purpose with or without fee is hereby granted, provided that the above
> copyright notice and this permission notice appear in all copies.
>
> THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
> WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
> MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
> ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
> WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
> ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
> IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
---------------------------------------
## is-extglob
License: MIT
By: Jon Schlinkert
Repository: jonschlinkert/is-extglob
> The MIT License (MIT)
>
> Copyright (c) 2014-2016, Jon Schlinkert
>
> Permission is hereby granted, free of charge, to any person obtaining a copy
> of this software and associated documentation files (the "Software"), to deal
> in the Software without restriction, including without limitation the rights
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
> copies of the Software, and to permit persons to whom the Software is
> furnished to do so, subject to the following conditions:
>
> The above copyright notice and this permission notice shall be included in
> all copies or substantial portions of the Software.
>
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
> THE SOFTWARE.
---------------------------------------
## is-glob
License: MIT
By: Jon Schlinkert, Brian Woodward, Daniel Perez
Repository: micromatch/is-glob
> The MIT License (MIT)
>
> Copyright (c) 2014-2017, Jon Schlinkert.
>
> Permission is hereby granted, free of charge, to any person obtaining a copy
> of this software and associated documentation files (the "Software"), to deal
> in the Software without restriction, including without limitation the rights
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
> copies of the Software, and to permit persons to whom the Software is
> furnished to do so, subject to the following conditions:
>
> The above copyright notice and this permission notice shall be included in
> all copies or substantial portions of the Software.
>
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
> THE SOFTWARE.
---------------------------------------
## is-number

@@ -709,30 +509,2 @@ License: MIT

## merge2
License: MIT
Repository: git@github.com:teambition/merge2.git
> The MIT License (MIT)
>
> Copyright (c) 2014-2020 Teambition
>
> Permission is hereby granted, free of charge, to any person obtaining a copy
> of this software and associated documentation files (the "Software"), to deal
> in the Software without restriction, including without limitation the rights
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
> copies of the Software, and to permit persons to whom the Software is
> furnished to do so, subject to the following conditions:
>
> The above copyright notice and this permission notice shall be included in all
> copies or substantial portions of the Software.
>
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
> SOFTWARE.
---------------------------------------
## micromatch

@@ -916,30 +688,2 @@ License: MIT

## queue-microtask
License: MIT
By: Feross Aboukhadijeh
Repository: git://github.com/feross/queue-microtask.git
> The MIT License (MIT)
>
> Copyright (c) Feross Aboukhadijeh
>
> Permission is hereby granted, free of charge, to any person obtaining a copy of
> this software and associated documentation files (the "Software"), to deal in
> the Software without restriction, including without limitation the rights to
> use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
> the Software, and to permit persons to whom the Software is furnished to do so,
> subject to the following conditions:
>
> The above copyright notice and this permission notice shall be included in all
> copies or substantial portions of the Software.
>
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
> FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
> COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
> IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
> CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
---------------------------------------
## resolve-pkg-maps

@@ -974,10 +718,10 @@ License: MIT

## reusify
## sisteransi
License: MIT
By: Matteo Collina
Repository: git+https://github.com/mcollina/reusify.git
By: Terkel Gjervig
Repository: https://github.com/terkelg/sisteransi
> The MIT License (MIT)
> MIT License
>
> Copyright (c) 2015 Matteo Collina
> Copyright (c) 2018 Terkel Gjervig Nielsen
>

@@ -1004,38 +748,10 @@ > Permission is hereby granted, free of charge, to any person obtaining a copy

## run-parallel
## strip-literal
License: MIT
By: Feross Aboukhadijeh
Repository: git://github.com/feross/run-parallel.git
By: Anthony Fu
Repository: git+https://github.com/antfu/strip-literal.git
> The MIT License (MIT)
>
> Copyright (c) Feross Aboukhadijeh
>
> Permission is hereby granted, free of charge, to any person obtaining a copy of
> this software and associated documentation files (the "Software"), to deal in
> the Software without restriction, including without limitation the rights to
> use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
> the Software, and to permit persons to whom the Software is furnished to do so,
> subject to the following conditions:
>
> The above copyright notice and this permission notice shall be included in all
> copies or substantial portions of the Software.
>
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
> FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
> COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
> IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
> CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
---------------------------------------
## sisteransi
License: MIT
By: Terkel Gjervig
Repository: https://github.com/terkelg/sisteransi
> MIT License
>
> Copyright (c) 2018 Terkel Gjervig Nielsen
> Copyright (c) 2022 Anthony Fu <https://github.com/antfu>
>

@@ -1062,10 +778,10 @@ > Permission is hereby granted, free of charge, to any person obtaining a copy

## strip-literal
## tinyglobby
License: MIT
By: Anthony Fu
Repository: git+https://github.com/antfu/strip-literal.git
By: Superchupu
Repository: git+https://github.com/SuperchupuDev/tinyglobby.git
> MIT License
>
> Copyright (c) 2022 Anthony Fu <https://github.com/antfu>
> Copyright (c) 2024 Madeline Gurriarán
>

@@ -1072,0 +788,0 @@ > Permission is hereby granted, free of charge, to any person obtaining a copy

{
"name": "vitest",
"type": "module",
"version": "3.0.5",
"version": "3.0.6",
"description": "Next generation testing framework powered by Vite",

@@ -126,4 +126,4 @@ "author": "Anthony Fu <anthonyfu117@hotmail.com>",

"jsdom": "*",
"@vitest/browser": "3.0.5",
"@vitest/ui": "3.0.5"
"@vitest/ui": "3.0.6",
"@vitest/browser": "3.0.6"
},

@@ -154,7 +154,7 @@ "peerDependenciesMeta": {

"dependencies": {
"chai": "^5.1.2",
"chai": "^5.2.0",
"debug": "^4.4.0",
"expect-type": "^1.1.0",
"magic-string": "^0.30.17",
"pathe": "^2.0.2",
"pathe": "^2.0.3",
"std-env": "^3.8.0",

@@ -167,10 +167,10 @@ "tinybench": "^2.9.0",

"why-is-node-running": "^2.3.0",
"@vitest/expect": "3.0.5",
"@vitest/mocker": "3.0.5",
"@vitest/runner": "3.0.5",
"@vitest/snapshot": "3.0.5",
"@vitest/spy": "3.0.5",
"@vitest/pretty-format": "^3.0.5",
"@vitest/utils": "3.0.5",
"vite-node": "3.0.5"
"@vitest/snapshot": "3.0.6",
"@vitest/expect": "3.0.6",
"@vitest/runner": "3.0.6",
"@vitest/mocker": "3.0.6",
"@vitest/spy": "3.0.6",
"@vitest/utils": "3.0.6",
"vite-node": "3.0.6",
"@vitest/pretty-format": "^3.0.6"
},

@@ -188,3 +188,3 @@ "devDependencies": {

"@types/micromatch": "^4.0.9",
"@types/node": "^22.10.9",
"@types/node": "^22.13.4",
"@types/prompts": "^2.4.9",

@@ -196,9 +196,8 @@ "@types/sinonjs__fake-timers": "^8.1.5",

"chai-subset": "^1.6.0",
"fast-glob": "3.3.3",
"find-up": "^6.3.0",
"flatted": "^3.3.2",
"get-tsconfig": "^4.10.0",
"happy-dom": "^16.7.2",
"jsdom": "^25.0.1",
"local-pkg": "^0.5.1",
"happy-dom": "^17.1.0",
"jsdom": "^26.0.0",
"local-pkg": "^1.0.0",
"micromatch": "^4.0.8",

@@ -208,2 +207,3 @@ "pretty-format": "^29.7.0",

"strip-literal": "^2.1.1",
"tinyglobby": "^0.2.10",
"ws": "^8.18.0"

@@ -210,0 +210,0 @@ },

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc