vitest 3.2.6 → 3.2.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.
|
@@ -619,7 +619,7 @@ class CAC extends EventEmitter {
|
|
|
619
619
|
|
|
620
620
|
const cac = (name = "") => new CAC(name);
|
|
621
621
|
|
|
622
|
-
var version = "3.2.
|
|
622
|
+
var version = "3.2.7";
|
|
623
623
|
|
|
624
624
|
const apiConfig = (port) => ({
|
|
625
625
|
port: {
|
|
@@ -1410,7 +1410,7 @@ async function start(mode, cliFilters, options) {
|
|
|
1410
1410
|
process.title = "node (vitest)";
|
|
1411
1411
|
} catch {}
|
|
1412
1412
|
try {
|
|
1413
|
-
const { startVitest } = await import('./cli-api.
|
|
1413
|
+
const { startVitest } = await import('./cli-api.DVe0nWUx.js').then(function (n) { return n.f; });
|
|
1414
1414
|
const ctx = await startVitest(mode, cliFilters.map(normalize), normalizeCliOptions(cliFilters, options));
|
|
1415
1415
|
if (!ctx.shouldKeepServer()) await ctx.exit();
|
|
1416
1416
|
} catch (e) {
|
|
@@ -1435,7 +1435,7 @@ async function collect(mode, cliFilters, options) {
|
|
|
1435
1435
|
process.title = "node (vitest)";
|
|
1436
1436
|
} catch {}
|
|
1437
1437
|
try {
|
|
1438
|
-
const { prepareVitest, processCollected, outputFileList } = await import('./cli-api.
|
|
1438
|
+
const { prepareVitest, processCollected, outputFileList } = await import('./cli-api.DVe0nWUx.js').then(function (n) { return n.f; });
|
|
1439
1439
|
const ctx = await prepareVitest(mode, {
|
|
1440
1440
|
...normalizeCliOptions(cliFilters, options),
|
|
1441
1441
|
watch: false,
|
|
@@ -11,7 +11,7 @@ import { generateFileHash, limitConcurrency, createFileTask, 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.
|
|
14
|
+
import { v as version$1 } from './cac.BfaZ95xE.js';
|
|
15
15
|
import { c as createBirpc } from './index.B521nVV-.js';
|
|
16
16
|
import { p as parse, s as stringify, d as printError, f as formatProjectName, w as withLabel, e as errorBanner, h as divider, i as generateCodeFrame, R as ReportersMap, j as BlobReporter, r as readBlobs, H as HangingProcessReporter } from './index.VByaPkjc.js';
|
|
17
17
|
import require$$0$3 from 'events';
|
package/dist/cli.js
CHANGED
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, isFileServingAllowed, parseAst, parseAstAsync, rollupVersion, version as viteVersion } from 'vite';
|
|
4
|
-
import { V as Vitest, a as VitestPlugin, T as TestModule } from './chunks/cli-api.
|
|
5
|
-
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.
|
|
6
|
-
export { p as parseCLI } from './chunks/cac.
|
|
4
|
+
import { V as Vitest, a as VitestPlugin, T as TestModule } from './chunks/cli-api.DVe0nWUx.js';
|
|
5
|
+
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.DVe0nWUx.js';
|
|
6
|
+
export { p as parseCLI } from './chunks/cac.BfaZ95xE.js';
|
|
7
7
|
import { r as resolveConfig$2 } from './chunks/coverage.DfSpMS-b.js';
|
|
8
8
|
export { b as BaseSequencer, c as createMethodsRPC, g as getFilePoolName, a as resolveApiServerConfig } from './chunks/coverage.DfSpMS-b.js';
|
|
9
9
|
import { slash, deepClone } from '@vitest/utils';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vitest",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.2.
|
|
4
|
+
"version": "3.2.7",
|
|
5
5
|
"description": "Next generation testing framework powered by Vite",
|
|
6
6
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -119,8 +119,8 @@
|
|
|
119
119
|
"@types/node": "^18.0.0 || ^20.0.0 || >=22.0.0",
|
|
120
120
|
"happy-dom": "*",
|
|
121
121
|
"jsdom": "*",
|
|
122
|
-
"@vitest/
|
|
123
|
-
"@vitest/
|
|
122
|
+
"@vitest/ui": "3.2.7",
|
|
123
|
+
"@vitest/browser": "3.2.7"
|
|
124
124
|
},
|
|
125
125
|
"peerDependenciesMeta": {
|
|
126
126
|
"@edge-runtime/vm": {
|
|
@@ -162,13 +162,13 @@
|
|
|
162
162
|
"vite": "^5.0.0 || ^6.0.0 || ^7.0.0-0",
|
|
163
163
|
"vite-node": "3.2.4",
|
|
164
164
|
"why-is-node-running": "^2.3.0",
|
|
165
|
-
"@vitest/expect": "3.2.
|
|
166
|
-
"@vitest/
|
|
167
|
-
"@vitest/
|
|
168
|
-
"@vitest/
|
|
169
|
-
"@vitest/
|
|
170
|
-
"@vitest/
|
|
171
|
-
"@vitest/
|
|
165
|
+
"@vitest/expect": "3.2.7",
|
|
166
|
+
"@vitest/runner": "3.2.7",
|
|
167
|
+
"@vitest/spy": "3.2.7",
|
|
168
|
+
"@vitest/mocker": "3.2.7",
|
|
169
|
+
"@vitest/utils": "3.2.7",
|
|
170
|
+
"@vitest/snapshot": "3.2.7",
|
|
171
|
+
"@vitest/pretty-format": "^3.2.7"
|
|
172
172
|
},
|
|
173
173
|
"devDependencies": {
|
|
174
174
|
"@ampproject/remapping": "^2.3.0",
|