vitest 0.25.0 → 0.25.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.
- package/dist/browser.d.ts +3 -3
- package/dist/browser.js +11 -11
- package/dist/{chunk-api-setup.a13c5f9d.js → chunk-api-setup.f40616e2.js} +3 -3
- package/dist/{chunk-env-node.700b7e95.js → chunk-env-node.67948209.js} +8 -11
- package/dist/{chunk-install-pkg.55bfe508.js → chunk-install-pkg.579a5a27.js} +2 -2
- package/dist/chunk-integrations-globals.796fe181.js +25 -0
- package/dist/{chunk-node-git.af5c9d73.js → chunk-node-git.5a1b1656.js} +3 -3
- package/dist/{chunk-runtime-chain.3b531731.js → chunk-runtime-chain.e387e274.js} +14 -7
- package/dist/{chunk-runtime-error.3cc15c6f.js → chunk-runtime-error.6287172c.js} +2 -2
- package/dist/{chunk-runtime-mocker.a5d87666.js → chunk-runtime-mocker.503a4f67.js} +4 -4
- package/dist/{chunk-runtime-rpc.4a2d45ab.js → chunk-runtime-rpc.1e7530d3.js} +2 -2
- package/dist/{chunk-runtime-setup.f644ac4c.js → chunk-runtime-setup.5c4e0f49.js} +33 -20
- package/dist/{chunk-runtime-test-state.31ce8643.js → chunk-runtime-test-state.4ed42543.js} +17 -4
- package/dist/{chunk-typecheck-constants.410fa7b2.js → chunk-typecheck-constants.4891f22f.js} +2 -2
- package/dist/{chunk-utils-env.7fe285cc.js → chunk-utils-env.03f840f2.js} +0 -0
- package/dist/{chunk-utils-source-map.1a66263d.js → chunk-utils-source-map.c6dfbbc1.js} +1 -1
- package/dist/{chunk-utils-timers.d1fcc6bb.js → chunk-utils-timers.06f993db.js} +1 -1
- package/dist/{chunk-vite-node-client.13ea0a59.js → chunk-vite-node-client.b2ab6dcf.js} +2 -2
- package/dist/{chunk-vite-node-externalize.01d0d22c.js → chunk-vite-node-externalize.477f36a4.js} +26 -26
- package/dist/{chunk-vite-node-utils.b89230f3.js → chunk-vite-node-utils.8f0b4a12.js} +1 -1
- package/dist/cli-wrapper.js +3 -3
- package/dist/cli.js +11 -11
- package/dist/config.d.ts +1 -1
- package/dist/entry.js +14 -13
- package/dist/environments.d.ts +1 -1
- package/dist/environments.js +1 -1
- package/dist/{index-b68b3c09.d.ts → index-2f5b6168.d.ts} +1 -1
- package/dist/index.d.ts +13 -4
- package/dist/index.js +8 -8
- package/dist/loader.js +3 -3
- package/dist/node.d.ts +2 -2
- package/dist/node.js +12 -12
- package/dist/suite.js +6 -6
- package/dist/{types-b3ff5eea.d.ts → types-f302dae9.d.ts} +20 -26
- package/dist/{vendor-index.16d769d7.js → vendor-index.737c3cff.js} +1 -1
- package/dist/{vendor-index.808a85a6.js → vendor-index.9c919048.js} +0 -0
- package/dist/{vendor-index.22806ffb.js → vendor-index.e1d4cf84.js} +0 -0
- package/dist/worker.js +8 -8
- package/package.json +3 -3
- package/dist/chunk-integrations-globals.391b3839.js +0 -25
package/dist/worker.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { b as resolve, e as distDir } from './chunk-utils-env.
|
|
2
|
-
import { c as createBirpc, M as ModuleCacheMap } from './chunk-vite-node-client.
|
|
1
|
+
import { b as resolve, e as distDir } from './chunk-utils-env.03f840f2.js';
|
|
2
|
+
import { c as createBirpc, M as ModuleCacheMap } from './chunk-vite-node-client.b2ab6dcf.js';
|
|
3
3
|
import { workerId } from 'tinypool';
|
|
4
|
-
import { g as getWorkerState } from './chunk-typecheck-constants.
|
|
5
|
-
import { e as executeInViteNode } from './chunk-runtime-mocker.
|
|
6
|
-
import { r as rpc } from './chunk-runtime-rpc.
|
|
7
|
-
import { p as processError } from './chunk-runtime-error.
|
|
4
|
+
import { g as getWorkerState } from './chunk-typecheck-constants.4891f22f.js';
|
|
5
|
+
import { e as executeInViteNode } from './chunk-runtime-mocker.503a4f67.js';
|
|
6
|
+
import { r as rpc } from './chunk-runtime-rpc.1e7530d3.js';
|
|
7
|
+
import { p as processError } from './chunk-runtime-error.6287172c.js';
|
|
8
8
|
import 'tty';
|
|
9
9
|
import 'url';
|
|
10
10
|
import 'path';
|
|
11
11
|
import 'module';
|
|
12
12
|
import 'vm';
|
|
13
|
-
import './chunk-vite-node-utils.
|
|
13
|
+
import './chunk-vite-node-utils.8f0b4a12.js';
|
|
14
14
|
import 'fs';
|
|
15
15
|
import 'acorn';
|
|
16
16
|
import 'assert';
|
|
@@ -18,7 +18,7 @@ import 'util';
|
|
|
18
18
|
import 'debug';
|
|
19
19
|
import 'local-pkg';
|
|
20
20
|
import 'vite';
|
|
21
|
-
import './chunk-utils-timers.
|
|
21
|
+
import './chunk-utils-timers.06f993db.js';
|
|
22
22
|
import 'chai';
|
|
23
23
|
|
|
24
24
|
let _viteNode;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vitest",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.25.
|
|
4
|
+
"version": "0.25.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",
|
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
"@types/natural-compare": "^1.4.1",
|
|
126
126
|
"@types/prompts": "^2.4.1",
|
|
127
127
|
"@types/sinonjs__fake-timers": "^8.1.2",
|
|
128
|
-
"@vitest/ui": "0.25.
|
|
128
|
+
"@vitest/ui": "0.25.1",
|
|
129
129
|
"birpc": "^0.2.3",
|
|
130
130
|
"cac": "^6.7.14",
|
|
131
131
|
"chai-subset": "^1.6.0",
|
|
@@ -154,7 +154,7 @@
|
|
|
154
154
|
"rollup": "^2.79.1",
|
|
155
155
|
"strip-ansi": "^7.0.1",
|
|
156
156
|
"typescript": "^4.8.4",
|
|
157
|
-
"vite-node": "0.25.
|
|
157
|
+
"vite-node": "0.25.1",
|
|
158
158
|
"ws": "^8.11.0"
|
|
159
159
|
},
|
|
160
160
|
"scripts": {
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { m as globalApis } from './chunk-utils-env.7fe285cc.js';
|
|
2
|
-
import { i as index } from './chunk-runtime-test-state.31ce8643.js';
|
|
3
|
-
import 'tty';
|
|
4
|
-
import 'url';
|
|
5
|
-
import 'path';
|
|
6
|
-
import './chunk-runtime-chain.3b531731.js';
|
|
7
|
-
import 'util';
|
|
8
|
-
import './chunk-typecheck-constants.410fa7b2.js';
|
|
9
|
-
import 'local-pkg';
|
|
10
|
-
import 'chai';
|
|
11
|
-
import './vendor-_commonjsHelpers.addc3445.js';
|
|
12
|
-
import './chunk-runtime-rpc.4a2d45ab.js';
|
|
13
|
-
import './chunk-utils-timers.d1fcc6bb.js';
|
|
14
|
-
import 'fs';
|
|
15
|
-
import './chunk-utils-source-map.1a66263d.js';
|
|
16
|
-
import './spy.js';
|
|
17
|
-
import 'tinyspy';
|
|
18
|
-
|
|
19
|
-
function registerApiGlobally() {
|
|
20
|
-
globalApis.forEach((api) => {
|
|
21
|
-
globalThis[api] = index[api];
|
|
22
|
-
});
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
export { registerApiGlobally };
|