matrix-art.meta

Issues/PRs archive for MTRNord/matrix-art
git clone git://archive.git.mtrnord.blog/MTRNord/matrix-art.meta.git
Log | Files | Refs

482.md (15954B)


      1 # PR #482 Bump vitest from 0.27.3 to 0.32.2
      2 
      3 - **Status:** closed
      4 - **Author:** @dependabot[bot]
      5 - **Created:** 2023-06-19T09:09:15Z
      6 - **Branch:** dependabot/npm_and_yarn/vitest-0.32.2 → main
      7 - **Closed:** 2023-07-03T08:37:58Z
      8 - **Labels:** dependencies, javascript
      9 - **Assignees:** @MTRNord
     10 - **Reviewers:** @MTRNord
     11 - **Diff:** [482.diff](./482.diff)
     12 
     13 ---
     14 
     15 Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) from 0.27.3 to 0.32.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.32.2</h2>
     21 <h3>   🐞 Bug Fixes</h3>
     22 <ul>
     23 <li><strong>browser</strong>: Don't fail on importing diff-sequences  -  by <a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> <a href="https://github.com/vitest-dev/vitest/commit/00b0e6a3"><!-- raw HTML omitted -->(00b0e)<!-- raw HTML omitted --></a></li>
     24 </ul>
     25 <h5>    <a href="https://github.com/vitest-dev/vitest/compare/v0.32.1...v0.32.2">View changes on GitHub</a></h5>
     26 <h2>v0.32.1</h2>
     27 <h3>   🚀 Features</h3>
     28 <ul>
     29 <li>Export <code>registerConsoleShortcuts</code> from <code>vitest/node</code>  -  by <a href="https://github.com/deot"><code>@​deot</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/3563">vitest-dev/vitest#3563</a> <a href="https://github.com/vitest-dev/vitest/commit/bc49bac7"><!-- raw HTML omitted -->(bc49b)<!-- raw HTML omitted --></a></li>
     30 <li><strong>expect</strong>: Support <code>expect.unreachable</code>  -  by <a href="https://github.com/fenghan34"><code>@​fenghan34</code></a> and <a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/3556">vitest-dev/vitest#3556</a> <a href="https://github.com/vitest-dev/vitest/commit/8e385bb0"><!-- raw HTML omitted -->(8e385)<!-- raw HTML omitted --></a></li>
     31 <li><strong>runner</strong>: <code>describe</code>/<code>test</code> name support anonymous function  -  by <a href="https://github.com/btea"><code>@​btea</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/3562">vitest-dev/vitest#3562</a> <a href="https://github.com/vitest-dev/vitest/commit/3d43638c"><!-- raw HTML omitted -->(3d436)<!-- raw HTML omitted --></a></li>
     32 </ul>
     33 <h3>   🐞 Bug Fixes</h3>
     34 <ul>
     35 <li>Avoid call stack recursion with large error (fix: <a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/3060">#3060</a>)  -  by <a href="https://github.com/nathanmmiller"><code>@​nathanmmiller</code></a> and <a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/3078">vitest-dev/vitest#3078</a> and <a href="https://redirect.github.com/vitest-dev/vitest/issues/3060">vitest-dev/vitest#3060</a> <a href="https://github.com/vitest-dev/vitest/commit/02196f9d"><!-- raw HTML omitted -->(02196)<!-- raw HTML omitted --></a></li>
     36 <li>Automatically remove define related configuration  -  by <a href="https://github.com/btea"><code>@​btea</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/3552">vitest-dev/vitest#3552</a> <a href="https://github.com/vitest-dev/vitest/commit/368b8259"><!-- raw HTML omitted -->(368b8)<!-- raw HTML omitted --></a></li>
     37 <li>Import <code>performance</code> from <code>perf_hooks</code>  -  by <a href="https://github.com/Max10240"><code>@​Max10240</code></a> and <strong>wangbaolong.wbl</strong> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/3578">vitest-dev/vitest#3578</a> and <a href="https://redirect.github.com/vitest-dev/vitest/issues/3579">vitest-dev/vitest#3579</a> <a href="https://github.com/vitest-dev/vitest/commit/24ec85a8"><!-- raw HTML omitted -->(24ec8)<!-- raw HTML omitted --></a></li>
     38 <li>Revert concordance diff, use jest's diff output  -  by <a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/3582">vitest-dev/vitest#3582</a> <a href="https://github.com/vitest-dev/vitest/commit/9c7ea382"><!-- raw HTML omitted -->(9c7ea)<!-- raw HTML omitted --></a></li>
     39 <li>Typo in config suggestion  -  by <a href="https://github.com/Krisell"><code>@​Krisell</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/3583">vitest-dev/vitest#3583</a> <a href="https://github.com/vitest-dev/vitest/commit/689855bb"><!-- raw HTML omitted -->(68985)<!-- raw HTML omitted --></a></li>
     40 <li><strong>browser</strong>:
     41 <ul>
     42 <li>Change optimized deps to use <code>vitest</code>  -  by <a href="https://github.com/userquin"><code>@​userquin</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/3580">vitest-dev/vitest#3580</a> <a href="https://github.com/vitest-dev/vitest/commit/b4ac88e9"><!-- raw HTML omitted -->(b4ac8)<!-- raw HTML omitted --></a></li>
     43 <li>Access <strong>vi_inject</strong> only if it was injected  -  by <a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/3587">vitest-dev/vitest#3587</a> <a href="https://github.com/vitest-dev/vitest/commit/d9e1419a"><!-- raw HTML omitted -->(d9e14)<!-- raw HTML omitted --></a></li>
     44 </ul>
     45 </li>
     46 <li><strong>mocker</strong>:
     47 <ul>
     48 <li>Respect namespace import when hoisting vi.mock  -  by <a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/3547">vitest-dev/vitest#3547</a> <a href="https://github.com/vitest-dev/vitest/commit/158c4bb0"><!-- raw HTML omitted -->(158c4)<!-- raw HTML omitted --></a></li>
     49 </ul>
     50 </li>
     51 <li><strong>ui</strong>:
     52 <ul>
     53 <li>Navigate to dashboard when re-running tests from coverage page  -  by <a href="https://github.com/userquin"><code>@​userquin</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/3529">vitest-dev/vitest#3529</a> <a href="https://github.com/vitest-dev/vitest/commit/bc283ae3"><!-- raw HTML omitted -->(bc283)<!-- raw HTML omitted --></a></li>
     54 </ul>
     55 </li>
     56 <li><strong>vite-node</strong>:
     57 <ul>
     58 <li>Correctly resolve virtual modules  -  by <a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/3544">vitest-dev/vitest#3544</a> <a href="https://github.com/vitest-dev/vitest/commit/0cbb07b4"><!-- raw HTML omitted -->(0cbb0)<!-- raw HTML omitted --></a></li>
     59 <li>Fix errors caused by commonjs export circular references  -  by <a href="https://github.com/rxliuli"><code>@​rxliuli</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/3570">vitest-dev/vitest#3570</a> <a href="https://github.com/vitest-dev/vitest/commit/b097cef8"><!-- raw HTML omitted -->(b097c)<!-- raw HTML omitted --></a></li>
     60 </ul>
     61 </li>
     62 </ul>
     63 <h5>    <a href="https://github.com/vitest-dev/vitest/compare/v0.32.0...v0.32.1">View changes on GitHub</a></h5>
     64 <h2>v0.32.0</h2>
     65 <h3>   🚨 Breaking Changes</h3>
     66 <ul>
     67 <li>Throw an error, if the module cannot be resolved  -  by <a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/3307">vitest-dev/vitest#3307</a> <a href="https://github.com/vitest-dev/vitest/commit/1ad63b0c"><!-- raw HTML omitted -->(1ad63)<!-- raw HTML omitted --></a>
     68 <ul>
     69 <li>Vitest used to fall back to the original import when it could not resolve it to the file path or the virtual module. This leads to hard-to-find module graph mismatches if you had incorrect alias or relied on relative imports to be resolved to the project root (which is usual behavior in TypeScript) because the code accidentally &quot;worked&quot;. With this release, Vitest will now throw an error if it cannot resolve the module - there are possible edge cases that are not covered yet, so if you have any problems with this, please open a separate issue with reproduction.</li>
     70 </ul>
     71 </li>
     72 <li>Improve globs  -  by <a href="https://github.com/nickmccurdy"><code>@​nickmccurdy</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/3392">vitest-dev/vitest#3392</a> <a href="https://github.com/vitest-dev/vitest/commit/19ecc6c7"><!-- raw HTML omitted -->(19ecc)<!-- raw HTML omitted --></a>
     73 <ul>
     74 <li>Vitest now has glob patterns similar to Jest for better compatibility. It's possible that some files will be considered test files when previously they were not. For example, Vitest now considers <code>test.js</code> to be a test file. Also any file in <code>__tests__</code> is now considered to be a test, not just files with <code>test</code> or <code>spec</code> suffix.</li>
     75 </ul>
     76 </li>
     77 <li>Add <code>@vitest/coverage-v8</code> package  -  by <a href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/3339">vitest-dev/vitest#3339</a> <a href="https://github.com/vitest-dev/vitest/commit/821126f1"><!-- raw HTML omitted -->(82112)<!-- raw HTML omitted --></a>
     78 <ul>
     79 <li>Vitest now uses v8 code coverage directly for better performance. <code>@vitest/coverage-c8</code> is deprecated as Vitest no longer uses c8 package for coverage output. It will not be updated anymore, and Vitest will fail in the next version if the user has <code>c8</code> as their coverage provider. Please, install the new <code>@vitest/coverage-v8</code> package if you previously used <code>@vitest/coverage-c8</code>.</li>
     80 </ul>
     81 </li>
     82 <li><strong>mocker</strong>: Don't restore mock to the original if the module is automocked  -  by <a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/3518">vitest-dev/vitest#3518</a> <a href="https://github.com/vitest-dev/vitest/commit/c1004e14"><!-- raw HTML omitted -->(c1004)<!-- raw HTML omitted --></a>
     83 <ul>
     84 <li><code>spy.mockRestore</code> on auto-mocked named exports will no longer restore their implementation to the actual function. This behavior better matches what Jest does.</li>
     85 </ul>
     86 </li>
     87 </ul>
     88 <h3>   🚀 Features</h3>
     89 <ul>
     90 <li>Support ssr optimizer  -  by <a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/3490">vitest-dev/vitest#3490</a> <a href="https://github.com/vitest-dev/vitest/commit/898422b0"><!-- raw HTML omitted -->(89842)<!-- raw HTML omitted --></a></li>
     91 <li>Image type add apng  -  by <a href="https://github.com/btea"><code>@​btea</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/3498">vitest-dev/vitest#3498</a> <a href="https://github.com/vitest-dev/vitest/commit/a53c2151"><!-- raw HTML omitted -->(a53c2)<!-- raw HTML omitted --></a></li>
     92 </ul>
     93 <!-- raw HTML omitted -->
     94 </blockquote>
     95 <p>... (truncated)</p>
     96 </details>
     97 <details>
     98 <summary>Commits</summary>
     99 <ul>
    100 <li><a href="https://github.com/vitest-dev/vitest/commit/1e8760ab2b4ae02288ebaf0ab27f9ed314d41980"><code>1e8760a</code></a> chore: release v0.32.2</li>
    101 <li><a href="https://github.com/vitest-dev/vitest/commit/02bed364acf6dc4bcf95c75de4b926d486646930"><code>02bed36</code></a> chore: release v0.32.1</li>
    102 <li><a href="https://github.com/vitest-dev/vitest/commit/8e385bb09eb1585a8410bf08c8e54596b08cc119"><code>8e385bb</code></a> feat(expect): support <code>expect.unreachable</code> (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/3556">#3556</a>)</li>
    103 <li><a href="https://github.com/vitest-dev/vitest/commit/689855bbd5a3c7c2c9550c781dea872fbdb122d3"><code>689855b</code></a> fix: typo in config suggestion (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/3583">#3583</a>)</li>
    104 <li><a href="https://github.com/vitest-dev/vitest/commit/9c7ea3820f6d1609d926764af124b15271671ae0"><code>9c7ea38</code></a> fix: revert concordance diff, use jest's diff output (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/3582">#3582</a>)</li>
    105 <li><a href="https://github.com/vitest-dev/vitest/commit/24ec85a81e39c2f3ca4d1f1941fe63feeb9b42e8"><code>24ec85a</code></a> fix: import <code>performance</code> from <code>perf_hooks</code> (fix <a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/3578">#3578</a>) (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/3579">#3579</a>)</li>
    106 <li><a href="https://github.com/vitest-dev/vitest/commit/368b82599e163548ab8cb370a5fd35155799a47c"><code>368b825</code></a> fix: automatically remove define related configuration (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/3552">#3552</a>)</li>
    107 <li><a href="https://github.com/vitest-dev/vitest/commit/02196f9d95b080dcd5d006ed918f9af3726f446e"><code>02196f9</code></a> fix: avoid call stack recursion with large error (fix: <a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/3060">#3060</a>) (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/3078">#3078</a>)</li>
    108 <li><a href="https://github.com/vitest-dev/vitest/commit/bc49bac7e3222c1f9be274ef8f995f9149dc61da"><code>bc49bac</code></a> feat: export <code>registerConsoleShortcuts</code> from <code>vitest/node</code> (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/3563">#3563</a>)</li>
    109 <li><a href="https://github.com/vitest-dev/vitest/commit/158c4bb056417828833088508b43e6917d65d23f"><code>158c4bb</code></a> fix(mocker): respect namespace import when hoisting vi.mock (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/3547">#3547</a>)</li>
    110 <li>Additional commits viewable in <a href="https://github.com/vitest-dev/vitest/commits/v0.32.2/packages/vitest">compare view</a></li>
    111 </ul>
    112 </details>
    113 <br />
    114 
    115 
    116 [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=vitest&package-manager=npm_and_yarn&previous-version=0.27.3&new-version=0.32.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
    117 
    118 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`.
    119 
    120 [//]: # (dependabot-automerge-start)
    121 [//]: # (dependabot-automerge-end)
    122 
    123 ---
    124 
    125 <details>
    126 <summary>Dependabot commands and options</summary>
    127 <br />
    128 
    129 You can trigger Dependabot actions by commenting on this PR:
    130 - `@dependabot rebase` will rebase this PR
    131 - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
    132 - `@dependabot merge` will merge this PR after your CI passes on it
    133 - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
    134 - `@dependabot cancel merge` will cancel a previously requested merge and block automerging
    135 - `@dependabot reopen` will reopen this PR if it is closed
    136 - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    137 - `@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)
    138 - `@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)
    139 - `@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)
    140 
    141 
    142 </details>
    143 
    144 <!-- Replace -->
    145 ----
    146 ⌛ Deploy Preview - Build in Progress
    147 <!-- Replace -->
    148 
    149 
    150 
    151 ## Comments
    152 
    153 ### @dependabot[bot] — 2023-07-03T08:37:57Z
    154 
    155 Superseded by #503.
    156