vitest 0.28.3 → 0.28.4

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.25890a5a.js';
6
+ import { o as onetime$1 } from './chunk-node-pkg.94145502.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.3";
61
+ var version$1 = "0.28.4";
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.4b6b9575.js')).installPackage(dependency, { dev: true });
79
+ await (await import('./chunk-install-pkg.13d8e7be.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
  `));
@@ -7169,7 +7169,7 @@ createLogUpdate(process$1.stdout);
7169
7169
 
7170
7170
  createLogUpdate(process$1.stderr);
7171
7171
 
7172
- var version = "0.28.3";
7172
+ var version = "0.28.4";
7173
7173
 
7174
7174
  async function printError(error, ctx, options = {}) {
7175
7175
  const { showCodeFrame = true, fullStack = false, type } = options;
@@ -7602,7 +7602,7 @@ class Vitest {
7602
7602
  }
7603
7603
  if (this.config.watch) {
7604
7604
  await this.report("onWatcherStart", files, [
7605
- ...sourceErrors,
7605
+ ...this.config.typecheck.ignoreSourceErrors ? [] : sourceErrors,
7606
7606
  ...this.state.getUnhandledErrors()
7607
7607
  ]);
7608
7608
  }
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.25890a5a.js';
4
+ import { v as version, s as startVitest, d as divider } from './chunk-node-pkg.94145502.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.25890a5a.js';
1
+ export { B as BaseSequencer, V as VitestPlugin, c as createVitest, s as startVitest } from './chunk-node-pkg.94145502.js';
2
2
  export { V as VitestRunner } from './chunk-runtime-mocker.eb0c265c.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.3",
4
+ "version": "0.28.4",
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,11 +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/runner": "0.28.3",
132
- "vite-node": "0.28.3",
133
- "@vitest/expect": "0.28.3",
134
- "@vitest/spy": "0.28.3",
135
- "@vitest/utils": "0.28.3"
131
+ "vite-node": "0.28.4",
132
+ "@vitest/utils": "0.28.4",
133
+ "@vitest/expect": "0.28.4",
134
+ "@vitest/runner": "0.28.4",
135
+ "@vitest/spy": "0.28.4"
136
136
  },
137
137
  "devDependencies": {
138
138
  "@antfu/install-pkg": "^0.1.1",