Bump vitest from 0.34.6 to 1.2.1 #423

Merged
dependabot[bot] merged 1 commits from dependabot/npm_and_yarn/vitest-1.2.1 into main 2024-01-22 02:08:26 +00:00
dependabot[bot] commented 2024-01-22 01:11:27 +00:00 (Migrated from github.com)

Bumps vitest from 0.34.6 to 1.2.1.

Release notes

Sourced from vitest's releases.

v1.2.1

   🐞 Bug Fixes

    View changes on GitHub

v1.2.0

   🚀 Features

   🐞 Bug Fixes

... (truncated)

Commits
  • 6421c27 chore: release v1.2.1
  • f8bff9e fix(vitest): throw a syntax error if vi.hoisted is directly exported (#4969)
  • 6c5fe49 fix(browser): don't fail when calling vi.useFakeTimers (#4992)
  • 8877e22 fix(vitest): use development/production conditions when resolving external mo...
  • 39a7169 fix(vitest): check color support for intercepted console logging (#4966)
  • 6c1cc78 fix(browser): fix browser testing url for https (#4855)
  • 952c31d fix(vitest): correctly find module if it has a version query (#4976)
  • df0db6a fix(vitest): simplify hoist transform check regex to avoid expensive regex ma...
  • db01f6c fix(browser): apply inlined workspace config to browser mode vite server (#4947)
  • 6bfdb5f refactor: improve highlighted function (#4967)
  • 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.34.6 to 1.2.1. <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.2.1</h2> <h3>   🐞 Bug Fixes</h3> <ul> <li><strong>browser</strong>: <ul> <li>Apply inlined workspace config to browser mode vite server  -  by <a href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/4947">vitest-dev/vitest#4947</a> <a href="https://github.com/vitest-dev/vitest/commit/db01f6c2"><!-- raw HTML omitted -->(db01f)<!-- raw HTML omitted --></a></li> <li>Fix browser testing url for https  -  by <a href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/4855">vitest-dev/vitest#4855</a> <a href="https://github.com/vitest-dev/vitest/commit/6c1cc78b"><!-- raw HTML omitted -->(6c1cc)<!-- raw HTML omitted --></a></li> <li>Don't fail when calling vi.useFakeTimers  -  by <a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/4992">vitest-dev/vitest#4992</a> <a href="https://github.com/vitest-dev/vitest/commit/6c5fe49b"><!-- raw HTML omitted -->(6c5fe)<!-- raw HTML omitted --></a></li> </ul> </li> <li><strong>coverage</strong>: <ul> <li><code>thresholds.autoUpdate</code> to work with arrow function configuration files  -  by <a href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/4959">vitest-dev/vitest#4959</a> <a href="https://github.com/vitest-dev/vitest/commit/4b41131a"><!-- raw HTML omitted -->(4b411)<!-- raw HTML omitted --></a></li> </ul> </li> <li><strong>expect</strong>: <ul> <li>Implement chai inspect for <code>AsymmetricMatcher</code>  -  by <a href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> and <a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/4942">vitest-dev/vitest#4942</a> <a href="https://github.com/vitest-dev/vitest/commit/06bae4dd"><!-- raw HTML omitted -->(06bae)<!-- raw HTML omitted --></a></li> </ul> </li> <li><strong>vite-node</strong>: <ul> <li>Externalize network imports  -  by <a href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/4987">vitest-dev/vitest#4987</a> <a href="https://github.com/vitest-dev/vitest/commit/21f5744d"><!-- raw HTML omitted -->(21f57)<!-- raw HTML omitted --></a></li> </ul> </li> <li><strong>vitest</strong>: <ul> <li>Handle single <code>await vi.hoisted</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/4962">vitest-dev/vitest#4962</a> <a href="https://github.com/vitest-dev/vitest/commit/dcf2e9f2"><!-- raw HTML omitted -->(dcf2e)<!-- raw HTML omitted --></a></li> <li>Simplify hoist transform check regex to avoid expensive regex match  -  by <a href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/4974">vitest-dev/vitest#4974</a> <a href="https://github.com/vitest-dev/vitest/commit/df0db6a9"><!-- raw HTML omitted -->(df0db)<!-- raw HTML omitted --></a></li> <li>Correctly find module if it has a version query  -  by <a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/4976">vitest-dev/vitest#4976</a> <a href="https://github.com/vitest-dev/vitest/commit/952c31df"><!-- raw HTML omitted -->(952c3)<!-- raw HTML omitted --></a></li> <li>Check color support for intercepted console logging  -  by <a href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/4966">vitest-dev/vitest#4966</a> <a href="https://github.com/vitest-dev/vitest/commit/39a7169c"><!-- raw HTML omitted -->(39a71)<!-- raw HTML omitted --></a></li> <li>Use development/production conditions when resolving external 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/4980">vitest-dev/vitest#4980</a> <a href="https://github.com/vitest-dev/vitest/commit/8877e22a"><!-- raw HTML omitted -->(8877e)<!-- raw HTML omitted --></a></li> <li>Throw a syntax error if vi.hoisted is directly exported  -  by <a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/4969">vitest-dev/vitest#4969</a> <a href="https://github.com/vitest-dev/vitest/commit/f8bff9ef"><!-- raw HTML omitted -->(f8bff)<!-- raw HTML omitted --></a></li> </ul> </li> </ul> <h5>    <a href="https://github.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1">View changes on GitHub</a></h5> <h2>v1.2.0</h2> <h3>   🚀 Features</h3> <ul> <li>Support case-insensitive path matching in cli  -  by <a href="https://github.com/tigranmk"><code>@​tigranmk</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/3567">vitest-dev/vitest#3567</a> and <a href="https://redirect.github.com/vitest-dev/vitest/issues/4911">vitest-dev/vitest#4911</a> <a href="https://github.com/vitest-dev/vitest/commit/1326c6ef"><!-- raw HTML omitted -->(1326c)<!-- raw HTML omitted --></a></li> <li>Add typeahead search  -  by <a href="https://github.com/bonyuta0204"><code>@​bonyuta0204</code></a> and <a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/4275">vitest-dev/vitest#4275</a> and <a href="https://redirect.github.com/vitest-dev/vitest/issues/4733">vitest-dev/vitest#4733</a> <a href="https://github.com/vitest-dev/vitest/commit/480d866a"><!-- raw HTML omitted -->(480d8)<!-- raw HTML omitted --></a></li> <li>Add syntax highlighting to error messages  -  by <a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/4813">vitest-dev/vitest#4813</a> <a href="https://github.com/vitest-dev/vitest/commit/8c969de2"><!-- raw HTML omitted -->(8c969)<!-- raw HTML omitted --></a></li> <li>Allow extending toEqual  -  by <a href="https://github.com/tigranmk"><code>@​tigranmk</code></a> and <a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/2875">vitest-dev/vitest#2875</a> and <a href="https://redirect.github.com/vitest-dev/vitest/issues/4880">vitest-dev/vitest#4880</a> <a href="https://github.com/vitest-dev/vitest/commit/463bee38"><!-- raw HTML omitted -->(463be)<!-- raw HTML omitted --></a></li> <li><strong>coverage</strong>: <ul> <li>Custom reporter support  -  by <a href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/4828">vitest-dev/vitest#4828</a> <a href="https://github.com/vitest-dev/vitest/commit/96dc6e9a"><!-- raw HTML omitted -->(96dc6)<!-- raw HTML omitted --></a></li> </ul> </li> <li><strong>ui</strong>: <ul> <li>Show unhandled errors on the ui  -  by <a href="https://github.com/spiroka"><code>@​spiroka</code></a> and <a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/4380">vitest-dev/vitest#4380</a> <a href="https://github.com/vitest-dev/vitest/commit/7f59a1b8"><!-- raw HTML omitted -->(7f59a)<!-- raw HTML omitted --></a></li> </ul> </li> <li><strong>vitest</strong>: <ul> <li>Add <code>--disable-console-intercept</code> option to allow opting-out from automatic console log interception  -  by <a href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/4786">vitest-dev/vitest#4786</a> <a href="https://github.com/vitest-dev/vitest/commit/43fa6baa"><!-- raw HTML omitted -->(43fa6)<!-- raw HTML omitted --></a></li> <li>Show slow test duration in verbose reporter on CI  -  by <a href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/4929">vitest-dev/vitest#4929</a> <a href="https://github.com/vitest-dev/vitest/commit/ccb25836"><!-- raw HTML omitted -->(ccb25)<!-- raw HTML omitted --></a></li> <li>Allow overiding package installer with public 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/4936">vitest-dev/vitest#4936</a> <a href="https://github.com/vitest-dev/vitest/commit/c2cceebb"><!-- raw HTML omitted -->(c2cce)<!-- raw HTML omitted --></a></li> </ul> </li> </ul> <h3>   🐞 Bug Fixes</h3> <ul> <li><strong>browser</strong>: <ul> <li>Support vite config <code>server.headers</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/4890">vitest-dev/vitest#4890</a> <a href="https://github.com/vitest-dev/vitest/commit/55f5349f"><!-- raw HTML omitted -->(55f53)<!-- raw HTML omitted --></a></li> <li>Fix <code>testNamePattern</code> config  -  by <a href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/4909">vitest-dev/vitest#4909</a> <a href="https://github.com/vitest-dev/vitest/commit/4add9516"><!-- raw HTML omitted -->(4add9)<!-- raw HTML omitted --></a></li> <li>Fix updating snapshot during watch mode  -  by <a href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> and <a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/4867">vitest-dev/vitest#4867</a> <a href="https://github.com/vitest-dev/vitest/commit/508fced9"><!-- raw HTML omitted -->(508fc)<!-- raw HTML omitted --></a></li> <li>Remove redundant test failure logging  -  by <a href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/4891">vitest-dev/vitest#4891</a> <a href="https://github.com/vitest-dev/vitest/commit/7fd44dc3"><!-- raw HTML omitted -->(7fd44)<!-- raw HTML omitted --></a></li> </ul> </li> <li><strong>happy-dom</strong>: <ul> <li>Window.close() for environment teardown  -  by <a href="https://github.com/capricorn86"><code>@​capricorn86</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/4931">vitest-dev/vitest#4931</a> <a href="https://github.com/vitest-dev/vitest/commit/91719bbd"><!-- raw HTML omitted -->(91719)<!-- raw HTML omitted --></a></li> </ul> </li> <li><strong>utils</strong>: <ul> <li>Fix <code>objDisplay</code> default truncate option for <code>test.each</code> title  -  by <a href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/4917">vitest-dev/vitest#4917</a> <a href="https://github.com/vitest-dev/vitest/commit/9ae9dac9"><!-- raw HTML omitted -->(9ae9d)<!-- 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/6421c2766c364a9dd37dabac432f792ff1ecc556"><code>6421c27</code></a> chore: release v1.2.1</li> <li><a href="https://github.com/vitest-dev/vitest/commit/f8bff9efb8bba79e6f6207decc35442d510acf2d"><code>f8bff9e</code></a> fix(vitest): throw a syntax error if vi.hoisted is directly exported (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/4969">#4969</a>)</li> <li><a href="https://github.com/vitest-dev/vitest/commit/6c5fe49be4d80c95860878d10c07f7e917b9e60c"><code>6c5fe49</code></a> fix(browser): don't fail when calling vi.useFakeTimers (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/4992">#4992</a>)</li> <li><a href="https://github.com/vitest-dev/vitest/commit/8877e22a090c5a5ccfd9206122649181ba9c44f9"><code>8877e22</code></a> fix(vitest): use development/production conditions when resolving external mo...</li> <li><a href="https://github.com/vitest-dev/vitest/commit/39a7169c8adf2c1c7ceb7a09a40b14c40c780ac5"><code>39a7169</code></a> fix(vitest): check color support for intercepted console logging (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/4966">#4966</a>)</li> <li><a href="https://github.com/vitest-dev/vitest/commit/6c1cc78bac6ec6d7b8e1dab97a99b177887e61aa"><code>6c1cc78</code></a> fix(browser): fix browser testing url for https (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/4855">#4855</a>)</li> <li><a href="https://github.com/vitest-dev/vitest/commit/952c31dfc4706f3f4fd2cb84a253ce8ea2b11e9c"><code>952c31d</code></a> fix(vitest): correctly find module if it has a version query (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/4976">#4976</a>)</li> <li><a href="https://github.com/vitest-dev/vitest/commit/df0db6a9094f91291cd5048319906fb1d80cc06e"><code>df0db6a</code></a> fix(vitest): simplify hoist transform check regex to avoid expensive regex ma...</li> <li><a href="https://github.com/vitest-dev/vitest/commit/db01f6c20900c1a3c58d61c1f0d6fb69acd7a361"><code>db01f6c</code></a> fix(browser): apply inlined workspace config to browser mode vite server (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/4947">#4947</a>)</li> <li><a href="https://github.com/vitest-dev/vitest/commit/6bfdb5f4fc8ffca33633c6f347c1ee6894a1b411"><code>6bfdb5f</code></a> refactor: improve highlighted function (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/4967">#4967</a>)</li> <li>Additional commits viewable in <a href="https://github.com/vitest-dev/vitest/commits/v1.2.1/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.34.6&new-version=1.2.1)](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>
Sign in to join this conversation.