Bump vitest from 0.31.4 to 0.32.0 #77

Merged
dependabot[bot] merged 1 commits from dependabot/npm_and_yarn/vitest-0.32.0 into main 2023-06-08 01:20:28 +00:00
dependabot[bot] commented 2023-06-07 01:08:47 +00:00 (Migrated from github.com)

Bumps vitest from 0.31.4 to 0.32.0.

Release notes

Sourced from vitest's releases.

v0.32.0

   🚨 Breaking Changes

   🚀 Features

   🐞 Bug Fixes

    View changes on GitHub
Commits
  • 8d3cf9d chore: release v0.32.0
  • c1004e1 fix(mocker)!: don't restore mock to the original if module is mocked (#3518)
  • 821126f feat!: add @vitest/coverage-v8 package (#3339)
  • 19ecc6c fix!: improve globs (#3392)
  • 1ad63b0 feat!: throw an error, if module cannot be resolved (#3307)
  • c37cdeb fix: the cli option is passed to coverage.exclude (#3506)
  • 7c687ad feat(expect): support expect.soft (#3507)
  • dfb46e6 chore(deps): update dependency @​edge-runtime/vm to v3 (#3511)
  • 5b73cbf fix(watch): junit reporter fails to re-generate report (#3496)
  • 5fc6aa2 chore(deps): update dependency jsdom to v22 (#3512)
  • 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 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.31.4 to 0.32.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>v0.32.0</h2> <h3>   🚨 Breaking Changes</h3> <ul> <li>Throw an error, if the module cannot be resolved  -  by <a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/3307">vitest-dev/vitest#3307</a> <a href="https://github.com/vitest-dev/vitest/commit/1ad63b0c"><!-- raw HTML omitted -->(1ad63)<!-- raw HTML omitted --></a></li> <li>Improve globs  -  by <a href="https://github.com/nickmccurdy"><code>@​nickmccurdy</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/3392">vitest-dev/vitest#3392</a> <a href="https://github.com/vitest-dev/vitest/commit/19ecc6c7"><!-- raw HTML omitted -->(19ecc)<!-- raw HTML omitted --></a></li> <li>Add <code>@vitest/coverage-v8</code> package  -  by <a href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/3339">vitest-dev/vitest#3339</a> <a href="https://github.com/vitest-dev/vitest/commit/821126f1"><!-- raw HTML omitted -->(82112)<!-- raw HTML omitted --></a></li> <li><strong>mocker</strong>: Don't restore mock to the original if the module is automocked  -  by <a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/3518">vitest-dev/vitest#3518</a> <a href="https://github.com/vitest-dev/vitest/commit/c1004e14"><!-- raw HTML omitted -->(c1004)<!-- raw HTML omitted --></a></li> </ul> <h3>   🚀 Features</h3> <ul> <li>Support ssr optimizer  -  by <a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/3490">vitest-dev/vitest#3490</a> <a href="https://github.com/vitest-dev/vitest/commit/898422b0"><!-- raw HTML omitted -->(89842)<!-- raw HTML omitted --></a></li> <li>Image type add apng  -  by <a href="https://github.com/btea"><code>@​btea</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/3498">vitest-dev/vitest#3498</a> <a href="https://github.com/vitest-dev/vitest/commit/a53c2151"><!-- raw HTML omitted -->(a53c2)<!-- raw HTML omitted --></a></li> <li><strong>expect</strong>: Support <code>expect.soft</code>  -  by <a href="https://github.com/Dunqing"><code>@​Dunqing</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/3507">vitest-dev/vitest#3507</a> <a href="https://github.com/vitest-dev/vitest/commit/7c687ada"><!-- raw HTML omitted -->(7c687)<!-- raw HTML omitted --></a></li> <li><strong>runner</strong>: Support using function/class as <code>describe</code>/<code>test</code> name  -  by <a href="https://github.com/fenghan34"><code>@​fenghan34</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/3497">vitest-dev/vitest#3497</a> <a href="https://github.com/vitest-dev/vitest/commit/15253890"><!-- raw HTML omitted -->(15253)<!-- raw HTML omitted --></a></li> </ul> <h3>   🐞 Bug Fixes</h3> <ul> <li>The cli option is passed to coverage.exclude  -  by <a href="https://github.com/btea"><code>@​btea</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/3506">vitest-dev/vitest#3506</a> <a href="https://github.com/vitest-dev/vitest/commit/c37cdebe"><!-- raw HTML omitted -->(c37cd)<!-- raw HTML omitted --></a></li> <li><strong>optimizer</strong>: Always respect optimizeDeps even if include/exclude is overridden  -  by <a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/3488">vitest-dev/vitest#3488</a> <a href="https://github.com/vitest-dev/vitest/commit/eb285ea0"><!-- raw HTML omitted -->(eb285)<!-- raw HTML omitted --></a></li> <li><strong>runner</strong>: Ensure Vitest is deduped  -  by <a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/3489">vitest-dev/vitest#3489</a> <a href="https://github.com/vitest-dev/vitest/commit/2deb70ab"><!-- raw HTML omitted -->(2deb7)<!-- raw HTML omitted --></a></li> <li><strong>ui</strong>: Don't cache coverage assets  -  by <a href="https://github.com/userquin"><code>@​userquin</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/3508">vitest-dev/vitest#3508</a> <a href="https://github.com/vitest-dev/vitest/commit/952b5be6"><!-- raw HTML omitted -->(952b5)<!-- raw HTML omitted --></a></li> <li><strong>vite-node</strong>: Circular import stuck  -  by <a href="https://github.com/Dunqing"><code>@​Dunqing</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/3480">vitest-dev/vitest#3480</a> <a href="https://github.com/vitest-dev/vitest/commit/50f0700d"><!-- raw HTML omitted -->(50f07)<!-- raw HTML omitted --></a></li> <li><strong>watch</strong>: Junit reporter fails to re-generate report  -  by <a href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/3496">vitest-dev/vitest#3496</a> <a href="https://github.com/vitest-dev/vitest/commit/5b73cbf8"><!-- raw HTML omitted -->(5b73c)<!-- raw HTML omitted --></a></li> </ul> <h5>    <a href="https://github.com/vitest-dev/vitest/compare/v0.31.4...v0.32.0">View changes on GitHub</a></h5> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/vitest-dev/vitest/commit/8d3cf9db739ddc89ab05cbf00a7cd3fc44ddfc98"><code>8d3cf9d</code></a> chore: release v0.32.0</li> <li><a href="https://github.com/vitest-dev/vitest/commit/c1004e1493c00cb37ef39c547c51fb8bc49c4203"><code>c1004e1</code></a> fix(mocker)!: don't restore mock to the original if module is mocked (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/3518">#3518</a>)</li> <li><a href="https://github.com/vitest-dev/vitest/commit/821126f165046f3377b345664fad200b0f799d34"><code>821126f</code></a> feat!: add <code>@vitest/coverage-v8</code> package (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/3339">#3339</a>)</li> <li><a href="https://github.com/vitest-dev/vitest/commit/19ecc6c74685a192bdba61d5f40dec3d19ecb0aa"><code>19ecc6c</code></a> fix!: improve globs (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/3392">#3392</a>)</li> <li><a href="https://github.com/vitest-dev/vitest/commit/1ad63b0c61865addf857ce2846496c7db47177fc"><code>1ad63b0</code></a> feat!: throw an error, if module cannot be resolved (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/3307">#3307</a>)</li> <li><a href="https://github.com/vitest-dev/vitest/commit/c37cdebe5e7025f9ded3acedd534704124263210"><code>c37cdeb</code></a> fix: the cli option is passed to coverage.exclude (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/3506">#3506</a>)</li> <li><a href="https://github.com/vitest-dev/vitest/commit/7c687adafd17a631f38843c6fcbd1c7b290de5f5"><code>7c687ad</code></a> feat(expect): support <code>expect.soft</code> (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/3507">#3507</a>)</li> <li><a href="https://github.com/vitest-dev/vitest/commit/dfb46e66316ab9aad7f2d007d16ffbe5c48001e3"><code>dfb46e6</code></a> chore(deps): update dependency <code>@​edge-runtime/vm</code> to v3 (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/3511">#3511</a>)</li> <li><a href="https://github.com/vitest-dev/vitest/commit/5b73cbf8eba00169330e3e88693dc12df7bfaf23"><code>5b73cbf</code></a> fix(watch): junit reporter fails to re-generate report (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/3496">#3496</a>)</li> <li><a href="https://github.com/vitest-dev/vitest/commit/5fc6aa2b77404d805ec8fcc745c265d4f256b458"><code>5fc6aa2</code></a> chore(deps): update dependency jsdom to v22 (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/3512">#3512</a>)</li> <li>Additional commits viewable in <a href="https://github.com/vitest-dev/vitest/commits/v0.32.0/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.31.4&new-version=0.32.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 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.