300.md (10353B)
1 # PR #300 Bump vitest from 0.27.1 to 0.27.2 2 3 - **Status:** merged 4 - **Author:** @dependabot[bot] 5 - **Created:** 2023-01-17T08:16:25Z 6 - **Branch:** dependabot/npm_and_yarn/vitest-0.27.2 → main 7 - **Merged:** 2023-01-17T22:06:05Z 8 - **Labels:** dependencies, javascript 9 - **Assignees:** @MTRNord 10 - **Reviewers:** @MTRNord 11 - **Diff:** [300.diff](./300.diff) 12 13 --- 14 15 Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) from 0.27.1 to 0.27.2. 16 <details> 17 <summary>Release notes</summary> 18 <p><em>Sourced from <a href="https://github.com/vitest-dev/vitest/releases">vitest's releases</a>.</em></p> 19 <blockquote> 20 <h2>v0.27.2</h2> 21 <h3> 🚀 Features</h3> 22 <ul> 23 <li>Add runAllTimersAsync from sinonjs - by <a href="https://github.com/guillaumeduboc"><code>@guillaumeduboc</code></a> in <a href="https://github-redirect.dependabot.com/vitest-dev/vitest/issues/2209">vitest-dev/vitest#2209</a> <a href="https://github.com/vitest-dev/vitest/commit/40187bdb"><!-- raw HTML omitted -->(40187)<!-- raw HTML omitted --></a></li> 24 </ul> 25 <h3> 🐞 Bug Fixes</h3> 26 <ul> 27 <li>Document.defaultView references the same window as the global one - by <a href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in <a href="https://github-redirect.dependabot.com/vitest-dev/vitest/issues/2649">vitest-dev/vitest#2649</a> <a href="https://github.com/vitest-dev/vitest/commit/1ac4bb8d"><!-- raw HTML omitted -->(1ac4b)<!-- raw HTML omitted --></a></li> 28 <li>Trim input filename and test name - by <a href="https://github.com/btea"><code>@btea</code></a> in <a href="https://github-redirect.dependabot.com/vitest-dev/vitest/issues/2650">vitest-dev/vitest#2650</a> <a href="https://github.com/vitest-dev/vitest/commit/d3dcbdc8"><!-- raw HTML omitted -->(d3dcb)<!-- raw HTML omitted --></a></li> 29 <li>Increase default teardownTimeout - by <a href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> <a href="https://github.com/vitest-dev/vitest/commit/13e53ac7"><!-- raw HTML omitted -->(13e53)<!-- raw HTML omitted --></a></li> 30 <li>Mock css files imported with "require" - by <a href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in <a href="https://github-redirect.dependabot.com/vitest-dev/vitest/issues/2679">vitest-dev/vitest#2679</a> <a href="https://github.com/vitest-dev/vitest/commit/6c1a26a6"><!-- raw HTML omitted -->(6c1a2)<!-- raw HTML omitted --></a></li> 31 <li>Don't start watching files in "run" mode - by <a href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in <a href="https://github-redirect.dependabot.com/vitest-dev/vitest/issues/2680">vitest-dev/vitest#2680</a> <a href="https://github.com/vitest-dev/vitest/commit/0a31e85c"><!-- raw HTML omitted -->(0a31e)<!-- raw HTML omitted --></a></li> 32 <li>Rerun tests, when setup file is edited - by <a href="https://github.com/mysteryven"><code>@mysteryven</code></a> and <a href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in <a href="https://github-redirect.dependabot.com/vitest-dev/vitest/issues/2625">vitest-dev/vitest#2625</a> <a href="https://github.com/vitest-dev/vitest/commit/019a6d57"><!-- raw HTML omitted -->(019a6)<!-- raw HTML omitted --></a></li> 33 <li>Always show filename for unhandled errors - by <a href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in <a href="https://github-redirect.dependabot.com/vitest-dev/vitest/issues/2689">vitest-dev/vitest#2689</a> <a href="https://github.com/vitest-dev/vitest/commit/15aa0156"><!-- raw HTML omitted -->(15aa0)<!-- raw HTML omitted --></a></li> 34 <li>Define property instead of assigning it in vi.stubGlobal - by <a href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in <a href="https://github-redirect.dependabot.com/vitest-dev/vitest/issues/2685">vitest-dev/vitest#2685</a> <a href="https://github.com/vitest-dev/vitest/commit/8a1d7590"><!-- raw HTML omitted -->(8a1d7)<!-- raw HTML omitted --></a></li> 35 <li><strong>coverage</strong>: Watch mode to use <code>coverage.all</code> only when all tests are run - by <a href="https://github.com/AriPerkkio"><code>@AriPerkkio</code></a> in <a href="https://github-redirect.dependabot.com/vitest-dev/vitest/issues/2665">vitest-dev/vitest#2665</a> <a href="https://github.com/vitest-dev/vitest/commit/85096281"><!-- raw HTML omitted -->(85096)<!-- raw HTML omitted --></a></li> 36 <li><strong>typecheck</strong>: Log tests with verbose reporter, correctly show "pass" tests - by <a href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in <a href="https://github-redirect.dependabot.com/vitest-dev/vitest/issues/2656">vitest-dev/vitest#2656</a> <a href="https://github.com/vitest-dev/vitest/commit/61ddebae"><!-- raw HTML omitted -->(61dde)<!-- raw HTML omitted --></a></li> 37 <li><strong>ui</strong>: Don't show "connecting" screen in html reporter - by <a href="https://github.com/poyoho"><code>@poyoho</code></a> in <a href="https://github-redirect.dependabot.com/vitest-dev/vitest/issues/2693">vitest-dev/vitest#2693</a> <a href="https://github.com/vitest-dev/vitest/commit/d8548c69"><!-- raw HTML omitted -->(d8548)<!-- raw HTML omitted --></a></li> 38 </ul> 39 <h3> 🏎 Performance</h3> 40 <ul> 41 <li>Don't resolve import path, if it was already resolved - by <a href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in <a href="https://github-redirect.dependabot.com/vitest-dev/vitest/issues/2659">vitest-dev/vitest#2659</a> <a href="https://github.com/vitest-dev/vitest/commit/45cc3423"><!-- raw HTML omitted -->(45cc3)<!-- raw HTML omitted --></a></li> 42 </ul> 43 <h5> <a href="https://github.com/vitest-dev/vitest/compare/v0.27.1...v0.27.2">View changes on GitHub</a></h5> 44 </blockquote> 45 </details> 46 <details> 47 <summary>Commits</summary> 48 <ul> 49 <li><a href="https://github.com/vitest-dev/vitest/commit/a1b685cb0d03a2894762921d99ac0f8312ce858b"><code>a1b685c</code></a> chore: release v0.27.2</li> 50 <li><a href="https://github.com/vitest-dev/vitest/commit/8a1d7590818f175f368b9f4063dbc300dcddcef2"><code>8a1d759</code></a> fix: define property instead of assigning it in vi.stubGlobal (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/2685">#2685</a>)</li> 51 <li><a href="https://github.com/vitest-dev/vitest/commit/15aa01567eb693f77dd9f06adf5c0f7e87eaef30"><code>15aa015</code></a> fix: always show filename for unhandled errors (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/2689">#2689</a>)</li> 52 <li><a href="https://github.com/vitest-dev/vitest/commit/019a6d5791cc418f8d6d044ed88aceadc6c9d9c6"><code>019a6d5</code></a> fix: rerun tests, when setup file is edited (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/2625">#2625</a>)</li> 53 <li><a href="https://github.com/vitest-dev/vitest/commit/0a31e85ca7f82b173a7995d61b58552bf18a28f9"><code>0a31e85</code></a> fix: don't start watching files in "run" mode (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/2680">#2680</a>)</li> 54 <li><a href="https://github.com/vitest-dev/vitest/commit/85096281aad680a0e108554738ac395ef8c80586"><code>8509628</code></a> fix(coverage): watch mode to use <code>coverage.all</code> only when all tests are run (...</li> 55 <li><a href="https://github.com/vitest-dev/vitest/commit/6c1a26a6a3411c9a33c78cc7d44cddb2dd0edd6b"><code>6c1a26a</code></a> fix: mock css files imported with "require" (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/2679">#2679</a>)</li> 56 <li><a href="https://github.com/vitest-dev/vitest/commit/40187bdbbd96b6b0e00851e4f9984b87b2091e75"><code>40187bd</code></a> feat: add runAllTimersAsync from sinonjs (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/2209">#2209</a>)</li> 57 <li><a href="https://github.com/vitest-dev/vitest/commit/13e53ac7b3c2b0a5eab01ba2d5c2860ccc8667e1"><code>13e53ac</code></a> fix: increase default teardownTimeout</li> 58 <li><a href="https://github.com/vitest-dev/vitest/commit/61ddebae61677f1a52208d9e598038fb5f51fbda"><code>61ddeba</code></a> fix(typecheck): log tests with verbose reporter, correctly show "pass" tests ...</li> 59 <li>Additional commits viewable in <a href="https://github.com/vitest-dev/vitest/commits/v0.27.2/packages/vitest">compare view</a></li> 60 </ul> 61 </details> 62 <br /> 63 64 65 [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 66 67 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`. 68 69 [//]: # (dependabot-automerge-start) 70 [//]: # (dependabot-automerge-end) 71 72 --- 73 74 <details> 75 <summary>Dependabot commands and options</summary> 76 <br /> 77 78 You can trigger Dependabot actions by commenting on this PR: 79 - `@dependabot rebase` will rebase this PR 80 - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it 81 - `@dependabot merge` will merge this PR after your CI passes on it 82 - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it 83 - `@dependabot cancel merge` will cancel a previously requested merge and block automerging 84 - `@dependabot reopen` will reopen this PR if it is closed 85 - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually 86 - `@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) 87 - `@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) 88 - `@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) 89 90 91 </details> 92 93 <!-- Replace --> 94 ---- 95 ⌛ Deploy Preview - Build in Progress 96 <!-- Replace --> 97 98