-
-
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
fix(workspace): throw error when browser mode and @vitest/coverage-v8
are used
#5250
fix(workspace): throw error when browser mode and @vitest/coverage-v8
are used
#5250
Conversation
✅ Deploy Preview for fastidious-cascaron-4ded94 canceled.
|
1551a3c
to
28e077c
Compare
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.
Thanks for investigation. I see why resolveConfig
doesn't throw for workspace browser and your approach looks good to me.
As an alternative, I'm wondering if we can move up getSerializableConfig
's root config merging:
vitest/packages/vitest/src/node/workspace.ts
Lines 330 to 332 in 366a78b
return deepMerge({ | |
...this.config, | |
coverage: this.ctx.config.coverage, |
to before resolveConfig
:
vitest/packages/vitest/src/node/workspace.ts
Lines 299 to 300 in 366a78b
async setServer(options: UserConfig, server: ViteDevServer) { | |
this.config = resolveConfig(this.ctx.mode, options, server.config) |
Something like this?
this.config = resolveConfig(
this.ctx.mode,
{
...options,
coverage: this.ctx.config.coverage,
},
server.config
);
I feel this is somewhat awkward, so I like doing checks during resolveWorkspace
though.
28e077c
to
e256152
Compare
Merging coverage options as early as in The other configuration modifications done in |
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.
I see, throwing during WorkspaceProject.setServer
propagates the error mostly same way, then that's good 👍
I didn't think about this approach when I was fixing workspace snapshot option #5199, but probably I could've done something similar.
[![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/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/console-fail-test). <!--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/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 | |---|---|---|---|---|---| | [@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.12.2`](https://renovatebot.com/diffs/npm/@types%2fnode/20.11.25/20.12.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/20.12.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/20.12.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/20.11.25/20.12.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/20.11.25/20.12.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/typescript-eslint) ([source](https://togithub.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin)) | [`7.2.0` -> `7.4.0`](https://renovatebot.com/diffs/npm/@typescript-eslint%2feslint-plugin/7.2.0/7.4.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@typescript-eslint%2feslint-plugin/7.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@typescript-eslint%2feslint-plugin/7.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@typescript-eslint%2feslint-plugin/7.2.0/7.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@typescript-eslint%2feslint-plugin/7.2.0/7.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@typescript-eslint/parser](https://togithub.com/typescript-eslint/typescript-eslint) ([source](https://togithub.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser)) | [`7.2.0` -> `7.4.0`](https://renovatebot.com/diffs/npm/@typescript-eslint%2fparser/7.2.0/7.4.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@typescript-eslint%2fparser/7.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@typescript-eslint%2fparser/7.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@typescript-eslint%2fparser/7.2.0/7.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@typescript-eslint%2fparser/7.2.0/7.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [pnpm](https://pnpm.io) ([source](https://togithub.com/pnpm/pnpm)) | [`8.15.4` -> `8.15.5`](https://renovatebot.com/diffs/npm/pnpm/8.15.4/8.15.5) | [![age](https://developer.mend.io/api/mc/badges/age/npm/pnpm/8.15.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/pnpm/8.15.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/pnpm/8.15.4/8.15.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/pnpm/8.15.4/8.15.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [typescript](https://www.typescriptlang.org/) ([source](https://togithub.com/Microsoft/TypeScript)) | [`5.4.2` -> `5.4.3`](https://renovatebot.com/diffs/npm/typescript/5.4.2/5.4.3) | [![age](https://developer.mend.io/api/mc/badges/age/npm/typescript/5.4.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/typescript/5.4.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/typescript/5.4.2/5.4.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/typescript/5.4.2/5.4.3?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>typescript-eslint/typescript-eslint (@​typescript-eslint/eslint-plugin)</summary> ### [`v7.4.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#740-2024-03-25) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v7.3.1...v7.4.0) ##### 🚀 Features - **eslint-plugin:** \[consistent-type-imports] ignore files with decorators, experimentalDecorators, and emitDecoratorMetadata - **eslint-plugin:** \[no-unnecessary-type-arguments] handle tagged templates - **eslint-plugin:** deprecate no-throw-literal and add a renamed only-throw-error ##### 🩹 Fixes - **eslint-plugin:** \[prefer-optional-chain] address multipart nullish checks false positive - **eslint-plugin:** \[prefer-optional-chain] properly disambiguate between `boolean` and `false` - **eslint-plugin:** \[no-unnecessary-type-assertion] avoid remove const casting on template literals with expressions inside ##### ❤️ Thank You - Abraham Guo - Brad Zacher - Josh Goldberg ✨ - Kim Sang Du - Kirk Waiblinger - Marco Pasqualetti - YeonJuan You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v7.3.1`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#731-2024-03-18) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v7.3.0...v7.3.1) ##### 🩹 Fixes - **eslint-plugin:** \[no-floating-promises] revert disable of ignoreVoid in strict config ##### ❤️ Thank You - Josh Goldberg ✨ You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v7.3.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#730-2024-03-18) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v7.2.0...v7.3.0) ##### 🚀 Features - **eslint-plugin:** \[restrict-template-expressions] add `allowArray` option - **eslint-plugin:** add meta.docs.recommended setting for strict config options - **eslint-plugin:** add rule `use-unknown-in-catch-callback-variables` - **eslint-plugin:** \[prefer-reduce-type-parameter] supports tuple, union, intersection ##### 🩹 Fixes - correct `engines.node` constraints in `package.json` - **eslint-plugin:** \[unbound-method] check method definition in object literal using longhand form - **eslint-plugin:** \[consistent-type-imports] handle imports without specifiers - **eslint-plugin:** \[no-redundant-type-constituents] incorrectly marks & string as redundant - **eslint-plugin:** \[no-unnecessary-qualifier] handle merge namespace with enum - **eslint-plugin:** \[no-unused-expressions] false negatives when using assertions - **eslint-plugin:** \[ban-ts-comment] more accurate handling of multiline comments - **eslint-plugin:** \[explicit-function-return-type, explicit-module-boundary-types] improved checking for allowHigherOrderFunctions option - **eslint-plugin:** \[class-literal-property-style] ignore property assigned in constructor - **eslint-plugin:** \[no-unnecessary-type-assertion] fix false negative for const variable declarations ##### ❤️ Thank You - Abraham Guo - Alexu - Arka Pratim Chaudhuri - auvred - Derrick Isaacson - fnx - Josh Goldberg ✨ - Kirk Waiblinger - Marta Cardoso - Michaël De Boey - Tristan Rasmussen - YeonJuan You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. </details> <details> <summary>typescript-eslint/typescript-eslint (@​typescript-eslint/parser)</summary> ### [`v7.4.0`](https://togithub.com/typescript-eslint/typescript-eslint/compare/v7.3.1...5d2469142262672e381db3b4a4e2bffa80984810) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v7.3.1...v7.4.0) ### [`v7.3.1`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#731-2024-03-18) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v7.3.0...v7.3.1) This was a version bump only for parser to align it with other projects, there were no code changes. You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v7.3.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#730-2024-03-18) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v7.2.0...v7.3.0) ##### 🩹 Fixes - correct `engines.node` constraints in `package.json` ##### ❤️ Thank You - Abraham Guo - Alexu - Arka Pratim Chaudhuri - auvred - Derrick Isaacson - fnx - Josh Goldberg ✨ - Kirk Waiblinger - Marta Cardoso - Michaël De Boey - Tristan Rasmussen - YeonJuan You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. </details> <details> <summary>pnpm/pnpm (pnpm)</summary> ### [`v8.15.5`](https://togithub.com/pnpm/pnpm/compare/v8.15.4...v8.15.5) [Compare Source](https://togithub.com/pnpm/pnpm/compare/v8.15.4...v8.15.5) </details> <details> <summary>Microsoft/TypeScript (typescript)</summary> ### [`v5.4.3`](https://togithub.com/microsoft/TypeScript/releases/tag/v5.4.3): TypeScript 5.4.3 [Compare Source](https://togithub.com/Microsoft/TypeScript/compare/v5.4.2...v5.4.3) For release notes, check out the [release announcement](https://devblogs.microsoft.com/typescript/announcing-typescript-5-4/). For the complete list of fixed issues, check out the - [fixed issues query for Typescript 5.4.0 (Beta)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.0%22+is%3Aclosed+). - [fixed issues query for Typescript 5.4.1 (RC)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.1%22+is%3Aclosed+). - [fixed issues query for Typescript 5.4.2 (Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.2%22+is%3Aclosed+). - [fixed issues query for Typescript 5.4.3 (Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.3%22+is%3Aclosed+). Downloads are available on: - [NuGet package](https://www.nuget.org/packages/Microsoft.TypeScript.MSBuild) </details> <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 - "before 4am on the first day of the month" (UTC), 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. 👻 **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/saud-alnasser/cachescribe). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@commitlint/cli](https://commitlint.js.org/) ([source](https://togithub.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/cli)) | [`19.0.3` -> `19.2.1`](https://renovatebot.com/diffs/npm/@commitlint%2fcli/19.0.3/19.2.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@commitlint%2fcli/19.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@commitlint%2fcli/19.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@commitlint%2fcli/19.0.3/19.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@commitlint%2fcli/19.0.3/19.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@commitlint/config-conventional](https://commitlint.js.org/) ([source](https://togithub.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/config-conventional)) | [`19.0.3` -> `19.1.0`](https://renovatebot.com/diffs/npm/@commitlint%2fconfig-conventional/19.0.3/19.1.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@commitlint%2fconfig-conventional/19.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@commitlint%2fconfig-conventional/19.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@commitlint%2fconfig-conventional/19.0.3/19.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@commitlint%2fconfig-conventional/19.0.3/19.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@types/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)) | [`20.11.24` -> `20.12.3`](https://renovatebot.com/diffs/npm/@types%2fnode/20.11.24/20.12.3) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/20.12.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/20.12.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/20.11.24/20.12.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/20.11.24/20.12.3?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/) | | [cz-git](https://cz-git.qbb.sh) ([source](https://togithub.com/Zhengqbbb/cz-git/tree/HEAD/packages/cz-git)) | [`1.8.0` -> `1.9.1`](https://renovatebot.com/diffs/npm/cz-git/1.8.0/1.9.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/cz-git/1.9.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/cz-git/1.9.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/cz-git/1.8.0/1.9.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/cz-git/1.8.0/1.9.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [typescript](https://www.typescriptlang.org/) ([source](https://togithub.com/Microsoft/TypeScript)) | [`5.3.3` -> `5.4.3`](https://renovatebot.com/diffs/npm/typescript/5.3.3/5.4.3) | [![age](https://developer.mend.io/api/mc/badges/age/npm/typescript/5.4.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/typescript/5.4.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/typescript/5.3.3/5.4.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/typescript/5.3.3/5.4.3?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>conventional-changelog/commitlint (@​commitlint/cli)</summary> ### [`v19.2.1`](https://togithub.com/conventional-changelog/commitlint/blob/HEAD/@​commitlint/cli/CHANGELOG.md#1921-2024-03-19) [Compare Source](https://togithub.com/conventional-changelog/commitlint/compare/v19.2.0...v19.2.1) **Note:** Version bump only for package [@​commitlint/cli](https://togithub.com/commitlint/cli) ### [`v19.2.0`](https://togithub.com/conventional-changelog/commitlint/blob/HEAD/@​commitlint/cli/CHANGELOG.md#1920-2024-03-15) [Compare Source](https://togithub.com/conventional-changelog/commitlint/compare/v19.1.0...v19.2.0) ##### Features - **cli:** introduce new --last flag, to stop recommending HEAD~1 ([#​3916](https://togithub.com/conventional-changelog/commitlint/issues/3916)) ([99f4f3f](https://togithub.com/conventional-changelog/commitlint/commit/99f4f3f4839190a2758083df7ba20b988e7b68a6)) ### [`v19.1.0`](https://togithub.com/conventional-changelog/commitlint/blob/HEAD/@​commitlint/cli/CHANGELOG.md#1910-2024-03-12) [Compare Source](https://togithub.com/conventional-changelog/commitlint/compare/v19.0.3...v19.1.0) **Note:** Version bump only for package [@​commitlint/cli](https://togithub.com/commitlint/cli) #### [19.0.3](https://togithub.com/conventional-changelog/commitlint/compare/v19.0.2...v19.0.3) (2024-02-28) **Note:** Version bump only for package [@​commitlint/cli](https://togithub.com/commitlint/cli) #### [19.0.2](https://togithub.com/conventional-changelog/commitlint/compare/v19.0.1...v19.0.2) (2024-02-28) **Note:** Version bump only for package [@​commitlint/cli](https://togithub.com/commitlint/cli) #### [19.0.1](https://togithub.com/conventional-changelog/commitlint/compare/v19.0.0...v19.0.1) (2024-02-27) ##### Bug Fixes - drop `resolve-from`, `resolve-global` and `import-fresh`, resolve global packages correctly ([#​3939](https://togithub.com/conventional-changelog/commitlint/issues/3939)) ([8793c63](https://togithub.com/conventional-changelog/commitlint/commit/8793c639c083c33714da0a29429b338776813d0c)), closes [#​3938](https://togithub.com/conventional-changelog/commitlint/issues/3938) </details> <details> <summary>conventional-changelog/commitlint (@​commitlint/config-conventional)</summary> ### [`v19.1.0`](https://togithub.com/conventional-changelog/commitlint/blob/HEAD/@​commitlint/config-conventional/CHANGELOG.md#1910-2024-03-12) [Compare Source](https://togithub.com/conventional-changelog/commitlint/compare/v19.0.3...v19.1.0) **Note:** Version bump only for package [@​commitlint/config-conventional](https://togithub.com/commitlint/config-conventional) #### [19.0.3](https://togithub.com/conventional-changelog/commitlint/compare/v19.0.2...v19.0.3) (2024-02-28) **Note:** Version bump only for package [@​commitlint/config-conventional](https://togithub.com/commitlint/config-conventional) </details> <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>Zhengqbbb/cz-git (cz-git)</summary> ### [`v1.9.1`](https://togithub.com/Zhengqbbb/cz-git/blob/HEAD/packages/cz-git/CHANGELOG.md#191-2024-03-30) [Compare Source](https://togithub.com/Zhengqbbb/cz-git/compare/v1.9.0...v1.9.1) ##### Bug Fixes - make ai fields to be optional ([#​164](https://togithub.com/Zhengqbbb/cz-git/issues/164)) ([5c007ce](https://togithub.com/Zhengqbbb/cz-git/commit/5c007ce44f277ac97c8d75330fad7e0e1edb4183)) ### [`v1.9.0`](https://togithub.com/Zhengqbbb/cz-git/blob/HEAD/packages/cz-git/CHANGELOG.md#190-2024-03-03) [Compare Source](https://togithub.com/Zhengqbbb/cz-git/compare/v1.8.0...v1.9.0) ##### Bug Fixes - **loader:** support commitlint v19 `esm` plugin extends config ([#​161](https://togithub.com/Zhengqbbb/cz-git/issues/161)) ([e410465](https://togithub.com/Zhengqbbb/cz-git/commit/e41046597391df673747777cfa0c6f73a7880daf)), closes [#​160](https://togithub.com/Zhengqbbb/cz-git/issues/160) </details> <details> <summary>Microsoft/TypeScript (typescript)</summary> ### [`v5.4.3`](https://togithub.com/microsoft/TypeScript/releases/tag/v5.4.3): TypeScript 5.4.3 [Compare Source](https://togithub.com/Microsoft/TypeScript/compare/v5.4.2...v5.4.3) For release notes, check out the [release announcement](https://devblogs.microsoft.com/typescript/announcing-typescript-5-4/). For the complete list of fixed issues, check out the - [fixed issues query for Typescript 5.4.0 (Beta)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.0%22+is%3Aclosed+). - [fixed issues query for Typescript 5.4.1 (RC)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.1%22+is%3Aclosed+). - [fixed issues query for Typescript 5.4.2 (Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.2%22+is%3Aclosed+). - [fixed issues query for Typescript 5.4.3 (Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.3%22+is%3Aclosed+). Downloads are available on: - [NuGet package](https://www.nuget.org/packages/Microsoft.TypeScript.MSBuild) ### [`v5.4.2`](https://togithub.com/microsoft/TypeScript/releases/tag/v5.4.2): TypeScript 5.4 [Compare Source](https://togithub.com/Microsoft/TypeScript/compare/v5.3.3...v5.4.2) For release notes, check out the [release announcement](https://devblogs.microsoft.com/typescript/announcing-typescript-5-4/). For the complete list of fixed issues, check out the - [fixed issues query for Typescript 5.4.0 (Beta)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.0%22+is%3Aclosed+). - [fixed issues query for Typescript 5.4.1 (RC)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.1%22+is%3Aclosed+). - [fixed issues query for Typescript 5.4.2 (Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.2%22+is%3Aclosed+). Downloads are available on: - [NuGet package](https://www.nuget.org/packages/Microsoft.TypeScript.MSBuild) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" in timezone Europe/Berlin, 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. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] 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/mheob/used-pm).
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@commitlint/cli](https://commitlint.js.org/) ([source](https://togithub.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/cli)) | [`19.0.3` -> `19.2.1`](https://renovatebot.com/diffs/npm/@commitlint%2fcli/19.0.3/19.2.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@commitlint%2fcli/19.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@commitlint%2fcli/19.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@commitlint%2fcli/19.0.3/19.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@commitlint%2fcli/19.0.3/19.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@types/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)) | [`20.11.24` -> `20.12.5`](https://renovatebot.com/diffs/npm/@types%2fnode/20.11.24/20.12.5) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/20.12.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/20.12.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/20.11.24/20.12.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/20.11.24/20.12.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@vitest/coverage-istanbul](https://togithub.com/vitest-dev/vitest/tree/main/packages/coverage-istanbul#readme) ([source](https://togithub.com/vitest-dev/vitest/tree/HEAD/packages/coverage-istanbul)) | [`1.3.1` -> `1.4.0`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-istanbul/1.3.1/1.4.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-istanbul/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-istanbul/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-istanbul/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-istanbul/1.3.1/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [cz-git](https://cz-git.qbb.sh) ([source](https://togithub.com/Zhengqbbb/cz-git/tree/HEAD/packages/cz-git)) | [`1.8.0` -> `1.9.1`](https://renovatebot.com/diffs/npm/cz-git/1.8.0/1.9.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/cz-git/1.9.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/cz-git/1.9.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/cz-git/1.8.0/1.9.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/cz-git/1.8.0/1.9.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [typescript](https://www.typescriptlang.org/) ([source](https://togithub.com/Microsoft/TypeScript)) | [`5.3.3` -> `5.4.4`](https://renovatebot.com/diffs/npm/typescript/5.3.3/5.4.4) | [![age](https://developer.mend.io/api/mc/badges/age/npm/typescript/5.4.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/typescript/5.4.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/typescript/5.3.3/5.4.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/typescript/5.3.3/5.4.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [vite](https://vitejs.dev) ([source](https://togithub.com/vitejs/vite/tree/HEAD/packages/vite)) | [`5.1.7` -> `5.2.8`](https://renovatebot.com/diffs/npm/vite/5.1.7/5.2.8) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vite/5.2.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vite/5.2.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vite/5.1.7/5.2.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vite/5.1.7/5.2.8?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>conventional-changelog/commitlint (@​commitlint/cli)</summary> ### [`v19.2.1`](https://togithub.com/conventional-changelog/commitlint/blob/HEAD/@​commitlint/cli/CHANGELOG.md#1921-2024-03-19) [Compare Source](https://togithub.com/conventional-changelog/commitlint/compare/v19.2.0...v19.2.1) **Note:** Version bump only for package [@​commitlint/cli](https://togithub.com/commitlint/cli) ### [`v19.2.0`](https://togithub.com/conventional-changelog/commitlint/blob/HEAD/@​commitlint/cli/CHANGELOG.md#1920-2024-03-15) [Compare Source](https://togithub.com/conventional-changelog/commitlint/compare/v19.1.0...v19.2.0) ##### Features - **cli:** introduce new --last flag, to stop recommending HEAD~1 ([#​3916](https://togithub.com/conventional-changelog/commitlint/issues/3916)) ([99f4f3f](https://togithub.com/conventional-changelog/commitlint/commit/99f4f3f4839190a2758083df7ba20b988e7b68a6)) ### [`v19.1.0`](https://togithub.com/conventional-changelog/commitlint/blob/HEAD/@​commitlint/cli/CHANGELOG.md#1910-2024-03-12) [Compare Source](https://togithub.com/conventional-changelog/commitlint/compare/v19.0.3...v19.1.0) **Note:** Version bump only for package [@​commitlint/cli](https://togithub.com/commitlint/cli) #### [19.0.3](https://togithub.com/conventional-changelog/commitlint/compare/v19.0.2...v19.0.3) (2024-02-28) **Note:** Version bump only for package [@​commitlint/cli](https://togithub.com/commitlint/cli) #### [19.0.2](https://togithub.com/conventional-changelog/commitlint/compare/v19.0.1...v19.0.2) (2024-02-28) **Note:** Version bump only for package [@​commitlint/cli](https://togithub.com/commitlint/cli) #### [19.0.1](https://togithub.com/conventional-changelog/commitlint/compare/v19.0.0...v19.0.1) (2024-02-27) ##### Bug Fixes - drop `resolve-from`, `resolve-global` and `import-fresh`, resolve global packages correctly ([#​3939](https://togithub.com/conventional-changelog/commitlint/issues/3939)) ([8793c63](https://togithub.com/conventional-changelog/commitlint/commit/8793c639c083c33714da0a29429b338776813d0c)), closes [#​3938](https://togithub.com/conventional-changelog/commitlint/issues/3938) </details> <details> <summary>vitest-dev/vitest (@​vitest/coverage-istanbul)</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>Zhengqbbb/cz-git (cz-git)</summary> ### [`v1.9.1`](https://togithub.com/Zhengqbbb/cz-git/blob/HEAD/packages/cz-git/CHANGELOG.md#191-2024-03-30) [Compare Source](https://togithub.com/Zhengqbbb/cz-git/compare/v1.9.0...v1.9.1) ##### Bug Fixes - make ai fields to be optional ([#​164](https://togithub.com/Zhengqbbb/cz-git/issues/164)) ([5c007ce](https://togithub.com/Zhengqbbb/cz-git/commit/5c007ce44f277ac97c8d75330fad7e0e1edb4183)) ### [`v1.9.0`](https://togithub.com/Zhengqbbb/cz-git/blob/HEAD/packages/cz-git/CHANGELOG.md#190-2024-03-03) [Compare Source](https://togithub.com/Zhengqbbb/cz-git/compare/v1.8.0...v1.9.0) ##### Bug Fixes - **loader:** support commitlint v19 `esm` plugin extends config ([#​161](https://togithub.com/Zhengqbbb/cz-git/issues/161)) ([e410465](https://togithub.com/Zhengqbbb/cz-git/commit/e41046597391df673747777cfa0c6f73a7880daf)), closes [#​160](https://togithub.com/Zhengqbbb/cz-git/issues/160) </details> <details> <summary>Microsoft/TypeScript (typescript)</summary> ### [`v5.4.4`](https://togithub.com/microsoft/TypeScript/releases/tag/v5.4.4): TypeScript 5.4.4 [Compare Source](https://togithub.com/Microsoft/TypeScript/compare/v5.4.3...v5.4.4) For release notes, check out the [release announcement](https://devblogs.microsoft.com/typescript/announcing-typescript-5-4/). For the complete list of fixed issues, check out the - [fixed issues query for Typescript 5.4.0 (Beta)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.0%22+is%3Aclosed+). - [fixed issues query for Typescript 5.4.1 (RC)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.1%22+is%3Aclosed+). - [fixed issues query for Typescript 5.4.2 (Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.2%22+is%3Aclosed+). - [fixed issues query for Typescript 5.4.3 (Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.3%22+is%3Aclosed+). - [fixed issues query for Typescript 5.4.4 (Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.4%22+is%3Aclosed+). Downloads are available on: - [NuGet package](https://www.nuget.org/packages/Microsoft.TypeScript.MSBuild) ### [`v5.4.3`](https://togithub.com/microsoft/TypeScript/releases/tag/v5.4.3): TypeScript 5.4.3 [Compare Source](https://togithub.com/Microsoft/TypeScript/compare/v5.4.2...v5.4.3) For release notes, check out the [release announcement](https://devblogs.microsoft.com/typescript/announcing-typescript-5-4/). For the complete list of fixed issues, check out the - [fixed issues query for Typescript 5.4.0 (Beta)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.0%22+is%3Aclosed+). - [fixed issues query for Typescript 5.4.1 (RC)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.1%22+is%3Aclosed+). - [fixed issues query for Typescript 5.4.2 (Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.2%22+is%3Aclosed+). - [fixed issues query for Typescript 5.4.3 (Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.3%22+is%3Aclosed+). Downloads are available on: - [NuGet package](https://www.nuget.org/packages/Microsoft.TypeScript.MSBuild) ### [`v5.4.2`](https://togithub.com/microsoft/TypeScript/releases/tag/v5.4.2): TypeScript 5.4 [Compare Source](https://togithub.com/Microsoft/TypeScript/compare/v5.3.3...v5.4.2) For release notes, check out the [release announcement](https://devblogs.microsoft.com/typescript/announcing-typescript-5-4/). For the complete list of fixed issues, check out the - [fixed issues query for Typescript 5.4.0 (Beta)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.0%22+is%3Aclosed+). - [fixed issues query for Typescript 5.4.1 (RC)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.1%22+is%3Aclosed+). - [fixed issues query for Typescript 5.4.2 (Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.2%22+is%3Aclosed+). Downloads are available on: - [NuGet package](https://www.nuget.org/packages/Microsoft.TypeScript.MSBuild) </details> <details> <summary>vitejs/vite (vite)</summary> ### [`v5.2.8`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small528-2024-04-03-small) [Compare Source](https://togithub.com/vitejs/vite/compare/v5.2.7...v5.2.8) - fix: csp nonce injection when no closing tag ([#​16281](https://togithub.com/vitejs/vite/issues/16281)) ([#​16282](https://togithub.com/vitejs/vite/issues/16282)) ([3c85c6b](https://togithub.com/vitejs/vite/commit/3c85c6b)), closes [#​16281](https://togithub.com/vitejs/vite/issues/16281) [#​16282](https://togithub.com/vitejs/vite/issues/16282) - fix: do not access document in `/@​vite/client` when not defined ([#​16318](https://togithub.com/vitejs/vite/issues/16318)) ([646319c](https://togithub.com/vitejs/vite/commit/646319c)), closes [#​16318](https://togithub.com/vitejs/vite/issues/16318) - fix: fix sourcemap when using object as `define` value ([#​15805](https://togithub.com/vitejs/vite/issues/15805)) ([445c4f2](https://togithub.com/vitejs/vite/commit/445c4f2)), closes [#​15805](https://togithub.com/vitejs/vite/issues/15805) - fix(css): unknown file error happened with lightningcss ([#​16306](https://togithub.com/vitejs/vite/issues/16306)) ([01af308](https://togithub.com/vitejs/vite/commit/01af308)), closes [#​16306](https://togithub.com/vitejs/vite/issues/16306) - fix(hmr): multiple updates happened when invalidate is called while multiple tabs open ([#​16307](https://togithub.com/vitejs/vite/issues/16307)) ([21cc10b](https://togithub.com/vitejs/vite/commit/21cc10b)), closes [#​16307](https://togithub.com/vitejs/vite/issues/16307) - fix(scanner): duplicate modules for same id if glob is used in html-like types ([#​16305](https://togithub.com/vitejs/vite/issues/16305)) ([eca68fa](https://togithub.com/vitejs/vite/commit/eca68fa)), closes [#​16305](https://togithub.com/vitejs/vite/issues/16305) - chore(deps): update all non-major dependencies ([#​16325](https://togithub.com/vitejs/vite/issues/16325)) ([a78e265](https://togithub.com/vitejs/vite/commit/a78e265)), closes [#​16325](https://togithub.com/vitejs/vite/issues/16325) - refactor: use types from sass instead of [@​types/sass](https://togithub.com/types/sass) ([#​16340](https://togithub.com/vitejs/vite/issues/16340)) ([4581e83](https://togithub.com/vitejs/vite/commit/4581e83)), closes [#​16340](https://togithub.com/vitejs/vite/issues/16340) ### [`v5.2.7`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small527-2024-03-29-small) [Compare Source](https://togithub.com/vitejs/vite/compare/v5.2.6...v5.2.7) - chore: deprecate splitVendorChunkPlugin ([#​16274](https://togithub.com/vitejs/vite/issues/16274)) ([45a06da](https://togithub.com/vitejs/vite/commit/45a06da)), closes [#​16274](https://togithub.com/vitejs/vite/issues/16274) - fix: skip injecting `__vite__mapDeps` when it's not used ([#​16271](https://togithub.com/vitejs/vite/issues/16271)) ([890538a](https://togithub.com/vitejs/vite/commit/890538a)), closes [#​16271](https://togithub.com/vitejs/vite/issues/16271) - fix(deps): update all non-major dependencies ([#​16258](https://togithub.com/vitejs/vite/issues/16258)) ([7caef42](https://togithub.com/vitejs/vite/commit/7caef42)), closes [#​16258](https://togithub.com/vitejs/vite/issues/16258) - fix(hmr): don't mutate module graph when collecting modules ([#​16302](https://togithub.com/vitejs/vite/issues/16302)) ([dfffea1](https://togithub.com/vitejs/vite/commit/dfffea1)), closes [#​16302](https://togithub.com/vitejs/vite/issues/16302) - fix(hmr): trigger hmr for missing file import errored module after file creation ([#​16303](https://togithub.com/vitejs/vite/issues/16303)) ([ffedc06](https://togithub.com/vitejs/vite/commit/ffedc06)), closes [#​16303](https://togithub.com/vitejs/vite/issues/16303) - fix(sourcemap): don't warn even if the sourcesContent is an empty string ([#​16273](https://togithub.com/vitejs/vite/issues/16273)) ([24e376a](https://togithub.com/vitejs/vite/commit/24e376a)), closes [#​16273](https://togithub.com/vitejs/vite/issues/16273) - feat(hmr): reload when HTML file is created/deleted ([#​16288](https://togithub.com/vitejs/vite/issues/16288)) ([1f53796](https://togithub.com/vitejs/vite/commit/1f53796)), closes [#​16288](https://togithub.com/vitejs/vite/issues/16288) ### [`v5.2.6`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small526-2024-03-24-small) [Compare Source](https://togithub.com/vitejs/vite/compare/v5.2.5...v5.2.6) - fix: `fs.deny` with globs with directories ([#​16250](https://togithub.com/vitejs/vite/issues/16250)) ([ba5269c](https://togithub.com/vitejs/vite/commit/ba5269c)), closes [#​16250](https://togithub.com/vitejs/vite/issues/16250) ### [`v5.2.5`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small525-2024-03-24-small) [Compare Source](https://togithub.com/vitejs/vite/compare/v5.2.4...v5.2.5) - fix: avoid SSR requests in waitForRequestIdle ([#​16246](https://togithub.com/vitejs/vite/issues/16246)) ([7093f77](https://togithub.com/vitejs/vite/commit/7093f77)), closes [#​16246](https://togithub.com/vitejs/vite/issues/16246) - docs: clarify enforce vs hook.order ([#​16226](https://togithub.com/vitejs/vite/issues/16226)) ([3a73e48](https://togithub.com/vitejs/vite/commit/3a73e48)), closes [#​16226](https://togithub.com/vitejs/vite/issues/16226) ### [`v5.2.4`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small524-2024-03-23-small) - fix: dont resolve imports with malformed URI ([#​16244](https://togithub.com/vitejs/vite/issues/16244)) ([fbf69d5](https://togithub.com/vitejs/vite/commit/fbf69d5)), closes [#​16244](https://togithub.com/vitejs/vite/issues/16244) ### [`v5.2.3`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small523-2024-03-22-small) - fix: handle warmup request error correctly ([#​16223](https://togithub.com/vitejs/vite/issues/16223)) ([d7c5256](https://togithub.com/vitejs/vite/commit/d7c5256)), closes [#​16223](https://togithub.com/vitejs/vite/issues/16223) - fix: skip encode if is data uri ([#​16233](https://togithub.com/vitejs/vite/issues/16233)) ([8617e76](https://togithub.com/vitejs/vite/commit/8617e76)), closes [#​16233](https://togithub.com/vitejs/vite/issues/16233) - fix(optimizer): fix `optimizeDeps.include` glob syntax for `./*` exports ([#​16230](https://togithub.com/vitejs/vite/issues/16230)) ([f184c80](https://togithub.com/vitejs/vite/commit/f184c80)), closes [#​16230](https://togithub.com/vitejs/vite/issues/16230) - fix(runtime): fix sourcemap with `prepareStackTrace` ([#​16220](https://togithub.com/vitejs/vite/issues/16220)) ([dad7f4f](https://togithub.com/vitejs/vite/commit/dad7f4f)), closes [#​16220](https://togithub.com/vitejs/vite/issues/16220) - chore: `utf8` replaced with `utf-8` ([#​16232](https://togithub.com/vitejs/vite/issues/16232)) ([9800c73](https://togithub.com/vitejs/vite/commit/9800c73)), closes [#​16232](https://togithub.com/vitejs/vite/issues/16232) ### [`v5.2.2`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small522-2024-03-20-small) - fix(importAnalysis): skip encode in ssr ([#​16213](https://togithub.com/vitejs/vite/issues/16213)) ([e4d2d60](https://togithub.com/vitejs/vite/commit/e4d2d60)), closes [#​16213](https://togithub.com/vitejs/vite/issues/16213) ### [`v5.2.1`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small521-2024-03-20-small) - fix: encode path uri only ([#​16212](https://togithub.com/vitejs/vite/issues/16212)) ([0b2e40b](https://togithub.com/vitejs/vite/commit/0b2e40b)), closes [#​16212](https://togithub.com/vitejs/vite/issues/16212) ### [`v5.2.0`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#520-2024-03-20) - fix: update client.ts@cleanUrl to accomodate blob protocol ([#​16182](https://togithub.com/vitejs/vite/issues/16182)) ([1a3b1d7](https://togithub.com/vitejs/vite/commit/1a3b1d7)), closes [#​16182](https://togithub.com/vitejs/vite/issues/16182) - fix(assets): avoid splitting `,` inside query parameter of image URI in srcset property ([#​16081](https://togithub.com/vitejs/vite/issues/16081)) ([50caf67](https://togithub.com/vitejs/vite/commit/50caf67)), closes [#​16081](https://togithub.com/vitejs/vite/issues/16081) - chore(deps): update all non-major dependencies ([#​16186](https://togithub.com/vitejs/vite/issues/16186)) ([842643d](https://togithub.com/vitejs/vite/commit/842643d)), closes [#​16186](https://togithub.com/vitejs/vite/issues/16186) - perf(transformRequest): fast-path watch and sourcemap handling ([#​16170](https://togithub.com/vitejs/vite/issues/16170)) ([de60f1e](https://togithub.com/vitejs/vite/commit/de60f1e)), closes [#​16170](https://togithub.com/vitejs/vite/issues/16170) - docs: add `@shikiji/vitepress-twoslash` ([#​16168](https://togithub.com/vitejs/vite/issues/16168)) ([6f8a320](https://togithub.com/vitejs/vite/commit/6f8a320)), closes [#​16168](https://togithub.com/vitejs/vite/issues/16168) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Wednesday" in timezone Europe/Berlin, 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. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] 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/mheob/changeset-changelog).
[![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)) | [`^0.34.6` -> `^1.0.0`](https://renovatebot.com/diffs/npm/vitest/0.34.6/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/0.34.6/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/0.34.6/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) ### [`v1.3.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.3.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.3.0...v1.3.1) ##### 🚀 Features - **vitest**: Expose parseCLI method - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5248](https://togithub.com/vitest-dev/vitest/issues/5248) [<samp>(c793a)</samp>](https://togithub.com/vitest-dev/vitest/commit/c793a136) - This feature is not affected by SemVer because it is part of an [experimental API](https://vitest.dev/advanced/api.html). ##### 🐞 Bug Fixes - Add task tests iteratively - by [@​DerYeger](https://togithub.com/DerYeger) in [https://github.com/vitest-dev/vitest/issues/5235](https://togithub.com/vitest-dev/vitest/issues/5235) [<samp>(38155)</samp>](https://togithub.com/vitest-dev/vitest/commit/38155548) - **coverage**: Ignore generated TS decorators - by [@​AriPerkkio](https://togithub.com/AriPerkkio) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5206](https://togithub.com/vitest-dev/vitest/issues/5206) [<samp>(a2804)</samp>](https://togithub.com/vitest-dev/vitest/commit/a280451b) - **ui**: Auto reload coverage iframe after test run - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5242](https://togithub.com/vitest-dev/vitest/issues/5242) [<samp>(5376d)</samp>](https://togithub.com/vitest-dev/vitest/commit/5376d5be) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.3.0...v1.3.1) ### [`v1.3.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.3.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.2.2...v1.3.0) ##### 🚀 Features - Deprecate watchExclude - by [@​patak-dev](https://togithub.com/patak-dev) in [https://github.com/vitest-dev/vitest/issues/5171](https://togithub.com/vitest-dev/vitest/issues/5171) [<samp>(82885)</samp>](https://togithub.com/vitest-dev/vitest/commit/828858f8) - **browser**: - Run test files in isolated iframes - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5036](https://togithub.com/vitest-dev/vitest/issues/5036) [<samp>(4f401)</samp>](https://togithub.com/vitest-dev/vitest/commit/4f40177e) - **config**: - Add `snapshotSerializers` option - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5092](https://togithub.com/vitest-dev/vitest/issues/5092) [<samp>(5b102)</samp>](https://togithub.com/vitest-dev/vitest/commit/5b1021da) - **reporters**: - Support custom options - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5111](https://togithub.com/vitest-dev/vitest/issues/5111) [<samp>(fec9c)</samp>](https://togithub.com/vitest-dev/vitest/commit/fec9ca0b) - **runner**: - Support automatic fixtures - by [@​fenghan34](https://togithub.com/fenghan34) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5102](https://togithub.com/vitest-dev/vitest/issues/5102) [<samp>(0441f)</samp>](https://togithub.com/vitest-dev/vitest/commit/0441f761) - **ui**: - Save splitpanes size to local storage - by [@​posva](https://togithub.com/posva) in [https://github.com/vitest-dev/vitest/issues/5166](https://togithub.com/vitest-dev/vitest/issues/5166) [<samp>(c28b4)</samp>](https://togithub.com/vitest-dev/vitest/commit/c28b4c26) - **vitest**: - Add onTestFinished hook - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5128](https://togithub.com/vitest-dev/vitest/issues/5128) [<samp>(6f5b4)</samp>](https://togithub.com/vitest-dev/vitest/commit/6f5b42b7) - Add github actions reporter - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5093](https://togithub.com/vitest-dev/vitest/issues/5093) [<samp>(40afb)</samp>](https://togithub.com/vitest-dev/vitest/commit/40afbe3a) - Expose jsdom global if jsdom environment is enabled - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5](https://togithub.com/vitest-dev/vitest/issues/5)[15](https://togithub.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:16)5 [<samp>(567d2)</samp>](https://togithub.com/vitest-dev/vitest/commit/567d20b9) - Add new CLI options - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5](https://togithub.com/vitest-dev/vitest/issues/5)[16](https://togithub.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:17)3 [<samp>(4e179)</samp>](https://togithub.com/vitest-dev/vitest/commit/4e179426) - "test" accepts options object as the second parameter - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5142](https://togithub.com/vitest-dev/vitest/issues/5142) [<samp>(7d9b1)</samp>](https://togithub.com/vitest-dev/vitest/commit/7d9b1fb0) - **vm**: - Support wasm module - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5131](https://togithub.com/vitest-dev/vitest/issues/5131) [<samp>(5ed53)</samp>](https://togithub.com/vitest-dev/vitest/commit/5ed537f0) ##### 🐞 Bug Fixes - Fix sourcemap in vm pools - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5063](https://togithub.com/vitest-dev/vitest/issues/5063) [<samp>(81105)</samp>](https://togithub.com/vitest-dev/vitest/commit/8110540a) - Don't optimize react/jsx-runtime by default when running in Node - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5079](https://togithub.com/vitest-dev/vitest/issues/5079) [<samp>(0d2bf)</samp>](https://togithub.com/vitest-dev/vitest/commit/0d2bfeac) - Rpc timeout error messages to include caller - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5103](https://togithub.com/vitest-dev/vitest/issues/5103) [<samp>(a6e04)</samp>](https://togithub.com/vitest-dev/vitest/commit/a6e04bd8) - Requires fixed version across the monorepo - by [@​antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/5208](https://togithub.com/vitest-dev/vitest/issues/5208) [<samp>(68f51)</samp>](https://togithub.com/vitest-dev/vitest/commit/68f51961) - Prevent merging of `poolOptions` - by [@​penalosa](https://togithub.com/penalosa) in [https://github.com/vitest-dev/vitest/issues/5221](https://togithub.com/vitest-dev/vitest/issues/5221) [<samp>(bc5b2)</samp>](https://togithub.com/vitest-dev/vitest/commit/bc5b2d04) - **browser**: - Don't exclude node builtins from optimization - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5082](https://togithub.com/vitest-dev/vitest/issues/5082) [<samp>(714c9)</samp>](https://togithub.com/vitest-dev/vitest/commit/714c911f) - Support `coverage.reportsDirectory` with multiple directories - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5056](https://togithub.com/vitest-dev/vitest/issues/5056) [<samp>(ae73f)</samp>](https://togithub.com/vitest-dev/vitest/commit/ae73f273) - **cli**: - Parse `--browser=<name>` correctly - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5](https://togithub.com/vitest-dev/vitest/issues/5)[17](https://togithub.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:18)9 [<samp>(656e2)</samp>](https://togithub.com/vitest-dev/vitest/commit/656e210b) - **coverage**: - `.tmp` directory conflicts with `--shard` option - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5](https://togithub.com/vitest-dev/vitest/issues/5)[18](https://togithub.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:19)4 [<samp>(5749d)</samp>](https://togithub.com/vitest-dev/vitest/commit/5749d2c2) - **deps**: - Update dependency strip-literal to v2 - by [@​renovate](https://togithub.com/renovate)\[bot] in[https://github.com/vitest-dev/vitest/issues/5136](https://togithub.com/vitest-dev/vitest/issues/5136)6 [<samp>(ef557)</samp>](https://togithub.com/vitest-dev/vitest/commit/ef557243) - **reporters**: - Testsuite name should include project root in Junit output - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5116](https://togithub.com/vitest-dev/vitest/issues/5116) [<samp>(2494f)</samp>](https://togithub.com/vitest-dev/vitest/commit/2494fbf2) - **typecheck**: - Fix suite collection while-loop - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5065](https://togithub.com/vitest-dev/vitest/issues/5065) [<samp>(35675)</samp>](https://togithub.com/vitest-dev/vitest/commit/35675bd3) - **ui**: - Fix tests duration time - by [@​vovsemenv](https://togithub.com/vovsemenv) in [https://github.com/vitest-dev/vitest/issues/52](https://togithub.com/vitest-dev/vitest/issues/52)[19](https://togithub.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:20) [<samp>(58103)</samp>](https://togithub.com/vitest-dev/vitest/commit/581030ee) - **utils**: - Fix asymmetric matcher diff inside array - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5189](https://togithub.com/vitest-dev/vitest/issues/5189) [<samp>(3ffcd)</samp>](https://togithub.com/vitest-dev/vitest/commit/3ffcd2ea) - **vitest**: - Correctly report failed test files as failures in json reporter, export json reporter types - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5081](https://togithub.com/vitest-dev/vitest/issues/5081) [<samp>(0417b)</samp>](https://togithub.com/vitest-dev/vitest/commit/0417ba\[20]\(https://github.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:21\)) - Don't run typecheck tests in browser if both are enabled - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5080](https://togithub.com/vitest-dev/vitest/issues/5080) [<samp>(1045b)</samp>](https://togithub.com/vitest-dev/vitest/commit/1045b98b) - Handle function config inside `defineWorkspace` - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5089](https://togithub.com/vitest-dev/vitest/issues/5089) [<samp>(0bf52)</samp>](https://togithub.com/vitest-dev/vitest/commit/0bf52533) - Remove excessive listeners when running without isolation, don't reset the state - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5132](https://togithub.com/vitest-dev/vitest/issues/5132) [<samp>(b607f)</samp>](https://togithub.com/vitest-dev/vitest/commit/b607f1ea) - Auto-enable "github-actions" only where users didn't configure reporters - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5158](https://togithub.com/vitest-dev/vitest/issues/5158) [<samp>(ef044)</samp>](https://togithub.com/vitest-dev/vitest/commit/ef0440cb) - Support more array cli options - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5162](https://togithub.com/vitest-dev/vitest/issues/5162) [<samp>(3afe6)</samp>](https://togithub.com/vitest-dev/vitest/commit/3afe68f1) - Add types for the new global `jsdom` variable - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5164](https://togithub.com/vitest-dev/vitest/issues/5164) [<samp>(0f898)</samp>](https://togithub.com/vitest-dev/vitest/commit/0f898d87) - Expose onTestFinished globally - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(1304f)</samp>](https://togithub.com/vitest-dev/vitest/commit/1304fed7) - Disable optimizer by default until it's stable - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5156](https://togithub.com/vitest-dev/vitest/issues/5156) [<samp>(e1bd8)</samp>](https://togithub.com/vitest-dev/vitest/commit/e1bd8d5d) - Delegate snapshot options to workspace from root config - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5199](https://togithub.com/vitest-dev/vitest/issues/5199) [<samp>(86297)</samp>](https://togithub.com/vitest-dev/vitest/commit/86297d42) - Fix `optimizeDeps.disabled` warnings on Vite 5.1 - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5](https://togithub.com/vitest-dev/vitest/issues/5)[21](https://togithub.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:22)5 [<samp>(1aecd)</samp>](https://togithub.com/vitest-dev/vitest/commit/1aecd650) - **vm**: - Handle `disableConsoleIntercept` config - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in https://github.com/vitest-dev/vitest/issues/[50](https://togithub.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:51)74 [<samp>(a55ad)</samp>](https://togithub.com/vitest-dev/vitest/commit/a55adac6) - Improve error when module is not found - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/50](https://togithub.com/vitest-dev/vitest/issues/50)[53](https://togithub.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:54) [<samp>(79a50)</samp>](https://togithub.com/vitest-dev/vitest/commit/79a50c3f) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.2.2...v1.3.0) ### [`v1.2.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.2.2) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2) ##### 🐞 Bug Fixes - **coverage**: - Remove `coverage/.tmp` files after run - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5008](https://togithub.com/vitest-dev/vitest/issues/5008) [<samp>(d53b8)</samp>](https://togithub.com/vitest-dev/vitest/commit/d53b8580) - Don't crash when re-run removes earlier run's reports - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5022](https://togithub.com/vitest-dev/vitest/issues/5022) [<samp>(66898)</samp>](https://togithub.com/vitest-dev/vitest/commit/6689856f) - **expect**: - Improve `toThrow(asymmetricMatcher)` failure message - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5000](https://togithub.com/vitest-dev/vitest/issues/5000) [<samp>(a199a)</samp>](https://togithub.com/vitest-dev/vitest/commit/a199ac2d) - **forks**: - Set correct `VITEST_POOL_ID` - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5002](https://togithub.com/vitest-dev/vitest/issues/5002) [<samp>(7d0a4)</samp>](https://togithub.com/vitest-dev/vitest/commit/7d0a4692) - **threads**: - Mention common work-around for the logged error - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5024](https://togithub.com/vitest-dev/vitest/issues/5024) [<samp>(915d6)</samp>](https://togithub.com/vitest-dev/vitest/commit/915d6c43) - **typecheck**: - Fix `ignoreSourceErrors` in run mode - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5044](https://togithub.com/vitest-dev/vitest/issues/5044) [<samp>(6dae3)</samp>](https://togithub.com/vitest-dev/vitest/commit/6dae3feb) - **vite-node**: - Provide import.meta.filename and dirname - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5011](https://togithub.com/vitest-dev/vitest/issues/5011) [<samp>(73148)</samp>](https://togithub.com/vitest-dev/vitest/commit/73148575) - **vitest**: - Expose getHooks & setHooks - by [@​adriencaccia](https://togithub.com/adriencaccia) in [https://github.com/vitest-dev/vitest/issues/5032](https://togithub.com/vitest-dev/vitest/issues/5032) [<samp>(73448)</samp>](https://togithub.com/vitest-dev/vitest/commit/73448706) - Test deep dependencies change detection - by [@​blake-newman](https://togithub.com/blake-newman) in [https://github.com/vitest-dev/vitest/issues/4934](https://togithub.com/vitest-dev/vitest/issues/4934) [<samp>(9c7c0)</samp>](https://togithub.com/vitest-dev/vitest/commit/9c7c0fc9) - Throw an error if vi.mock is exported - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5034](https://togithub.com/vitest-dev/vitest/issues/5034) [<samp>(253df)</samp>](https://togithub.com/vitest-dev/vitest/commit/253df1cc) - Allow `useFakeTimers` to fake `requestIdleCallback` on non browser - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5028](https://togithub.com/vitest-dev/vitest/issues/5028) [<samp>(a9a48)</samp>](https://togithub.com/vitest-dev/vitest/commit/a9a486f2) - Support older NodeJS with async `import.meta.resolve` - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5045](https://togithub.com/vitest-dev/vitest/issues/5045) [<samp>(cf564)</samp>](https://togithub.com/vitest-dev/vitest/commit/cf5641a9) - Don't throw an error if mocked file was already imported - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5050](https://togithub.com/vitest-dev/vitest/issues/5050) [<samp>(fff1a)</samp>](https://togithub.com/vitest-dev/vitest/commit/fff1a270) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2) ### [`v1.2.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.2.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ##### 🐞 Bug Fixes - **browser**: - Apply inlined workspace config to browser mode vite server - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4947](https://togithub.com/vitest-dev/vitest/issues/4947) [<samp>(db01f)</samp>](https://togithub.com/vitest-dev/vitest/commit/db01f6c2) - Fix browser testing url for https - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4855](https://togithub.com/vitest-dev/vitest/issues/4855) [<samp>(6c1cc)</samp>](https://togithub.com/vitest-dev/vitest/commit/6c1cc78b) - Don't fail when calling vi.useFakeTimers - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4992](https://togithub.com/vitest-dev/vitest/issues/4992) [<samp>(6c5fe)</samp>](https://togithub.com/vitest-dev/vitest/commit/6c5fe49b) - **coverage**: - `thresholds.autoUpdate` to work with arrow function configuration files - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4959](https://togithub.com/vitest-dev/vitest/issues/4959) [<samp>(4b411)</samp>](https://togithub.com/vitest-dev/vitest/commit/4b41131a) - **expect**: - Implement chai inspect for `AsymmetricMatcher` - by [@​hi-ogawa](https://togithub.com/hi-ogawa) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4942](https://togithub.com/vitest-dev/vitest/issues/4942) [<samp>(06bae)</samp>](https://togithub.com/vitest-dev/vitest/commit/06bae4dd) - **vite-node**: - Externalize network imports - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4987](https://togithub.com/vitest-dev/vitest/issues/4987) [<samp>(21f57)</samp>](https://togithub.com/vitest-dev/vitest/commit/21f5744d) - **vitest**: - Handle single `await vi.hoisted` - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4962](https://togithub.com/vitest-dev/vitest/issues/4962) [<samp>(dcf2e)</samp>](https://togithub.com/vitest-dev/vitest/commit/dcf2e9f2) - Simplify hoist transform check regex to avoid expensive regex match - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4974](https://togithub.com/vitest-dev/vitest/issues/4974) [<samp>(df0db)</samp>](https://togithub.com/vitest-dev/vitest/commit/df0db6a9) - Correctly find module if it has a version query - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4976](https://togithub.com/vitest-dev/vitest/issues/4976) [<samp>(952c3)</samp>](https://togithub.com/vitest-dev/vitest/commit/952c31df) - Check color support for intercepted console logging - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4966](https://togithub.com/vitest-dev/vitest/issues/4966) [<samp>(39a71)</samp>](https://togithub.com/vitest-dev/vitest/commit/39a7169c) - Use development/production conditions when resolving external modules - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4980](https://togithub.com/vitest-dev/vitest/issues/4980) [<samp>(8877e)</samp>](https://togithub.com/vitest-dev/vitest/commit/8877e22a) - Throw a syntax error if vi.hoisted is directly exported - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4969](https://togithub.com/vitest-dev/vitest/issues/4969) [<samp>(f8bff)</samp>](https://togithub.com/vitest-dev/vitest/commit/f8bff9ef) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ### [`v1.2.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.2.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ##### 🚀 Features - Support case-insensitive path matching in cli - by [@​tigranmk](https://togithub.com/tigranmk) in [https://github.com/vitest-dev/vitest/issues/3567](https://togithub.com/vitest-dev/vitest/issues/3567) and [https://github.com/vitest-dev/vitest/issues/4911](https://togithub.com/vitest-dev/vitest/issues/4911) [<samp>(1326c)</samp>](https://togithub.com/vitest-dev/vitest/commit/1326c6ef) - Add typeahead search - by [@​bonyuta0204](https://togithub.com/bonyuta0204) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4275](https://togithub.com/vitest-dev/vitest/issues/4275) and [https://github.com/vitest-dev/vitest/issues/4733](https://togithub.com/vitest-dev/vitest/issues/4733) [<samp>(480d8)</samp>](https://togithub.com/vitest-dev/vitest/commit/480d866a) - Add syntax highlighting to error messages - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4813](https://togithub.com/vitest-dev/vitest/issues/4813) [<samp>(8c969)</samp>](https://togithub.com/vitest-dev/vitest/commit/8c969de2) - Allow extending toEqual - by [@​tigranmk](https://togithub.com/tigranmk) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2875](https://togithub.com/vitest-dev/vitest/issues/2875) and [https://github.com/vitest-dev/vitest/issues/4880](https://togithub.com/vitest-dev/vitest/issues/4880) [<samp>(463be)</samp>](https://togithub.com/vitest-dev/vitest/commit/463bee38) - **coverage**: - Custom reporter support - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4828](https://togithub.com/vitest-dev/vitest/issues/4828) [<samp>(96dc6)</samp>](https://togithub.com/vitest-dev/vitest/commit/96dc6e9a) - **ui**: - Show unhandled errors on the ui - by [@​spiroka](https://togithub.com/spiroka) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4380](https://togithub.com/vitest-dev/vitest/issues/4380) [<samp>(7f59a)</samp>](https://togithub.com/vitest-dev/vitest/commit/7f59a1b8) - **vitest**: - Add `--disable-console-intercept` option to allow opting-out from automatic console log interception - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4786](https://togithub.com/vitest-dev/vitest/issues/4786) [<samp>(43fa6)</samp>](https://togithub.com/vitest-dev/vitest/commit/43fa6baa) - Show slow test duration in verbose reporter on CI - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4929](https://togithub.com/vitest-dev/vitest/issues/4929) [<samp>(ccb25)</samp>](https://togithub.com/vitest-dev/vitest/commit/ccb25836) - Allow overiding package installer with public API - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4936](https://togithub.com/vitest-dev/vitest/issues/4936) [<samp>(c2cce)</samp>](https://togithub.com/vitest-dev/vitest/commit/c2cceebb) ##### 🐞 Bug Fixes - **browser**: - Support vite config `server.headers` - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4890](https://togithub.com/vitest-dev/vitest/issues/4890) [<samp>(55f53)</samp>](https://togithub.com/vitest-dev/vitest/commit/55f5349f) - Fix `testNamePattern` config - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4909](https://togithub.com/vitest-dev/vitest/issues/4909) [<samp>(4add9)</samp>](https://togithub.com/vitest-dev/vitest/commit/4add9516) - Fix updating snapshot during watch mode - by [@​hi-ogawa](https://togithub.com/hi-ogawa) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4867](https://togithub.com/vitest-dev/vitest/issues/4867) [<samp>(508fc)</samp>](https://togithub.com/vitest-dev/vitest/commit/508fced9) - Remove redundant test failure logging - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4891](https://togithub.com/vitest-dev/vitest/issues/4891) [<samp>(7fd44)</samp>](https://togithub.com/vitest-dev/vitest/commit/7fd44dc3) - **happy-dom**: - Window.close() for environment teardown - by [@​capricorn86](https://togithub.com/capricorn86) in [https://github.com/vitest-dev/vitest/issues/4931](https://togithub.com/vitest-dev/vitest/issues/4931) [<samp>(91719)</samp>](https://togithub.com/vitest-dev/vitest/commit/91719bbd) - **utils**: - Fix `objDisplay` default truncate option for `test.each` title - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4917](https://togithub.com/vitest-dev/vitest/issues/4917) [<samp>(9ae9d)</samp>](https://togithub.com/vitest-dev/vitest/commit/9ae9dac9) - **vitest**: - Fix tap reporter to handle custom error - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4897](https://togithub.com/vitest-dev/vitest/issues/4897) [<samp>(f8ba8)</samp>](https://togithub.com/vitest-dev/vitest/commit/f8ba80f2) - Gracefully exit Vitest if `process.exit` is called inside the test - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4903](https://togithub.com/vitest-dev/vitest/issues/4903) [<samp>(8e6c1)</samp>](https://togithub.com/vitest-dev/vitest/commit/8e6c104a) - Throw "cannot mock" error only in isolated pools - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4905](https://togithub.com/vitest-dev/vitest/issues/4905) [<samp>(f99cc)</samp>](https://togithub.com/vitest-dev/vitest/commit/f99cc313) - Don't throw SyntaxError when "await vi.hoisted" is used - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4915](https://togithub.com/vitest-dev/vitest/issues/4915) [<samp>(ca62f)</samp>](https://togithub.com/vitest-dev/vitest/commit/ca62f37a) - Correctly parse --maxWorkers/--minWorkers - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4924](https://togithub.com/vitest-dev/vitest/issues/4924) [<samp>(0e77e)</samp>](https://togithub.com/vitest-dev/vitest/commit/0e77e697) - Show correct error when vi.hoisted is used inside vi.mock and the other way around - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4916](https://togithub.com/vitest-dev/vitest/issues/4916) [<samp>(c4eac)</samp>](https://togithub.com/vitest-dev/vitest/commit/c4eacbb7) - Call global teardown when using workspaces - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4935](https://togithub.com/vitest-dev/vitest/issues/4935) [<samp>(528bd)</samp>](https://togithub.com/vitest-dev/vitest/commit/528bd558) - Use file instead of id for HMR - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4938](https://togithub.com/vitest-dev/vitest/issues/4938) [<samp>(ca76f)</samp>](https://togithub.com/vitest-dev/vitest/commit/ca76f457) - Add inlined deps to ssr.noExternal so they are added to the module graph - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4945](https://togithub.com/vitest-dev/vitest/issues/4945) [<samp>(1663f)</samp>](https://togithub.com/vitest-dev/vitest/commit/1663f5ca) - **workspace**: - Support overring `pool` and `poolOptions` on project level - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4765](https://togithub.com/vitest-dev/vitest/issues/4765) [<samp>(e9fe4)</samp>](https://togithub.com/vitest-dev/vitest/commit/e9fe4181) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ### [`v1.1.3`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.1.3) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.1.2...v1.1.3) ##### 🐞 Bug Fixes - **vitest**: - Vi.mock breaks tests when using imported variables inside the factory - by [@​sheremet-va](https://togithub.com/sheremet-va) and **Dunqing** in [https://github.com/vitest-dev/vitest/issues/4873](https://togithub.com/vitest-dev/vitest/issues/4873) [<samp>(7719e)</samp>](https://togithub.com/vitest-dev/vitest/commit/7719e79e) - Apply `slowTestThreshold` to all reporters - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4876](https://togithub.com/vitest-dev/vitest/issues/4876) [<samp>(1769c)</samp>](https://togithub.com/vitest-dev/vitest/commit/1769c796) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.1.2...v1.1.3) ### [`v1.1.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.1.2) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.1.1...v1.1.2) ##### 🐞 Bug Fixes - Remove internal flag from UI option in the config - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(7b4a2)</samp>](https://togithub.com/vitest-dev/vitest/commit/7b4a2fce) - **browser**: - Avoid safaridriver collision - by [@​mbland](https://togithub.com/mbland) in [https://github.com/vitest-dev/vitest/issues/4863](https://togithub.com/vitest-dev/vitest/issues/4863) [<samp>(345a2)</samp>](https://togithub.com/vitest-dev/vitest/commit/345a25d6) - Resolved failure to find arbitrarily-named snapshot files when using `expect(...).toMatchFileSnapshot()` matcher. - by [@​zmullett](https://togithub.com/zmullett), **Zac Mullett** and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4839](https://togithub.com/vitest-dev/vitest/issues/4839) [<samp>(b8140)</samp>](https://togithub.com/vitest-dev/vitest/commit/b8140fca) - Handle config.base - by [@​mbland](https://togithub.com/mbland) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4686](https://togithub.com/vitest-dev/vitest/issues/4686) and [https://github.com/vitest-dev/vitest/issues/4692](https://togithub.com/vitest-dev/vitest/issues/4692) [<samp>(9e345)</samp>](https://togithub.com/vitest-dev/vitest/commit/9e34557e) - **deps**: - Update dependency acorn-walk to ^8.3.1 - by [@​renovate](https://togithub.com/renovate)\[bot] in[https://github.com/vitest-dev/vitest/issues/4837](https://togithub.com/vitest-dev/vitest/issues/4837)7 [<samp>(47bc2)</samp>](https://togithub.com/vitest-dev/vitest/commit/47bc233d) - Update dependency sirv to ^2.0.4 - by [@​renovate](https://togithub.com/renovate)\[bot] in[https://github.com/vitest-dev/vitest/issues/4838](https://togithub.com/vitest-dev/vitest/issues/4838)8 [<samp>(df261)</samp>](https://togithub.com/vitest-dev/vitest/commit/df261ae1) - **runner**: - Fix fixture cleanup for concurrent tests - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4827](https://togithub.com/vitest-dev/vitest/issues/4827) [<samp>(1fee6)</samp>](https://togithub.com/vitest-dev/vitest/commit/1fee63f2) - **spy**: - Don't allow Promise in mockImplementation - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4859](https://togithub.com/vitest-dev/vitest/issues/4859) [<samp>(072e0)</samp>](https://togithub.com/vitest-dev/vitest/commit/072e02bf) - **vite-node**: - Correctly return cached result - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4870](https://togithub.com/vitest-dev/vitest/issues/4870) [<samp>(15bbb)</samp>](https://togithub.com/vitest-dev/vitest/commit/15bbbf81) - **vitest**: - Throw an error if mock was already loaded when vi.mock is called - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4862](https://togithub.com/vitest-dev/vitest/issues/4862) [<samp>(e12a5)</samp>](https://togithub.com/vitest-dev/vitest/commit/e12a5a36) - Correctly rerun test files on change if server was restarted - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4871](https://togithub.com/vitest-dev/vitest/issues/4871) [<samp>(6088b)</samp>](https://togithub.com/vitest-dev/vitest/commit/6088b372) - **vm-threads**: - Don't crash on percentage based `memoryLimit` - by [@​inottn](https://togithub.com/inottn) and [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4802](https://togithub.com/vitest-dev/vitest/issues/4802) [<samp>(70e8a)</samp>](https://togithub.com/vitest-dev/vitest/commit/70e8a389) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.1.1...v1.1.2) ### [`v1.1.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.1.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.1.0...v1.1.1) ##### 🐞 Bug Fixes - Don't crash when using happy-dom or jsdom environment on Yarn PnP workspaces - by [@​wojtekmaj](https://togithub.com/wojtekmaj) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4698](https://togithub.com/vitest-dev/vitest/issues/4698) [<samp>(ee8b4)</samp>](https://togithub.com/vitest-dev/vitest/commit/ee8b46db) - Don't fail if `inline: true` is set - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4815](https://togithub.com/vitest-dev/vitest/issues/4815) [<samp>(8f622)</samp>](https://togithub.com/vitest-dev/vitest/commit/8f6225b8) - Correct option name `--no-parallelism` - by [@​bonyuta0204](https://togithub.com/bonyuta0204) in [https://github.com/vitest-dev/vitest/issues/4831](https://togithub.com/vitest-dev/vitest/issues/4831) [<samp>(5053a)</samp>](https://togithub.com/vitest-dev/vitest/commit/5053a5dd) - Match jest json output by making json reporter output ndjson-compatible - by [@​bard](https://togithub.com/bard) in [https://github.com/vitest-dev/vitest/issues/4824](https://togithub.com/vitest-dev/vitest/issues/4824) [<samp>(7e6a6)</samp>](https://togithub.com/vitest-dev/vitest/commit/7e6a62af) - **runner**: - Reset "current test" state on dynamic `skip` - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4814](https://togithub.com/vitest-dev/vitest/issues/4814) [<samp>(19faf)</samp>](https://togithub.com/vitest-dev/vitest/commit/19faf00e) - **vitest**: - Don't hang when mocking files with cyclic dependencies - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4811](https://togithub.com/vitest-dev/vitest/issues/4811) [<samp>(e8ca6)</samp>](https://togithub.com/vitest-dev/vitest/commit/e8ca6437) - Initialize snapshot state only once for each file suite - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4796](https://togithub.com/vitest-dev/vitest/issues/4796) [<samp>(957da)</samp>](https://togithub.com/vitest-dev/vitest/commit/957daa32) - Fix file snapshots in skipped suites considered obsolete - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4795](https://togithub.com/vitest-dev/vitest/issues/4795) [<samp>(06c14)</samp>](https://togithub.com/vitest-dev/vitest/commit/06c14f7d) - Show `beforeAll/afterAll` errors in junit reporter - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4819](https://togithub.com/vitest-dev/vitest/issues/4819) [<samp>(2baea)</samp>](https://togithub.com/vitest-dev/vitest/commit/2baea35e) - **vm-threads**: - Tests not cancelled on key press, cancelled tests shown twice - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4781](https://togithub.com/vitest-dev/vitest/issues/4781) [<samp>(cf53d)</samp>](https://togithub.com/vitest-dev/vitest/commit/cf53d4be) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.1.0...v1.1.1) ### [`v1.1.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.1.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.0.4...v1.1.0) ##### 🚀 Features - Add es-main compatibility to vite-node - by [@​zookatron](https://togithub.com/zookatron) in [https://github.com/vitest-dev/vitest/issues/4751](https://togithub.com/vitest-dev/vitest/issues/4751) [<samp>(486a3)</samp>](https://togithub.com/vitest-dev/vitest/commit/486a3e61) - Add `--workspace` option, fix root resolution in workspaces - by [@​sheremet-va](https://togithub.com/sheremet-va) and [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4773](https://togithub.com/vitest-dev/vitest/issues/4773) [<samp>(67d93)</samp>](https://togithub.com/vitest-dev/vitest/commit/67d93eda) - Add `--no-file-parallelism`, `--maxWorkers`, `--minWorkers` flags - by [@​sheremet-va](https://togithub.com/sheremet-va) and [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4705](https://togithub.com/vitest-dev/vitest/issues/4705) [<samp>(fd5d7)</samp>](https://togithub.com/vitest-dev/vitest/commit/fd5d7e66) - Add `--no-isolate` flag to improve performance, add documentation about performance - by [@​sheremet-va](https://togithub.com/sheremet-va), [@​AriPerkkio](https://togithub.com/AriPerkkio) and **Pascal Jufer** in [https://github.com/vitest-dev/vitest/issues/4777](https://togithub.com/vitest-dev/vitest/issues/4777) [<samp>(4d55a)</samp>](https://togithub.com/vitest-dev/vitest/commit/4d55a026) - Add `--exclude` CLI flag - by [@​Namchee](https://togithub.com/Namchee) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4279](https://togithub.com/vitest-dev/vitest/issues/4279) [<samp>(f859e)</samp>](https://togithub.com/vitest-dev/vitest/commit/f859efc0) ##### 🐞 Bug Fixes - Correctly reset provided values - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4775](https://togithub.com/vitest-dev/vitest/issues/4775) [<samp>(5a71e)</samp>](https://togithub.com/vitest-dev/vitest/commit/5a71eb30) - **expect**: - Fix `toHaveProperty` assertion error diff - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4734](https://togithub.com/vitest-dev/vitest/issues/4734) [<samp>(f8f70)</samp>](https://togithub.com/vitest-dev/vitest/commit/f8f70f7c) - **runner**: - Handle fixture teardown error - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4683](https://togithub.com/vitest-dev/vitest/issues/4683) [<samp>(c6f5f)</samp>](https://togithub.com/vitest-dev/vitest/commit/c6f5f7f9) - **types**: - `defineWorkspace` fix intellisense and report type errors - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4743](https://togithub.com/vitest-dev/vitest/issues/4743) [<samp>(9cc36)</samp>](https://togithub.com/vitest-dev/vitest/commit/9cc36689) - **ui**: - Escape html for console log view - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4724](https://togithub.com/vitest-dev/vitest/issues/4724) [<samp>(e0dde)</samp>](https://togithub.com/vitest-dev/vitest/commit/e0dde6ab) - Fix coverage iframe url for html report preview - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4717](https://togithub.com/vitest-dev/vitest/issues/4717) [<samp>(71911)</samp>](https://togithub.com/vitest-dev/vitest/commit/71911039) - Show file item when search filter matches only test cases - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4736](https://togithub.com/vitest-dev/vitest/issues/4736) [<samp>(f43fd)</samp>](https://togithub.com/vitest-dev/vitest/commit/f43fdd87) - **vitest**: - Pass down CLI options to override workspace configs - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4774](https://togithub.com/vitest-dev/vitest/issues/4774) [<samp>(8dabe)</samp>](https://togithub.com/vitest-dev/vitest/commit/8dabef86) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.0.4...v1.1.0) ### [`v1.0.4`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.0.4) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.0.3...v1.0.4) The previous release was built incorrectly and didn't include the performance fix. This release fixes that. ##### 🐞 Bug Fixes - **cli**: `--coverage.all=false` resolved incorrectly - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4697](https://togithub.com/vitest-dev/vitest/issues/4697) [<samp>(a7931)</samp>](https://togithub.com/vitest-dev/vitest/commit/a7931bbf) ##### 🏎 Performance - **reporters**: Downgrade `log-update` to v5 - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4711](https://togithub.com/vitest-dev/vitest/issues/4711) [<samp>(13ff9)</samp>](https://togithub.com/vitest-dev/vitest/commit/13ff97a3) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.0.3...v1.0.4) ### [`v1.0.3`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.0.3) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.0.2...v1.0.3) ##### 🐞 Bug Fixes - Correct package exports - by [@​userquin](https://togithub.com/userquin) in [https://github.com/vitest-dev/vitest/issues/4707](https://togithub.com/vitest-dev/vitest/issues/4707) [<samp>(37388)</samp>](https://togithub.com/vitest-dev/vitest/commit/37388d69) - **runner**: Fix async fixture teardown - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4700](https://togithub.com/vitest-dev/vitest/issues/4700) [<samp>(92afd)</samp>](https://togithub.com/vitest-dev/vitest/commit/92afd54c) - **vitest**: Correctly filter changed files when Vitest workspace is used - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4693](https://togithub.com/vitest-dev/vitest/issues/4693) [<samp>(34135)</samp>](https://togithub.com/vitest-dev/vitest/commit/3413518b) ##### 🏎 Performance - **reporters**: Downgrade `log-update` to v5 - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4711](https://togithub.com/vitest-dev/vitest/issues/4711) [<samp>(13ff9)</samp>](https://togithub.com/vitest-dev/vitest/commit/13ff97a3) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.0.2...v1.0.3) ### [`v1.0.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.0.2) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.0.1...v1.0.2) ##### 🐞 Bug Fixes - Don't check if vite is installed - by [@​wojtekmaj](https://togithub.com/wojtekmaj) in [https://github.com/vitest-dev/vitest/issues/4659](https://togithub.com/vitest-dev/vitest/issues/4659) [<samp>(775e2)</samp>](https://togithub.com/vitest-dev/vitest/commit/775e2014) - Fix ensurePackageInstalled on Yarn PnP - by [@​wojtekmaj](https://togithub.com/wojtekmaj) in [https://github.com/vitest-dev/vitest/issues/4657](https://togithub.com/vitest-dev/vitest/issues/4657) [<samp>(574cc)</samp>](https://togithub.com/vitest-dev/vitest/commit/574cc7d0) - Apply `stripSnapshotIndentation` for thrown snapshot - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4663](https://togithub.com/vitest-dev/vitest/issues/4663) [<samp>(74820)</samp>](https://togithub.com/vitest-dev/vitest/commit/748205dc) - **cli**: - Prompted packages fail to install - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4593](https://togithub.com/vitest-dev/vitest/issues/4593) [<samp>(a9908)</samp>](https://togithub.com/vitest-dev/vitest/commit/a9908453) - **expect**: - Apply `URL` equality check only when `URL` is available - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4670](https://togithub.com/vitest-dev/vitest/issues/4670) [<samp>(43783)</samp>](https://togithub.com/vitest-dev/vitest/commit/43783cfe) - **runner**: - Improve fixture error messages - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4673](https://togithub.com/vitest-dev/vitest/issues/4673) [<samp>(1e4aa)</samp>](https://togithub.com/vitest-dev/vitest/commit/1e4aa8e4) - Fix fixture cleanup when test times out - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4679](https://togithub.com/vitest-dev/vitest/issues/4679) [<samp>(e7c5e)</samp>](https://togithub.com/vitest-dev/vitest/commit/e7c5e1f7) - **vitest**: - Support new Request('/api') in happy-dom - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4671](https://togithub.com/vitest-dev/vitest/issues/4671) [<samp>(6e6ee)</samp>](https://togithub.com/vitest-dev/vitest/commit/6e6ee10e) - Skip processing getter in auto-mocked constructor call - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4677](https://togithub.com/vitest-dev/vitest/issues/4677) [<samp>(cb786)</samp>](https://togithub.com/vitest-dev/vitest/commit/cb7864aa) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.0.1...v1.0.2) ### [`v1.0.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.0.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.0.0...v1.0.1) ##### 🐞 Bug Fixes - Bump vitest packages `peerDependencies` versions - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4654](https://togithub.com/vitest-dev/ </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 [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/r4ai/templates). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy44MS4zIiwidXBkYXRlZEluVmVyIjoiMzcuMjY5LjIiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: rai <mj82xx@gmail.com> Co-authored-by: rai <96561881+r4ai@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 | |---|---|---|---|---|---| | [@testing-library/react](https://togithub.com/testing-library/react-testing-library) | [`14.2.1` -> `14.3.1`](https://renovatebot.com/diffs/npm/@testing-library%2freact/14.2.1/14.3.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@testing-library%2freact/14.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@testing-library%2freact/14.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@testing-library%2freact/14.2.1/14.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@testing-library%2freact/14.2.1/14.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@tsconfig/recommended](https://togithub.com/tsconfig/bases) ([source](https://togithub.com/tsconfig/bases/tree/HEAD/bases)) | [`1.0.3` -> `1.0.6`](https://renovatebot.com/diffs/npm/@tsconfig%2frecommended/1.0.3/1.0.6) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@tsconfig%2frecommended/1.0.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@tsconfig%2frecommended/1.0.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@tsconfig%2frecommended/1.0.3/1.0.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@tsconfig%2frecommended/1.0.3/1.0.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@tsconfig/strictest](https://togithub.com/tsconfig/bases) ([source](https://togithub.com/tsconfig/bases/tree/HEAD/bases)) | [`2.0.3` -> `2.0.5`](https://renovatebot.com/diffs/npm/@tsconfig%2fstrictest/2.0.3/2.0.5) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@tsconfig%2fstrictest/2.0.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@tsconfig%2fstrictest/2.0.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@tsconfig%2fstrictest/2.0.3/2.0.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@tsconfig%2fstrictest/2.0.3/2.0.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@types/react](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react)) | [`18.2.66` -> `18.2.78`](https://renovatebot.com/diffs/npm/@types%2freact/18.2.66/18.2.78) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2freact/18.2.78?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2freact/18.2.78?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2freact/18.2.66/18.2.78?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2freact/18.2.66/18.2.78?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@typescript-eslint/eslint-plugin](https://typescript-eslint.io/packages/eslint-plugin) ([source](https://togithub.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin)) | [`7.2.0` -> `7.6.0`](https://renovatebot.com/diffs/npm/@typescript-eslint%2feslint-plugin/7.2.0/7.6.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@typescript-eslint%2feslint-plugin/7.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@typescript-eslint%2feslint-plugin/7.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@typescript-eslint%2feslint-plugin/7.2.0/7.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@typescript-eslint%2feslint-plugin/7.2.0/7.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@typescript-eslint/parser](https://typescript-eslint.io/packages/parser) ([source](https://togithub.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser)) | [`7.2.0` -> `7.6.0`](https://renovatebot.com/diffs/npm/@typescript-eslint%2fparser/7.2.0/7.6.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@typescript-eslint%2fparser/7.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@typescript-eslint%2fparser/7.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@typescript-eslint%2fparser/7.2.0/7.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@typescript-eslint%2fparser/7.2.0/7.6.0?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.5.0`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-v8/1.3.1/1.5.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-v8/1.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-v8/1.5.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.5.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.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [eslint-plugin-jsdoc](https://togithub.com/gajus/eslint-plugin-jsdoc) | [`48.2.1` -> `48.2.3`](https://renovatebot.com/diffs/npm/eslint-plugin-jsdoc/48.2.1/48.2.3) | [![age](https://developer.mend.io/api/mc/badges/age/npm/eslint-plugin-jsdoc/48.2.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/eslint-plugin-jsdoc/48.2.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/eslint-plugin-jsdoc/48.2.1/48.2.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/eslint-plugin-jsdoc/48.2.1/48.2.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [eslint-plugin-react](https://togithub.com/jsx-eslint/eslint-plugin-react) | [`7.34.0` -> `7.34.1`](https://renovatebot.com/diffs/npm/eslint-plugin-react/7.34.0/7.34.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/eslint-plugin-react/7.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/eslint-plugin-react/7.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/eslint-plugin-react/7.34.0/7.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/eslint-plugin-react/7.34.0/7.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [happy-dom](https://togithub.com/capricorn86/happy-dom) | [`14.3.9` -> `14.7.1`](https://renovatebot.com/diffs/npm/happy-dom/14.3.9/14.7.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/happy-dom/14.7.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/happy-dom/14.7.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/happy-dom/14.3.9/14.7.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/happy-dom/14.3.9/14.7.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [semantic-release](https://togithub.com/semantic-release/semantic-release) | [`23.0.2` -> `23.0.8`](https://renovatebot.com/diffs/npm/semantic-release/23.0.2/23.0.8) | [![age](https://developer.mend.io/api/mc/badges/age/npm/semantic-release/23.0.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/semantic-release/23.0.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/semantic-release/23.0.2/23.0.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/semantic-release/23.0.2/23.0.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [typedoc](https://typedoc.org) ([source](https://togithub.com/TypeStrong/TypeDoc)) | [`0.25.12` -> `0.25.13`](https://renovatebot.com/diffs/npm/typedoc/0.25.12/0.25.13) | [![age](https://developer.mend.io/api/mc/badges/age/npm/typedoc/0.25.13?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/typedoc/0.25.13?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/typedoc/0.25.12/0.25.13?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/typedoc/0.25.12/0.25.13?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [typescript](https://www.typescriptlang.org/) ([source](https://togithub.com/Microsoft/TypeScript)) | [`5.4.2` -> `5.4.5`](https://renovatebot.com/diffs/npm/typescript/5.4.2/5.4.5) | [![age](https://developer.mend.io/api/mc/badges/age/npm/typescript/5.4.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/typescript/5.4.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/typescript/5.4.2/5.4.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/typescript/5.4.2/5.4.5?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.5.0`](https://renovatebot.com/diffs/npm/vitest/1.3.1/1.5.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/1.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/1.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/1.3.1/1.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/1.3.1/1.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>testing-library/react-testing-library (@​testing-library/react)</summary> ### [`v14.3.1`](https://togithub.com/testing-library/react-testing-library/releases/tag/v14.3.1) [Compare Source](https://togithub.com/testing-library/react-testing-library/compare/v14.3.0...v14.3.1) ##### Bug Fixes - Stop using nullish coalescing ([#​1300](https://togithub.com/testing-library/react-testing-library/issues/1300)) ([8434a24](https://togithub.com/testing-library/react-testing-library/commit/8434a24ce79583d1359f58563c5f3981e729eb1c)) ### [`v14.3.0`](https://togithub.com/testing-library/react-testing-library/compare/v14.2.2...9c4a46d5b9923c21c936d206614a8febcc939fc2) [Compare Source](https://togithub.com/testing-library/react-testing-library/compare/v14.2.2...v14.3.0) ### [`v14.2.2`](https://togithub.com/testing-library/react-testing-library/compare/v14.2.1...3da62fd9741ca74bcd0d2bc668ba76a2d8f3751f) [Compare Source](https://togithub.com/testing-library/react-testing-library/compare/v14.2.1...v14.2.2) </details> <details> <summary>tsconfig/bases (@​tsconfig/recommended)</summary> ### [`v1.0.6`](https://togithub.com/tsconfig/bases/compare/be6b3bb160889347b8614e8d18e1e88c40f8ecc9...be6b3bb160889347b8614e8d18e1e88c40f8ecc9) [Compare Source](https://togithub.com/tsconfig/bases/compare/be6b3bb160889347b8614e8d18e1e88c40f8ecc9...be6b3bb160889347b8614e8d18e1e88c40f8ecc9) ### [`v1.0.5`](https://togithub.com/tsconfig/bases/compare/b02260d1a0e4228dc659c7294789e73afa02f43b...be6b3bb160889347b8614e8d18e1e88c40f8ecc9) [Compare Source](https://togithub.com/tsconfig/bases/compare/b02260d1a0e4228dc659c7294789e73afa02f43b...be6b3bb160889347b8614e8d18e1e88c40f8ecc9) ### [`v1.0.4`](https://togithub.com/tsconfig/bases/compare/67905a42004f7067b78c41a8b1a8311d3164fd3c...014e8927b7155640f65a7492fb4bb09f5c49f531) [Compare Source](https://togithub.com/tsconfig/bases/compare/a1bf7c0fa2e094b068ca3e1448ca2ece4157977e...b02260d1a0e4228dc659c7294789e73afa02f43b) </details> <details> <summary>typescript-eslint/typescript-eslint (@​typescript-eslint/eslint-plugin)</summary> ### [`v7.6.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#760-2024-04-08) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v7.5.0...v7.6.0) ##### 🚀 Features - bump npm dependency ranges ##### ❤️ Thank You - Abraham Guo - auvred - Brad Zacher You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v7.5.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#750-2024-04-01) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v7.4.0...v7.5.0) ##### 🩹 Fixes - **eslint-plugin:** \[no-floating-promises] handle TaggedTemplateExpression - **eslint-plugin:** \[no-unnecessary-type-assertion] handle exactOptionalPropertyTypes compiler option ##### ❤️ Thank You - Brad Zacher - Kim Sang Du - Mark de Dios - Naru - YeonJuan You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v7.4.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#740-2024-03-25) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v7.3.1...v7.4.0) ##### 🚀 Features - **eslint-plugin:** \[consistent-type-imports] ignore files with decorators, experimentalDecorators, and emitDecoratorMetadata - **eslint-plugin:** \[no-unnecessary-type-arguments] handle tagged templates - **eslint-plugin:** deprecate no-throw-literal and add a renamed only-throw-error ##### 🩹 Fixes - **eslint-plugin:** \[prefer-optional-chain] address multipart nullish checks false positive - **eslint-plugin:** \[prefer-optional-chain] properly disambiguate between `boolean` and `false` - **eslint-plugin:** \[no-unnecessary-type-assertion] avoid remove const casting on template literals with expressions inside ##### ❤️ Thank You - Abraham Guo - Brad Zacher - Josh Goldberg ✨ - Kim Sang Du - Kirk Waiblinger - Marco Pasqualetti - YeonJuan You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v7.3.1`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#731-2024-03-18) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v7.3.0...v7.3.1) ##### 🩹 Fixes - **eslint-plugin:** \[no-floating-promises] revert disable of ignoreVoid in strict config ##### ❤️ Thank You - Josh Goldberg ✨ You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v7.3.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#730-2024-03-18) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v7.2.0...v7.3.0) ##### 🚀 Features - **eslint-plugin:** \[restrict-template-expressions] add `allowArray` option - **eslint-plugin:** add meta.docs.recommended setting for strict config options - **eslint-plugin:** add rule `use-unknown-in-catch-callback-variables` - **eslint-plugin:** \[prefer-reduce-type-parameter] supports tuple, union, intersection ##### 🩹 Fixes - correct `engines.node` constraints in `package.json` - **eslint-plugin:** \[unbound-method] check method definition in object literal using longhand form - **eslint-plugin:** \[consistent-type-imports] handle imports without specifiers - **eslint-plugin:** \[no-redundant-type-constituents] incorrectly marks & string as redundant - **eslint-plugin:** \[no-unnecessary-qualifier] handle merge namespace with enum - **eslint-plugin:** \[no-unused-expressions] false negatives when using assertions - **eslint-plugin:** \[ban-ts-comment] more accurate handling of multiline comments - **eslint-plugin:** \[explicit-function-return-type, explicit-module-boundary-types] improved checking for allowHigherOrderFunctions option - **eslint-plugin:** \[class-literal-property-style] ignore property assigned in constructor - **eslint-plugin:** \[no-unnecessary-type-assertion] fix false negative for const variable declarations ##### ❤️ Thank You - Abraham Guo - Alexu - Arka Pratim Chaudhuri - auvred - Derrick Isaacson - fnx - Josh Goldberg ✨ - Kirk Waiblinger - Marta Cardoso - Michaël De Boey - Tristan Rasmussen - YeonJuan You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. </details> <details> <summary>typescript-eslint/typescript-eslint (@​typescript-eslint/parser)</summary> ### [`v7.6.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#760-2024-04-08) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v7.5.0...v7.6.0) ##### 🚀 Features - bump npm dependency ranges ##### ❤️ Thank You - Abraham Guo - auvred - Brad Zacher You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v7.5.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#750-2024-04-01) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v7.4.0...v7.5.0) ##### 🩹 Fixes - **parser:** disallow `errorOnTypeScriptSyntacticAndSemanticIssues` ##### ❤️ Thank You - Brad Zacher - Kim Sang Du - Mark de Dios - Naru - YeonJuan You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v7.4.0`](https://togithub.com/typescript-eslint/typescript-eslint/compare/v7.3.1...5d2469142262672e381db3b4a4e2bffa80984810) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v7.3.1...v7.4.0) ### [`v7.3.1`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#731-2024-03-18) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v7.3.0...v7.3.1) This was a version bump only for parser to align it with other projects, there were no code changes. You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v7.3.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#730-2024-03-18) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v7.2.0...v7.3.0) ##### 🩹 Fixes - correct `engines.node` constraints in `package.json` ##### ❤️ Thank You - Abraham Guo - Alexu - Arka Pratim Chaudhuri - auvred - Derrick Isaacson - fnx - Josh Goldberg ✨ - Kirk Waiblinger - Marta Cardoso - Michaël De Boey - Tristan Rasmussen - YeonJuan You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. </details> <details> <summary>vitest-dev/vitest (@​vitest/coverage-v8)</summary> ### [`v1.5.0`](https://togithub.com/vitest-dev/vitest/compare/v1.4.0...v1.5.0) [Compare Source](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> <details> <summary>gajus/eslint-plugin-jsdoc (eslint-plugin-jsdoc)</summary> ### [`v48.2.3`](https://togithub.com/gajus/eslint-plugin-jsdoc/releases/tag/v48.2.3) [Compare Source](https://togithub.com/gajus/eslint-plugin-jsdoc/compare/v48.2.2...v48.2.3) ##### Bug Fixes - **`valid-types`:** whitelist pratt parser keywords; fixes [#​1221](https://togithub.com/gajus/eslint-plugin-jsdoc/issues/1221) ([ab5624b](https://togithub.com/gajus/eslint-plugin-jsdoc/commit/ab5624be6278836241955b2b336bf3b0803ab33d)) ### [`v48.2.2`](https://togithub.com/gajus/eslint-plugin-jsdoc/releases/tag/v48.2.2) [Compare Source](https://togithub.com/gajus/eslint-plugin-jsdoc/compare/v48.2.1...v48.2.2) ##### Bug Fixes - add TS `import` tag; fixes [#​1218](https://togithub.com/gajus/eslint-plugin-jsdoc/issues/1218) ([9e9fed5](https://togithub.com/gajus/eslint-plugin-jsdoc/commit/9e9fed5000fd3f3d55ad2677817af1a7b1ee3115)) </details> <details> <summary>jsx-eslint/eslint-plugin-react (eslint-plugin-react)</summary> ### [`v7.34.1`](https://togithub.com/jsx-eslint/eslint-plugin-react/releases/tag/v7.34.1) [Compare Source](https://togithub.com/jsx-eslint/eslint-plugin-react/compare/v7.34.0...v7.34.1) ##### Fixed - [`jsx-no-leaked-render`][jsx-no-leaked-render]: prevent wrongly adding parens ([#​3700][] [@​developer-bandi](https://togithub.com/developer-bandi)) - [`boolean-prop-naming`][boolean-prop-naming]: detect TS interfaces ([#​3701][] [@​developer-bandi](https://togithub.com/developer-bandi)) - [`boolean-prop-naming`][boolean-prop-naming]: literalType error fix ([#​3704][] [@​developer-bandi](https://togithub.com/developer-bandi)) - [`boolean-prop-naming`][boolean-prop-naming]: allow TSIntersectionType ([#​3705][] [@​developer-bandi](https://togithub.com/developer-bandi)) - [`no-unknown-property`][no-unknown-property]: support `popover`, `popovertarget`, `popovertargetaction` attributes ([#​3707][] [@​ljharb](https://togithub.com/ljharb)) - [`no-unknown-property`][no-unknown-property]: only match `data-*` attributes containing `-` ([#​3713][] [@​silverwind](https://togithub.com/silverwind)) - [`checked-requires-onchange-or-readonly`][checked-requires-onchange-or-readonly]: correct options that were behaving opposite ([#​3715][] [@​jaesoekjjang](https://togithub.com/jaesoekjjang)) ##### Changed - [`boolean-prop-naming`][boolean-prop-naming]: improve error message ([@​ljharb](https://togithub.com/ljharb)) [#​1000]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1000 [#​1002]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1002 [#​1005]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1005 [#​100]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/100 [#​1010]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1010 [#​1013]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1013 [#​1022]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1022 [#​1029]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1029 [#​102]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/102 [#​1034]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1034 [#​1038]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1038 [#​1041]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1041 [#​1043]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1043 [#​1046]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1046 [#​1047]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1047 [#​1050]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1050 [#​1053]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1053 [#​1057]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1057 [#​105]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/105 [#​1061]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1061 [#​1062]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1062 [#​1070]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1070 [#​1071]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1071 [#​1073]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1073 [#​1076]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1076 [#​1079]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1079 [#​1088]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1088 [#​1098]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1098 [#​1101]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1101 [#​1103]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1103 [#​110]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/110 [#​1116]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1116 [#​1117]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1117 [#​1119]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1119 [#​1121]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1121 [#​1122]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1122 [#​1123]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1123 [#​1130]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1130 [#​1131]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1131 [#​1132]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1132 [#​1134]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1134 [#​1135]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1135 [#​1139]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1139 [#​1148]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1148 [#​1149]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1149 [#​114]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/114 [#​1151]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1151 [#​1155]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1155 [#​1161]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1161 [#​1167]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1167 [#​1173]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1173 [#​1174]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1174 [#​1175]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1175 [#​1178]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1178 [#​1179]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1179 [#​117]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/117 [#​1180]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1180 [#​1183]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1183 [#​1189]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1189 [#​118]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/118 [#​1192]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1192 [#​1195]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1195 [#​1199]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1199 [#​119]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/119 [#​11]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/11 [#​1201]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1201 [#​1202]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1202 [#​1206]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1206 [#​1213]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1213 [#​1216]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1216 [#​1222]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1222 [#​1226]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1226 [#​1227]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1227 [#​122]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/122 [#​1231]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1231 [#​1236]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1236 [#​1239]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1239 [#​123]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/123 [#​1241]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1241 [#​1242]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1242 [#​1246]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1246 [#​1249]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1249 [#​1253]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1253 [#​1257]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1257 [#​125]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/125 [#​1260]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1260 [#​1261]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1261 [#​1262]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1262 [#​1264]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1264 [#​1266]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1266 [#​1269]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1269 [#​1273]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1273 [#​1274]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1274 [#​1277]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1277 [#​127]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/127 [#​1281]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1281 [#​1287]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1287 [#​1288]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1288 [#​1289]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1289 [#​128]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/128 [#​1290]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1290 [#​1294]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1294 [#​1296]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1296 [#​129]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/129 [#​12]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/12 [#​1301]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1301 [#​1303]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1303 [#​1306]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1306 [#​1308]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1308 [#​1309]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1309 [#​130]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/130 [#​1310]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1310 [#​1323]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1323 [#​1329]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1329 [#​132]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/132 [#​1335]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1335 [#​1337]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1337 [#​133]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/133 [#​1344]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1344 [#​1352]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1352 [#​1353]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1353 [#​1354]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1354 [#​135]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/135 [#​1361]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1361 [#​1363]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1363 [#​1364]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1364 [#​1366]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1366 [#​1369]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1369 [#​136]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/136 [#​1374]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1374 [#​1376]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1376 [#​137]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/137 [#​1380]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1380 [#​1381]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1381 [#​1382]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1382 [#​1383]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1383 [#​1384]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1384 [#​1386]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1386 [#​1388]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1388 [#​1389]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1389 [#​138]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/138 [#​1392]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1392 [#​1395]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1395 [#​1396]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1396 [#​1398]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1398 [#​139]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/139 [#​13]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/13 [#​1400]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1400 [#​1403]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1403 [#​1406]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1406 [#​1409]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1409 [#​1412]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1412 [#​1413]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1413 [#​1414]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1414 [#​1417]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1417 [#​1422]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1422 [#​1423]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1423 [#​142]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/142 [#​1432]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1432 [#​1435]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1435 [#​1438]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1438 [#​1444]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1444 [#​1449]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1449 [#​144]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/144 [#​1450]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1450 [#​145]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/145 [#​1462]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1462 [#​1464]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1464 [#​1467]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1467 [#​1468]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1468 [#​146]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/146 [#​1471]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1471 [#​1475]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1475 [#​1476]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1476 [#​1478]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1478 [#​1479]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1479 [#​147]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/147 [#​1485]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1485 [#​148]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/148 [#​1493]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1493 [#​1494]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1494 [#​1496]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1496 [#​1497]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1497 [#​1499]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1499 [#​14]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/14 [#​1500]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1500 [#​1502]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1502 [#​1507]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1507 [#​1508]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1508 [#​1511]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1511 [#​1512]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1512 [#​1514]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1514 [#​1515]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1515 [#​1517]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1517 [#​1518]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1518 [#​1521]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1521 [#​1524]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1524 [#​1525]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1525 [#​1526]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1526 [#​1530]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1530 [#​1533]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1533 [#​1538]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1538 [#​1542]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1542 [#​1543]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1543 [#​1546]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1546 [#​1547]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1547 [#​154]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/154 [#​1552]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1552 [#​1559]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1559 [#​1562]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1562 [#​1566]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1566 [#​156]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/156 [#​1571]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1571 [#​1572]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1572 [#​1576]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1576 [#​1578]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1578 [#​1581]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1581 [#​1588]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1588 [#​1591]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1591 [#​1595]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1595 [#​1597]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1597 [#​159]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/159 [#​15]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/15 [#​1607]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1607 [#​1610]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1610 [#​1611]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1611 [#​1617]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1617 [#​161]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/161 [#​1621]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1621 [#​1624]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1624 [#​1635]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1635 [#​1636]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1636 [#​163]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/163 [#​1642]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1642 [#​1644]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1644 [#​164]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/164 [#​1650]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1650 [#​1653]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1653 [#​1655]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1655 [#​1657]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1657 [#​1659]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1659 [#​165]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/165 [#​1665]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1665 [#​1666]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1666 [#​1669]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1669 [#​1670]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1670 [#​1675]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1675 [#​1677]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1677 [#​167]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/167 [#​1681]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1681 [#​1689]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1689 [#​1690]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1690 [#​1699]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1699 [#​16]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/16 [#​1703]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1703 [#​1717]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1717 [#​1722]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1722 [#​1724]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1724 [#​1728]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1728 [#​172]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/172 [#​1732]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1732 [#​1737]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1737 [#​1742]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1742 [#​1743]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1743 [#​1749]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1749 [#​1750]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1750 [#​1753]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1753 [#​1754]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1754 [#​1755]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1755 [#​1758]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1758 [#​1759]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1759 [#​1764]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1764 [#​1767]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1767 [#​176]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/176 [#​1779]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1779 [#​1783]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1783 [#​1785]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1785 [#​178]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/178 [#​1791]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1791 [#​1793]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1793 [#​1794]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1794 [#​1796]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1796 [#​1804]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1804 [#​1805]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1805 [#​1806]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1806 [#​1815]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1815 [#​1817]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1817 [#​1819]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1819 [#​181]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/181 [#​1824]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1824 [#​1825]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1825 [#​1827]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1827 [#​1828]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1828 [#​1829]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1829 [#​182]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/182 [#​1830]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1830 [#​1831]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1831 [#​183]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/183 [#​1843]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1843 [#​1844]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1844 [#​1845]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1845 [#​1849]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1849 [#​184]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/184 [#​1851]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1851 [#​1854]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1854 [#​1857]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1857 [#​1858]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1858 [#​1860]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1860 [#​1861]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1861 [#​1863]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1863 [#​1867]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1867 [#​1868]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1868 [#​1873]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1873 [#​1874]: https://togithub.com/jsx-eslint/eslint-plugin-react/issues/1874 [#​187]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/187 [#​1880]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1880 [#​1883]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1883 [#​1890]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1890 [#​1891]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1891 [#​1892]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1892 [#​1898]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1898 [#​189]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/189 [#​1903]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1903 [#​1905]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1905 [#​1907]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1907 [#​1909]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1909 [#​1911]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1911 [#​1914]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1914 [#​1918]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1918 [#​1924]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1924 [#​1926]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/1926 [#​1929]: https:// </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. 👻 **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/andipaetzold/react-firehooks). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNDUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> 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.1.3` -> `1.5.0`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-v8/1.1.3/1.5.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-v8/1.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-v8/1.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-v8/1.1.3/1.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-v8/1.1.3/1.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (@​vitest/coverage-v8)</summary> ### [`v1.5.0`](https://togithub.com/vitest-dev/vitest/compare/v1.4.0...v1.5.0) [Compare Source](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) ### [`v1.3.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.3.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.3.0...v1.3.1) ##### 🚀 Features - **vitest**: Expose parseCLI method - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5248](https://togithub.com/vitest-dev/vitest/issues/5248) [<samp>(c793a)</samp>](https://togithub.com/vitest-dev/vitest/commit/c793a136) - This feature is not affected by SemVer because it is part of an [experimental API](https://vitest.dev/advanced/api.html). ##### 🐞 Bug Fixes - Add task tests iteratively - by [@​DerYeger](https://togithub.com/DerYeger) in [https://github.com/vitest-dev/vitest/issues/5235](https://togithub.com/vitest-dev/vitest/issues/5235) [<samp>(38155)</samp>](https://togithub.com/vitest-dev/vitest/commit/38155548) - **coverage**: Ignore generated TS decorators - by [@​AriPerkkio](https://togithub.com/AriPerkkio) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5206](https://togithub.com/vitest-dev/vitest/issues/5206) [<samp>(a2804)</samp>](https://togithub.com/vitest-dev/vitest/commit/a280451b) - **ui**: Auto reload coverage iframe after test run - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5242](https://togithub.com/vitest-dev/vitest/issues/5242) [<samp>(5376d)</samp>](https://togithub.com/vitest-dev/vitest/commit/5376d5be) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.3.0...v1.3.1) ### [`v1.3.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.3.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.2.2...v1.3.0) ##### 🚀 Features - Deprecate watchExclude - by [@​patak-dev](https://togithub.com/patak-dev) in [https://github.com/vitest-dev/vitest/issues/5171](https://togithub.com/vitest-dev/vitest/issues/5171) [<samp>(82885)</samp>](https://togithub.com/vitest-dev/vitest/commit/828858f8) - **browser**: - Run test files in isolated iframes - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5036](https://togithub.com/vitest-dev/vitest/issues/5036) [<samp>(4f401)</samp>](https://togithub.com/vitest-dev/vitest/commit/4f40177e) - **config**: - Add `snapshotSerializers` option - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5092](https://togithub.com/vitest-dev/vitest/issues/5092) [<samp>(5b102)</samp>](https://togithub.com/vitest-dev/vitest/commit/5b1021da) - **reporters**: - Support custom options - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5111](https://togithub.com/vitest-dev/vitest/issues/5111) [<samp>(fec9c)</samp>](https://togithub.com/vitest-dev/vitest/commit/fec9ca0b) - **runner**: - Support automatic fixtures - by [@​fenghan34](https://togithub.com/fenghan34) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5102](https://togithub.com/vitest-dev/vitest/issues/5102) [<samp>(0441f)</samp>](https://togithub.com/vitest-dev/vitest/commit/0441f761) - **ui**: - Save splitpanes size to local storage - by [@​posva](https://togithub.com/posva) in [https://github.com/vitest-dev/vitest/issues/5166](https://togithub.com/vitest-dev/vitest/issues/5166) [<samp>(c28b4)</samp>](https://togithub.com/vitest-dev/vitest/commit/c28b4c26) - **vitest**: - Add onTestFinished hook - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5128](https://togithub.com/vitest-dev/vitest/issues/5128) [<samp>(6f5b4)</samp>](https://togithub.com/vitest-dev/vitest/commit/6f5b42b7) - Add github actions reporter - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5093](https://togithub.com/vitest-dev/vitest/issues/5093) [<samp>(40afb)</samp>](https://togithub.com/vitest-dev/vitest/commit/40afbe3a) - Expose jsdom global if jsdom environment is enabled - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5155](https://togithub.com/vitest-dev/vitest/issues/5155) [<samp>(567d2)</samp>](https://togithub.com/vitest-dev/vitest/commit/567d20b9) - Add new CLI options - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5163](https://togithub.com/vitest-dev/vitest/issues/5163) [<samp>(4e179)</samp>](https://togithub.com/vitest-dev/vitest/commit/4e179426) - "test" accepts options object as the second parameter - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5142](https://togithub.com/vitest-dev/vitest/issues/5142) [<samp>(7d9b1)</samp>](https://togithub.com/vitest-dev/vitest/commit/7d9b1fb0) - **vm**: - Support wasm module - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5131](https://togithub.com/vitest-dev/vitest/issues/5131) [<samp>(5ed53)</samp>](https://togithub.com/vitest-dev/vitest/commit/5ed537f0) ##### 🐞 Bug Fixes - Fix sourcemap in vm pools - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5063](https://togithub.com/vitest-dev/vitest/issues/5063) [<samp>(81105)</samp>](https://togithub.com/vitest-dev/vitest/commit/8110540a) - Don't optimize react/jsx-runtime by default when running in Node - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5079](https://togithub.com/vitest-dev/vitest/issues/5079) [<samp>(0d2bf)</samp>](https://togithub.com/vitest-dev/vitest/commit/0d2bfeac) - Rpc timeout error messages to include caller - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5103](https://togithub.com/vitest-dev/vitest/issues/5103) [<samp>(a6e04)</samp>](https://togithub.com/vitest-dev/vitest/commit/a6e04bd8) - Requires fixed version across the monorepo - by [@​antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/5208](https://togithub.com/vitest-dev/vitest/issues/5208) [<samp>(68f51)</samp>](https://togithub.com/vitest-dev/vitest/commit/68f51961) - Prevent merging of `poolOptions` - by [@​penalosa](https://togithub.com/penalosa) in [https://github.com/vitest-dev/vitest/issues/5221](https://togithub.com/vitest-dev/vitest/issues/5221) [<samp>(bc5b2)</samp>](https://togithub.com/vitest-dev/vitest/commit/bc5b2d04) - **browser**: - Don't exclude node builtins from optimization - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5082](https://togithub.com/vitest-dev/vitest/issues/5082) [<samp>(714c9)</samp>](https://togithub.com/vitest-dev/vitest/commit/714c911f) - Support `coverage.reportsDirectory` with multiple directories - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5056](https://togithub.com/vitest-dev/vitest/issues/5056) [<samp>(ae73f)</samp>](https://togithub.com/vitest-dev/vitest/commit/ae73f273) - **cli**: - Parse `--browser=<name>` correctly - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5179](https://togithub.com/vitest-dev/vitest/issues/5179) [<samp>(656e2)</samp>](https://togithub.com/vitest-dev/vitest/commit/656e210b) - **coverage**: - `.tmp` directory conflicts with `--shard` option - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5184](https://togithub.com/vitest-dev/vitest/issues/5184) [<samp>(5749d)</samp>](https://togithub.com/vitest-dev/vitest/commit/5749d2c2) - **deps**: - Update dependency strip-literal to v2 - by [@​renovate](https://togithub.com/renovate)\[bot] in[https://github.com/vitest-dev/vitest/issues/5136](https://togithub.com/vitest-dev/vitest/issues/5136)6 [<samp>(ef557)</samp>](https://togithub.com/vitest-dev/vitest/commit/ef557243) - **reporters**: - Testsuite name should include project root in Junit output - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5116](https://togithub.com/vitest-dev/vitest/issues/5116) [<samp>(2494f)</samp>](https://togithub.com/vitest-dev/vitest/commit/2494fbf2) - **typecheck**: - Fix suite collection while-loop - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5065](https://togithub.com/vitest-dev/vitest/issues/5065) [<samp>(35675)</samp>](https://togithub.com/vitest-dev/vitest/commit/35675bd3) - **ui**: - Fix tests duration time - by [@​vovsemenv](https://togithub.com/vovsemenv) in [https://github.com/vitest-dev/vitest/issues/5219](https://togithub.com/vitest-dev/vitest/issues/5219) [<samp>(58103)</samp>](https://togithub.com/vitest-dev/vitest/commit/581030ee) - **utils**: - Fix asymmetric matcher diff inside array - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5189](https://togithub.com/vitest-dev/vitest/issues/5189) [<samp>(3ffcd)</samp>](https://togithub.com/vitest-dev/vitest/commit/3ffcd2ea) - **vitest**: - Correctly report failed test files as failures in json reporter, export json reporter types - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5081](https://togithub.com/vitest-dev/vitest/issues/5081) [<samp>(0417b)</samp>](https://togithub.com/vitest-dev/vitest/commit/0417ba20) - Don't run typecheck tests in browser if both are enabled - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5080](https://togithub.com/vitest-dev/vitest/issues/5080) [<samp>(1045b)</samp>](https://togithub.com/vitest-dev/vitest/commit/1045b98b) - Handle function config inside `defineWorkspace` - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5089](https://togithub.com/vitest-dev/vitest/issues/5089) [<samp>(0bf52)</samp>](https://togithub.com/vitest-dev/vitest/commit/0bf52533) - Remove excessive listeners when running without isolation, don't reset the state - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5132](https://togithub.com/vitest-dev/vitest/issues/5132) [<samp>(b607f)</samp>](https://togithub.com/vitest-dev/vitest/commit/b607f1ea) - Auto-enable "github-actions" only where users didn't configure reporters - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5158](https://togithub.com/vitest-dev/vitest/issues/5158) [<samp>(ef044)</samp>](https://togithub.com/vitest-dev/vitest/commit/ef0440cb) - Support more array cli options - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5162](https://togithub.com/vitest-dev/vitest/issues/5162) [<samp>(3afe6)</samp>](https://togithub.com/vitest-dev/vitest/commit/3afe68f1) - Add types for the new global `jsdom` variable - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5164](https://togithub.com/vitest-dev/vitest/issues/5164) [<samp>(0f898)</samp>](https://togithub.com/vitest-dev/vitest/commit/0f898d87) - Expose onTestFinished globally - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(1304f)</samp>](https://togithub.com/vitest-dev/vitest/commit/1304fed7) - Disable optimizer by default until it's stable - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5156](https://togithub.com/vitest-dev/vitest/issues/5156) [<samp>(e1bd8)</samp>](https://togithub.com/vitest-dev/vitest/commit/e1bd8d5d) - Delegate snapshot options to workspace from root config - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5199](https://togithub.com/vitest-dev/vitest/issues/5199) [<samp>(86297)</samp>](https://togithub.com/vitest-dev/vitest/commit/86297d42) - Fix `optimizeDeps.disabled` warnings on Vite 5.1 - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5215](https://togithub.com/vitest-dev/vitest/issues/5215) [<samp>(1aecd)</samp>](https://togithub.com/vitest-dev/vitest/commit/1aecd650) - **vm**: - Handle `disableConsoleIntercept` config - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5074](https://togithub.com/vitest-dev/vitest/issues/5074) [<samp>(a55ad)</samp>](https://togithub.com/vitest-dev/vitest/commit/a55adac6) - Improve error when module is not found - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5053](https://togithub.com/vitest-dev/vitest/issues/5053) [<samp>(79a50)</samp>](https://togithub.com/vitest-dev/vitest/commit/79a50c3f) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.2.2...v1.3.0) ### [`v1.2.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.2.2) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2) ##### 🐞 Bug Fixes - **coverage**: - Remove `coverage/.tmp` files after run - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5008](https://togithub.com/vitest-dev/vitest/issues/5008) [<samp>(d53b8)</samp>](https://togithub.com/vitest-dev/vitest/commit/d53b8580) - Don't crash when re-run removes earlier run's reports - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5022](https://togithub.com/vitest-dev/vitest/issues/5022) [<samp>(66898)</samp>](https://togithub.com/vitest-dev/vitest/commit/6689856f) - **expect**: - Improve `toThrow(asymmetricMatcher)` failure message - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5000](https://togithub.com/vitest-dev/vitest/issues/5000) [<samp>(a199a)</samp>](https://togithub.com/vitest-dev/vitest/commit/a199ac2d) - **forks**: - Set correct `VITEST_POOL_ID` - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5002](https://togithub.com/vitest-dev/vitest/issues/5002) [<samp>(7d0a4)</samp>](https://togithub.com/vitest-dev/vitest/commit/7d0a4692) - **threads**: - Mention common work-around for the logged error - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5024](https://togithub.com/vitest-dev/vitest/issues/5024) [<samp>(915d6)</samp>](https://togithub.com/vitest-dev/vitest/commit/915d6c43) - **typecheck**: - Fix `ignoreSourceErrors` in run mode - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5044](https://togithub.com/vitest-dev/vitest/issues/5044) [<samp>(6dae3)</samp>](https://togithub.com/vitest-dev/vitest/commit/6dae3feb) - **vite-node**: - Provide import.meta.filename and dirname - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5011](https://togithub.com/vitest-dev/vitest/issues/5011) [<samp>(73148)</samp>](https://togithub.com/vitest-dev/vitest/commit/73148575) - **vitest**: - Expose getHooks & setHooks - by [@​adriencaccia](https://togithub.com/adriencaccia) in [https://github.com/vitest-dev/vitest/issues/5032](https://togithub.com/vitest-dev/vitest/issues/5032) [<samp>(73448)</samp>](https://togithub.com/vitest-dev/vitest/commit/73448706) - Test deep dependencies change detection - by [@​blake-newman](https://togithub.com/blake-newman) in [https://github.com/vitest-dev/vitest/issues/4934](https://togithub.com/vitest-dev/vitest/issues/4934) [<samp>(9c7c0)</samp>](https://togithub.com/vitest-dev/vitest/commit/9c7c0fc9) - Throw an error if vi.mock is exported - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5034](https://togithub.com/vitest-dev/vitest/issues/5034) [<samp>(253df)</samp>](https://togithub.com/vitest-dev/vitest/commit/253df1cc) - Allow `useFakeTimers` to fake `requestIdleCallback` on non browser - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5028](https://togithub.com/vitest-dev/vitest/issues/5028) [<samp>(a9a48)</samp>](https://togithub.com/vitest-dev/vitest/commit/a9a486f2) - Support older NodeJS with async `import.meta.resolve` - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5045](https://togithub.com/vitest-dev/vitest/issues/5045) [<samp>(cf564)</samp>](https://togithub.com/vitest-dev/vitest/commit/cf5641a9) - Don't throw an error if mocked file was already imported - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5050](https://togithub.com/vitest-dev/vitest/issues/5050) [<samp>(fff1a)</samp>](https://togithub.com/vitest-dev/vitest/commit/fff1a270) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2) ### [`v1.2.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.2.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ##### 🐞 Bug Fixes - **browser**: - Apply inlined workspace config to browser mode vite server - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4947](https://togithub.com/vitest-dev/vitest/issues/4947) [<samp>(db01f)</samp>](https://togithub.com/vitest-dev/vitest/commit/db01f6c2) - Fix browser testing url for https - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4855](https://togithub.com/vitest-dev/vitest/issues/4855) [<samp>(6c1cc)</samp>](https://togithub.com/vitest-dev/vitest/commit/6c1cc78b) - Don't fail when calling vi.useFakeTimers - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4992](https://togithub.com/vitest-dev/vitest/issues/4992) [<samp>(6c5fe)</samp>](https://togithub.com/vitest-dev/vitest/commit/6c5fe49b) - **coverage**: - `thresholds.autoUpdate` to work with arrow function configuration files - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4959](https://togithub.com/vitest-dev/vitest/issues/4959) [<samp>(4b411)</samp>](https://togithub.com/vitest-dev/vitest/commit/4b41131a) - **expect**: - Implement chai inspect for `AsymmetricMatcher` - by [@​hi-ogawa](https://togithub.com/hi-ogawa) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4942](https://togithub.com/vitest-dev/vitest/issues/4942) [<samp>(06bae)</samp>](https://togithub.com/vitest-dev/vitest/commit/06bae4dd) - **vite-node**: - Externalize network imports - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4987](https://togithub.com/vitest-dev/vitest/issues/4987) [<samp>(21f57)</samp>](https://togithub.com/vitest-dev/vitest/commit/21f5744d) - **vitest**: - Handle single `await vi.hoisted` - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4962](https://togithub.com/vitest-dev/vitest/issues/4962) [<samp>(dcf2e)</samp>](https://togithub.com/vitest-dev/vitest/commit/dcf2e9f2) - Simplify hoist transform check regex to avoid expensive regex match - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4974](https://togithub.com/vitest-dev/vitest/issues/4974) [<samp>(df0db)</samp>](https://togithub.com/vitest-dev/vitest/commit/df0db6a9) - Correctly find module if it has a version query - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4976](https://togithub.com/vitest-dev/vitest/issues/4976) [<samp>(952c3)</samp>](https://togithub.com/vitest-dev/vitest/commit/952c31df) - Check color support for intercepted console logging - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4966](https://togithub.com/vitest-dev/vitest/issues/4966) [<samp>(39a71)</samp>](https://togithub.com/vitest-dev/vitest/commit/39a7169c) - Use development/production conditions when resolving external modules - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4980](https://togithub.com/vitest-dev/vitest/issues/4980) [<samp>(8877e)</samp>](https://togithub.com/vitest-dev/vitest/commit/8877e22a) - Throw a syntax error if vi.hoisted is directly exported - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4969](https://togithub.com/vitest-dev/vitest/issues/4969) [<samp>(f8bff)</samp>](https://togithub.com/vitest-dev/vitest/commit/f8bff9ef) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ### [`v1.2.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.2.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ##### 🚀 Features - Support case-insensitive path matching in cli - by [@​tigranmk](https://togithub.com/tigranmk) in [https://github.com/vitest-dev/vitest/issues/3567](https://togithub.com/vitest-dev/vitest/issues/3567) and [https://github.com/vitest-dev/vitest/issues/4911](https://togithub.com/vitest-dev/vitest/issues/4911) [<samp>(1326c)</samp>](https://togithub.com/vitest-dev/vitest/commit/1326c6ef) - Add typeahead search - by [@​bonyuta0204](https://togithub.com/bonyuta0204) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4275](https://togithub.com/vitest-dev/vitest/issues/4275) and [https://github.com/vitest-dev/vitest/issues/4733](https://togithub.com/vitest-dev/vitest/issues/4733) [<samp>(480d8)</samp>](https://togithub.com/vitest-dev/vitest/commit/480d866a) - Add syntax highlighting to error messages - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4813](https://togithub.com/vitest-dev/vitest/issues/4813) [<samp>(8c969)</samp>](https://togithub.com/vitest-dev/vitest/commit/8c969de2) - Allow extending toEqual - by [@​tigranmk](https://togithub.com/tigranmk) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2875](https://togithub.com/vitest-dev/vitest/issues/2875) and [https://github.com/vitest-dev/vitest/issues/4880](https://togithub.com/vitest-dev/vitest/issues/4880) [<samp>(463be)</samp>](https://togithub.com/vitest-dev/vitest/commit/463bee38) - **coverage**: - Custom reporter support - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4828](https://togithub.com/vitest-dev/vitest/issues/4828) [<samp>(96dc6)</samp>](https://togithub.com/vitest-dev/vitest/commit/96dc6e9a) - **ui**: - Show unhandled errors on the ui - by [@​spiroka](https://togithub.com/spiroka) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4380](https://togithub.com/vitest-dev/vitest/issues/4380) [<samp>(7f59a)</samp>](https://togithub.com/vitest-dev/vitest/commit/7f59a1b8) - **vitest**: - Add `--disable-console-intercept` option to allow opting-out from automatic console log interception - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4786](https://togithub.com/vitest-dev/vitest/issues/4786) [<samp>(43fa6)</samp>](https://togithub.com/vitest-dev/vitest/commit/43fa6baa) - Show slow test duration in verbose reporter on CI - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4929](https://togithub.com/vitest-dev/vitest/issues/4929) [<samp>(ccb25)</samp>](https://togithub.com/vitest-dev/vitest/commit/ccb25836) - Allow overiding package installer with public API - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4936](https://togithub.com/vitest-dev/vitest/issues/4936) [<samp>(c2cce)</samp>](https://togithub.com/vitest-dev/vitest/commit/c2cceebb) ##### 🐞 Bug Fixes - **browser**: - Support vite config `server.headers` - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4890](https://togithub.com/vitest-dev/vitest/issues/4890) [<samp>(55f53)</samp>](https://togithub.com/vitest-dev/vitest/commit/55f5349f) - Fix `testNamePattern` config - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4909](https://togithub.com/vitest-dev/vitest/issues/4909) [<samp>(4add9)</samp>](https://togithub.com/vitest-dev/vitest/commit/4add9516) - Fix updating snapshot during watch mode - by [@​hi-ogawa](https://togithub.com/hi-ogawa) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4867](https://togithub.com/vitest-dev/vitest/issues/4867) [<samp>(508fc)</samp>](https://togithub.com/vitest-dev/vitest/commit/508fced9) - Remove redundant test failure logging - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4891](https://togithub.com/vitest-dev/vitest/issues/4891) [<samp>(7fd44)</samp>](https://togithub.com/vitest-dev/vitest/commit/7fd44dc3) - **happy-dom**: - Window.close() for environment teardown - by [@​capricorn86](https://togithub.com/capricorn86) in [https://github.com/vitest-dev/vitest/issues/4931](https://togithub.com/vitest-dev/vitest/issues/4931) [<samp>(91719)</samp>](https://togithub.com/vitest-dev/vitest/commit/91719bbd) - **utils**: - Fix `objDisplay` default truncate option for `test.each` title - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4917](https://togithub.com/vitest-dev/vitest/issues/4917) [<samp>(9ae9d)</samp>](https://togithub.com/vitest-dev/vitest/commit/9ae9dac9) - **vitest**: - Fix tap reporter to handle custom error - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4897](https://togithub.com/vitest-dev/vitest/issues/4897) [<samp>(f8ba8)</samp>](https://togithub.com/vitest-dev/vitest/commit/f8ba80f2) - Gracefully exit Vitest if `process.exit` is called inside the test - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4903](https://togithub.com/vitest-dev/vitest/issues/4903) [<samp>(8e6c1)</samp>](https://togithub.com/vitest-dev/vitest/commit/8e6c104a) - Throw "cannot mock" error only in isolated pools - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4905](https://togithub.com/vitest-dev/vitest/issues/4905) [<samp>(f99cc)</samp>](https://togithub.com/vitest-dev/vitest/commit/f99cc313) - Don't throw SyntaxError when "await vi.hoisted" is used - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4915](https://togithub.com/vitest-dev/vitest/issues/4915) [<samp>(ca62f)</samp>](https://togithub.com/vitest-dev/vitest/commit/ca62f37a) - Correctly parse --maxWorkers/--minWorkers - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4924](https://togithub.com/vitest-dev/vitest/issues/4924) [<samp>(0e77e)</samp>](https://togithub.com/vitest-dev/vitest/commit/0e77e697) - Show correct error when vi.hoisted is used inside vi.mock and the other way around - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4916](https://togithub.com/vitest-dev/vitest/issues/4916) [<samp>(c4eac)</samp>](https://togithub.com/vitest-dev/vitest/commit/c4eacbb7) - Call global teardown when using workspaces - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4935](https://togithub.com/vitest-dev/vitest/issues/4935) [<samp>(528bd)</samp>](https://togithub.com/vitest-dev/vitest/commit/528bd558) - Use file instead of id for HMR - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4938](https://togithub.com/vitest-dev/vitest/issues/4938) [<samp>(ca76f)</samp>](https://togithub.com/vitest-dev/vitest/commit/ca76f457) - Add inlined deps to ssr.noExternal so they are added to the module graph - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4945](https://togithub.com/vitest-dev/vitest/issues/4945) [<samp>(1663f)</samp>](https://togithub.com/vitest-dev/vitest/commit/1663f5ca) - **workspace**: - Support overring `pool` and `poolOptions` on project level - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4765](https://togithub.com/vitest-dev/vitest/issues/4765) [<samp>(e9fe4)</samp>](https://togithub.com/vitest-dev/vitest/commit/e9fe4181) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.1.3...v1.2.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:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI5My4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> 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.1.3` -> `1.5.0`](https://renovatebot.com/diffs/npm/vitest/1.1.3/1.5.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/1.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/1.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/1.1.3/1.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/1.1.3/1.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (vitest)</summary> ### [`v1.5.0`](https://togithub.com/vitest-dev/vitest/compare/v1.4.0...v1.5.0) [Compare Source](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) ### [`v1.3.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.3.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.3.0...v1.3.1) ##### 🚀 Features - **vitest**: Expose parseCLI method - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5248](https://togithub.com/vitest-dev/vitest/issues/5248) [<samp>(c793a)</samp>](https://togithub.com/vitest-dev/vitest/commit/c793a136) - This feature is not affected by SemVer because it is part of an [experimental API](https://vitest.dev/advanced/api.html). ##### 🐞 Bug Fixes - Add task tests iteratively - by [@​DerYeger](https://togithub.com/DerYeger) in [https://github.com/vitest-dev/vitest/issues/5235](https://togithub.com/vitest-dev/vitest/issues/5235) [<samp>(38155)</samp>](https://togithub.com/vitest-dev/vitest/commit/38155548) - **coverage**: Ignore generated TS decorators - by [@​AriPerkkio](https://togithub.com/AriPerkkio) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5206](https://togithub.com/vitest-dev/vitest/issues/5206) [<samp>(a2804)</samp>](https://togithub.com/vitest-dev/vitest/commit/a280451b) - **ui**: Auto reload coverage iframe after test run - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5242](https://togithub.com/vitest-dev/vitest/issues/5242) [<samp>(5376d)</samp>](https://togithub.com/vitest-dev/vitest/commit/5376d5be) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.3.0...v1.3.1) ### [`v1.3.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.3.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.2.2...v1.3.0) ##### 🚀 Features - Deprecate watchExclude - by [@​patak-dev](https://togithub.com/patak-dev) in [https://github.com/vitest-dev/vitest/issues/5171](https://togithub.com/vitest-dev/vitest/issues/5171) [<samp>(82885)</samp>](https://togithub.com/vitest-dev/vitest/commit/828858f8) - **browser**: - Run test files in isolated iframes - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5036](https://togithub.com/vitest-dev/vitest/issues/5036) [<samp>(4f401)</samp>](https://togithub.com/vitest-dev/vitest/commit/4f40177e) - **config**: - Add `snapshotSerializers` option - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5092](https://togithub.com/vitest-dev/vitest/issues/5092) [<samp>(5b102)</samp>](https://togithub.com/vitest-dev/vitest/commit/5b1021da) - **reporters**: - Support custom options - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5111](https://togithub.com/vitest-dev/vitest/issues/5111) [<samp>(fec9c)</samp>](https://togithub.com/vitest-dev/vitest/commit/fec9ca0b) - **runner**: - Support automatic fixtures - by [@​fenghan34](https://togithub.com/fenghan34) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5102](https://togithub.com/vitest-dev/vitest/issues/5102) [<samp>(0441f)</samp>](https://togithub.com/vitest-dev/vitest/commit/0441f761) - **ui**: - Save splitpanes size to local storage - by [@​posva](https://togithub.com/posva) in [https://github.com/vitest-dev/vitest/issues/5166](https://togithub.com/vitest-dev/vitest/issues/5166) [<samp>(c28b4)</samp>](https://togithub.com/vitest-dev/vitest/commit/c28b4c26) - **vitest**: - Add onTestFinished hook - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5128](https://togithub.com/vitest-dev/vitest/issues/5128) [<samp>(6f5b4)</samp>](https://togithub.com/vitest-dev/vitest/commit/6f5b42b7) - Add github actions reporter - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5093](https://togithub.com/vitest-dev/vitest/issues/5093) [<samp>(40afb)</samp>](https://togithub.com/vitest-dev/vitest/commit/40afbe3a) - Expose jsdom global if jsdom environment is enabled - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5](https://togithub.com/vitest-dev/vitest/issues/5)[15](https://togithub.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:16)5 [<samp>(567d2)</samp>](https://togithub.com/vitest-dev/vitest/commit/567d20b9) - Add new CLI options - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5](https://togithub.com/vitest-dev/vitest/issues/5)[16](https://togithub.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:17)3 [<samp>(4e179)</samp>](https://togithub.com/vitest-dev/vitest/commit/4e179426) - "test" accepts options object as the second parameter - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5142](https://togithub.com/vitest-dev/vitest/issues/5142) [<samp>(7d9b1)</samp>](https://togithub.com/vitest-dev/vitest/commit/7d9b1fb0) - **vm**: - Support wasm module - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5131](https://togithub.com/vitest-dev/vitest/issues/5131) [<samp>(5ed53)</samp>](https://togithub.com/vitest-dev/vitest/commit/5ed537f0) ##### 🐞 Bug Fixes - Fix sourcemap in vm pools - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5063](https://togithub.com/vitest-dev/vitest/issues/5063) [<samp>(81105)</samp>](https://togithub.com/vitest-dev/vitest/commit/8110540a) - Don't optimize react/jsx-runtime by default when running in Node - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5079](https://togithub.com/vitest-dev/vitest/issues/5079) [<samp>(0d2bf)</samp>](https://togithub.com/vitest-dev/vitest/commit/0d2bfeac) - Rpc timeout error messages to include caller - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5103](https://togithub.com/vitest-dev/vitest/issues/5103) [<samp>(a6e04)</samp>](https://togithub.com/vitest-dev/vitest/commit/a6e04bd8) - Requires fixed version across the monorepo - by [@​antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/5208](https://togithub.com/vitest-dev/vitest/issues/5208) [<samp>(68f51)</samp>](https://togithub.com/vitest-dev/vitest/commit/68f51961) - Prevent merging of `poolOptions` - by [@​penalosa](https://togithub.com/penalosa) in [https://github.com/vitest-dev/vitest/issues/5221](https://togithub.com/vitest-dev/vitest/issues/5221) [<samp>(bc5b2)</samp>](https://togithub.com/vitest-dev/vitest/commit/bc5b2d04) - **browser**: - Don't exclude node builtins from optimization - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5082](https://togithub.com/vitest-dev/vitest/issues/5082) [<samp>(714c9)</samp>](https://togithub.com/vitest-dev/vitest/commit/714c911f) - Support `coverage.reportsDirectory` with multiple directories - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5056](https://togithub.com/vitest-dev/vitest/issues/5056) [<samp>(ae73f)</samp>](https://togithub.com/vitest-dev/vitest/commit/ae73f273) - **cli**: - Parse `--browser=<name>` correctly - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5](https://togithub.com/vitest-dev/vitest/issues/5)[17](https://togithub.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:18)9 [<samp>(656e2)</samp>](https://togithub.com/vitest-dev/vitest/commit/656e210b) - **coverage**: - `.tmp` directory conflicts with `--shard` option - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5](https://togithub.com/vitest-dev/vitest/issues/5)[18](https://togithub.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:19)4 [<samp>(5749d)</samp>](https://togithub.com/vitest-dev/vitest/commit/5749d2c2) - **deps**: - Update dependency strip-literal to v2 - by [@​renovate](https://togithub.com/renovate)\[bot] in[https://github.com/vitest-dev/vitest/issues/5136](https://togithub.com/vitest-dev/vitest/issues/5136)6 [<samp>(ef557)</samp>](https://togithub.com/vitest-dev/vitest/commit/ef557243) - **reporters**: - Testsuite name should include project root in Junit output - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5116](https://togithub.com/vitest-dev/vitest/issues/5116) [<samp>(2494f)</samp>](https://togithub.com/vitest-dev/vitest/commit/2494fbf2) - **typecheck**: - Fix suite collection while-loop - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5065](https://togithub.com/vitest-dev/vitest/issues/5065) [<samp>(35675)</samp>](https://togithub.com/vitest-dev/vitest/commit/35675bd3) - **ui**: - Fix tests duration time - by [@​vovsemenv](https://togithub.com/vovsemenv) in [https://github.com/vitest-dev/vitest/issues/52](https://togithub.com/vitest-dev/vitest/issues/52)[19](https://togithub.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:20) [<samp>(58103)</samp>](https://togithub.com/vitest-dev/vitest/commit/581030ee) - **utils**: - Fix asymmetric matcher diff inside array - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5189](https://togithub.com/vitest-dev/vitest/issues/5189) [<samp>(3ffcd)</samp>](https://togithub.com/vitest-dev/vitest/commit/3ffcd2ea) - **vitest**: - Correctly report failed test files as failures in json reporter, export json reporter types - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5081](https://togithub.com/vitest-dev/vitest/issues/5081) [<samp>(0417b)</samp>](https://togithub.com/vitest-dev/vitest/commit/0417ba\[20]\(https://github.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:21\)) - Don't run typecheck tests in browser if both are enabled - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5080](https://togithub.com/vitest-dev/vitest/issues/5080) [<samp>(1045b)</samp>](https://togithub.com/vitest-dev/vitest/commit/1045b98b) - Handle function config inside `defineWorkspace` - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5089](https://togithub.com/vitest-dev/vitest/issues/5089) [<samp>(0bf52)</samp>](https://togithub.com/vitest-dev/vitest/commit/0bf52533) - Remove excessive listeners when running without isolation, don't reset the state - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5132](https://togithub.com/vitest-dev/vitest/issues/5132) [<samp>(b607f)</samp>](https://togithub.com/vitest-dev/vitest/commit/b607f1ea) - Auto-enable "github-actions" only where users didn't configure reporters - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5158](https://togithub.com/vitest-dev/vitest/issues/5158) [<samp>(ef044)</samp>](https://togithub.com/vitest-dev/vitest/commit/ef0440cb) - Support more array cli options - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5162](https://togithub.com/vitest-dev/vitest/issues/5162) [<samp>(3afe6)</samp>](https://togithub.com/vitest-dev/vitest/commit/3afe68f1) - Add types for the new global `jsdom` variable - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5164](https://togithub.com/vitest-dev/vitest/issues/5164) [<samp>(0f898)</samp>](https://togithub.com/vitest-dev/vitest/commit/0f898d87) - Expose onTestFinished globally - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(1304f)</samp>](https://togithub.com/vitest-dev/vitest/commit/1304fed7) - Disable optimizer by default until it's stable - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5156](https://togithub.com/vitest-dev/vitest/issues/5156) [<samp>(e1bd8)</samp>](https://togithub.com/vitest-dev/vitest/commit/e1bd8d5d) - Delegate snapshot options to workspace from root config - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5199](https://togithub.com/vitest-dev/vitest/issues/5199) [<samp>(86297)</samp>](https://togithub.com/vitest-dev/vitest/commit/86297d42) - Fix `optimizeDeps.disabled` warnings on Vite 5.1 - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5](https://togithub.com/vitest-dev/vitest/issues/5)[21](https://togithub.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:22)5 [<samp>(1aecd)</samp>](https://togithub.com/vitest-dev/vitest/commit/1aecd650) - **vm**: - Handle `disableConsoleIntercept` config - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in https://github.com/vitest-dev/vitest/issues/[50](https://togithub.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:51)74 [<samp>(a55ad)</samp>](https://togithub.com/vitest-dev/vitest/commit/a55adac6) - Improve error when module is not found - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/50](https://togithub.com/vitest-dev/vitest/issues/50)[53](https://togithub.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:54) [<samp>(79a50)</samp>](https://togithub.com/vitest-dev/vitest/commit/79a50c3f) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.2.2...v1.3.0) ### [`v1.2.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.2.2) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2) ##### 🐞 Bug Fixes - **coverage**: - Remove `coverage/.tmp` files after run - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5008](https://togithub.com/vitest-dev/vitest/issues/5008) [<samp>(d53b8)</samp>](https://togithub.com/vitest-dev/vitest/commit/d53b8580) - Don't crash when re-run removes earlier run's reports - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5022](https://togithub.com/vitest-dev/vitest/issues/5022) [<samp>(66898)</samp>](https://togithub.com/vitest-dev/vitest/commit/6689856f) - **expect**: - Improve `toThrow(asymmetricMatcher)` failure message - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5000](https://togithub.com/vitest-dev/vitest/issues/5000) [<samp>(a199a)</samp>](https://togithub.com/vitest-dev/vitest/commit/a199ac2d) - **forks**: - Set correct `VITEST_POOL_ID` - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5002](https://togithub.com/vitest-dev/vitest/issues/5002) [<samp>(7d0a4)</samp>](https://togithub.com/vitest-dev/vitest/commit/7d0a4692) - **threads**: - Mention common work-around for the logged error - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5024](https://togithub.com/vitest-dev/vitest/issues/5024) [<samp>(915d6)</samp>](https://togithub.com/vitest-dev/vitest/commit/915d6c43) - **typecheck**: - Fix `ignoreSourceErrors` in run mode - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5044](https://togithub.com/vitest-dev/vitest/issues/5044) [<samp>(6dae3)</samp>](https://togithub.com/vitest-dev/vitest/commit/6dae3feb) - **vite-node**: - Provide import.meta.filename and dirname - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5011](https://togithub.com/vitest-dev/vitest/issues/5011) [<samp>(73148)</samp>](https://togithub.com/vitest-dev/vitest/commit/73148575) - **vitest**: - Expose getHooks & setHooks - by [@​adriencaccia](https://togithub.com/adriencaccia) in [https://github.com/vitest-dev/vitest/issues/5032](https://togithub.com/vitest-dev/vitest/issues/5032) [<samp>(73448)</samp>](https://togithub.com/vitest-dev/vitest/commit/73448706) - Test deep dependencies change detection - by [@​blake-newman](https://togithub.com/blake-newman) in [https://github.com/vitest-dev/vitest/issues/4934](https://togithub.com/vitest-dev/vitest/issues/4934) [<samp>(9c7c0)</samp>](https://togithub.com/vitest-dev/vitest/commit/9c7c0fc9) - Throw an error if vi.mock is exported - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5034](https://togithub.com/vitest-dev/vitest/issues/5034) [<samp>(253df)</samp>](https://togithub.com/vitest-dev/vitest/commit/253df1cc) - Allow `useFakeTimers` to fake `requestIdleCallback` on non browser - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5028](https://togithub.com/vitest-dev/vitest/issues/5028) [<samp>(a9a48)</samp>](https://togithub.com/vitest-dev/vitest/commit/a9a486f2) - Support older NodeJS with async `import.meta.resolve` - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5045](https://togithub.com/vitest-dev/vitest/issues/5045) [<samp>(cf564)</samp>](https://togithub.com/vitest-dev/vitest/commit/cf5641a9) - Don't throw an error if mocked file was already imported - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5050](https://togithub.com/vitest-dev/vitest/issues/5050) [<samp>(fff1a)</samp>](https://togithub.com/vitest-dev/vitest/commit/fff1a270) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2) ### [`v1.2.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.2.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ##### 🐞 Bug Fixes - **browser**: - Apply inlined workspace config to browser mode vite server - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4947](https://togithub.com/vitest-dev/vitest/issues/4947) [<samp>(db01f)</samp>](https://togithub.com/vitest-dev/vitest/commit/db01f6c2) - Fix browser testing url for https - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4855](https://togithub.com/vitest-dev/vitest/issues/4855) [<samp>(6c1cc)</samp>](https://togithub.com/vitest-dev/vitest/commit/6c1cc78b) - Don't fail when calling vi.useFakeTimers - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4992](https://togithub.com/vitest-dev/vitest/issues/4992) [<samp>(6c5fe)</samp>](https://togithub.com/vitest-dev/vitest/commit/6c5fe49b) - **coverage**: - `thresholds.autoUpdate` to work with arrow function configuration files - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4959](https://togithub.com/vitest-dev/vitest/issues/4959) [<samp>(4b411)</samp>](https://togithub.com/vitest-dev/vitest/commit/4b41131a) - **expect**: - Implement chai inspect for `AsymmetricMatcher` - by [@​hi-ogawa](https://togithub.com/hi-ogawa) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4942](https://togithub.com/vitest-dev/vitest/issues/4942) [<samp>(06bae)</samp>](https://togithub.com/vitest-dev/vitest/commit/06bae4dd) - **vite-node**: - Externalize network imports - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4987](https://togithub.com/vitest-dev/vitest/issues/4987) [<samp>(21f57)</samp>](https://togithub.com/vitest-dev/vitest/commit/21f5744d) - **vitest**: - Handle single `await vi.hoisted` - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4962](https://togithub.com/vitest-dev/vitest/issues/4962) [<samp>(dcf2e)</samp>](https://togithub.com/vitest-dev/vitest/commit/dcf2e9f2) - Simplify hoist transform check regex to avoid expensive regex match - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4974](https://togithub.com/vitest-dev/vitest/issues/4974) [<samp>(df0db)</samp>](https://togithub.com/vitest-dev/vitest/commit/df0db6a9) - Correctly find module if it has a version query - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4976](https://togithub.com/vitest-dev/vitest/issues/4976) [<samp>(952c3)</samp>](https://togithub.com/vitest-dev/vitest/commit/952c31df) - Check color support for intercepted console logging - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4966](https://togithub.com/vitest-dev/vitest/issues/4966) [<samp>(39a71)</samp>](https://togithub.com/vitest-dev/vitest/commit/39a7169c) - Use development/production conditions when resolving external modules - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4980](https://togithub.com/vitest-dev/vitest/issues/4980) [<samp>(8877e)</samp>](https://togithub.com/vitest-dev/vitest/commit/8877e22a) - Throw a syntax error if vi.hoisted is directly exported - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4969](https://togithub.com/vitest-dev/vitest/issues/4969) [<samp>(f8bff)</samp>](https://togithub.com/vitest-dev/vitest/commit/f8bff9ef) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ### [`v1.2.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.2.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ##### 🚀 Features - Support case-insensitive path matching in cli - by [@​tigranmk](https://togithub.com/tigranmk) in [https://github.com/vitest-dev/vitest/issues/3567](https://togithub.com/vitest-dev/vitest/issues/3567) and [https://github.com/vitest-dev/vitest/issues/4911](https://togithub.com/vitest-dev/vitest/issues/4911) [<samp>(1326c)</samp>](https://togithub.com/vitest-dev/vitest/commit/1326c6ef) - Add typeahead search - by [@​bonyuta0204](https://togithub.com/bonyuta0204) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4275](https://togithub.com/vitest-dev/vitest/issues/4275) and [https://github.com/vitest-dev/vitest/issues/4733](https://togithub.com/vitest-dev/vitest/issues/4733) [<samp>(480d8)</samp>](https://togithub.com/vitest-dev/vitest/commit/480d866a) - Add syntax highlighting to error messages - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4813](https://togithub.com/vitest-dev/vitest/issues/4813) [<samp>(8c969)</samp>](https://togithub.com/vitest-dev/vitest/commit/8c969de2) - Allow extending toEqual - by [@​tigranmk](https://togithub.com/tigranmk) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2875](https://togithub.com/vitest-dev/vitest/issues/2875) and [https://github.com/vitest-dev/vitest/issues/4880](https://togithub.com/vitest-dev/vitest/issues/4880) [<samp>(463be)</samp>](https://togithub.com/vitest-dev/vitest/commit/463bee38) - **coverage**: - Custom reporter support - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4828](https://togithub.com/vitest-dev/vitest/issues/4828) [<samp>(96dc6)</samp>](https://togithub.com/vitest-dev/vitest/commit/96dc6e9a) - **ui**: - Show unhandled errors on the ui - by [@​spiroka](https://togithub.com/spiroka) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4380](https://togithub.com/vitest-dev/vitest/issues/4380) [<samp>(7f59a)</samp>](https://togithub.com/vitest-dev/vitest/commit/7f59a1b8) - **vitest**: - Add `--disable-console-intercept` option to allow opting-out from automatic console log interception - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4786](https://togithub.com/vitest-dev/vitest/issues/4786) [<samp>(43fa6)</samp>](https://togithub.com/vitest-dev/vitest/commit/43fa6baa) - Show slow test duration in verbose reporter on CI - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4929](https://togithub.com/vitest-dev/vitest/issues/4929) [<samp>(ccb25)</samp>](https://togithub.com/vitest-dev/vitest/commit/ccb25836) - Allow overiding package installer with public API - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4936](https://togithub.com/vitest-dev/vitest/issues/4936) [<samp>(c2cce)</samp>](https://togithub.com/vitest-dev/vitest/commit/c2cceebb) ##### 🐞 Bug Fixes - **browser**: - Support vite config `server.headers` - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4890](https://togithub.com/vitest-dev/vitest/issues/4890) [<samp>(55f53)</samp>](https://togithub.com/vitest-dev/vitest/commit/55f5349f) - Fix `testNamePattern` config - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4909](https://togithub.com/vitest-dev/vitest/issues/4909) [<samp>(4add9)</samp>](https://togithub.com/vitest-dev/vitest/commit/4add9516) - Fix updating snapshot during watch mode - by [@​hi-ogawa](https://togithub.com/hi-ogawa) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4867](https://togithub.com/vitest-dev/vitest/issues/4867) [<samp>(508fc)</samp>](https://togithub.com/vitest-dev/vitest/commit/508fced9) - Remove redundant test failure logging - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4891](https://togithub.com/vitest-dev/vitest/issues/4891) [<samp>(7fd44)</samp>](https://togithub.com/vitest-dev/vitest/commit/7fd44dc3) - **happy-dom**: - Window.close() for environment teardown - by [@​capricorn86](https://togithub.com/capricorn86) in [https://github.com/vitest-dev/vitest/issues/4931](https://togithub.com/vitest-dev/vitest/issues/4931) [<samp>(91719)</samp>](https://togithub.com/vitest-dev/vitest/commit/91719bbd) - **utils**: - Fix `objDisplay` default truncate option for `test.each` title - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4917](https://togithub.com/vitest-dev/vitest/issues/4917) [<samp>(9ae9d)</samp>](https://togithub.com/vitest-dev/vitest/commit/9ae9dac9) - **vitest**: - Fix tap reporter to handle custom error - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4897](https://togithub.com/vitest-dev/vitest/issues/4897) [<samp>(f8ba8)</samp>](https://togithub.com/vitest-dev/vitest/commit/f8ba80f2) - Gracefully exit Vitest if `process.exit` is called inside the test - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4903](https://togithub.com/vitest-dev/vitest/issues/4903) [<samp>(8e6c1)</samp>](https://togithub.com/vitest-dev/vitest/commit/8e6c104a) - Throw "cannot mock" error only in isolated pools - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4905](https://togithub.com/vitest-dev/vitest/issues/4905) [<samp>(f99cc)</samp>](https://togithub.com/vitest-dev/vitest/commit/f99cc313) - Don't throw SyntaxError when "await vi.hoisted" is used - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4915](https://togithub.com/vitest-dev/vitest/issues/4915) [<samp>(ca62f)</samp>](https://togithub.com/vitest-dev/vitest/commit/ca62f37a) - Correctly parse --maxWorkers/--minWorkers - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4924](https://togithub.com/vitest-dev/vitest/issues/4924) [<samp>(0e77e)</samp>](https://togithub.com/vitest-dev/vitest/commit/0e77e697) - Show correct error when vi.hoisted is used inside vi.mock and the other way around - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4916](https://togithub.com/vitest-dev/vitest/issues/4916) [<samp>(c4eac)</samp>](https://togithub.com/vitest-dev/vitest/commit/c4eacbb7) - Call global teardown when using workspaces - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4935](https://togithub.com/vitest-dev/vitest/issues/4935) [<samp>(528bd)</samp>](https://togithub.com/vitest-dev/vitest/commit/528bd558) - Use file instead of id for HMR - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4938](https://togithub.com/vitest-dev/vitest/issues/4938) [<samp>(ca76f)</samp>](https://togithub.com/vitest-dev/vitest/commit/ca76f457) - Add inlined deps to ssr.noExternal so they are added to the module graph - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4945](https://togithub.com/vitest-dev/vitest/issues/4945) [<samp>(1663f)</samp>](https://togithub.com/vitest-dev/vitest/commit/1663f5ca) - **workspace**: - Support overring `pool` and `poolOptions` on project level - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4765](https://togithub.com/vitest-dev/vitest/issues/4765) [<samp>(e9fe4)</samp>](https://togithub.com/vitest-dev/vitest/commit/e9fe4181) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.1.3...v1.2.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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMDEuNCIsInVwZGF0ZWRJblZlciI6IjM3LjMwMS40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=--> 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 | |---|---|---|---|---|---| | [@commitlint/cli](https://commitlint.js.org/) ([source](https://togithub.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/cli)) | [`19.1.0` -> `19.3.0`](https://renovatebot.com/diffs/npm/@commitlint%2fcli/19.1.0/19.3.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@commitlint%2fcli/19.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@commitlint%2fcli/19.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@commitlint%2fcli/19.1.0/19.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@commitlint%2fcli/19.1.0/19.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@commitlint/config-conventional](https://commitlint.js.org/) ([source](https://togithub.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/config-conventional)) | [`19.1.0` -> `19.2.2`](https://renovatebot.com/diffs/npm/@commitlint%2fconfig-conventional/19.1.0/19.2.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@commitlint%2fconfig-conventional/19.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@commitlint%2fconfig-conventional/19.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@commitlint%2fconfig-conventional/19.1.0/19.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@commitlint%2fconfig-conventional/19.1.0/19.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@types/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)) | [`20.11.27` -> `20.12.7`](https://renovatebot.com/diffs/npm/@types%2fnode/20.11.27/20.12.7) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/20.12.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/20.12.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/20.11.27/20.12.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/20.11.27/20.12.7?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.5.3`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-v8/1.3.1/1.5.3) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-v8/1.5.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-v8/1.5.3?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.5.3?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.5.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [cz-git](https://cz-git.qbb.sh) ([source](https://togithub.com/Zhengqbbb/cz-git/tree/HEAD/packages/cz-git)) | [`1.9.0` -> `1.9.1`](https://renovatebot.com/diffs/npm/cz-git/1.9.0/1.9.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/cz-git/1.9.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/cz-git/1.9.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/cz-git/1.9.0/1.9.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/cz-git/1.9.0/1.9.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [typescript](https://www.typescriptlang.org/) ([source](https://togithub.com/Microsoft/TypeScript)) | [`5.4.2` -> `5.4.5`](https://renovatebot.com/diffs/npm/typescript/5.4.2/5.4.5) | [![age](https://developer.mend.io/api/mc/badges/age/npm/typescript/5.4.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/typescript/5.4.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/typescript/5.4.2/5.4.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/typescript/5.4.2/5.4.5?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.5.3`](https://renovatebot.com/diffs/npm/vitest/1.3.1/1.5.3) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/1.5.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/1.5.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/1.3.1/1.5.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/1.3.1/1.5.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>conventional-changelog/commitlint (@​commitlint/cli)</summary> ### [`v19.3.0`](https://togithub.com/conventional-changelog/commitlint/blob/HEAD/@​commitlint/cli/CHANGELOG.md#1930-2024-04-23) [Compare Source](https://togithub.com/conventional-changelog/commitlint/compare/v19.2.2...v19.3.0) **Note:** Version bump only for package [@​commitlint/cli](https://togithub.com/commitlint/cli) #### [19.2.2](https://togithub.com/conventional-changelog/commitlint/compare/v19.2.1...v19.2.2) (2024-04-14) **Note:** Version bump only for package [@​commitlint/cli](https://togithub.com/commitlint/cli) #### [19.2.1](https://togithub.com/conventional-changelog/commitlint/compare/v19.2.0...v19.2.1) (2024-03-19) **Note:** Version bump only for package [@​commitlint/cli](https://togithub.com/commitlint/cli) ### [`v19.2.2`](https://togithub.com/conventional-changelog/commitlint/blob/HEAD/@​commitlint/cli/CHANGELOG.md#1922-2024-04-14) [Compare Source](https://togithub.com/conventional-changelog/commitlint/compare/v19.2.1...v19.2.2) **Note:** Version bump only for package [@​commitlint/cli](https://togithub.com/commitlint/cli) ### [`v19.2.1`](https://togithub.com/conventional-changelog/commitlint/blob/HEAD/@​commitlint/cli/CHANGELOG.md#1921-2024-03-19) [Compare Source](https://togithub.com/conventional-changelog/commitlint/compare/v19.2.0...v19.2.1) **Note:** Version bump only for package [@​commitlint/cli](https://togithub.com/commitlint/cli) ### [`v19.2.0`](https://togithub.com/conventional-changelog/commitlint/blob/HEAD/@​commitlint/cli/CHANGELOG.md#1920-2024-03-15) [Compare Source](https://togithub.com/conventional-changelog/commitlint/compare/v19.1.0...v19.2.0) ##### Features - **cli:** introduce new --last flag, to stop recommending HEAD~1 ([#​3916](https://togithub.com/conventional-changelog/commitlint/issues/3916)) ([99f4f3f](https://togithub.com/conventional-changelog/commitlint/commit/99f4f3f4839190a2758083df7ba20b988e7b68a6)) </details> <details> <summary>conventional-changelog/commitlint (@​commitlint/config-conventional)</summary> ### [`v19.2.2`](https://togithub.com/conventional-changelog/commitlint/blob/HEAD/@​commitlint/config-conventional/CHANGELOG.md#1922-2024-04-14) [Compare Source](https://togithub.com/conventional-changelog/commitlint/compare/v19.1.0...v19.2.2) **Note:** Version bump only for package [@​commitlint/config-conventional](https://togithub.com/commitlint/config-conventional) </details> <details> <summary>vitest-dev/vitest (@​vitest/coverage-v8)</summary> ### [`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/compare/v1.4.0...v1.5.0) [Compare Source](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> <details> <summary>Zhengqbbb/cz-git (cz-git)</summary> ### [`v1.9.1`](https://togithub.com/Zhengqbbb/cz-git/blob/HEAD/packages/cz-git/CHANGELOG.md#191-2024-03-30) [Compare Source](https://togithub.com/Zhengqbbb/cz-git/compare/v1.9.0...v1.9.1) ##### Bug Fixes - make ai fields to be optional ([#​164](https://togithub.com/Zhengqbbb/cz-git/issues/164)) ([5c007ce](https://togithub.com/Zhengqbbb/cz-git/commit/5c007ce44f277ac97c8d75330fad7e0e1edb4183)) </details> <details> <summary>Microsoft/TypeScript (typescript)</summary> ### [`v5.4.5`](https://togithub.com/microsoft/TypeScript/releases/tag/v5.4.5): TypeScript 5.4.5 [Compare Source](https://togithub.com/Microsoft/TypeScript/compare/v5.4.4...v5.4.5) For release notes, check out the [release announcement](https://devblogs.microsoft.com/typescript/announcing-typescript-5-4/). For the complete list of fixed issues, check out the - [fixed issues query for Typescript 5.4.0 (Beta)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.0%22+is%3Aclosed+). - [fixed issues query for Typescript 5.4.1 (RC)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.1%22+is%3Aclosed+). - [fixed issues query for Typescript 5.4.2 (Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.2%22+is%3Aclosed+). - [fixed issues query for Typescript 5.4.3 (Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.3%22+is%3Aclosed+). - [fixed issues query for Typescript 5.4.4 (Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.4%22+is%3Aclosed+). - [fixed issues query for Typescript 5.4.5 (Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.5%22+is%3Aclosed+). Downloads are available on: - [NuGet package](https://www.nuget.org/packages/Microsoft.TypeScript.MSBuild) ### [`v5.4.4`](https://togithub.com/microsoft/TypeScript/releases/tag/v5.4.4): TypeScript 5.4.4 [Compare Source](https://togithub.com/Microsoft/TypeScript/compare/v5.4.3...v5.4.4) For release notes, check out the [release announcement](https://devblogs.microsoft.com/typescript/announcing-typescript-5-4/). For the complete list of fixed issues, check out the - [fixed issues query for Typescript 5.4.0 (Beta)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.0%22+is%3Aclosed+). - [fixed issues query for Typescript 5.4.1 (RC)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.1%22+is%3Aclosed+). - [fixed issues query for Typescript 5.4.2 (Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.2%22+is%3Aclosed+). - [fixed issues query for Typescript 5.4.3 (Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.3%22+is%3Aclosed+). - [fixed issues query for Typescript 5.4.4 (Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.4%22+is%3Aclosed+). Downloads are available on: - [NuGet package](https://www.nuget.org/packages/Microsoft.TypeScript.MSBuild) ### [`v5.4.3`](https://togithub.com/microsoft/TypeScript/releases/tag/v5.4.3): TypeScript 5.4.3 [Compare Source](https://togithub.com/Microsoft/TypeScript/compare/v5.4.2...v5.4.3) For release notes, check out the [release announcement](https://devblogs.microsoft.com/typescript/announcing-typescript-5-4/). For the complete list of fixed issues, check out the - [fixed issues query for Typescript 5.4.0 (Beta)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.0%22+is%3Aclosed+). - [fixed issues query for Typescript 5.4.1 (RC)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.1%22+is%3Aclosed+). - [fixed issues query for Typescript 5.4.2 (Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.2%22+is%3Aclosed+). - [fixed issues query for Typescript 5.4.3 (Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.3%22+is%3Aclosed+). Downloads are available on: - [NuGet package](https://www.nuget.org/packages/Microsoft.TypeScript.MSBuild) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" in timezone Europe/Berlin, 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. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] 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/mheob/used-pm).
[![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 error is not thrown when browser mode is used with
@vitest/coverage-v8
. Browser tests start and show errors relatednode:inspector
usage outside Node.vitest/packages/vitest/src/node/config.ts
Lines 142 to 143 in 4ff7159
The reason is that resolved configuration is for root configuration, not the workspace configuration. Coverage options are in root config, browser config in workspace config. At this scope we don't have access to those both I think.
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:
.