Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from probot:master #1

Open
wants to merge 20 commits into
base: master
Choose a base branch
from

Conversation

pull[bot]
Copy link

@pull pull bot commented May 8, 2024

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

Summary by CodeRabbit

  • New Features

    • Enhanced the CI workflow with an additional job step for improved continuous integration processes.
    • Improved HTTP header management by adding a JSON content type header and removing the host header to ensure better server compatibility.
  • Updates

    • Upgraded development dependencies for improved functionality and performance, including major updates to Octokit and Vitest.
  • Configuration Changes

    • Streamlined TypeScript configuration by removing specific compiler options, potentially leading to a more flexible compilation environment.

renovate bot and others added 2 commits February 17, 2024 14:31
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: wolfy1339 <4595477+wolfy1339@users.noreply.github.com>
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite)
from 5.0.12 to 5.2.8.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/vitejs/vite/releases">vite's
releases</a>.</em></p>
<blockquote>
<h2>create-vite@5.2.3</h2>
<p>Please refer to <a
href="https://github.com/vitejs/vite/blob/create-vite@5.2.3/packages/create-vite/CHANGELOG.md">CHANGELOG.md</a>
for details.</p>
<h2>create-vite@5.2.2</h2>
<p>Please refer to <a
href="https://github.com/vitejs/vite/blob/create-vite@5.2.2/packages/create-vite/CHANGELOG.md">CHANGELOG.md</a>
for details.</p>
<h2>create-vite@5.2.1</h2>
<p>Please refer to <a
href="https://github.com/vitejs/vite/blob/create-vite@5.2.1/packages/create-vite/CHANGELOG.md">CHANGELOG.md</a>
for details.</p>
<h2>create-vite@5.2.0</h2>
<p>Please refer to <a
href="https://github.com/vitejs/vite/blob/create-vite@5.2.0/packages/create-vite/CHANGELOG.md">CHANGELOG.md</a>
for details.</p>
<h2>create-vite@5.1.0</h2>
<p>Please refer to <a
href="https://github.com/vitejs/vite/blob/create-vite@5.1.0/packages/create-vite/CHANGELOG.md">CHANGELOG.md</a>
for details.</p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md">vite's
changelog</a>.</em></p>
<blockquote>
<h2><!-- raw HTML omitted -->5.2.8 (2024-04-03)<!-- raw HTML omitted
--></h2>
<ul>
<li>fix: csp nonce injection when no closing tag (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16281">#16281</a>)
(<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16282">#16282</a>)
(<a href="https://github.com/vitejs/vite/commit/3c85c6b">3c85c6b</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/16281">#16281</a>
<a
href="https://redirect.github.com/vitejs/vite/issues/16282">#16282</a></li>
<li>fix: do not access document in <code>/@vite/client</code> when not
defined (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16318">#16318</a>)
(<a href="https://github.com/vitejs/vite/commit/646319c">646319c</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/16318">#16318</a></li>
<li>fix: fix sourcemap when using object as <code>define</code> value
(<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/15805">#15805</a>)
(<a href="https://github.com/vitejs/vite/commit/445c4f2">445c4f2</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/15805">#15805</a></li>
<li>fix(css): unknown file error happened with lightningcss (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16306">#16306</a>)
(<a href="https://github.com/vitejs/vite/commit/01af308">01af308</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/16306">#16306</a></li>
<li>fix(hmr): multiple updates happened when invalidate is called while
multiple tabs open (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16307">#16307</a>)
(<a href="https://github.com/vitejs/vite/commit/21cc10b">21cc10b</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/16307">#16307</a></li>
<li>fix(scanner): duplicate modules for same id if glob is used in
html-like types (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16305">#16305</a>)
(<a href="https://github.com/vitejs/vite/commit/eca68fa">eca68fa</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/16305">#16305</a></li>
<li>chore(deps): update all non-major dependencies (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16325">#16325</a>)
(<a href="https://github.com/vitejs/vite/commit/a78e265">a78e265</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/16325">#16325</a></li>
<li>refactor: use types from sass instead of <code>@​types/sass</code>
(<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16340">#16340</a>)
(<a href="https://github.com/vitejs/vite/commit/4581e83">4581e83</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/16340">#16340</a></li>
</ul>
<h2><!-- raw HTML omitted -->5.2.7 (2024-03-29)<!-- raw HTML omitted
--></h2>
<ul>
<li>chore: deprecate splitVendorChunkPlugin (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16274">#16274</a>)
(<a href="https://github.com/vitejs/vite/commit/45a06da">45a06da</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/16274">#16274</a></li>
<li>fix: skip injecting <code>__vite__mapDeps</code> when it's not used
(<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16271">#16271</a>)
(<a href="https://github.com/vitejs/vite/commit/890538a">890538a</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/16271">#16271</a></li>
<li>fix(deps): update all non-major dependencies (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16258">#16258</a>)
(<a href="https://github.com/vitejs/vite/commit/7caef42">7caef42</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/16258">#16258</a></li>
<li>fix(hmr): don't mutate module graph when collecting modules (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16302">#16302</a>)
(<a href="https://github.com/vitejs/vite/commit/dfffea1">dfffea1</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/16302">#16302</a></li>
<li>fix(hmr): trigger hmr for missing file import errored module after
file creation (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16303">#16303</a>)
(<a href="https://github.com/vitejs/vite/commit/ffedc06">ffedc06</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/16303">#16303</a></li>
<li>fix(sourcemap): don't warn even if the sourcesContent is an empty
string (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16273">#16273</a>)
(<a href="https://github.com/vitejs/vite/commit/24e376a">24e376a</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/16273">#16273</a></li>
<li>feat(hmr): reload when HTML file is created/deleted (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16288">#16288</a>)
(<a href="https://github.com/vitejs/vite/commit/1f53796">1f53796</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/16288">#16288</a></li>
</ul>
<h2><!-- raw HTML omitted -->5.2.6 (2024-03-24)<!-- raw HTML omitted
--></h2>
<ul>
<li>fix: <code>fs.deny</code> with globs with directories (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16250">#16250</a>)
(<a href="https://github.com/vitejs/vite/commit/ba5269c">ba5269c</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/16250">#16250</a></li>
</ul>
<h2><!-- raw HTML omitted -->5.2.5 (2024-03-24)<!-- raw HTML omitted
--></h2>
<ul>
<li>fix: avoid SSR requests in waitForRequestIdle (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16246">#16246</a>)
(<a href="https://github.com/vitejs/vite/commit/7093f77">7093f77</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/16246">#16246</a></li>
<li>docs: clarify enforce vs hook.order (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16226">#16226</a>)
(<a href="https://github.com/vitejs/vite/commit/3a73e48">3a73e48</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/16226">#16226</a></li>
</ul>
<h2><!-- raw HTML omitted -->5.2.4 (2024-03-23)<!-- raw HTML omitted
--></h2>
<ul>
<li>fix: dont resolve imports with malformed URI (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16244">#16244</a>)
(<a href="https://github.com/vitejs/vite/commit/fbf69d5">fbf69d5</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/16244">#16244</a></li>
</ul>
<h2><!-- raw HTML omitted -->5.2.3 (2024-03-22)<!-- raw HTML omitted
--></h2>
<ul>
<li>fix: handle warmup request error correctly (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16223">#16223</a>)
(<a href="https://github.com/vitejs/vite/commit/d7c5256">d7c5256</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/16223">#16223</a></li>
<li>fix: skip encode if is data uri (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16233">#16233</a>)
(<a href="https://github.com/vitejs/vite/commit/8617e76">8617e76</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/16233">#16233</a></li>
<li>fix(optimizer): fix <code>optimizeDeps.include</code> glob syntax
for <code>./*</code> exports (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16230">#16230</a>)
(<a href="https://github.com/vitejs/vite/commit/f184c80">f184c80</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/16230">#16230</a></li>
<li>fix(runtime): fix sourcemap with <code>prepareStackTrace</code> (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16220">#16220</a>)
(<a href="https://github.com/vitejs/vite/commit/dad7f4f">dad7f4f</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/16220">#16220</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/vitejs/vite/commit/8b8d4024fb07a96e7a6707dbdc1a08c40f397eb9"><code>8b8d402</code></a>
release: v5.2.8</li>
<li><a
href="https://github.com/vitejs/vite/commit/646319cc845f24a12ac5f8f6d176597a5bf66fd3"><code>646319c</code></a>
fix: do not access document in <code>/@vite/client</code> when not
defined (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16318">#16318</a>)</li>
<li><a
href="https://github.com/vitejs/vite/commit/445c4f21583334edb37c7b32a1474903a0852b01"><code>445c4f2</code></a>
fix: fix sourcemap when using object as <code>define</code> value (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/15805">#15805</a>)</li>
<li><a
href="https://github.com/vitejs/vite/commit/a78e265822ebf06c5775c2083ee345e974488c6b"><code>a78e265</code></a>
chore(deps): update all non-major dependencies (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16325">#16325</a>)</li>
<li><a
href="https://github.com/vitejs/vite/commit/4581e8371d0c2481e859f4496f928d1dcacd3a9d"><code>4581e83</code></a>
refactor: use types from sass instead of <code>@​types/sass</code> (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16340">#16340</a>)</li>
<li><a
href="https://github.com/vitejs/vite/commit/3c85c6b52edbae22cf812e72680d210a644d9313"><code>3c85c6b</code></a>
fix: csp nonce injection when no closing tag (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16281">#16281</a>)
(<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16282">#16282</a>)</li>
<li><a
href="https://github.com/vitejs/vite/commit/21cc10bfda99a5818bfd709beff260e72b4b4ec5"><code>21cc10b</code></a>
fix(hmr): multiple updates happened when invalidate is called while
multiple ...</li>
<li><a
href="https://github.com/vitejs/vite/commit/01af308dfd271df604a3fc9e9b3a9fcc2063e5d8"><code>01af308</code></a>
fix(css): unknown file error happened with lightningcss (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16306">#16306</a>)</li>
<li><a
href="https://github.com/vitejs/vite/commit/eca68fa942818b69d08eae4dceaf46a330684a5e"><code>eca68fa</code></a>
fix(scanner): duplicate modules for same id if glob is used in html-like
type...</li>
<li><a
href="https://github.com/vitejs/vite/commit/ad246da9897dc90b05ddc23ef96ae14ff490c7c9"><code>ad246da</code></a>
release: v5.2.7</li>
<li>Additional commits viewable in <a
href="https://github.com/vitejs/vite/commits/v5.2.8/packages/vite">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=vite&package-manager=npm_and_yarn&previous-version=5.0.12&new-version=5.2.8)](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)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/probot/smee-client/network/alerts).

</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
renovate bot and others added 2 commits July 8, 2024 16:41
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@vitest/coverage-v8](https://togithub.com/vitest-dev/vitest/tree/main/packages/coverage-v8#readme)
([source](https://togithub.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8))
| [`^1.0.0` ->
`^2.0.0`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-v8/1.2.2/2.0.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-v8/2.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-v8/2.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-v8/1.2.2/2.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-v8/1.2.2/2.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [vitest](https://togithub.com/vitest-dev/vitest)
([source](https://togithub.com/vitest-dev/vitest/tree/HEAD/packages/vitest))
| [`^1.0.0` ->
`^2.0.0`](https://renovatebot.com/diffs/npm/vitest/1.2.2/2.0.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/2.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/2.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/1.2.2/2.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/1.2.2/2.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>vitest-dev/vitest (@&#8203;vitest/coverage-v8)</summary>

###
[`v2.0.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v2.0.0)

[Compare
Source](https://togithub.com/vitest-dev/vitest/compare/v1.6.0...v2.0.0)

Vitest 2.0 is here! This release page lists all changes made to the
project during the beta. For the migration guide, please refer to the
[documentation](https://vitest.dev/guide/migration.html#migrating-to-vitest-2-0).

##### 🚨 Breaking Changes

- Simplify mock function generic types and align with jest - by
**[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa)** in
[https://github.com/vitest-dev/vitest/pull/4784](https://togithub.com/vitest-dev/vitest/pull/4784)
[<samp>(a0c1d37)</samp>](https://togithub.com/vitest-dev/vitest/commit/a0c1d371edb35abfa0e6f53b05086a54d2ecc0a6)
- Remove `--segfault-retry` - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5514](https://togithub.com/vitest-dev/vitest/issues/5514)
[<samp>(ed60e)</samp>](https://togithub.com/vitest-dev/vitest/commit/ed60e405e)
- This flag was introduced to combat `threads` segfaults. Our current
recommendation is to use the new default `forks` pool instead.
- Run suite hooks in a stack - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5609](https://togithub.com/vitest-dev/vitest/issues/5609)
[<samp>(1277d)</samp>](https://togithub.com/vitest-dev/vitest/commit/1277dc1e3)
- This feels like a more sensible default. Especially with the new
[`onTestFinished`](https://vitest.dev/api/#ontestfinished) hook. This
can make your tests run a little bit slower.
- Enable `coverage.ignoreEmptyLines` by default - by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/5543](https://togithub.com/vitest-dev/vitest/issues/5543)
[<samp>(31994)</samp>](https://togithub.com/vitest-dev/vitest/commit/31994942f)
- ⚠️ This change may cause significant differences in your coverage
results compared to Vitest v1. These changes are expected as coverage
reporting is now more accurate. See
[https://github.com/vitest-dev/vitest/issues/5423](https://togithub.com/vitest-dev/vitest/issues/5423)
for more details.
- Add correct location and snapshot fields in json reporter - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5434](https://togithub.com/vitest-dev/vitest/issues/5434)
[<samp>(bcccc)</samp>](https://togithub.com/vitest-dev/vitest/commit/bcccce6df)
- Previously, the `location` field pointed to the error location instead
of the test location. Now it is aligned with jest and contains the
`line` and `column` of a test function, but requires
[`includeTaskLocation`](https://vitest.dev/config/#includeTaskLocation)
to be enabled.
- Update dependency chai to v5 - by **renovate\[bot]** and
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5135](https://togithub.com/vitest-dev/vitest/issues/5135)
[<samp>(73646)</samp>](https://togithub.com/vitest-dev/vitest/commit/73646b638)
- Remove watchExclude - by
[@&#8203;patak-dev](https://togithub.com/patak-dev) in
[https://github.com/vitest-dev/vitest/issues/5177](https://togithub.com/vitest-dev/vitest/issues/5177)
[<samp>(d7371)</samp>](https://togithub.com/vitest-dev/vitest/commit/d7371eae3)
- Change default `pool` to `'forks'` - by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/5047](https://togithub.com/vitest-dev/vitest/issues/5047)
[<samp>(7f8f9)</samp>](https://togithub.com/vitest-dev/vitest/commit/7f8f9c0c0)
    -   This change is done for compatibility issues
- This pool may be slightly slower than previous `threads` pool:
https://vitest.dev/guide/improving-performance.html#pool
- `--merge-reports` to support coverage - by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/5736](https://togithub.com/vitest-dev/vitest/issues/5736)
[<samp>(b7438)</samp>](https://togithub.com/vitest-dev/vitest/commit/b7438b9be)
- Add promise-based return assertions, do not auto-resolve returned
promises - by [@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5749](https://togithub.com/vitest-dev/vitest/issues/5749)
[<samp>(5f710)</samp>](https://togithub.com/vitest-dev/vitest/commit/5f710182e)
- ⚠️ Vitest no longer unwraps promises in `spy.mock.returns`. If the
function is async or returns a promise, it will always succeed and have
a `Promise` in `results`. To make migration easier, we introduced
`spy.mock.settledResults` that unwraps promises and
`expect().toHaveResolved()` matcher that accepts unwrapped value.
- Do not exit process if global setup has failed - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5726](https://togithub.com/vitest-dev/vitest/issues/5726)
[<samp>(ddb09)</samp>](https://togithub.com/vitest-dev/vitest/commit/ddb09eb12)
- Don't exit process if config failed - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5715](https://togithub.com/vitest-dev/vitest/issues/5715)
[<samp>(f232f)</samp>](https://togithub.com/vitest-dev/vitest/commit/f232fdd61)
- Add meta to `json` output - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5802](https://togithub.com/vitest-dev/vitest/issues/5802)
[<samp>(dd754)</samp>](https://togithub.com/vitest-dev/vitest/commit/dd754c103)
- Rename `indexScripts` to `orchestratorScripts` in the browser config -
by [@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5842](https://togithub.com/vitest-dev/vitest/issues/5842)
[<samp>(49f34)</samp>](https://togithub.com/vitest-dev/vitest/commit/49f34ec47)
- Add "vitest list" API to print collected tests without running them -
by [@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6013](https://togithub.com/vitest-dev/vitest/issues/6013)
[<samp>(583dd)</samp>](https://togithub.com/vitest-dev/vitest/commit/583dd8a98)
- ⚠️ This changes the custom `pool` API - now requires `collectTests`
method alongside `runTests`.
- Remove the empty suite from the runner - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5435](https://togithub.com/vitest-dev/vitest/issues/5435)
[<samp>(dbbbe)</samp>](https://togithub.com/vitest-dev/vitest/commit/dbbbe4304)
- Support concurrent suites - by
**[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa)** in
[https://github.com/vitest-dev/vitest/pull/5491](https://togithub.com/vitest-dev/vitest/pull/5491)
[<samp>(222ce44)</samp>](https://togithub.com/vitest-dev/vitest/commit/222ce44119bd02bdf0c7546f9db653000616ccfa)

##### 🚀 Features

- Pretty print diffs coming from cause - by
[@&#8203;dubzzz](https://togithub.com/dubzzz) in
[https://github.com/vitest-dev/vitest/issues/5660](https://togithub.com/vitest-dev/vitest/issues/5660)
[<samp>(6faf8)</samp>](https://togithub.com/vitest-dev/vitest/commit/6faf8f84b)
- Allow import statement as vi.mock path for better IDE support - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5690](https://togithub.com/vitest-dev/vitest/issues/5690)
[<samp>(a99a1)</samp>](https://togithub.com/vitest-dev/vitest/commit/a99a14c1c)
- Remove deprecated options - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5696](https://togithub.com/vitest-dev/vitest/issues/5696)
[<samp>(5c308)</samp>](https://togithub.com/vitest-dev/vitest/commit/5c308edc6)
- Add blob reporter - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5663](https://togithub.com/vitest-dev/vitest/issues/5663)
[<samp>(e2053)</samp>](https://togithub.com/vitest-dev/vitest/commit/e20538a36)
- Add expect.poll utility - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5708](https://togithub.com/vitest-dev/vitest/issues/5708)
[<samp>(e2e0f)</samp>](https://togithub.com/vitest-dev/vitest/commit/e2e0ff46a)
- Add browser.ui option - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5771](https://togithub.com/vitest-dev/vitest/issues/5771)
[<samp>(a5033)</samp>](https://togithub.com/vitest-dev/vitest/commit/a50330eea)
- Add median to `--output-json` - by
[@&#8203;Joristdh](https://togithub.com/Joristdh) in
[https://github.com/vitest-dev/vitest/issues/5745](https://togithub.com/vitest-dev/vitest/issues/5745)
[<samp>(0766b)</samp>](https://togithub.com/vitest-dev/vitest/commit/0766b7f72)
- Allow augmenting config.test.env - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5784](https://togithub.com/vitest-dev/vitest/issues/5784)
[<samp>(b2469)</samp>](https://togithub.com/vitest-dev/vitest/commit/b24691efd)
- Implement module mocking in browser mode - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5765](https://togithub.com/vitest-dev/vitest/issues/5765)
[<samp>(7b2f6)</samp>](https://togithub.com/vitest-dev/vitest/commit/7b2f64cfa)
- Allow configuring expect options in the config - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5729](https://togithub.com/vitest-dev/vitest/issues/5729)
[<samp>(fc53f)</samp>](https://togithub.com/vitest-dev/vitest/commit/fc53f5634)
- Add an option to print console stack trace - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5720](https://togithub.com/vitest-dev/vitest/issues/5720)
[<samp>(e4fe6)</samp>](https://togithub.com/vitest-dev/vitest/commit/e4fe6f51a)
- Add browser frame to UI - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5808](https://togithub.com/vitest-dev/vitest/issues/5808)
[<samp>(3796d)</samp>](https://togithub.com/vitest-dev/vitest/commit/3796dd7e0)
- Image type add bmp - by **btea** in
[https://github.com/vitest-dev/vitest/issues/5921](https://togithub.com/vitest-dev/vitest/issues/5921)
[<samp>(98f9b)</samp>](https://togithub.com/vitest-dev/vitest/commit/98f9b7ab9)
- Add an option to return base64 from page.screenshot - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5993](https://togithub.com/vitest-dev/vitest/issues/5993)
[<samp>(be323)</samp>](https://togithub.com/vitest-dev/vitest/commit/be3231763)
- Expose `parseAst`, `parseAstAsync` from vite - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va)
[<samp>(f645e)</samp>](https://togithub.com/vitest-dev/vitest/commit/f645e48c5)
-   **browser**:
- Add commands to communicate betweens server and the browser - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5097](https://togithub.com/vitest-dev/vitest/issues/5097)
[<samp>(aa431)</samp>](https://togithub.com/vitest-dev/vitest/commit/aa431f4db)
- Do not reload the page during watch mode - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5810](https://togithub.com/vitest-dev/vitest/issues/5810)
[<samp>(e5b9a)</samp>](https://togithub.com/vitest-dev/vitest/commit/e5b9a0be4)
- Support changing the viewport - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5811](https://togithub.com/vitest-dev/vitest/issues/5811)
[<samp>(71851)</samp>](https://togithub.com/vitest-dev/vitest/commit/718512d80)
- Add browser iframe mouse interaction - by
[@&#8203;userquin](https://togithub.com/userquin) in
[https://github.com/vitest-dev/vitest/issues/5815](https://togithub.com/vitest-dev/vitest/issues/5815)
[<samp>(f29b9)</samp>](https://togithub.com/vitest-dev/vitest/commit/f29b9d408)
- Support `click` event - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5777](https://togithub.com/vitest-dev/vitest/issues/5777)
[<samp>(839c3)</samp>](https://togithub.com/vitest-dev/vitest/commit/839c39f06)
- Rename none provider to preview, make it default - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5826](https://togithub.com/vitest-dev/vitest/issues/5826)
[<samp>(18310)</samp>](https://togithub.com/vitest-dev/vitest/commit/1831008b1)
- Run tests in parallel in headless mode, add `page.screenshot` method -
by [@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5853](https://togithub.com/vitest-dev/vitest/issues/5853)
[<samp>(81c42)</samp>](https://togithub.com/vitest-dev/vitest/commit/81c42fc8a)
- Implement several `userEvent` methods, add `fill` and `dragAndDrop`
events - by [@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5882](https://togithub.com/vitest-dev/vitest/issues/5882)
[<samp>(4dbea)</samp>](https://togithub.com/vitest-dev/vitest/commit/4dbea4aed)
- Introduce `expect.dom` method and bundle `jest-dom` matchers with
`@vitest/browser` - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5910](https://togithub.com/vitest-dev/vitest/issues/5910)
[<samp>(3a96a)</samp>](https://togithub.com/vitest-dev/vitest/commit/3a96a3d0e)
- Expose CDP in the browser - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5938](https://togithub.com/vitest-dev/vitest/issues/5938)
[<samp>(bec43)</samp>](https://togithub.com/vitest-dev/vitest/commit/bec434cb6)
- Add "init" command for browser tests - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5960](https://togithub.com/vitest-dev/vitest/issues/5960)
[<samp>(49e97)</samp>](https://togithub.com/vitest-dev/vitest/commit/49e973cb9)
- Add an option to take screenshots if the browser test fails - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5975](https://togithub.com/vitest-dev/vitest/issues/5975)
[<samp>(154cb)</samp>](https://togithub.com/vitest-dev/vitest/commit/154cb22de)
- Add `tripleClick` to interactive api - by
[@&#8203;userquin](https://togithub.com/userquin) in
[https://github.com/vitest-dev/vitest/issues/5987](https://togithub.com/vitest-dev/vitest/issues/5987)
[<samp>(200a4)</samp>](https://togithub.com/vitest-dev/vitest/commit/200a4349a)
- Playwright provider doesn't allow resizing the browser viewport - by
[@&#8203;userquin](https://togithub.com/userquin) and
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5984](https://togithub.com/vitest-dev/vitest/issues/5984)
[<samp>(ff978)</samp>](https://togithub.com/vitest-dev/vitest/commit/ff978e58d)
-   **config**:
- Allow percentage value for workers option - by
[@&#8203;syi0808](https://togithub.com/syi0808) in
[https://github.com/vitest-dev/vitest/issues/5982](https://togithub.com/vitest-dev/vitest/issues/5982)
[<samp>(b1a27)</samp>](https://togithub.com/vitest-dev/vitest/commit/b1a27d404)
-   **runner**:
- Implement `test.for` - by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) and
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5861](https://togithub.com/vitest-dev/vitest/issues/5861)
[<samp>(c2380)</samp>](https://togithub.com/vitest-dev/vitest/commit/c238072fd)
-   **spy**:
- Collect mock.contexts - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5955](https://togithub.com/vitest-dev/vitest/issues/5955)
[<samp>(3b31a)</samp>](https://togithub.com/vitest-dev/vitest/commit/3b31a56d5)
-   **ui**:
- Render tests in a tree - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5807](https://togithub.com/vitest-dev/vitest/issues/5807)
[<samp>(7900f)</samp>](https://togithub.com/vitest-dev/vitest/commit/7900f9f89)
- Load module graph on tab selection - by
[@&#8203;userquin](https://togithub.com/userquin) in
[https://github.com/vitest-dev/vitest/issues/5844](https://togithub.com/vitest-dev/vitest/issues/5844)
[<samp>(b117e)</samp>](https://togithub.com/vitest-dev/vitest/commit/b117e8756)
- Replace navigation tree with test explorer - by
[@&#8203;userquin](https://togithub.com/userquin) in
[https://github.com/vitest-dev/vitest/issues/5907](https://togithub.com/vitest-dev/vitest/issues/5907)
[<samp>(45dfc)</samp>](https://togithub.com/vitest-dev/vitest/commit/45dfc95ae)
- Add initializing explorer logic - by
[@&#8203;userquin](https://togithub.com/userquin) in
[https://github.com/vitest-dev/vitest/issues/5941](https://togithub.com/vitest-dev/vitest/issues/5941)
[<samp>(c31c4)</samp>](https://togithub.com/vitest-dev/vitest/commit/c31c41c72)
- Add action to explorer item to show the test/suite line in the source
code tab - by [@&#8203;userquin](https://togithub.com/userquin) and
**Anjorin Damilare** in
[https://github.com/vitest-dev/vitest/issues/5948](https://togithub.com/vitest-dev/vitest/issues/5948)
[<samp>(7ec29)</samp>](https://togithub.com/vitest-dev/vitest/commit/7ec298eb3)
-   **ws-client**:
- Allow change reactive for state, filesMap and idMap - by
[@&#8203;userquin](https://togithub.com/userquin) in
[https://github.com/vitest-dev/vitest/issues/5906](https://togithub.com/vitest-dev/vitest/issues/5906)
[<samp>(e6020)</samp>](https://togithub.com/vitest-dev/vitest/commit/e6020b9c2)

##### 🐞 Bug Fixes

- Print console statements in vmThreads - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5678](https://togithub.com/vitest-dev/vitest/issues/5678)
[<samp>(34a80)</samp>](https://togithub.com/vitest-dev/vitest/commit/34a80b392)
- Repeatable `--exclude` option - by
[@&#8203;fregante](https://togithub.com/fregante) in
[https://github.com/vitest-dev/vitest/issues/5782](https://togithub.com/vitest-dev/vitest/issues/5782)
[<samp>(d6700)</samp>](https://togithub.com/vitest-dev/vitest/commit/d6700bbd8)
- Remove browser.fileParallelism - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5790](https://togithub.com/vitest-dev/vitest/issues/5790)
[<samp>(b881e)</samp>](https://togithub.com/vitest-dev/vitest/commit/b881e88b2)
- Install UI icons - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va)
[<samp>(b84f1)</samp>](https://togithub.com/vitest-dev/vitest/commit/b84f1721d)
- Remove process.exit if workspace project failed to be created - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5804](https://togithub.com/vitest-dev/vitest/issues/5804)
[<samp>(a820e)</samp>](https://togithub.com/vitest-dev/vitest/commit/a820e7ac6)
- Vi.waitFor/vi.waitUntil interval is now cleared after it times out -
by [@&#8203;pedro00dk](https://togithub.com/pedro00dk) in
[https://github.com/vitest-dev/vitest/issues/5875](https://togithub.com/vitest-dev/vitest/issues/5875)
[<samp>(04107)</samp>](https://togithub.com/vitest-dev/vitest/commit/041076e7c)
- ToJSON recursive error serialization - by
[@&#8203;eddienubes](https://togithub.com/eddienubes) in
[https://github.com/vitest-dev/vitest/issues/5848](https://togithub.com/vitest-dev/vitest/issues/5848)
and
[https://github.com/vitest-dev/vitest/issues/5884](https://togithub.com/vitest-dev/vitest/issues/5884)
[<samp>(8d55d)</samp>](https://togithub.com/vitest-dev/vitest/commit/8d55d6bd4)
- Print error properties only in verbose reporter - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5917](https://togithub.com/vitest-dev/vitest/issues/5917)
[<samp>(2bd8d)</samp>](https://togithub.com/vitest-dev/vitest/commit/2bd8d9d6f)
- Use TTY reporter when running in Deno - by
[@&#8203;marvinhagemeister](https://togithub.com/marvinhagemeister) in
[https://github.com/vitest-dev/vitest/issues/5972](https://togithub.com/vitest-dev/vitest/issues/5972)
[<samp>(e0f45)</samp>](https://togithub.com/vitest-dev/vitest/commit/e0f45cb57)
- Don't override uppercase - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va)
[<samp>(caef4)</samp>](https://togithub.com/vitest-dev/vitest/commit/caef40a0b)
- Clear screen and scrollback on iTerm2 - by
[@&#8203;kxalex](https://togithub.com/kxalex) in
[https://github.com/vitest-dev/vitest/issues/5978](https://togithub.com/vitest-dev/vitest/issues/5978)
[<samp>(d7f23)</samp>](https://togithub.com/vitest-dev/vitest/commit/d7f23d08c)
- Include pretty-format in
[@&#8203;vitest/runner](https://togithub.com/vitest/runner) for
optimization on npm - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va)
[<samp>(42bd4)</samp>](https://togithub.com/vitest-dev/vitest/commit/42bd4a259)
- Transpile esnext to node18 to support newest JS and TS features - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/4409](https://togithub.com/vitest-dev/vitest/issues/4409)
[<samp>(8f65a)</samp>](https://togithub.com/vitest-dev/vitest/commit/8f65ae906)
-   **api**:
- Correct `project.provide` type - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5959](https://togithub.com/vitest-dev/vitest/issues/5959)
[<samp>(0eda9)</samp>](https://togithub.com/vitest-dev/vitest/commit/0eda99de9)
- Don't call process.exit manually - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5926](https://togithub.com/vitest-dev/vitest/issues/5926)
[<samp>(e9b63)</samp>](https://togithub.com/vitest-dev/vitest/commit/e9b638d40)
-   **browser**:
- Display UI - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va)
[<samp>(d41e4)</samp>](https://togithub.com/vitest-dev/vitest/commit/d41e46a81)
- Browser actions icons colors - by
[@&#8203;userquin](https://togithub.com/userquin) in
[https://github.com/vitest-dev/vitest/issues/5816](https://togithub.com/vitest-dev/vitest/issues/5816)
[<samp>(f9d9b)</samp>](https://togithub.com/vitest-dev/vitest/commit/f9d9b3bef)
- Restore the original viewport when unselecting the preset viewport -
by [@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5821](https://togithub.com/vitest-dev/vitest/issues/5821)
[<samp>(5ebb3)</samp>](https://togithub.com/vitest-dev/vitest/commit/5ebb3abf5)
- Don't get stuck after the manual page refresh - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va)
[<samp>(2220b)</samp>](https://togithub.com/vitest-dev/vitest/commit/2220bb3fe)
- Use iframe id instead of calculating it from filenames - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5823](https://togithub.com/vitest-dev/vitest/issues/5823)
[<samp>(34a31)</samp>](https://togithub.com/vitest-dev/vitest/commit/34a310da1)
- Always clean up iframes on rerun - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5827](https://togithub.com/vitest-dev/vitest/issues/5827)
[<samp>(087fa)</samp>](https://togithub.com/vitest-dev/vitest/commit/087fa87c3)
- Support
[@&#8203;testing-library/vue](https://togithub.com/testing-library/vue)
in browser mode out of the box - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va)
[<samp>(76b82)</samp>](https://togithub.com/vitest-dev/vitest/commit/76b82e5b9)
- Print correct transformed module graph - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5833](https://togithub.com/vitest-dev/vitest/issues/5833)
[<samp>(a7581)</samp>](https://togithub.com/vitest-dev/vitest/commit/a75815756)
- Use `preview` provider when running in StackBlitz - by
[@&#8203;userquin](https://togithub.com/userquin) in
[https://github.com/vitest-dev/vitest/issues/5836](https://togithub.com/vitest-dev/vitest/issues/5836)
[<samp>(76e13)</samp>](https://togithub.com/vitest-dev/vitest/commit/76e13587c)
- Specify entries for correct deps optimization - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5839](https://togithub.com/vitest-dev/vitest/issues/5839)
[<samp>(c79b3)</samp>](https://togithub.com/vitest-dev/vitest/commit/c79b3f1f9)
- Allow iframe to load even if there is a custom CSP header - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5841](https://togithub.com/vitest-dev/vitest/issues/5841)
[<samp>(caaaf)</samp>](https://togithub.com/vitest-dev/vitest/commit/caaafd903)
- Don't optimize Vitest dependencies - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5843](https://togithub.com/vitest-dev/vitest/issues/5843)
[<samp>(f15b4)</samp>](https://togithub.com/vitest-dev/vitest/commit/f15b4e99d)
- Set server.open to false and move error handling after init - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5845](https://togithub.com/vitest-dev/vitest/issues/5845)
[<samp>(47003)</samp>](https://togithub.com/vitest-dev/vitest/commit/470036794)
- Show correct prepare time - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5852](https://togithub.com/vitest-dev/vitest/issues/5852)
[<samp>(52d54)</samp>](https://togithub.com/vitest-dev/vitest/commit/52d545bf9)
- Resolve `coverage.reporter` from string values - by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/5920](https://togithub.com/vitest-dev/vitest/issues/5920)
[<samp>(f33da)</samp>](https://togithub.com/vitest-dev/vitest/commit/f33dabbef)
- Correctly update inline snapshot if changed - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5925](https://togithub.com/vitest-dev/vitest/issues/5925)
[<samp>(2380c)</samp>](https://togithub.com/vitest-dev/vitest/commit/2380cb95e)
- Remove "util" warning - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5935](https://togithub.com/vitest-dev/vitest/issues/5935)
[<samp>(48f28)</samp>](https://togithub.com/vitest-dev/vitest/commit/48f28f731)
- Remove hacky retry - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5971](https://togithub.com/vitest-dev/vitest/issues/5971)
[<samp>(2a2c9)</samp>](https://togithub.com/vitest-dev/vitest/commit/2a2c9085a)
- Make userEvent more stable when running in parallel - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5974](https://togithub.com/vitest-dev/vitest/issues/5974)
[<samp>(14a21)</samp>](https://togithub.com/vitest-dev/vitest/commit/14a217d53)
- Print screenshot path alongside the test error message - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5992](https://togithub.com/vitest-dev/vitest/issues/5992)
[<samp>(15289)</samp>](https://togithub.com/vitest-dev/vitest/commit/152891b3d)
- Print correct stack trace in source files - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6003](https://togithub.com/vitest-dev/vitest/issues/6003)
[<samp>(62aa7)</samp>](https://togithub.com/vitest-dev/vitest/commit/62aa72081)
- Correctly mock optimized cjs dependencies - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6035](https://togithub.com/vitest-dev/vitest/issues/6035)
[<samp>(057b4)</samp>](https://togithub.com/vitest-dev/vitest/commit/057b4f34b)
- Support shadow root and svg elements - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6036](https://togithub.com/vitest-dev/vitest/issues/6036)
[<samp>(2e3c8)</samp>](https://togithub.com/vitest-dev/vitest/commit/2e3c872ae)
-   **coverage**:
- Clean up empty coverage reports directory - by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/5731](https://togithub.com/vitest-dev/vitest/issues/5731)
[<samp>(c469c)</samp>](https://togithub.com/vitest-dev/vitest/commit/c469c74d7)
- `thresholds.autoUpdate` to support `mergeConfig` - by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/5818](https://togithub.com/vitest-dev/vitest/issues/5818)
[<samp>(7afb3)</samp>](https://togithub.com/vitest-dev/vitest/commit/7afb3682f)
- Pass thresholds errors to `stderr` of `startVitest()` - by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/5954](https://togithub.com/vitest-dev/vitest/issues/5954)
[<samp>(70805)</samp>](https://togithub.com/vitest-dev/vitest/commit/708051319)
- Exclude bench files from coverage - by
[@&#8203;kouak](https://togithub.com/kouak) in
[https://github.com/vitest-dev/vitest/issues/5983](https://togithub.com/vitest-dev/vitest/issues/5983)
[<samp>(429e1)</samp>](https://togithub.com/vitest-dev/vitest/commit/429e1a7f8)
- Vite to ignore dynamic import of provider - by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/5998](https://togithub.com/vitest-dev/vitest/issues/5998)
[<samp>(6d884)</samp>](https://togithub.com/vitest-dev/vitest/commit/6d8848e86)
- Istanbul to support import attributes - by
[@&#8203;Gravitonic](https://togithub.com/Gravitonic) in
[https://github.com/vitest-dev/vitest/issues/6006](https://togithub.com/vitest-dev/vitest/issues/6006)
[<samp>(2898a)</samp>](https://togithub.com/vitest-dev/vitest/commit/2898a525d)
- Support overriding `exclude` - by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/5997](https://togithub.com/vitest-dev/vitest/issues/5997)
[<samp>(169bc)</samp>](https://togithub.com/vitest-dev/vitest/commit/169bc1fde)
- Remove work-around for implicit `else` - by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6014](https://togithub.com/vitest-dev/vitest/issues/6014)
[<samp>(368c1)</samp>](https://togithub.com/vitest-dev/vitest/commit/368c13728)
-   **deps**:
- Update dependency
[@&#8203;testing-library/dom](https://togithub.com/testing-library/dom)
to v10 - by **renovate\[bot]** in
[https://github.com/vitest-dev/vitest/issues/5866](https://togithub.com/vitest-dev/vitest/issues/5866)
[<samp>(e9745)</samp>](https://togithub.com/vitest-dev/vitest/commit/e9745997e)
- Update vulnerable `test-exclude` to v7 - by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/5867](https://togithub.com/vitest-dev/vitest/issues/5867)
[<samp>(0a715)</samp>](https://togithub.com/vitest-dev/vitest/commit/0a715946b)
-   **expect**:
- Fix immutable.js iterable equality - by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/5692](https://togithub.com/vitest-dev/vitest/issues/5692)
[<samp>(1532c)</samp>](https://togithub.com/vitest-dev/vitest/commit/1532c19a0)
-   **forks**:
- Resolve `poolOptions.<name>.isolate` from `forks` options - by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/5840](https://togithub.com/vitest-dev/vitest/issues/5840)
[<samp>(a60a1)</samp>](https://togithub.com/vitest-dev/vitest/commit/a60a140ef)
-   **runner**:
- Ensure inner suite { sequential: true } correctly overrides outer
suite { concurrent: true } - by
[@&#8203;pengooseDev](https://togithub.com/pengooseDev) in
[https://github.com/vitest-dev/vitest/issues/5737](https://togithub.com/vitest-dev/vitest/issues/5737)
[<samp>(a20e7)</samp>](https://togithub.com/vitest-dev/vitest/commit/a20e75b89)
- Ensure test.each print -0 and -NaN properly - by
[@&#8203;pengooseDev](https://togithub.com/pengooseDev) in
[https://github.com/vitest-dev/vitest/issues/5806](https://togithub.com/vitest-dev/vitest/issues/5806)
[<samp>(9ac8f)</samp>](https://togithub.com/vitest-dev/vitest/commit/9ac8ff9bd)
-   **snapshot**:
- Fix `toMatchFileSnapshot` with empty file - by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/5894](https://togithub.com/vitest-dev/vitest/issues/5894)
[<samp>(88006)</samp>](https://togithub.com/vitest-dev/vitest/commit/8800601d2)
-   **spy**:
- Correctly track constructor's "this" type - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va)
[<samp>(4776e)</samp>](https://togithub.com/vitest-dev/vitest/commit/4776eca1d)
-   **types**:
- Mark pool options as not available in project config - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5934](https://togithub.com/vitest-dev/vitest/issues/5934)
[<samp>(486fd)</samp>](https://togithub.com/vitest-dev/vitest/commit/486fd1169)
-   **ui**:
- Show correct module graph and project name in a Vitest workspace - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5792](https://togithub.com/vitest-dev/vitest/issues/5792)
[<samp>(48c50)</samp>](https://togithub.com/vitest-dev/vitest/commit/48c502fbe)
- Update running todo tests inside todo suites (each) - by
[@&#8203;userquin](https://togithub.com/userquin) in
[https://github.com/vitest-dev/vitest/issues/5939](https://togithub.com/vitest-dev/vitest/issues/5939)
[<samp>(63ae1)</samp>](https://togithub.com/vitest-dev/vitest/commit/63ae10bd9)
- `FileDetails` title status icon not being updated - by
[@&#8203;userquin](https://togithub.com/userquin) in
[https://github.com/vitest-dev/vitest/issues/5942](https://togithub.com/vitest-dev/vitest/issues/5942)
[<samp>(e9ddf)</samp>](https://togithub.com/vitest-dev/vitest/commit/e9ddf9ce2)
-   **ui, browser**:
- Disable mouse events when resizing main navigation panel - by
[@&#8203;userquin](https://togithub.com/userquin) in
[https://github.com/vitest-dev/vitest/issues/5863](https://togithub.com/vitest-dev/vitest/issues/5863)
[<samp>(7cbd9)</samp>](https://togithub.com/vitest-dev/vitest/commit/7cbd943c7)
-   **utils**:
- Produce valid snapshot names - by
[@&#8203;dubzzz](https://togithub.com/dubzzz) in
[https://github.com/vitest-dev/vitest/issues/5724](https://togithub.com/vitest-dev/vitest/issues/5724)
[<samp>(1ec61)</samp>](https://togithub.com/vitest-dev/vitest/commit/1ec61ceee)
- Fix color util maximum call stack error - by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/5733](https://togithub.com/vitest-dev/vitest/issues/5733)
[<samp>(a4ec5)</samp>](https://togithub.com/vitest-dev/vitest/commit/a4ec58319)
- Package exports - by [@&#8203;userquin](https://togithub.com/userquin)
in
[https://github.com/vitest-dev/vitest/issues/5847](https://togithub.com/vitest-dev/vitest/issues/5847)
[<samp>(07876)</samp>](https://togithub.com/vitest-dev/vitest/commit/07876b7e0)
-   **vite-node**:
- Expose all envs from .env file, not just with a prefix `VITE_` - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6017](https://togithub.com/vitest-dev/vitest/issues/6017)
[<samp>(d87be)</samp>](https://togithub.com/vitest-dev/vitest/commit/d87bef961)
-   **vitest**:
- Expose `provide` to the public API - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5897](https://togithub.com/vitest-dev/vitest/issues/5897)
[<samp>(66e64)</samp>](https://togithub.com/vitest-dev/vitest/commit/66e648ff8)
- Cache fs code only for forks pool - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5909](https://togithub.com/vitest-dev/vitest/issues/5909)
[<samp>(e30d9)</samp>](https://togithub.com/vitest-dev/vitest/commit/e30d9b4d5)
- Allow testing unandled rejection/exception - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6016](https://togithub.com/vitest-dev/vitest/issues/6016)
[<samp>(c8d56)</samp>](https://togithub.com/vitest-dev/vitest/commit/c8d56fe5f)
- Show all failed tests when rerunning a test - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6022](https://togithub.com/vitest-dev/vitest/issues/6022)
[<samp>(91ba6)</samp>](https://togithub.com/vitest-dev/vitest/commit/91ba6f95e)

##### [View changes on
GitHub](https://togithub.com/vitest-dev/vitest/compare/6b29f3ddc86060cf3265959d4ae32e90b186cb92...v2.0.0)

###
[`v1.6.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.6.0)

[Compare
Source](https://togithub.com/vitest-dev/vitest/compare/v1.5.3...v1.6.0)

#####    🚀 Features

- Support standalone mode  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5565](https://togithub.com/vitest-dev/vitest/issues/5565)
[<samp>(bdce0)</samp>](https://togithub.com/vitest-dev/vitest/commit/bdce0a29)
- Custom "snapshotEnvironment" option  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5449](https://togithub.com/vitest-dev/vitest/issues/5449)
[<samp>(30f72)</samp>](https://togithub.com/vitest-dev/vitest/commit/30f728bc)
- **benchmark**: Support comparing benchmark result  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) and
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5398](https://togithub.com/vitest-dev/vitest/issues/5398)
[<samp>(f8d3d)</samp>](https://togithub.com/vitest-dev/vitest/commit/f8d3d22e)
- **browser**: Allow injecting scripts  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5656](https://togithub.com/vitest-dev/vitest/issues/5656)
[<samp>(21e58)</samp>](https://togithub.com/vitest-dev/vitest/commit/21e58bd8)
- **reporter**: Support `includeConsoleOutput` and `addFileAttribute` in
junit  -  by [@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/5659](https://togithub.com/vitest-dev/vitest/issues/5659)
[<samp>(2f913)</samp>](https://togithub.com/vitest-dev/vitest/commit/2f913222)
- **ui**: Sort items by file name  -  by
[@&#8203;btea](https://togithub.com/btea) in
[https://github.com/vitest-dev/vitest/issues/5652](https://togithub.com/vitest-dev/vitest/issues/5652)
[<samp>(1f726)</samp>](https://togithub.com/vitest-dev/vitest/commit/1f7268fa)

#####    🐞 Bug Fixes

- Keep order of arguments for .each in custom task collectors  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5640](https://togithub.com/vitest-dev/vitest/issues/5640)
[<samp>(7d57c)</samp>](https://togithub.com/vitest-dev/vitest/commit/7d57c116)
- Call `resolveId('vitest')` after `buildStart`  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/5646](https://togithub.com/vitest-dev/vitest/issues/5646)
[<samp>(f5faf)</samp>](https://togithub.com/vitest-dev/vitest/commit/f5faf423)
- Hash the name of the file when caching  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5654](https://togithub.com/vitest-dev/vitest/issues/5654)
[<samp>(c9e68)</samp>](https://togithub.com/vitest-dev/vitest/commit/c9e68ced)
- Don't panic on empty files in node_modules  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va)
[<samp>(40c29)</samp>](https://togithub.com/vitest-dev/vitest/commit/40c299fe)
- Use `toJSON` for error serialization  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/5526](https://togithub.com/vitest-dev/vitest/issues/5526)
[<samp>(19a21)</samp>](https://togithub.com/vitest-dev/vitest/commit/19a21e49)
-   **coverage**:
- Exclude `*.test-d.*` by default  -  by
[@&#8203;MindfulPol](https://togithub.com/MindfulPol) in
[https://github.com/vitest-dev/vitest/issues/5634](https://togithub.com/vitest-dev/vitest/issues/5634)
[<samp>(bfe8a)</samp>](https://togithub.com/vitest-dev/vitest/commit/bfe8ad9d)
- Apply `vite-node`'s wrapper only to executed files  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/5642](https://togithub.com/vitest-dev/vitest/issues/5642)
[<samp>(c9883)</samp>](https://togithub.com/vitest-dev/vitest/commit/c9883f3e)
-   **vm**:
- Support network imports  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5610](https://togithub.com/vitest-dev/vitest/issues/5610)
[<samp>(103a6)</samp>](https://togithub.com/vitest-dev/vitest/commit/103a6002)

#####    🏎 Performance

- Improve performance of forks pool  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5592](https://togithub.com/vitest-dev/vitest/issues/5592)
[<samp>(d8304)</samp>](https://togithub.com/vitest-dev/vitest/commit/d8304bb4)
- Unnecessary rpc call when coverage is disabled  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/5658](https://togithub.com/vitest-dev/vitest/issues/5658)
[<samp>(c5712)</samp>](https://togithub.com/vitest-dev/vitest/commit/c571276a)

#####     [View changes on
GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.5.3...v1.6.0)

###
[`v1.5.3`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.5.3)

[Compare
Source](https://togithub.com/vitest-dev/vitest/compare/v1.5.2...v1.5.3)

#####    🐞 Bug Fixes

- Use package.json name for a workspace project if not provided  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5608](https://togithub.com/vitest-dev/vitest/issues/5608)
[<samp>(48fba)</samp>](https://togithub.com/vitest-dev/vitest/commit/48fba190)
- Backport jest iterable equality within object  -  by
[@&#8203;sukovanej](https://togithub.com/sukovanej) in
[https://github.com/vitest-dev/vitest/issues/5621](https://togithub.com/vitest-dev/vitest/issues/5621)
[<samp>(30e5d)</samp>](https://togithub.com/vitest-dev/vitest/commit/30e5dc1b)
- **browser**: Support benchmark  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/5622](https://togithub.com/vitest-dev/vitest/issues/5622)
[<samp>(becab)</samp>](https://togithub.com/vitest-dev/vitest/commit/becabb5e)
- **reporter**: Use default error formatter for JUnit  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/5629](https://togithub.com/vitest-dev/vitest/issues/5629)
[<samp>(20060)</samp>](https://togithub.com/vitest-dev/vitest/commit/200609cc)

#####     [View changes on
GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.5.2...v1.5.3)

###
[`v1.5.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.5.2)

[Compare
Source](https://togithub.com/vitest-dev/vitest/compare/v1.5.1...v1.5.2)

#####    🐞 Bug Fixes

- Check for null before storing in weakmap  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va)
[<samp>(ce368)</samp>](https://togithub.com/vitest-dev/vitest/commit/ce368457)

#####     [View changes on
GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.5.1...v1.5.2)

###
[`v1.5.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.5.1)

[Compare
Source](https://togithub.com/vitest-dev/vitest/compare/v1.5.0...v1.5.1)

#####    🚀 Features

- **api**: `startVitest()` to accept `stdout` and `stdin`  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/5493](https://togithub.com/vitest-dev/vitest/issues/5493)
[<samp>(780b1)</samp>](https://togithub.com/vitest-dev/vitest/commit/780b187f)
- This is listed as a feature, but it doesn't increase the minor version
because `startVitest` API is experimental and doesn't follow semver.

#####    🐞 Bug Fixes

- Close vite servers on all resolved projects  -  by
[@&#8203;surc54](https://togithub.com/surc54) in
[https://github.com/vitest-dev/vitest/issues/5544](https://togithub.com/vitest-dev/vitest/issues/5544)
[<samp>(413ec)</samp>](https://togithub.com/vitest-dev/vitest/commit/413ec5e6)
- Fix default `import.meta.env.PROD: false`  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/5561](https://togithub.com/vitest-dev/vitest/issues/5561)
[<samp>(9c649)</samp>](https://togithub.com/vitest-dev/vitest/commit/9c64967f)
- Resolve cwd correctly when initiating projects  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5582](https://togithub.com/vitest-dev/vitest/issues/5582)
[<samp>(ec9d7)</samp>](https://togithub.com/vitest-dev/vitest/commit/ec9d7c93)
- Always run `onTestFinished` in reverse order  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5598](https://togithub.com/vitest-dev/vitest/issues/5598)
[<samp>(23f29)</samp>](https://togithub.com/vitest-dev/vitest/commit/23f29cea)
-   **browser**:
- Disable `fileParallelism` by default on browser pool  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/5528](https://togithub.com/vitest-dev/vitest/issues/5528)
[<samp>(5c69f)</samp>](https://togithub.com/vitest-dev/vitest/commit/5c69f3f5)
- Dispose tester iframe on done  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/5595](https://togithub.com/vitest-dev/vitest/issues/5595)
[<samp>(b2135)</samp>](https://togithub.com/vitest-dev/vitest/commit/b2135710)
-   **coverage**:
- Fix bundling of `v8-to-istanbul`  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/5549](https://togithub.com/vitest-dev/vitest/issues/5549)
[<samp>(df6a4)</samp>](https://togithub.com/vitest-dev/vitest/commit/df6a4328)
- Prevent crash when `cleanOnRerun` is disabled  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/5540](https://togithub.com/vitest-dev/vitest/issues/5540)
[<samp>(ea3c1)</samp>](https://togithub.com/vitest-dev/vitest/commit/ea3c16e4)
- `thresholds` to compare files relative to root  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/5574](https://togithub.com/vitest-dev/vitest/issues/5574)
[<samp>(80265)</samp>](https://togithub.com/vitest-dev/vitest/commit/80265b40)
-   **expect**:
- Fix `toEqual` and `toMatchObject` with circular references  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/5535](https://togithub.com/vitest-dev/vitest/issues/5535)
[<samp>(9e641)</samp>](https://togithub.com/vitest-dev/vitest/commit/9e6417c9)
-   **vitest**:
- Fix false positive file filter match with leading slash  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/5578](https://togithub.com/vitest-dev/vitest/issues/5578)
[<samp>(316eb)</samp>](https://togithub.com/vitest-dev/vitest/commit/316eb739)
- Watch the output directory correctly  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5584](https://togithub.com/vitest-dev/vitest/issues/5584)
[<samp>(e40f9)</samp>](https://togithub.com/vitest-dev/vitest/commit/e40f9924)
- StubEnv casts boolean on PROD/SSR/DEV  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5590](https://togithub.com/vitest-dev/vitest/issues/5590)
[<samp>(4da88)</samp>](https://togithub.com/vitest-dev/vitest/commit/4da88045)

#####     [View changes on
GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.5.0...v1.5.1)

###
[`v1.5.0`](https://togithub.com/vitest-dev/vitest/compare/v1.4.0...v1.5.0)

[Compare
Source](https://togithub.com/vitest-dev/vitest/compare/v1.4.0...v1.5.0)

###
[`v1.4.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.4.0)

[Compare
Source](https://togithub.com/vitest-dev/vitest/compare/v1.3.1...v1.4.0)

#####    🚀 Features

- Throw error when using snapshot assertion with `not`  -  by
[@&#8203;fenghan34](https://togithub.com/fenghan34) in
[https://github.com/vitest-dev/vitest/issues/5294](https://togithub.com/vitest-dev/vitest/issues/5294)
[<samp>(b9d37)</samp>](https://togithub.com/vitest-dev/vitest/commit/b9d378f5)
- Add a flag to include test location in tasks  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5342](https://togithub.com/vitest-dev/vitest/issues/5342)
[<samp>(d627e)</samp>](https://togithub.com/vitest-dev/vitest/commit/d627e209)
-   **cli**:
- Support wildcards in `--project` option  -  by
[@&#8203;fenghan34](https://togithub.com/fenghan34) in
[https://github.com/vitest-dev/vitest/issues/5295](https://togithub.com/vitest-dev/vitest/issues/5295)
[<samp>(201bd)</samp>](https://togithub.com/vitest-dev/vitest/commit/201bd067)
-   **config**:
- Add `shuffle.files` and `shuffle.tests` options  -  by
[@&#8203;fenghan34](https://togithub.com/fenghan34) in
[https://github.com/vitest-dev/vitest/issues/5281](https://togithub.com/vitest-dev/vitest/issues/5281)
[<samp>(356db)</samp>](https://togithub.com/vitest-dev/vitest/commit/356db87b)
- Deprecate `cache.dir` option  -  by
[@&#8203;fenghan34](https://togithub.com/fenghan34) in
[https://github.com/vitest-dev/vitest/issues/5229](https://togithub.com/vitest-dev/vitest/issues/5229)
[<samp>(d7e8b)</samp>](https://togithub.com/vitest-dev/vitest/commit/d7e8b53e)
-   **coverage**:
- Support `--changed` option  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/5314](https://togithub.com/vitest-dev/vitest/issues/5314)
[<samp>(600b4)</samp>](https://togithub.com/vitest-dev/vitest/commit/600b44d6)
-   **vitest**:
- Support `clearScreen` cli flag  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/5241](https://togithub.com/vitest-dev/vitest/issues/5241)
[<samp>(e1735)</samp>](https://togithub.com/vitest-dev/vitest/commit/e1735fb6)

#####    🐞 Bug Fixes

- Repeatable `--project` option  -  by
[@&#8203;fenghan34](https://togithub.com/fenghan34) in
[https://github.com/vitest-dev/vitest/issues/5265](https://togithub.com/vitest-dev/vitest/issues/5265)
[<samp>(d1a06)</samp>](https://togithub.com/vitest-dev/vitest/commit/d1a06730)
- `--inspect-brk` to pause before execution  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/5355](https://togithub.com/vitest-dev/vitest/issues/5355)
[<samp>(e77c5)</samp>](https://togithub.com/vitest-dev/vitest/commit/e77c553f)
- Correct locations in test.each tasks  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va)
[<samp>(4f6e3)</samp>](https://togithub.com/vitest-dev/vitest/commit/4f6e39c1)
-   **api**:
- Use resolvedUrls from devserver  -  by
[@&#8203;saitonakamura](https://togithub.com/saitonakamura) and
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/5289](https://togithub.com/vitest-dev/vitest/issues/5289)
[<samp>(2fef5)</samp>](https://togithub.com/vitest-dev/vitest/commit/2fef5a7e)
-   **browser**:
- Add `magic-string` to `optimizeDeps.include`  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/5278](https://togithub.com/vitest-dev/vitest/issues/5278)
[<samp>(8f04e)</samp>](https://togithub.com/vitest-dev/vitest/commit/8f04e798)
-   **coverage**:
- Expensive regexp hangs v8 report generation  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/5259](https://togithub.com/vitest-dev/vitest/issues/5259)
[<samp>(d68a7)</samp>](https://togithub.com/vitest-dev/vitest/commit/d68a7390)
- V8 to ignore type-only files  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/5328](https://togithub.com/vitest-dev/vitest/issues/5328)
[<samp>(c3eb8)</samp>](https://togithub.com/vitest-dev/vitest/commit/c3eb8deb)
- Respect source maps of pre-transpiled sources  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/5367](https://togithub.com/vitest-dev/vitest/issues/5367)
[<samp>(6eda4)</samp>](https://togithub.com/vitest-dev/vitest/commit/6eda473f)
- Prevent `reportsDirectory` from removing user's project  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/5376](https://togithub.com/vitest-dev/vitest/issues/5376)
[<samp>(07ec3)</samp>](https://togithub.com/vitest-dev/vitest/commit/07ec3779)
-   **expect**:
- Show diff on `toContain/toMatch` assertion error  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/5267](https://togithub.com/vitest-dev/vitest/issues/5267)
[<samp>(8ee59)</samp>](https://togithub.com/vitest-dev/vitest/commit/8ee59f0d)
-   **forks**:
- Wrap `defines` to support `undefined` values  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/5284](https://togithub.com/vitest-dev/vitest/issues/5284)
[<samp>(5b58b)</samp>](https://togithub.com/vitest-dev/vitest/commit/5b58b399)
-   **typecheck**:
- Update get-tsconfig 4.7.3 to fix false circularity error  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/5384](https://togithub.com/vitest-dev/vitest/issues/5384)
[<samp>(bdc37)</samp>](https://togithub.com/vitest-dev/vitest/commit/bdc371ee)
-   **ui**:
- Escape html in error diff  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/5325](https://togithub.com/vitest-dev/vitest/issues/5325)
[<samp>(ab60b)</samp>](https://togithub.com/vitest-dev/vitest/commit/ab60bf8d)
-   **vitest**:
- Loosen `onConsoleLog` return type  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/5337](https://togithub.com/vitest-dev/vitest/issues/5337)
[<samp>(6d1b1)</samp>](https://togithub.com/vitest-dev/vitest/commit/6d1b1451)
- Ensure restoring terminal cursor on close  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/5292](https://togithub.com/vitest-dev/vitest/issues/5292)
[<samp>(0bea2)</samp>](https://togithub.com/vitest-dev/vitest/commit/0bea2247)
- Ignore timeout on websocket reporter rpc  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va)
[<samp>(38119)</samp>](https://togithub.com/vitest-dev/vitest/commit/38119b75)
- Correctly override api with --no-api flag  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5386](https://togithub.com/vitest-dev/vitest/issues/5386)
[<samp>(51d1d)</samp>](https://togithub.com/vitest-dev/vitest/commit/51d1d472)
- Logs in `beforeAll` and `afterAll`  -  by
[@&#8203;fenghan34](https://togithub.com/fenghan34) in
[https://github.com/vitest-dev/vitest/issues/5288](https://togithub.com/vitest-dev/vitest/issues/5288

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/probot/smee-client).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbIlR5cGU6IE1haW50ZW5hbmNlIl19-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Copy link

coderabbitai bot commented Jul 22, 2024

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Walkthrough

The recent changes enhance the CI workflow, improve HTTP request handling in the Client class by refining header management, and update several development dependencies for better performance. Additionally, the TypeScript configuration has been streamlined by removing specific compiler options. Collectively, these modifications aim to improve functionality, clarity, and maintainability without disrupting existing structures.

Changes

Files Change Summary
.github/workflows/ci.yml Added a new job step to the CI workflow, expanding the range of tasks that the CI system will execute.
index.ts Modified HTTP header management by deleting the "host" header and setting the "content-type" to "application/json", improving compatibility with servers.
package.json Updated devDependencies: @octokit/tsconfig to ^3.0.0, @vitest/coverage-v8 to ^2.0.0, and vitest to ^2.0.0, enhancing functionality and performance.
tsconfig.json Removed several compiler options, streamlining the configuration while maintaining key type-checking behaviors.

Poem

🐇 In the meadow where changes bloom,
New steps in CI chase away gloom.
With headers set and dependencies bright,
Our code hops forward, a joyful sight!
Let's celebrate with a bounding cheer,
For every tweak brings us near! 🎉


🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

AaronDewes and others added 4 commits July 22, 2024 13:36
Co-authored-by: wolfy1339 <webmaster@wolfy1339.com>
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Update | Change |
|---|---|
| lockFileMaintenance | All locks refreshed |

🔧 This Pull Request updates lock files to use the latest dependency
versions.

---

### Configuration

📅 **Schedule**: Branch creation - "before 5am on monday" (UTC),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View the
[repository job
log](https://developer.mend.io/github/probot/smee-client).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbIlR5cGU6IE1haW50ZW5hbmNlIl19-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Update | Change |
|---|---|
| lockFileMaintenance | All locks refreshed |

🔧 This Pull Request updates lock files to use the latest dependency
versions.

---

### Configuration

📅 **Schedule**: Branch creation - "before 5am on monday" (UTC),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View the
[repository job
log](https://developer.mend.io/github/probot/smee-client).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbIlR5cGU6IE1haW50ZW5hbmNlIl19-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between af1f104 and 9f49ea7.

Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
Files selected for processing (4)
  • .github/workflows/ci.yml (1 hunks)
  • index.ts (1 hunks)
  • package.json (1 hunks)
  • tsconfig.json (1 hunks)
Files skipped from review due to trivial changes (1)
  • tsconfig.json
Additional comments not posted (5)
package.json (3)

35-35: Update to @vitest/coverage-v8 version.

The version of @vitest/coverage-v8 has been updated from ^1.0.0 to ^2.0.0. Ensure that the new version is compatible with your coverage reporting setup and does not introduce breaking changes.


31-31: Update to @octokit/tsconfig version.

The version of @octokit/tsconfig has been updated from ^2.0.0 to ^3.0.0. Ensure that the new version is compatible with your TypeScript configuration and does not introduce breaking changes.


39-39: Update to vitest version.

The version of vitest has been updated from ^1.0.0 to ^2.0.0. Ensure that the new version is compatible with your testing setup and does not introduce breaking changes.

Verification successful

Update to vitest version.

The version of vitest has been updated from ^1.0.0 to ^2.0.0. Based on the inspection of the test files and configurations, no compatibility issues or breaking changes have been identified. The update should work seamlessly with the current test setup.

  • test/index.test.ts: Uses basic vitest functionalities (describe, test, expect) that are unlikely to have breaking changes.
Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify compatibility of vitest version 2.0.0.

# Test: Check for any breaking changes or deprecations in the new version.
npm info vitest@2.0.0 peerDependencies

Length of output: 111


Script:

#!/bin/bash
# Find all files that contain vitest configuration or usage
rg -i 'vitest' -A 5

Length of output: 9241


Script:

#!/bin/bash
# Search for documentation or release notes related to vitest in the repository
rg -i 'vitest' README.md CHANGELOG.md

Length of output: 90


Script:

#!/bin/bash
# Find all test files in the repository
fd -e js -e ts -e jsx -e tsx -e json -e mjs -e cjs -e yaml -e yml test

Length of output: 91


Script:

#!/bin/bash
# Search for vitest related imports and usage in the test/index.test.ts file
rg -i 'vitest' test/index.test.ts -A 10

Length of output: 447

index.ts (1)

69-69: Addition of content-type header.

The content-type header has been added to the HTTP request to specify that the request body is JSON. This is a good practice to ensure the server correctly interprets the payload.

.github/workflows/ci.yml (1)

98-98: Addition of Node.js version 22 to the test matrix.

The addition of Node.js version 22 to the test matrix ensures that the code is tested against the latest Node.js version, which is a good practice for maintaining compatibility.

renovate bot and others added 2 commits August 13, 2024 08:02
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Update | Change |
|---|---|
| lockFileMaintenance | All locks refreshed |

🔧 This Pull Request updates lock files to use the latest dependency
versions.

---

### Configuration

📅 **Schedule**: Branch creation - "before 5am on monday" (UTC),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View the
[repository job
log](https://developer.mend.io/github/probot/smee-client).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4yMC4xIiwidXBkYXRlZEluVmVyIjoiMzguMjAuMSIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6WyJUeXBlOiBNYWludGVuYW5jZSJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 9f49ea7 and 50bb037.

Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
Files selected for processing (1)
  • index.ts (1 hunks)
Additional context used
Biome
index.ts

[error] 71-71: Avoid the delete operator which can impact performance.

Unsafe fix: Use an undefined assignment instead.

(lint/performance/noDelete)

Comment on lines +68 to +73
// Don't forward the host header. As it causes issues with some servers
// See https://github.com/probot/smee-client/issues/295
// See https://github.com/probot/smee-client/issues/187
delete headers["host"];
headers["content-length"] = Buffer.byteLength(body);
headers["content-type"] = "application/json";
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Replace delete with undefined assignment for better performance.

Using the delete operator can impact performance. Consider setting the header to undefined instead.

-    delete headers["host"];
+    headers["host"] = undefined;
Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
// Don't forward the host header. As it causes issues with some servers
// See https://github.com/probot/smee-client/issues/295
// See https://github.com/probot/smee-client/issues/187
delete headers["host"];
headers["content-length"] = Buffer.byteLength(body);
headers["content-type"] = "application/json";
// Don't forward the host header. As it causes issues with some servers
// See https://github.com/probot/smee-client/issues/295
// See https://github.com/probot/smee-client/issues/187
headers["host"] = undefined;
headers["content-length"] = Buffer.byteLength(body);
headers["content-type"] = "application/json";
Tools
Biome

[error] 71-71: Avoid the delete operator which can impact performance.

Unsafe fix: Use an undefined assignment instead.

(lint/performance/noDelete)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Update | Change |
|---|---|
| lockFileMaintenance | All locks refreshed |

🔧 This Pull Request updates lock files to use the latest dependency
versions.

---

### Configuration

📅 **Schedule**: Branch creation - "before 5am on monday" (UTC),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View the
[repository job
log](https://developer.mend.io/github/probot/smee-client).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4yNi4xIiwidXBkYXRlZEluVmVyIjoiMzguMjYuMSIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6WyJUeXBlOiBNYWludGVuYW5jZSJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot added 9 commits August 27, 2024 06:14
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Update | Change |
|---|---|
| lockFileMaintenance | All locks refreshed |

🔧 This Pull Request updates lock files to use the latest dependency
versions.

---

### Configuration

📅 **Schedule**: Branch creation - "before 5am on monday" (UTC),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View the
[repository job
log](https://developer.mend.io/github/probot/smee-client).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4yNi4xIiwidXBkYXRlZEluVmVyIjoiMzguMjYuMSIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6WyJUeXBlOiBNYWludGVuYW5jZSJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This PR contains the following updates:

| Update | Change |
|---|---|
| lockFileMaintenance | All locks refreshed |

🔧 This Pull Request updates lock files to use the latest dependency
versions.

---

### Configuration

📅 **Schedule**: Branch creation - "before 5am on monday" (UTC),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config
help](https://redirect.github.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/probot/smee-client).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC41OS4yIiwidXBkYXRlZEluVmVyIjoiMzguNTkuMiIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6WyJUeXBlOiBNYWludGVuYW5jZSJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This PR contains the following updates:

| Update | Change |
|---|---|
| lockFileMaintenance | All locks refreshed |

🔧 This Pull Request updates lock files to use the latest dependency
versions.

---

### Configuration

📅 **Schedule**: Branch creation - "before 5am on monday" (UTC),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config
help](https://redirect.github.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/probot/smee-client).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC41OS4yIiwidXBkYXRlZEluVmVyIjoiMzguNTkuMiIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6WyJUeXBlOiBNYWludGVuYW5jZSJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This PR contains the following updates:

| Update | Change |
|---|---|
| lockFileMaintenance | All locks refreshed |

🔧 This Pull Request updates lock files to use the latest dependency
versions.

---

### Configuration

📅 **Schedule**: Branch creation - "before 5am on monday" (UTC),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config
help](https://redirect.github.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/probot/smee-client).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC44MC4wIiwidXBkYXRlZEluVmVyIjoiMzguODAuMCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6WyJUeXBlOiBNYWludGVuYW5jZSJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This PR contains the following updates:

| Update | Change |
|---|---|
| lockFileMaintenance | All locks refreshed |

🔧 This Pull Request updates lock files to use the latest dependency
versions.

---

### Configuration

📅 **Schedule**: Branch creation - "before 5am on monday" (UTC),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config
help](https://redirect.github.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/probot/smee-client).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC44MC4wIiwidXBkYXRlZEluVmVyIjoiMzguODAuMCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6WyJUeXBlOiBNYWludGVuYW5jZSJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This PR contains the following updates:

| Update | Change |
|---|---|
| lockFileMaintenance | All locks refreshed |

🔧 This Pull Request updates lock files to use the latest dependency
versions.

---

### Configuration

📅 **Schedule**: Branch creation - "before 5am on monday" (UTC),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config
help](https://redirect.github.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/probot/smee-client).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC45Ny4wIiwidXBkYXRlZEluVmVyIjoiMzguOTcuMCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6WyJUeXBlOiBNYWludGVuYW5jZSJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This PR contains the following updates:

| Update | Change |
|---|---|
| lockFileMaintenance | All locks refreshed |

🔧 This Pull Request updates lock files to use the latest dependency
versions.

---

### Configuration

📅 **Schedule**: Branch creation - "before 5am on monday" (UTC),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config
help](https://redirect.github.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/probot/smee-client).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC45Ny4wIiwidXBkYXRlZEluVmVyIjoiMzguOTcuMCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6WyJUeXBlOiBNYWludGVuYW5jZSJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This PR contains the following updates:

| Update | Change |
|---|---|
| lockFileMaintenance | All locks refreshed |

🔧 This Pull Request updates lock files to use the latest dependency
versions.

---

### Configuration

📅 **Schedule**: Branch creation - "before 5am on monday" (UTC),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config
help](https://redirect.github.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/probot/smee-client).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4xMjAuMSIsInVwZGF0ZWRJblZlciI6IjM4LjEyMC4xIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbIlR5cGU6IE1haW50ZW5hbmNlIl19-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants