Commit 8c078b5
authored
chore(deps): upgrade vitest from v3 to v4 (#642)
## Summary
- Upgrade vitest from ^3.2.4 to ^4.0.17
- Upgrade @vitest/coverage-v8 from ^3.2.4 to ^4.0.17
- Add `--reporter=dot` to vitest run commands for cleaner output
- Add conditional vitest@3 downgrade for Node 16/18 in CI (vitest@4
requires Node 20+)
## Test plan
- [x] Local tests pass with vitest@4 on Node 20+
- [x] Coverage report generates correctly
- [x] Benchmarks run successfully
- [x] CI passes for Node 20, 22, 24 (vitest@4)
- [x] CI passes for Node 18 (vitest@3 downgrade)
- [x] CI passes for Node 16 (vitest@3 downgrade)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **Chores**
* Updated vitest and coverage tooling to v4.0.17.
* Enhanced test output formatting with dot reporter.
* Improved CI workflows for Node.js version compatibility.
* Refined build configuration structure.
<sub>✏️ Tip: You can customize this high-level summary in your review
settings.</sub>
<!-- end of auto-generated comment: release notes by coderabbit.ai -->1 parent fd2c1a5 commit 8c078b5
6 files changed
Lines changed: 137 additions & 341 deletions
File tree
- .github/workflows
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
23 | 25 | | |
24 | 26 | | |
25 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
80 | 84 | | |
81 | 85 | | |
82 | 86 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
| 98 | + | |
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
| 114 | + | |
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
| |||
0 commit comments