Skip to content

Commit 38a54ce

Browse files
deps(deps-dev): bump vitest from 3.2.4 to 4.0.3 (#922)
Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) from 3.2.4 to 4.0.3. <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.3</h2> <h3>   🐞 Bug Fixes</h3> <ul> <li>Preserve reporter options from config when CLI reporters override them  -  by <a href="https://github.com/Copilot"><code>@​Copilot</code></a> and <strong>sheremet-va</strong> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/8794">vitest-dev/vitest#8794</a> <a href="https://github.com/vitest-dev/vitest/commit/155521a85"><!-- raw HTML omitted -->(15552)<!-- raw HTML omitted --></a></li> <li><strong>browser</strong>: More stable in-source testing validation  -  by <a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/8793">vitest-dev/vitest#8793</a> <a href="https://github.com/vitest-dev/vitest/commit/622977e61"><!-- raw HTML omitted -->(62297)<!-- raw HTML omitted --></a></li> <li><strong>happy-dom</strong>: Support fetch globals  -  by <a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/8791">vitest-dev/vitest#8791</a> <a href="https://github.com/vitest-dev/vitest/commit/0fb74bd3b"><!-- raw HTML omitted -->(0fb74)<!-- raw HTML omitted --></a></li> <li><strong>init</strong>: Use correct jsx/tsx extension  -  by <a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/8792">vitest-dev/vitest#8792</a> <a href="https://github.com/vitest-dev/vitest/commit/abc046f95"><!-- raw HTML omitted -->(abc04)<!-- raw HTML omitted --></a></li> </ul> <h5>    <a href="https://github.com/vitest-dev/vitest/compare/v4.0.2...v4.0.3">View changes on GitHub</a></h5> <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> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/vitest-dev/vitest/commit/ca1766f45ca178f6f79248452d131581c1debd78"><code>ca1766f</code></a> chore: release v4.0.3</li> <li><a href="https://github.com/vitest-dev/vitest/commit/155521a8573efcb560dc3a149ccdf430ca4eb9fc"><code>155521a</code></a> fix: preserve reporter options from config when CLI reporters override them (...</li> <li><a href="https://github.com/vitest-dev/vitest/commit/abc046f95202f56c4a4b2c56ff104f93cce1665b"><code>abc046f</code></a> fix(init): use correct jsx/tsx extension (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/8792">#8792</a>)</li> <li><a href="https://github.com/vitest-dev/vitest/commit/0fb74bd3b12ccec99ec34d82d42132b68e27de94"><code>0fb74bd</code></a> fix(happy-dom): support fetch globals (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/8791">#8791</a>)</li> <li><a href="https://github.com/vitest-dev/vitest/commit/07bc56a7a8b0ca7453af71193429c2745355dc6d"><code>07bc56a</code></a> chore: release v4.0.2</li> <li><a href="https://github.com/vitest-dev/vitest/commit/2eedbce7683c8c051a5b0862921410508a9ffd3a"><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="https://github.com/vitest-dev/vitest/commit/26ce88db687bdfbe4fac841f50bab37c161a0a43"><code>26ce88d</code></a> fix(pool): assign envs before running tests to keep in sync with process.env ...</li> <li><a href="https://github.com/vitest-dev/vitest/commit/4a28faa67783db5de87194d39a1b3f643bc38287"><code>4a28faa</code></a> chore: release v4.0.1</li> <li><a href="https://github.com/vitest-dev/vitest/commit/3fae73e2e117f3a410d16259463079fbd2035e5b"><code>3fae73e</code></a> fix(pool): don't teardown the communication channel too soon if something is ...</li> <li><a href="https://github.com/vitest-dev/vitest/commit/81000631df5f262dca674aebca0952b58befb842"><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>Additional commits viewable in <a href="https://github.com/vitest-dev/vitest/commits/v4.0.3/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.3)](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] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent abbb6a6 commit 38a54ce

File tree

2 files changed

+183
-579
lines changed

2 files changed

+183
-579
lines changed

0 commit comments

Comments
 (0)