chore(deps-dev): Bump vitest from 3.2.4 to 4.0.2 (#1478)

Bumps
[vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)
from 3.2.4 to 4.0.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/vitest-dev/vitest/releases">vitest's
releases</a>.</em></p>
<blockquote>
<h2>v4.0.2</h2>
<h3>   🐞 Bug Fixes</h3>
<ul>
<li><strong>browser</strong>:
<ul>
<li>Don't print the deprecation notice in node_modules  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/8779">vitest-dev/vitest#8779</a>
<a href="https://github.com/vitest-dev/vitest/commit/588f76858"><!-- raw
HTML omitted -->(588f7)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>pool</strong>:
<ul>
<li>Assign envs before running tests to keep in sync with process.env
 -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/8769">vitest-dev/vitest#8769</a>
<a href="https://github.com/vitest-dev/vitest/commit/26ce88db6"><!-- raw
HTML omitted -->(26ce8)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>spy</strong>:
<ul>
<li>Properly inherit implementation's <code>length</code>  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/8778">vitest-dev/vitest#8778</a>
<a href="https://github.com/vitest-dev/vitest/commit/d4c2b280b"><!-- raw
HTML omitted -->(d4c2b)<!-- raw HTML omitted --></a></li>
<li>Reset spies if both <code>restoreMocks</code> and
<code>mockReset</code> are set in the config  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/8781">vitest-dev/vitest#8781</a>
<a href="https://github.com/vitest-dev/vitest/commit/2eedbce76"><!-- raw
HTML omitted -->(2eedb)<!-- raw HTML omitted --></a></li>
</ul>
</li>
</ul>
<h5>    <a
href="https://github.com/vitest-dev/vitest/compare/v4.0.1...v4.0.2">View
changes on GitHub</a></h5>
<h2>v4.0.1</h2>
<h3>   🐞 Bug Fixes</h3>
<ul>
<li>Move the <code>getBuiltins</code> check  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/8765">vitest-dev/vitest#8765</a>
<a href="https://github.com/vitest-dev/vitest/commit/81000631d"><!-- raw
HTML omitted -->(81000)<!-- raw HTML omitted --></a></li>
<li><strong>pool</strong>: Don't teardown the communication channel too
soon if something is running after the test  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/8767">vitest-dev/vitest#8767</a>
<a href="https://github.com/vitest-dev/vitest/commit/3fae73e2e"><!-- raw
HTML omitted -->(3fae7)<!-- raw HTML omitted --></a></li>
</ul>
<h5>    <a
href="https://github.com/vitest-dev/vitest/compare/v4.0.0...v4.0.1">View
changes on GitHub</a></h5>
<h2>v4.0.0</h2>
<p>Vitest 4.0 is out!</p>
<p>To stay updated, read our <a
href="https://vitest.dev/blog/vitest-4">blog post</a> and check the <a
href="https://vitest.dev/guide/migration">migration guide</a>.</p>
<h3>   🚨 Breaking Changes</h3>
<ul>
<li>Remove <code>'basic'</code> reporter  -  by <a
href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/7884">vitest-dev/vitest#7884</a>
<a href="https://github.com/vitest-dev/vitest/commit/82fcf5d53"><!-- raw
HTML omitted -->(82fcf)<!-- raw HTML omitted --></a></li>
<li>Simplify default exclude pattern  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/6287">vitest-dev/vitest#6287</a>
<a href="https://github.com/vitest-dev/vitest/commit/14c507200"><!-- raw
HTML omitted -->(14c50)<!-- raw HTML omitted --></a></li>
<li>Remove deprecated getSourceMap  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/8194">vitest-dev/vitest#8194</a>
<a href="https://github.com/vitest-dev/vitest/commit/ff93444f8"><!-- raw
HTML omitted -->(ff934)<!-- raw HTML omitted --></a></li>
<li>Replace deprecated ErrorWithDiff with TestError  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/8195">vitest-dev/vitest#8195</a>
<a href="https://github.com/vitest-dev/vitest/commit/da59eb887"><!-- raw
HTML omitted -->(da59e)<!-- raw HTML omitted --></a></li>
<li>Remove UserConfig type in favor of ViteUserConfig  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/8196">vitest-dev/vitest#8196</a>
<a href="https://github.com/vitest-dev/vitest/commit/22f7f2db5"><!-- raw
HTML omitted -->(22f7f)<!-- raw HTML omitted --></a></li>
<li>Remove deprecated coverage options in favor of
<code>vitest/node</code> exports  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/8197">vitest-dev/vitest#8197</a>
<a href="https://github.com/vitest-dev/vitest/commit/dc8486d22"><!-- raw
HTML omitted -->(dc848)<!-- raw HTML omitted --></a></li>
<li>Remove deprecated internal helpers and environment exports  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/8198">vitest-dev/vitest#8198</a>
<a href="https://github.com/vitest-dev/vitest/commit/4703cf850"><!-- raw
HTML omitted -->(4703c)<!-- raw HTML omitted --></a></li>
<li>Remove deprecated typecheck and runner types  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/8199">vitest-dev/vitest#8199</a>
<a href="https://github.com/vitest-dev/vitest/commit/89a1cb626"><!-- raw
HTML omitted -->(89a1c)<!-- raw HTML omitted --></a></li>
<li>Remove Node types from the main entry point, use
<code>vitest/node</code> instead  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/8200">vitest-dev/vitest#8200</a>
<a href="https://github.com/vitest-dev/vitest/commit/1e60c4f44"><!-- raw
HTML omitted -->(1e60c)<!-- raw HTML omitted --></a></li>
<li>Remove support for Vite 5  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/8202">vitest-dev/vitest#8202</a>
<a href="https://github.com/vitest-dev/vitest/commit/cb8b03bac"><!-- raw
HTML omitted -->(cb8b0)<!-- raw HTML omitted --></a></li>
<li>Remove deprecated types  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/8203">vitest-dev/vitest#8203</a>
<a href="https://github.com/vitest-dev/vitest/commit/66bee836f"><!-- raw
HTML omitted -->(66bee)<!-- raw HTML omitted --></a></li>
<li>Remove deprecated environmentMatchGlobs and poolMatchGlobs  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/8205">vitest-dev/vitest#8205</a>
<a href="https://github.com/vitest-dev/vitest/commit/be11d374c"><!-- raw
HTML omitted -->(be11d)<!-- raw HTML omitted --></a></li>
<li>Remove deprecated <code>workspace</code> option in favor of
<code>projects</code>  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/8218">vitest-dev/vitest#8218</a>
<a href="https://github.com/vitest-dev/vitest/commit/76fb75d42"><!-- raw
HTML omitted -->(76fb7)<!-- raw HTML omitted --></a></li>
<li>Ignore <code>--standalone</code> when CLI filename filter is used
 -  by <a
href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/8262">vitest-dev/vitest#8262</a>
<a href="https://github.com/vitest-dev/vitest/commit/013bf2cb2"><!-- raw
HTML omitted -->(013bf)<!-- raw HTML omitted --></a></li>
<li>Use module-runner instead of vite-node  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> and
<a href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/8208">vitest-dev/vitest#8208</a>
<a href="https://github.com/vitest-dev/vitest/commit/9be01ba59"><!-- raw
HTML omitted -->(9be01)<!-- raw HTML omitted --></a></li>
<li>Rewrite spying implementation to make module mocking more intuitive
 -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/8363">vitest-dev/vitest#8363</a>
<a href="https://github.com/vitest-dev/vitest/commit/9e412de35"><!-- raw
HTML omitted -->(9e412)<!-- raw HTML omitted --></a></li>
<li>Remove deprecated APIs  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/8428">vitest-dev/vitest#8428</a>
<a href="https://github.com/vitest-dev/vitest/commit/a1cb9719a"><!-- raw
HTML omitted -->(a1cb9)<!-- raw HTML omitted --></a></li>
<li>Remove <code>minWorkers</code> and set it automatically to 0 in non
watch mode  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/8454">vitest-dev/vitest#8454</a>
<a href="https://github.com/vitest-dev/vitest/commit/2c2d1d4ce"><!-- raw
HTML omitted -->(2c2d1)<!-- raw HTML omitted --></a></li>
<li>Verbose reporter prints tests in a list, introduce <code>tree</code>
reporter  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> and
<a href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/8500">vitest-dev/vitest#8500</a>
<a href="https://github.com/vitest-dev/vitest/commit/25fd32bf0"><!-- raw
HTML omitted -->(25fd3)<!-- raw HTML omitted --></a></li>
<li>Include shadow root contents in pretty-format output  -  by <a
href="https://github.com/wkillerud"><code>@​wkillerud</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/8545">vitest-dev/vitest#8545</a>
<a href="https://github.com/vitest-dev/vitest/commit/9e722834a"><!-- raw
HTML omitted -->(9e722)<!-- raw HTML omitted --></a></li>
<li>Remove deprecated order from test() API  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/8594">vitest-dev/vitest#8594</a>
<a href="https://github.com/vitest-dev/vitest/commit/4d41928c6"><!-- raw
HTML omitted -->(4d419)<!-- raw HTML omitted --></a></li>
<li>Rewrite pools without <code>tinypool</code>  -  by <a
href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> and
<a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a>
in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/8705">vitest-dev/vitest#8705</a>
<a href="https://github.com/vitest-dev/vitest/commit/4822d047a"><!-- raw
HTML omitted -->(4822d)<!-- raw HTML omitted --></a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="07bc56a7a8"><code>07bc56a</code></a>
chore: release v4.0.2</li>
<li><a
href="2eedbce768"><code>2eedbce</code></a>
fix(spy): reset spies if both <code>restoreMocks</code> and
<code>mockReset</code> is set in the co...</li>
<li><a
href="26ce88db68"><code>26ce88d</code></a>
fix(pool): assign envs before running tests to keep in sync with
process.env ...</li>
<li><a
href="4a28faa677"><code>4a28faa</code></a>
chore: release v4.0.1</li>
<li><a
href="3fae73e2e1"><code>3fae73e</code></a>
fix(pool): don't teardown the communication channel too soon if
something is ...</li>
<li><a
href="81000631df"><code>8100063</code></a>
fix: move the <code>getBuiltins</code> check (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/8765">#8765</a>)</li>
<li><a
href="da7ce1712f"><code>da7ce17</code></a>
chore: release v4.0.0</li>
<li><a
href="8e15bc8f97"><code>8e15bc8</code></a>
perf: create only one fetcher per project (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/8762">#8762</a>)</li>
<li><a
href="9f0ecccb8b"><code>9f0eccc</code></a>
fix: <code>base</code> option doesn't crash vitest (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/8760">#8760</a>)</li>
<li><a
href="d3ef4f29c1"><code>d3ef4f2</code></a>
perf(pool): resolve all environments first (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/8759">#8759</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/vitest-dev/vitest/commits/v4.0.2/packages/vitest">compare
view</a></li>
</ul>
</details>
<details>
<summary>Maintainer changes</summary>
<p>This version was pushed to npm by [GitHub Actions](<a
href="https://www.npmjs.com/~GitHub">https://www.npmjs.com/~GitHub</a>
Actions), a new releaser for vitest since your current version.</p>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=vitest&package-manager=npm_and_yarn&previous-version=3.2.4&new-version=4.0.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
dependabot[bot]
2025-10-29 13:19:07 +00:00
committed by GitHub
parent 45d0f06e60
commit fff7982e85
2 changed files with 124 additions and 210 deletions

View File

@@ -148,6 +148,6 @@
"uuid": "^13.0.0",
"vite": "^7.1.12",
"vite-plugin-istanbul": "^7.2.0",
"vitest": "^3.2.4"
"vitest": "^4.0.2"
}
}