vitest 0.0.112 → 0.0.113
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 +7 -5
- package/dist/{constants-2b0310b7.js → constants-900abe4a.js} +1 -1
- package/dist/{diff-66d6bb83.js → diff-9c43ab50.js} +3300 -3298
- package/dist/entry.js +74 -18
- package/dist/{global-201fd559.js → global-75208c77.js} +7 -6
- package/dist/{utils-cb6b1266.js → index-041e627e.js} +1 -185
- package/dist/{index-2bb9fd4d.js → index-09437c50.js} +1 -1
- package/dist/index-1488b423.js +186 -0
- package/dist/{index-8ab26d25.js → index-c3f2f9fe.js} +64 -1113
- package/dist/index.d.ts +16 -3
- package/dist/index.js +3 -4
- package/dist/magic-string.es-94000aea.js +1360 -0
- package/dist/{middleware-2028dfa0.js → middleware-0ebc5238.js} +2 -4
- package/dist/node.d.ts +1 -0
- package/dist/node.js +8 -6
- package/dist/utils.js +3 -2
- package/dist/{vi-cb9e4e4e.js → vi-51946984.js} +1 -1
- package/dist/worker.js +5 -4
- package/package.json +1 -1
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import { A as API_PATH } from './constants-
|
|
1
|
+
import { A as API_PATH } from './constants-900abe4a.js';
|
|
2
2
|
import 'url';
|
|
3
|
-
import './
|
|
4
|
-
import 'tty';
|
|
5
|
-
import 'local-pkg';
|
|
3
|
+
import './index-1488b423.js';
|
|
6
4
|
import 'path';
|
|
7
5
|
|
|
8
6
|
/*! (c) 2020 Andrea Giammarchi */
|
package/dist/node.d.ts
CHANGED
package/dist/node.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
export { c as createVitest } from './index-
|
|
2
|
-
import './
|
|
3
|
-
import 'tty';
|
|
4
|
-
import 'local-pkg';
|
|
1
|
+
export { c as createVitest } from './index-c3f2f9fe.js';
|
|
2
|
+
import './index-1488b423.js';
|
|
5
3
|
import 'path';
|
|
6
4
|
import 'vite';
|
|
7
5
|
import 'process';
|
|
@@ -10,10 +8,14 @@ import 'os';
|
|
|
10
8
|
import 'util';
|
|
11
9
|
import 'stream';
|
|
12
10
|
import 'events';
|
|
13
|
-
import './
|
|
11
|
+
import './index-041e627e.js';
|
|
12
|
+
import 'tty';
|
|
13
|
+
import 'local-pkg';
|
|
14
|
+
import './constants-900abe4a.js';
|
|
14
15
|
import 'url';
|
|
16
|
+
import './magic-string.es-94000aea.js';
|
|
15
17
|
import 'perf_hooks';
|
|
16
|
-
import './diff-
|
|
18
|
+
import './diff-9c43ab50.js';
|
|
17
19
|
import './index-61c8686f.js';
|
|
18
20
|
import './_commonjsHelpers-c9e3b764.js';
|
|
19
21
|
import 'assert';
|
package/dist/utils.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
export { e as ensurePackageInstalled, g as getFullName,
|
|
2
|
-
|
|
1
|
+
export { e as ensurePackageInstalled, g as getFullName, f as getNames, a as getSuites, k as getTasks, b as getTests, h as hasFailed, j as hasTests, i as interpretOnlyMode, m as mergeSlashes, n as noop, d as notNullish, p as partitionSuiteChildren, s as slash, t as toArray } from './index-041e627e.js';
|
|
2
|
+
export { a as resolvePath } from './index-1488b423.js';
|
|
3
3
|
import 'tty';
|
|
4
|
+
import 'local-pkg';
|
|
4
5
|
import 'path';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as nanoid, a as spyOn, f as fn, s as spies } from './jest-mock-a57b745c.js';
|
|
2
|
-
import { n as noop } from './
|
|
2
|
+
import { n as noop } from './index-041e627e.js';
|
|
3
3
|
import { c as commonjsGlobal, g as getDefaultExportFromCjs } from './_commonjsHelpers-c9e3b764.js';
|
|
4
4
|
|
|
5
5
|
var __defProp = Object.defineProperty;
|
package/dist/worker.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as resolve, d as dirname$2, b as basename$2 } from './index-1488b423.js';
|
|
2
2
|
import { a as spyOn, s as spies, n as nanoid } from './jest-mock-a57b745c.js';
|
|
3
|
-
import { c as distDir } from './constants-
|
|
3
|
+
import { c as distDir } from './constants-900abe4a.js';
|
|
4
4
|
import { builtinModules, createRequire } from 'module';
|
|
5
5
|
import { pathToFileURL, fileURLToPath as fileURLToPath$2, URL as URL$1 } from 'url';
|
|
6
6
|
import vm from 'vm';
|
|
@@ -8,11 +8,12 @@ import path from 'path';
|
|
|
8
8
|
import fs, { promises, realpathSync, statSync, Stats, readdirSync, existsSync } from 'fs';
|
|
9
9
|
import assert from 'assert';
|
|
10
10
|
import { format as format$2, inspect } from 'util';
|
|
11
|
+
import { m as mergeSlashes, s as slash } from './index-041e627e.js';
|
|
11
12
|
import { s as send } from './rpc-7de86f29.js';
|
|
12
|
-
import 'tty';
|
|
13
|
-
import 'local-pkg';
|
|
14
13
|
import 'chai';
|
|
15
14
|
import 'tinyspy';
|
|
15
|
+
import 'tty';
|
|
16
|
+
import 'local-pkg';
|
|
16
17
|
|
|
17
18
|
const BUILTIN_MODULES$1 = new Set(builtinModules);
|
|
18
19
|
function normalizeSlash$1(str) {
|