Repository navigation
Commit f200ff7
authored
build(deps-dev): bump vitest from 5.0.5 to 5.1.0 in /hub (#245)
Bumps
[vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)
from 5.0.5 to 5.1.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>v5.1.0</h2>
<h3> 🚀 Features</h3>
<ul>
<li>Add <code>--last-failed</code> to run only failed tests - by <a
href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11558">vitest-dev/vitest#11558</a>
<a href="https://github.com/vitest-dev/vitest/commit/82f634220"><!-- raw
HTML omitted -->(82f63)<!-- raw HTML omitted --></a></li>
<li>Support <code>Temporal.Instant</code> and
<code>Temporal.ZonedDateTime</code> in <code>vi.setSystemTime()</code>
- by <a
href="https://github.com/Prajwal2246"><code>@Prajwal2246</code></a>,
<strong>Prajwal2246</strong>, <strong>Claude Opus 5.5 (1M
context)</strong>, <a
href="https://github.com/hi-ogawa"><code>@hi-ogawa</code></a> and
<strong>Codex (GPT-6)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11321">vitest-dev/vitest#11321</a>
<a href="https://github.com/vitest-dev/vitest/commit/f150f5108"><!-- raw
HTML omitted -->(f150f)<!-- raw HTML omitted --></a></li>
<li>Introduce <code>--since-last-run</code> 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/11516">vitest-dev/vitest#11516</a>
<a href="https://github.com/vitest-dev/vitest/commit/08bd93b7e"><!-- raw
HTML omitted -->(08bd9)<!-- raw HTML omitted --></a></li>
<li>Expose per-retry/repeat attempt result - by <a
href="https://github.com/hi-ogawa"><code>@hi-ogawa</code></a>,
<strong>Codex (GPT-6)</strong> and <strong>Claude Opus 5.5 (1M
context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11232">vitest-dev/vitest#11232</a>
<a href="https://github.com/vitest-dev/vitest/commit/21be412ed"><!-- raw
HTML omitted -->(21be4)<!-- raw HTML omitted --></a></li>
<li>Support fake timers for <code>node:timers</code> and
<code>node:timers/promise</code> - by <a
href="https://github.com/hi-ogawa"><code>@hi-ogawa</code></a>,
<strong>OpenCode</strong> and <strong>Codex (GPT-6)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/10899">vitest-dev/vitest#10899</a>
<a href="https://github.com/vitest-dev/vitest/commit/fbe973cae"><!-- raw
HTML omitted -->(fbe97)<!-- raw HTML omitted --></a></li>
<li>Allow coverage providers to store data in fs module cache - by <a
href="https://github.com/AriPerkkio"><code>@AriPerkkio</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11747">vitest-dev/vitest#11747</a>
<a href="https://github.com/vitest-dev/vitest/commit/54a2bdb81"><!-- raw
HTML omitted -->(54a2b)<!-- raw HTML omitted --></a></li>
<li>Interactively review failed snapshots - by <a
href="https://github.com/macarie"><code>@macarie</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/11325">vitest-dev/vitest#11325</a>
<a href="https://github.com/vitest-dev/vitest/commit/54e5b8a8a"><!-- raw
HTML omitted -->(54e5b)<!-- raw HTML omitted --></a></li>
<li><strong>browser</strong>:
<ul>
<li>Mock modules through an import map - by <a
href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11534">vitest-dev/vitest#11534</a>
<a href="https://github.com/vitest-dev/vitest/commit/707f8adf4"><!-- raw
HTML omitted -->(707f8)<!-- raw HTML omitted --></a></li>
<li>Drop experimental label from trace view - by <a
href="https://github.com/hi-ogawa"><code>@hi-ogawa</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11518">vitest-dev/vitest#11518</a>
<a href="https://github.com/vitest-dev/vitest/commit/44c3c2fcf"><!-- raw
HTML omitted -->(44c3c)<!-- raw HTML omitted --></a></li>
<li>Introduce experimental <code>pointer</code> API - by <a
href="https://github.com/macarie"><code>@macarie</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/10780">vitest-dev/vitest#10780</a>
<a href="https://github.com/vitest-dev/vitest/commit/5dc09f0ea"><!-- raw
HTML omitted -->(5dc09)<!-- raw HTML omitted --></a></li>
<li>Capture aria snapshot in trace view - by <a
href="https://github.com/hi-ogawa"><code>@hi-ogawa</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11492">vitest-dev/vitest#11492</a>
<a href="https://github.com/vitest-dev/vitest/commit/0cc39fb90"><!-- raw
HTML omitted -->(0cc39)<!-- raw HTML omitted --></a></li>
<li>Show trace steps timeline on terminal on test failure - by <a
href="https://github.com/hi-ogawa"><code>@hi-ogawa</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11594">vitest-dev/vitest#11594</a>
<a href="https://github.com/vitest-dev/vitest/commit/973dc84be"><!-- raw
HTML omitted -->(973dc)<!-- raw HTML omitted --></a></li>
<li>Add failure-only trace view mode - by <a
href="https://github.com/hi-ogawa"><code>@hi-ogawa</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11612">vitest-dev/vitest#11612</a>
<a href="https://github.com/vitest-dev/vitest/commit/d5d7d2f06"><!-- raw
HTML omitted -->(d5d7d)<!-- raw HTML omitted --></a></li>
<li>Enable failure-only trace view by default - by <a
href="https://github.com/hi-ogawa"><code>@hi-ogawa</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11766">vitest-dev/vitest#11766</a>
<a href="https://github.com/vitest-dev/vitest/commit/f37b6b707"><!-- raw
HTML omitted -->(f37b6)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>coverage</strong>:
<ul>
<li>V8 to support <code>ignoreNode</code> option - by <a
href="https://github.com/erickserra"><code>@erickserra</code></a> and
<a href="https://github.com/AriPerkkio"><code>@AriPerkkio</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11688">vitest-dev/vitest#11688</a>
<a href="https://github.com/vitest-dev/vitest/commit/e02db0869"><!-- raw
HTML omitted -->(e02db)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>experimental</strong>:
<ul>
<li>Add trace timeline for node - by <a
href="https://github.com/hi-ogawa"><code>@hi-ogawa</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11753">vitest-dev/vitest#11753</a>
<a href="https://github.com/vitest-dev/vitest/commit/4e9855151"><!-- raw
HTML omitted -->(4e985)<!-- raw HTML omitted --></a></li>
<li>Add message option to vi.waitFor and vi.waitUntil - by <a
href="https://github.com/hi-ogawa"><code>@hi-ogawa</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11754">vitest-dev/vitest#11754</a>
<a href="https://github.com/vitest-dev/vitest/commit/fd145d8d6"><!-- raw
HTML omitted -->(fd145)<!-- raw HTML omitted --></a></li>
</ul>
</li>
</ul>
<h3> 🐞 Bug Fixes</h3>
<ul>
<li>Rerun setup files after <code>--changed</code> filtering - by <a
href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11621">vitest-dev/vitest#11621</a>
<a href="https://github.com/vitest-dev/vitest/commit/3a39cfc54"><!-- raw
HTML omitted -->(3a39c)<!-- raw HTML omitted --></a></li>
<li>Return the mock to concurrent imports - by <a
href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11623">vitest-dev/vitest#11623</a>
<a href="https://github.com/vitest-dev/vitest/commit/1453ba690"><!-- raw
HTML omitted -->(1453b)<!-- raw HTML omitted --></a></li>
<li>Don&<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/39">#39</a>;t
fail on console log pending at teardown - by <a
href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11619">vitest-dev/vitest#11619</a>
<a href="https://github.com/vitest-dev/vitest/commit/a60b8e132"><!-- raw
HTML omitted -->(a60b8)<!-- raw HTML omitted --></a></li>
<li>Reference chai types in every d.ts chunk - by <a
href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11618">vitest-dev/vitest#11618</a>
<a href="https://github.com/vitest-dev/vitest/commit/fb150158b"><!-- raw
HTML omitted -->(fb150)<!-- raw HTML omitted --></a></li>
<li>Detect mock factory cycles that form later - by <a
href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11642">vitest-dev/vitest#11642</a>
<a href="https://github.com/vitest-dev/vitest/commit/e95541584"><!-- raw
HTML omitted -->(e9554)<!-- raw HTML omitted --></a></li>
<li>Skip fs module cache for typed import.meta.glob - by <a
href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11666">vitest-dev/vitest#11666</a>
<a href="https://github.com/vitest-dev/vitest/commit/79501f3a1"><!-- raw
HTML omitted -->(79501)<!-- raw HTML omitted --></a></li>
<li>Run tests that import a deleted file - by <a
href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11669">vitest-dev/vitest#11669</a>
<a href="https://github.com/vitest-dev/vitest/commit/80aa13dd6"><!-- raw
HTML omitted -->(80aa1)<!-- raw HTML omitted --></a></li>
<li>Keep syntax highlighting in code frames - by <a
href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11705">vitest-dev/vitest#11705</a>
<a href="https://github.com/vitest-dev/vitest/commit/d39f51548"><!-- raw
HTML omitted -->(d39f5)<!-- raw HTML omitted --></a></li>
<li>Respect CLI filters when prewarming browsers - by <a
href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> and
<strong>Benjamin Tang</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11706">vitest-dev/vitest#11706</a>
<a href="https://github.com/vitest-dev/vitest/commit/109474892"><!-- raw
HTML omitted -->(10947)<!-- raw HTML omitted --></a></li>
<li>Read cached source as utf-8 - by <a
href="https://github.com/juan-fernandez"><code>@juan-fernandez</code></a>
in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11682">vitest-dev/vitest#11682</a>
and <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11709">vitest-dev/vitest#11709</a>
<a href="https://github.com/vitest-dev/vitest/commit/867a5e41c"><!-- raw
HTML omitted -->(867a5)<!-- raw HTML omitted --></a></li>
<li>Inherit <code>watch</code> from the root config in projects - by
<a href="https://github.com/nstepien"><code>@nstepien</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11724">vitest-dev/vitest#11724</a>
<a href="https://github.com/vitest-dev/vitest/commit/77c122c6b"><!-- raw
HTML omitted -->(77c12)<!-- raw HTML omitted --></a></li>
<li>Prefix expect.poll message to all errors - by <a
href="https://github.com/hi-ogawa"><code>@hi-ogawa</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11756">vitest-dev/vitest#11756</a>
<a href="https://github.com/vitest-dev/vitest/commit/cab5877db"><!-- raw
HTML omitted -->(cab58)<!-- raw HTML omitted --></a></li>
<li>Support api.port 0 - by <a
href="https://github.com/hi-ogawa"><code>@hi-ogawa</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11641">vitest-dev/vitest#11641</a>
<a href="https://github.com/vitest-dev/vitest/commit/3667cf8a3"><!-- raw
HTML omitted -->(3667c)<!-- raw HTML omitted --></a></li>
<li>Show attempts in test error logs of retried tests - by <a
href="https://github.com/hi-ogawa"><code>@hi-ogawa</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11696">vitest-dev/vitest#11696</a>
<a href="https://github.com/vitest-dev/vitest/commit/77a94328a"><!-- raw
HTML omitted -->(77a94)<!-- raw HTML omitted --></a></li>
<li>Preserve rootDir in project paths - by <a
href="https://github.com/btea"><code>@btea</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11816">vitest-dev/vitest#11816</a>
<a href="https://github.com/vitest-dev/vitest/commit/bf96dad6a"><!-- raw
HTML omitted -->(bf96d)<!-- raw HTML omitted --></a></li>
<li><strong>browser</strong>:
<ul>
<li>Change default port to 23315 - by <a
href="https://github.com/hi-ogawa"><code>@hi-ogawa</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11640">vitest-dev/vitest#11640</a>
<a href="https://github.com/vitest-dev/vitest/commit/a2ec4166d"><!-- raw
HTML omitted -->(a2ec4)<!-- raw HTML omitted --></a></li>
<li>Advance fake timers in actions and expect.element - by <a
href="https://github.com/julienw"><code>@julienw</code></a>, <a
href="https://github.com/hi-ogawa"><code>@hi-ogawa</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11242">vitest-dev/vitest#11242</a>
<a href="https://github.com/vitest-dev/vitest/commit/6819008ce"><!-- raw
HTML omitted -->(68190)<!-- raw HTML omitted --></a></li>
<li>Drop trace view warning without html reporter - by <a
href="https://github.com/hi-ogawa"><code>@hi-ogawa</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11665">vitest-dev/vitest#11665</a>
<a href="https://github.com/vitest-dev/vitest/commit/e64075ef5"><!-- raw
HTML omitted -->(e6407)<!-- raw HTML omitted --></a></li>
<li>Detect shared chunks via the 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/11661">vitest-dev/vitest#11661</a>
<a href="https://github.com/vitest-dev/vitest/commit/e2e9c64b0"><!-- raw
HTML omitted -->(e2e9c)<!-- raw HTML omitted --></a></li>
<li>Clear screenshot stability timeout - by <a
href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11659">vitest-dev/vitest#11659</a>
<a href="https://github.com/vitest-dev/vitest/commit/fbe37c083"><!-- raw
HTML omitted -->(fbe37)<!-- raw HTML omitted --></a></li>
<li>Measure prepare duration with one clock - by <a
href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11667">vitest-dev/vitest#11667</a>
<a href="https://github.com/vitest-dev/vitest/commit/a3ed42a14"><!-- raw
HTML omitted -->(a3ed4)<!-- raw HTML omitted --></a></li>
<li>Keep failure screenshot per attempt - by <a
href="https://github.com/hi-ogawa"><code>@hi-ogawa</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11694">vitest-dev/vitest#11694</a>
<a href="https://github.com/vitest-dev/vitest/commit/a5022655d"><!-- raw
HTML omitted -->(a5022)<!-- raw HTML omitted --></a></li>
<li>Print trace timeline of each attempt - by <a
href="https://github.com/hi-ogawa"><code>@hi-ogawa</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11695">vitest-dev/vitest#11695</a>
<a href="https://github.com/vitest-dev/vitest/commit/272296e5d"><!-- raw
HTML omitted -->(27229)<!-- 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/7a3844954d8753fc0d5bed76a96ffd3a21716c22"><code>7a38449</code></a>
chore: release v5.1.0 (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11838">#11838</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/a5ec316f8e8bf133154a5d5cf43fd5437319e455"><code>a5ec316</code></a>
fix(vm): keep assignable accessor globals writable in node environment
(<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11834">#11834</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/e46c6c1847462d62f9ff5ea4c351fe510a4edf2e"><code>e46c6c1</code></a>
refactor: share trace types and utils (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11825">#11825</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/9e23ce57cc112205126b7d37d68126860126b953"><code>9e23ce5</code></a>
refactor(snapshot): unify review update with <code>SnapshotState</code>
update (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11790">#11790</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/a0e33cc8b063b4bd8ccd95235532d072d83f75ad"><code>a0e33cc</code></a>
chore: eliminate lint error (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11822">#11822</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/fd145d8d60fd877a2eb9622b6771edc08ef26372"><code>fd145d8</code></a>
feat(experimental): add message option to vi.waitFor and vi.waitUntil
(<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11754">#11754</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/4e985515109b4fd9fcdc2e81d2b1c5f264799cf7"><code>4e98551</code></a>
feat(experimental): add trace timeline for node (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11753">#11753</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/bf96dad6ab66fe01a1a2c008754f999399309c85"><code>bf96dad</code></a>
fix: preserve rootDir in project paths (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11816">#11816</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/54e5b8a8a0d7f007ec69b604fec3446b0e88f2c6"><code>54e5b8a</code></a>
feat: interactively review failed snapshots (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11325">#11325</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/42770759fcca4ff82ab4df49e4ee241f4f680e99"><code>4277075</code></a>
fix(expect): keep soft .resolves/.rejects error location (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11792">#11792</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/vitest-dev/vitest/commits/v5.1.0/packages/vitest">compare
view</a></li>
</ul>
</details>
<br />
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>1 parent 87a8a1a commit f200ff7
2 files changed
Lines changed: 18 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
0 commit comments