Bump vitest from 1.2.1 to 1.5.0 #501

Closed
dependabot[bot] wants to merge 1 commits from dependabot/npm_and_yarn/vitest-1.5.0 into main
dependabot[bot] commented 2024-04-12 00:47:21 +00:00 (Migrated from github.com)

Bumps vitest from 1.2.1 to 1.5.0.

Release notes

Sourced from vitest's releases.

v1.5.0

   🚀 Features

   🐞 Bug Fixes

    View changes on GitHub

v1.4.0

   🚀 Features

... (truncated)

Commits
  • 9e7a01c chore: release v1.5.0
  • b80062d fix(vitest): close inspector immediately if run is canceled (#5519)
  • 6157282 feat: allow custom host for --inspect and --inspect-brk (#5509)
  • 7b306fe chore: check for the presense of files in watch mode (#5508)
  • bea234b fix(benchmark): table reporter for non TTY output (#5484)
  • 6797b04 feat: add configuration for diff truncation (#5073) (#5333)
  • db98145 fix(benchmark): fix benchmark summary of single bench suite (#5489)
  • 10b8971 feat(coverage): v8 to ignore empty lines, comments, types (#5457)
  • d400388 fix(workspace): set CWD to config directory, allow overriding local .env (#5476)
  • 1f54834 fix(benchmark): run benchmark suites sequentially (#5444)
  • 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.5.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.5.0</h2> <h3>   🚀 Features</h3> <ul> <li>Add configuration for diff truncation  -  by <a href="https://github.com/willieho"><code>@​willieho</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/5073">vitest-dev/vitest#5073</a> and <a href="https://redirect.github.com/vitest-dev/vitest/issues/5333">vitest-dev/vitest#5333</a> <a href="https://github.com/vitest-dev/vitest/commit/6797b041"><!-- raw HTML omitted -->(6797b)<!-- raw HTML omitted --></a></li> <li>Remove unrelated noise from diff for toMatchObject()  -  by <a href="https://github.com/geersch"><code>@​geersch</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/5364">vitest-dev/vitest#5364</a> <a href="https://github.com/vitest-dev/vitest/commit/99276399"><!-- raw HTML omitted -->(99276)<!-- raw HTML omitted --></a></li> <li>Allow custom host for --inspect and --inspect-brk  -  by <a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/5509">vitest-dev/vitest#5509</a> <a href="https://github.com/vitest-dev/vitest/commit/6157282c"><!-- raw HTML omitted -->(61572)<!-- raw HTML omitted --></a></li> <li><strong>coverage</strong>: V8 to ignore empty lines, comments, types  -  by <a href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/5457">vitest-dev/vitest#5457</a> <a href="https://github.com/vitest-dev/vitest/commit/10b89713"><!-- raw HTML omitted -->(10b89)<!-- raw HTML omitted --></a></li> </ul> <h3>   🐞 Bug Fixes</h3> <ul> <li><code>describe</code> calls not taking generic type parameters  -  by <a href="https://github.com/aryaemami59"><code>@​aryaemami59</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/5415">vitest-dev/vitest#5415</a> <a href="https://github.com/vitest-dev/vitest/commit/16bacfab"><!-- raw HTML omitted -->(16bac)<!-- raw HTML omitted --></a></li> <li>Prevent hang when <code>process</code> is mocked  -  by <a href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/5430">vitest-dev/vitest#5430</a> <a href="https://github.com/vitest-dev/vitest/commit/0ec4d0e0"><!-- raw HTML omitted -->(0ec4d)<!-- raw HTML omitted --></a></li> <li>Don't check for &quot;node:internal/console/&quot; in console interceptor in case the environment is not Node.js  -  by <a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> <a href="https://github.com/vitest-dev/vitest/commit/87d36a7a"><!-- raw HTML omitted -->(87d36)<!-- raw HTML omitted --></a></li> <li>The value received by toMatch should be a string  -  by <a href="https://github.com/btea"><code>@​btea</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/5428">vitest-dev/vitest#5428</a> <a href="https://github.com/vitest-dev/vitest/commit/674851ca"><!-- raw HTML omitted -->(67485)<!-- raw HTML omitted --></a></li> <li>Increase stack trace limit for location, don't hardcode suite position  -  by <a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/5518">vitest-dev/vitest#5518</a> <a href="https://github.com/vitest-dev/vitest/commit/04b234d1"><!-- raw HTML omitted -->(04b23)<!-- raw HTML omitted --></a></li> <li><strong>benchmark</strong>: <ul> <li>Run benchmark suites sequentially  -  by <a href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/5444">vitest-dev/vitest#5444</a> <a href="https://github.com/vitest-dev/vitest/commit/1f548340"><!-- raw HTML omitted -->(1f548)<!-- raw HTML omitted --></a></li> <li>Fix benchmark summary of single bench suite  -  by <a href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/5489">vitest-dev/vitest#5489</a> <a href="https://github.com/vitest-dev/vitest/commit/db98145f"><!-- raw HTML omitted -->(db981)<!-- raw HTML omitted --></a></li> <li>Table reporter for non TTY output  -  by <a href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/5484">vitest-dev/vitest#5484</a> <a href="https://github.com/vitest-dev/vitest/commit/bea234b1"><!-- raw HTML omitted -->(bea23)<!-- raw HTML omitted --></a></li> </ul> </li> <li><strong>expect</strong>: <ul> <li>Fix <code>toHaveBeenNthCalledWith</code> error message when not called  -  by <a href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/5420">vitest-dev/vitest#5420</a> <a href="https://github.com/vitest-dev/vitest/commit/e5253de4"><!-- raw HTML omitted -->(e5253)<!-- raw HTML omitted --></a></li> </ul> </li> <li><strong>types</strong>: <ul> <li>Pass correct type for suite factory  -  by <a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/5437">vitest-dev/vitest#5437</a> <a href="https://github.com/vitest-dev/vitest/commit/26718eb5"><!-- raw HTML omitted -->(26718)<!-- raw HTML omitted --></a></li> </ul> </li> <li><strong>utils</strong>: <ul> <li>Fix object diff with getter only property  -  by <a href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/5466">vitest-dev/vitest#5466</a> <a href="https://github.com/vitest-dev/vitest/commit/366d97c3"><!-- raw HTML omitted -->(366d9)<!-- raw HTML omitted --></a></li> </ul> </li> <li><strong>vite-node</strong>: <ul> <li>Fix <code>isValidNodeImport</code> to check <code>&quot;type&quot;: &quot;module&quot;</code> first  -  by <a href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/5416">vitest-dev/vitest#5416</a> <a href="https://github.com/vitest-dev/vitest/commit/6fb15280"><!-- raw HTML omitted -->(6fb15)<!-- raw HTML omitted --></a></li> </ul> </li> <li><strong>vitest</strong>: <ul> <li>Correctly send console events when state changes  -  by <a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> <a href="https://github.com/vitest-dev/vitest/commit/3463f9bb"><!-- raw HTML omitted -->(3463f)<!-- raw HTML omitted --></a></li> <li>Initiate FakeTimers on demand  -  by <a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/5450">vitest-dev/vitest#5450</a> <a href="https://github.com/vitest-dev/vitest/commit/e4e939ba"><!-- raw HTML omitted -->(e4e93)<!-- raw HTML omitted --></a></li> <li>Check unhighlighted code for code frame line limit  -  by <a href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/5465">vitest-dev/vitest#5465</a> <a href="https://github.com/vitest-dev/vitest/commit/6ae7eaa2"><!-- raw HTML omitted -->(6ae7e)<!-- raw HTML omitted --></a></li> <li>Correctly filter by parent folder  -  by <a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/5408">vitest-dev/vitest#5408</a> <a href="https://github.com/vitest-dev/vitest/commit/91b06cce"><!-- raw HTML omitted -->(91b06)<!-- raw HTML omitted --></a></li> <li>Close inspector immediately if run is canceled  -  by <a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/5519">vitest-dev/vitest#5519</a> <a href="https://github.com/vitest-dev/vitest/commit/b80062d7"><!-- raw HTML omitted -->(b8006)<!-- raw HTML omitted --></a></li> </ul> </li> <li><strong>workspace</strong>: <ul> <li>Set CWD to config directory, allow overriding local .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/5476">vitest-dev/vitest#5476</a> <a href="https://github.com/vitest-dev/vitest/commit/d4003882"><!-- raw HTML omitted -->(d4003)<!-- raw HTML omitted --></a></li> </ul> </li> </ul> <h5>    <a href="https://github.com/vitest-dev/vitest/compare/v1.4.0...v1.5.0">View changes on GitHub</a></h5> <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> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/vitest-dev/vitest/commit/9e7a01cc8c8fd088004532f42e20edb54974e16d"><code>9e7a01c</code></a> chore: release v1.5.0</li> <li><a href="https://github.com/vitest-dev/vitest/commit/b80062d74839fbb0904d3f237724aaa6873267c2"><code>b80062d</code></a> fix(vitest): close inspector immediately if run is canceled (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/5519">#5519</a>)</li> <li><a href="https://github.com/vitest-dev/vitest/commit/6157282cc04494afc85085775d1f565c0d0dbb5a"><code>6157282</code></a> feat: allow custom host for --inspect and --inspect-brk (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/5509">#5509</a>)</li> <li><a href="https://github.com/vitest-dev/vitest/commit/7b306feaba69c152c685232035d0bd3abdf8021c"><code>7b306fe</code></a> chore: check for the presense of files in watch mode (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/5508">#5508</a>)</li> <li><a href="https://github.com/vitest-dev/vitest/commit/bea234b1c4c52e68c2d754fb9850df38f165883d"><code>bea234b</code></a> fix(benchmark): table reporter for non TTY output (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/5484">#5484</a>)</li> <li><a href="https://github.com/vitest-dev/vitest/commit/6797b0412ba41e27645c10e962e44ae111018ec7"><code>6797b04</code></a> feat: add configuration for diff truncation (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/5073">#5073</a>) (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/5333">#5333</a>)</li> <li><a href="https://github.com/vitest-dev/vitest/commit/db98145f4f6426b45ba8682f23fca6944ae311bd"><code>db98145</code></a> fix(benchmark): fix benchmark summary of single bench suite (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/5489">#5489</a>)</li> <li><a href="https://github.com/vitest-dev/vitest/commit/10b89713d2593ce562676455cc29e18a27fd0cde"><code>10b8971</code></a> feat(coverage): v8 to ignore empty lines, comments, types (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/5457">#5457</a>)</li> <li><a href="https://github.com/vitest-dev/vitest/commit/d4003882a05b65754f7000280cef2884e957d333"><code>d400388</code></a> fix(workspace): set CWD to config directory, allow overriding local .env (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/5476">#5476</a>)</li> <li><a href="https://github.com/vitest-dev/vitest/commit/1f5483405286c502c30c4b8ed427d1adeb45d311"><code>1f54834</code></a> fix(benchmark): run benchmark suites sequentially (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/5444">#5444</a>)</li> <li>Additional commits viewable in <a href="https://github.com/vitest-dev/vitest/commits/v1.5.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.5.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-22 08:17:26 +00:00 (Migrated from github.com)

Looks like vitest is no longer a dependency, so this is no longer needed.

Looks like vitest is no longer a dependency, so this is no longer needed.

Pull request closed

Sign in to join this conversation.