Skip to content

Commit 7232d95

Browse files
authored
Merge branch 'main' into main
2 parents eb9c376 + 5ba0d91 commit 7232d95

File tree

19 files changed

+909
-588
lines changed

19 files changed

+909
-588
lines changed

docs/api/vi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -832,7 +832,7 @@ Returns `true` if fake timers are enabled.
832832

833833
- **Type:** `() => Vitest`
834834

835-
When timers are run out, you may call this method to return mocked timers to its original implementations. All timers that were scheduled before will be discarded.
835+
When timers have run out, you may call this method to return mocked timers to its original implementations. All timers that were scheduled before will be discarded.
836836

837837
## Miscellaneous
838838

docs/guide/improving-performance.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ vitest run --reporter=blob --shard=3/3 # 3rd machine
8888
Collect the results stored in `.vitest-reports` directory from each machine and merge them with [`--merge-reports`](/guide/cli#merge-reports) option:
8989

9090
```sh
91-
vitest --merge-reports
91+
vitest run --merge-reports
9292
```
9393

9494
::: details Github action example
@@ -180,7 +180,7 @@ VITEST_MAX_THREADS=7 vitest run --reporter=blob --shard=3/4 & \
180180
VITEST_MAX_THREADS=7 vitest run --reporter=blob --shard=4/4 & \
181181
wait # https://man7.org/linux/man-pages/man2/waitpid.2.html
182182

183-
vitest --merge-reports
183+
vitest run --merge-reports
184184
```
185185

186186
:::

docs/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
"devDependencies": {
2121
"@iconify-json/carbon": "catalog:",
2222
"@iconify-json/logos": "catalog:",
23-
"@shikijs/transformers": "^3.2.1",
24-
"@shikijs/vitepress-twoslash": "^3.2.1",
23+
"@shikijs/transformers": "^3.2.2",
24+
"@shikijs/vitepress-twoslash": "^3.2.2",
2525
"@unocss/reset": "catalog:",
2626
"@vite-pwa/assets-generator": "^0.2.6",
2727
"@vite-pwa/vitepress": "^0.5.4",
@@ -33,7 +33,7 @@
3333
"vite": "^5.2.8",
3434
"vite-plugin-pwa": "^0.21.2",
3535
"vitepress": "2.0.0-alpha.4",
36-
"vitepress-plugin-group-icons": "^1.3.8",
36+
"vitepress-plugin-group-icons": "^1.5.2",
3737
"vitepress-plugin-tabs": "^0.7.0",
3838
"workbox-window": "^7.3.0"
3939
}

examples/lit/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"test:ui": "vitest --ui"
1515
},
1616
"dependencies": {
17-
"lit": "^3.2.1"
17+
"lit": "^3.3.0"
1818
},
1919
"devDependencies": {
2020
"@vitest/browser": "latest",

examples/workspace/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"@testing-library/jest-dom": "^6.6.3",
1313
"@testing-library/react": "^13.4.0",
1414
"@testing-library/user-event": "^14.6.1",
15-
"@types/react": "^19.1.0",
15+
"@types/react": "^19.1.2",
1616
"@vitejs/plugin-react": "^4.3.4",
1717
"@vitest/ui": "latest",
1818
"fastify": "^4.29.0",

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"type": "module",
44
"version": "3.1.1",
55
"private": true,
6-
"packageManager": "pnpm@10.7.1",
6+
"packageManager": "pnpm@10.8.1",
77
"description": "Next generation testing framework powered by Vite",
88
"engines": {
99
"node": "^18.0.0 || >=20.0.0"
@@ -36,13 +36,13 @@
3636
"test:browser:playwright": "pnpm -C test/browser run test:playwright"
3737
},
3838
"devDependencies": {
39-
"@antfu/eslint-config": "^4.11.0",
39+
"@antfu/eslint-config": "^4.12.0",
4040
"@antfu/ni": "^24.3.0",
4141
"@playwright/test": "^1.51.1",
4242
"@rollup/plugin-commonjs": "^28.0.3",
4343
"@rollup/plugin-json": "^6.1.0",
4444
"@rollup/plugin-node-resolve": "^16.0.1",
45-
"@types/node": "^22.14.0",
45+
"@types/node": "^22.14.1",
4646
"@types/ws": "catalog:",
4747
"@vitest/browser": "workspace:*",
4848
"@vitest/coverage-istanbul": "workspace:*",
@@ -53,10 +53,10 @@
5353
"esbuild": "^0.25.2",
5454
"eslint": "^9.24.0",
5555
"magic-string": "^0.30.17",
56-
"oxc-transform": "^0.62.0",
56+
"oxc-transform": "^0.63.0",
5757
"pathe": "^2.0.3",
5858
"rimraf": "^6.0.1",
59-
"rollup": "^4.39.0",
59+
"rollup": "^4.40.0",
6060
"rollup-plugin-dts": "^6.2.1",
6161
"rollup-plugin-license": "^3.6.0",
6262
"tinyglobby": "^0.2.12",
@@ -66,7 +66,7 @@
6666
"unplugin-oxc": "^0.3.3",
6767
"vite": "^6.2.0",
6868
"vitest": "workspace:*",
69-
"zx": "^8.5.0"
69+
"zx": "^8.5.2"
7070
},
7171
"pnpm": {
7272
"overrides": {

packages/browser/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
"@vitest/runner": "workspace:*",
103103
"@vitest/ui": "workspace:*",
104104
"@vitest/ws-client": "workspace:*",
105-
"@wdio/protocols": "^9.12.3",
105+
"@wdio/protocols": "^9.12.5",
106106
"@wdio/types": "^9.12.3",
107107
"birpc": "catalog:",
108108
"flatted": "catalog:",
@@ -114,6 +114,6 @@
114114
"playwright-core": "^1.51.1",
115115
"safaridriver": "^1.0.0",
116116
"vitest": "workspace:*",
117-
"webdriverio": "^9.12.4"
117+
"webdriverio": "^9.12.5"
118118
}
119119
}

packages/ui/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"tinyrainbow": "catalog:"
5757
},
5858
"devDependencies": {
59-
"@faker-js/faker": "^9.5.0",
59+
"@faker-js/faker": "^9.7.0",
6060
"@iconify-json/carbon": "catalog:",
6161
"@iconify-json/logos": "catalog:",
6262
"@testing-library/vue": "^8.1.0",
@@ -76,7 +76,7 @@
7676
"codemirror-theme-vars": "^0.1.2",
7777
"d3-graph-controller": "^3.1.0",
7878
"floating-vue": "^5.2.2",
79-
"rollup": "^4.39.0",
79+
"rollup": "^4.40.0",
8080
"splitpanes": "^3.2.0",
8181
"unocss": "catalog:",
8282
"unplugin-auto-import": "^0.19.0",

packages/vite-node/src/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -625,7 +625,7 @@ function exportAll(exports: any, sourceModule: any) {
625625
}
626626

627627
for (const key in sourceModule) {
628-
if (key !== 'default') {
628+
if (key !== 'default' && !(key in exports)) {
629629
try {
630630
defineExport(exports, key, () => sourceModule[key])
631631
}

packages/vitest/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186
"@types/istanbul-reports": "catalog:",
187187
"@types/jsdom": "^21.1.7",
188188
"@types/micromatch": "^4.0.9",
189-
"@types/node": "^22.14.0",
189+
"@types/node": "^22.14.1",
190190
"@types/prompts": "^2.4.9",
191191
"@types/sinonjs__fake-timers": "^8.1.5",
192192
"acorn-walk": "catalog:",
@@ -197,7 +197,7 @@
197197
"flatted": "catalog:",
198198
"get-tsconfig": "^4.10.0",
199199
"happy-dom": "^17.4.4",
200-
"jsdom": "^26.0.0",
200+
"jsdom": "^26.1.0",
201201
"local-pkg": "^1.1.1",
202202
"micromatch": "^4.0.8",
203203
"pretty-format": "^29.7.0",

0 commit comments

Comments
 (0)