vitest 0.28.0 → 0.28.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.
|
@@ -3,7 +3,7 @@ import k from 'path';
|
|
|
3
3
|
import require$$0$1 from 'util';
|
|
4
4
|
import require$$0$3 from 'child_process';
|
|
5
5
|
import { p as pathKey, s as signalExit, m as mergeStream$1, g as getStream$1, c as crossSpawn$1 } from './vendor-index.618ca5a1.js';
|
|
6
|
-
import { o as onetime$1 } from './chunk-node-pkg.
|
|
6
|
+
import { o as onetime$1 } from './chunk-node-pkg.a7963c3f.js';
|
|
7
7
|
import require$$0$2 from 'os';
|
|
8
8
|
import 'node:buffer';
|
|
9
9
|
import 'node:path';
|
|
@@ -58,7 +58,7 @@ function _mergeNamespaces(n, m) {
|
|
|
58
58
|
return Object.freeze(n);
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
var version$1 = "0.28.
|
|
61
|
+
var version$1 = "0.28.1";
|
|
62
62
|
|
|
63
63
|
async function ensurePackageInstalled(dependency, root) {
|
|
64
64
|
if (isPackageExists(dependency, { paths: [root] }))
|
|
@@ -76,7 +76,7 @@ async function ensurePackageInstalled(dependency, root) {
|
|
|
76
76
|
message: c.reset(`Do you want to install ${c.green(dependency)}?`)
|
|
77
77
|
});
|
|
78
78
|
if (install) {
|
|
79
|
-
await (await import('./chunk-install-pkg.
|
|
79
|
+
await (await import('./chunk-install-pkg.e816b731.js')).installPackage(dependency, { dev: true });
|
|
80
80
|
process.stderr.write(c.yellow(`
|
|
81
81
|
Package ${dependency} installed, re-run the command to start.
|
|
82
82
|
`));
|
|
@@ -7164,7 +7164,7 @@ createLogUpdate(process$1.stdout);
|
|
|
7164
7164
|
|
|
7165
7165
|
createLogUpdate(process$1.stderr);
|
|
7166
7166
|
|
|
7167
|
-
var version = "0.28.
|
|
7167
|
+
var version = "0.28.1";
|
|
7168
7168
|
|
|
7169
7169
|
async function printError(error, ctx, options = {}) {
|
|
7170
7170
|
const { showCodeFrame = true, fullStack = false, type } = options;
|
package/dist/cli.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { normalize } from 'pathe';
|
|
2
2
|
import cac from 'cac';
|
|
3
3
|
import c from 'picocolors';
|
|
4
|
-
import { v as version, s as startVitest, d as divider } from './chunk-node-pkg.
|
|
4
|
+
import { v as version, s as startVitest, d as divider } from './chunk-node-pkg.a7963c3f.js';
|
|
5
5
|
import './chunk-constants.797d3ebf.js';
|
|
6
6
|
import 'node:url';
|
|
7
7
|
import './chunk-utils-env.860d90c2.js';
|
package/dist/node.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { B as BaseSequencer, V as VitestPlugin, c as createVitest, s as startVitest } from './chunk-node-pkg.
|
|
1
|
+
export { B as BaseSequencer, V as VitestPlugin, c as createVitest, s as startVitest } from './chunk-node-pkg.a7963c3f.js';
|
|
2
2
|
export { V as VitestRunner } from './chunk-runtime-mocker.03017e8c.js';
|
|
3
3
|
import 'pathe';
|
|
4
4
|
import './chunk-constants.797d3ebf.js';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vitest",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.28.
|
|
4
|
+
"version": "0.28.1",
|
|
5
5
|
"description": "A blazing fast unit test framework powered by Vite",
|
|
6
6
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -128,12 +128,11 @@
|
|
|
128
128
|
"tinyspy": "^1.0.2",
|
|
129
129
|
"vite": "^3.0.0 || ^4.0.0",
|
|
130
130
|
"why-is-node-running": "^2.2.2",
|
|
131
|
-
"@vitest/
|
|
132
|
-
"@vitest/
|
|
133
|
-
"@vitest/
|
|
134
|
-
"
|
|
135
|
-
"@vitest/
|
|
136
|
-
"vite-node": "0.28.0"
|
|
131
|
+
"@vitest/expect": "0.28.1",
|
|
132
|
+
"@vitest/runner": "0.28.1",
|
|
133
|
+
"@vitest/spy": "0.28.1",
|
|
134
|
+
"vite-node": "0.28.1",
|
|
135
|
+
"@vitest/utils": "0.28.1"
|
|
137
136
|
},
|
|
138
137
|
"devDependencies": {
|
|
139
138
|
"@antfu/install-pkg": "^0.1.1",
|