vitest
5.1.1 · 18 Nov 2026MIT194M / weekRepositoryHomepagenpmAtom feed
Upgrading vitest From 0.34.1 to 0.34.6
5 releases in betweenevery note read
Security
1 advisory still affects 0.34.6
- When Vitest UI server is listening, arbitrary file can be read and executedcritical · GHSA-5xrq-8626-4rwp
Upgrading to 3.2.6 clears it.
Release by release
- Fixed
Overwrite global URL with environment's
- Fixed
Correctly resolve external dependencies loaded by custom environments
- Fixed
runner: The fixture of
test.extendshould be init once time in all test
- Fixed
- New
config: Add
diffoption - New
coverage: Add
coverage['100']to istanbul provider - New
vitest: Support
vi.waitFormethod - New
vitest: Allow using unprocessed environment files
- New
- Fixed
Resolving dep optimizer issues with workspace
- Fixed
Don't process config file twice
- Fixed
coverage: Log info only when terminal reporter is used
- Fixed
happy-dom: Use the nodejs console in happy-dom v11
- Fixed
- New
coverage: Add
allowExternaloption - New
vitest: Export all reporters in
vitest/reporters - New
Add workspace config files to default coverage excludes
- Fixed
Should remove mockPath from callstack whether success or failed
- New
- New
Allow importing CSS and assets inside external dependencies when using
--experimental-vm-threads - New
vitest: Allow calling
ctx.skip()inside the running test - New
ui: Add support for ui coverage with subdir option
- New
dot-renderer: Speed up getTests
- New
2 internal lines (docs, tests, tooling) left out.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.