Bump vitest from 1.2.1 to 1.4.0 #481

Closed
dependabot[bot] wants to merge 1 commits from dependabot/npm_and_yarn/vitest-1.4.0 into main
dependabot[bot] commented 2024-03-18 01:09:41 +00:00 (Migrated from github.com)

Bumps vitest from 1.2.1 to 1.4.0.

Release notes

Sourced from vitest's releases.

v1.4.0

   🚀 Features

   🐞 Bug Fixes

    View changes on GitHub

v1.3.1

   🚀 Features

... (truncated)

Commits
  • a8da192 chore: release v1.4.0
  • d7e8b53 feat(config): deprecate cache.dir option (#5229)
  • c652148 chore: remove unused property
  • ce5ca6b fix(vitest): logs in beforeAll and afterAll (#5288)
  • 51d1d47 fix(vitest): correctly override api with --no-api flag (#5386)
  • efe441f chore: guard try/catch in websocket reporter
  • 07ec377 fix(coverage): prevent reportsDirectory from removing user's project (#5376)
  • 38119b7 fix(vitest): ignore timeout on websocket reporter rpc
  • e77c553 fix: --inspect-brk to pause before execution (#5355)
  • d627e20 feat: add a flag to include test location in tasks (#5342)
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by vitestbot, 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 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 1.2.1 to 1.4.0. <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>v1.4.0</h2> <h3>   🚀 Features</h3> <ul> <li>Throw error when using snapshot assertion with <code>not</code>  -  by <a href="https://github.com/fenghan34"><code>@​fenghan34</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/5294">vitest-dev/vitest#5294</a> <a href="https://github.com/vitest-dev/vitest/commit/b9d378f5"><!-- raw HTML omitted -->(b9d37)<!-- raw HTML omitted --></a></li> <li>Add a flag to include test location in tasks  -  by <a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/5342">vitest-dev/vitest#5342</a> <a href="https://github.com/vitest-dev/vitest/commit/d627e209"><!-- raw HTML omitted -->(d627e)<!-- raw HTML omitted --></a></li> <li><strong>cli</strong>: <ul> <li>Support wildcards in <code>--project</code> option  -  by <a href="https://github.com/fenghan34"><code>@​fenghan34</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/5295">vitest-dev/vitest#5295</a> <a href="https://github.com/vitest-dev/vitest/commit/201bd067"><!-- raw HTML omitted -->(201bd)<!-- raw HTML omitted --></a></li> </ul> </li> <li><strong>config</strong>: <ul> <li>Add <code>shuffle.files</code> and <code>shuffle.tests</code> options  -  by <a href="https://github.com/fenghan34"><code>@​fenghan34</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/5281">vitest-dev/vitest#5281</a> <a href="https://github.com/vitest-dev/vitest/commit/356db87b"><!-- raw HTML omitted -->(356db)<!-- raw HTML omitted --></a></li> <li>Deprecate <code>cache.dir</code> option  -  by <a href="https://github.com/fenghan34"><code>@​fenghan34</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/5229">vitest-dev/vitest#5229</a> <a href="https://github.com/vitest-dev/vitest/commit/d7e8b53e"><!-- raw HTML omitted -->(d7e8b)<!-- raw HTML omitted --></a></li> </ul> </li> <li><strong>coverage</strong>: <ul> <li>Support <code>--changed</code> option  -  by <a href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/5314">vitest-dev/vitest#5314</a> <a href="https://github.com/vitest-dev/vitest/commit/600b44d6"><!-- raw HTML omitted -->(600b4)<!-- raw HTML omitted --></a></li> </ul> </li> <li><strong>vitest</strong>: <ul> <li>Support <code>clearScreen</code> cli flag  -  by <a href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/5241">vitest-dev/vitest#5241</a> <a href="https://github.com/vitest-dev/vitest/commit/e1735fb6"><!-- raw HTML omitted -->(e1735)<!-- raw HTML omitted --></a></li> </ul> </li> </ul> <h3>   🐞 Bug Fixes</h3> <ul> <li>Repeatable <code>--project</code> option  -  by <a href="https://github.com/fenghan34"><code>@​fenghan34</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/5265">vitest-dev/vitest#5265</a> <a href="https://github.com/vitest-dev/vitest/commit/d1a06730"><!-- raw HTML omitted -->(d1a06)<!-- raw HTML omitted --></a></li> <li><code>--inspect-brk</code> to pause before execution  -  by <a href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/5355">vitest-dev/vitest#5355</a> <a href="https://github.com/vitest-dev/vitest/commit/e77c553f"><!-- raw HTML omitted -->(e77c5)<!-- raw HTML omitted --></a></li> <li>Correct locations in test.each tasks  -  by <a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> <a href="https://github.com/vitest-dev/vitest/commit/4f6e39c1"><!-- raw HTML omitted -->(4f6e3)<!-- raw HTML omitted --></a></li> <li><strong>api</strong>: <ul> <li>Use resolvedUrls from devserver  -  by <a href="https://github.com/saitonakamura"><code>@​saitonakamura</code></a> and <a href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/5289">vitest-dev/vitest#5289</a> <a href="https://github.com/vitest-dev/vitest/commit/2fef5a7e"><!-- raw HTML omitted -->(2fef5)<!-- raw HTML omitted --></a></li> </ul> </li> <li><strong>browser</strong>: <ul> <li>Add <code>magic-string</code> to <code>optimizeDeps.include</code>  -  by <a href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/5278">vitest-dev/vitest#5278</a> <a href="https://github.com/vitest-dev/vitest/commit/8f04e798"><!-- raw HTML omitted -->(8f04e)<!-- raw HTML omitted --></a></li> </ul> </li> <li><strong>coverage</strong>: <ul> <li>Expensive regexp hangs v8 report generation  -  by <a href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/5259">vitest-dev/vitest#5259</a> <a href="https://github.com/vitest-dev/vitest/commit/d68a7390"><!-- raw HTML omitted -->(d68a7)<!-- raw HTML omitted --></a></li> <li>V8 to ignore type-only files  -  by <a href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/5328">vitest-dev/vitest#5328</a> <a href="https://github.com/vitest-dev/vitest/commit/c3eb8deb"><!-- raw HTML omitted -->(c3eb8)<!-- raw HTML omitted --></a></li> <li>Respect source maps of pre-transpiled sources  -  by <a href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/5367">vitest-dev/vitest#5367</a> <a href="https://github.com/vitest-dev/vitest/commit/6eda473f"><!-- raw HTML omitted -->(6eda4)<!-- raw HTML omitted --></a></li> <li>Prevent <code>reportsDirectory</code> from removing user's project  -  by <a href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/5376">vitest-dev/vitest#5376</a> <a href="https://github.com/vitest-dev/vitest/commit/07ec3779"><!-- raw HTML omitted -->(07ec3)<!-- raw HTML omitted --></a></li> </ul> </li> <li><strong>expect</strong>: <ul> <li>Show diff on <code>toContain/toMatch</code> assertion error  -  by <a href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/5267">vitest-dev/vitest#5267</a> <a href="https://github.com/vitest-dev/vitest/commit/8ee59f0d"><!-- raw HTML omitted -->(8ee59)<!-- raw HTML omitted --></a></li> </ul> </li> <li><strong>forks</strong>: <ul> <li>Wrap <code>defines</code> to support <code>undefined</code> values  -  by <a href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/5284">vitest-dev/vitest#5284</a> <a href="https://github.com/vitest-dev/vitest/commit/5b58b399"><!-- raw HTML omitted -->(5b58b)<!-- raw HTML omitted --></a></li> </ul> </li> <li><strong>typecheck</strong>: <ul> <li>Update get-tsconfig 4.7.3 to fix false circularity error  -  by <a href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/5384">vitest-dev/vitest#5384</a> <a href="https://github.com/vitest-dev/vitest/commit/bdc371ee"><!-- raw HTML omitted -->(bdc37)<!-- raw HTML omitted --></a></li> </ul> </li> <li><strong>ui</strong>: <ul> <li>Escape html in error diff  -  by <a href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/5325">vitest-dev/vitest#5325</a> <a href="https://github.com/vitest-dev/vitest/commit/ab60bf8d"><!-- raw HTML omitted -->(ab60b)<!-- raw HTML omitted --></a></li> </ul> </li> <li><strong>vitest</strong>: <ul> <li>Loosen <code>onConsoleLog</code> return type  -  by <a href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/5337">vitest-dev/vitest#5337</a> <a href="https://github.com/vitest-dev/vitest/commit/6d1b1451"><!-- raw HTML omitted -->(6d1b1)<!-- raw HTML omitted --></a></li> <li>Ensure restoring terminal cursor on close  -  by <a href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/5292">vitest-dev/vitest#5292</a> <a href="https://github.com/vitest-dev/vitest/commit/0bea2247"><!-- raw HTML omitted -->(0bea2)<!-- raw HTML omitted --></a></li> <li>Ignore timeout on websocket reporter rpc  -  by <a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> <a href="https://github.com/vitest-dev/vitest/commit/38119b75"><!-- raw HTML omitted -->(38119)<!-- raw HTML omitted --></a></li> <li>Correctly override api with --no-api flag  -  by <a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/5386">vitest-dev/vitest#5386</a> <a href="https://github.com/vitest-dev/vitest/commit/51d1d472"><!-- raw HTML omitted -->(51d1d)<!-- raw HTML omitted --></a></li> <li>Logs in <code>beforeAll</code> and <code>afterAll</code>  -  by <a href="https://github.com/fenghan34"><code>@​fenghan34</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/5288">vitest-dev/vitest#5288</a> <a href="https://github.com/vitest-dev/vitest/commit/ce5ca6bf"><!-- raw HTML omitted -->(ce5ca)<!-- raw HTML omitted --></a></li> </ul> </li> <li><strong>workspace</strong>: <ul> <li>Throw error when browser mode and <code>@vitest/coverage-v8</code> are used  -  by <a href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/5250">vitest-dev/vitest#5250</a> <a href="https://github.com/vitest-dev/vitest/commit/29f98cd3"><!-- raw HTML omitted -->(29f98)<!-- raw HTML omitted --></a></li> </ul> </li> </ul> <h5>    <a href="https://github.com/vitest-dev/vitest/compare/v1.3.1...v1.4.0">View changes on GitHub</a></h5> <h2>v1.3.1</h2> <h3>   🚀 Features</h3> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/vitest-dev/vitest/commit/a8da192c61ff0e3adf64b31378546de3b2f4c1bc"><code>a8da192</code></a> chore: release v1.4.0</li> <li><a href="https://github.com/vitest-dev/vitest/commit/d7e8b53ed057b2127d8073b11f5f2732354bdd7c"><code>d7e8b53</code></a> feat(config): deprecate <code>cache.dir</code> option (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/5229">#5229</a>)</li> <li><a href="https://github.com/vitest-dev/vitest/commit/c65214822a06639e915128496e0534184f219d2f"><code>c652148</code></a> chore: remove unused property</li> <li><a href="https://github.com/vitest-dev/vitest/commit/ce5ca6bf6c8f9b30a2331b2dcd761e72c13392e9"><code>ce5ca6b</code></a> fix(vitest): logs in <code>beforeAll</code> and <code>afterAll</code> (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/5288">#5288</a>)</li> <li><a href="https://github.com/vitest-dev/vitest/commit/51d1d47263e80f6a40da7639382efd5160f4145c"><code>51d1d47</code></a> fix(vitest): correctly override api with --no-api flag (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/5386">#5386</a>)</li> <li><a href="https://github.com/vitest-dev/vitest/commit/efe441fd217d4ec3081ec7aca58543b2233bab2d"><code>efe441f</code></a> chore: guard try/catch in websocket reporter</li> <li><a href="https://github.com/vitest-dev/vitest/commit/07ec3779aba22680ae1dd4cb83cd276354c8023f"><code>07ec377</code></a> fix(coverage): prevent <code>reportsDirectory</code> from removing user's project (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/5376">#5376</a>)</li> <li><a href="https://github.com/vitest-dev/vitest/commit/38119b75aff28682b0c8088991cc2c761760ff6d"><code>38119b7</code></a> fix(vitest): ignore timeout on websocket reporter rpc</li> <li><a href="https://github.com/vitest-dev/vitest/commit/e77c553ffb389a79bf568ab0ec4a48f2c572f9a3"><code>e77c553</code></a> fix: <code>--inspect-brk</code> to pause before execution (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/5355">#5355</a>)</li> <li><a href="https://github.com/vitest-dev/vitest/commit/d627e209dd99ba17557ef6ba2e4b2c52ddf6fa97"><code>d627e20</code></a> feat: add a flag to include test location in tasks (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/5342">#5342</a>)</li> <li>Additional commits viewable in <a href="https://github.com/vitest-dev/vitest/commits/v1.4.0/packages/vitest">compare view</a></li> </ul> </details> <details> <summary>Maintainer changes</summary> <p>This version was pushed to npm by <a href="https://www.npmjs.com/~vitestbot">vitestbot</a>, 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=1.2.1&new-version=1.4.0)](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 2024-04-12 00:47:23 +00:00 (Migrated from github.com)

Superseded by #501.

Superseded by #501.

Pull request closed

Sign in to join this conversation.