342.md (13372B)
1 # PR #342 Bump vitest from 0.27.3 to 0.28.5 2 3 - **Status:** closed 4 - **Author:** @dependabot[bot] 5 - **Created:** 2023-02-14T09:10:52Z 6 - **Branch:** dependabot/npm_and_yarn/vitest-0.28.5 → main 7 - **Closed:** 2023-02-27T09:20:33Z 8 - **Labels:** dependencies, javascript 9 - **Assignees:** @MTRNord 10 - **Reviewers:** @MTRNord 11 - **Diff:** [342.diff](./342.diff) 12 13 --- 14 15 Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) from 0.27.3 to 0.28.5. 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.28.5</h2> 21 <h3> 🚀 Features</h3> 22 <ul> 23 <li>Add --script option to vite-node - by <a href="https://github.com/jgoux"><code>@jgoux</code></a> and <a href="https://github.com/dammy001"><code>@dammy001</code></a> in <a href="https://github-redirect.dependabot.com/vitest-dev/vitest/issues/2793">vitest-dev/vitest#2793</a> <a href="https://github.com/vitest-dev/vitest/commit/d3d6b1fc"><!-- raw HTML omitted -->(d3d6b)<!-- raw HTML omitted --></a></li> 24 <li>Inject executor directly into runner - 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/2858">vitest-dev/vitest#2858</a> <a href="https://github.com/vitest-dev/vitest/commit/62c43420"><!-- raw HTML omitted -->(62c43)<!-- raw HTML omitted --></a></li> 25 </ul> 26 <h3> 🐞 Bug Fixes</h3> 27 <ul> 28 <li>Don't call "afterAll" hooks, if suite was skipped - 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/2802">vitest-dev/vitest#2802</a> <a href="https://github.com/vitest-dev/vitest/commit/aa1aa4da"><!-- raw HTML omitted -->(aa1aa)<!-- raw HTML omitted --></a></li> 29 <li>Always display serialized error, even if it doesn't have stack - 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/2829">vitest-dev/vitest#2829</a> <a href="https://github.com/vitest-dev/vitest/commit/ab5f8927"><!-- raw HTML omitted -->(ab5f8)<!-- raw HTML omitted --></a></li> 30 <li>Clear mocks between 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/2857">vitest-dev/vitest#2857</a> <a href="https://github.com/vitest-dev/vitest/commit/c420cb7b"><!-- raw HTML omitted -->(c420c)<!-- raw HTML omitted --></a></li> 31 <li><strong>expect</strong>: 32 <ul> 33 <li>Check for no 'throw' type in toHaveReturned - by <a href="https://github.com/trivikr"><code>@trivikr</code></a> in <a href="https://github-redirect.dependabot.com/vitest-dev/vitest/issues/2850">vitest-dev/vitest#2850</a> <a href="https://github.com/vitest-dev/vitest/commit/1164c478"><!-- raw HTML omitted -->(1164c)<!-- raw HTML omitted --></a></li> 34 <li>Accept array index as number in toHaveProperty - by <a href="https://github.com/trivikr"><code>@trivikr</code></a> in <a href="https://github-redirect.dependabot.com/vitest-dev/vitest/issues/2808">vitest-dev/vitest#2808</a> <a href="https://github.com/vitest-dev/vitest/commit/8705e6b2"><!-- raw HTML omitted -->(8705e)<!-- raw HTML omitted --></a></li> 35 </ul> 36 </li> 37 </ul> 38 <h3> 🏎 Performance</h3> 39 <ul> 40 <li>Don't inline Vitest entry - 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/2819">vitest-dev/vitest#2819</a> <a href="https://github.com/vitest-dev/vitest/commit/570c639e"><!-- raw HTML omitted -->(570c6)<!-- raw HTML omitted --></a></li> 41 </ul> 42 <h5> <a href="https://github.com/vitest-dev/vitest/compare/v0.28.4...v0.28.5">View changes on GitHub</a></h5> 43 <h2>v0.28.4</h2> 44 <h3> 🐞 Bug Fixes</h3> 45 <ul> 46 <li>Setup correct utils inside asymmetric matchers - 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/2768">vitest-dev/vitest#2768</a> <a href="https://github.com/vitest-dev/vitest/commit/415c8a93"><!-- raw HTML omitted -->(415c8)<!-- raw HTML omitted --></a></li> 47 <li>Cjs exports has Object.prototype instead of null - 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/2769">vitest-dev/vitest#2769</a> <a href="https://github.com/vitest-dev/vitest/commit/4fc492c6"><!-- raw HTML omitted -->(4fc49)<!-- raw HTML omitted --></a></li> 48 <li>Duplicate callbacks in vite-node HMR - by <a href="https://github.com/jgoux"><code>@jgoux</code></a> in <a href="https://github-redirect.dependabot.com/vitest-dev/vitest/issues/2792">vitest-dev/vitest#2792</a> <a href="https://github.com/vitest-dev/vitest/commit/f03337ae"><!-- raw HTML omitted -->(f0333)<!-- raw HTML omitted --></a></li> 49 <li>Do not include source files in <code>onWatcherStart</code> when <code>typecheck.ignoreSourceErrors</code> is true - by <a href="https://github.com/mascii"><code>@mascii</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/2774">vitest-dev/vitest#2774</a> <a href="https://github.com/vitest-dev/vitest/commit/d612efdf"><!-- raw HTML omitted -->(d612e)<!-- raw HTML omitted --></a></li> 50 </ul> 51 <h5> <a href="https://github.com/vitest-dev/vitest/compare/v0.28.3...v0.28.4">View changes on GitHub</a></h5> 52 <h2>v0.28.3</h2> 53 <h3> 🚀 Features</h3> 54 <ul> 55 <li>Allow using atomics to communicate between threads - 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/2758">vitest-dev/vitest#2758</a> <a href="https://github.com/vitest-dev/vitest/commit/3679cf25"><!-- raw HTML omitted -->(3679c)<!-- raw HTML omitted --></a></li> 56 <li>Show active filename pattern on CLI - by <a href="https://github.com/AriPerkkio"><code>@AriPerkkio</code></a> <a href="https://github.com/vitest-dev/vitest/commit/a0455917"><!-- raw HTML omitted -->(a0455)<!-- raw HTML omitted --></a></li> 57 <li>Show active test name pattern on CLI - by <a href="https://github.com/AriPerkkio"><code>@AriPerkkio</code></a> <a href="https://github.com/vitest-dev/vitest/commit/df7c410a"><!-- raw HTML omitted -->(df7c4)<!-- raw HTML omitted --></a></li> 58 <li>Allow <code>config</code> option to be false - by <a href="https://github.com/antfu"><code>@antfu</code></a> in <a href="https://github-redirect.dependabot.com/vitest-dev/vitest/issues/2749">vitest-dev/vitest#2749</a> <a href="https://github.com/vitest-dev/vitest/commit/c66e335b"><!-- raw HTML omitted -->(c66e3)<!-- raw HTML omitted --></a></li> 59 </ul> 60 <h3> 🐞 Bug Fixes</h3> 61 <ul> 62 <li>Watch mode's filename pattern to persist on unrelated file changes - by <a href="https://github.com/AriPerkkio"><code>@AriPerkkio</code></a> <a href="https://github.com/vitest-dev/vitest/commit/712ac15b"><!-- raw HTML omitted -->(712ac)<!-- raw HTML omitted --></a></li> 63 <li>Watch mode's filename pattern to persist re-run of failed tests, snapshot updates and testname filter changes - by <a href="https://github.com/AriPerkkio"><code>@AriPerkkio</code></a> <a href="https://github.com/vitest-dev/vitest/commit/1c65ac48"><!-- raw HTML omitted -->(1c65a)<!-- raw HTML omitted --></a></li> 64 <li>Dont incorrectly mark run failed if filename pattern excludes previously failed tests - by <a href="https://github.com/AriPerkkio"><code>@AriPerkkio</code></a> <a href="https://github.com/vitest-dev/vitest/commit/61cf9a7a"><!-- raw HTML omitted -->(61cf9)<!-- raw HTML omitted --></a></li> 65 <li><strong>coverage</strong>: Istanbul crashes when no tests were run - by <a href="https://github.com/AriPerkkio"><code>@AriPerkkio</code></a> in <a href="https://github-redirect.dependabot.com/vitest-dev/vitest/issues/2753">vitest-dev/vitest#2753</a> <a href="https://github.com/vitest-dev/vitest/commit/ebc95add"><!-- raw HTML omitted -->(ebc95)<!-- raw HTML omitted --></a></li> 66 </ul> 67 <h3> 🏎 Performance</h3> 68 <ul> 69 <li>Don't import vite in worker - 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/2759">vitest-dev/vitest#2759</a> <a href="https://github.com/vitest-dev/vitest/commit/e49c13fa"><!-- raw HTML omitted -->(e49c1)<!-- raw HTML omitted --></a></li> 70 </ul> 71 <!-- raw HTML omitted --> 72 </blockquote> 73 <p>... (truncated)</p> 74 </details> 75 <details> 76 <summary>Commits</summary> 77 <ul> 78 <li><a href="https://github.com/vitest-dev/vitest/commit/4ae6a79179d092fed0e6830ed77086228ddab985"><code>4ae6a79</code></a> chore: release v0.28.5</li> 79 <li><a href="https://github.com/vitest-dev/vitest/commit/62c4342075601825c4448853550dd6596a2f185d"><code>62c4342</code></a> feat: inject executor directly into runner (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/2858">#2858</a>)</li> 80 <li><a href="https://github.com/vitest-dev/vitest/commit/c420cb7b38cb194af4efaa3a1a1c9bdfb6aff5ea"><code>c420cb7</code></a> fix: clear mocks between tests (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/2857">#2857</a>)</li> 81 <li><a href="https://github.com/vitest-dev/vitest/commit/fcd2df2c23349f5d157108646e91a94a6af92611"><code>fcd2df2</code></a> refactor: update errors (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/2816">#2816</a>)</li> 82 <li><a href="https://github.com/vitest-dev/vitest/commit/8705e6b275a53ce313928459c4a9959b9ce0254b"><code>8705e6b</code></a> fix(expect): accept array index as number in toHaveProperty (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/2808">#2808</a>)</li> 83 <li><a href="https://github.com/vitest-dev/vitest/commit/2f87505ffd0972dcc16e05e886a6c7433ac932fb"><code>2f87505</code></a> docs: fix typos (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/2815">#2815</a>)</li> 84 <li><a href="https://github.com/vitest-dev/vitest/commit/ab5f8927065518e512ff2ccca48612a1206e43fe"><code>ab5f892</code></a> fix: always display serialized error, even if it doesn't have stack (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/2829">#2829</a>)</li> 85 <li><a href="https://github.com/vitest-dev/vitest/commit/570c639e4e2bd13e108c17e1391092907f5108f1"><code>570c639</code></a> perf: don't inline Vitest entry (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/2819">#2819</a>)</li> 86 <li><a href="https://github.com/vitest-dev/vitest/commit/5eeb6f38637e4176591b0d73cc691553c9cd8078"><code>5eeb6f3</code></a> chore: release v0.28.4</li> 87 <li><a href="https://github.com/vitest-dev/vitest/commit/d612efdfad9affdcb98a82989775c6347ce61e44"><code>d612efd</code></a> fix: do not include source files in <code>onWatcherStart</code> when `typecheck.ignoreSo...</li> 88 <li>Additional commits viewable in <a href="https://github.com/vitest-dev/vitest/commits/v0.28.5/packages/vitest">compare view</a></li> 89 </ul> 90 </details> 91 <br /> 92 93 94 [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 95 96 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`. 97 98 [//]: # (dependabot-automerge-start) 99 [//]: # (dependabot-automerge-end) 100 101 --- 102 103 <details> 104 <summary>Dependabot commands and options</summary> 105 <br /> 106 107 You can trigger Dependabot actions by commenting on this PR: 108 - `@dependabot rebase` will rebase this PR 109 - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it 110 - `@dependabot merge` will merge this PR after your CI passes on it 111 - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it 112 - `@dependabot cancel merge` will cancel a previously requested merge and block automerging 113 - `@dependabot reopen` will reopen this PR if it is closed 114 - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually 115 - `@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) 116 - `@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) 117 - `@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) 118 119 120 </details> 121 122 <!-- Replace --> 123 ---- 124 ⌛ Deploy Preview - Build in Progress 125 <!-- Replace --> 126 127 128 129 ## Comments 130 131 ### @dependabot[bot] — 2023-02-27T09:20:32Z 132 133 Superseded by #358. 134