-
-
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
Stack trace points to incorrect file on error #3004
Comments
I can handle this one. |
To be sure, the line that says UPDATE: |
It looks like the difference between your project and my repro is that the file that's being included on your project is a In fact, if I change the
So it certainly appears to have something to do with compilation steps being necessary or not for the files in question for this bug to appear. |
Yes, I figured this out as well. In fact, this makes sense because it is hard not to notice such an "obvious" bug unless it wasn't very frequent because most people use Vite with Vue (or another framework) and TypeScript. |
Yeah, I'm developing a framework that uses Vue for the frontend, so I didn't notice this for a while, but I also wanted to use Vite for the backend API part of it as well, which is where I started running into this issue, and I was certain for the longest time that it was some configuration issue I had messed up. Thanks for looking into this. |
No problem. I'll start working on a solution as soon as possible once I manage to find some time. Which is somewhat hard to do for a full-time student and an engineer 😅 |
I hear ya. It gets done when it gets done, no worries. |
❤️ |
Co-authored-by: Vladimir Sheremet <[email protected]>
[![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) | [`0.29.8` -> `0.30.0`](https://renovatebot.com/diffs/npm/vitest/0.29.8/0.30.0) | [![age](https://badges.renovateapi.com/packages/npm/vitest/0.30.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/vitest/0.30.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/vitest/0.30.0/compatibility-slim/0.29.8)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/vitest/0.30.0/confidence-slim/0.29.8)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest</summary> ### [`v0.30.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.30.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.29.8...v0.30.0) ##### 🚨 Breaking Changes - Remove tinyspy internal properties on Vitest spies - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3069](https://togithub.com/vitest-dev/vitest/issues/3069) [<samp>(2f1dc)</samp>](https://togithub.com/vitest-dev/vitest/commit/2f1dc5ce) - Only support Node.js 14.18.0 or newer - by [@​danez](https://togithub.com/danez) in [https://github.com/vitest-dev/vitest/issues/2985](https://togithub.com/vitest-dev/vitest/issues/2985) [<samp>(287dc)</samp>](https://togithub.com/vitest-dev/vitest/commit/287dc205) - Use "concordance" package to display diff instead of using custom diff - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2828](https://togithub.com/vitest-dev/vitest/issues/2828) [<samp>(44630)</samp>](https://togithub.com/vitest-dev/vitest/commit/446308da) - Move snapshot implementation into [@​vitest/snapshot](https://togithub.com/vitest/snapshot) - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3032](https://togithub.com/vitest-dev/vitest/issues/3032) [<samp>(6aff0)</samp>](https://togithub.com/vitest-dev/vitest/commit/6aff0176) - Bump coverage packages vitest peer dependency - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3126](https://togithub.com/vitest-dev/vitest/issues/3126) [<samp>(be1bf)</samp>](https://togithub.com/vitest-dev/vitest/commit/be1bf08d) - Add workspace support - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3103](https://togithub.com/vitest-dev/vitest/issues/3103) [<samp>(b9d1a)</samp>](https://togithub.com/vitest-dev/vitest/commit/b9d1a975) ##### 🚀 Features - Gzip html reporter's metadata - by [@​7rulnik](https://togithub.com/7rulnik) in [https://github.com/vitest-dev/vitest/issues/3113](https://togithub.com/vitest-dev/vitest/issues/3113) [<samp>(7856e)</samp>](https://togithub.com/vitest-dev/vitest/commit/7856ec12) - Add chai config - by [@​btea](https://togithub.com/btea) in [https://github.com/vitest-dev/vitest/issues/3066](https://togithub.com/vitest-dev/vitest/issues/3066) [<samp>(6fcba)</samp>](https://togithub.com/vitest-dev/vitest/commit/6fcba9ba) - **snapshot**: Introduce `toMatchFileSnapshot` and auto queuing expect promise - by [@​antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/3116](https://togithub.com/vitest-dev/vitest/issues/3116) [<samp>(bdc06)</samp>](https://togithub.com/vitest-dev/vitest/commit/bdc06dcb) ##### 🐞 Bug Fixes - Resolve reporters passed down to the CLI relative to the running directory - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3097](https://togithub.com/vitest-dev/vitest/issues/3097) [<samp>(93c7e)</samp>](https://togithub.com/vitest-dev/vitest/commit/93c7e39d) - Don't show "diff" in "serialized error" section - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(326b2)</samp>](https://togithub.com/vitest-dev/vitest/commit/326b242d) - Convert '--single-thread' and '--inspect' cli args to boolean - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3111](https://togithub.com/vitest-dev/vitest/issues/3111) [<samp>(83a9a)</samp>](https://togithub.com/vitest-dev/vitest/commit/83a9aa74) - Stack trace point to incorrect file - by [@​ChenKS12138](https://togithub.com/ChenKS12138) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3004](https://togithub.com/vitest-dev/vitest/issues/3004) and [https://github.com/vitest-dev/vitest/issues/3115](https://togithub.com/vitest-dev/vitest/issues/3115) [<samp>(5cee4)</samp>](https://togithub.com/vitest-dev/vitest/commit/5cee4fbf) - Move "mergeConfig" into "vitest/config" and add extension to imports in the documentation - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3139](https://togithub.com/vitest-dev/vitest/issues/3139) [<samp>(31303)</samp>](https://togithub.com/vitest-dev/vitest/commit/313032cd) - Run benchmarks sequentially - by [@​thecodrr](https://togithub.com/thecodrr) in [https://github.com/vitest-dev/vitest/issues/2004](https://togithub.com/vitest-dev/vitest/issues/2004) and [https://github.com/vitest-dev/vitest/issues/3151](https://togithub.com/vitest-dev/vitest/issues/3151) [<samp>(430b4)</samp>](https://togithub.com/vitest-dev/vitest/commit/430b4ecb) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.29.8...v0.30.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 [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/David-Duefrene/dataviewer). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS40MC4wIiwidXBkYXRlZEluVmVyIjoiMzUuNDAuMCJ9--> 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) | [`^0.29.8` -> `^0.30.0`](https://renovatebot.com/diffs/npm/vitest/0.29.8/0.30.0) | [![age](https://badges.renovateapi.com/packages/npm/vitest/0.30.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/vitest/0.30.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/vitest/0.30.0/compatibility-slim/0.29.8)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/vitest/0.30.0/confidence-slim/0.29.8)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest</summary> ### [`v0.30.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.30.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.29.8...v0.30.0) ##### 🚨 Breaking Changes - Remove tinyspy internal properties on Vitest spies - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3069](https://togithub.com/vitest-dev/vitest/issues/3069) [<samp>(2f1dc)</samp>](https://togithub.com/vitest-dev/vitest/commit/2f1dc5ce) - Only support Node.js 14.18.0 or newer - by [@​danez](https://togithub.com/danez) in [https://github.com/vitest-dev/vitest/issues/2985](https://togithub.com/vitest-dev/vitest/issues/2985) [<samp>(287dc)</samp>](https://togithub.com/vitest-dev/vitest/commit/287dc205) - Use "concordance" package to display diff instead of using custom diff - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2828](https://togithub.com/vitest-dev/vitest/issues/2828) [<samp>(44630)</samp>](https://togithub.com/vitest-dev/vitest/commit/446308da) - Move snapshot implementation into [@​vitest/snapshot](https://togithub.com/vitest/snapshot) - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3032](https://togithub.com/vitest-dev/vitest/issues/3032) [<samp>(6aff0)</samp>](https://togithub.com/vitest-dev/vitest/commit/6aff0176) - Bump coverage packages vitest peer dependency - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3126](https://togithub.com/vitest-dev/vitest/issues/3126) [<samp>(be1bf)</samp>](https://togithub.com/vitest-dev/vitest/commit/be1bf08d) - Add workspace support - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3103](https://togithub.com/vitest-dev/vitest/issues/3103) [<samp>(b9d1a)</samp>](https://togithub.com/vitest-dev/vitest/commit/b9d1a975) - Experimental optimizer introduced in 0.29.0 is temporarily disabled. ##### 🚀 Features - Gzip html reporter's metadata - by [@​7rulnik](https://togithub.com/7rulnik) in [https://github.com/vitest-dev/vitest/issues/3113](https://togithub.com/vitest-dev/vitest/issues/3113) [<samp>(7856e)</samp>](https://togithub.com/vitest-dev/vitest/commit/7856ec12) - Add chai config - by [@​btea](https://togithub.com/btea) in [https://github.com/vitest-dev/vitest/issues/3066](https://togithub.com/vitest-dev/vitest/issues/3066) [<samp>(6fcba)</samp>](https://togithub.com/vitest-dev/vitest/commit/6fcba9ba) - **snapshot**: Introduce `toMatchFileSnapshot` and auto queuing expect promise - by [@​antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/3116](https://togithub.com/vitest-dev/vitest/issues/3116) [<samp>(bdc06)</samp>](https://togithub.com/vitest-dev/vitest/commit/bdc06dcb) ##### 🐞 Bug Fixes - Resolve reporters passed down to the CLI relative to the running directory - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3097](https://togithub.com/vitest-dev/vitest/issues/3097) [<samp>(93c7e)</samp>](https://togithub.com/vitest-dev/vitest/commit/93c7e39d) - Don't show "diff" in "serialized error" section - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(326b2)</samp>](https://togithub.com/vitest-dev/vitest/commit/326b242d) - Convert '--single-thread' and '--inspect' cli args to boolean - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3111](https://togithub.com/vitest-dev/vitest/issues/3111) [<samp>(83a9a)</samp>](https://togithub.com/vitest-dev/vitest/commit/83a9aa74) - Stack trace point to incorrect file - by [@​ChenKS12138](https://togithub.com/ChenKS12138) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3004](https://togithub.com/vitest-dev/vitest/issues/3004) and [https://github.com/vitest-dev/vitest/issues/3115](https://togithub.com/vitest-dev/vitest/issues/3115) [<samp>(5cee4)</samp>](https://togithub.com/vitest-dev/vitest/commit/5cee4fbf) - Run benchmarks sequentially - by [@​thecodrr](https://togithub.com/thecodrr) in [https://github.com/vitest-dev/vitest/issues/2004](https://togithub.com/vitest-dev/vitest/issues/2004) and [https://github.com/vitest-dev/vitest/issues/3151](https://togithub.com/vitest-dev/vitest/issues/3151) [<samp>(430b4)</samp>](https://togithub.com/vitest-dev/vitest/commit/430b4ecb) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.29.8...v0.30.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://app.renovatebot.com/dashboard#github/fwouts/previewjs). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS40MC4wIiwidXBkYXRlZEluVmVyIjoiMzUuNDAuMCJ9--> 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-c8](https://togithub.com/vitest-dev/vitest) | [`0.29.8` -> `0.30.1`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-c8/0.29.8/0.30.1) | [![age](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-c8/0.30.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-c8/0.30.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-c8/0.30.1/compatibility-slim/0.29.8)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-c8/0.30.1/confidence-slim/0.29.8)](https://docs.renovatebot.com/merge-confidence/) | | [vitest](https://togithub.com/vitest-dev/vitest) | [`0.29.8` -> `0.30.1`](https://renovatebot.com/diffs/npm/vitest/0.29.8/0.30.1) | [![age](https://badges.renovateapi.com/packages/npm/vitest/0.30.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/vitest/0.30.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/vitest/0.30.1/compatibility-slim/0.29.8)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/vitest/0.30.1/confidence-slim/0.29.8)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest</summary> ### [`v0.30.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.30.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.30.0...v0.30.1) ##### 🐞 Bug Fixes - Do not rely on global `performance` and `AggregateError` - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3171](https://togithub.com/vitest-dev/vitest/issues/3171) [<samp>(cce45)</samp>](https://togithub.com/vitest-dev/vitest/commit/cce45496) - Allow workspace without a config in the root - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3173](https://togithub.com/vitest-dev/vitest/issues/3173) [<samp>(06852)</samp>](https://togithub.com/vitest-dev/vitest/commit/06852f18) - `test.each` respects `chaiConfig` - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(4f6c1)</samp>](https://togithub.com/vitest-dev/vitest/commit/4f6c1340) - Use relative paths in source map's "sources" field - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3177](https://togithub.com/vitest-dev/vitest/issues/3177) [<samp>(6b1b4)</samp>](https://togithub.com/vitest-dev/vitest/commit/6b1b4e68) - **types**: - Allow augmenting jest namespace for custom assertions - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3169](https://togithub.com/vitest-dev/vitest/issues/3169) [<samp>(905ec)</samp>](https://togithub.com/vitest-dev/vitest/commit/905ec05a) - Publish utils and snapshot .d.ts files for typescript - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3172](https://togithub.com/vitest-dev/vitest/issues/3172) [<samp>(7af64)</samp>](https://togithub.com/vitest-dev/vitest/commit/7af64444) - **snapshot**: - `toMatchFileSnapshot` ensure dir exists - by [@​antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/3155](https://togithub.com/vitest-dev/vitest/issues/3155) [<samp>(31168)</samp>](https://togithub.com/vitest-dev/vitest/commit/311682a8) - Improve `skipWriting` check - by [@​antfu](https://togithub.com/antfu) [<samp>(5436c)</samp>](https://togithub.com/vitest-dev/vitest/commit/5436c736) - Normalize EOL for `toMatchFileSnapshot` - by [@​antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/3164](https://togithub.com/vitest-dev/vitest/issues/3164) [<samp>(df3f2)</samp>](https://togithub.com/vitest-dev/vitest/commit/df3f2b50) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.30.0...v0.30.1) ### [`v0.30.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.30.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.29.8...v0.30.0) ##### 🚨 Breaking Changes - Remove tinyspy internal properties on Vitest spies - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3069](https://togithub.com/vitest-dev/vitest/issues/3069) [<samp>(2f1dc)</samp>](https://togithub.com/vitest-dev/vitest/commit/2f1dc5ce) - Only support Node.js 14.18.0 or newer - by [@​danez](https://togithub.com/danez) in [https://github.com/vitest-dev/vitest/issues/2985](https://togithub.com/vitest-dev/vitest/issues/2985) [<samp>(287dc)</samp>](https://togithub.com/vitest-dev/vitest/commit/287dc205) - Use "concordance" package to display diff instead of using custom diff - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2828](https://togithub.com/vitest-dev/vitest/issues/2828) [<samp>(44630)</samp>](https://togithub.com/vitest-dev/vitest/commit/446308da) - Move snapshot implementation into [@​vitest/snapshot](https://togithub.com/vitest/snapshot) - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3032](https://togithub.com/vitest-dev/vitest/issues/3032) [<samp>(6aff0)</samp>](https://togithub.com/vitest-dev/vitest/commit/6aff0176) - Bump coverage packages vitest peer dependency - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3126](https://togithub.com/vitest-dev/vitest/issues/3126) [<samp>(be1bf)</samp>](https://togithub.com/vitest-dev/vitest/commit/be1bf08d) - Add workspace support - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3103](https://togithub.com/vitest-dev/vitest/issues/3103) [<samp>(b9d1a)</samp>](https://togithub.com/vitest-dev/vitest/commit/b9d1a975) - Experimental optimizer introduced in 0.29.0 is temporarily disabled. ##### 🚀 Features - Gzip html reporter's metadata - by [@​7rulnik](https://togithub.com/7rulnik) in [https://github.com/vitest-dev/vitest/issues/3113](https://togithub.com/vitest-dev/vitest/issues/3113) [<samp>(7856e)</samp>](https://togithub.com/vitest-dev/vitest/commit/7856ec12) - Add chai config - by [@​btea](https://togithub.com/btea) in [https://github.com/vitest-dev/vitest/issues/3066](https://togithub.com/vitest-dev/vitest/issues/3066) [<samp>(6fcba)</samp>](https://togithub.com/vitest-dev/vitest/commit/6fcba9ba) - **snapshot**: Introduce `toMatchFileSnapshot` and auto queuing expect promise - by [@​antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/3116](https://togithub.com/vitest-dev/vitest/issues/3116) [<samp>(bdc06)</samp>](https://togithub.com/vitest-dev/vitest/commit/bdc06dcb) ##### 🐞 Bug Fixes - Resolve reporters passed down to the CLI relative to the running directory - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3097](https://togithub.com/vitest-dev/vitest/issues/3097) [<samp>(93c7e)</samp>](https://togithub.com/vitest-dev/vitest/commit/93c7e39d) - Don't show "diff" in "serialized error" section - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(326b2)</samp>](https://togithub.com/vitest-dev/vitest/commit/326b242d) - Convert '--single-thread' and '--inspect' cli args to boolean - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3111](https://togithub.com/vitest-dev/vitest/issues/3111) [<samp>(83a9a)</samp>](https://togithub.com/vitest-dev/vitest/commit/83a9aa74) - Stack trace point to incorrect file - by [@​ChenKS12138](https://togithub.com/ChenKS12138) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3004](https://togithub.com/vitest-dev/vitest/issues/3004) and [https://github.com/vitest-dev/vitest/issues/3115](https://togithub.com/vitest-dev/vitest/issues/3115) [<samp>(5cee4)</samp>](https://togithub.com/vitest-dev/vitest/commit/5cee4fbf) - Run benchmarks sequentially - by [@​thecodrr](https://togithub.com/thecodrr) in [https://github.com/vitest-dev/vitest/issues/2004](https://togithub.com/vitest-dev/vitest/issues/2004) and [https://github.com/vitest-dev/vitest/issues/3151](https://togithub.com/vitest-dev/vitest/issues/3151) [<samp>(430b4)</samp>](https://togithub.com/vitest-dev/vitest/commit/430b4ecb) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.29.8...v0.30.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://app.renovatebot.com/dashboard#github/ariakit/ariakit). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS40MC4wIiwidXBkYXRlZEluVmVyIjoiMzUuNDAuMCJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…372) [![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-istanbul](https://togithub.com/vitest-dev/vitest) | [`^0.29.0` -> `^0.30.0`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-istanbul/0.29.8/0.30.0) | [![age](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-istanbul/0.30.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-istanbul/0.30.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-istanbul/0.30.0/compatibility-slim/0.29.8)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-istanbul/0.30.0/confidence-slim/0.29.8)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest</summary> ### [`v0.30.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.30.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.29.8...v0.30.0) ##### 🚨 Breaking Changes - Remove tinyspy internal properties on Vitest spies - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3069](https://togithub.com/vitest-dev/vitest/issues/3069) [<samp>(2f1dc)</samp>](https://togithub.com/vitest-dev/vitest/commit/2f1dc5ce) - Only support Node.js 14.18.0 or newer - by [@​danez](https://togithub.com/danez) in [https://github.com/vitest-dev/vitest/issues/2985](https://togithub.com/vitest-dev/vitest/issues/2985) [<samp>(287dc)</samp>](https://togithub.com/vitest-dev/vitest/commit/287dc205) - Use "concordance" package to display diff instead of using custom diff - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2828](https://togithub.com/vitest-dev/vitest/issues/2828) [<samp>(44630)</samp>](https://togithub.com/vitest-dev/vitest/commit/446308da) - Move snapshot implementation into [@​vitest/snapshot](https://togithub.com/vitest/snapshot) - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3032](https://togithub.com/vitest-dev/vitest/issues/3032) [<samp>(6aff0)</samp>](https://togithub.com/vitest-dev/vitest/commit/6aff0176) - Bump coverage packages vitest peer dependency - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3126](https://togithub.com/vitest-dev/vitest/issues/3126) [<samp>(be1bf)</samp>](https://togithub.com/vitest-dev/vitest/commit/be1bf08d) - Add workspace support - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3103](https://togithub.com/vitest-dev/vitest/issues/3103) [<samp>(b9d1a)</samp>](https://togithub.com/vitest-dev/vitest/commit/b9d1a975) - Experimental optimizer introduced in 0.29.0 is temporarily disabled. ##### 🚀 Features - Gzip html reporter's metadata - by [@​7rulnik](https://togithub.com/7rulnik) in [https://github.com/vitest-dev/vitest/issues/3113](https://togithub.com/vitest-dev/vitest/issues/3113) [<samp>(7856e)</samp>](https://togithub.com/vitest-dev/vitest/commit/7856ec12) - Add chai config - by [@​btea](https://togithub.com/btea) in [https://github.com/vitest-dev/vitest/issues/3066](https://togithub.com/vitest-dev/vitest/issues/3066) [<samp>(6fcba)</samp>](https://togithub.com/vitest-dev/vitest/commit/6fcba9ba) - **snapshot**: Introduce `toMatchFileSnapshot` and auto queuing expect promise - by [@​antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/3116](https://togithub.com/vitest-dev/vitest/issues/3116) [<samp>(bdc06)</samp>](https://togithub.com/vitest-dev/vitest/commit/bdc06dcb) ##### 🐞 Bug Fixes - Resolve reporters passed down to the CLI relative to the running directory - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3097](https://togithub.com/vitest-dev/vitest/issues/3097) [<samp>(93c7e)</samp>](https://togithub.com/vitest-dev/vitest/commit/93c7e39d) - Don't show "diff" in "serialized error" section - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(326b2)</samp>](https://togithub.com/vitest-dev/vitest/commit/326b242d) - Convert '--single-thread' and '--inspect' cli args to boolean - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3111](https://togithub.com/vitest-dev/vitest/issues/3111) [<samp>(83a9a)</samp>](https://togithub.com/vitest-dev/vitest/commit/83a9aa74) - Stack trace point to incorrect file - by [@​ChenKS12138](https://togithub.com/ChenKS12138) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3004](https://togithub.com/vitest-dev/vitest/issues/3004) and [https://github.com/vitest-dev/vitest/issues/3115](https://togithub.com/vitest-dev/vitest/issues/3115) [<samp>(5cee4)</samp>](https://togithub.com/vitest-dev/vitest/commit/5cee4fbf) - Run benchmarks sequentially - by [@​thecodrr](https://togithub.com/thecodrr) in [https://github.com/vitest-dev/vitest/issues/2004](https://togithub.com/vitest-dev/vitest/issues/2004) and [https://github.com/vitest-dev/vitest/issues/3151](https://togithub.com/vitest-dev/vitest/issues/3151) [<samp>(430b4)</samp>](https://togithub.com/vitest-dev/vitest/commit/430b4ecb) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.29.8...v0.30.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://app.renovatebot.com/dashboard#github/JoshuaKGoldberg/template-typescript-node-package). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS40MC4wIiwidXBkYXRlZEluVmVyIjoiMzUuNDAuMCJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…197) [![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-istanbul](https://togithub.com/vitest-dev/vitest) | [`^0.29.0` -> `^0.30.0`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-istanbul/0.29.8/0.30.0) | [![age](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-istanbul/0.30.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-istanbul/0.30.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-istanbul/0.30.0/compatibility-slim/0.29.8)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-istanbul/0.30.0/confidence-slim/0.29.8)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest</summary> ### [`v0.30.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.30.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.29.8...v0.30.0) ##### 🚨 Breaking Changes - Remove tinyspy internal properties on Vitest spies - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3069](https://togithub.com/vitest-dev/vitest/issues/3069) [<samp>(2f1dc)</samp>](https://togithub.com/vitest-dev/vitest/commit/2f1dc5ce) - Only support Node.js 14.18.0 or newer - by [@​danez](https://togithub.com/danez) in [https://github.com/vitest-dev/vitest/issues/2985](https://togithub.com/vitest-dev/vitest/issues/2985) [<samp>(287dc)</samp>](https://togithub.com/vitest-dev/vitest/commit/287dc205) - Use "concordance" package to display diff instead of using custom diff - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2828](https://togithub.com/vitest-dev/vitest/issues/2828) [<samp>(44630)</samp>](https://togithub.com/vitest-dev/vitest/commit/446308da) - Move snapshot implementation into [@​vitest/snapshot](https://togithub.com/vitest/snapshot) - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3032](https://togithub.com/vitest-dev/vitest/issues/3032) [<samp>(6aff0)</samp>](https://togithub.com/vitest-dev/vitest/commit/6aff0176) - Bump coverage packages vitest peer dependency - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3126](https://togithub.com/vitest-dev/vitest/issues/3126) [<samp>(be1bf)</samp>](https://togithub.com/vitest-dev/vitest/commit/be1bf08d) - Add workspace support - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3103](https://togithub.com/vitest-dev/vitest/issues/3103) [<samp>(b9d1a)</samp>](https://togithub.com/vitest-dev/vitest/commit/b9d1a975) - Experimental optimizer introduced in 0.29.0 is temporarily disabled. ##### 🚀 Features - Gzip html reporter's metadata - by [@​7rulnik](https://togithub.com/7rulnik) in [https://github.com/vitest-dev/vitest/issues/3113](https://togithub.com/vitest-dev/vitest/issues/3113) [<samp>(7856e)</samp>](https://togithub.com/vitest-dev/vitest/commit/7856ec12) - Add chai config - by [@​btea](https://togithub.com/btea) in [https://github.com/vitest-dev/vitest/issues/3066](https://togithub.com/vitest-dev/vitest/issues/3066) [<samp>(6fcba)</samp>](https://togithub.com/vitest-dev/vitest/commit/6fcba9ba) - **snapshot**: Introduce `toMatchFileSnapshot` and auto queuing expect promise - by [@​antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/3116](https://togithub.com/vitest-dev/vitest/issues/3116) [<samp>(bdc06)</samp>](https://togithub.com/vitest-dev/vitest/commit/bdc06dcb) ##### 🐞 Bug Fixes - Resolve reporters passed down to the CLI relative to the running directory - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3097](https://togithub.com/vitest-dev/vitest/issues/3097) [<samp>(93c7e)</samp>](https://togithub.com/vitest-dev/vitest/commit/93c7e39d) - Don't show "diff" in "serialized error" section - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(326b2)</samp>](https://togithub.com/vitest-dev/vitest/commit/326b242d) - Convert '--single-thread' and '--inspect' cli args to boolean - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3111](https://togithub.com/vitest-dev/vitest/issues/3111) [<samp>(83a9a)</samp>](https://togithub.com/vitest-dev/vitest/commit/83a9aa74) - Stack trace point to incorrect file - by [@​ChenKS12138](https://togithub.com/ChenKS12138) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3004](https://togithub.com/vitest-dev/vitest/issues/3004) and [https://github.com/vitest-dev/vitest/issues/3115](https://togithub.com/vitest-dev/vitest/issues/3115) [<samp>(5cee4)</samp>](https://togithub.com/vitest-dev/vitest/commit/5cee4fbf) - Run benchmarks sequentially - by [@​thecodrr](https://togithub.com/thecodrr) in [https://github.com/vitest-dev/vitest/issues/2004](https://togithub.com/vitest-dev/vitest/issues/2004) and [https://github.com/vitest-dev/vitest/issues/3151](https://togithub.com/vitest-dev/vitest/issues/3151) [<samp>(430b4)</samp>](https://togithub.com/vitest-dev/vitest/commit/430b4ecb) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.29.8...v0.30.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://app.renovatebot.com/dashboard#github/JoshuaKGoldberg/ts-api-utils). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS40MC4wIiwidXBkYXRlZEluVmVyIjoiMzUuNDAuMCJ9--> 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) | [`^0.29.0` -> `^0.30.0`](https://renovatebot.com/diffs/npm/vitest/0.29.8/0.30.0) | [![age](https://badges.renovateapi.com/packages/npm/vitest/0.30.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/vitest/0.30.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/vitest/0.30.0/compatibility-slim/0.29.8)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/vitest/0.30.0/confidence-slim/0.29.8)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest</summary> ### [`v0.30.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.30.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.29.8...v0.30.0) ##### 🚨 Breaking Changes - Remove tinyspy internal properties on Vitest spies - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3069](https://togithub.com/vitest-dev/vitest/issues/3069) [<samp>(2f1dc)</samp>](https://togithub.com/vitest-dev/vitest/commit/2f1dc5ce) - Only support Node.js 14.18.0 or newer - by [@​danez](https://togithub.com/danez) in [https://github.com/vitest-dev/vitest/issues/2985](https://togithub.com/vitest-dev/vitest/issues/2985) [<samp>(287dc)</samp>](https://togithub.com/vitest-dev/vitest/commit/287dc205) - Use "concordance" package to display diff instead of using custom diff - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2828](https://togithub.com/vitest-dev/vitest/issues/2828) [<samp>(44630)</samp>](https://togithub.com/vitest-dev/vitest/commit/446308da) - Move snapshot implementation into [@​vitest/snapshot](https://togithub.com/vitest/snapshot) - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3032](https://togithub.com/vitest-dev/vitest/issues/3032) [<samp>(6aff0)</samp>](https://togithub.com/vitest-dev/vitest/commit/6aff0176) - Bump coverage packages vitest peer dependency - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3126](https://togithub.com/vitest-dev/vitest/issues/3126) [<samp>(be1bf)</samp>](https://togithub.com/vitest-dev/vitest/commit/be1bf08d) - Add workspace support - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3103](https://togithub.com/vitest-dev/vitest/issues/3103) [<samp>(b9d1a)</samp>](https://togithub.com/vitest-dev/vitest/commit/b9d1a975) - Experimental optimizer introduced in 0.29.0 is temporarily disabled. ##### 🚀 Features - Gzip html reporter's metadata - by [@​7rulnik](https://togithub.com/7rulnik) in [https://github.com/vitest-dev/vitest/issues/3113](https://togithub.com/vitest-dev/vitest/issues/3113) [<samp>(7856e)</samp>](https://togithub.com/vitest-dev/vitest/commit/7856ec12) - Add chai config - by [@​btea](https://togithub.com/btea) in [https://github.com/vitest-dev/vitest/issues/3066](https://togithub.com/vitest-dev/vitest/issues/3066) [<samp>(6fcba)</samp>](https://togithub.com/vitest-dev/vitest/commit/6fcba9ba) - **snapshot**: Introduce `toMatchFileSnapshot` and auto queuing expect promise - by [@​antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/3116](https://togithub.com/vitest-dev/vitest/issues/3116) [<samp>(bdc06)</samp>](https://togithub.com/vitest-dev/vitest/commit/bdc06dcb) ##### 🐞 Bug Fixes - Resolve reporters passed down to the CLI relative to the running directory - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3097](https://togithub.com/vitest-dev/vitest/issues/3097) [<samp>(93c7e)</samp>](https://togithub.com/vitest-dev/vitest/commit/93c7e39d) - Don't show "diff" in "serialized error" section - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(326b2)</samp>](https://togithub.com/vitest-dev/vitest/commit/326b242d) - Convert '--single-thread' and '--inspect' cli args to boolean - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3111](https://togithub.com/vitest-dev/vitest/issues/3111) [<samp>(83a9a)</samp>](https://togithub.com/vitest-dev/vitest/commit/83a9aa74) - Stack trace point to incorrect file - by [@​ChenKS12138](https://togithub.com/ChenKS12138) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3004](https://togithub.com/vitest-dev/vitest/issues/3004) and [https://github.com/vitest-dev/vitest/issues/3115](https://togithub.com/vitest-dev/vitest/issues/3115) [<samp>(5cee4)</samp>](https://togithub.com/vitest-dev/vitest/commit/5cee4fbf) - Run benchmarks sequentially - by [@​thecodrr](https://togithub.com/thecodrr) in [https://github.com/vitest-dev/vitest/issues/2004](https://togithub.com/vitest-dev/vitest/issues/2004) and [https://github.com/vitest-dev/vitest/issues/3151](https://togithub.com/vitest-dev/vitest/issues/3151) [<samp>(430b4)</samp>](https://togithub.com/vitest-dev/vitest/commit/430b4ecb) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.29.8...v0.30.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://app.renovatebot.com/dashboard#github/JoshuaKGoldberg/ts-api-utils). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS40MC4wIiwidXBkYXRlZEluVmVyIjoiMzUuNDAuMCJ9--> 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 | |---|---|---|---|---|---| | [@semantic-release/changelog](https://togithub.com/semantic-release/changelog) | [`6.0.2` -> `6.0.3`](https://renovatebot.com/diffs/npm/@semantic-release%2fchangelog/6.0.2/6.0.3) | [![age](https://badges.renovateapi.com/packages/npm/@semantic-release%2fchangelog/6.0.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@semantic-release%2fchangelog/6.0.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@semantic-release%2fchangelog/6.0.3/compatibility-slim/6.0.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@semantic-release%2fchangelog/6.0.3/confidence-slim/6.0.2)](https://docs.renovatebot.com/merge-confidence/) | | [@types/react](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) | [`18.0.28` -> `18.0.37`](https://renovatebot.com/diffs/npm/@types%2freact/18.0.28/18.0.37) | [![age](https://badges.renovateapi.com/packages/npm/@types%2freact/18.0.37/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@types%2freact/18.0.37/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@types%2freact/18.0.37/compatibility-slim/18.0.28)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@types%2freact/18.0.37/confidence-slim/18.0.28)](https://docs.renovatebot.com/merge-confidence/) | | [@vitest/coverage-c8](https://togithub.com/vitest-dev/vitest) | [`0.29.7` -> `0.30.1`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-c8/0.29.7/0.30.1) | [![age](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-c8/0.30.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-c8/0.30.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-c8/0.30.1/compatibility-slim/0.29.7)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-c8/0.30.1/confidence-slim/0.29.7)](https://docs.renovatebot.com/merge-confidence/) | | [happy-dom](https://togithub.com/capricorn86/happy-dom) | [`9.1.9` -> `9.8.1`](https://renovatebot.com/diffs/npm/happy-dom/9.1.9/9.8.1) | [![age](https://badges.renovateapi.com/packages/npm/happy-dom/9.8.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/happy-dom/9.8.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/happy-dom/9.8.1/compatibility-slim/9.1.9)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/happy-dom/9.8.1/confidence-slim/9.1.9)](https://docs.renovatebot.com/merge-confidence/) | | [lint-staged](https://togithub.com/okonet/lint-staged) | [`13.2.0` -> `13.2.1`](https://renovatebot.com/diffs/npm/lint-staged/13.2.0/13.2.1) | [![age](https://badges.renovateapi.com/packages/npm/lint-staged/13.2.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/lint-staged/13.2.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/lint-staged/13.2.1/compatibility-slim/13.2.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/lint-staged/13.2.1/confidence-slim/13.2.0)](https://docs.renovatebot.com/merge-confidence/) | | [prettier](https://prettier.io) ([source](https://togithub.com/prettier/prettier)) | [`2.8.6` -> `2.8.7`](https://renovatebot.com/diffs/npm/prettier/2.8.6/2.8.7) | [![age](https://badges.renovateapi.com/packages/npm/prettier/2.8.7/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/prettier/2.8.7/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/prettier/2.8.7/compatibility-slim/2.8.6)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/prettier/2.8.7/confidence-slim/2.8.6)](https://docs.renovatebot.com/merge-confidence/) | | [typedoc](https://typedoc.org) ([source](https://togithub.com/TypeStrong/TypeDoc)) | [`0.23.28` -> `0.24.4`](https://renovatebot.com/diffs/npm/typedoc/0.23.28/0.24.4) | [![age](https://badges.renovateapi.com/packages/npm/typedoc/0.24.4/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/typedoc/0.24.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/typedoc/0.24.4/compatibility-slim/0.23.28)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/typedoc/0.24.4/confidence-slim/0.23.28)](https://docs.renovatebot.com/merge-confidence/) | | [typescript](https://www.typescriptlang.org/) ([source](https://togithub.com/Microsoft/TypeScript)) | [`5.0.2` -> `5.0.4`](https://renovatebot.com/diffs/npm/typescript/5.0.2/5.0.4) | [![age](https://badges.renovateapi.com/packages/npm/typescript/5.0.4/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/typescript/5.0.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/typescript/5.0.4/compatibility-slim/5.0.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/typescript/5.0.4/confidence-slim/5.0.2)](https://docs.renovatebot.com/merge-confidence/) | | [vitest](https://togithub.com/vitest-dev/vitest) | [`0.29.7` -> `0.30.1`](https://renovatebot.com/diffs/npm/vitest/0.29.7/0.30.1) | [![age](https://badges.renovateapi.com/packages/npm/vitest/0.30.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/vitest/0.30.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/vitest/0.30.1/compatibility-slim/0.29.7)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/vitest/0.30.1/confidence-slim/0.29.7)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>semantic-release/changelog</summary> ### [`v6.0.3`](https://togithub.com/semantic-release/changelog/releases/tag/v6.0.3) [Compare Source](https://togithub.com/semantic-release/changelog/compare/v6.0.2...v6.0.3) ##### Bug Fixes - **deps:** update dependency fs-extra to v11.1.1 ([#​309](https://togithub.com/semantic-release/changelog/issues/309)) ([47045b3](https://togithub.com/semantic-release/changelog/commit/47045b310f0550fa4ce278bbfba36e2e155946e2)) </details> <details> <summary>vitest-dev/vitest</summary> ### [`v0.30.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.30.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.30.0...v0.30.1) ##### 🐞 Bug Fixes - Do not rely on global `performance` and `AggregateError` - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3171](https://togithub.com/vitest-dev/vitest/issues/3171) [<samp>(cce45)</samp>](https://togithub.com/vitest-dev/vitest/commit/cce45496) - Allow workspace without a config in the root - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3173](https://togithub.com/vitest-dev/vitest/issues/3173) [<samp>(06852)</samp>](https://togithub.com/vitest-dev/vitest/commit/06852f18) - `test.each` respects `chaiConfig` - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(4f6c1)</samp>](https://togithub.com/vitest-dev/vitest/commit/4f6c1340) - Use relative paths in source map's "sources" field - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3177](https://togithub.com/vitest-dev/vitest/issues/3177) [<samp>(6b1b4)</samp>](https://togithub.com/vitest-dev/vitest/commit/6b1b4e68) - **types**: - Allow augmenting jest namespace for custom assertions - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3169](https://togithub.com/vitest-dev/vitest/issues/3169) [<samp>(905ec)</samp>](https://togithub.com/vitest-dev/vitest/commit/905ec05a) - Publish utils and snapshot .d.ts files for typescript - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3172](https://togithub.com/vitest-dev/vitest/issues/3172) [<samp>(7af64)</samp>](https://togithub.com/vitest-dev/vitest/commit/7af64444) - **snapshot**: - `toMatchFileSnapshot` ensure dir exists - by [@​antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/3155](https://togithub.com/vitest-dev/vitest/issues/3155) [<samp>(31168)</samp>](https://togithub.com/vitest-dev/vitest/commit/311682a8) - Improve `skipWriting` check - by [@​antfu](https://togithub.com/antfu) [<samp>(5436c)</samp>](https://togithub.com/vitest-dev/vitest/commit/5436c736) - Normalize EOL for `toMatchFileSnapshot` - by [@​antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/3164](https://togithub.com/vitest-dev/vitest/issues/3164) [<samp>(df3f2)</samp>](https://togithub.com/vitest-dev/vitest/commit/df3f2b50) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.30.0...v0.30.1) ### [`v0.30.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.30.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.29.8...v0.30.0) ##### 🚨 Breaking Changes - Remove tinyspy internal properties on Vitest spies - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3069](https://togithub.com/vitest-dev/vitest/issues/3069) [<samp>(2f1dc)</samp>](https://togithub.com/vitest-dev/vitest/commit/2f1dc5ce) - Only support Node.js 14.18.0 or newer - by [@​danez](https://togithub.com/danez) in [https://github.com/vitest-dev/vitest/issues/2985](https://togithub.com/vitest-dev/vitest/issues/2985) [<samp>(287dc)</samp>](https://togithub.com/vitest-dev/vitest/commit/287dc205) - Use "concordance" package to display diff instead of using custom diff - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2828](https://togithub.com/vitest-dev/vitest/issues/2828) [<samp>(44630)</samp>](https://togithub.com/vitest-dev/vitest/commit/446308da) - Move snapshot implementation into [@​vitest/snapshot](https://togithub.com/vitest/snapshot) - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3032](https://togithub.com/vitest-dev/vitest/issues/3032) [<samp>(6aff0)</samp>](https://togithub.com/vitest-dev/vitest/commit/6aff0176) - Bump coverage packages vitest peer dependency - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3126](https://togithub.com/vitest-dev/vitest/issues/3126) [<samp>(be1bf)</samp>](https://togithub.com/vitest-dev/vitest/commit/be1bf08d) - Add workspace support - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3103](https://togithub.com/vitest-dev/vitest/issues/3103) [<samp>(b9d1a)</samp>](https://togithub.com/vitest-dev/vitest/commit/b9d1a975) - Experimental optimizer introduced in 0.29.0 is temporarily disabled. ##### 🚀 Features - Gzip html reporter's metadata - by [@​7rulnik](https://togithub.com/7rulnik) in [https://github.com/vitest-dev/vitest/issues/3113](https://togithub.com/vitest-dev/vitest/issues/3113) [<samp>(7856e)</samp>](https://togithub.com/vitest-dev/vitest/commit/7856ec12) - Add chai config - by [@​btea](https://togithub.com/btea) in [https://github.com/vitest-dev/vitest/issues/3066](https://togithub.com/vitest-dev/vitest/issues/3066) [<samp>(6fcba)</samp>](https://togithub.com/vitest-dev/vitest/commit/6fcba9ba) - **snapshot**: Introduce `toMatchFileSnapshot` and auto queuing expect promise - by [@​antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/3116](https://togithub.com/vitest-dev/vitest/issues/3116) [<samp>(bdc06)</samp>](https://togithub.com/vitest-dev/vitest/commit/bdc06dcb) ##### 🐞 Bug Fixes - Resolve reporters passed down to the CLI relative to the running directory - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3097](https://togithub.com/vitest-dev/vitest/issues/3097) [<samp>(93c7e)</samp>](https://togithub.com/vitest-dev/vitest/commit/93c7e39d) - Don't show "diff" in "serialized error" section - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(326b2)</samp>](https://togithub.com/vitest-dev/vitest/commit/326b242d) - Convert '--single-thread' and '--inspect' cli args to boolean - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3111](https://togithub.com/vitest-dev/vitest/issues/3111) [<samp>(83a9a)</samp>](https://togithub.com/vitest-dev/vitest/commit/83a9aa74) - Stack trace point to incorrect file - by [@​ChenKS12138](https://togithub.com/ChenKS12138) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3004](https://togithub.com/vitest-dev/vitest/issues/3004) and [https://github.com/vitest-dev/vitest/issues/3115](https://togithub.com/vitest-dev/vitest/issues/3115) [<samp>(5cee4)</samp>](https://togithub.com/vitest-dev/vitest/commit/5cee4fbf) - Run benchmarks sequentially - by [@​thecodrr](https://togithub.com/thecodrr) in [https://github.com/vitest-dev/vitest/issues/2004](https://togithub.com/vitest-dev/vitest/issues/2004) and [https://github.com/vitest-dev/vitest/issues/3151](https://togithub.com/vitest-dev/vitest/issues/3151) [<samp>(430b4)</samp>](https://togithub.com/vitest-dev/vitest/commit/430b4ecb) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.29.8...v0.30.0) ### [`v0.29.8`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.29.8) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.29.7...v0.29.8) ##### 🚀 Features - Allow accessing "vi" methods without context, don't fail when mocker is not available - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3047](https://togithub.com/vitest-dev/vitest/issues/3047) [<samp>(1531c)</samp>](https://togithub.com/vitest-dev/vitest/commit/1531c420) - Show browser console in the terminal - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3048](https://togithub.com/vitest-dev/vitest/issues/3048) [<samp>(ee6f5)</samp>](https://togithub.com/vitest-dev/vitest/commit/ee6f590d) - Playwright as browser provider - by [@​Aslemammad](https://togithub.com/Aslemammad) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3079](https://togithub.com/vitest-dev/vitest/issues/3079) [<samp>(9dc69)</samp>](https://togithub.com/vitest-dev/vitest/commit/9dc69293) - Implement `istanbul` coverage support for browser testing - by [@​sheremet-va](https://togithub.com/sheremet-va) and [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3040](https://togithub.com/vitest-dev/vitest/issues/3040) [<samp>(0f44d)</samp>](https://togithub.com/vitest-dev/vitest/commit/0f44d2c8) ##### 🐞 Bug Fixes - Add generic to expect.objectContaining type - by [@​ArtyMaury](https://togithub.com/ArtyMaury) in [https://github.com/vitest-dev/vitest/issues/3053](https://togithub.com/vitest-dev/vitest/issues/3053) [<samp>(69d2c)</samp>](https://togithub.com/vitest-dev/vitest/commit/69d2cc93) - Do not fail, when primitive error is thrown - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3074](https://togithub.com/vitest-dev/vitest/issues/3074) [<samp>(6efe6)</samp>](https://togithub.com/vitest-dev/vitest/commit/6efe61ab) - Handle cloning proxied classes w/ enumerable getters - by [@​tgriesser](https://togithub.com/tgriesser) in [https://github.com/vitest-dev/vitest/issues/3026](https://togithub.com/vitest-dev/vitest/issues/3026) [<samp>(196a0)</samp>](https://togithub.com/vitest-dev/vitest/commit/196a067a) - Spy on popup apis like alert - by [@​Aslemammad](https://togithub.com/Aslemammad) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3076](https://togithub.com/vitest-dev/vitest/issues/3076) [<samp>(280ad)</samp>](https://togithub.com/vitest-dev/vitest/commit/280ad1ed) - Report coverage even when no tests found - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3091](https://togithub.com/vitest-dev/vitest/issues/3091) [<samp>(2cb91)</samp>](https://togithub.com/vitest-dev/vitest/commit/2cb91211) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.29.7...v0.29.8) </details> <details> <summary>capricorn86/happy-dom</summary> ### [`v9.8.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.8.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.8.0...v9.8.1) ##### :construction_worker_man: Patch fixes - Adds unit tests for inserting a `<main>` element with a "data" attribute to the body. ([#​493](https://togithub.com/capricorn86/happy-dom/issues/493)) *** Thank you [@​danielrentz](https://togithub.com/danielrentz) for your contribution! ### [`v9.8.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.8.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.7.1...v9.8.0) ##### :art: Features - Makes it possible to send in "null" to `Ǹode.contains()`. ([#​865](https://togithub.com/capricorn86/happy-dom/issues/865)) *** Thank you [@​btea](https://togithub.com/btea) for your contribution! ### [`v9.7.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.7.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.7.0...v9.7.1) ##### :construction_worker_man: Patch fixes - Fixes bug in `Node.insertBefore()` related to moving a `Node` within the same parent. ([#​421](https://togithub.com/capricorn86/happy-dom/issues/421)) ### [`v9.7.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.7.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.6.1...v9.7.0) ##### :art: Features - Adds support for the "capture" option in `Event.addEventListener()`. ([#​856](https://togithub.com/capricorn86/happy-dom/issues/856)) - Adds support for `Event.eventPhase`. ([#​856](https://togithub.com/capricorn86/happy-dom/issues/856)) ### [`v9.6.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.6.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.6.0...v9.6.1) ##### :construction_worker_man: Patch fixes - Improve type checking in unit tests. ([#​860](https://togithub.com/capricorn86/happy-dom/issues/860)) *** Thank you [@​danielrentz](https://togithub.com/danielrentz) for your contribution! ### [`v9.6.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.6.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.5.1...v9.6.0) ##### :art: Features - Adds support for `Node.normalize()`. ([#​300](https://togithub.com/capricorn86/happy-dom/issues/300)) *** Thank you [@​danielrentz](https://togithub.com/danielrentz) for your contribution! ### [`v9.5.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.5.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.5.0...v9.5.1) ##### :construction_worker_man: Patch fixes - Throw `DOMException` in `Text.splitText()` when offset is lower than 0. ([#​857](https://togithub.com/capricorn86/happy-dom/issues/857)) *** Thank you [@​danielrentz](https://togithub.com/danielrentz) for your contribution! ### [`v9.5.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.5.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.4.0...v9.5.0) ##### :art: Features - Adds support for `SubmitEvent`. ([#​820](https://togithub.com/capricorn86/happy-dom/issues/820)) *** Thank you [@​danielrentz](https://togithub.com/danielrentz) for your contribution! ### [`v9.4.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.4.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.3.2...v9.4.0) ##### :art: Features - Fixes issue that caused an exception to be thrown in `Range.cloneContents()`. ([#​853](https://togithub.com/capricorn86/happy-dom/issues/853)) *** Thank you [@​danielrentz](https://togithub.com/danielrentz) for your contribution! ### [`v9.3.2`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.3.2) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.3.1...v9.3.2) ##### :construction_worker_man: Patch fixes - Adds support for decoding HTML entities to `Element.textContent`. ([#​818](https://togithub.com/capricorn86/happy-dom/issues/818)) *** Thank you [@​btea](https://togithub.com/btea) for your contribution! ### [`v9.3.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.3.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.3.0...v9.3.1) ##### :construction_worker_man: Patch fixes - Makes it possible to assign a relative URL to `Location.href`, `Location.replace()` and `Location.assign()`. Please note that the default URL in Happy DOM is "about:blank" and it is not possible to construct a URL with it as base. It has to be set to another absolute URL first. ([#​678](https://togithub.com/capricorn86/happy-dom/issues/678)) *** Thank you [@​Mas0nShi](https://togithub.com/Mas0nShi) for your contribution! ### [`v9.3.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.3.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.2.1...v9.3.0) ##### :art: Features - Adds support for `Document.createNodeIterator()`. ([#​297](https://togithub.com/capricorn86/happy-dom/issues/297)) *** Thank you [@​danielrentz](https://togithub.com/danielrentz) for your contribution! ### [`v9.2.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.2.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.2.0...v9.2.1) ##### :construction_worker_man: Patch fixes - Fixes bug where `Element.insertBefore()` did not update the `Element.children` property correctly after inserting an element before a non-element node. ([#​846](https://togithub.com/capricorn86/happy-dom/issues/846)) *** Thank you [@​btea](https://togithub.com/btea) for your contribution! ### [`v9.2.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.2.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.1.10...v9.2.0) ##### :art: Features - Adds support for `SVGElement.dataset`. ([#​841](https://togithub.com/capricorn86/happy-dom/issues/841)) *** Thank you [@​danielrentz](https://togithub.com/danielrentz) for your contribution! ### [`v9.1.10`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.1.10) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.1.9...v9.1.10) ##### :construction_worker_man: Patch fixes - Fixes problem with HttpOnly cookies not being sent in `XMLHttpRequest` and `window.fetch()`. ([#​836](https://togithub.com/capricorn86/happy-dom/issues/836)) - Fixes problem with using cookie names without a value (e.g. "cookie_name" and "cookie_name=" should be handled as separate cookies). ([#​836](https://togithub.com/capricorn86/happy-dom/issues/836)) ##### :art: Features - Adds support for CORS handling when sending and receiving cookies from HTTP requests/responses. ([#​836](https://togithub.com/capricorn86/happy-dom/issues/836)) </details> <details> <summary>okonet/lint-staged</summary> ### [`v13.2.1`](https://togithub.com/okonet/lint-staged/releases/tag/v13.2.1) [Compare Source](https://togithub.com/okonet/lint-staged/compare/v13.2.0...v13.2.1) ##### Bug Fixes - ignore "package.json" as config file when it's invalid JSON ([#​1281](https://togithub.com/okonet/lint-staged/issues/1281)) ([e7ed6f7](https://togithub.com/okonet/lint-staged/commit/e7ed6f741d2ea0f084b06f3e1ac3d1d57fadf737)) </details> <details> <summary>prettier/prettier</summary> ### [`v2.8.7`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#​287) [Compare Source](https://togithub.com/prettier/prettier/compare/2.8.6...2.8.7) [diff](https://togithub.com/prettier/prettier/compare/2.8.6...2.8.7) ##### Allow multiple decorators on same getter/setter ([#​14584](https://togithub.com/prettier/prettier/pull/14584) by [@​fisker](https://togithub.com/fisker)) <!-- prettier-ignore --> ```ts // Input class A { @​decorator() get foo () {} @​decorator() set foo (value) {} } // Prettier 2.8.6 SyntaxError: Decorators cannot be applied to multiple get/set accessors of the same name. (5:3) 3 | get foo () {} 4 | > 5 | @​decorator() | ^^^^^^^^^^^^ 6 | set foo (value) {} 7 | } // Prettier 2.8.7 class A { @​decorator() get foo() {} @​decorator() set foo(value) {} } ``` </details> <details> <summary>TypeStrong/TypeDoc</summary> ### [`v0.24.4`](https://togithub.com/TypeStrong/TypeDoc/blob/HEAD/CHANGELOG.md#v0244-2023-04-16) [Compare Source](https://togithub.com/TypeStrong/TypeDoc/compare/v0.24.3...v0.24.4) ##### Bug Fixes - Fixed broken semantic coloring, [#​2247](https://togithub.com/TypeStrong/TypeDoc/issues/2247). - Increased contrast for parameter titles in dark mode to meet WCAG AA contrast requirements, [#​2244](https://togithub.com/TypeStrong/TypeDoc/issues/2244). - Underline color of index links now matches the text color, [#​2245](https://togithub.com/TypeStrong/TypeDoc/issues/2245). - Increased contract for active menu item text in dark mode. ### [`v0.24.3`](https://togithub.com/TypeStrong/TypeDoc/blob/HEAD/CHANGELOG.md#v0243-2023-04-16) [Compare Source](https://togithub.com/TypeStrong/TypeDoc/compare/v0.24.2...v0.24.3) ##### Bug Fixes - Fixed path expansion on Windows preventing generation, [#​2243](https://togithub.com/TypeStrong/TypeDoc/issues/2243) and [#​2241](https://togithub.com/TypeStrong/TypeDoc/issues/2241). ### [`v0.24.2`](https://togithub.com/TypeStrong/TypeDoc/blob/HEAD/CHANGELOG.md#v0242-2023-04-15) [Compare Source](https://togithub.com/TypeStrong/TypeDoc/compare/v0.24.1...v0.24.2) ##### Features - Added semantic link coloring for reflection names & links, [#​2227](https://togithub.com/TypeStrong/TypeDoc/issues/2227). Note: This resulted in function signatures becoming too busy for easy scanning with even slightly complicated signatures as such, TypeDoc now only renders parameter names in the signature title and includes the type in the parameter details as usual. This can be controlled with the new `--hideParameterTypesInTitle` option. - Conditional types will now render their branches on the next line for easier comprehension. ##### Bug Fixes - Fixed `&` showing as `&` and HTML text showing up in page contents navigation, [#​2224](https://togithub.com/TypeStrong/TypeDoc/issues/2224). - Increased padding between sections when one navigation column is displayed, [#​2225](https://togithub.com/TypeStrong/TypeDoc/issues/2225). - Correct padding for navigation elements with a displayed icon, [#​2229](https://togithub.com/TypeStrong/TypeDoc/issues/2229). - Fixed `source-order` sort strategy failing to compare reflections within a file. - Added `enum-member-source-order` specialization of the `source-order` sort strategy which only compares enum members, [#​2237](https://togithub.com/TypeStrong/TypeDoc/issues/2237). - Updated highlight colors for semantic links to meet WCAG AA contrast requirements, [#​2228](https://togithub.com/TypeStrong/TypeDoc/issues/2228). - Type parameters are now highlighted consistently, [#​2230](https://togithub.com/TypeStrong/TypeDoc/issues/2230). - Fixed semantic coloring in type and function signatures, [#​2227](https://togithub.com/TypeStrong/TypeDoc/issues/2227). - Fixed issue where removing a reflection indirectly containing an object/function type would only partially remove the reflection, [#​2231](https://togithub.com/TypeStrong/TypeDoc/issues/2231). - Fixed "Implementation of X.y" links if a mixture of methods and property-methods are used, [#​2233](https://togithub.com/TypeStrong/TypeDoc/issues/2233). - "Implementation of" text to symbol-properties not contained in the documentation will now use the resolved name instead of a `__@​` symbol name, [#​2234](https://togithub.com/TypeStrong/TypeDoc/issues/2234). - Fix expansion of globs if a single entry point is provided, [#​2235](https://togithub.com/TypeStrong/TypeDoc/issues/2235). - Validation will no longer be skipped for sub packages when running with `--entryPointStrategy packages`. - Fixed broken theme toggle if the page contained a member named "theme". ##### Thanks! - [@​RunDevelopment](https://togithub.com/RunDevelopment) ### [`v0.24.1`](https://togithub.com/TypeStrong/TypeDoc/blob/HEAD/CHANGELOG.md#v0241-2023-04-09) [Compare Source](https://togithub.com/TypeStrong/TypeDoc/compare/v0.24.0...v0.24.1) ##### Bug Fixes - Improve detection for legacy JSDoc `@example` tags, [#​2222](https://togithub.com/TypeStrong/TypeDoc/issues/2222). - The page footer will now appear at the bottom of the page even if the page is short, [#​2223](https://togithub.com/TypeStrong/TypeDoc/issues/2223). ### [`v0.24.0`](https://togithub.com/TypeStrong/TypeDoc/blob/HEAD/CHANGELOG.md#v0240-2023-04-08) [Compare Source](https://togithub.com/TypeStrong/TypeDoc/compare/v0.23.28...v0.24.0) ##### Breaking Changes - `@link`, `@linkcode` and `@linkplain` tags will now be resolved with TypeScript's link resolution by default. The `useTsLinkResolution` option can be used to turn this behavior off, but be aware that doing so will mean your links will be resolved differently by editor tooling and TypeDoc. - TypeDoc will no longer automatically load plugins from `node_modules`. Specify the `--plugin` option to indicate which modules should be loaded. - The `packages` entry point strategy will now run TypeDoc in each provided package directory and then merge the results together. The previous `packages` strategy has been preserved under `legacy-packages` and will be removed in 0.25. If the new strategy does not work for your use case, please open an issue. - Removed `--logger` option, to disable all logging, set the `logLevel` option to `none`. - Dropped support for legacy `[[link]]`s, removed deprecated `Reflection.findReflectionByName`. - Added `@overload` to default ignored tags. ##### API Breaking Changes - The `label` property on `Reflection` has moved to `Comment`. - The default value of the `out` option has been changed from `""` to `"./docs"`, [#​2195](https://togithub.com/TypeStrong/TypeDoc/issues/2195). - Renamed `DeclarationReflection#version` to `DeclarationReflection#projectVersion` to match property on `ProjectReflection`. - Removed unused `Reflection#originalName`. - Removed `Reflection#kindString`, use `ReflectionKind.singularString(reflection.kind)` or `ReflectionKind.pluralString(reflection.kind)` instead. - The `named-tuple-member` and `template-literal` type kind have been replaced with `namedTupleMember` and `templateLiteral`, [#​2100](https://togithub.com/TypeStrong/TypeDoc/issues/2100). - Properties related to rendering are no longer stored on `Reflection`, including `url`, `anchor`, `hasOwnDocument`, and `cssClasses`. - `Application.bootstrap` will no longer load plugins. If you want to load plugins, use `Application.bootstrapWithPlugins` instead, [#​1635](https://togithub.com/TypeStrong/TypeDoc/issues/1635). - The options passed to `Application.bootstrap` will now be applied both before *and* after reading options files, which may cause a change in configuration if using a custom script to run TypeDoc that includes some options, but other options are set in config files. - Moved `sources` property previously declared on base `Reflection` class to `DeclarationReflection` and `SignatureReflection`. - Moved `relevanceBoost` from `ContainerReflection` to `DeclarationReflection` since setting it on the parent class has no effect. - Removed internal `ReferenceType.getSymbol`, reference types no longer reference the `ts.Symbol` to enable generation from serialized JSON. - `OptionsReader.priority` has been renamed to `OptionsReader.order` to more accurately reflect how it works. - `ReferenceType`s which point to type parameters will now always be intentionally broken since they were never linked and should not be warned about when validating exports. - `ReferenceType`s now longer include an `id` property for their target. They now instead include a `target` property. - Removed `Renderer.addExternalSymbolResolver`, use `Converter.addExternalSymbolResolver` instead. - Removed `CallbackLogger`. - Removed `SerializeEventData` from serialization events. - A `PageEvent` is now required for `getRenderContext`. If caching the context object, `page` must be updated when `getRenderContext` is called. - `PageEvent` no longer includes the `template` property. The `Theme.render` method is now expected to take the template to render the page with as its second argument. - Removed `secondaryNavigation` member on `DefaultThemeRenderContext`. - Renamed `navigation` to `sidebar` on `DefaultThemeRenderContext` and `navigation.begin`/`navigation.end` hooks to `sidebar.begin`/`sidebar.end`. ##### Features - Added `--useTsLinkResolution` option (on by default) which tells TypeDoc to use TypeScript's `@link` resolution. - Added `--jsDocCompatibility` option (on by default) which controls TypeDoc's automatic detection of code blocks in `@example` and `@default` tags. - Reworked default theme navigation to add support for a page table of contents, [#​1478](https://togithub.com/TypeStrong/TypeDoc/issues/1478), [#​2189](https://togithub.com/TypeStrong/TypeDoc/issues/2189). - Added support for `@interface` on type aliases to tell TypeDoc to convert the fully resolved type as an interface, [#​1519](https://togithub.com/TypeStrong/TypeDoc/issues/1519) - Added support for `@namespace` on variable declarations to tell TypeDoc to convert the variable as a namespace, [#​2055](https://togithub.com/TypeStrong/TypeDoc/issues/2055). - Added support for `@prop`/`@property` to specify documentation for a child property of a symbol, intended for use with `@interface`. - TypeDoc will now produce more informative error messages for options which cannot be set from the cli, [#​2022](https://togithub.com/TypeStrong/TypeDoc/issues/2022). - TypeDoc will now attempt to guess what option you may have meant if given an invalid option name. - Plugins may now return a `Promise<void>` from their `load` function, [#​185](https://togithub.com/TypeStrong/TypeDoc/issues/185). - TypeDoc now supports plugins written with ESM, [#​1635](https://togithub.com/TypeStrong/TypeDoc/issues/1635). - Added `Renderer.preRenderAsyncJobs` and `Renderer.postRenderAsyncJobs`, which may be used by plugins to perform async processing for rendering, [#​185](https://togithub.com/TypeStrong/TypeDoc/issues/185). Note: Conversion is still intentionally a synchronous process to ensure stability of converted projects between runs. - TypeDoc options may now be set under the `typedocOptions` key in `package.json`, [#​2112](https://togithub.com/TypeStrong/TypeDoc/issues/2112). - Added `--cacheBust` option to tell TypeDoc to include include the generation time in files, [#​2124](https://togithub.com/TypeStrong/TypeDoc/issues/2124). - Added `--excludeReferences` option to tell TypeDoc to omit re-exports of a symbol already included from the documentation. - Introduced new render hooks `pageSidebar.begin` and `pageSidebar.end`. ##### Bug Fixes - TypeDoc will now ignore package.json files not containing a `name` field, [#​2190](https://togithub.com/TypeStrong/TypeDoc/issues/2190). - Fixed `@inheritDoc` on signatures (functions, methods, constructors, getters, setters) being unable to inherit from a non-signature. - Interfaces/classes created via extending a module will no longer contain variables/functions where the member should have been converted as properties/methods, [#​2150](https://togithub.com/TypeStrong/TypeDoc/issues/2150). - TypeDoc will now ignore a leading `v` in versions, [#​2212](https://togithub.com/TypeStrong/TypeDoc/issues/2212). - Category titles now render with the same format in the page index and heading title, [#​2196](https://togithub.com/TypeStrong/TypeDoc/issues/2196). - Fixed crash when using `typeof` on a reference with type arguments, [#​2220](https://togithub.com/TypeStrong/TypeDoc/issues/2220). - Fixed broken anchor links generated to signatures nested within objects. ##### Thanks! - [@​bodil](https://togithub.com/bodil) - [@​futurGH](https://togithub.com/futurGH) - [@​jm4rtinez](https://togithub.com/jm4rtinez) - [@​muratgozel](https://togithub.com/muratgozel) #### v0.23.28 (2023-03-19) ##### Features - Added support for TypeScript 5.0, [#​2201](https://togithub.com/TypeStrong/TypeDoc/issues/2201). - `const` type parameters. - JSDoc `@overload` tag. - JSDoc `@satisfies` tag. #### v0.23.27 (2023-03-16) ##### Features - Added `--treatValidationWarningsAsErrors` to treat only validation warnings as errors without treating all warnings as errors, [#​2199](https://togithub.com/TypeStrong/TypeDoc/issues/2199). ##### Bug Fixes - Fixed a bug where optional properties were not appropriately marked as optional, [#​2200](https://togithub.com/TypeStrong/TypeDoc/issues/2200). - Fixed shifted navigation pane on devices 1024px wide, [#​2191](https://togithub.com/TypeStrong/TypeDoc/issues/2191). - Add missing `@private` and `@protected` tags to `typedoc/tsdoc.json`, [#​2187](https://togithub.com/TypeStrong/TypeDoc/issues/2187). ##### Thanks! - [@​futurGH](https://togithub.com/futurGH) #### v0.23.26 (2023-02-26) ##### Features - Added `Application.EVENT_VALIDATE_PROJECT` event for plugins which implement custom validation, [#​2183](https://togithub.com/TypeStrong/TypeDoc/issues/2183). - Plugins may now return an object from external symbol resolvers, [#​2066](https://togithub.com/TypeStrong/TypeDoc/issues/2066). - Expose `Comment.displayPartsToMarkdown` on for themes overwriting the `comment` helper, [#​2115](https://togithub.com/TypeStrong/TypeDoc/issues/2115). ##### Bug Fixes - Fix crash when converting `export default undefined`, [#​2175](https://togithub.com/TypeStrong/TypeDoc/issues/2175). - Fix error in console when clicking on headings in the readme, [#​2170](https://togithub.com/TypeStrong/TypeDoc/issues/2170). - TypeDoc will now ignore parameters of callback parameters when validating that all parameters have documentation, [#​2154](https://togithub.com/TypeStrong/TypeDoc/issues/2154). ##### Thanks! - [@​captain-torch](https://togithub.com/captain-torch) - [@​loopingz](https://togithub.com/loopingz) - [@​RebeccaStevens](https://togithub.com/RebeccaStevens) #### v0.23.25 (2023-02-11) ##### Breaking Changes - Upgraded Shiki, if your highlight theme was set to `material-<theme>`, the value will need to be changed to `material-theme-<theme>`, see the [Shiki release notes](https://togithub.com/shikijs/shiki/blob/main/CHANGELOG.md#​0130--2023-01-27). ##### Features - Added new `excludeNotDocumentedKinds` variable to control which reflection types can be removed by the `excludeNotDocumented` option, [#​2162](https://togithub.com/TypeStrong/TypeDoc/issues/2162). - Added `typedoc.jsonc`, `typedoc.config.js`, `typedoc.config.cjs`, `typedoc.cjs` to the list of files which TypeDoc will automatically use as configuration files. ##### Bug Fixes - Entry points under `node_modules` will no longer be ignored, [#​2151](https://togithub.com/TypeStrong/TypeDoc/issues/2151). - Corrected behavior of `excludeNotDocumented` on arrow function-variables, [#​2156](https://togithub.com/TypeStrong/TypeDoc/issues/2156). - Added `package.json` to exports declaration. ##### Thanks! - [@​boneskull](https://togithub.com/boneskull) - [@​Mikkal24](https://togithub.com/Mikkal24) - [@​zamiell](https://togithub.com/zamiell) #### v0.23.24 (2023-01-07) ##### Bug Fixes - Fixed an issue where signature comments were preferred over property comments for indirectly created function-properties, [#​2135](https://togithub.com/TypeStrong/TypeDoc/issues/2135). - Fixed symlink handling when expanding entry points, [#​2130](https://togithub.com/TypeStrong/TypeDoc/issues/2130). ##### Thanks! - [@​boneskull](https://togithub.com/boneskull) #### v0.23.23 (2022-12-18) ##### Features - Added `ts.Signature` to emitted `EVENT_CREATE_SIGNATURE` event, [#​2002](https://togithub.com/TypeStrong/TypeDoc/issues/2002). ##### Bug Fixes - Links to members hidden by filter settings now temporarily override the filter, [#​2092](https://togithub.com/TypeStrong/TypeDoc/issues/2092). - If `src/` and `src/x` are specified as entry points, `src/` will no longer be ignored, [#​2121](https://togithub.com/TypeStrong/TypeDoc/issues/2121). #### v0.23.22 (2022-12-11) ##### Features - Add support for defining the kind sort order, [#​2109](https://togithub.com/TypeStrong/TypeDoc/issues/2109). ##### Bug Fixes - Normalize all file paths on Windows, [#​2113](https://togithub.com/TypeStrong/TypeDoc/issues/2113). - Fix `@link` tags within lists, [#​2103](https://togithub.com/TypeStrong/TypeDoc/issues/2103). #### v0.23.21 (2022-11-14) ##### Features - Added support for a catch-all wildcard in `externalSymbolLinkMappings`, [#​2102](https://togithub.com/TypeStrong/TypeDoc/issues/2102). - Added support for TypeScript 4.9. ##### Thanks! - [@​mistic100](https://togithub.com/mistic100) #### v0.23.20 (2022-11-03) ##### Bug Fixes - Fixed comment discovery for `@inheritDoc` if inheriting from a function type alias, [#​2087](https://togithub.com/TypeStrong/TypeDoc/issues/2087). #### v0.23.19 (2022-10-28) ##### Bug Fixes - Fixed title link if `titleLink` option was not specified, [#​2085](https://togithub.com/TypeStrong/TypeDoc/issues/2085). ##### Thanks! - [@​krisztianb](https://togithub.com/krisztianb) #### v0.23.18 (2022-10-23) ##### Features - Improved error reporting when failing to find entry points, [#​2080](https://togithub.com/TypeStrong/TypeDoc/issues/2080), [#​2082](https://togithub.com/TypeStrong/TypeDoc/issues/2082). ##### Bug Fixes - Constructor parameter-properties will now use the `@param` comment for the parameter if available, [#​1261](https://togithub.com/TypeStrong/TypeDoc/issues/1261). - Fixed display of object types containing methods, [#​1788](https://togithub.com/TypeStrong/TypeDoc/issues/1788). - Fixed conversion of intrinsic string mapping types when converting without a type node, [#​2079](https://togithub.com/TypeStrong/TypeDoc/issues/2079). #### v0.23.17 (2022-10-18) ##### Features - Added `titleLink`, `navigationLinks` and `sidebarLinks` options to add additional links to the rendered output, [#​1830](https://togithub.com/TypeStrong/TypeDoc/issues/1830). - Added `sourceLinkTemplate` option to allow more flexible specification of remote urls. Deprecated now redundant `gitRevision` detection starting with `https?://` introduced in v0.23.16, [#​2068](https://togithub.com/TypeStrong/TypeDoc/issues/2068). ##### Thanks! - [@​futurGH](https://togithub.com/futurGH) #### v0.23.16 (2022-10-10) ##### Features - Object types will now be pretty printed, [#​1793](https://togithub.com/TypeStrong/TypeDoc/issues/1793). - Added support for specifying the tsconfig.json file in packages mode with `{ "typedoc": { "tsconfig": "tsconfig.lib.json" }}` in package.json, [#​2061](https://togithub.com/TypeStrong/TypeDoc/issues/2061). - In packages mode, readme files will now be automatically included if present, [#​2065](https://togithub.com/TypeStrong/TypeDoc/issues/2065). - Added support for specifying the base file url for links to source code, [#​2068](https://togithub.com/TypeStrong/TypeDoc/issues/2068). ##### Bug Fixes - Private parameter properties will no longer be ignored, [#​2064](https://togithub.com/TypeStrong/TypeDoc/issues/2064). ##### Thanks! - [@​captainTorch](https://togithub.com/captainTorch) #### v0.23.15 (2022-09-18) ##### Features - TypeDoc will now treat `@typedef {import("foo").Bar<Z>} Baz` type declarations which forward type parameters to the imported symbol as re-exports of that symbol, [#​2044](https://togithub.com/TypeStrong/TypeDoc/issues/2044). ##### Bug Fixes - TypeDoc will now prefer comments on variable declarations over signature comments, [#​2042](https://togithub.com/TypeStrong/TypeDoc/issues/2042). - Fixed double rendering of "Type Parameters" header, [#​2054](https://togithub.com/TypeStrong/TypeDoc/issues/2054). - Fixed double rendering of "Hierarchy" header, [#​2053](https://togithub.com/TypeStrong/TypeDoc/issues/2053). - Removed unused `widgets.png` and `[email protected]` files from generated assets folder. #### v0.23.14 (2022-09-03) ##### Features - Added support for defining one-off external link mappings with `externalSymbolLinkMappings` see [the documentation](https://typedoc.org/guides/options/#externalsymbollinkmappings) for usage examples and caveats, [#​2030](https://togithub.com/TypeStrong/TypeDoc/issues/2030). - External link resolvers defined with `addUnknownSymbolResolver` will now be checked when resolving `@link` tags, [#​2030](https://togithub.com/TypeStrong/TypeDoc/issues/2030). Note: To support this, resolution will now happen during conversion, and as such, `Renderer.addUnknownSymbolResolver` has been soft deprecated in favor of `Converter.addUnknownSymbolResolver`. Plugins should update to use the method on `Converter`. `DefaultThemeRenderContext.attemptExternalResolution` has also been deprecated since it will repeat work done during conversion, use `ReferenceType.externalUrl` instead. - Added `Converter.addUnknownSymbolResolver` for use by plugins supporting external links. ##### Bug Fixes - Fixed conversion of object literal types containing construct signatures, [#​2036](https://togithub.com/TypeStrong/TypeDoc/issues/2036). - Fixed centering of title bar on wide displays, actually this time, [#​2046](https://togithub.com/TypeStrong/TypeDoc/issues/2046). #### v0.23.13 (2022-09-01) ##### Bug Fixes - Fixed packages mode bug introduced in 0.23.12, [#​2043](https://togithub.com/TypeStrong/TypeDoc/issues/2043). #### v0.23.12 (2022-08-31) ##### Features - Added a new `ParameterType.Object` for declaring object options which will be shallowly merged when read from user configuration. - Added a new `Application.EVENT_BOOTSTRAP_END` event emitted when `Application.bootstrap` is called. ##### Bug Fixes - TypeDoc will now work properly in packages mode when converting packages outside the current working directory, [#​2043](https://togithub.com/TypeStrong/TypeDoc/issues/2043). - Fixed deprecation warning for `isIdentifierOrPrivateIdentifier`. - Fixed centering of title bar on wide displays, [#​2046](https://togithub.com/TypeStrong/TypeDoc/issues/2046). ##### Thanks! - [@​citkane](https://togithub.com/citkane) #### v0.23.11 (2022-08-26) ##### Features - Added support for TypeScript 4.8. - Introduced a `skipErrorChecking` option which instructs TypeDoc to not ask TypeScript for compiler errors before attempting to generate documentation. Turning this on may improve generation speed, but could also cause a crash if your code contains compiler errors. - Added support for JS entry points when using packages mode, [#​2037](https://togithub.com/TypeStrong/TypeDoc/issues/2037). ##### Bug Fixes - Fixed crash when converting abstract mixin class, [#​2011](https://togithub.com/TypeStrong/TypeDoc/issues/2011). - Readme files within monorepos now have `@link` tags resolved, [#​2029](https://togithub.com/TypeStrong/TypeDoc/issues/2029). - Correctly resolve unqualified links to class members within parameters, [#​2031](https://togithub.com/TypeStrong/TypeDoc/issues/2031). - TypeDoc will now consider other reflections with the same name as parents when resolving links, [#​2033](https://togithub.com/TypeStrong/TypeDoc/issues/2033). - The "Hierarchy" and "Type Parameters" helpers on `DefaultThemeRenderContext` now contain all the HTML for their sections of the page, [#​2038](https://togithub.com/TypeStrong/TypeDoc/issues/2038). ##### Thanks! - [@​citkane](https://togithub.com/citkane) - [@​kaphula](https://togithub.com/kaphula) #### v0.23.10 (2022-07-31) ##### Features - Added support for detecting comments directly before parameters as the parameter comment, [#​2019](https://togithub.com/TypeStrong/TypeDoc/issues/2019). - Added support for using the comment directly before a constructor parameter that declares a property as the property comment, [#​2019](https://togithub.com/TypeStrong/TypeDoc/issues/2019). - Improved schema generation to give better autocomplete for the `sort` option. - Optional properties are now visually distinguished in the index/sidebar by rendering `prop` as `prop?`, [#​2023](https://togithub.com/TypeStrong/TypeDoc/issues/2023). - `DefaultThemeRenderContext.markdown` now also accepts a `CommentDisplayPart[]` for rendering, [#​2004](https://togithub.com/TypeStrong/TypeDoc/issues/2004). - Expose `Converter.resolveLinks` method for use with `Converter.parseRawComment`, [#​2004](https://togithub.com/TypeStrong/TypeDoc/issues/2004). ##### Bug Fixes - Fixed schema URL for TSDoc preventing the use of `typedoc/tsdoc.json` in TSDoc extends, [#​2015](https://togithub.com/TypeStrong/TypeDoc/issues/2015). - Improved detection of package names in repositories using pnpm, [#​2017](https://togithub.com/TypeStrong/TypeDoc/issues/2017). - Fixed missing JSDoc style `@typedef` comments for properties, [#​2020](https://togithub.com/TypeStrong/TypeDoc/issues/2020). ##### Thanks! - [@​bodil](https://togithub.com/bodil) - [@​nazarhussain](https://togithub.com/nazarhussain) #### v0.23.9 (2022-07-24) ##### Bug Fixes - TypeDoc will no longer skip entry points which have no exports, [#​2007](https://togithub.com/TypeStrong/TypeDoc/issues/2007). If using `"entryPointStrategy": "expand"`, this change may result in new pages being added to your documentation. If this is not desired, you can use the `exclude` option to filter them out. - Fixed missing comments on callable variable-functions constructed indirectly, [#​2008](https://togithub.com/TypeStrong/TypeDoc/issues/2008). - Packages mode will now respect the `--includeVersion` flag, [#​2010](https://togithub.com/TypeStrong/TypeDoc/issues/2010). - Fixed multiple reflections mapping to the same file name on case insensitive file systems, [#​2012](https://togithub.com/TypeStrong/TypeDoc/issues/2012). #### v0.23.8 (2022-07-17) ##### Features - Added defined in links for classes, enums, [#​180](https://togithub.com/TypeStrong/TypeDoc/issues/180). - Added support for `*.ghe.com` and `*.github.us` GitHub enterprise domains for source links, [#​2001](https://togithub.com/TypeStrong/TypeDoc/issues/2001). - Expose `Converter.parseRawComment` for plugins to parse additional markdown files, [#​2004](https://togithub.com/TypeStrong/TypeDoc/issues/2004). ##### Bug Fixes - TypeDoc will no longer emit a warning for `{@​link}` containing a URL, [#​1980](https://togithub.com/TypeStrong/TypeDoc/issues/1980). - `excludeNotDocumented` will no longer remove functions/methods/accessors which are documented, [#​1994](https://togithub.com/TypeStrong/TypeDoc/issues/1994). - Fixed missing `sources` property on signature reflections [#​1996](https://togithub.com/TypeStrong/TypeDoc/issues/1996). ##### Thanks! - [@​cary-hu](https://togithub.com/cary-hu) - [@​chadhietala](https://togithub.com/chadhietala) #### v0.23.7 (2022-07-09) ##### Bug Fixes - Tags must now contain whitespace after the tag name to be parsed as a tag, `@jest/globals` in a comment will no longer be parsed as a tag [#​1990](https://togithub.com/TypeStrong/TypeDoc/issues/1990). - The private member visibility option will now be respected in generated sites, [#​1992](https://togithub.com/TypeStrong/TypeDoc/issues/1992). - Overload rendering will no longer be broken if JavaScript is disabled, [#​453](https://togithub.com/TypeStrong/TypeDoc/issues/453). - All overloads are now shown at once rather than requiring clicks to see the documentation for each signature, [#​1100](https://togithub.com/TypeStrong/TypeDoc/issues/1100). #### v0.23.6 (2022-07-08) ##### Features - Improved support for `--entryPointStrategy Packages`. TypeDoc will now load package-specific configurations from `package.json` `typedoc` field. This configuration allows configuring a custom display name (`typedoc.displayName`) field, entry point (`typedoc.entryPoint` - this is equivalent and will override `typedocMain`), and path to a readme file to be rendered at the top of the package page (`typedoc.readmeFile`), [#​1658](https://togithub.com/TypeStrong/TypeDoc/issues/1658). - The `--includeVersion` option will now be respected by `--entryPointStrategy Packages`. Also, for this combination, missing `version` field in the root `package.json` will not issue a warning. - The `navigation` partial will now call the new `settings`, `primaryNavigation`, and `secondaryNavigation` partials, [#​1987](https://togithub.com/TypeStrong/TypeDoc/issues/1987). ##### Bug Fixes - All warnings will be reported instead of only the first warning of a given type, [#​1981](https://togithub.com/TypeStrong/TypeDoc/issues/1981). - Include references will no longer be incorrectly parsed as links, [#​1986](https://togithub.com/TypeStrong/TypeDoc/issues/1986). - The generated schema.json on the website will now use enum values rather than enum names if possible. ##### Thanks! - [@​akphi](https://togithub.com/akphi) - [@​zamiell](https://togithub.com/zamiell) #### v0.23.5 (2022-07-02) ##### Features - The `DEBUG_SEARCH_WEIGHTS` global variable can now be set on `window` to add search scoring information in the search results. - TypeDoc's icons are now available on `DefaultThemeRenderContext.icons` for use/modification by themes. #### v0.23.4 (2022-07-02) ##### Bug Fixes - TypeDoc no longer ignores project references if `--entryPointStrategy Packages` is set, [#​1976](https://togithub.com/TypeStrong/TypeDoc/issues/1976). - Boost computations are now done when creating the search index, resulting in a smaller `search.js` generated file. ##### Features - The `--exclude` option will now be respected by `--entryPointStrategy Packages` and can be used to exclude package directories, [#​1959](https://togithub.com/TypeStrong/TypeDoc/issues/1959). - TypeDoc now emits an `IndexEvent` on the `Renderer` when preparing the search index, [#​1953](https://togithub.com/TypeStrong/TypeDoc/issues/1953). - Added new `--searchInComments` option to include comment text in the search index, [#​1553](https://togithub.com/TypeStrong/TypeDoc/issues/1553). Turning this option on will increase the size of your search index, potentially by an order of magnitude. #### v0.23.3 (2022-07-01) ##### Bug Fixes - Function properties in type space will no longer be interpreted as methods, [#​1637](https://togithub.com/TypeStrong/TypeDoc/issues/1637). - TypeDoc will no longer crash if a comment contains an empty `@example` tag, [#​1967](https://togithub.com/TypeStrong/TypeDoc/issues/1967). - TypeDoc will now detect attempted inheritance from accessors and inherit from the getter or setter, [#​1968](https://togithub.com/TypeStrong/TypeDoc/issues/1968). - `intentionallyNotExported` will now properly respect qualified names, [#​1972](https://togithub.com/TypeStrong/TypeDoc/issues/1972). - Fixed missing namespace comments on `export * as NS` declarations, [#​1973](https://togithub.com/TypeStrong/TypeDoc/issues/1973). - Fixed missing comments on `export const x = () => 123` function variables, [#​1973](https://togithub.com/TypeStrong/TypeDoc/issues/1973). </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://app.renovatebot.com/dashboard#github/andipaetzold/react-firehooks). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xNy4xIiwidXBkYXRlZEluVmVyIjoiMzUuNDguMiJ9--> 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 | |---|---|---|---|---|---| | [eslint-plugin-vitest](https://togithub.com/veritem/eslint-plugin-vitest) | [`^0.0.54` -> `^0.1.0`](https://renovatebot.com/diffs/npm/eslint-plugin-vitest/0.0.54/0.1.4) | [![age](https://badges.renovateapi.com/packages/npm/eslint-plugin-vitest/0.1.4/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/eslint-plugin-vitest/0.1.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/eslint-plugin-vitest/0.1.4/compatibility-slim/0.0.54)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/eslint-plugin-vitest/0.1.4/confidence-slim/0.0.54)](https://docs.renovatebot.com/merge-confidence/) | | [pnpm](https://pnpm.io) ([source](https://togithub.com/pnpm/pnpm)) | [`7.29.0` -> `7.32.2`](https://renovatebot.com/diffs/npm/pnpm/7.29.0/7.32.2) | [![age](https://badges.renovateapi.com/packages/npm/pnpm/7.32.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/pnpm/7.32.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/pnpm/7.32.2/compatibility-slim/7.29.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/pnpm/7.32.2/confidence-slim/7.29.0)](https://docs.renovatebot.com/merge-confidence/) | | [vitest](https://togithub.com/vitest-dev/vitest) | [`^0.29.2` -> `^0.30.0`](https://renovatebot.com/diffs/npm/vitest/0.29.8/0.30.1) | [![age](https://badges.renovateapi.com/packages/npm/vitest/0.30.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/vitest/0.30.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/vitest/0.30.1/compatibility-slim/0.29.8)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/vitest/0.30.1/confidence-slim/0.29.8)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>veritem/eslint-plugin-vitest</summary> ### [`v0.1.4`](https://togithub.com/veritem/eslint-plugin-vitest/compare/v0.1.3...v0.1.4) [Compare Source](https://togithub.com/veritem/eslint-plugin-vitest/compare/v0.1.3...v0.1.4) ### [`v0.1.3`](https://togithub.com/veritem/eslint-plugin-vitest/releases/tag/v0.1.3) [Compare Source](https://togithub.com/veritem/eslint-plugin-vitest/compare/v0.1.1...v0.1.3) ##### Features - updated smoke tests ([#​150](https://togithub.com/veritem/eslint-plugin-vitest/issues/150)) ([a00f44c](https://togithub.com/veritem/eslint-plugin-vitest/commit/a00f44c)) ### [`v0.1.1`](https://togithub.com/veritem/eslint-plugin-vitest/releases/tag/v0.1.1) [Compare Source](https://togithub.com/veritem/eslint-plugin-vitest/compare/v0.1.0...v0.1.1) ##### Features - update ([f46380f](https://togithub.com/veritem/eslint-plugin-vitest/commit/f46380f)) **Full Changelog**: vitest-dev/eslint-plugin-vitest@v0.1.0...v0.1.1 ### [`v0.1.0`](https://togithub.com/veritem/eslint-plugin-vitest/compare/v0.0.57...v0.1.0) [Compare Source](https://togithub.com/veritem/eslint-plugin-vitest/compare/v0.0.57...v0.1.0) ### [`v0.0.57`](https://togithub.com/veritem/eslint-plugin-vitest/releases/tag/v0.0.57) [Compare Source](https://togithub.com/veritem/eslint-plugin-vitest/compare/v0.0.56...v0.0.57) ##### Features - added strict equal ([#​128](https://togithub.com/veritem/eslint-plugin-vitest/issues/128)) ([4a2591f](https://togithub.com/veritem/eslint-plugin-vitest/commit/4a2591f)) - added strict equal ([#​129](https://togithub.com/veritem/eslint-plugin-vitest/issues/129)) ([600dd7e](https://togithub.com/veritem/eslint-plugin-vitest/commit/600dd7e)) - updated ([#​114](https://togithub.com/veritem/eslint-plugin-vitest/issues/114)) ([52bdc2b](https://togithub.com/veritem/eslint-plugin-vitest/commit/52bdc2b)) - updated ([#​122](https://togithub.com/veritem/eslint-plugin-vitest/issues/122)) ([cb2353b](https://togithub.com/veritem/eslint-plugin-vitest/commit/cb2353b)) - updated ([#​123](https://togithub.com/veritem/eslint-plugin-vitest/issues/123)) ([4a0b25d](https://togithub.com/veritem/eslint-plugin-vitest/commit/4a0b25d)) ### [`v0.0.56`](https://togithub.com/veritem/eslint-plugin-vitest/releases/tag/v0.0.56) [Compare Source](https://togithub.com/veritem/eslint-plugin-vitest/compare/v0.0.55...v0.0.56) ##### Features - updated ([#​113](https://togithub.com/veritem/eslint-plugin-vitest/issues/113)) ([1f2c59a](https://togithub.com/veritem/eslint-plugin-vitest/commit/1f2c59a)) ### [`v0.0.55`](https://togithub.com/veritem/eslint-plugin-vitest/compare/v0.0.54...v0.0.55) [Compare Source](https://togithub.com/veritem/eslint-plugin-vitest/compare/v0.0.54...v0.0.55) </details> <details> <summary>pnpm/pnpm</summary> ### [`v7.32.2`](https://togithub.com/pnpm/pnpm/releases/tag/v7.32.2) [Compare Source](https://togithub.com/pnpm/pnpm/compare/v7.32.1...v7.32.2) #### Patch Changes - Patch node-fetch to fix an error that happens on Node.js 20 [#​6424](https://togithub.com/pnpm/pnpm/issues/6424). #### Our Gold Sponsors <table> <tbody> <tr> <td align="center" valign="middle"> <a href="https://bit.dev/?utm_source=pnpm&utm_medium=release_notes" target="_blank"><img src="https://pnpm.io/img/users/bit.svg" width="80"></a> </td> <td align="center" valign="middle"> <a href="https://novu.co/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/novu.svg" /> <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/novu_light.svg" /> <img src="https://pnpm.io/img/users/novu.svg" width="180" /> </picture> </a> </td> </tr> <tr> <td align="center" valign="middle"> <a href="https://prisma.io/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/prisma.svg" /> <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/prisma_light.svg" /> <img src="https://pnpm.io/img/users/prisma.svg" width="180" /> </picture> </a> </td> <td align="center" valign="middle"> <a href="https://www.flightcontrol.dev/?ref=pnpm" target="_blank"><img src="https://pnpm.io/img/users/flightcontrol.png" width="240"></a> </td> </tr> </tbody> </table> #### Our Silver Sponsors <table> <tbody> <tr> <td align="center" valign="middle"> <a href="https://leniolabs.com/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <img src="https://pnpm.io/img/users/leniolabs.jpg" width="80"> </a> </td> <td align="center" valign="middle"> <a href="https://vercel.com/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/vercel.svg" /> <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/vercel_light.svg" /> <img src="https://pnpm.io/img/users/vercel.svg" width="180" /> </picture> </a> </td> <td align="center" valign="middle"> <a href="https://depot.dev/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/depot.svg" /> <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/depot_light.svg" /> <img src="https://pnpm.io/img/users/depot.svg" width="200" /> </picture> </a> </td> </tr> </tbody> </table> ### [`v7.32.1`](https://togithub.com/pnpm/pnpm/releases/tag/v7.32.1) [Compare Source](https://togithub.com/pnpm/pnpm/compare/v7.32.0...v7.32.1) #### Patch Changes - Warn user when `publishConfig.directory` of an injected workspace dependency does not exist [#​6396](https://togithub.com/pnpm/pnpm/pull/6396). - Use hard links to link the node executable on Windows machines [#​4315](https://togithub.com/pnpm/pnpm/issues/4315). #### Our Gold Sponsors <table> <tbody> <tr> <td align="center" valign="middle"> <a href="https://bit.dev/?utm_source=pnpm&utm_medium=release_notes" target="_blank"><img src="https://pnpm.io/img/users/bit.svg" width="80"></a> </td> <td align="center" valign="middle"> <a href="https://novu.co/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/novu.svg" /> <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/novu_light.svg" /> <img src="https://pnpm.io/img/users/novu.svg" width="180" /> </picture> </a> </td> </tr> <tr> <td align="center" valign="middle"> <a href="https://prisma.io/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/prisma.svg" /> <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/prisma_light.svg" /> <img src="https://pnpm.io/img/users/prisma.svg" width="180" /> </picture> </a> </td> <td align="center" valign="middle"> <a href="https://www.flightcontrol.dev/?ref=pnpm" target="_blank"><img src="https://pnpm.io/img/users/flightcontrol.png" width="240"></a> </td> </tr> </tbody> </table> #### Our Silver Sponsors <table> <tbody> <tr> <td align="center" valign="middle"> <a href="https://leniolabs.com/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <img src="https://pnpm.io/img/users/leniolabs.jpg" width="80"> </a> </td> <td align="center" valign="middle"> <a href="https://vercel.com/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/vercel.svg" /> <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/vercel_light.svg" /> <img src="https://pnpm.io/img/users/vercel.svg" width="180" /> </picture> </a> </td> <td align="center" valign="middle"> <a href="https://depot.dev/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/depot.svg" /> <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/depot_light.svg" /> <img src="https://pnpm.io/img/users/depot.svg" width="200" /> </picture> </a> </td> </tr> </tbody> </table> ### [`v7.32.0`](https://togithub.com/pnpm/pnpm/releases/tag/v7.32.0) [Compare Source](https://togithub.com/pnpm/pnpm/compare/v7.31.0...v7.32.0) #### Minor Changes - Allow env variables to be specified with default values in `.npmrc`. This is a convention used by Yarn too. Using `${NAME-fallback}` will return `fallback` if `NAME` isn't set. `${NAME:-fallback}` will return `fallback` if `NAME` isn't set, or is an empty string [#​6018](https://togithub.com/pnpm/pnpm/issues/6018). #### Patch Changes - `pnpm config get <key>` returns empty when the value is a boolean - Don't print an info message about linked dependencies if they are real linked dependencies specified via the `link:` protocol in `package.json`. - Add -g to mismatch registries error info when original command has -g option [#​6224](https://togithub.com/pnpm/pnpm/issues/6224). #### Our Gold Sponsors <table> <tbody> <tr> <td align="center" valign="middle"> <a href="https://bit.dev/?utm_source=pnpm&utm_medium=release_notes" target="_blank"><img src="https://pnpm.io/img/users/bit.svg" width="80"></a> </td> <td align="center" valign="middle"> <a href="https://novu.co/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/novu.svg" /> <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/novu_light.svg" /> <img src="https://pnpm.io/img/users/novu.svg" width="180" /> </picture> </a> </td> </tr> <tr> <td align="center" valign="middle"> <a href="https://prisma.io/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/prisma.svg" /> <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/prisma_light.svg" /> <img src="https://pnpm.io/img/users/prisma.svg" width="180" /> </picture> </a> </td> <td align="center" valign="middle"> <a href="https://www.flightcontrol.dev/?ref=pnpm" target="_blank"><img src="https://pnpm.io/img/users/flightcontrol.png" width="240"></a> </td> </tr> </tbody> </table> #### Our Silver Sponsors <table> <tbody> <tr> <td align="center" valign="middle"> <a href="https://leniolabs.com/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <img src="https://pnpm.io/img/users/leniolabs.jpg" width="80"> </a> </td> <td align="center" valign="middle"> <a href="https://vercel.com/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/vercel.svg" /> <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/vercel_light.svg" /> <img src="https://pnpm.io/img/users/vercel.svg" width="180" /> </picture> </a> </td> <td align="center" valign="middle"> <a href="https://depot.dev/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/depot.svg" /> <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/depot_light.svg" /> <img src="https://pnpm.io/img/users/depot.svg" width="200" /> </picture> </a> </td> </tr> </tbody> </table> ### [`v7.31.0`](https://togithub.com/pnpm/pnpm/releases/tag/v7.31.0) [Compare Source](https://togithub.com/pnpm/pnpm/compare/v7.30.5...v7.31.0) ##### Minor Changes - Add `ignore-workspace-cycles` to silence workspace cycle warning [#​6308](https://togithub.com/pnpm/pnpm/pull/6308). ##### Patch Changes - Registries are now passed to the preResolution hook. - Repeat installation should work on a project that has a dependency with () chars in the scope name [#​6348](https://togithub.com/pnpm/pnpm/issues/6348). - Should report error summary as expected. - Update `@yarnpkg/shell` to fix issues in the shell emulator [#​6320](https://togithub.com/pnpm/pnpm/issues/6320). - Installation should not fail when there is a local dependency that starts in a directory that starts with the `@` char [#​6332](https://togithub.com/pnpm/pnpm/issues/6332). ##### Our Gold Sponsors <table> <tbody> <tr> <td align="center" valign="middle"> <a href="https://bit.dev/?utm_source=pnpm&utm_medium=release_notes" target="_blank"><img src="https://pnpm.io/img/users/bit.svg" width="80"></a> </td> <td align="center" valign="middle"> <a href="https://novu.co/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/novu.svg" /> <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/novu_light.svg" /> <img src="https://pnpm.io/img/users/novu.svg" width="180" /> </picture> </a> </td> </tr> <tr> <td align="center" valign="middle"> <a href="https://prisma.io/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/prisma.svg" /> <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/prisma_light.svg" /> <img src="https://pnpm.io/img/users/prisma.svg" width="180" /> </picture> </a> </td> <td align="center" valign="middle"> <a href="https://www.flightcontrol.dev/?ref=pnpm" target="_blank"><img src="https://pnpm.io/img/users/flightcontrol.png" width="240"></a> </td> </tr> </tbody> </table> ##### Our Silver Sponsors <table> <tbody> <tr> <td align="center" valign="middle"> <a href="https://leniolabs.com/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <img src="https://pnpm.io/img/users/leniolabs.jpg" width="80"> </a> </td> <td align="center" valign="middle"> <a href="https://vercel.com/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/vercel.svg" /> <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/vercel_light.svg" /> <img src="https://pnpm.io/img/users/vercel.svg" width="180" /> </picture> </a> </td> <td align="center" valign="middle"> <a href="https://depot.dev/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/depot.svg" /> <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/depot_light.svg" /> <img src="https://pnpm.io/img/users/depot.svg" width="200" /> </picture> </a> </td> </tr> </tbody> </table> ### [`v7.30.5`](https://togithub.com/pnpm/pnpm/releases/tag/v7.30.5) [Compare Source](https://togithub.com/pnpm/pnpm/compare/v7.30.4...v7.30.5) ##### Patch Changes - `pnpm audit` should work even if there are no `package.json` file, just a `pnpm-lock.yaml` file. - Dedupe direct dependencies after hoisting. - Don't remove automatically installed peer dependencies from the root workspace project, when `dedupe-peer-dependents` is `true` [#​6154](https://togithub.com/pnpm/pnpm/issues/6154). ##### Our Gold Sponsors <table> <tbody> <tr> <td align="center" valign="middle"> <a href="https://bit.dev/?utm_source=pnpm&utm_medium=release_notes" target="_blank"><img src="https://pnpm.io/img/users/bit.svg" width="80"></a> </td> <td align="center" valign="middle"> <a href="https://novu.co/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/novu.svg" /> <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/novu_light.svg" /> <img src="https://pnpm.io/img/users/novu.svg" width="180" /> </picture> </a> </td> </tr> <tr> <td align="center" valign="middle"> <a href="https://prisma.io/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/prisma.svg" /> <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/prisma_light.svg" /> <img src="https://pnpm.io/img/users/prisma.svg" width="180" /> </picture> </a> </td> <td align="center" valign="middle"> <a href="https://www.flightcontrol.dev/?ref=pnpm" target="_blank"><img src="https://pnpm.io/img/users/flightcontrol.png" width="240"></a> </td> </tr> </tbody> </table> ##### Our Silver Sponsors <table> <tbody> <tr> <td align="center" valign="middle"> <a href="https://leniolabs.com/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <img src="https://pnpm.io/img/users/leniolabs.jpg" width="80"> </a> </td> <td align="center" valign="middle"> <a href="https://vercel.com/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/vercel.svg" /> <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/vercel_light.svg" /> <img src="https://pnpm.io/img/users/vercel.svg" width="180" /> </picture> </a> </td> <td align="center" valign="middle"> <a href="https://depot.dev/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/depot.svg" /> <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/depot_light.svg" /> <img src="https://pnpm.io/img/users/depot.svg" width="200" /> </picture> </a> </td> </tr> </tbody> </table> ### [`v7.30.4`](https://togithub.com/pnpm/pnpm/compare/v7.30.3...v7.30.4) [Compare Source](https://togithub.com/pnpm/pnpm/compare/v7.30.3...v7.30.4) ### [`v7.30.3`](https://togithub.com/pnpm/pnpm/releases/tag/v7.30.3) [Compare Source](https://togithub.com/pnpm/pnpm/compare/v7.30.2...v7.30.3) ##### Patch Changes - Should use most specific override rule when multiple rules match the same target [#​6210](https://togithub.com/pnpm/pnpm/issues/6210). - Fix regression introduced in v7.30.1 [#​6271](https://togithub.com/pnpm/pnpm/issues/6271). ##### Our Gold Sponsors <table> <tbody> <tr> <td align="center" valign="middle"> <a href="https://bit.dev/?utm_source=pnpm&utm_medium=release_notes" target="_blank"><img src="https://pnpm.io/img/users/bit.svg" width="80"></a> </td> <td align="center" valign="middle"> <a href="https://novu.co/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/novu.svg" /> <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/novu_light.svg" /> <img src="https://pnpm.io/img/users/novu.svg" width="180" /> </picture> </a> </td> </tr> <tr> <td align="center" valign="middle"> <a href="https://prisma.io/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/prisma.svg" /> <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/prisma_light.svg" /> <img src="https://pnpm.io/img/users/prisma.svg" width="180" /> </picture> </a> </td> <td align="center" valign="middle"> <a href="https://www.flightcontrol.dev/?ref=pnpm" target="_blank"><img src="https://pnpm.io/img/users/flightcontrol.png" width="240"></a> </td> </tr> </tbody> </table> ##### Our Silver Sponsors <table> <tbody> <tr> <td align="center" valign="middle"> <a href="https://leniolabs.com/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <img src="https://pnpm.io/img/users/leniolabs.jpg" width="80"> </a> </td> <td align="center" valign="middle"> <a href="https://vercel.com/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/vercel.svg" /> <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/vercel_light.svg" /> <img src="https://pnpm.io/img/users/vercel.svg" width="180" /> </picture> </a> </td> <td align="center" valign="middle"> <a href="https://depot.dev/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/depot.svg" /> <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/depot_light.svg" /> <img src="https://pnpm.io/img/users/depot.svg" width="200" /> </picture> </a> </td> </tr> </tbody> </table> ### [`v7.30.2`](https://togithub.com/pnpm/pnpm/compare/v7.30.1...v7.30.2) [Compare Source](https://togithub.com/pnpm/pnpm/compare/v7.30.1...v7.30.2) ### [`v7.30.1`](https://togithub.com/pnpm/pnpm/releases/tag/v7.30.1) [Compare Source](https://togithub.com/pnpm/pnpm/compare/v7.30.0...v7.30.1) ##### Patch Changes - Don't write the `pnpm-lock.yaml` file if it has no changes and `pnpm install --frozen-lockfile` was executed [#​6158](https://togithub.com/pnpm/pnpm/issues/6158). - Fix git-hosted dependencies referenced via `git+ssh` that use semver selectors [#​6239](https://togithub.com/pnpm/pnpm/pull/6239). - When publish some package throws an error, the exit code should be non-zero [#​5528](https://togithub.com/pnpm/pnpm/issues/5528). - Only three paths are displayed in `pnpm audit` output [#​6203](https://togithub.com/pnpm/pnpm/issues/6203) - Aliased packages should be used to resolve peer dependencies too [#​4301](https://togithub.com/pnpm/pnpm/issues/4301). ##### Our Gold Sponsors <table> <tbody> <tr> <td align="center" valign="middle"> <a href="https://bit.dev/?utm_source=pnpm&utm_medium=release_notes" target="_blank"><img src="https://pnpm.io/img/users/bit.svg" width="80"></a> </td> <td align="center" valign="middle"> <a href="https://novu.co/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/novu.svg" /> <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/novu_light.svg" /> <img src="https://pnpm.io/img/users/novu.svg" width="180" /> </picture> </a> </td> </tr> <tr> <td align="center" valign="middle"> <a href="https://prisma.io/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/prisma.svg" /> <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/prisma_light.svg" /> <img src="https://pnpm.io/img/users/prisma.svg" width="180" /> </picture> </a> </td> <td align="center" valign="middle"> <a href="https://www.flightcontrol.dev/?ref=pnpm" target="_blank"><img src="https://pnpm.io/img/users/flightcontrol.png" width="240"></a> </td> </tr> </tbody> </table> ##### Our Silver Sponsors <table> <tbody> <tr> <td align="center" valign="middle"> <a href="https://leniolabs.com/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <img src="https://pnpm.io/img/users/leniolabs.jpg" width="80"> </a> </td> <td align="center" valign="middle"> <a href="https://vercel.com/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/vercel.svg" /> <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/vercel_light.svg" /> <img src="https://pnpm.io/img/users/vercel.svg" width="180" /> </picture> </a> </td> <td align="center" valign="middle"> <a href="https://depot.dev/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/depot.svg" /> <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/depot_light.svg" /> <img src="https://pnpm.io/img/users/depot.svg" width="200" /> </picture> </a> </td> </tr> </tbody> </table> ### [`v7.30.0`](https://togithub.com/pnpm/pnpm/releases/tag/v7.30.0) [Compare Source](https://togithub.com/pnpm/pnpm/compare/v7.29.3...v7.30.0) ##### Minor Changes - Allow to set a custom directory for storing patch files via the `patches-dir` setting [#​6215](https://togithub.com/pnpm/pnpm/pull/6215) ##### Patch Changes - New directories should be prepended to NODE_PATH in command shims, not appended. - Retry copying file on EBUSY error [#​6201](https://togithub.com/pnpm/pnpm/issues/6201). ##### Our Gold Sponsors <table> <tbody> <tr> <td align="center" valign="middle"> <a href="https://bit.dev/?utm_source=pnpm&utm_medium=release_notes" target="_blank"><img src="https://pnpm.io/img/users/bit.svg" width="80"></a> </td> <td align="center" valign="middle"> <a href="https://novu.co/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/novu.svg" /> <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/novu_light.svg" /> <img src="https://pnpm.io/img/users/novu.svg" width="180" /> </picture> </a> </td> </tr> <tr> <td align="center" valign="middle"> <a href="https://prisma.io/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/prisma.svg" /> <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/prisma_light.svg" /> <img src="https://pnpm.io/img/users/prisma.svg" width="180" /> </picture> </a> </td> <td align="center" valign="middle"> <a href="https://www.flightcontrol.dev/?ref=pnpm" target="_blank"><img src="https://pnpm.io/img/users/flightcontrol.png" width="240"></a> </td> </tr> </tbody> </table> ##### Our Silver Sponsors <table> <tbody> <tr> <td align="center" valign="middle"> <a href="https://leniolabs.com/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <img src="https://pnpm.io/img/users/leniolabs.jpg" width="80"> </a> </td> <td align="center" valign="middle"> <a href="https://vercel.com/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/vercel.svg" /> <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/vercel_light.svg" /> <img src="https://pnpm.io/img/users/vercel.svg" width="180" /> </picture> </a> </td> <td align="center" valign="middle"> <a href="https://depot.dev/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/depot.svg" /> <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/depot_light.svg" /> <img src="https://pnpm.io/img/users/depot.svg" width="200" /> </picture> </a> </td> </tr> </tbody> </table> ### [`v7.29.3`](https://togithub.com/pnpm/pnpm/releases/tag/v7.29.3) [Compare Source](https://togithub.com/pnpm/pnpm/compare/v7.29.2...v7.29.3) #### Patch Changes - Command shim should not set higher priority to the `node_modules/.pnpm/node_modules` directory through the `NODE_PATH` env variable, then the command's own `node_modules` directory [#​5176](https://togithub.com/pnpm/pnpm/issues/5176). - `extend-node-path` is set back to `true` by default. It was set to `false` in v7.29.2 in order to fix issues with multiple versions of Jest in one workspace. It has caused other issues, so now we keep extending `NODE_PATH`. We have fixed the Jest issue with a different solution [#​6213](https://togithub.com/pnpm/pnpm/issues/6213). #### Our Gold Sponsors <table> <tbody> <tr> <td align="center" valign="middle"> <a href="https://bit.dev/?utm_source=pnpm&utm_medium=release_notes" target="_blank"><img src="https://pnpm.io/img/users/bit.svg" width="80"></a> </td> <td align="center" valign="middle"> <a href="https://novu.co/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/novu.svg" /> <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/novu_light.svg" /> <img src="https://pnpm.io/img/users/novu.svg" width="180" /> </picture> </a> </td> </tr> <tr> <td align="center" valign="middle"> <a href="https://prisma.io/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/prisma.svg" /> <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/prisma_light.svg" /> <img src="https://pnpm.io/img/users/prisma.svg" width="180" /> </picture> </a> </td> <td align="center" valign="middle"> <a href="https://www.flightcontrol.dev/?ref=pnpm" target="_blank"><img src="https://pnpm.io/img/users/flightcontrol.png" width="240"></a> </td> </tr> </tbody> </table> #### Our Silver Sponsors <table> <tbody> <tr> <td align="center" valign="middle"> <a href="https://leniolabs.com/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <img src="https://pnpm.io/img/users/leniolabs.jpg" width="80"> </a> </td> <td align="center" valign="middle"> <a href="https://vercel.com/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/vercel.svg" /> <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/vercel_light.svg" /> <img src="https://pnpm.io/img/users/vercel.svg" width="180" /> </picture> </a> </td> <td align="center" valign="middle"> <a href="https://depot.dev/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/depot.svg" /> <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/depot_light.svg" /> <img src="https://pnpm.io/img/users/depot.svg" width="200" /> </picture> </a> </td> </tr> </tbody> </table> ### [`v7.29.2`](https://togithub.com/pnpm/pnpm/compare/v7.29.1...v7.29.2) [Compare Source](https://togithub.com/pnpm/pnpm/compare/v7.29.1...v7.29.2) ### [`v7.29.1`](https://togithub.com/pnpm/pnpm/releases/tag/v7.29.1) [Compare Source](https://togithub.com/pnpm/pnpm/compare/v7.29.0...v7.29.1) ##### Patch Changes - Settings related to authorization should be set/deleted by npm CLI [#​6181](https://togithub.com/pnpm/pnpm/issues/6181). ##### Our Gold Sponsors <table> <tbody> <tr> <td align="center" valign="middle"> <a href="https://bit.dev/?utm_source=pnpm&utm_medium=release_notes" target="_blank"><img src="https://pnpm.io/img/users/bit.svg" width="80"></a> </td> <td align="center" valign="middle"> <a href="https://novu.co/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/novu.svg" /> <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/novu_light.svg" /> <img src="https://pnpm.io/img/users/novu.svg" width="180" /> </picture> </a> </td> </tr> <tr> <td align="center" valign="middle"> <a href="https://prisma.io/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/prisma.svg" /> <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/prisma_light.svg" /> <img src="https://pnpm.io/img/users/prisma.svg" width="180" /> </picture> </a> </td> <td align="center" valign="middle"> <a href="https://www.flightcontrol.dev/?ref=pnpm" target="_blank"><img src="https://pnpm.io/img/users/flightcontrol.png" width="240"></a> </td> </tr> </tbody> </table> ##### Our Silver Sponsors <table> <tbody> <tr> <td align="center" valign="middle"> <a href="https://leniolabs.com/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <img src="https://pnpm.io/img/users/leniolabs.jpg" width="80"> </a> </td> <td align="center" valign="middle"> <a href="https://vercel.com/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/vercel.svg" /> <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/vercel_light.svg" /> <img src="https://pnpm.io/img/users/vercel.svg" width="180" /> </picture> </a> </td> <td align="center" valign="middle"> <a href="https://depot.dev/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/depot.svg" /> <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/depot_light.svg" /> <img src="https://pnpm.io/img/users/depot.svg" width="200" /> </picture> </a> </td> </tr> </tbody> </table> </details> <details> <summary>vitest-dev/vitest</summary> ### [`v0.30.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.30.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.30.0...v0.30.1) ##### 🐞 Bug Fixes - Do not rely on global `performance` and `AggregateError` - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3171](https://togithub.com/vitest-dev/vitest/issues/3171) [<samp>(cce45)</samp>](https://togithub.com/vitest-dev/vitest/commit/cce45496) - Allow workspace without a config in the root - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3173](https://togithub.com/vitest-dev/vitest/issues/3173) [<samp>(06852)</samp>](https://togithub.com/vitest-dev/vitest/commit/06852f18) - `test.each` respects `chaiConfig` - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(4f6c1)</samp>](https://togithub.com/vitest-dev/vitest/commit/4f6c1340) - Use relative paths in source map's "sources" field - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3177](https://togithub.com/vitest-dev/vitest/issues/3177) [<samp>(6b1b4)</samp>](https://togithub.com/vitest-dev/vitest/commit/6b1b4e68) - **types**: - Allow augmenting jest namespace for custom assertions - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3169](https://togithub.com/vitest-dev/vitest/issues/3169) [<samp>(905ec)</samp>](https://togithub.com/vitest-dev/vitest/commit/905ec05a) - Publish utils and snapshot .d.ts files for typescript - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3172](https://togithub.com/vitest-dev/vitest/issues/3172) [<samp>(7af64)</samp>](https://togithub.com/vitest-dev/vitest/commit/7af64444) - **snapshot**: - `toMatchFileSnapshot` ensure dir exists - by [@​antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/3155](https://togithub.com/vitest-dev/vitest/issues/3155) [<samp>(31168)</samp>](https://togithub.com/vitest-dev/vitest/commit/311682a8) - Improve `skipWriting` check - by [@​antfu](https://togithub.com/antfu) [<samp>(5436c)</samp>](https://togithub.com/vitest-dev/vitest/commit/5436c736) - Normalize EOL for `toMatchFileSnapshot` - by [@​antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/3164](https://togithub.com/vitest-dev/vitest/issues/3164) [<samp>(df3f2)</samp>](https://togithub.com/vitest-dev/vitest/commit/df3f2b50) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.30.0...v0.30.1) ### [`v0.30.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.30.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.29.8...v0.30.0) ##### 🚨 Breaking Changes - Remove tinyspy internal properties on Vitest spies - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3069](https://togithub.com/vitest-dev/vitest/issues/3069) [<samp>(2f1dc)</samp>](https://togithub.com/vitest-dev/vitest/commit/2f1dc5ce) - Only support Node.js 14.18.0 or newer - by [@​danez](https://togithub.com/danez) in [https://github.com/vitest-dev/vitest/issues/2985](https://togithub.com/vitest-dev/vitest/issues/2985) [<samp>(287dc)</samp>](https://togithub.com/vitest-dev/vitest/commit/287dc205) - Use "concordance" package to display diff instead of using custom diff - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2828](https://togithub.com/vitest-dev/vitest/issues/2828) [<samp>(44630)</samp>](https://togithub.com/vitest-dev/vitest/commit/446308da) - Move snapshot implementation into [@​vitest/snapshot](https://togithub.com/vitest/snapshot) - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3032](https://togithub.com/vitest-dev/vitest/issues/3032) [<samp>(6aff0)</samp>](https://togithub.com/vitest-dev/vitest/commit/6aff0176) - Bump coverage packages vitest peer dependency - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3126](https://togithub.com/vitest-dev/vitest/issues/3126) [<samp>(be1bf)</samp>](https://togithub.com/vitest-dev/vitest/commit/be1bf08d) - Add workspace support - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3103](https://togithub.com/vitest-dev/vitest/issues/3103) [<samp>(b9d1a)</samp>](https://togithub.com/vitest-dev/vitest/commit/b9d1a975) - Experimental optimizer introduced in 0.29.0 is temporarily disabled. ##### 🚀 Features - Gzip html reporter's metadata - by [@​7rulnik](https://togithub.com/7rulnik) in [https://github.com/vitest-dev/vitest/issues/3113](https://togithub.com/vitest-dev/vitest/issues/3113) [<samp>(7856e)</samp>](https://togithub.com/vitest-dev/vitest/commit/7856ec12) - Add chai config - by [@​btea](https://togithub.com/btea) in [https://github.com/vitest-dev/vitest/issues/3066](https://togithub.com/vitest-dev/vitest/issues/3066) [<samp>(6fcba)</samp>](https://togithub.com/vitest-dev/vitest/commit/6fcba9ba) - **snapshot**: Introduce `toMatchFileSnapshot` and auto queuing expect promise - by [@​antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/3116](https://togithub.com/vitest-dev/vitest/issues/3116) [<samp>(bdc06)</samp>](https://togithub.com/vitest-dev/vitest/commit/bdc06dcb) ##### 🐞 Bug Fixes - Resolve reporters passed down to the CLI relative to the running directory - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3097](https://togithub.com/vitest-dev/vitest/issues/3097) [<samp>(93c7e)</samp>](https://togithub.com/vitest-dev/vitest/commit/93c7e39d) - Don't show "diff" in "serialized error" section - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(326b2)</samp>](https://togithub.com/vitest-dev/vitest/commit/326b242d) - Convert '--single-thread' and '--inspect' cli args to boolean - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3111](https://togithub.com/vitest-dev/vitest/issues/3111) [<samp>(83a9a)</samp>](https://togithub.com/vitest-dev/vitest/commit/83a9aa74) - Stack trace point to incorrect file - by [@​ChenKS12138](https://togithub.com/ChenKS12138) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3004](https://togithub.com/vitest-dev/vitest/issues/3004) and [https://github.com/vitest-dev/vitest/issues/3115](https://togithub.com/vitest-dev/vitest/issues/3115) [<samp>(5cee4)</samp>](https://togithub.com/vitest-dev/vitest/commit/5cee4fbf) - Run benchmarks sequentially - by [@​thecodrr](https://togithub.com/thecodrr) in [https://github.com/vitest-dev/vitest/issues/2004](https://togithub.com/vitest-dev/vitest/issues/2004) and [https://github.com/vitest-dev/vitest/issues/3151](https://togithub.com/vitest-dev/vitest/issues/3151) [<samp>(430b4)</samp>](https://togithub.com/vitest-dev/vitest/commit/430b4ecb) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.29.8...v0.30.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. 👻 **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://app.renovatebot.com/dashboard#github/christianemmert/ts-starter). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS41Ny4wIiwidXBkYXRlZEluVmVyIjoiMzUuNTcuMCJ9--> 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) | [`^0.29.0` -> `^0.30.0`](https://renovatebot.com/diffs/npm/vitest/0.29.8/0.30.1) | [![age](https://badges.renovateapi.com/packages/npm/vitest/0.30.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/vitest/0.30.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/vitest/0.30.1/compatibility-slim/0.29.8)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/vitest/0.30.1/confidence-slim/0.29.8)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest</summary> ### [`v0.30.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.30.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.30.0...v0.30.1) ##### 🐞 Bug Fixes - Do not rely on global `performance` and `AggregateError` - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3171](https://togithub.com/vitest-dev/vitest/issues/3171) [<samp>(cce45)</samp>](https://togithub.com/vitest-dev/vitest/commit/cce45496) - Allow workspace without a config in the root - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3173](https://togithub.com/vitest-dev/vitest/issues/3173) [<samp>(06852)</samp>](https://togithub.com/vitest-dev/vitest/commit/06852f18) - `test.each` respects `chaiConfig` - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(4f6c1)</samp>](https://togithub.com/vitest-dev/vitest/commit/4f6c1340) - Use relative paths in source map's "sources" field - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3177](https://togithub.com/vitest-dev/vitest/issues/3177) [<samp>(6b1b4)</samp>](https://togithub.com/vitest-dev/vitest/commit/6b1b4e68) - **types**: - Allow augmenting jest namespace for custom assertions - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3169](https://togithub.com/vitest-dev/vitest/issues/3169) [<samp>(905ec)</samp>](https://togithub.com/vitest-dev/vitest/commit/905ec05a) - Publish utils and snapshot .d.ts files for typescript - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3172](https://togithub.com/vitest-dev/vitest/issues/3172) [<samp>(7af64)</samp>](https://togithub.com/vitest-dev/vitest/commit/7af64444) - **snapshot**: - `toMatchFileSnapshot` ensure dir exists - by [@​antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/3155](https://togithub.com/vitest-dev/vitest/issues/3155) [<samp>(31168)</samp>](https://togithub.com/vitest-dev/vitest/commit/311682a8) - Improve `skipWriting` check - by [@​antfu](https://togithub.com/antfu) [<samp>(5436c)</samp>](https://togithub.com/vitest-dev/vitest/commit/5436c736) - Normalize EOL for `toMatchFileSnapshot` - by [@​antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/3164](https://togithub.com/vitest-dev/vitest/issues/3164) [<samp>(df3f2)</samp>](https://togithub.com/vitest-dev/vitest/commit/df3f2b50) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.30.0...v0.30.1) ### [`v0.30.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.30.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.29.8...v0.30.0) ##### 🚨 Breaking Changes - Remove tinyspy internal properties on Vitest spies - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3069](https://togithub.com/vitest-dev/vitest/issues/3069) [<samp>(2f1dc)</samp>](https://togithub.com/vitest-dev/vitest/commit/2f1dc5ce) - Only support Node.js 14.18.0 or newer - by [@​danez](https://togithub.com/danez) in [https://github.com/vitest-dev/vitest/issues/2985](https://togithub.com/vitest-dev/vitest/issues/2985) [<samp>(287dc)</samp>](https://togithub.com/vitest-dev/vitest/commit/287dc205) - Use "concordance" package to display diff instead of using custom diff - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2828](https://togithub.com/vitest-dev/vitest/issues/2828) [<samp>(44630)</samp>](https://togithub.com/vitest-dev/vitest/commit/446308da) - Move snapshot implementation into [@​vitest/snapshot](https://togithub.com/vitest/snapshot) - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3032](https://togithub.com/vitest-dev/vitest/issues/3032) [<samp>(6aff0)</samp>](https://togithub.com/vitest-dev/vitest/commit/6aff0176) - Bump coverage packages vitest peer dependency - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3126](https://togithub.com/vitest-dev/vitest/issues/3126) [<samp>(be1bf)</samp>](https://togithub.com/vitest-dev/vitest/commit/be1bf08d) - Add workspace support - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3103](https://togithub.com/vitest-dev/vitest/issues/3103) [<samp>(b9d1a)</samp>](https://togithub.com/vitest-dev/vitest/commit/b9d1a975) - Experimental optimizer introduced in 0.29.0 is temporarily disabled. ##### 🚀 Features - Gzip html reporter's metadata - by [@​7rulnik](https://togithub.com/7rulnik) in [https://github.com/vitest-dev/vitest/issues/3113](https://togithub.com/vitest-dev/vitest/issues/3113) [<samp>(7856e)</samp>](https://togithub.com/vitest-dev/vitest/commit/7856ec12) - Add chai config - by [@​btea](https://togithub.com/btea) in [https://github.com/vitest-dev/vitest/issues/3066](https://togithub.com/vitest-dev/vitest/issues/3066) [<samp>(6fcba)</samp>](https://togithub.com/vitest-dev/vitest/commit/6fcba9ba) - **snapshot**: Introduce `toMatchFileSnapshot` and auto queuing expect promise - by [@​antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/3116](https://togithub.com/vitest-dev/vitest/issues/3116) [<samp>(bdc06)</samp>](https://togithub.com/vitest-dev/vitest/commit/bdc06dcb) ##### 🐞 Bug Fixes - Resolve reporters passed down to the CLI relative to the running directory - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3097](https://togithub.com/vitest-dev/vitest/issues/3097) [<samp>(93c7e)</samp>](https://togithub.com/vitest-dev/vitest/commit/93c7e39d) - Don't show "diff" in "serialized error" section - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(326b2)</samp>](https://togithub.com/vitest-dev/vitest/commit/326b242d) - Convert '--single-thread' and '--inspect' cli args to boolean - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3111](https://togithub.com/vitest-dev/vitest/issues/3111) [<samp>(83a9a)</samp>](https://togithub.com/vitest-dev/vitest/commit/83a9aa74) - Stack trace point to incorrect file - by [@​ChenKS12138](https://togithub.com/ChenKS12138) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3004](https://togithub.com/vitest-dev/vitest/issues/3004) and [https://github.com/vitest-dev/vitest/issues/3115](https://togithub.com/vitest-dev/vitest/issues/3115) [<samp>(5cee4)</samp>](https://togithub.com/vitest-dev/vitest/commit/5cee4fbf) - Run benchmarks sequentially - by [@​thecodrr](https://togithub.com/thecodrr) in [https://github.com/vitest-dev/vitest/issues/2004](https://togithub.com/vitest-dev/vitest/issues/2004) and [https://github.com/vitest-dev/vitest/issues/3151](https://togithub.com/vitest-dev/vitest/issues/3151) [<samp>(430b4)</samp>](https://togithub.com/vitest-dev/vitest/commit/430b4ecb) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.29.8...v0.30.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://app.renovatebot.com/dashboard#github/JoshuaKGoldberg/template-typescript-node-package). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS40MC4wIiwidXBkYXRlZEluVmVyIjoiMzUuNDAuMCJ9--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Josh Goldberg <[email protected]>
[![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) | [`0.28.5` -> `0.30.1`](https://renovatebot.com/diffs/npm/vitest/0.28.5/0.30.1) | [![age](https://badges.renovateapi.com/packages/npm/vitest/0.30.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/vitest/0.30.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/vitest/0.30.1/compatibility-slim/0.28.5)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/vitest/0.30.1/confidence-slim/0.28.5)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest</summary> ### [`v0.30.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.30.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.30.0...v0.30.1) ##### 🐞 Bug Fixes - Do not rely on global `performance` and `AggregateError` - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3171](https://togithub.com/vitest-dev/vitest/issues/3171) [<samp>(cce45)</samp>](https://togithub.com/vitest-dev/vitest/commit/cce45496) - Allow workspace without a config in the root - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3173](https://togithub.com/vitest-dev/vitest/issues/3173) [<samp>(06852)</samp>](https://togithub.com/vitest-dev/vitest/commit/06852f18) - `test.each` respects `chaiConfig` - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(4f6c1)</samp>](https://togithub.com/vitest-dev/vitest/commit/4f6c1340) - Use relative paths in source map's "sources" field - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3177](https://togithub.com/vitest-dev/vitest/issues/3177) [<samp>(6b1b4)</samp>](https://togithub.com/vitest-dev/vitest/commit/6b1b4e68) - **types**: - Allow augmenting jest namespace for custom assertions - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3169](https://togithub.com/vitest-dev/vitest/issues/3169) [<samp>(905ec)</samp>](https://togithub.com/vitest-dev/vitest/commit/905ec05a) - Publish utils and snapshot .d.ts files for typescript - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3172](https://togithub.com/vitest-dev/vitest/issues/3172) [<samp>(7af64)</samp>](https://togithub.com/vitest-dev/vitest/commit/7af64444) - **snapshot**: - `toMatchFileSnapshot` ensure dir exists - by [@​antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/3155](https://togithub.com/vitest-dev/vitest/issues/3155) [<samp>(31168)</samp>](https://togithub.com/vitest-dev/vitest/commit/311682a8) - Improve `skipWriting` check - by [@​antfu](https://togithub.com/antfu) [<samp>(5436c)</samp>](https://togithub.com/vitest-dev/vitest/commit/5436c736) - Normalize EOL for `toMatchFileSnapshot` - by [@​antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/3164](https://togithub.com/vitest-dev/vitest/issues/3164) [<samp>(df3f2)</samp>](https://togithub.com/vitest-dev/vitest/commit/df3f2b50) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.30.0...v0.30.1) ### [`v0.30.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.30.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.29.8...v0.30.0) ##### 🚨 Breaking Changes - Remove tinyspy internal properties on Vitest spies - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3069](https://togithub.com/vitest-dev/vitest/issues/3069) [<samp>(2f1dc)</samp>](https://togithub.com/vitest-dev/vitest/commit/2f1dc5ce) - Only support Node.js 14.18.0 or newer - by [@​danez](https://togithub.com/danez) in [https://github.com/vitest-dev/vitest/issues/2985](https://togithub.com/vitest-dev/vitest/issues/2985) [<samp>(287dc)</samp>](https://togithub.com/vitest-dev/vitest/commit/287dc205) - Use "concordance" package to display diff instead of using custom diff - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2828](https://togithub.com/vitest-dev/vitest/issues/2828) [<samp>(44630)</samp>](https://togithub.com/vitest-dev/vitest/commit/446308da) - Move snapshot implementation into [@​vitest/snapshot](https://togithub.com/vitest/snapshot) - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3032](https://togithub.com/vitest-dev/vitest/issues/3032) [<samp>(6aff0)</samp>](https://togithub.com/vitest-dev/vitest/commit/6aff0176) - Bump coverage packages vitest peer dependency - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3126](https://togithub.com/vitest-dev/vitest/issues/3126) [<samp>(be1bf)</samp>](https://togithub.com/vitest-dev/vitest/commit/be1bf08d) - Add workspace support - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3103](https://togithub.com/vitest-dev/vitest/issues/3103) [<samp>(b9d1a)</samp>](https://togithub.com/vitest-dev/vitest/commit/b9d1a975) - Experimental optimizer introduced in 0.29.0 is temporarily disabled. ##### 🚀 Features - Gzip html reporter's metadata - by [@​7rulnik](https://togithub.com/7rulnik) in [https://github.com/vitest-dev/vitest/issues/3113](https://togithub.com/vitest-dev/vitest/issues/3113) [<samp>(7856e)</samp>](https://togithub.com/vitest-dev/vitest/commit/7856ec12) - Add chai config - by [@​btea](https://togithub.com/btea) in [https://github.com/vitest-dev/vitest/issues/3066](https://togithub.com/vitest-dev/vitest/issues/3066) [<samp>(6fcba)</samp>](https://togithub.com/vitest-dev/vitest/commit/6fcba9ba) - **snapshot**: Introduce `toMatchFileSnapshot` and auto queuing expect promise - by [@​antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/3116](https://togithub.com/vitest-dev/vitest/issues/3116) [<samp>(bdc06)</samp>](https://togithub.com/vitest-dev/vitest/commit/bdc06dcb) ##### 🐞 Bug Fixes - Resolve reporters passed down to the CLI relative to the running directory - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3097](https://togithub.com/vitest-dev/vitest/issues/3097) [<samp>(93c7e)</samp>](https://togithub.com/vitest-dev/vitest/commit/93c7e39d) - Don't show "diff" in "serialized error" section - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(326b2)</samp>](https://togithub.com/vitest-dev/vitest/commit/326b242d) - Convert '--single-thread' and '--inspect' cli args to boolean - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3111](https://togithub.com/vitest-dev/vitest/issues/3111) [<samp>(83a9a)</samp>](https://togithub.com/vitest-dev/vitest/commit/83a9aa74) - Stack trace point to incorrect file - by [@​ChenKS12138](https://togithub.com/ChenKS12138) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3004](https://togithub.com/vitest-dev/vitest/issues/3004) and [https://github.com/vitest-dev/vitest/issues/3115](https://togithub.com/vitest-dev/vitest/issues/3115) [<samp>(5cee4)</samp>](https://togithub.com/vitest-dev/vitest/commit/5cee4fbf) - Run benchmarks sequentially - by [@​thecodrr](https://togithub.com/thecodrr) in [https://github.com/vitest-dev/vitest/issues/2004](https://togithub.com/vitest-dev/vitest/issues/2004) and [https://github.com/vitest-dev/vitest/issues/3151](https://togithub.com/vitest-dev/vitest/issues/3151) [<samp>(430b4)</samp>](https://togithub.com/vitest-dev/vitest/commit/430b4ecb) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.29.8...v0.30.0) ### [`v0.29.8`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.29.8) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.29.7...v0.29.8) ##### 🚀 Features - Allow accessing "vi" methods without context, don't fail when mocker is not available - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3047](https://togithub.com/vitest-dev/vitest/issues/3047) [<samp>(1531c)</samp>](https://togithub.com/vitest-dev/vitest/commit/1531c420) - Show browser console in the terminal - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3048](https://togithub.com/vitest-dev/vitest/issues/3048) [<samp>(ee6f5)</samp>](https://togithub.com/vitest-dev/vitest/commit/ee6f590d) - Playwright as browser provider - by [@​Aslemammad](https://togithub.com/Aslemammad) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3079](https://togithub.com/vitest-dev/vitest/issues/3079) [<samp>(9dc69)</samp>](https://togithub.com/vitest-dev/vitest/commit/9dc69293) - Implement `istanbul` coverage support for browser testing - by [@​sheremet-va](https://togithub.com/sheremet-va) and [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3040](https://togithub.com/vitest-dev/vitest/issues/3040) [<samp>(0f44d)</samp>](https://togithub.com/vitest-dev/vitest/commit/0f44d2c8) ##### 🐞 Bug Fixes - Add generic to expect.objectContaining type - by [@​ArtyMaury](https://togithub.com/ArtyMaury) in [https://github.com/vitest-dev/vitest/issues/3053](https://togithub.com/vitest-dev/vitest/issues/3053) [<samp>(69d2c)</samp>](https://togithub.com/vitest-dev/vitest/commit/69d2cc93) - Do not fail, when primitive error is thrown - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3074](https://togithub.com/vitest-dev/vitest/issues/3074) [<samp>(6efe6)</samp>](https://togithub.com/vitest-dev/vitest/commit/6efe61ab) - Handle cloning proxied classes w/ enumerable getters - by [@​tgriesser](https://togithub.com/tgriesser) in [https://github.com/vitest-dev/vitest/issues/3026](https://togithub.com/vitest-dev/vitest/issues/3026) [<samp>(196a0)</samp>](https://togithub.com/vitest-dev/vitest/commit/196a067a) - Spy on popup apis like alert - by [@​Aslemammad](https://togithub.com/Aslemammad) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3076](https://togithub.com/vitest-dev/vitest/issues/3076) [<samp>(280ad)</samp>](https://togithub.com/vitest-dev/vitest/commit/280ad1ed) - Report coverage even when no tests found - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3091](https://togithub.com/vitest-dev/vitest/issues/3091) [<samp>(2cb91)</samp>](https://togithub.com/vitest-dev/vitest/commit/2cb91211) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.29.7...v0.29.8) ### [`v0.29.7`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.29.7) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.29.6...v0.29.7) ##### 🐞 Bug Fixes - Import [@​vite/client](https://togithub.com/vite/client) in browser code for handling optimizer - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(20c51)</samp>](https://togithub.com/vitest-dev/vitest/commit/20c510c4) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.29.6...v0.29.7) ### [`v0.29.6`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.29.6) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.29.5...v0.29.6) ##### 🐞 Bug Fixes - Bundle UI with [@​vitest/browser](https://togithub.com/vitest/browser) - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(14091)</samp>](https://togithub.com/vitest-dev/vitest/commit/14091c59) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.29.5...v0.29.6) ### [`v0.29.5`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.29.5) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.29.4...v0.29.5) ##### 🐞 Bug Fixes - **browser**: Relax vitest peer dependency - by [@​cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vitest-dev/vitest/issues/3039](https://togithub.com/vitest-dev/vitest/issues/3039) [<samp>(865d1)</samp>](https://togithub.com/vitest-dev/vitest/commit/865d1afd) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.29.4...v0.29.5) ### [`v0.29.4`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.29.4) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.29.3...v0.29.4) ##### 🚀 Features - `--test-timeout` CLI argument - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3019](https://togithub.com/vitest-dev/vitest/issues/3019) [<samp>(63c62)</samp>](https://togithub.com/vitest-dev/vitest/commit/63c62f9e) - Add an option to control Vitest pool with filepath - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3029](https://togithub.com/vitest-dev/vitest/issues/3029) [<samp>(c7f0c)</samp>](https://togithub.com/vitest-dev/vitest/commit/c7f0c86b) - Process timeout to log names of stuck test files - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3031](https://togithub.com/vitest-dev/vitest/issues/3031) [<samp>(0ddf7)</samp>](https://togithub.com/vitest-dev/vitest/commit/0ddf7220) - Support relative path in html report - by [@​poyoho](https://togithub.com/poyoho) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2695](https://togithub.com/vitest-dev/vitest/issues/2695) [<samp>(a7680)</samp>](https://togithub.com/vitest-dev/vitest/commit/a768015e) - Webdriverio (+ custom providers) integration for browser mode - by [@​Aslemammad](https://togithub.com/Aslemammad), **Christian Bromann**, [@​sheremet-va](https://togithub.com/sheremet-va), [@​userquin](https://togithub.com/userquin) and [@​dammy001](https://togithub.com/dammy001) in [https://github.com/vitest-dev/vitest/issues/2999](https://togithub.com/vitest-dev/vitest/issues/2999) [<samp>(9cdc8)</samp>](https://togithub.com/vitest-dev/vitest/commit/9cdc8030) ##### 🐞 Bug Fixes - Show correct line numbers in stack trace when using vi.resetModules() - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3020](https://togithub.com/vitest-dev/vitest/issues/3020) [<samp>(35730)</samp>](https://togithub.com/vitest-dev/vitest/commit/35730328) - Mocking value proxy filter Symbol static properties - by [@​ChpShy](https://togithub.com/ChpShy) in [https://github.com/vitest-dev/vitest/issues/3036](https://togithub.com/vitest-dev/vitest/issues/3036) [<samp>(0cf44)</samp>](https://togithub.com/vitest-dev/vitest/commit/0cf44098) - Escape XML in error stack trace when using junit reporter - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3038](https://togithub.com/vitest-dev/vitest/issues/3038) [<samp>(cc577)</samp>](https://togithub.com/vitest-dev/vitest/commit/cc5779d6) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.29.3...v0.29.4) ### [`v0.29.3`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.29.3) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.29.2...v0.29.3) ##### 🚀 Features - Use custom colors implementation instead of picocolors - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(427b0)</samp>](https://togithub.com/vitest-dev/vitest/commit/427b0622) - Uncaught errors to indicate env teardown - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2982](https://togithub.com/vitest-dev/vitest/issues/2982) [<samp>(1fe82)</samp>](https://togithub.com/vitest-dev/vitest/commit/1fe8286c) - **config**: Add an option to run setupFiles in sequence - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3008](https://togithub.com/vitest-dev/vitest/issues/3008) [<samp>(c2e25)</samp>](https://togithub.com/vitest-dev/vitest/commit/c2e25bb9) ##### 🐞 Bug Fixes - Console log not visible - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2943](https://togithub.com/vitest-dev/vitest/issues/2943) [<samp>(02808)</samp>](https://togithub.com/vitest-dev/vitest/commit/0280825f) - Remove duplicate execArgv when deps.registerNodeLoader: true - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2965](https://togithub.com/vitest-dev/vitest/issues/2965) [<samp>(a1954)</samp>](https://togithub.com/vitest-dev/vitest/commit/a1954cc0) - Prevent running test cases timers after environment teardown - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2971](https://togithub.com/vitest-dev/vitest/issues/2971) [<samp>(bde75)</samp>](https://togithub.com/vitest-dev/vitest/commit/bde75a34) - Don't mark setupFiles as test files, if experimentaOptimizer is used - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2974](https://togithub.com/vitest-dev/vitest/issues/2974) [<samp>(819c6)</samp>](https://togithub.com/vitest-dev/vitest/commit/819c6cbe) - Config errors not visible - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2995](https://togithub.com/vitest-dev/vitest/issues/2995) [<samp>(f01c7)</samp>](https://togithub.com/vitest-dev/vitest/commit/f01c7833) - \--inspect to work inside workers - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2983](https://togithub.com/vitest-dev/vitest/issues/2983) [<samp>(36087)</samp>](https://togithub.com/vitest-dev/vitest/commit/36087d1e) - **types**: Use `any` as default value for TArgs in vi.fn() - by [@​jessevanassen](https://togithub.com/jessevanassen) in [https://github.com/vitest-dev/vitest/issues/2947](https://togithub.com/vitest-dev/vitest/issues/2947) [<samp>(1bdcc)</samp>](https://togithub.com/vitest-dev/vitest/commit/1bdcc212) ##### 🏎 Performance - **reporters**: Overall improvements - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3006](https://togithub.com/vitest-dev/vitest/issues/3006) [<samp>(22ca0)</samp>](https://togithub.com/vitest-dev/vitest/commit/22ca0b6b) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.29.2...v0.29.3) ### [`v0.29.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.29.2) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.29.1...v0.29.2) ##### 🐞 Bug Fixes - Optimize dependencies in setup files - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2935](https://togithub.com/vitest-dev/vitest/issues/2935) [<samp>(c169f)</samp>](https://togithub.com/vitest-dev/vitest/commit/c169f980) - **coverage**: C8 provider to work when isolate:false - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2929](https://togithub.com/vitest-dev/vitest/issues/2929) [<samp>(86538)</samp>](https://togithub.com/vitest-dev/vitest/commit/8653830b) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.29.1...v0.29.2) ### [`v0.29.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.29.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.29.0...v0.29.1) ##### 🐞 Bug Fixes - Wait for optimized dependency to be bundled in non-pnpm package managers - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(d2460)</samp>](https://togithub.com/vitest-dev/vitest/commit/d2460b7a) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.29.0...v0.29.1) ### [`v0.29.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.29.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.28.5...v0.29.0) This release makes some significant changes to how tests are running. If you were using `--no-threads` before, you might consider enabling `--single-thread` instead (because your tests are now running in `child_process` instead of a worker thread) or try our new performance optimization feature (discussed later). If you were relying on API that was not available inside a worker (like `process.chdir()`, you can now use this option. One of the potential breaking bug fixes is that environments do not share the same global scope anymore if you run them with `--no-isolate`, `--no-threads` or `--single-thread` - you might need to update your setup files if you were relying on a global variable before. If you had performance issues on large code bases before, try the new [`deps.experimentalOptimizer`](https://vitest.dev/config/#deps-experimentaloptimizer) option instead of disabling threads. Feedback is welcome! One of the breaking changes includes adding a link to snapshots inside snapshot files, meaning you will need to update all your snapshots. ##### 🚨 Breaking Changes - Vitest as peer dependency for coverage packages - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2836](https://togithub.com/vitest-dev/vitest/issues/2836) [<samp>(94247)</samp>](https://togithub.com/vitest-dev/vitest/commit/94247f1b) - Coverage-c8 to use V8 profiler directly instead of `NODE_V8_COVERAGE` - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2786](https://togithub.com/vitest-dev/vitest/issues/2786) [<samp>(095c6)</samp>](https://togithub.com/vitest-dev/vitest/commit/095c6390) - Add a link to the comment at the top of the snapshot file - by [@​btea](https://togithub.com/btea) in [https://github.com/vitest-dev/vitest/issues/2867](https://togithub.com/vitest-dev/vitest/issues/2867) [<samp>(615e1)</samp>](https://togithub.com/vitest-dev/vitest/commit/615e150b) - Always run separate environments in isolation - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2860](https://togithub.com/vitest-dev/vitest/issues/2860) [<samp>(1f858)</samp>](https://togithub.com/vitest-dev/vitest/commit/1f858e0c) - Tests with `node` and `jsdom` (and other environments) now don't share the same global scope, if you run them with `--no-isolate` or `--no-threads` flag. Vitest doesn't provide a way to restore the previous behavior as it is considered a bug. - Use child_process when --no-threads is used - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2772](https://togithub.com/vitest-dev/vitest/issues/2772) [<samp>(7bf54)</samp>](https://togithub.com/vitest-dev/vitest/commit/7bf54505) - Tests inside `chid_process` might run longer due to the communication overhead. If you want to restore the previous behavior, use `--single-thread`. ##### 🚀 Features - Add test seed to banner - by [@​btkostner](https://togithub.com/btkostner) in [https://github.com/vitest-dev/vitest/issues/2877](https://togithub.com/vitest-dev/vitest/issues/2877) [<samp>(bdb39)</samp>](https://togithub.com/vitest-dev/vitest/commit/bdb39569) - Use custom source-map-support implementation - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2905](https://togithub.com/vitest-dev/vitest/issues/2905) [<samp>(6ff6c)</samp>](https://togithub.com/vitest-dev/vitest/commit/6ff6c6eb) - Add an option to enable Vite optimizer - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2912](https://togithub.com/vitest-dev/vitest/issues/2912) [<samp>(af8de)</samp>](https://togithub.com/vitest-dev/vitest/commit/af8de362) - **coverage**: - Add support for coverage reporter options - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2690](https://togithub.com/vitest-dev/vitest/issues/2690) [<samp>(f8176)</samp>](https://togithub.com/vitest-dev/vitest/commit/f8176182) - Automatic threshold updating - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2886](https://togithub.com/vitest-dev/vitest/issues/2886) [<samp>(e1652)</samp>](https://togithub.com/vitest-dev/vitest/commit/e1652163) - **spy**: - Implement mock.withImplementation API - by [@​obadakhalili](https://togithub.com/obadakhalili) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2835](https://togithub.com/vitest-dev/vitest/issues/2835) [<samp>(610b1)</samp>](https://togithub.com/vitest-dev/vitest/commit/610b1d46) - **vite-node**: - Cli option for vite mode - by [@​abarke](https://togithub.com/abarke) in [https://github.com/vitest-dev/vitest/issues/2893](https://togithub.com/vitest-dev/vitest/issues/2893) [<samp>(0fc08)</samp>](https://togithub.com/vitest-dev/vitest/commit/0fc08032) ##### 🐞 Bug Fixes - Wait for console.log to print a message before terminating a worker - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2861](https://togithub.com/vitest-dev/vitest/issues/2861) [<samp>(fbc54)</samp>](https://togithub.com/vitest-dev/vitest/commit/fbc54c91) - Cleanup last mocked cache when call vi.doMock - by [@​mysteryven](https://togithub.com/mysteryven) in [https://github.com/vitest-dev/vitest/issues/2872](https://togithub.com/vitest-dev/vitest/issues/2872) [<samp>(65d71)</samp>](https://togithub.com/vitest-dev/vitest/commit/65d71b9e) - Reload changed configuration file on watch mode - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2889](https://togithub.com/vitest-dev/vitest/issues/2889) [<samp>(4d277)</samp>](https://togithub.com/vitest-dev/vitest/commit/4d277d8d) - **coverage**: Custom providers to work inside worker threads - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2817](https://togithub.com/vitest-dev/vitest/issues/2817) [<samp>(81604)</samp>](https://togithub.com/vitest-dev/vitest/commit/81604bce) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.28.5...v0.29.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://app.renovatebot.com/dashboard#github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS43MS4wIiwidXBkYXRlZEluVmVyIjoiMzUuNzEuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> 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) | [`^0.28.5` -> `^0.31.0`](https://renovatebot.com/diffs/npm/vitest/0.28.5/0.31.0) | [![age](https://badges.renovateapi.com/packages/npm/vitest/0.31.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/vitest/0.31.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/vitest/0.31.0/compatibility-slim/0.28.5)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/vitest/0.31.0/confidence-slim/0.28.5)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest</summary> ### [`v0.31.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.31.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.30.1...v0.31.0) ##### 🚨 Breaking Changes - Remove `browser` from allowed pools inside `poolMatchGlob` config option. Please, use Vitest workspaces for running tests in the browser. - Move assertion declarations to expect package - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3294](https://togithub.com/vitest-dev/vitest/issues/3294) [<samp>(cf3af)</samp>](https://togithub.com/vitest-dev/vitest/commit/cf3afe2b) - The change should be minor: ```diff - declare namespace Vi { + declare module 'vitest' { interface Assertion<T = any> extends CustomMatchers<T> {} interface AsymmetricMatchersContaining extends CustomMatchers {} } ``` ##### 🚀 Features - Update mock implementation to support ESM runtime, introduce "vi.hoisted" - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3258](https://togithub.com/vitest-dev/vitest/issues/3258) [<samp>(0c09a)</samp>](https://togithub.com/vitest-dev/vitest/commit/0c09a40d) - Bypass ESM import order restriction with `vi.hoisted` to run code before imports are executed: ```ts vi.hoisted(() => vi.setSystemTime(new Date(2022, 1, 1))) ``` You can also use it to pass variables to `vi.mock`: ```ts const { mockedMethod } = vi.hoisted(() => { return { mockedMethod: vi.fn() } }) vi.mock('./path/to/module.js', () => { return { originalMethod: mockedMethod } }) ``` - Add repeat method to tests - by [@​samkevin1](https://togithub.com/samkevin1) in [https://github.com/vitest-dev/vitest/issues/2652](https://togithub.com/vitest-dev/vitest/issues/2652) [<samp>(7c8f0)</samp>](https://togithub.com/vitest-dev/vitest/commit/7c8f0ba9) - Add an option to hide skipped test lines - by [@​g4rry420](https://togithub.com/g4rry420) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2745](https://togithub.com/vitest-dev/vitest/issues/2745) [<samp>(9bdb1)</samp>](https://togithub.com/vitest-dev/vitest/commit/9bdb1603) - **coverage**: Watermarks for c8 - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3254](https://togithub.com/vitest-dev/vitest/issues/3254) [<samp>(730af)</samp>](https://togithub.com/vitest-dev/vitest/commit/730af0b4) - **ui**: Add html coverage - by [@​userquin](https://togithub.com/userquin) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3071](https://togithub.com/vitest-dev/vitest/issues/3071) [<samp>(e24cd)</samp>](https://togithub.com/vitest-dev/vitest/commit/e24cd9b2) - **watch**: Test run cancelling, feat: `--bail` option for cancelling test run - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3163](https://togithub.com/vitest-dev/vitest/issues/3163) [<samp>(8d460)</samp>](https://togithub.com/vitest-dev/vitest/commit/8d4606eb) ##### 🐞 Bug Fixes - Don't call global setup teardown twice - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3188](https://togithub.com/vitest-dev/vitest/issues/3188) [<samp>(ba3d1)</samp>](https://togithub.com/vitest-dev/vitest/commit/ba3d1338) - Reporter to log version before provider initalizations - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3131](https://togithub.com/vitest-dev/vitest/issues/3131) [<samp>(481b1)</samp>](https://togithub.com/vitest-dev/vitest/commit/481b1fd2) - Throw an error if Vitest cannot access its internal state - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3250](https://togithub.com/vitest-dev/vitest/issues/3250) [<samp>(fbb14)</samp>](https://togithub.com/vitest-dev/vitest/commit/fbb1468e) - Warning suppression broken - by [@​IceQub3](https://togithub.com/IceQub3) in [https://github.com/vitest-dev/vitest/issues/3270](https://togithub.com/vitest-dev/vitest/issues/3270) and [https://github.com/vitest-dev/vitest/issues/3271](https://togithub.com/vitest-dev/vitest/issues/3271) [<samp>(036de)</samp>](https://togithub.com/vitest-dev/vitest/commit/036de797) - Show correct diff in "toHaveBeenCalledWith" - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3289](https://togithub.com/vitest-dev/vitest/issues/3289) [<samp>(19fcd)</samp>](https://togithub.com/vitest-dev/vitest/commit/19fcd8df) - Don't print esm warning, if package name is not found - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3292](https://togithub.com/vitest-dev/vitest/issues/3292) [<samp>(62c14)</samp>](https://togithub.com/vitest-dev/vitest/commit/62c14cba) - Support exactOptionalPropertyTypes - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3293](https://togithub.com/vitest-dev/vitest/issues/3293) [<samp>(ba81d)</samp>](https://togithub.com/vitest-dev/vitest/commit/ba81d8a3) - Don't inline vite hmr and rollup types - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3291](https://togithub.com/vitest-dev/vitest/issues/3291) [<samp>(1f118)</samp>](https://togithub.com/vitest-dev/vitest/commit/1f1189bc) - **browser**: - Failing to load vitest/utils - by [@​userquin](https://togithub.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3190](https://togithub.com/vitest-dev/vitest/issues/3190) [<samp>(78bad)</samp>](https://togithub.com/vitest-dev/vitest/commit/78bad4ab) - **coverage**: - `thresholdAutoUpdate` to work with `perFile` - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3182](https://togithub.com/vitest-dev/vitest/issues/3182) [<samp>(29eeb)</samp>](https://togithub.com/vitest-dev/vitest/commit/29eebf65) - Throw error if fail to load built-in provider - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3217](https://togithub.com/vitest-dev/vitest/issues/3217) [<samp>(0a287)</samp>](https://togithub.com/vitest-dev/vitest/commit/0a2875e3) - Stackblitz hangs with c8 - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3225](https://togithub.com/vitest-dev/vitest/issues/3225) [<samp>(d9fda)</samp>](https://togithub.com/vitest-dev/vitest/commit/d9fda2a1) - C8 to ignore vite's generated helpers - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3241](https://togithub.com/vitest-dev/vitest/issues/3241) [<samp>(21942)</samp>](https://togithub.com/vitest-dev/vitest/commit/21942db0) - Workspaces c8 source maps - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3226](https://togithub.com/vitest-dev/vitest/issues/3226) [<samp>(efce3)</samp>](https://togithub.com/vitest-dev/vitest/commit/efce3b4d) - **docs**: - Correct typo and broken link to WebdriverIO - by [@​nathanbabcock](https://togithub.com/nathanbabcock) in [https://github.com/vitest-dev/vitest/issues/3275](https://togithub.com/vitest-dev/vitest/issues/3275) [<samp>(c7da1)</samp>](https://togithub.com/vitest-dev/vitest/commit/c7da155f) - **spy**: - Update to set initial implementation through normal logic - by [@​Codex-](https://togithub.com/Codex-) in [https://github.com/vitest-dev/vitest/issues/3260](https://togithub.com/vitest-dev/vitest/issues/3260) and [https://github.com/vitest-dev/vitest/issues/3263](https://togithub.com/vitest-dev/vitest/issues/3263) [<samp>(c759a)</samp>](https://togithub.com/vitest-dev/vitest/commit/c759a9aa) - **vite-node**: - Circular imports - by [@​antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/3196](https://togithub.com/vitest-dev/vitest/issues/3196) [<samp>(cbb59)</samp>](https://togithub.com/vitest-dev/vitest/commit/cbb593a8) - Add missing `import.meta.hot.send` mock - by [@​antfu](https://togithub.com/antfu) [<samp>(b1624)</samp>](https://togithub.com/vitest-dev/vitest/commit/b1624db5) - **vitest**: - Also check for vite relative to vitest package - by [@​JoshuaKGoldberg](https://togithub.com/JoshuaKGoldberg) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3274](https://togithub.com/vitest-dev/vitest/issues/3274) [<samp>(a3393)</samp>](https://togithub.com/vitest-dev/vitest/commit/a3393b15) - **watch**: - Run test files when added to filesystem - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3189](https://togithub.com/vitest-dev/vitest/issues/3189) [<samp>(7b2c8)</samp>](https://togithub.com/vitest-dev/vitest/commit/7b2c81bc) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.30.1...v0.31.0) ### [`v0.30.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.30.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.30.0...v0.30.1) ##### 🐞 Bug Fixes - Do not rely on global `performance` and `AggregateError` - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3171](https://togithub.com/vitest-dev/vitest/issues/3171) [<samp>(cce45)</samp>](https://togithub.com/vitest-dev/vitest/commit/cce45496) - Allow workspace without a config in the root - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3173](https://togithub.com/vitest-dev/vitest/issues/3173) [<samp>(06852)</samp>](https://togithub.com/vitest-dev/vitest/commit/06852f18) - `test.each` respects `chaiConfig` - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(4f6c1)</samp>](https://togithub.com/vitest-dev/vitest/commit/4f6c1340) - Use relative paths in source map's "sources" field - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3177](https://togithub.com/vitest-dev/vitest/issues/3177) [<samp>(6b1b4)</samp>](https://togithub.com/vitest-dev/vitest/commit/6b1b4e68) - **types**: - Allow augmenting jest namespace for custom assertions - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3169](https://togithub.com/vitest-dev/vitest/issues/3169) [<samp>(905ec)</samp>](https://togithub.com/vitest-dev/vitest/commit/905ec05a) - Publish utils and snapshot .d.ts files for typescript - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3172](https://togithub.com/vitest-dev/vitest/issues/3172) [<samp>(7af64)</samp>](https://togithub.com/vitest-dev/vitest/commit/7af64444) - **snapshot**: - `toMatchFileSnapshot` ensure dir exists - by [@​antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/3155](https://togithub.com/vitest-dev/vitest/issues/3155) [<samp>(31168)</samp>](https://togithub.com/vitest-dev/vitest/commit/311682a8) - Improve `skipWriting` check - by [@​antfu](https://togithub.com/antfu) [<samp>(5436c)</samp>](https://togithub.com/vitest-dev/vitest/commit/5436c736) - Normalize EOL for `toMatchFileSnapshot` - by [@​antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/3164](https://togithub.com/vitest-dev/vitest/issues/3164) [<samp>(df3f2)</samp>](https://togithub.com/vitest-dev/vitest/commit/df3f2b50) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.30.0...v0.30.1) ### [`v0.30.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.30.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.29.8...v0.30.0) ##### 🚨 Breaking Changes - Remove tinyspy internal properties on Vitest spies - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3069](https://togithub.com/vitest-dev/vitest/issues/3069) [<samp>(2f1dc)</samp>](https://togithub.com/vitest-dev/vitest/commit/2f1dc5ce) - Only support Node.js 14.18.0 or newer - by [@​danez](https://togithub.com/danez) in [https://github.com/vitest-dev/vitest/issues/2985](https://togithub.com/vitest-dev/vitest/issues/2985) [<samp>(287dc)</samp>](https://togithub.com/vitest-dev/vitest/commit/287dc205) - Use "concordance" package to display diff instead of using custom diff - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2828](https://togithub.com/vitest-dev/vitest/issues/2828) [<samp>(44630)</samp>](https://togithub.com/vitest-dev/vitest/commit/446308da) - Move snapshot implementation into [@​vitest/snapshot](https://togithub.com/vitest/snapshot) - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3032](https://togithub.com/vitest-dev/vitest/issues/3032) [<samp>(6aff0)</samp>](https://togithub.com/vitest-dev/vitest/commit/6aff0176) - Bump coverage packages vitest peer dependency - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3126](https://togithub.com/vitest-dev/vitest/issues/3126) [<samp>(be1bf)</samp>](https://togithub.com/vitest-dev/vitest/commit/be1bf08d) - Add workspace support - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3103](https://togithub.com/vitest-dev/vitest/issues/3103) [<samp>(b9d1a)</samp>](https://togithub.com/vitest-dev/vitest/commit/b9d1a975) - Experimental optimizer introduced in 0.29.0 is temporarily disabled. ##### 🚀 Features - Gzip html reporter's metadata - by [@​7rulnik](https://togithub.com/7rulnik) in [https://github.com/vitest-dev/vitest/issues/3113](https://togithub.com/vitest-dev/vitest/issues/3113) [<samp>(7856e)</samp>](https://togithub.com/vitest-dev/vitest/commit/7856ec12) - Add chai config - by [@​btea](https://togithub.com/btea) in [https://github.com/vitest-dev/vitest/issues/3066](https://togithub.com/vitest-dev/vitest/issues/3066) [<samp>(6fcba)</samp>](https://togithub.com/vitest-dev/vitest/commit/6fcba9ba) - **snapshot**: Introduce `toMatchFileSnapshot` and auto queuing expect promise - by [@​antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/3116](https://togithub.com/vitest-dev/vitest/issues/3116) [<samp>(bdc06)</samp>](https://togithub.com/vitest-dev/vitest/commit/bdc06dcb) ##### 🐞 Bug Fixes - Resolve reporters passed down to the CLI relative to the running directory - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3097](https://togithub.com/vitest-dev/vitest/issues/3097) [<samp>(93c7e)</samp>](https://togithub.com/vitest-dev/vitest/commit/93c7e39d) - Don't show "diff" in "serialized error" section - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(326b2)</samp>](https://togithub.com/vitest-dev/vitest/commit/326b242d) - Convert '--single-thread' and '--inspect' cli args to boolean - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3111](https://togithub.com/vitest-dev/vitest/issues/3111) [<samp>(83a9a)</samp>](https://togithub.com/vitest-dev/vitest/commit/83a9aa74) - Stack trace point to incorrect file - by [@​ChenKS12138](https://togithub.com/ChenKS12138) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3004](https://togithub.com/vitest-dev/vitest/issues/3004) and [https://github.com/vitest-dev/vitest/issues/3115](https://togithub.com/vitest-dev/vitest/issues/3115) [<samp>(5cee4)</samp>](https://togithub.com/vitest-dev/vitest/commit/5cee4fbf) - Run benchmarks sequentially - by [@​thecodrr](https://togithub.com/thecodrr) in [https://github.com/vitest-dev/vitest/issues/2004](https://togithub.com/vitest-dev/vitest/issues/2004) and [https://github.com/vitest-dev/vitest/issues/3151](https://togithub.com/vitest-dev/vitest/issues/3151) [<samp>(430b4)</samp>](https://togithub.com/vitest-dev/vitest/commit/430b4ecb) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.29.8...v0.30.0) ### [`v0.29.8`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.29.8) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.29.7...v0.29.8) ##### 🚀 Features - Allow accessing "vi" methods without context, don't fail when mocker is not available - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3047](https://togithub.com/vitest-dev/vitest/issues/3047) [<samp>(1531c)</samp>](https://togithub.com/vitest-dev/vitest/commit/1531c420) - Show browser console in the terminal - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3048](https://togithub.com/vitest-dev/vitest/issues/3048) [<samp>(ee6f5)</samp>](https://togithub.com/vitest-dev/vitest/commit/ee6f590d) - Playwright as browser provider - by [@​Aslemammad](https://togithub.com/Aslemammad) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3079](https://togithub.com/vitest-dev/vitest/issues/3079) [<samp>(9dc69)</samp>](https://togithub.com/vitest-dev/vitest/commit/9dc69293) - Implement `istanbul` coverage support for browser testing - by [@​sheremet-va](https://togithub.com/sheremet-va) and [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3040](https://togithub.com/vitest-dev/vitest/issues/3040) [<samp>(0f44d)</samp>](https://togithub.com/vitest-dev/vitest/commit/0f44d2c8) ##### 🐞 Bug Fixes - Add generic to expect.objectContaining type - by [@​ArtyMaury](https://togithub.com/ArtyMaury) in [https://github.com/vitest-dev/vitest/issues/3053](https://togithub.com/vitest-dev/vitest/issues/3053) [<samp>(69d2c)</samp>](https://togithub.com/vitest-dev/vitest/commit/69d2cc93) - Do not fail, when primitive error is thrown - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3074](https://togithub.com/vitest-dev/vitest/issues/3074) [<samp>(6efe6)</samp>](https://togithub.com/vitest-dev/vitest/commit/6efe61ab) - Handle cloning proxied classes w/ enumerable getters - by [@​tgriesser](https://togithub.com/tgriesser) in [https://github.com/vitest-dev/vitest/issues/3026](https://togithub.com/vitest-dev/vitest/issues/3026) [<samp>(196a0)</samp>](https://togithub.com/vitest-dev/vitest/commit/196a067a) - Spy on popup apis like alert - by [@​Aslemammad](https://togithub.com/Aslemammad) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3076](https://togithub.com/vitest-dev/vitest/issues/3076) [<samp>(280ad)</samp>](https://togithub.com/vitest-dev/vitest/commit/280ad1ed) - Report coverage even when no tests found - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3091](https://togithub.com/vitest-dev/vitest/issues/3091) [<samp>(2cb91)</samp>](https://togithub.com/vitest-dev/vitest/commit/2cb91211) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.29.7...v0.29.8) ### [`v0.29.7`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.29.7) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.29.6...v0.29.7) ##### 🐞 Bug Fixes - Import [@​vite/client](https://togithub.com/vite/client) in browser code for handling optimizer - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(20c51)</samp>](https://togithub.com/vitest-dev/vitest/commit/20c510c4) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.29.6...v0.29.7) ### [`v0.29.6`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.29.6) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.29.5...v0.29.6) ##### 🐞 Bug Fixes - Bundle UI with [@​vitest/browser](https://togithub.com/vitest/browser) - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(14091)</samp>](https://togithub.com/vitest-dev/vitest/commit/14091c59) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.29.5...v0.29.6) ### [`v0.29.5`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.29.5) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.29.4...v0.29.5) ##### 🐞 Bug Fixes - **browser**: Relax vitest peer dependency - by [@​cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vitest-dev/vitest/issues/3039](https://togithub.com/vitest-dev/vitest/issues/3039) [<samp>(865d1)</samp>](https://togithub.com/vitest-dev/vitest/commit/865d1afd) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.29.4...v0.29.5) ### [`v0.29.4`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.29.4) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.29.3...v0.29.4) ##### 🚀 Features - `--test-timeout` CLI argument - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3019](https://togithub.com/vitest-dev/vitest/issues/3019) [<samp>(63c62)</samp>](https://togithub.com/vitest-dev/vitest/commit/63c62f9e) - Add an option to control Vitest pool with filepath - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3029](https://togithub.com/vitest-dev/vitest/issues/3029) [<samp>(c7f0c)</samp>](https://togithub.com/vitest-dev/vitest/commit/c7f0c86b) - Process timeout to log names of stuck test files - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3031](https://togithub.com/vitest-dev/vitest/issues/3031) [<samp>(0ddf7)</samp>](https://togithub.com/vitest-dev/vitest/commit/0ddf7220) - Support relative path in html report - by [@​poyoho](https://togithub.com/poyoho) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2695](https://togithub.com/vitest-dev/vitest/issues/2695) [<samp>(a7680)</samp>](https://togithub.com/vitest-dev/vitest/commit/a768015e) - Webdriverio (+ custom providers) integration for browser mode - by [@​Aslemammad](https://togithub.com/Aslemammad), **Christian Bromann**, [@​sheremet-va](https://togithub.com/sheremet-va), [@​userquin](https://togithub.com/userquin) and [@​dammy001](https://togithub.com/dammy001) in [https://github.com/vitest-dev/vitest/issues/2999](https://togithub.com/vitest-dev/vitest/issues/2999) [<samp>(9cdc8)</samp>](https://togithub.com/vitest-dev/vitest/commit/9cdc8030) ##### 🐞 Bug Fixes - Show correct line numbers in stack trace when using vi.resetModules() - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3020](https://togithub.com/vitest-dev/vitest/issues/3020) [<samp>(35730)</samp>](https://togithub.com/vitest-dev/vitest/commit/35730328) - Mocking value proxy filter Symbol static properties - by [@​ChpShy](https://togithub.com/ChpShy) in [https://github.com/vitest-dev/vitest/issues/3036](https://togithub.com/vitest-dev/vitest/issues/3036) [<samp>(0cf44)</samp>](https://togithub.com/vitest-dev/vitest/commit/0cf44098) - Escape XML in error stack trace when using junit reporter - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3038](https://togithub.com/vitest-dev/vitest/issues/3038) [<samp>(cc577)</samp>](https://togithub.com/vitest-dev/vitest/commit/cc5779d6) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.29.3...v0.29.4) ### [`v0.29.3`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.29.3) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.29.2...v0.29.3) ##### 🚀 Features - Use custom colors implementation instead of picocolors - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(427b0)</samp>](https://togithub.com/vitest-dev/vitest/commit/427b0622) - Uncaught errors to indicate env teardown - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2982](https://togithub.com/vitest-dev/vitest/issues/2982) [<samp>(1fe82)</samp>](https://togithub.com/vitest-dev/vitest/commit/1fe8286c) - **config**: Add an option to run setupFiles in sequence - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3008](https://togithub.com/vitest-dev/vitest/issues/3008) [<samp>(c2e25)</samp>](https://togithub.com/vitest-dev/vitest/commit/c2e25bb9) ##### 🐞 Bug Fixes - Console log not visible - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2943](https://togithub.com/vitest-dev/vitest/issues/2943) [<samp>(02808)</samp>](https://togithub.com/vitest-dev/vitest/commit/0280825f) - Remove duplicate execArgv when deps.registerNodeLoader: true - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2965](https://togithub.com/vitest-dev/vitest/issues/2965) [<samp>(a1954)</samp>](https://togithub.com/vitest-dev/vitest/commit/a1954cc0) - Prevent running test cases timers after environment teardown - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2971](https://togithub.com/vitest-dev/vitest/issues/2971) [<samp>(bde75)</samp>](https://togithub.com/vitest-dev/vitest/commit/bde75a34) - Don't mark setupFiles as test files, if experimentaOptimizer is used - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2974](https://togithub.com/vitest-dev/vitest/issues/2974) [<samp>(819c6)</samp>](https://togithub.com/vitest-dev/vitest/commit/819c6cbe) - Config errors not visible - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2995](https://togithub.com/vitest-dev/vitest/issues/2995) [<samp>(f01c7)</samp>](https://togithub.com/vitest-dev/vitest/commit/f01c7833) - \--inspect to work inside workers - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2983](https://togithub.com/vitest-dev/vitest/issues/2983) [<samp>(36087)</samp>](https://togithub.com/vitest-dev/vitest/commit/36087d1e) - **types**: Use `any` as default value for TArgs in vi.fn() - by [@​jessevanassen](https://togithub.com/jessevanassen) in [https://github.com/vitest-dev/vitest/issues/2947](https://togithub.com/vitest-dev/vitest/issues/2947) [<samp>(1bdcc)</samp>](https://togithub.com/vitest-dev/vitest/commit/1bdcc212) ##### 🏎 Performance - **reporters**: Overall improvements - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3006](https://togithub.com/vitest-dev/vitest/issues/3006) [<samp>(22ca0)</samp>](https://togithub.com/vitest-dev/vitest/commit/22ca0b6b) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.29.2...v0.29.3) ### [`v0.29.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.29.2) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.29.1...v0.29.2) ##### 🐞 Bug Fixes - Optimize dependencies in setup files - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2935](https://togithub.com/vitest-dev/vitest/issues/2935) [<samp>(c169f)</samp>](https://togithub.com/vitest-dev/vitest/commit/c169f980) - **coverage**: C8 provider to work when isolate:false - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2929](https://togithub.com/vitest-dev/vitest/issues/2929) [<samp>(86538)</samp>](https://togithub.com/vitest-dev/vitest/commit/8653830b) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.29.1...v0.29.2) ### [`v0.29.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.29.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.29.0...v0.29.1) ##### 🐞 Bug Fixes - Wait for optimized dependency to be bundled in non-pnpm package managers - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(d2460)</samp>](https://togithub.com/vitest-dev/vitest/commit/d2460b7a) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.29.0...v0.29.1) ### [`v0.29.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.29.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.28.5...v0.29.0) This release makes some significant changes to how tests are running. If you were using `--no-threads` before, you might consider enabling `--single-thread` instead (because your tests are now running in `child_process` instead of a worker thread) or try our new performance optimization feature (discussed later). If you were relying on API that was not available inside a worker (like `process.chdir()`, you can now use this option. One of the potential breaking bug fixes is that environments do not share the same global scope anymore if you run them with `--no-isolate`, `--no-threads` or `--single-thread` - you might need to update your setup files if you were relying on a global variable before. If you had performance issues on large code bases before, try the new [`deps.experimentalOptimizer`](https://vitest.dev/config/#deps-experimentaloptimizer) option instead of disabling threads. Feedback is welcome! One of the breaking changes includes adding a link to snapshots inside snapshot files, meaning you will need to update all your snapshots. ##### 🚨 Breaking Changes - Vitest as peer dependency for coverage packages - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2836](https://togithub.com/vitest-dev/vitest/issues/2836) [<samp>(94247)</samp>](https://togithub.com/vitest-dev/vitest/commit/94247f1b) - Coverage-c8 to use V8 profiler directly instead of `NODE_V8_COVERAGE` - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2786](https://togithub.com/vitest-dev/vitest/issues/2786) [<samp>(095c6)</samp>](https://togithub.com/vitest-dev/vitest/commit/095c6390) - Add a link to the comment at the top of the snapshot file - by [@​btea](https://togithub.com/btea) in [https://github.com/vitest-dev/vitest/issues/2867](https://togithub.com/vitest-dev/vitest/issues/2867) [<samp>(615e1)</samp>](https://togithub.com/vitest-dev/vitest/commit/615e150b) - Always run separate environments in isolation - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2860](https://togithub.com/vitest-dev/vitest/issues/2860) [<samp>(1f858)</samp>](https://togithub.com/vitest-dev/vitest/commit/1f858e0c) - Tests with `node` and `jsdom` (and other environments) now don't share the same global scope, if you run them with `--no-isolate` or `--no-threads` flag. Vitest doesn't provide a way to restore the previous behavior as it is considered a bug. - Use child_process when --no-threads is used - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2772](https://togithub.com/vitest-dev/vitest/issues/2772) [<samp>(7bf54)</samp>](https://togithub.com/vitest-dev/vitest/commit/7bf54505) - Tests inside `chid_process` might run longer due to the communication overhead. If you want to restore the previous behavior, use `--single-thread`. ##### 🚀 Features - Add test seed to banner - by [@​btkostner](https://togithub.com/btkostner) in [https://github.com/vitest-dev/vitest/issues/2877](https://togithub.com/vitest-dev/vitest/issues/2877) [<samp>(bdb39)</samp>](https://togithub.com/vitest-dev/vitest/commit/bdb39569) - Use custom source-map-support implementation - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2905](https://togithub.com/vitest-dev/vitest/issues/2905) [<samp>(6ff6c)</samp>](https://togithub.com/vitest-dev/vitest/commit/6ff6c6eb) - Add an option to enable Vite optimizer - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2912](https://togithub.com/vitest-dev/vitest/issues/2912) [<samp>(af8de)</samp>](https://togithub.com/vitest-dev/vitest/commit/af8de362) - **coverage**: - Add support for coverage reporter options - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2690](https://togithub.com/vitest-dev/vitest/issues/2690) [<samp>(f8176)</samp>](https://togithub.com/vitest-dev/vitest/commit/f8176182) - Automatic threshold updating - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2886](https://togithub.com/vitest-dev/vitest/issues/2886) [<samp>(e1652)</samp>](https://togithub.com/vitest-dev/vitest/commit/e1652163) - **spy**: - Implement mock.withImplementation API - by [@​obadakhalili](https://togithub.com/obadakhalili) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2835](https://togithub.com/vitest-dev/vitest/issues/2835) [<samp>(610b1)</samp>](https://togithub.com/vitest-dev/vitest/commit/610b1d46) - **vite-node**: - Cli option for vite mode - by [@​abarke](https://togithub.com/abarke) in [https://github.com/vitest-dev/vitest/issues/2893](https://togithub.com/vitest-dev/vitest/issues/2893) [<samp>(0fc08)</samp>](https://togithub.com/vitest-dev/vitest/commit/0fc08032) ##### 🐞 Bug Fixes - Wait for console.log to print a message before terminating a worker - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2861](https://togithub.com/vitest-dev/vitest/issues/2861) [<samp>(fbc54)</samp>](https://togithub.com/vitest-dev/vitest/commit/fbc54c91) - Cleanup last mocked cache when call vi.doMock - by [@​mysteryven](https://togithub.com/mysteryven) in [https://github.com/vitest-dev/vitest/issues/2872](https://togithub.com/vitest-dev/vitest/issues/2872) [<samp>(65d71)</samp>](https://togithub.com/vitest-dev/vitest/commit/65d71b9e) - Reload changed configuration file on watch mode - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2889](https://togithub.com/vitest-dev/vitest/issues/2889) [<samp>(4d277)</samp>](https://togithub.com/vitest-dev/vitest/commit/4d277d8d) - **coverage**: Custom providers to work inside worker threads - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2817](https://togithub.com/vitest-dev/vitest/issues/2817) [<samp>(81604)</samp>](https://togithub.com/vitest-dev/vitest/commit/81604bce) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.28.5...v0.29.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 [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/huang-julien/nuxt-hydration). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS44Ny4xIiwidXBkYXRlZEluVmVyIjoiMzUuODcuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Describe the bug
When running tests that encounter an error in a required file, the generated trace does not point to the correct file.
Expected:
Actual:
Reproduction
yarn install
yarn test
System Info
Used Package Manager
yarn
Validations
The text was updated successfully, but these errors were encountered: