vitest 4.1.6 → 4.1.7

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.
@@ -621,7 +621,7 @@ class CAC extends EventEmitter {
621
621
 
622
622
  const cac = (name = "") => new CAC(name);
623
623
 
624
- var version = "4.1.6";
624
+ var version = "4.1.7";
625
625
 
626
626
  const apiConfig = (port) => ({
627
627
  port: {
@@ -2336,7 +2336,7 @@ function normalizeCliOptions(cliFilters, argv) {
2336
2336
  }
2337
2337
  async function start(mode, cliFilters, options) {
2338
2338
  try {
2339
- const { startVitest } = await import('./cli-api.B5majYba.js').then(function (n) { return n.q; });
2339
+ const { startVitest } = await import('./cli-api.C6CiCDM3.js').then(function (n) { return n.q; });
2340
2340
  const ctx = await startVitest(mode, cliFilters.map(normalize), normalizeCliOptions(cliFilters, options));
2341
2341
  if (!ctx.shouldKeepServer()) await ctx.exit();
2342
2342
  } catch (e) {
@@ -2358,7 +2358,7 @@ async function init(project) {
2358
2358
  }
2359
2359
  async function collect(mode, cliFilters, options) {
2360
2360
  try {
2361
- const { prepareVitest, processCollected, outputFileList } = await import('./cli-api.B5majYba.js').then(function (n) { return n.q; });
2361
+ const { prepareVitest, processCollected, outputFileList } = await import('./cli-api.C6CiCDM3.js').then(function (n) { return n.q; });
2362
2362
  const ctx = await prepareVitest(mode, {
2363
2363
  ...normalizeCliOptions(cliFilters, options),
2364
2364
  watch: false,
@@ -13,7 +13,7 @@ import nodeos__default, { tmpdir } from 'node:os';
13
13
  import { generateHash as generateHash$1, createTaskName, validateTags, calculateSuiteHash, hasFailed, generateFileHash, limitConcurrency, createFileTask as createFileTask$1, createTagsFilter, someTasksAreOnly, interpretTaskModes, getTasks, isTestCase } from '@vitest/runner/utils';
14
14
  import { SnapshotManager } from '@vitest/snapshot/manager';
15
15
  import { serializeValue } from '@vitest/utils/serialize';
16
- import { v as version$1 } from './cac.CVxlyDFd.js';
16
+ import { v as version$1 } from './cac.BuBILSID.js';
17
17
  import { rootDir, distDir } from '../path.js';
18
18
  import { f as createIndexLocationsMap, g as TraceMap, o as originalPositionFor, h as ancestor, s as stringify, p as parse, i as printError, j as Typechecker, k as generateCodeFrame, l as escapeRegExp, m as createDefinesScript, a as BenchmarkReportsMap, R as ReportersMap, n as groupBy, q as BlobReporter, r as readBlobs, t as convertTasksToEvents, H as HangingProcessReporter, w as wildcardPatternToRegExp, u as stdout } from './index.UpGiHP7g.js';
19
19
  import { N as NativeModuleRunner } from './nativeModuleRunner.BIakptoF.js';
package/dist/cli.js CHANGED
@@ -1,4 +1,4 @@
1
- import { c as createCLI } from './chunks/cac.CVxlyDFd.js';
1
+ import { c as createCLI } from './chunks/cac.BuBILSID.js';
2
2
  import '@vitest/utils/helpers';
3
3
  import 'events';
4
4
  import 'pathe';
package/dist/node.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import * as vite from 'vite';
2
2
  import { resolveConfig as resolveConfig$1, mergeConfig } from 'vite';
3
3
  export { esbuildVersion, isCSSRequest, isFileLoadingAllowed, parseAst, parseAstAsync, rollupVersion, version as viteVersion } from 'vite';
4
- import { V as Vitest, a as VitestPlugin } from './chunks/cli-api.B5majYba.js';
5
- export { F as ForksPoolWorker, G as GitNotFoundError, b as TestsNotFoundError, T as ThreadsPoolWorker, c as TypecheckPoolWorker, d as VitestPackageInstaller, e as VmForksPoolWorker, f as VmThreadsPoolWorker, g as createDebugger, h as createMethodsRPC, i as createViteLogger, j as createVitest, k as escapeTestName, l as experimental_getRunnerTask, m as getFilePoolName, n as isFileServingAllowed, o as isValidApiRequest, r as registerConsoleShortcuts, p as resolveFsAllow, s as startVitest } from './chunks/cli-api.B5majYba.js';
6
- export { p as parseCLI } from './chunks/cac.CVxlyDFd.js';
4
+ import { V as Vitest, a as VitestPlugin } from './chunks/cli-api.C6CiCDM3.js';
5
+ export { F as ForksPoolWorker, G as GitNotFoundError, b as TestsNotFoundError, T as ThreadsPoolWorker, c as TypecheckPoolWorker, d as VitestPackageInstaller, e as VmForksPoolWorker, f as VmThreadsPoolWorker, g as createDebugger, h as createMethodsRPC, i as createViteLogger, j as createVitest, k as escapeTestName, l as experimental_getRunnerTask, m as getFilePoolName, n as isFileServingAllowed, o as isValidApiRequest, r as registerConsoleShortcuts, p as resolveFsAllow, s as startVitest } from './chunks/cli-api.C6CiCDM3.js';
6
+ export { p as parseCLI } from './chunks/cac.BuBILSID.js';
7
7
  import { r as resolveConfig$2 } from './chunks/coverage.DM_a_rWm.js';
8
8
  export { B as BaseCoverageProvider, a as BaseSequencer, b as resolveApiServerConfig } from './chunks/coverage.DM_a_rWm.js';
9
9
  import { slash, deepClone } from '@vitest/utils/helpers';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vitest",
3
3
  "type": "module",
4
- "version": "4.1.6",
4
+ "version": "4.1.7",
5
5
  "description": "Next generation testing framework powered by Vite",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",
@@ -135,12 +135,12 @@
135
135
  "happy-dom": "*",
136
136
  "jsdom": "*",
137
137
  "vite": "^6.0.0 || ^7.0.0 || ^8.0.0",
138
- "@vitest/browser-playwright": "4.1.6",
139
- "@vitest/browser-preview": "4.1.6",
140
- "@vitest/coverage-v8": "4.1.6",
141
- "@vitest/browser-webdriverio": "4.1.6",
142
- "@vitest/ui": "4.1.6",
143
- "@vitest/coverage-istanbul": "4.1.6"
138
+ "@vitest/browser-playwright": "4.1.7",
139
+ "@vitest/browser-preview": "4.1.7",
140
+ "@vitest/browser-webdriverio": "4.1.7",
141
+ "@vitest/coverage-istanbul": "4.1.7",
142
+ "@vitest/coverage-v8": "4.1.7",
143
+ "@vitest/ui": "4.1.7"
144
144
  },
145
145
  "peerDependenciesMeta": {
146
146
  "@edge-runtime/vm": {
@@ -194,13 +194,13 @@
194
194
  "tinyrainbow": "^3.1.0",
195
195
  "vite": "^6.0.0 || ^7.0.0 || ^8.0.0",
196
196
  "why-is-node-running": "^2.3.0",
197
- "@vitest/mocker": "4.1.6",
198
- "@vitest/pretty-format": "4.1.6",
199
- "@vitest/runner": "4.1.6",
200
- "@vitest/expect": "4.1.6",
201
- "@vitest/snapshot": "4.1.6",
202
- "@vitest/utils": "4.1.6",
203
- "@vitest/spy": "4.1.6"
197
+ "@vitest/pretty-format": "4.1.7",
198
+ "@vitest/expect": "4.1.7",
199
+ "@vitest/runner": "4.1.7",
200
+ "@vitest/spy": "4.1.7",
201
+ "@vitest/mocker": "4.1.7",
202
+ "@vitest/snapshot": "4.1.7",
203
+ "@vitest/utils": "4.1.7"
204
204
  },
205
205
  "devDependencies": {
206
206
  "@antfu/install-pkg": "^1.1.0",