-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Fix errors caused by commonjs export circular references #3570
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Run & review this pull request in StackBlitz Codeflow. |
sheremet-va
requested changes
Jun 15, 2023
sheremet-va
approved these changes
Jun 15, 2023
fwouts
referenced
this pull request
in fwouts/previewjs
Jun 16, 2023
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [vitest](https://github.com/vitest-dev/vitest) | [`^0.32.0` -> `^0.32.1`](https://renovatebot.com/diffs/npm/vitest/0.32.0/0.32.1) | [![age](https://badges.renovateapi.com/packages/npm/vitest/0.32.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/vitest/0.32.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/vitest/0.32.1/compatibility-slim/0.32.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/vitest/0.32.1/confidence-slim/0.32.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest</summary> ### [`v0.32.1`](https://github.com/vitest-dev/vitest/releases/tag/v0.32.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.32.0...v0.32.1) ##### 🚀 Features - Export `registerConsoleShortcuts` from `vitest/node` - by [@​deot](https://github.com/deot) in [https://github.com/vitest-dev/vitest/issues/3563](https://github.com/vitest-dev/vitest/issues/3563) [<samp>(bc49b)</samp>](https://github.com/vitest-dev/vitest/commit/bc49bac7) - **expect**: Support `expect.unreachable` - by [@​fenghan34](https://github.com/fenghan34) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3556](https://github.com/vitest-dev/vitest/issues/3556) [<samp>(8e385)</samp>](https://github.com/vitest-dev/vitest/commit/8e385bb0) - **runner**: `describe`/`test` name support anonymous function - by [@​btea](https://github.com/btea) in [https://github.com/vitest-dev/vitest/issues/3562](https://github.com/vitest-dev/vitest/issues/3562) [<samp>(3d436)</samp>](https://github.com/vitest-dev/vitest/commit/3d43638c) ##### 🐞 Bug Fixes - Avoid call stack recursion with large error (fix: [#​3060](https://github.com/vitest-dev/vitest/issues/3060)) - by [@​nathanmmiller](https://github.com/nathanmmiller) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3078](https://github.com/vitest-dev/vitest/issues/3078) and [https://github.com/vitest-dev/vitest/issues/3060](https://github.com/vitest-dev/vitest/issues/3060) [<samp>(02196)</samp>](https://github.com/vitest-dev/vitest/commit/02196f9d) - Automatically remove define related configuration - by [@​btea](https://github.com/btea) in [https://github.com/vitest-dev/vitest/issues/3552](https://github.com/vitest-dev/vitest/issues/3552) [<samp>(368b8)</samp>](https://github.com/vitest-dev/vitest/commit/368b8259) - Import `performance` from `perf_hooks` - by [@​Max10240](https://github.com/Max10240) and **wangbaolong.wbl** in [https://github.com/vitest-dev/vitest/issues/3578](https://github.com/vitest-dev/vitest/issues/3578) and [https://github.com/vitest-dev/vitest/issues/3579](https://github.com/vitest-dev/vitest/issues/3579) [<samp>(24ec8)</samp>](https://github.com/vitest-dev/vitest/commit/24ec85a8) - Revert concordance diff, use jest's diff output - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3582](https://github.com/vitest-dev/vitest/issues/3582) [<samp>(9c7ea)</samp>](https://github.com/vitest-dev/vitest/commit/9c7ea382) - Typo in config suggestion - by [@​Krisell](https://github.com/Krisell) in [https://github.com/vitest-dev/vitest/issues/3583](https://github.com/vitest-dev/vitest/issues/3583) [<samp>(68985)</samp>](https://github.com/vitest-dev/vitest/commit/689855bb) - **browser**: - Change optimized deps to use `vitest` - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3580](https://github.com/vitest-dev/vitest/issues/3580) [<samp>(b4ac8)</samp>](https://github.com/vitest-dev/vitest/commit/b4ac88e9) - Access **vi_inject** only if it was injected - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3587](https://github.com/vitest-dev/vitest/issues/3587) [<samp>(d9e14)</samp>](https://github.com/vitest-dev/vitest/commit/d9e1419a) - **mocker**: - Respect namespace import when hoisting vi.mock - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3547](https://github.com/vitest-dev/vitest/issues/3547) [<samp>(158c4)</samp>](https://github.com/vitest-dev/vitest/commit/158c4bb0) - **ui**: - Navigate to dashboard when re-running tests from coverage page - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3529](https://github.com/vitest-dev/vitest/issues/3529) [<samp>(bc283)</samp>](https://github.com/vitest-dev/vitest/commit/bc283ae3) - **vite-node**: - Correctly resolve virtual modules - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3544](https://github.com/vitest-dev/vitest/issues/3544) [<samp>(0cbb0)</samp>](https://github.com/vitest-dev/vitest/commit/0cbb07b4) - Fix errors caused by commonjs export circular references - by [@​rxliuli](https://github.com/rxliuli) in [https://github.com/vitest-dev/vitest/issues/3570](https://github.com/vitest-dev/vitest/issues/3570) [<samp>(b097c)</samp>](https://github.com/vitest-dev/vitest/commit/b097cef8) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.32.0...v0.32.1) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/fwouts/previewjs). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMTcuMyIsInVwZGF0ZWRJblZlciI6IjM1LjExNy4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot
referenced
this pull request
in ariakit/ariakit
Jun 16, 2023
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@vitest/coverage-c8](https://github.com/vitest-dev/vitest/tree/main/packages/coverage-c8#readme) ([source](https://github.com/vitest-dev/vitest)) | [`0.32.0` -> `0.32.1`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-c8/0.32.0/0.32.1) | [![age](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-c8/0.32.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-c8/0.32.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-c8/0.32.1/compatibility-slim/0.32.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-c8/0.32.1/confidence-slim/0.32.0)](https://docs.renovatebot.com/merge-confidence/) | | [vitest](https://github.com/vitest-dev/vitest) | [`0.32.0` -> `0.32.1`](https://renovatebot.com/diffs/npm/vitest/0.32.0/0.32.1) | [![age](https://badges.renovateapi.com/packages/npm/vitest/0.32.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/vitest/0.32.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/vitest/0.32.1/compatibility-slim/0.32.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/vitest/0.32.1/confidence-slim/0.32.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest</summary> ### [`v0.32.1`](https://github.com/vitest-dev/vitest/releases/tag/v0.32.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.32.0...v0.32.1) ##### 🚀 Features - Export `registerConsoleShortcuts` from `vitest/node` - by [@​deot](https://github.com/deot) in [https://github.com/vitest-dev/vitest/issues/3563](https://github.com/vitest-dev/vitest/issues/3563) [<samp>(bc49b)</samp>](https://github.com/vitest-dev/vitest/commit/bc49bac7) - **expect**: Support `expect.unreachable` - by [@​fenghan34](https://github.com/fenghan34) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3556](https://github.com/vitest-dev/vitest/issues/3556) [<samp>(8e385)</samp>](https://github.com/vitest-dev/vitest/commit/8e385bb0) - **runner**: `describe`/`test` name support anonymous function - by [@​btea](https://github.com/btea) in [https://github.com/vitest-dev/vitest/issues/3562](https://github.com/vitest-dev/vitest/issues/3562) [<samp>(3d436)</samp>](https://github.com/vitest-dev/vitest/commit/3d43638c) ##### 🐞 Bug Fixes - Avoid call stack recursion with large error (fix: [#​3060](https://github.com/vitest-dev/vitest/issues/3060)) - by [@​nathanmmiller](https://github.com/nathanmmiller) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3078](https://github.com/vitest-dev/vitest/issues/3078) and [https://github.com/vitest-dev/vitest/issues/3060](https://github.com/vitest-dev/vitest/issues/3060) [<samp>(02196)</samp>](https://github.com/vitest-dev/vitest/commit/02196f9d) - Automatically remove define related configuration - by [@​btea](https://github.com/btea) in [https://github.com/vitest-dev/vitest/issues/3552](https://github.com/vitest-dev/vitest/issues/3552) [<samp>(368b8)</samp>](https://github.com/vitest-dev/vitest/commit/368b8259) - Import `performance` from `perf_hooks` - by [@​Max10240](https://github.com/Max10240) and **wangbaolong.wbl** in [https://github.com/vitest-dev/vitest/issues/3578](https://github.com/vitest-dev/vitest/issues/3578) and [https://github.com/vitest-dev/vitest/issues/3579](https://github.com/vitest-dev/vitest/issues/3579) [<samp>(24ec8)</samp>](https://github.com/vitest-dev/vitest/commit/24ec85a8) - Revert concordance diff, use jest's diff output - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3582](https://github.com/vitest-dev/vitest/issues/3582) [<samp>(9c7ea)</samp>](https://github.com/vitest-dev/vitest/commit/9c7ea382) - Typo in config suggestion - by [@​Krisell](https://github.com/Krisell) in [https://github.com/vitest-dev/vitest/issues/3583](https://github.com/vitest-dev/vitest/issues/3583) [<samp>(68985)</samp>](https://github.com/vitest-dev/vitest/commit/689855bb) - **browser**: - Change optimized deps to use `vitest` - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3580](https://github.com/vitest-dev/vitest/issues/3580) [<samp>(b4ac8)</samp>](https://github.com/vitest-dev/vitest/commit/b4ac88e9) - Access **vi_inject** only if it was injected - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3587](https://github.com/vitest-dev/vitest/issues/3587) [<samp>(d9e14)</samp>](https://github.com/vitest-dev/vitest/commit/d9e1419a) - **mocker**: - Respect namespace import when hoisting vi.mock - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3547](https://github.com/vitest-dev/vitest/issues/3547) [<samp>(158c4)</samp>](https://github.com/vitest-dev/vitest/commit/158c4bb0) - **ui**: - Navigate to dashboard when re-running tests from coverage page - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3529](https://github.com/vitest-dev/vitest/issues/3529) [<samp>(bc283)</samp>](https://github.com/vitest-dev/vitest/commit/bc283ae3) - **vite-node**: - Correctly resolve virtual modules - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3544](https://github.com/vitest-dev/vitest/issues/3544) [<samp>(0cbb0)</samp>](https://github.com/vitest-dev/vitest/commit/0cbb07b4) - Fix errors caused by commonjs export circular references - by [@​rxliuli](https://github.com/rxliuli) in [https://github.com/vitest-dev/vitest/issues/3570](https://github.com/vitest-dev/vitest/issues/3570) [<samp>(b097c)</samp>](https://github.com/vitest-dev/vitest/commit/b097cef8) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.32.0...v0.32.1) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/ariakit/ariakit). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMTcuMyIsInVwZGF0ZWRJblZlciI6IjM1LjExNy4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
David-Duefrene
referenced
this pull request
in David-Duefrene/dataviewer
Jun 17, 2023
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [vitest](https://github.com/vitest-dev/vitest) | [`0.32.0` -> `0.32.2`](https://renovatebot.com/diffs/npm/vitest/0.32.0/0.32.2) | [![age](https://badges.renovateapi.com/packages/npm/vitest/0.32.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/vitest/0.32.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/vitest/0.32.2/compatibility-slim/0.32.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/vitest/0.32.2/confidence-slim/0.32.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest</summary> ### [`v0.32.2`](https://github.com/vitest-dev/vitest/releases/tag/v0.32.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.32.1...v0.32.2) ##### 🐞 Bug Fixes - **browser**: Don't fail on importing diff-sequences - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(00b0e)</samp>](https://github.com/vitest-dev/vitest/commit/00b0e6a3) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.32.1...v0.32.2) ### [`v0.32.1`](https://github.com/vitest-dev/vitest/releases/tag/v0.32.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.32.0...v0.32.1) ##### 🚀 Features - Export `registerConsoleShortcuts` from `vitest/node` - by [@​deot](https://github.com/deot) in [https://github.com/vitest-dev/vitest/issues/3563](https://github.com/vitest-dev/vitest/issues/3563) [<samp>(bc49b)</samp>](https://github.com/vitest-dev/vitest/commit/bc49bac7) - **expect**: Support `expect.unreachable` - by [@​fenghan34](https://github.com/fenghan34) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3556](https://github.com/vitest-dev/vitest/issues/3556) [<samp>(8e385)</samp>](https://github.com/vitest-dev/vitest/commit/8e385bb0) - **runner**: `describe`/`test` name support anonymous function - by [@​btea](https://github.com/btea) in [https://github.com/vitest-dev/vitest/issues/3562](https://github.com/vitest-dev/vitest/issues/3562) [<samp>(3d436)</samp>](https://github.com/vitest-dev/vitest/commit/3d43638c) ##### 🐞 Bug Fixes - Avoid call stack recursion with large error (fix: [#​3060](https://github.com/vitest-dev/vitest/issues/3060)) - by [@​nathanmmiller](https://github.com/nathanmmiller) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3078](https://github.com/vitest-dev/vitest/issues/3078) and [https://github.com/vitest-dev/vitest/issues/3060](https://github.com/vitest-dev/vitest/issues/3060) [<samp>(02196)</samp>](https://github.com/vitest-dev/vitest/commit/02196f9d) - Automatically remove define related configuration - by [@​btea](https://github.com/btea) in [https://github.com/vitest-dev/vitest/issues/3552](https://github.com/vitest-dev/vitest/issues/3552) [<samp>(368b8)</samp>](https://github.com/vitest-dev/vitest/commit/368b8259) - Import `performance` from `perf_hooks` - by [@​Max10240](https://github.com/Max10240) and **wangbaolong.wbl** in [https://github.com/vitest-dev/vitest/issues/3578](https://github.com/vitest-dev/vitest/issues/3578) and [https://github.com/vitest-dev/vitest/issues/3579](https://github.com/vitest-dev/vitest/issues/3579) [<samp>(24ec8)</samp>](https://github.com/vitest-dev/vitest/commit/24ec85a8) - Revert concordance diff, use jest's diff output - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3582](https://github.com/vitest-dev/vitest/issues/3582) [<samp>(9c7ea)</samp>](https://github.com/vitest-dev/vitest/commit/9c7ea382) - Typo in config suggestion - by [@​Krisell](https://github.com/Krisell) in [https://github.com/vitest-dev/vitest/issues/3583](https://github.com/vitest-dev/vitest/issues/3583) [<samp>(68985)</samp>](https://github.com/vitest-dev/vitest/commit/689855bb) - **browser**: - Change optimized deps to use `vitest` - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3580](https://github.com/vitest-dev/vitest/issues/3580) [<samp>(b4ac8)</samp>](https://github.com/vitest-dev/vitest/commit/b4ac88e9) - Access **vi_inject** only if it was injected - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3587](https://github.com/vitest-dev/vitest/issues/3587) [<samp>(d9e14)</samp>](https://github.com/vitest-dev/vitest/commit/d9e1419a) - **mocker**: - Respect namespace import when hoisting vi.mock - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3547](https://github.com/vitest-dev/vitest/issues/3547) [<samp>(158c4)</samp>](https://github.com/vitest-dev/vitest/commit/158c4bb0) - **ui**: - Navigate to dashboard when re-running tests from coverage page - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3529](https://github.com/vitest-dev/vitest/issues/3529) [<samp>(bc283)</samp>](https://github.com/vitest-dev/vitest/commit/bc283ae3) - **vite-node**: - Correctly resolve virtual modules - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3544](https://github.com/vitest-dev/vitest/issues/3544) [<samp>(0cbb0)</samp>](https://github.com/vitest-dev/vitest/commit/0cbb07b4) - Fix errors caused by commonjs export circular references - by [@​rxliuli](https://github.com/rxliuli) in [https://github.com/vitest-dev/vitest/issues/3570](https://github.com/vitest-dev/vitest/issues/3570) [<samp>(b097c)</samp>](https://github.com/vitest-dev/vitest/commit/b097cef8) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.32.0...v0.32.1) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/David-Duefrene/dataviewer). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMTcuMyIsInVwZGF0ZWRJblZlciI6IjM1LjExNy4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
kodiakhq bot
referenced
this pull request
in mheob/used-pm
Jun 27, 2023
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://github.com/DefinitelyTyped/DefinitelyTyped)) | [`^18.16.16` -> `^18.16.18`](https://renovatebot.com/diffs/npm/@types%2fnode/18.16.16/18.16.18) | [![age](https://badges.renovateapi.com/packages/npm/@types%2fnode/18.16.18/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@types%2fnode/18.16.18/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@types%2fnode/18.16.18/compatibility-slim/18.16.16)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@types%2fnode/18.16.18/confidence-slim/18.16.16)](https://docs.renovatebot.com/merge-confidence/) | | [@vitest/coverage-c8](https://github.com/vitest-dev/vitest/tree/main/packages/coverage-c8#readme) ([source](https://github.com/vitest-dev/vitest)) | [`^0.32.0` -> `^0.32.2`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-c8/0.32.0/0.32.2) | [![age](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-c8/0.32.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-c8/0.32.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-c8/0.32.2/compatibility-slim/0.32.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-c8/0.32.2/confidence-slim/0.32.0)](https://docs.renovatebot.com/merge-confidence/) | | [concurrently](https://github.com/open-cli-tools/concurrently) | [`^8.1.0` -> `^8.2.0`](https://renovatebot.com/diffs/npm/concurrently/8.1.0/8.2.0) | [![age](https://badges.renovateapi.com/packages/npm/concurrently/8.2.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/concurrently/8.2.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/concurrently/8.2.0/compatibility-slim/8.1.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/concurrently/8.2.0/confidence-slim/8.1.0)](https://docs.renovatebot.com/merge-confidence/) | | [eslint](https://eslint.org) ([source](https://github.com/eslint/eslint)) | [`^8.42.0` -> `^8.43.0`](https://renovatebot.com/diffs/npm/eslint/8.42.0/8.43.0) | [![age](https://badges.renovateapi.com/packages/npm/eslint/8.43.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/eslint/8.43.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/eslint/8.43.0/compatibility-slim/8.42.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/eslint/8.43.0/confidence-slim/8.42.0)](https://docs.renovatebot.com/merge-confidence/) | | [vitest](https://github.com/vitest-dev/vitest) | [`^0.32.0` -> `^0.32.2`](https://renovatebot.com/diffs/npm/vitest/0.32.0/0.32.2) | [![age](https://badges.renovateapi.com/packages/npm/vitest/0.32.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/vitest/0.32.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/vitest/0.32.2/compatibility-slim/0.32.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/vitest/0.32.2/confidence-slim/0.32.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (@​vitest/coverage-c8)</summary> ### [`v0.32.2`](https://github.com/vitest-dev/vitest/releases/tag/v0.32.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.32.1...v0.32.2) ##### 🐞 Bug Fixes - **browser**: Don't fail on importing diff-sequences - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(00b0e)</samp>](https://github.com/vitest-dev/vitest/commit/00b0e6a3) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.32.1...v0.32.2) ### [`v0.32.1`](https://github.com/vitest-dev/vitest/releases/tag/v0.32.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.32.0...v0.32.1) ##### 🚀 Features - Export `registerConsoleShortcuts` from `vitest/node` - by [@​deot](https://github.com/deot) in [https://github.com/vitest-dev/vitest/issues/3563](https://github.com/vitest-dev/vitest/issues/3563) [<samp>(bc49b)</samp>](https://github.com/vitest-dev/vitest/commit/bc49bac7) - **expect**: Support `expect.unreachable` - by [@​fenghan34](https://github.com/fenghan34) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3556](https://github.com/vitest-dev/vitest/issues/3556) [<samp>(8e385)</samp>](https://github.com/vitest-dev/vitest/commit/8e385bb0) - **runner**: `describe`/`test` name support anonymous function - by [@​btea](https://github.com/btea) in [https://github.com/vitest-dev/vitest/issues/3562](https://github.com/vitest-dev/vitest/issues/3562) [<samp>(3d436)</samp>](https://github.com/vitest-dev/vitest/commit/3d43638c) ##### 🐞 Bug Fixes - Avoid call stack recursion with large error (fix: [#​3060](https://github.com/vitest-dev/vitest/issues/3060)) - by [@​nathanmmiller](https://github.com/nathanmmiller) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3078](https://github.com/vitest-dev/vitest/issues/3078) and [https://github.com/vitest-dev/vitest/issues/3060](https://github.com/vitest-dev/vitest/issues/3060) [<samp>(02196)</samp>](https://github.com/vitest-dev/vitest/commit/02196f9d) - Automatically remove define related configuration - by [@​btea](https://github.com/btea) in [https://github.com/vitest-dev/vitest/issues/3552](https://github.com/vitest-dev/vitest/issues/3552) [<samp>(368b8)</samp>](https://github.com/vitest-dev/vitest/commit/368b8259) - Import `performance` from `perf_hooks` - by [@​Max10240](https://github.com/Max10240) and **wangbaolong.wbl** in [https://github.com/vitest-dev/vitest/issues/3578](https://github.com/vitest-dev/vitest/issues/3578) and [https://github.com/vitest-dev/vitest/issues/3579](https://github.com/vitest-dev/vitest/issues/3579) [<samp>(24ec8)</samp>](https://github.com/vitest-dev/vitest/commit/24ec85a8) - Revert concordance diff, use jest's diff output - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3582](https://github.com/vitest-dev/vitest/issues/3582) [<samp>(9c7ea)</samp>](https://github.com/vitest-dev/vitest/commit/9c7ea382) - Typo in config suggestion - by [@​Krisell](https://github.com/Krisell) in [https://github.com/vitest-dev/vitest/issues/3583](https://github.com/vitest-dev/vitest/issues/3583) [<samp>(68985)</samp>](https://github.com/vitest-dev/vitest/commit/689855bb) - **browser**: - Change optimized deps to use `vitest` - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3580](https://github.com/vitest-dev/vitest/issues/3580) [<samp>(b4ac8)</samp>](https://github.com/vitest-dev/vitest/commit/b4ac88e9) - Access **vi_inject** only if it was injected - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3587](https://github.com/vitest-dev/vitest/issues/3587) [<samp>(d9e14)</samp>](https://github.com/vitest-dev/vitest/commit/d9e1419a) - **mocker**: - Respect namespace import when hoisting vi.mock - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3547](https://github.com/vitest-dev/vitest/issues/3547) [<samp>(158c4)</samp>](https://github.com/vitest-dev/vitest/commit/158c4bb0) - **ui**: - Navigate to dashboard when re-running tests from coverage page - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3529](https://github.com/vitest-dev/vitest/issues/3529) [<samp>(bc283)</samp>](https://github.com/vitest-dev/vitest/commit/bc283ae3) - **vite-node**: - Correctly resolve virtual modules - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3544](https://github.com/vitest-dev/vitest/issues/3544) [<samp>(0cbb0)</samp>](https://github.com/vitest-dev/vitest/commit/0cbb07b4) - Fix errors caused by commonjs export circular references - by [@​rxliuli](https://github.com/rxliuli) in [https://github.com/vitest-dev/vitest/issues/3570](https://github.com/vitest-dev/vitest/issues/3570) [<samp>(b097c)</samp>](https://github.com/vitest-dev/vitest/commit/b097cef8) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.32.0...v0.32.1) </details> <details> <summary>open-cli-tools/concurrently (concurrently)</summary> ### [`v8.2.0`](https://github.com/open-cli-tools/concurrently/releases/tag/v8.2.0) [Compare Source](https://github.com/open-cli-tools/concurrently/compare/v8.1.0...v8.2.0) #### What's Changed - Support REPL languages that use colons by [@​wyattades](https://github.com/wyattades) in [https://github.com/open-cli-tools/concurrently/pull/393](https://github.com/open-cli-tools/concurrently/pull/393) - Update dependencies by [@​paescuj](https://github.com/paescuj) in [https://github.com/open-cli-tools/concurrently/pull/427](https://github.com/open-cli-tools/concurrently/pull/427) #### New Contributors - [@​wyattades](https://github.com/wyattades) made their first contribution in [https://github.com/open-cli-tools/concurrently/pull/393](https://github.com/open-cli-tools/concurrently/pull/393) **Full Changelog**: open-cli-tools/concurrently@v8.1.0...v8.2.0 </details> <details> <summary>eslint/eslint (eslint)</summary> ### [`v8.43.0`](https://github.com/eslint/eslint/releases/tag/v8.43.0) [Compare Source](https://github.com/eslint/eslint/compare/v8.42.0...v8.43.0) #### Features - [`14581ff`](https://github.com/eslint/eslint/commit/14581ff15aaee5a55c46bbf4983818ddc8dd7cb1) feat: directive prologue detection and autofix condition in `quotes` ([#​17284](https://github.com/eslint/eslint/issues/17284)) (Francesco Trotta) - [`e50fac3`](https://github.com/eslint/eslint/commit/e50fac3f8f998f729e3080e256066db3a7827c67) feat: add declaration loc to message in block-scoped-var ([#​17252](https://github.com/eslint/eslint/issues/17252)) (Milos Djermanovic) - [`1b7faf0`](https://github.com/eslint/eslint/commit/1b7faf0702b1af86b6a0ddafc37cf45d60f5d4d8) feat: add `skipJSXText` option to `no-irregular-whitespace` rule ([#​17182](https://github.com/eslint/eslint/issues/17182)) (Azat S) #### Bug Fixes - [`5338b56`](https://github.com/eslint/eslint/commit/5338b56fda7f47d16bdb23514f1e95b24de7b92f) fix: normalize `cwd` passed to `ESLint`/`FlatESLint` constructor ([#​17277](https://github.com/eslint/eslint/issues/17277)) (Milos Djermanovic) - [`54383e6`](https://github.com/eslint/eslint/commit/54383e69b092ef537d59a1f7799a85b1412f4e59) fix: Remove `no-extra-parens` autofix for potential directives ([#​17022](https://github.com/eslint/eslint/issues/17022)) (Francesco Trotta) #### Documentation - [`8b855ea`](https://github.com/eslint/eslint/commit/8b855ea058992d5446d1d6dc6394ee683c3200a0) docs: resubmit pr17061 doc changes ([#​17292](https://github.com/eslint/eslint/issues/17292)) (唯然) - [`372722e`](https://github.com/eslint/eslint/commit/372722eac32ca9e3f31cf0d0bc10317c6f153369) docs: resubmit pr17012 doc changes ([#​17293](https://github.com/eslint/eslint/issues/17293)) (唯然) - [`67e7af3`](https://github.com/eslint/eslint/commit/67e7af3fdbdb4648b747dfd669be4decfe24086a) docs: resubmit custom-rules doc changes ([#​17294](https://github.com/eslint/eslint/issues/17294)) (唯然) - [`9e3d77c`](https://github.com/eslint/eslint/commit/9e3d77cba65d0e38e07996e57961fb04f30d9303) docs: Resubmit Fix formatting in Custom Rules docs ([#​17281](https://github.com/eslint/eslint/issues/17281)) (Milos Djermanovic) - [`503647a`](https://github.com/eslint/eslint/commit/503647a0b94ca8c776d7e7e8c54c8b1d32904467) docs: Resubmit markVariableAsUsed docs ([#​17280](https://github.com/eslint/eslint/issues/17280)) (Nicholas C. Zakas) - [`e0cf0d8`](https://github.com/eslint/eslint/commit/e0cf0d86d985ed2b2f901dd9aab5ccd2fff062ad) docs: Custom rule & plugin tutorial ([#​17024](https://github.com/eslint/eslint/issues/17024)) (Ben Perlmutter) - [`8e51ea9`](https://github.com/eslint/eslint/commit/8e51ea943c2fcd05bd8917cfa89e36b91209c7cd) docs: resubmit `no-new` rule documentation ([#​17264](https://github.com/eslint/eslint/issues/17264)) (Nitin Kumar) - [`1b217f8`](https://github.com/eslint/eslint/commit/1b217f8de15961fd3c80389621080132f517a0fb) docs: resubmit `Custom Processors` documentation ([#​17265](https://github.com/eslint/eslint/issues/17265)) (Nitin Kumar) - [`428fc76`](https://github.com/eslint/eslint/commit/428fc76806dea1ac82484d628261a5385f928e6a) docs: resubmit `Create Plugins` documentation ([#​17268](https://github.com/eslint/eslint/issues/17268)) (Nitin Kumar) - [`bdca88c`](https://github.com/eslint/eslint/commit/bdca88cf4f8b7888cb72197bfe9c1d90b490a0dd) docs: resubmit `Configuration Files` documentation ([#​17267](https://github.com/eslint/eslint/issues/17267)) (Nitin Kumar) - [`f5c01f2`](https://github.com/eslint/eslint/commit/f5c01f281ad288b1a0ebddbf579230ae11587c6c) docs: resubmit `Manage Issues` documentation ([#​17266](https://github.com/eslint/eslint/issues/17266)) (Nitin Kumar) - [`b199295`](https://github.com/eslint/eslint/commit/b1992954591a3f4d8417013f52739b5fef4e0cd7) docs: Resubmit custom rules update docs ([#​17273](https://github.com/eslint/eslint/issues/17273)) (Ben Perlmutter) - [`0e9980c`](https://github.com/eslint/eslint/commit/0e9980c3a8a1e554fdb377305c0ebe9e94a354c9) docs: add new `omitLastInOneLineClassBody` option to the `semi` rule ([#​17263](https://github.com/eslint/eslint/issues/17263)) (Nitin Kumar) - [`cb2560f`](https://github.com/eslint/eslint/commit/cb2560f7a393e74b761faa9adad938fb1deb947d) docs: Resubmit getScope/getDeclaredVariables docs ([#​17262](https://github.com/eslint/eslint/issues/17262)) (Nicholas C. Zakas) - [`85d2b30`](https://github.com/eslint/eslint/commit/85d2b30bc318c1355e52ebb21c56cca32f0ab198) docs: explain how to include predefined globals ([#​17261](https://github.com/eslint/eslint/issues/17261)) (Marcus Wyatt) - [`de4d3c1`](https://github.com/eslint/eslint/commit/de4d3c14c30a88795b9075d59827d3fe63a42c5e) docs: update flat config default ignore patterns ([#​17258](https://github.com/eslint/eslint/issues/17258)) (Milos Djermanovic) - [`3912f3a`](https://github.com/eslint/eslint/commit/3912f3a225c12bfb5ce9b7ba26c2b5301e6275bd) docs: Improve `ignores` documentation ([#​17239](https://github.com/eslint/eslint/issues/17239)) (Francesco Trotta) - [`35e11d3`](https://github.com/eslint/eslint/commit/35e11d3248e00b711fd652836edc900f22af0ebd) docs: fix typos and missing info ([#​17257](https://github.com/eslint/eslint/issues/17257)) (Ed Lucas) - [`0bc257c`](https://github.com/eslint/eslint/commit/0bc257c290b12fcda85cb61b40d55fc2be0f938c) docs: Clarify `no-div-regex` rule docs ([#​17051](https://github.com/eslint/eslint/issues/17051)) ([#​17255](https://github.com/eslint/eslint/issues/17255)) (Francesco Trotta) - [`788d836`](https://github.com/eslint/eslint/commit/788d83629a3790a7db6f52dcf0b4bddf51c6d063) docs: add references to MIT License ([#​17248](https://github.com/eslint/eslint/issues/17248)) (Milos Djermanovic) - [`58aab6b`](https://github.com/eslint/eslint/commit/58aab6b6c09996875418aefeeb0fd76c50caef7a) docs: Update README (GitHub Actions Bot) - [`3ef5814`](https://github.com/eslint/eslint/commit/3ef58140550cf8ff34af35fc4d9a1f9a124fe0e6) docs: Revert all changes after the license change ([#​17227](https://github.com/eslint/eslint/issues/17227)) (Milos Djermanovic) - [`03fc4aa`](https://github.com/eslint/eslint/commit/03fc4aa847bd0445e7b3ea81bcc9523b1847facc) docs: Update README (GitHub Actions Bot) #### Chores - [`78350f6`](https://github.com/eslint/eslint/commit/78350f63045c82b7990bb7bfe5080c5ad5e1c3f5) chore: upgrade [@​eslint/js](https://github.com/eslint/js)[@​8](https://github.com/8).43.0 ([#​17295](https://github.com/eslint/eslint/issues/17295)) (Milos Djermanovic) - [`62bf759`](https://github.com/eslint/eslint/commit/62bf759124811b013ad7906c2536deb8b39c31a8) chore: package.json update for [@​eslint/js](https://github.com/eslint/js) release (ESLint Jenkins) - [`e0a2448`](https://github.com/eslint/eslint/commit/e0a2448e0c0ef354e69998858846630a3fce8ebe) chore: docs package.license ISC => MIT ([#​17254](https://github.com/eslint/eslint/issues/17254)) (唯然) - [`6a0196c`](https://github.com/eslint/eslint/commit/6a0196c51310630a0ff96a1e8d7f257c2c7adda9) chore: use eslint-plugin-eslint-plugin flat configs ([#​17204](https://github.com/eslint/eslint/issues/17204)) (Milos Djermanovic) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" in timezone Europe/Berlin, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/mheob/used-pm).
renovate bot
referenced
this pull request
in Unleash/unleash
Jun 27, 2023
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [vitest](https://github.com/vitest-dev/vitest) | [`0.31.4` -> `0.32.2`](https://renovatebot.com/diffs/npm/vitest/0.31.4/0.32.2) | [![age](https://badges.renovateapi.com/packages/npm/vitest/0.32.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/vitest/0.32.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/vitest/0.32.2/compatibility-slim/0.31.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/vitest/0.32.2/confidence-slim/0.31.4)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest</summary> ### [`v0.32.2`](https://github.com/vitest-dev/vitest/releases/tag/v0.32.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.32.1...v0.32.2) ##### 🐞 Bug Fixes - **browser**: Don't fail on importing diff-sequences - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(00b0e)</samp>](https://github.com/vitest-dev/vitest/commit/00b0e6a3) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.32.1...v0.32.2) ### [`v0.32.1`](https://github.com/vitest-dev/vitest/releases/tag/v0.32.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.32.0...v0.32.1) ##### 🚀 Features - Export `registerConsoleShortcuts` from `vitest/node` - by [@​deot](https://github.com/deot) in [https://github.com/vitest-dev/vitest/issues/3563](https://github.com/vitest-dev/vitest/issues/3563) [<samp>(bc49b)</samp>](https://github.com/vitest-dev/vitest/commit/bc49bac7) - **expect**: Support `expect.unreachable` - by [@​fenghan34](https://github.com/fenghan34) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3556](https://github.com/vitest-dev/vitest/issues/3556) [<samp>(8e385)</samp>](https://github.com/vitest-dev/vitest/commit/8e385bb0) - **runner**: `describe`/`test` name support anonymous function - by [@​btea](https://github.com/btea) in [https://github.com/vitest-dev/vitest/issues/3562](https://github.com/vitest-dev/vitest/issues/3562) [<samp>(3d436)</samp>](https://github.com/vitest-dev/vitest/commit/3d43638c) ##### 🐞 Bug Fixes - Avoid call stack recursion with large error (fix: [#​3060](https://github.com/vitest-dev/vitest/issues/3060)) - by [@​nathanmmiller](https://github.com/nathanmmiller) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3078](https://github.com/vitest-dev/vitest/issues/3078) and [https://github.com/vitest-dev/vitest/issues/3060](https://github.com/vitest-dev/vitest/issues/3060) [<samp>(02196)</samp>](https://github.com/vitest-dev/vitest/commit/02196f9d) - Automatically remove define related configuration - by [@​btea](https://github.com/btea) in [https://github.com/vitest-dev/vitest/issues/3552](https://github.com/vitest-dev/vitest/issues/3552) [<samp>(368b8)</samp>](https://github.com/vitest-dev/vitest/commit/368b8259) - Import `performance` from `perf_hooks` - by [@​Max10240](https://github.com/Max10240) and **wangbaolong.wbl** in [https://github.com/vitest-dev/vitest/issues/3578](https://github.com/vitest-dev/vitest/issues/3578) and [https://github.com/vitest-dev/vitest/issues/3579](https://github.com/vitest-dev/vitest/issues/3579) [<samp>(24ec8)</samp>](https://github.com/vitest-dev/vitest/commit/24ec85a8) - Revert concordance diff, use jest's diff output - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3582](https://github.com/vitest-dev/vitest/issues/3582) [<samp>(9c7ea)</samp>](https://github.com/vitest-dev/vitest/commit/9c7ea382) - Typo in config suggestion - by [@​Krisell](https://github.com/Krisell) in [https://github.com/vitest-dev/vitest/issues/3583](https://github.com/vitest-dev/vitest/issues/3583) [<samp>(68985)</samp>](https://github.com/vitest-dev/vitest/commit/689855bb) - **browser**: - Change optimized deps to use `vitest` - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3580](https://github.com/vitest-dev/vitest/issues/3580) [<samp>(b4ac8)</samp>](https://github.com/vitest-dev/vitest/commit/b4ac88e9) - Access **vi_inject** only if it was injected - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3587](https://github.com/vitest-dev/vitest/issues/3587) [<samp>(d9e14)</samp>](https://github.com/vitest-dev/vitest/commit/d9e1419a) - **mocker**: - Respect namespace import when hoisting vi.mock - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3547](https://github.com/vitest-dev/vitest/issues/3547) [<samp>(158c4)</samp>](https://github.com/vitest-dev/vitest/commit/158c4bb0) - **ui**: - Navigate to dashboard when re-running tests from coverage page - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3529](https://github.com/vitest-dev/vitest/issues/3529) [<samp>(bc283)</samp>](https://github.com/vitest-dev/vitest/commit/bc283ae3) - **vite-node**: - Correctly resolve virtual modules - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3544](https://github.com/vitest-dev/vitest/issues/3544) [<samp>(0cbb0)</samp>](https://github.com/vitest-dev/vitest/commit/0cbb07b4) - Fix errors caused by commonjs export circular references - by [@​rxliuli](https://github.com/rxliuli) in [https://github.com/vitest-dev/vitest/issues/3570](https://github.com/vitest-dev/vitest/issues/3570) [<samp>(b097c)</samp>](https://github.com/vitest-dev/vitest/commit/b097cef8) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.32.0...v0.32.1) ### [`v0.32.0`](https://github.com/vitest-dev/vitest/releases/tag/v0.32.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.31.4...v0.32.0) ##### 🚨 Breaking Changes - Throw an error, if the module cannot be resolved - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3307](https://github.com/vitest-dev/vitest/issues/3307) [<samp>(1ad63)</samp>](https://github.com/vitest-dev/vitest/commit/1ad63b0c) - 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 "worked". 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. - Improve globs - by [@​nickmccurdy](https://github.com/nickmccurdy) in [https://github.com/vitest-dev/vitest/issues/3392](https://github.com/vitest-dev/vitest/issues/3392) [<samp>(19ecc)</samp>](https://github.com/vitest-dev/vitest/commit/19ecc6c7) - 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 `test.js` to be a test file. Also any file in `__tests__` is now considered to be a test, not just files with `test` or `spec` suffix. - Add `@vitest/coverage-v8` package - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3339](https://github.com/vitest-dev/vitest/issues/3339) [<samp>(82112)</samp>](https://github.com/vitest-dev/vitest/commit/821126f1) - Vitest now uses v8 code coverage directly for better performance. `@vitest/coverage-c8` 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 `c8` as their coverage provider. Please, install the new `@vitest/coverage-v8` package if you previously used `@vitest/coverage-c8`. - **mocker**: Don't restore mock to the original if the module is automocked - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3518](https://github.com/vitest-dev/vitest/issues/3518) [<samp>(c1004)</samp>](https://github.com/vitest-dev/vitest/commit/c1004e14) - `spy.mockRestore` on auto-mocked named exports will no longer restore their implementation to the actual function. This behavior better matches what Jest does. ##### 🚀 Features - Support ssr optimizer - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3490](https://github.com/vitest-dev/vitest/issues/3490) [<samp>(89842)</samp>](https://github.com/vitest-dev/vitest/commit/898422b0) - Image type add apng - by [@​btea](https://github.com/btea) in [https://github.com/vitest-dev/vitest/issues/3498](https://github.com/vitest-dev/vitest/issues/3498) [<samp>(a53c2)</samp>](https://github.com/vitest-dev/vitest/commit/a53c2151) - **expect**: Support `expect.soft` - by [@​Dunqing](https://github.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3507](https://github.com/vitest-dev/vitest/issues/3507) [<samp>(7c687)</samp>](https://github.com/vitest-dev/vitest/commit/7c687ada) - **runner**: Support using function/class as `describe`/`test` name - by [@​fenghan34](https://github.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3497](https://github.com/vitest-dev/vitest/issues/3497) [<samp>(15253)</samp>](https://github.com/vitest-dev/vitest/commit/15253890) ##### 🐞 Bug Fixes - The cli option is passed to coverage.exclude - by [@​btea](https://github.com/btea) in [https://github.com/vitest-dev/vitest/issues/3506](https://github.com/vitest-dev/vitest/issues/3506) [<samp>(c37cd)</samp>](https://github.com/vitest-dev/vitest/commit/c37cdebe) - **optimizer**: Always respect optimizeDeps even if include/exclude is overridden - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3488](https://github.com/vitest-dev/vitest/issues/3488) [<samp>(eb285)</samp>](https://github.com/vitest-dev/vitest/commit/eb285ea0) - **runner**: Ensure Vitest is deduped - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3489](https://github.com/vitest-dev/vitest/issues/3489) [<samp>(2deb7)</samp>](https://github.com/vitest-dev/vitest/commit/2deb70ab) - **ui**: Don't cache coverage assets - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3508](https://github.com/vitest-dev/vitest/issues/3508) [<samp>(952b5)</samp>](https://github.com/vitest-dev/vitest/commit/952b5be6) - **vite-node**: Circular import stuck - by [@​Dunqing](https://github.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3480](https://github.com/vitest-dev/vitest/issues/3480) [<samp>(50f07)</samp>](https://github.com/vitest-dev/vitest/commit/50f0700d) - **watch**: Junit reporter fails to re-generate report - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3496](https://github.com/vitest-dev/vitest/issues/3496) [<samp>(5b73c)</samp>](https://github.com/vitest-dev/vitest/commit/5b73cbf8) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.31.4...v0.32.0) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMzEuMCIsInVwZGF0ZWRJblZlciI6IjM1LjEzMS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
kodiakhq bot
referenced
this pull request
in mheob/changeset-changelog
Jun 30, 2023
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@commitlint/cli](https://commitlint.js.org/) ([source](https://github.com/conventional-changelog/commitlint)) | [`^17.6.5` -> `^17.6.6`](https://renovatebot.com/diffs/npm/@commitlint%2fcli/17.6.5/17.6.6) | [![age](https://badges.renovateapi.com/packages/npm/@commitlint%2fcli/17.6.6/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@commitlint%2fcli/17.6.6/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@commitlint%2fcli/17.6.6/compatibility-slim/17.6.5)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@commitlint%2fcli/17.6.6/confidence-slim/17.6.5)](https://docs.renovatebot.com/merge-confidence/) | | [@vitest/coverage-istanbul](https://github.com/vitest-dev/vitest/tree/main/packages/coverage-istanbul#readme) ([source](https://github.com/vitest-dev/vitest)) | [`^0.32.0` -> `^0.32.2`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-istanbul/0.32.0/0.32.2) | [![age](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-istanbul/0.32.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-istanbul/0.32.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-istanbul/0.32.2/compatibility-slim/0.32.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-istanbul/0.32.2/confidence-slim/0.32.0)](https://docs.renovatebot.com/merge-confidence/) | | [dotenv](https://github.com/motdotla/dotenv) | [`^16.2.0` -> `^16.3.1`](https://renovatebot.com/diffs/npm/dotenv/16.2.0/16.3.1) | [![age](https://badges.renovateapi.com/packages/npm/dotenv/16.3.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/dotenv/16.3.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/dotenv/16.3.1/compatibility-slim/16.2.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/dotenv/16.3.1/confidence-slim/16.2.0)](https://docs.renovatebot.com/merge-confidence/) | | [eslint](https://eslint.org) ([source](https://github.com/eslint/eslint)) | [`^8.42.0` -> `^8.43.0`](https://renovatebot.com/diffs/npm/eslint/8.42.0/8.43.0) | [![age](https://badges.renovateapi.com/packages/npm/eslint/8.43.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/eslint/8.43.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/eslint/8.43.0/compatibility-slim/8.42.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/eslint/8.43.0/confidence-slim/8.42.0)](https://docs.renovatebot.com/merge-confidence/) | | [vitest](https://github.com/vitest-dev/vitest) | [`^0.32.0` -> `^0.32.2`](https://renovatebot.com/diffs/npm/vitest/0.32.0/0.32.2) | [![age](https://badges.renovateapi.com/packages/npm/vitest/0.32.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/vitest/0.32.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/vitest/0.32.2/compatibility-slim/0.32.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/vitest/0.32.2/confidence-slim/0.32.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>conventional-changelog/commitlint (@​commitlint/cli)</summary> ### [`v17.6.6`](https://github.com/conventional-changelog/commitlint/blob/HEAD/@​commitlint/cli/CHANGELOG.md#​1766-httpsgithubcomconventional-changelogcommitlintcomparev1765v1766-2023-06-24) [Compare Source](https://github.com/conventional-changelog/commitlint/compare/v17.6.5...v17.6.6) **Note:** Version bump only for package [@​commitlint/cli](https://github.com/commitlint/cli) </details> <details> <summary>vitest-dev/vitest (@​vitest/coverage-istanbul)</summary> ### [`v0.32.2`](https://github.com/vitest-dev/vitest/releases/tag/v0.32.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.32.1...v0.32.2) ##### 🐞 Bug Fixes - **browser**: Don't fail on importing diff-sequences - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(00b0e)</samp>](https://github.com/vitest-dev/vitest/commit/00b0e6a3) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.32.1...v0.32.2) ### [`v0.32.1`](https://github.com/vitest-dev/vitest/releases/tag/v0.32.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.32.0...v0.32.1) ##### 🚀 Features - Export `registerConsoleShortcuts` from `vitest/node` - by [@​deot](https://github.com/deot) in [https://github.com/vitest-dev/vitest/issues/3563](https://github.com/vitest-dev/vitest/issues/3563) [<samp>(bc49b)</samp>](https://github.com/vitest-dev/vitest/commit/bc49bac7) - **expect**: Support `expect.unreachable` - by [@​fenghan34](https://github.com/fenghan34) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3556](https://github.com/vitest-dev/vitest/issues/3556) [<samp>(8e385)</samp>](https://github.com/vitest-dev/vitest/commit/8e385bb0) - **runner**: `describe`/`test` name support anonymous function - by [@​btea](https://github.com/btea) in [https://github.com/vitest-dev/vitest/issues/3562](https://github.com/vitest-dev/vitest/issues/3562) [<samp>(3d436)</samp>](https://github.com/vitest-dev/vitest/commit/3d43638c) ##### 🐞 Bug Fixes - Avoid call stack recursion with large error (fix: [#​3060](https://github.com/vitest-dev/vitest/issues/3060)) - by [@​nathanmmiller](https://github.com/nathanmmiller) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3078](https://github.com/vitest-dev/vitest/issues/3078) and [https://github.com/vitest-dev/vitest/issues/3060](https://github.com/vitest-dev/vitest/issues/3060) [<samp>(02196)</samp>](https://github.com/vitest-dev/vitest/commit/02196f9d) - Automatically remove define related configuration - by [@​btea](https://github.com/btea) in [https://github.com/vitest-dev/vitest/issues/3552](https://github.com/vitest-dev/vitest/issues/3552) [<samp>(368b8)</samp>](https://github.com/vitest-dev/vitest/commit/368b8259) - Import `performance` from `perf_hooks` - by [@​Max10240](https://github.com/Max10240) and **wangbaolong.wbl** in [https://github.com/vitest-dev/vitest/issues/3578](https://github.com/vitest-dev/vitest/issues/3578) and [https://github.com/vitest-dev/vitest/issues/3579](https://github.com/vitest-dev/vitest/issues/3579) [<samp>(24ec8)</samp>](https://github.com/vitest-dev/vitest/commit/24ec85a8) - Revert concordance diff, use jest's diff output - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3582](https://github.com/vitest-dev/vitest/issues/3582) [<samp>(9c7ea)</samp>](https://github.com/vitest-dev/vitest/commit/9c7ea382) - Typo in config suggestion - by [@​Krisell](https://github.com/Krisell) in [https://github.com/vitest-dev/vitest/issues/3583](https://github.com/vitest-dev/vitest/issues/3583) [<samp>(68985)</samp>](https://github.com/vitest-dev/vitest/commit/689855bb) - **browser**: - Change optimized deps to use `vitest` - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3580](https://github.com/vitest-dev/vitest/issues/3580) [<samp>(b4ac8)</samp>](https://github.com/vitest-dev/vitest/commit/b4ac88e9) - Access **vi_inject** only if it was injected - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3587](https://github.com/vitest-dev/vitest/issues/3587) [<samp>(d9e14)</samp>](https://github.com/vitest-dev/vitest/commit/d9e1419a) - **mocker**: - Respect namespace import when hoisting vi.mock - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3547](https://github.com/vitest-dev/vitest/issues/3547) [<samp>(158c4)</samp>](https://github.com/vitest-dev/vitest/commit/158c4bb0) - **ui**: - Navigate to dashboard when re-running tests from coverage page - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3529](https://github.com/vitest-dev/vitest/issues/3529) [<samp>(bc283)</samp>](https://github.com/vitest-dev/vitest/commit/bc283ae3) - **vite-node**: - Correctly resolve virtual modules - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3544](https://github.com/vitest-dev/vitest/issues/3544) [<samp>(0cbb0)</samp>](https://github.com/vitest-dev/vitest/commit/0cbb07b4) - Fix errors caused by commonjs export circular references - by [@​rxliuli](https://github.com/rxliuli) in [https://github.com/vitest-dev/vitest/issues/3570](https://github.com/vitest-dev/vitest/issues/3570) [<samp>(b097c)</samp>](https://github.com/vitest-dev/vitest/commit/b097cef8) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.32.0...v0.32.1) </details> <details> <summary>motdotla/dotenv (dotenv)</summary> ### [`v16.3.1`](https://github.com/motdotla/dotenv/blob/HEAD/CHANGELOG.md#​1631-httpsgithubcommotdotladotenvcomparev1630v1631-2023-06-17) [Compare Source](https://github.com/motdotla/dotenv/compare/v16.3.0...v16.3.1) ##### Added - Add missing type definitions for `processEnv` and `DOTENV_KEY` options. [#​756](https://github.com/motdotla/dotenv/pull/756) ### [`v16.3.0`](https://github.com/motdotla/dotenv/blob/HEAD/CHANGELOG.md#​1630-httpsgithubcommotdotladotenvcomparev1620v1630-2023-06-16) [Compare Source](https://github.com/motdotla/dotenv/compare/v16.2.0...v16.3.0) ##### Added - Optionally pass `DOTENV_KEY` to options rather than relying on `process.env.DOTENV_KEY`. Defaults to `process.env.DOTENV_KEY` [#​754](https://github.com/motdotla/dotenv/pull/754) </details> <details> <summary>eslint/eslint (eslint)</summary> ### [`v8.43.0`](https://github.com/eslint/eslint/releases/tag/v8.43.0) [Compare Source](https://github.com/eslint/eslint/compare/v8.42.0...v8.43.0) #### Features - [`14581ff`](https://github.com/eslint/eslint/commit/14581ff15aaee5a55c46bbf4983818ddc8dd7cb1) feat: directive prologue detection and autofix condition in `quotes` ([#​17284](https://github.com/eslint/eslint/issues/17284)) (Francesco Trotta) - [`e50fac3`](https://github.com/eslint/eslint/commit/e50fac3f8f998f729e3080e256066db3a7827c67) feat: add declaration loc to message in block-scoped-var ([#​17252](https://github.com/eslint/eslint/issues/17252)) (Milos Djermanovic) - [`1b7faf0`](https://github.com/eslint/eslint/commit/1b7faf0702b1af86b6a0ddafc37cf45d60f5d4d8) feat: add `skipJSXText` option to `no-irregular-whitespace` rule ([#​17182](https://github.com/eslint/eslint/issues/17182)) (Azat S) #### Bug Fixes - [`5338b56`](https://github.com/eslint/eslint/commit/5338b56fda7f47d16bdb23514f1e95b24de7b92f) fix: normalize `cwd` passed to `ESLint`/`FlatESLint` constructor ([#​17277](https://github.com/eslint/eslint/issues/17277)) (Milos Djermanovic) - [`54383e6`](https://github.com/eslint/eslint/commit/54383e69b092ef537d59a1f7799a85b1412f4e59) fix: Remove `no-extra-parens` autofix for potential directives ([#​17022](https://github.com/eslint/eslint/issues/17022)) (Francesco Trotta) #### Documentation - [`8b855ea`](https://github.com/eslint/eslint/commit/8b855ea058992d5446d1d6dc6394ee683c3200a0) docs: resubmit pr17061 doc changes ([#​17292](https://github.com/eslint/eslint/issues/17292)) (唯然) - [`372722e`](https://github.com/eslint/eslint/commit/372722eac32ca9e3f31cf0d0bc10317c6f153369) docs: resubmit pr17012 doc changes ([#​17293](https://github.com/eslint/eslint/issues/17293)) (唯然) - [`67e7af3`](https://github.com/eslint/eslint/commit/67e7af3fdbdb4648b747dfd669be4decfe24086a) docs: resubmit custom-rules doc changes ([#​17294](https://github.com/eslint/eslint/issues/17294)) (唯然) - [`9e3d77c`](https://github.com/eslint/eslint/commit/9e3d77cba65d0e38e07996e57961fb04f30d9303) docs: Resubmit Fix formatting in Custom Rules docs ([#​17281](https://github.com/eslint/eslint/issues/17281)) (Milos Djermanovic) - [`503647a`](https://github.com/eslint/eslint/commit/503647a0b94ca8c776d7e7e8c54c8b1d32904467) docs: Resubmit markVariableAsUsed docs ([#​17280](https://github.com/eslint/eslint/issues/17280)) (Nicholas C. Zakas) - [`e0cf0d8`](https://github.com/eslint/eslint/commit/e0cf0d86d985ed2b2f901dd9aab5ccd2fff062ad) docs: Custom rule & plugin tutorial ([#​17024](https://github.com/eslint/eslint/issues/17024)) (Ben Perlmutter) - [`8e51ea9`](https://github.com/eslint/eslint/commit/8e51ea943c2fcd05bd8917cfa89e36b91209c7cd) docs: resubmit `no-new` rule documentation ([#​17264](https://github.com/eslint/eslint/issues/17264)) (Nitin Kumar) - [`1b217f8`](https://github.com/eslint/eslint/commit/1b217f8de15961fd3c80389621080132f517a0fb) docs: resubmit `Custom Processors` documentation ([#​17265](https://github.com/eslint/eslint/issues/17265)) (Nitin Kumar) - [`428fc76`](https://github.com/eslint/eslint/commit/428fc76806dea1ac82484d628261a5385f928e6a) docs: resubmit `Create Plugins` documentation ([#​17268](https://github.com/eslint/eslint/issues/17268)) (Nitin Kumar) - [`bdca88c`](https://github.com/eslint/eslint/commit/bdca88cf4f8b7888cb72197bfe9c1d90b490a0dd) docs: resubmit `Configuration Files` documentation ([#​17267](https://github.com/eslint/eslint/issues/17267)) (Nitin Kumar) - [`f5c01f2`](https://github.com/eslint/eslint/commit/f5c01f281ad288b1a0ebddbf579230ae11587c6c) docs: resubmit `Manage Issues` documentation ([#​17266](https://github.com/eslint/eslint/issues/17266)) (Nitin Kumar) - [`b199295`](https://github.com/eslint/eslint/commit/b1992954591a3f4d8417013f52739b5fef4e0cd7) docs: Resubmit custom rules update docs ([#​17273](https://github.com/eslint/eslint/issues/17273)) (Ben Perlmutter) - [`0e9980c`](https://github.com/eslint/eslint/commit/0e9980c3a8a1e554fdb377305c0ebe9e94a354c9) docs: add new `omitLastInOneLineClassBody` option to the `semi` rule ([#​17263](https://github.com/eslint/eslint/issues/17263)) (Nitin Kumar) - [`cb2560f`](https://github.com/eslint/eslint/commit/cb2560f7a393e74b761faa9adad938fb1deb947d) docs: Resubmit getScope/getDeclaredVariables docs ([#​17262](https://github.com/eslint/eslint/issues/17262)) (Nicholas C. Zakas) - [`85d2b30`](https://github.com/eslint/eslint/commit/85d2b30bc318c1355e52ebb21c56cca32f0ab198) docs: explain how to include predefined globals ([#​17261](https://github.com/eslint/eslint/issues/17261)) (Marcus Wyatt) - [`de4d3c1`](https://github.com/eslint/eslint/commit/de4d3c14c30a88795b9075d59827d3fe63a42c5e) docs: update flat config default ignore patterns ([#​17258](https://github.com/eslint/eslint/issues/17258)) (Milos Djermanovic) - [`3912f3a`](https://github.com/eslint/eslint/commit/3912f3a225c12bfb5ce9b7ba26c2b5301e6275bd) docs: Improve `ignores` documentation ([#​17239](https://github.com/eslint/eslint/issues/17239)) (Francesco Trotta) - [`35e11d3`](https://github.com/eslint/eslint/commit/35e11d3248e00b711fd652836edc900f22af0ebd) docs: fix typos and missing info ([#​17257](https://github.com/eslint/eslint/issues/17257)) (Ed Lucas) - [`0bc257c`](https://github.com/eslint/eslint/commit/0bc257c290b12fcda85cb61b40d55fc2be0f938c) docs: Clarify `no-div-regex` rule docs ([#​17051](https://github.com/eslint/eslint/issues/17051)) ([#​17255](https://github.com/eslint/eslint/issues/17255)) (Francesco Trotta) - [`788d836`](https://github.com/eslint/eslint/commit/788d83629a3790a7db6f52dcf0b4bddf51c6d063) docs: add references to MIT License ([#​17248](https://github.com/eslint/eslint/issues/17248)) (Milos Djermanovic) - [`58aab6b`](https://github.com/eslint/eslint/commit/58aab6b6c09996875418aefeeb0fd76c50caef7a) docs: Update README (GitHub Actions Bot) - [`3ef5814`](https://github.com/eslint/eslint/commit/3ef58140550cf8ff34af35fc4d9a1f9a124fe0e6) docs: Revert all changes after the license change ([#​17227](https://github.com/eslint/eslint/issues/17227)) (Milos Djermanovic) - [`03fc4aa`](https://github.com/eslint/eslint/commit/03fc4aa847bd0445e7b3ea81bcc9523b1847facc) docs: Update README (GitHub Actions Bot) #### Chores - [`78350f6`](https://github.com/eslint/eslint/commit/78350f63045c82b7990bb7bfe5080c5ad5e1c3f5) chore: upgrade [@​eslint/js](https://github.com/eslint/js)[@​8](https://github.com/8).43.0 ([#​17295](https://github.com/eslint/eslint/issues/17295)) (Milos Djermanovic) - [`62bf759`](https://github.com/eslint/eslint/commit/62bf759124811b013ad7906c2536deb8b39c31a8) chore: package.json update for [@​eslint/js](https://github.com/eslint/js) release (ESLint Jenkins) - [`e0a2448`](https://github.com/eslint/eslint/commit/e0a2448e0c0ef354e69998858846630a3fce8ebe) chore: docs package.license ISC => MIT ([#​17254](https://github.com/eslint/eslint/issues/17254)) (唯然) - [`6a0196c`](https://github.com/eslint/eslint/commit/6a0196c51310630a0ff96a1e8d7f257c2c7adda9) chore: use eslint-plugin-eslint-plugin flat configs ([#​17204](https://github.com/eslint/eslint/issues/17204)) (Milos Djermanovic) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Wednesday" in timezone Europe/Berlin, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/mheob/changeset-changelog).
kodiakhq bot
referenced
this pull request
in ascorbic/unpic-img
Jul 5, 2023
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [vitest](https://github.com/vitest-dev/vitest) | [`^0.30.1` -> `^0.32.0`](https://renovatebot.com/diffs/npm/vitest/0.30.1/0.32.2) | [![age](https://badges.renovateapi.com/packages/npm/vitest/0.32.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/vitest/0.32.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/vitest/0.32.2/compatibility-slim/0.30.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/vitest/0.32.2/confidence-slim/0.30.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest</summary> ### [`v0.32.2`](https://github.com/vitest-dev/vitest/releases/tag/v0.32.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.32.1...v0.32.2) ##### 🐞 Bug Fixes - **browser**: Don't fail on importing diff-sequences - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(00b0e)</samp>](https://github.com/vitest-dev/vitest/commit/00b0e6a3) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.32.1...v0.32.2) ### [`v0.32.1`](https://github.com/vitest-dev/vitest/releases/tag/v0.32.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.32.0...v0.32.1) ##### 🚀 Features - Export `registerConsoleShortcuts` from `vitest/node` - by [@​deot](https://github.com/deot) in [https://github.com/vitest-dev/vitest/issues/3563](https://github.com/vitest-dev/vitest/issues/3563) [<samp>(bc49b)</samp>](https://github.com/vitest-dev/vitest/commit/bc49bac7) - **expect**: Support `expect.unreachable` - by [@​fenghan34](https://github.com/fenghan34) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3556](https://github.com/vitest-dev/vitest/issues/3556) [<samp>(8e385)</samp>](https://github.com/vitest-dev/vitest/commit/8e385bb0) - **runner**: `describe`/`test` name support anonymous function - by [@​btea](https://github.com/btea) in [https://github.com/vitest-dev/vitest/issues/3562](https://github.com/vitest-dev/vitest/issues/3562) [<samp>(3d436)</samp>](https://github.com/vitest-dev/vitest/commit/3d43638c) ##### 🐞 Bug Fixes - Avoid call stack recursion with large error (fix: [#​3060](https://github.com/vitest-dev/vitest/issues/3060)) - by [@​nathanmmiller](https://github.com/nathanmmiller) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3078](https://github.com/vitest-dev/vitest/issues/3078) and [https://github.com/vitest-dev/vitest/issues/3060](https://github.com/vitest-dev/vitest/issues/3060) [<samp>(02196)</samp>](https://github.com/vitest-dev/vitest/commit/02196f9d) - Automatically remove define related configuration - by [@​btea](https://github.com/btea) in [https://github.com/vitest-dev/vitest/issues/3552](https://github.com/vitest-dev/vitest/issues/3552) [<samp>(368b8)</samp>](https://github.com/vitest-dev/vitest/commit/368b8259) - Import `performance` from `perf_hooks` - by [@​Max10240](https://github.com/Max10240) and **wangbaolong.wbl** in [https://github.com/vitest-dev/vitest/issues/3578](https://github.com/vitest-dev/vitest/issues/3578) and [https://github.com/vitest-dev/vitest/issues/3579](https://github.com/vitest-dev/vitest/issues/3579) [<samp>(24ec8)</samp>](https://github.com/vitest-dev/vitest/commit/24ec85a8) - Revert concordance diff, use jest's diff output - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3582](https://github.com/vitest-dev/vitest/issues/3582) [<samp>(9c7ea)</samp>](https://github.com/vitest-dev/vitest/commit/9c7ea382) - Typo in config suggestion - by [@​Krisell](https://github.com/Krisell) in [https://github.com/vitest-dev/vitest/issues/3583](https://github.com/vitest-dev/vitest/issues/3583) [<samp>(68985)</samp>](https://github.com/vitest-dev/vitest/commit/689855bb) - **browser**: - Change optimized deps to use `vitest` - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3580](https://github.com/vitest-dev/vitest/issues/3580) [<samp>(b4ac8)</samp>](https://github.com/vitest-dev/vitest/commit/b4ac88e9) - Access **vi_inject** only if it was injected - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3587](https://github.com/vitest-dev/vitest/issues/3587) [<samp>(d9e14)</samp>](https://github.com/vitest-dev/vitest/commit/d9e1419a) - **mocker**: - Respect namespace import when hoisting vi.mock - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3547](https://github.com/vitest-dev/vitest/issues/3547) [<samp>(158c4)</samp>](https://github.com/vitest-dev/vitest/commit/158c4bb0) - **ui**: - Navigate to dashboard when re-running tests from coverage page - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3529](https://github.com/vitest-dev/vitest/issues/3529) [<samp>(bc283)</samp>](https://github.com/vitest-dev/vitest/commit/bc283ae3) - **vite-node**: - Correctly resolve virtual modules - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3544](https://github.com/vitest-dev/vitest/issues/3544) [<samp>(0cbb0)</samp>](https://github.com/vitest-dev/vitest/commit/0cbb07b4) - Fix errors caused by commonjs export circular references - by [@​rxliuli](https://github.com/rxliuli) in [https://github.com/vitest-dev/vitest/issues/3570](https://github.com/vitest-dev/vitest/issues/3570) [<samp>(b097c)</samp>](https://github.com/vitest-dev/vitest/commit/b097cef8) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.32.0...v0.32.1) ### [`v0.32.0`](https://github.com/vitest-dev/vitest/releases/tag/v0.32.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.31.4...v0.32.0) ##### 🚨 Breaking Changes - Throw an error, if the module cannot be resolved - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3307](https://github.com/vitest-dev/vitest/issues/3307) [<samp>(1ad63)</samp>](https://github.com/vitest-dev/vitest/commit/1ad63b0c) - 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 "worked". 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. - Improve globs - by [@​nickmccurdy](https://github.com/nickmccurdy) in [https://github.com/vitest-dev/vitest/issues/3392](https://github.com/vitest-dev/vitest/issues/3392) [<samp>(19ecc)</samp>](https://github.com/vitest-dev/vitest/commit/19ecc6c7) - 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 `test.js` to be a test file. Also any file in `__tests__` is now considered to be a test, not just files with `test` or `spec` suffix. - Add `@vitest/coverage-v8` package - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3339](https://github.com/vitest-dev/vitest/issues/3339) [<samp>(82112)</samp>](https://github.com/vitest-dev/vitest/commit/821126f1) - Vitest now uses v8 code coverage directly for better performance. `@vitest/coverage-c8` 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 `c8` as their coverage provider. Please, install the new `@vitest/coverage-v8` package if you previously used `@vitest/coverage-c8`. - **mocker**: Don't restore mock to the original if the module is automocked - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3518](https://github.com/vitest-dev/vitest/issues/3518) [<samp>(c1004)</samp>](https://github.com/vitest-dev/vitest/commit/c1004e14) - `spy.mockRestore` on auto-mocked named exports will no longer restore their implementation to the actual function. This behavior better matches what Jest does. ##### 🚀 Features - Support ssr optimizer - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3490](https://github.com/vitest-dev/vitest/issues/3490) [<samp>(89842)</samp>](https://github.com/vitest-dev/vitest/commit/898422b0) - Image type add apng - by [@​btea](https://github.com/btea) in [https://github.com/vitest-dev/vitest/issues/3498](https://github.com/vitest-dev/vitest/issues/3498) [<samp>(a53c2)</samp>](https://github.com/vitest-dev/vitest/commit/a53c2151) - **expect**: Support `expect.soft` - by [@​Dunqing](https://github.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3507](https://github.com/vitest-dev/vitest/issues/3507) [<samp>(7c687)</samp>](https://github.com/vitest-dev/vitest/commit/7c687ada) - **runner**: Support using function/class as `describe`/`test` name - by [@​fenghan34](https://github.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3497](https://github.com/vitest-dev/vitest/issues/3497) [<samp>(15253)</samp>](https://github.com/vitest-dev/vitest/commit/15253890) ##### 🐞 Bug Fixes - The cli option is passed to coverage.exclude - by [@​btea](https://github.com/btea) in [https://github.com/vitest-dev/vitest/issues/3506](https://github.com/vitest-dev/vitest/issues/3506) [<samp>(c37cd)</samp>](https://github.com/vitest-dev/vitest/commit/c37cdebe) - **optimizer**: Always respect optimizeDeps even if include/exclude is overridden - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3488](https://github.com/vitest-dev/vitest/issues/3488) [<samp>(eb285)</samp>](https://github.com/vitest-dev/vitest/commit/eb285ea0) - **runner**: Ensure Vitest is deduped - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3489](https://github.com/vitest-dev/vitest/issues/3489) [<samp>(2deb7)</samp>](https://github.com/vitest-dev/vitest/commit/2deb70ab) - **ui**: Don't cache coverage assets - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3508](https://github.com/vitest-dev/vitest/issues/3508) [<samp>(952b5)</samp>](https://github.com/vitest-dev/vitest/commit/952b5be6) - **vite-node**: Circular import stuck - by [@​Dunqing](https://github.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3480](https://github.com/vitest-dev/vitest/issues/3480) [<samp>(50f07)</samp>](https://github.com/vitest-dev/vitest/commit/50f0700d) - **watch**: Junit reporter fails to re-generate report - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3496](https://github.com/vitest-dev/vitest/issues/3496) [<samp>(5b73c)</samp>](https://github.com/vitest-dev/vitest/commit/5b73cbf8) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.31.4...v0.32.0) ### [`v0.31.4`](https://github.com/vitest-dev/vitest/releases/tag/v0.31.4) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.31.3...v0.31.4) ##### 🚀 Features - Enable experimentalOptimizer - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3413](https://github.com/vitest-dev/vitest/issues/3413) [<samp>(5a894)</samp>](https://github.com/vitest-dev/vitest/commit/5a894aa2) ##### 🐞 Bug Fixes - **vite-node**: Deps.inline doesn't work - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3485](https://github.com/vitest-dev/vitest/issues/3485) [<samp>(be930)</samp>](https://github.com/vitest-dev/vitest/commit/be93032f) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.31.3...v0.31.4) ### [`v0.31.3`](https://github.com/vitest-dev/vitest/releases/tag/v0.31.3) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.31.2...v0.31.3) ##### 🚀 Features - Support `VITE_NODE_DEPS_MODULE_DIRECTORIES` from .npmrc - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3471](https://github.com/vitest-dev/vitest/issues/3471) [<samp>(393bf)</samp>](https://github.com/vitest-dev/vitest/commit/393bf60c) ##### 🐞 Bug Fixes - **logger**: Print unhandled errors before summary - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3474](https://github.com/vitest-dev/vitest/issues/3474) [<samp>(4c9a7)</samp>](https://github.com/vitest-dev/vitest/commit/4c9a7d58) - **runner**: Suite options do not propagate to nested suites (fix: [#​3467](https://github.com/vitest-dev/vitest/issues/3467)) - by [@​xsjcTony](https://github.com/xsjcTony) in [https://github.com/vitest-dev/vitest/issues/3473](https://github.com/vitest-dev/vitest/issues/3473) and [https://github.com/vitest-dev/vitest/issues/3467](https://github.com/vitest-dev/vitest/issues/3467) [<samp>(9fb9d)</samp>](https://github.com/vitest-dev/vitest/commit/9fb9dacb) - **vite-node**: Clear importers when invalidating module - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3475](https://github.com/vitest-dev/vitest/issues/3475) [<samp>(add29)</samp>](https://github.com/vitest-dev/vitest/commit/add29c86) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.31.2...v0.31.3) ### [`v0.31.2`](https://github.com/vitest-dev/vitest/releases/tag/v0.31.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.31.1...v0.31.2) ##### 🚀 Features - Throw error if using inline snapshot inside of `test.each` or `describe.each` - by [@​fenghan34](https://github.com/fenghan34) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3360](https://github.com/vitest-dev/vitest/issues/3360) [<samp>(7c2f7)</samp>](https://github.com/vitest-dev/vitest/commit/7c2f7088) - Pass down meta information to Node.js process - by [@​sheremet-va](https://github.com/sheremet-va) and [@​dammy001](https://github.com/dammy001) in [https://github.com/vitest-dev/vitest/issues/3449](https://github.com/vitest-dev/vitest/issues/3449) [<samp>(e39ad)</samp>](https://github.com/vitest-dev/vitest/commit/e39adea8) - **coverage**: Add `reportOnFailure` option - by [@​AriPerkkio](https://github.com/AriPerkkio) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3453](https://github.com/vitest-dev/vitest/issues/3453) [<samp>(1988f)</samp>](https://github.com/vitest-dev/vitest/commit/1988fcb4) - **dev**: Add moduleDirectories option to the vitest config - by [@​fooddilsn](https://github.com/fooddilsn) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3337](https://github.com/vitest-dev/vitest/issues/3337) [<samp>(b3602)</samp>](https://github.com/vitest-dev/vitest/commit/b3602bcc) ##### 🐞 Bug Fixes - Don't print empty diff - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3437](https://github.com/vitest-dev/vitest/issues/3437) [<samp>(32b53)</samp>](https://github.com/vitest-dev/vitest/commit/32b5361f) - Don't restore methods in automocked dependencies - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3438](https://github.com/vitest-dev/vitest/issues/3438) [<samp>(d1afd)</samp>](https://github.com/vitest-dev/vitest/commit/d1afd262) - Dot reporter scrollback buffer spam - by [@​gtm-nayan](https://github.com/gtm-nayan) in [https://github.com/vitest-dev/vitest/issues/3415](https://github.com/vitest-dev/vitest/issues/3415) [<samp>(e6792)</samp>](https://github.com/vitest-dev/vitest/commit/e6792a94) - Gracefully exit when first `SIGINT` is received - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3407](https://github.com/vitest-dev/vitest/issues/3407) [<samp>(a2cc2)</samp>](https://github.com/vitest-dev/vitest/commit/a2cc2b38) - `rejects` & `resolves` breaks with thenable objects - by [@​fenghan34](https://github.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3456](https://github.com/vitest-dev/vitest/issues/3456) [<samp>(4e996)</samp>](https://github.com/vitest-dev/vitest/commit/4e996ae5) - Prevent `birpc` timeouts when `Math.random` mock is not restored - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3460](https://github.com/vitest-dev/vitest/issues/3460) [<samp>(cd5d5)</samp>](https://github.com/vitest-dev/vitest/commit/cd5d58b7) - Assertion diff message now handle non writable property correctly - by [@​PCreations](https://github.com/PCreations) in [https://github.com/vitest-dev/vitest/issues/3422](https://github.com/vitest-dev/vitest/issues/3422) [<samp>(f75ab)</samp>](https://github.com/vitest-dev/vitest/commit/f75ab650) - Extend logging of process timeout errors - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3452](https://github.com/vitest-dev/vitest/issues/3452) [<samp>(42643)</samp>](https://github.com/vitest-dev/vitest/commit/42643904) - Support requiring files with `less` extension - by [@​rluvaton](https://github.com/rluvaton) in [https://github.com/vitest-dev/vitest/issues/3465](https://github.com/vitest-dev/vitest/issues/3465) [<samp>(4d045)</samp>](https://github.com/vitest-dev/vitest/commit/4d045695) - **cli**: - Improve colors used when erroring - by [@​ghiscoding](https://github.com/ghiscoding) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3349](https://github.com/vitest-dev/vitest/issues/3349) [<samp>(16681)</samp>](https://github.com/vitest-dev/vitest/commit/16681791) - **runner**: - Suite timeout does not take effect - by [@​btea](https://github.com/btea) in [https://github.com/vitest-dev/vitest/issues/3455](https://github.com/vitest-dev/vitest/issues/3455) [<samp>(82547)</samp>](https://github.com/vitest-dev/vitest/commit/82547376) - **spy**: - Don't print received calls if there are no calls - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3405](https://github.com/vitest-dev/vitest/issues/3405) [<samp>(41e11)</samp>](https://github.com/vitest-dev/vitest/commit/41e11dad) - **typecheck**: - Show tsc errors not related to test files - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3441](https://github.com/vitest-dev/vitest/issues/3441) [<samp>(a1da5)</samp>](https://github.com/vitest-dev/vitest/commit/a1da5714) - **types**: - Fix `PartialMock` with async TReturns - by [@​ghry5](https://github.com/ghry5) in [https://github.com/vitest-dev/vitest/issues/3462](https://github.com/vitest-dev/vitest/issues/3462) [<samp>(b664d)</samp>](https://github.com/vitest-dev/vitest/commit/b664d42c) - **vite-node**: - Circular import stuck - by [@​Dunqing](https://github.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3418](https://github.com/vitest-dev/vitest/issues/3418) [<samp>(632ee)</samp>](https://github.com/vitest-dev/vitest/commit/632eef40) - Coerce to string in import(dep) - by [@​jcbhmr](https://github.com/jcbhmr) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3430](https://github.com/vitest-dev/vitest/issues/3430) [<samp>(b72eb)</samp>](https://github.com/vitest-dev/vitest/commit/b72ebdb9) - Don't remove sourcemap string in source code - by [@​rxliuli](https://github.com/rxliuli) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2918](https://github.com/vitest-dev/vitest/issues/2918) and [https://github.com/vitest-dev/vitest/issues/3379](https://github.com/vitest-dev/vitest/issues/3379) [<samp>(02dc9)</samp>](https://github.com/vitest-dev/vitest/commit/02dc9ea7) - Don't externalize "dist" by default - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3446](https://github.com/vitest-dev/vitest/issues/3446) [<samp>(306b2)</samp>](https://github.com/vitest-dev/vitest/commit/306b2337) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.31.1...v0.31.2) ### [`v0.31.1`](https://github.com/vitest-dev/vitest/releases/tag/v0.31.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.31.0...v0.31.1) ##### 🚀 Features - **watch**: Press `r` should rerun current pattern tests - by [@​Dunqing](https://github.com/Dunqing) and [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3305](https://github.com/vitest-dev/vitest/issues/3305) [<samp>(69d27)</samp>](https://github.com/vitest-dev/vitest/commit/69d27117) ##### 🐞 Bug Fixes - Make sure thrown error is an object - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3298](https://github.com/vitest-dev/vitest/issues/3298) [<samp>(a93be)</samp>](https://github.com/vitest-dev/vitest/commit/a93be56c) - Remove duplicate type - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3303](https://github.com/vitest-dev/vitest/issues/3303) [<samp>(5382e)</samp>](https://github.com/vitest-dev/vitest/commit/5382e8b6) - Throw an error, if tests are collected with a different vitest version - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3301](https://github.com/vitest-dev/vitest/issues/3301) [<samp>(708b1)</samp>](https://github.com/vitest-dev/vitest/commit/708b10fe) - Support application/x-gzip metadata in html report - by [@​mzanelee](https://github.com/mzanelee) and **Michael Lee** in [https://github.com/vitest-dev/vitest/issues/3333](https://github.com/vitest-dev/vitest/issues/3333) [<samp>(5bf7e)</samp>](https://github.com/vitest-dev/vitest/commit/5bf7eb6e) - Correctly restore vi.fn implementation - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3341](https://github.com/vitest-dev/vitest/issues/3341) [<samp>(2aff8)</samp>](https://github.com/vitest-dev/vitest/commit/2aff8c5f) - Display error message correctly - by [@​btea](https://github.com/btea) in [https://github.com/vitest-dev/vitest/issues/3314](https://github.com/vitest-dev/vitest/issues/3314) [<samp>(a5b3d)</samp>](https://github.com/vitest-dev/vitest/commit/a5b3d78e) - Exclude `cwd` from test name filter - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3353](https://github.com/vitest-dev/vitest/issues/3353) [<samp>(324a9)</samp>](https://github.com/vitest-dev/vitest/commit/324a9b54) - Check error type before modifying it - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3385](https://github.com/vitest-dev/vitest/issues/3385) [<samp>(c44d9)</samp>](https://github.com/vitest-dev/vitest/commit/c44d9912) - `toMatchInlineSnapshot` fails when file path includes parentheses - by [@​pacexy](https://github.com/pacexy) in [https://github.com/vitest-dev/vitest/issues/3370](https://github.com/vitest-dev/vitest/issues/3370) and [https://github.com/vitest-dev/vitest/issues/3371](https://github.com/vitest-dev/vitest/issues/3371) [<samp>(dcf13)</samp>](https://github.com/vitest-dev/vitest/commit/dcf1346a) - Stop spying on a method, when it's restored - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3386](https://github.com/vitest-dev/vitest/issues/3386) [<samp>(2cb1a)</samp>](https://github.com/vitest-dev/vitest/commit/2cb1a15a) - Test repeats - by [@​fenghan34](https://github.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3369](https://github.com/vitest-dev/vitest/issues/3369) [<samp>(fb8fc)</samp>](https://github.com/vitest-dev/vitest/commit/fb8fc7ab) - **browser**: - Throw an error if test failed to load - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3390](https://github.com/vitest-dev/vitest/issues/3390) [<samp>(b354b)</samp>](https://github.com/vitest-dev/vitest/commit/b354bc1c) - Keep default export when rewriting exports - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3389](https://github.com/vitest-dev/vitest/issues/3389) [<samp>(6501d)</samp>](https://github.com/vitest-dev/vitest/commit/6501d2e3) - **cli**: - Improve cac errors when mixing boolean and dot notation - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3302](https://github.com/vitest-dev/vitest/issues/3302) [<samp>(93fbd)</samp>](https://github.com/vitest-dev/vitest/commit/93fbd02d) - **reporter**: - Prevent deleting test reports stored in coverage directory - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3331](https://github.com/vitest-dev/vitest/issues/3331) [<samp>(ddbba)</samp>](https://github.com/vitest-dev/vitest/commit/ddbba396) - **typecheck**: - Correctly resolve custom tsconfig path - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3342](https://github.com/vitest-dev/vitest/issues/3342) [<samp>(c53ae)</samp>](https://github.com/vitest-dev/vitest/commit/c53ae079) - **vite-node**: - Allow returning id not wrapped in promise - by [@​danielroe](https://github.com/danielroe) in [https://github.com/vitest-dev/vitest/issues/3312](https://github.com/vitest-dev/vitest/issues/3312) [<samp>(9836c)</samp>](https://github.com/vitest-dev/vitest/commit/9836ccb4) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.31.0...v0.31.1) ### [`v0.31.0`](https://github.com/vitest-dev/vitest/releases/tag/v0.31.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.30.1...v0.31.0) ##### 🚨 Breaking Changes - Remove `browser` from allowed pools inside `poolMatchGlob` config option. Please, use Vitest workspaces for running tests in the browser. - Move assertion declarations to expect package - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3294](https://github.com/vitest-dev/vitest/issues/3294) [<samp>(cf3af)</samp>](https://github.com/vitest-dev/vitest/commit/cf3afe2b) - The change should be minor: ```diff - declare namespace Vi { + declare module 'vitest' { interface Assertion<T = any> extends CustomMatchers<T> {} interface AsymmetricMatchersContaining extends CustomMatchers {} } ``` ##### 🚀 Features - Update mock implementation to support ESM runtime, introduce "vi.hoisted" - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3258](https://github.com/vitest-dev/vitest/issues/3258) [<samp>(0c09a)</samp>](https://github.com/vitest-dev/vitest/commit/0c09a40d) - Bypass ESM import order restriction with `vi.hoisted` to run code before imports are executed: ```ts vi.hoisted(() => vi.setSystemTime(new Date(2022, 1, 1))) ``` You can also use it to pass variables to `vi.mock`: ```ts const { mockedMethod } = vi.hoisted(() => { return { mockedMethod: vi.fn() } }) vi.mock('./path/to/module.js', () => { return { originalMethod: mockedMethod } }) ``` - Add repeat method to tests - by [@​samkevin1](https://github.com/samkevin1) in [https://github.com/vitest-dev/vitest/issues/2652](https://github.com/vitest-dev/vitest/issues/2652) [<samp>(7c8f0)</samp>](https://github.com/vitest-dev/vitest/commit/7c8f0ba9) - Add an option to hide skipped test lines - by [@​g4rry420](https://github.com/g4rry420) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2745](https://github.com/vitest-dev/vitest/issues/2745) [<samp>(9bdb1)</samp>](https://github.com/vitest-dev/vitest/commit/9bdb1603) - **coverage**: Watermarks for c8 - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3254](https://github.com/vitest-dev/vitest/issues/3254) [<samp>(730af)</samp>](https://github.com/vitest-dev/vitest/commit/730af0b4) - **ui**: Add html coverage - by [@​userquin](https://github.com/userquin) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3071](https://github.com/vitest-dev/vitest/issues/3071) [<samp>(e24cd)</samp>](https://github.com/vitest-dev/vitest/commit/e24cd9b2) - **watch**: Test run cancelling, feat: `--bail` option for cancelling test run - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3163](https://github.com/vitest-dev/vitest/issues/3163) [<samp>(8d460)</samp>](https://github.com/vitest-dev/vitest/commit/8d4606eb) ##### 🐞 Bug Fixes - Don't call global setup teardown twice - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3188](https://github.com/vitest-dev/vitest/issues/3188) [<samp>(ba3d1)</samp>](https://github.com/vitest-dev/vitest/commit/ba3d1338) - Reporter to log version before provider initalizations - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3131](https://github.com/vitest-dev/vitest/issues/3131) [<samp>(481b1)</samp>](https://github.com/vitest-dev/vitest/commit/481b1fd2) - Throw an error if Vitest cannot access its internal state - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3250](https://github.com/vitest-dev/vitest/issues/3250) [<samp>(fbb14)</samp>](https://github.com/vitest-dev/vitest/commit/fbb1468e) - Warning suppression broken - by [@​IceQub3](https://github.com/IceQub3) in [https://github.com/vitest-dev/vitest/issues/3270](https://github.com/vitest-dev/vitest/issues/3270) and [https://github.com/vitest-dev/vitest/issues/3271](https://github.com/vitest-dev/vitest/issues/3271) [<samp>(036de)</samp>](https://github.com/vitest-dev/vitest/commit/036de797) - Show correct diff in "toHaveBeenCalledWith" - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3289](https://github.com/vitest-dev/vitest/issues/3289) [<samp>(19fcd)</samp>](https://github.com/vitest-dev/vitest/commit/19fcd8df) - Don't print esm warning, if package name is not found - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3292](https://github.com/vitest-dev/vitest/issues/3292) [<samp>(62c14)</samp>](https://github.com/vitest-dev/vitest/commit/62c14cba) - Support exactOptionalPropertyTypes - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3293](https://github.com/vitest-dev/vitest/issues/3293) [<samp>(ba81d)</samp>](https://github.com/vitest-dev/vitest/commit/ba81d8a3) - Don't inline vite hmr and rollup types - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3291](https://github.com/vitest-dev/vitest/issues/3291) [<samp>(1f118)</samp>](https://github.com/vitest-dev/vitest/commit/1f1189bc) - **browser**: - Failing to load vitest/utils - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3190](https://github.com/vitest-dev/vitest/issues/3190) [<samp>(78bad)</samp>](https://github.com/vitest-dev/vitest/commit/78bad4ab) - **coverage**: - `thresholdAutoUpdate` to work with `perFile` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3182](https://github.com/vitest-dev/vitest/issues/3182) [<samp>(29eeb)</samp>](https://github.com/vitest-dev/vitest/commit/29eebf65) - Throw error if fail to load built-in provider - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3217](https://github.com/vitest-dev/vitest/issues/3217) [<samp>(0a287)</samp>](https://github.com/vitest-dev/vitest/commit/0a2875e3) - Stackblitz hangs with c8 - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3225](https://github.com/vitest-dev/vitest/issues/3225) [<samp>(d9fda)</samp>](https://github.com/vitest-dev/vitest/commit/d9fda2a1) - C8 to ignore vite's generated helpers - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3241](https://github.com/vitest-dev/vitest/issues/3241) [<samp>(21942)</samp>](https://github.com/vitest-dev/vitest/commit/21942db0) - Workspaces c8 source maps - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3226](https://github.com/vitest-dev/vitest/issues/3226) [<samp>(efce3)</samp>](https://github.com/vitest-dev/vitest/commit/efce3b4d) - **docs**: - Correct typo and broken link to WebdriverIO - by [@​nathanbabcock](https://github.com/nathanbabcock) in [https://github.com/vitest-dev/vitest/issues/3275](https://github.com/vitest-dev/vitest/issues/3275) [<samp>(c7da1)</samp>](https://github.com/vitest-dev/vitest/commit/c7da155f) - **spy**: - Update to set initial implementation through normal logic - by [@​Codex-](https://github.com/Codex-) in [https://github.com/vitest-dev/vitest/issues/3260](https://github.com/vitest-dev/vitest/issues/3260) and [https://github.com/vitest-dev/vitest/issues/3263](https://github.com/vitest-dev/vitest/issues/3263) [<samp>(c759a)</samp>](https://github.com/vitest-dev/vitest/commit/c759a9aa) - **vite-node**: - Circular imports - by [@​antfu](https://github.com/antfu) in [https://github.com/vitest-dev/vitest/issues/3196](https://github.com/vitest-dev/vitest/issues/3196) [<samp>(cbb59)</samp>](https://github.com/vitest-dev/vitest/commit/cbb593a8) - Add missing `import.meta.hot.send` mock - by [@​antfu](https://github.com/antfu) [<samp>(b1624)</samp>](https://github.com/vitest-dev/vitest/commit/b1624db5) - **vitest**: - Also check for vite relative to vitest package - by [@​JoshuaKGoldberg](https://github.com/JoshuaKGoldberg) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3274](https://github.com/vitest-dev/vitest/issues/3274) [<samp>(a3393)</samp>](https://github.com/vitest-dev/vitest/commit/a3393b15) - **watch**: - Run test files when added to filesystem - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3189](https://github.com/vitest-dev/vitest/issues/3189) [<samp>(7b2c8)</samp>](https://github.com/vitest-dev/vitest/commit/7b2c81bc) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.30.1...v0.31.0) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "after 9pm on sunday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/ascorbic/unpic-img). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMzEuMCIsInVwZGF0ZWRJblZlciI6IjM1LjEzMS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
andipaetzold
referenced
this pull request
in andipaetzold/react-firehooks
Jul 5, 2023
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react) ([source](https://github.com/DefinitelyTyped/DefinitelyTyped)) | [`18.2.12` -> `18.2.14`](https://renovatebot.com/diffs/npm/@types%2freact/18.2.12/18.2.14) | [![age](https://badges.renovateapi.com/packages/npm/@types%2freact/18.2.14/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@types%2freact/18.2.14/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@types%2freact/18.2.14/compatibility-slim/18.2.12)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@types%2freact/18.2.14/confidence-slim/18.2.12)](https://docs.renovatebot.com/merge-confidence/) | | [@vitest/coverage-c8](https://github.com/vitest-dev/vitest/tree/main/packages/coverage-c8#readme) ([source](https://github.com/vitest-dev/vitest)) | [`0.32.0` -> `0.32.4`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-c8/0.32.0/0.32.4) | [![age](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-c8/0.32.4/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-c8/0.32.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-c8/0.32.4/compatibility-slim/0.32.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-c8/0.32.4/confidence-slim/0.32.0)](https://docs.renovatebot.com/merge-confidence/) | | [lint-staged](https://github.com/okonet/lint-staged) | [`13.2.2` -> `13.2.3`](https://renovatebot.com/diffs/npm/lint-staged/13.2.2/13.2.3) | [![age](https://badges.renovateapi.com/packages/npm/lint-staged/13.2.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/lint-staged/13.2.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/lint-staged/13.2.3/compatibility-slim/13.2.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/lint-staged/13.2.3/confidence-slim/13.2.2)](https://docs.renovatebot.com/merge-confidence/) | | [semantic-release](https://github.com/semantic-release/semantic-release) | [`21.0.5` -> `21.0.7`](https://renovatebot.com/diffs/npm/semantic-release/21.0.5/21.0.7) | [![age](https://badges.renovateapi.com/packages/npm/semantic-release/21.0.7/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/semantic-release/21.0.7/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/semantic-release/21.0.7/compatibility-slim/21.0.5)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/semantic-release/21.0.7/confidence-slim/21.0.5)](https://docs.renovatebot.com/merge-confidence/) | | [typescript](https://www.typescriptlang.org/) ([source](https://github.com/Microsoft/TypeScript)) | [`5.1.3` -> `5.1.6`](https://renovatebot.com/diffs/npm/typescript/5.1.3/5.1.6) | [![age](https://badges.renovateapi.com/packages/npm/typescript/5.1.6/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/typescript/5.1.6/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/typescript/5.1.6/compatibility-slim/5.1.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/typescript/5.1.6/confidence-slim/5.1.3)](https://docs.renovatebot.com/merge-confidence/) | | [vitest](https://github.com/vitest-dev/vitest) | [`0.32.0` -> `0.32.4`](https://renovatebot.com/diffs/npm/vitest/0.32.0/0.32.4) | [![age](https://badges.renovateapi.com/packages/npm/vitest/0.32.4/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/vitest/0.32.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/vitest/0.32.4/compatibility-slim/0.32.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/vitest/0.32.4/confidence-slim/0.32.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (@​vitest/coverage-c8)</summary> ### [`v0.32.4`](https://github.com/vitest-dev/vitest/releases/tag/v0.32.4) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.32.3...v0.32.4) ##### 🐞 Bug Fixes - **browser**: Correctly optimize CJS dependencies - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(3d090)</samp>](https://github.com/vitest-dev/vitest/commit/3d0908e7) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.32.3...v0.32.4) ### [`v0.32.3`](https://github.com/vitest-dev/vitest/releases/tag/v0.32.3) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.32.2...v0.32.3) ##### 🚀 Features - Add `concurrent` option to `sequence` config - by [@​fenghan34](https://github.com/fenghan34) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3604](https://github.com/vitest-dev/vitest/issues/3604) [<samp>(f427f)</samp>](https://github.com/vitest-dev/vitest/commit/f427f004) - Introduce global configuration for retry setting - by [@​imentu](https://github.com/imentu) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3598](https://github.com/vitest-dev/vitest/issues/3598) and [https://github.com/vitest-dev/vitest/issues/3603](https://github.com/vitest-dev/vitest/issues/3603) [<samp>(9a117)</samp>](https://github.com/vitest-dev/vitest/commit/9a117627) - Don't rely on util package in [@​vitest/utils](https://github.com/vitest/utils) - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3685](https://github.com/vitest-dev/vitest/issues/3685) [<samp>(f91da)</samp>](https://github.com/vitest-dev/vitest/commit/f91da484) - Support accessing other fixtures in fixture function - by [@​fenghan34](https://github.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3651](https://github.com/vitest-dev/vitest/issues/3651) [<samp>(1621c)</samp>](https://github.com/vitest-dev/vitest/commit/1621cc63) - Support use function/class as `bench` name - by [@​fenghan34](https://github.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3711](https://github.com/vitest-dev/vitest/issues/3711) [<samp>(a749a)</samp>](https://github.com/vitest-dev/vitest/commit/a749a6c0) - **reporters**: Show full test suite when testing 1 spec file at a time - by [@​Dunqing](https://github.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3543](https://github.com/vitest-dev/vitest/issues/3543) [<samp>(7531c)</samp>](https://github.com/vitest-dev/vitest/commit/7531c292) - **runner**: Support `test.extend` - by [@​fenghan34](https://github.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3554](https://github.com/vitest-dev/vitest/issues/3554) [<samp>(2db1a)</samp>](https://github.com/vitest-dev/vitest/commit/2db1a737) ##### 🐞 Bug Fixes - Remove "concordance" from dependencies list - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3597](https://github.com/vitest-dev/vitest/issues/3597) [<samp>(969dc)</samp>](https://github.com/vitest-dev/vitest/commit/969dcc14) - Show diff correctly - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3620](https://github.com/vitest-dev/vitest/issues/3620) [<samp>(73dd4)</samp>](https://github.com/vitest-dev/vitest/commit/73dd4ab5) - Util import - by [@​fubhy](https://github.com/fubhy) in [https://github.com/vitest-dev/vitest/issues/3621](https://github.com/vitest-dev/vitest/issues/3621) [<samp>(2fb4c)</samp>](https://github.com/vitest-dev/vitest/commit/2fb4ceff) - Compat with frozen Math - by [@​turadg](https://github.com/turadg) in [https://github.com/vitest-dev/vitest/issues/3527](https://github.com/vitest-dev/vitest/issues/3527) [<samp>(0db67)</samp>](https://github.com/vitest-dev/vitest/commit/0db67098) - `CTRL+C` to terminate run - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3642](https://github.com/vitest-dev/vitest/issues/3642) [<samp>(fa663)</samp>](https://github.com/vitest-dev/vitest/commit/fa6637d3) - Run mode stuck in TTY terminals - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3690](https://github.com/vitest-dev/vitest/issues/3690) [<samp>(141a8)</samp>](https://github.com/vitest-dev/vitest/commit/141a86ac) - Use first stack frame in json reporter - by [@​tim-smart](https://github.com/tim-smart) in [https://github.com/vitest-dev/vitest/issues/3645](https://github.com/vitest-dev/vitest/issues/3645) [<samp>(80ea7)</samp>](https://github.com/vitest-dev/vitest/commit/80ea7ef6) - Print actual number for `toBeCalledTimes` - by [@​antfu](https://github.com/antfu) in [https://github.com/vitest-dev/vitest/issues/3696](https://github.com/vitest-dev/vitest/issues/3696) [<samp>(d3640)</samp>](https://github.com/vitest-dev/vitest/commit/d3640437) - **benchmark**: - Don't fail when running correct benchmarks - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3629](https://github.com/vitest-dev/vitest/issues/3629) [<samp>(edad9)</samp>](https://github.com/vitest-dev/vitest/commit/edad9b19) - **browser**: - Correctly print diff - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3627](https://github.com/vitest-dev/vitest/issues/3627) [<samp>(d756e)</samp>](https://github.com/vitest-dev/vitest/commit/d756ee24) - Esm injector doesn't replace class expressions - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3641](https://github.com/vitest-dev/vitest/issues/3641) [<samp>(5c0ac)</samp>](https://github.com/vitest-dev/vitest/commit/5c0ac4ad) - Transform superclass identifier - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3681](https://github.com/vitest-dev/vitest/issues/3681) [<samp>(a1e04)</samp>](https://github.com/vitest-dev/vitest/commit/a1e043bd) - **coverage**: - `v8` to prevent crash on dynamic CJS files - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3657](https://github.com/vitest-dev/vitest/issues/3657) [<samp>(40f18)</samp>](https://github.com/vitest-dev/vitest/commit/40f18a07) - **runner**: - Make the default value of `retry` and `repeats` 0 - by [@​Dunqing](https://github.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3638](https://github.com/vitest-dev/vitest/issues/3638) [<samp>(6d146)</samp>](https://github.com/vitest-dev/vitest/commit/6d146d16) - **utils**: - Respect all flags in format function - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3695](https://github.com/vitest-dev/vitest/issues/3695) [<samp>(91e16)</samp>](https://github.com/vitest-dev/vitest/commit/91e1650e) - **watch**: - Cancel using `h` key - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3618](https://github.com/vitest-dev/vitest/issues/3618) [<samp>(60c36)</samp>](https://github.com/vitest-dev/vitest/commit/60c36faf) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.32.2...v0.32.3) ### [`v0.32.2`](https://github.com/vitest-dev/vitest/releases/tag/v0.32.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.32.1...v0.32.2) ##### 🐞 Bug Fixes - **browser**: Don't fail on importing diff-sequences - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(00b0e)</samp>](https://github.com/vitest-dev/vitest/commit/00b0e6a3) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.32.1...v0.32.2) ### [`v0.32.1`](https://github.com/vitest-dev/vitest/releases/tag/v0.32.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.32.0...v0.32.1) ##### 🚀 Features - Export `registerConsoleShortcuts` from `vitest/node` - by [@​deot](https://github.com/deot) in [https://github.com/vitest-dev/vitest/issues/3563](https://github.com/vitest-dev/vitest/issues/3563) [<samp>(bc49b)</samp>](https://github.com/vitest-dev/vitest/commit/bc49bac7) - **expect**: Support `expect.unreachable` - by [@​fenghan34](https://github.com/fenghan34) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3556](https://github.com/vitest-dev/vitest/issues/3556) [<samp>(8e385)</samp>](https://github.com/vitest-dev/vitest/commit/8e385bb0) - **runner**: `describe`/`test` name support anonymous function - by [@​btea](https://github.com/btea) in [https://github.com/vitest-dev/vitest/issues/3562](https://github.com/vitest-dev/vitest/issues/3562) [<samp>(3d436)</samp>](https://github.com/vitest-dev/vitest/commit/3d43638c) ##### 🐞 Bug Fixes - Avoid call stack recursion with large error (fix: [#​3060](https://github.com/vitest-dev/vitest/issues/3060)) - by [@​nathanmmiller](https://github.com/nathanmmiller) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3078](https://github.com/vitest-dev/vitest/issues/3078) and [https://github.com/vitest-dev/vitest/issues/3060](https://github.com/vitest-dev/vitest/issues/3060) [<samp>(02196)</samp>](https://github.com/vitest-dev/vitest/commit/02196f9d) - Automatically remove define related configuration - by [@​btea](https://github.com/btea) in [https://github.com/vitest-dev/vitest/issues/3552](https://github.com/vitest-dev/vitest/issues/3552) [<samp>(368b8)</samp>](https://github.com/vitest-dev/vitest/commit/368b8259) - Import `performance` from `perf_hooks` - by [@​Max10240](https://github.com/Max10240) and **wangbaolong.wbl** in [https://github.com/vitest-dev/vitest/issues/3578](https://github.com/vitest-dev/vitest/issues/3578) and [https://github.com/vitest-dev/vitest/issues/3579](https://github.com/vitest-dev/vitest/issues/3579) [<samp>(24ec8)</samp>](https://github.com/vitest-dev/vitest/commit/24ec85a8) - Revert concordance diff, use jest's diff output - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3582](https://github.com/vitest-dev/vitest/issues/3582) [<samp>(9c7ea)</samp>](https://github.com/vitest-dev/vitest/commit/9c7ea382) - Typo in config suggestion - by [@​Krisell](https://github.com/Krisell) in [https://github.com/vitest-dev/vitest/issues/3583](https://github.com/vitest-dev/vitest/issues/3583) [<samp>(68985)</samp>](https://github.com/vitest-dev/vitest/commit/689855bb) - **browser**: - Change optimized deps to use `vitest` - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3580](https://github.com/vitest-dev/vitest/issues/3580) [<samp>(b4ac8)</samp>](https://github.com/vitest-dev/vitest/commit/b4ac88e9) - Access **vi_inject** only if it was injected - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3587](https://github.com/vitest-dev/vitest/issues/3587) [<samp>(d9e14)</samp>](https://github.com/vitest-dev/vitest/commit/d9e1419a) - **mocker**: - Respect namespace import when hoisting vi.mock - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3547](https://github.com/vitest-dev/vitest/issues/3547) [<samp>(158c4)</samp>](https://github.com/vitest-dev/vitest/commit/158c4bb0) - **ui**: - Navigate to dashboard when re-running tests from coverage page - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3529](https://github.com/vitest-dev/vitest/issues/3529) [<samp>(bc283)</samp>](https://github.com/vitest-dev/vitest/commit/bc283ae3) - **vite-node**: - Correctly resolve virtual modules - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3544](https://github.com/vitest-dev/vitest/issues/3544) [<samp>(0cbb0)</samp>](https://github.com/vitest-dev/vitest/commit/0cbb07b4) - Fix errors caused by commonjs export circular references - by [@​rxliuli](https://github.com/rxliuli) in [https://github.com/vitest-dev/vitest/issues/3570](https://github.com/vitest-dev/vitest/issues/3570) [<samp>(b097c)</samp>](https://github.com/vitest-dev/vitest/commit/b097cef8) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.32.0...v0.32.1) </details> <details> <summary>okonet/lint-staged (lint-staged)</summary> ### [`v13.2.3`](https://github.com/okonet/lint-staged/releases/tag/v13.2.3) [Compare Source](https://github.com/okonet/lint-staged/compare/v13.2.2...v13.2.3) ##### Bug Fixes - the `--diff` option implies `--no-stash` ([66a716d](https://github.com/okonet/lint-staged/commit/66a716d5a32c49f03b9a34350fec1b2411bada17)) </details> <details> <summary>semantic-release/semantic-release (semantic-release)</summary> ### [`v21.0.7`](https://github.com/semantic-release/semantic-release/releases/tag/v21.0.7) [Compare Source](https://github.com/semantic-release/semantic-release/compare/v21.0.6...v21.0.7) ##### Bug Fixes - **deps:** update dependency read-pkg-up to v10 ([#​2862](https://github.com/semantic-release/semantic-release/issues/2862)) ([70996e0](https://github.com/semantic-release/semantic-release/commit/70996e0181d28b0651ee0472a3531c1d6274037c)) ### [`v21.0.6`](https://github.com/semantic-release/semantic-release/releases/tag/v21.0.6) [Compare Source](https://github.com/semantic-release/semantic-release/compare/v21.0.5...v21.0.6) ##### Bug Fixes - get correct version if prerelease branch shares version with ... ([#​2416](https://github.com/semantic-release/semantic-release/issues/2416)) ([e4229f9](https://github.com/semantic-release/semantic-release/commit/e4229f9c6805c11984e383c48a43c235876886f3)) </details> <details> <summary>Microsoft/TypeScript (typescript)</summary> ### [`v5.1.6`](https://github.com/microsoft/TypeScript/releases/tag/v5.1.6): TypeScript 5.1.6 [Compare Source](https://github.com/Microsoft/TypeScript/compare/v5.1.5...v5.1.6) For release notes, check out the [release announcement](https://devblogs.microsoft.com/typescript/announcing-typescript-5-1/). For the complete list of fixed issues, check out the - [fixed issues query for Typescript v5.1.0 (Beta)](https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.1.0%22+is%3Aclosed+). - [fixed issues query for Typescript v5.1.1 (RC)](https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.1.1%22+is%3Aclosed+). - [fixed issues query for Typescript v5.1.2 (Stable)](https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.1.2%22+is%3Aclosed+). - [fixed issues query for Typescript v5.1.3 (Stable)](https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.1.3%22+is%3Aclosed+). - (5.1.4 [intentionally skipped](https://github.com/microsoft/TypeScript/issues/53031#issuecomment-1610038922)) - [fixed issues query for Typescript v5.1.5 (Stable)](https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.1.5%22+is%3Aclosed+). - [fixed issues query for Typescript v5.1.6 (Stable)](https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.1.6%22+is%3Aclosed+). Downloads are available on [npm](https://www.npmjs.com/package/typescript) ### [`v5.1.5`](https://github.com/microsoft/TypeScript/releases/tag/v5.1.5): TypeScript 5.1.5 [Compare Source](https://github.com/Microsoft/TypeScript/compare/v5.1.3...v5.1.5) For release notes, check out the [release announcement](https://devblogs.microsoft.com/typescript/announcing-typescript-5-1/). For the complete list of fixed issues, check out the - [fixed issues query for Typescript v5.1.0 (Beta)](https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.1.0%22+is%3Aclosed+). - [fixed issues query for Typescript v5.1.1 (RC)](https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.1.1%22+is%3Aclosed+). - [fixed issues query for Typescript v5.1.2 (Stable)](https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.1.2%22+is%3Aclosed+). - [fixed issues query for Typescript v5.1.3 (Stable)](https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.1.3%22+is%3Aclosed+). - (5.1.4 [intentionally skipped](https://github.com/microsoft/TypeScript/issues/53031#issuecomment-1610038922)) - [fixed issues query for Typescript v5.1.5 (Stable)](https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.1.5%22+is%3Aclosed+). Downloads are available on: - [npm](https://www.npmjs.com/package/typescript) - [NuGet package](https://www.nuget.org/packages/Microsoft.TypeScript.MSBuild) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/andipaetzold/react-firehooks). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMTcuMyIsInVwZGF0ZWRJblZlciI6IjM1LjE0NC4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This was referenced Jul 7, 2023
bodinsamuel
referenced
this pull request
in specfy/stack-analyser
Jul 9, 2023
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@vitest/coverage-c8](https://github.com/vitest-dev/vitest/tree/main/packages/coverage-c8#readme) ([source](https://github.com/vitest-dev/vitest)) | [`0.30.1` -> `0.33.0`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-c8/0.30.1/0.33.0) | [![age](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-c8/0.33.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-c8/0.33.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-c8/0.33.0/compatibility-slim/0.30.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-c8/0.33.0/confidence-slim/0.30.1)](https://docs.renovatebot.com/merge-confidence/) | | [vitest](https://github.com/vitest-dev/vitest) | [`0.30.1` -> `0.33.0`](https://renovatebot.com/diffs/npm/vitest/0.30.1/0.33.0) | [![age](https://badges.renovateapi.com/packages/npm/vitest/0.33.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/vitest/0.33.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/vitest/0.33.0/compatibility-slim/0.30.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/vitest/0.33.0/confidence-slim/0.30.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (@​vitest/coverage-c8)</summary> ### [`v0.33.0`](https://github.com/vitest-dev/vitest/releases/tag/v0.33.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.32.4...v0.33.0) ##### 🚨 Breaking Changes - Revert default include patterns - by [@​so1ve](https://github.com/so1ve) [#​3729](https://github.com/vitest-dev/vitest/issues/3729) - `0.32.0` changed the default `include` globs to be compatible with Jest. After a discussion with the community, we are reverting this change because it turned out to be non-intuitive. ##### 🐞 Bug Fixes - Add missing JSDom living keys - by [@​DerZade](https://github.com/DerZade) in [https://github.com/vitest-dev/vitest/issues/3702](https://github.com/vitest-dev/vitest/issues/3702) [<samp>(83a86)</samp>](https://github.com/vitest-dev/vitest/commit/83a86a75) - **vite-node**: - Don't fail when importing Promise module - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(08192)</samp>](https://github.com/vitest-dev/vitest/commit/0819275a) - Allow importing node:test - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(db22c)</samp>](https://github.com/vitest-dev/vitest/commit/db22c677) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.32.4...v0.33.0) ### [`v0.32.4`](https://github.com/vitest-dev/vitest/releases/tag/v0.32.4) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.32.3...v0.32.4) ##### 🐞 Bug Fixes - **browser**: Correctly optimize CJS dependencies - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(3d090)</samp>](https://github.com/vitest-dev/vitest/commit/3d0908e7) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.32.3...v0.32.4) ### [`v0.32.3`](https://github.com/vitest-dev/vitest/releases/tag/v0.32.3) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.32.2...v0.32.3) ##### 🚀 Features - Add `concurrent` option to `sequence` config - by [@​fenghan34](https://github.com/fenghan34) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3604](https://github.com/vitest-dev/vitest/issues/3604) [<samp>(f427f)</samp>](https://github.com/vitest-dev/vitest/commit/f427f004) - Introduce global configuration for retry setting - by [@​imentu](https://github.com/imentu) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3598](https://github.com/vitest-dev/vitest/issues/3598) and [https://github.com/vitest-dev/vitest/issues/3603](https://github.com/vitest-dev/vitest/issues/3603) [<samp>(9a117)</samp>](https://github.com/vitest-dev/vitest/commit/9a117627) - Don't rely on util package in [@​vitest/utils](https://github.com/vitest/utils) - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3685](https://github.com/vitest-dev/vitest/issues/3685) [<samp>(f91da)</samp>](https://github.com/vitest-dev/vitest/commit/f91da484) - Support accessing other fixtures in fixture function - by [@​fenghan34](https://github.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3651](https://github.com/vitest-dev/vitest/issues/3651) [<samp>(1621c)</samp>](https://github.com/vitest-dev/vitest/commit/1621cc63) - Support use function/class as `bench` name - by [@​fenghan34](https://github.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3711](https://github.com/vitest-dev/vitest/issues/3711) [<samp>(a749a)</samp>](https://github.com/vitest-dev/vitest/commit/a749a6c0) - **reporters**: Show full test suite when testing 1 spec file at a time - by [@​Dunqing](https://github.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3543](https://github.com/vitest-dev/vitest/issues/3543) [<samp>(7531c)</samp>](https://github.com/vitest-dev/vitest/commit/7531c292) - **runner**: Support `test.extend` - by [@​fenghan34](https://github.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3554](https://github.com/vitest-dev/vitest/issues/3554) [<samp>(2db1a)</samp>](https://github.com/vitest-dev/vitest/commit/2db1a737) ##### 🐞 Bug Fixes - Remove "concordance" from dependencies list - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3597](https://github.com/vitest-dev/vitest/issues/3597) [<samp>(969dc)</samp>](https://github.com/vitest-dev/vitest/commit/969dcc14) - Show diff correctly - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3620](https://github.com/vitest-dev/vitest/issues/3620) [<samp>(73dd4)</samp>](https://github.com/vitest-dev/vitest/commit/73dd4ab5) - Util import - by [@​fubhy](https://github.com/fubhy) in [https://github.com/vitest-dev/vitest/issues/3621](https://github.com/vitest-dev/vitest/issues/3621) [<samp>(2fb4c)</samp>](https://github.com/vitest-dev/vitest/commit/2fb4ceff) - Compat with frozen Math - by [@​turadg](https://github.com/turadg) in [https://github.com/vitest-dev/vitest/issues/3527](https://github.com/vitest-dev/vitest/issues/3527) [<samp>(0db67)</samp>](https://github.com/vitest-dev/vitest/commit/0db67098) - `CTRL+C` to terminate run - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3642](https://github.com/vitest-dev/vitest/issues/3642) [<samp>(fa663)</samp>](https://github.com/vitest-dev/vitest/commit/fa6637d3) - Run mode stuck in TTY terminals - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3690](https://github.com/vitest-dev/vitest/issues/3690) [<samp>(141a8)</samp>](https://github.com/vitest-dev/vitest/commit/141a86ac) - Use first stack frame in json reporter - by [@​tim-smart](https://github.com/tim-smart) in [https://github.com/vitest-dev/vitest/issues/3645](https://github.com/vitest-dev/vitest/issues/3645) [<samp>(80ea7)</samp>](https://github.com/vitest-dev/vitest/commit/80ea7ef6) - Print actual number for `toBeCalledTimes` - by [@​antfu](https://github.com/antfu) in [https://github.com/vitest-dev/vitest/issues/3696](https://github.com/vitest-dev/vitest/issues/3696) [<samp>(d3640)</samp>](https://github.com/vitest-dev/vitest/commit/d3640437) - **benchmark**: - Don't fail when running correct benchmarks - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3629](https://github.com/vitest-dev/vitest/issues/3629) [<samp>(edad9)</samp>](https://github.com/vitest-dev/vitest/commit/edad9b19) - **browser**: - Correctly print diff - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3627](https://github.com/vitest-dev/vitest/issues/3627) [<samp>(d756e)</samp>](https://github.com/vitest-dev/vitest/commit/d756ee24) - Esm injector doesn't replace class expressions - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3641](https://github.com/vitest-dev/vitest/issues/3641) [<samp>(5c0ac)</samp>](https://github.com/vitest-dev/vitest/commit/5c0ac4ad) - Transform superclass identifier - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3681](https://github.com/vitest-dev/vitest/issues/3681) [<samp>(a1e04)</samp>](https://github.com/vitest-dev/vitest/commit/a1e043bd) - **coverage**: - `v8` to prevent crash on dynamic CJS files - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3657](https://github.com/vitest-dev/vitest/issues/3657) [<samp>(40f18)</samp>](https://github.com/vitest-dev/vitest/commit/40f18a07) - **runner**: - Make the default value of `retry` and `repeats` 0 - by [@​Dunqing](https://github.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3638](https://github.com/vitest-dev/vitest/issues/3638) [<samp>(6d146)</samp>](https://github.com/vitest-dev/vitest/commit/6d146d16) - **utils**: - Respect all flags in format function - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3695](https://github.com/vitest-dev/vitest/issues/3695) [<samp>(91e16)</samp>](https://github.com/vitest-dev/vitest/commit/91e1650e) - **watch**: - Cancel using `h` key - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3618](https://github.com/vitest-dev/vitest/issues/3618) [<samp>(60c36)</samp>](https://github.com/vitest-dev/vitest/commit/60c36faf) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.32.2...v0.32.3) ### [`v0.32.2`](https://github.com/vitest-dev/vitest/releases/tag/v0.32.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.32.1...v0.32.2) ##### 🐞 Bug Fixes - **browser**: Don't fail on importing diff-sequences - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(00b0e)</samp>](https://github.com/vitest-dev/vitest/commit/00b0e6a3) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.32.1...v0.32.2) ### [`v0.32.1`](https://github.com/vitest-dev/vitest/releases/tag/v0.32.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.32.0...v0.32.1) ##### 🚀 Features - Export `registerConsoleShortcuts` from `vitest/node` - by [@​deot](https://github.com/deot) in [https://github.com/vitest-dev/vitest/issues/3563](https://github.com/vitest-dev/vitest/issues/3563) [<samp>(bc49b)</samp>](https://github.com/vitest-dev/vitest/commit/bc49bac7) - **expect**: Support `expect.unreachable` - by [@​fenghan34](https://github.com/fenghan34) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3556](https://github.com/vitest-dev/vitest/issues/3556) [<samp>(8e385)</samp>](https://github.com/vitest-dev/vitest/commit/8e385bb0) - **runner**: `describe`/`test` name support anonymous function - by [@​btea](https://github.com/btea) in [https://github.com/vitest-dev/vitest/issues/3562](https://github.com/vitest-dev/vitest/issues/3562) [<samp>(3d436)</samp>](https://github.com/vitest-dev/vitest/commit/3d43638c) ##### 🐞 Bug Fixes - Avoid call stack recursion with large error (fix: [#​3060](https://github.com/vitest-dev/vitest/issues/3060)) - by [@​nathanmmiller](https://github.com/nathanmmiller) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3078](https://github.com/vitest-dev/vitest/issues/3078) and [https://github.com/vitest-dev/vitest/issues/3060](https://github.com/vitest-dev/vitest/issues/3060) [<samp>(02196)</samp>](https://github.com/vitest-dev/vitest/commit/02196f9d) - Automatically remove define related configuration - by [@​btea](https://github.com/btea) in [https://github.com/vitest-dev/vitest/issues/3552](https://github.com/vitest-dev/vitest/issues/3552) [<samp>(368b8)</samp>](https://github.com/vitest-dev/vitest/commit/368b8259) - Import `performance` from `perf_hooks` - by [@​Max10240](https://github.com/Max10240) and **wangbaolong.wbl** in [https://github.com/vitest-dev/vitest/issues/3578](https://github.com/vitest-dev/vitest/issues/3578) and [https://github.com/vitest-dev/vitest/issues/3579](https://github.com/vitest-dev/vitest/issues/3579) [<samp>(24ec8)</samp>](https://github.com/vitest-dev/vitest/commit/24ec85a8) - Revert concordance diff, use jest's diff output - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3582](https://github.com/vitest-dev/vitest/issues/3582) [<samp>(9c7ea)</samp>](https://github.com/vitest-dev/vitest/commit/9c7ea382) - Typo in config suggestion - by [@​Krisell](https://github.com/Krisell) in [https://github.com/vitest-dev/vitest/issues/3583](https://github.com/vitest-dev/vitest/issues/3583) [<samp>(68985)</samp>](https://github.com/vitest-dev/vitest/commit/689855bb) - **browser**: - Change optimized deps to use `vitest` - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3580](https://github.com/vitest-dev/vitest/issues/3580) [<samp>(b4ac8)</samp>](https://github.com/vitest-dev/vitest/commit/b4ac88e9) - Access **vi_inject** only if it was injected - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3587](https://github.com/vitest-dev/vitest/issues/3587) [<samp>(d9e14)</samp>](https://github.com/vitest-dev/vitest/commit/d9e1419a) - **mocker**: - Respect namespace import when hoisting vi.mock - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3547](https://github.com/vitest-dev/vitest/issues/3547) [<samp>(158c4)</samp>](https://github.com/vitest-dev/vitest/commit/158c4bb0) - **ui**: - Navigate to dashboard when re-running tests from coverage page - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3529](https://github.com/vitest-dev/vitest/issues/3529) [<samp>(bc283)</samp>](https://github.com/vitest-dev/vitest/commit/bc283ae3) - **vite-node**: - Correctly resolve virtual modules - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3544](https://github.com/vitest-dev/vitest/issues/3544) [<samp>(0cbb0)</samp>](https://github.com/vitest-dev/vitest/commit/0cbb07b4) - Fix errors caused by commonjs export circular references - by [@​rxliuli](https://github.com/rxliuli) in [https://github.com/vitest-dev/vitest/issues/3570](https://github.com/vitest-dev/vitest/issues/3570) [<samp>(b097c)</samp>](https://github.com/vitest-dev/vitest/commit/b097cef8) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.32.0...v0.32.1) ### [`v0.32.0`](https://github.com/vitest-dev/vitest/releases/tag/v0.32.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.31.4...v0.32.0) ##### 🚨 Breaking Changes - Throw an error, if the module cannot be resolved - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3307](https://github.com/vitest-dev/vitest/issues/3307) [<samp>(1ad63)</samp>](https://github.com/vitest-dev/vitest/commit/1ad63b0c) - 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 "worked". 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. - Improve globs - by [@​nickmccurdy](https://github.com/nickmccurdy) in [https://github.com/vitest-dev/vitest/issues/3392](https://github.com/vitest-dev/vitest/issues/3392) [<samp>(19ecc)</samp>](https://github.com/vitest-dev/vitest/commit/19ecc6c7) - 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 `test.js` to be a test file. Also any file in `__tests__` is now considered to be a test, not just files with `test` or `spec` suffix. - Add `@vitest/coverage-v8` package - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3339](https://github.com/vitest-dev/vitest/issues/3339) [<samp>(82112)</samp>](https://github.com/vitest-dev/vitest/commit/821126f1) - Vitest now uses v8 code coverage directly for better performance. `@vitest/coverage-c8` 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 `c8` as their coverage provider. Please, install the new `@vitest/coverage-v8` package if you previously used `@vitest/coverage-c8`. - **mocker**: Don't restore mock to the original if the module is automocked - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3518](https://github.com/vitest-dev/vitest/issues/3518) [<samp>(c1004)</samp>](https://github.com/vitest-dev/vitest/commit/c1004e14) - `spy.mockRestore` on auto-mocked named exports will no longer restore their implementation to the actual function. This behavior better matches what Jest does. ##### 🚀 Features - Support ssr optimizer - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3490](https://github.com/vitest-dev/vitest/issues/3490) [<samp>(89842)</samp>](https://github.com/vitest-dev/vitest/commit/898422b0) - Image type add apng - by [@​btea](https://github.com/btea) in [https://github.com/vitest-dev/vitest/issues/3498](https://github.com/vitest-dev/vitest/issues/3498) [<samp>(a53c2)</samp>](https://github.com/vitest-dev/vitest/commit/a53c2151) - **expect**: Support `expect.soft` - by [@​Dunqing](https://github.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3507](https://github.com/vitest-dev/vitest/issues/3507) [<samp>(7c687)</samp>](https://github.com/vitest-dev/vitest/commit/7c687ada) - **runner**: Support using function/class as `describe`/`test` name - by [@​fenghan34](https://github.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3497](https://github.com/vitest-dev/vitest/issues/3497) [<samp>(15253)</samp>](https://github.com/vitest-dev/vitest/commit/15253890) ##### 🐞 Bug Fixes - The cli option is passed to coverage.exclude - by [@​btea](https://github.com/btea) in [https://github.com/vitest-dev/vitest/issues/3506](https://github.com/vitest-dev/vitest/issues/3506) [<samp>(c37cd)</samp>](https://github.com/vitest-dev/vitest/commit/c37cdebe) - **optimizer**: Always respect optimizeDeps even if include/exclude is overridden - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3488](https://github.com/vitest-dev/vitest/issues/3488) [<samp>(eb285)</samp>](https://github.com/vitest-dev/vitest/commit/eb285ea0) - **runner**: Ensure Vitest is deduped - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3489](https://github.com/vitest-dev/vitest/issues/3489) [<samp>(2deb7)</samp>](https://github.com/vitest-dev/vitest/commit/2deb70ab) - **ui**: Don't cache coverage assets - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3508](https://github.com/vitest-dev/vitest/issues/3508) [<samp>(952b5)</samp>](https://github.com/vitest-dev/vitest/commit/952b5be6) - **vite-node**: Circular import stuck - by [@​Dunqing](https://github.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3480](https://github.com/vitest-dev/vitest/issues/3480) [<samp>(50f07)</samp>](https://github.com/vitest-dev/vitest/commit/50f0700d) - **watch**: Junit reporter fails to re-generate report - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3496](https://github.com/vitest-dev/vitest/issues/3496) [<samp>(5b73c)</samp>](https://github.com/vitest-dev/vitest/commit/5b73cbf8) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.31.4...v0.32.0) ### [`v0.31.4`](https://github.com/vitest-dev/vitest/releases/tag/v0.31.4) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.31.3...v0.31.4) ##### 🚀 Features - Enable experimentalOptimizer - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3413](https://github.com/vitest-dev/vitest/issues/3413) [<samp>(5a894)</samp>](https://github.com/vitest-dev/vitest/commit/5a894aa2) ##### 🐞 Bug Fixes - **vite-node**: Deps.inline doesn't work - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3485](https://github.com/vitest-dev/vitest/issues/3485) [<samp>(be930)</samp>](https://github.com/vitest-dev/vitest/commit/be93032f) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.31.3...v0.31.4) ### [`v0.31.3`](https://github.com/vitest-dev/vitest/releases/tag/v0.31.3) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.31.2...v0.31.3) ##### 🚀 Features - Support `VITE_NODE_DEPS_MODULE_DIRECTORIES` from .npmrc - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3471](https://github.com/vitest-dev/vitest/issues/3471) [<samp>(393bf)</samp>](https://github.com/vitest-dev/vitest/commit/393bf60c) ##### 🐞 Bug Fixes - **logger**: Print unhandled errors before summary - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3474](https://github.com/vitest-dev/vitest/issues/3474) [<samp>(4c9a7)</samp>](https://github.com/vitest-dev/vitest/commit/4c9a7d58) - **runner**: Suite options do not propagate to nested suites (fix: [#​3467](https://github.com/vitest-dev/vitest/issues/3467)) - by [@​xsjcTony](https://github.com/xsjcTony) in [https://github.com/vitest-dev/vitest/issues/3473](https://github.com/vitest-dev/vitest/issues/3473) and [https://github.com/vitest-dev/vitest/issues/3467](https://github.com/vitest-dev/vitest/issues/3467) [<samp>(9fb9d)</samp>](https://github.com/vitest-dev/vitest/commit/9fb9dacb) - **vite-node**: Clear importers when invalidating module - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3475](https://github.com/vitest-dev/vitest/issues/3475) [<samp>(add29)</samp>](https://github.com/vitest-dev/vitest/commit/add29c86) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.31.2...v0.31.3) ### [`v0.31.2`](https://github.com/vitest-dev/vitest/releases/tag/v0.31.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.31.1...v0.31.2) ##### 🚀 Features - Throw error if using inline snapshot inside of `test.each` or `describe.each` - by [@​fenghan34](https://github.com/fenghan34) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3360](https://github.com/vitest-dev/vitest/issues/3360) [<samp>(7c2f7)</samp>](https://github.com/vitest-dev/vitest/commit/7c2f7088) - Pass down meta information to Node.js process - by [@​sheremet-va](https://github.com/sheremet-va) and [@​dammy001](https://github.com/dammy001) in [https://github.com/vitest-dev/vitest/issues/3449](https://github.com/vitest-dev/vitest/issues/3449) [<samp>(e39ad)</samp>](https://github.com/vitest-dev/vitest/commit/e39adea8) - **coverage**: Add `reportOnFailure` option - by [@​AriPerkkio](https://github.com/AriPerkkio) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3453](https://github.com/vitest-dev/vitest/issues/3453) [<samp>(1988f)</samp>](https://github.com/vitest-dev/vitest/commit/1988fcb4) - **dev**: Add moduleDirectories option to the vitest config - by [@​fooddilsn](https://github.com/fooddilsn) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3337](https://github.com/vitest-dev/vitest/issues/3337) [<samp>(b3602)</samp>](https://github.com/vitest-dev/vitest/commit/b3602bcc) ##### 🐞 Bug Fixes - Don't print empty diff - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3437](https://github.com/vitest-dev/vitest/issues/3437) [<samp>(32b53)</samp>](https://github.com/vitest-dev/vitest/commit/32b5361f) - Don't restore methods in automocked dependencies - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3438](https://github.com/vitest-dev/vitest/issues/3438) [<samp>(d1afd)</samp>](https://github.com/vitest-dev/vitest/commit/d1afd262) - Dot reporter scrollback buffer spam - by [@​gtm-nayan](https://github.com/gtm-nayan) in [https://github.com/vitest-dev/vitest/issues/3415](https://github.com/vitest-dev/vitest/issues/3415) [<samp>(e6792)</samp>](https://github.com/vitest-dev/vitest/commit/e6792a94) - Gracefully exit when first `SIGINT` is received - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3407](https://github.com/vitest-dev/vitest/issues/3407) [<samp>(a2cc2)</samp>](https://github.com/vitest-dev/vitest/commit/a2cc2b38) - `rejects` & `resolves` breaks with thenable objects - by [@​fenghan34](https://github.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3456](https://github.com/vitest-dev/vitest/issues/3456) [<samp>(4e996)</samp>](https://github.com/vitest-dev/vitest/commit/4e996ae5) - Prevent `birpc` timeouts when `Math.random` mock is not restored - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3460](https://github.com/vitest-dev/vitest/issues/3460) [<samp>(cd5d5)</samp>](https://github.com/vitest-dev/vitest/commit/cd5d58b7) - Assertion diff message now handle non writable property correctly - by [@​PCreations](https://github.com/PCreations) in [https://github.com/vitest-dev/vitest/issues/3422](https://github.com/vitest-dev/vitest/issues/3422) [<samp>(f75ab)</samp>](https://github.com/vitest-dev/vitest/commit/f75ab650) - Extend logging of process timeout errors - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3452](https://github.com/vitest-dev/vitest/issues/3452) [<samp>(42643)</samp>](https://github.com/vitest-dev/vitest/commit/42643904) - Support requiring files with `less` extension - by [@​rluvaton](https://github.com/rluvaton) in [https://github.com/vitest-dev/vitest/issues/3465](https://github.com/vitest-dev/vitest/issues/3465) [<samp>(4d045)</samp>](https://github.com/vitest-dev/vitest/commit/4d045695) - **cli**: - Improve colors used when erroring - by [@​ghiscoding](https://github.com/ghiscoding) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3349](https://github.com/vitest-dev/vitest/issues/3349) [<samp>(16681)</samp>](https://github.com/vitest-dev/vitest/commit/16681791) - **runner**: - Suite timeout does not take effect - by [@​btea](https://github.com/btea) in [https://github.com/vitest-dev/vitest/issues/3455](https://github.com/vitest-dev/vitest/issues/3455) [<samp>(82547)</samp>](https://github.com/vitest-dev/vitest/commit/82547376) - **spy**: - Don't print received calls if there are no calls - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3405](https://github.com/vitest-dev/vitest/issues/3405) [<samp>(41e11)</samp>](https://github.com/vitest-dev/vitest/commit/41e11dad) - **typecheck**: - Show tsc errors not related to test files - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3441](https://github.com/vitest-dev/vitest/issues/3441) [<samp>(a1da5)</samp>](https://github.com/vitest-dev/vitest/commit/a1da5714) - **types**: - Fix `PartialMock` with async TReturns - by [@​ghry5](https://github.com/ghry5) in [https://github.com/vitest-dev/vitest/issues/3462](https://github.com/vitest-dev/vitest/issues/3462) [<samp>(b664d)</samp>](https://github.com/vitest-dev/vitest/commit/b664d42c) - **vite-node**: - Circular import stuck - by [@​Dunqing](https://github.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3418](https://github.com/vitest-dev/vitest/issues/3418) [<samp>(632ee)</samp>](https://github.com/vitest-dev/vitest/commit/632eef40) - Coerce to string in import(dep) - by [@​jcbhmr](https://github.com/jcbhmr) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3430](https://github.com/vitest-dev/vitest/issues/3430) [<samp>(b72eb)</samp>](https://github.com/vitest-dev/vitest/commit/b72ebdb9) - Don't remove sourcemap string in source code - by [@​rxliuli](https://github.com/rxliuli) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2918](https://github.com/vitest-dev/vitest/issues/2918) and [https://github.com/vitest-dev/vitest/issues/3379](https://github.com/vitest-dev/vitest/issues/3379) [<samp>(02dc9)</samp>](https://github.com/vitest-dev/vitest/commit/02dc9ea7) - Don't externalize "dist" by default - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3446](https://github.com/vitest-dev/vitest/issues/3446) [<samp>(306b2)</samp>](https://github.com/vitest-dev/vitest/commit/306b2337) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.31.1...v0.31.2) ### [`v0.31.1`](https://github.com/vitest-dev/vitest/releases/tag/v0.31.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.31.0...v0.31.1) ##### 🚀 Features - **watch**: Press `r` should rerun current pattern tests - by [@​Dunqing](https://github.com/Dunqing) and [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3305](https://github.com/vitest-dev/vitest/issues/3305) [<samp>(69d27)</samp>](https://github.com/vitest-dev/vitest/commit/69d27117) ##### 🐞 Bug Fixes - Make sure thrown error is an object - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3298](https://github.com/vitest-dev/vitest/issues/3298) [<samp>(a93be)</samp>](https://github.com/vitest-dev/vitest/commit/a93be56c) - Remove duplicate type - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3303](https://github.com/vitest-dev/vitest/issues/3303) [<samp>(5382e)</samp>](https://github.com/vitest-dev/vitest/commit/5382e8b6) - Throw an error, if tests are collected with a different vitest version - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3301](https://github.com/vitest-dev/vitest/issues/3301) [<samp>(708b1)</samp>](https://github.com/vitest-dev/vitest/commit/708b10fe) - Support application/x-gzip metadata in html report - by [@​mzanelee](https://github.com/mzanelee) and **Michael Lee** in [https://github.com/vitest-dev/vitest/issues/3333](https://github.com/vitest-dev/vitest/issues/3333) [<samp>(5bf7e)</samp>](https://github.com/vitest-dev/vitest/commit/5bf7eb6e) - Correctly restore vi.fn implementation - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3341](https://github.com/vitest-dev/vitest/issues/3341) [<samp>(2aff8)</samp>](https://github.com/vitest-dev/vitest/commit/2aff8c5f) - Display error message correctly - by [@​btea](https://github.com/btea) in [https://github.com/vitest-dev/vitest/issues/3314](https://github.com/vitest-dev/vitest/issues/3314) [<samp>(a5b3d)</samp>](https://github.com/vitest-dev/vitest/commit/a5b3d78e) - Exclude `cwd` from test name filter - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3353](https://github.com/vitest-dev/vitest/issues/3353) [<samp>(324a9)</samp>](https://github.com/vitest-dev/vitest/commit/324a9b54) - Check error type before modifying it - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3385](https://github.com/vitest-dev/vitest/issues/3385) [<samp>(c44d9)</samp>](https://github.com/vitest-dev/vitest/commit/c44d9912) - `toMatchInlineSnapshot` fails when file path includes parentheses - by [@​pacexy](https://github.com/pacexy) in [https://github.com/vitest-dev/vitest/issues/3370](https://github.com/vitest-dev/vitest/issues/3370) and [https://github.com/vitest-dev/vitest/issues/3371](https://github.com/vitest-dev/vitest/issues/3371) [<samp>(dcf13)</samp>](https://github.com/vitest-dev/vitest/commit/dcf1346a) - Stop spying on a method, when it's restored - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3386](https://github.com/vitest-dev/vitest/issues/3386) [<samp>(2cb1a)</samp>](https://github.com/vitest-dev/vitest/commit/2cb1a15a) - Test repeats - by [@​fenghan34](https://github.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3369](https://github.com/vitest-dev/vitest/issues/3369) [<samp>(fb8fc)</samp>](https://github.com/vitest-dev/vitest/commit/fb8fc7ab) - **browser**: - Throw an error if test failed to load - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3390](https://github.com/vitest-dev/vitest/issues/3390) [<samp>(b354b)</samp>](https://github.com/vitest-dev/vitest/commit/b354bc1c) - Keep default export when rewriting exports - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3389](https://github.com/vitest-dev/vitest/issues/3389) [<samp>(6501d)</samp>](https://github.com/vitest-dev/vitest/commit/6501d2e3) - **cli**: - Improve cac errors when mixing boolean and dot notation - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3302](https://github.com/vitest-dev/vitest/issues/3302) [<samp>(93fbd)</samp>](https://github.com/vitest-dev/vitest/commit/93fbd02d) - **reporter**: - Prevent deleting test reports stored in coverage directory - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3331](https://github.com/vitest-dev/vitest/issues/3331) [<samp>(ddbba)</samp>](https://github.com/vitest-dev/vitest/commit/ddbba396) - **typecheck**: - Correctly resolve custom tsconfig path - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3342](https://github.com/vitest-dev/vitest/issues/3342) [<samp>(c53ae)</samp>](https://github.com/vitest-dev/vitest/commit/c53ae079) - **vite-node**: - Allow returning id not wrapped in promise - by [@​danielroe](https://github.com/danielroe) in [https://github.com/vitest-dev/vitest/issues/3312](https://github.com/vitest-dev/vitest/issues/3312) [<samp>(9836c)</samp>](https://github.com/vitest-dev/vitest/commit/9836ccb4) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.31.0...v0.31.1) ### [`v0.31.0`](https://github.com/vitest-dev/vitest/releases/tag/v0.31.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.30.1...v0.31.0) ##### 🚨 Breaking Changes - Remove `browser` from allowed pools inside `poolMatchGlob` config option. Please, use Vitest workspaces for running tests in the browser. - Move assertion declarations to expect package - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3294](https://github.com/vitest-dev/vitest/issues/3294) [<samp>(cf3af)</samp>](https://github.com/vitest-dev/vitest/commit/cf3afe2b) - The change should be minor: ```diff - declare namespace Vi { + declare module 'vitest' { interface Assertion<T = any> extends CustomMatchers<T> {} interface AsymmetricMatchersContaining extends CustomMatchers {} } ``` ##### 🚀 Features - Update mock implementation to support ESM runtime, introduce "vi.hoisted" - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3258](https://github.com/vitest-dev/vitest/issues/3258) [<samp>(0c09a)</samp>](https://github.com/vitest-dev/vitest/commit/0c09a40d) - Bypass ESM import order restriction with `vi.hoisted` to run code before imports are executed: ```ts vi.hoisted(() => vi.setSystemTime(new Date(2022, 1, 1))) ``` You can also use it to pass variables to `vi.mock`: ```ts const { mockedMethod } = vi.hoisted(() => { return { mockedMethod: vi.fn() } }) vi.mock('./path/to/module.js', () => { return { originalMethod: mockedMethod } }) ``` - Add repeat method to tests - by [@​samkevin1](https://github.com/samkevin1) in [https://github.com/vitest-dev/vitest/issues/2652](https://github.com/vitest-dev/vitest/issues/2652) [<samp>(7c8f0)</samp>](https://github.com/vitest-dev/vitest/commit/7c8f0ba9) - Add an option to hide skipped test lines - by [@​g4rry420](https://github.com/g4rry420) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2745](https://github.com/vitest-dev/vitest/issues/2745) [<samp>(9bdb1)</samp>](https://github.com/vitest-dev/vitest/commit/9bdb1603) - **coverage**: Watermarks for c8 - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3254](https://github.com/vitest-dev/vitest/issues/3254) [<samp>(730af)</samp>](https://github.com/vitest-dev/vitest/commit/730af0b4) - **ui**: Add html coverage - by [@​userquin](https://github.com/userquin) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3071](https://github.com/vitest-dev/vitest/issues/3071) [<samp>(e24cd)</samp>](https://github.com/vitest-dev/vitest/commit/e24cd9b2) - **watch**: Test run cancelling, feat: `--bail` option for cancelling test run - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3163](https://github.com/vitest-dev/vitest/issues/3163) [<samp>(8d460)</samp>](https://github.com/vitest-dev/vitest/commit/8d4606eb) ##### 🐞 Bug Fixes - Don't call global setup teardown twice - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3188](https://github.com/vitest-dev/vitest/issues/3188) [<samp>(ba3d1)</samp>](https://github.com/vitest-dev/vitest/commit/ba3d1338) - Reporter to log version before provider initalizations - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3131](https://github.com/vitest-dev/vitest/issues/3131) [<samp>(481b1)</samp>](https://github.com/vitest-dev/vitest/commit/481b1fd2) - Throw an error if Vitest cannot access its internal state - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3250](https://github.com/vitest-dev/vitest/issues/3250) [<samp>(fbb14)</samp>](https://github.com/vitest-dev/vitest/commit/fbb1468e) - Warning suppression broken - by [@​IceQub3](https://github.com/IceQub3) in [https://github.com/vitest-dev/vitest/issues/3270](https://github.com/vitest-dev/vitest/issues/3270) and [https://github.com/vitest-dev/vitest/issues/3271](https://github.com/vitest-dev/vitest/issues/3271) [<samp>(036de)</samp>](https://github.com/vitest-dev/vitest/commit/036de797) - Show correct diff in "toHaveBeenCalledWith" - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3289](https://github.com/vitest-dev/vitest/issues/3289) [<samp>(19fcd)</samp>](https://github.com/vitest-dev/vitest/commit/19fcd8df) - Don't print esm warning, if package name is not found - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3292](https://github.com/vitest-dev/vitest/issues/3292) [<samp>(62c14)</samp>](https://github.com/vitest-dev/vitest/commit/62c14cba) - Support exactOptionalPropertyTypes - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3293](https://github.com/vitest-dev/vitest/issues/3293) [<samp>(ba81d)</samp>](https://github.com/vitest-dev/vitest/commit/ba81d8a3) - Don't inline vite hmr and rollup types - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3291](https://github.com/vitest-dev/vitest/issues/3291) [<samp>(1f118)</samp>](https://github.com/vitest-dev/vitest/commit/1f1189bc) - **browser**: - Failing to load vitest/utils - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3190](https://github.com/vitest-dev/vitest/issues/3190) [<samp>(78bad)</samp>](https://github.com/vitest-dev/vitest/commit/78bad4ab) - **coverage**: - `thresholdAutoUpdate` to work with `perFile` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3182](https://github.com/vitest-dev/vitest/issues/3182) [<samp>(29eeb)</samp>](https://github.com/vitest-dev/vitest/commit/29eebf65) - Throw error if fail to load built-in provider - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3217](https://github.com/vitest-dev/vitest/issues/3217) [<samp>(0a287)</samp>](https://github.com/vitest-dev/vitest/commit/0a2875e3) - Stackblitz hangs with c8 - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3225](https://github.com/vitest-dev/vitest/issues/3225) [<samp>(d9fda)</samp>](https://github.com/vitest-dev/vitest/commit/d9fda2a1) - C8 to ignore vite's generated helpers - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3241](https://github.com/vitest-dev/vitest/issues/3241) [<samp>(21942)</samp>](https://github.com/vitest-dev/vitest/commit/21942db0) - Workspaces c8 source maps - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3226](https://github.com/vitest-dev/vitest/issues/3226) [<samp>(efce3)</samp>](https://github.com/vitest-dev/vitest/commit/efce3b4d) - **docs**: - Correct typo and broken link to WebdriverIO - by [@​nathanbabcock](https://github.com/nathanbabcock) in [https://github.com/vitest-dev/vitest/issues/3275](https://github.com/vitest-dev/vitest/issues/3275) [<samp>(c7da1)</samp>](https://github.com/vitest-dev/vitest/commit/c7da155f) - **spy**: - Update to set initial implementation through normal logic - by [@​Codex-](https://github.com/Codex-) in [https://github.com/vitest-dev/vitest/issues/3260](https://github.com/vitest-dev/vitest/issues/3260) and [https://github.com/vitest-dev/vitest/issues/3263](https://github.com/vitest-dev/vitest/issues/3263) [<samp>(c759a)</samp>](https://github.com/vitest-dev/vitest/commit/c759a9aa) - **vite-node**: - Circular imports - by [@​antfu](https://github.com/antfu) in [https://github.com/vitest-dev/vitest/issues/3196](https://github.com/vitest-dev/vitest/issues/3196) [<samp>(cbb59)</samp>](https://github.com/vitest-dev/vitest/commit/cbb593a8) - Add missing `import.meta.hot.send` mock - by [@​antfu](https://github.com/antfu) [<samp>(b1624)</samp>](https://github.com/vitest-dev/vitest/commit/b1624db5) - **vitest**: - Also check for vite relative to vitest package - by [@​JoshuaKGoldberg](https://github.com/JoshuaKGoldberg) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3274](https://github.com/vitest-dev/vitest/issues/3274) [<samp>(a3393)</samp>](https://github.com/vitest-dev/vitest/commit/a3393b15) - **watch**: - Run test files when added to filesystem - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3189](https://github.com/vitest-dev/vitest/issues/3189) [<samp>(7b2c8)</samp>](https://github.com/vitest-dev/vitest/commit/7b2c81bc) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.30.1...v0.31.0) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "after 4pm on friday,before 9am on monday,every weekend" in timezone Europe/Paris, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/specfy/stack-analyser). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi41LjMiLCJ1cGRhdGVkSW5WZXIiOiIzNi41LjMiLCJ0YXJnZXRCcmFuY2giOiJjaG9yZS9yZW5vdmF0ZUJhc2VCcmFuY2gifQ==--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Samuel Bodin <1637651+bodinsamuel@users.noreply.github.com>
renovate bot
referenced
this pull request
in JoshuaKGoldberg/prettier-plugin-curly
Jul 9, 2023
) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@vitest/coverage-istanbul](https://github.com/vitest-dev/vitest/tree/main/packages/coverage-istanbul#readme) ([source](https://github.com/vitest-dev/vitest)) | [`^0.32.0` -> `^0.33.0`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-istanbul/0.32.0/0.33.0) | [![age](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-istanbul/0.33.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-istanbul/0.33.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-istanbul/0.33.0/compatibility-slim/0.32.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-istanbul/0.33.0/confidence-slim/0.32.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (@​vitest/coverage-istanbul)</summary> ### [`v0.33.0`](https://github.com/vitest-dev/vitest/releases/tag/v0.33.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.32.4...v0.33.0) ##### 🚨 Breaking Changes - Revert default include patterns - by [@​so1ve](https://github.com/so1ve) [#​3729](https://github.com/vitest-dev/vitest/issues/3729) - `0.32.0` changed the default `include` globs to be compatible with Jest. After a discussion with the community, we are reverting this change because it turned out to be non-intuitive. ##### 🐞 Bug Fixes - Add missing JSDom living keys - by [@​DerZade](https://github.com/DerZade) in [https://github.com/vitest-dev/vitest/issues/3702](https://github.com/vitest-dev/vitest/issues/3702) [<samp>(83a86)</samp>](https://github.com/vitest-dev/vitest/commit/83a86a75) - **vite-node**: - Don't fail when importing Promise module - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(08192)</samp>](https://github.com/vitest-dev/vitest/commit/0819275a) - Allow importing node:test - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(db22c)</samp>](https://github.com/vitest-dev/vitest/commit/db22c677) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.32.4...v0.33.0) ### [`v0.32.4`](https://github.com/vitest-dev/vitest/releases/tag/v0.32.4) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.32.3...v0.32.4) ##### 🐞 Bug Fixes - **browser**: Correctly optimize CJS dependencies - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(3d090)</samp>](https://github.com/vitest-dev/vitest/commit/3d0908e7) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.32.3...v0.32.4) ### [`v0.32.3`](https://github.com/vitest-dev/vitest/releases/tag/v0.32.3) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.32.2...v0.32.3) ##### 🚀 Features - Add `concurrent` option to `sequence` config - by [@​fenghan34](https://github.com/fenghan34) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3604](https://github.com/vitest-dev/vitest/issues/3604) [<samp>(f427f)</samp>](https://github.com/vitest-dev/vitest/commit/f427f004) - Introduce global configuration for retry setting - by [@​imentu](https://github.com/imentu) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3598](https://github.com/vitest-dev/vitest/issues/3598) and [https://github.com/vitest-dev/vitest/issues/3603](https://github.com/vitest-dev/vitest/issues/3603) [<samp>(9a117)</samp>](https://github.com/vitest-dev/vitest/commit/9a117627) - Don't rely on util package in [@​vitest/utils](https://github.com/vitest/utils) - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3685](https://github.com/vitest-dev/vitest/issues/3685) [<samp>(f91da)</samp>](https://github.com/vitest-dev/vitest/commit/f91da484) - Support accessing other fixtures in fixture function - by [@​fenghan34](https://github.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3651](https://github.com/vitest-dev/vitest/issues/3651) [<samp>(1621c)</samp>](https://github.com/vitest-dev/vitest/commit/1621cc63) - Support use function/class as `bench` name - by [@​fenghan34](https://github.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3711](https://github.com/vitest-dev/vitest/issues/3711) [<samp>(a749a)</samp>](https://github.com/vitest-dev/vitest/commit/a749a6c0) - **reporters**: Show full test suite when testing 1 spec file at a time - by [@​Dunqing](https://github.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3543](https://github.com/vitest-dev/vitest/issues/3543) [<samp>(7531c)</samp>](https://github.com/vitest-dev/vitest/commit/7531c292) - **runner**: Support `test.extend` - by [@​fenghan34](https://github.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3554](https://github.com/vitest-dev/vitest/issues/3554) [<samp>(2db1a)</samp>](https://github.com/vitest-dev/vitest/commit/2db1a737) ##### 🐞 Bug Fixes - Remove "concordance" from dependencies list - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3597](https://github.com/vitest-dev/vitest/issues/3597) [<samp>(969dc)</samp>](https://github.com/vitest-dev/vitest/commit/969dcc14) - Show diff correctly - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3620](https://github.com/vitest-dev/vitest/issues/3620) [<samp>(73dd4)</samp>](https://github.com/vitest-dev/vitest/commit/73dd4ab5) - Util import - by [@​fubhy](https://github.com/fubhy) in [https://github.com/vitest-dev/vitest/issues/3621](https://github.com/vitest-dev/vitest/issues/3621) [<samp>(2fb4c)</samp>](https://github.com/vitest-dev/vitest/commit/2fb4ceff) - Compat with frozen Math - by [@​turadg](https://github.com/turadg) in [https://github.com/vitest-dev/vitest/issues/3527](https://github.com/vitest-dev/vitest/issues/3527) [<samp>(0db67)</samp>](https://github.com/vitest-dev/vitest/commit/0db67098) - `CTRL+C` to terminate run - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3642](https://github.com/vitest-dev/vitest/issues/3642) [<samp>(fa663)</samp>](https://github.com/vitest-dev/vitest/commit/fa6637d3) - Run mode stuck in TTY terminals - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3690](https://github.com/vitest-dev/vitest/issues/3690) [<samp>(141a8)</samp>](https://github.com/vitest-dev/vitest/commit/141a86ac) - Use first stack frame in json reporter - by [@​tim-smart](https://github.com/tim-smart) in [https://github.com/vitest-dev/vitest/issues/3645](https://github.com/vitest-dev/vitest/issues/3645) [<samp>(80ea7)</samp>](https://github.com/vitest-dev/vitest/commit/80ea7ef6) - Print actual number for `toBeCalledTimes` - by [@​antfu](https://github.com/antfu) in [https://github.com/vitest-dev/vitest/issues/3696](https://github.com/vitest-dev/vitest/issues/3696) [<samp>(d3640)</samp>](https://github.com/vitest-dev/vitest/commit/d3640437) - **benchmark**: - Don't fail when running correct benchmarks - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3629](https://github.com/vitest-dev/vitest/issues/3629) [<samp>(edad9)</samp>](https://github.com/vitest-dev/vitest/commit/edad9b19) - **browser**: - Correctly print diff - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3627](https://github.com/vitest-dev/vitest/issues/3627) [<samp>(d756e)</samp>](https://github.com/vitest-dev/vitest/commit/d756ee24) - Esm injector doesn't replace class expressions - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3641](https://github.com/vitest-dev/vitest/issues/3641) [<samp>(5c0ac)</samp>](https://github.com/vitest-dev/vitest/commit/5c0ac4ad) - Transform superclass identifier - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3681](https://github.com/vitest-dev/vitest/issues/3681) [<samp>(a1e04)</samp>](https://github.com/vitest-dev/vitest/commit/a1e043bd) - **coverage**: - `v8` to prevent crash on dynamic CJS files - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3657](https://github.com/vitest-dev/vitest/issues/3657) [<samp>(40f18)</samp>](https://github.com/vitest-dev/vitest/commit/40f18a07) - **runner**: - Make the default value of `retry` and `repeats` 0 - by [@​Dunqing](https://github.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3638](https://github.com/vitest-dev/vitest/issues/3638) [<samp>(6d146)</samp>](https://github.com/vitest-dev/vitest/commit/6d146d16) - **utils**: - Respect all flags in format function - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3695](https://github.com/vitest-dev/vitest/issues/3695) [<samp>(91e16)</samp>](https://github.com/vitest-dev/vitest/commit/91e1650e) - **watch**: - Cancel using `h` key - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3618](https://github.com/vitest-dev/vitest/issues/3618) [<samp>(60c36)</samp>](https://github.com/vitest-dev/vitest/commit/60c36faf) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.32.2...v0.32.3) ### [`v0.32.2`](https://github.com/vitest-dev/vitest/releases/tag/v0.32.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.32.1...v0.32.2) ##### 🐞 Bug Fixes - **browser**: Don't fail on importing diff-sequences - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(00b0e)</samp>](https://github.com/vitest-dev/vitest/commit/00b0e6a3) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.32.1...v0.32.2) ### [`v0.32.1`](https://github.com/vitest-dev/vitest/releases/tag/v0.32.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.32.0...v0.32.1) ##### 🚀 Features - Export `registerConsoleShortcuts` from `vitest/node` - by [@​deot](https://github.com/deot) in [https://github.com/vitest-dev/vitest/issues/3563](https://github.com/vitest-dev/vitest/issues/3563) [<samp>(bc49b)</samp>](https://github.com/vitest-dev/vitest/commit/bc49bac7) - **expect**: Support `expect.unreachable` - by [@​fenghan34](https://github.com/fenghan34) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3556](https://github.com/vitest-dev/vitest/issues/3556) [<samp>(8e385)</samp>](https://github.com/vitest-dev/vitest/commit/8e385bb0) - **runner**: `describe`/`test` name support anonymous function - by [@​btea](https://github.com/btea) in [https://github.com/vitest-dev/vitest/issues/3562](https://github.com/vitest-dev/vitest/issues/3562) [<samp>(3d436)</samp>](https://github.com/vitest-dev/vitest/commit/3d43638c) ##### 🐞 Bug Fixes - Avoid call stack recursion with large error (fix: [#​3060](https://github.com/vitest-dev/vitest/issues/3060)) - by [@​nathanmmiller](https://github.com/nathanmmiller) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3078](https://github.com/vitest-dev/vitest/issues/3078) and [https://github.com/vitest-dev/vitest/issues/3060](https://github.com/vitest-dev/vitest/issues/3060) [<samp>(02196)</samp>](https://github.com/vitest-dev/vitest/commit/02196f9d) - Automatically remove define related configuration - by [@​btea](https://github.com/btea) in [https://github.com/vitest-dev/vitest/issues/3552](https://github.com/vitest-dev/vitest/issues/3552) [<samp>(368b8)</samp>](https://github.com/vitest-dev/vitest/commit/368b8259) - Import `performance` from `perf_hooks` - by [@​Max10240](https://github.com/Max10240) and **wangbaolong.wbl** in [https://github.com/vitest-dev/vitest/issues/3578](https://github.com/vitest-dev/vitest/issues/3578) and [https://github.com/vitest-dev/vitest/issues/3579](https://github.com/vitest-dev/vitest/issues/3579) [<samp>(24ec8)</samp>](https://github.com/vitest-dev/vitest/commit/24ec85a8) - Revert concordance diff, use jest's diff output - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3582](https://github.com/vitest-dev/vitest/issues/3582) [<samp>(9c7ea)</samp>](https://github.com/vitest-dev/vitest/commit/9c7ea382) - Typo in config suggestion - by [@​Krisell](https://github.com/Krisell) in [https://github.com/vitest-dev/vitest/issues/3583](https://github.com/vitest-dev/vitest/issues/3583) [<samp>(68985)</samp>](https://github.com/vitest-dev/vitest/commit/689855bb) - **browser**: - Change optimized deps to use `vitest` - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3580](https://github.com/vitest-dev/vitest/issues/3580) [<samp>(b4ac8)</samp>](https://github.com/vitest-dev/vitest/commit/b4ac88e9) - Access **vi_inject** only if it was injected - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3587](https://github.com/vitest-dev/vitest/issues/3587) [<samp>(d9e14)</samp>](https://github.com/vitest-dev/vitest/commit/d9e1419a) - **mocker**: - Respect namespace import when hoisting vi.mock - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3547](https://github.com/vitest-dev/vitest/issues/3547) [<samp>(158c4)</samp>](https://github.com/vitest-dev/vitest/commit/158c4bb0) - **ui**: - Navigate to dashboard when re-running tests from coverage page - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3529](https://github.com/vitest-dev/vitest/issues/3529) [<samp>(bc283)</samp>](https://github.com/vitest-dev/vitest/commit/bc283ae3) - **vite-node**: - Correctly resolve virtual modules - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3544](https://github.com/vitest-dev/vitest/issues/3544) [<samp>(0cbb0)</samp>](https://github.com/vitest-dev/vitest/commit/0cbb07b4) - Fix errors caused by commonjs export circular references - by [@​rxliuli](https://github.com/rxliuli) in [https://github.com/vitest-dev/vitest/issues/3570](https://github.com/vitest-dev/vitest/issues/3570) [<samp>(b097c)</samp>](https://github.com/vitest-dev/vitest/commit/b097cef8) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.32.0...v0.32.1) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/JoshuaKGoldberg/prettier-plugin-curly). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi41LjMiLCJ1cGRhdGVkSW5WZXIiOiIzNi41LjMiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot
referenced
this pull request
in JoshuaKGoldberg/create-typescript-app
Jul 9, 2023
…597) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@vitest/coverage-istanbul](https://github.com/vitest-dev/vitest/tree/main/packages/coverage-istanbul#readme) ([source](https://github.com/vitest-dev/vitest)) | [`^0.32.0` -> `^0.33.0`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-istanbul/0.32.0/0.33.0) | [![age](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-istanbul/0.33.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-istanbul/0.33.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-istanbul/0.33.0/compatibility-slim/0.32.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-istanbul/0.33.0/confidence-slim/0.32.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (@​vitest/coverage-istanbul)</summary> ### [`v0.33.0`](https://github.com/vitest-dev/vitest/releases/tag/v0.33.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.32.4...v0.33.0) ##### 🚨 Breaking Changes - Revert default include patterns - by [@​so1ve](https://github.com/so1ve) [#​3729](https://github.com/vitest-dev/vitest/issues/3729) - `0.32.0` changed the default `include` globs to be compatible with Jest. After a discussion with the community, we are reverting this change because it turned out to be non-intuitive. ##### 🐞 Bug Fixes - Add missing JSDom living keys - by [@​DerZade](https://github.com/DerZade) in [https://github.com/vitest-dev/vitest/issues/3702](https://github.com/vitest-dev/vitest/issues/3702) [<samp>(83a86)</samp>](https://github.com/vitest-dev/vitest/commit/83a86a75) - **vite-node**: - Don't fail when importing Promise module - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(08192)</samp>](https://github.com/vitest-dev/vitest/commit/0819275a) - Allow importing node:test - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(db22c)</samp>](https://github.com/vitest-dev/vitest/commit/db22c677) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.32.4...v0.33.0) ### [`v0.32.4`](https://github.com/vitest-dev/vitest/releases/tag/v0.32.4) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.32.3...v0.32.4) ##### 🐞 Bug Fixes - **browser**: Correctly optimize CJS dependencies - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(3d090)</samp>](https://github.com/vitest-dev/vitest/commit/3d0908e7) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.32.3...v0.32.4) ### [`v0.32.3`](https://github.com/vitest-dev/vitest/releases/tag/v0.32.3) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.32.2...v0.32.3) ##### 🚀 Features - Add `concurrent` option to `sequence` config - by [@​fenghan34](https://github.com/fenghan34) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3604](https://github.com/vitest-dev/vitest/issues/3604) [<samp>(f427f)</samp>](https://github.com/vitest-dev/vitest/commit/f427f004) - Introduce global configuration for retry setting - by [@​imentu](https://github.com/imentu) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3598](https://github.com/vitest-dev/vitest/issues/3598) and [https://github.com/vitest-dev/vitest/issues/3603](https://github.com/vitest-dev/vitest/issues/3603) [<samp>(9a117)</samp>](https://github.com/vitest-dev/vitest/commit/9a117627) - Don't rely on util package in [@​vitest/utils](https://github.com/vitest/utils) - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3685](https://github.com/vitest-dev/vitest/issues/3685) [<samp>(f91da)</samp>](https://github.com/vitest-dev/vitest/commit/f91da484) - Support accessing other fixtures in fixture function - by [@​fenghan34](https://github.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3651](https://github.com/vitest-dev/vitest/issues/3651) [<samp>(1621c)</samp>](https://github.com/vitest-dev/vitest/commit/1621cc63) - Support use function/class as `bench` name - by [@​fenghan34](https://github.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3711](https://github.com/vitest-dev/vitest/issues/3711) [<samp>(a749a)</samp>](https://github.com/vitest-dev/vitest/commit/a749a6c0) - **reporters**: Show full test suite when testing 1 spec file at a time - by [@​Dunqing](https://github.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3543](https://github.com/vitest-dev/vitest/issues/3543) [<samp>(7531c)</samp>](https://github.com/vitest-dev/vitest/commit/7531c292) - **runner**: Support `test.extend` - by [@​fenghan34](https://github.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3554](https://github.com/vitest-dev/vitest/issues/3554) [<samp>(2db1a)</samp>](https://github.com/vitest-dev/vitest/commit/2db1a737) ##### 🐞 Bug Fixes - Remove "concordance" from dependencies list - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3597](https://github.com/vitest-dev/vitest/issues/3597) [<samp>(969dc)</samp>](https://github.com/vitest-dev/vitest/commit/969dcc14) - Show diff correctly - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3620](https://github.com/vitest-dev/vitest/issues/3620) [<samp>(73dd4)</samp>](https://github.com/vitest-dev/vitest/commit/73dd4ab5) - Util import - by [@​fubhy](https://github.com/fubhy) in [https://github.com/vitest-dev/vitest/issues/3621](https://github.com/vitest-dev/vitest/issues/3621) [<samp>(2fb4c)</samp>](https://github.com/vitest-dev/vitest/commit/2fb4ceff) - Compat with frozen Math - by [@​turadg](https://github.com/turadg) in [https://github.com/vitest-dev/vitest/issues/3527](https://github.com/vitest-dev/vitest/issues/3527) [<samp>(0db67)</samp>](https://github.com/vitest-dev/vitest/commit/0db67098) - `CTRL+C` to terminate run - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3642](https://github.com/vitest-dev/vitest/issues/3642) [<samp>(fa663)</samp>](https://github.com/vitest-dev/vitest/commit/fa6637d3) - Run mode stuck in TTY terminals - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3690](https://github.com/vitest-dev/vitest/issues/3690) [<samp>(141a8)</samp>](https://github.com/vitest-dev/vitest/commit/141a86ac) - Use first stack frame in json reporter - by [@​tim-smart](https://github.com/tim-smart) in [https://github.com/vitest-dev/vitest/issues/3645](https://github.com/vitest-dev/vitest/issues/3645) [<samp>(80ea7)</samp>](https://github.com/vitest-dev/vitest/commit/80ea7ef6) - Print actual number for `toBeCalledTimes` - by [@​antfu](https://github.com/antfu) in [https://github.com/vitest-dev/vitest/issues/3696](https://github.com/vitest-dev/vitest/issues/3696) [<samp>(d3640)</samp>](https://github.com/vitest-dev/vitest/commit/d3640437) - **benchmark**: - Don't fail when running correct benchmarks - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3629](https://github.com/vitest-dev/vitest/issues/3629) [<samp>(edad9)</samp>](https://github.com/vitest-dev/vitest/commit/edad9b19) - **browser**: - Correctly print diff - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3627](https://github.com/vitest-dev/vitest/issues/3627) [<samp>(d756e)</samp>](https://github.com/vitest-dev/vitest/commit/d756ee24) - Esm injector doesn't replace class expressions - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3641](https://github.com/vitest-dev/vitest/issues/3641) [<samp>(5c0ac)</samp>](https://github.com/vitest-dev/vitest/commit/5c0ac4ad) - Transform superclass identifier - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3681](https://github.com/vitest-dev/vitest/issues/3681) [<samp>(a1e04)</samp>](https://github.com/vitest-dev/vitest/commit/a1e043bd) - **coverage**: - `v8` to prevent crash on dynamic CJS files - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3657](https://github.com/vitest-dev/vitest/issues/3657) [<samp>(40f18)</samp>](https://github.com/vitest-dev/vitest/commit/40f18a07) - **runner**: - Make the default value of `retry` and `repeats` 0 - by [@​Dunqing](https://github.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3638](https://github.com/vitest-dev/vitest/issues/3638) [<samp>(6d146)</samp>](https://github.com/vitest-dev/vitest/commit/6d146d16) - **utils**: - Respect all flags in format function - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3695](https://github.com/vitest-dev/vitest/issues/3695) [<samp>(91e16)</samp>](https://github.com/vitest-dev/vitest/commit/91e1650e) - **watch**: - Cancel using `h` key - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3618](https://github.com/vitest-dev/vitest/issues/3618) [<samp>(60c36)</samp>](https://github.com/vitest-dev/vitest/commit/60c36faf) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.32.2...v0.32.3) ### [`v0.32.2`](https://github.com/vitest-dev/vitest/releases/tag/v0.32.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.32.1...v0.32.2) ##### 🐞 Bug Fixes - **browser**: Don't fail on importing diff-sequences - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(00b0e)</samp>](https://github.com/vitest-dev/vitest/commit/00b0e6a3) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.32.1...v0.32.2) ### [`v0.32.1`](https://github.com/vitest-dev/vitest/releases/tag/v0.32.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.32.0...v0.32.1) ##### 🚀 Features - Export `registerConsoleShortcuts` from `vitest/node` - by [@​deot](https://github.com/deot) in [https://github.com/vitest-dev/vitest/issues/3563](https://github.com/vitest-dev/vitest/issues/3563) [<samp>(bc49b)</samp>](https://github.com/vitest-dev/vitest/commit/bc49bac7) - **expect**: Support `expect.unreachable` - by [@​fenghan34](https://github.com/fenghan34) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3556](https://github.com/vitest-dev/vitest/issues/3556) [<samp>(8e385)</samp>](https://github.com/vitest-dev/vitest/commit/8e385bb0) - **runner**: `describe`/`test` name support anonymous function - by [@​btea](https://github.com/btea) in [https://github.com/vitest-dev/vitest/issues/3562](https://github.com/vitest-dev/vitest/issues/3562) [<samp>(3d436)</samp>](https://github.com/vitest-dev/vitest/commit/3d43638c) ##### 🐞 Bug Fixes - Avoid call stack recursion with large error (fix: [#​3060](https://github.com/vitest-dev/vitest/issues/3060)) - by [@​nathanmmiller](https://github.com/nathanmmiller) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3078](https://github.com/vitest-dev/vitest/issues/3078) and [https://github.com/vitest-dev/vitest/issues/3060](https://github.com/vitest-dev/vitest/issues/3060) [<samp>(02196)</samp>](https://github.com/vitest-dev/vitest/commit/02196f9d) - Automatically remove define related configuration - by [@​btea](https://github.com/btea) in [https://github.com/vitest-dev/vitest/issues/3552](https://github.com/vitest-dev/vitest/issues/3552) [<samp>(368b8)</samp>](https://github.com/vitest-dev/vitest/commit/368b8259) - Import `performance` from `perf_hooks` - by [@​Max10240](https://github.com/Max10240) and **wangbaolong.wbl** in [https://github.com/vitest-dev/vitest/issues/3578](https://github.com/vitest-dev/vitest/issues/3578) and [https://github.com/vitest-dev/vitest/issues/3579](https://github.com/vitest-dev/vitest/issues/3579) [<samp>(24ec8)</samp>](https://github.com/vitest-dev/vitest/commit/24ec85a8) - Revert concordance diff, use jest's diff output - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3582](https://github.com/vitest-dev/vitest/issues/3582) [<samp>(9c7ea)</samp>](https://github.com/vitest-dev/vitest/commit/9c7ea382) - Typo in config suggestion - by [@​Krisell](https://github.com/Krisell) in [https://github.com/vitest-dev/vitest/issues/3583](https://github.com/vitest-dev/vitest/issues/3583) [<samp>(68985)</samp>](https://github.com/vitest-dev/vitest/commit/689855bb) - **browser**: - Change optimized deps to use `vitest` - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3580](https://github.com/vitest-dev/vitest/issues/3580) [<samp>(b4ac8)</samp>](https://github.com/vitest-dev/vitest/commit/b4ac88e9) - Access **vi_inject** only if it was injected - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3587](https://github.com/vitest-dev/vitest/issues/3587) [<samp>(d9e14)</samp>](https://github.com/vitest-dev/vitest/commit/d9e1419a) - **mocker**: - Respect namespace import when hoisting vi.mock - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3547](https://github.com/vitest-dev/vitest/issues/3547) [<samp>(158c4)</samp>](https://github.com/vitest-dev/vitest/commit/158c4bb0) - **ui**: - Navigate to dashboard when re-running tests from coverage page - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3529](https://github.com/vitest-dev/vitest/issues/3529) [<samp>(bc283)</samp>](https://github.com/vitest-dev/vitest/commit/bc283ae3) - **vite-node**: - Correctly resolve virtual modules - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3544](https://github.com/vitest-dev/vitest/issues/3544) [<samp>(0cbb0)</samp>](https://github.com/vitest-dev/vitest/commit/0cbb07b4) - Fix errors caused by commonjs export circular references - by [@​rxliuli](https://github.com/rxliuli) in [https://github.com/vitest-dev/vitest/issues/3570](https://github.com/vitest-dev/vitest/issues/3570) [<samp>(b097c)</samp>](https://github.com/vitest-dev/vitest/commit/b097cef8) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.32.0...v0.32.1) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/JoshuaKGoldberg/template-typescript-node-package). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi41LjMiLCJ1cGRhdGVkSW5WZXIiOiIzNi41LjMiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot
referenced
this pull request
in JoshuaKGoldberg/create-typescript-app
Jul 9, 2023
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [vitest](https://github.com/vitest-dev/vitest) | [`^0.32.0` -> `^0.33.0`](https://renovatebot.com/diffs/npm/vitest/0.32.0/0.33.0) | [![age](https://badges.renovateapi.com/packages/npm/vitest/0.33.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/vitest/0.33.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/vitest/0.33.0/compatibility-slim/0.32.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/vitest/0.33.0/confidence-slim/0.32.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (vitest)</summary> ### [`v0.33.0`](https://github.com/vitest-dev/vitest/releases/tag/v0.33.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.32.4...v0.33.0) ##### 🚨 Breaking Changes - Revert default include patterns - by [@​so1ve](https://github.com/so1ve) [#​3729](https://github.com/vitest-dev/vitest/issues/3729) - `0.32.0` changed the default `include` globs to be compatible with Jest. After a discussion with the community, we are reverting this change because it turned out to be non-intuitive. ##### 🐞 Bug Fixes - Add missing JSDom living keys - by [@​DerZade](https://github.com/DerZade) in [https://github.com/vitest-dev/vitest/issues/3702](https://github.com/vitest-dev/vitest/issues/3702) [<samp>(83a86)</samp>](https://github.com/vitest-dev/vitest/commit/83a86a75) - **vite-node**: - Don't fail when importing Promise module - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(08192)</samp>](https://github.com/vitest-dev/vitest/commit/0819275a) - Allow importing node:test - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(db22c)</samp>](https://github.com/vitest-dev/vitest/commit/db22c677) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.32.4...v0.33.0) ### [`v0.32.4`](https://github.com/vitest-dev/vitest/releases/tag/v0.32.4) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.32.3...v0.32.4) ##### 🐞 Bug Fixes - **browser**: Correctly optimize CJS dependencies - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(3d090)</samp>](https://github.com/vitest-dev/vitest/commit/3d0908e7) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.32.3...v0.32.4) ### [`v0.32.3`](https://github.com/vitest-dev/vitest/releases/tag/v0.32.3) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.32.2...v0.32.3) ##### 🚀 Features - Add `concurrent` option to `sequence` config - by [@​fenghan34](https://github.com/fenghan34) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3604](https://github.com/vitest-dev/vitest/issues/3604) [<samp>(f427f)</samp>](https://github.com/vitest-dev/vitest/commit/f427f004) - Introduce global configuration for retry setting - by [@​imentu](https://github.com/imentu) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3598](https://github.com/vitest-dev/vitest/issues/3598) and [https://github.com/vitest-dev/vitest/issues/3603](https://github.com/vitest-dev/vitest/issues/3603) [<samp>(9a117)</samp>](https://github.com/vitest-dev/vitest/commit/9a117627) - Don't rely on util package in [@​vitest/utils](https://github.com/vitest/utils) - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3685](https://github.com/vitest-dev/vitest/issues/3685) [<samp>(f91da)</samp>](https://github.com/vitest-dev/vitest/commit/f91da484) - Support accessing other fixtures in fixture function - by [@​fenghan34](https://github.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3651](https://github.com/vitest-dev/vitest/issues/3651) [<samp>(1621c)</samp>](https://github.com/vitest-dev/vitest/commit/1621cc63) - Support use function/class as `bench` name - by [@​fenghan34](https://github.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3711](https://github.com/vitest-dev/vitest/issues/3711) [<samp>(a749a)</samp>](https://github.com/vitest-dev/vitest/commit/a749a6c0) - **reporters**: Show full test suite when testing 1 spec file at a time - by [@​Dunqing](https://github.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3543](https://github.com/vitest-dev/vitest/issues/3543) [<samp>(7531c)</samp>](https://github.com/vitest-dev/vitest/commit/7531c292) - **runner**: Support `test.extend` - by [@​fenghan34](https://github.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3554](https://github.com/vitest-dev/vitest/issues/3554) [<samp>(2db1a)</samp>](https://github.com/vitest-dev/vitest/commit/2db1a737) ##### 🐞 Bug Fixes - Remove "concordance" from dependencies list - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3597](https://github.com/vitest-dev/vitest/issues/3597) [<samp>(969dc)</samp>](https://github.com/vitest-dev/vitest/commit/969dcc14) - Show diff correctly - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3620](https://github.com/vitest-dev/vitest/issues/3620) [<samp>(73dd4)</samp>](https://github.com/vitest-dev/vitest/commit/73dd4ab5) - Util import - by [@​fubhy](https://github.com/fubhy) in [https://github.com/vitest-dev/vitest/issues/3621](https://github.com/vitest-dev/vitest/issues/3621) [<samp>(2fb4c)</samp>](https://github.com/vitest-dev/vitest/commit/2fb4ceff) - Compat with frozen Math - by [@​turadg](https://github.com/turadg) in [https://github.com/vitest-dev/vitest/issues/3527](https://github.com/vitest-dev/vitest/issues/3527) [<samp>(0db67)</samp>](https://github.com/vitest-dev/vitest/commit/0db67098) - `CTRL+C` to terminate run - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3642](https://github.com/vitest-dev/vitest/issues/3642) [<samp>(fa663)</samp>](https://github.com/vitest-dev/vitest/commit/fa6637d3) - Run mode stuck in TTY terminals - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3690](https://github.com/vitest-dev/vitest/issues/3690) [<samp>(141a8)</samp>](https://github.com/vitest-dev/vitest/commit/141a86ac) - Use first stack frame in json reporter - by [@​tim-smart](https://github.com/tim-smart) in [https://github.com/vitest-dev/vitest/issues/3645](https://github.com/vitest-dev/vitest/issues/3645) [<samp>(80ea7)</samp>](https://github.com/vitest-dev/vitest/commit/80ea7ef6) - Print actual number for `toBeCalledTimes` - by [@​antfu](https://github.com/antfu) in [https://github.com/vitest-dev/vitest/issues/3696](https://github.com/vitest-dev/vitest/issues/3696) [<samp>(d3640)</samp>](https://github.com/vitest-dev/vitest/commit/d3640437) - **benchmark**: - Don't fail when running correct benchmarks - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3629](https://github.com/vitest-dev/vitest/issues/3629) [<samp>(edad9)</samp>](https://github.com/vitest-dev/vitest/commit/edad9b19) - **browser**: - Correctly print diff - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3627](https://github.com/vitest-dev/vitest/issues/3627) [<samp>(d756e)</samp>](https://github.com/vitest-dev/vitest/commit/d756ee24) - Esm injector doesn't replace class expressions - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3641](https://github.com/vitest-dev/vitest/issues/3641) [<samp>(5c0ac)</samp>](https://github.com/vitest-dev/vitest/commit/5c0ac4ad) - Transform superclass identifier - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3681](https://github.com/vitest-dev/vitest/issues/3681) [<samp>(a1e04)</samp>](https://github.com/vitest-dev/vitest/commit/a1e043bd) - **coverage**: - `v8` to prevent crash on dynamic CJS files - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3657](https://github.com/vitest-dev/vitest/issues/3657) [<samp>(40f18)</samp>](https://github.com/vitest-dev/vitest/commit/40f18a07) - **runner**: - Make the default value of `retry` and `repeats` 0 - by [@​Dunqing](https://github.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3638](https://github.com/vitest-dev/vitest/issues/3638) [<samp>(6d146)</samp>](https://github.com/vitest-dev/vitest/commit/6d146d16) - **utils**: - Respect all flags in format function - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3695](https://github.com/vitest-dev/vitest/issues/3695) [<samp>(91e16)</samp>](https://github.com/vitest-dev/vitest/commit/91e1650e) - **watch**: - Cancel using `h` key - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3618](https://github.com/vitest-dev/vitest/issues/3618) [<samp>(60c36)</samp>](https://github.com/vitest-dev/vitest/commit/60c36faf) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.32.2...v0.32.3) ### [`v0.32.2`](https://github.com/vitest-dev/vitest/releases/tag/v0.32.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.32.1...v0.32.2) ##### 🐞 Bug Fixes - **browser**: Don't fail on importing diff-sequences - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(00b0e)</samp>](https://github.com/vitest-dev/vitest/commit/00b0e6a3) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.32.1...v0.32.2) ### [`v0.32.1`](https://github.com/vitest-dev/vitest/releases/tag/v0.32.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.32.0...v0.32.1) ##### 🚀 Features - Export `registerConsoleShortcuts` from `vitest/node` - by [@​deot](https://github.com/deot) in [https://github.com/vitest-dev/vitest/issues/3563](https://github.com/vitest-dev/vitest/issues/3563) [<samp>(bc49b)</samp>](https://github.com/vitest-dev/vitest/commit/bc49bac7) - **expect**: Support `expect.unreachable` - by [@​fenghan34](https://github.com/fenghan34) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3556](https://github.com/vitest-dev/vitest/issues/3556) [<samp>(8e385)</samp>](https://github.com/vitest-dev/vitest/commit/8e385bb0) - **runner**: `describe`/`test` name support anonymous function - by [@​btea](https://github.com/btea) in [https://github.com/vitest-dev/vitest/issues/3562](https://github.com/vitest-dev/vitest/issues/3562) [<samp>(3d436)</samp>](https://github.com/vitest-dev/vitest/commit/3d43638c) ##### 🐞 Bug Fixes - Avoid call stack recursion with large error (fix: [#​3060](https://github.com/vitest-dev/vitest/issues/3060)) - by [@​nathanmmiller](https://github.com/nathanmmiller) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3078](https://github.com/vitest-dev/vitest/issues/3078) and [https://github.com/vitest-dev/vitest/issues/3060](https://github.com/vitest-dev/vitest/issues/3060) [<samp>(02196)</samp>](https://github.com/vitest-dev/vitest/commit/02196f9d) - Automatically remove define related configuration - by [@​btea](https://github.com/btea) in [https://github.com/vitest-dev/vitest/issues/3552](https://github.com/vitest-dev/vitest/issues/3552) [<samp>(368b8)</samp>](https://github.com/vitest-dev/vitest/commit/368b8259) - Import `performance` from `perf_hooks` - by [@​Max10240](https://github.com/Max10240) and **wangbaolong.wbl** in [https://github.com/vitest-dev/vitest/issues/3578](https://github.com/vitest-dev/vitest/issues/3578) and [https://github.com/vitest-dev/vitest/issues/3579](https://github.com/vitest-dev/vitest/issues/3579) [<samp>(24ec8)</samp>](https://github.com/vitest-dev/vitest/commit/24ec85a8) - Revert concordance diff, use jest's diff output - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3582](https://github.com/vitest-dev/vitest/issues/3582) [<samp>(9c7ea)</samp>](https://github.com/vitest-dev/vitest/commit/9c7ea382) - Typo in config suggestion - by [@​Krisell](https://github.com/Krisell) in [https://github.com/vitest-dev/vitest/issues/3583](https://github.com/vitest-dev/vitest/issues/3583) [<samp>(68985)</samp>](https://github.com/vitest-dev/vitest/commit/689855bb) - **browser**: - Change optimized deps to use `vitest` - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3580](https://github.com/vitest-dev/vitest/issues/3580) [<samp>(b4ac8)</samp>](https://github.com/vitest-dev/vitest/commit/b4ac88e9) - Access **vi_inject** only if it was injected - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3587](https://github.com/vitest-dev/vitest/issues/3587) [<samp>(d9e14)</samp>](https://github.com/vitest-dev/vitest/commit/d9e1419a) - **mocker**: - Respect namespace import when hoisting vi.mock - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3547](https://github.com/vitest-dev/vitest/issues/3547) [<samp>(158c4)</samp>](https://github.com/vitest-dev/vitest/commit/158c4bb0) - **ui**: - Navigate to dashboard when re-running tests from coverage page - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3529](https://github.com/vitest-dev/vitest/issues/3529) [<samp>(bc283)</samp>](https://github.com/vitest-dev/vitest/commit/bc283ae3) - **vite-node**: - Correctly resolve virtual modules - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3544](https://github.com/vitest-dev/vitest/issues/3544) [<samp>(0cbb0)</samp>](https://github.com/vitest-dev/vitest/commit/0cbb07b4) - Fix errors caused by commonjs export circular references - by [@​rxliuli](https://github.com/rxliuli) in [https://github.com/vitest-dev/vitest/issues/3570](https://github.com/vitest-dev/vitest/issues/3570) [<samp>(b097c)</samp>](https://github.com/vitest-dev/vitest/commit/b097cef8) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.32.0...v0.32.1) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/JoshuaKGoldberg/template-typescript-node-package). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi41LjMiLCJ1cGRhdGVkSW5WZXIiOiIzNi41LjMiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot
referenced
this pull request
in JoshuaKGoldberg/ts-api-utils
Jul 9, 2023
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [vitest](https://github.com/vitest-dev/vitest) | [`^0.32.0` -> `^0.33.0`](https://renovatebot.com/diffs/npm/vitest/0.32.0/0.33.0) | [![age](https://badges.renovateapi.com/packages/npm/vitest/0.33.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/vitest/0.33.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/vitest/0.33.0/compatibility-slim/0.32.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/vitest/0.33.0/confidence-slim/0.32.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (vitest)</summary> ### [`v0.33.0`](https://github.com/vitest-dev/vitest/releases/tag/v0.33.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.32.4...v0.33.0) ##### 🚨 Breaking Changes - Revert default include patterns - by [@​so1ve](https://github.com/so1ve) [#​3729](https://github.com/vitest-dev/vitest/issues/3729) - `0.32.0` changed the default `include` globs to be compatible with Jest. After a discussion with the community, we are reverting this change because it turned out to be non-intuitive. ##### 🐞 Bug Fixes - Add missing JSDom living keys - by [@​DerZade](https://github.com/DerZade) in [https://github.com/vitest-dev/vitest/issues/3702](https://github.com/vitest-dev/vitest/issues/3702) [<samp>(83a86)</samp>](https://github.com/vitest-dev/vitest/commit/83a86a75) - **vite-node**: - Don't fail when importing Promise module - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(08192)</samp>](https://github.com/vitest-dev/vitest/commit/0819275a) - Allow importing node:test - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(db22c)</samp>](https://github.com/vitest-dev/vitest/commit/db22c677) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.32.4...v0.33.0) ### [`v0.32.4`](https://github.com/vitest-dev/vitest/releases/tag/v0.32.4) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.32.3...v0.32.4) ##### 🐞 Bug Fixes - **browser**: Correctly optimize CJS dependencies - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(3d090)</samp>](https://github.com/vitest-dev/vitest/commit/3d0908e7) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.32.3...v0.32.4) ### [`v0.32.3`](https://github.com/vitest-dev/vitest/releases/tag/v0.32.3) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.32.2...v0.32.3) ##### 🚀 Features - Add `concurrent` option to `sequence` config - by [@​fenghan34](https://github.com/fenghan34) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3604](https://github.com/vitest-dev/vitest/issues/3604) [<samp>(f427f)</samp>](https://github.com/vitest-dev/vitest/commit/f427f004) - Introduce global configuration for retry setting - by [@​imentu](https://github.com/imentu) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3598](https://github.com/vitest-dev/vitest/issues/3598) and [https://github.com/vitest-dev/vitest/issues/3603](https://github.com/vitest-dev/vitest/issues/3603) [<samp>(9a117)</samp>](https://github.com/vitest-dev/vitest/commit/9a117627) - Don't rely on util package in [@​vitest/utils](https://github.com/vitest/utils) - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3685](https://github.com/vitest-dev/vitest/issues/3685) [<samp>(f91da)</samp>](https://github.com/vitest-dev/vitest/commit/f91da484) - Support accessing other fixtures in fixture function - by [@​fenghan34](https://github.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3651](https://github.com/vitest-dev/vitest/issues/3651) [<samp>(1621c)</samp>](https://github.com/vitest-dev/vitest/commit/1621cc63) - Support use function/class as `bench` name - by [@​fenghan34](https://github.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3711](https://github.com/vitest-dev/vitest/issues/3711) [<samp>(a749a)</samp>](https://github.com/vitest-dev/vitest/commit/a749a6c0) - **reporters**: Show full test suite when testing 1 spec file at a time - by [@​Dunqing](https://github.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3543](https://github.com/vitest-dev/vitest/issues/3543) [<samp>(7531c)</samp>](https://github.com/vitest-dev/vitest/commit/7531c292) - **runner**: Support `test.extend` - by [@​fenghan34](https://github.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3554](https://github.com/vitest-dev/vitest/issues/3554) [<samp>(2db1a)</samp>](https://github.com/vitest-dev/vitest/commit/2db1a737) ##### 🐞 Bug Fixes - Remove "concordance" from dependencies list - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3597](https://github.com/vitest-dev/vitest/issues/3597) [<samp>(969dc)</samp>](https://github.com/vitest-dev/vitest/commit/969dcc14) - Show diff correctly - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3620](https://github.com/vitest-dev/vitest/issues/3620) [<samp>(73dd4)</samp>](https://github.com/vitest-dev/vitest/commit/73dd4ab5) - Util import - by [@​fubhy](https://github.com/fubhy) in [https://github.com/vitest-dev/vitest/issues/3621](https://github.com/vitest-dev/vitest/issues/3621) [<samp>(2fb4c)</samp>](https://github.com/vitest-dev/vitest/commit/2fb4ceff) - Compat with frozen Math - by [@​turadg](https://github.com/turadg) in [https://github.com/vitest-dev/vitest/issues/3527](https://github.com/vitest-dev/vitest/issues/3527) [<samp>(0db67)</samp>](https://github.com/vitest-dev/vitest/commit/0db67098) - `CTRL+C` to terminate run - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3642](https://github.com/vitest-dev/vitest/issues/3642) [<samp>(fa663)</samp>](https://github.com/vitest-dev/vitest/commit/fa6637d3) - Run mode stuck in TTY terminals - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3690](https://github.com/vitest-dev/vitest/issues/3690) [<samp>(141a8)</samp>](https://github.com/vitest-dev/vitest/commit/141a86ac) - Use first stack frame in json reporter - by [@​tim-smart](https://github.com/tim-smart) in [https://github.com/vitest-dev/vitest/issues/3645](https://github.com/vitest-dev/vitest/issues/3645) [<samp>(80ea7)</samp>](https://github.com/vitest-dev/vitest/commit/80ea7ef6) - Print actual number for `toBeCalledTimes` - by [@​antfu](https://github.com/antfu) in [https://github.com/vitest-dev/vitest/issues/3696](https://github.com/vitest-dev/vitest/issues/3696) [<samp>(d3640)</samp>](https://github.com/vitest-dev/vitest/commit/d3640437) - **benchmark**: - Don't fail when running correct benchmarks - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3629](https://github.com/vitest-dev/vitest/issues/3629) [<samp>(edad9)</samp>](https://github.com/vitest-dev/vitest/commit/edad9b19) - **browser**: - Correctly print diff - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3627](https://github.com/vitest-dev/vitest/issues/3627) [<samp>(d756e)</samp>](https://github.com/vitest-dev/vitest/commit/d756ee24) - Esm injector doesn't replace class expressions - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3641](https://github.com/vitest-dev/vitest/issues/3641) [<samp>(5c0ac)</samp>](https://github.com/vitest-dev/vitest/commit/5c0ac4ad) - Transform superclass identifier - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3681](https://github.com/vitest-dev/vitest/issues/3681) [<samp>(a1e04)</samp>](https://github.com/vitest-dev/vitest/commit/a1e043bd) - **coverage**: - `v8` to prevent crash on dynamic CJS files - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3657](https://github.com/vitest-dev/vitest/issues/3657) [<samp>(40f18)</samp>](https://github.com/vitest-dev/vitest/commit/40f18a07) - **runner**: - Make the default value of `retry` and `repeats` 0 - by [@​Dunqing](https://github.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3638](https://github.com/vitest-dev/vitest/issues/3638) [<samp>(6d146)</samp>](https://github.com/vitest-dev/vitest/commit/6d146d16) - **utils**: - Respect all flags in format function - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3695](https://github.com/vitest-dev/vitest/issues/3695) [<samp>(91e16)</samp>](https://github.com/vitest-dev/vitest/commit/91e1650e) - **watch**: - Cancel using `h` key - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3618](https://github.com/vitest-dev/vitest/issues/3618) [<samp>(60c36)</samp>](https://github.com/vitest-dev/vitest/commit/60c36faf) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.32.2...v0.32.3) ### [`v0.32.2`](https://github.com/vitest-dev/vitest/releases/tag/v0.32.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.32.1...v0.32.2) ##### 🐞 Bug Fixes - **browser**: Don't fail on importing diff-sequences - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(00b0e)</samp>](https://github.com/vitest-dev/vitest/commit/00b0e6a3) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.32.1...v0.32.2) ### [`v0.32.1`](https://github.com/vitest-dev/vitest/releases/tag/v0.32.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.32.0...v0.32.1) ##### 🚀 Features - Export `registerConsoleShortcuts` from `vitest/node` - by [@​deot](https://github.com/deot) in [https://github.com/vitest-dev/vitest/issues/3563](https://github.com/vitest-dev/vitest/issues/3563) [<samp>(bc49b)</samp>](https://github.com/vitest-dev/vitest/commit/bc49bac7) - **expect**: Support `expect.unreachable` - by [@​fenghan34](https://github.com/fenghan34) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3556](https://github.com/vitest-dev/vitest/issues/3556) [<samp>(8e385)</samp>](https://github.com/vitest-dev/vitest/commit/8e385bb0) - **runner**: `describe`/`test` name support anonymous function - by [@​btea](https://github.com/btea) in [https://github.com/vitest-dev/vitest/issues/3562](https://github.com/vitest-dev/vitest/issues/3562) [<samp>(3d436)</samp>](https://github.com/vitest-dev/vitest/commit/3d43638c) ##### 🐞 Bug Fixes - Avoid call stack recursion with large error (fix: [#​3060](https://github.com/vitest-dev/vitest/issues/3060)) - by [@​nathanmmiller](https://github.com/nathanmmiller) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3078](https://github.com/vitest-dev/vitest/issues/3078) and [https://github.com/vitest-dev/vitest/issues/3060](https://github.com/vitest-dev/vitest/issues/3060) [<samp>(02196)</samp>](https://github.com/vitest-dev/vitest/commit/02196f9d) - Automatically remove define related configuration - by [@​btea](https://github.com/btea) in [https://github.com/vitest-dev/vitest/issues/3552](https://github.com/vitest-dev/vitest/issues/3552) [<samp>(368b8)</samp>](https://github.com/vitest-dev/vitest/commit/368b8259) - Import `performance` from `perf_hooks` - by [@​Max10240](https://github.com/Max10240) and **wangbaolong.wbl** in [https://github.com/vitest-dev/vitest/issues/3578](https://github.com/vitest-dev/vitest/issues/3578) and [https://github.com/vitest-dev/vitest/issues/3579](https://github.com/vitest-dev/vitest/issues/3579) [<samp>(24ec8)</samp>](https://github.com/vitest-dev/vitest/commit/24ec85a8) - Revert concordance diff, use jest's diff output - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3582](https://github.com/vitest-dev/vitest/issues/3582) [<samp>(9c7ea)</samp>](https://github.com/vitest-dev/vitest/commit/9c7ea382) - Typo in config suggestion - by [@​Krisell](https://github.com/Krisell) in [https://github.com/vitest-dev/vitest/issues/3583](https://github.com/vitest-dev/vitest/issues/3583) [<samp>(68985)</samp>](https://github.com/vitest-dev/vitest/commit/689855bb) - **browser**: - Change optimized deps to use `vitest` - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3580](https://github.com/vitest-dev/vitest/issues/3580) [<samp>(b4ac8)</samp>](https://github.com/vitest-dev/vitest/commit/b4ac88e9) - Access **vi_inject** only if it was injected - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3587](https://github.com/vitest-dev/vitest/issues/3587) [<samp>(d9e14)</samp>](https://github.com/vitest-dev/vitest/commit/d9e1419a) - **mocker**: - Respect namespace import when hoisting vi.mock - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3547](https://github.com/vitest-dev/vitest/issues/3547) [<samp>(158c4)</samp>](https://github.com/vitest-dev/vitest/commit/158c4bb0) - **ui**: - Navigate to dashboard when re-running tests from coverage page - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3529](https://github.com/vitest-dev/vitest/issues/3529) [<samp>(bc283)</samp>](https://github.com/vitest-dev/vitest/commit/bc283ae3) - **vite-node**: - Correctly resolve virtual modules - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3544](https://github.com/vitest-dev/vitest/issues/3544) [<samp>(0cbb0)</samp>](https://github.com/vitest-dev/vitest/commit/0cbb07b4) - Fix errors caused by commonjs export circular references - by [@​rxliuli](https://github.com/rxliuli) in [https://github.com/vitest-dev/vitest/issues/3570](https://github.com/vitest-dev/vitest/issues/3570) [<samp>(b097c)</samp>](https://github.com/vitest-dev/vitest/commit/b097cef8) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.32.0...v0.32.1) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/JoshuaKGoldberg/ts-api-utils). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi41LjMiLCJ1cGRhdGVkSW5WZXIiOiIzNi41LjMiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot
referenced
this pull request
in JoshuaKGoldberg/prettier-plugin-curly
Jul 9, 2023
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [vitest](https://github.com/vitest-dev/vitest) | [`^0.32.0` -> `^0.33.0`](https://renovatebot.com/diffs/npm/vitest/0.32.0/0.33.0) | [![age](https://badges.renovateapi.com/packages/npm/vitest/0.33.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/vitest/0.33.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/vitest/0.33.0/compatibility-slim/0.32.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/vitest/0.33.0/confidence-slim/0.32.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (vitest)</summary> ### [`v0.33.0`](https://github.com/vitest-dev/vitest/releases/tag/v0.33.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.32.4...v0.33.0) ##### 🚨 Breaking Changes - Revert default include patterns - by [@​so1ve](https://github.com/so1ve) [#​3729](https://github.com/vitest-dev/vitest/issues/3729) - `0.32.0` changed the default `include` globs to be compatible with Jest. After a discussion with the community, we are reverting this change because it turned out to be non-intuitive. ##### 🐞 Bug Fixes - Add missing JSDom living keys - by [@​DerZade](https://github.com/DerZade) in [https://github.com/vitest-dev/vitest/issues/3702](https://github.com/vitest-dev/vitest/issues/3702) [<samp>(83a86)</samp>](https://github.com/vitest-dev/vitest/commit/83a86a75) - **vite-node**: - Don't fail when importing Promise module - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(08192)</samp>](https://github.com/vitest-dev/vitest/commit/0819275a) - Allow importing node:test - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(db22c)</samp>](https://github.com/vitest-dev/vitest/commit/db22c677) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.32.4...v0.33.0) ### [`v0.32.4`](https://github.com/vitest-dev/vitest/releases/tag/v0.32.4) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.32.3...v0.32.4) ##### 🐞 Bug Fixes - **browser**: Correctly optimize CJS dependencies - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(3d090)</samp>](https://github.com/vitest-dev/vitest/commit/3d0908e7) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.32.3...v0.32.4) ### [`v0.32.3`](https://github.com/vitest-dev/vitest/releases/tag/v0.32.3) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.32.2...v0.32.3) ##### 🚀 Features - Add `concurrent` option to `sequence` config - by [@​fenghan34](https://github.com/fenghan34) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3604](https://github.com/vitest-dev/vitest/issues/3604) [<samp>(f427f)</samp>](https://github.com/vitest-dev/vitest/commit/f427f004) - Introduce global configuration for retry setting - by [@​imentu](https://github.com/imentu) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3598](https://github.com/vitest-dev/vitest/issues/3598) and [https://github.com/vitest-dev/vitest/issues/3603](https://github.com/vitest-dev/vitest/issues/3603) [<samp>(9a117)</samp>](https://github.com/vitest-dev/vitest/commit/9a117627) - Don't rely on util package in [@​vitest/utils](https://github.com/vitest/utils) - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3685](https://github.com/vitest-dev/vitest/issues/3685) [<samp>(f91da)</samp>](https://github.com/vitest-dev/vitest/commit/f91da484) - Support accessing other fixtures in fixture function - by [@​fenghan34](https://github.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3651](https://github.com/vitest-dev/vitest/issues/3651) [<samp>(1621c)</samp>](https://github.com/vitest-dev/vitest/commit/1621cc63) - Support use function/class as `bench` name - by [@​fenghan34](https://github.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3711](https://github.com/vitest-dev/vitest/issues/3711) [<samp>(a749a)</samp>](https://github.com/vitest-dev/vitest/commit/a749a6c0) - **reporters**: Show full test suite when testing 1 spec file at a time - by [@​Dunqing](https://github.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3543](https://github.com/vitest-dev/vitest/issues/3543) [<samp>(7531c)</samp>](https://github.com/vitest-dev/vitest/commit/7531c292) - **runner**: Support `test.extend` - by [@​fenghan34](https://github.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3554](https://github.com/vitest-dev/vitest/issues/3554) [<samp>(2db1a)</samp>](https://github.com/vitest-dev/vitest/commit/2db1a737) ##### 🐞 Bug Fixes - Remove "concordance" from dependencies list - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3597](https://github.com/vitest-dev/vitest/issues/3597) [<samp>(969dc)</samp>](https://github.com/vitest-dev/vitest/commit/969dcc14) - Show diff correctly - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3620](https://github.com/vitest-dev/vitest/issues/3620) [<samp>(73dd4)</samp>](https://github.com/vitest-dev/vitest/commit/73dd4ab5) - Util import - by [@​fubhy](https://github.com/fubhy) in [https://github.com/vitest-dev/vitest/issues/3621](https://github.com/vitest-dev/vitest/issues/3621) [<samp>(2fb4c)</samp>](https://github.com/vitest-dev/vitest/commit/2fb4ceff) - Compat with frozen Math - by [@​turadg](https://github.com/turadg) in [https://github.com/vitest-dev/vitest/issues/3527](https://github.com/vitest-dev/vitest/issues/3527) [<samp>(0db67)</samp>](https://github.com/vitest-dev/vitest/commit/0db67098) - `CTRL+C` to terminate run - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3642](https://github.com/vitest-dev/vitest/issues/3642) [<samp>(fa663)</samp>](https://github.com/vitest-dev/vitest/commit/fa6637d3) - Run mode stuck in TTY terminals - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3690](https://github.com/vitest-dev/vitest/issues/3690) [<samp>(141a8)</samp>](https://github.com/vitest-dev/vitest/commit/141a86ac) - Use first stack frame in json reporter - by [@​tim-smart](https://github.com/tim-smart) in [https://github.com/vitest-dev/vitest/issues/3645](https://github.com/vitest-dev/vitest/issues/3645) [<samp>(80ea7)</samp>](https://github.com/vitest-dev/vitest/commit/80ea7ef6) - Print actual number for `toBeCalledTimes` - by [@​antfu](https://github.com/antfu) in [https://github.com/vitest-dev/vitest/issues/3696](https://github.com/vitest-dev/vitest/issues/3696) [<samp>(d3640)</samp>](https://github.com/vitest-dev/vitest/commit/d3640437) - **benchmark**: - Don't fail when running correct benchmarks - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3629](https://github.com/vitest-dev/vitest/issues/3629) [<samp>(edad9)</samp>](https://github.com/vitest-dev/vitest/commit/edad9b19) - **browser**: - Correctly print diff - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3627](https://github.com/vitest-dev/vitest/issues/3627) [<samp>(d756e)</samp>](https://github.com/vitest-dev/vitest/commit/d756ee24) - Esm injector doesn't replace class expressions - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3641](https://github.com/vitest-dev/vitest/issues/3641) [<samp>(5c0ac)</samp>](https://github.com/vitest-dev/vitest/commit/5c0ac4ad) - Transform superclass identifier - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3681](https://github.com/vitest-dev/vitest/issues/3681) [<samp>(a1e04)</samp>](https://github.com/vitest-dev/vitest/commit/a1e043bd) - **coverage**: - `v8` to prevent crash on dynamic CJS files - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3657](https://github.com/vitest-dev/vitest/issues/3657) [<samp>(40f18)</samp>](https://github.com/vitest-dev/vitest/commit/40f18a07) - **runner**: - Make the default value of `retry` and `repeats` 0 - by [@​Dunqing](https://github.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3638](https://github.com/vitest-dev/vitest/issues/3638) [<samp>(6d146)</samp>](https://github.com/vitest-dev/vitest/commit/6d146d16) - **utils**: - Respect all flags in format function - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3695](https://github.com/vitest-dev/vitest/issues/3695) [<samp>(91e16)</samp>](https://github.com/vitest-dev/vitest/commit/91e1650e) - **watch**: - Cancel using `h` key - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3618](https://github.com/vitest-dev/vitest/issues/3618) [<samp>(60c36)</samp>](https://github.com/vitest-dev/vitest/commit/60c36faf) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.32.2...v0.32.3) ### [`v0.32.2`](https://github.com/vitest-dev/vitest/releases/tag/v0.32.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.32.1...v0.32.2) ##### 🐞 Bug Fixes - **browser**: Don't fail on importing diff-sequences - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(00b0e)</samp>](https://github.com/vitest-dev/vitest/commit/00b0e6a3) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.32.1...v0.32.2) ### [`v0.32.1`](https://github.com/vitest-dev/vitest/releases/tag/v0.32.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.32.0...v0.32.1) ##### 🚀 Features - Export `registerConsoleShortcuts` from `vitest/node` - by [@​deot](https://github.com/deot) in [https://github.com/vitest-dev/vitest/issues/3563](https://github.com/vitest-dev/vitest/issues/3563) [<samp>(bc49b)</samp>](https://github.com/vitest-dev/vitest/commit/bc49bac7) - **expect**: Support `expect.unreachable` - by [@​fenghan34](https://github.com/fenghan34) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3556](https://github.com/vitest-dev/vitest/issues/3556) [<samp>(8e385)</samp>](https://github.com/vitest-dev/vitest/commit/8e385bb0) - **runner**: `describe`/`test` name support anonymous function - by [@​btea](https://github.com/btea) in [https://github.com/vitest-dev/vitest/issues/3562](https://github.com/vitest-dev/vitest/issues/3562) [<samp>(3d436)</samp>](https://github.com/vitest-dev/vitest/commit/3d43638c) ##### 🐞 Bug Fixes - Avoid call stack recursion with large error (fix: [#​3060](https://github.com/vitest-dev/vitest/issues/3060)) - by [@​nathanmmiller](https://github.com/nathanmmiller) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3078](https://github.com/vitest-dev/vitest/issues/3078) and [https://github.com/vitest-dev/vitest/issues/3060](https://github.com/vitest-dev/vitest/issues/3060) [<samp>(02196)</samp>](https://github.com/vitest-dev/vitest/commit/02196f9d) - Automatically remove define related configuration - by [@​btea](https://github.com/btea) in [https://github.com/vitest-dev/vitest/issues/3552](https://github.com/vitest-dev/vitest/issues/3552) [<samp>(368b8)</samp>](https://github.com/vitest-dev/vitest/commit/368b8259) - Import `performance` from `perf_hooks` - by [@​Max10240](https://github.com/Max10240) and **wangbaolong.wbl** in [https://github.com/vitest-dev/vitest/issues/3578](https://github.com/vitest-dev/vitest/issues/3578) and [https://github.com/vitest-dev/vitest/issues/3579](https://github.com/vitest-dev/vitest/issues/3579) [<samp>(24ec8)</samp>](https://github.com/vitest-dev/vitest/commit/24ec85a8) - Revert concordance diff, use jest's diff output - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3582](https://github.com/vitest-dev/vitest/issues/3582) [<samp>(9c7ea)</samp>](https://github.com/vitest-dev/vitest/commit/9c7ea382) - Typo in config suggestion - by [@​Krisell](https://github.com/Krisell) in [https://github.com/vitest-dev/vitest/issues/3583](https://github.com/vitest-dev/vitest/issues/3583) [<samp>(68985)</samp>](https://github.com/vitest-dev/vitest/commit/689855bb) - **browser**: - Change optimized deps to use `vitest` - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3580](https://github.com/vitest-dev/vitest/issues/3580) [<samp>(b4ac8)</samp>](https://github.com/vitest-dev/vitest/commit/b4ac88e9) - Access **vi_inject** only if it was injected - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3587](https://github.com/vitest-dev/vitest/issues/3587) [<samp>(d9e14)</samp>](https://github.com/vitest-dev/vitest/commit/d9e1419a) - **mocker**: - Respect namespace import when hoisting vi.mock - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3547](https://github.com/vitest-dev/vitest/issues/3547) [<samp>(158c4)</samp>](https://github.com/vitest-dev/vitest/commit/158c4bb0) - **ui**: - Navigate to dashboard when re-running tests from coverage page - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3529](https://github.com/vitest-dev/vitest/issues/3529) [<samp>(bc283)</samp>](https://github.com/vitest-dev/vitest/commit/bc283ae3) - **vite-node**: - Correctly resolve virtual modules - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3544](https://github.com/vitest-dev/vitest/issues/3544) [<samp>(0cbb0)</samp>](https://github.com/vitest-dev/vitest/commit/0cbb07b4) - Fix errors caused by commonjs export circular references - by [@​rxliuli](https://github.com/rxliuli) in [https://github.com/vitest-dev/vitest/issues/3570](https://github.com/vitest-dev/vitest/issues/3570) [<samp>(b097c)</samp>](https://github.com/vitest-dev/vitest/commit/b097cef8) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.32.0...v0.32.1) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/JoshuaKGoldberg/prettier-plugin-curly). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi41LjMiLCJ1cGRhdGVkSW5WZXIiOiIzNi41LjMiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
marcustisater-kivra
referenced
this pull request
in kivra/toybox
Aug 15, 2023
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [vitest](https://github.com/vitest-dev/vitest) | [`0.31.0` -> `0.34.1`](https://renovatebot.com/diffs/npm/vitest/0.31.0/0.34.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/0.31.0/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/0.31.0/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (vitest)</summary> ### [`v0.34.1`](https://github.com/vitest-dev/vitest/releases/tag/v0.34.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.34.0...v0.34.1) ##### 🐞 Bug Fixes - Pass `--experimental-vm-worker-memory-limit` to `tinypool` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3856](https://github.com/vitest-dev/vitest/issues/3856) [<samp>(3c67a)</samp>](https://github.com/vitest-dev/vitest/commit/3c67a4cb) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.34.0...v0.34.1) ### [`v0.34.0`](https://github.com/vitest-dev/vitest/releases/tag/v0.34.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.33.0...v0.34.0) ##### 🚨 Breaking Changes - Transform mode affects only test files, not regular files - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3491](https://github.com/vitest-dev/vitest/issues/3491) [<samp>(9608b)</samp>](https://github.com/vitest-dev/vitest/commit/9608bf72) - `transformMode` is now moved to `server.transformMode`. This option is highly discouraged to use. If you need to change the transform mode, use the new option `testTransformMode` instead to control the mode based on the running test, not the current file path. By default, tests with `jsdom` or `happy-dom` use `web` transform mode, and tests using `node` or `edge` environment use `ssr` mode. If you have a custom environment, it should provide `transformMode` property. - Disable `coverage.reportOnFailure` by default - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3615](https://github.com/vitest-dev/vitest/issues/3615) [<samp>(0c6f6)</samp>](https://github.com/vitest-dev/vitest/commit/0c6f624f) - Remove `@vitest/coverage-c8` package - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3614](https://github.com/vitest-dev/vitest/issues/3614) [<samp>(a90d6)</samp>](https://github.com/vitest-dev/vitest/commit/a90d64fe) - `@vitest/coverage-c8` is no longer supported. Please, use `@vitest/coverage-v8` instead. - Support running tests using VM context - by [@​sheremet-va](https://github.com/sheremet-va) and [@​dammy001](https://github.com/dammy001) in [https://github.com/vitest-dev/vitest/issues/3203](https://github.com/vitest-dev/vitest/issues/3203) [<samp>(b0929)</samp>](https://github.com/vitest-dev/vitest/commit/b0929852) - To address speed issues in some applications, Vitest now provides `experimentalVmThreads` pool to run your tests using VM Sandboxes environment. Make sure you understand [all pitfalls](https://vitest.dev/config/#experimentalvmthreads) of this pool before opening an issue. - Introduce `server` option - by [@​fenghan34](https://github.com/fenghan34) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3725](https://github.com/vitest-dev/vitest/issues/3725) [<samp>(dc4fa)</samp>](https://github.com/vitest-dev/vitest/commit/dc4faf64) - Most of `deps.` options are now moved to `server.deps` with a deprecation warning. Please, consider using `deps.optimizer` instead of `deps.inline`/`deps.external`. Ideally, we would like to move away from using `server.deps.inline` altogether. - **vite-node**: Make CLI arguments parsing behavior consistent with node/tsx/ts-node - by [@​rxliuli](https://github.com/rxliuli) in [https://github.com/vitest-dev/vitest/issues/3574](https://github.com/vitest-dev/vitest/issues/3574) [<samp>(1cd4e)</samp>](https://github.com/vitest-dev/vitest/commit/1cd4eb0f) - You now have to provide CLI arguments before the entry point. For example, instead of `vite-node index.ts --watch`, you now have to do `vite-node --watch index.ts`. - Add preact example, remove optimizer experimental status, enable by default - by [@​sheremet-va](https://github.com/sheremet-va) and [@​eryue0220](https://github.com/eryue0220) in [https://github.com/vitest-dev/vitest/issues/3854](https://github.com/vitest-dev/vitest/issues/3854) [<samp>(4b946)</samp>](https://github.com/vitest-dev/vitest/commit/4b946ca9) - `deps.optimizer` is now enabled by default. This means that Vitest will bundle specified dependencies before running your tests. This field inherits options from `optimizeDeps` and `ssr.optimizeDeps` which are populated by other plugins (like, Svelte). ##### 🚀 Features - Support `describe.sequential` - by [@​fenghan34](https://github.com/fenghan34) and [@​dammy001](https://github.com/dammy001) in [https://github.com/vitest-dev/vitest/issues/3771](https://github.com/vitest-dev/vitest/issues/3771) [<samp>(86934)</samp>](https://github.com/vitest-dev/vitest/commit/8693449b) - Support config junit reporter className with env - by [@​InfiniteXyy](https://github.com/InfiniteXyy) in [https://github.com/vitest-dev/vitest/issues/3808](https://github.com/vitest-dev/vitest/issues/3808) [<samp>(e8bc4)</samp>](https://github.com/vitest-dev/vitest/commit/e8bc46b6) - Running vitest with `--related --watch` reruns non-affected tests if they were changed during a run - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3844](https://github.com/vitest-dev/vitest/issues/3844) [<samp>(c9aea)</samp>](https://github.com/vitest-dev/vitest/commit/c9aeac4c) ##### 🐞 Bug Fixes - Isolate workers between envs and workspaces - by [@​AriPerkkio](https://github.com/AriPerkkio) [<samp>(ed4e0)</samp>](https://github.com/vitest-dev/vitest/commit/ed4e0424) - Modify condition - by [@​btea](https://github.com/btea) [<samp>(a78e6)</samp>](https://github.com/vitest-dev/vitest/commit/a78e6bd0) - Module Graph view is blocking the Console view - by [@​g4rry420](https://github.com/g4rry420) [<samp>(3b5f9)</samp>](https://github.com/vitest-dev/vitest/commit/3b5f96bc) - Port the latest `defineConfig` type from vite - by [@​sodatea](https://github.com/sodatea) in [https://github.com/vitest-dev/vitest/issues/3804](https://github.com/vitest-dev/vitest/issues/3804) [<samp>(9c8e3)</samp>](https://github.com/vitest-dev/vitest/commit/9c8e3083) - Don't overwrite Node.js URL global - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3828](https://github.com/vitest-dev/vitest/issues/3828) [<samp>(cdab4)</samp>](https://github.com/vitest-dev/vitest/commit/cdab4651) - ForceRerunTriggers correctly triggers a rerun - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3829](https://github.com/vitest-dev/vitest/issues/3829) [<samp>(17988)</samp>](https://github.com/vitest-dev/vitest/commit/17988e51) - **browser**: - Don't inline magic-string and estree-walker - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3726](https://github.com/vitest-dev/vitest/issues/3726) [<samp>(ee937)</samp>](https://github.com/vitest-dev/vitest/commit/ee93762a) - Multi-suite coverage - by [@​elby22](https://github.com/elby22) in [https://github.com/vitest-dev/vitest/issues/3806](https://github.com/vitest-dev/vitest/issues/3806) [<samp>(5de9a)</samp>](https://github.com/vitest-dev/vitest/commit/5de9af26) - **core**: - DataView comparison does not work in `toStrictEqual` - by [@​Dunqing](https://github.com/Dunqing) [<samp>(52aef)</samp>](https://github.com/vitest-dev/vitest/commit/52aef92e) - **coverage**: - V8 provider to pick source maps without url query params - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3784](https://github.com/vitest-dev/vitest/issues/3784) [<samp>(280e6)</samp>](https://github.com/vitest-dev/vitest/commit/280e6745) - Update `istanbul-lib-instrument` to v6 to fix vulnerable dependency - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3814](https://github.com/vitest-dev/vitest/issues/3814) [<samp>(f3bd9)</samp>](https://github.com/vitest-dev/vitest/commit/f3bd9102) - Exclude vite virtual modules by default - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3794](https://github.com/vitest-dev/vitest/issues/3794) [<samp>(3c851)</samp>](https://github.com/vitest-dev/vitest/commit/3c851872) - **node**: - Guard error info - by [@​btea](https://github.com/btea) [<samp>(88b39)</samp>](https://github.com/vitest-dev/vitest/commit/88b39758) - **vite-node**: - Always treat node_modules as modulesDirectory - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3830](https://github.com/vitest-dev/vitest/issues/3830) [<samp>(51ab8)</samp>](https://github.com/vitest-dev/vitest/commit/51ab8d6c) - Normalize drive letter to keep the same reference to a module - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3836](https://github.com/vitest-dev/vitest/issues/3836) [<samp>(45521)</samp>](https://github.com/vitest-dev/vitest/commit/45521859) - Correctly resolve hmr filepath - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3834](https://github.com/vitest-dev/vitest/issues/3834) [<samp>(711a6)</samp>](https://github.com/vitest-dev/vitest/commit/711a6249) - **watch**: - Clear screen on all terminals - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3661](https://github.com/vitest-dev/vitest/issues/3661) [<samp>(8bd26)</samp>](https://github.com/vitest-dev/vitest/commit/8bd26b01) ##### 🏎 Performance - Deprecate deps.registerNodeLoader - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(7f45b)</samp>](https://github.com/vitest-dev/vitest/commit/7f45bf2d) - This option was introduced to support aliasing inside external packages. Please, use `deps.optimizer.web` instead. If you test Node.js applications, consider adding external packages to `server.deps.inline`. ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.33.0...v0.34.0) ### [`v0.33.0`](https://github.com/vitest-dev/vitest/releases/tag/v0.33.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.32.4...v0.33.0) ##### 🚨 Breaking Changes - Revert default include patterns - by [@​so1ve](https://github.com/so1ve) [#​3729](https://github.com/vitest-dev/vitest/issues/3729) - `0.32.0` changed the default `include` globs to be compatible with Jest. After a discussion with the community, we are reverting this change because it turned out to be non-intuitive. ##### 🐞 Bug Fixes - Add missing JSDom living keys - by [@​DerZade](https://github.com/DerZade) in [https://github.com/vitest-dev/vitest/issues/3702](https://github.com/vitest-dev/vitest/issues/3702) [<samp>(83a86)</samp>](https://github.com/vitest-dev/vitest/commit/83a86a75) - **vite-node**: - Don't fail when importing Promise module - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(08192)</samp>](https://github.com/vitest-dev/vitest/commit/0819275a) - Allow importing node:test - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(db22c)</samp>](https://github.com/vitest-dev/vitest/commit/db22c677) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.32.4...v0.33.0) ### [`v0.32.4`](https://github.com/vitest-dev/vitest/releases/tag/v0.32.4) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.32.3...v0.32.4) ##### 🐞 Bug Fixes - **browser**: Correctly optimize CJS dependencies - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(3d090)</samp>](https://github.com/vitest-dev/vitest/commit/3d0908e7) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.32.3...v0.32.4) ### [`v0.32.3`](https://github.com/vitest-dev/vitest/releases/tag/v0.32.3) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.32.2...v0.32.3) ##### 🚀 Features - Add `concurrent` option to `sequence` config - by [@​fenghan34](https://github.com/fenghan34) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3604](https://github.com/vitest-dev/vitest/issues/3604) [<samp>(f427f)</samp>](https://github.com/vitest-dev/vitest/commit/f427f004) - Introduce global configuration for retry setting - by [@​imentu](https://github.com/imentu) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3598](https://github.com/vitest-dev/vitest/issues/3598) and [https://github.com/vitest-dev/vitest/issues/3603](https://github.com/vitest-dev/vitest/issues/3603) [<samp>(9a117)</samp>](https://github.com/vitest-dev/vitest/commit/9a117627) - Don't rely on util package in [@​vitest/utils](https://github.com/vitest/utils) - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3685](https://github.com/vitest-dev/vitest/issues/3685) [<samp>(f91da)</samp>](https://github.com/vitest-dev/vitest/commit/f91da484) - Support accessing other fixtures in fixture function - by [@​fenghan34](https://github.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3651](https://github.com/vitest-dev/vitest/issues/3651) [<samp>(1621c)</samp>](https://github.com/vitest-dev/vitest/commit/1621cc63) - Support use function/class as `bench` name - by [@​fenghan34](https://github.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3711](https://github.com/vitest-dev/vitest/issues/3711) [<samp>(a749a)</samp>](https://github.com/vitest-dev/vitest/commit/a749a6c0) - **reporters**: Show full test suite when testing 1 spec file at a time - by [@​Dunqing](https://github.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3543](https://github.com/vitest-dev/vitest/issues/3543) [<samp>(7531c)</samp>](https://github.com/vitest-dev/vitest/commit/7531c292) - **runner**: Support `test.extend` - by [@​fenghan34](https://github.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3554](https://github.com/vitest-dev/vitest/issues/3554) [<samp>(2db1a)</samp>](https://github.com/vitest-dev/vitest/commit/2db1a737) ##### 🐞 Bug Fixes - Remove "concordance" from dependencies list - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3597](https://github.com/vitest-dev/vitest/issues/3597) [<samp>(969dc)</samp>](https://github.com/vitest-dev/vitest/commit/969dcc14) - Show diff correctly - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3620](https://github.com/vitest-dev/vitest/issues/3620) [<samp>(73dd4)</samp>](https://github.com/vitest-dev/vitest/commit/73dd4ab5) - Util import - by [@​fubhy](https://github.com/fubhy) in [https://github.com/vitest-dev/vitest/issues/3621](https://github.com/vitest-dev/vitest/issues/3621) [<samp>(2fb4c)</samp>](https://github.com/vitest-dev/vitest/commit/2fb4ceff) - Compat with frozen Math - by [@​turadg](https://github.com/turadg) in [https://github.com/vitest-dev/vitest/issues/3527](https://github.com/vitest-dev/vitest/issues/3527) [<samp>(0db67)</samp>](https://github.com/vitest-dev/vitest/commit/0db67098) - `CTRL+C` to terminate run - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3642](https://github.com/vitest-dev/vitest/issues/3642) [<samp>(fa663)</samp>](https://github.com/vitest-dev/vitest/commit/fa6637d3) - Run mode stuck in TTY terminals - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3690](https://github.com/vitest-dev/vitest/issues/3690) [<samp>(141a8)</samp>](https://github.com/vitest-dev/vitest/commit/141a86ac) - Use first stack frame in json reporter - by [@​tim-smart](https://github.com/tim-smart) in [https://github.com/vitest-dev/vitest/issues/3645](https://github.com/vitest-dev/vitest/issues/3645) [<samp>(80ea7)</samp>](https://github.com/vitest-dev/vitest/commit/80ea7ef6) - Print actual number for `toBeCalledTimes` - by [@​antfu](https://github.com/antfu) in [https://github.com/vitest-dev/vitest/issues/3696](https://github.com/vitest-dev/vitest/issues/3696) [<samp>(d3640)</samp>](https://github.com/vitest-dev/vitest/commit/d3640437) - **benchmark**: - Don't fail when running correct benchmarks - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3629](https://github.com/vitest-dev/vitest/issues/3629) [<samp>(edad9)</samp>](https://github.com/vitest-dev/vitest/commit/edad9b19) - **browser**: - Correctly print diff - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3627](https://github.com/vitest-dev/vitest/issues/3627) [<samp>(d756e)</samp>](https://github.com/vitest-dev/vitest/commit/d756ee24) - Esm injector doesn't replace class expressions - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3641](https://github.com/vitest-dev/vitest/issues/3641) [<samp>(5c0ac)</samp>](https://github.com/vitest-dev/vitest/commit/5c0ac4ad) - Transform superclass identifier - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3681](https://github.com/vitest-dev/vitest/issues/3681) [<samp>(a1e04)</samp>](https://github.com/vitest-dev/vitest/commit/a1e043bd) - **coverage**: - `v8` to prevent crash on dynamic CJS files - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3657](https://github.com/vitest-dev/vitest/issues/3657) [<samp>(40f18)</samp>](https://github.com/vitest-dev/vitest/commit/40f18a07) - **runner**: - Make the default value of `retry` and `repeats` 0 - by [@​Dunqing](https://github.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3638](https://github.com/vitest-dev/vitest/issues/3638) [<samp>(6d146)</samp>](https://github.com/vitest-dev/vitest/commit/6d146d16) - **utils**: - Respect all flags in format function - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3695](https://github.com/vitest-dev/vitest/issues/3695) [<samp>(91e16)</samp>](https://github.com/vitest-dev/vitest/commit/91e1650e) - **watch**: - Cancel using `h` key - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3618](https://github.com/vitest-dev/vitest/issues/3618) [<samp>(60c36)</samp>](https://github.com/vitest-dev/vitest/commit/60c36faf) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.32.2...v0.32.3) ### [`v0.32.2`](https://github.com/vitest-dev/vitest/releases/tag/v0.32.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.32.1...v0.32.2) ##### 🐞 Bug Fixes - **browser**: Don't fail on importing diff-sequences - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(00b0e)</samp>](https://github.com/vitest-dev/vitest/commit/00b0e6a3) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.32.1...v0.32.2) ### [`v0.32.1`](https://github.com/vitest-dev/vitest/releases/tag/v0.32.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.32.0...v0.32.1) ##### 🚀 Features - Export `registerConsoleShortcuts` from `vitest/node` - by [@​deot](https://github.com/deot) in [https://github.com/vitest-dev/vitest/issues/3563](https://github.com/vitest-dev/vitest/issues/3563) [<samp>(bc49b)</samp>](https://github.com/vitest-dev/vitest/commit/bc49bac7) - **expect**: Support `expect.unreachable` - by [@​fenghan34](https://github.com/fenghan34) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3556](https://github.com/vitest-dev/vitest/issues/3556) [<samp>(8e385)</samp>](https://github.com/vitest-dev/vitest/commit/8e385bb0) - **runner**: `describe`/`test` name support anonymous function - by [@​btea](https://github.com/btea) in [https://github.com/vitest-dev/vitest/issues/3562](https://github.com/vitest-dev/vitest/issues/3562) [<samp>(3d436)</samp>](https://github.com/vitest-dev/vitest/commit/3d43638c) ##### 🐞 Bug Fixes - Avoid call stack recursion with large error (fix: [#​3060](https://github.com/vitest-dev/vitest/issues/3060)) - by [@​nathanmmiller](https://github.com/nathanmmiller) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3078](https://github.com/vitest-dev/vitest/issues/3078) and [https://github.com/vitest-dev/vitest/issues/3060](https://github.com/vitest-dev/vitest/issues/3060) [<samp>(02196)</samp>](https://github.com/vitest-dev/vitest/commit/02196f9d) - Automatically remove define related configuration - by [@​btea](https://github.com/btea) in [https://github.com/vitest-dev/vitest/issues/3552](https://github.com/vitest-dev/vitest/issues/3552) [<samp>(368b8)</samp>](https://github.com/vitest-dev/vitest/commit/368b8259) - Import `performance` from `perf_hooks` - by [@​Max10240](https://github.com/Max10240) and **wangbaolong.wbl** in [https://github.com/vitest-dev/vitest/issues/3578](https://github.com/vitest-dev/vitest/issues/3578) and [https://github.com/vitest-dev/vitest/issues/3579](https://github.com/vitest-dev/vitest/issues/3579) [<samp>(24ec8)</samp>](https://github.com/vitest-dev/vitest/commit/24ec85a8) - Revert concordance diff, use jest's diff output - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3582](https://github.com/vitest-dev/vitest/issues/3582) [<samp>(9c7ea)</samp>](https://github.com/vitest-dev/vitest/commit/9c7ea382) - Typo in config suggestion - by [@​Krisell](https://github.com/Krisell) in [https://github.com/vitest-dev/vitest/issues/3583](https://github.com/vitest-dev/vitest/issues/3583) [<samp>(68985)</samp>](https://github.com/vitest-dev/vitest/commit/689855bb) - **browser**: - Change optimized deps to use `vitest` - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3580](https://github.com/vitest-dev/vitest/issues/3580) [<samp>(b4ac8)</samp>](https://github.com/vitest-dev/vitest/commit/b4ac88e9) - Access **vi_inject** only if it was injected - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3587](https://github.com/vitest-dev/vitest/issues/3587) [<samp>(d9e14)</samp>](https://github.com/vitest-dev/vitest/commit/d9e1419a) - **mocker**: - Respect namespace import when hoisting vi.mock - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3547](https://github.com/vitest-dev/vitest/issues/3547) [<samp>(158c4)</samp>](https://github.com/vitest-dev/vitest/commit/158c4bb0) - **ui**: - Navigate to dashboard when re-running tests from coverage page - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3529](https://github.com/vitest-dev/vitest/issues/3529) [<samp>(bc283)</samp>](https://github.com/vitest-dev/vitest/commit/bc283ae3) - **vite-node**: - Correctly resolve virtual modules - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3544](https://github.com/vitest-dev/vitest/issues/3544) [<samp>(0cbb0)</samp>](https://github.com/vitest-dev/vitest/commit/0cbb07b4) - Fix errors caused by commonjs export circular references - by [@​rxliuli](https://github.com/rxliuli) in [https://github.com/vitest-dev/vitest/issues/3570](https://github.com/vitest-dev/vitest/issues/3570) [<samp>(b097c)</samp>](https://github.com/vitest-dev/vitest/commit/b097cef8) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.32.0...v0.32.1) ### [`v0.32.0`](https://github.com/vitest-dev/vitest/releases/tag/v0.32.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.31.4...v0.32.0) ##### 🚨 Breaking Changes - Throw an error, if the module cannot be resolved - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3307](https://github.com/vitest-dev/vitest/issues/3307) [<samp>(1ad63)</samp>](https://github.com/vitest-dev/vitest/commit/1ad63b0c) - 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 "worked". 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. - Improve globs - by [@​nickmccurdy](https://github.com/nickmccurdy) in [https://github.com/vitest-dev/vitest/issues/3392](https://github.com/vitest-dev/vitest/issues/3392) [<samp>(19ecc)</samp>](https://github.com/vitest-dev/vitest/commit/19ecc6c7) - 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 `test.js` to be a test file. Also any file in `__tests__` is now considered to be a test, not just files with `test` or `spec` suffix. - Add `@vitest/coverage-v8` package - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3339](https://github.com/vitest-dev/vitest/issues/3339) [<samp>(82112)</samp>](https://github.com/vitest-dev/vitest/commit/821126f1) - Vitest now uses v8 code coverage directly for better performance. `@vitest/coverage-c8` 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 `c8` as their coverage provider. Please, install the new `@vitest/coverage-v8` package if you previously used `@vitest/coverage-c8`. - **mocker**: Don't restore mock to the original if the module is automocked - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3518](https://github.com/vitest-dev/vitest/issues/3518) [<samp>(c1004)</samp>](https://github.com/vitest-dev/vitest/commit/c1004e14) - `spy.mockRestore` on auto-mocked named exports will no longer restore their implementation to the actual function. This behavior better matches what Jest does. ##### 🚀 Features - Support ssr optimizer - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3490](https://github.com/vitest-dev/vitest/issues/3490) [<samp>(89842)</samp>](https://github.com/vitest-dev/vitest/commit/898422b0) - Image type add apng - by [@​btea](https://github.com/btea) in [https://github.com/vitest-dev/vitest/issues/3498](https://github.com/vitest-dev/vitest/issues/3498) [<samp>(a53c2)</samp>](https://github.com/vitest-dev/vitest/commit/a53c2151) - **expect**: Support `expect.soft` - by [@​Dunqing](https://github.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3507](https://github.com/vitest-dev/vitest/issues/3507) [<samp>(7c687)</samp>](https://github.com/vitest-dev/vitest/commit/7c687ada) - **runner**: Support using function/class as `describe`/`test` name - by [@​fenghan34](https://github.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3497](https://github.com/vitest-dev/vitest/issues/3497) [<samp>(15253)</samp>](https://github.com/vitest-dev/vitest/commit/15253890) ##### 🐞 Bug Fixes - The cli option is passed to coverage.exclude - by [@​btea](https://github.com/btea) in [https://github.com/vitest-dev/vitest/issues/3506](https://github.com/vitest-dev/vitest/issues/3506) [<samp>(c37cd)</samp>](https://github.com/vitest-dev/vitest/commit/c37cdebe) - **optimizer**: Always respect optimizeDeps even if include/exclude is overridden - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3488](https://github.com/vitest-dev/vitest/issues/3488) [<samp>(eb285)</samp>](https://github.com/vitest-dev/vitest/commit/eb285ea0) - **runner**: Ensure Vitest is deduped - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3489](https://github.com/vitest-dev/vitest/issues/3489) [<samp>(2deb7)</samp>](https://github.com/vitest-dev/vitest/commit/2deb70ab) - **ui**: Don't cache coverage assets - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3508](https://github.com/vitest-dev/vitest/issues/3508) [<samp>(952b5)</samp>](https://github.com/vitest-dev/vitest/commit/952b5be6) - **vite-node**: Circular import stuck - by [@​Dunqing](https://github.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3480](https://github.com/vitest-dev/vitest/issues/3480) [<samp>(50f07)</samp>](https://github.com/vitest-dev/vitest/commit/50f0700d) - **watch**: Junit reporter fails to re-generate report - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3496](https://github.com/vitest-dev/vitest/issues/3496) [<samp>(5b73c)</samp>](https://github.com/vitest-dev/vitest/commit/5b73cbf8) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.31.4...v0.32.0) ### [`v0.31.4`](https://github.com/vitest-dev/vitest/releases/tag/v0.31.4) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.31.3...v0.31.4) ##### 🚀 Features - Enable experimentalOptimizer - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3413](https://github.com/vitest-dev/vitest/issues/3413) [<samp>(5a894)</samp>](https://github.com/vitest-dev/vitest/commit/5a894aa2) ##### 🐞 Bug Fixes - **vite-node**: Deps.inline doesn't work - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3485](https://github.com/vitest-dev/vitest/issues/3485) [<samp>(be930)</samp>](https://github.com/vitest-dev/vitest/commit/be93032f) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.31.3...v0.31.4) ### [`v0.31.3`](https://github.com/vitest-dev/vitest/releases/tag/v0.31.3) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.31.2...v0.31.3) ##### 🚀 Features - Support `VITE_NODE_DEPS_MODULE_DIRECTORIES` from .npmrc - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3471](https://github.com/vitest-dev/vitest/issues/3471) [<samp>(393bf)</samp>](https://github.com/vitest-dev/vitest/commit/393bf60c) ##### 🐞 Bug Fixes - **logger**: Print unhandled errors before summary - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3474](https://github.com/vitest-dev/vitest/issues/3474) [<samp>(4c9a7)</samp>](https://github.com/vitest-dev/vitest/commit/4c9a7d58) - **runner**: Suite options do not propagate to nested suites (fix: [#​3467](https://github.com/vitest-dev/vitest/issues/3467)) - by [@​xsjcTony](https://github.com/xsjcTony) in [https://github.com/vitest-dev/vitest/issues/3473](https://github.com/vitest-dev/vitest/issues/3473) and [https://github.com/vitest-dev/vitest/issues/3467](https://github.com/vitest-dev/vitest/issues/3467) [<samp>(9fb9d)</samp>](https://github.com/vitest-dev/vitest/commit/9fb9dacb) - **vite-node**: Clear importers when invalidating module - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3475](https://github.com/vitest-dev/vitest/issues/3475) [<samp>(add29)</samp>](https://github.com/vitest-dev/vitest/commit/add29c86) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.31.2...v0.31.3) ### [`v0.31.2`](https://github.com/vitest-dev/vitest/releases/tag/v0.31.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.31.1...v0.31.2) ##### 🚀 Features - Throw error if using inline snapshot inside of `test.each` or `describe.each` - by [@​fenghan34](https://github.com/fenghan34) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3360](https://github.com/vitest-dev/vitest/issues/3360) [<samp>(7c2f7)</samp>](https://github.com/vitest-dev/vitest/commit/7c2f7088) - Pass down meta information to Node.js process - by [@​sheremet-va](https://github.com/sheremet-va) and [@​dammy001](https://github.com/dammy001) in [https://github.com/vitest-dev/vitest/issues/3449](https://github.com/vitest-dev/vitest/issues/3449) [<samp>(e39ad)</samp>](https://github.com/vitest-dev/vitest/commit/e39adea8) - **coverage**: Add `reportOnFailure` option - by [@​AriPerkkio](https://github.com/AriPerkkio) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3453](https://github.com/vitest-dev/vitest/issues/3453) [<samp>(1988f)</samp>](https://github.com/vitest-dev/vitest/commit/1988fcb4) - **dev**: Add moduleDirectories option to the vitest config - by [@​fooddilsn](https://github.com/fooddilsn) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3337](https://github.com/vitest-dev/vitest/issues/3337) [<samp>(b3602)</samp>](https://github.com/vitest-dev/vitest/commit/b3602bcc) ##### 🐞 Bug Fixes - Don't print empty diff - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3437](https://github.com/vitest-dev/vitest/issues/3437) [<samp>(32b53)</samp>](https://github.com/vitest-dev/vitest/commit/32b5361f) - Don't restore methods in automocked dependencies - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3438](https://github.com/vitest-dev/vitest/issues/3438) [<samp>(d1afd)</samp>](https://github.com/vitest-dev/vitest/commit/d1afd262) - Dot reporter scrollback buffer spam - by [@​gtm-nayan](https://github.com/gtm-nayan) in [https://github.com/vitest-dev/vitest/issues/3415](https://github.com/vitest-dev/vitest/issues/3415) [<samp>(e6792)</samp>](https://github.com/vitest-dev/vitest/commit/e6792a94) - Gracefully exit when first `SIGINT` is received - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3407](https://github.com/vitest-dev/vitest/issues/3407) [<samp>(a2cc2)</samp>](https://github.com/vitest-dev/vitest/commit/a2cc2b38) - `rejects` & `resolves` breaks with thenable objects - by [@​fenghan34](https://github.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3456](https://github.com/vitest-dev/vitest/issues/3456) [<samp>(4e996)</samp>](https://github.com/vitest-dev/vitest/commit/4e996ae5) - Prevent `birpc` timeouts when `Math.random` mock is not restored - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3460](https://github.com/vitest-dev/vitest/issues/3460) [<samp>(cd5d5)</samp>](https://github.com/vitest-dev/vitest/commit/cd5d58b7) - Assertion diff message now handle non writable property correctly - by [@​PCreations](https://github.com/PCreations) in [https://github.com/vitest-dev/vitest/issues/3422](https://github.com/vitest-dev/vitest/issues/3422) [<samp>(f75ab)</samp>](https://github.com/vitest-dev/vitest/commit/f75ab650) - Extend logging of process timeout errors - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3452](https://github.com/vitest-dev/vitest/issues/3452) [<samp>(42643)</samp>](https://github.com/vitest-dev/vitest/commit/42643904) - Support requiring files with `less` extension - by [@​rluvaton](https://github.com/rluvaton) in [https://github.com/vitest-dev/vitest/issues/3465](https://github.com/vitest-dev/vitest/issues/3465) [<samp>(4d045)</samp>](https://github.com/vitest-dev/vitest/commit/4d045695) - **cli**: - Improve colors used when erroring - by [@​ghiscoding](https://github.com/ghiscoding) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3349](https://github.com/vitest-dev/vitest/issues/3349) [<samp>(16681)</samp>](https://github.com/vitest-dev/vitest/commit/16681791) - **runner**: - Suite timeout does not take effect - by [@​btea](https://github.com/btea) in [https://github.com/vitest-dev/vitest/issues/3455](https://github.com/vitest-dev/vitest/issues/3455) [<samp>(82547)</samp>](https://github.com/vitest-dev/vitest/commit/82547376) - **spy**: - Don't print received calls if there are no calls - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3405](https://github.com/vitest-dev/vitest/issues/3405) [<samp>(41e11)</samp>](https://github.com/vitest-dev/vitest/commit/41e11dad) - **typecheck**: - Show tsc errors not related to test files - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3441](https://github.com/vitest-dev/vitest/issues/3441) [<samp>(a1da5)</samp>](https://github.com/vitest-dev/vitest/commit/a1da5714) - **types**: - Fix `PartialMock` with async TReturns - by [@​ghry5](https://github.com/ghry5) in [https://github.com/vitest-dev/vitest/issues/3462](https://github.com/vitest-dev/vitest/issues/3462) [<samp>(b664d)</samp>](https://github.com/vitest-dev/vitest/commit/b664d42c) - **vite-node**: - Circular import stuck - by [@​Dunqing](https://github.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3418](https://github.com/vitest-dev/vitest/issues/3418) [<samp>(632ee)</samp>](https://github.com/vitest-dev/vitest/commit/632eef40) - Coerce to string in import(dep) - by [@​jcbhmr](https://github.com/jcbhmr) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3430](https://github.com/vitest-dev/vitest/issues/3430) [<samp>(b72eb)</samp>](https://github.com/vitest-dev/vitest/commit/b72ebdb9) - Don't remove sourcemap string in source code - by [@​rxliuli](https://github.com/rxliuli) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2918](https://github.com/vitest-dev/vitest/issues/2918) and [https://github.com/vitest-dev/vitest/issues/3379](https://github.com/vitest-dev/vitest/issues/3379) [<samp>(02dc9)</samp>](https://github.com/vitest-dev/vitest/commit/02dc9ea7) - Don't externalize "dist" by default - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3446](https://github.com/vitest-dev/vitest/issues/3446) [<samp>(306b2)</samp>](https://github.com/vitest-dev/vitest/commit/306b2337) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.31.1...v0.31.2) ### [`v0.31.1`](https://github.com/vitest-dev/vitest/releases/tag/v0.31.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.31.0...v0.31.1) ##### 🚀 Features - **watch**: Press `r` should rerun current pattern tests - by [@​Dunqing](https://github.com/Dunqing) and [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3305](https://github.com/vitest-dev/vitest/issues/3305) [<samp>(69d27)</samp>](https://github.com/vitest-dev/vitest/commit/69d27117) ##### 🐞 Bug Fixes - Make sure thrown error is an object - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3298](https://github.com/vitest-dev/vitest/issues/3298) [<samp>(a93be)</samp>](https://github.com/vitest-dev/vitest/commit/a93be56c) - Remove duplicate type - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3303](https://github.com/vitest-dev/vitest/issues/3303) [<samp>(5382e)</samp>](https://github.com/vitest-dev/vitest/commit/5382e8b6) - Throw an error, if tests are collected with a different vitest version - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3301](https://github.com/vitest-dev/vitest/issues/3301) [<samp>(708b1)</samp>](https://github.com/vitest-dev/vitest/commit/708b10fe) - Support application/x-gzip metadata in html report - by [@​mzanelee](https://github.com/mzanelee) and **Michael Lee** in [https://github.com/vitest-dev/vitest/issues/3333](https://github.com/vitest-dev/vitest/issues/3333) [<samp>(5bf7e)</samp>](https://github.com/vitest-dev/vitest/commit/5bf7eb6e) - Correctly restore vi.fn implementation - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3341](https://github.com/vitest-dev/vitest/issues/3341) [<samp>(2aff8)</samp>](https://github.com/vitest-dev/vitest/commit/2aff8c5f) - Display error message correctly - by [@​btea](https://github.com/btea) in [https://github.com/vitest-dev/vitest/issues/3314](https://github.com/vitest-dev/vitest/issues/3314) [<samp>(a5b3d)</samp>](https://github.com/vitest-dev/vitest/commit/a5b3d78e) - Exclude `cwd` from test name filter - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3353](https://github.com/vitest-dev/vitest/issues/3353) [<samp>(324a9)</samp>](https://github.com/vitest-dev/vitest/commit/324a9b54) - Check error type before modifying it - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3385](https://github.com/vitest-dev/vitest/issues/3385) [<samp>(c44d9)</samp>](https://github.com/vitest-dev/vitest/commit/c44d9912) - `toMatchInlineSnapshot` fails when file path includes parentheses - by [@​pacexy](https://github.com/pacexy) in [https://github.com/vitest-dev/vitest/issues/3370](https://github.com/vitest-dev/vitest/issues/3370) and [https://github.com/vitest-dev/vitest/issues/3371](https://github.com/vitest-dev/vitest/issues/3371) [<samp>(dcf13)</samp>](https://github.com/vitest-dev/vitest/commit/dcf1346a) - Stop spying on a method, when it's restored - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3386](https://github.com/vitest-dev/vitest/issues/3386) [<samp>(2cb1a)</samp>](https://github.com/vitest-dev/vitest/commit/2cb1a15a) - Test repeats - by [@​fenghan34](https://github.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3369](https://github.com/vitest-dev/vitest/issues/3369) [<samp>(fb8fc)</samp>](https://github.com/vitest-dev/vitest/commit/fb8fc7ab) - **browser**: - Throw an error if test failed to load - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3390](https://github.com/vitest-dev/vitest/issues/3390) [<samp>(b354b)</samp>](https://github.com/vitest-dev/vitest/commit/b354bc1c) - Keep default export when rewriting exports - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3389](https://github.com/vitest-dev/vitest/issues/3389) [<samp>(6501d)</samp>](https://github.com/vitest-dev/vitest/commit/6501d2e3) - **cli**: - Improve cac errors when mixing boolean and dot notation - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3302](https://github.com/vitest-dev/vitest/issues/3302) [<samp>(93fbd)</samp>](https://github.com/vitest-dev/vitest/commit/93fbd02d) - **reporter**: - Prevent deleting test reports stored in coverage directory - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3331](https://github.com/vitest-dev/vitest/issues/3331) [<samp>(ddbba)</samp>](https://github.com/vitest-dev/vitest/commit/ddbba396) - **typecheck**: - Correctly resolve custom tsconfig path - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3342](https://github.com/vitest-dev/vitest/issues/3342) [<samp>(c53ae)</samp>](https://github.com/vitest-dev/vitest/commit/c53ae079) - **vite-node**: - Allow returning id not wrapped in promise - by [@​danielroe](https://github.com/danielroe) in [https://github.com/vitest-dev/vitest/issues/3312](https://github.com/vitest-dev/vitest/issues/3312) [<samp>(9836c)</samp>](https://github.com/vitest-dev/vitest/commit/9836ccb4) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.31.0...v0.31.1) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/kivra/toybox). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4yNy4xIiwidXBkYXRlZEluVmVyIjoiMzYuMjcuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Marcus Tisäter <77273035+marcustisater-kivra@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Close #3519