vitest 3.0.4 → 3.0.6
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/LICENSE.md +20 -304
- package/dist/browser.d.ts +8 -14
- package/dist/browser.js +2 -2
- package/dist/chunks/{base.wKnmhRYd.js → base.B2NLWv2w.js} +5 -3
- package/dist/chunks/{cac.DYBkNWP6.js → cac.mNJBJcT7.js} +24 -24
- package/dist/chunks/{cli-api.Ci-9Ccnz.js → cli-api.Dkt_XoKq.js} +3289 -3054
- package/dist/chunks/{console.BxE0RUCr.js → console.CN7AiMGV.js} +3 -3
- package/dist/chunks/{coverage.BWeNbfBa.js → coverage.DnNIv-kJ.js} +1 -1
- package/dist/chunks/{creator.fUJbheb8.js → creator.2CFRE1Yx.js} +5 -5
- package/dist/chunks/{execute.PoofJYS5.js → execute.DNQad00_.js} +11 -4
- package/dist/chunks/{globals.BSNBk3vE.js → globals.DrEiwfS1.js} +2 -2
- package/dist/chunks/{index.TH3f4LSA.js → index.68735LiX.js} +2 -2
- package/dist/chunks/{index.NxxmQyK2.js → index.Bw6JxgX8.js} +3 -3
- package/dist/chunks/{index.vId0fl99.js → index.C1f-_gvH.js} +86 -45
- package/dist/chunks/{index.B57_6XMC.js → index.DBIGubLC.js} +8 -8
- package/dist/chunks/{index.C2XSkjNu.js → index.DC3HGwr0.js} +3 -3
- package/dist/chunks/{index.cYxyd29h.js → index.K90BXFOx.js} +12 -12
- package/dist/chunks/{index.Bf4FgyZN.js → index.SduP00mx.js} +1 -1
- package/dist/chunks/{inspector.CU9GlB9I.js → inspector.DKLceBVD.js} +1 -1
- package/dist/chunks/{reporters.0x019-V2.d.ts → reporters.DTtkbAtP.d.ts} +78 -60
- package/dist/chunks/{resolveConfig.DkmB2h7h.js → resolveConfig.BbcK25zb.js} +23 -24
- package/dist/chunks/{rpc.Bf456uf4.js → rpc.TVf73xOu.js} +1 -1
- package/dist/chunks/{runBaseTests.Ba8jtu6O.js → runBaseTests.Cr-AyqFv.js} +9 -9
- package/dist/chunks/{setup-common.jLbIuaww.js → setup-common.IrcyRZ8C.js} +1 -1
- package/dist/chunks/{suite.BJU7kdY9.d.ts → suite.qtkXWc6R.d.ts} +1 -1
- package/dist/chunks/{typechecker.CdcjdhoT.js → typechecker.cZ0LjdSi.js} +7 -7
- package/dist/chunks/{utils.DJWL04yX.js → utils.bLM2atbD.js} +3 -3
- package/dist/chunks/{vi.CjhMlMwf.js → vi.DrftpPF8.js} +26 -20
- package/dist/chunks/{vite.DiG-KbRF.d.ts → vite.BmCIRnbq.d.ts} +1 -1
- package/dist/chunks/{vm.DXDoSHPT.js → vm.ku9l48hv.js} +7 -5
- package/dist/chunks/{worker.B1y96qmv.d.ts → worker.B2JXutr8.d.ts} +1 -1
- package/dist/chunks/{worker.CIpff8Eg.d.ts → worker.DaAIyCKm.d.ts} +2 -1
- package/dist/cli.js +1 -1
- package/dist/config.cjs +3 -4
- package/dist/config.d.ts +23 -26
- package/dist/config.js +3 -4
- package/dist/coverage.d.ts +3 -3
- package/dist/coverage.js +10 -10
- package/dist/environments.d.ts +2 -2
- package/dist/environments.js +1 -1
- package/dist/execute.d.ts +6 -6
- package/dist/execute.js +1 -1
- package/dist/index.d.ts +10 -10
- package/dist/index.js +2 -2
- package/dist/node.d.ts +16 -13
- package/dist/node.js +12 -13
- package/dist/reporters.d.ts +1 -1
- package/dist/reporters.js +3 -3
- package/dist/runners.js +4 -4
- package/dist/suite.d.ts +1 -1
- package/dist/worker.js +6 -5
- package/dist/workers/forks.js +4 -4
- package/dist/workers/runVmTests.js +8 -8
- package/dist/workers/threads.js +4 -4
- package/dist/workers/vmForks.js +5 -5
- package/dist/workers/vmThreads.js +5 -5
- package/dist/workers.d.ts +2 -2
- package/dist/workers.js +8 -8
- package/package.json +18 -18
package/dist/workers.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export { p as provideWorkerState } from './chunks/utils.C8RiOc4B.js';
|
|
2
2
|
export { collect as collectVitestWorkerTests, run as runVitestWorker } from './worker.js';
|
|
3
|
-
export { r as runBaseTests } from './chunks/base.
|
|
3
|
+
export { r as runBaseTests } from './chunks/base.B2NLWv2w.js';
|
|
4
4
|
export { c as createForksRpcOptions, a as createThreadsRpcOptions, u as unwrapSerializableConfig } from './chunks/utils.Cn0zI1t3.js';
|
|
5
|
-
export { r as runVmTests } from './chunks/vm.
|
|
5
|
+
export { r as runVmTests } from './chunks/vm.ku9l48hv.js';
|
|
6
6
|
import '@vitest/utils';
|
|
7
7
|
import 'node:url';
|
|
8
8
|
import '@vitest/utils/source-map';
|
|
@@ -10,20 +10,20 @@ import 'tinypool';
|
|
|
10
10
|
import 'vite-node/client';
|
|
11
11
|
import 'node:fs';
|
|
12
12
|
import 'pathe';
|
|
13
|
-
import './chunks/index.
|
|
13
|
+
import './chunks/index.K90BXFOx.js';
|
|
14
14
|
import 'node:console';
|
|
15
|
-
import './chunks/inspector.
|
|
15
|
+
import './chunks/inspector.DKLceBVD.js';
|
|
16
16
|
import 'node:module';
|
|
17
|
-
import './chunks/rpc.
|
|
18
|
-
import './chunks/index.
|
|
19
|
-
import './chunks/execute.
|
|
17
|
+
import './chunks/rpc.TVf73xOu.js';
|
|
18
|
+
import './chunks/index.68735LiX.js';
|
|
19
|
+
import './chunks/execute.DNQad00_.js';
|
|
20
20
|
import 'node:vm';
|
|
21
21
|
import '@vitest/utils/error';
|
|
22
22
|
import 'vite-node/utils';
|
|
23
23
|
import './path.js';
|
|
24
24
|
import 'node:path';
|
|
25
25
|
import '@vitest/mocker';
|
|
26
|
-
import './chunks/console.
|
|
26
|
+
import './chunks/console.CN7AiMGV.js';
|
|
27
27
|
import 'node:stream';
|
|
28
28
|
import 'tinyrainbow';
|
|
29
29
|
import './chunks/date.W2xKR2qe.js';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vitest",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.0.
|
|
4
|
+
"version": "3.0.6",
|
|
5
5
|
"description": "Next generation testing framework powered by Vite",
|
|
6
6
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -123,8 +123,8 @@
|
|
|
123
123
|
"@types/node": "^18.0.0 || ^20.0.0 || >=22.0.0",
|
|
124
124
|
"happy-dom": "*",
|
|
125
125
|
"jsdom": "*",
|
|
126
|
-
"@vitest/
|
|
127
|
-
"@vitest/
|
|
126
|
+
"@vitest/ui": "3.0.6",
|
|
127
|
+
"@vitest/browser": "3.0.6"
|
|
128
128
|
},
|
|
129
129
|
"peerDependenciesMeta": {
|
|
130
130
|
"@edge-runtime/vm": {
|
|
@@ -150,11 +150,11 @@
|
|
|
150
150
|
}
|
|
151
151
|
},
|
|
152
152
|
"dependencies": {
|
|
153
|
-
"chai": "^5.
|
|
153
|
+
"chai": "^5.2.0",
|
|
154
154
|
"debug": "^4.4.0",
|
|
155
155
|
"expect-type": "^1.1.0",
|
|
156
156
|
"magic-string": "^0.30.17",
|
|
157
|
-
"pathe": "^2.0.
|
|
157
|
+
"pathe": "^2.0.3",
|
|
158
158
|
"std-env": "^3.8.0",
|
|
159
159
|
"tinybench": "^2.9.0",
|
|
160
160
|
"tinyexec": "^0.3.2",
|
|
@@ -162,14 +162,14 @@
|
|
|
162
162
|
"tinyrainbow": "^2.0.0",
|
|
163
163
|
"vite": "^5.0.0 || ^6.0.0",
|
|
164
164
|
"why-is-node-running": "^2.3.0",
|
|
165
|
-
"@vitest/
|
|
166
|
-
"@vitest/
|
|
167
|
-
"@vitest/
|
|
168
|
-
"@vitest/
|
|
169
|
-
"@vitest/
|
|
170
|
-
"@vitest/
|
|
171
|
-
"
|
|
172
|
-
"
|
|
165
|
+
"@vitest/snapshot": "3.0.6",
|
|
166
|
+
"@vitest/expect": "3.0.6",
|
|
167
|
+
"@vitest/runner": "3.0.6",
|
|
168
|
+
"@vitest/mocker": "3.0.6",
|
|
169
|
+
"@vitest/spy": "3.0.6",
|
|
170
|
+
"@vitest/utils": "3.0.6",
|
|
171
|
+
"vite-node": "3.0.6",
|
|
172
|
+
"@vitest/pretty-format": "^3.0.6"
|
|
173
173
|
},
|
|
174
174
|
"devDependencies": {
|
|
175
175
|
"@ampproject/remapping": "^2.3.0",
|
|
@@ -182,24 +182,24 @@
|
|
|
182
182
|
"@types/istanbul-reports": "^3.0.4",
|
|
183
183
|
"@types/jsdom": "^21.1.7",
|
|
184
184
|
"@types/micromatch": "^4.0.9",
|
|
185
|
-
"@types/node": "^22.
|
|
185
|
+
"@types/node": "^22.13.4",
|
|
186
186
|
"@types/prompts": "^2.4.9",
|
|
187
187
|
"@types/sinonjs__fake-timers": "^8.1.5",
|
|
188
188
|
"acorn-walk": "^8.3.4",
|
|
189
189
|
"birpc": "0.2.19",
|
|
190
190
|
"cac": "^6.7.14",
|
|
191
191
|
"chai-subset": "^1.6.0",
|
|
192
|
-
"fast-glob": "3.3.3",
|
|
193
192
|
"find-up": "^6.3.0",
|
|
194
193
|
"flatted": "^3.3.2",
|
|
195
194
|
"get-tsconfig": "^4.10.0",
|
|
196
|
-
"happy-dom": "^
|
|
197
|
-
"jsdom": "^
|
|
198
|
-
"local-pkg": "^0.
|
|
195
|
+
"happy-dom": "^17.1.0",
|
|
196
|
+
"jsdom": "^26.0.0",
|
|
197
|
+
"local-pkg": "^1.0.0",
|
|
199
198
|
"micromatch": "^4.0.8",
|
|
200
199
|
"pretty-format": "^29.7.0",
|
|
201
200
|
"prompts": "^2.4.2",
|
|
202
201
|
"strip-literal": "^2.1.1",
|
|
202
|
+
"tinyglobby": "^0.2.10",
|
|
203
203
|
"ws": "^8.18.0"
|
|
204
204
|
},
|
|
205
205
|
"scripts": {
|