Bump vitest from 0.33.0 to 0.34.2 #205

Closed
dependabot[bot] wants to merge 1 commits from dependabot/npm_and_yarn/vitest-0.34.2 into main
dependabot[bot] commented 2023-08-18 00:18:35 +00:00 (Migrated from github.com)

Bumps vitest from 0.33.0 to 0.34.2.

Release notes

Sourced from vitest's releases.

v0.34.2

   🚀 Features

   🐞 Bug Fixes

   🏎 Performance

    View changes on GitHub

v0.34.1

   🐞 Bug Fixes

    View changes on GitHub

... (truncated)

Commits
  • 41e828f chore: release v0.34.2
  • 28549a0 chore: update license
  • 6a0cb64 fix(vitest): pass environmentOptions to happy-dom integration (#3972)
  • 0f8e60b fix: build not generated execute.d.ts (#3970)
  • 5c88d8e feat(vitest): allow calling skip dynamically (#3966)
  • 3073b9a fix: typo of mocks plugin name
  • 3891d05 fix(css): don't mock css-module if inline is specified (#3952)
  • bcb41e5 fix: restrict access to file system via API (#3956)
  • 91fe485 fix: don't crash when calling useFakeTimers in VM pool (#3958)
  • 15b4fd6 fix(vitest): only consider cwd when using glob (fix #3802) (#3949)
  • Additional commits viewable in compare view

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 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)
Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) from 0.33.0 to 0.34.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>v0.34.2</h2> <h3>   🚀 Features</h3> <ul> <li>Allow importing CSS and assets inside external dependencies when using <code>--experimental-vm-threads</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/3880">vitest-dev/vitest#3880</a> <a href="https://github.com/vitest-dev/vitest/commit/f4e6e99f"><!-- raw HTML omitted -->(f4e6e)<!-- raw HTML omitted --></a></li> <li><strong>vitest</strong>: Allow calling <code>ctx.skip()</code> inside the running 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/3966">vitest-dev/vitest#3966</a> <a href="https://github.com/vitest-dev/vitest/commit/5c88d8e5"><!-- raw HTML omitted -->(5c88d)<!-- raw HTML omitted --></a></li> </ul> <h3>   🐞 Bug Fixes</h3> <ul> <li>Don't bundle utils' source-map entry  -  by <a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/3865">vitest-dev/vitest#3865</a> <a href="https://github.com/vitest-dev/vitest/commit/a08e5993"><!-- raw HTML omitted -->(a08e5)<!-- raw HTML omitted --></a></li> <li>Reduce the memory consumption when running --experimental-vm-threads  -  by <a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/3872">vitest-dev/vitest#3872</a> <a href="https://github.com/vitest-dev/vitest/commit/d1a08c88"><!-- raw HTML omitted -->(d1a08)<!-- raw HTML omitted --></a></li> <li>Indicator position of error message  -  by <a href="https://github.com/fenghan34"><code>@​fenghan34</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/3855">vitest-dev/vitest#3855</a> <a href="https://github.com/vitest-dev/vitest/commit/3e1e7a1f"><!-- raw HTML omitted -->(3e1e7)<!-- raw HTML omitted --></a></li> <li>Don't crash when using --experimental-vm-threads, interop CJS default inside 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/3876">vitest-dev/vitest#3876</a> <a href="https://github.com/vitest-dev/vitest/commit/0c53e098"><!-- raw HTML omitted -->(0c53e)<!-- raw HTML omitted --></a></li> <li>Don't crash if total memory is not supported  -  by <a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/3879">vitest-dev/vitest#3879</a> <a href="https://github.com/vitest-dev/vitest/commit/7d1f86b8"><!-- raw HTML omitted -->(7d1f8)<!-- raw HTML omitted --></a></li> <li>Check memory and limit value  -  by <a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> <a href="https://github.com/vitest-dev/vitest/commit/f8dfbd38"><!-- raw HTML omitted -->(f8dfb)<!-- raw HTML omitted --></a></li> <li>Update module warning as it is moved into server config  -  by <a href="https://github.com/jellyfishgh"><code>@​jellyfishgh</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/3931">vitest-dev/vitest#3931</a> <a href="https://github.com/vitest-dev/vitest/commit/3a3eb22c"><!-- raw HTML omitted -->(3a3eb)<!-- raw HTML omitted --></a></li> <li>Define process variable and using import.meta.env together did not work  -  by <a href="https://github.com/Dunqing"><code>@​Dunqing</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/3944">vitest-dev/vitest#3944</a> <a href="https://github.com/vitest-dev/vitest/commit/e73ca9ed"><!-- raw HTML omitted -->(e73ca)<!-- raw HTML omitted --></a></li> <li>Correctly resolve config in a workspace  -  by <a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/3947">vitest-dev/vitest#3947</a> <a href="https://github.com/vitest-dev/vitest/commit/1c08d5da"><!-- raw HTML omitted -->(1c08d)<!-- raw HTML omitted --></a></li> <li>Don't crash when calling useFakeTimers in VM pool  -  by <a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/3958">vitest-dev/vitest#3958</a> <a href="https://github.com/vitest-dev/vitest/commit/91fe4853"><!-- raw HTML omitted -->(91fe4)<!-- raw HTML omitted --></a></li> <li>Restrict access to file system via 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/3956">vitest-dev/vitest#3956</a> <a href="https://github.com/vitest-dev/vitest/commit/bcb41e51"><!-- raw HTML omitted -->(bcb41)<!-- raw HTML omitted --></a></li> <li>Typo of mocks plugin name  -  by <a href="https://github.com/antfu"><code>@​antfu</code></a> <a href="https://github.com/vitest-dev/vitest/commit/3073b9a2"><!-- raw HTML omitted -->(3073b)<!-- raw HTML omitted --></a></li> <li>Build not generated <code>execute.d.ts</code>  -  by <a href="https://github.com/btea"><code>@​btea</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/3970">vitest-dev/vitest#3970</a> <a href="https://github.com/vitest-dev/vitest/commit/0f8e60b7"><!-- raw HTML omitted -->(0f8e6)<!-- raw HTML omitted --></a></li> <li><strong>css</strong>: <ul> <li>Don't mock css-module if <code>?inline</code> query is specified  -  by <a href="https://github.com/thebanjomatic"><code>@​thebanjomatic</code></a> and <strong>Adam Hines</strong> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/3952">vitest-dev/vitest#3952</a> <a href="https://github.com/vitest-dev/vitest/commit/3891d055"><!-- raw HTML omitted -->(3891d)<!-- raw HTML omitted --></a></li> </ul> </li> <li><strong>expect</strong>: <ul> <li>Correctly show async matcher diff  -  by <a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/3960">vitest-dev/vitest#3960</a> <a href="https://github.com/vitest-dev/vitest/commit/9423b6f8"><!-- raw HTML omitted -->(9423b)<!-- raw HTML omitted --></a></li> </ul> </li> <li><strong>snapshots</strong>: <ul> <li>Update inline snapshot correctly  -  by <a href="https://github.com/fenghan34"><code>@​fenghan34</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/3887">vitest-dev/vitest#3887</a> <a href="https://github.com/vitest-dev/vitest/commit/7b740a27"><!-- raw HTML omitted -->(7b740)<!-- raw HTML omitted --></a></li> </ul> </li> <li><strong>ui</strong>: <ul> <li>Incorrect duration time in vitest ui  -  by <a href="https://github.com/Dunqing"><code>@​Dunqing</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/3945">vitest-dev/vitest#3945</a> <a href="https://github.com/vitest-dev/vitest/commit/351399f2"><!-- raw HTML omitted -->(35139)<!-- raw HTML omitted --></a></li> <li>Add support for ui coverage with subdir option  -  by <a href="https://github.com/userquin"><code>@​userquin</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/3917">vitest-dev/vitest#3917</a> <a href="https://github.com/vitest-dev/vitest/commit/6ecfc4e1"><!-- raw HTML omitted -->(6ecfc)<!-- raw HTML omitted --></a></li> </ul> </li> <li><strong>vitest</strong>: <ul> <li>Use esm module resolution to resolve env  -  by <a href="https://github.com/danielroe"><code>@​danielroe</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/3951">vitest-dev/vitest#3951</a> <a href="https://github.com/vitest-dev/vitest/commit/edb322fe"><!-- raw HTML omitted -->(edb32)<!-- raw HTML omitted --></a></li> <li>Allow rewriting process.env.NODE_MODE when using web transform 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/3957">vitest-dev/vitest#3957</a> <a href="https://github.com/vitest-dev/vitest/commit/eca4b87f"><!-- raw HTML omitted -->(eca4b)<!-- raw HTML omitted --></a></li> <li>Only consider cwd when using glob  -  by <a href="https://github.com/g-plane"><code>@​g-plane</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/3802">vitest-dev/vitest#3802</a> and <a href="https://redirect.github.com/vitest-dev/vitest/issues/3949">vitest-dev/vitest#3949</a> <a href="https://github.com/vitest-dev/vitest/commit/15b4fd6d"><!-- raw HTML omitted -->(15b4f)<!-- raw HTML omitted --></a></li> <li>Pass environmentOptions to happy-dom integration  -  by <a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> and <strong>Raul de Melo</strong> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/3972">vitest-dev/vitest#3972</a> <a href="https://github.com/vitest-dev/vitest/commit/6a0cb647"><!-- raw HTML omitted -->(6a0cb)<!-- raw HTML omitted --></a></li> </ul> </li> <li><strong>web</strong>: <ul> <li>Correctly resolve assets in new URL  -  by <a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/3950">vitest-dev/vitest#3950</a> <a href="https://github.com/vitest-dev/vitest/commit/a428f8d4"><!-- raw HTML omitted -->(a428f)<!-- raw HTML omitted --></a></li> </ul> </li> </ul> <h3>   🏎 Performance</h3> <ul> <li><strong>dot-renderer</strong>: Speed up getTests  -  by <a href="https://github.com/gtm-nayan"><code>@​gtm-nayan</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/3923">vitest-dev/vitest#3923</a> <a href="https://github.com/vitest-dev/vitest/commit/e94044d7"><!-- raw HTML omitted -->(e9404)<!-- raw HTML omitted --></a></li> </ul> <h5>    <a href="https://github.com/vitest-dev/vitest/compare/v0.34.1...v0.34.2">View changes on GitHub</a></h5> <h2>v0.34.1</h2> <h3>   🐞 Bug Fixes</h3> <ul> <li>Pass <code>--experimental-vm-worker-memory-limit</code> to <code>tinypool</code>  -  by <a href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/3856">vitest-dev/vitest#3856</a> <a href="https://github.com/vitest-dev/vitest/commit/3c67a4cb"><!-- raw HTML omitted -->(3c67a)<!-- raw HTML omitted --></a></li> </ul> <h5>    <a href="https://github.com/vitest-dev/vitest/compare/v0.34.0...v0.34.1">View changes on GitHub</a></h5> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/vitest-dev/vitest/commit/41e828f59c63d39e7b40ace0d226b37b0a1e3d52"><code>41e828f</code></a> chore: release v0.34.2</li> <li><a href="https://github.com/vitest-dev/vitest/commit/28549a043ec328bf49f8a4aaac81acf9947b186b"><code>28549a0</code></a> chore: update license</li> <li><a href="https://github.com/vitest-dev/vitest/commit/6a0cb647a7835050d092d08654e1c7b836573b38"><code>6a0cb64</code></a> fix(vitest): pass environmentOptions to happy-dom integration (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/3972">#3972</a>)</li> <li><a href="https://github.com/vitest-dev/vitest/commit/0f8e60b736c5e8bf6012b7ad2025d2645d84e080"><code>0f8e60b</code></a> fix: build not generated <code>execute.d.ts</code> (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/3970">#3970</a>)</li> <li><a href="https://github.com/vitest-dev/vitest/commit/5c88d8e582871fc6bfa0444abdbe80cdc9a05c6a"><code>5c88d8e</code></a> feat(vitest): allow calling <code>skip</code> dynamically (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/3966">#3966</a>)</li> <li><a href="https://github.com/vitest-dev/vitest/commit/3073b9a2cce27970f251ea11c48b45374a55abab"><code>3073b9a</code></a> fix: typo of mocks plugin name</li> <li><a href="https://github.com/vitest-dev/vitest/commit/3891d0558bbebd39355445ecbcfd69346fe42985"><code>3891d05</code></a> fix(css): don't mock css-module if inline is specified (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/3952">#3952</a>)</li> <li><a href="https://github.com/vitest-dev/vitest/commit/bcb41e514fba3ef8394a09eb3c2ff7eed6ac2cbb"><code>bcb41e5</code></a> fix: restrict access to file system via API (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/3956">#3956</a>)</li> <li><a href="https://github.com/vitest-dev/vitest/commit/91fe4853a525c118d532f72ebbb350b2a7c54ce0"><code>91fe485</code></a> fix: don't crash when calling useFakeTimers in VM pool (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/3958">#3958</a>)</li> <li><a href="https://github.com/vitest-dev/vitest/commit/15b4fd6d41daf585dfee9a27e8767397084b0b0e"><code>15b4fd6</code></a> fix(vitest): only consider cwd when using glob (fix <a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/3802">#3802</a>) (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/3949">#3949</a>)</li> <li>Additional commits viewable in <a href="https://github.com/vitest-dev/vitest/commits/v0.34.2/packages/vitest">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=vitest&package-manager=npm_and_yarn&previous-version=0.33.0&new-version=0.34.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>
dependabot[bot] commented 2023-08-28 01:15:32 +00:00 (Migrated from github.com)

Superseded by #213.

Superseded by #213.

Pull request closed

Sign in to join this conversation.