vitest 1.5.1 → 1.5.2
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.
- package/dist/cli.js +1 -1
- package/dist/node.js +3 -3
- package/dist/reporters.js +1 -1
- package/dist/vendor/{cac.4YOY8W-L.js → cac.8mXc9Oj6.js} +2 -2
- package/dist/vendor/{cli-api.5cFYj0Lq.js → cli-api._n4_Wp_j.js} +2 -2
- package/dist/vendor/{index.waF5pgqJ.js → index.GlXSU9xI.js} +1 -1
- package/package.json +9 -9
package/dist/cli.js
CHANGED
package/dist/node.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { b as VitestPackageInstaller, V as VitestPlugin, a as createMethodsRPC, c as createVitest, r as registerConsoleShortcuts, s as startVitest } from './vendor/cli-api.
|
|
2
|
-
export { p as parseCLI } from './vendor/cac.
|
|
3
|
-
export { B as BaseSequencer } from './vendor/index.
|
|
1
|
+
export { b as VitestPackageInstaller, V as VitestPlugin, a as createMethodsRPC, c as createVitest, r as registerConsoleShortcuts, s as startVitest } from './vendor/cli-api._n4_Wp_j.js';
|
|
2
|
+
export { p as parseCLI } from './vendor/cac.8mXc9Oj6.js';
|
|
3
|
+
export { B as BaseSequencer } from './vendor/index.GlXSU9xI.js';
|
|
4
4
|
import 'pathe';
|
|
5
5
|
import './vendor/constants.5J7I254_.js';
|
|
6
6
|
import './vendor/coverage.E7sG1b3r.js';
|
package/dist/reporters.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { a as BasicReporter, e as BenchmarkReportsMap, D as DefaultReporter, b as DotReporter, G as GithubActionsReporter, H as HangingProcessReporter, c as JUnitReporter, J as JsonReporter, R as ReportersMap, d as TapFlatReporter, T as TapReporter, V as VerboseReporter } from './vendor/index.
|
|
1
|
+
export { a as BasicReporter, e as BenchmarkReportsMap, D as DefaultReporter, b as DotReporter, G as GithubActionsReporter, H as HangingProcessReporter, c as JUnitReporter, J as JsonReporter, R as ReportersMap, d as TapFlatReporter, T as TapReporter, V as VerboseReporter } from './vendor/index.GlXSU9xI.js';
|
|
2
2
|
import 'node:fs';
|
|
3
3
|
import 'pathe';
|
|
4
4
|
import './vendor/index.ir9i0ywP.js';
|
|
@@ -618,7 +618,7 @@ class CAC extends EventEmitter {
|
|
|
618
618
|
|
|
619
619
|
const cac = (name = "") => new CAC(name);
|
|
620
620
|
|
|
621
|
-
var version = "1.5.
|
|
621
|
+
var version = "1.5.2";
|
|
622
622
|
|
|
623
623
|
const apiConfig = (port) => ({
|
|
624
624
|
port: {
|
|
@@ -1388,7 +1388,7 @@ async function start(mode, cliFilters, options) {
|
|
|
1388
1388
|
} catch {
|
|
1389
1389
|
}
|
|
1390
1390
|
try {
|
|
1391
|
-
const { startVitest } = await import('./cli-api.
|
|
1391
|
+
const { startVitest } = await import('./cli-api._n4_Wp_j.js').then(function (n) { return n.d; });
|
|
1392
1392
|
const ctx = await startVitest(mode, cliFilters.map(normalize), normalizeCliOptions(options));
|
|
1393
1393
|
if (!(ctx == null ? void 0 : ctx.shouldKeepServer()))
|
|
1394
1394
|
await (ctx == null ? void 0 : ctx.exit());
|
|
@@ -38,12 +38,12 @@ import * as nodeos from 'node:os';
|
|
|
38
38
|
import nodeos__default from 'node:os';
|
|
39
39
|
import EventEmitter$2 from 'node:events';
|
|
40
40
|
import Tinypool$1, { Tinypool } from 'tinypool';
|
|
41
|
-
import { w as wrapSerializableConfig, f as Typechecker, R as ReportersMap, e as BenchmarkReportsMap, g as RandomSequencer, B as BaseSequencer, h as generateCodeFrame, i as highlightCode, L as Logger } from './index.
|
|
41
|
+
import { w as wrapSerializableConfig, f as Typechecker, R as ReportersMap, e as BenchmarkReportsMap, g as RandomSequencer, B as BaseSequencer, h as generateCodeFrame, i as highlightCode, L as Logger } from './index.GlXSU9xI.js';
|
|
42
42
|
import { hasFailed, getTests } from '@vitest/runner/utils';
|
|
43
43
|
import { resolveModule, isPackageExists } from 'local-pkg';
|
|
44
44
|
import { isCI, provider as provider$1 } from 'std-env';
|
|
45
45
|
import crypto, { createHash as createHash$2 } from 'node:crypto';
|
|
46
|
-
import { v as version } from './cac.
|
|
46
|
+
import { v as version } from './cac.8mXc9Oj6.js';
|
|
47
47
|
import { normalizeRequestId, cleanUrl } from 'vite-node/utils';
|
|
48
48
|
import MagicString from 'magic-string';
|
|
49
49
|
import { findNodeAround } from 'acorn-walk';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vitest",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.5.
|
|
4
|
+
"version": "1.5.2",
|
|
5
5
|
"description": "Next generation testing framework powered by Vite",
|
|
6
6
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -115,8 +115,8 @@
|
|
|
115
115
|
"@types/node": "^18.0.0 || >=20.0.0",
|
|
116
116
|
"happy-dom": "*",
|
|
117
117
|
"jsdom": "*",
|
|
118
|
-
"@vitest/browser": "1.5.
|
|
119
|
-
"@vitest/ui": "1.5.
|
|
118
|
+
"@vitest/browser": "1.5.2",
|
|
119
|
+
"@vitest/ui": "1.5.2"
|
|
120
120
|
},
|
|
121
121
|
"peerDependenciesMeta": {
|
|
122
122
|
"@edge-runtime/vm": {
|
|
@@ -153,12 +153,12 @@
|
|
|
153
153
|
"tinypool": "^0.8.3",
|
|
154
154
|
"vite": "^5.0.0",
|
|
155
155
|
"why-is-node-running": "^2.2.2",
|
|
156
|
-
"@vitest/expect": "1.5.
|
|
157
|
-
"@vitest/runner": "1.5.
|
|
158
|
-
"@vitest/spy": "1.5.
|
|
159
|
-
"@vitest/utils": "1.5.
|
|
160
|
-
"
|
|
161
|
-
"
|
|
156
|
+
"@vitest/expect": "1.5.2",
|
|
157
|
+
"@vitest/runner": "1.5.2",
|
|
158
|
+
"@vitest/spy": "1.5.2",
|
|
159
|
+
"@vitest/utils": "1.5.2",
|
|
160
|
+
"vite-node": "1.5.2",
|
|
161
|
+
"@vitest/snapshot": "1.5.2"
|
|
162
162
|
},
|
|
163
163
|
"devDependencies": {
|
|
164
164
|
"@ampproject/remapping": "^2.2.1",
|