vitest
Advanced tools
Comparing version 0.31.0 to 0.31.4
export { afterAll, afterEach, beforeAll, beforeEach, describe, it, onTestFailed, suite, test } from '@vitest/runner'; | ||
export { e as bench, c as createExpect, d as expect, s as setupChaiConfig, v as vi, f as vitest } from './vendor-vi.458e47b1.js'; | ||
export { e as bench, c as createExpect, d as expect, s as setupChaiConfig, v as vi, f as vitest } from './vendor-vi.23b98fa1.js'; | ||
export { i as isFirstRun, a as runOnce } from './vendor-run-once.69ce7172.js'; | ||
import { d as dist } from './vendor-index.b0b501c8.js'; | ||
export { b as assertType, g as getRunningMode, a as isWatchMode } from './vendor-index.b0b501c8.js'; | ||
import { d as dist } from './vendor-index.f81f6285.js'; | ||
export { b as assertType, g as getRunningMode, a as isWatchMode } from './vendor-index.f81f6285.js'; | ||
import * as chai from 'chai'; | ||
@@ -18,3 +18,3 @@ export { chai }; | ||
import '@vitest/snapshot'; | ||
import './vendor-tasks.042d6084.js'; | ||
import './vendor-tasks.f9d75aed.js'; | ||
import 'util'; | ||
@@ -21,0 +21,0 @@ import '@vitest/spy'; |
export { startTests } from '@vitest/runner'; | ||
import { a as ResolvedConfig, $ as CoverageOptions, X as CoverageProvider, Z as CoverageProviderModule } from './types-b7007192.js'; | ||
import { a as ResolvedConfig, $ as CoverageOptions, X as CoverageProvider, Z as CoverageProviderModule } from './types-dea83b3d.js'; | ||
import '@vitest/snapshot'; | ||
import '@vitest/expect'; | ||
import 'vite'; | ||
import '@vitest/runner/types'; | ||
import '@vitest/runner/utils'; | ||
@@ -8,0 +7,0 @@ import '@vitest/utils'; |
export { startTests } from '@vitest/runner'; | ||
export { s as setupCommonEnv } from './vendor-setup.common.266b69fb.js'; | ||
export { s as setupCommonEnv } from './vendor-setup.common.823a1300.js'; | ||
export { g as getCoverageProvider, a as startCoverageInsideWorker, s as stopCoverageInsideWorker, t as takeCoverageInsideWorker } from './vendor-coverage.c8fd34c3.js'; | ||
@@ -4,0 +4,0 @@ import '@vitest/utils'; |
import v8 from 'node:v8'; | ||
import { c as createBirpc } from './vendor-index.7dcbfa46.js'; | ||
import { c as createBirpc } from './vendor-index.5037f2c0.js'; | ||
import { parseRegexp } from '@vitest/utils'; | ||
import { s as startViteNode, m as moduleCache, a as mockMap } from './vendor-execute.a08cff9c.js'; | ||
import { s as startViteNode, m as moduleCache, a as mockMap } from './vendor-execute.132a3e09.js'; | ||
import { a as rpcDone } from './vendor-rpc.4d3d7a54.js'; | ||
@@ -6,0 +6,0 @@ import { s as setupInspect } from './vendor-inspector.47fc8cbb.js'; |
import { normalize } from 'pathe'; | ||
import cac from 'cac'; | ||
import c from 'picocolors'; | ||
import { v as version, s as startVitest, d as divider } from './vendor-cli-api.de0530cb.js'; | ||
import { v as version, s as startVitest, d as divider } from './vendor-cli-api.8cf937e8.js'; | ||
import './vendor-constants.538d9b49.js'; | ||
@@ -34,3 +34,3 @@ import './vendor-coverage.c8fd34c3.js'; | ||
import 'node:child_process'; | ||
import './vendor-index.7dcbfa46.js'; | ||
import './vendor-index.5037f2c0.js'; | ||
import 'node:worker_threads'; | ||
@@ -40,3 +40,3 @@ import 'node:os'; | ||
import 'node:perf_hooks'; | ||
import './vendor-tasks.042d6084.js'; | ||
import './vendor-tasks.f9d75aed.js'; | ||
import 'node:module'; | ||
@@ -68,3 +68,19 @@ import 'node:crypto'; | ||
cli.command("[...filters]").action((filters, options) => start("test", filters, options)); | ||
cli.parse(); | ||
try { | ||
cli.parse(); | ||
} catch (originalError) { | ||
const fullArguments = cli.rawArgs.join(" "); | ||
const conflictingArgs = []; | ||
for (const arg of cli.rawArgs) { | ||
if (arg.startsWith("--") && !arg.includes(".") && fullArguments.includes(`${arg}.`)) { | ||
const dotArgs = cli.rawArgs.filter((rawArg) => rawArg.startsWith(arg) && rawArg.includes(".")); | ||
conflictingArgs.push({ arg, dotArgs }); | ||
} | ||
} | ||
if (conflictingArgs.length === 0) | ||
throw originalError; | ||
const error = conflictingArgs.map(({ arg, dotArgs }) => `A boolean argument "${arg}" was used with dot notation arguments "${dotArgs.join(" ")}". | ||
Please specify the "${arg}" argument with dot notation as well: "${arg}.enabled"`).join("\n"); | ||
throw new Error(error); | ||
} | ||
async function runRelated(relatedFiles, argv) { | ||
@@ -71,0 +87,0 @@ argv.related = relatedFiles; |
@@ -1,8 +0,7 @@ | ||
import { UserConfig as UserConfig$2, ConfigEnv } from 'vite'; | ||
export { ConfigEnv, mergeConfig } from 'vite'; | ||
import { a0 as ResolvedCoverageOptions, q as UserConfig$1, a3 as CoverageC8Options, a4 as CustomProviderOptions, a2 as CoverageIstanbulOptions, ag as HtmlOptions, ah as FileOptions, ai as CloverOptions, aj as CoberturaOptions, ak as HtmlSpaOptions, al as LcovOptions, am as LcovOnlyOptions, an as TeamcityOptions, ao as TextOptions, ap as ProjectOptions, F as FakeTimerInstallOpts, P as ProjectConfig } from './types-b7007192.js'; | ||
import { UserConfig as UserConfig$1, ConfigEnv } from 'vite'; | ||
export { ConfigEnv, UserConfig, mergeConfig } from 'vite'; | ||
import { a0 as ResolvedCoverageOptions, q as UserConfig, a3 as CoverageC8Options, a4 as CustomProviderOptions, a2 as CoverageIstanbulOptions, ag as HtmlOptions, ah as FileOptions, ai as CloverOptions, aj as CoberturaOptions, ak as HtmlSpaOptions, al as LcovOptions, am as LcovOnlyOptions, an as TeamcityOptions, ao as TextOptions, ap as ProjectOptions, F as FakeTimerInstallOpts, P as ProjectConfig } from './types-dea83b3d.js'; | ||
import '@vitest/snapshot'; | ||
import '@vitest/expect'; | ||
import '@vitest/runner'; | ||
import '@vitest/runner/types'; | ||
import '@vitest/runner/utils'; | ||
@@ -60,3 +59,3 @@ import '@vitest/utils'; | ||
provider: "istanbul"; | ||
} & CoverageIstanbulOptions), "exclude" | "enabled" | "clean" | "cleanOnRerun" | "reportsDirectory" | "extension">> & { | ||
} & CoverageIstanbulOptions), "exclude" | "enabled" | "clean" | "cleanOnRerun" | "reportsDirectory" | "extension" | "reportOnFailure">> & { | ||
reporter: (["html", Partial<HtmlOptions>] | ["none", {}] | ["json", Partial<FileOptions>] | ["clover", Partial<CloverOptions>] | ["cobertura", Partial<CoberturaOptions>] | ["html-spa", Partial<HtmlSpaOptions>] | ["json-summary", Partial<FileOptions>] | ["lcov", Partial<LcovOptions>] | ["lcovonly", Partial<LcovOnlyOptions>] | ["teamcity", Partial<TeamcityOptions>] | ["text", Partial<TextOptions>] | ["text-lcov", Partial<ProjectOptions>] | ["text-summary", Partial<FileOptions>])[]; | ||
@@ -74,13 +73,10 @@ }; | ||
}; | ||
declare const configDefaults: Required<Pick<UserConfig$1, keyof typeof config>>; | ||
declare const configDefaults: Required<Pick<UserConfig, keyof typeof config>>; | ||
interface UserConfig extends UserConfig$2 { | ||
test?: UserConfig$2['test'] | undefined; | ||
interface UserWorkspaceConfig extends UserConfig$1 { | ||
test?: ProjectConfig; | ||
} | ||
interface UserWorkspaceConfig extends UserConfig$2 { | ||
test?: ProjectConfig | undefined; | ||
} | ||
type UserConfigFn = (env: ConfigEnv) => UserConfig | Promise<UserConfig>; | ||
type UserConfigExport = UserConfig | Promise<UserConfig> | UserConfigFn; | ||
type UserConfigFn = (env: ConfigEnv) => UserConfig$1 | Promise<UserConfig$1>; | ||
type UserConfigExport = UserConfig$1 | Promise<UserConfig$1> | UserConfigFn; | ||
type UserProjectConfigFn = (env: ConfigEnv) => UserWorkspaceConfig | Promise<UserWorkspaceConfig>; | ||
@@ -96,2 +92,2 @@ type UserProjectConfigExport = UserWorkspaceConfig | Promise<UserWorkspaceConfig> | UserProjectConfigFn; | ||
export { UserConfig, UserConfigExport, UserConfigFn, UserProjectConfigExport, UserProjectConfigFn, UserWorkspaceConfig, configDefaults, coverageConfigDefaults, defaultExclude, defaultInclude, defineConfig, defineProject, defineWorkspace }; | ||
export { UserConfigExport, UserConfigFn, UserProjectConfigExport, UserProjectConfigFn, UserWorkspaceConfig, configDefaults, coverageConfigDefaults, defaultExclude, defaultInclude, defineConfig, defineProject, defineWorkspace }; |
@@ -30,2 +30,3 @@ import { isCI } from 'std-env'; | ||
exclude: defaultCoverageExcludes, | ||
reportOnFailure: true, | ||
reporter: [["text", {}], ["html", {}], ["clover", {}], ["json", {}]], | ||
@@ -32,0 +33,0 @@ // default extensions used by c8, plus '.vue' and '.svelte' |
@@ -1,2 +0,2 @@ | ||
import { a1 as BaseCoverageOptions, a0 as ResolvedCoverageOptions } from './types-b7007192.js'; | ||
import { a1 as BaseCoverageOptions, a0 as ResolvedCoverageOptions } from './types-dea83b3d.js'; | ||
import '@vitest/snapshot'; | ||
@@ -6,3 +6,2 @@ import '@vitest/expect'; | ||
import '@vitest/runner'; | ||
import '@vitest/runner/types'; | ||
import '@vitest/runner/utils'; | ||
@@ -9,0 +8,0 @@ import '@vitest/utils'; |
@@ -5,3 +5,3 @@ import { performance } from 'node:perf_hooks'; | ||
import { c as resetModules } from './vendor-index.fad2598b.js'; | ||
import { R as RealDate, d as globalExpect, s as setupChaiConfig, v as vi } from './vendor-vi.458e47b1.js'; | ||
import { R as RealDate, d as globalExpect, s as setupChaiConfig, v as vi } from './vendor-vi.23b98fa1.js'; | ||
import { d as distDir } from './vendor-paths.84fc7a99.js'; | ||
@@ -16,4 +16,4 @@ import { a as startCoverageInsideWorker, t as takeCoverageInsideWorker, s as stopCoverageInsideWorker } from './vendor-coverage.c8fd34c3.js'; | ||
import { r as rpc } from './vendor-rpc.4d3d7a54.js'; | ||
import { i as index } from './vendor-index.b0b501c8.js'; | ||
import { s as setupCommonEnv } from './vendor-setup.common.266b69fb.js'; | ||
import { i as index } from './vendor-index.f81f6285.js'; | ||
import { s as setupCommonEnv } from './vendor-setup.common.823a1300.js'; | ||
import { g as getWorkerState } from './vendor-global.6795f91f.js'; | ||
@@ -26,3 +26,3 @@ import 'std-env'; | ||
import '@vitest/snapshot'; | ||
import './vendor-tasks.042d6084.js'; | ||
import './vendor-tasks.f9d75aed.js'; | ||
import 'util'; | ||
@@ -62,2 +62,3 @@ import '@vitest/spy'; | ||
_require.extensions[".sass"] = () => ({}); | ||
_require.extensions[".less"] = () => ({}); | ||
installSourcemapsSupport({ | ||
@@ -64,0 +65,0 @@ getSourceMap: (source) => state.moduleCache.getSourceMap(source) |
@@ -1,2 +0,2 @@ | ||
import { Q as Environment } from './types-b7007192.js'; | ||
import { Q as Environment } from './types-dea83b3d.js'; | ||
import '@vitest/snapshot'; | ||
@@ -6,3 +6,2 @@ import '@vitest/expect'; | ||
import '@vitest/runner'; | ||
import '@vitest/runner/types'; | ||
import '@vitest/runner/utils'; | ||
@@ -9,0 +8,0 @@ import '@vitest/utils'; |
@@ -1,10 +0,8 @@ | ||
import { CancelReason } from '@vitest/runner'; | ||
export { SequenceHooks, SequenceSetupFiles, afterAll, afterEach, beforeAll, beforeEach, describe, it, onTestFailed, suite, test } from '@vitest/runner'; | ||
import { B as BenchmarkAPI, F as FakeTimerInstallOpts, M as MockFactoryWithHelper, R as RuntimeConfig, A as AfterSuiteRunMeta, U as UserConsoleLog, a as ResolvedConfig, b as ModuleGraphData, c as Reporter } from './types-b7007192.js'; | ||
export { n as ApiConfig, G as ArgumentsType, D as Arrayable, z as Awaitable, a1 as BaseCoverageOptions, a8 as BenchFunction, a6 as Benchmark, a7 as BenchmarkResult, a5 as BenchmarkUserOptions, k as BuiltinEnvironment, m as CSSModuleScopeStrategy, C as ChaiConfig, f as CollectLineNumbers, h as CollectLines, K as Constructable, j as Context, v as ContextRPC, u as ContextTestEnvironment, a3 as CoverageC8Options, a2 as CoverageIstanbulOptions, $ as CoverageOptions, X as CoverageProvider, Z as CoverageProviderModule, _ as CoverageReporter, a4 as CustomProviderOptions, Q as Environment, E as EnvironmentOptions, O as EnvironmentReturn, I as InlineConfig, J as JSDOMOptions, L as ModuleCache, H as MutableArray, N as Nullable, S as OnServerRestartHandler, P as ProjectConfig, e as RawErrsMap, Y as ReportContext, x as ResolveIdFunction, a0 as ResolvedCoverageOptions, i as RootAndTarget, t as RunnerRPC, r as RuntimeRPC, T as TscErrorInfo, p as TypecheckConfig, q as UserConfig, w as Vitest, V as VitestEnvironment, l as VitestPool, o as VitestRunMode, W as WorkerContext, y as WorkerGlobalState, d as createExpect, g as expect, s as setupChaiConfig } from './types-b7007192.js'; | ||
import { File, TaskResultPack, CancelReason } from '@vitest/runner'; | ||
export { DoneCallback, File, HookCleanupCallback, HookListener, OnTestFailedHandler, RunMode, RuntimeContext, SequenceHooks, SequenceSetupFiles, Suite, SuiteAPI, SuiteCollector, SuiteFactory, SuiteHooks, Task, TaskBase, TaskMeta, TaskResult, TaskResultPack, TaskState, Test, TestAPI, TestContext, TestFunction, TestOptions, afterAll, afterEach, beforeAll, beforeEach, describe, it, onTestFailed, suite, test } from '@vitest/runner'; | ||
import { B as BenchmarkAPI, F as FakeTimerInstallOpts, M as MockFactoryWithHelper, R as RuntimeConfig, A as AfterSuiteRunMeta, U as UserConsoleLog, a as ResolvedConfig, b as ModuleGraphData, c as Reporter } from './types-dea83b3d.js'; | ||
export { n as ApiConfig, G as ArgumentsType, D as Arrayable, z as Awaitable, a1 as BaseCoverageOptions, a8 as BenchFunction, a6 as Benchmark, a7 as BenchmarkResult, a5 as BenchmarkUserOptions, k as BuiltinEnvironment, m as CSSModuleScopeStrategy, C as ChaiConfig, f as CollectLineNumbers, h as CollectLines, K as Constructable, j as Context, v as ContextRPC, u as ContextTestEnvironment, a3 as CoverageC8Options, a2 as CoverageIstanbulOptions, $ as CoverageOptions, X as CoverageProvider, Z as CoverageProviderModule, _ as CoverageReporter, a4 as CustomProviderOptions, Q as Environment, E as EnvironmentOptions, O as EnvironmentReturn, I as InlineConfig, J as JSDOMOptions, L as ModuleCache, H as MutableArray, N as Nullable, S as OnServerRestartHandler, P as ProjectConfig, e as RawErrsMap, Y as ReportContext, x as ResolveIdFunction, a0 as ResolvedCoverageOptions, i as RootAndTarget, t as RunnerRPC, r as RuntimeRPC, T as TscErrorInfo, p as TypecheckConfig, q as UserConfig, w as Vitest, V as VitestEnvironment, l as VitestPool, o as VitestRunMode, W as WorkerContext, y as WorkerGlobalState, d as createExpect, g as expect, s as setupChaiConfig } from './types-dea83b3d.js'; | ||
import { spyOn, fn, MaybeMockedDeep, MaybeMocked, MaybePartiallyMocked, MaybePartiallyMockedDeep, EnhancedSpy } from '@vitest/spy'; | ||
export { EnhancedSpy, Mock, MockContext, MockInstance, Mocked, MockedClass, MockedFunction, MockedObject, SpyInstance } from '@vitest/spy'; | ||
export { SnapshotEnvironment } from '@vitest/snapshot/environment'; | ||
import { File, TaskResultPack } from '@vitest/runner/types'; | ||
export { DoneCallback, File, HookCleanupCallback, HookListener, OnTestFailedHandler, RunMode, RuntimeContext, Suite, SuiteAPI, SuiteCollector, SuiteFactory, SuiteHooks, Task, TaskBase, TaskResult, TaskResultPack, TaskState, Test, TestAPI, TestContext, TestFunction, TestOptions } from '@vitest/runner/types'; | ||
import { SnapshotResult } from '@vitest/snapshot'; | ||
@@ -331,3 +329,3 @@ export { SnapshotData, SnapshotMatchOptions, SnapshotResult, SnapshotStateOptions, SnapshotSummary, SnapshotUpdateState, UncheckedSnapshot } from '@vitest/snapshot'; | ||
declare function getRunningMode(): "watch" | "run"; | ||
declare function getRunningMode(): "run" | "watch"; | ||
declare function isWatchMode(): boolean; | ||
@@ -334,0 +332,0 @@ |
export { afterAll, afterEach, beforeAll, beforeEach, describe, it, onTestFailed, suite, test } from '@vitest/runner'; | ||
export { e as bench, c as createExpect, d as expect, s as setupChaiConfig, v as vi, f as vitest } from './vendor-vi.458e47b1.js'; | ||
export { e as bench, c as createExpect, d as expect, s as setupChaiConfig, v as vi, f as vitest } from './vendor-vi.23b98fa1.js'; | ||
export { i as isFirstRun, a as runOnce } from './vendor-run-once.69ce7172.js'; | ||
import { d as dist } from './vendor-index.b0b501c8.js'; | ||
export { b as assertType, g as getRunningMode, a as isWatchMode } from './vendor-index.b0b501c8.js'; | ||
import { d as dist } from './vendor-index.f81f6285.js'; | ||
export { b as assertType, g as getRunningMode, a as isWatchMode } from './vendor-index.f81f6285.js'; | ||
import * as chai from 'chai'; | ||
@@ -18,3 +18,3 @@ export { chai }; | ||
import '@vitest/snapshot'; | ||
import './vendor-tasks.042d6084.js'; | ||
import './vendor-tasks.f9d75aed.js'; | ||
import 'util'; | ||
@@ -21,0 +21,0 @@ import '@vitest/spy'; |
@@ -1,3 +0,3 @@ | ||
import { o as VitestRunMode, q as UserConfig, w as Vitest, a9 as MockFactory, aa as MockMap, ab as TestSequencer, ac as WorkspaceSpec } from './types-b7007192.js'; | ||
export { af as TestSequencerConstructor, ad as VitestWorkspace, ae as startVitest } from './types-b7007192.js'; | ||
import { o as VitestRunMode, q as UserConfig, w as Vitest, a9 as MockFactory, aa as MockMap, ab as TestSequencer, ac as WorkspaceSpec } from './types-dea83b3d.js'; | ||
export { af as TestSequencerConstructor, ad as VitestWorkspace, ae as startVitest } from './types-dea83b3d.js'; | ||
import { UserConfig as UserConfig$1, Plugin } from 'vite'; | ||
@@ -9,3 +9,2 @@ import { ViteNodeRunner } from 'vite-node/client'; | ||
import '@vitest/runner'; | ||
import '@vitest/runner/types'; | ||
import '@vitest/runner/utils'; | ||
@@ -33,3 +32,5 @@ import '@vitest/utils'; | ||
private get moduleCache(); | ||
private get moduleDirectories(); | ||
private deleteCachedItem; | ||
private isAModuleDirectory; | ||
getSuiteFilepath(): string; | ||
@@ -58,2 +59,3 @@ getMocks(): { | ||
mockMap: MockMap; | ||
moduleDirectories?: string[]; | ||
} | ||
@@ -60,0 +62,0 @@ declare class VitestExecutor extends ViteNodeRunner { |
@@ -1,3 +0,3 @@ | ||
export { B as BaseSequencer, V as VitestPlugin, c as createVitest, s as startVitest } from './vendor-cli-api.de0530cb.js'; | ||
export { V as VitestExecutor } from './vendor-execute.a08cff9c.js'; | ||
export { B as BaseSequencer, V as VitestPlugin, c as createVitest, s as startVitest } from './vendor-cli-api.8cf937e8.js'; | ||
export { V as VitestExecutor } from './vendor-execute.132a3e09.js'; | ||
import 'pathe'; | ||
@@ -34,3 +34,3 @@ import './vendor-constants.538d9b49.js'; | ||
import 'node:child_process'; | ||
import './vendor-index.7dcbfa46.js'; | ||
import './vendor-index.5037f2c0.js'; | ||
import 'node:worker_threads'; | ||
@@ -40,3 +40,3 @@ import 'node:os'; | ||
import 'node:perf_hooks'; | ||
import './vendor-tasks.042d6084.js'; | ||
import './vendor-tasks.f9d75aed.js'; | ||
import 'node:module'; | ||
@@ -43,0 +43,0 @@ import 'node:crypto'; |
import { VitestRunner, VitestRunnerImportSource, Suite, Test, CancelReason, TestContext } from '@vitest/runner'; | ||
import { a as ResolvedConfig } from './types-b7007192.js'; | ||
import { a as ResolvedConfig } from './types-dea83b3d.js'; | ||
import '@vitest/snapshot'; | ||
import '@vitest/expect'; | ||
import 'vite'; | ||
import '@vitest/runner/types'; | ||
import '@vitest/runner/utils'; | ||
@@ -8,0 +7,0 @@ import '@vitest/utils'; |
import { setState, GLOBAL_EXPECT, getState } from '@vitest/expect'; | ||
import { g as getSnapshotClient, c as createExpect, v as vi, a as getBenchOptions, b as getBenchFn } from './vendor-vi.458e47b1.js'; | ||
import { g as getSnapshotClient, c as createExpect, v as vi, a as getBenchOptions, b as getBenchFn } from './vendor-vi.23b98fa1.js'; | ||
import './vendor-index.fad2598b.js'; | ||
import { r as rpc } from './vendor-rpc.4d3d7a54.js'; | ||
import { g as getFullName } from './vendor-tasks.042d6084.js'; | ||
import { g as getFullName } from './vendor-tasks.f9d75aed.js'; | ||
import { g as getWorkerState } from './vendor-global.6795f91f.js'; | ||
@@ -7,0 +7,0 @@ import { getNames } from '@vitest/runner/utils'; |
import { performance } from 'node:perf_hooks'; | ||
import { c as createBirpc } from './vendor-index.7dcbfa46.js'; | ||
import { c as createBirpc } from './vendor-index.5037f2c0.js'; | ||
import { workerId } from 'tinypool'; | ||
import { g as getWorkerState } from './vendor-global.6795f91f.js'; | ||
import { s as startViteNode, m as moduleCache, a as mockMap } from './vendor-execute.a08cff9c.js'; | ||
import { s as startViteNode, m as moduleCache, a as mockMap } from './vendor-execute.132a3e09.js'; | ||
import { s as setupInspect } from './vendor-inspector.47fc8cbb.js'; | ||
@@ -7,0 +7,0 @@ import { a as rpcDone } from './vendor-rpc.4d3d7a54.js'; |
{ | ||
"name": "vitest", | ||
"type": "module", | ||
"version": "0.31.0", | ||
"version": "0.31.4", | ||
"description": "A blazing fast unit test framework powered by Vite", | ||
@@ -132,3 +132,3 @@ "author": "Anthony Fu <anthonyfu117@hotmail.com>", | ||
"dependencies": { | ||
"@types/chai": "^4.3.4", | ||
"@types/chai": "^4.3.5", | ||
"@types/chai-subset": "^1.3.3", | ||
@@ -148,18 +148,18 @@ "@types/node": "*", | ||
"strip-literal": "^1.0.1", | ||
"tinybench": "^2.4.0", | ||
"tinybench": "^2.5.0", | ||
"tinypool": "^0.5.0", | ||
"vite": "^3.0.0 || ^4.0.0", | ||
"why-is-node-running": "^2.2.2", | ||
"@vitest/expect": "0.31.0", | ||
"@vitest/runner": "0.31.0", | ||
"vite-node": "0.31.0", | ||
"@vitest/spy": "0.31.0", | ||
"@vitest/utils": "0.31.0", | ||
"@vitest/snapshot": "0.31.0" | ||
"@vitest/runner": "0.31.4", | ||
"@vitest/expect": "0.31.4", | ||
"@vitest/snapshot": "0.31.4", | ||
"@vitest/spy": "0.31.4", | ||
"vite-node": "0.31.4", | ||
"@vitest/utils": "0.31.4" | ||
}, | ||
"devDependencies": { | ||
"@ampproject/remapping": "^2.2.0", | ||
"@ampproject/remapping": "^2.2.1", | ||
"@antfu/install-pkg": "^0.1.1", | ||
"@edge-runtime/vm": "2.1.2", | ||
"@jridgewell/trace-mapping": "^0.3.17", | ||
"@jridgewell/trace-mapping": "^0.3.18", | ||
"@sinonjs/fake-timers": "^10.0.2", | ||
@@ -174,3 +174,3 @@ "@types/diff": "^5.0.3", | ||
"@types/sinonjs__fake-timers": "^8.1.2", | ||
"birpc": "0.2.3", | ||
"birpc": "0.2.12", | ||
"chai-subset": "^1.6.0", | ||
@@ -185,4 +185,4 @@ "cli-truncate": "^3.1.0", | ||
"get-tsconfig": "^4.5.0", | ||
"happy-dom": "^8.9.0", | ||
"jsdom": "^21.1.1", | ||
"happy-dom": "^9.10.7", | ||
"jsdom": "^21.1.2", | ||
"log-update": "^5.0.1", | ||
@@ -192,4 +192,4 @@ "micromatch": "^4.0.5", | ||
"p-limit": "^4.0.0", | ||
"pkg-types": "^1.0.2", | ||
"playwright": "^1.32.2", | ||
"pkg-types": "^1.0.3", | ||
"playwright": "^1.33.0", | ||
"pretty-format": "^27.5.1", | ||
@@ -199,3 +199,3 @@ "prompts": "^2.4.2", | ||
"strip-ansi": "^7.0.1", | ||
"webdriverio": "^8.6.9", | ||
"webdriverio": "^8.9.0", | ||
"ws": "^8.13.0" | ||
@@ -202,0 +202,0 @@ }, |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 15 instances in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
1297370
34808
61
+ Added@vitest/expect@0.31.4(transitive)
+ Added@vitest/runner@0.31.4(transitive)
+ Added@vitest/snapshot@0.31.4(transitive)
+ Added@vitest/spy@0.31.4(transitive)
+ Added@vitest/utils@0.31.4(transitive)
+ Addedvite-node@0.31.4(transitive)
- Removed@vitest/expect@0.31.0(transitive)
- Removed@vitest/runner@0.31.0(transitive)
- Removed@vitest/snapshot@0.31.0(transitive)
- Removed@vitest/spy@0.31.0(transitive)
- Removed@vitest/utils@0.31.0(transitive)
- Removedvite-node@0.31.0(transitive)
Updated@types/chai@^4.3.5
Updated@vitest/expect@0.31.4
Updated@vitest/runner@0.31.4
Updated@vitest/snapshot@0.31.4
Updated@vitest/spy@0.31.4
Updated@vitest/utils@0.31.4
Updatedtinybench@^2.5.0
Updatedvite-node@0.31.4