vitest 2.1.0-beta.3 → 2.1.0-beta.4

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 = "2.1.0-beta.3";
621
+ var version = "2.1.0-beta.4";
622
622
 
623
623
  const apiConfig = (port) => ({
624
624
  port: {
@@ -1496,7 +1496,7 @@ async function start(mode, cliFilters, options) {
1496
1496
  } catch {
1497
1497
  }
1498
1498
  try {
1499
- const { startVitest } = await import('./cli-api.DRAJc8lk.js').then(function (n) { return n.d; });
1499
+ const { startVitest } = await import('./cli-api.Bej3bUwz.js').then(function (n) { return n.d; });
1500
1500
  const ctx = await startVitest(mode, cliFilters.map(normalize), normalizeCliOptions(options));
1501
1501
  if (!ctx?.shouldKeepServer()) {
1502
1502
  await ctx?.exit();
@@ -1527,7 +1527,7 @@ async function collect(mode, cliFilters, options) {
1527
1527
  } catch {
1528
1528
  }
1529
1529
  try {
1530
- const { prepareVitest, processCollected } = await import('./cli-api.DRAJc8lk.js').then(function (n) { return n.d; });
1530
+ const { prepareVitest, processCollected } = await import('./cli-api.Bej3bUwz.js').then(function (n) { return n.d; });
1531
1531
  const ctx = await prepareVitest(mode, {
1532
1532
  ...normalizeCliOptions(options),
1533
1533
  watch: false,
@@ -16,7 +16,7 @@ import require$$0$3 from 'fs';
16
16
  import { ViteNodeRunner } from 'vite-node/client';
17
17
  import { SnapshotManager } from '@vitest/snapshot/manager';
18
18
  import { ViteNodeServer } from 'vite-node/server';
19
- import { v as version$1 } from './cac.B4c0LSTf.js';
19
+ import { v as version$1 } from './cac.C8rwFluK.js';
20
20
  import { createFileTask, getTasks, hasFailed, getTests, getNames } from '@vitest/runner/utils';
21
21
  import { n as noop$1, c as isPrimitive, t as toArray, d as deepMerge, e as nanoid, w as wildcardPatternToRegExp, a as slash$1, f as stdout } from './base.BH-FAiX7.js';
22
22
  import { toArray as toArray$1, notNullish, createDefer } from '@vitest/utils';
package/dist/cli.js CHANGED
@@ -1,4 +1,4 @@
1
- import { c as createCLI } from './chunks/cac.B4c0LSTf.js';
1
+ import { c as createCLI } from './chunks/cac.C8rwFluK.js';
2
2
  import 'pathe';
3
3
  import 'events';
4
4
  import 'tinyrainbow';
package/dist/node.js CHANGED
@@ -1,5 +1,5 @@
1
- export { G as GitNotFoundError, F as TestsNotFoundError, a as VitestPackageInstaller, V as VitestPlugin, c as createVitest, r as registerConsoleShortcuts, b as resolveFsAllow, s as startVitest } from './chunks/cli-api.DRAJc8lk.js';
2
- export { p as parseCLI } from './chunks/cac.B4c0LSTf.js';
1
+ export { G as GitNotFoundError, F as TestsNotFoundError, a as VitestPackageInstaller, V as VitestPlugin, c as createVitest, r as registerConsoleShortcuts, b as resolveFsAllow, s as startVitest } from './chunks/cli-api.Bej3bUwz.js';
2
+ export { p as parseCLI } from './chunks/cac.C8rwFluK.js';
3
3
  export { c as createMethodsRPC, g as getFilePoolName, r as resolveApiServerConfig, a as resolveConfig } from './chunks/resolveConfig.CGobt8AB.js';
4
4
  import createDebug from 'debug';
5
5
  export { distDir, rootDir } from './path.js';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vitest",
3
3
  "type": "module",
4
- "version": "2.1.0-beta.3",
4
+ "version": "2.1.0-beta.4",
5
5
  "description": "Next generation testing framework powered by Vite",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",
@@ -118,8 +118,8 @@
118
118
  "@types/node": "^18.0.0 || >=20.0.0",
119
119
  "happy-dom": "*",
120
120
  "jsdom": "*",
121
- "@vitest/ui": "2.1.0-beta.3",
122
- "@vitest/browser": "2.1.0-beta.3"
121
+ "@vitest/ui": "2.1.0-beta.4",
122
+ "@vitest/browser": "2.1.0-beta.4"
123
123
  },
124
124
  "peerDependenciesMeta": {
125
125
  "@edge-runtime/vm": {
@@ -154,13 +154,13 @@
154
154
  "tinyrainbow": "^1.2.0",
155
155
  "vite": "^5.0.0",
156
156
  "why-is-node-running": "^2.3.0",
157
- "@vitest/expect": "2.1.0-beta.3",
158
- "@vitest/runner": "2.1.0-beta.3",
159
- "@vitest/pretty-format": "^2.1.0-beta.3",
160
- "@vitest/utils": "2.1.0-beta.3",
161
- "@vitest/snapshot": "2.1.0-beta.3",
162
- "vite-node": "2.1.0-beta.3",
163
- "@vitest/spy": "2.1.0-beta.3"
157
+ "@vitest/expect": "2.1.0-beta.4",
158
+ "@vitest/pretty-format": "^2.1.0-beta.4",
159
+ "@vitest/runner": "2.1.0-beta.4",
160
+ "@vitest/spy": "2.1.0-beta.4",
161
+ "@vitest/utils": "2.1.0-beta.4",
162
+ "vite-node": "2.1.0-beta.4",
163
+ "@vitest/snapshot": "2.1.0-beta.4"
164
164
  },
165
165
  "devDependencies": {
166
166
  "@antfu/install-pkg": "0.3.1",