vitest
5.1.1 · 18 Nov 2026MIT194M / weekRepositoryHomepagenpmAtom feed
Upgrading vitest From 0.34.2 to 0.34.6
4 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
1 internal line (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.