289.md (10341B)
1 # PR #289 Bump vitest from 0.26.3 to 0.27.0 2 3 - **Status:** merged 4 - **Author:** @dependabot[bot] 5 - **Created:** 2023-01-10T08:17:36Z 6 - **Branch:** dependabot/npm_and_yarn/vitest-0.27.0 → main 7 - **Merged:** 2023-01-10T09:12:12Z 8 - **Labels:** dependencies, javascript 9 - **Assignees:** @MTRNord 10 - **Reviewers:** @MTRNord 11 - **Diff:** [289.diff](./289.diff) 12 13 --- 14 15 [//]: # (dependabot-start) 16 ⚠️ **Dependabot is rebasing this PR** ⚠️ 17 18 Rebasing might not happen immediately, so don't worry if this takes some time. 19 20 Note: if you make any changes to this PR yourself, they will take precedence over the rebase. 21 22 --- 23 24 [//]: # (dependabot-end) 25 26 Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) from 0.26.3 to 0.27.0. 27 <details> 28 <summary>Release notes</summary> 29 <p><em>Sourced from <a href="https://github.com/vitest-dev/vitest/releases">vitest's releases</a>.</em></p> 30 <blockquote> 31 <h2>v0.27.0</h2> 32 <h3> 🚨 Breaking Changes</h3> 33 <ul> 34 <li>Deprecate "error" on result, store errors in "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/2586">vitest-dev/vitest#2586</a> <a href="https://github.com/vitest-dev/vitest/commit/e641a110"><!-- raw HTML omitted -->(e641a)<!-- raw HTML omitted --></a></li> 35 <li>Split vitest into separate packages, but still bundle them for the time being - 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/2575">vitest-dev/vitest#2575</a> <a href="https://github.com/vitest-dev/vitest/commit/c8e6fb69"><!-- raw HTML omitted -->(c8e6f)<!-- raw HTML omitted --></a></li> 36 </ul> 37 <h3> 🚀 Features</h3> 38 <ul> 39 <li><strong>coverage</strong>: report only changed files when using istanbul coverage with watch mode - by <a href="https://github.com/g4rry420"><code>@g4rry420</code></a> in <a href="https://github-redirect.dependabot.com/vitest-dev/vitest/issues/2385">vitest-dev/vitest#2385</a> <a href="https://github.com/vitest-dev/vitest/commit/bf87282c"><!-- raw HTML omitted -->(bf872)<!-- raw HTML omitted --></a></li> 40 </ul> 41 <h3> 🐞 Bug Fixes</h3> 42 <ul> 43 <li>Return mock path only when mocked - 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/2619">vitest-dev/vitest#2619</a> <a href="https://github.com/vitest-dev/vitest/commit/f8ac2094"><!-- raw HTML omitted -->(f8ac2)<!-- raw HTML omitted --></a></li> 44 <li>Allow mocking CJS module with interoped default - 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/2598">vitest-dev/vitest#2598</a> <a href="https://github.com/vitest-dev/vitest/commit/6b3e36d4"><!-- raw HTML omitted -->(6b3e3)<!-- raw HTML omitted --></a></li> 45 <li>Avoid random ENOTEMPTY errors - by <a href="https://github.com/AriPerkkio"><code>@AriPerkkio</code></a> in <a href="https://github-redirect.dependabot.com/vitest-dev/vitest/issues/2620">vitest-dev/vitest#2620</a> <a href="https://github.com/vitest-dev/vitest/commit/59766fa4"><!-- raw HTML omitted -->(59766)<!-- raw HTML omitted --></a></li> 46 <li>Always inline assets and modules with special Vite queries - 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/2617">vitest-dev/vitest#2617</a> <a href="https://github.com/vitest-dev/vitest/commit/fed1cd60"><!-- raw HTML omitted -->(fed1c)<!-- raw HTML omitted --></a></li> 47 <li><strong>cli</strong>: 48 <ul> 49 <li>Allow overrides reporter via cli option - 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/2573">vitest-dev/vitest#2573</a> <a href="https://github.com/vitest-dev/vitest/commit/894f155a"><!-- raw HTML omitted -->(894f1)<!-- raw HTML omitted --></a></li> 50 </ul> 51 </li> 52 <li><strong>coverage</strong>: 53 <ul> 54 <li>Flaky c8 coverage caused by parallel sourcemap constructing - by <a href="https://github.com/AriPerkkio"><code>@AriPerkkio</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/2591">vitest-dev/vitest#2591</a> <a href="https://github.com/vitest-dev/vitest/commit/9a29f984"><!-- raw HTML omitted -->(9a29f)<!-- raw HTML omitted --></a></li> 55 <li>Validate extension, when reporting c8 coverage - 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/2626">vitest-dev/vitest#2626</a> <a href="https://github.com/vitest-dev/vitest/commit/7446370c"><!-- raw HTML omitted -->(74463)<!-- raw HTML omitted --></a></li> 56 </ul> 57 </li> 58 </ul> 59 <h3> 🏎 Performance</h3> 60 <ul> 61 <li>Improve vi.mock performance - 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/2594">vitest-dev/vitest#2594</a> <a href="https://github.com/vitest-dev/vitest/commit/09d19892"><!-- raw HTML omitted -->(09d19)<!-- raw HTML omitted --></a></li> 62 </ul> 63 <h5> <a href="https://github.com/vitest-dev/vitest/compare/v0.26.3...v0.27.0">View changes on GitHub</a></h5> 64 </blockquote> 65 </details> 66 <details> 67 <summary>Commits</summary> 68 <ul> 69 <li><a href="https://github.com/vitest-dev/vitest/commit/2b06cf819fdc7e94a580127f72f84b1852e92a11"><code>2b06cf8</code></a> chore: release v0.27.0</li> 70 <li><a href="https://github.com/vitest-dev/vitest/commit/fed1cd605fb5e7a47c70519290c8e4f04a9e3449"><code>fed1cd6</code></a> fix: always inline assets and modules with special Vite queries (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/2617">#2617</a>)</li> 71 <li><a href="https://github.com/vitest-dev/vitest/commit/9eeee0c8d894a1bd95ccbb83ac364a9e83536937"><code>9eeee0c</code></a> refactor: make ids in typecheck suites more reliable, store errors in array (...</li> 72 <li><a href="https://github.com/vitest-dev/vitest/commit/bf87282c3530bd0c982455047e10d230f4acb317"><code>bf87282</code></a> feat(coverage): istanbul coverage only for changed files (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/2385">#2385</a>)</li> 73 <li><a href="https://github.com/vitest-dev/vitest/commit/6b3e36d4e9fd029984ce0f6a723ddb3fdce92379"><code>6b3e36d</code></a> fix: allow mocking CJS module with interoped default (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/2598">#2598</a>)</li> 74 <li><a href="https://github.com/vitest-dev/vitest/commit/f8ac2094253d267fa64a85ddb60511471813d00f"><code>f8ac209</code></a> fix: return mock path only when mocked (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/2619">#2619</a>)</li> 75 <li><a href="https://github.com/vitest-dev/vitest/commit/039a0c01bb8dfdcf30ca3e151b945f1a609fd32d"><code>039a0c0</code></a> chore: don't bundle cac and picocolors (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/2595">#2595</a>)</li> 76 <li><a href="https://github.com/vitest-dev/vitest/commit/09d19892de427d0c64fb6c46b756bbe5dd6b9678"><code>09d1989</code></a> perf: improve vi.mock performance (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/2594">#2594</a>)</li> 77 <li><a href="https://github.com/vitest-dev/vitest/commit/c8e6fb69308d1356bc5ef27aad83c3005a5696e4"><code>c8e6fb6</code></a> feat!: split vitest into separate packages (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/2575">#2575</a>)</li> 78 <li><a href="https://github.com/vitest-dev/vitest/commit/e641a110d0ed82d707a82fd215d9598b0f8afaba"><code>e641a11</code></a> feat!: deprecate "error" on result, store errors in "errors" (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/2586">#2586</a>)</li> 79 <li>Additional commits viewable in <a href="https://github.com/vitest-dev/vitest/commits/v0.27.0/packages/vitest">compare view</a></li> 80 </ul> 81 </details> 82 <br /> 83 84 85 [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 86 87 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`. 88 89 [//]: # (dependabot-automerge-start) 90 [//]: # (dependabot-automerge-end) 91 92 --- 93 94 <details> 95 <summary>Dependabot commands and options</summary> 96 <br /> 97 98 You can trigger Dependabot actions by commenting on this PR: 99 - `@dependabot rebase` will rebase this PR 100 - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it 101 - `@dependabot merge` will merge this PR after your CI passes on it 102 - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it 103 - `@dependabot cancel merge` will cancel a previously requested merge and block automerging 104 - `@dependabot reopen` will reopen this PR if it is closed 105 - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually 106 - `@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) 107 - `@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) 108 - `@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) 109 110 111 </details> 112 113 <!-- Replace --> 114 ---- 115 ⌛ Deploy Preview - Build in Progress 116 <!-- Replace --> 117 118