chore(deps-dev): bump vitest from 2.1.9 to 4.0.18 in /frontend #35

Open
dependabot[bot] wants to merge 1 commit from dependabot/npm_and_yarn/frontend/vitest-4.0.18 into main
dependabot[bot] commented 2026-03-01 22:56:48 +01:00 (Migrated from github.com)

Bumps vitest from 2.1.9 to 4.0.18.

Release notes

Sourced from vitest's releases.

v4.0.18

   🚀 Experimental Features

   🐞 Bug Fixes

    View changes on GitHub

v4.0.17

   🚀 Experimental Features

   🐞 Bug Fixes

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by [GitHub Actions](https://www.npmjs.com/~GitHub Actions), a new releaser for vitest since your current version.


Dependabot compatibility score

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 commands and options

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 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)
Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) from 2.1.9 to 4.0.18. <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.18</h2> <h3>   🚀 Experimental Features</h3> <ul> <li><strong>experimental</strong>: Add <code>onModuleRunner</code> hook to <code>worker.init</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/9286">vitest-dev/vitest#9286</a> <a href="https://github.com/vitest-dev/vitest/commit/ea837de7d"><!-- raw HTML omitted -->(ea837)<!-- raw HTML omitted --></a></li> </ul> <h3>   🐞 Bug Fixes</h3> <ul> <li>Use <code>meta.url</code> in <code>createRequire</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/9441">vitest-dev/vitest#9441</a> <a href="https://github.com/vitest-dev/vitest/commit/e057281ca"><!-- raw HTML omitted -->(e0572)<!-- raw HTML omitted --></a></li> <li><strong>browser</strong>: Hide injected data-testid attributes  -  by <a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/9503">vitest-dev/vitest#9503</a> <a href="https://github.com/vitest-dev/vitest/commit/f89899cd8"><!-- raw HTML omitted -->(f8989)<!-- raw HTML omitted --></a></li> <li><strong>ui</strong>: Process artifact attachments when generating HTML reporter  -  by <a href="https://github.com/macarie"><code>@​macarie</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/9472">vitest-dev/vitest#9472</a> <a href="https://github.com/vitest-dev/vitest/commit/225435647"><!-- raw HTML omitted -->(22543)<!-- raw HTML omitted --></a></li> </ul> <h5>    <a href="https://github.com/vitest-dev/vitest/compare/v4.0.17...v4.0.18">View changes on GitHub</a></h5> <h2>v4.0.17</h2> <h3>   🚀 Experimental Features</h3> <ul> <li>Support openTelemetry for browser mode  -  by <a href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/9180">vitest-dev/vitest#9180</a> <a href="https://github.com/vitest-dev/vitest/commit/1ec3a8b68"><!-- raw HTML omitted -->(1ec3a)<!-- raw HTML omitted --></a></li> <li>Support TRACEPARENT and TRACESTATE environment variables for OpenTelemetry context propagation  -  by <a href="https://github.com/Copilot"><code>@​Copilot</code></a>, <strong>hi-ogawa</strong> and <a href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/9295">vitest-dev/vitest#9295</a> <a href="https://github.com/vitest-dev/vitest/commit/876cb84c2"><!-- raw HTML omitted -->(876cb)<!-- raw HTML omitted --></a></li> </ul> <h3>   🐞 Bug Fixes</h3> <ul> <li>Improve asymmetric matcher diff readability by unwrapping container matchers  -  by <a href="https://github.com/Copilot"><code>@​Copilot</code></a>, <strong>sheremet-va</strong>, <strong>hi-ogawa</strong> and <a href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/9330">vitest-dev/vitest#9330</a> <a href="https://github.com/vitest-dev/vitest/commit/b2ec724a8"><!-- raw HTML omitted -->(b2ec7)<!-- raw HTML omitted --></a></li> <li>Improve runner error when importing outside of test context  -  by <a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/9335">vitest-dev/vitest#9335</a> <a href="https://github.com/vitest-dev/vitest/commit/2dd3dd839"><!-- raw HTML omitted -->(2dd3d)<!-- raw HTML omitted --></a></li> <li>Replace crypto.randomUUID to allow insecure environments (fix <a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/9">#9</a>…  -  by <a href="https://github.com/plusgut"><code>@​plusgut</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/9339">vitest-dev/vitest#9339</a> and <a href="https://redirect.github.com/vitest-dev/vitest/issues/9">vitest-dev/vitest#9</a> <a href="https://github.com/vitest-dev/vitest/commit/e6a3f8cc7"><!-- raw HTML omitted -->(e6a3f)<!-- raw HTML omitted --></a></li> <li>Handle null options in <code>addEventHandler</code> <a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/9371">#9371</a>  -  by <a href="https://github.com/ThibautMarechal"><code>@​ThibautMarechal</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/9372">vitest-dev/vitest#9372</a> and <a href="https://redirect.github.com/vitest-dev/vitest/issues/9371">vitest-dev/vitest#9371</a> <a href="https://github.com/vitest-dev/vitest/commit/40841ff00"><!-- raw HTML omitted -->(40841)<!-- raw HTML omitted --></a></li> <li>Typo in browser.provider error  -  by <a href="https://github.com/deammer"><code>@​deammer</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/9394">vitest-dev/vitest#9394</a> <a href="https://github.com/vitest-dev/vitest/commit/4b67fc25a"><!-- raw HTML omitted -->(4b67f)<!-- raw HTML omitted --></a></li> <li><strong>browser</strong>: <ul> <li>Fix <code>process.env</code> and <code>import.meta.env</code> defines in inline project  -  by <a href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/9239">vitest-dev/vitest#9239</a> <a href="https://github.com/vitest-dev/vitest/commit/b70c96121"><!-- raw HTML omitted -->(b70c9)<!-- raw HTML omitted --></a></li> <li>Fix upload File instance  -  by <a href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/9294">vitest-dev/vitest#9294</a> <a href="https://github.com/vitest-dev/vitest/commit/b67788c69"><!-- raw HTML omitted -->(b6778)<!-- raw HTML omitted --></a></li> <li>Fix invalid project token for artifacts assets  -  by <a href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/9321">vitest-dev/vitest#9321</a> <a href="https://github.com/vitest-dev/vitest/commit/caa7d73d4"><!-- raw HTML omitted -->(caa7d)<!-- raw HTML omitted --></a></li> <li>Log <code>ErrorEvent.message</code> when unhandled <code>ErrorEvent.error</code> is null  -  by <a href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/9322">vitest-dev/vitest#9322</a> <a href="https://github.com/vitest-dev/vitest/commit/5d84eeb91"><!-- raw HTML omitted -->(5d84e)<!-- raw HTML omitted --></a></li> <li>Support <code>fileParallelism</code> on an instance  -  by <a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/9328">vitest-dev/vitest#9328</a> <a href="https://github.com/vitest-dev/vitest/commit/150065459"><!-- raw HTML omitted -->(15006)<!-- raw HTML omitted --></a></li> </ul> </li> <li><strong>coverage</strong>: <ul> <li>Remove unnecessary <code>istanbul-lib-source-maps</code> usage  -  by <a href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/9344">vitest-dev/vitest#9344</a> <a href="https://github.com/vitest-dev/vitest/commit/b09405375"><!-- raw HTML omitted -->(b0940)<!-- raw HTML omitted --></a></li> <li>Apply patch from <a href="https://redirect.github.com/istanbuljs/istanbuljs/issues/837">istanbuljs/istanbuljs#837</a>  -  by <a href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> and <strong>sapphi-red</strong> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/9413">vitest-dev/vitest#9413</a> and <a href="https://redirect.github.com/vitest-dev/vitest/issues/837">vitest-dev/vitest#837</a> <a href="https://github.com/vitest-dev/vitest/commit/e05cedbf4"><!-- raw HTML omitted -->(e05ce)<!-- raw HTML omitted --></a></li> </ul> </li> <li><strong>fsModuleCache</strong>: <ul> <li>Don't store importers in cache  -  by <a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/9422">vitest-dev/vitest#9422</a> <a href="https://github.com/vitest-dev/vitest/commit/751364eec"><!-- raw HTML omitted -->(75136)<!-- raw HTML omitted --></a></li> <li>Add importers alongside importedModules  -  by <a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/9423">vitest-dev/vitest#9423</a> <a href="https://github.com/vitest-dev/vitest/commit/59f92d403"><!-- raw HTML omitted -->(59f92)<!-- raw HTML omitted --></a></li> </ul> </li> <li><strong>mocker</strong>: <ul> <li>Fix mock transform with class  -  by <a href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/9421">vitest-dev/vitest#9421</a> <a href="https://github.com/vitest-dev/vitest/commit/d390eb527"><!-- raw HTML omitted -->(d390e)<!-- raw HTML omitted --></a></li> </ul> </li> <li><strong>pool</strong>: <ul> <li>Validate environment options when reusing the worker  -  by <a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/9349">vitest-dev/vitest#9349</a> <a href="https://github.com/vitest-dev/vitest/commit/a8a8836e3"><!-- raw HTML omitted -->(a8a88)<!-- raw HTML omitted --></a></li> <li>Handle worker start failures gracefully  -  by <a href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/9337">vitest-dev/vitest#9337</a> <a href="https://github.com/vitest-dev/vitest/commit/200dadb32"><!-- raw HTML omitted -->(200da)<!-- raw HTML omitted --></a></li> </ul> </li> <li><strong>reporter</strong>: <ul> <li>Report test module if it failed to run  -  by <a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/9272">vitest-dev/vitest#9272</a> <a href="https://github.com/vitest-dev/vitest/commit/c78882985"><!-- raw HTML omitted -->(c7888)<!-- raw HTML omitted --></a></li> </ul> </li> <li><strong>runner</strong>: <ul> <li>Respect nested test.only within describe.only  -  by <a href="https://github.com/Ujjwaljain16"><code>@​Ujjwaljain16</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/9021">vitest-dev/vitest#9021</a> and <a href="https://redirect.github.com/vitest-dev/vitest/issues/9213">vitest-dev/vitest#9213</a> <a href="https://github.com/vitest-dev/vitest/commit/55d5dad69"><!-- raw HTML omitted -->(55d5d)<!-- raw HTML omitted --></a></li> </ul> </li> <li><strong>typecheck</strong>: <ul> <li>Improve error message when tsc outputs help text  -  by <a href="https://github.com/Ujjwaljain16"><code>@​Ujjwaljain16</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/9214">vitest-dev/vitest#9214</a> <a href="https://github.com/vitest-dev/vitest/commit/7b10ab4cd"><!-- raw HTML omitted -->(7b10a)<!-- raw HTML omitted --></a></li> </ul> </li> <li><strong>ui</strong>:</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/4d3e3c61b9b237447699deab9aca0eb9d6039978"><code>4d3e3c6</code></a> chore: release v4.0.18</li> <li><a href="https://github.com/vitest-dev/vitest/commit/ea837de7d75780a67af437331d8d689cdcfe291e"><code>ea837de</code></a> feat(experimental): add <code>onModuleRunner</code> hook to <code>worker.init</code> (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/9286">#9286</a>)</li> <li><a href="https://github.com/vitest-dev/vitest/commit/e057281ca5ea282cf0b0d37b7b51f182397fc370"><code>e057281</code></a> fix: use <code>meta.url</code> in <code>createRequire</code> (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/9441">#9441</a>)</li> <li><a href="https://github.com/vitest-dev/vitest/commit/dd54e944ec0d7b2730933341f3b940e92b186fb6"><code>dd54e94</code></a> chore: release v4.0.17</li> <li><a href="https://github.com/vitest-dev/vitest/commit/59f92d403bf97b3145911aaeffbae36b465284c7"><code>59f92d4</code></a> fix(fsModuleCache): add importers alongside importedModules (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/9423">#9423</a>)</li> <li><a href="https://github.com/vitest-dev/vitest/commit/751364eec8e7a5e9d205146e44f1ed06d7afc57c"><code>751364e</code></a> fix(fsModuleCache): don't store importers in cache (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/9422">#9422</a>)</li> <li><a href="https://github.com/vitest-dev/vitest/commit/4b67fc25a8f221c536a499bd3f3e802115eadc5d"><code>4b67fc2</code></a> fix: typo in browser.provider error (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/9394">#9394</a>)</li> <li><a href="https://github.com/vitest-dev/vitest/commit/40841ff005cf518064b4611b34a6ca86303ac645"><code>40841ff</code></a> fix: handle null options in <code>addEventHandler</code> <a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/9371">#9371</a> (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/9372">#9372</a>)</li> <li><a href="https://github.com/vitest-dev/vitest/commit/200dadb328a5e71f0805ee05e24f11af23ecf2db"><code>200dadb</code></a> fix(pool): handle worker start failures gracefully (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/9337">#9337</a>)</li> <li><a href="https://github.com/vitest-dev/vitest/commit/150065459b96a5ed3b9f07ab3001596492032183"><code>1500654</code></a> fix(browser): support <code>fileParallelism</code> on an instance (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/9328">#9328</a>)</li> <li>Additional commits viewable in <a href="https://github.com/vitest-dev/vitest/commits/v4.0.18/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=2.1.9&new-version=4.0.18)](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 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>
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin dependabot/npm_and_yarn/frontend/vitest-4.0.18:dependabot/npm_and_yarn/frontend/vitest-4.0.18
git checkout dependabot/npm_and_yarn/frontend/vitest-4.0.18

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git checkout main
git merge --no-ff dependabot/npm_and_yarn/frontend/vitest-4.0.18
git checkout dependabot/npm_and_yarn/frontend/vitest-4.0.18
git rebase main
git checkout main
git merge --ff-only dependabot/npm_and_yarn/frontend/vitest-4.0.18
git checkout dependabot/npm_and_yarn/frontend/vitest-4.0.18
git rebase main
git checkout main
git merge --no-ff dependabot/npm_and_yarn/frontend/vitest-4.0.18
git checkout main
git merge --squash dependabot/npm_and_yarn/frontend/vitest-4.0.18
git checkout main
git merge --ff-only dependabot/npm_and_yarn/frontend/vitest-4.0.18
git checkout main
git merge dependabot/npm_and_yarn/frontend/vitest-4.0.18
git push origin main
Sign in to join this conversation.
No description provided.