vitest 2.0.0-beta.2 → 2.0.0-beta.3
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 +1 -1
- package/dist/browser.js +1 -1
- package/dist/chunks/{integrations-globals.B5Jl0grA.js → integrations-globals.D0I8wu4f.js} +3 -3
- package/dist/chunks/{runtime-runBaseTests._dXkRAZc.js → runtime-runBaseTests.CsxVA4nP.js} +4 -4
- package/dist/cli.js +2 -2
- package/dist/config.cjs +2 -2
- package/dist/config.d.ts +2 -2
- package/dist/config.js +2 -2
- package/dist/coverage.d.ts +1 -1
- package/dist/environments.d.ts +1 -1
- package/dist/execute.d.ts +1 -1
- package/dist/execute.js +1 -1
- package/dist/index.d.ts +9 -6
- package/dist/index.js +3 -3
- package/dist/node.d.ts +3 -2
- package/dist/node.js +5 -5
- package/dist/{reporters-DFgqsvtL.d.ts → reporters-C-3dxOaA.d.ts} +165 -108
- package/dist/reporters.d.ts +1 -1
- package/dist/reporters.js +1 -1
- package/dist/runners.d.ts +3 -2
- package/dist/runners.js +4 -1
- package/dist/{suite-C_sqQjdz.d.ts → suite-V5kCKZme.d.ts} +1 -1
- package/dist/suite.d.ts +2 -2
- package/dist/vendor/{base.VFkIJ66g.js → base.CfOCwoIE.js} +2 -2
- package/dist/vendor/{cac.CtP0aXu-.js → cac.f5m2SesE.js} +15 -8
- package/dist/vendor/{cli-api.B2QW76dQ.js → cli-api.pZNNj7LX.js} +139 -181
- package/dist/vendor/{constants.5SOfHUj0.js → constants.XmjJgDXx.js} +2 -2
- package/dist/vendor/{execute.CLLNVNnK.js → execute.Bwzklsfj.js} +1 -1
- package/dist/vendor/{index.BfoZyXD1.js → index.BHPXakMe.js} +1 -1
- package/dist/vendor/{index.CmILuxzC.js → index.BkeKAX-R.js} +1 -1
- package/dist/vendor/{index.CRxYS9H3.js → index.DOAUPIJU.js} +237 -40
- package/dist/vendor/{setup-common.XeoZAW8t.js → setup-common.6St9QHh1.js} +1 -1
- package/dist/vendor/{vi.ClD3hi7L.js → vi.B31D70yH.js} +75 -36
- package/dist/vendor/{vm.Bi3bljci.js → vm.rKHnSoLJ.js} +1 -1
- package/dist/workers/forks.js +2 -2
- package/dist/workers/runVmTests.js +4 -4
- package/dist/workers/threads.js +2 -2
- package/dist/workers/vmForks.js +2 -2
- package/dist/workers/vmThreads.js +2 -2
- package/dist/workers.d.ts +1 -1
- package/dist/workers.js +3 -3
- package/package.json +10 -10
package/dist/workers/threads.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { r as runBaseTests } from '../vendor/base.
|
|
1
|
+
import { r as runBaseTests } from '../vendor/base.CfOCwoIE.js';
|
|
2
2
|
import { a as createThreadsRpcOptions } from '../vendor/utils.CUjzkRH7.js';
|
|
3
3
|
import 'vite-node/client';
|
|
4
4
|
import '../vendor/global.7bFbnyXl.js';
|
|
5
|
-
import '../vendor/execute.
|
|
5
|
+
import '../vendor/execute.Bwzklsfj.js';
|
|
6
6
|
import 'node:vm';
|
|
7
7
|
import 'node:url';
|
|
8
8
|
import 'node:fs';
|
package/dist/workers/vmForks.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import v8 from 'node:v8';
|
|
2
2
|
import { c as createForksRpcOptions, u as unwrapSerializableConfig } from '../vendor/utils.CUjzkRH7.js';
|
|
3
|
-
import { r as runVmTests } from '../vendor/vm.
|
|
3
|
+
import { r as runVmTests } from '../vendor/vm.rKHnSoLJ.js';
|
|
4
4
|
import '@vitest/utils';
|
|
5
5
|
import 'node:vm';
|
|
6
6
|
import 'node:url';
|
|
@@ -14,7 +14,7 @@ import '@vitest/runner/utils';
|
|
|
14
14
|
import '../vendor/global.7bFbnyXl.js';
|
|
15
15
|
import '../vendor/env.bmJgw1qP.js';
|
|
16
16
|
import 'std-env';
|
|
17
|
-
import '../vendor/execute.
|
|
17
|
+
import '../vendor/execute.Bwzklsfj.js';
|
|
18
18
|
import 'node:fs';
|
|
19
19
|
import 'vite-node/client';
|
|
20
20
|
import 'vite-node/utils';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as createThreadsRpcOptions } from '../vendor/utils.CUjzkRH7.js';
|
|
2
|
-
import { r as runVmTests } from '../vendor/vm.
|
|
2
|
+
import { r as runVmTests } from '../vendor/vm.rKHnSoLJ.js';
|
|
3
3
|
import '@vitest/utils';
|
|
4
4
|
import 'node:vm';
|
|
5
5
|
import 'node:url';
|
|
@@ -13,7 +13,7 @@ import '@vitest/runner/utils';
|
|
|
13
13
|
import '../vendor/global.7bFbnyXl.js';
|
|
14
14
|
import '../vendor/env.bmJgw1qP.js';
|
|
15
15
|
import 'std-env';
|
|
16
|
-
import '../vendor/execute.
|
|
16
|
+
import '../vendor/execute.Bwzklsfj.js';
|
|
17
17
|
import 'node:fs';
|
|
18
18
|
import 'vite-node/client';
|
|
19
19
|
import 'vite-node/utils';
|
package/dist/workers.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as v8 from 'v8';
|
|
2
|
-
import { d as BirpcOptions, e as RuntimeRPC, f as ContextRPC, W as WorkerGlobalState, g as WorkerContext, R as ResolvedConfig } from './reporters-
|
|
2
|
+
import { d as BirpcOptions, e as RuntimeRPC, f as ContextRPC, W as WorkerGlobalState, g as WorkerContext, R as ResolvedConfig } from './reporters-C-3dxOaA.js';
|
|
3
3
|
import { Awaitable } from '@vitest/utils';
|
|
4
4
|
import 'vite';
|
|
5
5
|
import '@vitest/runner';
|
package/dist/workers.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export { c as createForksRpcOptions, a as createThreadsRpcOptions, u as unwrapSerializableConfig } from './vendor/utils.CUjzkRH7.js';
|
|
2
2
|
export { p as provideWorkerState } from './vendor/global.7bFbnyXl.js';
|
|
3
3
|
export { run as runVitestWorker } from './worker.js';
|
|
4
|
-
export { r as runVmTests } from './vendor/vm.
|
|
5
|
-
export { r as runBaseTests } from './vendor/base.
|
|
4
|
+
export { r as runVmTests } from './vendor/vm.rKHnSoLJ.js';
|
|
5
|
+
export { r as runBaseTests } from './vendor/base.CfOCwoIE.js';
|
|
6
6
|
import '@vitest/utils';
|
|
7
7
|
import 'node:url';
|
|
8
8
|
import 'tinypool';
|
|
@@ -24,7 +24,7 @@ import './vendor/date.BKM1wewY.js';
|
|
|
24
24
|
import '@vitest/runner/utils';
|
|
25
25
|
import './vendor/env.bmJgw1qP.js';
|
|
26
26
|
import 'std-env';
|
|
27
|
-
import './vendor/execute.
|
|
27
|
+
import './vendor/execute.Bwzklsfj.js';
|
|
28
28
|
import 'vite-node/utils';
|
|
29
29
|
import '@vitest/utils/error';
|
|
30
30
|
import './path.js';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vitest",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.0.0-beta.
|
|
4
|
+
"version": "2.0.0-beta.3",
|
|
5
5
|
"description": "Next generation testing framework powered by Vite",
|
|
6
6
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -119,8 +119,8 @@
|
|
|
119
119
|
"@types/node": "^18.0.0 || >=20.0.0",
|
|
120
120
|
"happy-dom": "*",
|
|
121
121
|
"jsdom": "*",
|
|
122
|
-
"@vitest/
|
|
123
|
-
"@vitest/
|
|
122
|
+
"@vitest/browser": "2.0.0-beta.3",
|
|
123
|
+
"@vitest/ui": "2.0.0-beta.3"
|
|
124
124
|
},
|
|
125
125
|
"peerDependenciesMeta": {
|
|
126
126
|
"@edge-runtime/vm": {
|
|
@@ -151,15 +151,15 @@
|
|
|
151
151
|
"picocolors": "^1.0.0",
|
|
152
152
|
"std-env": "^3.7.0",
|
|
153
153
|
"tinybench": "^2.8.0",
|
|
154
|
-
"tinypool": "^0.
|
|
154
|
+
"tinypool": "^0.9.0",
|
|
155
155
|
"vite": "^5.0.0",
|
|
156
156
|
"why-is-node-running": "^2.2.2",
|
|
157
|
-
"@vitest/expect": "2.0.0-beta.
|
|
158
|
-
"@vitest/
|
|
159
|
-
"@vitest/
|
|
160
|
-
"@vitest/
|
|
161
|
-
"@vitest/utils": "2.0.0-beta.
|
|
162
|
-
"vite-node": "2.0.0-beta.
|
|
157
|
+
"@vitest/expect": "2.0.0-beta.3",
|
|
158
|
+
"@vitest/snapshot": "2.0.0-beta.3",
|
|
159
|
+
"@vitest/runner": "2.0.0-beta.3",
|
|
160
|
+
"@vitest/spy": "2.0.0-beta.3",
|
|
161
|
+
"@vitest/utils": "2.0.0-beta.3",
|
|
162
|
+
"vite-node": "2.0.0-beta.3"
|
|
163
163
|
},
|
|
164
164
|
"devDependencies": {
|
|
165
165
|
"@ampproject/remapping": "^2.3.0",
|