vitest 0.29.0 → 0.29.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.2cbcdd1e.js';
|
|
6
|
-
import { o as onetime$1 } from './chunk-node-pkg.
|
|
6
|
+
import { o as onetime$1 } from './chunk-node-pkg.4e9b4238.js';
|
|
7
7
|
import require$$0$2 from 'os';
|
|
8
8
|
import 'node:buffer';
|
|
9
9
|
import 'node:path';
|
|
@@ -61,7 +61,7 @@ function _mergeNamespaces(n, m) {
|
|
|
61
61
|
return Object.freeze(n);
|
|
62
62
|
}
|
|
63
63
|
|
|
64
|
-
var version$1 = "0.29.
|
|
64
|
+
var version$1 = "0.29.1";
|
|
65
65
|
|
|
66
66
|
async function ensurePackageInstalled(dependency, root) {
|
|
67
67
|
if (isPackageExists(dependency, { paths: [root] }))
|
|
@@ -79,7 +79,7 @@ async function ensurePackageInstalled(dependency, root) {
|
|
|
79
79
|
message: c.reset(`Do you want to install ${c.green(dependency)}?`)
|
|
80
80
|
});
|
|
81
81
|
if (install) {
|
|
82
|
-
await (await import('./chunk-install-pkg.
|
|
82
|
+
await (await import('./chunk-install-pkg.cbeede46.js')).installPackage(dependency, { dev: true });
|
|
83
83
|
process.stderr.write(c.yellow(`
|
|
84
84
|
Package ${dependency} installed, re-run the command to start.
|
|
85
85
|
`));
|
|
@@ -11285,7 +11285,7 @@ createLogUpdate(process$1.stdout);
|
|
|
11285
11285
|
|
|
11286
11286
|
createLogUpdate(process$1.stderr);
|
|
11287
11287
|
|
|
11288
|
-
var version = "0.29.
|
|
11288
|
+
var version = "0.29.1";
|
|
11289
11289
|
|
|
11290
11290
|
async function printError(error, ctx, options = {}) {
|
|
11291
11291
|
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.4e9b4238.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.4e9b4238.js';
|
|
2
2
|
export { V as VitestExecutor } from './chunk-runtime-mocker.a048e92d.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.29.
|
|
4
|
+
"version": "0.29.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",
|
|
@@ -132,11 +132,11 @@
|
|
|
132
132
|
"tinyspy": "^1.0.2",
|
|
133
133
|
"vite": "^3.0.0 || ^4.0.0",
|
|
134
134
|
"why-is-node-running": "^2.2.2",
|
|
135
|
-
"@vitest/expect": "0.29.
|
|
136
|
-
"@vitest/runner": "0.29.
|
|
137
|
-
"
|
|
138
|
-
"
|
|
139
|
-
"@vitest/
|
|
135
|
+
"@vitest/expect": "0.29.1",
|
|
136
|
+
"@vitest/runner": "0.29.1",
|
|
137
|
+
"vite-node": "0.29.1",
|
|
138
|
+
"@vitest/utils": "0.29.1",
|
|
139
|
+
"@vitest/spy": "0.29.1"
|
|
140
140
|
},
|
|
141
141
|
"devDependencies": {
|
|
142
142
|
"@antfu/install-pkg": "^0.1.1",
|