vitest 2.1.6 → 2.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.
|
@@ -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.
|
|
621
|
+
var version = "2.1.7";
|
|
622
622
|
|
|
623
623
|
const apiConfig = (port) => ({
|
|
624
624
|
port: {
|
|
@@ -1502,7 +1502,7 @@ async function start(mode, cliFilters, options) {
|
|
|
1502
1502
|
} catch {
|
|
1503
1503
|
}
|
|
1504
1504
|
try {
|
|
1505
|
-
const { startVitest } = await import('./cli-api.
|
|
1505
|
+
const { startVitest } = await import('./cli-api.Bxee6t5w.js').then(function (n) { return n.e; });
|
|
1506
1506
|
const ctx = await startVitest(mode, cliFilters.map(normalize), normalizeCliOptions(options));
|
|
1507
1507
|
if (!ctx?.shouldKeepServer()) {
|
|
1508
1508
|
await ctx?.exit();
|
|
@@ -1533,7 +1533,7 @@ async function collect(mode, cliFilters, options) {
|
|
|
1533
1533
|
} catch {
|
|
1534
1534
|
}
|
|
1535
1535
|
try {
|
|
1536
|
-
const { prepareVitest, processCollected, outputFileList } = await import('./cli-api.
|
|
1536
|
+
const { prepareVitest, processCollected, outputFileList } = await import('./cli-api.Bxee6t5w.js').then(function (n) { return n.e; });
|
|
1537
1537
|
const ctx = await prepareVitest(mode, {
|
|
1538
1538
|
...normalizeCliOptions(options),
|
|
1539
1539
|
watch: false,
|
|
@@ -11,7 +11,7 @@ import { SnapshotManager } from '@vitest/snapshot/manager';
|
|
|
11
11
|
import { i as isPackageExists, e as requireMicromatch, V as VitestCache, f as configDefaults, m as mm, b as resolveConfig, h as isBrowserEnabled, w as wildcardPatternToRegExp, g as getFilePoolName, j as createPool, a as resolveApiServerConfig, c as coverageConfigDefaults, s as stdout } from './resolveConfig.RxKrDli4.js';
|
|
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.SdhShTok.js';
|
|
15
15
|
import { c as createBirpc } from './index.68735LiX.js';
|
|
16
16
|
import { s as stringify, p as parse, R as ReportersMap, h as BenchmarkReportsMap, f as TestModule, g as TestSuite, e as TestCase, j as generateCodeFrame, i as TestProject, L as Logger, k as BlobReporter, r as readBlobs } from './index.DsZFoqi9.js';
|
|
17
17
|
import require$$0$2 from 'stream';
|
package/dist/cli.js
CHANGED
package/dist/node.js
CHANGED
|
@@ -2,8 +2,8 @@ import { createServer as createServer$1 } from 'vite';
|
|
|
2
2
|
export { isFileServingAllowed, parseAst, parseAstAsync } from 'vite';
|
|
3
3
|
import { f as TestModule } from './chunks/index.DsZFoqi9.js';
|
|
4
4
|
export { e as TestCase, i as TestProject, g as TestSuite } from './chunks/index.DsZFoqi9.js';
|
|
5
|
-
export { p as parseCLI } from './chunks/cac.
|
|
6
|
-
export { G as GitNotFoundError, T as TestSpecification, F as TestsNotFoundError, V as VitestPackageInstaller, a as VitestPlugin, d as createViteLogger, c as createVitest, b as registerConsoleShortcuts, r as resolveFsAllow, s as startVitest } from './chunks/cli-api.
|
|
5
|
+
export { p as parseCLI } from './chunks/cac.SdhShTok.js';
|
|
6
|
+
export { G as GitNotFoundError, T as TestSpecification, F as TestsNotFoundError, V as VitestPackageInstaller, a as VitestPlugin, d as createViteLogger, c as createVitest, b as registerConsoleShortcuts, r as resolveFsAllow, s as startVitest } from './chunks/cli-api.Bxee6t5w.js';
|
|
7
7
|
export { d as createMethodsRPC, g as getFilePoolName, a as resolveApiServerConfig, b as resolveConfig } from './chunks/resolveConfig.RxKrDli4.js';
|
|
8
8
|
export { B as BaseSequencer } from './chunks/RandomSequencer.CMRlh2v4.js';
|
|
9
9
|
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.
|
|
4
|
+
"version": "2.1.7",
|
|
5
5
|
"description": "Next generation testing framework powered by Vite",
|
|
6
6
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -122,8 +122,8 @@
|
|
|
122
122
|
"@types/node": "^18.0.0 || ^20.0.0 || >=22.0.0",
|
|
123
123
|
"happy-dom": "*",
|
|
124
124
|
"jsdom": "*",
|
|
125
|
-
"@vitest/browser": "2.1.
|
|
126
|
-
"@vitest/ui": "2.1.
|
|
125
|
+
"@vitest/browser": "2.1.7",
|
|
126
|
+
"@vitest/ui": "2.1.7"
|
|
127
127
|
},
|
|
128
128
|
"peerDependenciesMeta": {
|
|
129
129
|
"@edge-runtime/vm": {
|
|
@@ -156,16 +156,16 @@
|
|
|
156
156
|
"tinyexec": "^0.3.1",
|
|
157
157
|
"tinypool": "^1.0.1",
|
|
158
158
|
"tinyrainbow": "^1.2.0",
|
|
159
|
-
"vite": "^5.0.0
|
|
159
|
+
"vite": "^5.0.0",
|
|
160
160
|
"why-is-node-running": "^2.3.0",
|
|
161
|
-
"@vitest/expect": "2.1.
|
|
162
|
-
"@vitest/mocker": "2.1.
|
|
163
|
-
"@vitest/pretty-format": "^2.1.
|
|
164
|
-
"@vitest/
|
|
165
|
-
"@vitest/
|
|
166
|
-
"
|
|
167
|
-
"@vitest/
|
|
168
|
-
"
|
|
161
|
+
"@vitest/expect": "2.1.7",
|
|
162
|
+
"@vitest/mocker": "2.1.7",
|
|
163
|
+
"@vitest/pretty-format": "^2.1.7",
|
|
164
|
+
"@vitest/snapshot": "2.1.7",
|
|
165
|
+
"@vitest/spy": "2.1.7",
|
|
166
|
+
"@vitest/runner": "2.1.7",
|
|
167
|
+
"@vitest/utils": "2.1.7",
|
|
168
|
+
"vite-node": "2.1.7"
|
|
169
169
|
},
|
|
170
170
|
"devDependencies": {
|
|
171
171
|
"@ampproject/remapping": "^2.3.0",
|