Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump vitest from 2.0.5 to 2.1.4 (#79)
Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) from 2.0.5 to 2.1.4. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/vitest-dev/vitest/releases">vitest's releases</a>.</em></p> <blockquote> <h2>v2.1.4</h2> <h3> 🚀 Features</h3> <p><em>This patch release includes a non-breaking feature for the experimental Browser Mode that doesn't follow SemVer. If you want to avoid picking up releases like this, make sure to pin the Vitest version in your <code>package.json</code>. See npm's documentation about <a href="https://docs.npmjs.com/cli/v6/using-npm/semver/">semver</a> for more information.</em></p> <ul> <li><strong>browser</strong>: Allow custom HTML path, respect plugins <code>transformIndexHtml</code> - by <a href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/6725">vitest-dev/vitest#6725</a> <a href="https://github.com/vitest-dev/vitest/commit/169028f0"><!-- raw HTML omitted -->(16902)<!-- raw HTML omitted --></a></li> </ul> <h3> 🐞 Bug Fixes</h3> <ul> <li><strong>windows</strong>: <ul> <li>Don't normalize drive case letter in root - by <a href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/6792">vitest-dev/vitest#6792</a> <a href="https://github.com/vitest-dev/vitest/commit/b28cd2e3"><!-- raw HTML omitted -->(b28cd)<!-- raw HTML omitted --></a></li> </ul> </li> <li><strong>browser</strong>: <ul> <li>Fix default browser port - by <a href="https://github.com/hi-ogawa"><code>@hi-ogawa</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/6700">vitest-dev/vitest#6700</a> <a href="https://github.com/vitest-dev/vitest/commit/9c518c14"><!-- raw HTML omitted -->(9c518)<!-- raw HTML omitted --></a></li> <li>Optimize expect-type - by <a href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/6713">vitest-dev/vitest#6713</a> <a href="https://github.com/vitest-dev/vitest/commit/07918538"><!-- raw HTML omitted -->(07918)<!-- raw HTML omitted --></a></li> <li>Don't polyfill process.env - by <a href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/6718">vitest-dev/vitest#6718</a> <a href="https://github.com/vitest-dev/vitest/commit/da6d2ea7"><!-- raw HTML omitted -->(da6d2)<!-- raw HTML omitted --></a></li> <li>Increment browser port automatically if there are several projects with browser.enabled - by <a href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/6717">vitest-dev/vitest#6717</a> <a href="https://github.com/vitest-dev/vitest/commit/a939779f"><!-- raw HTML omitted -->(a9397)<!-- raw HTML omitted --></a></li> <li>Cleanup keyboard state - by <a href="https://github.com/hi-ogawa"><code>@hi-ogawa</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/6731">vitest-dev/vitest#6731</a> <a href="https://github.com/vitest-dev/vitest/commit/19278f4c"><!-- raw HTML omitted -->(19278)<!-- raw HTML omitted --></a></li> <li>Don't add <code>v=</code> queries to setup files imports - by <a href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/6759">vitest-dev/vitest#6759</a> <a href="https://github.com/vitest-dev/vitest/commit/b82584c9"><!-- raw HTML omitted -->(b8258)<!-- raw HTML omitted --></a></li> <li>User event cleanup on retry - by <a href="https://github.com/hi-ogawa"><code>@hi-ogawa</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/6764">vitest-dev/vitest#6764</a> <a href="https://github.com/vitest-dev/vitest/commit/bdd15dd1"><!-- raw HTML omitted -->(bdd15)<!-- raw HTML omitted --></a></li> <li>Ignore non mocked msw requests - by <a href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/6770">vitest-dev/vitest#6770</a> <a href="https://github.com/vitest-dev/vitest/commit/9d9bad5b"><!-- raw HTML omitted -->(9d9ba)<!-- raw HTML omitted --></a></li> <li>Initiate MSW in the same frame as tests - by <a href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/6772">vitest-dev/vitest#6772</a> <a href="https://github.com/vitest-dev/vitest/commit/2444ff22"><!-- raw HTML omitted -->(2444f)<!-- raw HTML omitted --></a></li> </ul> </li> <li><strong>deps</strong>: <ul> <li>Update dependency sirv to v3 - in <a href="https://redirect.github.com/vitest-dev/vitest/issues/6701">vitest-dev/vitest#6701</a> <a href="https://github.com/vitest-dev/vitest/commit/fde5d509"><!-- raw HTML omitted -->(fde5d)<!-- raw HTML omitted --></a></li> </ul> </li> <li><strong>expect</strong>: <ul> <li>Correct behavior of <code>toThrowError</code> with empty string parameter - by <a href="https://github.com/shulaoda"><code>@shulaoda</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/6710">vitest-dev/vitest#6710</a> <a href="https://github.com/vitest-dev/vitest/commit/a61293e9"><!-- raw HTML omitted -->(a6129)<!-- raw HTML omitted --></a></li> </ul> </li> <li><strong>mocker</strong>: <ul> <li>Remove spy from peer dependencies - by <a href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/6777">vitest-dev/vitest#6777</a> <a href="https://github.com/vitest-dev/vitest/commit/3a8b56bf"><!-- raw HTML omitted -->(3a8b5)<!-- raw HTML omitted --></a></li> </ul> </li> <li><strong>vitest</strong>: <ul> <li>Clarify slowTestThreshold, print slow tests in non-TTY mode - by <a href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/6715">vitest-dev/vitest#6715</a> <a href="https://github.com/vitest-dev/vitest/commit/2e6aa647"><!-- raw HTML omitted -->(2e6aa)<!-- raw HTML omitted --></a></li> <li>Print warnings form Vite plugins - by <a href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/6724">vitest-dev/vitest#6724</a> <a href="https://github.com/vitest-dev/vitest/commit/121b161f"><!-- raw HTML omitted -->(121b1)<!-- raw HTML omitted --></a></li> <li>Don't fail if the working directory starts with a lowercase drive letter - by <a href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/6779">vitest-dev/vitest#6779</a> <a href="https://github.com/vitest-dev/vitest/commit/df6d750b"><!-- raw HTML omitted -->(df6d7)<!-- raw HTML omitted --></a></li> <li>Silence import analysis warning - by <a href="https://github.com/hi-ogawa"><code>@hi-ogawa</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/6785">vitest-dev/vitest#6785</a> <a href="https://github.com/vitest-dev/vitest/commit/39041ee5"><!-- raw HTML omitted -->(39041)<!-- raw HTML omitted --></a></li> </ul> </li> <li><strong>vitest,runner</strong>: <ul> <li>Simplify <code>test.extend</code> type exports - by <a href="https://github.com/hi-ogawa"><code>@hi-ogawa</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/6707">vitest-dev/vitest#6707</a> <a href="https://github.com/vitest-dev/vitest/commit/e5c388f0"><!-- raw HTML omitted -->(e5c38)<!-- raw HTML omitted --></a></li> </ul> </li> </ul> <h3> 🏎 Performance</h3> <ul> <li>Use <code>hash</code> to replace <code>createHash</code> - by <a href="https://github.com/btea"><code>@btea</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/6703">vitest-dev/vitest#6703</a> <a href="https://github.com/vitest-dev/vitest/commit/5d07bba6"><!-- raw HTML omitted -->(5d07b)<!-- raw HTML omitted --></a></li> </ul> <h5> <a href="https://github.com/vitest-dev/vitest/compare/v2.1.3...v2.1.4">View changes on GitHub</a></h5> <h2>v2.1.3</h2> <h3> 🐞 Bug Fixes</h3> <ul> <li>Fix error diff of <code>toBeNaN, toBeUndefined, toBeNull, toBeTruthy, toBeFalsy</code> - by <a href="https://github.com/hi-ogawa"><code>@hi-ogawa</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/6697">vitest-dev/vitest#6697</a> <a href="https://github.com/vitest-dev/vitest/commit/e002758c"><!-- raw HTML omitted -->(e0027)<!-- raw HTML omitted --></a></li> <li><strong>browser</strong>: <ul> <li>Provide aria role intellisense - by <a href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/6629">vitest-dev/vitest#6629</a> <a href="https://github.com/vitest-dev/vitest/commit/f36eac77"><!-- raw HTML omitted -->(f36ea)<!-- raw HTML omitted --></a></li> <li>Not.toBeInTheDocument works with locators API - by <a href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/6634">vitest-dev/vitest#6634</a> <a href="https://github.com/vitest-dev/vitest/commit/8bef5d2b"><!-- raw HTML omitted -->(8bef5)<!-- raw HTML omitted --></a></li> <li>Use <code>/mockServiceWorker.js</code> instead of <code>/__vitest_msw__</code> - by <a href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/6687">vitest-dev/vitest#6687</a> <a href="https://github.com/vitest-dev/vitest/commit/4b2ce07f"><!-- raw HTML omitted -->(4b2ce)<!-- raw HTML omitted --></a></li> <li>Don't override the esbuild option in the browser mode - by <a href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/6692">vitest-dev/vitest#6692</a> <a href="https://github.com/vitest-dev/vitest/commit/d131fd64"><!-- raw HTML omitted -->(d131f)<!-- 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/0df44c0e7c7d7895ddef99f5029cbe3037fe5732"><code>0df44c0</code></a> chore: release v2.1.4</li> <li><a href="https://github.com/vitest-dev/vitest/commit/2444ff225fa82f07b185ae6e5fef7b10227ec876"><code>2444ff2</code></a> fix(browser): initiate MSW in the same frame as tests (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/6772">#6772</a>)</li> <li><a href="https://github.com/vitest-dev/vitest/commit/39041ee55d30ab14cfddb6787cf6263d190e3e8e"><code>39041ee</code></a> fix(vitest): silence import analysis warning (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/6785">#6785</a>)</li> <li><a href="https://github.com/vitest-dev/vitest/commit/b28cd2e3967f8fa58ad36518dfff67950ddee86e"><code>b28cd2e</code></a> fix: don't normalize drive case letter in root (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/6792">#6792</a>)</li> <li><a href="https://github.com/vitest-dev/vitest/commit/df6d750b79066fdc412cece56051ed4d878e189d"><code>df6d750</code></a> fix(vitest): don't fail if the working directory starts with a lowercase driv...</li> <li><a href="https://github.com/vitest-dev/vitest/commit/169028f03abf5e80d77924f4ed9ae6107647c4c0"><code>169028f</code></a> feat(browser): allow custom HTML path, respect plugins <code>transformIndexHtml</code> (...</li> <li><a href="https://github.com/vitest-dev/vitest/commit/5df7414bf6e66ed379660e276cfb7746980394d2"><code>5df7414</code></a> chore(deps): update all non-major dependencies (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/6750">#6750</a>)</li> <li><a href="https://github.com/vitest-dev/vitest/commit/de74785e052649c12a415d290dbce7ad6ad76be4"><code>de74785</code></a> chore(deps): update <code>@antfu/eslint-config</code> v3.8.0 (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/6751">#6751</a>)</li> <li><a href="https://github.com/vitest-dev/vitest/commit/121b161fa81ab06331553f4c017cb357a1d0822d"><code>121b161</code></a> fix(vitest): print warnings form Vite plugins (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/6724">#6724</a>)</li> <li><a href="https://github.com/vitest-dev/vitest/commit/a939779f1db473f8be3de8454bc94de70cfe5b97"><code>a939779</code></a> fix(browser): increment browser port automatically if there are several proje...</li> <li>Additional commits viewable in <a href="https://github.com/vitest-dev/vitest/commits/v2.1.4/packages/vitest">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=vitest&package-manager=npm_and_yarn&previous-version=2.0.5&new-version=2.1.4)](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