vitest 3.1.0 → 3.1.1

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.
@@ -618,7 +618,7 @@ class CAC extends EventEmitter {
618
618
 
619
619
  const cac = (name = "") => new CAC(name);
620
620
 
621
- var version = "3.1.0";
621
+ var version = "3.1.1";
622
622
 
623
623
  const apiConfig = (port) => ({
624
624
  port: {
@@ -1464,7 +1464,7 @@ async function start(mode, cliFilters, options) {
1464
1464
  process.title = "node (vitest)";
1465
1465
  } catch {}
1466
1466
  try {
1467
- const { startVitest } = await import('./cli-api.2yb7XCwB.js').then(function (n) { return n.f; });
1467
+ const { startVitest } = await import('./cli-api.bwYuoT4p.js').then(function (n) { return n.f; });
1468
1468
  const ctx = await startVitest(mode, cliFilters.map(normalize), normalizeCliOptions(cliFilters, options));
1469
1469
  if (!ctx.shouldKeepServer()) {
1470
1470
  await ctx.exit();
@@ -1493,7 +1493,7 @@ async function collect(mode, cliFilters, options) {
1493
1493
  process.title = "node (vitest)";
1494
1494
  } catch {}
1495
1495
  try {
1496
- const { prepareVitest, processCollected, outputFileList } = await import('./cli-api.2yb7XCwB.js').then(function (n) { return n.f; });
1496
+ const { prepareVitest, processCollected, outputFileList } = await import('./cli-api.bwYuoT4p.js').then(function (n) { return n.f; });
1497
1497
  const ctx = await prepareVitest(mode, {
1498
1498
  ...normalizeCliOptions(cliFilters, options),
1499
1499
  watch: false,
@@ -11,7 +11,7 @@ import { generateFileHash, createFileTask, limitConcurrency, hasFailed, getTasks
11
11
  import { SnapshotManager } from '@vitest/snapshot/manager';
12
12
  import { ViteNodeRunner } from 'vite-node/client';
13
13
  import { ViteNodeServer } from 'vite-node/server';
14
- import { v as version$1 } from './cac.1WcTh-zl.js';
14
+ import { v as version$1 } from './cac.DK21mt6F.js';
15
15
  import { c as createBirpc } from './index.68735LiX.js';
16
16
  import { p as parse, s as stringify, g as printError, h as generateCodeFrame, b as BenchmarkReportsMap, R as ReportersMap, i as BlobReporter, r as readBlobs, H as HangingProcessReporter } from './index.CwHmn5H5.js';
17
17
  import require$$0$3 from 'events';
package/dist/cli.js CHANGED
@@ -1,4 +1,4 @@
1
- import { c as createCLI } from './chunks/cac.1WcTh-zl.js';
1
+ import { c as createCLI } from './chunks/cac.DK21mt6F.js';
2
2
  import '@vitest/utils';
3
3
  import 'events';
4
4
  import 'pathe';
package/dist/node.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { resolveConfig as resolveConfig$1, mergeConfig, createServer as createServer$1 } from 'vite';
2
2
  export { esbuildVersion, isFileServingAllowed, parseAst, parseAstAsync, rollupVersion, version as viteVersion } from 'vite';
3
- import { V as Vitest, a as VitestPlugin, T as TestModule } from './chunks/cli-api.2yb7XCwB.js';
4
- 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.2yb7XCwB.js';
5
- export { p as parseCLI } from './chunks/cac.1WcTh-zl.js';
3
+ import { V as Vitest, a as VitestPlugin, T as TestModule } from './chunks/cli-api.bwYuoT4p.js';
4
+ 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.bwYuoT4p.js';
5
+ export { p as parseCLI } from './chunks/cac.DK21mt6F.js';
6
6
  import { r as resolveConfig$2 } from './chunks/coverage.SfnlalVs.js';
7
7
  export { b as BaseSequencer, c as createMethodsRPC, g as getFilePoolName, a as resolveApiServerConfig } from './chunks/coverage.SfnlalVs.js';
8
8
  import { slash } from '@vitest/utils';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vitest",
3
3
  "type": "module",
4
- "version": "3.1.0",
4
+ "version": "3.1.1",
5
5
  "description": "Next generation testing framework powered by Vite",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",
@@ -123,8 +123,8 @@
123
123
  "@types/node": "^18.0.0 || ^20.0.0 || >=22.0.0",
124
124
  "happy-dom": "*",
125
125
  "jsdom": "*",
126
- "@vitest/browser": "3.1.0",
127
- "@vitest/ui": "3.1.0"
126
+ "@vitest/browser": "3.1.1",
127
+ "@vitest/ui": "3.1.1"
128
128
  },
129
129
  "peerDependenciesMeta": {
130
130
  "@edge-runtime/vm": {
@@ -162,14 +162,14 @@
162
162
  "tinyrainbow": "^2.0.0",
163
163
  "vite": "^5.0.0 || ^6.0.0",
164
164
  "why-is-node-running": "^2.3.0",
165
- "@vitest/expect": "3.1.0",
166
- "@vitest/pretty-format": "^3.1.0",
167
- "@vitest/runner": "3.1.0",
168
- "@vitest/mocker": "3.1.0",
169
- "@vitest/snapshot": "3.1.0",
170
- "@vitest/spy": "3.1.0",
171
- "@vitest/utils": "3.1.0",
172
- "vite-node": "3.1.0"
165
+ "@vitest/expect": "3.1.1",
166
+ "@vitest/pretty-format": "^3.1.1",
167
+ "@vitest/mocker": "3.1.1",
168
+ "@vitest/spy": "3.1.1",
169
+ "@vitest/utils": "3.1.1",
170
+ "@vitest/runner": "3.1.1",
171
+ "vite-node": "3.1.1",
172
+ "@vitest/snapshot": "3.1.1"
173
173
  },
174
174
  "devDependencies": {
175
175
  "@ampproject/remapping": "^2.3.0",