@vitest/coverage-v8
5.1.0 · 2 Nov 2026MIT66.8M / weekRepositoryHomepagenpmAtom feed
Upgrading @vitest/coverage-v8 From 2.0.5 to 2.1.0
1 release in betweenevery note read
- 4
- changes to make
- 0
- advisories fixed
- 17
- new
- 33
- fixes
Before you upgrade
Tick each one off as you go- Breaking2.1.0
- Breaking2.1.0
- Breaking2.1.0
- Breaking2.1.0
Release by release
- Breaking
workspace: Correctly resolve workspace globs and file paths
- Breaking
workspace: This changes how the custom glob pattern in the workspace config is treated. Any file matching the glob is considered a Vitest config file. Any folder matching the glob pattern is treated as a workspace project and is subject to the regular config resolution (single
vitest.config.tsorvite.config.tsinside the folder) - Breaking
workspace: For example,
projects/*will match anything inside theprojectsfolder. If it's a folder, we try to find the config inside that folder (if there is none, it is still treated as a project with the default config). If it's a file, it will be treated as a Vitest config.projects/**/*previously would assume that you only wanted to have folders as projects, but now it will match every single file insideprojects. - Breaking
workspace: This change doesn't affect non-glob usage.
- Breaking
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.