-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add a flag to include test location in tasks #5342
Conversation
✅ Deploy Preview for fastidious-cascaron-4ded94 ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks ok. It's good that this is opt-in behind a flag as it could indeed cause performance issues in larger sets.
One thing though: If this is something that only reporters need, we might not need |
The reporter is just one example where it can be used. You can also get this data from |
1cba2c3
to
28d9949
Compare
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@vitest/coverage-v8](https://togithub.com/vitest-dev/vitest/tree/main/packages/coverage-v8#readme) ([source](https://togithub.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8)) | [`1.3.1` -> `1.4.0`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-v8/1.3.1/1.4.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-v8/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-v8/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-v8/1.3.1/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-v8/1.3.1/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [vitest](https://togithub.com/vitest-dev/vitest) ([source](https://togithub.com/vitest-dev/vitest/tree/HEAD/packages/vitest)) | [`1.3.1` -> `1.4.0`](https://renovatebot.com/diffs/npm/vitest/1.3.1/1.4.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/1.3.1/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/1.3.1/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (@​vitest/coverage-v8)</summary> ### [`v1.4.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.4.0) ##### 🚀 Features - Throw error when using snapshot assertion with `not` - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5294](https://togithub.com/vitest-dev/vitest/issues/5294) [<samp>(b9d37)</samp>](https://togithub.com/vitest-dev/vitest/commit/b9d378f5) - Add a flag to include test location in tasks - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5342](https://togithub.com/vitest-dev/vitest/issues/5342) [<samp>(d627e)</samp>](https://togithub.com/vitest-dev/vitest/commit/d627e209) - **cli**: - Support wildcards in `--project` option - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5295](https://togithub.com/vitest-dev/vitest/issues/5295) [<samp>(201bd)</samp>](https://togithub.com/vitest-dev/vitest/commit/201bd067) - **config**: - Add `shuffle.files` and `shuffle.tests` options - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5281](https://togithub.com/vitest-dev/vitest/issues/5281) [<samp>(356db)</samp>](https://togithub.com/vitest-dev/vitest/commit/356db87b) - Deprecate `cache.dir` option - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5229](https://togithub.com/vitest-dev/vitest/issues/5229) [<samp>(d7e8b)</samp>](https://togithub.com/vitest-dev/vitest/commit/d7e8b53e) - **coverage**: - Support `--changed` option - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5314](https://togithub.com/vitest-dev/vitest/issues/5314) [<samp>(600b4)</samp>](https://togithub.com/vitest-dev/vitest/commit/600b44d6) - **vitest**: - Support `clearScreen` cli flag - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5241](https://togithub.com/vitest-dev/vitest/issues/5241) [<samp>(e1735)</samp>](https://togithub.com/vitest-dev/vitest/commit/e1735fb6) ##### 🐞 Bug Fixes - Repeatable `--project` option - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5265](https://togithub.com/vitest-dev/vitest/issues/5265) [<samp>(d1a06)</samp>](https://togithub.com/vitest-dev/vitest/commit/d1a06730) - `--inspect-brk` to pause before execution - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5355](https://togithub.com/vitest-dev/vitest/issues/5355) [<samp>(e77c5)</samp>](https://togithub.com/vitest-dev/vitest/commit/e77c553f) - Correct locations in test.each tasks - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(4f6e3)</samp>](https://togithub.com/vitest-dev/vitest/commit/4f6e39c1) - **api**: - Use resolvedUrls from devserver - by [@​saitonakamura](https://togithub.com/saitonakamura) and [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5289](https://togithub.com/vitest-dev/vitest/issues/5289) [<samp>(2fef5)</samp>](https://togithub.com/vitest-dev/vitest/commit/2fef5a7e) - **browser**: - Add `magic-string` to `optimizeDeps.include` - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5278](https://togithub.com/vitest-dev/vitest/issues/5278) [<samp>(8f04e)</samp>](https://togithub.com/vitest-dev/vitest/commit/8f04e798) - **coverage**: - Expensive regexp hangs v8 report generation - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5259](https://togithub.com/vitest-dev/vitest/issues/5259) [<samp>(d68a7)</samp>](https://togithub.com/vitest-dev/vitest/commit/d68a7390) - V8 to ignore type-only files - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5328](https://togithub.com/vitest-dev/vitest/issues/5328) [<samp>(c3eb8)</samp>](https://togithub.com/vitest-dev/vitest/commit/c3eb8deb) - Respect source maps of pre-transpiled sources - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5367](https://togithub.com/vitest-dev/vitest/issues/5367) [<samp>(6eda4)</samp>](https://togithub.com/vitest-dev/vitest/commit/6eda473f) - Prevent `reportsDirectory` from removing user's project - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5376](https://togithub.com/vitest-dev/vitest/issues/5376) [<samp>(07ec3)</samp>](https://togithub.com/vitest-dev/vitest/commit/07ec3779) - **expect**: - Show diff on `toContain/toMatch` assertion error - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5267](https://togithub.com/vitest-dev/vitest/issues/5267) [<samp>(8ee59)</samp>](https://togithub.com/vitest-dev/vitest/commit/8ee59f0d) - **forks**: - Wrap `defines` to support `undefined` values - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5284](https://togithub.com/vitest-dev/vitest/issues/5284) [<samp>(5b58b)</samp>](https://togithub.com/vitest-dev/vitest/commit/5b58b399) - **typecheck**: - Update get-tsconfig 4.7.3 to fix false circularity error - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5384](https://togithub.com/vitest-dev/vitest/issues/5384) [<samp>(bdc37)</samp>](https://togithub.com/vitest-dev/vitest/commit/bdc371ee) - **ui**: - Escape html in error diff - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5325](https://togithub.com/vitest-dev/vitest/issues/5325) [<samp>(ab60b)</samp>](https://togithub.com/vitest-dev/vitest/commit/ab60bf8d) - **vitest**: - Loosen `onConsoleLog` return type - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5337](https://togithub.com/vitest-dev/vitest/issues/5337) [<samp>(6d1b1)</samp>](https://togithub.com/vitest-dev/vitest/commit/6d1b1451) - Ensure restoring terminal cursor on close - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5292](https://togithub.com/vitest-dev/vitest/issues/5292) [<samp>(0bea2)</samp>](https://togithub.com/vitest-dev/vitest/commit/0bea2247) - Ignore timeout on websocket reporter rpc - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(38119)</samp>](https://togithub.com/vitest-dev/vitest/commit/38119b75) - Correctly override api with --no-api flag - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5386](https://togithub.com/vitest-dev/vitest/issues/5386) [<samp>(51d1d)</samp>](https://togithub.com/vitest-dev/vitest/commit/51d1d472) - Logs in `beforeAll` and `afterAll` - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5288](https://togithub.com/vitest-dev/vitest/issues/5288) [<samp>(ce5ca)</samp>](https://togithub.com/vitest-dev/vitest/commit/ce5ca6bf) - **workspace**: - Throw error when browser mode and `@vitest/coverage-v8` are used - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5250](https://togithub.com/vitest-dev/vitest/issues/5250) [<samp>(29f98)</samp>](https://togithub.com/vitest-dev/vitest/commit/29f98cd3) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.3.1...v1.4.0) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/Johannes-Andersen/Johannes). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNDUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI0NS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [vitest](https://togithub.com/vitest-dev/vitest) ([source](https://togithub.com/vitest-dev/vitest/tree/HEAD/packages/vitest)) | devDependencies | minor | [`1.3.1` -> `1.4.0`](https://renovatebot.com/diffs/npm/vitest/1.3.1/1.4.0) | --- ### Release Notes <details> <summary>vitest-dev/vitest (vitest)</summary> ### [`v1.4.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.4.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.3.1...v1.4.0) ##### 🚀 Features - Throw error when using snapshot assertion with `not` - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5294](https://togithub.com/vitest-dev/vitest/issues/5294) [<samp>(b9d37)</samp>](https://togithub.com/vitest-dev/vitest/commit/b9d378f5) - Add a flag to include test location in tasks - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5342](https://togithub.com/vitest-dev/vitest/issues/5342) [<samp>(d627e)</samp>](https://togithub.com/vitest-dev/vitest/commit/d627e209) - **cli**: - Support wildcards in `--project` option - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5295](https://togithub.com/vitest-dev/vitest/issues/5295) [<samp>(201bd)</samp>](https://togithub.com/vitest-dev/vitest/commit/201bd067) - **config**: - Add `shuffle.files` and `shuffle.tests` options - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5281](https://togithub.com/vitest-dev/vitest/issues/5281) [<samp>(356db)</samp>](https://togithub.com/vitest-dev/vitest/commit/356db87b) - Deprecate `cache.dir` option - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5229](https://togithub.com/vitest-dev/vitest/issues/5229) [<samp>(d7e8b)</samp>](https://togithub.com/vitest-dev/vitest/commit/d7e8b53e) - **coverage**: - Support `--changed` option - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5314](https://togithub.com/vitest-dev/vitest/issues/5314) [<samp>(600b4)</samp>](https://togithub.com/vitest-dev/vitest/commit/600b44d6) - **vitest**: - Support `clearScreen` cli flag - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5241](https://togithub.com/vitest-dev/vitest/issues/5241) [<samp>(e1735)</samp>](https://togithub.com/vitest-dev/vitest/commit/e1735fb6) ##### 🐞 Bug Fixes - Repeatable `--project` option - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5265](https://togithub.com/vitest-dev/vitest/issues/5265) [<samp>(d1a06)</samp>](https://togithub.com/vitest-dev/vitest/commit/d1a06730) - `--inspect-brk` to pause before execution - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5355](https://togithub.com/vitest-dev/vitest/issues/5355) [<samp>(e77c5)</samp>](https://togithub.com/vitest-dev/vitest/commit/e77c553f) - Correct locations in test.each tasks - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(4f6e3)</samp>](https://togithub.com/vitest-dev/vitest/commit/4f6e39c1) - **api**: - Use resolvedUrls from devserver - by [@​saitonakamura](https://togithub.com/saitonakamura) and [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5289](https://togithub.com/vitest-dev/vitest/issues/5289) [<samp>(2fef5)</samp>](https://togithub.com/vitest-dev/vitest/commit/2fef5a7e) - **browser**: - Add `magic-string` to `optimizeDeps.include` - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5278](https://togithub.com/vitest-dev/vitest/issues/5278) [<samp>(8f04e)</samp>](https://togithub.com/vitest-dev/vitest/commit/8f04e798) - **coverage**: - Expensive regexp hangs v8 report generation - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5259](https://togithub.com/vitest-dev/vitest/issues/5259) [<samp>(d68a7)</samp>](https://togithub.com/vitest-dev/vitest/commit/d68a7390) - V8 to ignore type-only files - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5328](https://togithub.com/vitest-dev/vitest/issues/5328) [<samp>(c3eb8)</samp>](https://togithub.com/vitest-dev/vitest/commit/c3eb8deb) - Respect source maps of pre-transpiled sources - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5367](https://togithub.com/vitest-dev/vitest/issues/5367) [<samp>(6eda4)</samp>](https://togithub.com/vitest-dev/vitest/commit/6eda473f) - Prevent `reportsDirectory` from removing user's project - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5376](https://togithub.com/vitest-dev/vitest/issues/5376) [<samp>(07ec3)</samp>](https://togithub.com/vitest-dev/vitest/commit/07ec3779) - **expect**: - Show diff on `toContain/toMatch` assertion error - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5267](https://togithub.com/vitest-dev/vitest/issues/5267) [<samp>(8ee59)</samp>](https://togithub.com/vitest-dev/vitest/commit/8ee59f0d) - **forks**: - Wrap `defines` to support `undefined` values - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5284](https://togithub.com/vitest-dev/vitest/issues/5284) [<samp>(5b58b)</samp>](https://togithub.com/vitest-dev/vitest/commit/5b58b399) - **typecheck**: - Update get-tsconfig 4.7.3 to fix false circularity error - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5384](https://togithub.com/vitest-dev/vitest/issues/5384) [<samp>(bdc37)</samp>](https://togithub.com/vitest-dev/vitest/commit/bdc371ee) - **ui**: - Escape html in error diff - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5325](https://togithub.com/vitest-dev/vitest/issues/5325) [<samp>(ab60b)</samp>](https://togithub.com/vitest-dev/vitest/commit/ab60bf8d) - **vitest**: - Loosen `onConsoleLog` return type - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5337](https://togithub.com/vitest-dev/vitest/issues/5337) [<samp>(6d1b1)</samp>](https://togithub.com/vitest-dev/vitest/commit/6d1b1451) - Ensure restoring terminal cursor on close - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5292](https://togithub.com/vitest-dev/vitest/issues/5292) [<samp>(0bea2)</samp>](https://togithub.com/vitest-dev/vitest/commit/0bea2247) - Ignore timeout on websocket reporter rpc - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(38119)</samp>](https://togithub.com/vitest-dev/vitest/commit/38119b75) - Correctly override api with --no-api flag - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5386](https://togithub.com/vitest-dev/vitest/issues/5386) [<samp>(51d1d)</samp>](https://togithub.com/vitest-dev/vitest/commit/51d1d472) - Logs in `beforeAll` and `afterAll` - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5288](https://togithub.com/vitest-dev/vitest/issues/5288) [<samp>(ce5ca)</samp>](https://togithub.com/vitest-dev/vitest/commit/ce5ca6bf) - **workspace**: - Throw error when browser mode and `@vitest/coverage-v8` are used - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5250](https://togithub.com/vitest-dev/vitest/issues/5250) [<samp>(29f98)</samp>](https://togithub.com/vitest-dev/vitest/commit/29f98cd3) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.3.1...v1.4.0) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://togithub.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNDguMCIsInVwZGF0ZWRJblZlciI6IjM3LjI0OC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: repo-jeeves[bot] <106431701+repo-jeeves[bot]@users.noreply.github.com>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [vitest](https://togithub.com/vitest-dev/vitest) ([source](https://togithub.com/vitest-dev/vitest/tree/HEAD/packages/vitest)) | [`1.3.1` -> `1.4.0`](https://renovatebot.com/diffs/npm/vitest/1.3.1/1.4.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/1.3.1/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/1.3.1/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (vitest)</summary> ### [`v1.4.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.4.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.3.1...v1.4.0) ##### 🚀 Features - Throw error when using snapshot assertion with `not` - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5294](https://togithub.com/vitest-dev/vitest/issues/5294) [<samp>(b9d37)</samp>](https://togithub.com/vitest-dev/vitest/commit/b9d378f5) - Add a flag to include test location in tasks - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5342](https://togithub.com/vitest-dev/vitest/issues/5342) [<samp>(d627e)</samp>](https://togithub.com/vitest-dev/vitest/commit/d627e209) - **cli**: - Support wildcards in `--project` option - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5295](https://togithub.com/vitest-dev/vitest/issues/5295) [<samp>(201bd)</samp>](https://togithub.com/vitest-dev/vitest/commit/201bd067) - **config**: - Add `shuffle.files` and `shuffle.tests` options - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5281](https://togithub.com/vitest-dev/vitest/issues/5281) [<samp>(356db)</samp>](https://togithub.com/vitest-dev/vitest/commit/356db87b) - Deprecate `cache.dir` option - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5229](https://togithub.com/vitest-dev/vitest/issues/5229) [<samp>(d7e8b)</samp>](https://togithub.com/vitest-dev/vitest/commit/d7e8b53e) - **coverage**: - Support `--changed` option - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5314](https://togithub.com/vitest-dev/vitest/issues/5314) [<samp>(600b4)</samp>](https://togithub.com/vitest-dev/vitest/commit/600b44d6) - **vitest**: - Support `clearScreen` cli flag - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5241](https://togithub.com/vitest-dev/vitest/issues/5241) [<samp>(e1735)</samp>](https://togithub.com/vitest-dev/vitest/commit/e1735fb6) ##### 🐞 Bug Fixes - Repeatable `--project` option - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5265](https://togithub.com/vitest-dev/vitest/issues/5265) [<samp>(d1a06)</samp>](https://togithub.com/vitest-dev/vitest/commit/d1a06730) - `--inspect-brk` to pause before execution - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5355](https://togithub.com/vitest-dev/vitest/issues/5355) [<samp>(e77c5)</samp>](https://togithub.com/vitest-dev/vitest/commit/e77c553f) - Correct locations in test.each tasks - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(4f6e3)</samp>](https://togithub.com/vitest-dev/vitest/commit/4f6e39c1) - **api**: - Use resolvedUrls from devserver - by [@​saitonakamura](https://togithub.com/saitonakamura) and [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5289](https://togithub.com/vitest-dev/vitest/issues/5289) [<samp>(2fef5)</samp>](https://togithub.com/vitest-dev/vitest/commit/2fef5a7e) - **browser**: - Add `magic-string` to `optimizeDeps.include` - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5278](https://togithub.com/vitest-dev/vitest/issues/5278) [<samp>(8f04e)</samp>](https://togithub.com/vitest-dev/vitest/commit/8f04e798) - **coverage**: - Expensive regexp hangs v8 report generation - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5259](https://togithub.com/vitest-dev/vitest/issues/5259) [<samp>(d68a7)</samp>](https://togithub.com/vitest-dev/vitest/commit/d68a7390) - V8 to ignore type-only files - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5328](https://togithub.com/vitest-dev/vitest/issues/5328) [<samp>(c3eb8)</samp>](https://togithub.com/vitest-dev/vitest/commit/c3eb8deb) - Respect source maps of pre-transpiled sources - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5367](https://togithub.com/vitest-dev/vitest/issues/5367) [<samp>(6eda4)</samp>](https://togithub.com/vitest-dev/vitest/commit/6eda473f) - Prevent `reportsDirectory` from removing user's project - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5376](https://togithub.com/vitest-dev/vitest/issues/5376) [<samp>(07ec3)</samp>](https://togithub.com/vitest-dev/vitest/commit/07ec3779) - **expect**: - Show diff on `toContain/toMatch` assertion error - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5267](https://togithub.com/vitest-dev/vitest/issues/5267) [<samp>(8ee59)</samp>](https://togithub.com/vitest-dev/vitest/commit/8ee59f0d) - **forks**: - Wrap `defines` to support `undefined` values - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5284](https://togithub.com/vitest-dev/vitest/issues/5284) [<samp>(5b58b)</samp>](https://togithub.com/vitest-dev/vitest/commit/5b58b399) - **typecheck**: - Update get-tsconfig 4.7.3 to fix false circularity error - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5384](https://togithub.com/vitest-dev/vitest/issues/5384) [<samp>(bdc37)</samp>](https://togithub.com/vitest-dev/vitest/commit/bdc371ee) - **ui**: - Escape html in error diff - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5325](https://togithub.com/vitest-dev/vitest/issues/5325) [<samp>(ab60b)</samp>](https://togithub.com/vitest-dev/vitest/commit/ab60bf8d) - **vitest**: - Loosen `onConsoleLog` return type - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5337](https://togithub.com/vitest-dev/vitest/issues/5337) [<samp>(6d1b1)</samp>](https://togithub.com/vitest-dev/vitest/commit/6d1b1451) - Ensure restoring terminal cursor on close - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5292](https://togithub.com/vitest-dev/vitest/issues/5292) [<samp>(0bea2)</samp>](https://togithub.com/vitest-dev/vitest/commit/0bea2247) - Ignore timeout on websocket reporter rpc - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(38119)</samp>](https://togithub.com/vitest-dev/vitest/commit/38119b75) - Correctly override api with --no-api flag - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5386](https://togithub.com/vitest-dev/vitest/issues/5386) [<samp>(51d1d)</samp>](https://togithub.com/vitest-dev/vitest/commit/51d1d472) - Logs in `beforeAll` and `afterAll` - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5288](https://togithub.com/vitest-dev/vitest/issues/5288) [<samp>(ce5ca)</samp>](https://togithub.com/vitest-dev/vitest/commit/ce5ca6bf) - **workspace**: - Throw error when browser mode and `@vitest/coverage-v8` are used - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5250](https://togithub.com/vitest-dev/vitest/issues/5250) [<samp>(29f98)</samp>](https://togithub.com/vitest-dev/vitest/commit/29f98cd3) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.3.1...v1.4.0) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/ariakit/ariakit). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNDUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI0NS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [vitest](https://togithub.com/vitest-dev/vitest) ([source](https://togithub.com/vitest-dev/vitest/tree/HEAD/packages/vitest)) | [`^1.3.1` -> `^1.4.0`](https://renovatebot.com/diffs/npm/vitest/1.3.1/1.4.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/1.3.1/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/1.3.1/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (vitest)</summary> ### [`v1.4.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.4.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.3.1...v1.4.0) ##### 🚀 Features - Throw error when using snapshot assertion with `not` - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5294](https://togithub.com/vitest-dev/vitest/issues/5294) [<samp>(b9d37)</samp>](https://togithub.com/vitest-dev/vitest/commit/b9d378f5) - Add a flag to include test location in tasks - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5342](https://togithub.com/vitest-dev/vitest/issues/5342) [<samp>(d627e)</samp>](https://togithub.com/vitest-dev/vitest/commit/d627e209) - **cli**: - Support wildcards in `--project` option - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5295](https://togithub.com/vitest-dev/vitest/issues/5295) [<samp>(201bd)</samp>](https://togithub.com/vitest-dev/vitest/commit/201bd067) - **config**: - Add `shuffle.files` and `shuffle.tests` options - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5281](https://togithub.com/vitest-dev/vitest/issues/5281) [<samp>(356db)</samp>](https://togithub.com/vitest-dev/vitest/commit/356db87b) - Deprecate `cache.dir` option - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5229](https://togithub.com/vitest-dev/vitest/issues/5229) [<samp>(d7e8b)</samp>](https://togithub.com/vitest-dev/vitest/commit/d7e8b53e) - **coverage**: - Support `--changed` option - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5314](https://togithub.com/vitest-dev/vitest/issues/5314) [<samp>(600b4)</samp>](https://togithub.com/vitest-dev/vitest/commit/600b44d6) - **vitest**: - Support `clearScreen` cli flag - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5241](https://togithub.com/vitest-dev/vitest/issues/5241) [<samp>(e1735)</samp>](https://togithub.com/vitest-dev/vitest/commit/e1735fb6) ##### 🐞 Bug Fixes - Repeatable `--project` option - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5265](https://togithub.com/vitest-dev/vitest/issues/5265) [<samp>(d1a06)</samp>](https://togithub.com/vitest-dev/vitest/commit/d1a06730) - `--inspect-brk` to pause before execution - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5355](https://togithub.com/vitest-dev/vitest/issues/5355) [<samp>(e77c5)</samp>](https://togithub.com/vitest-dev/vitest/commit/e77c553f) - Correct locations in test.each tasks - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(4f6e3)</samp>](https://togithub.com/vitest-dev/vitest/commit/4f6e39c1) - **api**: - Use resolvedUrls from devserver - by [@​saitonakamura](https://togithub.com/saitonakamura) and [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5289](https://togithub.com/vitest-dev/vitest/issues/5289) [<samp>(2fef5)</samp>](https://togithub.com/vitest-dev/vitest/commit/2fef5a7e) - **browser**: - Add `magic-string` to `optimizeDeps.include` - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5278](https://togithub.com/vitest-dev/vitest/issues/5278) [<samp>(8f04e)</samp>](https://togithub.com/vitest-dev/vitest/commit/8f04e798) - **coverage**: - Expensive regexp hangs v8 report generation - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5259](https://togithub.com/vitest-dev/vitest/issues/5259) [<samp>(d68a7)</samp>](https://togithub.com/vitest-dev/vitest/commit/d68a7390) - V8 to ignore type-only files - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5328](https://togithub.com/vitest-dev/vitest/issues/5328) [<samp>(c3eb8)</samp>](https://togithub.com/vitest-dev/vitest/commit/c3eb8deb) - Respect source maps of pre-transpiled sources - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5367](https://togithub.com/vitest-dev/vitest/issues/5367) [<samp>(6eda4)</samp>](https://togithub.com/vitest-dev/vitest/commit/6eda473f) - Prevent `reportsDirectory` from removing user's project - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5376](https://togithub.com/vitest-dev/vitest/issues/5376) [<samp>(07ec3)</samp>](https://togithub.com/vitest-dev/vitest/commit/07ec3779) - **expect**: - Show diff on `toContain/toMatch` assertion error - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5267](https://togithub.com/vitest-dev/vitest/issues/5267) [<samp>(8ee59)</samp>](https://togithub.com/vitest-dev/vitest/commit/8ee59f0d) - **forks**: - Wrap `defines` to support `undefined` values - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5284](https://togithub.com/vitest-dev/vitest/issues/5284) [<samp>(5b58b)</samp>](https://togithub.com/vitest-dev/vitest/commit/5b58b399) - **typecheck**: - Update get-tsconfig 4.7.3 to fix false circularity error - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5384](https://togithub.com/vitest-dev/vitest/issues/5384) [<samp>(bdc37)</samp>](https://togithub.com/vitest-dev/vitest/commit/bdc371ee) - **ui**: - Escape html in error diff - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5325](https://togithub.com/vitest-dev/vitest/issues/5325) [<samp>(ab60b)</samp>](https://togithub.com/vitest-dev/vitest/commit/ab60bf8d) - **vitest**: - Loosen `onConsoleLog` return type - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5337](https://togithub.com/vitest-dev/vitest/issues/5337) [<samp>(6d1b1)</samp>](https://togithub.com/vitest-dev/vitest/commit/6d1b1451) - Ensure restoring terminal cursor on close - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5292](https://togithub.com/vitest-dev/vitest/issues/5292) [<samp>(0bea2)</samp>](https://togithub.com/vitest-dev/vitest/commit/0bea2247) - Ignore timeout on websocket reporter rpc - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(38119)</samp>](https://togithub.com/vitest-dev/vitest/commit/38119b75) - Correctly override api with --no-api flag - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5386](https://togithub.com/vitest-dev/vitest/issues/5386) [<samp>(51d1d)</samp>](https://togithub.com/vitest-dev/vitest/commit/51d1d472) - Logs in `beforeAll` and `afterAll` - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5288](https://togithub.com/vitest-dev/vitest/issues/5288) [<samp>(ce5ca)</samp>](https://togithub.com/vitest-dev/vitest/commit/ce5ca6bf) - **workspace**: - Throw error when browser mode and `@vitest/coverage-v8` are used - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5250](https://togithub.com/vitest-dev/vitest/issues/5250) [<samp>(29f98)</samp>](https://togithub.com/vitest-dev/vitest/commit/29f98cd3) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.3.1...v1.4.0) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/ayushmanchhabra/vsx). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNDUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI0NS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [vitest](https://togithub.com/vitest-dev/vitest) ([source](https://togithub.com/vitest-dev/vitest/tree/HEAD/packages/vitest)) | [`^1.3.1` -> `^1.4.0`](https://renovatebot.com/diffs/npm/vitest/1.3.1/1.4.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/1.3.1/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/1.3.1/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (vitest)</summary> ### [`v1.4.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.4.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.3.1...v1.4.0) ##### 🚀 Features - Throw error when using snapshot assertion with `not` - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5294](https://togithub.com/vitest-dev/vitest/issues/5294) [<samp>(b9d37)</samp>](https://togithub.com/vitest-dev/vitest/commit/b9d378f5) - Add a flag to include test location in tasks - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5342](https://togithub.com/vitest-dev/vitest/issues/5342) [<samp>(d627e)</samp>](https://togithub.com/vitest-dev/vitest/commit/d627e209) - **cli**: - Support wildcards in `--project` option - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5295](https://togithub.com/vitest-dev/vitest/issues/5295) [<samp>(201bd)</samp>](https://togithub.com/vitest-dev/vitest/commit/201bd067) - **config**: - Add `shuffle.files` and `shuffle.tests` options - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5281](https://togithub.com/vitest-dev/vitest/issues/5281) [<samp>(356db)</samp>](https://togithub.com/vitest-dev/vitest/commit/356db87b) - Deprecate `cache.dir` option - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5229](https://togithub.com/vitest-dev/vitest/issues/5229) [<samp>(d7e8b)</samp>](https://togithub.com/vitest-dev/vitest/commit/d7e8b53e) - **coverage**: - Support `--changed` option - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5314](https://togithub.com/vitest-dev/vitest/issues/5314) [<samp>(600b4)</samp>](https://togithub.com/vitest-dev/vitest/commit/600b44d6) - **vitest**: - Support `clearScreen` cli flag - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5241](https://togithub.com/vitest-dev/vitest/issues/5241) [<samp>(e1735)</samp>](https://togithub.com/vitest-dev/vitest/commit/e1735fb6) ##### 🐞 Bug Fixes - Repeatable `--project` option - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5265](https://togithub.com/vitest-dev/vitest/issues/5265) [<samp>(d1a06)</samp>](https://togithub.com/vitest-dev/vitest/commit/d1a06730) - `--inspect-brk` to pause before execution - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5355](https://togithub.com/vitest-dev/vitest/issues/5355) [<samp>(e77c5)</samp>](https://togithub.com/vitest-dev/vitest/commit/e77c553f) - Correct locations in test.each tasks - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(4f6e3)</samp>](https://togithub.com/vitest-dev/vitest/commit/4f6e39c1) - **api**: - Use resolvedUrls from devserver - by [@​saitonakamura](https://togithub.com/saitonakamura) and [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5289](https://togithub.com/vitest-dev/vitest/issues/5289) [<samp>(2fef5)</samp>](https://togithub.com/vitest-dev/vitest/commit/2fef5a7e) - **browser**: - Add `magic-string` to `optimizeDeps.include` - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5278](https://togithub.com/vitest-dev/vitest/issues/5278) [<samp>(8f04e)</samp>](https://togithub.com/vitest-dev/vitest/commit/8f04e798) - **coverage**: - Expensive regexp hangs v8 report generation - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5259](https://togithub.com/vitest-dev/vitest/issues/5259) [<samp>(d68a7)</samp>](https://togithub.com/vitest-dev/vitest/commit/d68a7390) - V8 to ignore type-only files - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5328](https://togithub.com/vitest-dev/vitest/issues/5328) [<samp>(c3eb8)</samp>](https://togithub.com/vitest-dev/vitest/commit/c3eb8deb) - Respect source maps of pre-transpiled sources - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5367](https://togithub.com/vitest-dev/vitest/issues/5367) [<samp>(6eda4)</samp>](https://togithub.com/vitest-dev/vitest/commit/6eda473f) - Prevent `reportsDirectory` from removing user's project - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5376](https://togithub.com/vitest-dev/vitest/issues/5376) [<samp>(07ec3)</samp>](https://togithub.com/vitest-dev/vitest/commit/07ec3779) - **expect**: - Show diff on `toContain/toMatch` assertion error - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5267](https://togithub.com/vitest-dev/vitest/issues/5267) [<samp>(8ee59)</samp>](https://togithub.com/vitest-dev/vitest/commit/8ee59f0d) - **forks**: - Wrap `defines` to support `undefined` values - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5284](https://togithub.com/vitest-dev/vitest/issues/5284) [<samp>(5b58b)</samp>](https://togithub.com/vitest-dev/vitest/commit/5b58b399) - **typecheck**: - Update get-tsconfig 4.7.3 to fix false circularity error - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5384](https://togithub.com/vitest-dev/vitest/issues/5384) [<samp>(bdc37)</samp>](https://togithub.com/vitest-dev/vitest/commit/bdc371ee) - **ui**: - Escape html in error diff - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5325](https://togithub.com/vitest-dev/vitest/issues/5325) [<samp>(ab60b)</samp>](https://togithub.com/vitest-dev/vitest/commit/ab60bf8d) - **vitest**: - Loosen `onConsoleLog` return type - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5337](https://togithub.com/vitest-dev/vitest/issues/5337) [<samp>(6d1b1)</samp>](https://togithub.com/vitest-dev/vitest/commit/6d1b1451) - Ensure restoring terminal cursor on close - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5292](https://togithub.com/vitest-dev/vitest/issues/5292) [<samp>(0bea2)</samp>](https://togithub.com/vitest-dev/vitest/commit/0bea2247) - Ignore timeout on websocket reporter rpc - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(38119)</samp>](https://togithub.com/vitest-dev/vitest/commit/38119b75) - Correctly override api with --no-api flag - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5386](https://togithub.com/vitest-dev/vitest/issues/5386) [<samp>(51d1d)</samp>](https://togithub.com/vitest-dev/vitest/commit/51d1d472) - Logs in `beforeAll` and `afterAll` - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5288](https://togithub.com/vitest-dev/vitest/issues/5288) [<samp>(ce5ca)</samp>](https://togithub.com/vitest-dev/vitest/commit/ce5ca6bf) - **workspace**: - Throw error when browser mode and `@vitest/coverage-v8` are used - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5250](https://togithub.com/vitest-dev/vitest/issues/5250) [<samp>(29f98)</samp>](https://togithub.com/vitest-dev/vitest/commit/29f98cd3) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.3.1...v1.4.0) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/fwouts/previewjs). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNDUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI0NS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@types/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)) | [`20.11.25` -> `20.11.28`](https://renovatebot.com/diffs/npm/@types%2fnode/20.11.25/20.11.28) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/20.11.28?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/20.11.28?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/20.11.25/20.11.28?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/20.11.25/20.11.28?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@vitest/coverage-v8](https://togithub.com/vitest-dev/vitest/tree/main/packages/coverage-v8#readme) ([source](https://togithub.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8)) | [`1.3.1` -> `1.4.0`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-v8/1.3.1/1.4.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-v8/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-v8/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-v8/1.3.1/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-v8/1.3.1/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@vue/test-utils](https://togithub.com/vuejs/test-utils) | [`2.4.4` -> `2.4.5`](https://renovatebot.com/diffs/npm/@vue%2ftest-utils/2.4.4/2.4.5) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vue%2ftest-utils/2.4.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vue%2ftest-utils/2.4.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vue%2ftest-utils/2.4.4/2.4.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vue%2ftest-utils/2.4.4/2.4.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [happy-dom](https://togithub.com/capricorn86/happy-dom) | [`13.7.0` -> `13.8.6`](https://renovatebot.com/diffs/npm/happy-dom/13.7.0/13.8.6) | [![age](https://developer.mend.io/api/mc/badges/age/npm/happy-dom/13.8.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/happy-dom/13.8.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/happy-dom/13.7.0/13.8.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/happy-dom/13.7.0/13.8.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [vite](https://vitejs.dev) ([source](https://togithub.com/vitejs/vite/tree/HEAD/packages/vite)) | [`5.1.5` -> `5.1.6`](https://renovatebot.com/diffs/npm/vite/5.1.5/5.1.6) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vite/5.1.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vite/5.1.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vite/5.1.5/5.1.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vite/5.1.5/5.1.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [vitest](https://togithub.com/vitest-dev/vitest) ([source](https://togithub.com/vitest-dev/vitest/tree/HEAD/packages/vitest)) | [`1.3.1` -> `1.4.0`](https://renovatebot.com/diffs/npm/vitest/1.3.1/1.4.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/1.3.1/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/1.3.1/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (@​vitest/coverage-v8)</summary> ### [`v1.4.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.4.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.3.1...v1.4.0) ##### 🚀 Features - Throw error when using snapshot assertion with `not` - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5294](https://togithub.com/vitest-dev/vitest/issues/5294) [<samp>(b9d37)</samp>](https://togithub.com/vitest-dev/vitest/commit/b9d378f5) - Add a flag to include test location in tasks - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5342](https://togithub.com/vitest-dev/vitest/issues/5342) [<samp>(d627e)</samp>](https://togithub.com/vitest-dev/vitest/commit/d627e209) - **cli**: - Support wildcards in `--project` option - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5295](https://togithub.com/vitest-dev/vitest/issues/5295) [<samp>(201bd)</samp>](https://togithub.com/vitest-dev/vitest/commit/201bd067) - **config**: - Add `shuffle.files` and `shuffle.tests` options - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5281](https://togithub.com/vitest-dev/vitest/issues/5281) [<samp>(356db)</samp>](https://togithub.com/vitest-dev/vitest/commit/356db87b) - Deprecate `cache.dir` option - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5229](https://togithub.com/vitest-dev/vitest/issues/5229) [<samp>(d7e8b)</samp>](https://togithub.com/vitest-dev/vitest/commit/d7e8b53e) - **coverage**: - Support `--changed` option - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5314](https://togithub.com/vitest-dev/vitest/issues/5314) [<samp>(600b4)</samp>](https://togithub.com/vitest-dev/vitest/commit/600b44d6) - **vitest**: - Support `clearScreen` cli flag - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5241](https://togithub.com/vitest-dev/vitest/issues/5241) [<samp>(e1735)</samp>](https://togithub.com/vitest-dev/vitest/commit/e1735fb6) ##### 🐞 Bug Fixes - Repeatable `--project` option - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5265](https://togithub.com/vitest-dev/vitest/issues/5265) [<samp>(d1a06)</samp>](https://togithub.com/vitest-dev/vitest/commit/d1a06730) - `--inspect-brk` to pause before execution - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5355](https://togithub.com/vitest-dev/vitest/issues/5355) [<samp>(e77c5)</samp>](https://togithub.com/vitest-dev/vitest/commit/e77c553f) - Correct locations in test.each tasks - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(4f6e3)</samp>](https://togithub.com/vitest-dev/vitest/commit/4f6e39c1) - **api**: - Use resolvedUrls from devserver - by [@​saitonakamura](https://togithub.com/saitonakamura) and [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5289](https://togithub.com/vitest-dev/vitest/issues/5289) [<samp>(2fef5)</samp>](https://togithub.com/vitest-dev/vitest/commit/2fef5a7e) - **browser**: - Add `magic-string` to `optimizeDeps.include` - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5278](https://togithub.com/vitest-dev/vitest/issues/5278) [<samp>(8f04e)</samp>](https://togithub.com/vitest-dev/vitest/commit/8f04e798) - **coverage**: - Expensive regexp hangs v8 report generation - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5259](https://togithub.com/vitest-dev/vitest/issues/5259) [<samp>(d68a7)</samp>](https://togithub.com/vitest-dev/vitest/commit/d68a7390) - V8 to ignore type-only files - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5328](https://togithub.com/vitest-dev/vitest/issues/5328) [<samp>(c3eb8)</samp>](https://togithub.com/vitest-dev/vitest/commit/c3eb8deb) - Respect source maps of pre-transpiled sources - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5367](https://togithub.com/vitest-dev/vitest/issues/5367) [<samp>(6eda4)</samp>](https://togithub.com/vitest-dev/vitest/commit/6eda473f) - Prevent `reportsDirectory` from removing user's project - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5376](https://togithub.com/vitest-dev/vitest/issues/5376) [<samp>(07ec3)</samp>](https://togithub.com/vitest-dev/vitest/commit/07ec3779) - **expect**: - Show diff on `toContain/toMatch` assertion error - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5267](https://togithub.com/vitest-dev/vitest/issues/5267) [<samp>(8ee59)</samp>](https://togithub.com/vitest-dev/vitest/commit/8ee59f0d) - **forks**: - Wrap `defines` to support `undefined` values - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5284](https://togithub.com/vitest-dev/vitest/issues/5284) [<samp>(5b58b)</samp>](https://togithub.com/vitest-dev/vitest/commit/5b58b399) - **typecheck**: - Update get-tsconfig 4.7.3 to fix false circularity error - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5384](https://togithub.com/vitest-dev/vitest/issues/5384) [<samp>(bdc37)</samp>](https://togithub.com/vitest-dev/vitest/commit/bdc371ee) - **ui**: - Escape html in error diff - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5325](https://togithub.com/vitest-dev/vitest/issues/5325) [<samp>(ab60b)</samp>](https://togithub.com/vitest-dev/vitest/commit/ab60bf8d) - **vitest**: - Loosen `onConsoleLog` return type - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5337](https://togithub.com/vitest-dev/vitest/issues/5337) [<samp>(6d1b1)</samp>](https://togithub.com/vitest-dev/vitest/commit/6d1b1451) - Ensure restoring terminal cursor on close - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5292](https://togithub.com/vitest-dev/vitest/issues/5292) [<samp>(0bea2)</samp>](https://togithub.com/vitest-dev/vitest/commit/0bea2247) - Ignore timeout on websocket reporter rpc - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(38119)</samp>](https://togithub.com/vitest-dev/vitest/commit/38119b75) - Correctly override api with --no-api flag - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5386](https://togithub.com/vitest-dev/vitest/issues/5386) [<samp>(51d1d)</samp>](https://togithub.com/vitest-dev/vitest/commit/51d1d472) - Logs in `beforeAll` and `afterAll` - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5288](https://togithub.com/vitest-dev/vitest/issues/5288) [<samp>(ce5ca)</samp>](https://togithub.com/vitest-dev/vitest/commit/ce5ca6bf) - **workspace**: - Throw error when browser mode and `@vitest/coverage-v8` are used - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5250](https://togithub.com/vitest-dev/vitest/issues/5250) [<samp>(29f98)</samp>](https://togithub.com/vitest-dev/vitest/commit/29f98cd3) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.3.1...v1.4.0) </details> <details> <summary>vuejs/test-utils (@​vue/test-utils)</summary> ### [`v2.4.5`](https://togithub.com/vuejs/test-utils/releases/tag/v2.4.5) [Compare Source](https://togithub.com/vuejs/test-utils/compare/v2.4.4...v2.4.5) #### What's Changed - feat: add teleport stub possibility, https://github.com/vuejs/test-ut… by [@​blizzardKv](https://togithub.com/blizzardKv) in [https://github.com/vuejs/test-utils/pull/2336](https://togithub.com/vuejs/test-utils/pull/2336) - fix(findComponent): Use correct vm for stubbed component with selector by [@​freakzlike](https://togithub.com/freakzlike) in [https://github.com/vuejs/test-utils/pull/2327](https://togithub.com/vuejs/test-utils/pull/2327) - fix(teleport.md): fix missed "global" key, https://github.com/vuejs/t… by [@​blizzardKv](https://togithub.com/blizzardKv) in [https://github.com/vuejs/test-utils/pull/2337](https://togithub.com/vuejs/test-utils/pull/2337) - fix(vue-router.md): update highlights when mocking real router by [@​dmoyadev](https://togithub.com/dmoyadev) in [https://github.com/vuejs/test-utils/pull/2340](https://togithub.com/vuejs/test-utils/pull/2340) - fix(deps): update dependency vue-component-type-helpers to v2 by [@​renovate](https://togithub.com/renovate) in [https://github.com/vuejs/test-utils/pull/2358](https://togithub.com/vuejs/test-utils/pull/2358) - fix: Allow access to nested computed values (fix [#​2196](https://togithub.com/vuejs/test-utils/issues/2196)) by [@​Evobaso-J](https://togithub.com/Evobaso-J) in [https://github.com/vuejs/test-utils/pull/2356](https://togithub.com/vuejs/test-utils/pull/2356) - docs: add mention of enableAutoDestroy replacement by [@​strokirk](https://togithub.com/strokirk) in [https://github.com/vuejs/test-utils/pull/2344](https://togithub.com/vuejs/test-utils/pull/2344) #### New Contributors - [@​blizzardKv](https://togithub.com/blizzardKv) made their first contribution in [https://github.com/vuejs/test-utils/pull/2336](https://togithub.com/vuejs/test-utils/pull/2336) - [@​dmoyadev](https://togithub.com/dmoyadev) made their first contribution in [https://github.com/vuejs/test-utils/pull/2340](https://togithub.com/vuejs/test-utils/pull/2340) - [@​strokirk](https://togithub.com/strokirk) made their first contribution in [https://github.com/vuejs/test-utils/pull/2344](https://togithub.com/vuejs/test-utils/pull/2344) - [@​Evobaso-J](https://togithub.com/Evobaso-J) made their first contribution in [https://github.com/vuejs/test-utils/pull/2356](https://togithub.com/vuejs/test-utils/pull/2356) - [@​qmonmert](https://togithub.com/qmonmert) made their first contribution in [https://github.com/vuejs/test-utils/pull/2364](https://togithub.com/vuejs/test-utils/pull/2364) **Full Changelog**: vuejs/test-utils@v2.4.4...v2.4.5 </details> <details> <summary>capricorn86/happy-dom (happy-dom)</summary> ### [`v13.8.6`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.8.6) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.8.5...v13.8.6) ##### 👷♂️ Patch fixes - Fixes bug related to multiple fallbacks to CSS variables being set incorrectly - By **[@​odanado](https://togithub.com/odanado)** in task [#​1308](https://togithub.com/capricorn86/happy-dom/issues/1308) ### [`v13.8.5`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.8.5) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.8.4...v13.8.5) ##### 👷♂️ Patch fixes - Fixes problem related to invalid pseudo query selectors matching elements (e.g. ":before" should only match the pseudo element and not the actual element) - By **[@​capricorn86](https://togithub.com/capricorn86)** in task [#​1122](https://togithub.com/capricorn86/happy-dom/issues/1122) - Adds support for using multiple pseudo query selectors (e.g. ":first-of-type:last-of-type") - By **[@​capricorn86](https://togithub.com/capricorn86)** in task [#​1122](https://togithub.com/capricorn86/happy-dom/issues/1122) - Fixes minor typo in `HTMLElementConfig` - By **[@​danbentley](https://togithub.com/danbentley)** in task [#​1306](https://togithub.com/capricorn86/happy-dom/issues/1306) ### [`v13.8.4`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.8.4) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.8.3...v13.8.4) ##### 👷♂️ Patch fixes - Adds support for returning URL relative to window location in `HTMLLinkElement.href`, `HTMLImageElement.src` and `HTMLScriptElement.src` - By **[@​capricorn86](https://togithub.com/capricorn86)** in task [#​1135](https://togithub.com/capricorn86/happy-dom/issues/1135) ### [`v13.8.3`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.8.3) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.8.2...v13.8.3) ##### 👷♂️ Patch fixes - Fixes problem where some elements (e.g. `<li>`, `<h1>` or `<table>`) doesn't allow itself as direct descendant when parsing HTML, but should allow itself as descendant when it is not at first level - By **[@​capricorn86](https://togithub.com/capricorn86)** in task [#​1039](https://togithub.com/capricorn86/happy-dom/issues/1039) ### [`v13.8.2`](https://togithub.com/capricorn86/happy-dom/compare/v13.8.1...4970c699d07d97c4a9839e25c831eef230445abf) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.8.1...v13.8.2) ### [`v13.8.1`](https://togithub.com/capricorn86/happy-dom/compare/v13.8.0...08cd42601d62f39d42d01d902a56d2441f7128e0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.8.0...v13.8.1) ### [`v13.8.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.8.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.7.8...v13.8.0) ##### 🎨 Features - Adds support for Element.scrollIntoView - By **[@​capricorn86](https://togithub.com/capricorn86)** in task [#​1051](https://togithub.com/capricorn86/happy-dom/issues/1051) ### [`v13.7.8`](https://togithub.com/capricorn86/happy-dom/compare/v13.7.7...0dfe51d6006c09b2f12ec2ec4f15858ae6450060) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.7.7...v13.7.8) ### [`v13.7.7`](https://togithub.com/capricorn86/happy-dom/compare/v13.7.6...v13.7.7) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.7.6...v13.7.7) ### [`v13.7.6`](https://togithub.com/capricorn86/happy-dom/compare/v13.7.5...54d1ae080f4e91ae09bb586ad01f82050cf5db15) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.7.5...v13.7.6) ### [`v13.7.5`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.7.5) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.7.4...v13.7.5) ##### 👷♂️ Patch fixes - Modify option node to return empty string even if the value is empty string - In task [#​1138](https://togithub.com/capricorn86/happy-dom/issues/1138) ### [`v13.7.4`](https://togithub.com/capricorn86/happy-dom/compare/v13.7.3...16396f9d1f114ad70c926f56da40a31382aeabcb) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.7.3...v13.7.4) ### [`v13.7.3`](https://togithub.com/capricorn86/happy-dom/compare/v13.7.2...1bd90205d67aa78de52ea5d1ebb3c8f8db2364af) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.7.2...v13.7.3) ### [`v13.7.2`](https://togithub.com/capricorn86/happy-dom/compare/v13.7.1...3b4339d709bb9b097a8302996dc4af356f496e1a) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.7.1...v13.7.2) ### [`v13.7.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.7.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.7.0...v13.7.1) ##### 👷♂️ Patch fixes - Adds support for cloning body in `Response.clone()` - By **[@​cprecioso](https://togithub.com/cprecioso)** in task [#​1216](https://togithub.com/capricorn86/happy-dom/issues/1216) </details> <details> <summary>vitejs/vite (vite)</summary> ### [`v5.1.6`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small516-2024-03-11-small) [Compare Source](https://togithub.com/vitejs/vite/compare/v5.1.5...v5.1.6) - chore(deps): update all non-major dependencies ([#​16131](https://togithub.com/vitejs/vite/issues/16131)) ([a862ecb](https://togithub.com/vitejs/vite/commit/a862ecb)), closes [#​16131](https://togithub.com/vitejs/vite/issues/16131) - fix: check for publicDir before checking if it is a parent directory ([#​16046](https://togithub.com/vitejs/vite/issues/16046)) ([b6fb323](https://togithub.com/vitejs/vite/commit/b6fb323)), closes [#​16046](https://togithub.com/vitejs/vite/issues/16046) - fix: escape single quote when relative base is used ([#​16060](https://togithub.com/vitejs/vite/issues/16060)) ([8f74ce4](https://togithub.com/vitejs/vite/commit/8f74ce4)), closes [#​16060](https://togithub.com/vitejs/vite/issues/16060) - fix: handle function property extension in namespace import ([#​16113](https://togithub.com/vitejs/vite/issues/16113)) ([f699194](https://togithub.com/vitejs/vite/commit/f699194)), closes [#​16113](https://togithub.com/vitejs/vite/issues/16113) - fix: server middleware mode resolve ([#​16122](https://togithub.com/vitejs/vite/issues/16122)) ([8403546](https://togithub.com/vitejs/vite/commit/8403546)), closes [#​16122](https://togithub.com/vitejs/vite/issues/16122) - fix(esbuild): update tsconfck to fix bug that could cause a deadlock ([#​16124](https://togithub.com/vitejs/vite/issues/16124)) ([fd9de04](https://togithub.com/vitejs/vite/commit/fd9de04)), closes [#​16124](https://togithub.com/vitejs/vite/issues/16124) - fix(worker): hide "The emitted file overwrites" warning if the content is same ([#​16094](https://togithub.com/vitejs/vite/issues/16094)) ([60dfa9e](https://togithub.com/vitejs/vite/commit/60dfa9e)), closes [#​16094](https://togithub.com/vitejs/vite/issues/16094) - fix(worker): throw error when circular worker import is detected and support self referencing worker ([eef9da1](https://togithub.com/vitejs/vite/commit/eef9da1)), closes [#​16103](https://togithub.com/vitejs/vite/issues/16103) - style(utils): remove null check ([#​16112](https://togithub.com/vitejs/vite/issues/16112)) ([0d2df52](https://togithub.com/vitejs/vite/commit/0d2df52)), closes [#​16112](https://togithub.com/vitejs/vite/issues/16112) - refactor(runtime): share more code between runtime and main bundle ([#​16063](https://togithub.com/vitejs/vite/issues/16063)) ([93be84e](https://togithub.com/vitejs/vite/commit/93be84e)), closes [#​16063](https://togithub.com/vitejs/vite/issues/16063) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" in timezone Europe/Helsinki, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/slipmatio/toolbelt). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNDUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI0NS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@types/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)) | [`20.11.25` -> `20.11.28`](https://renovatebot.com/diffs/npm/@types%2fnode/20.11.25/20.11.28) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/20.11.28?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/20.11.28?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/20.11.25/20.11.28?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/20.11.25/20.11.28?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@vitest/coverage-v8](https://togithub.com/vitest-dev/vitest/tree/main/packages/coverage-v8#readme) ([source](https://togithub.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8)) | [`1.3.1` -> `1.4.0`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-v8/1.3.1/1.4.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-v8/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-v8/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-v8/1.3.1/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-v8/1.3.1/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@vue/test-utils](https://togithub.com/vuejs/test-utils) | [`2.4.4` -> `2.4.5`](https://renovatebot.com/diffs/npm/@vue%2ftest-utils/2.4.4/2.4.5) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vue%2ftest-utils/2.4.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vue%2ftest-utils/2.4.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vue%2ftest-utils/2.4.4/2.4.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vue%2ftest-utils/2.4.4/2.4.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [happy-dom](https://togithub.com/capricorn86/happy-dom) | [`13.7.0` -> `13.8.6`](https://renovatebot.com/diffs/npm/happy-dom/13.7.0/13.8.6) | [![age](https://developer.mend.io/api/mc/badges/age/npm/happy-dom/13.8.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/happy-dom/13.8.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/happy-dom/13.7.0/13.8.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/happy-dom/13.7.0/13.8.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [vite](https://vitejs.dev) ([source](https://togithub.com/vitejs/vite/tree/HEAD/packages/vite)) | [`5.1.5` -> `5.1.6`](https://renovatebot.com/diffs/npm/vite/5.1.5/5.1.6) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vite/5.1.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vite/5.1.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vite/5.1.5/5.1.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vite/5.1.5/5.1.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [vitest](https://togithub.com/vitest-dev/vitest) ([source](https://togithub.com/vitest-dev/vitest/tree/HEAD/packages/vitest)) | [`1.3.1` -> `1.4.0`](https://renovatebot.com/diffs/npm/vitest/1.3.1/1.4.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/1.3.1/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/1.3.1/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (@​vitest/coverage-v8)</summary> ### [`v1.4.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.4.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.3.1...v1.4.0) ##### 🚀 Features - Throw error when using snapshot assertion with `not` - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5294](https://togithub.com/vitest-dev/vitest/issues/5294) [<samp>(b9d37)</samp>](https://togithub.com/vitest-dev/vitest/commit/b9d378f5) - Add a flag to include test location in tasks - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5342](https://togithub.com/vitest-dev/vitest/issues/5342) [<samp>(d627e)</samp>](https://togithub.com/vitest-dev/vitest/commit/d627e209) - **cli**: - Support wildcards in `--project` option - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5295](https://togithub.com/vitest-dev/vitest/issues/5295) [<samp>(201bd)</samp>](https://togithub.com/vitest-dev/vitest/commit/201bd067) - **config**: - Add `shuffle.files` and `shuffle.tests` options - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5281](https://togithub.com/vitest-dev/vitest/issues/5281) [<samp>(356db)</samp>](https://togithub.com/vitest-dev/vitest/commit/356db87b) - Deprecate `cache.dir` option - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5229](https://togithub.com/vitest-dev/vitest/issues/5229) [<samp>(d7e8b)</samp>](https://togithub.com/vitest-dev/vitest/commit/d7e8b53e) - **coverage**: - Support `--changed` option - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5314](https://togithub.com/vitest-dev/vitest/issues/5314) [<samp>(600b4)</samp>](https://togithub.com/vitest-dev/vitest/commit/600b44d6) - **vitest**: - Support `clearScreen` cli flag - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5241](https://togithub.com/vitest-dev/vitest/issues/5241) [<samp>(e1735)</samp>](https://togithub.com/vitest-dev/vitest/commit/e1735fb6) ##### 🐞 Bug Fixes - Repeatable `--project` option - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5265](https://togithub.com/vitest-dev/vitest/issues/5265) [<samp>(d1a06)</samp>](https://togithub.com/vitest-dev/vitest/commit/d1a06730) - `--inspect-brk` to pause before execution - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5355](https://togithub.com/vitest-dev/vitest/issues/5355) [<samp>(e77c5)</samp>](https://togithub.com/vitest-dev/vitest/commit/e77c553f) - Correct locations in test.each tasks - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(4f6e3)</samp>](https://togithub.com/vitest-dev/vitest/commit/4f6e39c1) - **api**: - Use resolvedUrls from devserver - by [@​saitonakamura](https://togithub.com/saitonakamura) and [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5289](https://togithub.com/vitest-dev/vitest/issues/5289) [<samp>(2fef5)</samp>](https://togithub.com/vitest-dev/vitest/commit/2fef5a7e) - **browser**: - Add `magic-string` to `optimizeDeps.include` - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5278](https://togithub.com/vitest-dev/vitest/issues/5278) [<samp>(8f04e)</samp>](https://togithub.com/vitest-dev/vitest/commit/8f04e798) - **coverage**: - Expensive regexp hangs v8 report generation - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5259](https://togithub.com/vitest-dev/vitest/issues/5259) [<samp>(d68a7)</samp>](https://togithub.com/vitest-dev/vitest/commit/d68a7390) - V8 to ignore type-only files - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5328](https://togithub.com/vitest-dev/vitest/issues/5328) [<samp>(c3eb8)</samp>](https://togithub.com/vitest-dev/vitest/commit/c3eb8deb) - Respect source maps of pre-transpiled sources - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5367](https://togithub.com/vitest-dev/vitest/issues/5367) [<samp>(6eda4)</samp>](https://togithub.com/vitest-dev/vitest/commit/6eda473f) - Prevent `reportsDirectory` from removing user's project - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5376](https://togithub.com/vitest-dev/vitest/issues/5376) [<samp>(07ec3)</samp>](https://togithub.com/vitest-dev/vitest/commit/07ec3779) - **expect**: - Show diff on `toContain/toMatch` assertion error - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5267](https://togithub.com/vitest-dev/vitest/issues/5267) [<samp>(8ee59)</samp>](https://togithub.com/vitest-dev/vitest/commit/8ee59f0d) - **forks**: - Wrap `defines` to support `undefined` values - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5284](https://togithub.com/vitest-dev/vitest/issues/5284) [<samp>(5b58b)</samp>](https://togithub.com/vitest-dev/vitest/commit/5b58b399) - **typecheck**: - Update get-tsconfig 4.7.3 to fix false circularity error - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5384](https://togithub.com/vitest-dev/vitest/issues/5384) [<samp>(bdc37)</samp>](https://togithub.com/vitest-dev/vitest/commit/bdc371ee) - **ui**: - Escape html in error diff - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5325](https://togithub.com/vitest-dev/vitest/issues/5325) [<samp>(ab60b)</samp>](https://togithub.com/vitest-dev/vitest/commit/ab60bf8d) - **vitest**: - Loosen `onConsoleLog` return type - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5337](https://togithub.com/vitest-dev/vitest/issues/5337) [<samp>(6d1b1)</samp>](https://togithub.com/vitest-dev/vitest/commit/6d1b1451) - Ensure restoring terminal cursor on close - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5292](https://togithub.com/vitest-dev/vitest/issues/5292) [<samp>(0bea2)</samp>](https://togithub.com/vitest-dev/vitest/commit/0bea2247) - Ignore timeout on websocket reporter rpc - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(38119)</samp>](https://togithub.com/vitest-dev/vitest/commit/38119b75) - Correctly override api with --no-api flag - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5386](https://togithub.com/vitest-dev/vitest/issues/5386) [<samp>(51d1d)</samp>](https://togithub.com/vitest-dev/vitest/commit/51d1d472) - Logs in `beforeAll` and `afterAll` - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5288](https://togithub.com/vitest-dev/vitest/issues/5288) [<samp>(ce5ca)</samp>](https://togithub.com/vitest-dev/vitest/commit/ce5ca6bf) - **workspace**: - Throw error when browser mode and `@vitest/coverage-v8` are used - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5250](https://togithub.com/vitest-dev/vitest/issues/5250) [<samp>(29f98)</samp>](https://togithub.com/vitest-dev/vitest/commit/29f98cd3) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.3.1...v1.4.0) </details> <details> <summary>vuejs/test-utils (@​vue/test-utils)</summary> ### [`v2.4.5`](https://togithub.com/vuejs/test-utils/releases/tag/v2.4.5) [Compare Source](https://togithub.com/vuejs/test-utils/compare/v2.4.4...v2.4.5) #### What's Changed - feat: add teleport stub possibility, https://github.com/vuejs/test-ut… by [@​blizzardKv](https://togithub.com/blizzardKv) in [https://github.com/vuejs/test-utils/pull/2336](https://togithub.com/vuejs/test-utils/pull/2336) - fix(findComponent): Use correct vm for stubbed component with selector by [@​freakzlike](https://togithub.com/freakzlike) in [https://github.com/vuejs/test-utils/pull/2327](https://togithub.com/vuejs/test-utils/pull/2327) - fix(teleport.md): fix missed "global" key, https://github.com/vuejs/t… by [@​blizzardKv](https://togithub.com/blizzardKv) in [https://github.com/vuejs/test-utils/pull/2337](https://togithub.com/vuejs/test-utils/pull/2337) - fix(vue-router.md): update highlights when mocking real router by [@​dmoyadev](https://togithub.com/dmoyadev) in [https://github.com/vuejs/test-utils/pull/2340](https://togithub.com/vuejs/test-utils/pull/2340) - fix(deps): update dependency vue-component-type-helpers to v2 by [@​renovate](https://togithub.com/renovate) in [https://github.com/vuejs/test-utils/pull/2358](https://togithub.com/vuejs/test-utils/pull/2358) - fix: Allow access to nested computed values (fix [#​2196](https://togithub.com/vuejs/test-utils/issues/2196)) by [@​Evobaso-J](https://togithub.com/Evobaso-J) in [https://github.com/vuejs/test-utils/pull/2356](https://togithub.com/vuejs/test-utils/pull/2356) - docs: add mention of enableAutoDestroy replacement by [@​strokirk](https://togithub.com/strokirk) in [https://github.com/vuejs/test-utils/pull/2344](https://togithub.com/vuejs/test-utils/pull/2344) #### New Contributors - [@​blizzardKv](https://togithub.com/blizzardKv) made their first contribution in [https://github.com/vuejs/test-utils/pull/2336](https://togithub.com/vuejs/test-utils/pull/2336) - [@​dmoyadev](https://togithub.com/dmoyadev) made their first contribution in [https://github.com/vuejs/test-utils/pull/2340](https://togithub.com/vuejs/test-utils/pull/2340) - [@​strokirk](https://togithub.com/strokirk) made their first contribution in [https://github.com/vuejs/test-utils/pull/2344](https://togithub.com/vuejs/test-utils/pull/2344) - [@​Evobaso-J](https://togithub.com/Evobaso-J) made their first contribution in [https://github.com/vuejs/test-utils/pull/2356](https://togithub.com/vuejs/test-utils/pull/2356) - [@​qmonmert](https://togithub.com/qmonmert) made their first contribution in [https://github.com/vuejs/test-utils/pull/2364](https://togithub.com/vuejs/test-utils/pull/2364) **Full Changelog**: vuejs/test-utils@v2.4.4...v2.4.5 </details> <details> <summary>capricorn86/happy-dom (happy-dom)</summary> ### [`v13.8.6`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.8.6) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.8.5...v13.8.6) ##### 👷♂️ Patch fixes - Fixes bug related to multiple fallbacks to CSS variables being set incorrectly - By **[@​odanado](https://togithub.com/odanado)** in task [#​1308](https://togithub.com/capricorn86/happy-dom/issues/1308) ### [`v13.8.5`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.8.5) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.8.4...v13.8.5) ##### 👷♂️ Patch fixes - Fixes problem related to invalid pseudo query selectors matching elements (e.g. ":before" should only match the pseudo element and not the actual element) - By **[@​capricorn86](https://togithub.com/capricorn86)** in task [#​1122](https://togithub.com/capricorn86/happy-dom/issues/1122) - Adds support for using multiple pseudo query selectors (e.g. ":first-of-type:last-of-type") - By **[@​capricorn86](https://togithub.com/capricorn86)** in task [#​1122](https://togithub.com/capricorn86/happy-dom/issues/1122) - Fixes minor typo in `HTMLElementConfig` - By **[@​danbentley](https://togithub.com/danbentley)** in task [#​1306](https://togithub.com/capricorn86/happy-dom/issues/1306) ### [`v13.8.4`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.8.4) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.8.3...v13.8.4) ##### 👷♂️ Patch fixes - Adds support for returning URL relative to window location in `HTMLLinkElement.href`, `HTMLImageElement.src` and `HTMLScriptElement.src` - By **[@​capricorn86](https://togithub.com/capricorn86)** in task [#​1135](https://togithub.com/capricorn86/happy-dom/issues/1135) ### [`v13.8.3`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.8.3) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.8.2...v13.8.3) ##### 👷♂️ Patch fixes - Fixes problem where some elements (e.g. `<li>`, `<h1>` or `<table>`) doesn't allow itself as direct descendant when parsing HTML, but should allow itself as descendant when it is not at first level - By **[@​capricorn86](https://togithub.com/capricorn86)** in task [#​1039](https://togithub.com/capricorn86/happy-dom/issues/1039) ### [`v13.8.2`](https://togithub.com/capricorn86/happy-dom/compare/v13.8.1...4970c699d07d97c4a9839e25c831eef230445abf) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.8.1...v13.8.2) ### [`v13.8.1`](https://togithub.com/capricorn86/happy-dom/compare/v13.8.0...08cd42601d62f39d42d01d902a56d2441f7128e0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.8.0...v13.8.1) ### [`v13.8.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.8.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.7.8...v13.8.0) ##### 🎨 Features - Adds support for Element.scrollIntoView - By **[@​capricorn86](https://togithub.com/capricorn86)** in task [#​1051](https://togithub.com/capricorn86/happy-dom/issues/1051) ### [`v13.7.8`](https://togithub.com/capricorn86/happy-dom/compare/v13.7.7...0dfe51d6006c09b2f12ec2ec4f15858ae6450060) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.7.7...v13.7.8) ### [`v13.7.7`](https://togithub.com/capricorn86/happy-dom/compare/v13.7.6...v13.7.7) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.7.6...v13.7.7) ### [`v13.7.6`](https://togithub.com/capricorn86/happy-dom/compare/v13.7.5...54d1ae080f4e91ae09bb586ad01f82050cf5db15) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.7.5...v13.7.6) ### [`v13.7.5`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.7.5) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.7.4...v13.7.5) ##### 👷♂️ Patch fixes - Modify option node to return empty string even if the value is empty string - In task [#​1138](https://togithub.com/capricorn86/happy-dom/issues/1138) ### [`v13.7.4`](https://togithub.com/capricorn86/happy-dom/compare/v13.7.3...16396f9d1f114ad70c926f56da40a31382aeabcb) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.7.3...v13.7.4) ### [`v13.7.3`](https://togithub.com/capricorn86/happy-dom/compare/v13.7.2...1bd90205d67aa78de52ea5d1ebb3c8f8db2364af) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.7.2...v13.7.3) ### [`v13.7.2`](https://togithub.com/capricorn86/happy-dom/compare/v13.7.1...3b4339d709bb9b097a8302996dc4af356f496e1a) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.7.1...v13.7.2) ### [`v13.7.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.7.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.7.0...v13.7.1) ##### 👷♂️ Patch fixes - Adds support for cloning body in `Response.clone()` - By **[@​cprecioso](https://togithub.com/cprecioso)** in task [#​1216](https://togithub.com/capricorn86/happy-dom/issues/1216) </details> <details> <summary>vitejs/vite (vite)</summary> ### [`v5.1.6`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small516-2024-03-11-small) [Compare Source](https://togithub.com/vitejs/vite/compare/v5.1.5...v5.1.6) - chore(deps): update all non-major dependencies ([#​16131](https://togithub.com/vitejs/vite/issues/16131)) ([a862ecb](https://togithub.com/vitejs/vite/commit/a862ecb)), closes [#​16131](https://togithub.com/vitejs/vite/issues/16131) - fix: check for publicDir before checking if it is a parent directory ([#​16046](https://togithub.com/vitejs/vite/issues/16046)) ([b6fb323](https://togithub.com/vitejs/vite/commit/b6fb323)), closes [#​16046](https://togithub.com/vitejs/vite/issues/16046) - fix: escape single quote when relative base is used ([#​16060](https://togithub.com/vitejs/vite/issues/16060)) ([8f74ce4](https://togithub.com/vitejs/vite/commit/8f74ce4)), closes [#​16060](https://togithub.com/vitejs/vite/issues/16060) - fix: handle function property extension in namespace import ([#​16113](https://togithub.com/vitejs/vite/issues/16113)) ([f699194](https://togithub.com/vitejs/vite/commit/f699194)), closes [#​16113](https://togithub.com/vitejs/vite/issues/16113) - fix: server middleware mode resolve ([#​16122](https://togithub.com/vitejs/vite/issues/16122)) ([8403546](https://togithub.com/vitejs/vite/commit/8403546)), closes [#​16122](https://togithub.com/vitejs/vite/issues/16122) - fix(esbuild): update tsconfck to fix bug that could cause a deadlock ([#​16124](https://togithub.com/vitejs/vite/issues/16124)) ([fd9de04](https://togithub.com/vitejs/vite/commit/fd9de04)), closes [#​16124](https://togithub.com/vitejs/vite/issues/16124) - fix(worker): hide "The emitted file overwrites" warning if the content is same ([#​16094](https://togithub.com/vitejs/vite/issues/16094)) ([60dfa9e](https://togithub.com/vitejs/vite/commit/60dfa9e)), closes [#​16094](https://togithub.com/vitejs/vite/issues/16094) - fix(worker): throw error when circular worker import is detected and support self referencing worker ([eef9da1](https://togithub.com/vitejs/vite/commit/eef9da1)), closes [#​16103](https://togithub.com/vitejs/vite/issues/16103) - style(utils): remove null check ([#​16112](https://togithub.com/vitejs/vite/issues/16112)) ([0d2df52](https://togithub.com/vitejs/vite/commit/0d2df52)), closes [#​16112](https://togithub.com/vitejs/vite/issues/16112) - refactor(runtime): share more code between runtime and main bundle ([#​16063](https://togithub.com/vitejs/vite/issues/16063)) ([93be84e](https://togithub.com/vitejs/vite/commit/93be84e)), closes [#​16063](https://togithub.com/vitejs/vite/issues/16063) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" in timezone Europe/Helsinki, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/slipmatio/ui). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNDUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI0NS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [vite-node](https://togithub.com/vitest-dev/vitest/blob/main/packages/vite-node#readme) ([source](https://togithub.com/vitest-dev/vitest/tree/HEAD/packages/vite-node)) | [`1.3.1` -> `1.4.0`](https://renovatebot.com/diffs/npm/vite-node/1.3.1/1.4.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vite-node/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vite-node/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vite-node/1.3.1/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vite-node/1.3.1/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (vite-node)</summary> ### [`v1.4.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.4.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.3.1...v1.4.0) ##### 🚀 Features - Throw error when using snapshot assertion with `not` - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5294](https://togithub.com/vitest-dev/vitest/issues/5294) [<samp>(b9d37)</samp>](https://togithub.com/vitest-dev/vitest/commit/b9d378f5) - Add a flag to include test location in tasks - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5342](https://togithub.com/vitest-dev/vitest/issues/5342) [<samp>(d627e)</samp>](https://togithub.com/vitest-dev/vitest/commit/d627e209) - **cli**: - Support wildcards in `--project` option - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5295](https://togithub.com/vitest-dev/vitest/issues/5295) [<samp>(201bd)</samp>](https://togithub.com/vitest-dev/vitest/commit/201bd067) - **config**: - Add `shuffle.files` and `shuffle.tests` options - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5281](https://togithub.com/vitest-dev/vitest/issues/5281) [<samp>(356db)</samp>](https://togithub.com/vitest-dev/vitest/commit/356db87b) - Deprecate `cache.dir` option - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5229](https://togithub.com/vitest-dev/vitest/issues/5229) [<samp>(d7e8b)</samp>](https://togithub.com/vitest-dev/vitest/commit/d7e8b53e) - **coverage**: - Support `--changed` option - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5314](https://togithub.com/vitest-dev/vitest/issues/5314) [<samp>(600b4)</samp>](https://togithub.com/vitest-dev/vitest/commit/600b44d6) - **vitest**: - Support `clearScreen` cli flag - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5241](https://togithub.com/vitest-dev/vitest/issues/5241) [<samp>(e1735)</samp>](https://togithub.com/vitest-dev/vitest/commit/e1735fb6) ##### 🐞 Bug Fixes - Repeatable `--project` option - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5265](https://togithub.com/vitest-dev/vitest/issues/5265) [<samp>(d1a06)</samp>](https://togithub.com/vitest-dev/vitest/commit/d1a06730) - `--inspect-brk` to pause before execution - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5355](https://togithub.com/vitest-dev/vitest/issues/5355) [<samp>(e77c5)</samp>](https://togithub.com/vitest-dev/vitest/commit/e77c553f) - Correct locations in test.each tasks - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(4f6e3)</samp>](https://togithub.com/vitest-dev/vitest/commit/4f6e39c1) - **api**: - Use resolvedUrls from devserver - by [@​saitonakamura](https://togithub.com/saitonakamura) and [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5289](https://togithub.com/vitest-dev/vitest/issues/5289) [<samp>(2fef5)</samp>](https://togithub.com/vitest-dev/vitest/commit/2fef5a7e) - **browser**: - Add `magic-string` to `optimizeDeps.include` - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5278](https://togithub.com/vitest-dev/vitest/issues/5278) [<samp>(8f04e)</samp>](https://togithub.com/vitest-dev/vitest/commit/8f04e798) - **coverage**: - Expensive regexp hangs v8 report generation - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5259](https://togithub.com/vitest-dev/vitest/issues/5259) [<samp>(d68a7)</samp>](https://togithub.com/vitest-dev/vitest/commit/d68a7390) - V8 to ignore type-only files - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5328](https://togithub.com/vitest-dev/vitest/issues/5328) [<samp>(c3eb8)</samp>](https://togithub.com/vitest-dev/vitest/commit/c3eb8deb) - Respect source maps of pre-transpiled sources - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5367](https://togithub.com/vitest-dev/vitest/issues/5367) [<samp>(6eda4)</samp>](https://togithub.com/vitest-dev/vitest/commit/6eda473f) - Prevent `reportsDirectory` from removing user's project - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5376](https://togithub.com/vitest-dev/vitest/issues/5376) [<samp>(07ec3)</samp>](https://togithub.com/vitest-dev/vitest/commit/07ec3779) - **expect**: - Show diff on `toContain/toMatch` assertion error - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5267](https://togithub.com/vitest-dev/vitest/issues/5267) [<samp>(8ee59)</samp>](https://togithub.com/vitest-dev/vitest/commit/8ee59f0d) - **forks**: - Wrap `defines` to support `undefined` values - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5284](https://togithub.com/vitest-dev/vitest/issues/5284) [<samp>(5b58b)</samp>](https://togithub.com/vitest-dev/vitest/commit/5b58b399) - **typecheck**: - Update get-tsconfig 4.7.3 to fix false circularity error - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5384](https://togithub.com/vitest-dev/vitest/issues/5384) [<samp>(bdc37)</samp>](https://togithub.com/vitest-dev/vitest/commit/bdc371ee) - **ui**: - Escape html in error diff - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5325](https://togithub.com/vitest-dev/vitest/issues/5325) [<samp>(ab60b)</samp>](https://togithub.com/vitest-dev/vitest/commit/ab60bf8d) - **vitest**: - Loosen `onConsoleLog` return type - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5337](https://togithub.com/vitest-dev/vitest/issues/5337) [<samp>(6d1b1)</samp>](https://togithub.com/vitest-dev/vitest/commit/6d1b1451) - Ensure restoring terminal cursor on close - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5292](https://togithub.com/vitest-dev/vitest/issues/5292) [<samp>(0bea2)</samp>](https://togithub.com/vitest-dev/vitest/commit/0bea2247) - Ignore timeout on websocket reporter rpc - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(38119)</samp>](https://togithub.com/vitest-dev/vitest/commit/38119b75) - Correctly override api with --no-api flag - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5386](https://togithub.com/vitest-dev/vitest/issues/5386) [<samp>(51d1d)</samp>](https://togithub.com/vitest-dev/vitest/commit/51d1d472) - Logs in `beforeAll` and `afterAll` - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5288](https://togithub.com/vitest-dev/vitest/issues/5288) [<samp>(ce5ca)</samp>](https://togithub.com/vitest-dev/vitest/commit/ce5ca6bf) - **workspace**: - Throw error when browser mode and `@vitest/coverage-v8` are used - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5250](https://togithub.com/vitest-dev/vitest/issues/5250) [<samp>(29f98)</samp>](https://togithub.com/vitest-dev/vitest/commit/29f98cd3) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.3.1...v1.4.0) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 5am every weekday" in timezone Europe/Berlin, Automerge - "after 10pm every weekday,before 5am every weekday" in timezone Europe/Berlin. 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Never, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/solid-design-system/solid). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNDUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI0NS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@vitest/coverage-v8](https://togithub.com/vitest-dev/vitest/tree/main/packages/coverage-v8#readme) ([source](https://togithub.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8)) | [`1.3.1` -> `1.4.0`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-v8/1.3.1/1.4.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-v8/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-v8/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-v8/1.3.1/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-v8/1.3.1/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (@​vitest/coverage-v8)</summary> ### [`v1.4.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.4.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.3.1...v1.4.0) ##### 🚀 Features - Throw error when using snapshot assertion with `not` - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5294](https://togithub.com/vitest-dev/vitest/issues/5294) [<samp>(b9d37)</samp>](https://togithub.com/vitest-dev/vitest/commit/b9d378f5) - Add a flag to include test location in tasks - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5342](https://togithub.com/vitest-dev/vitest/issues/5342) [<samp>(d627e)</samp>](https://togithub.com/vitest-dev/vitest/commit/d627e209) - **cli**: - Support wildcards in `--project` option - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5295](https://togithub.com/vitest-dev/vitest/issues/5295) [<samp>(201bd)</samp>](https://togithub.com/vitest-dev/vitest/commit/201bd067) - **config**: - Add `shuffle.files` and `shuffle.tests` options - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5281](https://togithub.com/vitest-dev/vitest/issues/5281) [<samp>(356db)</samp>](https://togithub.com/vitest-dev/vitest/commit/356db87b) - Deprecate `cache.dir` option - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5229](https://togithub.com/vitest-dev/vitest/issues/5229) [<samp>(d7e8b)</samp>](https://togithub.com/vitest-dev/vitest/commit/d7e8b53e) - **coverage**: - Support `--changed` option - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5314](https://togithub.com/vitest-dev/vitest/issues/5314) [<samp>(600b4)</samp>](https://togithub.com/vitest-dev/vitest/commit/600b44d6) - **vitest**: - Support `clearScreen` cli flag - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5241](https://togithub.com/vitest-dev/vitest/issues/5241) [<samp>(e1735)</samp>](https://togithub.com/vitest-dev/vitest/commit/e1735fb6) ##### 🐞 Bug Fixes - Repeatable `--project` option - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5265](https://togithub.com/vitest-dev/vitest/issues/5265) [<samp>(d1a06)</samp>](https://togithub.com/vitest-dev/vitest/commit/d1a06730) - `--inspect-brk` to pause before execution - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5355](https://togithub.com/vitest-dev/vitest/issues/5355) [<samp>(e77c5)</samp>](https://togithub.com/vitest-dev/vitest/commit/e77c553f) - Correct locations in test.each tasks - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(4f6e3)</samp>](https://togithub.com/vitest-dev/vitest/commit/4f6e39c1) - **api**: - Use resolvedUrls from devserver - by [@​saitonakamura](https://togithub.com/saitonakamura) and [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5289](https://togithub.com/vitest-dev/vitest/issues/5289) [<samp>(2fef5)</samp>](https://togithub.com/vitest-dev/vitest/commit/2fef5a7e) - **browser**: - Add `magic-string` to `optimizeDeps.include` - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5278](https://togithub.com/vitest-dev/vitest/issues/5278) [<samp>(8f04e)</samp>](https://togithub.com/vitest-dev/vitest/commit/8f04e798) - **coverage**: - Expensive regexp hangs v8 report generation - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5259](https://togithub.com/vitest-dev/vitest/issues/5259) [<samp>(d68a7)</samp>](https://togithub.com/vitest-dev/vitest/commit/d68a7390) - V8 to ignore type-only files - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5328](https://togithub.com/vitest-dev/vitest/issues/5328) [<samp>(c3eb8)</samp>](https://togithub.com/vitest-dev/vitest/commit/c3eb8deb) - Respect source maps of pre-transpiled sources - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5367](https://togithub.com/vitest-dev/vitest/issues/5367) [<samp>(6eda4)</samp>](https://togithub.com/vitest-dev/vitest/commit/6eda473f) - Prevent `reportsDirectory` from removing user's project - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5376](https://togithub.com/vitest-dev/vitest/issues/5376) [<samp>(07ec3)</samp>](https://togithub.com/vitest-dev/vitest/commit/07ec3779) - **expect**: - Show diff on `toContain/toMatch` assertion error - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5267](https://togithub.com/vitest-dev/vitest/issues/5267) [<samp>(8ee59)</samp>](https://togithub.com/vitest-dev/vitest/commit/8ee59f0d) - **forks**: - Wrap `defines` to support `undefined` values - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5284](https://togithub.com/vitest-dev/vitest/issues/5284) [<samp>(5b58b)</samp>](https://togithub.com/vitest-dev/vitest/commit/5b58b399) - **typecheck**: - Update get-tsconfig 4.7.3 to fix false circularity error - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5384](https://togithub.com/vitest-dev/vitest/issues/5384) [<samp>(bdc37)</samp>](https://togithub.com/vitest-dev/vitest/commit/bdc371ee) - **ui**: - Escape html in error diff - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5325](https://togithub.com/vitest-dev/vitest/issues/5325) [<samp>(ab60b)</samp>](https://togithub.com/vitest-dev/vitest/commit/ab60bf8d) - **vitest**: - Loosen `onConsoleLog` return type - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5337](https://togithub.com/vitest-dev/vitest/issues/5337) [<samp>(6d1b1)</samp>](https://togithub.com/vitest-dev/vitest/commit/6d1b1451) - Ensure restoring terminal cursor on close - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5292](https://togithub.com/vitest-dev/vitest/issues/5292) [<samp>(0bea2)</samp>](https://togithub.com/vitest-dev/vitest/commit/0bea2247) - Ignore timeout on websocket reporter rpc - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(38119)</samp>](https://togithub.com/vitest-dev/vitest/commit/38119b75) - Correctly override api with --no-api flag - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5386](https://togithub.com/vitest-dev/vitest/issues/5386) [<samp>(51d1d)</samp>](https://togithub.com/vitest-dev/vitest/commit/51d1d472) - Logs in `beforeAll` and `afterAll` - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5288](https://togithub.com/vitest-dev/vitest/issues/5288) [<samp>(ce5ca)</samp>](https://togithub.com/vitest-dev/vitest/commit/ce5ca6bf) - **workspace**: - Throw error when browser mode and `@vitest/coverage-v8` are used - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5250](https://togithub.com/vitest-dev/vitest/issues/5250) [<samp>(29f98)</samp>](https://togithub.com/vitest-dev/vitest/commit/29f98cd3) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.3.1...v1.4.0) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/JoshuaKGoldberg/prune-github-notifications). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNDUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI0NS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@vitest/coverage-v8](https://togithub.com/vitest-dev/vitest/tree/main/packages/coverage-v8#readme) ([source](https://togithub.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8)) | [`1.3.1` -> `1.4.0`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-v8/1.3.1/1.4.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-v8/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-v8/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-v8/1.3.1/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-v8/1.3.1/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (@​vitest/coverage-v8)</summary> ### [`v1.4.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.4.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.3.1...v1.4.0) ##### 🚀 Features - Throw error when using snapshot assertion with `not` - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5294](https://togithub.com/vitest-dev/vitest/issues/5294) [<samp>(b9d37)</samp>](https://togithub.com/vitest-dev/vitest/commit/b9d378f5) - Add a flag to include test location in tasks - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5342](https://togithub.com/vitest-dev/vitest/issues/5342) [<samp>(d627e)</samp>](https://togithub.com/vitest-dev/vitest/commit/d627e209) - **cli**: - Support wildcards in `--project` option - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5295](https://togithub.com/vitest-dev/vitest/issues/5295) [<samp>(201bd)</samp>](https://togithub.com/vitest-dev/vitest/commit/201bd067) - **config**: - Add `shuffle.files` and `shuffle.tests` options - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5281](https://togithub.com/vitest-dev/vitest/issues/5281) [<samp>(356db)</samp>](https://togithub.com/vitest-dev/vitest/commit/356db87b) - Deprecate `cache.dir` option - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5229](https://togithub.com/vitest-dev/vitest/issues/5229) [<samp>(d7e8b)</samp>](https://togithub.com/vitest-dev/vitest/commit/d7e8b53e) - **coverage**: - Support `--changed` option - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5314](https://togithub.com/vitest-dev/vitest/issues/5314) [<samp>(600b4)</samp>](https://togithub.com/vitest-dev/vitest/commit/600b44d6) - **vitest**: - Support `clearScreen` cli flag - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5241](https://togithub.com/vitest-dev/vitest/issues/5241) [<samp>(e1735)</samp>](https://togithub.com/vitest-dev/vitest/commit/e1735fb6) ##### 🐞 Bug Fixes - Repeatable `--project` option - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5265](https://togithub.com/vitest-dev/vitest/issues/5265) [<samp>(d1a06)</samp>](https://togithub.com/vitest-dev/vitest/commit/d1a06730) - `--inspect-brk` to pause before execution - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5355](https://togithub.com/vitest-dev/vitest/issues/5355) [<samp>(e77c5)</samp>](https://togithub.com/vitest-dev/vitest/commit/e77c553f) - Correct locations in test.each tasks - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(4f6e3)</samp>](https://togithub.com/vitest-dev/vitest/commit/4f6e39c1) - **api**: - Use resolvedUrls from devserver - by [@​saitonakamura](https://togithub.com/saitonakamura) and [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5289](https://togithub.com/vitest-dev/vitest/issues/5289) [<samp>(2fef5)</samp>](https://togithub.com/vitest-dev/vitest/commit/2fef5a7e) - **browser**: - Add `magic-string` to `optimizeDeps.include` - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5278](https://togithub.com/vitest-dev/vitest/issues/5278) [<samp>(8f04e)</samp>](https://togithub.com/vitest-dev/vitest/commit/8f04e798) - **coverage**: - Expensive regexp hangs v8 report generation - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5259](https://togithub.com/vitest-dev/vitest/issues/5259) [<samp>(d68a7)</samp>](https://togithub.com/vitest-dev/vitest/commit/d68a7390) - V8 to ignore type-only files - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5328](https://togithub.com/vitest-dev/vitest/issues/5328) [<samp>(c3eb8)</samp>](https://togithub.com/vitest-dev/vitest/commit/c3eb8deb) - Respect source maps of pre-transpiled sources - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5367](https://togithub.com/vitest-dev/vitest/issues/5367) [<samp>(6eda4)</samp>](https://togithub.com/vitest-dev/vitest/commit/6eda473f) - Prevent `reportsDirectory` from removing user's project - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5376](https://togithub.com/vitest-dev/vitest/issues/5376) [<samp>(07ec3)</samp>](https://togithub.com/vitest-dev/vitest/commit/07ec3779) - **expect**: - Show diff on `toContain/toMatch` assertion error - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5267](https://togithub.com/vitest-dev/vitest/issues/5267) [<samp>(8ee59)</samp>](https://togithub.com/vitest-dev/vitest/commit/8ee59f0d) - **forks**: - Wrap `defines` to support `undefined` values - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5284](https://togithub.com/vitest-dev/vitest/issues/5284) [<samp>(5b58b)</samp>](https://togithub.com/vitest-dev/vitest/commit/5b58b399) - **typecheck**: - Update get-tsconfig 4.7.3 to fix false circularity error - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5384](https://togithub.com/vitest-dev/vitest/issues/5384) [<samp>(bdc37)</samp>](https://togithub.com/vitest-dev/vitest/commit/bdc371ee) - **ui**: - Escape html in error diff - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5325](https://togithub.com/vitest-dev/vitest/issues/5325) [<samp>(ab60b)</samp>](https://togithub.com/vitest-dev/vitest/commit/ab60bf8d) - **vitest**: - Loosen `onConsoleLog` return type - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5337](https://togithub.com/vitest-dev/vitest/issues/5337) [<samp>(6d1b1)</samp>](https://togithub.com/vitest-dev/vitest/commit/6d1b1451) - Ensure restoring terminal cursor on close - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5292](https://togithub.com/vitest-dev/vitest/issues/5292) [<samp>(0bea2)</samp>](https://togithub.com/vitest-dev/vitest/commit/0bea2247) - Ignore timeout on websocket reporter rpc - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(38119)</samp>](https://togithub.com/vitest-dev/vitest/commit/38119b75) - Correctly override api with --no-api flag - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5386](https://togithub.com/vitest-dev/vitest/issues/5386) [<samp>(51d1d)</samp>](https://togithub.com/vitest-dev/vitest/commit/51d1d472) - Logs in `beforeAll` and `afterAll` - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5288](https://togithub.com/vitest-dev/vitest/issues/5288) [<samp>(ce5ca)</samp>](https://togithub.com/vitest-dev/vitest/commit/ce5ca6bf) - **workspace**: - Throw error when browser mode and `@vitest/coverage-v8` are used - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5250](https://togithub.com/vitest-dev/vitest/issues/5250) [<samp>(29f98)</samp>](https://togithub.com/vitest-dev/vitest/commit/29f98cd3) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.3.1...v1.4.0) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/JoshuaKGoldberg/should-semantic-release). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNDUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI0NS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@vitest/coverage-v8](https://togithub.com/vitest-dev/vitest/tree/main/packages/coverage-v8#readme) ([source](https://togithub.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8)) | [`1.3.1` -> `1.4.0`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-v8/1.3.1/1.4.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-v8/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-v8/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-v8/1.3.1/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-v8/1.3.1/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (@​vitest/coverage-v8)</summary> ### [`v1.4.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.4.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.3.1...v1.4.0) ##### 🚀 Features - Throw error when using snapshot assertion with `not` - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5294](https://togithub.com/vitest-dev/vitest/issues/5294) [<samp>(b9d37)</samp>](https://togithub.com/vitest-dev/vitest/commit/b9d378f5) - Add a flag to include test location in tasks - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5342](https://togithub.com/vitest-dev/vitest/issues/5342) [<samp>(d627e)</samp>](https://togithub.com/vitest-dev/vitest/commit/d627e209) - **cli**: - Support wildcards in `--project` option - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5295](https://togithub.com/vitest-dev/vitest/issues/5295) [<samp>(201bd)</samp>](https://togithub.com/vitest-dev/vitest/commit/201bd067) - **config**: - Add `shuffle.files` and `shuffle.tests` options - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5281](https://togithub.com/vitest-dev/vitest/issues/5281) [<samp>(356db)</samp>](https://togithub.com/vitest-dev/vitest/commit/356db87b) - Deprecate `cache.dir` option - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5229](https://togithub.com/vitest-dev/vitest/issues/5229) [<samp>(d7e8b)</samp>](https://togithub.com/vitest-dev/vitest/commit/d7e8b53e) - **coverage**: - Support `--changed` option - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5314](https://togithub.com/vitest-dev/vitest/issues/5314) [<samp>(600b4)</samp>](https://togithub.com/vitest-dev/vitest/commit/600b44d6) - **vitest**: - Support `clearScreen` cli flag - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5241](https://togithub.com/vitest-dev/vitest/issues/5241) [<samp>(e1735)</samp>](https://togithub.com/vitest-dev/vitest/commit/e1735fb6) ##### 🐞 Bug Fixes - Repeatable `--project` option - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5265](https://togithub.com/vitest-dev/vitest/issues/5265) [<samp>(d1a06)</samp>](https://togithub.com/vitest-dev/vitest/commit/d1a06730) - `--inspect-brk` to pause before execution - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5355](https://togithub.com/vitest-dev/vitest/issues/5355) [<samp>(e77c5)</samp>](https://togithub.com/vitest-dev/vitest/commit/e77c553f) - Correct locations in test.each tasks - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(4f6e3)</samp>](https://togithub.com/vitest-dev/vitest/commit/4f6e39c1) - **api**: - Use resolvedUrls from devserver - by [@​saitonakamura](https://togithub.com/saitonakamura) and [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5289](https://togithub.com/vitest-dev/vitest/issues/5289) [<samp>(2fef5)</samp>](https://togithub.com/vitest-dev/vitest/commit/2fef5a7e) - **browser**: - Add `magic-string` to `optimizeDeps.include` - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5278](https://togithub.com/vitest-dev/vitest/issues/5278) [<samp>(8f04e)</samp>](https://togithub.com/vitest-dev/vitest/commit/8f04e798) - **coverage**: - Expensive regexp hangs v8 report generation - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5259](https://togithub.com/vitest-dev/vitest/issues/5259) [<samp>(d68a7)</samp>](https://togithub.com/vitest-dev/vitest/commit/d68a7390) - V8 to ignore type-only files - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5328](https://togithub.com/vitest-dev/vitest/issues/5328) [<samp>(c3eb8)</samp>](https://togithub.com/vitest-dev/vitest/commit/c3eb8deb) - Respect source maps of pre-transpiled sources - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5367](https://togithub.com/vitest-dev/vitest/issues/5367) [<samp>(6eda4)</samp>](https://togithub.com/vitest-dev/vitest/commit/6eda473f) - Prevent `reportsDirectory` from removing user's project - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5376](https://togithub.com/vitest-dev/vitest/issues/5376) [<samp>(07ec3)</samp>](https://togithub.com/vitest-dev/vitest/commit/07ec3779) - **expect**: - Show diff on `toContain/toMatch` assertion error - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5267](https://togithub.com/vitest-dev/vitest/issues/5267) [<samp>(8ee59)</samp>](https://togithub.com/vitest-dev/vitest/commit/8ee59f0d) - **forks**: - Wrap `defines` to support `undefined` values - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5284](https://togithub.com/vitest-dev/vitest/issues/5284) [<samp>(5b58b)</samp>](https://togithub.com/vitest-dev/vitest/commit/5b58b399) - **typecheck**: - Update get-tsconfig 4.7.3 to fix false circularity error - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5384](https://togithub.com/vitest-dev/vitest/issues/5384) [<samp>(bdc37)</samp>](https://togithub.com/vitest-dev/vitest/commit/bdc371ee) - **ui**: - Escape html in error diff - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5325](https://togithub.com/vitest-dev/vitest/issues/5325) [<samp>(ab60b)</samp>](https://togithub.com/vitest-dev/vitest/commit/ab60bf8d) - **vitest**: - Loosen `onConsoleLog` return type - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5337](https://togithub.com/vitest-dev/vitest/issues/5337) [<samp>(6d1b1)</samp>](https://togithub.com/vitest-dev/vitest/commit/6d1b1451) - Ensure restoring terminal cursor on close - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5292](https://togithub.com/vitest-dev/vitest/issues/5292) [<samp>(0bea2)</samp>](https://togithub.com/vitest-dev/vitest/commit/0bea2247) - Ignore timeout on websocket reporter rpc - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(38119)</samp>](https://togithub.com/vitest-dev/vitest/commit/38119b75) - Correctly override api with --no-api flag - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5386](https://togithub.com/vitest-dev/vitest/issues/5386) [<samp>(51d1d)</samp>](https://togithub.com/vitest-dev/vitest/commit/51d1d472) - Logs in `beforeAll` and `afterAll` - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5288](https://togithub.com/vitest-dev/vitest/issues/5288) [<samp>(ce5ca)</samp>](https://togithub.com/vitest-dev/vitest/commit/ce5ca6bf) - **workspace**: - Throw error when browser mode and `@vitest/coverage-v8` are used - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5250](https://togithub.com/vitest-dev/vitest/issues/5250) [<samp>(29f98)</samp>](https://togithub.com/vitest-dev/vitest/commit/29f98cd3) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.3.1...v1.4.0) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/JoshuaKGoldberg/are-docs-informative). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNDUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI0NS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@vitest/coverage-v8](https://togithub.com/vitest-dev/vitest/tree/main/packages/coverage-v8#readme) ([source](https://togithub.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8)) | [`1.3.1` -> `1.4.0`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-v8/1.3.1/1.4.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-v8/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-v8/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-v8/1.3.1/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-v8/1.3.1/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (@​vitest/coverage-v8)</summary> ### [`v1.4.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.4.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.3.1...v1.4.0) ##### 🚀 Features - Throw error when using snapshot assertion with `not` - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5294](https://togithub.com/vitest-dev/vitest/issues/5294) [<samp>(b9d37)</samp>](https://togithub.com/vitest-dev/vitest/commit/b9d378f5) - Add a flag to include test location in tasks - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5342](https://togithub.com/vitest-dev/vitest/issues/5342) [<samp>(d627e)</samp>](https://togithub.com/vitest-dev/vitest/commit/d627e209) - **cli**: - Support wildcards in `--project` option - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5295](https://togithub.com/vitest-dev/vitest/issues/5295) [<samp>(201bd)</samp>](https://togithub.com/vitest-dev/vitest/commit/201bd067) - **config**: - Add `shuffle.files` and `shuffle.tests` options - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5281](https://togithub.com/vitest-dev/vitest/issues/5281) [<samp>(356db)</samp>](https://togithub.com/vitest-dev/vitest/commit/356db87b) - Deprecate `cache.dir` option - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5229](https://togithub.com/vitest-dev/vitest/issues/5229) [<samp>(d7e8b)</samp>](https://togithub.com/vitest-dev/vitest/commit/d7e8b53e) - **coverage**: - Support `--changed` option - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5314](https://togithub.com/vitest-dev/vitest/issues/5314) [<samp>(600b4)</samp>](https://togithub.com/vitest-dev/vitest/commit/600b44d6) - **vitest**: - Support `clearScreen` cli flag - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5241](https://togithub.com/vitest-dev/vitest/issues/5241) [<samp>(e1735)</samp>](https://togithub.com/vitest-dev/vitest/commit/e1735fb6) ##### 🐞 Bug Fixes - Repeatable `--project` option - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5265](https://togithub.com/vitest-dev/vitest/issues/5265) [<samp>(d1a06)</samp>](https://togithub.com/vitest-dev/vitest/commit/d1a06730) - `--inspect-brk` to pause before execution - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5355](https://togithub.com/vitest-dev/vitest/issues/5355) [<samp>(e77c5)</samp>](https://togithub.com/vitest-dev/vitest/commit/e77c553f) - Correct locations in test.each tasks - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(4f6e3)</samp>](https://togithub.com/vitest-dev/vitest/commit/4f6e39c1) - **api**: - Use resolvedUrls from devserver - by [@​saitonakamura](https://togithub.com/saitonakamura) and [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5289](https://togithub.com/vitest-dev/vitest/issues/5289) [<samp>(2fef5)</samp>](https://togithub.com/vitest-dev/vitest/commit/2fef5a7e) - **browser**: - Add `magic-string` to `optimizeDeps.include` - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5278](https://togithub.com/vitest-dev/vitest/issues/5278) [<samp>(8f04e)</samp>](https://togithub.com/vitest-dev/vitest/commit/8f04e798) - **coverage**: - Expensive regexp hangs v8 report generation - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5259](https://togithub.com/vitest-dev/vitest/issues/5259) [<samp>(d68a7)</samp>](https://togithub.com/vitest-dev/vitest/commit/d68a7390) - V8 to ignore type-only files - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5328](https://togithub.com/vitest-dev/vitest/issues/5328) [<samp>(c3eb8)</samp>](https://togithub.com/vitest-dev/vitest/commit/c3eb8deb) - Respect source maps of pre-transpiled sources - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5367](https://togithub.com/vitest-dev/vitest/issues/5367) [<samp>(6eda4)</samp>](https://togithub.com/vitest-dev/vitest/commit/6eda473f) - Prevent `reportsDirectory` from removing user's project - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5376](https://togithub.com/vitest-dev/vitest/issues/5376) [<samp>(07ec3)</samp>](https://togithub.com/vitest-dev/vitest/commit/07ec3779) - **expect**: - Show diff on `toContain/toMatch` assertion error - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5267](https://togithub.com/vitest-dev/vitest/issues/5267) [<samp>(8ee59)</samp>](https://togithub.com/vitest-dev/vitest/commit/8ee59f0d) - **forks**: - Wrap `defines` to support `undefined` values - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5284](https://togithub.com/vitest-dev/vitest/issues/5284) [<samp>(5b58b)</samp>](https://togithub.com/vitest-dev/vitest/commit/5b58b399) - **typecheck**: - Update get-tsconfig 4.7.3 to fix false circularity error - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5384](https://togithub.com/vitest-dev/vitest/issues/5384) [<samp>(bdc37)</samp>](https://togithub.com/vitest-dev/vitest/commit/bdc371ee) - **ui**: - Escape html in error diff - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5325](https://togithub.com/vitest-dev/vitest/issues/5325) [<samp>(ab60b)</samp>](https://togithub.com/vitest-dev/vitest/commit/ab60bf8d) - **vitest**: - Loosen `onConsoleLog` return type - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5337](https://togithub.com/vitest-dev/vitest/issues/5337) [<samp>(6d1b1)</samp>](https://togithub.com/vitest-dev/vitest/commit/6d1b1451) - Ensure restoring terminal cursor on close - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5292](https://togithub.com/vitest-dev/vitest/issues/5292) [<samp>(0bea2)</samp>](https://togithub.com/vitest-dev/vitest/commit/0bea2247) - Ignore timeout on websocket reporter rpc - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(38119)</samp>](https://togithub.com/vitest-dev/vitest/commit/38119b75) - Correctly override api with --no-api flag - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5386](https://togithub.com/vitest-dev/vitest/issues/5386) [<samp>(51d1d)</samp>](https://togithub.com/vitest-dev/vitest/commit/51d1d472) - Logs in `beforeAll` and `afterAll` - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5288](https://togithub.com/vitest-dev/vitest/issues/5288) [<samp>(ce5ca)</samp>](https://togithub.com/vitest-dev/vitest/commit/ce5ca6bf) - **workspace**: - Throw error when browser mode and `@vitest/coverage-v8` are used - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5250](https://togithub.com/vitest-dev/vitest/issues/5250) [<samp>(29f98)</samp>](https://togithub.com/vitest-dev/vitest/commit/29f98cd3) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.3.1...v1.4.0) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/danvk/gravlax). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNDUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI0NS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@vitest/ui](https://togithub.com/vitest-dev/vitest/tree/main/packages/ui#readme) ([source](https://togithub.com/vitest-dev/vitest/tree/HEAD/packages/ui)) | [`1.3.1` -> `1.6.0`](https://renovatebot.com/diffs/npm/@vitest%2fui/1.3.1/1.6.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fui/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fui/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fui/1.3.1/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fui/1.3.1/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [vitest](https://togithub.com/vitest-dev/vitest) ([source](https://togithub.com/vitest-dev/vitest/tree/HEAD/packages/vitest)) | [`1.3.1` -> `1.6.0`](https://renovatebot.com/diffs/npm/vitest/1.3.1/1.6.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/1.3.1/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/1.3.1/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (@​vitest/ui)</summary> ### [`v1.6.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.6.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.5.3...v1.6.0) ##### 🚀 Features - Support standalone mode - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5565](https://togithub.com/vitest-dev/vitest/issues/5565) [<samp>(bdce0)</samp>](https://togithub.com/vitest-dev/vitest/commit/bdce0a29) - Custom "snapshotEnvironment" option - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5449](https://togithub.com/vitest-dev/vitest/issues/5449) [<samp>(30f72)</samp>](https://togithub.com/vitest-dev/vitest/commit/30f728bc) - **benchmark**: Support comparing benchmark result - by [@​hi-ogawa](https://togithub.com/hi-ogawa) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5398](https://togithub.com/vitest-dev/vitest/issues/5398) [<samp>(f8d3d)</samp>](https://togithub.com/vitest-dev/vitest/commit/f8d3d22e) - **browser**: Allow injecting scripts - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5656](https://togithub.com/vitest-dev/vitest/issues/5656) [<samp>(21e58)</samp>](https://togithub.com/vitest-dev/vitest/commit/21e58bd8) - **reporter**: Support `includeConsoleOutput` and `addFileAttribute` in junit - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5659](https://togithub.com/vitest-dev/vitest/issues/5659) [<samp>(2f913)</samp>](https://togithub.com/vitest-dev/vitest/commit/2f913222) - **ui**: Sort items by file name - by [@​btea](https://togithub.com/btea) in [https://github.com/vitest-dev/vitest/issues/5652](https://togithub.com/vitest-dev/vitest/issues/5652) [<samp>(1f726)</samp>](https://togithub.com/vitest-dev/vitest/commit/1f7268fa) ##### 🐞 Bug Fixes - Keep order of arguments for .each in custom task collectors - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5640](https://togithub.com/vitest-dev/vitest/issues/5640) [<samp>(7d57c)</samp>](https://togithub.com/vitest-dev/vitest/commit/7d57c116) - Call `resolveId('vitest')` after `buildStart` - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5646](https://togithub.com/vitest-dev/vitest/issues/5646) [<samp>(f5faf)</samp>](https://togithub.com/vitest-dev/vitest/commit/f5faf423) - Hash the name of the file when caching - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5654](https://togithub.com/vitest-dev/vitest/issues/5654) [<samp>(c9e68)</samp>](https://togithub.com/vitest-dev/vitest/commit/c9e68ced) - Don't panic on empty files in node_modules - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(40c29)</samp>](https://togithub.com/vitest-dev/vitest/commit/40c299fe) - Use `toJSON` for error serialization - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5526](https://togithub.com/vitest-dev/vitest/issues/5526) [<samp>(19a21)</samp>](https://togithub.com/vitest-dev/vitest/commit/19a21e49) - **coverage**: - Exclude `*.test-d.*` by default - by [@​MindfulPol](https://togithub.com/MindfulPol) in [https://github.com/vitest-dev/vitest/issues/5634](https://togithub.com/vitest-dev/vitest/issues/5634) [<samp>(bfe8a)</samp>](https://togithub.com/vitest-dev/vitest/commit/bfe8ad9d) - Apply `vite-node`'s wrapper only to executed files - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5642](https://togithub.com/vitest-dev/vitest/issues/5642) [<samp>(c9883)</samp>](https://togithub.com/vitest-dev/vitest/commit/c9883f3e) - **vm**: - Support network imports - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5610](https://togithub.com/vitest-dev/vitest/issues/5610) [<samp>(103a6)</samp>](https://togithub.com/vitest-dev/vitest/commit/103a6002) ##### 🏎 Performance - Improve performance of forks pool - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5592](https://togithub.com/vitest-dev/vitest/issues/5592) [<samp>(d8304)</samp>](https://togithub.com/vitest-dev/vitest/commit/d8304bb4) - Unnecessary rpc call when coverage is disabled - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5658](https://togithub.com/vitest-dev/vitest/issues/5658) [<samp>(c5712)</samp>](https://togithub.com/vitest-dev/vitest/commit/c571276a) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.5.3...v1.6.0) ### [`v1.5.3`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.5.3) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.5.2...v1.5.3) ##### 🐞 Bug Fixes - Use package.json name for a workspace project if not provided - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5608](https://togithub.com/vitest-dev/vitest/issues/5608) [<samp>(48fba)</samp>](https://togithub.com/vitest-dev/vitest/commit/48fba190) - Backport jest iterable equality within object - by [@​sukovanej](https://togithub.com/sukovanej) in [https://github.com/vitest-dev/vitest/issues/5621](https://togithub.com/vitest-dev/vitest/issues/5621) [<samp>(30e5d)</samp>](https://togithub.com/vitest-dev/vitest/commit/30e5dc1b) - **browser**: Support benchmark - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5622](https://togithub.com/vitest-dev/vitest/issues/5622) [<samp>(becab)</samp>](https://togithub.com/vitest-dev/vitest/commit/becabb5e) - **reporter**: Use default error formatter for JUnit - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5629](https://togithub.com/vitest-dev/vitest/issues/5629) [<samp>(20060)</samp>](https://togithub.com/vitest-dev/vitest/commit/200609cc) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.5.2...v1.5.3) ### [`v1.5.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.5.2) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.5.1...v1.5.2) ##### 🐞 Bug Fixes - Check for null before storing in weakmap - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(ce368)</samp>](https://togithub.com/vitest-dev/vitest/commit/ce368457) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.5.1...v1.5.2) ### [`v1.5.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.5.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.5.0...v1.5.1) ##### 🚀 Features - **api**: `startVitest()` to accept `stdout` and `stdin` - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5493](https://togithub.com/vitest-dev/vitest/issues/5493) [<samp>(780b1)</samp>](https://togithub.com/vitest-dev/vitest/commit/780b187f) - This is listed as a feature, but it doesn't increase the minor version because `startVitest` API is experimental and doesn't follow semver. ##### 🐞 Bug Fixes - Close vite servers on all resolved projects - by [@​surc54](https://togithub.com/surc54) in [https://github.com/vitest-dev/vitest/issues/5544](https://togithub.com/vitest-dev/vitest/issues/5544) [<samp>(413ec)</samp>](https://togithub.com/vitest-dev/vitest/commit/413ec5e6) - Fix default `import.meta.env.PROD: false` - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5561](https://togithub.com/vitest-dev/vitest/issues/5561) [<samp>(9c649)</samp>](https://togithub.com/vitest-dev/vitest/commit/9c64967f) - Resolve cwd correctly when initiating projects - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5582](https://togithub.com/vitest-dev/vitest/issues/5582) [<samp>(ec9d7)</samp>](https://togithub.com/vitest-dev/vitest/commit/ec9d7c93) - Always run `onTestFinished` in reverse order - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5598](https://togithub.com/vitest-dev/vitest/issues/5598) [<samp>(23f29)</samp>](https://togithub.com/vitest-dev/vitest/commit/23f29cea) - **browser**: - Disable `fileParallelism` by default on browser pool - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5528](https://togithub.com/vitest-dev/vitest/issues/5528) [<samp>(5c69f)</samp>](https://togithub.com/vitest-dev/vitest/commit/5c69f3f5) - Dispose tester iframe on done - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5595](https://togithub.com/vitest-dev/vitest/issues/5595) [<samp>(b2135)</samp>](https://togithub.com/vitest-dev/vitest/commit/b2135710) - **coverage**: - Fix bundling of `v8-to-istanbul` - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5549](https://togithub.com/vitest-dev/vitest/issues/5549) [<samp>(df6a4)</samp>](https://togithub.com/vitest-dev/vitest/commit/df6a4328) - Prevent crash when `cleanOnRerun` is disabled - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5540](https://togithub.com/vitest-dev/vitest/issues/5540) [<samp>(ea3c1)</samp>](https://togithub.com/vitest-dev/vitest/commit/ea3c16e4) - `thresholds` to compare files relative to root - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5574](https://togithub.com/vitest-dev/vitest/issues/5574) [<samp>(80265)</samp>](https://togithub.com/vitest-dev/vitest/commit/80265b40) - **expect**: - Fix `toEqual` and `toMatchObject` with circular references - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5535](https://togithub.com/vitest-dev/vitest/issues/5535) [<samp>(9e641)</samp>](https://togithub.com/vitest-dev/vitest/commit/9e6417c9) - **vitest**: - Fix false positive file filter match with leading slash - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5578](https://togithub.com/vitest-dev/vitest/issues/5578) [<samp>(316eb)</samp>](https://togithub.com/vitest-dev/vitest/commit/316eb739) - Watch the output directory correctly - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5584](https://togithub.com/vitest-dev/vitest/issues/5584) [<samp>(e40f9)</samp>](https://togithub.com/vitest-dev/vitest/commit/e40f9924) - StubEnv casts boolean on PROD/SSR/DEV - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5590](https://togithub.com/vitest-dev/vitest/issues/5590) [<samp>(4da88)</samp>](https://togithub.com/vitest-dev/vitest/commit/4da88045) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.5.0...v1.5.1) ### [`v1.5.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.5.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.4.0...v1.5.0) ##### 🚀 Features - Add configuration for diff truncation - by [@​willieho](https://togithub.com/willieho) in [https://github.com/vitest-dev/vitest/issues/5073](https://togithub.com/vitest-dev/vitest/issues/5073) and [https://github.com/vitest-dev/vitest/issues/5333](https://togithub.com/vitest-dev/vitest/issues/5333) [<samp>(6797b)</samp>](https://togithub.com/vitest-dev/vitest/commit/6797b041) - Remove unrelated noise from diff for toMatchObject() - by [@​geersch](https://togithub.com/geersch) in [https://github.com/vitest-dev/vitest/issues/5364](https://togithub.com/vitest-dev/vitest/issues/5364) [<samp>(99276)</samp>](https://togithub.com/vitest-dev/vitest/commit/99276399) - Allow custom host for --inspect and --inspect-brk - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5509](https://togithub.com/vitest-dev/vitest/issues/5509) [<samp>(61572)</samp>](https://togithub.com/vitest-dev/vitest/commit/6157282c) - **coverage**: V8 to ignore empty lines, comments, types - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5457](https://togithub.com/vitest-dev/vitest/issues/5457) [<samp>(10b89)</samp>](https://togithub.com/vitest-dev/vitest/commit/10b89713) ##### 🐞 Bug Fixes - `describe` calls not taking generic type parameters - by [@​aryaemami59](https://togithub.com/aryaemami59) in [https://github.com/vitest-dev/vitest/issues/5415](https://togithub.com/vitest-dev/vitest/issues/5415) [<samp>(16bac)</samp>](https://togithub.com/vitest-dev/vitest/commit/16bacfab) - Prevent hang when `process` is mocked - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5430](https://togithub.com/vitest-dev/vitest/issues/5430) [<samp>(0ec4d)</samp>](https://togithub.com/vitest-dev/vitest/commit/0ec4d0e0) - Don't check for "node:internal/console/" in console interceptor in case the environment is not Node.js - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(87d36)</samp>](https://togithub.com/vitest-dev/vitest/commit/87d36a7a) - The value received by toMatch should be a string - by [@​btea](https://togithub.com/btea) in [https://github.com/vitest-dev/vitest/issues/5428](https://togithub.com/vitest-dev/vitest/issues/5428) [<samp>(67485)</samp>](https://togithub.com/vitest-dev/vitest/commit/674851ca) - Increase stack trace limit for location, don't hardcode suite position - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5518](https://togithub.com/vitest-dev/vitest/issues/5518) [<samp>(04b23)</samp>](https://togithub.com/vitest-dev/vitest/commit/04b234d1) - **benchmark**: - Run benchmark suites sequentially - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5444](https://togithub.com/vitest-dev/vitest/issues/5444) [<samp>(1f548)</samp>](https://togithub.com/vitest-dev/vitest/commit/1f548340) - Fix benchmark summary of single bench suite - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5489](https://togithub.com/vitest-dev/vitest/issues/5489) [<samp>(db981)</samp>](https://togithub.com/vitest-dev/vitest/commit/db98145f) - Table reporter for non TTY output - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5484](https://togithub.com/vitest-dev/vitest/issues/5484) [<samp>(bea23)</samp>](https://togithub.com/vitest-dev/vitest/commit/bea234b1) - **expect**: - Fix `toHaveBeenNthCalledWith` error message when not called - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5420](https://togithub.com/vitest-dev/vitest/issues/5420) [<samp>(e5253)</samp>](https://togithub.com/vitest-dev/vitest/commit/e5253de4) - **types**: - Pass correct type for suite factory - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5437](https://togithub.com/vitest-dev/vitest/issues/5437) [<samp>(26718)</samp>](https://togithub.com/vitest-dev/vitest/commit/26718eb5) - **utils**: - Fix object diff with getter only property - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5466](https://togithub.com/vitest-dev/vitest/issues/5466) [<samp>(366d9)</samp>](https://togithub.com/vitest-dev/vitest/commit/366d97c3) - **vite-node**: - Fix `isValidNodeImport` to check `"type": "module"` first - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5416](https://togithub.com/vitest-dev/vitest/issues/5416) [<samp>(6fb15)</samp>](https://togithub.com/vitest-dev/vitest/commit/6fb15280) - **vitest**: - Correctly send console events when state changes - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(3463f)</samp>](https://togithub.com/vitest-dev/vitest/commit/3463f9bb) - Initiate FakeTimers on demand - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5450](https://togithub.com/vitest-dev/vitest/issues/5450) [<samp>(e4e93)</samp>](https://togithub.com/vitest-dev/vitest/commit/e4e939ba) - Check unhighlighted code for code frame line limit - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5465](https://togithub.com/vitest-dev/vitest/issues/5465) [<samp>(6ae7e)</samp>](https://togithub.com/vitest-dev/vitest/commit/6ae7eaa2) - Correctly filter by parent folder - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5408](https://togithub.com/vitest-dev/vitest/issues/5408) [<samp>(91b06)</samp>](https://togithub.com/vitest-dev/vitest/commit/91b06cce) - Close inspector immediately if run is canceled - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5519](https://togithub.com/vitest-dev/vitest/issues/5519) [<samp>(b8006)</samp>](https://togithub.com/vitest-dev/vitest/commit/b80062d7) - **workspace**: - Set CWD to config directory, allow overriding local .env - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5476](https://togithub.com/vitest-dev/vitest/issues/5476) [<samp>(d4003)</samp>](https://togithub.com/vitest-dev/vitest/commit/d4003882) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.4.0...v1.5.0) ### [`v1.4.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.4.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.3.1...v1.4.0) ##### 🚀 Features - Throw error when using snapshot assertion with `not` - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5294](https://togithub.com/vitest-dev/vitest/issues/5294) [<samp>(b9d37)</samp>](https://togithub.com/vitest-dev/vitest/commit/b9d378f5) - Add a flag to include test location in tasks - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5342](https://togithub.com/vitest-dev/vitest/issues/5342) [<samp>(d627e)</samp>](https://togithub.com/vitest-dev/vitest/commit/d627e209) - **cli**: - Support wildcards in `--project` option - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5295](https://togithub.com/vitest-dev/vitest/issues/5295) [<samp>(201bd)</samp>](https://togithub.com/vitest-dev/vitest/commit/201bd067) - **config**: - Add `shuffle.files` and `shuffle.tests` options - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5281](https://togithub.com/vitest-dev/vitest/issues/5281) [<samp>(356db)</samp>](https://togithub.com/vitest-dev/vitest/commit/356db87b) - Deprecate `cache.dir` option - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5229](https://togithub.com/vitest-dev/vitest/issues/5229) [<samp>(d7e8b)</samp>](https://togithub.com/vitest-dev/vitest/commit/d7e8b53e) - **coverage**: - Support `--changed` option - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5314](https://togithub.com/vitest-dev/vitest/issues/5314) [<samp>(600b4)</samp>](https://togithub.com/vitest-dev/vitest/commit/600b44d6) - **vitest**: - Support `clearScreen` cli flag - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5241](https://togithub.com/vitest-dev/vitest/issues/5241) [<samp>(e1735)</samp>](https://togithub.com/vitest-dev/vitest/commit/e1735fb6) ##### 🐞 Bug Fixes - Repeatable `--project` option - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5265](https://togithub.com/vitest-dev/vitest/issues/5265) [<samp>(d1a06)</samp>](https://togithub.com/vitest-dev/vitest/commit/d1a06730) - `--inspect-brk` to pause before execution - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5355](https://togithub.com/vitest-dev/vitest/issues/5355) [<samp>(e77c5)</samp>](https://togithub.com/vitest-dev/vitest/commit/e77c553f) - Correct locations in test.each tasks - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(4f6e3)</samp>](https://togithub.com/vitest-dev/vitest/commit/4f6e39c1) - **api**: - Use resolvedUrls from devserver - by [@​saitonakamura](https://togithub.com/saitonakamura) and [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5289](https://togithub.com/vitest-dev/vitest/issues/5289) [<samp>(2fef5)</samp>](https://togithub.com/vitest-dev/vitest/commit/2fef5a7e) - **browser**: - Add `magic-string` to `optimizeDeps.include` - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5278](https://togithub.com/vitest-dev/vitest/issues/5278) [<samp>(8f04e)</samp>](https://togithub.com/vitest-dev/vitest/commit/8f04e798) - **coverage**: - Expensive regexp hangs v8 report generation - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5259](https://togithub.com/vitest-dev/vitest/issues/5259) [<samp>(d68a7)</samp>](https://togithub.com/vitest-dev/vitest/commit/d68a7390) - V8 to ignore type-only files - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5328](https://togithub.com/vitest-dev/vitest/issues/5328) [<samp>(c3eb8)</samp>](https://togithub.com/vitest-dev/vitest/commit/c3eb8deb) - Respect source maps of pre-transpiled sources - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5367](https://togithub.com/vitest-dev/vitest/issues/5367) [<samp>(6eda4)</samp>](https://togithub.com/vitest-dev/vitest/commit/6eda473f) - Prevent `reportsDirectory` from removing user's project - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5376](https://togithub.com/vitest-dev/vitest/issues/5376) [<samp>(07ec3)</samp>](https://togithub.com/vitest-dev/vitest/commit/07ec3779) - **expect**: - Show diff on `toContain/toMatch` assertion error - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5267](https://togithub.com/vitest-dev/vitest/issues/5267) [<samp>(8ee59)</samp>](https://togithub.com/vitest-dev/vitest/commit/8ee59f0d) - **forks**: - Wrap `defines` to support `undefined` values - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5284](https://togithub.com/vitest-dev/vitest/issues/5284) [<samp>(5b58b)</samp>](https://togithub.com/vitest-dev/vitest/commit/5b58b399) - **typecheck**: - Update get-tsconfig 4.7.3 to fix false circularity error - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5384](https://togithub.com/vitest-dev/vitest/issues/5384) [<samp>(bdc37)</samp>](https://togithub.com/vitest-dev/vitest/commit/bdc371ee) - **ui**: - Escape html in error diff - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5325](https://togithub.com/vitest-dev/vitest/issues/5325) [<samp>(ab60b)</samp>](https://togithub.com/vitest-dev/vitest/commit/ab60bf8d) - **vitest**: - Loosen `onConsoleLog` return type - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5337](https://togithub.com/vitest-dev/vitest/issues/5337) [<samp>(6d1b1)</samp>](https://togithub.com/vitest-dev/vitest/commit/6d1b1451) - Ensure restoring terminal cursor on close - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5292](https://togithub.com/vitest-dev/vitest/issues/5292) [<samp>(0bea2)</samp>](https://togithub.com/vitest-dev/vitest/commit/0bea2247) - Ignore timeout on websocket reporter rpc - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(38119)</samp>](https://togithub.com/vitest-dev/vitest/commit/38119b75) - Correctly override api with --no-api flag - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5386](https://togithub.com/vitest-dev/vitest/issues/5386) [<samp>(51d1d)</samp>](https://togithub.com/vitest-dev/vitest/commit/51d1d472) - Logs in `beforeAll` and `afterAll` - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5288](https://togithub.com/vitest-dev/vitest/issues/5288) [<samp>(ce5ca)</samp>](https://togithub.com/vitest-dev/vitest/commit/ce5ca6bf) - **workspace**: - Throw error when browser mode and `@vitest/coverage-v8` are used - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5250](https://togithub.com/vitest-dev/vitest/issues/5250) [<samp>(29f98)</samp>](https://togithub.com/vitest-dev/vitest/commit/29f98cd3) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.3.1...v1.4.0) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View the [repository job log](https://developer.mend.io/github/dotkom/monoweb). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4yNi4xIiwidXBkYXRlZEluVmVyIjoiMzguMjYuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
##### [v1.6.0](https://github.com/vitest-dev/vitest/releases/tag/v1.6.0) ##### 🚀 Features - Support standalone mode - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5565 [<samp>(bdce0)</samp>](vitest-dev/vitest@bdce0a29) - Custom "snapshotEnvironment" option - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5449 [<samp>(30f72)</samp>](vitest-dev/vitest@30f728bc) - **benchmark**: Support comparing benchmark result - by [@hi-ogawa](https://github.com/hi-ogawa) and [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5398 [<samp>(f8d3d)</samp>](vitest-dev/vitest@f8d3d22e) - **browser**: Allow injecting scripts - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5656 [<samp>(21e58)</samp>](vitest-dev/vitest@21e58bd8) - **reporter**: Support `includeConsoleOutput` and `addFileAttribute` in junit - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5659 [<samp>(2f913)</samp>](vitest-dev/vitest@2f913222) - **ui**: Sort items by file name - by [@btea](https://github.com/btea) in vitest-dev/vitest#5652 [<samp>(1f726)</samp>](vitest-dev/vitest@1f7268fa) ##### 🐞 Bug Fixes - Keep order of arguments for .each in custom task collectors - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5640 [<samp>(7d57c)</samp>](vitest-dev/vitest@7d57c116) - Call `resolveId('vitest')` after `buildStart` - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5646 [<samp>(f5faf)</samp>](vitest-dev/vitest@f5faf423) - Hash the name of the file when caching - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5654 [<samp>(c9e68)</samp>](vitest-dev/vitest@c9e68ced) - Don't panic on empty files in node_modules - by [@sheremet-va](https://github.com/sheremet-va) [<samp>(40c29)</samp>](vitest-dev/vitest@40c299fe) - Use `toJSON` for error serialization - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5526 [<samp>(19a21)</samp>](vitest-dev/vitest@19a21e49) - **coverage**: - Exclude `*.test-d.*` by default - by [@MindfulPol](https://github.com/MindfulPol) in vitest-dev/vitest#5634 [<samp>(bfe8a)</samp>](vitest-dev/vitest@bfe8ad9d) - Apply `vite-node`'s wrapper only to executed files - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5642 [<samp>(c9883)</samp>](vitest-dev/vitest@c9883f3e) - **vm**: - Support network imports - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5610 [<samp>(103a6)</samp>](vitest-dev/vitest@103a6002) ##### 🏎 Performance - Improve performance of forks pool - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5592 [<samp>(d8304)</samp>](vitest-dev/vitest@d8304bb4) - Unnecessary rpc call when coverage is disabled - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5658 [<samp>(c5712)</samp>](vitest-dev/vitest@c571276a) ##### [View changes on GitHub](vitest-dev/vitest@v1.5.3...v1.6.0) ##### [v1.5.3](https://github.com/vitest-dev/vitest/releases/tag/v1.5.3) ##### 🐞 Bug Fixes - Use package.json name for a workspace project if not provided - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5608 [<samp>(48fba)</samp>](vitest-dev/vitest@48fba190) - Backport jest iterable equality within object - by [@sukovanej](https://github.com/sukovanej) in vitest-dev/vitest#5621 [<samp>(30e5d)</samp>](vitest-dev/vitest@30e5dc1b) - **browser**: Support benchmark - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5622 [<samp>(becab)</samp>](vitest-dev/vitest@becabb5e) - **reporter**: Use default error formatter for JUnit - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5629 [<samp>(20060)</samp>](vitest-dev/vitest@200609cc) ##### [View changes on GitHub](vitest-dev/vitest@v1.5.2...v1.5.3) ##### [v1.5.2](https://github.com/vitest-dev/vitest/releases/tag/v1.5.2) ##### 🐞 Bug Fixes - Check for null before storing in weakmap - by [@sheremet-va](https://github.com/sheremet-va) [<samp>(ce368)</samp>](vitest-dev/vitest@ce368457) ##### [View changes on GitHub](vitest-dev/vitest@v1.5.1...v1.5.2) ##### [v1.5.1](https://github.com/vitest-dev/vitest/releases/tag/v1.5.1) ##### 🚀 Features - **api**: `startVitest()` to accept `stdout` and `stdin` - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5493 [<samp>(780b1)</samp>](vitest-dev/vitest@780b187f) - This is listed as a feature, but it doesn't increase the minor version because `startVitest` API is experimental and doesn't follow semver. ##### 🐞 Bug Fixes - Close vite servers on all resolved projects - by [@surc54](https://github.com/surc54) in vitest-dev/vitest#5544 [<samp>(413ec)</samp>](vitest-dev/vitest@413ec5e6) - Fix default `import.meta.env.PROD: false` - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5561 [<samp>(9c649)</samp>](vitest-dev/vitest@9c64967f) - Resolve cwd correctly when initiating projects - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5582 [<samp>(ec9d7)</samp>](vitest-dev/vitest@ec9d7c93) - Always run `onTestFinished` in reverse order - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5598 [<samp>(23f29)</samp>](vitest-dev/vitest@23f29cea) - **browser**: - Disable `fileParallelism` by default on browser pool - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5528 [<samp>(5c69f)</samp>](vitest-dev/vitest@5c69f3f5) - Dispose tester iframe on done - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5595 [<samp>(b2135)</samp>](vitest-dev/vitest@b2135710) - **coverage**: - Fix bundling of `v8-to-istanbul` - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5549 [<samp>(df6a4)</samp>](vitest-dev/vitest@df6a4328) - Prevent crash when `cleanOnRerun` is disabled - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5540 [<samp>(ea3c1)</samp>](vitest-dev/vitest@ea3c16e4) - `thresholds` to compare files relative to root - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5574 [<samp>(80265)</samp>](vitest-dev/vitest@80265b40) - **expect**: - Fix `toEqual` and `toMatchObject` with circular references - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5535 [<samp>(9e641)</samp>](vitest-dev/vitest@9e6417c9) - **vitest**: - Fix false positive file filter match with leading slash - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5578 [<samp>(316eb)</samp>](vitest-dev/vitest@316eb739) - Watch the output directory correctly - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5584 [<samp>(e40f9)</samp>](vitest-dev/vitest@e40f9924) - StubEnv casts boolean on PROD/SSR/DEV - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5590 [<samp>(4da88)</samp>](vitest-dev/vitest@4da88045) ##### [View changes on GitHub](vitest-dev/vitest@v1.5.0...v1.5.1) ##### [v1.5.0](vitest-dev/vitest@v1.4.0...v1.5.0) ##### [v1.4.0](https://github.com/vitest-dev/vitest/releases/tag/v1.4.0) ##### 🚀 Features - Throw error when using snapshot assertion with `not` - by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5294 [<samp>(b9d37)</samp>](vitest-dev/vitest@b9d378f5) - Add a flag to include test location in tasks - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5342 [<samp>(d627e)</samp>](vitest-dev/vitest@d627e209) - **cli**: - Support wildcards in `--project` option - by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5295 [<samp>(201bd)</samp>](vitest-dev/vitest@201bd067) - **config**: - Add `shuffle.files` and `shuffle.tests` options - by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5281 [<samp>(356db)</samp>](vitest-dev/vitest@356db87b) - Deprecate `cache.dir` option - by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5229 [<samp>(d7e8b)</samp>](vitest-dev/vitest@d7e8b53e) - **coverage**: - Support `--changed` option - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5314 [<samp>(600b4)</samp>](vitest-dev/vitest@600b44d6) - **vitest**: - Support `clearScreen` cli flag - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5241 [<samp>(e1735)</samp>](vitest-dev/vitest@e1735fb6) ##### 🐞 Bug Fixes - Repeatable `--project` option - by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5265 [<samp>(d1a06)</samp>](vitest-dev/vitest@d1a06730) - `--inspect-brk` to pause before execution - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5355 [<samp>(e77c5)</samp>](vitest-dev/vitest@e77c553f) - Correct locations in test.each tasks - by [@sheremet-va](https://github.com/sheremet-va) [<samp>(4f6e3)</samp>](vitest-dev/vitest@4f6e39c1) - **api**: - Use resolvedUrls from devserver - by [@saitonakamura](https://github.com/saitonakamura) and [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5289 [<samp>(2fef5)</samp>](vitest-dev/vitest@2fef5a7e) - **browser**: - Add `magic-string` to `optimizeDeps.include` - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5278 [<samp>(8f04e)</samp>](vitest-dev/vitest@8f04e798) - **coverage**: - Expensive regexp hangs v8 report generation - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5259 [<samp>(d68a7)</samp>](vitest-dev/vitest@d68a7390) - V8 to ignore type-only files - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5328 [<samp>(c3eb8)</samp>](vitest-dev/vitest@c3eb8deb) - Respect source maps of pre-transpiled sources - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5367 [<samp>(6eda4)</samp>](vitest-dev/vitest@6eda473f) - Prevent `reportsDirectory` from removing user's project - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5376 [<samp>(07ec3)</samp>](vitest-dev/vitest@07ec3779) - **expect**: - Show diff on `toContain/toMatch` assertion error - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5267 [<samp>(8ee59)</samp>](vitest-dev/vitest@8ee59f0d) - **forks**: - Wrap `defines` to support `undefined` values - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5284 [<samp>(5b58b)</samp>](vitest-dev/vitest@5b58b399) - **typecheck**: - Update get-tsconfig 4.7.3 to fix false circularity error - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5384 [<samp>(bdc37)</samp>](vitest-dev/vitest@bdc371ee) - **ui**: - Escape html in error diff - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5325 [<samp>(ab60b)</samp>](vitest-dev/vitest@ab60bf8d) - **vitest**: - Loosen `onConsoleLog` return type - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5337 [<samp>(6d1b1)</samp>](vitest-dev/vitest@6d1b1451) - Ensure restoring terminal cursor on close - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5292 [<samp>(0bea2)</samp>](vitest-dev/vitest@0bea2247) - Ignore timeout on websocket reporter rpc - by [@sheremet-va](https://github.com/sheremet-va) [<samp>(38119)</samp>](vitest-dev/vitest@38119b75) - Correctly override api with --no-api flag - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5386 [<samp>(51d1d)</samp>](vitest-dev/vitest@51d1d472) - Logs in `beforeAll` and `afterAll` - by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5288 [<samp>(ce5ca)</samp>](vitest-dev/vitest@ce5ca6bf) - **workspace**: - Throw error when browser mode and `@vitest/coverage-v8` are used - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5250 [<samp>(29f98)</samp>](vitest-dev/vitest@29f98cd3) ##### [View changes on GitHub](vitest-dev/vitest@v1.3.1...v1.4.0)
##### [v1.6.0](https://github.com/vitest-dev/vitest/releases/tag/v1.6.0) ##### 🚀 Features - Support standalone mode - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5565 [<samp>(bdce0)</samp>](vitest-dev/vitest@bdce0a29) - Custom "snapshotEnvironment" option - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5449 [<samp>(30f72)</samp>](vitest-dev/vitest@30f728bc) - **benchmark**: Support comparing benchmark result - by [@hi-ogawa](https://github.com/hi-ogawa) and [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5398 [<samp>(f8d3d)</samp>](vitest-dev/vitest@f8d3d22e) - **browser**: Allow injecting scripts - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5656 [<samp>(21e58)</samp>](vitest-dev/vitest@21e58bd8) - **reporter**: Support `includeConsoleOutput` and `addFileAttribute` in junit - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5659 [<samp>(2f913)</samp>](vitest-dev/vitest@2f913222) - **ui**: Sort items by file name - by [@btea](https://github.com/btea) in vitest-dev/vitest#5652 [<samp>(1f726)</samp>](vitest-dev/vitest@1f7268fa) ##### 🐞 Bug Fixes - Keep order of arguments for .each in custom task collectors - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5640 [<samp>(7d57c)</samp>](vitest-dev/vitest@7d57c116) - Call `resolveId('vitest')` after `buildStart` - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5646 [<samp>(f5faf)</samp>](vitest-dev/vitest@f5faf423) - Hash the name of the file when caching - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5654 [<samp>(c9e68)</samp>](vitest-dev/vitest@c9e68ced) - Don't panic on empty files in node_modules - by [@sheremet-va](https://github.com/sheremet-va) [<samp>(40c29)</samp>](vitest-dev/vitest@40c299fe) - Use `toJSON` for error serialization - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5526 [<samp>(19a21)</samp>](vitest-dev/vitest@19a21e49) - **coverage**: - Exclude `*.test-d.*` by default - by [@MindfulPol](https://github.com/MindfulPol) in vitest-dev/vitest#5634 [<samp>(bfe8a)</samp>](vitest-dev/vitest@bfe8ad9d) - Apply `vite-node`'s wrapper only to executed files - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5642 [<samp>(c9883)</samp>](vitest-dev/vitest@c9883f3e) - **vm**: - Support network imports - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5610 [<samp>(103a6)</samp>](vitest-dev/vitest@103a6002) ##### 🏎 Performance - Improve performance of forks pool - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5592 [<samp>(d8304)</samp>](vitest-dev/vitest@d8304bb4) - Unnecessary rpc call when coverage is disabled - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5658 [<samp>(c5712)</samp>](vitest-dev/vitest@c571276a) ##### [View changes on GitHub](vitest-dev/vitest@v1.5.3...v1.6.0) ##### [v1.5.3](https://github.com/vitest-dev/vitest/releases/tag/v1.5.3) ##### 🐞 Bug Fixes - Use package.json name for a workspace project if not provided - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5608 [<samp>(48fba)</samp>](vitest-dev/vitest@48fba190) - Backport jest iterable equality within object - by [@sukovanej](https://github.com/sukovanej) in vitest-dev/vitest#5621 [<samp>(30e5d)</samp>](vitest-dev/vitest@30e5dc1b) - **browser**: Support benchmark - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5622 [<samp>(becab)</samp>](vitest-dev/vitest@becabb5e) - **reporter**: Use default error formatter for JUnit - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5629 [<samp>(20060)</samp>](vitest-dev/vitest@200609cc) ##### [View changes on GitHub](vitest-dev/vitest@v1.5.2...v1.5.3) ##### [v1.5.2](https://github.com/vitest-dev/vitest/releases/tag/v1.5.2) ##### 🐞 Bug Fixes - Check for null before storing in weakmap - by [@sheremet-va](https://github.com/sheremet-va) [<samp>(ce368)</samp>](vitest-dev/vitest@ce368457) ##### [View changes on GitHub](vitest-dev/vitest@v1.5.1...v1.5.2) ##### [v1.5.1](https://github.com/vitest-dev/vitest/releases/tag/v1.5.1) ##### 🚀 Features - **api**: `startVitest()` to accept `stdout` and `stdin` - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5493 [<samp>(780b1)</samp>](vitest-dev/vitest@780b187f) - This is listed as a feature, but it doesn't increase the minor version because `startVitest` API is experimental and doesn't follow semver. ##### 🐞 Bug Fixes - Close vite servers on all resolved projects - by [@surc54](https://github.com/surc54) in vitest-dev/vitest#5544 [<samp>(413ec)</samp>](vitest-dev/vitest@413ec5e6) - Fix default `import.meta.env.PROD: false` - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5561 [<samp>(9c649)</samp>](vitest-dev/vitest@9c64967f) - Resolve cwd correctly when initiating projects - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5582 [<samp>(ec9d7)</samp>](vitest-dev/vitest@ec9d7c93) - Always run `onTestFinished` in reverse order - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5598 [<samp>(23f29)</samp>](vitest-dev/vitest@23f29cea) - **browser**: - Disable `fileParallelism` by default on browser pool - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5528 [<samp>(5c69f)</samp>](vitest-dev/vitest@5c69f3f5) - Dispose tester iframe on done - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5595 [<samp>(b2135)</samp>](vitest-dev/vitest@b2135710) - **coverage**: - Fix bundling of `v8-to-istanbul` - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5549 [<samp>(df6a4)</samp>](vitest-dev/vitest@df6a4328) - Prevent crash when `cleanOnRerun` is disabled - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5540 [<samp>(ea3c1)</samp>](vitest-dev/vitest@ea3c16e4) - `thresholds` to compare files relative to root - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5574 [<samp>(80265)</samp>](vitest-dev/vitest@80265b40) - **expect**: - Fix `toEqual` and `toMatchObject` with circular references - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5535 [<samp>(9e641)</samp>](vitest-dev/vitest@9e6417c9) - **vitest**: - Fix false positive file filter match with leading slash - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5578 [<samp>(316eb)</samp>](vitest-dev/vitest@316eb739) - Watch the output directory correctly - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5584 [<samp>(e40f9)</samp>](vitest-dev/vitest@e40f9924) - StubEnv casts boolean on PROD/SSR/DEV - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5590 [<samp>(4da88)</samp>](vitest-dev/vitest@4da88045) ##### [View changes on GitHub](vitest-dev/vitest@v1.5.0...v1.5.1) ##### [v1.5.0](vitest-dev/vitest@v1.4.0...v1.5.0) ##### [v1.4.0](https://github.com/vitest-dev/vitest/releases/tag/v1.4.0) ##### 🚀 Features - Throw error when using snapshot assertion with `not` - by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5294 [<samp>(b9d37)</samp>](vitest-dev/vitest@b9d378f5) - Add a flag to include test location in tasks - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5342 [<samp>(d627e)</samp>](vitest-dev/vitest@d627e209) - **cli**: - Support wildcards in `--project` option - by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5295 [<samp>(201bd)</samp>](vitest-dev/vitest@201bd067) - **config**: - Add `shuffle.files` and `shuffle.tests` options - by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5281 [<samp>(356db)</samp>](vitest-dev/vitest@356db87b) - Deprecate `cache.dir` option - by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5229 [<samp>(d7e8b)</samp>](vitest-dev/vitest@d7e8b53e) - **coverage**: - Support `--changed` option - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5314 [<samp>(600b4)</samp>](vitest-dev/vitest@600b44d6) - **vitest**: - Support `clearScreen` cli flag - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5241 [<samp>(e1735)</samp>](vitest-dev/vitest@e1735fb6) ##### 🐞 Bug Fixes - Repeatable `--project` option - by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5265 [<samp>(d1a06)</samp>](vitest-dev/vitest@d1a06730) - `--inspect-brk` to pause before execution - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5355 [<samp>(e77c5)</samp>](vitest-dev/vitest@e77c553f) - Correct locations in test.each tasks - by [@sheremet-va](https://github.com/sheremet-va) [<samp>(4f6e3)</samp>](vitest-dev/vitest@4f6e39c1) - **api**: - Use resolvedUrls from devserver - by [@saitonakamura](https://github.com/saitonakamura) and [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5289 [<samp>(2fef5)</samp>](vitest-dev/vitest@2fef5a7e) - **browser**: - Add `magic-string` to `optimizeDeps.include` - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5278 [<samp>(8f04e)</samp>](vitest-dev/vitest@8f04e798) - **coverage**: - Expensive regexp hangs v8 report generation - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5259 [<samp>(d68a7)</samp>](vitest-dev/vitest@d68a7390) - V8 to ignore type-only files - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5328 [<samp>(c3eb8)</samp>](vitest-dev/vitest@c3eb8deb) - Respect source maps of pre-transpiled sources - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5367 [<samp>(6eda4)</samp>](vitest-dev/vitest@6eda473f) - Prevent `reportsDirectory` from removing user's project - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5376 [<samp>(07ec3)</samp>](vitest-dev/vitest@07ec3779) - **expect**: - Show diff on `toContain/toMatch` assertion error - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5267 [<samp>(8ee59)</samp>](vitest-dev/vitest@8ee59f0d) - **forks**: - Wrap `defines` to support `undefined` values - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5284 [<samp>(5b58b)</samp>](vitest-dev/vitest@5b58b399) - **typecheck**: - Update get-tsconfig 4.7.3 to fix false circularity error - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5384 [<samp>(bdc37)</samp>](vitest-dev/vitest@bdc371ee) - **ui**: - Escape html in error diff - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5325 [<samp>(ab60b)</samp>](vitest-dev/vitest@ab60bf8d) - **vitest**: - Loosen `onConsoleLog` return type - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5337 [<samp>(6d1b1)</samp>](vitest-dev/vitest@6d1b1451) - Ensure restoring terminal cursor on close - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5292 [<samp>(0bea2)</samp>](vitest-dev/vitest@0bea2247) - Ignore timeout on websocket reporter rpc - by [@sheremet-va](https://github.com/sheremet-va) [<samp>(38119)</samp>](vitest-dev/vitest@38119b75) - Correctly override api with --no-api flag - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5386 [<samp>(51d1d)</samp>](vitest-dev/vitest@51d1d472) - Logs in `beforeAll` and `afterAll` - by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5288 [<samp>(ce5ca)</samp>](vitest-dev/vitest@ce5ca6bf) - **workspace**: - Throw error when browser mode and `@vitest/coverage-v8` are used - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5250 [<samp>(29f98)</samp>](vitest-dev/vitest@29f98cd3) ##### [View changes on GitHub](vitest-dev/vitest@v1.3.1...v1.4.0)
##### [v1.6.0](https://github.com/vitest-dev/vitest/releases/tag/v1.6.0) ##### 🚀 Features - Support standalone mode - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5565 [<samp>(bdce0)</samp>](vitest-dev/vitest@bdce0a29) - Custom "snapshotEnvironment" option - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5449 [<samp>(30f72)</samp>](vitest-dev/vitest@30f728bc) - **benchmark**: Support comparing benchmark result - by [@hi-ogawa](https://github.com/hi-ogawa) and [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5398 [<samp>(f8d3d)</samp>](vitest-dev/vitest@f8d3d22e) - **browser**: Allow injecting scripts - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5656 [<samp>(21e58)</samp>](vitest-dev/vitest@21e58bd8) - **reporter**: Support `includeConsoleOutput` and `addFileAttribute` in junit - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5659 [<samp>(2f913)</samp>](vitest-dev/vitest@2f913222) - **ui**: Sort items by file name - by [@btea](https://github.com/btea) in vitest-dev/vitest#5652 [<samp>(1f726)</samp>](vitest-dev/vitest@1f7268fa) ##### 🐞 Bug Fixes - Keep order of arguments for .each in custom task collectors - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5640 [<samp>(7d57c)</samp>](vitest-dev/vitest@7d57c116) - Call `resolveId('vitest')` after `buildStart` - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5646 [<samp>(f5faf)</samp>](vitest-dev/vitest@f5faf423) - Hash the name of the file when caching - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5654 [<samp>(c9e68)</samp>](vitest-dev/vitest@c9e68ced) - Don't panic on empty files in node_modules - by [@sheremet-va](https://github.com/sheremet-va) [<samp>(40c29)</samp>](vitest-dev/vitest@40c299fe) - Use `toJSON` for error serialization - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5526 [<samp>(19a21)</samp>](vitest-dev/vitest@19a21e49) - **coverage**: - Exclude `*.test-d.*` by default - by [@MindfulPol](https://github.com/MindfulPol) in vitest-dev/vitest#5634 [<samp>(bfe8a)</samp>](vitest-dev/vitest@bfe8ad9d) - Apply `vite-node`'s wrapper only to executed files - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5642 [<samp>(c9883)</samp>](vitest-dev/vitest@c9883f3e) - **vm**: - Support network imports - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5610 [<samp>(103a6)</samp>](vitest-dev/vitest@103a6002) ##### 🏎 Performance - Improve performance of forks pool - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5592 [<samp>(d8304)</samp>](vitest-dev/vitest@d8304bb4) - Unnecessary rpc call when coverage is disabled - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5658 [<samp>(c5712)</samp>](vitest-dev/vitest@c571276a) ##### [View changes on GitHub](vitest-dev/vitest@v1.5.3...v1.6.0) ##### [v1.5.3](https://github.com/vitest-dev/vitest/releases/tag/v1.5.3) ##### 🐞 Bug Fixes - Use package.json name for a workspace project if not provided - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5608 [<samp>(48fba)</samp>](vitest-dev/vitest@48fba190) - Backport jest iterable equality within object - by [@sukovanej](https://github.com/sukovanej) in vitest-dev/vitest#5621 [<samp>(30e5d)</samp>](vitest-dev/vitest@30e5dc1b) - **browser**: Support benchmark - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5622 [<samp>(becab)</samp>](vitest-dev/vitest@becabb5e) - **reporter**: Use default error formatter for JUnit - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5629 [<samp>(20060)</samp>](vitest-dev/vitest@200609cc) ##### [View changes on GitHub](vitest-dev/vitest@v1.5.2...v1.5.3) ##### [v1.5.2](https://github.com/vitest-dev/vitest/releases/tag/v1.5.2) ##### 🐞 Bug Fixes - Check for null before storing in weakmap - by [@sheremet-va](https://github.com/sheremet-va) [<samp>(ce368)</samp>](vitest-dev/vitest@ce368457) ##### [View changes on GitHub](vitest-dev/vitest@v1.5.1...v1.5.2) ##### [v1.5.1](https://github.com/vitest-dev/vitest/releases/tag/v1.5.1) ##### 🚀 Features - **api**: `startVitest()` to accept `stdout` and `stdin` - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5493 [<samp>(780b1)</samp>](vitest-dev/vitest@780b187f) - This is listed as a feature, but it doesn't increase the minor version because `startVitest` API is experimental and doesn't follow semver. ##### 🐞 Bug Fixes - Close vite servers on all resolved projects - by [@surc54](https://github.com/surc54) in vitest-dev/vitest#5544 [<samp>(413ec)</samp>](vitest-dev/vitest@413ec5e6) - Fix default `import.meta.env.PROD: false` - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5561 [<samp>(9c649)</samp>](vitest-dev/vitest@9c64967f) - Resolve cwd correctly when initiating projects - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5582 [<samp>(ec9d7)</samp>](vitest-dev/vitest@ec9d7c93) - Always run `onTestFinished` in reverse order - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5598 [<samp>(23f29)</samp>](vitest-dev/vitest@23f29cea) - **browser**: - Disable `fileParallelism` by default on browser pool - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5528 [<samp>(5c69f)</samp>](vitest-dev/vitest@5c69f3f5) - Dispose tester iframe on done - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5595 [<samp>(b2135)</samp>](vitest-dev/vitest@b2135710) - **coverage**: - Fix bundling of `v8-to-istanbul` - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5549 [<samp>(df6a4)</samp>](vitest-dev/vitest@df6a4328) - Prevent crash when `cleanOnRerun` is disabled - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5540 [<samp>(ea3c1)</samp>](vitest-dev/vitest@ea3c16e4) - `thresholds` to compare files relative to root - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5574 [<samp>(80265)</samp>](vitest-dev/vitest@80265b40) - **expect**: - Fix `toEqual` and `toMatchObject` with circular references - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5535 [<samp>(9e641)</samp>](vitest-dev/vitest@9e6417c9) - **vitest**: - Fix false positive file filter match with leading slash - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5578 [<samp>(316eb)</samp>](vitest-dev/vitest@316eb739) - Watch the output directory correctly - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5584 [<samp>(e40f9)</samp>](vitest-dev/vitest@e40f9924) - StubEnv casts boolean on PROD/SSR/DEV - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5590 [<samp>(4da88)</samp>](vitest-dev/vitest@4da88045) ##### [View changes on GitHub](vitest-dev/vitest@v1.5.0...v1.5.1) ##### [v1.5.0](vitest-dev/vitest@v1.4.0...v1.5.0) ##### [v1.4.0](https://github.com/vitest-dev/vitest/releases/tag/v1.4.0) ##### 🚀 Features - Throw error when using snapshot assertion with `not` - by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5294 [<samp>(b9d37)</samp>](vitest-dev/vitest@b9d378f5) - Add a flag to include test location in tasks - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5342 [<samp>(d627e)</samp>](vitest-dev/vitest@d627e209) - **cli**: - Support wildcards in `--project` option - by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5295 [<samp>(201bd)</samp>](vitest-dev/vitest@201bd067) - **config**: - Add `shuffle.files` and `shuffle.tests` options - by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5281 [<samp>(356db)</samp>](vitest-dev/vitest@356db87b) - Deprecate `cache.dir` option - by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5229 [<samp>(d7e8b)</samp>](vitest-dev/vitest@d7e8b53e) - **coverage**: - Support `--changed` option - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5314 [<samp>(600b4)</samp>](vitest-dev/vitest@600b44d6) - **vitest**: - Support `clearScreen` cli flag - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5241 [<samp>(e1735)</samp>](vitest-dev/vitest@e1735fb6) ##### 🐞 Bug Fixes - Repeatable `--project` option - by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5265 [<samp>(d1a06)</samp>](vitest-dev/vitest@d1a06730) - `--inspect-brk` to pause before execution - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5355 [<samp>(e77c5)</samp>](vitest-dev/vitest@e77c553f) - Correct locations in test.each tasks - by [@sheremet-va](https://github.com/sheremet-va) [<samp>(4f6e3)</samp>](vitest-dev/vitest@4f6e39c1) - **api**: - Use resolvedUrls from devserver - by [@saitonakamura](https://github.com/saitonakamura) and [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5289 [<samp>(2fef5)</samp>](vitest-dev/vitest@2fef5a7e) - **browser**: - Add `magic-string` to `optimizeDeps.include` - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5278 [<samp>(8f04e)</samp>](vitest-dev/vitest@8f04e798) - **coverage**: - Expensive regexp hangs v8 report generation - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5259 [<samp>(d68a7)</samp>](vitest-dev/vitest@d68a7390) - V8 to ignore type-only files - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5328 [<samp>(c3eb8)</samp>](vitest-dev/vitest@c3eb8deb) - Respect source maps of pre-transpiled sources - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5367 [<samp>(6eda4)</samp>](vitest-dev/vitest@6eda473f) - Prevent `reportsDirectory` from removing user's project - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5376 [<samp>(07ec3)</samp>](vitest-dev/vitest@07ec3779) - **expect**: - Show diff on `toContain/toMatch` assertion error - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5267 [<samp>(8ee59)</samp>](vitest-dev/vitest@8ee59f0d) - **forks**: - Wrap `defines` to support `undefined` values - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5284 [<samp>(5b58b)</samp>](vitest-dev/vitest@5b58b399) - **typecheck**: - Update get-tsconfig 4.7.3 to fix false circularity error - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5384 [<samp>(bdc37)</samp>](vitest-dev/vitest@bdc371ee) - **ui**: - Escape html in error diff - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5325 [<samp>(ab60b)</samp>](vitest-dev/vitest@ab60bf8d) - **vitest**: - Loosen `onConsoleLog` return type - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5337 [<samp>(6d1b1)</samp>](vitest-dev/vitest@6d1b1451) - Ensure restoring terminal cursor on close - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5292 [<samp>(0bea2)</samp>](vitest-dev/vitest@0bea2247) - Ignore timeout on websocket reporter rpc - by [@sheremet-va](https://github.com/sheremet-va) [<samp>(38119)</samp>](vitest-dev/vitest@38119b75) - Correctly override api with --no-api flag - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5386 [<samp>(51d1d)</samp>](vitest-dev/vitest@51d1d472) - Logs in `beforeAll` and `afterAll` - by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5288 [<samp>(ce5ca)</samp>](vitest-dev/vitest@ce5ca6bf) - **workspace**: - Throw error when browser mode and `@vitest/coverage-v8` are used - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5250 [<samp>(29f98)</samp>](vitest-dev/vitest@29f98cd3) ##### [View changes on GitHub](vitest-dev/vitest@v1.3.1...v1.4.0)
##### [v1.6.0](https://github.com/vitest-dev/vitest/releases/tag/v1.6.0) ##### 🚀 Features - Support standalone mode - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5565 [<samp>(bdce0)</samp>](vitest-dev/vitest@bdce0a29) - Custom "snapshotEnvironment" option - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5449 [<samp>(30f72)</samp>](vitest-dev/vitest@30f728bc) - **benchmark**: Support comparing benchmark result - by [@hi-ogawa](https://github.com/hi-ogawa) and [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5398 [<samp>(f8d3d)</samp>](vitest-dev/vitest@f8d3d22e) - **browser**: Allow injecting scripts - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5656 [<samp>(21e58)</samp>](vitest-dev/vitest@21e58bd8) - **reporter**: Support `includeConsoleOutput` and `addFileAttribute` in junit - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5659 [<samp>(2f913)</samp>](vitest-dev/vitest@2f913222) - **ui**: Sort items by file name - by [@btea](https://github.com/btea) in vitest-dev/vitest#5652 [<samp>(1f726)</samp>](vitest-dev/vitest@1f7268fa) ##### 🐞 Bug Fixes - Keep order of arguments for .each in custom task collectors - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5640 [<samp>(7d57c)</samp>](vitest-dev/vitest@7d57c116) - Call `resolveId('vitest')` after `buildStart` - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5646 [<samp>(f5faf)</samp>](vitest-dev/vitest@f5faf423) - Hash the name of the file when caching - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5654 [<samp>(c9e68)</samp>](vitest-dev/vitest@c9e68ced) - Don't panic on empty files in node_modules - by [@sheremet-va](https://github.com/sheremet-va) [<samp>(40c29)</samp>](vitest-dev/vitest@40c299fe) - Use `toJSON` for error serialization - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5526 [<samp>(19a21)</samp>](vitest-dev/vitest@19a21e49) - **coverage**: - Exclude `*.test-d.*` by default - by [@MindfulPol](https://github.com/MindfulPol) in vitest-dev/vitest#5634 [<samp>(bfe8a)</samp>](vitest-dev/vitest@bfe8ad9d) - Apply `vite-node`'s wrapper only to executed files - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5642 [<samp>(c9883)</samp>](vitest-dev/vitest@c9883f3e) - **vm**: - Support network imports - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5610 [<samp>(103a6)</samp>](vitest-dev/vitest@103a6002) ##### 🏎 Performance - Improve performance of forks pool - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5592 [<samp>(d8304)</samp>](vitest-dev/vitest@d8304bb4) - Unnecessary rpc call when coverage is disabled - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5658 [<samp>(c5712)</samp>](vitest-dev/vitest@c571276a) ##### [View changes on GitHub](vitest-dev/vitest@v1.5.3...v1.6.0) ##### [v1.5.3](https://github.com/vitest-dev/vitest/releases/tag/v1.5.3) ##### 🐞 Bug Fixes - Use package.json name for a workspace project if not provided - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5608 [<samp>(48fba)</samp>](vitest-dev/vitest@48fba190) - Backport jest iterable equality within object - by [@sukovanej](https://github.com/sukovanej) in vitest-dev/vitest#5621 [<samp>(30e5d)</samp>](vitest-dev/vitest@30e5dc1b) - **browser**: Support benchmark - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5622 [<samp>(becab)</samp>](vitest-dev/vitest@becabb5e) - **reporter**: Use default error formatter for JUnit - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5629 [<samp>(20060)</samp>](vitest-dev/vitest@200609cc) ##### [View changes on GitHub](vitest-dev/vitest@v1.5.2...v1.5.3) ##### [v1.5.2](https://github.com/vitest-dev/vitest/releases/tag/v1.5.2) ##### 🐞 Bug Fixes - Check for null before storing in weakmap - by [@sheremet-va](https://github.com/sheremet-va) [<samp>(ce368)</samp>](vitest-dev/vitest@ce368457) ##### [View changes on GitHub](vitest-dev/vitest@v1.5.1...v1.5.2) ##### [v1.5.1](https://github.com/vitest-dev/vitest/releases/tag/v1.5.1) ##### 🚀 Features - **api**: `startVitest()` to accept `stdout` and `stdin` - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5493 [<samp>(780b1)</samp>](vitest-dev/vitest@780b187f) - This is listed as a feature, but it doesn't increase the minor version because `startVitest` API is experimental and doesn't follow semver. ##### 🐞 Bug Fixes - Close vite servers on all resolved projects - by [@surc54](https://github.com/surc54) in vitest-dev/vitest#5544 [<samp>(413ec)</samp>](vitest-dev/vitest@413ec5e6) - Fix default `import.meta.env.PROD: false` - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5561 [<samp>(9c649)</samp>](vitest-dev/vitest@9c64967f) - Resolve cwd correctly when initiating projects - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5582 [<samp>(ec9d7)</samp>](vitest-dev/vitest@ec9d7c93) - Always run `onTestFinished` in reverse order - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5598 [<samp>(23f29)</samp>](vitest-dev/vitest@23f29cea) - **browser**: - Disable `fileParallelism` by default on browser pool - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5528 [<samp>(5c69f)</samp>](vitest-dev/vitest@5c69f3f5) - Dispose tester iframe on done - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5595 [<samp>(b2135)</samp>](vitest-dev/vitest@b2135710) - **coverage**: - Fix bundling of `v8-to-istanbul` - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5549 [<samp>(df6a4)</samp>](vitest-dev/vitest@df6a4328) - Prevent crash when `cleanOnRerun` is disabled - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5540 [<samp>(ea3c1)</samp>](vitest-dev/vitest@ea3c16e4) - `thresholds` to compare files relative to root - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5574 [<samp>(80265)</samp>](vitest-dev/vitest@80265b40) - **expect**: - Fix `toEqual` and `toMatchObject` with circular references - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5535 [<samp>(9e641)</samp>](vitest-dev/vitest@9e6417c9) - **vitest**: - Fix false positive file filter match with leading slash - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5578 [<samp>(316eb)</samp>](vitest-dev/vitest@316eb739) - Watch the output directory correctly - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5584 [<samp>(e40f9)</samp>](vitest-dev/vitest@e40f9924) - StubEnv casts boolean on PROD/SSR/DEV - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5590 [<samp>(4da88)</samp>](vitest-dev/vitest@4da88045) ##### [View changes on GitHub](vitest-dev/vitest@v1.5.0...v1.5.1) ##### [v1.5.0](vitest-dev/vitest@v1.4.0...v1.5.0) ##### [v1.4.0](https://github.com/vitest-dev/vitest/releases/tag/v1.4.0) ##### 🚀 Features - Throw error when using snapshot assertion with `not` - by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5294 [<samp>(b9d37)</samp>](vitest-dev/vitest@b9d378f5) - Add a flag to include test location in tasks - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5342 [<samp>(d627e)</samp>](vitest-dev/vitest@d627e209) - **cli**: - Support wildcards in `--project` option - by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5295 [<samp>(201bd)</samp>](vitest-dev/vitest@201bd067) - **config**: - Add `shuffle.files` and `shuffle.tests` options - by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5281 [<samp>(356db)</samp>](vitest-dev/vitest@356db87b) - Deprecate `cache.dir` option - by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5229 [<samp>(d7e8b)</samp>](vitest-dev/vitest@d7e8b53e) - **coverage**: - Support `--changed` option - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5314 [<samp>(600b4)</samp>](vitest-dev/vitest@600b44d6) - **vitest**: - Support `clearScreen` cli flag - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5241 [<samp>(e1735)</samp>](vitest-dev/vitest@e1735fb6) ##### 🐞 Bug Fixes - Repeatable `--project` option - by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5265 [<samp>(d1a06)</samp>](vitest-dev/vitest@d1a06730) - `--inspect-brk` to pause before execution - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5355 [<samp>(e77c5)</samp>](vitest-dev/vitest@e77c553f) - Correct locations in test.each tasks - by [@sheremet-va](https://github.com/sheremet-va) [<samp>(4f6e3)</samp>](vitest-dev/vitest@4f6e39c1) - **api**: - Use resolvedUrls from devserver - by [@saitonakamura](https://github.com/saitonakamura) and [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5289 [<samp>(2fef5)</samp>](vitest-dev/vitest@2fef5a7e) - **browser**: - Add `magic-string` to `optimizeDeps.include` - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5278 [<samp>(8f04e)</samp>](vitest-dev/vitest@8f04e798) - **coverage**: - Expensive regexp hangs v8 report generation - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5259 [<samp>(d68a7)</samp>](vitest-dev/vitest@d68a7390) - V8 to ignore type-only files - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5328 [<samp>(c3eb8)</samp>](vitest-dev/vitest@c3eb8deb) - Respect source maps of pre-transpiled sources - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5367 [<samp>(6eda4)</samp>](vitest-dev/vitest@6eda473f) - Prevent `reportsDirectory` from removing user's project - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5376 [<samp>(07ec3)</samp>](vitest-dev/vitest@07ec3779) - **expect**: - Show diff on `toContain/toMatch` assertion error - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5267 [<samp>(8ee59)</samp>](vitest-dev/vitest@8ee59f0d) - **forks**: - Wrap `defines` to support `undefined` values - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5284 [<samp>(5b58b)</samp>](vitest-dev/vitest@5b58b399) - **typecheck**: - Update get-tsconfig 4.7.3 to fix false circularity error - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5384 [<samp>(bdc37)</samp>](vitest-dev/vitest@bdc371ee) - **ui**: - Escape html in error diff - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5325 [<samp>(ab60b)</samp>](vitest-dev/vitest@ab60bf8d) - **vitest**: - Loosen `onConsoleLog` return type - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5337 [<samp>(6d1b1)</samp>](vitest-dev/vitest@6d1b1451) - Ensure restoring terminal cursor on close - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5292 [<samp>(0bea2)</samp>](vitest-dev/vitest@0bea2247) - Ignore timeout on websocket reporter rpc - by [@sheremet-va](https://github.com/sheremet-va) [<samp>(38119)</samp>](vitest-dev/vitest@38119b75) - Correctly override api with --no-api flag - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5386 [<samp>(51d1d)</samp>](vitest-dev/vitest@51d1d472) - Logs in `beforeAll` and `afterAll` - by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5288 [<samp>(ce5ca)</samp>](vitest-dev/vitest@ce5ca6bf) - **workspace**: - Throw error when browser mode and `@vitest/coverage-v8` are used - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5250 [<samp>(29f98)</samp>](vitest-dev/vitest@29f98cd3) ##### [View changes on GitHub](vitest-dev/vitest@v1.3.1...v1.4.0)
##### [v1.6.0](https://github.com/vitest-dev/vitest/releases/tag/v1.6.0) ##### 🚀 Features - Support standalone mode - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5565 [<samp>(bdce0)</samp>](vitest-dev/vitest@bdce0a29) - Custom "snapshotEnvironment" option - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5449 [<samp>(30f72)</samp>](vitest-dev/vitest@30f728bc) - **benchmark**: Support comparing benchmark result - by [@hi-ogawa](https://github.com/hi-ogawa) and [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5398 [<samp>(f8d3d)</samp>](vitest-dev/vitest@f8d3d22e) - **browser**: Allow injecting scripts - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5656 [<samp>(21e58)</samp>](vitest-dev/vitest@21e58bd8) - **reporter**: Support `includeConsoleOutput` and `addFileAttribute` in junit - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5659 [<samp>(2f913)</samp>](vitest-dev/vitest@2f913222) - **ui**: Sort items by file name - by [@btea](https://github.com/btea) in vitest-dev/vitest#5652 [<samp>(1f726)</samp>](vitest-dev/vitest@1f7268fa) ##### 🐞 Bug Fixes - Keep order of arguments for .each in custom task collectors - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5640 [<samp>(7d57c)</samp>](vitest-dev/vitest@7d57c116) - Call `resolveId('vitest')` after `buildStart` - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5646 [<samp>(f5faf)</samp>](vitest-dev/vitest@f5faf423) - Hash the name of the file when caching - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5654 [<samp>(c9e68)</samp>](vitest-dev/vitest@c9e68ced) - Don't panic on empty files in node_modules - by [@sheremet-va](https://github.com/sheremet-va) [<samp>(40c29)</samp>](vitest-dev/vitest@40c299fe) - Use `toJSON` for error serialization - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5526 [<samp>(19a21)</samp>](vitest-dev/vitest@19a21e49) - **coverage**: - Exclude `*.test-d.*` by default - by [@MindfulPol](https://github.com/MindfulPol) in vitest-dev/vitest#5634 [<samp>(bfe8a)</samp>](vitest-dev/vitest@bfe8ad9d) - Apply `vite-node`'s wrapper only to executed files - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5642 [<samp>(c9883)</samp>](vitest-dev/vitest@c9883f3e) - **vm**: - Support network imports - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5610 [<samp>(103a6)</samp>](vitest-dev/vitest@103a6002) ##### 🏎 Performance - Improve performance of forks pool - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5592 [<samp>(d8304)</samp>](vitest-dev/vitest@d8304bb4) - Unnecessary rpc call when coverage is disabled - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5658 [<samp>(c5712)</samp>](vitest-dev/vitest@c571276a) ##### [View changes on GitHub](vitest-dev/vitest@v1.5.3...v1.6.0) ##### [v1.5.3](https://github.com/vitest-dev/vitest/releases/tag/v1.5.3) ##### 🐞 Bug Fixes - Use package.json name for a workspace project if not provided - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5608 [<samp>(48fba)</samp>](vitest-dev/vitest@48fba190) - Backport jest iterable equality within object - by [@sukovanej](https://github.com/sukovanej) in vitest-dev/vitest#5621 [<samp>(30e5d)</samp>](vitest-dev/vitest@30e5dc1b) - **browser**: Support benchmark - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5622 [<samp>(becab)</samp>](vitest-dev/vitest@becabb5e) - **reporter**: Use default error formatter for JUnit - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5629 [<samp>(20060)</samp>](vitest-dev/vitest@200609cc) ##### [View changes on GitHub](vitest-dev/vitest@v1.5.2...v1.5.3) ##### [v1.5.2](https://github.com/vitest-dev/vitest/releases/tag/v1.5.2) ##### 🐞 Bug Fixes - Check for null before storing in weakmap - by [@sheremet-va](https://github.com/sheremet-va) [<samp>(ce368)</samp>](vitest-dev/vitest@ce368457) ##### [View changes on GitHub](vitest-dev/vitest@v1.5.1...v1.5.2) ##### [v1.5.1](https://github.com/vitest-dev/vitest/releases/tag/v1.5.1) ##### 🚀 Features - **api**: `startVitest()` to accept `stdout` and `stdin` - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5493 [<samp>(780b1)</samp>](vitest-dev/vitest@780b187f) - This is listed as a feature, but it doesn't increase the minor version because `startVitest` API is experimental and doesn't follow semver. ##### 🐞 Bug Fixes - Close vite servers on all resolved projects - by [@surc54](https://github.com/surc54) in vitest-dev/vitest#5544 [<samp>(413ec)</samp>](vitest-dev/vitest@413ec5e6) - Fix default `import.meta.env.PROD: false` - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5561 [<samp>(9c649)</samp>](vitest-dev/vitest@9c64967f) - Resolve cwd correctly when initiating projects - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5582 [<samp>(ec9d7)</samp>](vitest-dev/vitest@ec9d7c93) - Always run `onTestFinished` in reverse order - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5598 [<samp>(23f29)</samp>](vitest-dev/vitest@23f29cea) - **browser**: - Disable `fileParallelism` by default on browser pool - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5528 [<samp>(5c69f)</samp>](vitest-dev/vitest@5c69f3f5) - Dispose tester iframe on done - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5595 [<samp>(b2135)</samp>](vitest-dev/vitest@b2135710) - **coverage**: - Fix bundling of `v8-to-istanbul` - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5549 [<samp>(df6a4)</samp>](vitest-dev/vitest@df6a4328) - Prevent crash when `cleanOnRerun` is disabled - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5540 [<samp>(ea3c1)</samp>](vitest-dev/vitest@ea3c16e4) - `thresholds` to compare files relative to root - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5574 [<samp>(80265)</samp>](vitest-dev/vitest@80265b40) - **expect**: - Fix `toEqual` and `toMatchObject` with circular references - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5535 [<samp>(9e641)</samp>](vitest-dev/vitest@9e6417c9) - **vitest**: - Fix false positive file filter match with leading slash - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5578 [<samp>(316eb)</samp>](vitest-dev/vitest@316eb739) - Watch the output directory correctly - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5584 [<samp>(e40f9)</samp>](vitest-dev/vitest@e40f9924) - StubEnv casts boolean on PROD/SSR/DEV - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5590 [<samp>(4da88)</samp>](vitest-dev/vitest@4da88045) ##### [View changes on GitHub](vitest-dev/vitest@v1.5.0...v1.5.1) ##### [v1.5.0](vitest-dev/vitest@v1.4.0...v1.5.0) ##### [v1.4.0](https://github.com/vitest-dev/vitest/releases/tag/v1.4.0) ##### 🚀 Features - Throw error when using snapshot assertion with `not` - by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5294 [<samp>(b9d37)</samp>](vitest-dev/vitest@b9d378f5) - Add a flag to include test location in tasks - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5342 [<samp>(d627e)</samp>](vitest-dev/vitest@d627e209) - **cli**: - Support wildcards in `--project` option - by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5295 [<samp>(201bd)</samp>](vitest-dev/vitest@201bd067) - **config**: - Add `shuffle.files` and `shuffle.tests` options - by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5281 [<samp>(356db)</samp>](vitest-dev/vitest@356db87b) - Deprecate `cache.dir` option - by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5229 [<samp>(d7e8b)</samp>](vitest-dev/vitest@d7e8b53e) - **coverage**: - Support `--changed` option - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5314 [<samp>(600b4)</samp>](vitest-dev/vitest@600b44d6) - **vitest**: - Support `clearScreen` cli flag - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5241 [<samp>(e1735)</samp>](vitest-dev/vitest@e1735fb6) ##### 🐞 Bug Fixes - Repeatable `--project` option - by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5265 [<samp>(d1a06)</samp>](vitest-dev/vitest@d1a06730) - `--inspect-brk` to pause before execution - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5355 [<samp>(e77c5)</samp>](vitest-dev/vitest@e77c553f) - Correct locations in test.each tasks - by [@sheremet-va](https://github.com/sheremet-va) [<samp>(4f6e3)</samp>](vitest-dev/vitest@4f6e39c1) - **api**: - Use resolvedUrls from devserver - by [@saitonakamura](https://github.com/saitonakamura) and [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5289 [<samp>(2fef5)</samp>](vitest-dev/vitest@2fef5a7e) - **browser**: - Add `magic-string` to `optimizeDeps.include` - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5278 [<samp>(8f04e)</samp>](vitest-dev/vitest@8f04e798) - **coverage**: - Expensive regexp hangs v8 report generation - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5259 [<samp>(d68a7)</samp>](vitest-dev/vitest@d68a7390) - V8 to ignore type-only files - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5328 [<samp>(c3eb8)</samp>](vitest-dev/vitest@c3eb8deb) - Respect source maps of pre-transpiled sources - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5367 [<samp>(6eda4)</samp>](vitest-dev/vitest@6eda473f) - Prevent `reportsDirectory` from removing user's project - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5376 [<samp>(07ec3)</samp>](vitest-dev/vitest@07ec3779) - **expect**: - Show diff on `toContain/toMatch` assertion error - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5267 [<samp>(8ee59)</samp>](vitest-dev/vitest@8ee59f0d) - **forks**: - Wrap `defines` to support `undefined` values - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5284 [<samp>(5b58b)</samp>](vitest-dev/vitest@5b58b399) - **typecheck**: - Update get-tsconfig 4.7.3 to fix false circularity error - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5384 [<samp>(bdc37)</samp>](vitest-dev/vitest@bdc371ee) - **ui**: - Escape html in error diff - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5325 [<samp>(ab60b)</samp>](vitest-dev/vitest@ab60bf8d) - **vitest**: - Loosen `onConsoleLog` return type - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5337 [<samp>(6d1b1)</samp>](vitest-dev/vitest@6d1b1451) - Ensure restoring terminal cursor on close - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5292 [<samp>(0bea2)</samp>](vitest-dev/vitest@0bea2247) - Ignore timeout on websocket reporter rpc - by [@sheremet-va](https://github.com/sheremet-va) [<samp>(38119)</samp>](vitest-dev/vitest@38119b75) - Correctly override api with --no-api flag - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5386 [<samp>(51d1d)</samp>](vitest-dev/vitest@51d1d472) - Logs in `beforeAll` and `afterAll` - by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5288 [<samp>(ce5ca)</samp>](vitest-dev/vitest@ce5ca6bf) - **workspace**: - Throw error when browser mode and `@vitest/coverage-v8` are used - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5250 [<samp>(29f98)</samp>](vitest-dev/vitest@29f98cd3) ##### [View changes on GitHub](vitest-dev/vitest@v1.3.1...v1.4.0)
##### [v1.6.0](https://github.com/vitest-dev/vitest/releases/tag/v1.6.0) ##### 🚀 Features - Support standalone mode - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5565 [<samp>(bdce0)</samp>](vitest-dev/vitest@bdce0a29) - Custom "snapshotEnvironment" option - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5449 [<samp>(30f72)</samp>](vitest-dev/vitest@30f728bc) - **benchmark**: Support comparing benchmark result - by [@hi-ogawa](https://github.com/hi-ogawa) and [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5398 [<samp>(f8d3d)</samp>](vitest-dev/vitest@f8d3d22e) - **browser**: Allow injecting scripts - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5656 [<samp>(21e58)</samp>](vitest-dev/vitest@21e58bd8) - **reporter**: Support `includeConsoleOutput` and `addFileAttribute` in junit - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5659 [<samp>(2f913)</samp>](vitest-dev/vitest@2f913222) - **ui**: Sort items by file name - by [@btea](https://github.com/btea) in vitest-dev/vitest#5652 [<samp>(1f726)</samp>](vitest-dev/vitest@1f7268fa) ##### 🐞 Bug Fixes - Keep order of arguments for .each in custom task collectors - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5640 [<samp>(7d57c)</samp>](vitest-dev/vitest@7d57c116) - Call `resolveId('vitest')` after `buildStart` - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5646 [<samp>(f5faf)</samp>](vitest-dev/vitest@f5faf423) - Hash the name of the file when caching - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5654 [<samp>(c9e68)</samp>](vitest-dev/vitest@c9e68ced) - Don't panic on empty files in node_modules - by [@sheremet-va](https://github.com/sheremet-va) [<samp>(40c29)</samp>](vitest-dev/vitest@40c299fe) - Use `toJSON` for error serialization - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5526 [<samp>(19a21)</samp>](vitest-dev/vitest@19a21e49) - **coverage**: - Exclude `*.test-d.*` by default - by [@MindfulPol](https://github.com/MindfulPol) in vitest-dev/vitest#5634 [<samp>(bfe8a)</samp>](vitest-dev/vitest@bfe8ad9d) - Apply `vite-node`'s wrapper only to executed files - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5642 [<samp>(c9883)</samp>](vitest-dev/vitest@c9883f3e) - **vm**: - Support network imports - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5610 [<samp>(103a6)</samp>](vitest-dev/vitest@103a6002) ##### 🏎 Performance - Improve performance of forks pool - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5592 [<samp>(d8304)</samp>](vitest-dev/vitest@d8304bb4) - Unnecessary rpc call when coverage is disabled - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5658 [<samp>(c5712)</samp>](vitest-dev/vitest@c571276a) ##### [View changes on GitHub](vitest-dev/vitest@v1.5.3...v1.6.0) ##### [v1.5.3](https://github.com/vitest-dev/vitest/releases/tag/v1.5.3) ##### 🐞 Bug Fixes - Use package.json name for a workspace project if not provided - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5608 [<samp>(48fba)</samp>](vitest-dev/vitest@48fba190) - Backport jest iterable equality within object - by [@sukovanej](https://github.com/sukovanej) in vitest-dev/vitest#5621 [<samp>(30e5d)</samp>](vitest-dev/vitest@30e5dc1b) - **browser**: Support benchmark - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5622 [<samp>(becab)</samp>](vitest-dev/vitest@becabb5e) - **reporter**: Use default error formatter for JUnit - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5629 [<samp>(20060)</samp>](vitest-dev/vitest@200609cc) ##### [View changes on GitHub](vitest-dev/vitest@v1.5.2...v1.5.3) ##### [v1.5.2](https://github.com/vitest-dev/vitest/releases/tag/v1.5.2) ##### 🐞 Bug Fixes - Check for null before storing in weakmap - by [@sheremet-va](https://github.com/sheremet-va) [<samp>(ce368)</samp>](vitest-dev/vitest@ce368457) ##### [View changes on GitHub](vitest-dev/vitest@v1.5.1...v1.5.2) ##### [v1.5.1](https://github.com/vitest-dev/vitest/releases/tag/v1.5.1) ##### 🚀 Features - **api**: `startVitest()` to accept `stdout` and `stdin` - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5493 [<samp>(780b1)</samp>](vitest-dev/vitest@780b187f) - This is listed as a feature, but it doesn't increase the minor version because `startVitest` API is experimental and doesn't follow semver. ##### 🐞 Bug Fixes - Close vite servers on all resolved projects - by [@surc54](https://github.com/surc54) in vitest-dev/vitest#5544 [<samp>(413ec)</samp>](vitest-dev/vitest@413ec5e6) - Fix default `import.meta.env.PROD: false` - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5561 [<samp>(9c649)</samp>](vitest-dev/vitest@9c64967f) - Resolve cwd correctly when initiating projects - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5582 [<samp>(ec9d7)</samp>](vitest-dev/vitest@ec9d7c93) - Always run `onTestFinished` in reverse order - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5598 [<samp>(23f29)</samp>](vitest-dev/vitest@23f29cea) - **browser**: - Disable `fileParallelism` by default on browser pool - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5528 [<samp>(5c69f)</samp>](vitest-dev/vitest@5c69f3f5) - Dispose tester iframe on done - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5595 [<samp>(b2135)</samp>](vitest-dev/vitest@b2135710) - **coverage**: - Fix bundling of `v8-to-istanbul` - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5549 [<samp>(df6a4)</samp>](vitest-dev/vitest@df6a4328) - Prevent crash when `cleanOnRerun` is disabled - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5540 [<samp>(ea3c1)</samp>](vitest-dev/vitest@ea3c16e4) - `thresholds` to compare files relative to root - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5574 [<samp>(80265)</samp>](vitest-dev/vitest@80265b40) - **expect**: - Fix `toEqual` and `toMatchObject` with circular references - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5535 [<samp>(9e641)</samp>](vitest-dev/vitest@9e6417c9) - **vitest**: - Fix false positive file filter match with leading slash - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5578 [<samp>(316eb)</samp>](vitest-dev/vitest@316eb739) - Watch the output directory correctly - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5584 [<samp>(e40f9)</samp>](vitest-dev/vitest@e40f9924) - StubEnv casts boolean on PROD/SSR/DEV - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5590 [<samp>(4da88)</samp>](vitest-dev/vitest@4da88045) ##### [View changes on GitHub](vitest-dev/vitest@v1.5.0...v1.5.1) ##### [v1.5.0](vitest-dev/vitest@v1.4.0...v1.5.0) ##### [v1.4.0](https://github.com/vitest-dev/vitest/releases/tag/v1.4.0) ##### 🚀 Features - Throw error when using snapshot assertion with `not` - by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5294 [<samp>(b9d37)</samp>](vitest-dev/vitest@b9d378f5) - Add a flag to include test location in tasks - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5342 [<samp>(d627e)</samp>](vitest-dev/vitest@d627e209) - **cli**: - Support wildcards in `--project` option - by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5295 [<samp>(201bd)</samp>](vitest-dev/vitest@201bd067) - **config**: - Add `shuffle.files` and `shuffle.tests` options - by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5281 [<samp>(356db)</samp>](vitest-dev/vitest@356db87b) - Deprecate `cache.dir` option - by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5229 [<samp>(d7e8b)</samp>](vitest-dev/vitest@d7e8b53e) - **coverage**: - Support `--changed` option - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5314 [<samp>(600b4)</samp>](vitest-dev/vitest@600b44d6) - **vitest**: - Support `clearScreen` cli flag - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5241 [<samp>(e1735)</samp>](vitest-dev/vitest@e1735fb6) ##### 🐞 Bug Fixes - Repeatable `--project` option - by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5265 [<samp>(d1a06)</samp>](vitest-dev/vitest@d1a06730) - `--inspect-brk` to pause before execution - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5355 [<samp>(e77c5)</samp>](vitest-dev/vitest@e77c553f) - Correct locations in test.each tasks - by [@sheremet-va](https://github.com/sheremet-va) [<samp>(4f6e3)</samp>](vitest-dev/vitest@4f6e39c1) - **api**: - Use resolvedUrls from devserver - by [@saitonakamura](https://github.com/saitonakamura) and [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5289 [<samp>(2fef5)</samp>](vitest-dev/vitest@2fef5a7e) - **browser**: - Add `magic-string` to `optimizeDeps.include` - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5278 [<samp>(8f04e)</samp>](vitest-dev/vitest@8f04e798) - **coverage**: - Expensive regexp hangs v8 report generation - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5259 [<samp>(d68a7)</samp>](vitest-dev/vitest@d68a7390) - V8 to ignore type-only files - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5328 [<samp>(c3eb8)</samp>](vitest-dev/vitest@c3eb8deb) - Respect source maps of pre-transpiled sources - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5367 [<samp>(6eda4)</samp>](vitest-dev/vitest@6eda473f) - Prevent `reportsDirectory` from removing user's project - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5376 [<samp>(07ec3)</samp>](vitest-dev/vitest@07ec3779) - **expect**: - Show diff on `toContain/toMatch` assertion error - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5267 [<samp>(8ee59)</samp>](vitest-dev/vitest@8ee59f0d) - **forks**: - Wrap `defines` to support `undefined` values - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5284 [<samp>(5b58b)</samp>](vitest-dev/vitest@5b58b399) - **typecheck**: - Update get-tsconfig 4.7.3 to fix false circularity error - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5384 [<samp>(bdc37)</samp>](vitest-dev/vitest@bdc371ee) - **ui**: - Escape html in error diff - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5325 [<samp>(ab60b)</samp>](vitest-dev/vitest@ab60bf8d) - **vitest**: - Loosen `onConsoleLog` return type - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5337 [<samp>(6d1b1)</samp>](vitest-dev/vitest@6d1b1451) - Ensure restoring terminal cursor on close - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5292 [<samp>(0bea2)</samp>](vitest-dev/vitest@0bea2247) - Ignore timeout on websocket reporter rpc - by [@sheremet-va](https://github.com/sheremet-va) [<samp>(38119)</samp>](vitest-dev/vitest@38119b75) - Correctly override api with --no-api flag - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5386 [<samp>(51d1d)</samp>](vitest-dev/vitest@51d1d472) - Logs in `beforeAll` and `afterAll` - by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5288 [<samp>(ce5ca)</samp>](vitest-dev/vitest@ce5ca6bf) - **workspace**: - Throw error when browser mode and `@vitest/coverage-v8` are used - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5250 [<samp>(29f98)</samp>](vitest-dev/vitest@29f98cd3) ##### [View changes on GitHub](vitest-dev/vitest@v1.3.1...v1.4.0)
Description
This PR adds a config flag
includeTaskLocations
that addslocation
property to every collected task.TODO:
This is a first step to allow #162:
This PR is also required to support vitest-dev/vscode#253
Please don't delete this checklist! Before submitting the PR, please make sure you do the following:
pnpm-lock.yaml
unless you introduce a new test example.Tests
pnpm test:ci
.Documentation
pnpm run docs
command.Changesets
feat:
,fix:
,perf:
,docs:
, orchore:
.