Skip to content

Commit

Permalink
Bump vitest from 0.34.0 to 0.34.6 (#11)
Browse files Browse the repository at this point in the history
Bumps
[vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)
from 0.34.0 to 0.34.6.
<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.6</h2>
<h3>   🐞 Bug Fixes</h3>
<ul>
<li>Overwrite global URL with environment's  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/4164">vitest-dev/vitest#4164</a>
<a href="https://github.com/vitest-dev/vitest/commit/cbe133da"><!-- raw
HTML omitted -->(cbe13)<!-- raw HTML omitted --></a></li>
<li>Correctly resolve external dependencies loaded by custom
environments  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/4196">vitest-dev/vitest#4196</a>
<a href="https://github.com/vitest-dev/vitest/commit/e340802f"><!-- raw
HTML omitted -->(e3408)<!-- raw HTML omitted --></a></li>
<li><strong>runner</strong>: The fixture of <code>test.extend</code>
should be init once time in all test  -  by <a
href="https://github.com/Dunqing"><code>@​Dunqing</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/4168">vitest-dev/vitest#4168</a>
<a href="https://github.com/vitest-dev/vitest/commit/730b29ec"><!-- raw
HTML omitted -->(730b2)<!-- raw HTML omitted --></a></li>
</ul>
<h5>    <a
href="https://github.com/vitest-dev/vitest/compare/v0.34.5...v0.34.6">View
changes on GitHub</a></h5>
<h2>v0.34.5</h2>
<h3>   🚀 Features</h3>
<ul>
<li><strong>config</strong>:
<ul>
<li>Add <code>diff</code> option  -  by <a
href="https://github.com/fenghan34"><code>@​fenghan34</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/4063">vitest-dev/vitest#4063</a>
<a href="https://github.com/vitest-dev/vitest/commit/b50cf7ad"><!-- raw
HTML omitted -->(b50cf)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>coverage</strong>:
<ul>
<li>Add <code>coverage['100']</code> to istanbul provider  -  by <a
href="https://github.com/marcelobotega"><code>@​marcelobotega</code></a>
in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/4109">vitest-dev/vitest#4109</a>
<a href="https://github.com/vitest-dev/vitest/commit/a7e09939"><!-- raw
HTML omitted -->(a7e09)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>vitest</strong>:
<ul>
<li>Support <code>vi.waitFor</code> method  -  by <a
href="https://github.com/Dunqing"><code>@​Dunqing</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/4113">vitest-dev/vitest#4113</a>
<a href="https://github.com/vitest-dev/vitest/commit/d79cb44b"><!-- raw
HTML omitted -->(d79cb)<!-- raw HTML omitted --></a></li>
<li>Allow using unprocessed environment files  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/4098">vitest-dev/vitest#4098</a>
<a href="https://github.com/vitest-dev/vitest/commit/1aee13af"><!-- raw
HTML omitted -->(1aee1)<!-- raw HTML omitted --></a></li>
<li>Support <code>vi.waitUntil</code> method  -  by <a
href="https://github.com/Dunqing"><code>@​Dunqing</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/4129">vitest-dev/vitest#4129</a>
<a href="https://github.com/vitest-dev/vitest/commit/e0ac97cf"><!-- raw
HTML omitted -->(e0ac9)<!-- raw HTML omitted --></a></li>
</ul>
</li>
</ul>
<h3>   🐞 Bug Fixes</h3>
<ul>
<li>Update HappyDOMOptions to be compatible with v12  -  by <a
href="https://github.com/anthonyblond"><code>@​anthonyblond</code></a>
in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/4135">vitest-dev/vitest#4135</a>
<a href="https://github.com/vitest-dev/vitest/commit/e8797534"><!-- raw
HTML omitted -->(e8797)<!-- raw HTML omitted --></a></li>
<li>Print value shape when .resolves and .rejects fails  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/4137">vitest-dev/vitest#4137</a>
<a href="https://github.com/vitest-dev/vitest/commit/e649d78f"><!-- raw
HTML omitted -->(e649d)<!-- raw HTML omitted --></a></li>
<li><strong>docs</strong>:
<ul>
<li>Fix lint errors on onConsoleLog example  -  by <a
href="https://github.com/marcelobotega"><code>@​marcelobotega</code></a>
in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/4116">vitest-dev/vitest#4116</a>
<a href="https://github.com/vitest-dev/vitest/commit/ba1e7335"><!-- raw
HTML omitted -->(ba1e7)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>expect</strong>:
<ul>
<li>Improve the error message when nothing is thrown when testing
<code>toThrow</code>  -  by <a
href="https://github.com/Dunqing"><code>@​Dunqing</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/3979">vitest-dev/vitest#3979</a>
<a href="https://github.com/vitest-dev/vitest/commit/725a0146"><!-- raw
HTML omitted -->(725a0)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>happy-dom</strong>:
<ul>
<li>Catch errors in happy-dom  -  by <a
href="https://github.com/capricorn86"><code>@​capricorn86</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/4140">vitest-dev/vitest#4140</a>
<a href="https://github.com/vitest-dev/vitest/commit/c21c0efa"><!-- raw
HTML omitted -->(c21c0)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>runner</strong>:
<ul>
<li>Restore leading space in <code>testNamePattern</code>  -  by <a
href="https://github.com/segrey"><code>@​segrey</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/4103">vitest-dev/vitest#4103</a>
and <a
href="https://redirect.github.com/vitest-dev/vitest/issues/4104">vitest-dev/vitest#4104</a>
<a href="https://github.com/vitest-dev/vitest/commit/3c305857"><!-- raw
HTML omitted -->(3c305)<!-- raw HTML omitted --></a></li>
<li><code>test.extend</code> doesn't work in hooks without test  -  by
<a href="https://github.com/Dunqing"><code>@​Dunqing</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/4065">vitest-dev/vitest#4065</a>
<a href="https://github.com/vitest-dev/vitest/commit/175c752d"><!-- raw
HTML omitted -->(175c7)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>snapshot</strong>:
<ul>
<li>Support mix of normal/with placeholders snapshots  -  by <a
href="https://github.com/RobertPechaCZ"><code>@​RobertPechaCZ</code></a>
in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/4118">vitest-dev/vitest#4118</a>
<a href="https://github.com/vitest-dev/vitest/commit/01e01bfc"><!-- raw
HTML omitted -->(01e01)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>ui</strong>:
<ul>
<li>Correctly render ansi diff  -  by <a
href="https://github.com/so1ve"><code>@​so1ve</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/3810">vitest-dev/vitest#3810</a>
<a href="https://github.com/vitest-dev/vitest/commit/8c3152fa"><!-- raw
HTML omitted -->(8c315)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>vite-node</strong>:
<ul>
<li>Export <code>SourceMapInput</code> to fix
CYCLIC_CROSS_CHUNK_REEXPORT  -  by <a
href="https://github.com/Dunqing"><code>@​Dunqing</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/4128">vitest-dev/vitest#4128</a>
<a href="https://github.com/vitest-dev/vitest/commit/ca70a779"><!-- raw
HTML omitted -->(ca70a)<!-- raw HTML omitted --></a></li>
<li>Align vite dependency version with vitest  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> <a
href="https://github.com/vitest-dev/vitest/commit/90ff899b"><!-- raw
HTML omitted -->(90ff8)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>vitest</strong>:
<ul>
<li>Rerun tests if a file loaded with query changes  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/4130">vitest-dev/vitest#4130</a>
<a href="https://github.com/vitest-dev/vitest/commit/a084ceaf"><!-- raw
HTML omitted -->(a084c)<!-- raw HTML omitted --></a></li>
<li>Inject &quot;define&quot; in workspaces  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/4096">vitest-dev/vitest#4096</a>
<a href="https://github.com/vitest-dev/vitest/commit/b4d5ae23"><!-- raw
HTML omitted -->(b4d5a)<!-- raw HTML omitted --></a></li>
</ul>
</li>
</ul>
<h3>   🏎 Performance</h3>
<ul>
<li>Use lazy require 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/4136">vitest-dev/vitest#4136</a>
<a href="https://github.com/vitest-dev/vitest/commit/21ba4935"><!-- raw
HTML omitted -->(21ba4)<!-- raw HTML omitted --></a></li>
</ul>
<h5>    <a
href="https://github.com/vitest-dev/vitest/compare/v0.34.4...v0.34.5">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/23c9db9ac1fee4599c602befecd2b73e229dac36"><code>23c9db9</code></a>
chore: release v0.34.6</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/e340802f68c2d9b54266e60d3028b36a7a20b4bc"><code>e340802</code></a>
fix: correctly resolve external dependencies loaded by custom
environments (#...</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/ab2354fc0c72e17cebdb9619e55c8ecb64ffad46"><code>ab2354f</code></a>
chore: Bump chai version to address CVE-2023-43646 (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/4195">#4195</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/cbe133daf5899973d710797089dbc5f21a981398"><code>cbe133d</code></a>
fix: overwrite global URL with environment's (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/4164">#4164</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/859d236878739ff64f14a066c34a0d12588e692f"><code>859d236</code></a>
chore: release v0.34.5</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/2f7d42c99c59ce8acdf7bd5bae6bb7434b24068e"><code>2f7d42c</code></a>
chore: update threadsCount logic to use availableParallelism (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/4126">#4126</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/c21c0efacef7c0ea2c5a33470f62236059900be6"><code>c21c0ef</code></a>
fix(happy-dom): catch errors in happy-dom (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/4140">#4140</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/b50cf7ad9c5062697bd47b8fcaca2fc3029fb79c"><code>b50cf7a</code></a>
feat(config): add <code>diff</code> option (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/4063">#4063</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/b4d5ae2366ba5fd6481531fa068b4c5260770ae8"><code>b4d5ae2</code></a>
fix(vitest): inject &quot;define&quot; in workspaces (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/4096">#4096</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/a084ceafb371b1f6078bf3b63ae0b3fd47bdd4d6"><code>a084cea</code></a>
fix(vitest): rerun tests if a file loaded with query changes (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/4130">#4130</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/vitest-dev/vitest/commits/v0.34.6/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.0&new-version=0.34.6)](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>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Andrew Duffy <[email protected]>
  • Loading branch information
dependabot[bot] and a10y authored Oct 30, 2023
1 parent 684748c commit 9bbcc71
Show file tree
Hide file tree
Showing 2 changed files with 182 additions and 179 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/automerge-dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Approve a PR
run: gh pr review --approve "$PR_URL" && gh pr merge --auto "$PR_URL"
run: gh pr review --approve "$PR_URL" && gh pr merge --auto --squash "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
Loading

0 comments on commit 9bbcc71

Please sign in to comment.