Skip to content

Commit

Permalink
Bump @vitest/coverage-istanbul from 2.0.3 to 2.1.1 in /src/frontend (#…
Browse files Browse the repository at this point in the history
…254)

Bumps
[@vitest/coverage-istanbul](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-istanbul)
from 2.0.3 to 2.1.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/vitest-dev/vitest/releases"><code>@​vitest/coverage-istanbul</code>'s
releases</a>.</em></p>
<blockquote>
<h2>v2.1.1</h2>
<h3>   🐞 Bug Fixes</h3>
<ul>
<li><strong>browser</strong>:
<ul>
<li>Make example test callbacks async  -  by <a
href="https://github.com/aqandrew"><code>@​aqandrew</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/6484">vitest-dev/vitest#6484</a>
<a href="https://github.com/vitest-dev/vitest/commit/16aa76c2"><!-- raw
HTML omitted -->(16aa7)<!-- raw HTML omitted --></a></li>
<li>Optimize vitest-browser-vue correctly  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/6490">vitest-dev/vitest#6490</a>
<a href="https://github.com/vitest-dev/vitest/commit/5cbb0bba"><!-- raw
HTML omitted -->(5cbb0)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>workspace</strong>:
<ul>
<li>Resolve glob pattern once to avoid name collision  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/6489">vitest-dev/vitest#6489</a>
<a href="https://github.com/vitest-dev/vitest/commit/36b5aceb"><!-- raw
HTML omitted -->(36b5a)<!-- raw HTML omitted --></a></li>
</ul>
</li>
</ul>
<h5>    <a
href="https://github.com/vitest-dev/vitest/compare/v2.1.0...v2.1.1">View
changes on GitHub</a></h5>
<h2>v2.1.0</h2>
<p>This release makes another big change to the Browser Mode by
introducing <a
href="https://vitest.dev/guide/browser/locators.html">locators
API</a>:</p>
<pre lang="ts"><code>test('renders blog posts', async () =&gt; {
  const screen = page.render(&lt;Blog /&gt;)
<p>await expect.element(screen.getByRole('heading', { name: 'Blog'
})).toBeInTheDocument()</p>
<p>const [firstPost] = screen.getByRole('listitem').all()</p>
<p>await firstPost.getByRole('button', { name: 'Delete' }).click()</p>
<p>expect(screen.getByRole('listitem').all()).toHaveLength(3)
})
</code></pre></p>
<p>You can use either <a
href="https://github.com/vitest-dev/vitest-browser-vue">vitest-browser-vue</a>,
<a
href="https://github.com/vitest-dev/vitest-browser-svelte">vitest-browser-svelte
</a> or <a
href="https://github.com/vitest-dev/vitest-browser-react">vitest-browser-react</a>
to render components and make assertions using locators. Locators are
also available on the <code>page</code> object from
<code>@vitest/browser/context</code>.</p>
<h3>Potential Breaking Change</h3>
<ul>
<li><strong>workspace</strong>:
<ul>
<li>Correctly resolve workspace globs and file paths  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/6316">vitest-dev/vitest#6316</a>
<a href="https://github.com/vitest-dev/vitest/commit/afdcb8f2"><!-- raw
HTML omitted -->(afdcb)<!-- raw HTML omitted --></a></li>
<li>This changes how the custom glob pattern in the workspace config is
treated. <em>Any</em> file matching the glob is considered a Vitest
config file. Any folder matching the glob pattern is treated as a
workspace project and is subject to the regular config resolution
(single <code>vitest.config.ts</code> or <code>vite.config.ts</code>
inside the folder)</li>
<li>For example, <code>projects/*</code> will match anything inside the
<code>projects</code> folder. If it's a folder, we try to find the
config inside that folder (if there is none, it is still treated as a
project with the default config). If it's a file, it will be treated as
a Vitest config. <code>projects/**/*</code> previously would assume that
you only wanted to have folders as projects, but now it will match
<em>every single file</em> inside<code>projects</code>.</li>
<li>This change doesn't affect non-glob usage.</li>
</ul>
</li>
</ul>
<h3>   🚀 Features</h3>
<ul>
<li><strong>api</strong>:
<ul>
<li>Make spec into a class instead of a tuple  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/6355">vitest-dev/vitest#6355</a>
<a href="https://github.com/vitest-dev/vitest/commit/874a121e"><!-- raw
HTML omitted -->(874a1)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>browser</strong>:
<ul>
<li>Move page.config to server.config, add more docs  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/6252">vitest-dev/vitest#6252</a>
<a href="https://github.com/vitest-dev/vitest/commit/af2b813c"><!-- raw
HTML omitted -->(af2b8)<!-- raw HTML omitted --></a></li>
<li>Make iframe scalable, improve documentation  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/6257">vitest-dev/vitest#6257</a>
<a href="https://github.com/vitest-dev/vitest/commit/74ca11a4"><!-- raw
HTML omitted -->(74ca1)<!-- raw HTML omitted --></a></li>
<li>Introduce built-in locators  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/6084">vitest-dev/vitest#6084</a>
<a href="https://github.com/vitest-dev/vitest/commit/3347f83e"><!-- raw
HTML omitted -->(3347f)<!-- raw HTML omitted --></a></li>
<li>Support v8 coverage  -  by <a
href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/6273">vitest-dev/vitest#6273</a>
<a href="https://github.com/vitest-dev/vitest/commit/34199bdf"><!-- raw
HTML omitted -->(34199)<!-- raw HTML omitted --></a></li>
<li>Support <code>userEvent.upload</code> in playwright provider  -  by
<a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a>
in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/6442">vitest-dev/vitest#6442</a>
<a href="https://github.com/vitest-dev/vitest/commit/cf148645"><!-- raw
HTML omitted -->(cf148)<!-- raw HTML omitted --></a></li>
<li>Support <code>--inspect</code>  -  by <a
href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/6433">vitest-dev/vitest#6433</a>
<a href="https://github.com/vitest-dev/vitest/commit/0499a315"><!-- raw
HTML omitted -->(0499a)<!-- raw HTML omitted --></a></li>
<li>Support <code>--inspect-brk</code>  -  by <a
href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/6434">vitest-dev/vitest#6434</a>
<a href="https://github.com/vitest-dev/vitest/commit/7ab0f4a8"><!-- raw
HTML omitted -->(7ab0f)<!-- raw HTML omitted --></a></li>
</ul>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/vitest-dev/vitest/commit/699055eb93909287e1542fdfb99d97f2a38965ba"><code>699055e</code></a>
chore: release v2.1.1</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/9f1fd182fd96931ee876662f75e5931031798299"><code>9f1fd18</code></a>
chore: release v2.1.0</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/b2be23e4c901c1667c94c8119dfe94b6063e6d30"><code>b2be23e</code></a>
chore: release v2.1.0-beta.7</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/8ac70111706a4444a779a75bed34c18b800ea0b3"><code>8ac7011</code></a>
chore: release v2.1.0-beta.6</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/da52d23fd1815dba954ecad935d76a8233be04a2"><code>da52d23</code></a>
fix(coverage): use project specific <code>vitenode</code> for uncovered
files (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-istanbul/issues/6044">#6044</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/5932a7f988fdb269ac1ae704172bc7cfbf6ed721"><code>5932a7f</code></a>
feat(coverage): add <code>--exclude-after-remap</code> (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-istanbul/issues/6309">#6309</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/34199bdf9a8cc9ac3615285bfe051948fa0cf7e4"><code>34199bd</code></a>
feat(browser): support v8 coverage (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-istanbul/issues/6273">#6273</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/72056b5063d29ddc6219d028fcfc6b1e4eab0e05"><code>72056b5</code></a>
chore: release v2.1.0-beta.5</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/e662c7b2c307adbf312684c21efd8d05b1284b9a"><code>e662c7b</code></a>
fix(coverage): warn if <code>vitest</code> and <code>@vitest/*</code>
versions don't match (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-istanbul/issues/6317">#6317</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/67b086bb86e34f8190631e419e5111a074cbedae"><code>67b086b</code></a>
chore: release v2.1.0-beta.4</li>
<li>Additional commits viewable in <a
href="https://github.com/vitest-dev/vitest/commits/v2.1.1/packages/coverage-istanbul">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@vitest/coverage-istanbul&package-manager=npm_and_yarn&previous-version=2.0.3&new-version=2.1.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Sep 20, 2024
1 parent 687320d commit 225b82b
Show file tree
Hide file tree
Showing 2 changed files with 154 additions and 241 deletions.
Loading

0 comments on commit 225b82b

Please sign in to comment.