Skip to content

Commit

Permalink
Bump @vitest/coverage-v8 from 2.0.5 to 2.1.1 in /src/vscode-bicep-ui (#…
Browse files Browse the repository at this point in the history
…15136)

[//]: # (dependabot-start)
⚠️  **Dependabot is rebasing this PR** ⚠️ 

Rebasing might not happen immediately, so don't worry if this takes some
time.

Note: if you make any changes to this PR yourself, they will take
precedence over the rebase.

---

[//]: # (dependabot-end)

Bumps
[@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8)
from 2.0.5 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-v8</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-v8/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-v8/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-v8/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/91dea8c1461acf223fc514fc259012577ea72945"><code>91dea8c</code></a>
fix(coverage): v8 to warn instead of crash when conversion fails (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8/issues/6318">#6318</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/1f6cb59f1346238e5d113167b21d69032cd65088"><code>1f6cb59</code></a>
fix(coverage): v8 to support source maps with multiple sources (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8/issues/6120">#6120</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/vitest-dev/vitest/commits/v2.1.1/packages/coverage-v8">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@vitest/coverage-v8&package-manager=npm_and_yarn&previous-version=2.0.5&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>
###### Microsoft Reviewers: [Open in
CodeFlow](https://microsoft.github.io/open-pr/?codeflow=https://github.com/Azure/bicep/pull/15136)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] committed Sep 23, 2024
1 parent 0f972a6 commit 6e7d56e
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 10 deletions.
22 changes: 14 additions & 8 deletions src/vscode-bicep-ui/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/vscode-bicep-ui/packages/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react": "^4.3.1",
"@vitest/coverage-v8": "^2.0.5",
"@vitest/coverage-v8": "^2.1.1",
"@vscode/codicons": "^0.0.36",
"eslint-plugin-storybook": "^0.8.0",
"eslint-plugin-testing-library": "^6.3.0",
Expand Down
2 changes: 1 addition & 1 deletion src/vscode-bicep-ui/packages/messaging/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@types/vscode-webview": "^1.57.5",
"@vitest/coverage-v8": "^2.0.5",
"@vitest/coverage-v8": "^2.1.1",
"happy-dom": "^14.12.3",
"vite": "^5.4.7",
"vite-plugin-dts": "^4.0.2",
Expand Down

0 comments on commit 6e7d56e

Please sign in to comment.