-
-
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: reporter to log version before provider initalizations #3131
fix: reporter to log version before provider initalizations #3131
Conversation
This is a breaking change because custom reporters don't have access to the coverage reporter in |
Oh right, I missed that one completely. Another option is to add a version number logging here: vitest/packages/vitest/src/node/cli-api.ts Lines 95 to 103 in 5b85635
But then it could be printed twice if the error occurs after I'm not sure if custom test reporters should ever call the |
05f518a
to
630b7db
Compare
[![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://togithub.com/vitest-dev/vitest) | [`^0.30.1` -> `^0.31.0`](https://renovatebot.com/diffs/npm/vitest/0.30.1/0.31.0) | [![age](https://badges.renovateapi.com/packages/npm/vitest/0.31.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/vitest/0.31.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/vitest/0.31.0/compatibility-slim/0.30.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/vitest/0.31.0/confidence-slim/0.30.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest</summary> ### [`v0.31.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.31.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.30.1...v0.31.0) ##### 🚨 Breaking Changes - Update mock implementation to support ESM runtime, introduce "vi.hoisted" - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3258](https://togithub.com/vitest-dev/vitest/issues/3258) [<samp>(0c09a)</samp>](https://togithub.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.mocked('./path/to/module.js', () => { return { originalMethod: mockedMethod } }) ``` - Move assertion declarations to expect package - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3294](https://togithub.com/vitest-dev/vitest/issues/3294) [<samp>(cf3af)</samp>](https://togithub.com/vitest-dev/vitest/commit/cf3afe2b) - The change should be minor: ```diff - declare namespace Vi { + declare module '@​vitest/expect' { interface Assertion<T = any> extends CustomMatchers<T> {} interface AsymmetricMatchersContaining extends CustomMatchers {} } ``` ##### 🚀 Features - Add repeat method to tests - by [@​samkevin1](https://togithub.com/samkevin1) in [https://github.com/vitest-dev/vitest/issues/2652](https://togithub.com/vitest-dev/vitest/issues/2652) [<samp>(7c8f0)</samp>](https://togithub.com/vitest-dev/vitest/commit/7c8f0ba9) - Add an option to hide skipped test lines - by [@​g4rry420](https://togithub.com/g4rry420) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2745](https://togithub.com/vitest-dev/vitest/issues/2745) [<samp>(9bdb1)</samp>](https://togithub.com/vitest-dev/vitest/commit/9bdb1603) - **coverage**: Watermarks for c8 - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3254](https://togithub.com/vitest-dev/vitest/issues/3254) [<samp>(730af)</samp>](https://togithub.com/vitest-dev/vitest/commit/730af0b4) - **ui**: Add html coverage - by [@​userquin](https://togithub.com/userquin) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3071](https://togithub.com/vitest-dev/vitest/issues/3071) [<samp>(e24cd)</samp>](https://togithub.com/vitest-dev/vitest/commit/e24cd9b2) - **watch**: Test run cancelling, feat: `--bail` option for cancelling test run - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3163](https://togithub.com/vitest-dev/vitest/issues/3163) [<samp>(8d460)</samp>](https://togithub.com/vitest-dev/vitest/commit/8d4606eb) ##### 🐞 Bug Fixes - Don't call global setup teardown twice - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3188](https://togithub.com/vitest-dev/vitest/issues/3188) [<samp>(ba3d1)</samp>](https://togithub.com/vitest-dev/vitest/commit/ba3d1338) - Reporter to log version before provider initalizations - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3131](https://togithub.com/vitest-dev/vitest/issues/3131) [<samp>(481b1)</samp>](https://togithub.com/vitest-dev/vitest/commit/481b1fd2) - Throw an error if Vitest cannot access its internal state - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3250](https://togithub.com/vitest-dev/vitest/issues/3250) [<samp>(fbb14)</samp>](https://togithub.com/vitest-dev/vitest/commit/fbb1468e) - Warning suppression broken - by [@​IceQub3](https://togithub.com/IceQub3) in [https://github.com/vitest-dev/vitest/issues/3270](https://togithub.com/vitest-dev/vitest/issues/3270) and [https://github.com/vitest-dev/vitest/issues/3271](https://togithub.com/vitest-dev/vitest/issues/3271) [<samp>(036de)</samp>](https://togithub.com/vitest-dev/vitest/commit/036de797) - Show correct diff in "toHaveBeenCalledWith" - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3289](https://togithub.com/vitest-dev/vitest/issues/3289) [<samp>(19fcd)</samp>](https://togithub.com/vitest-dev/vitest/commit/19fcd8df) - Don't print esm warning, if package name is not found - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3292](https://togithub.com/vitest-dev/vitest/issues/3292) [<samp>(62c14)</samp>](https://togithub.com/vitest-dev/vitest/commit/62c14cba) - Support exactOptionalPropertyTypes - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3293](https://togithub.com/vitest-dev/vitest/issues/3293) [<samp>(ba81d)</samp>](https://togithub.com/vitest-dev/vitest/commit/ba81d8a3) - Don't inline vite hmr and rollup types - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3291](https://togithub.com/vitest-dev/vitest/issues/3291) [<samp>(1f118)</samp>](https://togithub.com/vitest-dev/vitest/commit/1f1189bc) - **browser**: - Failing to load vitest/utils - by [@​userquin](https://togithub.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3190](https://togithub.com/vitest-dev/vitest/issues/3190) [<samp>(78bad)</samp>](https://togithub.com/vitest-dev/vitest/commit/78bad4ab) - **coverage**: - `thresholdAutoUpdate` to work with `perFile` - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3182](https://togithub.com/vitest-dev/vitest/issues/3182) [<samp>(29eeb)</samp>](https://togithub.com/vitest-dev/vitest/commit/29eebf65) - Throw error if fail to load built-in provider - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3217](https://togithub.com/vitest-dev/vitest/issues/3217) [<samp>(0a287)</samp>](https://togithub.com/vitest-dev/vitest/commit/0a2875e3) - Stackblitz hangs with c8 - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3225](https://togithub.com/vitest-dev/vitest/issues/3225) [<samp>(d9fda)</samp>](https://togithub.com/vitest-dev/vitest/commit/d9fda2a1) - C8 to ignore vite's generated helpers - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3241](https://togithub.com/vitest-dev/vitest/issues/3241) [<samp>(21942)</samp>](https://togithub.com/vitest-dev/vitest/commit/21942db0) - Workspaces c8 source maps - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3226](https://togithub.com/vitest-dev/vitest/issues/3226) [<samp>(efce3)</samp>](https://togithub.com/vitest-dev/vitest/commit/efce3b4d) - **docs**: - Correct typo and broken link to WebdriverIO - by [@​nathanbabcock](https://togithub.com/nathanbabcock) in [https://github.com/vitest-dev/vitest/issues/3275](https://togithub.com/vitest-dev/vitest/issues/3275) [<samp>(c7da1)</samp>](https://togithub.com/vitest-dev/vitest/commit/c7da155f) - **spy**: - Update to set initial implementation through normal logic - by [@​Codex-](https://togithub.com/Codex-) in [https://github.com/vitest-dev/vitest/issues/3260](https://togithub.com/vitest-dev/vitest/issues/3260) and [https://github.com/vitest-dev/vitest/issues/3263](https://togithub.com/vitest-dev/vitest/issues/3263) [<samp>(c759a)</samp>](https://togithub.com/vitest-dev/vitest/commit/c759a9aa) - **vite-node**: - Circular imports - by [@​antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/3196](https://togithub.com/vitest-dev/vitest/issues/3196) [<samp>(cbb59)</samp>](https://togithub.com/vitest-dev/vitest/commit/cbb593a8) - Add missing `import.meta.hot.send` mock - by [@​antfu](https://togithub.com/antfu) [<samp>(b1624)</samp>](https://togithub.com/vitest-dev/vitest/commit/b1624db5) - **vitest**: - Also check for vite relative to vitest package - by [@​JoshuaKGoldberg](https://togithub.com/JoshuaKGoldberg) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3274](https://togithub.com/vitest-dev/vitest/issues/3274) [<samp>(a3393)</samp>](https://togithub.com/vitest-dev/vitest/commit/a3393b15) - **watch**: - Run test files when added to filesystem - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3189](https://togithub.com/vitest-dev/vitest/issues/3189) [<samp>(7b2c8)</samp>](https://togithub.com/vitest-dev/vitest/commit/7b2c81bc) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.30.1...v0.31.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://app.renovatebot.com/dashboard#github/creatorsgarten/contentsgarten). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS42OS4zIiwidXBkYXRlZEluVmVyIjoiMzUuNjkuMyIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![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://togithub.com/vitest-dev/vitest) | [`^0.30.1` -> `^0.31.0`](https://renovatebot.com/diffs/npm/vitest/0.30.1/0.31.0) | [![age](https://badges.renovateapi.com/packages/npm/vitest/0.31.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/vitest/0.31.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/vitest/0.31.0/compatibility-slim/0.30.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/vitest/0.31.0/confidence-slim/0.30.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest</summary> ### [`v0.31.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.31.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.30.1...v0.31.0) ##### 🚨 Breaking Changes - Update mock implementation to support ESM runtime, introduce "vi.hoisted" - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3258](https://togithub.com/vitest-dev/vitest/issues/3258) [<samp>(0c09a)</samp>](https://togithub.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.mocked('./path/to/module.js', () => { return { originalMethod: mockedMethod } }) ``` - Move assertion declarations to expect package - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3294](https://togithub.com/vitest-dev/vitest/issues/3294) [<samp>(cf3af)</samp>](https://togithub.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 - Add repeat method to tests - by [@​samkevin1](https://togithub.com/samkevin1) in [https://github.com/vitest-dev/vitest/issues/2652](https://togithub.com/vitest-dev/vitest/issues/2652) [<samp>(7c8f0)</samp>](https://togithub.com/vitest-dev/vitest/commit/7c8f0ba9) - Add an option to hide skipped test lines - by [@​g4rry420](https://togithub.com/g4rry420) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2745](https://togithub.com/vitest-dev/vitest/issues/2745) [<samp>(9bdb1)</samp>](https://togithub.com/vitest-dev/vitest/commit/9bdb1603) - **coverage**: Watermarks for c8 - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3254](https://togithub.com/vitest-dev/vitest/issues/3254) [<samp>(730af)</samp>](https://togithub.com/vitest-dev/vitest/commit/730af0b4) - **ui**: Add html coverage - by [@​userquin](https://togithub.com/userquin) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3071](https://togithub.com/vitest-dev/vitest/issues/3071) [<samp>(e24cd)</samp>](https://togithub.com/vitest-dev/vitest/commit/e24cd9b2) - **watch**: Test run cancelling, feat: `--bail` option for cancelling test run - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3163](https://togithub.com/vitest-dev/vitest/issues/3163) [<samp>(8d460)</samp>](https://togithub.com/vitest-dev/vitest/commit/8d4606eb) ##### 🐞 Bug Fixes - Don't call global setup teardown twice - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3188](https://togithub.com/vitest-dev/vitest/issues/3188) [<samp>(ba3d1)</samp>](https://togithub.com/vitest-dev/vitest/commit/ba3d1338) - Reporter to log version before provider initalizations - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3131](https://togithub.com/vitest-dev/vitest/issues/3131) [<samp>(481b1)</samp>](https://togithub.com/vitest-dev/vitest/commit/481b1fd2) - Throw an error if Vitest cannot access its internal state - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3250](https://togithub.com/vitest-dev/vitest/issues/3250) [<samp>(fbb14)</samp>](https://togithub.com/vitest-dev/vitest/commit/fbb1468e) - Warning suppression broken - by [@​IceQub3](https://togithub.com/IceQub3) in [https://github.com/vitest-dev/vitest/issues/3270](https://togithub.com/vitest-dev/vitest/issues/3270) and [https://github.com/vitest-dev/vitest/issues/3271](https://togithub.com/vitest-dev/vitest/issues/3271) [<samp>(036de)</samp>](https://togithub.com/vitest-dev/vitest/commit/036de797) - Show correct diff in "toHaveBeenCalledWith" - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3289](https://togithub.com/vitest-dev/vitest/issues/3289) [<samp>(19fcd)</samp>](https://togithub.com/vitest-dev/vitest/commit/19fcd8df) - Don't print esm warning, if package name is not found - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3292](https://togithub.com/vitest-dev/vitest/issues/3292) [<samp>(62c14)</samp>](https://togithub.com/vitest-dev/vitest/commit/62c14cba) - Support exactOptionalPropertyTypes - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3293](https://togithub.com/vitest-dev/vitest/issues/3293) [<samp>(ba81d)</samp>](https://togithub.com/vitest-dev/vitest/commit/ba81d8a3) - Don't inline vite hmr and rollup types - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3291](https://togithub.com/vitest-dev/vitest/issues/3291) [<samp>(1f118)</samp>](https://togithub.com/vitest-dev/vitest/commit/1f1189bc) - **browser**: - Failing to load vitest/utils - by [@​userquin](https://togithub.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3190](https://togithub.com/vitest-dev/vitest/issues/3190) [<samp>(78bad)</samp>](https://togithub.com/vitest-dev/vitest/commit/78bad4ab) - **coverage**: - `thresholdAutoUpdate` to work with `perFile` - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3182](https://togithub.com/vitest-dev/vitest/issues/3182) [<samp>(29eeb)</samp>](https://togithub.com/vitest-dev/vitest/commit/29eebf65) - Throw error if fail to load built-in provider - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3217](https://togithub.com/vitest-dev/vitest/issues/3217) [<samp>(0a287)</samp>](https://togithub.com/vitest-dev/vitest/commit/0a2875e3) - Stackblitz hangs with c8 - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3225](https://togithub.com/vitest-dev/vitest/issues/3225) [<samp>(d9fda)</samp>](https://togithub.com/vitest-dev/vitest/commit/d9fda2a1) - C8 to ignore vite's generated helpers - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3241](https://togithub.com/vitest-dev/vitest/issues/3241) [<samp>(21942)</samp>](https://togithub.com/vitest-dev/vitest/commit/21942db0) - Workspaces c8 source maps - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3226](https://togithub.com/vitest-dev/vitest/issues/3226) [<samp>(efce3)</samp>](https://togithub.com/vitest-dev/vitest/commit/efce3b4d) - **docs**: - Correct typo and broken link to WebdriverIO - by [@​nathanbabcock](https://togithub.com/nathanbabcock) in [https://github.com/vitest-dev/vitest/issues/3275](https://togithub.com/vitest-dev/vitest/issues/3275) [<samp>(c7da1)</samp>](https://togithub.com/vitest-dev/vitest/commit/c7da155f) - **spy**: - Update to set initial implementation through normal logic - by [@​Codex-](https://togithub.com/Codex-) in [https://github.com/vitest-dev/vitest/issues/3260](https://togithub.com/vitest-dev/vitest/issues/3260) and [https://github.com/vitest-dev/vitest/issues/3263](https://togithub.com/vitest-dev/vitest/issues/3263) [<samp>(c759a)</samp>](https://togithub.com/vitest-dev/vitest/commit/c759a9aa) - **vite-node**: - Circular imports - by [@​antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/3196](https://togithub.com/vitest-dev/vitest/issues/3196) [<samp>(cbb59)</samp>](https://togithub.com/vitest-dev/vitest/commit/cbb593a8) - Add missing `import.meta.hot.send` mock - by [@​antfu](https://togithub.com/antfu) [<samp>(b1624)</samp>](https://togithub.com/vitest-dev/vitest/commit/b1624db5) - **vitest**: - Also check for vite relative to vitest package - by [@​JoshuaKGoldberg](https://togithub.com/JoshuaKGoldberg) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3274](https://togithub.com/vitest-dev/vitest/issues/3274) [<samp>(a3393)</samp>](https://togithub.com/vitest-dev/vitest/commit/a3393b15) - **watch**: - Run test files when added to filesystem - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3189](https://togithub.com/vitest-dev/vitest/issues/3189) [<samp>(7b2c8)</samp>](https://togithub.com/vitest-dev/vitest/commit/7b2c81bc) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.30.1...v0.31.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://app.renovatebot.com/dashboard#github/fwouts/previewjs). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS42OS4zIiwidXBkYXRlZEluVmVyIjoiMzUuNjkuMyIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![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/eslint](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/eslint) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) | [`8.21.1` -> `8.37.0`](https://renovatebot.com/diffs/npm/@types%2feslint/8.21.1/8.37.0) | [![age](https://badges.renovateapi.com/packages/npm/@types%2feslint/8.37.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@types%2feslint/8.37.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@types%2feslint/8.37.0/compatibility-slim/8.21.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@types%2feslint/8.37.0/confidence-slim/8.21.1)](https://docs.renovatebot.com/merge-confidence/) | | [@types/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) | [`18.14.6` -> `18.16.3`](https://renovatebot.com/diffs/npm/@types%2fnode/18.14.6/18.16.3) | [![age](https://badges.renovateapi.com/packages/npm/@types%2fnode/18.16.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@types%2fnode/18.16.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@types%2fnode/18.16.3/compatibility-slim/18.14.6)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@types%2fnode/18.16.3/confidence-slim/18.14.6)](https://docs.renovatebot.com/merge-confidence/) | | [eslint](https://eslint.org) ([source](https://togithub.com/eslint/eslint)) | [`8.35.0` -> `8.39.0`](https://renovatebot.com/diffs/npm/eslint/8.35.0/8.39.0) | [![age](https://badges.renovateapi.com/packages/npm/eslint/8.39.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/eslint/8.39.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/eslint/8.39.0/compatibility-slim/8.35.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/eslint/8.39.0/confidence-slim/8.35.0)](https://docs.renovatebot.com/merge-confidence/) | | [prettier](https://prettier.io) ([source](https://togithub.com/prettier/prettier)) | [`2.8.4` -> `2.8.8`](https://renovatebot.com/diffs/npm/prettier/2.8.4/2.8.8) | [![age](https://badges.renovateapi.com/packages/npm/prettier/2.8.8/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/prettier/2.8.8/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/prettier/2.8.8/compatibility-slim/2.8.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/prettier/2.8.8/confidence-slim/2.8.4)](https://docs.renovatebot.com/merge-confidence/) | | [typescript](https://www.typescriptlang.org/) ([source](https://togithub.com/Microsoft/TypeScript)) | [`5.0.2` -> `5.0.4`](https://renovatebot.com/diffs/npm/typescript/5.0.2/5.0.4) | [![age](https://badges.renovateapi.com/packages/npm/typescript/5.0.4/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/typescript/5.0.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/typescript/5.0.4/compatibility-slim/5.0.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/typescript/5.0.4/confidence-slim/5.0.2)](https://docs.renovatebot.com/merge-confidence/) | | [vitest](https://togithub.com/vitest-dev/vitest) | [`^0.30.0` -> `^0.31.0`](https://renovatebot.com/diffs/npm/vitest/0.30.1/0.31.0) | [![age](https://badges.renovateapi.com/packages/npm/vitest/0.31.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/vitest/0.31.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/vitest/0.31.0/compatibility-slim/0.30.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/vitest/0.31.0/confidence-slim/0.30.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>eslint/eslint</summary> ### [`v8.39.0`](https://togithub.com/eslint/eslint/releases/tag/v8.39.0) [Compare Source](https://togithub.com/eslint/eslint/compare/v8.38.0...v8.39.0) #### Features - [`3f7af9f`](https://togithub.com/eslint/eslint/commit/3f7af9f408625dbc486af914706d34c4b483b5ba) feat: Implement `SourceCode#markVariableAsUsed()` ([#​17086](https://togithub.com/eslint/eslint/issues/17086)) (Nicholas C. Zakas) #### Documentation - [`6987dc5`](https://togithub.com/eslint/eslint/commit/6987dc59e46f4e345d0d6c20c1f2c6846bbd7acc) docs: Fix formatting in Custom Rules docs ([#​17097](https://togithub.com/eslint/eslint/issues/17097)) (Milos Djermanovic) - [`4ee92e5`](https://togithub.com/eslint/eslint/commit/4ee92e5cbdeba6fea2147901ce926de16946958a) docs: Update README (GitHub Actions Bot) - [`d8e9887`](https://togithub.com/eslint/eslint/commit/d8e9887c2c384d24d586d08ee9ae2ada79bd234c) docs: Custom Rules cleanup/expansion ([#​16906](https://togithub.com/eslint/eslint/issues/16906)) (Ben Perlmutter) - [`1fea279`](https://togithub.com/eslint/eslint/commit/1fea2797801a82a2718814c83dad641dab092bcc) docs: Clarify how to add to tsc agenda ([#​17084](https://togithub.com/eslint/eslint/issues/17084)) (Nicholas C. Zakas) - [`970ef1c`](https://togithub.com/eslint/eslint/commit/970ef1c868235a58297682513842f1256cdfbd03) docs: Update triage board location (Nicholas C. Zakas) - [`6d8bffd`](https://togithub.com/eslint/eslint/commit/6d8bffdf45d50e272dc45e6d2d05b4a737514468) docs: Update README (GitHub Actions Bot) #### Chores - [`60a6f26`](https://togithub.com/eslint/eslint/commit/60a6f2694deb4aa1c54de2a28d0357cddfd16644) chore: upgrade [@​eslint/js](https://togithub.com/eslint/js)[@​8](https://togithub.com/8).39.0 ([#​17102](https://togithub.com/eslint/eslint/issues/17102)) (Milos Djermanovic) - [`d5ba5c0`](https://togithub.com/eslint/eslint/commit/d5ba5c0a85e7a10777761f5d46c104ab7f25845b) chore: package.json update for [@​eslint/js](https://togithub.com/eslint/js) release (ESLint Jenkins) - [`f57eff2`](https://togithub.com/eslint/eslint/commit/f57eff20f5789408e95061f1af5354bb9b4f4784) ci: run tests on Node.js v20 ([#​17093](https://togithub.com/eslint/eslint/issues/17093)) (Nitin Kumar) - [`9d1b8fc`](https://togithub.com/eslint/eslint/commit/9d1b8fc60cc31f12618e58c10a2669506b7ce9bf) perf: Binary search in token store `utils.search` ([#​17066](https://togithub.com/eslint/eslint/issues/17066)) (Francesco Trotta) - [`07a4435`](https://togithub.com/eslint/eslint/commit/07a4435a0c08cb63ebf11b71f735bac20318829b) chore: Add request for minimal repro to bug report ([#​17081](https://togithub.com/eslint/eslint/issues/17081)) (Nicholas C. Zakas) - [`eac4943`](https://togithub.com/eslint/eslint/commit/eac4943ba2e4edb3dbfea0470e5d4b15a4926c40) refactor: remove unnecessary use of `SourceCode#getAncestors` in rules ([#​17075](https://togithub.com/eslint/eslint/issues/17075)) (Milos Djermanovic) - [`0a7b60a`](https://togithub.com/eslint/eslint/commit/0a7b60a9d5621dbbc1a8a8adda3b7c2060c779ca) chore: update description of `SourceCode#getDeclaredVariables` ([#​17072](https://togithub.com/eslint/eslint/issues/17072)) (Milos Djermanovic) - [`6e2df71`](https://togithub.com/eslint/eslint/commit/6e2df71cc390252aaca212abe3dc0467fe397450) chore: remove unnecessary references to the LICENSE file ([#​17071](https://togithub.com/eslint/eslint/issues/17071)) (Milos Djermanovic) ### [`v8.38.0`](https://togithub.com/eslint/eslint/releases/tag/v8.38.0) [Compare Source](https://togithub.com/eslint/eslint/compare/v8.37.0...v8.38.0) #### Features - [`a1d561d`](https://togithub.com/eslint/eslint/commit/a1d561d18ed653b56bddbfb1bab1ebe957293563) feat: Move getDeclaredVariables and getAncestors to SourceCode ([#​17059](https://togithub.com/eslint/eslint/issues/17059)) (Nicholas C. Zakas) #### Bug Fixes - [`1c1ece2`](https://togithub.com/eslint/eslint/commit/1c1ece26d1da61e523b83dda25353ec9379eb6c9) fix: do not report on `RegExp(...args)` in `require-unicode-regexp` ([#​17037](https://togithub.com/eslint/eslint/issues/17037)) (Francesco Trotta) #### Documentation - [`7162d34`](https://togithub.com/eslint/eslint/commit/7162d34df9a66c817c3bd4aafd3a03d226b58dd5) docs: Mention new config system is complete ([#​17068](https://togithub.com/eslint/eslint/issues/17068)) (Nicholas C. Zakas) - [`0fd6bb2`](https://togithub.com/eslint/eslint/commit/0fd6bb213ad2de77543c936eda21501653182e52) docs: Update README (GitHub Actions Bot) - [`c83531c`](https://togithub.com/eslint/eslint/commit/c83531c1a6026675f36aa9e33fef14458043974a) docs: Update/remove external links, eg. point to `eslint-community` ([#​17061](https://togithub.com/eslint/eslint/issues/17061)) (Pelle Wessman) - [`a3aa6f5`](https://togithub.com/eslint/eslint/commit/a3aa6f5f146534ed7999ebf8930c524a4871ec0b) docs: Clarify `no-div-regex` rule docs ([#​17051](https://togithub.com/eslint/eslint/issues/17051)) (Francesco Trotta) - [`b0f11cf`](https://togithub.com/eslint/eslint/commit/b0f11cf977a4180bf7c3042e7faeaaa067ffafd0) docs: Update README (GitHub Actions Bot) - [`da8d52a`](https://togithub.com/eslint/eslint/commit/da8d52a9d4edd9b2016cd4a15cd78f1ddadf20c7) docs: Update the second object instance for the "no-new" rule ([#​17020](https://togithub.com/eslint/eslint/issues/17020)) (Ahmadou Waly NDIAYE) - [`518130a`](https://togithub.com/eslint/eslint/commit/518130ae79a16d7bf4d752c211ae88152cc5a6f0) docs: switch language based on current path ([#​16687](https://togithub.com/eslint/eslint/issues/16687)) (Percy Ma) - [`24206c4`](https://togithub.com/eslint/eslint/commit/24206c49a138d4390f815ae122ee12f564bc604b) docs: Update README (GitHub Actions Bot) #### Chores - [`59ed060`](https://togithub.com/eslint/eslint/commit/59ed06041d4670781956221086ea0fca6683788d) chore: upgrade [@​eslint/js](https://togithub.com/eslint/js)[@​8](https://togithub.com/8).38.0 ([#​17069](https://togithub.com/eslint/eslint/issues/17069)) (Milos Djermanovic) - [`88c0898`](https://togithub.com/eslint/eslint/commit/88c08984ec259ac22d839397c06beec8ef213120) chore: package.json update for [@​eslint/js](https://togithub.com/eslint/js) release (ESLint Jenkins) - [`cf682d2`](https://togithub.com/eslint/eslint/commit/cf682d249f04a6a304407d5b9ddbbc4a9714dd62) refactor: simplify new-parens rule schema ([#​17060](https://togithub.com/eslint/eslint/issues/17060)) (MHO) - [`0dde022`](https://togithub.com/eslint/eslint/commit/0dde02211268394bcbc2b0beef55ea2409b6f55d) ci: bump actions/add-to-project from 0.4.1 to 0.5.0 ([#​17055](https://togithub.com/eslint/eslint/issues/17055)) (dependabot\[bot]) ### [`v8.37.0`](https://togithub.com/eslint/eslint/releases/tag/v8.37.0) [Compare Source](https://togithub.com/eslint/eslint/compare/v8.36.0...v8.37.0) #### Features - [`b6ab8b2`](https://togithub.com/eslint/eslint/commit/b6ab8b2a2ca8807baca121407f5bfb0a0a839427) feat: `require-unicode-regexp` add suggestions ([#​17007](https://togithub.com/eslint/eslint/issues/17007)) (Josh Goldberg) - [`10022b1`](https://togithub.com/eslint/eslint/commit/10022b1f4bda1ad89193512ecf18c2ee61db8202) feat: Copy getScope() to SourceCode ([#​17004](https://togithub.com/eslint/eslint/issues/17004)) (Nicholas C. Zakas) - [`1665c02`](https://togithub.com/eslint/eslint/commit/1665c029acb92bf8812267f1647ad1a7054cbcb4) feat: Use plugin metadata for flat config serialization ([#​16992](https://togithub.com/eslint/eslint/issues/16992)) (Nicholas C. Zakas) - [`b3634f6`](https://togithub.com/eslint/eslint/commit/b3634f695ddab6a82c0a9b1d8695e62b60d23366) feat: docs license ([#​17010](https://togithub.com/eslint/eslint/issues/17010)) (Samuel Roldan) - [`892e6e5`](https://togithub.com/eslint/eslint/commit/892e6e58c5a07a549d3104de3b6b5879797dc97f) feat: languageOptions.parser must be an object. ([#​16985](https://togithub.com/eslint/eslint/issues/16985)) (Nicholas C. Zakas) #### Bug Fixes - [`619f3fd`](https://togithub.com/eslint/eslint/commit/619f3fd17324c7b71bf17e02047d0c6dc7e5109e) fix: correctly handle `null` default config in `RuleTester` ([#​17023](https://togithub.com/eslint/eslint/issues/17023)) (Brad Zacher) - [`1fbf118`](https://togithub.com/eslint/eslint/commit/1fbf1184fed57df02640aad4659afb54dc26a2e9) fix: `getFirstToken`/`getLastToken` on comment-only node ([#​16889](https://togithub.com/eslint/eslint/issues/16889)) (Francesco Trotta) - [`129e252`](https://togithub.com/eslint/eslint/commit/129e252132c7c476d7de17f40b54a333ddb2e6bb) fix: Fix typo in `logical-assignment-operators` rule description ([#​17000](https://togithub.com/eslint/eslint/issues/17000)) (Francesco Trotta) #### Documentation - [`75339df`](https://togithub.com/eslint/eslint/commit/75339df99418df4d7e05a77e42ed7e22eabcc9e0) docs: fix typos and missing info in id-match docs ([#​17029](https://togithub.com/eslint/eslint/issues/17029)) (Ed Lucas) - [`ec2d830`](https://togithub.com/eslint/eslint/commit/ec2d8307850dd039e118c001416606e1e0342bc8) docs: Fix typos in the `semi` rule docs ([#​17012](https://togithub.com/eslint/eslint/issues/17012)) (Andrii Lundiak) - [`e39f28d`](https://togithub.com/eslint/eslint/commit/e39f28d8578a00f4da8d4ddad559547950128a0d) docs: add back to top button ([#​16979](https://togithub.com/eslint/eslint/issues/16979)) (Tanuj Kanti) - [`721c717`](https://togithub.com/eslint/eslint/commit/721c71782a7c11025689a1500e7690fb3794fcce) docs: Custom Processors cleanup and expansion ([#​16838](https://togithub.com/eslint/eslint/issues/16838)) (Ben Perlmutter) - [`d049f97`](https://togithub.com/eslint/eslint/commit/d049f974103e530ef76ede25af701635caf1f405) docs: 'How ESLint is Maintained' page ([#​16961](https://togithub.com/eslint/eslint/issues/16961)) (Ben Perlmutter) - [`5251a92`](https://togithub.com/eslint/eslint/commit/5251a921866e8d3b380dfe8db8a6e6ab97773d5e) docs: Describe guard options for guard-for-in ([#​16986](https://togithub.com/eslint/eslint/issues/16986)) (alope107) - [`6157d81`](https://togithub.com/eslint/eslint/commit/6157d813e19b80481a46f8cbdf9eae18a55e5619) docs: Add example to guard-for-in docs. ([#​16983](https://togithub.com/eslint/eslint/issues/16983)) (alope107) - [`fd47998`](https://togithub.com/eslint/eslint/commit/fd47998af6efadcdf5ba93e0bd1f4c02d97d22b3) docs: update `Array.prototype.toSorted` specification link ([#​16982](https://togithub.com/eslint/eslint/issues/16982)) (Milos Djermanovic) - [`3e1cf6b`](https://togithub.com/eslint/eslint/commit/3e1cf6bfc5ebc29314ddbe462d6cb580e9ab085c) docs: Copy edits on Maintain ESLint docs ([#​16939](https://togithub.com/eslint/eslint/issues/16939)) (Ben Perlmutter) #### Chores - [`c67f299`](https://togithub.com/eslint/eslint/commit/c67f2992a743de4765bb6f11c12622e3651324b9) chore: upgrade [@​eslint/js](https://togithub.com/eslint/js)[@​8](https://togithub.com/8).37.0 ([#​17033](https://togithub.com/eslint/eslint/issues/17033)) (Milos Djermanovic) - [`ee9ddbd`](https://togithub.com/eslint/eslint/commit/ee9ddbd63e262aed0052853760866c7a054af561) chore: package.json update for [@​eslint/js](https://togithub.com/eslint/js) release (ESLint Jenkins) - [`dddb475`](https://togithub.com/eslint/eslint/commit/dddb47528816cd7e2e737bfde108ed4d62e6a219) chore: upgrade [@​eslint/eslintrc](https://togithub.com/eslint/eslintrc)[@​2](https://togithub.com/2).0.2 ([#​17032](https://togithub.com/eslint/eslint/issues/17032)) (Milos Djermanovic) - [`522431e`](https://togithub.com/eslint/eslint/commit/522431e5206bac2fcb41c0d6dc98a84929203bee) chore: upgrade [email protected] ([#​17031](https://togithub.com/eslint/eslint/issues/17031)) (Milos Djermanovic) - [`f5f9a88`](https://togithub.com/eslint/eslint/commit/f5f9a88c79b32222c0331a9bac1c02571d953b69) chore: upgrade [email protected] ([#​17030](https://togithub.com/eslint/eslint/issues/17030)) (Milos Djermanovic) - [`4dd8d52`](https://togithub.com/eslint/eslint/commit/4dd8d524e0fc9e8e2019df13f8b968021600e85c) ci: bump actions/stale from 7 to 8 ([#​17026](https://togithub.com/eslint/eslint/issues/17026)) (dependabot\[bot]) - [`ad9dd6a`](https://togithub.com/eslint/eslint/commit/ad9dd6a933fd098a0d99c6a9aa059850535c23ee) chore: remove duplicate scss, ([#​17005](https://togithub.com/eslint/eslint/issues/17005)) (Strek) - [`ada6a3e`](https://togithub.com/eslint/eslint/commit/ada6a3e6e3607523958f35e1260537630ec0e976) ci: unpin Node 19 ([#​16993](https://togithub.com/eslint/eslint/issues/16993)) (Milos Djermanovic) - [`c3da975`](https://togithub.com/eslint/eslint/commit/c3da975e69fde46f35338ce48528841a8dc1ffd2) chore: Remove triage label from template ([#​16990](https://togithub.com/eslint/eslint/issues/16990)) (Nicholas C. Zakas) - [`69bc0e2`](https://togithub.com/eslint/eslint/commit/69bc0e2f4412998f9384600a100d7882ea4dd3f3) ci: pin Node 19 to 19.7.0 ([#​16987](https://togithub.com/eslint/eslint/issues/16987)) (Milos Djermanovic) ### [`v8.36.0`](https://togithub.com/eslint/eslint/releases/tag/v8.36.0) [Compare Source](https://togithub.com/eslint/eslint/compare/v8.35.0...v8.36.0) #### Features - [`c89a485`](https://togithub.com/eslint/eslint/commit/c89a485c49450532ee3db74f2638429f1f37d0dd) feat: Add `checkJSDoc` option to multiline-comment-style ([#​16807](https://togithub.com/eslint/eslint/issues/16807)) (Laurent Cozic) - [`f5f5e11`](https://togithub.com/eslint/eslint/commit/f5f5e11bd5fd3daab9ccae41e270739c836c305e) feat: Serialize parsers/processors in flat config ([#​16944](https://togithub.com/eslint/eslint/issues/16944)) (Nicholas C. Zakas) - [`4799297`](https://togithub.com/eslint/eslint/commit/4799297ea582c81fd1e5623d32a7ddf7a7f3a126) feat: use [@​eslint-community](https://togithub.com/eslint-community) dependencies ([#​16784](https://togithub.com/eslint/eslint/issues/16784)) (Michaël De Boey) #### Bug Fixes - [`92c1943`](https://togithub.com/eslint/eslint/commit/92c1943ba73ea01e87086236e8736539b0eed558) fix: correctly iterate files matched by glob patterns ([#​16831](https://togithub.com/eslint/eslint/issues/16831)) (Nitin Kumar) #### Documentation - [`b98fdd4`](https://togithub.com/eslint/eslint/commit/b98fdd413a3b07b262bfce6f704c1c1bb8582770) docs: Update README (GitHub Actions Bot) - [`caf08ce`](https://togithub.com/eslint/eslint/commit/caf08ce0cc74917f7c0eec92d25fd784dc33ac4d) docs: fix estree link in custom formatters docs ([#​16967](https://togithub.com/eslint/eslint/issues/16967)) (Milos Djermanovic) - [`3398431`](https://togithub.com/eslint/eslint/commit/3398431574b903757bc78b08c8ed36b7b9fce8eb) docs: Custom Parsers cleanup/expansion ([#​16887](https://togithub.com/eslint/eslint/issues/16887)) (Ben Perlmutter) - [`19d3531`](https://togithub.com/eslint/eslint/commit/19d3531d9b54e1004318d28f9a6e18305c5bcc18) docs: Update README (GitHub Actions Bot) - [`b09a512`](https://togithub.com/eslint/eslint/commit/b09a512107249a4eb19ef5a37b0bd672266eafdb) docs: detect and fix broken links ([#​16837](https://togithub.com/eslint/eslint/issues/16837)) (Nitin Kumar) #### Chores - [`602b111`](https://togithub.com/eslint/eslint/commit/602b11121910a97ab2bc4a95a46dd0ccd0a89309) chore: upgrade [@​eslint/js](https://togithub.com/eslint/js)[@​8](https://togithub.com/8).36.0 ([#​16978](https://togithub.com/eslint/eslint/issues/16978)) (Milos Djermanovic) - [`43c2345`](https://togithub.com/eslint/eslint/commit/43c2345c27024aeab6127e6bbfd55c8b70bd317e) chore: package.json update for [@​eslint/js](https://togithub.com/eslint/js) release (ESLint Jenkins) - [`00afb84`](https://togithub.com/eslint/eslint/commit/00afb84e5039874c8745a45c953fceaf0c71c454) chore: upgrade [@​eslint/eslintrc](https://togithub.com/eslint/eslintrc)[@​2](https://togithub.com/2).0.1 ([#​16977](https://togithub.com/eslint/eslint/issues/16977)) (Milos Djermanovic) - [`698c5aa`](https://togithub.com/eslint/eslint/commit/698c5aad50e628ff00281dbc786e42de79834035) chore: upgrade [email protected] ([#​16976](https://togithub.com/eslint/eslint/issues/16976)) (Milos Djermanovic) - [`75acdd2`](https://togithub.com/eslint/eslint/commit/75acdd21c5ce7024252e9d41ed77d2f30587caac) chore: lint more js files in docs ([#​16964](https://togithub.com/eslint/eslint/issues/16964)) (Milos Djermanovic) - [`89d9844`](https://togithub.com/eslint/eslint/commit/89d9844b3151f09b5b21b6eeeda671009ec301e9) ci: bump actions/add-to-project from 0.4.0 to 0.4.1 ([#​16943](https://togithub.com/eslint/eslint/issues/16943)) (dependabot\[bot]) </details> <details> <summary>prettier/prettier</summary> ### [`v2.8.8`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#​288) [Compare Source](https://togithub.com/prettier/prettier/compare/2.8.7...2.8.8) This version is a republished version of v2.8.7. A bad version was accidentally published and [it can't be unpublished](https://togithub.com/npm/cli/issues/1686), apologies for the churn. ### [`v2.8.7`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#​287) [Compare Source](https://togithub.com/prettier/prettier/compare/2.8.6...2.8.7) [diff](https://togithub.com/prettier/prettier/compare/2.8.6...2.8.7) ##### Allow multiple decorators on same getter/setter ([#​14584](https://togithub.com/prettier/prettier/pull/14584) by [@​fisker](https://togithub.com/fisker)) <!-- prettier-ignore --> ```ts // Input class A { @​decorator() get foo () {} @​decorator() set foo (value) {} } // Prettier 2.8.6 SyntaxError: Decorators cannot be applied to multiple get/set accessors of the same name. (5:3) 3 | get foo () {} 4 | > 5 | @​decorator() | ^^^^^^^^^^^^ 6 | set foo (value) {} 7 | } // Prettier 2.8.7 class A { @​decorator() get foo() {} @​decorator() set foo(value) {} } ``` ### [`v2.8.6`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#​286) [Compare Source](https://togithub.com/prettier/prettier/compare/2.8.5...2.8.6) [diff](https://togithub.com/prettier/prettier/compare/2.8.5...2.8.6) ##### Allow decorators on private members and class expressions ([#​14548](https://togithub.com/prettier/prettier/pull/14548) by [@​fisker](https://togithub.com/fisker)) <!-- prettier-ignore --> ```ts // Input class A { @​decorator() #privateMethod () {} } // Prettier 2.8.5 SyntaxError: Decorators are not valid here. (2:3) 1 | class A { > 2 | @​decorator() | ^^^^^^^^^^^^ 3 | #privateMethod () {} 4 | } // Prettier 2.8.6 class A { @​decorator() #privateMethod() {} } ``` ### [`v2.8.5`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#​285) [Compare Source](https://togithub.com/prettier/prettier/compare/2.8.4...2.8.5) [diff](https://togithub.com/prettier/prettier/compare/2.8.4...2.8.5) ##### Support TypeScript 5.0 ([#​14391](https://togithub.com/prettier/prettier/pull/14391) by [@​fisker](https://togithub.com/fisker), [#​13819](https://togithub.com/prettier/prettier/pull/13819) by [@​fisker](https://togithub.com/fisker), [@​sosukesuzuki](https://togithub.com/sosukesuzuki)) TypeScript 5.0 introduces two new syntactic features: - `const` modifiers for type parameters - `export type *` declarations ##### Add missing parentheses for decorator ([#​14393](https://togithub.com/prettier/prettier/pull/14393) by [@​fisker](https://togithub.com/fisker)) <!-- prettier-ignore --> ```jsx // Input class Person { @​(myDecoratorArray[0]) greet() {} } // Prettier 2.8.4 class Person { @​myDecoratorArray[0] greet() {} } // Prettier 2.8.5 class Person { @​(myDecoratorArray[0]) greet() {} } ``` ##### Add parentheses for `TypeofTypeAnnotation` to improve readability ([#​14458](https://togithub.com/prettier/prettier/pull/14458) by [@​fisker](https://togithub.com/fisker)) <!-- prettier-ignore --> ```tsx // Input type A = (typeof node.children)[]; // Prettier 2.8.4 type A = typeof node.children[]; // Prettier 2.8.5 type A = (typeof node.children)[]; ``` ##### Support `max_line_length=off` when parsing `.editorconfig` ([#​14516](https://togithub.com/prettier/prettier/pull/14516) by [@​josephfrazier](https://togithub.com/josephfrazier)) If an .editorconfig file is in your project and it sets `max_line_length=off` for the file you're formatting, it will be interpreted as a `printWidth` of `Infinity` rather than being ignored (which previously resulted in the default `printWidth` of 80 being applied, if not overridden by Prettier-specific configuration). <!-- prettier-ignore --> ```html <!-- Input --> <div className='HelloWorld' title={`You are visitor number ${ num }`} onMouseOver={onMouseOver}/> <!-- Prettier 2.8.4 --> <div className="HelloWorld" title={`You are visitor number ${num}`} onMouseOver={onMouseOver} />; <!-- Prettier 2.8.5 --> <div className="HelloWorld" title={`You are visitor number ${num}`} onMouseOver={onMouseOver} />; ``` </details> <details> <summary>Microsoft/TypeScript</summary> ### [`v5.0.4`](https://togithub.com/microsoft/TypeScript/releases/tag/v5.0.4): TypeScript 5.0.4 [Compare Source](https://togithub.com/Microsoft/TypeScript/compare/v5.0.3...v5.0.4) For release notes, check out the [release announcement](https://devblogs.microsoft.com/typescript/announcing-typescript-5-0/). For the complete list of fixed issues, check out the - [fixed issues query for Typescript v5.0.0 (Beta)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.0.0%22+is%3Aclosed+). - [fixed issues query for Typescript v5.0.1 (RC)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.0.1%22+is%3Aclosed+). - [fixed issues query for Typescript v5.0.2 (Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.0.2%22+is%3Aclosed+). - [fixed issues query for Typescript v5.0.3 (Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.0.3%22+is%3Aclosed+). - [fixed issues query for Typescript v5.0.4 (Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.0.4%22+is%3Aclosed+). Downloads are available on: - [npm](https://www.npmjs.com/package/typescript) - [NuGet package](https://www.nuget.org/packages/Microsoft.TypeScript.MSBuild) ### [`v5.0.3`](https://togithub.com/microsoft/TypeScript/releases/tag/v5.0.3): TypeScript 5.0.3 [Compare Source](https://togithub.com/Microsoft/TypeScript/compare/v5.0.2...v5.0.3) For release notes, check out the [release announcement](https://devblogs.microsoft.com/typescript/announcing-typescript-5-0/). For the complete list of fixed issues, check out the - [fixed issues query for Typescript v5.0.0 (Beta)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.0.0%22+is%3Aclosed+). - [fixed issues query for Typescript v5.0.1 (RC)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.0.1%22+is%3Aclosed+). - [fixed issues query for Typescript v5.0.2 (Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.0.2%22+is%3Aclosed+). - [fixed issues query for Typescript v5.0.3 (Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.0.3%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> <details> <summary>vitest-dev/vitest</summary> ### [`v0.31.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.31.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.30.1...v0.31.0) ##### 🚨 Breaking Changes - Update mock implementation to support ESM runtime, introduce "vi.hoisted" - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3258](https://togithub.com/vitest-dev/vitest/issues/3258) [<samp>(0c09a)</samp>](https://togithub.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.mocked('./path/to/module.js', () => { return { originalMethod: mockedMethod } }) ``` - Move assertion declarations to expect package - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3294](https://togithub.com/vitest-dev/vitest/issues/3294) [<samp>(cf3af)</samp>](https://togithub.com/vitest-dev/vitest/commit/cf3afe2b) - The change should be minor: ```diff - declare namespace Vi { + declare module '@​vitest/expect' { interface Assertion<T = any> extends CustomMatchers<T> {} interface AsymmetricMatchersContaining extends CustomMatchers {} } ``` ##### 🚀 Features - Add repeat method to tests - by [@​samkevin1](https://togithub.com/samkevin1) in [https://github.com/vitest-dev/vitest/issues/2652](https://togithub.com/vitest-dev/vitest/issues/2652) [<samp>(7c8f0)</samp>](https://togithub.com/vitest-dev/vitest/commit/7c8f0ba9) - Add an option to hide skipped test lines - by [@​g4rry420](https://togithub.com/g4rry420) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2745](https://togithub.com/vitest-dev/vitest/issues/2745) [<samp>(9bdb1)</samp>](https://togithub.com/vitest-dev/vitest/commit/9bdb1603) - **coverage**: Watermarks for c8 - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3254](https://togithub.com/vitest-dev/vitest/issues/3254) [<samp>(730af)</samp>](https://togithub.com/vitest-dev/vitest/commit/730af0b4) - **ui**: Add html coverage - by [@​userquin](https://togithub.com/userquin) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3071](https://togithub.com/vitest-dev/vitest/issues/3071) [<samp>(e24cd)</samp>](https://togithub.com/vitest-dev/vitest/commit/e24cd9b2) - **watch**: Test run cancelling, feat: `--bail` option for cancelling test run - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3163](https://togithub.com/vitest-dev/vitest/issues/3163) [<samp>(8d460)</samp>](https://togithub.com/vitest-dev/vitest/commit/8d4606eb) ##### 🐞 Bug Fixes - Don't call global setup teardown twice - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3188](https://togithub.com/vitest-dev/vitest/issues/3188) [<samp>(ba3d1)</samp>](https://togithub.com/vitest-dev/vitest/commit/ba3d1338) - Reporter to log version before provider initalizations - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3131](https://togithub.com/vitest-dev/vitest/issues/3131) [<samp>(481b1)</samp>](https://togithub.com/vitest-dev/vitest/commit/481b1fd2) - Throw an error if Vitest cannot access its internal state - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3250](https://togithub.com/vitest-dev/vitest/issues/3250) [<samp>(fbb14)</samp>](https://togithub.com/vitest-dev/vitest/commit/fbb1468e) - Warning suppression broken - by [@​IceQub3](https://togithub.com/IceQub3) in [https://github.com/vitest-dev/vitest/issues/3270](https://togithub.com/vitest-dev/vitest/issues/3270) and [https://github.com/vitest-dev/vitest/issues/3271](https://togithub.com/vitest-dev/vitest/issues/3271) [<samp>(036de)</samp>](https://togithub.com/vitest-dev/vitest/commit/036de797) - Show correct diff in "toHaveBeenCalledWith" - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3289](https://togithub.com/vitest-dev/vitest/issues/3289) [<samp>(19fcd)</samp>](https://togithub.com/vitest-dev/vitest/commit/19fcd8df) - Don't print esm warning, if package name is not found - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3292](https://togithub.com/vitest-dev/vitest/issues/3292) [<samp>(62c14)</samp>](https://togithub.com/vitest-dev/vitest/commit/62c14cba) - Support exactOptionalPropertyTypes - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3293](https://togithub.com/vitest-dev/vitest/issues/3293) [<samp>(ba81d)</samp>](https://togithub.com/vitest-dev/vitest/commit/ba81d8a3) - Don't inline vite hmr and rollup types - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3291](https://togithub.com/vitest-dev/vitest/issues/3291) [<samp>(1f118)</samp>](https://togithub.com/vitest-dev/vitest/commit/1f1189bc) - **browser**: - Failing to load vitest/utils - by [@​userquin](https://togithub.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3190](https://togithub.com/vitest-dev/vitest/issues/3190) [<samp>(78bad)</samp>](https://togithub.com/vitest-dev/vitest/commit/78bad4ab) - **coverage**: - `thresholdAutoUpdate` to work with `perFile` - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3182](https://togithub.com/vitest-dev/vitest/issues/3182) [<samp>(29eeb)</samp>](https://togithub.com/vitest-dev/vitest/commit/29eebf65) - Throw error if fail to load built-in provider - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3217](https://togithub.com/vitest-dev/vitest/issues/3217) [<samp>(0a287)</samp>](https://togithub.com/vitest-dev/vitest/commit/0a2875e3) - Stackblitz hangs with c8 - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3225](https://togithub.com/vitest-dev/vitest/issues/3225) [<samp>(d9fda)</samp>](https://togithub.com/vitest-dev/vitest/commit/d9fda2a1) - C8 to ignore vite's generated helpers - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3241](https://togithub.com/vitest-dev/vitest/issues/3241) [<samp>(21942)</samp>](https://togithub.com/vitest-dev/vitest/commit/21942db0) - Workspaces c8 source maps - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3226](https://togithub.com/vitest-dev/vitest/issues/3226) [<samp>(efce3)</samp>](https://togithub.com/vitest-dev/vitest/commit/efce3b4d) - **docs**: - Correct typo and broken link to WebdriverIO - by [@​nathanbabcock](https://togithub.com/nathanbabcock) in [https://github.com/vitest-dev/vitest/issues/3275](https://togithub.com/vitest-dev/vitest/issues/3275) [<samp>(c7da1)</samp>](https://togithub.com/vitest-dev/vitest/commit/c7da155f) - **spy**: - Update to set initial implementation through normal logic - by [@​Codex-](https://togithub.com/Codex-) in [https://github.com/vitest-dev/vitest/issues/3260](https://togithub.com/vitest-dev/vitest/issues/3260) and [https://github.com/vitest-dev/vitest/issues/3263](https://togithub.com/vitest-dev/vitest/issues/3263) [<samp>(c759a)</samp>](https://togithub.com/vitest-dev/vitest/commit/c759a9aa) - **vite-node**: - Circular imports - by [@​antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/3196](https://togithub.com/vitest-dev/vitest/issues/3196) [<samp>(cbb59)</samp>](https://togithub.com/vitest-dev/vitest/commit/cbb593a8) - Add missing `import.meta.hot.send` mock - by [@​antfu](https://togithub.com/antfu) [<samp>(b1624)</samp>](https://togithub.com/vitest-dev/vitest/commit/b1624db5) - **vitest**: - Also check for vite relative to vitest package - by [@​JoshuaKGoldberg](https://togithub.com/JoshuaKGoldberg) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3274](https://togithub.com/vitest-dev/vitest/issues/3274) [<samp>(a3393)</samp>](https://togithub.com/vitest-dev/vitest/commit/a3393b15) - **watch**: - Run test files when added to filesystem - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3189](https://togithub.com/vitest-dev/vitest/issues/3189) [<samp>(7b2c8)</samp>](https://togithub.com/vitest-dev/vitest/commit/7b2c81bc) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.30.1...v0.31.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. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.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://app.renovatebot.com/dashboard#github/christianemmert/ts-starter). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS42OS4zIiwidXBkYXRlZEluVmVyIjoiMzUuNjkuMyIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…209) [![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://togithub.com/vitest-dev/vitest/tree/main/packages/coverage-istanbul#readme) ([source](https://togithub.com/vitest-dev/vitest)) | [`^0.30.0` -> `^0.31.0`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-istanbul/0.30.1/0.31.0) | [![age](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-istanbul/0.31.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-istanbul/0.31.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-istanbul/0.31.0/compatibility-slim/0.30.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-istanbul/0.31.0/confidence-slim/0.30.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest</summary> ### [`v0.31.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.31.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.30.1...v0.31.0) ##### 🚨 Breaking Changes - Update mock implementation to support ESM runtime, introduce "vi.hoisted" - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3258](https://togithub.com/vitest-dev/vitest/issues/3258) [<samp>(0c09a)</samp>](https://togithub.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.mocked('./path/to/module.js', () => { return { originalMethod: mockedMethod } }) ``` - Move assertion declarations to expect package - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3294](https://togithub.com/vitest-dev/vitest/issues/3294) [<samp>(cf3af)</samp>](https://togithub.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 - Add repeat method to tests - by [@​samkevin1](https://togithub.com/samkevin1) in [https://github.com/vitest-dev/vitest/issues/2652](https://togithub.com/vitest-dev/vitest/issues/2652) [<samp>(7c8f0)</samp>](https://togithub.com/vitest-dev/vitest/commit/7c8f0ba9) - Add an option to hide skipped test lines - by [@​g4rry420](https://togithub.com/g4rry420) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2745](https://togithub.com/vitest-dev/vitest/issues/2745) [<samp>(9bdb1)</samp>](https://togithub.com/vitest-dev/vitest/commit/9bdb1603) - **coverage**: Watermarks for c8 - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3254](https://togithub.com/vitest-dev/vitest/issues/3254) [<samp>(730af)</samp>](https://togithub.com/vitest-dev/vitest/commit/730af0b4) - **ui**: Add html coverage - by [@​userquin](https://togithub.com/userquin) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3071](https://togithub.com/vitest-dev/vitest/issues/3071) [<samp>(e24cd)</samp>](https://togithub.com/vitest-dev/vitest/commit/e24cd9b2) - **watch**: Test run cancelling, feat: `--bail` option for cancelling test run - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3163](https://togithub.com/vitest-dev/vitest/issues/3163) [<samp>(8d460)</samp>](https://togithub.com/vitest-dev/vitest/commit/8d4606eb) ##### 🐞 Bug Fixes - Don't call global setup teardown twice - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3188](https://togithub.com/vitest-dev/vitest/issues/3188) [<samp>(ba3d1)</samp>](https://togithub.com/vitest-dev/vitest/commit/ba3d1338) - Reporter to log version before provider initalizations - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3131](https://togithub.com/vitest-dev/vitest/issues/3131) [<samp>(481b1)</samp>](https://togithub.com/vitest-dev/vitest/commit/481b1fd2) - Throw an error if Vitest cannot access its internal state - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3250](https://togithub.com/vitest-dev/vitest/issues/3250) [<samp>(fbb14)</samp>](https://togithub.com/vitest-dev/vitest/commit/fbb1468e) - Warning suppression broken - by [@​IceQub3](https://togithub.com/IceQub3) in [https://github.com/vitest-dev/vitest/issues/3270](https://togithub.com/vitest-dev/vitest/issues/3270) and [https://github.com/vitest-dev/vitest/issues/3271](https://togithub.com/vitest-dev/vitest/issues/3271) [<samp>(036de)</samp>](https://togithub.com/vitest-dev/vitest/commit/036de797) - Show correct diff in "toHaveBeenCalledWith" - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3289](https://togithub.com/vitest-dev/vitest/issues/3289) [<samp>(19fcd)</samp>](https://togithub.com/vitest-dev/vitest/commit/19fcd8df) - Don't print esm warning, if package name is not found - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3292](https://togithub.com/vitest-dev/vitest/issues/3292) [<samp>(62c14)</samp>](https://togithub.com/vitest-dev/vitest/commit/62c14cba) - Support exactOptionalPropertyTypes - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3293](https://togithub.com/vitest-dev/vitest/issues/3293) [<samp>(ba81d)</samp>](https://togithub.com/vitest-dev/vitest/commit/ba81d8a3) - Don't inline vite hmr and rollup types - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3291](https://togithub.com/vitest-dev/vitest/issues/3291) [<samp>(1f118)</samp>](https://togithub.com/vitest-dev/vitest/commit/1f1189bc) - **browser**: - Failing to load vitest/utils - by [@​userquin](https://togithub.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3190](https://togithub.com/vitest-dev/vitest/issues/3190) [<samp>(78bad)</samp>](https://togithub.com/vitest-dev/vitest/commit/78bad4ab) - **coverage**: - `thresholdAutoUpdate` to work with `perFile` - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3182](https://togithub.com/vitest-dev/vitest/issues/3182) [<samp>(29eeb)</samp>](https://togithub.com/vitest-dev/vitest/commit/29eebf65) - Throw error if fail to load built-in provider - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3217](https://togithub.com/vitest-dev/vitest/issues/3217) [<samp>(0a287)</samp>](https://togithub.com/vitest-dev/vitest/commit/0a2875e3) - Stackblitz hangs with c8 - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3225](https://togithub.com/vitest-dev/vitest/issues/3225) [<samp>(d9fda)</samp>](https://togithub.com/vitest-dev/vitest/commit/d9fda2a1) - C8 to ignore vite's generated helpers - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3241](https://togithub.com/vitest-dev/vitest/issues/3241) [<samp>(21942)</samp>](https://togithub.com/vitest-dev/vitest/commit/21942db0) - Workspaces c8 source maps - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3226](https://togithub.com/vitest-dev/vitest/issues/3226) [<samp>(efce3)</samp>](https://togithub.com/vitest-dev/vitest/commit/efce3b4d) - **docs**: - Correct typo and broken link to WebdriverIO - by [@​nathanbabcock](https://togithub.com/nathanbabcock) in [https://github.com/vitest-dev/vitest/issues/3275](https://togithub.com/vitest-dev/vitest/issues/3275) [<samp>(c7da1)</samp>](https://togithub.com/vitest-dev/vitest/commit/c7da155f) - **spy**: - Update to set initial implementation through normal logic - by [@​Codex-](https://togithub.com/Codex-) in [https://github.com/vitest-dev/vitest/issues/3260](https://togithub.com/vitest-dev/vitest/issues/3260) and [https://github.com/vitest-dev/vitest/issues/3263](https://togithub.com/vitest-dev/vitest/issues/3263) [<samp>(c759a)</samp>](https://togithub.com/vitest-dev/vitest/commit/c759a9aa) - **vite-node**: - Circular imports - by [@​antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/3196](https://togithub.com/vitest-dev/vitest/issues/3196) [<samp>(cbb59)</samp>](https://togithub.com/vitest-dev/vitest/commit/cbb593a8) - Add missing `import.meta.hot.send` mock - by [@​antfu](https://togithub.com/antfu) [<samp>(b1624)</samp>](https://togithub.com/vitest-dev/vitest/commit/b1624db5) - **vitest**: - Also check for vite relative to vitest package - by [@​JoshuaKGoldberg](https://togithub.com/JoshuaKGoldberg) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3274](https://togithub.com/vitest-dev/vitest/issues/3274) [<samp>(a3393)</samp>](https://togithub.com/vitest-dev/vitest/commit/a3393b15) - **watch**: - Run test files when added to filesystem - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3189](https://togithub.com/vitest-dev/vitest/issues/3189) [<samp>(7b2c8)</samp>](https://togithub.com/vitest-dev/vitest/commit/7b2c81bc) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.30.1...v0.31.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://app.renovatebot.com/dashboard#github/JoshuaKGoldberg/ts-api-utils). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS43MS40IiwidXBkYXRlZEluVmVyIjoiMzUuNzEuNCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…408) [![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://togithub.com/vitest-dev/vitest/tree/main/packages/coverage-istanbul#readme) ([source](https://togithub.com/vitest-dev/vitest)) | [`^0.30.0` -> `^0.31.0`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-istanbul/0.30.1/0.31.0) | [![age](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-istanbul/0.31.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-istanbul/0.31.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-istanbul/0.31.0/compatibility-slim/0.30.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-istanbul/0.31.0/confidence-slim/0.30.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest</summary> ### [`v0.31.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.31.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.30.1...v0.31.0) ##### 🚨 Breaking Changes - Update mock implementation to support ESM runtime, introduce "vi.hoisted" - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3258](https://togithub.com/vitest-dev/vitest/issues/3258) [<samp>(0c09a)</samp>](https://togithub.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.mocked('./path/to/module.js', () => { return { originalMethod: mockedMethod } }) ``` - Move assertion declarations to expect package - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3294](https://togithub.com/vitest-dev/vitest/issues/3294) [<samp>(cf3af)</samp>](https://togithub.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 - Add repeat method to tests - by [@​samkevin1](https://togithub.com/samkevin1) in [https://github.com/vitest-dev/vitest/issues/2652](https://togithub.com/vitest-dev/vitest/issues/2652) [<samp>(7c8f0)</samp>](https://togithub.com/vitest-dev/vitest/commit/7c8f0ba9) - Add an option to hide skipped test lines - by [@​g4rry420](https://togithub.com/g4rry420) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2745](https://togithub.com/vitest-dev/vitest/issues/2745) [<samp>(9bdb1)</samp>](https://togithub.com/vitest-dev/vitest/commit/9bdb1603) - **coverage**: Watermarks for c8 - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3254](https://togithub.com/vitest-dev/vitest/issues/3254) [<samp>(730af)</samp>](https://togithub.com/vitest-dev/vitest/commit/730af0b4) - **ui**: Add html coverage - by [@​userquin](https://togithub.com/userquin) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3071](https://togithub.com/vitest-dev/vitest/issues/3071) [<samp>(e24cd)</samp>](https://togithub.com/vitest-dev/vitest/commit/e24cd9b2) - **watch**: Test run cancelling, feat: `--bail` option for cancelling test run - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3163](https://togithub.com/vitest-dev/vitest/issues/3163) [<samp>(8d460)</samp>](https://togithub.com/vitest-dev/vitest/commit/8d4606eb) ##### 🐞 Bug Fixes - Don't call global setup teardown twice - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3188](https://togithub.com/vitest-dev/vitest/issues/3188) [<samp>(ba3d1)</samp>](https://togithub.com/vitest-dev/vitest/commit/ba3d1338) - Reporter to log version before provider initalizations - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3131](https://togithub.com/vitest-dev/vitest/issues/3131) [<samp>(481b1)</samp>](https://togithub.com/vitest-dev/vitest/commit/481b1fd2) - Throw an error if Vitest cannot access its internal state - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3250](https://togithub.com/vitest-dev/vitest/issues/3250) [<samp>(fbb14)</samp>](https://togithub.com/vitest-dev/vitest/commit/fbb1468e) - Warning suppression broken - by [@​IceQub3](https://togithub.com/IceQub3) in [https://github.com/vitest-dev/vitest/issues/3270](https://togithub.com/vitest-dev/vitest/issues/3270) and [https://github.com/vitest-dev/vitest/issues/3271](https://togithub.com/vitest-dev/vitest/issues/3271) [<samp>(036de)</samp>](https://togithub.com/vitest-dev/vitest/commit/036de797) - Show correct diff in "toHaveBeenCalledWith" - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3289](https://togithub.com/vitest-dev/vitest/issues/3289) [<samp>(19fcd)</samp>](https://togithub.com/vitest-dev/vitest/commit/19fcd8df) - Don't print esm warning, if package name is not found - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3292](https://togithub.com/vitest-dev/vitest/issues/3292) [<samp>(62c14)</samp>](https://togithub.com/vitest-dev/vitest/commit/62c14cba) - Support exactOptionalPropertyTypes - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3293](https://togithub.com/vitest-dev/vitest/issues/3293) [<samp>(ba81d)</samp>](https://togithub.com/vitest-dev/vitest/commit/ba81d8a3) - Don't inline vite hmr and rollup types - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3291](https://togithub.com/vitest-dev/vitest/issues/3291) [<samp>(1f118)</samp>](https://togithub.com/vitest-dev/vitest/commit/1f1189bc) - **browser**: - Failing to load vitest/utils - by [@​userquin](https://togithub.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3190](https://togithub.com/vitest-dev/vitest/issues/3190) [<samp>(78bad)</samp>](https://togithub.com/vitest-dev/vitest/commit/78bad4ab) - **coverage**: - `thresholdAutoUpdate` to work with `perFile` - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3182](https://togithub.com/vitest-dev/vitest/issues/3182) [<samp>(29eeb)</samp>](https://togithub.com/vitest-dev/vitest/commit/29eebf65) - Throw error if fail to load built-in provider - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3217](https://togithub.com/vitest-dev/vitest/issues/3217) [<samp>(0a287)</samp>](https://togithub.com/vitest-dev/vitest/commit/0a2875e3) - Stackblitz hangs with c8 - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3225](https://togithub.com/vitest-dev/vitest/issues/3225) [<samp>(d9fda)</samp>](https://togithub.com/vitest-dev/vitest/commit/d9fda2a1) - C8 to ignore vite's generated helpers - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3241](https://togithub.com/vitest-dev/vitest/issues/3241) [<samp>(21942)</samp>](https://togithub.com/vitest-dev/vitest/commit/21942db0) - Workspaces c8 source maps - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3226](https://togithub.com/vitest-dev/vitest/issues/3226) [<samp>(efce3)</samp>](https://togithub.com/vitest-dev/vitest/commit/efce3b4d) - **docs**: - Correct typo and broken link to WebdriverIO - by [@​nathanbabcock](https://togithub.com/nathanbabcock) in [https://github.com/vitest-dev/vitest/issues/3275](https://togithub.com/vitest-dev/vitest/issues/3275) [<samp>(c7da1)</samp>](https://togithub.com/vitest-dev/vitest/commit/c7da155f) - **spy**: - Update to set initial implementation through normal logic - by [@​Codex-](https://togithub.com/Codex-) in [https://github.com/vitest-dev/vitest/issues/3260](https://togithub.com/vitest-dev/vitest/issues/3260) and [https://github.com/vitest-dev/vitest/issues/3263](https://togithub.com/vitest-dev/vitest/issues/3263) [<samp>(c759a)</samp>](https://togithub.com/vitest-dev/vitest/commit/c759a9aa) - **vite-node**: - Circular imports - by [@​antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/3196](https://togithub.com/vitest-dev/vitest/issues/3196) [<samp>(cbb59)</samp>](https://togithub.com/vitest-dev/vitest/commit/cbb593a8) - Add missing `import.meta.hot.send` mock - by [@​antfu](https://togithub.com/antfu) [<samp>(b1624)</samp>](https://togithub.com/vitest-dev/vitest/commit/b1624db5) - **vitest**: - Also check for vite relative to vitest package - by [@​JoshuaKGoldberg](https://togithub.com/JoshuaKGoldberg) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3274](https://togithub.com/vitest-dev/vitest/issues/3274) [<samp>(a3393)</samp>](https://togithub.com/vitest-dev/vitest/commit/a3393b15) - **watch**: - Run test files when added to filesystem - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3189](https://togithub.com/vitest-dev/vitest/issues/3189) [<samp>(7b2c8)</samp>](https://togithub.com/vitest-dev/vitest/commit/7b2c81bc) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.30.1...v0.31.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://app.renovatebot.com/dashboard#github/JoshuaKGoldberg/template-typescript-node-package). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS43MS40IiwidXBkYXRlZEluVmVyIjoiMzUuNzEuNCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![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://togithub.com/vitest-dev/vitest) | [`^0.30.0` -> `^0.31.0`](https://renovatebot.com/diffs/npm/vitest/0.30.0/0.31.0) | [![age](https://badges.renovateapi.com/packages/npm/vitest/0.31.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/vitest/0.31.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/vitest/0.31.0/compatibility-slim/0.30.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/vitest/0.31.0/confidence-slim/0.30.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest</summary> ### [`v0.31.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.31.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.30.1...v0.31.0) ##### 🚨 Breaking Changes - Update mock implementation to support ESM runtime, introduce "vi.hoisted" - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3258](https://togithub.com/vitest-dev/vitest/issues/3258) [<samp>(0c09a)</samp>](https://togithub.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.mocked('./path/to/module.js', () => { return { originalMethod: mockedMethod } }) ``` - Move assertion declarations to expect package - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3294](https://togithub.com/vitest-dev/vitest/issues/3294) [<samp>(cf3af)</samp>](https://togithub.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 - Add repeat method to tests - by [@​samkevin1](https://togithub.com/samkevin1) in [https://github.com/vitest-dev/vitest/issues/2652](https://togithub.com/vitest-dev/vitest/issues/2652) [<samp>(7c8f0)</samp>](https://togithub.com/vitest-dev/vitest/commit/7c8f0ba9) - Add an option to hide skipped test lines - by [@​g4rry420](https://togithub.com/g4rry420) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2745](https://togithub.com/vitest-dev/vitest/issues/2745) [<samp>(9bdb1)</samp>](https://togithub.com/vitest-dev/vitest/commit/9bdb1603) - **coverage**: Watermarks for c8 - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3254](https://togithub.com/vitest-dev/vitest/issues/3254) [<samp>(730af)</samp>](https://togithub.com/vitest-dev/vitest/commit/730af0b4) - **ui**: Add html coverage - by [@​userquin](https://togithub.com/userquin) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3071](https://togithub.com/vitest-dev/vitest/issues/3071) [<samp>(e24cd)</samp>](https://togithub.com/vitest-dev/vitest/commit/e24cd9b2) - **watch**: Test run cancelling, feat: `--bail` option for cancelling test run - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3163](https://togithub.com/vitest-dev/vitest/issues/3163) [<samp>(8d460)</samp>](https://togithub.com/vitest-dev/vitest/commit/8d4606eb) ##### 🐞 Bug Fixes - Don't call global setup teardown twice - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3188](https://togithub.com/vitest-dev/vitest/issues/3188) [<samp>(ba3d1)</samp>](https://togithub.com/vitest-dev/vitest/commit/ba3d1338) - Reporter to log version before provider initalizations - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3131](https://togithub.com/vitest-dev/vitest/issues/3131) [<samp>(481b1)</samp>](https://togithub.com/vitest-dev/vitest/commit/481b1fd2) - Throw an error if Vitest cannot access its internal state - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3250](https://togithub.com/vitest-dev/vitest/issues/3250) [<samp>(fbb14)</samp>](https://togithub.com/vitest-dev/vitest/commit/fbb1468e) - Warning suppression broken - by [@​IceQub3](https://togithub.com/IceQub3) in [https://github.com/vitest-dev/vitest/issues/3270](https://togithub.com/vitest-dev/vitest/issues/3270) and [https://github.com/vitest-dev/vitest/issues/3271](https://togithub.com/vitest-dev/vitest/issues/3271) [<samp>(036de)</samp>](https://togithub.com/vitest-dev/vitest/commit/036de797) - Show correct diff in "toHaveBeenCalledWith" - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3289](https://togithub.com/vitest-dev/vitest/issues/3289) [<samp>(19fcd)</samp>](https://togithub.com/vitest-dev/vitest/commit/19fcd8df) - Don't print esm warning, if package name is not found - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3292](https://togithub.com/vitest-dev/vitest/issues/3292) [<samp>(62c14)</samp>](https://togithub.com/vitest-dev/vitest/commit/62c14cba) - Support exactOptionalPropertyTypes - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3293](https://togithub.com/vitest-dev/vitest/issues/3293) [<samp>(ba81d)</samp>](https://togithub.com/vitest-dev/vitest/commit/ba81d8a3) - Don't inline vite hmr and rollup types - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3291](https://togithub.com/vitest-dev/vitest/issues/3291) [<samp>(1f118)</samp>](https://togithub.com/vitest-dev/vitest/commit/1f1189bc) - **browser**: - Failing to load vitest/utils - by [@​userquin](https://togithub.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3190](https://togithub.com/vitest-dev/vitest/issues/3190) [<samp>(78bad)</samp>](https://togithub.com/vitest-dev/vitest/commit/78bad4ab) - **coverage**: - `thresholdAutoUpdate` to work with `perFile` - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3182](https://togithub.com/vitest-dev/vitest/issues/3182) [<samp>(29eeb)</samp>](https://togithub.com/vitest-dev/vitest/commit/29eebf65) - Throw error if fail to load built-in provider - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3217](https://togithub.com/vitest-dev/vitest/issues/3217) [<samp>(0a287)</samp>](https://togithub.com/vitest-dev/vitest/commit/0a2875e3) - Stackblitz hangs with c8 - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3225](https://togithub.com/vitest-dev/vitest/issues/3225) [<samp>(d9fda)</samp>](https://togithub.com/vitest-dev/vitest/commit/d9fda2a1) - C8 to ignore vite's generated helpers - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3241](https://togithub.com/vitest-dev/vitest/issues/3241) [<samp>(21942)</samp>](https://togithub.com/vitest-dev/vitest/commit/21942db0) - Workspaces c8 source maps - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3226](https://togithub.com/vitest-dev/vitest/issues/3226) [<samp>(efce3)</samp>](https://togithub.com/vitest-dev/vitest/commit/efce3b4d) - **docs**: - Correct typo and broken link to WebdriverIO - by [@​nathanbabcock](https://togithub.com/nathanbabcock) in [https://github.com/vitest-dev/vitest/issues/3275](https://togithub.com/vitest-dev/vitest/issues/3275) [<samp>(c7da1)</samp>](https://togithub.com/vitest-dev/vitest/commit/c7da155f) - **spy**: - Update to set initial implementation through normal logic - by [@​Codex-](https://togithub.com/Codex-) in [https://github.com/vitest-dev/vitest/issues/3260](https://togithub.com/vitest-dev/vitest/issues/3260) and [https://github.com/vitest-dev/vitest/issues/3263](https://togithub.com/vitest-dev/vitest/issues/3263) [<samp>(c759a)</samp>](https://togithub.com/vitest-dev/vitest/commit/c759a9aa) - **vite-node**: - Circular imports - by [@​antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/3196](https://togithub.com/vitest-dev/vitest/issues/3196) [<samp>(cbb59)</samp>](https://togithub.com/vitest-dev/vitest/commit/cbb593a8) - Add missing `import.meta.hot.send` mock - by [@​antfu](https://togithub.com/antfu) [<samp>(b1624)</samp>](https://togithub.com/vitest-dev/vitest/commit/b1624db5) - **vitest**: - Also check for vite relative to vitest package - by [@​JoshuaKGoldberg](https://togithub.com/JoshuaKGoldberg) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3274](https://togithub.com/vitest-dev/vitest/issues/3274) [<samp>(a3393)</samp>](https://togithub.com/vitest-dev/vitest/commit/a3393b15) - **watch**: - Run test files when added to filesystem - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3189](https://togithub.com/vitest-dev/vitest/issues/3189) [<samp>(7b2c8)</samp>](https://togithub.com/vitest-dev/vitest/commit/7b2c81bc) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.30.1...v0.31.0) ### [`v0.30.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.30.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.30.0...v0.30.1) ##### 🐞 Bug Fixes - Do not rely on global `performance` and `AggregateError` - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3171](https://togithub.com/vitest-dev/vitest/issues/3171) [<samp>(cce45)</samp>](https://togithub.com/vitest-dev/vitest/commit/cce45496) - Allow workspace without a config in the root - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3173](https://togithub.com/vitest-dev/vitest/issues/3173) [<samp>(06852)</samp>](https://togithub.com/vitest-dev/vitest/commit/06852f18) - `test.each` respects `chaiConfig` - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(4f6c1)</samp>](https://togithub.com/vitest-dev/vitest/commit/4f6c1340) - Use relative paths in source map's "sources" field - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3177](https://togithub.com/vitest-dev/vitest/issues/3177) [<samp>(6b1b4)</samp>](https://togithub.com/vitest-dev/vitest/commit/6b1b4e68) - **types**: - Allow augmenting jest namespace for custom assertions - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3169](https://togithub.com/vitest-dev/vitest/issues/3169) [<samp>(905ec)</samp>](https://togithub.com/vitest-dev/vitest/commit/905ec05a) - Publish utils and snapshot .d.ts files for typescript - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3172](https://togithub.com/vitest-dev/vitest/issues/3172) [<samp>(7af64)</samp>](https://togithub.com/vitest-dev/vitest/commit/7af64444) - **snapshot**: - `toMatchFileSnapshot` ensure dir exists - by [@​antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/3155](https://togithub.com/vitest-dev/vitest/issues/3155) [<samp>(31168)</samp>](https://togithub.com/vitest-dev/vitest/commit/311682a8) - Improve `skipWriting` check - by [@​antfu](https://togithub.com/antfu) [<samp>(5436c)</samp>](https://togithub.com/vitest-dev/vitest/commit/5436c736) - Normalize EOL for `toMatchFileSnapshot` - by [@​antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/3164](https://togithub.com/vitest-dev/vitest/issues/3164) [<samp>(df3f2)</samp>](https://togithub.com/vitest-dev/vitest/commit/df3f2b50) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.30.0...v0.30.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/JoshuaKGoldberg/template-typescript-node-package). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS43MS40IiwidXBkYXRlZEluVmVyIjoiMzUuNzEuNCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![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://togithub.com/vitest-dev/vitest) | [`^0.30.0` -> `^0.31.0`](https://renovatebot.com/diffs/npm/vitest/0.30.1/0.31.0) | [![age](https://badges.renovateapi.com/packages/npm/vitest/0.31.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/vitest/0.31.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/vitest/0.31.0/compatibility-slim/0.30.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/vitest/0.31.0/confidence-slim/0.30.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest</summary> ### [`v0.31.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.31.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.30.1...v0.31.0) ##### 🚨 Breaking Changes - Update mock implementation to support ESM runtime, introduce "vi.hoisted" - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3258](https://togithub.com/vitest-dev/vitest/issues/3258) [<samp>(0c09a)</samp>](https://togithub.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.mocked('./path/to/module.js', () => { return { originalMethod: mockedMethod } }) ``` - Move assertion declarations to expect package - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3294](https://togithub.com/vitest-dev/vitest/issues/3294) [<samp>(cf3af)</samp>](https://togithub.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 - Add repeat method to tests - by [@​samkevin1](https://togithub.com/samkevin1) in [https://github.com/vitest-dev/vitest/issues/2652](https://togithub.com/vitest-dev/vitest/issues/2652) [<samp>(7c8f0)</samp>](https://togithub.com/vitest-dev/vitest/commit/7c8f0ba9) - Add an option to hide skipped test lines - by [@​g4rry420](https://togithub.com/g4rry420) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2745](https://togithub.com/vitest-dev/vitest/issues/2745) [<samp>(9bdb1)</samp>](https://togithub.com/vitest-dev/vitest/commit/9bdb1603) - **coverage**: Watermarks for c8 - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3254](https://togithub.com/vitest-dev/vitest/issues/3254) [<samp>(730af)</samp>](https://togithub.com/vitest-dev/vitest/commit/730af0b4) - **ui**: Add html coverage - by [@​userquin](https://togithub.com/userquin) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3071](https://togithub.com/vitest-dev/vitest/issues/3071) [<samp>(e24cd)</samp>](https://togithub.com/vitest-dev/vitest/commit/e24cd9b2) - **watch**: Test run cancelling, feat: `--bail` option for cancelling test run - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3163](https://togithub.com/vitest-dev/vitest/issues/3163) [<samp>(8d460)</samp>](https://togithub.com/vitest-dev/vitest/commit/8d4606eb) ##### 🐞 Bug Fixes - Don't call global setup teardown twice - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3188](https://togithub.com/vitest-dev/vitest/issues/3188) [<samp>(ba3d1)</samp>](https://togithub.com/vitest-dev/vitest/commit/ba3d1338) - Reporter to log version before provider initalizations - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3131](https://togithub.com/vitest-dev/vitest/issues/3131) [<samp>(481b1)</samp>](https://togithub.com/vitest-dev/vitest/commit/481b1fd2) - Throw an error if Vitest cannot access its internal state - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3250](https://togithub.com/vitest-dev/vitest/issues/3250) [<samp>(fbb14)</samp>](https://togithub.com/vitest-dev/vitest/commit/fbb1468e) - Warning suppression broken - by [@​IceQub3](https://togithub.com/IceQub3) in [https://github.com/vitest-dev/vitest/issues/3270](https://togithub.com/vitest-dev/vitest/issues/3270) and [https://github.com/vitest-dev/vitest/issues/3271](https://togithub.com/vitest-dev/vitest/issues/3271) [<samp>(036de)</samp>](https://togithub.com/vitest-dev/vitest/commit/036de797) - Show correct diff in "toHaveBeenCalledWith" - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3289](https://togithub.com/vitest-dev/vitest/issues/3289) [<samp>(19fcd)</samp>](https://togithub.com/vitest-dev/vitest/commit/19fcd8df) - Don't print esm warning, if package name is not found - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3292](https://togithub.com/vitest-dev/vitest/issues/3292) [<samp>(62c14)</samp>](https://togithub.com/vitest-dev/vitest/commit/62c14cba) - Support exactOptionalPropertyTypes - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3293](https://togithub.com/vitest-dev/vitest/issues/3293) [<samp>(ba81d)</samp>](https://togithub.com/vitest-dev/vitest/commit/ba81d8a3) - Don't inline vite hmr and rollup types - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3291](https://togithub.com/vitest-dev/vitest/issues/3291) [<samp>(1f118)</samp>](https://togithub.com/vitest-dev/vitest/commit/1f1189bc) - **browser**: - Failing to load vitest/utils - by [@​userquin](https://togithub.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3190](https://togithub.com/vitest-dev/vitest/issues/3190) [<samp>(78bad)</samp>](https://togithub.com/vitest-dev/vitest/commit/78bad4ab) - **coverage**: - `thresholdAutoUpdate` to work with `perFile` - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3182](https://togithub.com/vitest-dev/vitest/issues/3182) [<samp>(29eeb)</samp>](https://togithub.com/vitest-dev/vitest/commit/29eebf65) - Throw error if fail to load built-in provider - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3217](https://togithub.com/vitest-dev/vitest/issues/3217) [<samp>(0a287)</samp>](https://togithub.com/vitest-dev/vitest/commit/0a2875e3) - Stackblitz hangs with c8 - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3225](https://togithub.com/vitest-dev/vitest/issues/3225) [<samp>(d9fda)</samp>](https://togithub.com/vitest-dev/vitest/commit/d9fda2a1) - C8 to ignore vite's generated helpers - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3241](https://togithub.com/vitest-dev/vitest/issues/3241) [<samp>(21942)</samp>](https://togithub.com/vitest-dev/vitest/commit/21942db0) - Workspaces c8 source maps - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3226](https://togithub.com/vitest-dev/vitest/issues/3226) [<samp>(efce3)</samp>](https://togithub.com/vitest-dev/vitest/commit/efce3b4d) - **docs**: - Correct typo and broken link to WebdriverIO - by [@​nathanbabcock](https://togithub.com/nathanbabcock) in [https://github.com/vitest-dev/vitest/issues/3275](https://togithub.com/vitest-dev/vitest/issues/3275) [<samp>(c7da1)</samp>](https://togithub.com/vitest-dev/vitest/commit/c7da155f) - **spy**: - Update to set initial implementation through normal logic - by [@​Codex-](https://togithub.com/Codex-) in [https://github.com/vitest-dev/vitest/issues/3260](https://togithub.com/vitest-dev/vitest/issues/3260) and [https://github.com/vitest-dev/vitest/issues/3263](https://togithub.com/vitest-dev/vitest/issues/3263) [<samp>(c759a)</samp>](https://togithub.com/vitest-dev/vitest/commit/c759a9aa) - **vite-node**: - Circular imports - by [@​antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/3196](https://togithub.com/vitest-dev/vitest/issues/3196) [<samp>(cbb59)</samp>](https://togithub.com/vitest-dev/vitest/commit/cbb593a8) - Add missing `import.meta.hot.send` mock - by [@​antfu](https://togithub.com/antfu) [<samp>(b1624)</samp>](https://togithub.com/vitest-dev/vitest/commit/b1624db5) - **vitest**: - Also check for vite relative to vitest package - by [@​JoshuaKGoldberg](https://togithub.com/JoshuaKGoldberg) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3274](https://togithub.com/vitest-dev/vitest/issues/3274) [<samp>(a3393)</samp>](https://togithub.com/vitest-dev/vitest/commit/a3393b15) - **watch**: - Run test files when added to filesystem - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3189](https://togithub.com/vitest-dev/vitest/issues/3189) [<samp>(7b2c8)</samp>](https://togithub.com/vitest-dev/vitest/commit/7b2c81bc) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.30.1...v0.31.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://app.renovatebot.com/dashboard#github/JoshuaKGoldberg/ts-api-utils). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS43MS40IiwidXBkYXRlZEluVmVyIjoiMzUuNzEuNCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | Type | Update | |---|---|---|---|---|---|---|---| | [@sapphire/discord.js-utilities](https://togithub.com/sapphiredev/utilities/tree/main/packages/discord.js-utilities) ([source](https://togithub.com/sapphiredev/utilities)) | [`6.0.5` -> `6.1.0`](https://renovatebot.com/diffs/npm/@sapphire%2fdiscord.js-utilities/6.0.5/6.1.0) | [![age](https://badges.renovateapi.com/packages/npm/@sapphire%2fdiscord.js-utilities/6.1.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@sapphire%2fdiscord.js-utilities/6.1.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@sapphire%2fdiscord.js-utilities/6.1.0/compatibility-slim/6.0.5)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@sapphire%2fdiscord.js-utilities/6.1.0/confidence-slim/6.0.5)](https://docs.renovatebot.com/merge-confidence/) | dependencies | minor | | [@sapphire/eslint-config](https://togithub.com/sapphiredev/utilities/tree/main/packages/eslint-config) ([source](https://togithub.com/sapphiredev/utilities)) | [`4.4.1` -> `4.4.2`](https://renovatebot.com/diffs/npm/@sapphire%2feslint-config/4.4.1/4.4.2) | [![age](https://badges.renovateapi.com/packages/npm/@sapphire%2feslint-config/4.4.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@sapphire%2feslint-config/4.4.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@sapphire%2feslint-config/4.4.2/compatibility-slim/4.4.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@sapphire%2feslint-config/4.4.2/confidence-slim/4.4.1)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | patch | | [@sapphire/framework](https://www.sapphirejs.dev) ([source](https://togithub.com/sapphiredev/framework)) | [`4.4.0` -> `4.4.3`](https://renovatebot.com/diffs/npm/@sapphire%2fframework/4.4.0/4.4.3) | [![age](https://badges.renovateapi.com/packages/npm/@sapphire%2fframework/4.4.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@sapphire%2fframework/4.4.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@sapphire%2fframework/4.4.3/compatibility-slim/4.4.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@sapphire%2fframework/4.4.3/confidence-slim/4.4.0)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | patch | | [@types/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) | [`18.15.11` -> `18.16.5`](https://renovatebot.com/diffs/npm/@types%2fnode/18.15.11/18.16.5) | [![age](https://badges.renovateapi.com/packages/npm/@types%2fnode/18.16.5/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@types%2fnode/18.16.5/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@types%2fnode/18.16.5/compatibility-slim/18.15.11)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@types%2fnode/18.16.5/confidence-slim/18.15.11)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | minor | | [@typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/typescript-eslint) | [`5.58.0` -> `5.59.2`](https://renovatebot.com/diffs/npm/@typescript-eslint%2feslint-plugin/5.58.0/5.59.2) | [![age](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2feslint-plugin/5.59.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2feslint-plugin/5.59.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2feslint-plugin/5.59.2/compatibility-slim/5.58.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2feslint-plugin/5.59.2/confidence-slim/5.58.0)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | minor | | [@typescript-eslint/parser](https://togithub.com/typescript-eslint/typescript-eslint) | [`5.58.0` -> `5.59.2`](https://renovatebot.com/diffs/npm/@typescript-eslint%2fparser/5.58.0/5.59.2) | [![age](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2fparser/5.59.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2fparser/5.59.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2fparser/5.59.2/compatibility-slim/5.58.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2fparser/5.59.2/confidence-slim/5.58.0)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | minor | | [@vitest/coverage-c8](https://togithub.com/vitest-dev/vitest/tree/main/packages/coverage-c8#readme) ([source](https://togithub.com/vitest-dev/vitest)) | [`^0.30.1` -> `^0.31.0`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-c8/0.30.1/0.31.0) | [![age](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-c8/0.31.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-c8/0.31.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-c8/0.31.0/compatibility-slim/0.30.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-c8/0.31.0/confidence-slim/0.30.1)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | minor | | [discord-api-types](https://discord-api-types.dev) ([source](https://togithub.com/discordjs/discord-api-types)) | [`0.37.38` -> `0.37.41`](https://renovatebot.com/diffs/npm/discord-api-types/0.37.38/0.37.41) | [![age](https://badges.renovateapi.com/packages/npm/discord-api-types/0.37.41/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/discord-api-types/0.37.41/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/discord-api-types/0.37.41/compatibility-slim/0.37.38)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/discord-api-types/0.37.41/confidence-slim/0.37.38)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | patch | | [discord.js](https://discord.js.org) ([source](https://togithub.com/discordjs/discord.js)) | [`14.9.0` -> `14.11.0`](https://renovatebot.com/diffs/npm/discord.js/14.9.0/14.11.0) | [![age](https://badges.renovateapi.com/packages/npm/discord.js/14.11.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/discord.js/14.11.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/discord.js/14.11.0/compatibility-slim/14.9.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/discord.js/14.11.0/confidence-slim/14.9.0)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | minor | | [eslint](https://eslint.org) ([source](https://togithub.com/eslint/eslint)) | [`8.38.0` -> `8.40.0`](https://renovatebot.com/diffs/npm/eslint/8.38.0/8.40.0) | [![age](https://badges.renovateapi.com/packages/npm/eslint/8.40.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/eslint/8.40.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/eslint/8.40.0/compatibility-slim/8.38.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/eslint/8.40.0/confidence-slim/8.38.0)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | minor | | [lint-staged](https://togithub.com/okonet/lint-staged) | [`13.2.1` -> `13.2.2`](https://renovatebot.com/diffs/npm/lint-staged/13.2.1/13.2.2) | [![age](https://badges.renovateapi.com/packages/npm/lint-staged/13.2.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/lint-staged/13.2.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/lint-staged/13.2.2/compatibility-slim/13.2.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/lint-staged/13.2.2/confidence-slim/13.2.1)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | patch | | [prettier](https://prettier.io) ([source](https://togithub.com/prettier/prettier)) | [`2.8.7` -> `2.8.8`](https://renovatebot.com/diffs/npm/prettier/2.8.7/2.8.8) | [![age](https://badges.renovateapi.com/packages/npm/prettier/2.8.8/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/prettier/2.8.8/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/prettier/2.8.8/compatibility-slim/2.8.7)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/prettier/2.8.8/confidence-slim/2.8.7)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | patch | | [thedoctor0/zip-release](https://togithub.com/thedoctor0/zip-release) | `0.6.2` -> `0.7.1` | [![age](https://badges.renovateapi.com/packages/github-tags/thedoctor0%2fzip-release/0.7.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/github-tags/thedoctor0%2fzip-release/0.7.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/github-tags/thedoctor0%2fzip-release/0.7.1/compatibility-slim/0.6.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/github-tags/thedoctor0%2fzip-release/0.7.1/confidence-slim/0.6.2)](https://docs.renovatebot.com/merge-confidence/) | action | minor | | [turbo](https://turbo.build/repo) ([source](https://togithub.com/vercel/turbo)) | [`1.9.1` -> `1.9.3`](https://renovatebot.com/diffs/npm/turbo/1.9.1/1.9.3) | [![age](https://badges.renovateapi.com/packages/npm/turbo/1.9.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/turbo/1.9.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/turbo/1.9.3/compatibility-slim/1.9.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/turbo/1.9.3/confidence-slim/1.9.1)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | patch | | [typedoc](https://typedoc.org) ([source](https://togithub.com/TypeStrong/TypeDoc)) | [`0.24.4` -> `0.24.7`](https://renovatebot.com/diffs/npm/typedoc/0.24.4/0.24.7) | [![age](https://badges.renovateapi.com/packages/npm/typedoc/0.24.7/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/typedoc/0.24.7/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/typedoc/0.24.7/compatibility-slim/0.24.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/typedoc/0.24.7/confidence-slim/0.24.4)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | patch | | [vitest](https://togithub.com/vitest-dev/vitest) | [`^0.30.1` -> `^0.31.0`](https://renovatebot.com/diffs/npm/vitest/0.30.1/0.31.0) | [![age](https://badges.renovateapi.com/packages/npm/vitest/0.31.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/vitest/0.31.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/vitest/0.31.0/compatibility-slim/0.30.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/vitest/0.31.0/confidence-slim/0.30.1)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | minor | | [yarn](https://togithub.com/yarnpkg/berry) | [`3.3.1` -> `3.5.1`](https://renovatebot.com/diffs/npm/yarn/3.3.1/3.5.1) | [![age](https://badges.renovateapi.com/packages/npm/yarn/3.5.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/yarn/3.5.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/yarn/3.5.1/compatibility-slim/3.3.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/yarn/3.5.1/confidence-slim/3.3.1)](https://docs.renovatebot.com/merge-confidence/) | packageManager | minor | --- ### Release Notes <details> <summary>sapphiredev/utilities (@​sapphire/discord.js-utilities)</summary> ### [`v6.1.0`](https://togithub.com/sapphiredev/utilities/blob/HEAD/packages/discord.js-utilities/CHANGELOG.md#sapphirediscordjs-utilities610-httpsgithubcomsapphiredevutilitiescomparesapphirediscordjs-utilities607sapphirediscordjs-utilities610---2023-05-05) [Compare Source](https://togithub.com/sapphiredev/utilities/compare/@sapphire/[email protected]...@sapphire/[email protected]) #### 🚀 Features - **PaginatedMessage:** Add support for all select menus ([#​589](https://togithub.com/sapphiredev/utilities/issues/589)) ([4858486](https://togithub.com/sapphiredev/utilities/commit/4858486714192e8d37cf69f2aeda3002c1bfb9aa)) - **PaginatedMessage:** Add support for per-page actions ([#​587](https://togithub.com/sapphiredev/utilities/issues/587)) ([b917236](https://togithub.com/sapphiredev/utilities/commit/b9172364bc46a0adef2708ff79ad756bc78f6b1d)) - **PaginatedMessage:** Add method to update pages after response ([#​584](https://togithub.com/sapphiredev/utilities/issues/584)) ([db13068](https://togithub.com/sapphiredev/utilities/commit/db130684ff3c1680f736451361eec80686a783e0)) ### [`v6.0.7`](https://togithub.com/sapphiredev/utilities/blob/HEAD/packages/discord.js-utilities/CHANGELOG.md#sapphirediscordjs-utilities607-httpsgithubcomsapphiredevutilitiescomparesapphirediscordjs-utilities606sapphirediscordjs-utilities607---2023-05-02) [Compare Source](https://togithub.com/sapphiredev/utilities/compare/@sapphire/[email protected]...@sapphire/[email protected]) #### 🐛 Bug Fixes - **PaginatedMessage:** Only add options and placeholder to the built-in StringSelectMenu ([#​575](https://togithub.com/sapphiredev/utilities/issues/575)) ([49d588b](https://togithub.com/sapphiredev/utilities/commit/49d588b007754bfae7ffa59be6ec0d1c266447f4)) - **paginatedmessage:** Fix checks for `actionIsButtonOrMenu` ([3f5d500](https://togithub.com/sapphiredev/utilities/commit/3f5d5000701c34328038c8a3e3dede021932a27b)) #### 📝 Documentation - **paginatedmessage:** Fix examples ([c080740](https://togithub.com/sapphiredev/utilities/commit/c080740a6eeb151263827836d76463430624d62a)) ### [`v6.0.6`](https://togithub.com/sapphiredev/utilities/blob/HEAD/packages/discord.js-utilities/CHANGELOG.md#sapphirediscordjs-utilities606-httpsgithubcomsapphiredevutilitiescomparesapphirediscordjs-utilities605sapphirediscordjs-utilities606---2023-04-17) [Compare Source](https://togithub.com/sapphiredev/utilities/compare/@sapphire/[email protected]...@sapphire/[email protected]) #### 🐛 Bug Fixes - **discord.js-utilities:** Add tslib dependency to fix \__exportStar not being defined ([2f6e4e6](https://togithub.com/sapphiredev/utilities/commit/2f6e4e65907bfe768a97b37830a10d5cadd75a1e)) </details> <details> <summary>sapphiredev/utilities (@​sapphire/eslint-config)</summary> ### [`v4.4.2`](https://togithub.com/sapphiredev/utilities/blob/HEAD/packages/eslint-config/CHANGELOG.md#sapphireeslint-config442-httpsgithubcomsapphiredevutilitiescomparesapphireeslint-config441sapphireeslint-config442---2023-05-02) [Compare Source](https://togithub.com/sapphiredev/utilities/compare/@sapphire/[email protected]...@sapphire/[email protected]) #### 🐛 Bug Fixes - **eslint-config:** Update dependencies ([9e508a9](https://togithub.com/sapphiredev/utilities/commit/9e508a90ca39874af15e875fcccfc3817c679599)) </details> <details> <summary>sapphiredev/framework</summary> ### [`v4.4.3`](https://togithub.com/sapphiredev/framework/blob/HEAD/CHANGELOG.md#​443-httpsgithubcomsapphiredevframeworkcomparev442v443---2023-05-02) [Compare Source](https://togithub.com/sapphiredev/framework/compare/v4.4.2...v4.4.3) #### 🐛 Bug Fixes - Update dependencies ([852302e](https://togithub.com/sapphiredev/framework/commit/852302e9ca6144430b8f8c611560af3b5664e15f)) ### [`v4.4.2`](https://togithub.com/sapphiredev/framework/blob/HEAD/CHANGELOG.md#​442-httpsgithubcomsapphiredevframeworkcomparev441v442---2023-04-27) [Compare Source](https://togithub.com/sapphiredev/framework/compare/v4.4.1...v4.4.2) #### 🐛 Bug Fixes - Add missing permission to account for [email protected] ([8c5ce9d](https://togithub.com/sapphiredev/framework/commit/8c5ce9dfafbb7a0a329f6feb7d5e216f1df6cedf)) - **deps:** Update all non-major dependencies ([#​631](https://togithub.com/sapphiredev/framework/issues/631)) ([d9115d2](https://togithub.com/sapphiredev/framework/commit/d9115d266e2782604e82f0b22537771055cb8bb5)) ### [`v4.4.1`](https://togithub.com/sapphiredev/framework/blob/HEAD/CHANGELOG.md#​441-httpsgithubcomsapphiredevframeworkcomparev440v441---2023-04-18) [Compare Source](https://togithub.com/sapphiredev/framework/compare/v4.4.0...v4.4.1) #### 🐛 Bug Fixes - **permissions:** Add missing permission strings ([#​630](https://togithub.com/sapphiredev/framework/issues/630)) ([23645bb](https://togithub.com/sapphiredev/framework/commit/23645bbe527119ab6be3824d2435f2dbb5bf89db)) - **ArgType:** Update `type` for guild\*ThreadChannel ([#​628](https://togithub.com/sapphiredev/framework/issues/628)) ([222d50e](https://togithub.com/sapphiredev/framework/commit/222d50e0459f7769bea660ae9ae5ce412b927cdb)) #### 📝 Documentation - Add code of conduct to the repo ([f4a9897](https://togithub.com/sapphiredev/framework/commit/f4a9897142224b0f8c238667a2d1c1180b844435)) </details> <details> <summary>typescript-eslint/typescript-eslint (@​typescript-eslint/eslint-plugin)</summary> ### [`v5.59.2`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#​5592-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5591v5592-2023-05-01) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.59.1...v5.59.2) **Note:** Version bump only for package [@​typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin) ### [`v5.59.1`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#​5591-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5590v5591-2023-04-24) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.59.0...v5.59.1) ##### Bug Fixes - **eslint-plugin:** \[prefer-regexp-exec] skip malformed regexes ([#​6935](https://togithub.com/typescript-eslint/typescript-eslint/issues/6935)) ([05ed60e](https://togithub.com/typescript-eslint/typescript-eslint/commit/05ed60e25f1de9d1bb83d56c81a349130960bec8)) - **eslint-plugin:** \[unified-signatures] no parameters function ([#​6940](https://togithub.com/typescript-eslint/typescript-eslint/issues/6940)) ([2970861](https://togithub.com/typescript-eslint/typescript-eslint/commit/297086154acc568a0ae8eb41c8977b7a7ba4e0ed)) ### [`v5.59.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#​5590-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5580v5590-2023-04-17) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.58.0...v5.59.0) ##### Bug Fixes - **eslint-plugin:** \[no-unnecessary-condition] allow nullish coalescing for naked type parameter ([#​6910](https://togithub.com/typescript-eslint/typescript-eslint/issues/6910)) ([3e5f858](https://togithub.com/typescript-eslint/typescript-eslint/commit/3e5f8583f1e4fe045c2fe2143d6f280b7381f96b)) ##### Features - **eslint-plugin:** \[ban-types] add NonNullable suggestion and allow custom suggestions ([#​6876](https://togithub.com/typescript-eslint/typescript-eslint/issues/6876)) ([ff65235](https://togithub.com/typescript-eslint/typescript-eslint/commit/ff65235246bb6214fb64f0e0317373ca99f8bcbe)) </details> <details> <summary>typescript-eslint/typescript-eslint (@​typescript-eslint/parser)</summary> ### [`v5.59.2`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#​5592-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5591v5592-2023-05-01) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.59.1...v5.59.2) **Note:** Version bump only for package [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) ### [`v5.59.1`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#​5591-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5590v5591-2023-04-24) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.59.0...v5.59.1) **Note:** Version bump only for package [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) ### [`v5.59.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#​5590-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5580v5590-2023-04-17) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.58.0...v5.59.0) **Note:** Version bump only for package [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) </details> <details> <summary>vitest-dev/vitest</summary> ### [`v0.31.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.31.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.30.1...v0.31.0) ##### 🚨 Breaking Changes - Update mock implementation to support ESM runtime, introduce "vi.hoisted" - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3258](https://togithub.com/vitest-dev/vitest/issues/3258) [<samp>(0c09a)</samp>](https://togithub.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.mocked('./path/to/module.js', () => { return { originalMethod: mockedMethod } }) ``` - Move assertion declarations to expect package - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3294](https://togithub.com/vitest-dev/vitest/issues/3294) [<samp>(cf3af)</samp>](https://togithub.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 - Add repeat method to tests - by [@​samkevin1](https://togithub.com/samkevin1) in [https://github.com/vitest-dev/vitest/issues/2652](https://togithub.com/vitest-dev/vitest/issues/2652) [<samp>(7c8f0)</samp>](https://togithub.com/vitest-dev/vitest/commit/7c8f0ba9) - Add an option to hide skipped test lines - by [@​g4rry420](https://togithub.com/g4rry420) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2745](https://togithub.com/vitest-dev/vitest/issues/2745) [<samp>(9bdb1)</samp>](https://togithub.com/vitest-dev/vitest/commit/9bdb1603) - **coverage**: Watermarks for c8 - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3254](https://togithub.com/vitest-dev/vitest/issues/3254) [<samp>(730af)</samp>](https://togithub.com/vitest-dev/vitest/commit/730af0b4) - **ui**: Add html coverage - by [@​userquin](https://togithub.com/userquin) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3071](https://togithub.com/vitest-dev/vitest/issues/3071) [<samp>(e24cd)</samp>](https://togithub.com/vitest-dev/vitest/commit/e24cd9b2) - **watch**: Test run cancelling, feat: `--bail` option for cancelling test run - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3163](https://togithub.com/vitest-dev/vitest/issues/3163) [<samp>(8d460)</samp>](https://togithub.com/vitest-dev/vitest/commit/8d4606eb) ##### 🐞 Bug Fixes - Don't call global setup teardown twice - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3188](https://togithub.com/vitest-dev/vitest/issues/3188) [<samp>(ba3d1)</samp>](https://togithub.com/vitest-dev/vitest/commit/ba3d1338) - Reporter to log version before provider initalizations - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3131](https://togithub.com/vitest-dev/vitest/issues/3131) [<samp>(481b1)</samp>](https://togithub.com/vitest-dev/vitest/commit/481b1fd2) - Throw an error if Vitest cannot access its internal state - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3250](https://togithub.com/vitest-dev/vitest/issues/3250) [<samp>(fbb14)</samp>](https://togithub.com/vitest-dev/vitest/commit/fbb1468e) - Warning suppression broken - by [@​IceQub3](https://togithub.com/IceQub3) in [https://github.com/vitest-dev/vitest/issues/3270](https://togithub.com/vitest-dev/vitest/issues/3270) and [https://github.com/vitest-dev/vitest/issues/3271](https://togithub.com/vitest-dev/vitest/issues/3271) [<samp>(036de)</samp>](https://togithub.com/vitest-dev/vitest/commit/036de797) - Show correct diff in "toHaveBeenCalledWith" - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3289](https://togithub.com/vitest-dev/vitest/issues/3289) [<samp>(19fcd)</samp>](https://togithub.com/vitest-dev/vitest/commit/19fcd8df) - Don't print esm warning, if package name is not found - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3292](https://togithub.com/vitest-dev/vitest/issues/3292) [<samp>(62c14)</samp>](https://togithub.com/vitest-dev/vitest/commit/62c14cba) - Support exactOptionalPropertyTypes - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3293](https://togithub.com/vitest-dev/vitest/issues/3293) [<samp>(ba81d)</samp>](https://togithub.com/vitest-dev/vitest/commit/ba81d8a3) - Don't inline vite hmr and rollup types - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3291](https://togithub.com/vitest-dev/vitest/issues/3291) [<samp>(1f118)</samp>](https://togithub.com/vitest-dev/vitest/commit/1f1189bc) - **browser**: - Failing to load vitest/utils - by [@​userquin](https://togithub.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3190](https://togithub.com/vitest-dev/vitest/issues/3190) [<samp>(78bad)</samp>](https://togithub.com/vitest-dev/vitest/commit/78bad4ab) - **coverage**: - `thresholdAutoUpdate` to work with `perFile` - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3182](https://togithub.com/vitest-dev/vitest/issues/3182) [<samp>(29eeb)</samp>](https://togithub.com/vitest-dev/vitest/commit/29eebf65) - Throw error if fail to load built-in provider - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3217](https://togithub.com/vitest-dev/vitest/issues/3217) [<samp>(0a287)</samp>](https://togithub.com/vitest-dev/vitest/commit/0a2875e3) - Stackblitz hangs with c8 - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3225](https://togithub.com/vitest-dev/vitest/issues/3225) [<samp>(d9fda)</samp>](https://togithub.com/vitest-dev/vitest/commit/d9fda2a1) - C8 to ignore vite's generated helpers - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3241](https://togithub.com/vitest-dev/vitest/issues/3241) [<samp>(21942)</samp>](https://togithub.com/vitest-dev/vitest/commit/21942db0) - Workspaces c8 source maps - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3226](https://togithub.com/vitest-dev/vitest/issues/3226) [<samp>(efce3)</samp>](https://togithub.com/vitest-dev/vitest/commit/efce3b4d) - **docs**: - Correct typo and broken link to WebdriverIO - by [@​nathanbabcock](https://togithub.com/nathanbabcock) in [https://github.com/vitest-dev/vitest/issues/3275](https://togithub.com/vitest-dev/vitest/issues/3275) [<samp>(c7da1)</samp>](https://togithub.com/vitest-dev/vitest/commit/c7da155f) - **spy**: - Update to set initial implementation through normal logic - by [@​Codex-](https://togithub.com/Codex-) in [https://github.com/vitest-dev/vitest/issues/3260](https://togithub.com/vitest-dev/vitest/issues/3260) and [https://github.com/vitest-dev/vitest/issues/3263](https://togithub.com/vitest-dev/vitest/issues/3263) [<samp>(c759a)</samp>](https://togithub.com/vitest-dev/vitest/commit/c759a9aa) - **vite-node**: - Circular imports - by [@​antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/3196](https://togithub.com/vitest-dev/vitest/issues/3196) [<samp>(cbb59)</samp>](https://togithub.com/vitest-dev/vitest/commit/cbb593a8) - Add missing `import.meta.hot.send` mock - by [@​antfu](https://togithub.com/antfu) [<samp>(b1624)</samp>](https://togithub.com/vitest-dev/vitest/commit/b1624db5) - **vitest**: - Also check for vite relative to vitest package - by [@​JoshuaKGoldberg](https://togithub.com/JoshuaKGoldberg) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3274](https://togithub.com/vitest-dev/vitest/issues/3274) [<samp>(a3393)</samp>](https://togithub.com/vitest-dev/vitest/commit/a3393b15) - **watch**: - Run test files when added to filesystem - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3189](https://togithub.com/vitest-dev/vitest/issues/3189) [<samp>(7b2c8)</samp>](https://togithub.com/vitest-dev/vitest/commit/7b2c81bc) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.30.1...v0.31.0) </details> <details> <summary>discordjs/discord-api-types</summary> ### [`v0.37.41`](https://togithub.com/discordjs/discord-api-types/blob/HEAD/CHANGELOG.md#​03741-httpsgithubcomdiscordjsdiscord-api-typescompare0374003741-2023-05-01) [Compare Source](https://togithub.com/discordjs/discord-api-types/compare/0.37.40...0.37.41) ##### Bug Fixes - **GatewayGuildMembersChunkDispatchData:** Omit `guild_id` for presences ([#​761](https://togithub.com/discordjs/discord-api-types/issues/761)) ([5079b16](https://togithub.com/discordjs/discord-api-types/commit/5079b164db3ac3bda25675a553a586f099555667)) - **types:** move `types` condition to the front ([#​763](https://togithub.com/discordjs/discord-api-types/issues/763)) ([9dce6ed](https://togithub.com/discordjs/discord-api-types/commit/9dce6ed392b64e602c3cc05946bc0f30bac7279e)) ### [`v0.37.40`](https://togithub.com/discordjs/discord-api-types/blob/HEAD/CHANGELOG.md#​03740-httpsgithubcomdiscordjsdiscord-api-typescompare0373903740-2023-04-24) [Compare Source](https://togithub.com/discordjs/discord-api-types/compare/0.37.39...0.37.40) ##### Features - add support for voice messages ([#​749](https://togithub.com/discordjs/discord-api-types/issues/749)) ([3dac5b9](https://togithub.com/discordjs/discord-api-types/commit/3dac5b93e7568ba2fbd3bc30d229d2df80f96eed)) ### [`v0.37.39`](https://togithub.com/discordjs/discord-api-types/blob/HEAD/CHANGELOG.md#​03739-httpsgithubcomdiscordjsdiscord-api-typescompare0373803739-2023-04-17) [Compare Source](https://togithub.com/discordjs/discord-api-types/compare/0.37.38...0.37.39) ##### Bug Fixes - **RESTPostAPIChannelMessagesThreadsJSONBody:** mark `auto_archive_duration` as optional ([ca6a95d](https://togithub.com/discordjs/discord-api-types/commit/ca6a95d69c7b93f564f10cce422faf5ea4133be7)) ##### Features - **APIGuild:** add `max_stage_video_channel_users` ([#​550](https://togithub.com/discordjs/discord-api-types/issues/550)) ([9a66d21](https://togithub.com/discordjs/discord-api-types/commit/9a66d21f4913c63ed7c192cf9340febe603bf516)) </details> <details> <summary>discordjs/discord.js</summary> ### [`v14.11.0`](https://togithub.com/discordjs/discord.js/blob/HEAD/packages/discord.js/CHANGELOG.md#​14110-httpsgithubcomdiscordjsdiscordjscompare1410214110---2023-05-06) [Compare Source](https://togithub.com/discordjs/discord.js/compare/14.10.2...14.11.0) #### Bug Fixes - **WebSocketManager:** Properly emit shard error events ([#​9521](https://togithub.com/discordjs/discord.js/issues/9521)) ([e627468](https://togithub.com/discordjs/discord.js/commit/e6274681fd10b0d75e1d3b448c94b50ec6810367)) - **WebSocketManager:** Emit raw ws events again ([#​9502](https://togithub.com/discordjs/discord.js/issues/9502)) ([c429763](https://togithub.com/discordjs/discord.js/commit/c429763be8e94f0f0cbc630e8bb1d415d46f1465)) #### Documentation - **Client:** Update Sapphire's snowflake utility links ([#​9501](https://togithub.com/discordjs/discord.js/issues/9501)) ([1b7981e](https://togithub.com/discordjs/discord.js/commit/1b7981e4696b8ae74ceffa876fc0a9be7d0b9f93)) #### Features - **Guild:** Safety alerts channel and mention raid protection ([#​8959](https://togithub.com/discordjs/discord.js/issues/8959)) ([6b2c3fb](https://togithub.com/discordjs/discord.js/commit/6b2c3fb9d0571de808e990cf064f73240ab93451)) #### Performance - **Role:** Linear speed position getter ([#​9493](https://togithub.com/discordjs/discord.js/issues/9493)) ([8e9a2b4](https://togithub.com/discordjs/discord.js/commit/8e9a2b4630f78bb9e45345ec2a16812bfac70a20)) #### Refactor - **GuildChannel:** Simplify constructor ([#​9499](https://togithub.com/discordjs/discord.js/issues/9499)) ([f2ad076](https://togithub.com/discordjs/discord.js/commit/f2ad0762c521422ab64e5b10344a6fd67961031b)) #### Typings - **StringSelectMenuComponentData:** `options` is required ([#​9515](https://togithub.com/discordjs/discord.js/issues/9515)) ([d7b18f0](https://togithub.com/discordjs/discord.js/commit/d7b18f0681d4147ff192c98108c035d6d0f96cce)) ### [`v14.10.2`](https://togithub.com/discordjs/discord.js/blob/HEAD/packages/discord.js/CHANGELOG.md#​14102-httpsgithubcomdiscordjsdiscordjscompare1410114102---2023-05-01) [Compare Source](https://togithub.com/discordjs/discord.js/compare/14.10.1...14.10.2) #### Bug Fixes - Correct `isJSONEncodable()` import ([#​9495](https://togithub.com/discordjs/discord.js/issues/9495)) ([201b002](https://togithub.com/discordjs/discord.js/commit/201b002ad405b845ace5f708077c1f157bb4126d)) - **Client:** `generateInvite()` scope validation ([#​9492](https://togithub.com/discordjs/discord.js/issues/9492)) ([b327f49](https://togithub.com/discordjs/discord.js/commit/b327f4925ff557e0aa8273d7f017aa616226ca06)) ### [`v14.10.1`](https://togithub.com/discordjs/discord.js/blob/HEAD/packages/discord.js/CHANGELOG.md#​14101-httpsgithubcomdiscordjsdiscordjscompare1410014101---2023-05-01) [Compare Source](https://togithub.com/discordjs/discord.js/compare/14.10.0...14.10.1) #### Bug Fixes - **Client:** Spelling of InvalidScopesWithPermissions ([ac9bf3a](https://togithub.com/discordjs/discord.js/commit/ac9bf3ac06ec78dbaca2ce4a82cceb0d82484211)) #### Refactor - **ShardClientUtil:** Logic de-duplication ([#​9491](https://togithub.com/discordjs/discord.js/issues/9491)) ([a9f2bff](https://togithub.com/discordjs/discord.js/commit/a9f2bff82a18c6a3afdee99e5830e1d7b4da65dc)) ### [`v14.10.0`](https://togithub.com/discordjs/discord.js/blob/HEAD/packages/discord.js/CHANGELOG.md#​14100-httpsgithubcomdiscordjsdiscordjscompare149014100---2023-05-01) [Compare Source](https://togithub.com/discordjs/discord.js/compare/14.9.0...14.10.0) #### Bug Fixes - **ShardClientUtil:** Fix client event names ([#​9474](https://togithub.com/discordjs/discord.js/issues/9474)) ([ad217cc](https://togithub.com/discordjs/discord.js/commit/ad217cc7604dda6a33df73db82799fd5bb4e85a9)) - **BaseClient:** Prevent user agent mutation ([#​9425](https://togithub.com/discordjs/discord.js/issues/9425)) ([217e5d8](https://togithub.com/discordjs/discord.js/commit/217e5d81005a2506c96335f7fb96fa21d7dbb04c)) - **BitField:** Use only enum names in iterating ([#​9357](https://togithub.com/discordjs/discord.js/issues/9357)) ([40d07fb](https://togithub.com/discordjs/discord.js/commit/40d07fbbbd51d62793d9ea541f41f157b5dad224)) - Use new permission name ([#​9274](https://togithub.com/discordjs/discord.js/issues/9274)) ([d2d27ce](https://togithub.com/discordjs/discord.js/commit/d2d27ce7346bc37b34938c84bd3b106a4fa51f53)) - **Message#editable:** Fix permissions check in locked threads ([#​9319](https://togithub.com/discordjs/discord.js/issues/9319)) ([d4c1fec](https://togithub.com/discordjs/discord.js/commit/d4c1fecbe264bc52a70aaf0ec303d35e2f15bbcd)) - Fix external links ([#​9313](https://togithub.com/discordjs/discord.js/issues/9313)) ([a7425c2](https://togithub.com/discordjs/discord.js/commit/a7425c29c4f23f1b31f4c6a463107ca9eb7fd7e2)) #### Documentation - **AutoModerationRule:** Update docs ([#​9464](https://togithub.com/discordjs/discord.js/issues/9464)) ([1b15d31](https://togithub.com/discordjs/discord.js/commit/1b15d31b5ae1b1739716fab00b18083c1d7d389a)) - **APITypes:** Document role & user select menu components ([#​9435](https://togithub.com/discordjs/discord.js/issues/9435)) ([c6ca5a8](https://togithub.com/discordjs/discord.js/commit/c6ca5a83e7b72613f95c2145606a1330f64ae894)) - **BaseMessageOptions:** Fix embeds and components ([#​9437](https://togithub.com/discordjs/discord.js/issues/9437)) ([5c52bb9](https://togithub.com/discordjs/discord.js/commit/5c52bb95906250518a8813820d543f43dd7abdf9)) - **InteractionResponses:** ShowModal docs change ([#​9434](https://togithub.com/discordjs/discord.js/issues/9434)) ([7d34100](https://togithub.com/discordjs/discord.js/commit/7d341000d44b762a2fe0434a6b518f7d63539d34)) - Use ESM code in examples ([#​9427](https://togithub.com/discordjs/discord.js/issues/9427)) ([ce287f2](https://togithub.com/discordjs/discord.js/commit/ce287f21d1540da7f17cac8a57dc33a67f391ef3)) - Generate static imports for types with api-extractor ([98a76db](https://togithub.com/discordjs/discord.js/commit/98a76db482879f79d6bb2fb2e5fc65ac2c34e2d9)) - **Options:** Fix links and invalid syntax ([#​9322](https://togithub.com/discordjs/discord.js/issues/9322)) ([86e5f5a](https://togithub.com/discordjs/discord.js/commit/86e5f5a119c6d2588b988a33236d358ded357847)) - Cleanup MessageCreateOptions and MessageReplyOptions ([#​9283](https://togithub.com/discordjs/discord.js/issues/9283)) ([300059c](https://togithub.com/discordjs/discord.js/commit/300059cb266e6cca42c30ee7f997c48ab2cc565e)) - **Events:** Document auto moderation events ([#​9342](https://togithub.com/discordjs/discord.js/issues/9342)) ([79bcdfa](https://togithub.com/discordjs/discord.js/commit/79bcdfa767e7e842164e1174b6f4834ed731d329)) - Add `SnowflakeUtil` ([#​9371](https://togithub.com/discordjs/discord.js/issues/9371)) ([8ffcf77](https://togithub.com/discordjs/discord.js/commit/8ffcf77840b62590fcb4731380d28b22d0b98741)) - Use stable tag ([#​9343](https://togithub.com/discordjs/discord.js/issues/9343)) ([c0f2dd7](https://togithub.com/discordjs/discord.js/commit/c0f2dd713151a29c98e1eebad66721a208be1fc0)) - Remove `JSONEncondable` ([#​9344](https://togithub.com/discordjs/discord.js/issues/9344)) ([b2eec5f](https://togithub.com/discordjs/discord.js/commit/b2eec5f9fcf37ebb3b7f87a67a6ee3160c182183)) #### Features - **Attachment:** Voice messages ([#​9392](https://togithub.com/discordjs/discord.js/issues/9392)) ([3e01f91](https://togithub.com/discordjs/discord.js/commit/3e01f91bbba2cbacacc6c921ed664752f679960b)) - **BaseInteraction:** Support new channel payload ([#​9337](https://togithub.com/discordjs/discord.js/issues/9337)) ([29389e3](https://togithub.com/discordjs/discord.js/commit/29389e39f479b832e54c7cb3ddd363aebe99674f)) - **RoleTagData:** Add guildConnections ([#​9366](https://togithub.com/discordjs/discord.js/issues/9366)) ([2dddbe1](https://togithub.com/discordjs/discord.js/commit/2dddbe1f321f2e2722dba4a28f7d18384cf50353)) #### Performance - **RoleManager:** Dont call Role#position getter twice per role ([#​9352](https://togithub.com/discordjs/discord.js/issues/9352)) ([bfee6c8](https://togithub.com/discordjs/discord.js/commit/bfee6c8d889502ea39ad919dd9b1e6253a2af571)) #### Refactor - **WebSocketManager:** Use /ws package internally ([#​9099](https://togithub.com/discordjs/discord.js/issues/9099)) ([a9e0de4](https://togithub.com/discordjs/discord.js/commit/a9e0de4288ea39a6a089b8379dcd44ac0053dac7)) - Remove `fromInteraction` in internal channel creation ([#​9335](https://togithub.com/discordjs/discord.js/issues/9335)) ([794abe8](https://togithub.com/discordjs/discord.js/commit/794abe8450bae000cd0544922cdf53e7b3e4c59c)) #### Typings - **AutoModerationActionMetadataOptions:** Make channel property optional ([#​9460](https://togithub.com/discordjs/discord.js/issues/9460)) ([d26df5f](https://togithub.com/discordjs/discord.js/commit/d26df5fabaf227fb9d10ba5cc1ab326de55aadbc)) - **CategoryChannel:** Ensure `parent` and `parentId` are `null` ([#​9327](https://togithub.com/discordjs/discord.js/issues/9327)) ([8218ffc](https://togithub.com/discordjs/discord.js/commit/8218ffc78d23234b32c05a97fde2f4bea64d7aa6)) - **GuildTextBasedChannel:** Remove unnecessary exclusion of forum channels ([#​9326](https://togithub.com/discordjs/discord.js/issues/9326)) ([7ff3d52](https://togithub.com/discordjs/discord.js/commit/7ff3d528d942a0daa990194915ff8328dec99149)) </details> <details> <summary>eslint/eslint</summary> ### [`v8.40.0`](https://togithub.com/eslint/eslint/releases/tag/v8.40.0) [Compare Source](https://togithub.com/eslint/eslint/compare/v8.39.0...v8.40.0) #### Features - [`5db7808`](https://togithub.com/eslint/eslint/commit/5db7808139c1f2172797285a0700f01644bda254) feat: improve flat config errors for invalid rule options and severities ([#​17140](https://togithub.com/eslint/eslint/issues/17140)) (Josh Goldberg ✨) - [`f5574dc`](https://togithub.com/eslint/eslint/commit/f5574dc739fcc74a7841217ba1f31cce02bee1ff) feat: Add findConfigFile() method to FlatESLint ([#​17142](https://togithub.com/eslint/eslint/issues/17142)) (Nicholas C. Zakas) - [`e52b98b`](https://togithub.com/eslint/eslint/commit/e52b98bf25d882da4efd5559ce5974b6697cf701) feat: add `sourceCode` property to the rule context ([#​17107](https://togithub.com/eslint/eslint/issues/17107)) (Nitin Kumar) - [`1468f5b`](https://togithub.com/eslint/eslint/commit/1468f5b640cfa6fdd8a5ec895337f692def2780b) feat: add `physicalFilename` property to the rule context ([#​17111](https://togithub.com/eslint/eslint/issues/17111)) (Nitin Kumar) - [`0df4d4f`](https://togithub.com/eslint/eslint/commit/0df4d4f658c214e51310a986c03d44d34ceae3ec) feat: add `cwd` to rule context ([#​17106](https://togithub.com/eslint/eslint/issues/17106)) (Nitin Kumar) - [`52018f2`](https://togithub.com/eslint/eslint/commit/52018f21c19b3e461cae32843cddd17ed42f19cd) feat: add `filename` property to the rule context ([#​17108](https://togithub.com/eslint/eslint/issues/17108)) (Nitin Kumar) - [`559ff4e`](https://togithub.com/eslint/eslint/commit/559ff4e4bc54a8b6e6b54825d83c532d724204b3) feat: add new `omitLastInOneLineClassBody` option to the `semi` rule ([#​17105](https://togithub.com/eslint/eslint/issues/17105)) (Nitin Kumar) #### Bug Fixes - [`f076e54`](https://togithub.com/eslint/eslint/commit/f076e54ecdb0fae70d9b43ad6888606097beef97) fix: Ensure FlatESLint#findConfigFile() doesn't throw. ([#​17151](https://togithub.com/eslint/eslint/issues/17151)) (Nicholas C. Zakas) #### Documentation - [`e980bf3`](https://togithub.com/eslint/eslint/commit/e980bf38cf441f2eb29c458b93df77dc0111b391) docs: Update README (GitHub Actions Bot) - [`e92a6fc`](https://togithub.com/eslint/eslint/commit/e92a6fc7ed2a427f5e95f4b3a1c21d71553c97ee) docs: Update README (GitHub Actions Bot) - [`af5fe64`](https://togithub.com/eslint/eslint/commit/af5fe64c398c9bd4206c3c6c1ade81768b291031) docs: Fix custom rule schema docs ([#​17115](https://togithub.com/eslint/eslint/issues/17115)) (Adam Jones) - [`4a352a9`](https://togithub.com/eslint/eslint/commit/4a352a957ba9e721bec9f6f403b419a22b0ec423) docs: explain how to include predefined globals ([#​17114](https://togithub.com/eslint/eslint/issues/17114)) (Marcus Wyatt) - [`5ea15d9`](https://togithub.com/eslint/eslint/commit/5ea15d92ee358e8f3f652c94c019cac96aaec651) docs: add mastodon link in readme ([#​17110](https://togithub.com/eslint/eslint/issues/17110)) (唯然) #### Chores - [`4053004`](https://togithub.com/eslint/eslint/commit/4053004c951813473d1c43f9f9959a9a3484242f) chore: upgrade [@​eslint/js](https://togithub.com/eslint/js)[@​8](https://togithub.com/8).40.0 ([#​17156](https://togithub.com/eslint/eslint/issues/17156)) (Milos Djermanovic) - [`50fed1d`](https://togithub.com/eslint/eslint/commit/50fed1da4449ad7ecbb558294438273cfce603d4) chore: package.json update for [@​eslint/js](https://togithub.com/eslint/js) release (ESLint Jenkins) - [`4c7a170`](https://togithub.com/eslint/eslint/commit/4c7a170b04c5a746e401bef7ce79766ff66a1168) chore: upgrade [@​eslint/eslintrc](https://togithub.com/eslint/eslintrc)[@​2](https://togithub.com/2).0.3 ([#​17155](https://togithub.com/eslint/eslint/issues/17155)) (Milos Djermanovic) - [`e80b7cc`](https://togithub.com/eslint/eslint/commit/e80b7cce640b60c00802148dbb51d03c7223afa9) chore: upgrade [email protected] ([#​17154](https://togithub.com/eslint/eslint/issues/17154)) (Milos Djermanovic) - [`ce3ac91`](https://togithub.com/eslint/eslint/commit/ce3ac91b510576e2afba1657aa5f09e162b4ab07) chore: upgrade [email protected] ([#​17153](https://togithub.com/eslint/eslint/issues/17153)) (Milos Djermanovic) - [`9094d79`](https://togithub.com/eslint/eslint/commit/9094d79fb42c0ebb6100426a3f2f851e8d42a0ee) chore: add `latest/` to `meta.docs.url` in all core rules ([#​17136](https://togithub.com/eslint/eslint/issues/17136)) (Milos Djermanovic) - [`d85efad`](https://togithub.com/eslint/eslint/commit/d85efad655deacc0dc3fdbbace33307094c3b91b) perf: don't use `grapheme-splitter` on ASCII strings in key-spacing rule ([#​17122](https://togithub.com/eslint/eslint/issues/17122)) (Milos Djermanovic) ### [`v8.39.0`](https://togithub.com/eslint/eslint/releases/tag/v8.39.0) [Compare Source](https://togithub.com/eslint/eslint/compare/v8.38.0...v8.39.0) #### Features - [`3f7af9f`](https://togithub.com/eslint/eslint/commit/3f7af9f408625dbc486af914706d34c4b483b5ba) feat: Implement `SourceCode#markVariableAsUsed()` ([#​17086](https://togithub.com/eslint/eslint/issues/17086)) (Nicholas C. Zakas) #### Documentation - [`6987dc5`](https://togithub.com/eslint/eslint/commit/6987dc59e46f4e345d0d6c20c1f2c6846bbd7acc) docs: Fix formatting in Custom Rules docs ([#​17097](https://togithub.com/eslint/eslint/issues/17097)) (Milos Djermanovic) - [`4ee92e5`](https://togithub.com/eslint/eslint/commit/4ee92e5cbdeba6fea2147901ce926de16946958a) docs: Update README (GitHub Actions Bot) - [`d8e9887`](https://togithub.com/eslint/eslint/commit/d8e9887c2c384d24d586d08ee9ae2ada79bd234c) docs: Custom Rules cleanup/expansion ([#​16906](https://togithub.com/eslint/eslint/issues/16906)) (Ben Perlmutter) - [`1fea279`](https://togithub.com/eslint/eslint/commit/1fea2797801a82a2718814c83dad641dab092bcc) docs: Clarify how to add to tsc agenda ([#​17084](https://togithub.com/eslint/eslint/issues/17084)) (Nicholas C. Zakas) - [`970ef1c`](https://togithub.com/eslint/eslint/commit/970ef1c868235a58297682513842f1256cdfbd03) docs: Update triage board location (Nicholas C. Zakas) - [`6d8bffd`](https://togithub.com/eslint/eslint/commit/6d8bffdf45d50e272dc45e6d2d05b4a737514468) docs: Update README (GitHub Actions Bot) #### Chores - [`60a6f26`](https://togithub.com/eslint/eslint/commit/60a6f2694deb4aa1c54de2a28d0357cddfd16644) chore: upgrade [@​eslint/js](https://togithub.com/eslint/js)[@​8](https://togithub.com/8).39.0 ([#​17102](https://togithub.com/eslint/eslint/issues/17102)) (Milos Djermanovic) - [`d5ba5c0`](https://togithub.com/eslint/eslint/commit/d5ba5c0a85e7a10777761f5d46c104ab7f25845b) chore: package.json update for [@​eslint/js](https://togithub.com/eslint/js) release (ESLint Jenkins) - [`f57eff2`](https://togithub.com/eslint/eslint/commit/f57eff20f5789408e95061f1af5354bb9b4f4784) ci: run tests on Node.js v20 ([#​17093](https://togithub.com/eslint/eslint/issues/17093)) (Nitin Kumar) - [`9d1b8fc`](https://togithub.com/eslint/eslint/commit/9d1b8fc60cc31f12618e58c10a2669506b7ce9bf) perf: Binary search in token store `utils.search` ([#​17066](https://togithub.com/eslint/eslint/issues/17066)) (Francesco Trotta) - [`07a4435`](https://togithub.com/eslint/eslint/commit/07a4435a0c08cb63ebf11b71f735bac20318829b) chore: Add request for minimal repro to bug report ([#​17081](https://togithub.com/eslint/eslint/issues/17081)) (Nicholas C. Zakas) - [`eac4943`](https://togithub.com/eslint/eslint/commit/eac4943ba2e4edb3dbfea0470e5d4b15a4926c40) refactor: remove unnecessary use of `SourceCode#getAncestors` in rules ([#​17075](https://togithub.com/eslint/eslint/issues/17075)) (Milos Djermanovic) - [`0a7b60a`](https://togithub.com/eslint/eslint/commit/0a7b60a9d5621dbbc1a8a8adda3b7c2060c779ca) chore: update description of `SourceCode#getDeclaredVariables` ([#​17072](https://togithub.com/eslint/eslint/issues/17072)) (Milos Djermanovic) - [`6e2df71`](https://togithub.com/eslint/eslint/commit/6e2df71cc390252aaca212abe3dc0467fe397450) chore: remove unnecessary references to the LICENSE file ([#​17071](https://togithub.com/eslint/eslint/issues/17071)) (Milos Djermanovic) </details> <details> <summary>okonet/lint-staged</summary> ### [`v13.2.2`](https://togithub.com/okonet/lint-staged/releases/tag/v13.2.2) [Compare Source](https://togithub.com/okonet/lint-staged/compare/v13.2.1...v13.2.2) ##### Bug Fixes - **dependencies:** update `[email protected]` (GHSA-f9xv-q969-pqx4) ([#​1290](https://togithub.com/okonet/lint-staged/issues/1290)) ([cf691aa](https://togithub.com/okonet/lint-staged/commit/cf691aa188719d9479ceaeffbffe814594fdb65f)) </details> <details> <summary>prettier/prettier</summary> ### [`v2.8.8`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#​288) [Compare Source](https://togithub.com/prettier/prettier/compare/2.8.7...2.8.8) This version is a republished version of v2.8.7. A bad version was accidentally published and [it can't be unpublished](https://togithub.com/npm/cli/issues/1686), apologies for the churn. </details> <details> <summary>thedoctor0/zip-release</summary> ### [`v0.7.1`](https://togithub.com/TheDoctor0/zip-release/releases/tag/0.7.1) [Compare Source](https://togithub.com/thedoctor0/zip-release/compare/0.7.0...0.7.1) - Allow `tar.gz` usage as `type` for the convenience in job matrix ([#​38](https://togithub.com/thedoctor0/zip-release/issues/38)) ### [`v0.7.0`](https://togithub.com/TheDoctor0/zip-release/releases/tag/0.7.0) [Compare Source](https://togithub.com/thedoctor0/zip-release/compare/0.6.3...0.7.0) - Add support for custom command parameters (see [custom](https://togithub.com/TheDoctor0/zip-release#custom) parameter) ### [`v0.6.3`](https://togithub.com/TheDoctor0/zip-release/releases/tag/0.6.3) [Compare Source](https://togithub.com/thedoctor0/zip-release/compare/0.6.2...0.6.3) - Handle multiple exclusions with tar ([#​33](https://togithub.com/thedoctor0/zip-release/issues/33)) </details> <details> <summary>vercel/turbo</summary> ### [`v1.9.3`](https://togithub.com/vercel/turbo/releases/tag/v1.9.3): Turborepo v1.9.3 [Compare Source](https://togithub.com/vercel/turbo/compare/v1.9.2...v1.9.3) <!-- Release notes generated using configuration in .github/turborepo-release.yml at v1.9.3 --> #### What's Changed ##### Changelog - Revert "fix(turborepo): SCM tests and renaming ([#​4462](https://togithub.com/vercel/turbo/issues/4462))" by [@​NicholasLYang](https://togithub.com/NicholasLYang) in [https://github.com/vercel/turbo/pull/4604](https://togithub.com/vercel/turbo/pull/4604) **Full Changelog**: https://github.com/vercel/turbo/compare/v1.9.2...v1.9.3 ### [`v1.9.2`](https://togithub.com/vercel/turbo/releases/tag/v1.9.2): Turborepo v1.9.2 [Compare Source](https://togithub.com/vercel/turbo/compare/v1.9.1...v1.9.2) <!-- Release notes generated using configuration in .github/turborepo-release.yml at v1.9.2 --> #### What's Changed ##### Changelog - chore: Fix spelling by [@​NicholasLYang](https://togithub.com/NicholasLYang) in [https://github.com/vercel/turbo/pull/4552](https://togithub.com/vercel/turbo/pull/4552) - Include TimeSaved metric in Run Summaries by [@​mehulkar](https://togithub.com/mehulkar) in [https://github.com/vercel/turbo/pull/4539](https://togithub.com/vercel/turbo/pull/4539) - docs: add missing comma in `turbo.json` by [@​BRKalow](https://togithub.com/BRKalow) in [https://github.com/vercel/turbo/pull/4557](https://togithub.com/vercel/turbo/pull/4557) - Delete a test fixture we don't need by [@​mehulkar](https://togithub.com/mehulkar) in [https://github.com/vercel/turbo/pull/4558](https://togithub.com/vercel/turbo/pull/4558) - fix(create-turbo): correct package manager selection by [@​tknickman](https://togithub.com/tknickman) in [https://github.com/vercel/turbo/pull/4574](https://togithub.com/vercel/turbo/pull/4574) - Print Run URL if there is one by [@​mehulkar](https://togithub.com/mehulkar) in [https://github.com/vercel/turbo/pull/4562](https://togithub.com/vercel/turbo/pull/4562) - fix(create-turbo): prompt fix by [@​tknickman](https://togithub.com/tknickman) in [https://github.com/vercel/turbo/pull/4586](https://togithub.com/vercel/turbo/pull/4586) - fix: better support for pnpm aliases by [@​chris-olszewski](https://togithub.com/chris-olszewski) in [https://github.com/vercel/turbo/pull/4555](https://togithub.com/vercel/turbo/pull/4555) - Make find_up use os.ReadDir by [@​nathanhammond](https://togithub.com/nathanhammond) in [https://github.com/vercel/turbo/pull/4599](https://togithub.com/vercel/turbo/pull/4599) - fix(turbo-utils): package manager available by [@​tknickman](https://togithub.com/tknickman) in [https://github.com/vercel/turbo/pull/4603](https://togithub.com/vercel/turbo/pull/4603) #### New Contributors - [@​BRKalow](https://togithub.com/BRKalow) made their first contribution in [https://github.com/vercel/turbo/pull/4557](https://togithub.com/vercel/turbo/pull/4557) **Full Changelog**: https://github.com/vercel/turbo/compare/v1.9.1...v1.9.2 </details> <details> <summary>TypeStrong/TypeDoc</summary> ### [`v0.24.7`](https://togithub.com/TypeStrong/TypeDoc/blob/HEAD/CHANGELOG.md#v0247-2023-05-08) [Compare Source](https://togithub.com/TypeStrong/TypeDoc/compare/v0.24.6...v0.24.7) ##### Features - TypeDoc will now allow conversion without any entry points to support "readme only" packages, [#​2264](https://togithub.com/TypeStrong/TypeDoc/issues/2264). ##### Bug Fixes - Category children are now sorted according to the `sort` option, [#​2272](https://togithub.com/TypeStrong/TypeDoc/issues/2272). - Inline tags no longer require a space after the tag name to be parsed as a tag, [#​2273](https://togithub.com/TypeStrong/TypeDoc/issues/2273). - Fixed module/namespace links in navigation when viewed in Safari, [#​2275](https://togithub.com/TypeStrong/TypeDoc/issues/2275). ### [`v0.24.6`](https://togithub.com/TypeStrong/TypeDoc/blob/HEAD/CHANGELOG.md#v0246-2023-04-24) [Compare Source](https://togithub.com/TypeStrong/TypeDoc/compare/ </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 10am on Saturday" (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. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.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://app.renovatebot.com/dashboard#github/KBot-discord/utilities). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC44NC4yIiwidXBkYXRlZEluVmVyIjoiMzUuNzEuNCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![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://togithub.com/vitest-dev/vitest/tree/main/packages/coverage-c8#readme) ([source](https://togithub.com/vitest-dev/vitest)) | [`0.30.1` -> `0.31.0`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-c8/0.30.1/0.31.0) | [![age](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-c8/0.31.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-c8/0.31.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-c8/0.31.0/compatibility-slim/0.30.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-c8/0.31.0/confidence-slim/0.30.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest</summary> ### [`v0.31.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.31.0) [Compare Source](https://togithub.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://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3294](https://togithub.com/vitest-dev/vitest/issues/3294) [<samp>(cf3af)</samp>](https://togithub.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://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3258](https://togithub.com/vitest-dev/vitest/issues/3258) [<samp>(0c09a)</samp>](https://togithub.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://togithub.com/samkevin1) in [https://github.com/vitest-dev/vitest/issues/2652](https://togithub.com/vitest-dev/vitest/issues/2652) [<samp>(7c8f0)</samp>](https://togithub.com/vitest-dev/vitest/commit/7c8f0ba9) - Add an option to hide skipped test lines - by [@​g4rry420](https://togithub.com/g4rry420) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2745](https://togithub.com/vitest-dev/vitest/issues/2745) [<samp>(9bdb1)</samp>](https://togithub.com/vitest-dev/vitest/commit/9bdb1603) - **coverage**: Watermarks for c8 - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3254](https://togithub.com/vitest-dev/vitest/issues/3254) [<samp>(730af)</samp>](https://togithub.com/vitest-dev/vitest/commit/730af0b4) - **ui**: Add html coverage - by [@​userquin](https://togithub.com/userquin) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3071](https://togithub.com/vitest-dev/vitest/issues/3071) [<samp>(e24cd)</samp>](https://togithub.com/vitest-dev/vitest/commit/e24cd9b2) - **watch**: Test run cancelling, feat: `--bail` option for cancelling test run - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3163](https://togithub.com/vitest-dev/vitest/issues/3163) [<samp>(8d460)</samp>](https://togithub.com/vitest-dev/vitest/commit/8d4606eb) ##### 🐞 Bug Fixes - Don't call global setup teardown twice - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3188](https://togithub.com/vitest-dev/vitest/issues/3188) [<samp>(ba3d1)</samp>](https://togithub.com/vitest-dev/vitest/commit/ba3d1338) - Reporter to log version before provider initalizations - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3131](https://togithub.com/vitest-dev/vitest/issues/3131) [<samp>(481b1)</samp>](https://togithub.com/vitest-dev/vitest/commit/481b1fd2) - Throw an error if Vitest cannot access its internal state - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3250](https://togithub.com/vitest-dev/vitest/issues/3250) [<samp>(fbb14)</samp>](https://togithub.com/vitest-dev/vitest/commit/fbb1468e) - Warning suppression broken - by [@​IceQub3](https://togithub.com/IceQub3) in [https://github.com/vitest-dev/vitest/issues/3270](https://togithub.com/vitest-dev/vitest/issues/3270) and [https://github.com/vitest-dev/vitest/issues/3271](https://togithub.com/vitest-dev/vitest/issues/3271) [<samp>(036de)</samp>](https://togithub.com/vitest-dev/vitest/commit/036de797) - Show correct diff in "toHaveBeenCalledWith" - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3289](https://togithub.com/vitest-dev/vitest/issues/3289) [<samp>(19fcd)</samp>](https://togithub.com/vitest-dev/vitest/commit/19fcd8df) - Don't print esm warning, if package name is not found - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3292](https://togithub.com/vitest-dev/vitest/issues/3292) [<samp>(62c14)</samp>](https://togithub.com/vitest-dev/vitest/commit/62c14cba) - Support exactOptionalPropertyTypes - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3293](https://togithub.com/vitest-dev/vitest/issues/3293) [<samp>(ba81d)</samp>](https://togithub.com/vitest-dev/vitest/commit/ba81d8a3) - Don't inline vite hmr and rollup types - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3291](https://togithub.com/vitest-dev/vitest/issues/3291) [<samp>(1f118)</samp>](https://togithub.com/vitest-dev/vitest/commit/1f1189bc) - **browser**: - Failing to load vitest/utils - by [@​userquin](https://togithub.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3190](https://togithub.com/vitest-dev/vitest/issues/3190) [<samp>(78bad)</samp>](https://togithub.com/vitest-dev/vitest/commit/78bad4ab) - **coverage**: - `thresholdAutoUpdate` to work with `perFile` - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3182](https://togithub.com/vitest-dev/vitest/issues/3182) [<samp>(29eeb)</samp>](https://togithub.com/vitest-dev/vitest/commit/29eebf65) - Throw error if fail to load built-in provider - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3217](https://togithub.com/vitest-dev/vitest/issues/3217) [<samp>(0a287)</samp>](https://togithub.com/vitest-dev/vitest/commit/0a2875e3) - Stackblitz hangs with c8 - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3225](https://togithub.com/vitest-dev/vitest/issues/3225) [<samp>(d9fda)</samp>](https://togithub.com/vitest-dev/vitest/commit/d9fda2a1) - C8 to ignore vite's generated helpers - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3241](https://togithub.com/vitest-dev/vitest/issues/3241) [<samp>(21942)</samp>](https://togithub.com/vitest-dev/vitest/commit/21942db0) - Workspaces c8 source maps - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3226](https://togithub.com/vitest-dev/vitest/issues/3226) [<samp>(efce3)</samp>](https://togithub.com/vitest-dev/vitest/commit/efce3b4d) - **docs**: - Correct typo and broken link to WebdriverIO - by [@​nathanbabcock](https://togithub.com/nathanbabcock) in [https://github.com/vitest-dev/vitest/issues/3275](https://togithub.com/vitest-dev/vitest/issues/3275) [<samp>(c7da1)</samp>](https://togithub.com/vitest-dev/vitest/commit/c7da155f) - **spy**: - Update to set initial implementation through normal logic - by [@​Codex-](https://togithub.com/Codex-) in [https://github.com/vitest-dev/vitest/issues/3260](https://togithub.com/vitest-dev/vitest/issues/3260) and [https://github.com/vitest-dev/vitest/issues/3263](https://togithub.com/vitest-dev/vitest/issues/3263) [<samp>(c759a)</samp>](https://togithub.com/vitest-dev/vitest/commit/c759a9aa) - **vite-node**: - Circular imports - by [@​antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/3196](https://togithub.com/vitest-dev/vitest/issues/3196) [<samp>(cbb59)</samp>](https://togithub.com/vitest-dev/vitest/commit/cbb593a8) - Add missing `import.meta.hot.send` mock - by [@​antfu](https://togithub.com/antfu) [<samp>(b1624)</samp>](https://togithub.com/vitest-dev/vitest/commit/b1624db5) - **vitest**: - Also check for vite relative to vitest package - by [@​JoshuaKGoldberg](https://togithub.com/JoshuaKGoldberg) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3274](https://togithub.com/vitest-dev/vitest/issues/3274) [<samp>(a3393)</samp>](https://togithub.com/vitest-dev/vitest/commit/a3393b15) - **watch**: - Run test files when added to filesystem - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3189](https://togithub.com/vitest-dev/vitest/issues/3189) [<samp>(7b2c8)</samp>](https://togithub.com/vitest-dev/vitest/commit/7b2c81bc) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.30.1...v0.31.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://app.renovatebot.com/dashboard#github/ariakit/ariakit). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS42OS4zIiwidXBkYXRlZEluVmVyIjoiMzUuNzUuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![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://togithub.com/vitest-dev/vitest) | [`0.30.1` -> `0.31.0`](https://renovatebot.com/diffs/npm/vitest/0.30.1/0.31.0) | [![age](https://badges.renovateapi.com/packages/npm/vitest/0.31.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/vitest/0.31.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/vitest/0.31.0/compatibility-slim/0.30.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/vitest/0.31.0/confidence-slim/0.30.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest</summary> ### [`v0.31.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.31.0) [Compare Source](https://togithub.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://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3294](https://togithub.com/vitest-dev/vitest/issues/3294) [<samp>(cf3af)</samp>](https://togithub.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://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3258](https://togithub.com/vitest-dev/vitest/issues/3258) [<samp>(0c09a)</samp>](https://togithub.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://togithub.com/samkevin1) in [https://github.com/vitest-dev/vitest/issues/2652](https://togithub.com/vitest-dev/vitest/issues/2652) [<samp>(7c8f0)</samp>](https://togithub.com/vitest-dev/vitest/commit/7c8f0ba9) - Add an option to hide skipped test lines - by [@​g4rry420](https://togithub.com/g4rry420) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2745](https://togithub.com/vitest-dev/vitest/issues/2745) [<samp>(9bdb1)</samp>](https://togithub.com/vitest-dev/vitest/commit/9bdb1603) - **coverage**: Watermarks for c8 - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3254](https://togithub.com/vitest-dev/vitest/issues/3254) [<samp>(730af)</samp>](https://togithub.com/vitest-dev/vitest/commit/730af0b4) - **ui**: Add html coverage - by [@​userquin](https://togithub.com/userquin) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3071](https://togithub.com/vitest-dev/vitest/issues/3071) [<samp>(e24cd)</samp>](https://togithub.com/vitest-dev/vitest/commit/e24cd9b2) - **watch**: Test run cancelling, feat: `--bail` option for cancelling test run - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3163](https://togithub.com/vitest-dev/vitest/issues/3163) [<samp>(8d460)</samp>](https://togithub.com/vitest-dev/vitest/commit/8d4606eb) ##### 🐞 Bug Fixes - Don't call global setup teardown twice - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3188](https://togithub.com/vitest-dev/vitest/issues/3188) [<samp>(ba3d1)</samp>](https://togithub.com/vitest-dev/vitest/commit/ba3d1338) - Reporter to log version before provider initalizations - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3131](https://togithub.com/vitest-dev/vitest/issues/3131) [<samp>(481b1)</samp>](https://togithub.com/vitest-dev/vitest/commit/481b1fd2) - Throw an error if Vitest cannot access its internal state - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3250](https://togithub.com/vitest-dev/vitest/issues/3250) [<samp>(fbb14)</samp>](https://togithub.com/vitest-dev/vitest/commit/fbb1468e) - Warning suppression broken - by [@​IceQub3](https://togithub.com/IceQub3) in [https://github.com/vitest-dev/vitest/issues/3270](https://togithub.com/vitest-dev/vitest/issues/3270) and [https://github.com/vitest-dev/vitest/issues/3271](https://togithub.com/vitest-dev/vitest/issues/3271) [<samp>(036de)</samp>](https://togithub.com/vitest-dev/vitest/commit/036de797) - Show correct diff in "toHaveBeenCalledWith" - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3289](https://togithub.com/vitest-dev/vitest/issues/3289) [<samp>(19fcd)</samp>](https://togithub.com/vitest-dev/vitest/commit/19fcd8df) - Don't print esm warning, if package name is not found - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3292](https://togithub.com/vitest-dev/vitest/issues/3292) [<samp>(62c14)</samp>](https://togithub.com/vitest-dev/vitest/commit/62c14cba) - Support exactOptionalPropertyTypes - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3293](https://togithub.com/vitest-dev/vitest/issues/3293) [<samp>(ba81d)</samp>](https://togithub.com/vitest-dev/vitest/commit/ba81d8a3) - Don't inline vite hmr and rollup types - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3291](https://togithub.com/vitest-dev/vitest/issues/3291) [<samp>(1f118)</samp>](https://togithub.com/vitest-dev/vitest/commit/1f1189bc) - **browser**: - Failing to load vitest/utils - by [@​userquin](https://togithub.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3190](https://togithub.com/vitest-dev/vitest/issues/3190) [<samp>(78bad)</samp>](https://togithub.com/vitest-dev/vitest/commit/78bad4ab) - **coverage**: - `thresholdAutoUpdate` to work with `perFile` - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3182](https://togithub.com/vitest-dev/vitest/issues/3182) [<samp>(29eeb)</samp>](https://togithub.com/vitest-dev/vitest/commit/29eebf65) - Throw error if fail to load built-in provider - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3217](https://togithub.com/vitest-dev/vitest/issues/3217) [<samp>(0a287)</samp>](https://togithub.com/vitest-dev/vitest/commit/0a2875e3) - Stackblitz hangs with c8 - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3225](https://togithub.com/vitest-dev/vitest/issues/3225) [<samp>(d9fda)</samp>](https://togithub.com/vitest-dev/vitest/commit/d9fda2a1) - C8 to ignore vite's generated helpers - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3241](https://togithub.com/vitest-dev/vitest/issues/3241) [<samp>(21942)</samp>](https://togithub.com/vitest-dev/vitest/commit/21942db0) - Workspaces c8 source maps - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3226](https://togithub.com/vitest-dev/vitest/issues/3226) [<samp>(efce3)</samp>](https://togithub.com/vitest-dev/vitest/commit/efce3b4d) - **docs**: - Correct typo and broken link to WebdriverIO - by [@​nathanbabcock](https://togithub.com/nathanbabcock) in [https://github.com/vitest-dev/vitest/issues/3275](https://togithub.com/vitest-dev/vitest/issues/3275) [<samp>(c7da1)</samp>](https://togithub.com/vitest-dev/vitest/commit/c7da155f) - **spy**: - Update to set initial implementation through normal logic - by [@​Codex-](https://togithub.com/Codex-) in [https://github.com/vitest-dev/vitest/issues/3260](https://togithub.com/vitest-dev/vitest/issues/3260) and [https://github.com/vitest-dev/vitest/issues/3263](https://togithub.com/vitest-dev/vitest/issues/3263) [<samp>(c759a)</samp>](https://togithub.com/vitest-dev/vitest/commit/c759a9aa) - **vite-node**: - Circular imports - by [@​antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/3196](https://togithub.com/vitest-dev/vitest/issues/3196) [<samp>(cbb59)</samp>](https://togithub.com/vitest-dev/vitest/commit/cbb593a8) - Add missing `import.meta.hot.send` mock - by [@​antfu](https://togithub.com/antfu) [<samp>(b1624)</samp>](https://togithub.com/vitest-dev/vitest/commit/b1624db5) - **vitest**: - Also check for vite relative to vitest package - by [@​JoshuaKGoldberg](https://togithub.com/JoshuaKGoldberg) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3274](https://togithub.com/vitest-dev/vitest/issues/3274) [<samp>(a3393)</samp>](https://togithub.com/vitest-dev/vitest/commit/a3393b15) - **watch**: - Run test files when added to filesystem - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3189](https://togithub.com/vitest-dev/vitest/issues/3189) [<samp>(7b2c8)</samp>](https://togithub.com/vitest-dev/vitest/commit/7b2c81bc) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.30.1...v0.31.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://app.renovatebot.com/dashboard#github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS43OS4xIiwidXBkYXRlZEluVmVyIjoiMzUuNzkuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![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://togithub.com/vitest-dev/vitest) | [`^0.28.5` -> `^0.31.0`](https://renovatebot.com/diffs/npm/vitest/0.28.5/0.31.0) | [![age](https://badges.renovateapi.com/packages/npm/vitest/0.31.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/vitest/0.31.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/vitest/0.31.0/compatibility-slim/0.28.5)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/vitest/0.31.0/confidence-slim/0.28.5)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest</summary> ### [`v0.31.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.31.0) [Compare Source](https://togithub.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://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3294](https://togithub.com/vitest-dev/vitest/issues/3294) [<samp>(cf3af)</samp>](https://togithub.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://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3258](https://togithub.com/vitest-dev/vitest/issues/3258) [<samp>(0c09a)</samp>](https://togithub.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://togithub.com/samkevin1) in [https://github.com/vitest-dev/vitest/issues/2652](https://togithub.com/vitest-dev/vitest/issues/2652) [<samp>(7c8f0)</samp>](https://togithub.com/vitest-dev/vitest/commit/7c8f0ba9) - Add an option to hide skipped test lines - by [@​g4rry420](https://togithub.com/g4rry420) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2745](https://togithub.com/vitest-dev/vitest/issues/2745) [<samp>(9bdb1)</samp>](https://togithub.com/vitest-dev/vitest/commit/9bdb1603) - **coverage**: Watermarks for c8 - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3254](https://togithub.com/vitest-dev/vitest/issues/3254) [<samp>(730af)</samp>](https://togithub.com/vitest-dev/vitest/commit/730af0b4) - **ui**: Add html coverage - by [@​userquin](https://togithub.com/userquin) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3071](https://togithub.com/vitest-dev/vitest/issues/3071) [<samp>(e24cd)</samp>](https://togithub.com/vitest-dev/vitest/commit/e24cd9b2) - **watch**: Test run cancelling, feat: `--bail` option for cancelling test run - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3163](https://togithub.com/vitest-dev/vitest/issues/3163) [<samp>(8d460)</samp>](https://togithub.com/vitest-dev/vitest/commit/8d4606eb) ##### 🐞 Bug Fixes - Don't call global setup teardown twice - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3188](https://togithub.com/vitest-dev/vitest/issues/3188) [<samp>(ba3d1)</samp>](https://togithub.com/vitest-dev/vitest/commit/ba3d1338) - Reporter to log version before provider initalizations - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3131](https://togithub.com/vitest-dev/vitest/issues/3131) [<samp>(481b1)</samp>](https://togithub.com/vitest-dev/vitest/commit/481b1fd2) - Throw an error if Vitest cannot access its internal state - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3250](https://togithub.com/vitest-dev/vitest/issues/3250) [<samp>(fbb14)</samp>](https://togithub.com/vitest-dev/vitest/commit/fbb1468e) - Warning suppression broken - by [@​IceQub3](https://togithub.com/IceQub3) in [https://github.com/vitest-dev/vitest/issues/3270](https://togithub.com/vitest-dev/vitest/issues/3270) and [https://github.com/vitest-dev/vitest/issues/3271](https://togithub.com/vitest-dev/vitest/issues/3271) [<samp>(036de)</samp>](https://togithub.com/vitest-dev/vitest/commit/036de797) - Show correct diff in "toHaveBeenCalledWith" - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3289](https://togithub.com/vitest-dev/vitest/issues/3289) [<samp>(19fcd)</samp>](https://togithub.com/vitest-dev/vitest/commit/19fcd8df) - Don't print esm warning, if package name is not found - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3292](https://togithub.com/vitest-dev/vitest/issues/3292) [<samp>(62c14)</samp>](https://togithub.com/vitest-dev/vitest/commit/62c14cba) - Support exactOptionalPropertyTypes - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3293](https://togithub.com/vitest-dev/vitest/issues/3293) [<samp>(ba81d)</samp>](https://togithub.com/vitest-dev/vitest/commit/ba81d8a3) - Don't inline vite hmr and rollup types - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3291](https://togithub.com/vitest-dev/vitest/issues/3291) [<samp>(1f118)</samp>](https://togithub.com/vitest-dev/vitest/commit/1f1189bc) - **browser**: - Failing to load vitest/utils - by [@​userquin](https://togithub.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3190](https://togithub.com/vitest-dev/vitest/issues/3190) [<samp>(78bad)</samp>](https://togithub.com/vitest-dev/vitest/commit/78bad4ab) - **coverage**: - `thresholdAutoUpdate` to work with `perFile` - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3182](https://togithub.com/vitest-dev/vitest/issues/3182) [<samp>(29eeb)</samp>](https://togithub.com/vitest-dev/vitest/commit/29eebf65) - Throw error if fail to load built-in provider - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3217](https://togithub.com/vitest-dev/vitest/issues/3217) [<samp>(0a287)</samp>](https://togithub.com/vitest-dev/vitest/commit/0a2875e3) - Stackblitz hangs with c8 - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3225](https://togithub.com/vitest-dev/vitest/issues/3225) [<samp>(d9fda)</samp>](https://togithub.com/vitest-dev/vitest/commit/d9fda2a1) - C8 to ignore vite's generated helpers - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3241](https://togithub.com/vitest-dev/vitest/issues/3241) [<samp>(21942)</samp>](https://togithub.com/vitest-dev/vitest/commit/21942db0) - Workspaces c8 source maps - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3226](https://togithub.com/vitest-dev/vitest/issues/3226) [<samp>(efce3)</samp>](https://togithub.com/vitest-dev/vitest/commit/efce3b4d) - **docs**: - Correct typo and broken link to WebdriverIO - by [@​nathanbabcock](https://togithub.com/nathanbabcock) in [https://github.com/vitest-dev/vitest/issues/3275](https://togithub.com/vitest-dev/vitest/issues/3275) [<samp>(c7da1)</samp>](https://togithub.com/vitest-dev/vitest/commit/c7da155f) - **spy**: - Update to set initial implementation through normal logic - by [@​Codex-](https://togithub.com/Codex-) in [https://github.com/vitest-dev/vitest/issues/3260](https://togithub.com/vitest-dev/vitest/issues/3260) and [https://github.com/vitest-dev/vitest/issues/3263](https://togithub.com/vitest-dev/vitest/issues/3263) [<samp>(c759a)</samp>](https://togithub.com/vitest-dev/vitest/commit/c759a9aa) - **vite-node**: - Circular imports - by [@​antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/3196](https://togithub.com/vitest-dev/vitest/issues/3196) [<samp>(cbb59)</samp>](https://togithub.com/vitest-dev/vitest/commit/cbb593a8) - Add missing `import.meta.hot.send` mock - by [@​antfu](https://togithub.com/antfu) [<samp>(b1624)</samp>](https://togithub.com/vitest-dev/vitest/commit/b1624db5) - **vitest**: - Also check for vite relative to vitest package - by [@​JoshuaKGoldberg](https://togithub.com/JoshuaKGoldberg) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3274](https://togithub.com/vitest-dev/vitest/issues/3274) [<samp>(a3393)</samp>](https://togithub.com/vitest-dev/vitest/commit/a3393b15) - **watch**: - Run test files when added to filesystem - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3189](https://togithub.com/vitest-dev/vitest/issues/3189) [<samp>(7b2c8)</samp>](https://togithub.com/vitest-dev/vitest/commit/7b2c81bc) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.30.1...v0.31.0) ### [`v0.30.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.30.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.30.0...v0.30.1) ##### 🐞 Bug Fixes - Do not rely on global `performance` and `AggregateError` - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3171](https://togithub.com/vitest-dev/vitest/issues/3171) [<samp>(cce45)</samp>](https://togithub.com/vitest-dev/vitest/commit/cce45496) - Allow workspace without a config in the root - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3173](https://togithub.com/vitest-dev/vitest/issues/3173) [<samp>(06852)</samp>](https://togithub.com/vitest-dev/vitest/commit/06852f18) - `test.each` respects `chaiConfig` - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(4f6c1)</samp>](https://togithub.com/vitest-dev/vitest/commit/4f6c1340) - Use relative paths in source map's "sources" field - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3177](https://togithub.com/vitest-dev/vitest/issues/3177) [<samp>(6b1b4)</samp>](https://togithub.com/vitest-dev/vitest/commit/6b1b4e68) - **types**: - Allow augmenting jest namespace for custom assertions - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3169](https://togithub.com/vitest-dev/vitest/issues/3169) [<samp>(905ec)</samp>](https://togithub.com/vitest-dev/vitest/commit/905ec05a) - Publish utils and snapshot .d.ts files for typescript - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3172](https://togithub.com/vitest-dev/vitest/issues/3172) [<samp>(7af64)</samp>](https://togithub.com/vitest-dev/vitest/commit/7af64444) - **snapshot**: - `toMatchFileSnapshot` ensure dir exists - by [@​antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/3155](https://togithub.com/vitest-dev/vitest/issues/3155) [<samp>(31168)</samp>](https://togithub.com/vitest-dev/vitest/commit/311682a8) - Improve `skipWriting` check - by [@​antfu](https://togithub.com/antfu) [<samp>(5436c)</samp>](https://togithub.com/vitest-dev/vitest/commit/5436c736) - Normalize EOL for `toMatchFileSnapshot` - by [@​antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/3164](https://togithub.com/vitest-dev/vitest/issues/3164) [<samp>(df3f2)</samp>](https://togithub.com/vitest-dev/vitest/commit/df3f2b50) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.30.0...v0.30.1) ### [`v0.30.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.30.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.29.8...v0.30.0) ##### 🚨 Breaking Changes - Remove tinyspy internal properties on Vitest spies - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3069](https://togithub.com/vitest-dev/vitest/issues/3069) [<samp>(2f1dc)</samp>](https://togithub.com/vitest-dev/vitest/commit/2f1dc5ce) - Only support Node.js 14.18.0 or newer - by [@​danez](https://togithub.com/danez) in [https://github.com/vitest-dev/vitest/issues/2985](https://togithub.com/vitest-dev/vitest/issues/2985) [<samp>(287dc)</samp>](https://togithub.com/vitest-dev/vitest/commit/287dc205) - Use "concordance" package to display diff instead of using custom diff - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2828](https://togithub.com/vitest-dev/vitest/issues/2828) [<samp>(44630)</samp>](https://togithub.com/vitest-dev/vitest/commit/446308da) - Move snapshot implementation into [@​vitest/snapshot](https://togithub.com/vitest/snapshot) - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3032](https://togithub.com/vitest-dev/vitest/issues/3032) [<samp>(6aff0)</samp>](https://togithub.com/vitest-dev/vitest/commit/6aff0176) - Bump coverage packages vitest peer dependency - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3126](https://togithub.com/vitest-dev/vitest/issues/3126) [<samp>(be1bf)</samp>](https://togithub.com/vitest-dev/vitest/commit/be1bf08d) - Add workspace support - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3103](https://togithub.com/vitest-dev/vitest/issues/3103) [<samp>(b9d1a)</samp>](https://togithub.com/vitest-dev/vitest/commit/b9d1a975) - Experimental optimizer introduced in 0.29.0 is temporarily disabled. ##### 🚀 Features - Gzip html reporter's metadata - by [@​7rulnik](https://togithub.com/7rulnik) in [https://github.com/vitest-dev/vitest/issues/3113](https://togithub.com/vitest-dev/vitest/issues/3113) [<samp>(7856e)</samp>](https://togithub.com/vitest-dev/vitest/commit/7856ec12) - Add chai config - by [@​btea](https://togithub.com/btea) in [https://github.com/vitest-dev/vitest/issues/3066](https://togithub.com/vitest-dev/vitest/issues/3066) [<samp>(6fcba)</samp>](https://togithub.com/vitest-dev/vitest/commit/6fcba9ba) - **snapshot**: Introduce `toMatchFileSnapshot` and auto queuing expect promise - by [@​antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/3116](https://togithub.com/vitest-dev/vitest/issues/3116) [<samp>(bdc06)</samp>](https://togithub.com/vitest-dev/vitest/commit/bdc06dcb) ##### 🐞 Bug Fixes - Resolve reporters passed down to the CLI relative to the running directory - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3097](https://togithub.com/vitest-dev/vitest/issues/3097) [<samp>(93c7e)</samp>](https://togithub.com/vitest-dev/vitest/commit/93c7e39d) - Don't show "diff" in "serialized error" section - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(326b2)</samp>](https://togithub.com/vitest-dev/vitest/commit/326b242d) - Convert '--single-thread' and '--inspect' cli args to boolean - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3111](https://togithub.com/vitest-dev/vitest/issues/3111) [<samp>(83a9a)</samp>](https://togithub.com/vitest-dev/vitest/commit/83a9aa74) - Stack trace point to incorrect file - by [@​ChenKS12138](https://togithub.com/ChenKS12138) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3004](https://togithub.com/vitest-dev/vitest/issues/3004) and [https://github.com/vitest-dev/vitest/issues/3115](https://togithub.com/vitest-dev/vitest/issues/3115) [<samp>(5cee4)</samp>](https://togithub.com/vitest-dev/vitest/commit/5cee4fbf) - Run benchmarks sequentially - by [@​thecodrr](https://togithub.com/thecodrr) in [https://github.com/vitest-dev/vitest/issues/2004](https://togithub.com/vitest-dev/vitest/issues/2004) and [https://github.com/vitest-dev/vitest/issues/3151](https://togithub.com/vitest-dev/vitest/issues/3151) [<samp>(430b4)</samp>](https://togithub.com/vitest-dev/vitest/commit/430b4ecb) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.29.8...v0.30.0) ### [`v0.29.8`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.29.8) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.29.7...v0.29.8) ##### 🚀 Features - Allow accessing "vi" methods without context, don't fail when mocker is not available - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3047](https://togithub.com/vitest-dev/vitest/issues/3047) [<samp>(1531c)</samp>](https://togithub.com/vitest-dev/vitest/commit/1531c420) - Show browser console in the terminal - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3048](https://togithub.com/vitest-dev/vitest/issues/3048) [<samp>(ee6f5)</samp>](https://togithub.com/vitest-dev/vitest/commit/ee6f590d) - Playwright as browser provider - by [@​Aslemammad](https://togithub.com/Aslemammad) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3079](https://togithub.com/vitest-dev/vitest/issues/3079) [<samp>(9dc69)</samp>](https://togithub.com/vitest-dev/vitest/commit/9dc69293) - Implement `istanbul` coverage support for browser testing - by [@​sheremet-va](https://togithub.com/sheremet-va) and [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3040](https://togithub.com/vitest-dev/vitest/issues/3040) [<samp>(0f44d)</samp>](https://togithub.com/vitest-dev/vitest/commit/0f44d2c8) ##### 🐞 Bug Fixes - Add generic to expect.objectContaining type - by [@​ArtyMaury](https://togithub.com/ArtyMaury) in [https://github.com/vitest-dev/vitest/issues/3053](https://togithub.com/vitest-dev/vitest/issues/3053) [<samp>(69d2c)</samp>](https://togithub.com/vitest-dev/vitest/commit/69d2cc93) - Do not fail, when primitive error is thrown - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3074](https://togithub.com/vitest-dev/vitest/issues/3074) [<samp>(6efe6)</samp>](https://togithub.com/vitest-dev/vitest/commit/6efe61ab) - Handle cloning proxied classes w/ enumerable getters - by [@​tgriesser](https://togithub.com/tgriesser) in [https://github.com/vitest-dev/vitest/issues/3026](https://togithub.com/vitest-dev/vitest/issues/3026) [<samp>(196a0)</samp>](https://togithub.com/vitest-dev/vitest/commit/196a067a) - Spy on popup apis like alert - by [@​Aslemammad](https://togithub.com/Aslemammad) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3076](https://togithub.com/vitest-dev/vitest/issues/3076) [<samp>(280ad)</samp>](https://togithub.com/vitest-dev/vitest/commit/280ad1ed) - Report coverage even when no tests found - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3091](https://togithub.com/vitest-dev/vitest/issues/3091) [<samp>(2cb91)</samp>](https://togithub.com/vitest-dev/vitest/commit/2cb91211) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.29.7...v0.29.8) ### [`v0.29.7`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.29.7) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.29.6...v0.29.7) ##### 🐞 Bug Fixes - Import [@​vite/client](https://togithub.com/vite/client) in browser code for handling optimizer - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(20c51)</samp>](https://togithub.com/vitest-dev/vitest/commit/20c510c4) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.29.6...v0.29.7) ### [`v0.29.6`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.29.6) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.29.5...v0.29.6) ##### 🐞 Bug Fixes - Bundle UI with [@​vitest/browser](https://togithub.com/vitest/browser) - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(14091)</samp>](https://togithub.com/vitest-dev/vitest/commit/14091c59) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.29.5...v0.29.6) ### [`v0.29.5`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.29.5) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.29.4...v0.29.5) ##### 🐞 Bug Fixes - **browser**: Relax vitest peer dependency - by [@​cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vitest-dev/vitest/issues/3039](https://togithub.com/vitest-dev/vitest/issues/3039) [<samp>(865d1)</samp>](https://togithub.com/vitest-dev/vitest/commit/865d1afd) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.29.4...v0.29.5) ### [`v0.29.4`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.29.4) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.29.3...v0.29.4) ##### 🚀 Features - `--test-timeout` CLI argument - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3019](https://togithub.com/vitest-dev/vitest/issues/3019) [<samp>(63c62)</samp>](https://togithub.com/vitest-dev/vitest/commit/63c62f9e) - Add an option to control Vitest pool with filepath - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3029](https://togithub.com/vitest-dev/vitest/issues/3029) [<samp>(c7f0c)</samp>](https://togithub.com/vitest-dev/vitest/commit/c7f0c86b) - Process timeout to log names of stuck test files - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3031](https://togithub.com/vitest-dev/vitest/issues/3031) [<samp>(0ddf7)</samp>](https://togithub.com/vitest-dev/vitest/commit/0ddf7220) - Support relative path in html report - by [@​poyoho](https://togithub.com/poyoho) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2695](https://togithub.com/vitest-dev/vitest/issues/2695) [<samp>(a7680)</samp>](https://togithub.com/vitest-dev/vitest/commit/a768015e) - Webdriverio (+ custom providers) integration for browser mode - by [@​Aslemammad](https://togithub.com/Aslemammad), **Christian Bromann**, [@​sheremet-va](https://togithub.com/sheremet-va), [@​userquin](https://togithub.com/userquin) and [@​dammy001](https://togithub.com/dammy001) in [https://github.com/vitest-dev/vitest/issues/2999](https://togithub.com/vitest-dev/vitest/issues/2999) [<samp>(9cdc8)</samp>](https://togithub.com/vitest-dev/vitest/commit/9cdc8030) ##### 🐞 Bug Fixes - Show correct line numbers in stack trace when using vi.resetModules() - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3020](https://togithub.com/vitest-dev/vitest/issues/3020) [<samp>(35730)</samp>](https://togithub.com/vitest-dev/vitest/commit/35730328) - Mocking value proxy filter Symbol static properties - by [@​ChpShy](https://togithub.com/ChpShy) in [https://github.com/vitest-dev/vitest/issues/3036](https://togithub.com/vitest-dev/vitest/issues/3036) [<samp>(0cf44)</samp>](https://togithub.com/vitest-dev/vitest/commit/0cf44098) - Escape XML in error stack trace when using junit reporter - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3038](https://togithub.com/vitest-dev/vitest/issues/3038) [<samp>(cc577)</samp>](https://togithub.com/vitest-dev/vitest/commit/cc5779d6) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.29.3...v0.29.4) ### [`v0.29.3`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.29.3) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.29.2...v0.29.3) ##### 🚀 Features - Use custom colors implementation instead of picocolors - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(427b0)</samp>](https://togithub.com/vitest-dev/vitest/commit/427b0622) - Uncaught errors to indicate env teardown - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2982](https://togithub.com/vitest-dev/vitest/issues/2982) [<samp>(1fe82)</samp>](https://togithub.com/vitest-dev/vitest/commit/1fe8286c) - **config**: Add an option to run setupFiles in sequence - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3008](https://togithub.com/vitest-dev/vitest/issues/3008) [<samp>(c2e25)</samp>](https://togithub.com/vitest-dev/vitest/commit/c2e25bb9) ##### 🐞 Bug Fixes - Console log not visible - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2943](https://togithub.com/vitest-dev/vitest/issues/2943) [<samp>(02808)</samp>](https://togithub.com/vitest-dev/vitest/commit/0280825f) - Remove duplicate execArgv when deps.registerNodeLoader: true - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2965](https://togithub.com/vitest-dev/vitest/issues/2965) [<samp>(a1954)</samp>](https://togithub.com/vitest-dev/vitest/commit/a1954cc0) - Prevent running test cases timers after environment teardown - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2971](https://togithub.com/vitest-dev/vitest/issues/2971) [<samp>(bde75)</samp>](https://togithub.com/vitest-dev/vitest/commit/bde75a34) - Don't mark setupFiles as test files, if experimentaOptimizer is used - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2974](https://togithub.com/vitest-dev/vitest/issues/2974) [<samp>(819c6)</samp>](https://togithub.com/vitest-dev/vitest/commit/819c6cbe) - Config errors not visible - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2995](https://togithub.com/vitest-dev/vitest/issues/2995) [<samp>(f01c7)</samp>](https://togithub.com/vitest-dev/vitest/commit/f01c7833) - \--inspect to work inside workers - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2983](https://togithub.com/vitest-dev/vitest/issues/2983) [<samp>(36087)</samp>](https://togithub.com/vitest-dev/vitest/commit/36087d1e) - **types**: Use `any` as default value for TArgs in vi.fn() - by [@​jessevanassen](https://togithub.com/jessevanassen) in [https://github.com/vitest-dev/vitest/issues/2947](https://togithub.com/vitest-dev/vitest/issues/2947) [<samp>(1bdcc)</samp>](https://togithub.com/vitest-dev/vitest/commit/1bdcc212) ##### 🏎 Performance - **reporters**: Overall improvements - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3006](https://togithub.com/vitest-dev/vitest/issues/3006) [<samp>(22ca0)</samp>](https://togithub.com/vitest-dev/vitest/commit/22ca0b6b) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.29.2...v0.29.3) ### [`v0.29.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.29.2) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.29.1...v0.29.2) ##### 🐞 Bug Fixes - Optimize dependencies in setup files - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2935](https://togithub.com/vitest-dev/vitest/issues/2935) [<samp>(c169f)</samp>](https://togithub.com/vitest-dev/vitest/commit/c169f980) - **coverage**: C8 provider to work when isolate:false - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2929](https://togithub.com/vitest-dev/vitest/issues/2929) [<samp>(86538)</samp>](https://togithub.com/vitest-dev/vitest/commit/8653830b) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.29.1...v0.29.2) ### [`v0.29.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.29.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.29.0...v0.29.1) ##### 🐞 Bug Fixes - Wait for optimized dependency to be bundled in non-pnpm package managers - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(d2460)</samp>](https://togithub.com/vitest-dev/vitest/commit/d2460b7a) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.29.0...v0.29.1) ### [`v0.29.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.29.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.28.5...v0.29.0) This release makes some significant changes to how tests are running. If you were using `--no-threads` before, you might consider enabling `--single-thread` instead (because your tests are now running in `child_process` instead of a worker thread) or try our new performance optimization feature (discussed later). If you were relying on API that was not available inside a worker (like `process.chdir()`, you can now use this option. One of the potential breaking bug fixes is that environments do not share the same global scope anymore if you run them with `--no-isolate`, `--no-threads` or `--single-thread` - you might need to update your setup files if you were relying on a global variable before. If you had performance issues on large code bases before, try the new [`deps.experimentalOptimizer`](https://vitest.dev/config/#deps-experimentaloptimizer) option instead of disabling threads. Feedback is welcome! One of the breaking changes includes adding a link to snapshots inside snapshot files, meaning you will need to update all your snapshots. ##### 🚨 Breaking Changes - Vitest as peer dependency for coverage packages - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2836](https://togithub.com/vitest-dev/vitest/issues/2836) [<samp>(94247)</samp>](https://togithub.com/vitest-dev/vitest/commit/94247f1b) - Coverage-c8 to use V8 profiler directly instead of `NODE_V8_COVERAGE` - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2786](https://togithub.com/vitest-dev/vitest/issues/2786) [<samp>(095c6)</samp>](https://togithub.com/vitest-dev/vitest/commit/095c6390) - Add a link to the comment at the top of the snapshot file - by [@​btea](https://togithub.com/btea) in [https://github.com/vitest-dev/vitest/issues/2867](https://togithub.com/vitest-dev/vitest/issues/2867) [<samp>(615e1)</samp>](https://togithub.com/vitest-dev/vitest/commit/615e150b) - Always run separate environments in isolation - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2860](https://togithub.com/vitest-dev/vitest/issues/2860) [<samp>(1f858)</samp>](https://togithub.com/vitest-dev/vitest/commit/1f858e0c) - Tests with `node` and `jsdom` (and other environments) now don't share the same global scope, if you run them with `--no-isolate` or `--no-threads` flag. Vitest doesn't provide a way to restore the previous behavior as it is considered a bug. - Use child_process when --no-threads is used - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2772](https://togithub.com/vitest-dev/vitest/issues/2772) [<samp>(7bf54)</samp>](https://togithub.com/vitest-dev/vitest/commit/7bf54505) - Tests inside `chid_process` might run longer due to the communication overhead. If you want to restore the previous behavior, use `--single-thread`. ##### 🚀 Features - Add test seed to banner - by [@​btkostner](https://togithub.com/btkostner) in [https://github.com/vitest-dev/vitest/issues/2877](https://togithub.com/vitest-dev/vitest/issues/2877) [<samp>(bdb39)</samp>](https://togithub.com/vitest-dev/vitest/commit/bdb39569) - Use custom source-map-support implementation - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2905](https://togithub.com/vitest-dev/vitest/issues/2905) [<samp>(6ff6c)</samp>](https://togithub.com/vitest-dev/vitest/commit/6ff6c6eb) - Add an option to enable Vite optimizer - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2912](https://togithub.com/vitest-dev/vitest/issues/2912) [<samp>(af8de)</samp>](https://togithub.com/vitest-dev/vitest/commit/af8de362) - **coverage**: - Add support for coverage reporter options - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2690](https://togithub.com/vitest-dev/vitest/issues/2690) [<samp>(f8176)</samp>](https://togithub.com/vitest-dev/vitest/commit/f8176182) - Automatic threshold updating - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2886](https://togithub.com/vitest-dev/vitest/issues/2886) [<samp>(e1652)</samp>](https://togithub.com/vitest-dev/vitest/commit/e1652163) - **spy**: - Implement mock.withImplementation API - by [@​obadakhalili](https://togithub.com/obadakhalili) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2835](https://togithub.com/vitest-dev/vitest/issues/2835) [<samp>(610b1)</samp>](https://togithub.com/vitest-dev/vitest/commit/610b1d46) - **vite-node**: - Cli option for vite mode - by [@​abarke](https://togithub.com/abarke) in [https://github.com/vitest-dev/vitest/issues/2893](https://togithub.com/vitest-dev/vitest/issues/2893) [<samp>(0fc08)</samp>](https://togithub.com/vitest-dev/vitest/commit/0fc08032) ##### 🐞 Bug Fixes - Wait for console.log to print a message before terminating a worker - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2861](https://togithub.com/vitest-dev/vitest/issues/2861) [<samp>(fbc54)</samp>](https://togithub.com/vitest-dev/vitest/commit/fbc54c91) - Cleanup last mocked cache when call vi.doMock - by [@​mysteryven](https://togithub.com/mysteryven) in [https://github.com/vitest-dev/vitest/issues/2872](https://togithub.com/vitest-dev/vitest/issues/2872) [<samp>(65d71)</samp>](https://togithub.com/vitest-dev/vitest/commit/65d71b9e) - Reload changed configuration file on watch mode - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2889](https://togithub.com/vitest-dev/vitest/issues/2889) [<samp>(4d277)</samp>](https://togithub.com/vitest-dev/vitest/commit/4d277d8d) - **coverage**: Custom providers to work inside worker threads - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2817](https://togithub.com/vitest-dev/vitest/issues/2817) [<samp>(81604)</samp>](https://togithub.com/vitest-dev/vitest/commit/81604bce) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.28.5...v0.29.0) </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/huang-julien/nuxt-hydration). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS44Ny4xIiwidXBkYXRlZEluVmVyIjoiMzUuODcuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![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://togithub.com/vitest-dev/vitest) | [`0.30.1` -> `0.32.0`](https://renovatebot.com/diffs/npm/vitest/0.30.1/0.32.0) | [![age](https://badges.renovateapi.com/packages/npm/vitest/0.32.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/vitest/0.32.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/vitest/0.32.0/compatibility-slim/0.30.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/vitest/0.32.0/confidence-slim/0.30.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest</summary> ### [`v0.32.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.32.0) [Compare Source](https://togithub.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://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3307](https://togithub.com/vitest-dev/vitest/issues/3307) [<samp>(1ad63)</samp>](https://togithub.com/vitest-dev/vitest/commit/1ad63b0c) - Improve globs - by [@​nickmccurdy](https://togithub.com/nickmccurdy) in [https://github.com/vitest-dev/vitest/issues/3392](https://togithub.com/vitest-dev/vitest/issues/3392) [<samp>(19ecc)</samp>](https://togithub.com/vitest-dev/vitest/commit/19ecc6c7) - Add `@vitest/coverage-v8` package - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3339](https://togithub.com/vitest-dev/vitest/issues/3339) [<samp>(82112)</samp>](https://togithub.com/vitest-dev/vitest/commit/821126f1) - **mocker**: Don't restore mock to the original if the module is automocked - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3518](https://togithub.com/vitest-dev/vitest/issues/3518) [<samp>(c1004)</samp>](https://togithub.com/vitest-dev/vitest/commit/c1004e14) ##### 🚀 Features - Support ssr optimizer - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3490](https://togithub.com/vitest-dev/vitest/issues/3490) [<samp>(89842)</samp>](https://togithub.com/vitest-dev/vitest/commit/898422b0) - Image type add apng - by [@​btea](https://togithub.com/btea) in [https://github.com/vitest-dev/vitest/issues/3498](https://togithub.com/vitest-dev/vitest/issues/3498) [<samp>(a53c2)</samp>](https://togithub.com/vitest-dev/vitest/commit/a53c2151) - **expect**: Support `expect.soft` - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3507](https://togithub.com/vitest-dev/vitest/issues/3507) [<samp>(7c687)</samp>](https://togithub.com/vitest-dev/vitest/commit/7c687ada) - **runner**: Support using function/class as `describe`/`test` name - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3497](https://togithub.com/vitest-dev/vitest/issues/3497) [<samp>(15253)</samp>](https://togithub.com/vitest-dev/vitest/commit/15253890) ##### 🐞 Bug Fixes - The cli option is passed to coverage.exclude - by [@​btea](https://togithub.com/btea) in [https://github.com/vitest-dev/vitest/issues/3506](https://togithub.com/vitest-dev/vitest/issues/3506) [<samp>(c37cd)</samp>](https://togithub.com/vitest-dev/vitest/commit/c37cdebe) - **optimizer**: Always respect optimizeDeps even if include/exclude is overridden - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3488](https://togithub.com/vitest-dev/vitest/issues/3488) [<samp>(eb285)</samp>](https://togithub.com/vitest-dev/vitest/commit/eb285ea0) - **runner**: Ensure Vitest is deduped - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3489](https://togithub.com/vitest-dev/vitest/issues/3489) [<samp>(2deb7)</samp>](https://togithub.com/vitest-dev/vitest/commit/2deb70ab) - **ui**: Don't cache coverage assets - by [@​userquin](https://togithub.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3508](https://togithub.com/vitest-dev/vitest/issues/3508) [<samp>(952b5)</samp>](https://togithub.com/vitest-dev/vitest/commit/952b5be6) - **vite-node**: Circular import stuck - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3480](https://togithub.com/vitest-dev/vitest/issues/3480) [<samp>(50f07)</samp>](https://togithub.com/vitest-dev/vitest/commit/50f0700d) - **watch**: Junit reporter fails to re-generate report - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3496](https://togithub.com/vitest-dev/vitest/issues/3496) [<samp>(5b73c)</samp>](https://togithub.com/vitest-dev/vitest/commit/5b73cbf8) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.31.4...v0.32.0) ### [`v0.31.4`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.31.4) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.31.3...v0.31.4) ##### 🚀 Features - Enable experimentalOptimizer - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3413](https://togithub.com/vitest-dev/vitest/issues/3413) [<samp>(5a894)</samp>](https://togithub.com/vitest-dev/vitest/commit/5a894aa2) ##### 🐞 Bug Fixes - **vite-node**: Deps.inline doesn't work - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3485](https://togithub.com/vitest-dev/vitest/issues/3485) [<samp>(be930)</samp>](https://togithub.com/vitest-dev/vitest/commit/be93032f) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.31.3...v0.31.4) ### [`v0.31.3`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.31.3) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.31.2...v0.31.3) ##### 🚀 Features - Support `VITE_NODE_DEPS_MODULE_DIRECTORIES` from .npmrc - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3471](https://togithub.com/vitest-dev/vitest/issues/3471) [<samp>(393bf)</samp>](https://togithub.com/vitest-dev/vitest/commit/393bf60c) ##### 🐞 Bug Fixes - **logger**: Print unhandled errors before summary - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3474](https://togithub.com/vitest-dev/vitest/issues/3474) [<samp>(4c9a7)</samp>](https://togithub.com/vitest-dev/vitest/commit/4c9a7d58) - **runner**: Suite options do not propagate to nested suites (fix: [#​3467](https://togithub.com/vitest-dev/vitest/issues/3467)) - by [@​xsjcTony](https://togithub.com/xsjcTony) in [https://github.com/vitest-dev/vitest/issues/3473](https://togithub.com/vitest-dev/vitest/issues/3473) and [https://github.com/vitest-dev/vitest/issues/3467](https://togithub.com/vitest-dev/vitest/issues/3467) [<samp>(9fb9d)</samp>](https://togithub.com/vitest-dev/vitest/commit/9fb9dacb) - **vite-node**: Clear importers when invalidating module - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3475](https://togithub.com/vitest-dev/vitest/issues/3475) [<samp>(add29)</samp>](https://togithub.com/vitest-dev/vitest/commit/add29c86) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.31.2...v0.31.3) ### [`v0.31.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.31.2) [Compare Source](https://togithub.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://togithub.com/fenghan34) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3360](https://togithub.com/vitest-dev/vitest/issues/3360) [<samp>(7c2f7)</samp>](https://togithub.com/vitest-dev/vitest/commit/7c2f7088) - Pass down meta information to Node.js process - by [@​sheremet-va](https://togithub.com/sheremet-va) and [@​dammy001](https://togithub.com/dammy001) in [https://github.com/vitest-dev/vitest/issues/3449](https://togithub.com/vitest-dev/vitest/issues/3449) [<samp>(e39ad)</samp>](https://togithub.com/vitest-dev/vitest/commit/e39adea8) - **coverage**: Add `reportOnFailure` option - by [@​AriPerkkio](https://togithub.com/AriPerkkio) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3453](https://togithub.com/vitest-dev/vitest/issues/3453) [<samp>(1988f)</samp>](https://togithub.com/vitest-dev/vitest/commit/1988fcb4) - **dev**: Add moduleDirectories option to the vitest config - by [@​fooddilsn](https://togithub.com/fooddilsn) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3337](https://togithub.com/vitest-dev/vitest/issues/3337) [<samp>(b3602)</samp>](https://togithub.com/vitest-dev/vitest/commit/b3602bcc) ##### 🐞 Bug Fixes - Don't print empty diff - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3437](https://togithub.com/vitest-dev/vitest/issues/3437) [<samp>(32b53)</samp>](https://togithub.com/vitest-dev/vitest/commit/32b5361f) - Don't restore methods in automocked dependencies - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3438](https://togithub.com/vitest-dev/vitest/issues/3438) [<samp>(d1afd)</samp>](https://togithub.com/vitest-dev/vitest/commit/d1afd262) - Dot reporter scrollback buffer spam - by [@​gtm-nayan](https://togithub.com/gtm-nayan) in [https://github.com/vitest-dev/vitest/issues/3415](https://togithub.com/vitest-dev/vitest/issues/3415) [<samp>(e6792)</samp>](https://togithub.com/vitest-dev/vitest/commit/e6792a94) - Gracefully exit when first `SIGINT` is received - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3407](https://togithub.com/vitest-dev/vitest/issues/3407) [<samp>(a2cc2)</samp>](https://togithub.com/vitest-dev/vitest/commit/a2cc2b38) - `rejects` & `resolves` breaks with thenable objects - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3456](https://togithub.com/vitest-dev/vitest/issues/3456) [<samp>(4e996)</samp>](https://togithub.com/vitest-dev/vitest/commit/4e996ae5) - Prevent `birpc` timeouts when `Math.random` mock is not restored - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3460](https://togithub.com/vitest-dev/vitest/issues/3460) [<samp>(cd5d5)</samp>](https://togithub.com/vitest-dev/vitest/commit/cd5d58b7) - Assertion diff message now handle non writable property correctly - by [@​PCreations](https://togithub.com/PCreations) in [https://github.com/vitest-dev/vitest/issues/3422](https://togithub.com/vitest-dev/vitest/issues/3422) [<samp>(f75ab)</samp>](https://togithub.com/vitest-dev/vitest/commit/f75ab650) - Extend logging of process timeout errors - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3452](https://togithub.com/vitest-dev/vitest/issues/3452) [<samp>(42643)</samp>](https://togithub.com/vitest-dev/vitest/commit/42643904) - Support requiring files with `less` extension - by [@​rluvaton](https://togithub.com/rluvaton) in [https://github.com/vitest-dev/vitest/issues/3465](https://togithub.com/vitest-dev/vitest/issues/3465) [<samp>(4d045)</samp>](https://togithub.com/vitest-dev/vitest/commit/4d045695) - **cli**: - Improve colors used when erroring - by [@​ghiscoding](https://togithub.com/ghiscoding) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3349](https://togithub.com/vitest-dev/vitest/issues/3349) [<samp>(16681)</samp>](https://togithub.com/vitest-dev/vitest/commit/16681791) - **runner**: - Suite timeout does not take effect - by [@​btea](https://togithub.com/btea) in [https://github.com/vitest-dev/vitest/issues/3455](https://togithub.com/vitest-dev/vitest/issues/3455) [<samp>(82547)</samp>](https://togithub.com/vitest-dev/vitest/commit/82547376) - **spy**: - Don't print received calls if there are no calls - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3405](https://togithub.com/vitest-dev/vitest/issues/3405) [<samp>(41e11)</samp>](https://togithub.com/vitest-dev/vitest/commit/41e11dad) - **typecheck**: - Show tsc errors not related to test files - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3441](https://togithub.com/vitest-dev/vitest/issues/3441) [<samp>(a1da5)</samp>](https://togithub.com/vitest-dev/vitest/commit/a1da5714) - **types**: - Fix `PartialMock` with async TReturns - by [@​ghry5](https://togithub.com/ghry5) in [https://github.com/vitest-dev/vitest/issues/3462](https://togithub.com/vitest-dev/vitest/issues/3462) [<samp>(b664d)</samp>](https://togithub.com/vitest-dev/vitest/commit/b664d42c) - **vite-node**: - Circular import stuck - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3418](https://togithub.com/vitest-dev/vitest/issues/3418) [<samp>(632ee)</samp>](https://togithub.com/vitest-dev/vitest/commit/632eef40) - Coerce to string in import(dep) - by [@​jcbhmr](https://togithub.com/jcbhmr) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3430](https://togithub.com/vitest-dev/vitest/issues/3430) [<samp>(b72eb)</samp>](https://togithub.com/vitest-dev/vitest/commit/b72ebdb9) - Don't remove sourcemap string in source code - by [@​rxliuli](https://togithub.com/rxliuli) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2918](https://togithub.com/vitest-dev/vitest/issues/2918) and [https://github.com/vitest-dev/vitest/issues/3379](https://togithub.com/vitest-dev/vitest/issues/3379) [<samp>(02dc9)</samp>](https://togithub.com/vitest-dev/vitest/commit/02dc9ea7) - Don't externalize "dist" by default - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3446](https://togithub.com/vitest-dev/vitest/issues/3446) [<samp>(306b2)</samp>](https://togithub.com/vitest-dev/vitest/commit/306b2337) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.31.1...v0.31.2) ### [`v0.31.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.31.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.31.0...v0.31.1) ##### 🚀 Features - **watch**: Press `r` should rerun current pattern tests - by [@​Dunqing](https://togithub.com/Dunqing) and [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3305](https://togithub.com/vitest-dev/vitest/issues/3305) [<samp>(69d27)</samp>](https://togithub.com/vitest-dev/vitest/commit/69d27117) ##### 🐞 Bug Fixes - Make sure thrown error is an object - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3298](https://togithub.com/vitest-dev/vitest/issues/3298) [<samp>(a93be)</samp>](https://togithub.com/vitest-dev/vitest/commit/a93be56c) - Remove duplicate type - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3303](https://togithub.com/vitest-dev/vitest/issues/3303) [<samp>(5382e)</samp>](https://togithub.com/vitest-dev/vitest/commit/5382e8b6) - Throw an error, if tests are collected with a different vitest version - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3301](https://togithub.com/vitest-dev/vitest/issues/3301) [<samp>(708b1)</samp>](https://togithub.com/vitest-dev/vitest/commit/708b10fe) - Support application/x-gzip metadata in html report - by [@​mzanelee](https://togithub.com/mzanelee) and **Michael Lee** in [https://github.com/vitest-dev/vitest/issues/3333](https://togithub.com/vitest-dev/vitest/issues/3333) [<samp>(5bf7e)</samp>](https://togithub.com/vitest-dev/vitest/commit/5bf7eb6e) - Correctly restore vi.fn implementation - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3341](https://togithub.com/vitest-dev/vitest/issues/3341) [<samp>(2aff8)</samp>](https://togithub.com/vitest-dev/vitest/commit/2aff8c5f) - Display error message correctly - by [@​btea](https://togithub.com/btea) in [https://github.com/vitest-dev/vitest/issues/3314](https://togithub.com/vitest-dev/vitest/issues/3314) [<samp>(a5b3d)</samp>](https://togithub.com/vitest-dev/vitest/commit/a5b3d78e) - Exclude `cwd` from test name filter - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3353](https://togithub.com/vitest-dev/vitest/issues/3353) [<samp>(324a9)</samp>](https://togithub.com/vitest-dev/vitest/commit/324a9b54) - Check error type before modifying it - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3385](https://togithub.com/vitest-dev/vitest/issues/3385) [<samp>(c44d9)</samp>](https://togithub.com/vitest-dev/vitest/commit/c44d9912) - `toMatchInlineSnapshot` fails when file path includes parentheses - by [@​pacexy](https://togithub.com/pacexy) in [https://github.com/vitest-dev/vitest/issues/3370](https://togithub.com/vitest-dev/vitest/issues/3370) and [https://github.com/vitest-dev/vitest/issues/3371](https://togithub.com/vitest-dev/vitest/issues/3371) [<samp>(dcf13)</samp>](https://togithub.com/vitest-dev/vitest/commit/dcf1346a) - Stop spying on a method, when it's restored - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3386](https://togithub.com/vitest-dev/vitest/issues/3386) [<samp>(2cb1a)</samp>](https://togithub.com/vitest-dev/vitest/commit/2cb1a15a) - Test repeats - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3369](https://togithub.com/vitest-dev/vitest/issues/3369) [<samp>(fb8fc)</samp>](https://togithub.com/vitest-dev/vitest/commit/fb8fc7ab) - **browser**: - Throw an error if test failed to load - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3390](https://togithub.com/vitest-dev/vitest/issues/3390) [<samp>(b354b)</samp>](https://togithub.com/vitest-dev/vitest/commit/b354bc1c) - Keep default export when rewriting exports - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3389](https://togithub.com/vitest-dev/vitest/issues/3389) [<samp>(6501d)</samp>](https://togithub.com/vitest-dev/vitest/commit/6501d2e3) - **cli**: - Improve cac errors when mixing boolean and dot notation - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3302](https://togithub.com/vitest-dev/vitest/issues/3302) [<samp>(93fbd)</samp>](https://togithub.com/vitest-dev/vitest/commit/93fbd02d) - **reporter**: - Prevent deleting test reports stored in coverage directory - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3331](https://togithub.com/vitest-dev/vitest/issues/3331) [<samp>(ddbba)</samp>](https://togithub.com/vitest-dev/vitest/commit/ddbba396) - **typecheck**: - Correctly resolve custom tsconfig path - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3342](https://togithub.com/vitest-dev/vitest/issues/3342) [<samp>(c53ae)</samp>](https://togithub.com/vitest-dev/vitest/commit/c53ae079) - **vite-node**: - Allow returning id not wrapped in promise - by [@​danielroe](https://togithub.com/danielroe) in [https://github.com/vitest-dev/vitest/issues/3312](https://togithub.com/vitest-dev/vitest/issues/3312) [<samp>(9836c)</samp>](https://togithub.com/vitest-dev/vitest/commit/9836ccb4) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.31.0...v0.31.1) ### [`v0.31.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.31.0) [Compare Source](https://togithub.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://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3294](https://togithub.com/vitest-dev/vitest/issues/3294) [<samp>(cf3af)</samp>](https://togithub.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://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3258](https://togithub.com/vitest-dev/vitest/issues/3258) [<samp>(0c09a)</samp>](https://togithub.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://togithub.com/samkevin1) in [https://github.com/vitest-dev/vitest/issues/2652](https://togithub.com/vitest-dev/vitest/issues/2652) [<samp>(7c8f0)</samp>](https://togithub.com/vitest-dev/vitest/commit/7c8f0ba9) - Add an option to hide skipped test lines - by [@​g4rry420](https://togithub.com/g4rry420) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2745](https://togithub.com/vitest-dev/vitest/issues/2745) [<samp>(9bdb1)</samp>](https://togithub.com/vitest-dev/vitest/commit/9bdb1603) - **coverage**: Watermarks for c8 - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3254](https://togithub.com/vitest-dev/vitest/issues/3254) [<samp>(730af)</samp>](https://togithub.com/vitest-dev/vitest/commit/730af0b4) - **ui**: Add html coverage - by [@​userquin](https://togithub.com/userquin) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3071](https://togithub.com/vitest-dev/vitest/issues/3071) [<samp>(e24cd)</samp>](https://togithub.com/vitest-dev/vitest/commit/e24cd9b2) - **watch**: Test run cancelling, feat: `--bail` option for cancelling test run - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3163](https://togithub.com/vitest-dev/vitest/issues/3163) [<samp>(8d460)</samp>](https://togithub.com/vitest-dev/vitest/commit/8d4606eb) ##### 🐞 Bug Fixes - Don't call global setup teardown twice - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3188](https://togithub.com/vitest-dev/vitest/issues/3188) [<samp>(ba3d1)</samp>](https://togithub.com/vitest-dev/vitest/commit/ba3d1338) - Reporter to log version before provider initalizations - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3131](https://togithub.com/vitest-dev/vitest/issues/3131) [<samp>(481b1)</samp>](https://togithub.com/vitest-dev/vitest/commit/481b1fd2) - Throw an error if Vitest cannot access its internal state - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3250](https://togithub.com/vitest-dev/vitest/issues/3250) [<samp>(fbb14)</samp>](https://togithub.com/vitest-dev/vitest/commit/fbb1468e) - Warning suppression broken - by [@​IceQub3](https://togithub.com/IceQub3) in [https://github.com/vitest-dev/vitest/issues/3270](https://togithub.com/vitest-dev/vitest/issues/3270) and [https://github.com/vitest-dev/vitest/issues/3271](https://togithub.com/vitest-dev/vitest/issues/3271) [<samp>(036de)</samp>](https://togithub.com/vitest-dev/vitest/commit/036de797) - Show correct diff in "toHaveBeenCalledWith" - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3289](https://togithub.com/vitest-dev/vitest/issues/3289) [<samp>(19fcd)</samp>](https://togithub.com/vitest-dev/vitest/commit/19fcd8df) - Don't print esm warning, if package name is not found - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3292](https://togithub.com/vitest-dev/vitest/issues/3292) [<samp>(62c14)</samp>](https://togithub.com/vitest-dev/vitest/commit/62c14cba) - Support exactOptionalPropertyTypes - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3293](https://togithub.com/vitest-dev/vitest/issues/3293) [<samp>(ba81d)</samp>](https://togithub.com/vitest-dev/vitest/commit/ba81d8a3) - Don't inline vite hmr and rollup types - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3291](https://togithub.com/vitest-dev/vitest/issues/3291) [<samp>(1f118)</samp>](https://togithub.com/vitest-dev/vitest/commit/1f1189bc) - **browser**: - Failing to load vitest/utils - by [@​userquin](https://togithub.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3190](https://togithub.com/vitest-dev/vitest/issues/3190) [<samp>(78bad)</samp>](https://togithub.com/vitest-dev/vitest/commit/78bad4ab) - **coverage**: - `thresholdAutoUpdate` to work with `perFile` - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3182](https://togithub.com/vitest-dev/vitest/issues/3182) [<samp>(29eeb)</samp>](https://togithub.com/vitest-dev/vitest/commit/29eebf65) - Throw error if fail to load built-in provider - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3217](https://togithub.com/vitest-dev/vitest/issues/3217) [<samp>(0a287)</samp>](https://togithub.com/vitest-dev/vitest/commit/0a2875e3) - Stackblitz hangs with c8 - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3225](https://togithub.com/vitest-dev/vitest/issues/3225) [<samp>(d9fda)</samp>](https://togithub.com/vitest-dev/vitest/commit/d9fda2a1) - C8 to ignore vite's generated helpers - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3241](https://togithub.com/vitest-dev/vitest/issues/3241) [<samp>(21942)</samp>](https://togithub.com/vitest-dev/vitest/commit/21942db0) - Workspaces c8 source maps - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3226](https://togithub.com/vitest-dev/vitest/issues/3226) [<samp>(efce3)</samp>](https://togithub.com/vitest-dev/vitest/commit/efce3b4d) - **docs**: - Correct typo and broken link to WebdriverIO - by [@​nathanbabcock](https://togithub.com/nathanbabcock) in [https://github.com/vitest-dev/vitest/issues/3275](https://togithub.com/vitest-dev/vitest/issues/3275) [<samp>(c7da1)</samp>](https://togithub.com/vitest-dev/vitest/commit/c7da155f) - **spy**: - Update to set initial implementation through normal logic - by [@​Codex-](https://togithub.com/Codex-) in [https://github.com/vitest-dev/vitest/issues/3260](https://togithub.com/vitest-dev/vitest/issues/3260) and [https://github.com/vitest-dev/vitest/issues/3263](https://togithub.com/vitest-dev/vitest/issues/3263) [<samp>(c759a)</samp>](https://togithub.com/vitest-dev/vitest/commit/c759a9aa) - **vite-node**: - Circular imports - by [@​antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/3196](https://togithub.com/vitest-dev/vitest/issues/3196) [<samp>(cbb59)</samp>](https://togithub.com/vitest-dev/vitest/commit/cbb593a8) - Add missing `import.meta.hot.send` mock - by [@​antfu](https://togithub.com/antfu) [<samp>(b1624)</samp>](https://togithub.com/vitest-dev/vitest/commit/b1624db5) - **vitest**: - Also check for vite relative to vitest package - by [@​JoshuaKGoldberg](https://togithub.com/JoshuaKGoldberg) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3274](https://togithub.com/vitest-dev/vitest/issues/3274) [<samp>(a3393)</samp>](https://togithub.com/vitest-dev/vitest/commit/a3393b15) - **watch**: - Run test files when added to filesystem - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3189](https://togithub.com/vitest-dev/vitest/issues/3189) [<samp>(7b2c8)</samp>](https://togithub.com/vitest-dev/vitest/commit/7b2c81bc) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.30.1...v0.31.0) </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:eyJjcmVhdGVkSW5WZXIiOiIzNS42OS4zIiwidXBkYXRlZEluVmVyIjoiMzUuMTEwLjAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | Type | Update | |---|---|---|---|---|---|---|---| | [@sapphire/discord.js-utilities](https://togithub.com/sapphiredev/utilities/tree/main/packages/discord.js-utilities) ([source](https://togithub.com/sapphiredev/utilities)) | [`6.0.5` -> `6.1.0`](https://renovatebot.com/diffs/npm/@sapphire%2fdiscord.js-utilities/6.0.5/6.1.0) | [![age](https://badges.renovateapi.com/packages/npm/@sapphire%2fdiscord.js-utilities/6.1.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@sapphire%2fdiscord.js-utilities/6.1.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@sapphire%2fdiscord.js-utilities/6.1.0/compatibility-slim/6.0.5)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@sapphire%2fdiscord.js-utilities/6.1.0/confidence-slim/6.0.5)](https://docs.renovatebot.com/merge-confidence/) | dependencies | minor | | [@sapphire/eslint-config](https://togithub.com/sapphiredev/utilities/tree/main/packages/eslint-config) ([source](https://togithub.com/sapphiredev/utilities)) | [`4.4.1` -> `4.4.2`](https://renovatebot.com/diffs/npm/@sapphire%2feslint-config/4.4.1/4.4.2) | [![age](https://badges.renovateapi.com/packages/npm/@sapphire%2feslint-config/4.4.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@sapphire%2feslint-config/4.4.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@sapphire%2feslint-config/4.4.2/compatibility-slim/4.4.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@sapphire%2feslint-config/4.4.2/confidence-slim/4.4.1)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | patch | | [@sapphire/framework](https://www.sapphirejs.dev) ([source](https://togithub.com/sapphiredev/framework)) | [`4.4.0` -> `4.4.3`](https://renovatebot.com/diffs/npm/@sapphire%2fframework/4.4.0/4.4.3) | [![age](https://badges.renovateapi.com/packages/npm/@sapphire%2fframework/4.4.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@sapphire%2fframework/4.4.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@sapphire%2fframework/4.4.3/compatibility-slim/4.4.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@sapphire%2fframework/4.4.3/confidence-slim/4.4.0)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | patch | | [@types/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) | [`18.15.11` -> `18.16.5`](https://renovatebot.com/diffs/npm/@types%2fnode/18.15.11/18.16.5) | [![age](https://badges.renovateapi.com/packages/npm/@types%2fnode/18.16.5/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@types%2fnode/18.16.5/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@types%2fnode/18.16.5/compatibility-slim/18.15.11)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@types%2fnode/18.16.5/confidence-slim/18.15.11)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | minor | | [@typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/typescript-eslint) | [`5.58.0` -> `5.59.2`](https://renovatebot.com/diffs/npm/@typescript-eslint%2feslint-plugin/5.58.0/5.59.2) | [![age](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2feslint-plugin/5.59.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2feslint-plugin/5.59.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2feslint-plugin/5.59.2/compatibility-slim/5.58.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2feslint-plugin/5.59.2/confidence-slim/5.58.0)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | minor | | [@typescript-eslint/parser](https://togithub.com/typescript-eslint/typescript-eslint) | [`5.58.0` -> `5.59.2`](https://renovatebot.com/diffs/npm/@typescript-eslint%2fparser/5.58.0/5.59.2) | [![age](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2fparser/5.59.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2fparser/5.59.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2fparser/5.59.2/compatibility-slim/5.58.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2fparser/5.59.2/confidence-slim/5.58.0)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | minor | | [@vitest/coverage-c8](https://togithub.com/vitest-dev/vitest/tree/main/packages/coverage-c8#readme) ([source](https://togithub.com/vitest-dev/vitest)) | [`^0.30.1` -> `^0.31.0`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-c8/0.30.1/0.31.0) | [![age](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-c8/0.31.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-c8/0.31.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-c8/0.31.0/compatibility-slim/0.30.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-c8/0.31.0/confidence-slim/0.30.1)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | minor | | [discord-api-types](https://discord-api-types.dev) ([source](https://togithub.com/discordjs/discord-api-types)) | [`0.37.38` -> `0.37.41`](https://renovatebot.com/diffs/npm/discord-api-types/0.37.38/0.37.41) | [![age](https://badges.renovateapi.com/packages/npm/discord-api-types/0.37.41/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/discord-api-types/0.37.41/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/discord-api-types/0.37.41/compatibility-slim/0.37.38)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/discord-api-types/0.37.41/confidence-slim/0.37.38)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | patch | | [discord.js](https://discord.js.org) ([source](https://togithub.com/discordjs/discord.js)) | [`14.9.0` -> `14.11.0`](https://renovatebot.com/diffs/npm/discord.js/14.9.0/14.11.0) | [![age](https://badges.renovateapi.com/packages/npm/discord.js/14.11.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/discord.js/14.11.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/discord.js/14.11.0/compatibility-slim/14.9.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/discord.js/14.11.0/confidence-slim/14.9.0)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | minor | | [eslint](https://eslint.org) ([source](https://togithub.com/eslint/eslint)) | [`8.38.0` -> `8.40.0`](https://renovatebot.com/diffs/npm/eslint/8.38.0/8.40.0) | [![age](https://badges.renovateapi.com/packages/npm/eslint/8.40.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/eslint/8.40.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/eslint/8.40.0/compatibility-slim/8.38.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/eslint/8.40.0/confidence-slim/8.38.0)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | minor | | [lint-staged](https://togithub.com/okonet/lint-staged) | [`13.2.1` -> `13.2.2`](https://renovatebot.com/diffs/npm/lint-staged/13.2.1/13.2.2) | [![age](https://badges.renovateapi.com/packages/npm/lint-staged/13.2.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/lint-staged/13.2.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/lint-staged/13.2.2/compatibility-slim/13.2.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/lint-staged/13.2.2/confidence-slim/13.2.1)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | patch | | [prettier](https://prettier.io) ([source](https://togithub.com/prettier/prettier)) | [`2.8.7` -> `2.8.8`](https://renovatebot.com/diffs/npm/prettier/2.8.7/2.8.8) | [![age](https://badges.renovateapi.com/packages/npm/prettier/2.8.8/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/prettier/2.8.8/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/prettier/2.8.8/compatibility-slim/2.8.7)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/prettier/2.8.8/confidence-slim/2.8.7)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | patch | | [thedoctor0/zip-release](https://togithub.com/thedoctor0/zip-release) | `0.6.2` -> `0.7.1` | [![age](https://badges.renovateapi.com/packages/github-tags/thedoctor0%2fzip-release/0.7.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/github-tags/thedoctor0%2fzip-release/0.7.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/github-tags/thedoctor0%2fzip-release/0.7.1/compatibility-slim/0.6.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/github-tags/thedoctor0%2fzip-release/0.7.1/confidence-slim/0.6.2)](https://docs.renovatebot.com/merge-confidence/) | action | minor | | [turbo](https://turbo.build/repo) ([source](https://togithub.com/vercel/turbo)) | [`1.9.1` -> `1.9.3`](https://renovatebot.com/diffs/npm/turbo/1.9.1/1.9.3) | [![age](https://badges.renovateapi.com/packages/npm/turbo/1.9.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/turbo/1.9.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/turbo/1.9.3/compatibility-slim/1.9.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/turbo/1.9.3/confidence-slim/1.9.1)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | patch | | [typedoc](https://typedoc.org) ([source](https://togithub.com/TypeStrong/TypeDoc)) | [`0.24.4` -> `0.24.7`](https://renovatebot.com/diffs/npm/typedoc/0.24.4/0.24.7) | [![age](https://badges.renovateapi.com/packages/npm/typedoc/0.24.7/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/typedoc/0.24.7/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/typedoc/0.24.7/compatibility-slim/0.24.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/typedoc/0.24.7/confidence-slim/0.24.4)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | patch | | [vitest](https://togithub.com/vitest-dev/vitest) | [`^0.30.1` -> `^0.31.0`](https://renovatebot.com/diffs/npm/vitest/0.30.1/0.31.0) | [![age](https://badges.renovateapi.com/packages/npm/vitest/0.31.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/vitest/0.31.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/vitest/0.31.0/compatibility-slim/0.30.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/vitest/0.31.0/confidence-slim/0.30.1)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | minor | | [yarn](https://togithub.com/yarnpkg/berry) | [`3.3.1` -> `3.5.1`](https://renovatebot.com/diffs/npm/yarn/3.3.1/3.5.1) | [![age](https://badges.renovateapi.com/packages/npm/yarn/3.5.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/yarn/3.5.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/yarn/3.5.1/compatibility-slim/3.3.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/yarn/3.5.1/confidence-slim/3.3.1)](https://docs.renovatebot.com/merge-confidence/) | packageManager | minor | --- ### Release Notes <details> <summary>sapphiredev/utilities (@​sapphire/discord.js-utilities)</summary> ### [`v6.1.0`](https://togithub.com/sapphiredev/utilities/blob/HEAD/packages/discord.js-utilities/CHANGELOG.md#sapphirediscordjs-utilities610-httpsgithubcomsapphiredevutilitiescomparesapphirediscordjs-utilities607sapphirediscordjs-utilities610---2023-05-05) [Compare Source](https://togithub.com/sapphiredev/utilities/compare/@sapphire/[email protected]...@sapphire/[email protected]) #### 🚀 Features - **PaginatedMessage:** Add support for all select menus ([#​589](https://togithub.com/sapphiredev/utilities/issues/589)) ([4858486](https://togithub.com/sapphiredev/utilities/commit/4858486714192e8d37cf69f2aeda3002c1bfb9aa)) - **PaginatedMessage:** Add support for per-page actions ([#​587](https://togithub.com/sapphiredev/utilities/issues/587)) ([b917236](https://togithub.com/sapphiredev/utilities/commit/b9172364bc46a0adef2708ff79ad756bc78f6b1d)) - **PaginatedMessage:** Add method to update pages after response ([#​584](https://togithub.com/sapphiredev/utilities/issues/584)) ([db13068](https://togithub.com/sapphiredev/utilities/commit/db130684ff3c1680f736451361eec80686a783e0)) ### [`v6.0.7`](https://togithub.com/sapphiredev/utilities/blob/HEAD/packages/discord.js-utilities/CHANGELOG.md#sapphirediscordjs-utilities607-httpsgithubcomsapphiredevutilitiescomparesapphirediscordjs-utilities606sapphirediscordjs-utilities607---2023-05-02) [Compare Source](https://togithub.com/sapphiredev/utilities/compare/@sapphire/[email protected]...@sapphire/[email protected]) #### 🐛 Bug Fixes - **PaginatedMessage:** Only add options and placeholder to the built-in StringSelectMenu ([#​575](https://togithub.com/sapphiredev/utilities/issues/575)) ([49d588b](https://togithub.com/sapphiredev/utilities/commit/49d588b007754bfae7ffa59be6ec0d1c266447f4)) - **paginatedmessage:** Fix checks for `actionIsButtonOrMenu` ([3f5d500](https://togithub.com/sapphiredev/utilities/commit/3f5d5000701c34328038c8a3e3dede021932a27b)) #### 📝 Documentation - **paginatedmessage:** Fix examples ([c080740](https://togithub.com/sapphiredev/utilities/commit/c080740a6eeb151263827836d76463430624d62a)) ### [`v6.0.6`](https://togithub.com/sapphiredev/utilities/blob/HEAD/packages/discord.js-utilities/CHANGELOG.md#sapphirediscordjs-utilities606-httpsgithubcomsapphiredevutilitiescomparesapphirediscordjs-utilities605sapphirediscordjs-utilities606---2023-04-17) [Compare Source](https://togithub.com/sapphiredev/utilities/compare/@sapphire/[email protected]...@sapphire/[email protected]) #### 🐛 Bug Fixes - **discord.js-utilities:** Add tslib dependency to fix \__exportStar not being defined ([2f6e4e6](https://togithub.com/sapphiredev/utilities/commit/2f6e4e65907bfe768a97b37830a10d5cadd75a1e)) </details> <details> <summary>sapphiredev/utilities (@​sapphire/eslint-config)</summary> ### [`v4.4.2`](https://togithub.com/sapphiredev/utilities/blob/HEAD/packages/eslint-config/CHANGELOG.md#sapphireeslint-config442-httpsgithubcomsapphiredevutilitiescomparesapphireeslint-config441sapphireeslint-config442---2023-05-02) [Compare Source](https://togithub.com/sapphiredev/utilities/compare/@sapphire/[email protected]...@sapphire/[email protected]) #### 🐛 Bug Fixes - **eslint-config:** Update dependencies ([9e508a9](https://togithub.com/sapphiredev/utilities/commit/9e508a90ca39874af15e875fcccfc3817c679599)) </details> <details> <summary>sapphiredev/framework</summary> ### [`v4.4.3`](https://togithub.com/sapphiredev/framework/blob/HEAD/CHANGELOG.md#​443-httpsgithubcomsapphiredevframeworkcomparev442v443---2023-05-02) [Compare Source](https://togithub.com/sapphiredev/framework/compare/v4.4.2...v4.4.3) #### 🐛 Bug Fixes - Update dependencies ([852302e](https://togithub.com/sapphiredev/framework/commit/852302e9ca6144430b8f8c611560af3b5664e15f)) ### [`v4.4.2`](https://togithub.com/sapphiredev/framework/blob/HEAD/CHANGELOG.md#​442-httpsgithubcomsapphiredevframeworkcomparev441v442---2023-04-27) [Compare Source](https://togithub.com/sapphiredev/framework/compare/v4.4.1...v4.4.2) #### 🐛 Bug Fixes - Add missing permission to account for [email protected] ([8c5ce9d](https://togithub.com/sapphiredev/framework/commit/8c5ce9dfafbb7a0a329f6feb7d5e216f1df6cedf)) - **deps:** Update all non-major dependencies ([#​631](https://togithub.com/sapphiredev/framework/issues/631)) ([d9115d2](https://togithub.com/sapphiredev/framework/commit/d9115d266e2782604e82f0b22537771055cb8bb5)) ### [`v4.4.1`](https://togithub.com/sapphiredev/framework/blob/HEAD/CHANGELOG.md#​441-httpsgithubcomsapphiredevframeworkcomparev440v441---2023-04-18) [Compare Source](https://togithub.com/sapphiredev/framework/compare/v4.4.0...v4.4.1) #### 🐛 Bug Fixes - **permissions:** Add missing permission strings ([#​630](https://togithub.com/sapphiredev/framework/issues/630)) ([23645bb](https://togithub.com/sapphiredev/framework/commit/23645bbe527119ab6be3824d2435f2dbb5bf89db)) - **ArgType:** Update `type` for guild\*ThreadChannel ([#​628](https://togithub.com/sapphiredev/framework/issues/628)) ([222d50e](https://togithub.com/sapphiredev/framework/commit/222d50e0459f7769bea660ae9ae5ce412b927cdb)) #### 📝 Documentation - Add code of conduct to the repo ([f4a9897](https://togithub.com/sapphiredev/framework/commit/f4a9897142224b0f8c238667a2d1c1180b844435)) </details> <details> <summary>typescript-eslint/typescript-eslint (@​typescript-eslint/eslint-plugin)</summary> ### [`v5.59.2`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#​5592-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5591v5592-2023-05-01) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.59.1...v5.59.2) **Note:** Version bump only for package [@​typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin) ### [`v5.59.1`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#​5591-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5590v5591-2023-04-24) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.59.0...v5.59.1) ##### Bug Fixes - **eslint-plugin:** \[prefer-regexp-exec] skip malformed regexes ([#​6935](https://togithub.com/typescript-eslint/typescript-eslint/issues/6935)) ([05ed60e](https://togithub.com/typescript-eslint/typescript-eslint/commit/05ed60e25f1de9d1bb83d56c81a349130960bec8)) - **eslint-plugin:** \[unified-signatures] no parameters function ([#​6940](https://togithub.com/typescript-eslint/typescript-eslint/issues/6940)) ([2970861](https://togithub.com/typescript-eslint/typescript-eslint/commit/297086154acc568a0ae8eb41c8977b7a7ba4e0ed)) ### [`v5.59.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#​5590-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5580v5590-2023-04-17) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.58.0...v5.59.0) ##### Bug Fixes - **eslint-plugin:** \[no-unnecessary-condition] allow nullish coalescing for naked type parameter ([#​6910](https://togithub.com/typescript-eslint/typescript-eslint/issues/6910)) ([3e5f858](https://togithub.com/typescript-eslint/typescript-eslint/commit/3e5f8583f1e4fe045c2fe2143d6f280b7381f96b)) ##### Features - **eslint-plugin:** \[ban-types] add NonNullable suggestion and allow custom suggestions ([#​6876](https://togithub.com/typescript-eslint/typescript-eslint/issues/6876)) ([ff65235](https://togithub.com/typescript-eslint/typescript-eslint/commit/ff65235246bb6214fb64f0e0317373ca99f8bcbe)) </details> <details> <summary>typescript-eslint/typescript-eslint (@​typescript-eslint/parser)</summary> ### [`v5.59.2`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#​5592-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5591v5592-2023-05-01) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.59.1...v5.59.2) **Note:** Version bump only for package [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) ### [`v5.59.1`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#​5591-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5590v5591-2023-04-24) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.59.0...v5.59.1) **Note:** Version bump only for package [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) ### [`v5.59.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#​5590-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5580v5590-2023-04-17) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.58.0...v5.59.0) **Note:** Version bump only for package [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) </details> <details> <summary>vitest-dev/vitest</summary> ### [`v0.31.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.31.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.30.1...v0.31.0) ##### 🚨 Breaking Changes - Update mock implementation to support ESM runtime, introduce "vi.hoisted" - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3258](https://togithub.com/vitest-dev/vitest/issues/3258) [<samp>(0c09a)</samp>](https://togithub.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.mocked('./path/to/module.js', () => { return { originalMethod: mockedMethod } }) ``` - Move assertion declarations to expect package - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3294](https://togithub.com/vitest-dev/vitest/issues/3294) [<samp>(cf3af)</samp>](https://togithub.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 - Add repeat method to tests - by [@​samkevin1](https://togithub.com/samkevin1) in [https://github.com/vitest-dev/vitest/issues/2652](https://togithub.com/vitest-dev/vitest/issues/2652) [<samp>(7c8f0)</samp>](https://togithub.com/vitest-dev/vitest/commit/7c8f0ba9) - Add an option to hide skipped test lines - by [@​g4rry420](https://togithub.com/g4rry420) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2745](https://togithub.com/vitest-dev/vitest/issues/2745) [<samp>(9bdb1)</samp>](https://togithub.com/vitest-dev/vitest/commit/9bdb1603) - **coverage**: Watermarks for c8 - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3254](https://togithub.com/vitest-dev/vitest/issues/3254) [<samp>(730af)</samp>](https://togithub.com/vitest-dev/vitest/commit/730af0b4) - **ui**: Add html coverage - by [@​userquin](https://togithub.com/userquin) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3071](https://togithub.com/vitest-dev/vitest/issues/3071) [<samp>(e24cd)</samp>](https://togithub.com/vitest-dev/vitest/commit/e24cd9b2) - **watch**: Test run cancelling, feat: `--bail` option for cancelling test run - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3163](https://togithub.com/vitest-dev/vitest/issues/3163) [<samp>(8d460)</samp>](https://togithub.com/vitest-dev/vitest/commit/8d4606eb) ##### 🐞 Bug Fixes - Don't call global setup teardown twice - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3188](https://togithub.com/vitest-dev/vitest/issues/3188) [<samp>(ba3d1)</samp>](https://togithub.com/vitest-dev/vitest/commit/ba3d1338) - Reporter to log version before provider initalizations - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3131](https://togithub.com/vitest-dev/vitest/issues/3131) [<samp>(481b1)</samp>](https://togithub.com/vitest-dev/vitest/commit/481b1fd2) - Throw an error if Vitest cannot access its internal state - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3250](https://togithub.com/vitest-dev/vitest/issues/3250) [<samp>(fbb14)</samp>](https://togithub.com/vitest-dev/vitest/commit/fbb1468e) - Warning suppression broken - by [@​IceQub3](https://togithub.com/IceQub3) in [https://github.com/vitest-dev/vitest/issues/3270](https://togithub.com/vitest-dev/vitest/issues/3270) and [https://github.com/vitest-dev/vitest/issues/3271](https://togithub.com/vitest-dev/vitest/issues/3271) [<samp>(036de)</samp>](https://togithub.com/vitest-dev/vitest/commit/036de797) - Show correct diff in "toHaveBeenCalledWith" - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3289](https://togithub.com/vitest-dev/vitest/issues/3289) [<samp>(19fcd)</samp>](https://togithub.com/vitest-dev/vitest/commit/19fcd8df) - Don't print esm warning, if package name is not found - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3292](https://togithub.com/vitest-dev/vitest/issues/3292) [<samp>(62c14)</samp>](https://togithub.com/vitest-dev/vitest/commit/62c14cba) - Support exactOptionalPropertyTypes - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3293](https://togithub.com/vitest-dev/vitest/issues/3293) [<samp>(ba81d)</samp>](https://togithub.com/vitest-dev/vitest/commit/ba81d8a3) - Don't inline vite hmr and rollup types - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3291](https://togithub.com/vitest-dev/vitest/issues/3291) [<samp>(1f118)</samp>](https://togithub.com/vitest-dev/vitest/commit/1f1189bc) - **browser**: - Failing to load vitest/utils - by [@​userquin](https://togithub.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3190](https://togithub.com/vitest-dev/vitest/issues/3190) [<samp>(78bad)</samp>](https://togithub.com/vitest-dev/vitest/commit/78bad4ab) - **coverage**: - `thresholdAutoUpdate` to work with `perFile` - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3182](https://togithub.com/vitest-dev/vitest/issues/3182) [<samp>(29eeb)</samp>](https://togithub.com/vitest-dev/vitest/commit/29eebf65) - Throw error if fail to load built-in provider - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3217](https://togithub.com/vitest-dev/vitest/issues/3217) [<samp>(0a287)</samp>](https://togithub.com/vitest-dev/vitest/commit/0a2875e3) - Stackblitz hangs with c8 - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3225](https://togithub.com/vitest-dev/vitest/issues/3225) [<samp>(d9fda)</samp>](https://togithub.com/vitest-dev/vitest/commit/d9fda2a1) - C8 to ignore vite's generated helpers - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3241](https://togithub.com/vitest-dev/vitest/issues/3241) [<samp>(21942)</samp>](https://togithub.com/vitest-dev/vitest/commit/21942db0) - Workspaces c8 source maps - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3226](https://togithub.com/vitest-dev/vitest/issues/3226) [<samp>(efce3)</samp>](https://togithub.com/vitest-dev/vitest/commit/efce3b4d) - **docs**: - Correct typo and broken link to WebdriverIO - by [@​nathanbabcock](https://togithub.com/nathanbabcock) in [https://github.com/vitest-dev/vitest/issues/3275](https://togithub.com/vitest-dev/vitest/issues/3275) [<samp>(c7da1)</samp>](https://togithub.com/vitest-dev/vitest/commit/c7da155f) - **spy**: - Update to set initial implementation through normal logic - by [@​Codex-](https://togithub.com/Codex-) in [https://github.com/vitest-dev/vitest/issues/3260](https://togithub.com/vitest-dev/vitest/issues/3260) and [https://github.com/vitest-dev/vitest/issues/3263](https://togithub.com/vitest-dev/vitest/issues/3263) [<samp>(c759a)</samp>](https://togithub.com/vitest-dev/vitest/commit/c759a9aa) - **vite-node**: - Circular imports - by [@​antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/3196](https://togithub.com/vitest-dev/vitest/issues/3196) [<samp>(cbb59)</samp>](https://togithub.com/vitest-dev/vitest/commit/cbb593a8) - Add missing `import.meta.hot.send` mock - by [@​antfu](https://togithub.com/antfu) [<samp>(b1624)</samp>](https://togithub.com/vitest-dev/vitest/commit/b1624db5) - **vitest**: - Also check for vite relative to vitest package - by [@​JoshuaKGoldberg](https://togithub.com/JoshuaKGoldberg) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3274](https://togithub.com/vitest-dev/vitest/issues/3274) [<samp>(a3393)</samp>](https://togithub.com/vitest-dev/vitest/commit/a3393b15) - **watch**: - Run test files when added to filesystem - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3189](https://togithub.com/vitest-dev/vitest/issues/3189) [<samp>(7b2c8)</samp>](https://togithub.com/vitest-dev/vitest/commit/7b2c81bc) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.30.1...v0.31.0) </details> <details> <summary>discordjs/discord-api-types</summary> ### [`v0.37.41`](https://togithub.com/discordjs/discord-api-types/blob/HEAD/CHANGELOG.md#​03741-httpsgithubcomdiscordjsdiscord-api-typescompare0374003741-2023-05-01) [Compare Source](https://togithub.com/discordjs/discord-api-types/compare/0.37.40...0.37.41) ##### Bug Fixes - **GatewayGuildMembersChunkDispatchData:** Omit `guild_id` for presences ([#​761](https://togithub.com/discordjs/discord-api-types/issues/761)) ([5079b16](https://togithub.com/discordjs/discord-api-types/commit/5079b164db3ac3bda25675a553a586f099555667)) - **types:** move `types` condition to the front ([#​763](https://togithub.com/discordjs/discord-api-types/issues/763)) ([9dce6ed](https://togithub.com/discordjs/discord-api-types/commit/9dce6ed392b64e602c3cc05946bc0f30bac7279e)) ### [`v0.37.40`](https://togithub.com/discordjs/discord-api-types/blob/HEAD/CHANGELOG.md#​03740-httpsgithubcomdiscordjsdiscord-api-typescompare0373903740-2023-04-24) [Compare Source](https://togithub.com/discordjs/discord-api-types/compare/0.37.39...0.37.40) ##### Features - add support for voice messages ([#​749](https://togithub.com/discordjs/discord-api-types/issues/749)) ([3dac5b9](https://togithub.com/discordjs/discord-api-types/commit/3dac5b93e7568ba2fbd3bc30d229d2df80f96eed)) ### [`v0.37.39`](https://togithub.com/discordjs/discord-api-types/blob/HEAD/CHANGELOG.md#​03739-httpsgithubcomdiscordjsdiscord-api-typescompare0373803739-2023-04-17) [Compare Source](https://togithub.com/discordjs/discord-api-types/compare/0.37.38...0.37.39) ##### Bug Fixes - **RESTPostAPIChannelMessagesThreadsJSONBody:** mark `auto_archive_duration` as optional ([ca6a95d](https://togithub.com/discordjs/discord-api-types/commit/ca6a95d69c7b93f564f10cce422faf5ea4133be7)) ##### Features - **APIGuild:** add `max_stage_video_channel_users` ([#​550](https://togithub.com/discordjs/discord-api-types/issues/550)) ([9a66d21](https://togithub.com/discordjs/discord-api-types/commit/9a66d21f4913c63ed7c192cf9340febe603bf516)) </details> <details> <summary>discordjs/discord.js</summary> ### [`v14.11.0`](https://togithub.com/discordjs/discord.js/blob/HEAD/packages/discord.js/CHANGELOG.md#​14110-httpsgithubcomdiscordjsdiscordjscompare1410214110---2023-05-06) [Compare Source](https://togithub.com/discordjs/discord.js/compare/14.10.2...14.11.0) #### Bug Fixes - **WebSocketManager:** Properly emit shard error events ([#​9521](https://togithub.com/discordjs/discord.js/issues/9521)) ([e627468](https://togithub.com/discordjs/discord.js/commit/e6274681fd10b0d75e1d3b448c94b50ec6810367)) - **WebSocketManager:** Emit raw ws events again ([#​9502](https://togithub.com/discordjs/discord.js/issues/9502)) ([c429763](https://togithub.com/discordjs/discord.js/commit/c429763be8e94f0f0cbc630e8bb1d415d46f1465)) #### Documentation - **Client:** Update Sapphire's snowflake utility links ([#​9501](https://togithub.com/discordjs/discord.js/issues/9501)) ([1b7981e](https://togithub.com/discordjs/discord.js/commit/1b7981e4696b8ae74ceffa876fc0a9be7d0b9f93)) #### Features - **Guild:** Safety alerts channel and mention raid protection ([#​8959](https://togithub.com/discordjs/discord.js/issues/8959)) ([6b2c3fb](https://togithub.com/discordjs/discord.js/commit/6b2c3fb9d0571de808e990cf064f73240ab93451)) #### Performance - **Role:** Linear speed position getter ([#​9493](https://togithub.com/discordjs/discord.js/issues/9493)) ([8e9a2b4](https://togithub.com/discordjs/discord.js/commit/8e9a2b4630f78bb9e45345ec2a16812bfac70a20)) #### Refactor - **GuildChannel:** Simplify constructor ([#​9499](https://togithub.com/discordjs/discord.js/issues/9499)) ([f2ad076](https://togithub.com/discordjs/discord.js/commit/f2ad0762c521422ab64e5b10344a6fd67961031b)) #### Typings - **StringSelectMenuComponentData:** `options` is required ([#​9515](https://togithub.com/discordjs/discord.js/issues/9515)) ([d7b18f0](https://togithub.com/discordjs/discord.js/commit/d7b18f0681d4147ff192c98108c035d6d0f96cce)) ### [`v14.10.2`](https://togithub.com/discordjs/discord.js/blob/HEAD/packages/discord.js/CHANGELOG.md#​14102-httpsgithubcomdiscordjsdiscordjscompare1410114102---2023-05-01) [Compare Source](https://togithub.com/discordjs/discord.js/compare/14.10.1...14.10.2) #### Bug Fixes - Correct `isJSONEncodable()` import ([#​9495](https://togithub.com/discordjs/discord.js/issues/9495)) ([201b002](https://togithub.com/discordjs/discord.js/commit/201b002ad405b845ace5f708077c1f157bb4126d)) - **Client:** `generateInvite()` scope validation ([#​9492](https://togithub.com/discordjs/discord.js/issues/9492)) ([b327f49](https://togithub.com/discordjs/discord.js/commit/b327f4925ff557e0aa8273d7f017aa616226ca06)) ### [`v14.10.1`](https://togithub.com/discordjs/discord.js/blob/HEAD/packages/discord.js/CHANGELOG.md#​14101-httpsgithubcomdiscordjsdiscordjscompare1410014101---2023-05-01) [Compare Source](https://togithub.com/discordjs/discord.js/compare/14.10.0...14.10.1) #### Bug Fixes - **Client:** Spelling of InvalidScopesWithPermissions ([ac9bf3a](https://togithub.com/discordjs/discord.js/commit/ac9bf3ac06ec78dbaca2ce4a82cceb0d82484211)) #### Refactor - **ShardClientUtil:** Logic de-duplication ([#​9491](https://togithub.com/discordjs/discord.js/issues/9491)) ([a9f2bff](https://togithub.com/discordjs/discord.js/commit/a9f2bff82a18c6a3afdee99e5830e1d7b4da65dc)) ### [`v14.10.0`](https://togithub.com/discordjs/discord.js/blob/HEAD/packages/discord.js/CHANGELOG.md#​14100-httpsgithubcomdiscordjsdiscordjscompare149014100---2023-05-01) [Compare Source](https://togithub.com/discordjs/discord.js/compare/14.9.0...14.10.0) #### Bug Fixes - **ShardClientUtil:** Fix client event names ([#​9474](https://togithub.com/discordjs/discord.js/issues/9474)) ([ad217cc](https://togithub.com/discordjs/discord.js/commit/ad217cc7604dda6a33df73db82799fd5bb4e85a9)) - **BaseClient:** Prevent user agent mutation ([#​9425](https://togithub.com/discordjs/discord.js/issues/9425)) ([217e5d8](https://togithub.com/discordjs/discord.js/commit/217e5d81005a2506c96335f7fb96fa21d7dbb04c)) - **BitField:** Use only enum names in iterating ([#​9357](https://togithub.com/discordjs/discord.js/issues/9357)) ([40d07fb](https://togithub.com/discordjs/discord.js/commit/40d07fbbbd51d62793d9ea541f41f157b5dad224)) - Use new permission name ([#​9274](https://togithub.com/discordjs/discord.js/issues/9274)) ([d2d27ce](https://togithub.com/discordjs/discord.js/commit/d2d27ce7346bc37b34938c84bd3b106a4fa51f53)) - **Message#editable:** Fix permissions check in locked threads ([#​9319](https://togithub.com/discordjs/discord.js/issues/9319)) ([d4c1fec](https://togithub.com/discordjs/discord.js/commit/d4c1fecbe264bc52a70aaf0ec303d35e2f15bbcd)) - Fix external links ([#​9313](https://togithub.com/discordjs/discord.js/issues/9313)) ([a7425c2](https://togithub.com/discordjs/discord.js/commit/a7425c29c4f23f1b31f4c6a463107ca9eb7fd7e2)) #### Documentation - **AutoModerationRule:** Update docs ([#​9464](https://togithub.com/discordjs/discord.js/issues/9464)) ([1b15d31](https://togithub.com/discordjs/discord.js/commit/1b15d31b5ae1b1739716fab00b18083c1d7d389a)) - **APITypes:** Document role & user select menu components ([#​9435](https://togithub.com/discordjs/discord.js/issues/9435)) ([c6ca5a8](https://togithub.com/discordjs/discord.js/commit/c6ca5a83e7b72613f95c2145606a1330f64ae894)) - **BaseMessageOptions:** Fix embeds and components ([#​9437](https://togithub.com/discordjs/discord.js/issues/9437)) ([5c52bb9](https://togithub.com/discordjs/discord.js/commit/5c52bb95906250518a8813820d543f43dd7abdf9)) - **InteractionResponses:** ShowModal docs change ([#​9434](https://togithub.com/discordjs/discord.js/issues/9434)) ([7d34100](https://togithub.com/discordjs/discord.js/commit/7d341000d44b762a2fe0434a6b518f7d63539d34)) - Use ESM code in examples ([#​9427](https://togithub.com/discordjs/discord.js/issues/9427)) ([ce287f2](https://togithub.com/discordjs/discord.js/commit/ce287f21d1540da7f17cac8a57dc33a67f391ef3)) - Generate static imports for types with api-extractor ([98a76db](https://togithub.com/discordjs/discord.js/commit/98a76db482879f79d6bb2fb2e5fc65ac2c34e2d9)) - **Options:** Fix links and invalid syntax ([#​9322](https://togithub.com/discordjs/discord.js/issues/9322)) ([86e5f5a](https://togithub.com/discordjs/discord.js/commit/86e5f5a119c6d2588b988a33236d358ded357847)) - Cleanup MessageCreateOptions and MessageReplyOptions ([#​9283](https://togithub.com/discordjs/discord.js/issues/9283)) ([300059c](https://togithub.com/discordjs/discord.js/commit/300059cb266e6cca42c30ee7f997c48ab2cc565e)) - **Events:** Document auto moderation events ([#​9342](https://togithub.com/discordjs/discord.js/issues/9342)) ([79bcdfa](https://togithub.com/discordjs/discord.js/commit/79bcdfa767e7e842164e1174b6f4834ed731d329)) - Add `SnowflakeUtil` ([#​9371](https://togithub.com/discordjs/discord.js/issues/9371)) ([8ffcf77](https://togithub.com/discordjs/discord.js/commit/8ffcf77840b62590fcb4731380d28b22d0b98741)) - Use stable tag ([#​9343](https://togithub.com/discordjs/discord.js/issues/9343)) ([c0f2dd7](https://togithub.com/discordjs/discord.js/commit/c0f2dd713151a29c98e1eebad66721a208be1fc0)) - Remove `JSONEncondable` ([#​9344](https://togithub.com/discordjs/discord.js/issues/9344)) ([b2eec5f](https://togithub.com/discordjs/discord.js/commit/b2eec5f9fcf37ebb3b7f87a67a6ee3160c182183)) #### Features - **Attachment:** Voice messages ([#​9392](https://togithub.com/discordjs/discord.js/issues/9392)) ([3e01f91](https://togithub.com/discordjs/discord.js/commit/3e01f91bbba2cbacacc6c921ed664752f679960b)) - **BaseInteraction:** Support new channel payload ([#​9337](https://togithub.com/discordjs/discord.js/issues/9337)) ([29389e3](https://togithub.com/discordjs/discord.js/commit/29389e39f479b832e54c7cb3ddd363aebe99674f)) - **RoleTagData:** Add guildConnections ([#​9366](https://togithub.com/discordjs/discord.js/issues/9366)) ([2dddbe1](https://togithub.com/discordjs/discord.js/commit/2dddbe1f321f2e2722dba4a28f7d18384cf50353)) #### Performance - **RoleManager:** Dont call Role#position getter twice per role ([#​9352](https://togithub.com/discordjs/discord.js/issues/9352)) ([bfee6c8](https://togithub.com/discordjs/discord.js/commit/bfee6c8d889502ea39ad919dd9b1e6253a2af571)) #### Refactor - **WebSocketManager:** Use /ws package internally ([#​9099](https://togithub.com/discordjs/discord.js/issues/9099)) ([a9e0de4](https://togithub.com/discordjs/discord.js/commit/a9e0de4288ea39a6a089b8379dcd44ac0053dac7)) - Remove `fromInteraction` in internal channel creation ([#​9335](https://togithub.com/discordjs/discord.js/issues/9335)) ([794abe8](https://togithub.com/discordjs/discord.js/commit/794abe8450bae000cd0544922cdf53e7b3e4c59c)) #### Typings - **AutoModerationActionMetadataOptions:** Make channel property optional ([#​9460](https://togithub.com/discordjs/discord.js/issues/9460)) ([d26df5f](https://togithub.com/discordjs/discord.js/commit/d26df5fabaf227fb9d10ba5cc1ab326de55aadbc)) - **CategoryChannel:** Ensure `parent` and `parentId` are `null` ([#​9327](https://togithub.com/discordjs/discord.js/issues/9327)) ([8218ffc](https://togithub.com/discordjs/discord.js/commit/8218ffc78d23234b32c05a97fde2f4bea64d7aa6)) - **GuildTextBasedChannel:** Remove unnecessary exclusion of forum channels ([#​9326](https://togithub.com/discordjs/discord.js/issues/9326)) ([7ff3d52](https://togithub.com/discordjs/discord.js/commit/7ff3d528d942a0daa990194915ff8328dec99149)) </details> <details> <summary>eslint/eslint</summary> ### [`v8.40.0`](https://togithub.com/eslint/eslint/releases/tag/v8.40.0) [Compare Source](https://togithub.com/eslint/eslint/compare/v8.39.0...v8.40.0) #### Features - [`5db7808`](https://togithub.com/eslint/eslint/commit/5db7808139c1f2172797285a0700f01644bda254) feat: improve flat config errors for invalid rule options and severities ([#​17140](https://togithub.com/eslint/eslint/issues/17140)) (Josh Goldberg ✨) - [`f5574dc`](https://togithub.com/eslint/eslint/commit/f5574dc739fcc74a7841217ba1f31cce02bee1ff) feat: Add findConfigFile() method to FlatESLint ([#​17142](https://togithub.com/eslint/eslint/issues/17142)) (Nicholas C. Zakas) - [`e52b98b`](https://togithub.com/eslint/eslint/commit/e52b98bf25d882da4efd5559ce5974b6697cf701) feat: add `sourceCode` property to the rule context ([#​17107](https://togithub.com/eslint/eslint/issues/17107)) (Nitin Kumar) - [`1468f5b`](https://togithub.com/eslint/eslint/commit/1468f5b640cfa6fdd8a5ec895337f692def2780b) feat: add `physicalFilename` property to the rule context ([#​17111](https://togithub.com/eslint/eslint/issues/17111)) (Nitin Kumar) - [`0df4d4f`](https://togithub.com/eslint/eslint/commit/0df4d4f658c214e51310a986c03d44d34ceae3ec) feat: add `cwd` to rule context ([#​17106](https://togithub.com/eslint/eslint/issues/17106)) (Nitin Kumar) - [`52018f2`](https://togithub.com/eslint/eslint/commit/52018f21c19b3e461cae32843cddd17ed42f19cd) feat: add `filename` property to the rule context ([#​17108](https://togithub.com/eslint/eslint/issues/17108)) (Nitin Kumar) - [`559ff4e`](https://togithub.com/eslint/eslint/commit/559ff4e4bc54a8b6e6b54825d83c532d724204b3) feat: add new `omitLastInOneLineClassBody` option to the `semi` rule ([#​17105](https://togithub.com/eslint/eslint/issues/17105)) (Nitin Kumar) #### Bug Fixes - [`f076e54`](https://togithub.com/eslint/eslint/commit/f076e54ecdb0fae70d9b43ad6888606097beef97) fix: Ensure FlatESLint#findConfigFile() doesn't throw. ([#​17151](https://togithub.com/eslint/eslint/issues/17151)) (Nicholas C. Zakas) #### Documentation - [`e980bf3`](https://togithub.com/eslint/eslint/commit/e980bf38cf441f2eb29c458b93df77dc0111b391) docs: Update README (GitHub Actions Bot) - [`e92a6fc`](https://togithub.com/eslint/eslint/commit/e92a6fc7ed2a427f5e95f4b3a1c21d71553c97ee) docs: Update README (GitHub Actions Bot) - [`af5fe64`](https://togithub.com/eslint/eslint/commit/af5fe64c398c9bd4206c3c6c1ade81768b291031) docs: Fix custom rule schema docs ([#​17115](https://togithub.com/eslint/eslint/issues/17115)) (Adam Jones) - [`4a352a9`](https://togithub.com/eslint/eslint/commit/4a352a957ba9e721bec9f6f403b419a22b0ec423) docs: explain how to include predefined globals ([#​17114](https://togithub.com/eslint/eslint/issues/17114)) (Marcus Wyatt) - [`5ea15d9`](https://togithub.com/eslint/eslint/commit/5ea15d92ee358e8f3f652c94c019cac96aaec651) docs: add mastodon link in readme ([#​17110](https://togithub.com/eslint/eslint/issues/17110)) (唯然) #### Chores - [`4053004`](https://togithub.com/eslint/eslint/commit/4053004c951813473d1c43f9f9959a9a3484242f) chore: upgrade [@​eslint/js](https://togithub.com/eslint/js)[@​8](https://togithub.com/8).40.0 ([#​17156](https://togithub.com/eslint/eslint/issues/17156)) (Milos Djermanovic) - [`50fed1d`](https://togithub.com/eslint/eslint/commit/50fed1da4449ad7ecbb558294438273cfce603d4) chore: package.json update for [@​eslint/js](https://togithub.com/eslint/js) release (ESLint Jenkins) - [`4c7a170`](https://togithub.com/eslint/eslint/commit/4c7a170b04c5a746e401bef7ce79766ff66a1168) chore: upgrade [@​eslint/eslintrc](https://togithub.com/eslint/eslintrc)[@​2](https://togithub.com/2).0.3 ([#​17155](https://togithub.com/eslint/eslint/issues/17155)) (Milos Djermanovic) - [`e80b7cc`](https://togithub.com/eslint/eslint/commit/e80b7cce640b60c00802148dbb51d03c7223afa9) chore: upgrade [email protected] ([#​17154](https://togithub.com/eslint/eslint/issues/17154)) (Milos Djermanovic) - [`ce3ac91`](https://togithub.com/eslint/eslint/commit/ce3ac91b510576e2afba1657aa5f09e162b4ab07) chore: upgrade [email protected] ([#​17153](https://togithub.com/eslint/eslint/issues/17153)) (Milos Djermanovic) - [`9094d79`](https://togithub.com/eslint/eslint/commit/9094d79fb42c0ebb6100426a3f2f851e8d42a0ee) chore: add `latest/` to `meta.docs.url` in all core rules ([#​17136](https://togithub.com/eslint/eslint/issues/17136)) (Milos Djermanovic) - [`d85efad`](https://togithub.com/eslint/eslint/commit/d85efad655deacc0dc3fdbbace33307094c3b91b) perf: don't use `grapheme-splitter` on ASCII strings in key-spacing rule ([#​17122](https://togithub.com/eslint/eslint/issues/17122)) (Milos Djermanovic) ### [`v8.39.0`](https://togithub.com/eslint/eslint/releases/tag/v8.39.0) [Compare Source](https://togithub.com/eslint/eslint/compare/v8.38.0...v8.39.0) #### Features - [`3f7af9f`](https://togithub.com/eslint/eslint/commit/3f7af9f408625dbc486af914706d34c4b483b5ba) feat: Implement `SourceCode#markVariableAsUsed()` ([#​17086](https://togithub.com/eslint/eslint/issues/17086)) (Nicholas C. Zakas) #### Documentation - [`6987dc5`](https://togithub.com/eslint/eslint/commit/6987dc59e46f4e345d0d6c20c1f2c6846bbd7acc) docs: Fix formatting in Custom Rules docs ([#​17097](https://togithub.com/eslint/eslint/issues/17097)) (Milos Djermanovic) - [`4ee92e5`](https://togithub.com/eslint/eslint/commit/4ee92e5cbdeba6fea2147901ce926de16946958a) docs: Update README (GitHub Actions Bot) - [`d8e9887`](https://togithub.com/eslint/eslint/commit/d8e9887c2c384d24d586d08ee9ae2ada79bd234c) docs: Custom Rules cleanup/expansion ([#​16906](https://togithub.com/eslint/eslint/issues/16906)) (Ben Perlmutter) - [`1fea279`](https://togithub.com/eslint/eslint/commit/1fea2797801a82a2718814c83dad641dab092bcc) docs: Clarify how to add to tsc agenda ([#​17084](https://togithub.com/eslint/eslint/issues/17084)) (Nicholas C. Zakas) - [`970ef1c`](https://togithub.com/eslint/eslint/commit/970ef1c868235a58297682513842f1256cdfbd03) docs: Update triage board location (Nicholas C. Zakas) - [`6d8bffd`](https://togithub.com/eslint/eslint/commit/6d8bffdf45d50e272dc45e6d2d05b4a737514468) docs: Update README (GitHub Actions Bot) #### Chores - [`60a6f26`](https://togithub.com/eslint/eslint/commit/60a6f2694deb4aa1c54de2a28d0357cddfd16644) chore: upgrade [@​eslint/js](https://togithub.com/eslint/js)[@​8](https://togithub.com/8).39.0 ([#​17102](https://togithub.com/eslint/eslint/issues/17102)) (Milos Djermanovic) - [`d5ba5c0`](https://togithub.com/eslint/eslint/commit/d5ba5c0a85e7a10777761f5d46c104ab7f25845b) chore: package.json update for [@​eslint/js](https://togithub.com/eslint/js) release (ESLint Jenkins) - [`f57eff2`](https://togithub.com/eslint/eslint/commit/f57eff20f5789408e95061f1af5354bb9b4f4784) ci: run tests on Node.js v20 ([#​17093](https://togithub.com/eslint/eslint/issues/17093)) (Nitin Kumar) - [`9d1b8fc`](https://togithub.com/eslint/eslint/commit/9d1b8fc60cc31f12618e58c10a2669506b7ce9bf) perf: Binary search in token store `utils.search` ([#​17066](https://togithub.com/eslint/eslint/issues/17066)) (Francesco Trotta) - [`07a4435`](https://togithub.com/eslint/eslint/commit/07a4435a0c08cb63ebf11b71f735bac20318829b) chore: Add request for minimal repro to bug report ([#​17081](https://togithub.com/eslint/eslint/issues/17081)) (Nicholas C. Zakas) - [`eac4943`](https://togithub.com/eslint/eslint/commit/eac4943ba2e4edb3dbfea0470e5d4b15a4926c40) refactor: remove unnecessary use of `SourceCode#getAncestors` in rules ([#​17075](https://togithub.com/eslint/eslint/issues/17075)) (Milos Djermanovic) - [`0a7b60a`](https://togithub.com/eslint/eslint/commit/0a7b60a9d5621dbbc1a8a8adda3b7c2060c779ca) chore: update description of `SourceCode#getDeclaredVariables` ([#​17072](https://togithub.com/eslint/eslint/issues/17072)) (Milos Djermanovic) - [`6e2df71`](https://togithub.com/eslint/eslint/commit/6e2df71cc390252aaca212abe3dc0467fe397450) chore: remove unnecessary references to the LICENSE file ([#​17071](https://togithub.com/eslint/eslint/issues/17071)) (Milos Djermanovic) </details> <details> <summary>okonet/lint-staged</summary> ### [`v13.2.2`](https://togithub.com/okonet/lint-staged/releases/tag/v13.2.2) [Compare Source](https://togithub.com/okonet/lint-staged/compare/v13.2.1...v13.2.2) ##### Bug Fixes - **dependencies:** update `[email protected]` (GHSA-f9xv-q969-pqx4) ([#​1290](https://togithub.com/okonet/lint-staged/issues/1290)) ([cf691aa](https://togithub.com/okonet/lint-staged/commit/cf691aa188719d9479ceaeffbffe814594fdb65f)) </details> <details> <summary>prettier/prettier</summary> ### [`v2.8.8`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#​288) [Compare Source](https://togithub.com/prettier/prettier/compare/2.8.7...2.8.8) This version is a republished version of v2.8.7. A bad version was accidentally published and [it can't be unpublished](https://togithub.com/npm/cli/issues/1686), apologies for the churn. </details> <details> <summary>thedoctor0/zip-release</summary> ### [`v0.7.1`](https://togithub.com/TheDoctor0/zip-release/releases/tag/0.7.1) [Compare Source](https://togithub.com/thedoctor0/zip-release/compare/0.7.0...0.7.1) - Allow `tar.gz` usage as `type` for the convenience in job matrix ([#​38](https://togithub.com/thedoctor0/zip-release/issues/38)) ### [`v0.7.0`](https://togithub.com/TheDoctor0/zip-release/releases/tag/0.7.0) [Compare Source](https://togithub.com/thedoctor0/zip-release/compare/0.6.3...0.7.0) - Add support for custom command parameters (see [custom](https://togithub.com/TheDoctor0/zip-release#custom) parameter) ### [`v0.6.3`](https://togithub.com/TheDoctor0/zip-release/releases/tag/0.6.3) [Compare Source](https://togithub.com/thedoctor0/zip-release/compare/0.6.2...0.6.3) - Handle multiple exclusions with tar ([#​33](https://togithub.com/thedoctor0/zip-release/issues/33)) </details> <details> <summary>vercel/turbo</summary> ### [`v1.9.3`](https://togithub.com/vercel/turbo/releases/tag/v1.9.3): Turborepo v1.9.3 [Compare Source](https://togithub.com/vercel/turbo/compare/v1.9.2...v1.9.3) <!-- Release notes generated using configuration in .github/turborepo-release.yml at v1.9.3 --> #### What's Changed ##### Changelog - Revert "fix(turborepo): SCM tests and renaming ([#​4462](https://togithub.com/vercel/turbo/issues/4462))" by [@​NicholasLYang](https://togithub.com/NicholasLYang) in [https://github.com/vercel/turbo/pull/4604](https://togithub.com/vercel/turbo/pull/4604) **Full Changelog**: https://github.com/vercel/turbo/compare/v1.9.2...v1.9.3 ### [`v1.9.2`](https://togithub.com/vercel/turbo/releases/tag/v1.9.2): Turborepo v1.9.2 [Compare Source](https://togithub.com/vercel/turbo/compare/v1.9.1...v1.9.2) <!-- Release notes generated using configuration in .github/turborepo-release.yml at v1.9.2 --> #### What's Changed ##### Changelog - chore: Fix spelling by [@​NicholasLYang](https://togithub.com/NicholasLYang) in [https://github.com/vercel/turbo/pull/4552](https://togithub.com/vercel/turbo/pull/4552) - Include TimeSaved metric in Run Summaries by [@​mehulkar](https://togithub.com/mehulkar) in [https://github.com/vercel/turbo/pull/4539](https://togithub.com/vercel/turbo/pull/4539) - docs: add missing comma in `turbo.json` by [@​BRKalow](https://togithub.com/BRKalow) in [https://github.com/vercel/turbo/pull/4557](https://togithub.com/vercel/turbo/pull/4557) - Delete a test fixture we don't need by [@​mehulkar](https://togithub.com/mehulkar) in [https://github.com/vercel/turbo/pull/4558](https://togithub.com/vercel/turbo/pull/4558) - fix(create-turbo): correct package manager selection by [@​tknickman](https://togithub.com/tknickman) in [https://github.com/vercel/turbo/pull/4574](https://togithub.com/vercel/turbo/pull/4574) - Print Run URL if there is one by [@​mehulkar](https://togithub.com/mehulkar) in [https://github.com/vercel/turbo/pull/4562](https://togithub.com/vercel/turbo/pull/4562) - fix(create-turbo): prompt fix by [@​tknickman](https://togithub.com/tknickman) in [https://github.com/vercel/turbo/pull/4586](https://togithub.com/vercel/turbo/pull/4586) - fix: better support for pnpm aliases by [@​chris-olszewski](https://togithub.com/chris-olszewski) in [https://github.com/vercel/turbo/pull/4555](https://togithub.com/vercel/turbo/pull/4555) - Make find_up use os.ReadDir by [@​nathanhammond](https://togithub.com/nathanhammond) in [https://github.com/vercel/turbo/pull/4599](https://togithub.com/vercel/turbo/pull/4599) - fix(turbo-utils): package manager available by [@​tknickman](https://togithub.com/tknickman) in [https://github.com/vercel/turbo/pull/4603](https://togithub.com/vercel/turbo/pull/4603) #### New Contributors - [@​BRKalow](https://togithub.com/BRKalow) made their first contribution in [https://github.com/vercel/turbo/pull/4557](https://togithub.com/vercel/turbo/pull/4557) **Full Changelog**: https://github.com/vercel/turbo/compare/v1.9.1...v1.9.2 </details> <details> <summary>TypeStrong/TypeDoc</summary> ### [`v0.24.7`](https://togithub.com/TypeStrong/TypeDoc/blob/HEAD/CHANGELOG.md#v0247-2023-05-08) [Compare Source](https://togithub.com/TypeStrong/TypeDoc/compare/v0.24.6...v0.24.7) ##### Features - TypeDoc will now allow conversion without any entry points to support "readme only" packages, [#​2264](https://togithub.com/TypeStrong/TypeDoc/issues/2264). ##### Bug Fixes - Category children are now sorted according to the `sort` option, [#​2272](https://togithub.com/TypeStrong/TypeDoc/issues/2272). - Inline tags no longer require a space after the tag name to be parsed as a tag, [#​2273](https://togithub.com/TypeStrong/TypeDoc/issues/2273). - Fixed module/namespace links in navigation when viewed in Safari, [#​2275](https://togithub.com/TypeStrong/TypeDoc/issues/2275). ### [`v0.24.6`](https://togithub.com/TypeStrong/TypeDoc/blob/HEAD/CHANGELOG.md#v0246-2023-04-24) [Compare Source](https://togithub.com/TypeStrong/TypeDoc/compare/ </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 10am on Saturday" (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. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.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://app.renovatebot.com/dashboard#github/KBot-discord/utilities). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC44NC4yIiwidXBkYXRlZEluVmVyIjoiMzUuNzEuNCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | Type | Update | |---|---|---|---|---|---|---|---| | [@sapphire/discord.js-utilities](https://togithub.com/sapphiredev/utilities/tree/main/packages/discord.js-utilities) ([source](https://togithub.com/sapphiredev/utilities)) | [`6.0.5` -> `6.1.0`](https://renovatebot.com/diffs/npm/@sapphire%2fdiscord.js-utilities/6.0.5/6.1.0) | [![age](https://badges.renovateapi.com/packages/npm/@sapphire%2fdiscord.js-utilities/6.1.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@sapphire%2fdiscord.js-utilities/6.1.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@sapphire%2fdiscord.js-utilities/6.1.0/compatibility-slim/6.0.5)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@sapphire%2fdiscord.js-utilities/6.1.0/confidence-slim/6.0.5)](https://docs.renovatebot.com/merge-confidence/) | dependencies | minor | | [@sapphire/eslint-config](https://togithub.com/sapphiredev/utilities/tree/main/packages/eslint-config) ([source](https://togithub.com/sapphiredev/utilities)) | [`4.4.1` -> `4.4.2`](https://renovatebot.com/diffs/npm/@sapphire%2feslint-config/4.4.1/4.4.2) | [![age](https://badges.renovateapi.com/packages/npm/@sapphire%2feslint-config/4.4.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@sapphire%2feslint-config/4.4.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@sapphire%2feslint-config/4.4.2/compatibility-slim/4.4.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@sapphire%2feslint-config/4.4.2/confidence-slim/4.4.1)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | patch | | [@sapphire/framework](https://www.sapphirejs.dev) ([source](https://togithub.com/sapphiredev/framework)) | [`4.4.0` -> `4.4.3`](https://renovatebot.com/diffs/npm/@sapphire%2fframework/4.4.0/4.4.3) | [![age](https://badges.renovateapi.com/packages/npm/@sapphire%2fframework/4.4.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@sapphire%2fframework/4.4.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@sapphire%2fframework/4.4.3/compatibility-slim/4.4.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@sapphire%2fframework/4.4.3/confidence-slim/4.4.0)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | patch | | [@types/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) | [`18.15.11` -> `18.16.5`](https://renovatebot.com/diffs/npm/@types%2fnode/18.15.11/18.16.5) | [![age](https://badges.renovateapi.com/packages/npm/@types%2fnode/18.16.5/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@types%2fnode/18.16.5/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@types%2fnode/18.16.5/compatibility-slim/18.15.11)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@types%2fnode/18.16.5/confidence-slim/18.15.11)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | minor | | [@typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/typescript-eslint) | [`5.58.0` -> `5.59.2`](https://renovatebot.com/diffs/npm/@typescript-eslint%2feslint-plugin/5.58.0/5.59.2) | [![age](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2feslint-plugin/5.59.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2feslint-plugin/5.59.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2feslint-plugin/5.59.2/compatibility-slim/5.58.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2feslint-plugin/5.59.2/confidence-slim/5.58.0)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | minor | | [@typescript-eslint/parser](https://togithub.com/typescript-eslint/typescript-eslint) | [`5.58.0` -> `5.59.2`](https://renovatebot.com/diffs/npm/@typescript-eslint%2fparser/5.58.0/5.59.2) | [![age](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2fparser/5.59.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2fparser/5.59.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2fparser/5.59.2/compatibility-slim/5.58.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2fparser/5.59.2/confidence-slim/5.58.0)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | minor | | [@vitest/coverage-c8](https://togithub.com/vitest-dev/vitest/tree/main/packages/coverage-c8#readme) ([source](https://togithub.com/vitest-dev/vitest)) | [`^0.30.1` -> `^0.31.0`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-c8/0.30.1/0.31.0) | [![age](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-c8/0.31.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-c8/0.31.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-c8/0.31.0/compatibility-slim/0.30.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-c8/0.31.0/confidence-slim/0.30.1)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | minor | | [discord-api-types](https://discord-api-types.dev) ([source](https://togithub.com/discordjs/discord-api-types)) | [`0.37.38` -> `0.37.41`](https://renovatebot.com/diffs/npm/discord-api-types/0.37.38/0.37.41) | [![age](https://badges.renovateapi.com/packages/npm/discord-api-types/0.37.41/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/discord-api-types/0.37.41/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/discord-api-types/0.37.41/compatibility-slim/0.37.38)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/discord-api-types/0.37.41/confidence-slim/0.37.38)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | patch | | [discord.js](https://discord.js.org) ([source](https://togithub.com/discordjs/discord.js)) | [`14.9.0` -> `14.11.0`](https://renovatebot.com/diffs/npm/discord.js/14.9.0/14.11.0) | [![age](https://badges.renovateapi.com/packages/npm/discord.js/14.11.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/discord.js/14.11.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/discord.js/14.11.0/compatibility-slim/14.9.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/discord.js/14.11.0/confidence-slim/14.9.0)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | minor | | [eslint](https://eslint.org) ([source](https://togithub.com/eslint/eslint)) | [`8.38.0` -> `8.40.0`](https://renovatebot.com/diffs/npm/eslint/8.38.0/8.40.0) | [![age](https://badges.renovateapi.com/packages/npm/eslint/8.40.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/eslint/8.40.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/eslint/8.40.0/compatibility-slim/8.38.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/eslint/8.40.0/confidence-slim/8.38.0)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | minor | | [lint-staged](https://togithub.com/okonet/lint-staged) | [`13.2.1` -> `13.2.2`](https://renovatebot.com/diffs/npm/lint-staged/13.2.1/13.2.2) | [![age](https://badges.renovateapi.com/packages/npm/lint-staged/13.2.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/lint-staged/13.2.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/lint-staged/13.2.2/compatibility-slim/13.2.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/lint-staged/13.2.2/confidence-slim/13.2.1)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | patch | | [prettier](https://prettier.io) ([source](https://togithub.com/prettier/prettier)) | [`2.8.7` -> `2.8.8`](https://renovatebot.com/diffs/npm/prettier/2.8.7/2.8.8) | [![age](https://badges.renovateapi.com/packages/npm/prettier/2.8.8/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/prettier/2.8.8/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/prettier/2.8.8/compatibility-slim/2.8.7)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/prettier/2.8.8/confidence-slim/2.8.7)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | patch | | [thedoctor0/zip-release](https://togithub.com/thedoctor0/zip-release) | `0.6.2` -> `0.7.1` | [![age](https://badges.renovateapi.com/packages/github-tags/thedoctor0%2fzip-release/0.7.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/github-tags/thedoctor0%2fzip-release/0.7.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/github-tags/thedoctor0%2fzip-release/0.7.1/compatibility-slim/0.6.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/github-tags/thedoctor0%2fzip-release/0.7.1/confidence-slim/0.6.2)](https://docs.renovatebot.com/merge-confidence/) | action | minor | | [turbo](https://turbo.build/repo) ([source](https://togithub.com/vercel/turbo)) | [`1.9.1` -> `1.9.3`](https://renovatebot.com/diffs/npm/turbo/1.9.1/1.9.3) | [![age](https://badges.renovateapi.com/packages/npm/turbo/1.9.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/turbo/1.9.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/turbo/1.9.3/compatibility-slim/1.9.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/turbo/1.9.3/confidence-slim/1.9.1)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | patch | | [typedoc](https://typedoc.org) ([source](https://togithub.com/TypeStrong/TypeDoc)) | [`0.24.4` -> `0.24.7`](https://renovatebot.com/diffs/npm/typedoc/0.24.4/0.24.7) | [![age](https://badges.renovateapi.com/packages/npm/typedoc/0.24.7/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/typedoc/0.24.7/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/typedoc/0.24.7/compatibility-slim/0.24.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/typedoc/0.24.7/confidence-slim/0.24.4)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | patch | | [vitest](https://togithub.com/vitest-dev/vitest) | [`^0.30.1` -> `^0.31.0`](https://renovatebot.com/diffs/npm/vitest/0.30.1/0.31.0) | [![age](https://badges.renovateapi.com/packages/npm/vitest/0.31.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/vitest/0.31.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/vitest/0.31.0/compatibility-slim/0.30.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/vitest/0.31.0/confidence-slim/0.30.1)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | minor | | [yarn](https://togithub.com/yarnpkg/berry) | [`3.3.1` -> `3.5.1`](https://renovatebot.com/diffs/npm/yarn/3.3.1/3.5.1) | [![age](https://badges.renovateapi.com/packages/npm/yarn/3.5.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/yarn/3.5.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/yarn/3.5.1/compatibility-slim/3.3.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/yarn/3.5.1/confidence-slim/3.3.1)](https://docs.renovatebot.com/merge-confidence/) | packageManager | minor | --- ### Release Notes <details> <summary>sapphiredev/utilities (@​sapphire/discord.js-utilities)</summary> ### [`v6.1.0`](https://togithub.com/sapphiredev/utilities/blob/HEAD/packages/discord.js-utilities/CHANGELOG.md#sapphirediscordjs-utilities610-httpsgithubcomsapphiredevutilitiescomparesapphirediscordjs-utilities607sapphirediscordjs-utilities610---2023-05-05) [Compare Source](https://togithub.com/sapphiredev/utilities/compare/@sapphire/[email protected]...@sapphire/[email protected]) #### 🚀 Features - **PaginatedMessage:** Add support for all select menus ([#​589](https://togithub.com/sapphiredev/utilities/issues/589)) ([4858486](https://togithub.com/sapphiredev/utilities/commit/4858486714192e8d37cf69f2aeda3002c1bfb9aa)) - **PaginatedMessage:** Add support for per-page actions ([#​587](https://togithub.com/sapphiredev/utilities/issues/587)) ([b917236](https://togithub.com/sapphiredev/utilities/commit/b9172364bc46a0adef2708ff79ad756bc78f6b1d)) - **PaginatedMessage:** Add method to update pages after response ([#​584](https://togithub.com/sapphiredev/utilities/issues/584)) ([db13068](https://togithub.com/sapphiredev/utilities/commit/db130684ff3c1680f736451361eec80686a783e0)) ### [`v6.0.7`](https://togithub.com/sapphiredev/utilities/blob/HEAD/packages/discord.js-utilities/CHANGELOG.md#sapphirediscordjs-utilities607-httpsgithubcomsapphiredevutilitiescomparesapphirediscordjs-utilities606sapphirediscordjs-utilities607---2023-05-02) [Compare Source](https://togithub.com/sapphiredev/utilities/compare/@sapphire/[email protected]...@sapphire/[email protected]) #### 🐛 Bug Fixes - **PaginatedMessage:** Only add options and placeholder to the built-in StringSelectMenu ([#​575](https://togithub.com/sapphiredev/utilities/issues/575)) ([49d588b](https://togithub.com/sapphiredev/utilities/commit/49d588b007754bfae7ffa59be6ec0d1c266447f4)) - **paginatedmessage:** Fix checks for `actionIsButtonOrMenu` ([3f5d500](https://togithub.com/sapphiredev/utilities/commit/3f5d5000701c34328038c8a3e3dede021932a27b)) #### 📝 Documentation - **paginatedmessage:** Fix examples ([c080740](https://togithub.com/sapphiredev/utilities/commit/c080740a6eeb151263827836d76463430624d62a)) ### [`v6.0.6`](https://togithub.com/sapphiredev/utilities/blob/HEAD/packages/discord.js-utilities/CHANGELOG.md#sapphirediscordjs-utilities606-httpsgithubcomsapphiredevutilitiescomparesapphirediscordjs-utilities605sapphirediscordjs-utilities606---2023-04-17) [Compare Source](https://togithub.com/sapphiredev/utilities/compare/@sapphire/[email protected]...@sapphire/[email protected]) #### 🐛 Bug Fixes - **discord.js-utilities:** Add tslib dependency to fix \__exportStar not being defined ([2f6e4e6](https://togithub.com/sapphiredev/utilities/commit/2f6e4e65907bfe768a97b37830a10d5cadd75a1e)) </details> <details> <summary>sapphiredev/utilities (@​sapphire/eslint-config)</summary> ### [`v4.4.2`](https://togithub.com/sapphiredev/utilities/blob/HEAD/packages/eslint-config/CHANGELOG.md#sapphireeslint-config442-httpsgithubcomsapphiredevutilitiescomparesapphireeslint-config441sapphireeslint-config442---2023-05-02) [Compare Source](https://togithub.com/sapphiredev/utilities/compare/@sapphire/[email protected]...@sapphire/[email protected]) #### 🐛 Bug Fixes - **eslint-config:** Update dependencies ([9e508a9](https://togithub.com/sapphiredev/utilities/commit/9e508a90ca39874af15e875fcccfc3817c679599)) </details> <details> <summary>sapphiredev/framework</summary> ### [`v4.4.3`](https://togithub.com/sapphiredev/framework/blob/HEAD/CHANGELOG.md#​443-httpsgithubcomsapphiredevframeworkcomparev442v443---2023-05-02) [Compare Source](https://togithub.com/sapphiredev/framework/compare/v4.4.2...v4.4.3) #### 🐛 Bug Fixes - Update dependencies ([852302e](https://togithub.com/sapphiredev/framework/commit/852302e9ca6144430b8f8c611560af3b5664e15f)) ### [`v4.4.2`](https://togithub.com/sapphiredev/framework/blob/HEAD/CHANGELOG.md#​442-httpsgithubcomsapphiredevframeworkcomparev441v442---2023-04-27) [Compare Source](https://togithub.com/sapphiredev/framework/compare/v4.4.1...v4.4.2) #### 🐛 Bug Fixes - Add missing permission to account for [email protected] ([8c5ce9d](https://togithub.com/sapphiredev/framework/commit/8c5ce9dfafbb7a0a329f6feb7d5e216f1df6cedf)) - **deps:** Update all non-major dependencies ([#​631](https://togithub.com/sapphiredev/framework/issues/631)) ([d9115d2](https://togithub.com/sapphiredev/framework/commit/d9115d266e2782604e82f0b22537771055cb8bb5)) ### [`v4.4.1`](https://togithub.com/sapphiredev/framework/blob/HEAD/CHANGELOG.md#​441-httpsgithubcomsapphiredevframeworkcomparev440v441---2023-04-18) [Compare Source](https://togithub.com/sapphiredev/framework/compare/v4.4.0...v4.4.1) #### 🐛 Bug Fixes - **permissions:** Add missing permission strings ([#​630](https://togithub.com/sapphiredev/framework/issues/630)) ([23645bb](https://togithub.com/sapphiredev/framework/commit/23645bbe527119ab6be3824d2435f2dbb5bf89db)) - **ArgType:** Update `type` for guild\*ThreadChannel ([#​628](https://togithub.com/sapphiredev/framework/issues/628)) ([222d50e](https://togithub.com/sapphiredev/framework/commit/222d50e0459f7769bea660ae9ae5ce412b927cdb)) #### 📝 Documentation - Add code of conduct to the repo ([f4a9897](https://togithub.com/sapphiredev/framework/commit/f4a9897142224b0f8c238667a2d1c1180b844435)) </details> <details> <summary>typescript-eslint/typescript-eslint (@​typescript-eslint/eslint-plugin)</summary> ### [`v5.59.2`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#​5592-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5591v5592-2023-05-01) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.59.1...v5.59.2) **Note:** Version bump only for package [@​typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin) ### [`v5.59.1`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#​5591-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5590v5591-2023-04-24) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.59.0...v5.59.1) ##### Bug Fixes - **eslint-plugin:** \[prefer-regexp-exec] skip malformed regexes ([#​6935](https://togithub.com/typescript-eslint/typescript-eslint/issues/6935)) ([05ed60e](https://togithub.com/typescript-eslint/typescript-eslint/commit/05ed60e25f1de9d1bb83d56c81a349130960bec8)) - **eslint-plugin:** \[unified-signatures] no parameters function ([#​6940](https://togithub.com/typescript-eslint/typescript-eslint/issues/6940)) ([2970861](https://togithub.com/typescript-eslint/typescript-eslint/commit/297086154acc568a0ae8eb41c8977b7a7ba4e0ed)) ### [`v5.59.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#​5590-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5580v5590-2023-04-17) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.58.0...v5.59.0) ##### Bug Fixes - **eslint-plugin:** \[no-unnecessary-condition] allow nullish coalescing for naked type parameter ([#​6910](https://togithub.com/typescript-eslint/typescript-eslint/issues/6910)) ([3e5f858](https://togithub.com/typescript-eslint/typescript-eslint/commit/3e5f8583f1e4fe045c2fe2143d6f280b7381f96b)) ##### Features - **eslint-plugin:** \[ban-types] add NonNullable suggestion and allow custom suggestions ([#​6876](https://togithub.com/typescript-eslint/typescript-eslint/issues/6876)) ([ff65235](https://togithub.com/typescript-eslint/typescript-eslint/commit/ff65235246bb6214fb64f0e0317373ca99f8bcbe)) </details> <details> <summary>typescript-eslint/typescript-eslint (@​typescript-eslint/parser)</summary> ### [`v5.59.2`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#​5592-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5591v5592-2023-05-01) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.59.1...v5.59.2) **Note:** Version bump only for package [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) ### [`v5.59.1`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#​5591-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5590v5591-2023-04-24) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.59.0...v5.59.1) **Note:** Version bump only for package [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) ### [`v5.59.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#​5590-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5580v5590-2023-04-17) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.58.0...v5.59.0) **Note:** Version bump only for package [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) </details> <details> <summary>vitest-dev/vitest</summary> ### [`v0.31.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.31.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.30.1...v0.31.0) ##### 🚨 Breaking Changes - Update mock implementation to support ESM runtime, introduce "vi.hoisted" - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3258](https://togithub.com/vitest-dev/vitest/issues/3258) [<samp>(0c09a)</samp>](https://togithub.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.mocked('./path/to/module.js', () => { return { originalMethod: mockedMethod } }) ``` - Move assertion declarations to expect package - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3294](https://togithub.com/vitest-dev/vitest/issues/3294) [<samp>(cf3af)</samp>](https://togithub.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 - Add repeat method to tests - by [@​samkevin1](https://togithub.com/samkevin1) in [https://github.com/vitest-dev/vitest/issues/2652](https://togithub.com/vitest-dev/vitest/issues/2652) [<samp>(7c8f0)</samp>](https://togithub.com/vitest-dev/vitest/commit/7c8f0ba9) - Add an option to hide skipped test lines - by [@​g4rry420](https://togithub.com/g4rry420) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2745](https://togithub.com/vitest-dev/vitest/issues/2745) [<samp>(9bdb1)</samp>](https://togithub.com/vitest-dev/vitest/commit/9bdb1603) - **coverage**: Watermarks for c8 - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3254](https://togithub.com/vitest-dev/vitest/issues/3254) [<samp>(730af)</samp>](https://togithub.com/vitest-dev/vitest/commit/730af0b4) - **ui**: Add html coverage - by [@​userquin](https://togithub.com/userquin) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3071](https://togithub.com/vitest-dev/vitest/issues/3071) [<samp>(e24cd)</samp>](https://togithub.com/vitest-dev/vitest/commit/e24cd9b2) - **watch**: Test run cancelling, feat: `--bail` option for cancelling test run - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3163](https://togithub.com/vitest-dev/vitest/issues/3163) [<samp>(8d460)</samp>](https://togithub.com/vitest-dev/vitest/commit/8d4606eb) ##### 🐞 Bug Fixes - Don't call global setup teardown twice - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3188](https://togithub.com/vitest-dev/vitest/issues/3188) [<samp>(ba3d1)</samp>](https://togithub.com/vitest-dev/vitest/commit/ba3d1338) - Reporter to log version before provider initalizations - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3131](https://togithub.com/vitest-dev/vitest/issues/3131) [<samp>(481b1)</samp>](https://togithub.com/vitest-dev/vitest/commit/481b1fd2) - Throw an error if Vitest cannot access its internal state - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3250](https://togithub.com/vitest-dev/vitest/issues/3250) [<samp>(fbb14)</samp>](https://togithub.com/vitest-dev/vitest/commit/fbb1468e) - Warning suppression broken - by [@​IceQub3](https://togithub.com/IceQub3) in [https://github.com/vitest-dev/vitest/issues/3270](https://togithub.com/vitest-dev/vitest/issues/3270) and [https://github.com/vitest-dev/vitest/issues/3271](https://togithub.com/vitest-dev/vitest/issues/3271) [<samp>(036de)</samp>](https://togithub.com/vitest-dev/vitest/commit/036de797) - Show correct diff in "toHaveBeenCalledWith" - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3289](https://togithub.com/vitest-dev/vitest/issues/3289) [<samp>(19fcd)</samp>](https://togithub.com/vitest-dev/vitest/commit/19fcd8df) - Don't print esm warning, if package name is not found - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3292](https://togithub.com/vitest-dev/vitest/issues/3292) [<samp>(62c14)</samp>](https://togithub.com/vitest-dev/vitest/commit/62c14cba) - Support exactOptionalPropertyTypes - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3293](https://togithub.com/vitest-dev/vitest/issues/3293) [<samp>(ba81d)</samp>](https://togithub.com/vitest-dev/vitest/commit/ba81d8a3) - Don't inline vite hmr and rollup types - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3291](https://togithub.com/vitest-dev/vitest/issues/3291) [<samp>(1f118)</samp>](https://togithub.com/vitest-dev/vitest/commit/1f1189bc) - **browser**: - Failing to load vitest/utils - by [@​userquin](https://togithub.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3190](https://togithub.com/vitest-dev/vitest/issues/3190) [<samp>(78bad)</samp>](https://togithub.com/vitest-dev/vitest/commit/78bad4ab) - **coverage**: - `thresholdAutoUpdate` to work with `perFile` - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3182](https://togithub.com/vitest-dev/vitest/issues/3182) [<samp>(29eeb)</samp>](https://togithub.com/vitest-dev/vitest/commit/29eebf65) - Throw error if fail to load built-in provider - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3217](https://togithub.com/vitest-dev/vitest/issues/3217) [<samp>(0a287)</samp>](https://togithub.com/vitest-dev/vitest/commit/0a2875e3) - Stackblitz hangs with c8 - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3225](https://togithub.com/vitest-dev/vitest/issues/3225) [<samp>(d9fda)</samp>](https://togithub.com/vitest-dev/vitest/commit/d9fda2a1) - C8 to ignore vite's generated helpers - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3241](https://togithub.com/vitest-dev/vitest/issues/3241) [<samp>(21942)</samp>](https://togithub.com/vitest-dev/vitest/commit/21942db0) - Workspaces c8 source maps - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3226](https://togithub.com/vitest-dev/vitest/issues/3226) [<samp>(efce3)</samp>](https://togithub.com/vitest-dev/vitest/commit/efce3b4d) - **docs**: - Correct typo and broken link to WebdriverIO - by [@​nathanbabcock](https://togithub.com/nathanbabcock) in [https://github.com/vitest-dev/vitest/issues/3275](https://togithub.com/vitest-dev/vitest/issues/3275) [<samp>(c7da1)</samp>](https://togithub.com/vitest-dev/vitest/commit/c7da155f) - **spy**: - Update to set initial implementation through normal logic - by [@​Codex-](https://togithub.com/Codex-) in [https://github.com/vitest-dev/vitest/issues/3260](https://togithub.com/vitest-dev/vitest/issues/3260) and [https://github.com/vitest-dev/vitest/issues/3263](https://togithub.com/vitest-dev/vitest/issues/3263) [<samp>(c759a)</samp>](https://togithub.com/vitest-dev/vitest/commit/c759a9aa) - **vite-node**: - Circular imports - by [@​antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/3196](https://togithub.com/vitest-dev/vitest/issues/3196) [<samp>(cbb59)</samp>](https://togithub.com/vitest-dev/vitest/commit/cbb593a8) - Add missing `import.meta.hot.send` mock - by [@​antfu](https://togithub.com/antfu) [<samp>(b1624)</samp>](https://togithub.com/vitest-dev/vitest/commit/b1624db5) - **vitest**: - Also check for vite relative to vitest package - by [@​JoshuaKGoldberg](https://togithub.com/JoshuaKGoldberg) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3274](https://togithub.com/vitest-dev/vitest/issues/3274) [<samp>(a3393)</samp>](https://togithub.com/vitest-dev/vitest/commit/a3393b15) - **watch**: - Run test files when added to filesystem - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3189](https://togithub.com/vitest-dev/vitest/issues/3189) [<samp>(7b2c8)</samp>](https://togithub.com/vitest-dev/vitest/commit/7b2c81bc) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.30.1...v0.31.0) </details> <details> <summary>discordjs/discord-api-types</summary> ### [`v0.37.41`](https://togithub.com/discordjs/discord-api-types/blob/HEAD/CHANGELOG.md#​03741-httpsgithubcomdiscordjsdiscord-api-typescompare0374003741-2023-05-01) [Compare Source](https://togithub.com/discordjs/discord-api-types/compare/0.37.40...0.37.41) ##### Bug Fixes - **GatewayGuildMembersChunkDispatchData:** Omit `guild_id` for presences ([#​761](https://togithub.com/discordjs/discord-api-types/issues/761)) ([5079b16](https://togithub.com/discordjs/discord-api-types/commit/5079b164db3ac3bda25675a553a586f099555667)) - **types:** move `types` condition to the front ([#​763](https://togithub.com/discordjs/discord-api-types/issues/763)) ([9dce6ed](https://togithub.com/discordjs/discord-api-types/commit/9dce6ed392b64e602c3cc05946bc0f30bac7279e)) ### [`v0.37.40`](https://togithub.com/discordjs/discord-api-types/blob/HEAD/CHANGELOG.md#​03740-httpsgithubcomdiscordjsdiscord-api-typescompare0373903740-2023-04-24) [Compare Source](https://togithub.com/discordjs/discord-api-types/compare/0.37.39...0.37.40) ##### Features - add support for voice messages ([#​749](https://togithub.com/discordjs/discord-api-types/issues/749)) ([3dac5b9](https://togithub.com/discordjs/discord-api-types/commit/3dac5b93e7568ba2fbd3bc30d229d2df80f96eed)) ### [`v0.37.39`](https://togithub.com/discordjs/discord-api-types/blob/HEAD/CHANGELOG.md#​03739-httpsgithubcomdiscordjsdiscord-api-typescompare0373803739-2023-04-17) [Compare Source](https://togithub.com/discordjs/discord-api-types/compare/0.37.38...0.37.39) ##### Bug Fixes - **RESTPostAPIChannelMessagesThreadsJSONBody:** mark `auto_archive_duration` as optional ([ca6a95d](https://togithub.com/discordjs/discord-api-types/commit/ca6a95d69c7b93f564f10cce422faf5ea4133be7)) ##### Features - **APIGuild:** add `max_stage_video_channel_users` ([#​550](https://togithub.com/discordjs/discord-api-types/issues/550)) ([9a66d21](https://togithub.com/discordjs/discord-api-types/commit/9a66d21f4913c63ed7c192cf9340febe603bf516)) </details> <details> <summary>discordjs/discord.js</summary> ### [`v14.11.0`](https://togithub.com/discordjs/discord.js/blob/HEAD/packages/discord.js/CHANGELOG.md#​14110-httpsgithubcomdiscordjsdiscordjscompare1410214110---2023-05-06) [Compare Source](https://togithub.com/discordjs/discord.js/compare/14.10.2...14.11.0) #### Bug Fixes - **WebSocketManager:** Properly emit shard error events ([#​9521](https://togithub.com/discordjs/discord.js/issues/9521)) ([e627468](https://togithub.com/discordjs/discord.js/commit/e6274681fd10b0d75e1d3b448c94b50ec6810367)) - **WebSocketManager:** Emit raw ws events again ([#​9502](https://togithub.com/discordjs/discord.js/issues/9502)) ([c429763](https://togithub.com/discordjs/discord.js/commit/c429763be8e94f0f0cbc630e8bb1d415d46f1465)) #### Documentation - **Client:** Update Sapphire's snowflake utility links ([#​9501](https://togithub.com/discordjs/discord.js/issues/9501)) ([1b7981e](https://togithub.com/discordjs/discord.js/commit/1b7981e4696b8ae74ceffa876fc0a9be7d0b9f93)) #### Features - **Guild:** Safety alerts channel and mention raid protection ([#​8959](https://togithub.com/discordjs/discord.js/issues/8959)) ([6b2c3fb](https://togithub.com/discordjs/discord.js/commit/6b2c3fb9d0571de808e990cf064f73240ab93451)) #### Performance - **Role:** Linear speed position getter ([#​9493](https://togithub.com/discordjs/discord.js/issues/9493)) ([8e9a2b4](https://togithub.com/discordjs/discord.js/commit/8e9a2b4630f78bb9e45345ec2a16812bfac70a20)) #### Refactor - **GuildChannel:** Simplify constructor ([#​9499](https://togithub.com/discordjs/discord.js/issues/9499)) ([f2ad076](https://togithub.com/discordjs/discord.js/commit/f2ad0762c521422ab64e5b10344a6fd67961031b)) #### Typings - **StringSelectMenuComponentData:** `options` is required ([#​9515](https://togithub.com/discordjs/discord.js/issues/9515)) ([d7b18f0](https://togithub.com/discordjs/discord.js/commit/d7b18f0681d4147ff192c98108c035d6d0f96cce)) ### [`v14.10.2`](https://togithub.com/discordjs/discord.js/blob/HEAD/packages/discord.js/CHANGELOG.md#​14102-httpsgithubcomdiscordjsdiscordjscompare1410114102---2023-05-01) [Compare Source](https://togithub.com/discordjs/discord.js/compare/14.10.1...14.10.2) #### Bug Fixes - Correct `isJSONEncodable()` import ([#​9495](https://togithub.com/discordjs/discord.js/issues/9495)) ([201b002](https://togithub.com/discordjs/discord.js/commit/201b002ad405b845ace5f708077c1f157bb4126d)) - **Client:** `generateInvite()` scope validation ([#​9492](https://togithub.com/discordjs/discord.js/issues/9492)) ([b327f49](https://togithub.com/discordjs/discord.js/commit/b327f4925ff557e0aa8273d7f017aa616226ca06)) ### [`v14.10.1`](https://togithub.com/discordjs/discord.js/blob/HEAD/packages/discord.js/CHANGELOG.md#​14101-httpsgithubcomdiscordjsdiscordjscompare1410014101---2023-05-01) [Compare Source](https://togithub.com/discordjs/discord.js/compare/14.10.0...14.10.1) #### Bug Fixes - **Client:** Spelling of InvalidScopesWithPermissions ([ac9bf3a](https://togithub.com/discordjs/discord.js/commit/ac9bf3ac06ec78dbaca2ce4a82cceb0d82484211)) #### Refactor - **ShardClientUtil:** Logic de-duplication ([#​9491](https://togithub.com/discordjs/discord.js/issues/9491)) ([a9f2bff](https://togithub.com/discordjs/discord.js/commit/a9f2bff82a18c6a3afdee99e5830e1d7b4da65dc)) ### [`v14.10.0`](https://togithub.com/discordjs/discord.js/blob/HEAD/packages/discord.js/CHANGELOG.md#​14100-httpsgithubcomdiscordjsdiscordjscompare149014100---2023-05-01) [Compare Source](https://togithub.com/discordjs/discord.js/compare/14.9.0...14.10.0) #### Bug Fixes - **ShardClientUtil:** Fix client event names ([#​9474](https://togithub.com/discordjs/discord.js/issues/9474)) ([ad217cc](https://togithub.com/discordjs/discord.js/commit/ad217cc7604dda6a33df73db82799fd5bb4e85a9)) - **BaseClient:** Prevent user agent mutation ([#​9425](https://togithub.com/discordjs/discord.js/issues/9425)) ([217e5d8](https://togithub.com/discordjs/discord.js/commit/217e5d81005a2506c96335f7fb96fa21d7dbb04c)) - **BitField:** Use only enum names in iterating ([#​9357](https://togithub.com/discordjs/discord.js/issues/9357)) ([40d07fb](https://togithub.com/discordjs/discord.js/commit/40d07fbbbd51d62793d9ea541f41f157b5dad224)) - Use new permission name ([#​9274](https://togithub.com/discordjs/discord.js/issues/9274)) ([d2d27ce](https://togithub.com/discordjs/discord.js/commit/d2d27ce7346bc37b34938c84bd3b106a4fa51f53)) - **Message#editable:** Fix permissions check in locked threads ([#​9319](https://togithub.com/discordjs/discord.js/issues/9319)) ([d4c1fec](https://togithub.com/discordjs/discord.js/commit/d4c1fecbe264bc52a70aaf0ec303d35e2f15bbcd)) - Fix external links ([#​9313](https://togithub.com/discordjs/discord.js/issues/9313)) ([a7425c2](https://togithub.com/discordjs/discord.js/commit/a7425c29c4f23f1b31f4c6a463107ca9eb7fd7e2)) #### Documentation - **AutoModerationRule:** Update docs ([#​9464](https://togithub.com/discordjs/discord.js/issues/9464)) ([1b15d31](https://togithub.com/discordjs/discord.js/commit/1b15d31b5ae1b1739716fab00b18083c1d7d389a)) - **APITypes:** Document role & user select menu components ([#​9435](https://togithub.com/discordjs/discord.js/issues/9435)) ([c6ca5a8](https://togithub.com/discordjs/discord.js/commit/c6ca5a83e7b72613f95c2145606a1330f64ae894)) - **BaseMessageOptions:** Fix embeds and components ([#​9437](https://togithub.com/discordjs/discord.js/issues/9437)) ([5c52bb9](https://togithub.com/discordjs/discord.js/commit/5c52bb95906250518a8813820d543f43dd7abdf9)) - **InteractionResponses:** ShowModal docs change ([#​9434](https://togithub.com/discordjs/discord.js/issues/9434)) ([7d34100](https://togithub.com/discordjs/discord.js/commit/7d341000d44b762a2fe0434a6b518f7d63539d34)) - Use ESM code in examples ([#​9427](https://togithub.com/discordjs/discord.js/issues/9427)) ([ce287f2](https://togithub.com/discordjs/discord.js/commit/ce287f21d1540da7f17cac8a57dc33a67f391ef3)) - Generate static imports for types with api-extractor ([98a76db](https://togithub.com/discordjs/discord.js/commit/98a76db482879f79d6bb2fb2e5fc65ac2c34e2d9)) - **Options:** Fix links and invalid syntax ([#​9322](https://togithub.com/discordjs/discord.js/issues/9322)) ([86e5f5a](https://togithub.com/discordjs/discord.js/commit/86e5f5a119c6d2588b988a33236d358ded357847)) - Cleanup MessageCreateOptions and MessageReplyOptions ([#​9283](https://togithub.com/discordjs/discord.js/issues/9283)) ([300059c](https://togithub.com/discordjs/discord.js/commit/300059cb266e6cca42c30ee7f997c48ab2cc565e)) - **Events:** Document auto moderation events ([#​9342](https://togithub.com/discordjs/discord.js/issues/9342)) ([79bcdfa](https://togithub.com/discordjs/discord.js/commit/79bcdfa767e7e842164e1174b6f4834ed731d329)) - Add `SnowflakeUtil` ([#​9371](https://togithub.com/discordjs/discord.js/issues/9371)) ([8ffcf77](https://togithub.com/discordjs/discord.js/commit/8ffcf77840b62590fcb4731380d28b22d0b98741)) - Use stable tag ([#​9343](https://togithub.com/discordjs/discord.js/issues/9343)) ([c0f2dd7](https://togithub.com/discordjs/discord.js/commit/c0f2dd713151a29c98e1eebad66721a208be1fc0)) - Remove `JSONEncondable` ([#​9344](https://togithub.com/discordjs/discord.js/issues/9344)) ([b2eec5f](https://togithub.com/discordjs/discord.js/commit/b2eec5f9fcf37ebb3b7f87a67a6ee3160c182183)) #### Features - **Attachment:** Voice messages ([#​9392](https://togithub.com/discordjs/discord.js/issues/9392)) ([3e01f91](https://togithub.com/discordjs/discord.js/commit/3e01f91bbba2cbacacc6c921ed664752f679960b)) - **BaseInteraction:** Support new channel payload ([#​9337](https://togithub.com/discordjs/discord.js/issues/9337)) ([29389e3](https://togithub.com/discordjs/discord.js/commit/29389e39f479b832e54c7cb3ddd363aebe99674f)) - **RoleTagData:** Add guildConnections ([#​9366](https://togithub.com/discordjs/discord.js/issues/9366)) ([2dddbe1](https://togithub.com/discordjs/discord.js/commit/2dddbe1f321f2e2722dba4a28f7d18384cf50353)) #### Performance - **RoleManager:** Dont call Role#position getter twice per role ([#​9352](https://togithub.com/discordjs/discord.js/issues/9352)) ([bfee6c8](https://togithub.com/discordjs/discord.js/commit/bfee6c8d889502ea39ad919dd9b1e6253a2af571)) #### Refactor - **WebSocketManager:** Use /ws package internally ([#​9099](https://togithub.com/discordjs/discord.js/issues/9099)) ([a9e0de4](https://togithub.com/discordjs/discord.js/commit/a9e0de4288ea39a6a089b8379dcd44ac0053dac7)) - Remove `fromInteraction` in internal channel creation ([#​9335](https://togithub.com/discordjs/discord.js/issues/9335)) ([794abe8](https://togithub.com/discordjs/discord.js/commit/794abe8450bae000cd0544922cdf53e7b3e4c59c)) #### Typings - **AutoModerationActionMetadataOptions:** Make channel property optional ([#​9460](https://togithub.com/discordjs/discord.js/issues/9460)) ([d26df5f](https://togithub.com/discordjs/discord.js/commit/d26df5fabaf227fb9d10ba5cc1ab326de55aadbc)) - **CategoryChannel:** Ensure `parent` and `parentId` are `null` ([#​9327](https://togithub.com/discordjs/discord.js/issues/9327)) ([8218ffc](https://togithub.com/discordjs/discord.js/commit/8218ffc78d23234b32c05a97fde2f4bea64d7aa6)) - **GuildTextBasedChannel:** Remove unnecessary exclusion of forum channels ([#​9326](https://togithub.com/discordjs/discord.js/issues/9326)) ([7ff3d52](https://togithub.com/discordjs/discord.js/commit/7ff3d528d942a0daa990194915ff8328dec99149)) </details> <details> <summary>eslint/eslint</summary> ### [`v8.40.0`](https://togithub.com/eslint/eslint/releases/tag/v8.40.0) [Compare Source](https://togithub.com/eslint/eslint/compare/v8.39.0...v8.40.0) #### Features - [`5db7808`](https://togithub.com/eslint/eslint/commit/5db7808139c1f2172797285a0700f01644bda254) feat: improve flat config errors for invalid rule options and severities ([#​17140](https://togithub.com/eslint/eslint/issues/17140)) (Josh Goldberg ✨) - [`f5574dc`](https://togithub.com/eslint/eslint/commit/f5574dc739fcc74a7841217ba1f31cce02bee1ff) feat: Add findConfigFile() method to FlatESLint ([#​17142](https://togithub.com/eslint/eslint/issues/17142)) (Nicholas C. Zakas) - [`e52b98b`](https://togithub.com/eslint/eslint/commit/e52b98bf25d882da4efd5559ce5974b6697cf701) feat: add `sourceCode` property to the rule context ([#​17107](https://togithub.com/eslint/eslint/issues/17107)) (Nitin Kumar) - [`1468f5b`](https://togithub.com/eslint/eslint/commit/1468f5b640cfa6fdd8a5ec895337f692def2780b) feat: add `physicalFilename` property to the rule context ([#​17111](https://togithub.com/eslint/eslint/issues/17111)) (Nitin Kumar) - [`0df4d4f`](https://togithub.com/eslint/eslint/commit/0df4d4f658c214e51310a986c03d44d34ceae3ec) feat: add `cwd` to rule context ([#​17106](https://togithub.com/eslint/eslint/issues/17106)) (Nitin Kumar) - [`52018f2`](https://togithub.com/eslint/eslint/commit/52018f21c19b3e461cae32843cddd17ed42f19cd) feat: add `filename` property to the rule context ([#​17108](https://togithub.com/eslint/eslint/issues/17108)) (Nitin Kumar) - [`559ff4e`](https://togithub.com/eslint/eslint/commit/559ff4e4bc54a8b6e6b54825d83c532d724204b3) feat: add new `omitLastInOneLineClassBody` option to the `semi` rule ([#​17105](https://togithub.com/eslint/eslint/issues/17105)) (Nitin Kumar) #### Bug Fixes - [`f076e54`](https://togithub.com/eslint/eslint/commit/f076e54ecdb0fae70d9b43ad6888606097beef97) fix: Ensure FlatESLint#findConfigFile() doesn't throw. ([#​17151](https://togithub.com/eslint/eslint/issues/17151)) (Nicholas C. Zakas) #### Documentation - [`e980bf3`](https://togithub.com/eslint/eslint/commit/e980bf38cf441f2eb29c458b93df77dc0111b391) docs: Update README (GitHub Actions Bot) - [`e92a6fc`](https://togithub.com/eslint/eslint/commit/e92a6fc7ed2a427f5e95f4b3a1c21d71553c97ee) docs: Update README (GitHub Actions Bot) - [`af5fe64`](https://togithub.com/eslint/eslint/commit/af5fe64c398c9bd4206c3c6c1ade81768b291031) docs: Fix custom rule schema docs ([#​17115](https://togithub.com/eslint/eslint/issues/17115)) (Adam Jones) - [`4a352a9`](https://togithub.com/eslint/eslint/commit/4a352a957ba9e721bec9f6f403b419a22b0ec423) docs: explain how to include predefined globals ([#​17114](https://togithub.com/eslint/eslint/issues/17114)) (Marcus Wyatt) - [`5ea15d9`](https://togithub.com/eslint/eslint/commit/5ea15d92ee358e8f3f652c94c019cac96aaec651) docs: add mastodon link in readme ([#​17110](https://togithub.com/eslint/eslint/issues/17110)) (唯然) #### Chores - [`4053004`](https://togithub.com/eslint/eslint/commit/4053004c951813473d1c43f9f9959a9a3484242f) chore: upgrade [@​eslint/js](https://togithub.com/eslint/js)[@​8](https://togithub.com/8).40.0 ([#​17156](https://togithub.com/eslint/eslint/issues/17156)) (Milos Djermanovic) - [`50fed1d`](https://togithub.com/eslint/eslint/commit/50fed1da4449ad7ecbb558294438273cfce603d4) chore: package.json update for [@​eslint/js](https://togithub.com/eslint/js) release (ESLint Jenkins) - [`4c7a170`](https://togithub.com/eslint/eslint/commit/4c7a170b04c5a746e401bef7ce79766ff66a1168) chore: upgrade [@​eslint/eslintrc](https://togithub.com/eslint/eslintrc)[@​2](https://togithub.com/2).0.3 ([#​17155](https://togithub.com/eslint/eslint/issues/17155)) (Milos Djermanovic) - [`e80b7cc`](https://togithub.com/eslint/eslint/commit/e80b7cce640b60c00802148dbb51d03c7223afa9) chore: upgrade [email protected] ([#​17154](https://togithub.com/eslint/eslint/issues/17154)) (Milos Djermanovic) - [`ce3ac91`](https://togithub.com/eslint/eslint/commit/ce3ac91b510576e2afba1657aa5f09e162b4ab07) chore: upgrade [email protected] ([#​17153](https://togithub.com/eslint/eslint/issues/17153)) (Milos Djermanovic) - [`9094d79`](https://togithub.com/eslint/eslint/commit/9094d79fb42c0ebb6100426a3f2f851e8d42a0ee) chore: add `latest/` to `meta.docs.url` in all core rules ([#​17136](https://togithub.com/eslint/eslint/issues/17136)) (Milos Djermanovic) - [`d85efad`](https://togithub.com/eslint/eslint/commit/d85efad655deacc0dc3fdbbace33307094c3b91b) perf: don't use `grapheme-splitter` on ASCII strings in key-spacing rule ([#​17122](https://togithub.com/eslint/eslint/issues/17122)) (Milos Djermanovic) ### [`v8.39.0`](https://togithub.com/eslint/eslint/releases/tag/v8.39.0) [Compare Source](https://togithub.com/eslint/eslint/compare/v8.38.0...v8.39.0) #### Features - [`3f7af9f`](https://togithub.com/eslint/eslint/commit/3f7af9f408625dbc486af914706d34c4b483b5ba) feat: Implement `SourceCode#markVariableAsUsed()` ([#​17086](https://togithub.com/eslint/eslint/issues/17086)) (Nicholas C. Zakas) #### Documentation - [`6987dc5`](https://togithub.com/eslint/eslint/commit/6987dc59e46f4e345d0d6c20c1f2c6846bbd7acc) docs: Fix formatting in Custom Rules docs ([#​17097](https://togithub.com/eslint/eslint/issues/17097)) (Milos Djermanovic) - [`4ee92e5`](https://togithub.com/eslint/eslint/commit/4ee92e5cbdeba6fea2147901ce926de16946958a) docs: Update README (GitHub Actions Bot) - [`d8e9887`](https://togithub.com/eslint/eslint/commit/d8e9887c2c384d24d586d08ee9ae2ada79bd234c) docs: Custom Rules cleanup/expansion ([#​16906](https://togithub.com/eslint/eslint/issues/16906)) (Ben Perlmutter) - [`1fea279`](https://togithub.com/eslint/eslint/commit/1fea2797801a82a2718814c83dad641dab092bcc) docs: Clarify how to add to tsc agenda ([#​17084](https://togithub.com/eslint/eslint/issues/17084)) (Nicholas C. Zakas) - [`970ef1c`](https://togithub.com/eslint/eslint/commit/970ef1c868235a58297682513842f1256cdfbd03) docs: Update triage board location (Nicholas C. Zakas) - [`6d8bffd`](https://togithub.com/eslint/eslint/commit/6d8bffdf45d50e272dc45e6d2d05b4a737514468) docs: Update README (GitHub Actions Bot) #### Chores - [`60a6f26`](https://togithub.com/eslint/eslint/commit/60a6f2694deb4aa1c54de2a28d0357cddfd16644) chore: upgrade [@​eslint/js](https://togithub.com/eslint/js)[@​8](https://togithub.com/8).39.0 ([#​17102](https://togithub.com/eslint/eslint/issues/17102)) (Milos Djermanovic) - [`d5ba5c0`](https://togithub.com/eslint/eslint/commit/d5ba5c0a85e7a10777761f5d46c104ab7f25845b) chore: package.json update for [@​eslint/js](https://togithub.com/eslint/js) release (ESLint Jenkins) - [`f57eff2`](https://togithub.com/eslint/eslint/commit/f57eff20f5789408e95061f1af5354bb9b4f4784) ci: run tests on Node.js v20 ([#​17093](https://togithub.com/eslint/eslint/issues/17093)) (Nitin Kumar) - [`9d1b8fc`](https://togithub.com/eslint/eslint/commit/9d1b8fc60cc31f12618e58c10a2669506b7ce9bf) perf: Binary search in token store `utils.search` ([#​17066](https://togithub.com/eslint/eslint/issues/17066)) (Francesco Trotta) - [`07a4435`](https://togithub.com/eslint/eslint/commit/07a4435a0c08cb63ebf11b71f735bac20318829b) chore: Add request for minimal repro to bug report ([#​17081](https://togithub.com/eslint/eslint/issues/17081)) (Nicholas C. Zakas) - [`eac4943`](https://togithub.com/eslint/eslint/commit/eac4943ba2e4edb3dbfea0470e5d4b15a4926c40) refactor: remove unnecessary use of `SourceCode#getAncestors` in rules ([#​17075](https://togithub.com/eslint/eslint/issues/17075)) (Milos Djermanovic) - [`0a7b60a`](https://togithub.com/eslint/eslint/commit/0a7b60a9d5621dbbc1a8a8adda3b7c2060c779ca) chore: update description of `SourceCode#getDeclaredVariables` ([#​17072](https://togithub.com/eslint/eslint/issues/17072)) (Milos Djermanovic) - [`6e2df71`](https://togithub.com/eslint/eslint/commit/6e2df71cc390252aaca212abe3dc0467fe397450) chore: remove unnecessary references to the LICENSE file ([#​17071](https://togithub.com/eslint/eslint/issues/17071)) (Milos Djermanovic) </details> <details> <summary>okonet/lint-staged</summary> ### [`v13.2.2`](https://togithub.com/okonet/lint-staged/releases/tag/v13.2.2) [Compare Source](https://togithub.com/okonet/lint-staged/compare/v13.2.1...v13.2.2) ##### Bug Fixes - **dependencies:** update `[email protected]` (GHSA-f9xv-q969-pqx4) ([#​1290](https://togithub.com/okonet/lint-staged/issues/1290)) ([cf691aa](https://togithub.com/okonet/lint-staged/commit/cf691aa188719d9479ceaeffbffe814594fdb65f)) </details> <details> <summary>prettier/prettier</summary> ### [`v2.8.8`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#​288) [Compare Source](https://togithub.com/prettier/prettier/compare/2.8.7...2.8.8) This version is a republished version of v2.8.7. A bad version was accidentally published and [it can't be unpublished](https://togithub.com/npm/cli/issues/1686), apologies for the churn. </details> <details> <summary>thedoctor0/zip-release</summary> ### [`v0.7.1`](https://togithub.com/TheDoctor0/zip-release/releases/tag/0.7.1) [Compare Source](https://togithub.com/thedoctor0/zip-release/compare/0.7.0...0.7.1) - Allow `tar.gz` usage as `type` for the convenience in job matrix ([#​38](https://togithub.com/thedoctor0/zip-release/issues/38)) ### [`v0.7.0`](https://togithub.com/TheDoctor0/zip-release/releases/tag/0.7.0) [Compare Source](https://togithub.com/thedoctor0/zip-release/compare/0.6.3...0.7.0) - Add support for custom command parameters (see [custom](https://togithub.com/TheDoctor0/zip-release#custom) parameter) ### [`v0.6.3`](https://togithub.com/TheDoctor0/zip-release/releases/tag/0.6.3) [Compare Source](https://togithub.com/thedoctor0/zip-release/compare/0.6.2...0.6.3) - Handle multiple exclusions with tar ([#​33](https://togithub.com/thedoctor0/zip-release/issues/33)) </details> <details> <summary>vercel/turbo</summary> ### [`v1.9.3`](https://togithub.com/vercel/turbo/releases/tag/v1.9.3): Turborepo v1.9.3 [Compare Source](https://togithub.com/vercel/turbo/compare/v1.9.2...v1.9.3) <!-- Release notes generated using configuration in .github/turborepo-release.yml at v1.9.3 --> #### What's Changed ##### Changelog - Revert "fix(turborepo): SCM tests and renaming ([#​4462](https://togithub.com/vercel/turbo/issues/4462))" by [@​NicholasLYang](https://togithub.com/NicholasLYang) in [https://github.com/vercel/turbo/pull/4604](https://togithub.com/vercel/turbo/pull/4604) **Full Changelog**: https://github.com/vercel/turbo/compare/v1.9.2...v1.9.3 ### [`v1.9.2`](https://togithub.com/vercel/turbo/releases/tag/v1.9.2): Turborepo v1.9.2 [Compare Source](https://togithub.com/vercel/turbo/compare/v1.9.1...v1.9.2) <!-- Release notes generated using configuration in .github/turborepo-release.yml at v1.9.2 --> #### What's Changed ##### Changelog - chore: Fix spelling by [@​NicholasLYang](https://togithub.com/NicholasLYang) in [https://github.com/vercel/turbo/pull/4552](https://togithub.com/vercel/turbo/pull/4552) - Include TimeSaved metric in Run Summaries by [@​mehulkar](https://togithub.com/mehulkar) in [https://github.com/vercel/turbo/pull/4539](https://togithub.com/vercel/turbo/pull/4539) - docs: add missing comma in `turbo.json` by [@​BRKalow](https://togithub.com/BRKalow) in [https://github.com/vercel/turbo/pull/4557](https://togithub.com/vercel/turbo/pull/4557) - Delete a test fixture we don't need by [@​mehulkar](https://togithub.com/mehulkar) in [https://github.com/vercel/turbo/pull/4558](https://togithub.com/vercel/turbo/pull/4558) - fix(create-turbo): correct package manager selection by [@​tknickman](https://togithub.com/tknickman) in [https://github.com/vercel/turbo/pull/4574](https://togithub.com/vercel/turbo/pull/4574) - Print Run URL if there is one by [@​mehulkar](https://togithub.com/mehulkar) in [https://github.com/vercel/turbo/pull/4562](https://togithub.com/vercel/turbo/pull/4562) - fix(create-turbo): prompt fix by [@​tknickman](https://togithub.com/tknickman) in [https://github.com/vercel/turbo/pull/4586](https://togithub.com/vercel/turbo/pull/4586) - fix: better support for pnpm aliases by [@​chris-olszewski](https://togithub.com/chris-olszewski) in [https://github.com/vercel/turbo/pull/4555](https://togithub.com/vercel/turbo/pull/4555) - Make find_up use os.ReadDir by [@​nathanhammond](https://togithub.com/nathanhammond) in [https://github.com/vercel/turbo/pull/4599](https://togithub.com/vercel/turbo/pull/4599) - fix(turbo-utils): package manager available by [@​tknickman](https://togithub.com/tknickman) in [https://github.com/vercel/turbo/pull/4603](https://togithub.com/vercel/turbo/pull/4603) #### New Contributors - [@​BRKalow](https://togithub.com/BRKalow) made their first contribution in [https://github.com/vercel/turbo/pull/4557](https://togithub.com/vercel/turbo/pull/4557) **Full Changelog**: https://github.com/vercel/turbo/compare/v1.9.1...v1.9.2 </details> <details> <summary>TypeStrong/TypeDoc</summary> ### [`v0.24.7`](https://togithub.com/TypeStrong/TypeDoc/blob/HEAD/CHANGELOG.md#v0247-2023-05-08) [Compare Source](https://togithub.com/TypeStrong/TypeDoc/compare/v0.24.6...v0.24.7) ##### Features - TypeDoc will now allow conversion without any entry points to support "readme only" packages, [#​2264](https://togithub.com/TypeStrong/TypeDoc/issues/2264). ##### Bug Fixes - Category children are now sorted according to the `sort` option, [#​2272](https://togithub.com/TypeStrong/TypeDoc/issues/2272). - Inline tags no longer require a space after the tag name to be parsed as a tag, [#​2273](https://togithub.com/TypeStrong/TypeDoc/issues/2273). - Fixed module/namespace links in navigation when viewed in Safari, [#​2275](https://togithub.com/TypeStrong/TypeDoc/issues/2275). ### [`v0.24.6`](https://togithub.com/TypeStrong/TypeDoc/blob/HEAD/CHANGELOG.md#v0246-2023-04-24) [Compare Source](https://togithub.com/TypeStrong/TypeDoc/compare/ </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 10am on Saturday" (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. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.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://app.renovatebot.com/dashboard#github/KBot-discord/utilities). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC44NC4yIiwidXBkYXRlZEluVmVyIjoiMzUuNzEuNCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | Type | Update | |---|---|---|---|---|---|---|---| | [@sapphire/discord.js-utilities](https://togithub.com/sapphiredev/utilities/tree/main/packages/discord.js-utilities) ([source](https://togithub.com/sapphiredev/utilities)) | [`6.0.5` -> `6.1.0`](https://renovatebot.com/diffs/npm/@sapphire%2fdiscord.js-utilities/6.0.5/6.1.0) | [![age](https://badges.renovateapi.com/packages/npm/@sapphire%2fdiscord.js-utilities/6.1.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@sapphire%2fdiscord.js-utilities/6.1.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@sapphire%2fdiscord.js-utilities/6.1.0/compatibility-slim/6.0.5)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@sapphire%2fdiscord.js-utilities/6.1.0/confidence-slim/6.0.5)](https://docs.renovatebot.com/merge-confidence/) | dependencies | minor | | [@sapphire/eslint-config](https://togithub.com/sapphiredev/utilities/tree/main/packages/eslint-config) ([source](https://togithub.com/sapphiredev/utilities)) | [`4.4.1` -> `4.4.2`](https://renovatebot.com/diffs/npm/@sapphire%2feslint-config/4.4.1/4.4.2) | [![age](https://badges.renovateapi.com/packages/npm/@sapphire%2feslint-config/4.4.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@sapphire%2feslint-config/4.4.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@sapphire%2feslint-config/4.4.2/compatibility-slim/4.4.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@sapphire%2feslint-config/4.4.2/confidence-slim/4.4.1)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | patch | | [@sapphire/framework](https://www.sapphirejs.dev) ([source](https://togithub.com/sapphiredev/framework)) | [`4.4.0` -> `4.4.3`](https://renovatebot.com/diffs/npm/@sapphire%2fframework/4.4.0/4.4.3) | [![age](https://badges.renovateapi.com/packages/npm/@sapphire%2fframework/4.4.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@sapphire%2fframework/4.4.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@sapphire%2fframework/4.4.3/compatibility-slim/4.4.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@sapphire%2fframework/4.4.3/confidence-slim/4.4.0)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | patch | | [@types/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) | [`18.15.11` -> `18.16.5`](https://renovatebot.com/diffs/npm/@types%2fnode/18.15.11/18.16.5) | [![age](https://badges.renovateapi.com/packages/npm/@types%2fnode/18.16.5/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@types%2fnode/18.16.5/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@types%2fnode/18.16.5/compatibility-slim/18.15.11)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@types%2fnode/18.16.5/confidence-slim/18.15.11)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | minor | | [@typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/typescript-eslint) | [`5.58.0` -> `5.59.2`](https://renovatebot.com/diffs/npm/@typescript-eslint%2feslint-plugin/5.58.0/5.59.2) | [![age](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2feslint-plugin/5.59.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2feslint-plugin/5.59.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2feslint-plugin/5.59.2/compatibility-slim/5.58.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2feslint-plugin/5.59.2/confidence-slim/5.58.0)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | minor | | [@typescript-eslint/parser](https://togithub.com/typescript-eslint/typescript-eslint) | [`5.58.0` -> `5.59.2`](https://renovatebot.com/diffs/npm/@typescript-eslint%2fparser/5.58.0/5.59.2) | [![age](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2fparser/5.59.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2fparser/5.59.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2fparser/5.59.2/compatibility-slim/5.58.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2fparser/5.59.2/confidence-slim/5.58.0)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | minor | | [@vitest/coverage-c8](https://togithub.com/vitest-dev/vitest/tree/main/packages/coverage-c8#readme) ([source](https://togithub.com/vitest-dev/vitest)) | [`^0.30.1` -> `^0.31.0`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-c8/0.30.1/0.31.0) | [![age](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-c8/0.31.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-c8/0.31.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-c8/0.31.0/compatibility-slim/0.30.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-c8/0.31.0/confidence-slim/0.30.1)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | minor | | [discord-api-types](https://discord-api-types.dev) ([source](https://togithub.com/discordjs/discord-api-types)) | [`0.37.38` -> `0.37.41`](https://renovatebot.com/diffs/npm/discord-api-types/0.37.38/0.37.41) | [![age](https://badges.renovateapi.com/packages/npm/discord-api-types/0.37.41/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/discord-api-types/0.37.41/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/discord-api-types/0.37.41/compatibility-slim/0.37.38)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/discord-api-types/0.37.41/confidence-slim/0.37.38)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | patch | | [discord.js](https://discord.js.org) ([source](https://togithub.com/discordjs/discord.js)) | [`14.9.0` -> `14.11.0`](https://renovatebot.com/diffs/npm/discord.js/14.9.0/14.11.0) | [![age](https://badges.renovateapi.com/packages/npm/discord.js/14.11.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/discord.js/14.11.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/discord.js/14.11.0/compatibility-slim/14.9.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/discord.js/14.11.0/confidence-slim/14.9.0)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | minor | | [eslint](https://eslint.org) ([source](https://togithub.com/eslint/eslint)) | [`8.38.0` -> `8.40.0`](https://renovatebot.com/diffs/npm/eslint/8.38.0/8.40.0) | [![age](https://badges.renovateapi.com/packages/npm/eslint/8.40.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/eslint/8.40.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/eslint/8.40.0/compatibility-slim/8.38.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/eslint/8.40.0/confidence-slim/8.38.0)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | minor | | [lint-staged](https://togithub.com/okonet/lint-staged) | [`13.2.1` -> `13.2.2`](https://renovatebot.com/diffs/npm/lint-staged/13.2.1/13.2.2) | [![age](https://badges.renovateapi.com/packages/npm/lint-staged/13.2.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/lint-staged/13.2.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/lint-staged/13.2.2/compatibility-slim/13.2.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/lint-staged/13.2.2/confidence-slim/13.2.1)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | patch | | [prettier](https://prettier.io) ([source](https://togithub.com/prettier/prettier)) | [`2.8.7` -> `2.8.8`](https://renovatebot.com/diffs/npm/prettier/2.8.7/2.8.8) | [![age](https://badges.renovateapi.com/packages/npm/prettier/2.8.8/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/prettier/2.8.8/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/prettier/2.8.8/compatibility-slim/2.8.7)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/prettier/2.8.8/confidence-slim/2.8.7)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | patch | | [thedoctor0/zip-release](https://togithub.com/thedoctor0/zip-release) | `0.6.2` -> `0.7.1` | [![age](https://badges.renovateapi.com/packages/github-tags/thedoctor0%2fzip-release/0.7.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/github-tags/thedoctor0%2fzip-release/0.7.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/github-tags/thedoctor0%2fzip-release/0.7.1/compatibility-slim/0.6.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/github-tags/thedoctor0%2fzip-release/0.7.1/confidence-slim/0.6.2)](https://docs.renovatebot.com/merge-confidence/) | action | minor | | [turbo](https://turbo.build/repo) ([source](https://togithub.com/vercel/turbo)) | [`1.9.1` -> `1.9.3`](https://renovatebot.com/diffs/npm/turbo/1.9.1/1.9.3) | [![age](https://badges.renovateapi.com/packages/npm/turbo/1.9.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/turbo/1.9.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/turbo/1.9.3/compatibility-slim/1.9.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/turbo/1.9.3/confidence-slim/1.9.1)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | patch | | [typedoc](https://typedoc.org) ([source](https://togithub.com/TypeStrong/TypeDoc)) | [`0.24.4` -> `0.24.7`](https://renovatebot.com/diffs/npm/typedoc/0.24.4/0.24.7) | [![age](https://badges.renovateapi.com/packages/npm/typedoc/0.24.7/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/typedoc/0.24.7/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/typedoc/0.24.7/compatibility-slim/0.24.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/typedoc/0.24.7/confidence-slim/0.24.4)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | patch | | [vitest](https://togithub.com/vitest-dev/vitest) | [`^0.30.1` -> `^0.31.0`](https://renovatebot.com/diffs/npm/vitest/0.30.1/0.31.0) | [![age](https://badges.renovateapi.com/packages/npm/vitest/0.31.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/vitest/0.31.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/vitest/0.31.0/compatibility-slim/0.30.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/vitest/0.31.0/confidence-slim/0.30.1)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | minor | | [yarn](https://togithub.com/yarnpkg/berry) | [`3.3.1` -> `3.5.1`](https://renovatebot.com/diffs/npm/yarn/3.3.1/3.5.1) | [![age](https://badges.renovateapi.com/packages/npm/yarn/3.5.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/yarn/3.5.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/yarn/3.5.1/compatibility-slim/3.3.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/yarn/3.5.1/confidence-slim/3.3.1)](https://docs.renovatebot.com/merge-confidence/) | packageManager | minor | --- ### Release Notes <details> <summary>sapphiredev/utilities (@​sapphire/discord.js-utilities)</summary> ### [`v6.1.0`](https://togithub.com/sapphiredev/utilities/blob/HEAD/packages/discord.js-utilities/CHANGELOG.md#sapphirediscordjs-utilities610-httpsgithubcomsapphiredevutilitiescomparesapphirediscordjs-utilities607sapphirediscordjs-utilities610---2023-05-05) [Compare Source](https://togithub.com/sapphiredev/utilities/compare/@sapphire/[email protected]...@sapphire/[email protected]) #### 🚀 Features - **PaginatedMessage:** Add support for all select menus ([#​589](https://togithub.com/sapphiredev/utilities/issues/589)) ([4858486](https://togithub.com/sapphiredev/utilities/commit/4858486714192e8d37cf69f2aeda3002c1bfb9aa)) - **PaginatedMessage:** Add support for per-page actions ([#​587](https://togithub.com/sapphiredev/utilities/issues/587)) ([b917236](https://togithub.com/sapphiredev/utilities/commit/b9172364bc46a0adef2708ff79ad756bc78f6b1d)) - **PaginatedMessage:** Add method to update pages after response ([#​584](https://togithub.com/sapphiredev/utilities/issues/584)) ([db13068](https://togithub.com/sapphiredev/utilities/commit/db130684ff3c1680f736451361eec80686a783e0)) ### [`v6.0.7`](https://togithub.com/sapphiredev/utilities/blob/HEAD/packages/discord.js-utilities/CHANGELOG.md#sapphirediscordjs-utilities607-httpsgithubcomsapphiredevutilitiescomparesapphirediscordjs-utilities606sapphirediscordjs-utilities607---2023-05-02) [Compare Source](https://togithub.com/sapphiredev/utilities/compare/@sapphire/[email protected]...@sapphire/[email protected]) #### 🐛 Bug Fixes - **PaginatedMessage:** Only add options and placeholder to the built-in StringSelectMenu ([#​575](https://togithub.com/sapphiredev/utilities/issues/575)) ([49d588b](https://togithub.com/sapphiredev/utilities/commit/49d588b007754bfae7ffa59be6ec0d1c266447f4)) - **paginatedmessage:** Fix checks for `actionIsButtonOrMenu` ([3f5d500](https://togithub.com/sapphiredev/utilities/commit/3f5d5000701c34328038c8a3e3dede021932a27b)) #### 📝 Documentation - **paginatedmessage:** Fix examples ([c080740](https://togithub.com/sapphiredev/utilities/commit/c080740a6eeb151263827836d76463430624d62a)) ### [`v6.0.6`](https://togithub.com/sapphiredev/utilities/blob/HEAD/packages/discord.js-utilities/CHANGELOG.md#sapphirediscordjs-utilities606-httpsgithubcomsapphiredevutilitiescomparesapphirediscordjs-utilities605sapphirediscordjs-utilities606---2023-04-17) [Compare Source](https://togithub.com/sapphiredev/utilities/compare/@sapphire/[email protected]...@sapphire/[email protected]) #### 🐛 Bug Fixes - **discord.js-utilities:** Add tslib dependency to fix \__exportStar not being defined ([2f6e4e6](https://togithub.com/sapphiredev/utilities/commit/2f6e4e65907bfe768a97b37830a10d5cadd75a1e)) </details> <details> <summary>sapphiredev/utilities (@​sapphire/eslint-config)</summary> ### [`v4.4.2`](https://togithub.com/sapphiredev/utilities/blob/HEAD/packages/eslint-config/CHANGELOG.md#sapphireeslint-config442-httpsgithubcomsapphiredevutilitiescomparesapphireeslint-config441sapphireeslint-config442---2023-05-02) [Compare Source](https://togithub.com/sapphiredev/utilities/compare/@sapphire/[email protected]...@sapphire/[email protected]) #### 🐛 Bug Fixes - **eslint-config:** Update dependencies ([9e508a9](https://togithub.com/sapphiredev/utilities/commit/9e508a90ca39874af15e875fcccfc3817c679599)) </details> <details> <summary>sapphiredev/framework</summary> ### [`v4.4.3`](https://togithub.com/sapphiredev/framework/blob/HEAD/CHANGELOG.md#​443-httpsgithubcomsapphiredevframeworkcomparev442v443---2023-05-02) [Compare Source](https://togithub.com/sapphiredev/framework/compare/v4.4.2...v4.4.3) #### 🐛 Bug Fixes - Update dependencies ([852302e](https://togithub.com/sapphiredev/framework/commit/852302e9ca6144430b8f8c611560af3b5664e15f)) ### [`v4.4.2`](https://togithub.com/sapphiredev/framework/blob/HEAD/CHANGELOG.md#​442-httpsgithubcomsapphiredevframeworkcomparev441v442---2023-04-27) [Compare Source](https://togithub.com/sapphiredev/framework/compare/v4.4.1...v4.4.2) #### 🐛 Bug Fixes - Add missing permission to account for [email protected] ([8c5ce9d](https://togithub.com/sapphiredev/framework/commit/8c5ce9dfafbb7a0a329f6feb7d5e216f1df6cedf)) - **deps:** Update all non-major dependencies ([#​631](https://togithub.com/sapphiredev/framework/issues/631)) ([d9115d2](https://togithub.com/sapphiredev/framework/commit/d9115d266e2782604e82f0b22537771055cb8bb5)) ### [`v4.4.1`](https://togithub.com/sapphiredev/framework/blob/HEAD/CHANGELOG.md#​441-httpsgithubcomsapphiredevframeworkcomparev440v441---2023-04-18) [Compare Source](https://togithub.com/sapphiredev/framework/compare/v4.4.0...v4.4.1) #### 🐛 Bug Fixes - **permissions:** Add missing permission strings ([#​630](https://togithub.com/sapphiredev/framework/issues/630)) ([23645bb](https://togithub.com/sapphiredev/framework/commit/23645bbe527119ab6be3824d2435f2dbb5bf89db)) - **ArgType:** Update `type` for guild\*ThreadChannel ([#​628](https://togithub.com/sapphiredev/framework/issues/628)) ([222d50e](https://togithub.com/sapphiredev/framework/commit/222d50e0459f7769bea660ae9ae5ce412b927cdb)) #### 📝 Documentation - Add code of conduct to the repo ([f4a9897](https://togithub.com/sapphiredev/framework/commit/f4a9897142224b0f8c238667a2d1c1180b844435)) </details> <details> <summary>typescript-eslint/typescript-eslint (@​typescript-eslint/eslint-plugin)</summary> ### [`v5.59.2`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#​5592-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5591v5592-2023-05-01) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.59.1...v5.59.2) **Note:** Version bump only for package [@​typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin) ### [`v5.59.1`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#​5591-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5590v5591-2023-04-24) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.59.0...v5.59.1) ##### Bug Fixes - **eslint-plugin:** \[prefer-regexp-exec] skip malformed regexes ([#​6935](https://togithub.com/typescript-eslint/typescript-eslint/issues/6935)) ([05ed60e](https://togithub.com/typescript-eslint/typescript-eslint/commit/05ed60e25f1de9d1bb83d56c81a349130960bec8)) - **eslint-plugin:** \[unified-signatures] no parameters function ([#​6940](https://togithub.com/typescript-eslint/typescript-eslint/issues/6940)) ([2970861](https://togithub.com/typescript-eslint/typescript-eslint/commit/297086154acc568a0ae8eb41c8977b7a7ba4e0ed)) ### [`v5.59.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#​5590-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5580v5590-2023-04-17) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.58.0...v5.59.0) ##### Bug Fixes - **eslint-plugin:** \[no-unnecessary-condition] allow nullish coalescing for naked type parameter ([#​6910](https://togithub.com/typescript-eslint/typescript-eslint/issues/6910)) ([3e5f858](https://togithub.com/typescript-eslint/typescript-eslint/commit/3e5f8583f1e4fe045c2fe2143d6f280b7381f96b)) ##### Features - **eslint-plugin:** \[ban-types] add NonNullable suggestion and allow custom suggestions ([#​6876](https://togithub.com/typescript-eslint/typescript-eslint/issues/6876)) ([ff65235](https://togithub.com/typescript-eslint/typescript-eslint/commit/ff65235246bb6214fb64f0e0317373ca99f8bcbe)) </details> <details> <summary>typescript-eslint/typescript-eslint (@​typescript-eslint/parser)</summary> ### [`v5.59.2`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#​5592-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5591v5592-2023-05-01) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.59.1...v5.59.2) **Note:** Version bump only for package [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) ### [`v5.59.1`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#​5591-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5590v5591-2023-04-24) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.59.0...v5.59.1) **Note:** Version bump only for package [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) ### [`v5.59.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#​5590-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5580v5590-2023-04-17) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.58.0...v5.59.0) **Note:** Version bump only for package [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) </details> <details> <summary>vitest-dev/vitest</summary> ### [`v0.31.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.31.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.30.1...v0.31.0) ##### 🚨 Breaking Changes - Update mock implementation to support ESM runtime, introduce "vi.hoisted" - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3258](https://togithub.com/vitest-dev/vitest/issues/3258) [<samp>(0c09a)</samp>](https://togithub.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.mocked('./path/to/module.js', () => { return { originalMethod: mockedMethod } }) ``` - Move assertion declarations to expect package - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3294](https://togithub.com/vitest-dev/vitest/issues/3294) [<samp>(cf3af)</samp>](https://togithub.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 - Add repeat method to tests - by [@​samkevin1](https://togithub.com/samkevin1) in [https://github.com/vitest-dev/vitest/issues/2652](https://togithub.com/vitest-dev/vitest/issues/2652) [<samp>(7c8f0)</samp>](https://togithub.com/vitest-dev/vitest/commit/7c8f0ba9) - Add an option to hide skipped test lines - by [@​g4rry420](https://togithub.com/g4rry420) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2745](https://togithub.com/vitest-dev/vitest/issues/2745) [<samp>(9bdb1)</samp>](https://togithub.com/vitest-dev/vitest/commit/9bdb1603) - **coverage**: Watermarks for c8 - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3254](https://togithub.com/vitest-dev/vitest/issues/3254) [<samp>(730af)</samp>](https://togithub.com/vitest-dev/vitest/commit/730af0b4) - **ui**: Add html coverage - by [@​userquin](https://togithub.com/userquin) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3071](https://togithub.com/vitest-dev/vitest/issues/3071) [<samp>(e24cd)</samp>](https://togithub.com/vitest-dev/vitest/commit/e24cd9b2) - **watch**: Test run cancelling, feat: `--bail` option for cancelling test run - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3163](https://togithub.com/vitest-dev/vitest/issues/3163) [<samp>(8d460)</samp>](https://togithub.com/vitest-dev/vitest/commit/8d4606eb) ##### 🐞 Bug Fixes - Don't call global setup teardown twice - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3188](https://togithub.com/vitest-dev/vitest/issues/3188) [<samp>(ba3d1)</samp>](https://togithub.com/vitest-dev/vitest/commit/ba3d1338) - Reporter to log version before provider initalizations - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3131](https://togithub.com/vitest-dev/vitest/issues/3131) [<samp>(481b1)</samp>](https://togithub.com/vitest-dev/vitest/commit/481b1fd2) - Throw an error if Vitest cannot access its internal state - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3250](https://togithub.com/vitest-dev/vitest/issues/3250) [<samp>(fbb14)</samp>](https://togithub.com/vitest-dev/vitest/commit/fbb1468e) - Warning suppression broken - by [@​IceQub3](https://togithub.com/IceQub3) in [https://github.com/vitest-dev/vitest/issues/3270](https://togithub.com/vitest-dev/vitest/issues/3270) and [https://github.com/vitest-dev/vitest/issues/3271](https://togithub.com/vitest-dev/vitest/issues/3271) [<samp>(036de)</samp>](https://togithub.com/vitest-dev/vitest/commit/036de797) - Show correct diff in "toHaveBeenCalledWith" - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3289](https://togithub.com/vitest-dev/vitest/issues/3289) [<samp>(19fcd)</samp>](https://togithub.com/vitest-dev/vitest/commit/19fcd8df) - Don't print esm warning, if package name is not found - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3292](https://togithub.com/vitest-dev/vitest/issues/3292) [<samp>(62c14)</samp>](https://togithub.com/vitest-dev/vitest/commit/62c14cba) - Support exactOptionalPropertyTypes - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3293](https://togithub.com/vitest-dev/vitest/issues/3293) [<samp>(ba81d)</samp>](https://togithub.com/vitest-dev/vitest/commit/ba81d8a3) - Don't inline vite hmr and rollup types - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3291](https://togithub.com/vitest-dev/vitest/issues/3291) [<samp>(1f118)</samp>](https://togithub.com/vitest-dev/vitest/commit/1f1189bc) - **browser**: - Failing to load vitest/utils - by [@​userquin](https://togithub.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3190](https://togithub.com/vitest-dev/vitest/issues/3190) [<samp>(78bad)</samp>](https://togithub.com/vitest-dev/vitest/commit/78bad4ab) - **coverage**: - `thresholdAutoUpdate` to work with `perFile` - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3182](https://togithub.com/vitest-dev/vitest/issues/3182) [<samp>(29eeb)</samp>](https://togithub.com/vitest-dev/vitest/commit/29eebf65) - Throw error if fail to load built-in provider - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3217](https://togithub.com/vitest-dev/vitest/issues/3217) [<samp>(0a287)</samp>](https://togithub.com/vitest-dev/vitest/commit/0a2875e3) - Stackblitz hangs with c8 - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3225](https://togithub.com/vitest-dev/vitest/issues/3225) [<samp>(d9fda)</samp>](https://togithub.com/vitest-dev/vitest/commit/d9fda2a1) - C8 to ignore vite's generated helpers - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3241](https://togithub.com/vitest-dev/vitest/issues/3241) [<samp>(21942)</samp>](https://togithub.com/vitest-dev/vitest/commit/21942db0) - Workspaces c8 source maps - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3226](https://togithub.com/vitest-dev/vitest/issues/3226) [<samp>(efce3)</samp>](https://togithub.com/vitest-dev/vitest/commit/efce3b4d) - **docs**: - Correct typo and broken link to WebdriverIO - by [@​nathanbabcock](https://togithub.com/nathanbabcock) in [https://github.com/vitest-dev/vitest/issues/3275](https://togithub.com/vitest-dev/vitest/issues/3275) [<samp>(c7da1)</samp>](https://togithub.com/vitest-dev/vitest/commit/c7da155f) - **spy**: - Update to set initial implementation through normal logic - by [@​Codex-](https://togithub.com/Codex-) in [https://github.com/vitest-dev/vitest/issues/3260](https://togithub.com/vitest-dev/vitest/issues/3260) and [https://github.com/vitest-dev/vitest/issues/3263](https://togithub.com/vitest-dev/vitest/issues/3263) [<samp>(c759a)</samp>](https://togithub.com/vitest-dev/vitest/commit/c759a9aa) - **vite-node**: - Circular imports - by [@​antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/3196](https://togithub.com/vitest-dev/vitest/issues/3196) [<samp>(cbb59)</samp>](https://togithub.com/vitest-dev/vitest/commit/cbb593a8) - Add missing `import.meta.hot.send` mock - by [@​antfu](https://togithub.com/antfu) [<samp>(b1624)</samp>](https://togithub.com/vitest-dev/vitest/commit/b1624db5) - **vitest**: - Also check for vite relative to vitest package - by [@​JoshuaKGoldberg](https://togithub.com/JoshuaKGoldberg) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3274](https://togithub.com/vitest-dev/vitest/issues/3274) [<samp>(a3393)</samp>](https://togithub.com/vitest-dev/vitest/commit/a3393b15) - **watch**: - Run test files when added to filesystem - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3189](https://togithub.com/vitest-dev/vitest/issues/3189) [<samp>(7b2c8)</samp>](https://togithub.com/vitest-dev/vitest/commit/7b2c81bc) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.30.1...v0.31.0) </details> <details> <summary>discordjs/discord-api-types</summary> ### [`v0.37.41`](https://togithub.com/discordjs/discord-api-types/blob/HEAD/CHANGELOG.md#​03741-httpsgithubcomdiscordjsdiscord-api-typescompare0374003741-2023-05-01) [Compare Source](https://togithub.com/discordjs/discord-api-types/compare/0.37.40...0.37.41) ##### Bug Fixes - **GatewayGuildMembersChunkDispatchData:** Omit `guild_id` for presences ([#​761](https://togithub.com/discordjs/discord-api-types/issues/761)) ([5079b16](https://togithub.com/discordjs/discord-api-types/commit/5079b164db3ac3bda25675a553a586f099555667)) - **types:** move `types` condition to the front ([#​763](https://togithub.com/discordjs/discord-api-types/issues/763)) ([9dce6ed](https://togithub.com/discordjs/discord-api-types/commit/9dce6ed392b64e602c3cc05946bc0f30bac7279e)) ### [`v0.37.40`](https://togithub.com/discordjs/discord-api-types/blob/HEAD/CHANGELOG.md#​03740-httpsgithubcomdiscordjsdiscord-api-typescompare0373903740-2023-04-24) [Compare Source](https://togithub.com/discordjs/discord-api-types/compare/0.37.39...0.37.40) ##### Features - add support for voice messages ([#​749](https://togithub.com/discordjs/discord-api-types/issues/749)) ([3dac5b9](https://togithub.com/discordjs/discord-api-types/commit/3dac5b93e7568ba2fbd3bc30d229d2df80f96eed)) ### [`v0.37.39`](https://togithub.com/discordjs/discord-api-types/blob/HEAD/CHANGELOG.md#​03739-httpsgithubcomdiscordjsdiscord-api-typescompare0373803739-2023-04-17) [Compare Source](https://togithub.com/discordjs/discord-api-types/compare/0.37.38...0.37.39) ##### Bug Fixes - **RESTPostAPIChannelMessagesThreadsJSONBody:** mark `auto_archive_duration` as optional ([ca6a95d](https://togithub.com/discordjs/discord-api-types/commit/ca6a95d69c7b93f564f10cce422faf5ea4133be7)) ##### Features - **APIGuild:** add `max_stage_video_channel_users` ([#​550](https://togithub.com/discordjs/discord-api-types/issues/550)) ([9a66d21](https://togithub.com/discordjs/discord-api-types/commit/9a66d21f4913c63ed7c192cf9340febe603bf516)) </details> <details> <summary>discordjs/discord.js</summary> ### [`v14.11.0`](https://togithub.com/discordjs/discord.js/blob/HEAD/packages/discord.js/CHANGELOG.md#​14110-httpsgithubcomdiscordjsdiscordjscompare1410214110---2023-05-06) [Compare Source](https://togithub.com/discordjs/discord.js/compare/14.10.2...14.11.0) #### Bug Fixes - **WebSocketManager:** Properly emit shard error events ([#​9521](https://togithub.com/discordjs/discord.js/issues/9521)) ([e627468](https://togithub.com/discordjs/discord.js/commit/e6274681fd10b0d75e1d3b448c94b50ec6810367)) - **WebSocketManager:** Emit raw ws events again ([#​9502](https://togithub.com/discordjs/discord.js/issues/9502)) ([c429763](https://togithub.com/discordjs/discord.js/commit/c429763be8e94f0f0cbc630e8bb1d415d46f1465)) #### Documentation - **Client:** Update Sapphire's snowflake utility links ([#​9501](https://togithub.com/discordjs/discord.js/issues/9501)) ([1b7981e](https://togithub.com/discordjs/discord.js/commit/1b7981e4696b8ae74ceffa876fc0a9be7d0b9f93)) #### Features - **Guild:** Safety alerts channel and mention raid protection ([#​8959](https://togithub.com/discordjs/discord.js/issues/8959)) ([6b2c3fb](https://togithub.com/discordjs/discord.js/commit/6b2c3fb9d0571de808e990cf064f73240ab93451)) #### Performance - **Role:** Linear speed position getter ([#​9493](https://togithub.com/discordjs/discord.js/issues/9493)) ([8e9a2b4](https://togithub.com/discordjs/discord.js/commit/8e9a2b4630f78bb9e45345ec2a16812bfac70a20)) #### Refactor - **GuildChannel:** Simplify constructor ([#​9499](https://togithub.com/discordjs/discord.js/issues/9499)) ([f2ad076](https://togithub.com/discordjs/discord.js/commit/f2ad0762c521422ab64e5b10344a6fd67961031b)) #### Typings - **StringSelectMenuComponentData:** `options` is required ([#​9515](https://togithub.com/discordjs/discord.js/issues/9515)) ([d7b18f0](https://togithub.com/discordjs/discord.js/commit/d7b18f0681d4147ff192c98108c035d6d0f96cce)) ### [`v14.10.2`](https://togithub.com/discordjs/discord.js/blob/HEAD/packages/discord.js/CHANGELOG.md#​14102-httpsgithubcomdiscordjsdiscordjscompare1410114102---2023-05-01) [Compare Source](https://togithub.com/discordjs/discord.js/compare/14.10.1...14.10.2) #### Bug Fixes - Correct `isJSONEncodable()` import ([#​9495](https://togithub.com/discordjs/discord.js/issues/9495)) ([201b002](https://togithub.com/discordjs/discord.js/commit/201b002ad405b845ace5f708077c1f157bb4126d)) - **Client:** `generateInvite()` scope validation ([#​9492](https://togithub.com/discordjs/discord.js/issues/9492)) ([b327f49](https://togithub.com/discordjs/discord.js/commit/b327f4925ff557e0aa8273d7f017aa616226ca06)) ### [`v14.10.1`](https://togithub.com/discordjs/discord.js/blob/HEAD/packages/discord.js/CHANGELOG.md#​14101-httpsgithubcomdiscordjsdiscordjscompare1410014101---2023-05-01) [Compare Source](https://togithub.com/discordjs/discord.js/compare/14.10.0...14.10.1) #### Bug Fixes - **Client:** Spelling of InvalidScopesWithPermissions ([ac9bf3a](https://togithub.com/discordjs/discord.js/commit/ac9bf3ac06ec78dbaca2ce4a82cceb0d82484211)) #### Refactor - **ShardClientUtil:** Logic de-duplication ([#​9491](https://togithub.com/discordjs/discord.js/issues/9491)) ([a9f2bff](https://togithub.com/discordjs/discord.js/commit/a9f2bff82a18c6a3afdee99e5830e1d7b4da65dc)) ### [`v14.10.0`](https://togithub.com/discordjs/discord.js/blob/HEAD/packages/discord.js/CHANGELOG.md#​14100-httpsgithubcomdiscordjsdiscordjscompare149014100---2023-05-01) [Compare Source](https://togithub.com/discordjs/discord.js/compare/14.9.0...14.10.0) #### Bug Fixes - **ShardClientUtil:** Fix client event names ([#​9474](https://togithub.com/discordjs/discord.js/issues/9474)) ([ad217cc](https://togithub.com/discordjs/discord.js/commit/ad217cc7604dda6a33df73db82799fd5bb4e85a9)) - **BaseClient:** Prevent user agent mutation ([#​9425](https://togithub.com/discordjs/discord.js/issues/9425)) ([217e5d8](https://togithub.com/discordjs/discord.js/commit/217e5d81005a2506c96335f7fb96fa21d7dbb04c)) - **BitField:** Use only enum names in iterating ([#​9357](https://togithub.com/discordjs/discord.js/issues/9357)) ([40d07fb](https://togithub.com/discordjs/discord.js/commit/40d07fbbbd51d62793d9ea541f41f157b5dad224)) - Use new permission name ([#​9274](https://togithub.com/discordjs/discord.js/issues/9274)) ([d2d27ce](https://togithub.com/discordjs/discord.js/commit/d2d27ce7346bc37b34938c84bd3b106a4fa51f53)) - **Message#editable:** Fix permissions check in locked threads ([#​9319](https://togithub.com/discordjs/discord.js/issues/9319)) ([d4c1fec](https://togithub.com/discordjs/discord.js/commit/d4c1fecbe264bc52a70aaf0ec303d35e2f15bbcd)) - Fix external links ([#​9313](https://togithub.com/discordjs/discord.js/issues/9313)) ([a7425c2](https://togithub.com/discordjs/discord.js/commit/a7425c29c4f23f1b31f4c6a463107ca9eb7fd7e2)) #### Documentation - **AutoModerationRule:** Update docs ([#​9464](https://togithub.com/discordjs/discord.js/issues/9464)) ([1b15d31](https://togithub.com/discordjs/discord.js/commit/1b15d31b5ae1b1739716fab00b18083c1d7d389a)) - **APITypes:** Document role & user select menu components ([#​9435](https://togithub.com/discordjs/discord.js/issues/9435)) ([c6ca5a8](https://togithub.com/discordjs/discord.js/commit/c6ca5a83e7b72613f95c2145606a1330f64ae894)) - **BaseMessageOptions:** Fix embeds and components ([#​9437](https://togithub.com/discordjs/discord.js/issues/9437)) ([5c52bb9](https://togithub.com/discordjs/discord.js/commit/5c52bb95906250518a8813820d543f43dd7abdf9)) - **InteractionResponses:** ShowModal docs change ([#​9434](https://togithub.com/discordjs/discord.js/issues/9434)) ([7d34100](https://togithub.com/discordjs/discord.js/commit/7d341000d44b762a2fe0434a6b518f7d63539d34)) - Use ESM code in examples ([#​9427](https://togithub.com/discordjs/discord.js/issues/9427)) ([ce287f2](https://togithub.com/discordjs/discord.js/commit/ce287f21d1540da7f17cac8a57dc33a67f391ef3)) - Generate static imports for types with api-extractor ([98a76db](https://togithub.com/discordjs/discord.js/commit/98a76db482879f79d6bb2fb2e5fc65ac2c34e2d9)) - **Options:** Fix links and invalid syntax ([#​9322](https://togithub.com/discordjs/discord.js/issues/9322)) ([86e5f5a](https://togithub.com/discordjs/discord.js/commit/86e5f5a119c6d2588b988a33236d358ded357847)) - Cleanup MessageCreateOptions and MessageReplyOptions ([#​9283](https://togithub.com/discordjs/discord.js/issues/9283)) ([300059c](https://togithub.com/discordjs/discord.js/commit/300059cb266e6cca42c30ee7f997c48ab2cc565e)) - **Events:** Document auto moderation events ([#​9342](https://togithub.com/discordjs/discord.js/issues/9342)) ([79bcdfa](https://togithub.com/discordjs/discord.js/commit/79bcdfa767e7e842164e1174b6f4834ed731d329)) - Add `SnowflakeUtil` ([#​9371](https://togithub.com/discordjs/discord.js/issues/9371)) ([8ffcf77](https://togithub.com/discordjs/discord.js/commit/8ffcf77840b62590fcb4731380d28b22d0b98741)) - Use stable tag ([#​9343](https://togithub.com/discordjs/discord.js/issues/9343)) ([c0f2dd7](https://togithub.com/discordjs/discord.js/commit/c0f2dd713151a29c98e1eebad66721a208be1fc0)) - Remove `JSONEncondable` ([#​9344](https://togithub.com/discordjs/discord.js/issues/9344)) ([b2eec5f](https://togithub.com/discordjs/discord.js/commit/b2eec5f9fcf37ebb3b7f87a67a6ee3160c182183)) #### Features - **Attachment:** Voice messages ([#​9392](https://togithub.com/discordjs/discord.js/issues/9392)) ([3e01f91](https://togithub.com/discordjs/discord.js/commit/3e01f91bbba2cbacacc6c921ed664752f679960b)) - **BaseInteraction:** Support new channel payload ([#​9337](https://togithub.com/discordjs/discord.js/issues/9337)) ([29389e3](https://togithub.com/discordjs/discord.js/commit/29389e39f479b832e54c7cb3ddd363aebe99674f)) - **RoleTagData:** Add guildConnections ([#​9366](https://togithub.com/discordjs/discord.js/issues/9366)) ([2dddbe1](https://togithub.com/discordjs/discord.js/commit/2dddbe1f321f2e2722dba4a28f7d18384cf50353)) #### Performance - **RoleManager:** Dont call Role#position getter twice per role ([#​9352](https://togithub.com/discordjs/discord.js/issues/9352)) ([bfee6c8](https://togithub.com/discordjs/discord.js/commit/bfee6c8d889502ea39ad919dd9b1e6253a2af571)) #### Refactor - **WebSocketManager:** Use /ws package internally ([#​9099](https://togithub.com/discordjs/discord.js/issues/9099)) ([a9e0de4](https://togithub.com/discordjs/discord.js/commit/a9e0de4288ea39a6a089b8379dcd44ac0053dac7)) - Remove `fromInteraction` in internal channel creation ([#​9335](https://togithub.com/discordjs/discord.js/issues/9335)) ([794abe8](https://togithub.com/discordjs/discord.js/commit/794abe8450bae000cd0544922cdf53e7b3e4c59c)) #### Typings - **AutoModerationActionMetadataOptions:** Make channel property optional ([#​9460](https://togithub.com/discordjs/discord.js/issues/9460)) ([d26df5f](https://togithub.com/discordjs/discord.js/commit/d26df5fabaf227fb9d10ba5cc1ab326de55aadbc)) - **CategoryChannel:** Ensure `parent` and `parentId` are `null` ([#​9327](https://togithub.com/discordjs/discord.js/issues/9327)) ([8218ffc](https://togithub.com/discordjs/discord.js/commit/8218ffc78d23234b32c05a97fde2f4bea64d7aa6)) - **GuildTextBasedChannel:** Remove unnecessary exclusion of forum channels ([#​9326](https://togithub.com/discordjs/discord.js/issues/9326)) ([7ff3d52](https://togithub.com/discordjs/discord.js/commit/7ff3d528d942a0daa990194915ff8328dec99149)) </details> <details> <summary>eslint/eslint</summary> ### [`v8.40.0`](https://togithub.com/eslint/eslint/releases/tag/v8.40.0) [Compare Source](https://togithub.com/eslint/eslint/compare/v8.39.0...v8.40.0) #### Features - [`5db7808`](https://togithub.com/eslint/eslint/commit/5db7808139c1f2172797285a0700f01644bda254) feat: improve flat config errors for invalid rule options and severities ([#​17140](https://togithub.com/eslint/eslint/issues/17140)) (Josh Goldberg ✨) - [`f5574dc`](https://togithub.com/eslint/eslint/commit/f5574dc739fcc74a7841217ba1f31cce02bee1ff) feat: Add findConfigFile() method to FlatESLint ([#​17142](https://togithub.com/eslint/eslint/issues/17142)) (Nicholas C. Zakas) - [`e52b98b`](https://togithub.com/eslint/eslint/commit/e52b98bf25d882da4efd5559ce5974b6697cf701) feat: add `sourceCode` property to the rule context ([#​17107](https://togithub.com/eslint/eslint/issues/17107)) (Nitin Kumar) - [`1468f5b`](https://togithub.com/eslint/eslint/commit/1468f5b640cfa6fdd8a5ec895337f692def2780b) feat: add `physicalFilename` property to the rule context ([#​17111](https://togithub.com/eslint/eslint/issues/17111)) (Nitin Kumar) - [`0df4d4f`](https://togithub.com/eslint/eslint/commit/0df4d4f658c214e51310a986c03d44d34ceae3ec) feat: add `cwd` to rule context ([#​17106](https://togithub.com/eslint/eslint/issues/17106)) (Nitin Kumar) - [`52018f2`](https://togithub.com/eslint/eslint/commit/52018f21c19b3e461cae32843cddd17ed42f19cd) feat: add `filename` property to the rule context ([#​17108](https://togithub.com/eslint/eslint/issues/17108)) (Nitin Kumar) - [`559ff4e`](https://togithub.com/eslint/eslint/commit/559ff4e4bc54a8b6e6b54825d83c532d724204b3) feat: add new `omitLastInOneLineClassBody` option to the `semi` rule ([#​17105](https://togithub.com/eslint/eslint/issues/17105)) (Nitin Kumar) #### Bug Fixes - [`f076e54`](https://togithub.com/eslint/eslint/commit/f076e54ecdb0fae70d9b43ad6888606097beef97) fix: Ensure FlatESLint#findConfigFile() doesn't throw. ([#​17151](https://togithub.com/eslint/eslint/issues/17151)) (Nicholas C. Zakas) #### Documentation - [`e980bf3`](https://togithub.com/eslint/eslint/commit/e980bf38cf441f2eb29c458b93df77dc0111b391) docs: Update README (GitHub Actions Bot) - [`e92a6fc`](https://togithub.com/eslint/eslint/commit/e92a6fc7ed2a427f5e95f4b3a1c21d71553c97ee) docs: Update README (GitHub Actions Bot) - [`af5fe64`](https://togithub.com/eslint/eslint/commit/af5fe64c398c9bd4206c3c6c1ade81768b291031) docs: Fix custom rule schema docs ([#​17115](https://togithub.com/eslint/eslint/issues/17115)) (Adam Jones) - [`4a352a9`](https://togithub.com/eslint/eslint/commit/4a352a957ba9e721bec9f6f403b419a22b0ec423) docs: explain how to include predefined globals ([#​17114](https://togithub.com/eslint/eslint/issues/17114)) (Marcus Wyatt) - [`5ea15d9`](https://togithub.com/eslint/eslint/commit/5ea15d92ee358e8f3f652c94c019cac96aaec651) docs: add mastodon link in readme ([#​17110](https://togithub.com/eslint/eslint/issues/17110)) (唯然) #### Chores - [`4053004`](https://togithub.com/eslint/eslint/commit/4053004c951813473d1c43f9f9959a9a3484242f) chore: upgrade [@​eslint/js](https://togithub.com/eslint/js)[@​8](https://togithub.com/8).40.0 ([#​17156](https://togithub.com/eslint/eslint/issues/17156)) (Milos Djermanovic) - [`50fed1d`](https://togithub.com/eslint/eslint/commit/50fed1da4449ad7ecbb558294438273cfce603d4) chore: package.json update for [@​eslint/js](https://togithub.com/eslint/js) release (ESLint Jenkins) - [`4c7a170`](https://togithub.com/eslint/eslint/commit/4c7a170b04c5a746e401bef7ce79766ff66a1168) chore: upgrade [@​eslint/eslintrc](https://togithub.com/eslint/eslintrc)[@​2](https://togithub.com/2).0.3 ([#​17155](https://togithub.com/eslint/eslint/issues/17155)) (Milos Djermanovic) - [`e80b7cc`](https://togithub.com/eslint/eslint/commit/e80b7cce640b60c00802148dbb51d03c7223afa9) chore: upgrade [email protected] ([#​17154](https://togithub.com/eslint/eslint/issues/17154)) (Milos Djermanovic) - [`ce3ac91`](https://togithub.com/eslint/eslint/commit/ce3ac91b510576e2afba1657aa5f09e162b4ab07) chore: upgrade [email protected] ([#​17153](https://togithub.com/eslint/eslint/issues/17153)) (Milos Djermanovic) - [`9094d79`](https://togithub.com/eslint/eslint/commit/9094d79fb42c0ebb6100426a3f2f851e8d42a0ee) chore: add `latest/` to `meta.docs.url` in all core rules ([#​17136](https://togithub.com/eslint/eslint/issues/17136)) (Milos Djermanovic) - [`d85efad`](https://togithub.com/eslint/eslint/commit/d85efad655deacc0dc3fdbbace33307094c3b91b) perf: don't use `grapheme-splitter` on ASCII strings in key-spacing rule ([#​17122](https://togithub.com/eslint/eslint/issues/17122)) (Milos Djermanovic) ### [`v8.39.0`](https://togithub.com/eslint/eslint/releases/tag/v8.39.0) [Compare Source](https://togithub.com/eslint/eslint/compare/v8.38.0...v8.39.0) #### Features - [`3f7af9f`](https://togithub.com/eslint/eslint/commit/3f7af9f408625dbc486af914706d34c4b483b5ba) feat: Implement `SourceCode#markVariableAsUsed()` ([#​17086](https://togithub.com/eslint/eslint/issues/17086)) (Nicholas C. Zakas) #### Documentation - [`6987dc5`](https://togithub.com/eslint/eslint/commit/6987dc59e46f4e345d0d6c20c1f2c6846bbd7acc) docs: Fix formatting in Custom Rules docs ([#​17097](https://togithub.com/eslint/eslint/issues/17097)) (Milos Djermanovic) - [`4ee92e5`](https://togithub.com/eslint/eslint/commit/4ee92e5cbdeba6fea2147901ce926de16946958a) docs: Update README (GitHub Actions Bot) - [`d8e9887`](https://togithub.com/eslint/eslint/commit/d8e9887c2c384d24d586d08ee9ae2ada79bd234c) docs: Custom Rules cleanup/expansion ([#​16906](https://togithub.com/eslint/eslint/issues/16906)) (Ben Perlmutter) - [`1fea279`](https://togithub.com/eslint/eslint/commit/1fea2797801a82a2718814c83dad641dab092bcc) docs: Clarify how to add to tsc agenda ([#​17084](https://togithub.com/eslint/eslint/issues/17084)) (Nicholas C. Zakas) - [`970ef1c`](https://togithub.com/eslint/eslint/commit/970ef1c868235a58297682513842f1256cdfbd03) docs: Update triage board location (Nicholas C. Zakas) - [`6d8bffd`](https://togithub.com/eslint/eslint/commit/6d8bffdf45d50e272dc45e6d2d05b4a737514468) docs: Update README (GitHub Actions Bot) #### Chores - [`60a6f26`](https://togithub.com/eslint/eslint/commit/60a6f2694deb4aa1c54de2a28d0357cddfd16644) chore: upgrade [@​eslint/js](https://togithub.com/eslint/js)[@​8](https://togithub.com/8).39.0 ([#​17102](https://togithub.com/eslint/eslint/issues/17102)) (Milos Djermanovic) - [`d5ba5c0`](https://togithub.com/eslint/eslint/commit/d5ba5c0a85e7a10777761f5d46c104ab7f25845b) chore: package.json update for [@​eslint/js](https://togithub.com/eslint/js) release (ESLint Jenkins) - [`f57eff2`](https://togithub.com/eslint/eslint/commit/f57eff20f5789408e95061f1af5354bb9b4f4784) ci: run tests on Node.js v20 ([#​17093](https://togithub.com/eslint/eslint/issues/17093)) (Nitin Kumar) - [`9d1b8fc`](https://togithub.com/eslint/eslint/commit/9d1b8fc60cc31f12618e58c10a2669506b7ce9bf) perf: Binary search in token store `utils.search` ([#​17066](https://togithub.com/eslint/eslint/issues/17066)) (Francesco Trotta) - [`07a4435`](https://togithub.com/eslint/eslint/commit/07a4435a0c08cb63ebf11b71f735bac20318829b) chore: Add request for minimal repro to bug report ([#​17081](https://togithub.com/eslint/eslint/issues/17081)) (Nicholas C. Zakas) - [`eac4943`](https://togithub.com/eslint/eslint/commit/eac4943ba2e4edb3dbfea0470e5d4b15a4926c40) refactor: remove unnecessary use of `SourceCode#getAncestors` in rules ([#​17075](https://togithub.com/eslint/eslint/issues/17075)) (Milos Djermanovic) - [`0a7b60a`](https://togithub.com/eslint/eslint/commit/0a7b60a9d5621dbbc1a8a8adda3b7c2060c779ca) chore: update description of `SourceCode#getDeclaredVariables` ([#​17072](https://togithub.com/eslint/eslint/issues/17072)) (Milos Djermanovic) - [`6e2df71`](https://togithub.com/eslint/eslint/commit/6e2df71cc390252aaca212abe3dc0467fe397450) chore: remove unnecessary references to the LICENSE file ([#​17071](https://togithub.com/eslint/eslint/issues/17071)) (Milos Djermanovic) </details> <details> <summary>okonet/lint-staged</summary> ### [`v13.2.2`](https://togithub.com/okonet/lint-staged/releases/tag/v13.2.2) [Compare Source](https://togithub.com/okonet/lint-staged/compare/v13.2.1...v13.2.2) ##### Bug Fixes - **dependencies:** update `[email protected]` (GHSA-f9xv-q969-pqx4) ([#​1290](https://togithub.com/okonet/lint-staged/issues/1290)) ([cf691aa](https://togithub.com/okonet/lint-staged/commit/cf691aa188719d9479ceaeffbffe814594fdb65f)) </details> <details> <summary>prettier/prettier</summary> ### [`v2.8.8`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#​288) [Compare Source](https://togithub.com/prettier/prettier/compare/2.8.7...2.8.8) This version is a republished version of v2.8.7. A bad version was accidentally published and [it can't be unpublished](https://togithub.com/npm/cli/issues/1686), apologies for the churn. </details> <details> <summary>thedoctor0/zip-release</summary> ### [`v0.7.1`](https://togithub.com/TheDoctor0/zip-release/releases/tag/0.7.1) [Compare Source](https://togithub.com/thedoctor0/zip-release/compare/0.7.0...0.7.1) - Allow `tar.gz` usage as `type` for the convenience in job matrix ([#​38](https://togithub.com/thedoctor0/zip-release/issues/38)) ### [`v0.7.0`](https://togithub.com/TheDoctor0/zip-release/releases/tag/0.7.0) [Compare Source](https://togithub.com/thedoctor0/zip-release/compare/0.6.3...0.7.0) - Add support for custom command parameters (see [custom](https://togithub.com/TheDoctor0/zip-release#custom) parameter) ### [`v0.6.3`](https://togithub.com/TheDoctor0/zip-release/releases/tag/0.6.3) [Compare Source](https://togithub.com/thedoctor0/zip-release/compare/0.6.2...0.6.3) - Handle multiple exclusions with tar ([#​33](https://togithub.com/thedoctor0/zip-release/issues/33)) </details> <details> <summary>vercel/turbo</summary> ### [`v1.9.3`](https://togithub.com/vercel/turbo/releases/tag/v1.9.3): Turborepo v1.9.3 [Compare Source](https://togithub.com/vercel/turbo/compare/v1.9.2...v1.9.3) <!-- Release notes generated using configuration in .github/turborepo-release.yml at v1.9.3 --> #### What's Changed ##### Changelog - Revert "fix(turborepo): SCM tests and renaming ([#​4462](https://togithub.com/vercel/turbo/issues/4462))" by [@​NicholasLYang](https://togithub.com/NicholasLYang) in [https://github.com/vercel/turbo/pull/4604](https://togithub.com/vercel/turbo/pull/4604) **Full Changelog**: https://github.com/vercel/turbo/compare/v1.9.2...v1.9.3 ### [`v1.9.2`](https://togithub.com/vercel/turbo/releases/tag/v1.9.2): Turborepo v1.9.2 [Compare Source](https://togithub.com/vercel/turbo/compare/v1.9.1...v1.9.2) <!-- Release notes generated using configuration in .github/turborepo-release.yml at v1.9.2 --> #### What's Changed ##### Changelog - chore: Fix spelling by [@​NicholasLYang](https://togithub.com/NicholasLYang) in [https://github.com/vercel/turbo/pull/4552](https://togithub.com/vercel/turbo/pull/4552) - Include TimeSaved metric in Run Summaries by [@​mehulkar](https://togithub.com/mehulkar) in [https://github.com/vercel/turbo/pull/4539](https://togithub.com/vercel/turbo/pull/4539) - docs: add missing comma in `turbo.json` by [@​BRKalow](https://togithub.com/BRKalow) in [https://github.com/vercel/turbo/pull/4557](https://togithub.com/vercel/turbo/pull/4557) - Delete a test fixture we don't need by [@​mehulkar](https://togithub.com/mehulkar) in [https://github.com/vercel/turbo/pull/4558](https://togithub.com/vercel/turbo/pull/4558) - fix(create-turbo): correct package manager selection by [@​tknickman](https://togithub.com/tknickman) in [https://github.com/vercel/turbo/pull/4574](https://togithub.com/vercel/turbo/pull/4574) - Print Run URL if there is one by [@​mehulkar](https://togithub.com/mehulkar) in [https://github.com/vercel/turbo/pull/4562](https://togithub.com/vercel/turbo/pull/4562) - fix(create-turbo): prompt fix by [@​tknickman](https://togithub.com/tknickman) in [https://github.com/vercel/turbo/pull/4586](https://togithub.com/vercel/turbo/pull/4586) - fix: better support for pnpm aliases by [@​chris-olszewski](https://togithub.com/chris-olszewski) in [https://github.com/vercel/turbo/pull/4555](https://togithub.com/vercel/turbo/pull/4555) - Make find_up use os.ReadDir by [@​nathanhammond](https://togithub.com/nathanhammond) in [https://github.com/vercel/turbo/pull/4599](https://togithub.com/vercel/turbo/pull/4599) - fix(turbo-utils): package manager available by [@​tknickman](https://togithub.com/tknickman) in [https://github.com/vercel/turbo/pull/4603](https://togithub.com/vercel/turbo/pull/4603) #### New Contributors - [@​BRKalow](https://togithub.com/BRKalow) made their first contribution in [https://github.com/vercel/turbo/pull/4557](https://togithub.com/vercel/turbo/pull/4557) **Full Changelog**: https://github.com/vercel/turbo/compare/v1.9.1...v1.9.2 </details> <details> <summary>TypeStrong/TypeDoc</summary> ### [`v0.24.7`](https://togithub.com/TypeStrong/TypeDoc/blob/HEAD/CHANGELOG.md#v0247-2023-05-08) [Compare Source](https://togithub.com/TypeStrong/TypeDoc/compare/v0.24.6...v0.24.7) ##### Features - TypeDoc will now allow conversion without any entry points to support "readme only" packages, [#​2264](https://togithub.com/TypeStrong/TypeDoc/issues/2264). ##### Bug Fixes - Category children are now sorted according to the `sort` option, [#​2272](https://togithub.com/TypeStrong/TypeDoc/issues/2272). - Inline tags no longer require a space after the tag name to be parsed as a tag, [#​2273](https://togithub.com/TypeStrong/TypeDoc/issues/2273). - Fixed module/namespace links in navigation when viewed in Safari, [#​2275](https://togithub.com/TypeStrong/TypeDoc/issues/2275). ### [`v0.24.6`](https://togithub.com/TypeStrong/TypeDoc/blob/HEAD/CHANGELOG.md#v0246-2023-04-24) [Compare Source](https://togithub.com/TypeStrong/TypeDoc/compare/ </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 10am on Saturday" (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. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.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://app.renovatebot.com/dashboard#github/KBot-discord/utilities). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC44NC4yIiwidXBkYXRlZEluVmVyIjoiMzUuNzEuNCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![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://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) | [`18.2.0` -> `18.2.12`](https://renovatebot.com/diffs/npm/@types%2freact/18.2.0/18.2.12) | [![age](https://badges.renovateapi.com/packages/npm/@types%2freact/18.2.12/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@types%2freact/18.2.12/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@types%2freact/18.2.12/compatibility-slim/18.2.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@types%2freact/18.2.12/confidence-slim/18.2.0)](https://docs.renovatebot.com/merge-confidence/) | | [@vitest/coverage-c8](https://togithub.com/vitest-dev/vitest/tree/main/packages/coverage-c8#readme) ([source](https://togithub.com/vitest-dev/vitest)) | [`0.30.1` -> `0.32.0`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-c8/0.30.1/0.32.0) | [![age](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-c8/0.32.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-c8/0.32.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-c8/0.32.0/compatibility-slim/0.30.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-c8/0.32.0/confidence-slim/0.30.1)](https://docs.renovatebot.com/merge-confidence/) | | [happy-dom](https://togithub.com/capricorn86/happy-dom) | [`9.9.2` -> `9.20.3`](https://renovatebot.com/diffs/npm/happy-dom/9.9.2/9.20.3) | [![age](https://badges.renovateapi.com/packages/npm/happy-dom/9.20.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/happy-dom/9.20.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/happy-dom/9.20.3/compatibility-slim/9.9.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/happy-dom/9.20.3/confidence-slim/9.9.2)](https://docs.renovatebot.com/merge-confidence/) | | [rimraf](https://togithub.com/isaacs/rimraf) | [`5.0.0` -> `5.0.1`](https://renovatebot.com/diffs/npm/rimraf/5.0.0/5.0.1) | [![age](https://badges.renovateapi.com/packages/npm/rimraf/5.0.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/rimraf/5.0.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/rimraf/5.0.1/compatibility-slim/5.0.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/rimraf/5.0.1/confidence-slim/5.0.0)](https://docs.renovatebot.com/merge-confidence/) | | [semantic-release](https://togithub.com/semantic-release/semantic-release) | [`21.0.1` -> `21.0.5`](https://renovatebot.com/diffs/npm/semantic-release/21.0.1/21.0.5) | [![age](https://badges.renovateapi.com/packages/npm/semantic-release/21.0.5/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/semantic-release/21.0.5/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/semantic-release/21.0.5/compatibility-slim/21.0.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/semantic-release/21.0.5/confidence-slim/21.0.1)](https://docs.renovatebot.com/merge-confidence/) | | [typedoc](https://typedoc.org) ([source](https://togithub.com/TypeStrong/TypeDoc)) | [`0.24.6` -> `0.24.8`](https://renovatebot.com/diffs/npm/typedoc/0.24.6/0.24.8) | [![age](https://badges.renovateapi.com/packages/npm/typedoc/0.24.8/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/typedoc/0.24.8/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/typedoc/0.24.8/compatibility-slim/0.24.6)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/typedoc/0.24.8/confidence-slim/0.24.6)](https://docs.renovatebot.com/merge-confidence/) | | [typescript](https://www.typescriptlang.org/) ([source](https://togithub.com/Microsoft/TypeScript)) | [`5.0.4` -> `5.1.3`](https://renovatebot.com/diffs/npm/typescript/5.0.4/5.1.3) | [![age](https://badges.renovateapi.com/packages/npm/typescript/5.1.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/typescript/5.1.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/typescript/5.1.3/compatibility-slim/5.0.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/typescript/5.1.3/confidence-slim/5.0.4)](https://docs.renovatebot.com/merge-confidence/) | | [vitest](https://togithub.com/vitest-dev/vitest) | [`0.30.1` -> `0.32.0`](https://renovatebot.com/diffs/npm/vitest/0.30.1/0.32.0) | [![age](https://badges.renovateapi.com/packages/npm/vitest/0.32.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/vitest/0.32.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/vitest/0.32.0/compatibility-slim/0.30.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/vitest/0.32.0/confidence-slim/0.30.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest</summary> ### [`v0.32.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.32.0) [Compare Source](https://togithub.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://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3307](https://togithub.com/vitest-dev/vitest/issues/3307) [<samp>(1ad63)</samp>](https://togithub.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://togithub.com/nickmccurdy) in [https://github.com/vitest-dev/vitest/issues/3392](https://togithub.com/vitest-dev/vitest/issues/3392) [<samp>(19ecc)</samp>](https://togithub.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://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3339](https://togithub.com/vitest-dev/vitest/issues/3339) [<samp>(82112)</samp>](https://togithub.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://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3518](https://togithub.com/vitest-dev/vitest/issues/3518) [<samp>(c1004)</samp>](https://togithub.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://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3490](https://togithub.com/vitest-dev/vitest/issues/3490) [<samp>(89842)</samp>](https://togithub.com/vitest-dev/vitest/commit/898422b0) - Image type add apng - by [@​btea](https://togithub.com/btea) in [https://github.com/vitest-dev/vitest/issues/3498](https://togithub.com/vitest-dev/vitest/issues/3498) [<samp>(a53c2)</samp>](https://togithub.com/vitest-dev/vitest/commit/a53c2151) - **expect**: Support `expect.soft` - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3507](https://togithub.com/vitest-dev/vitest/issues/3507) [<samp>(7c687)</samp>](https://togithub.com/vitest-dev/vitest/commit/7c687ada) - **runner**: Support using function/class as `describe`/`test` name - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3497](https://togithub.com/vitest-dev/vitest/issues/3497) [<samp>(15253)</samp>](https://togithub.com/vitest-dev/vitest/commit/15253890) ##### 🐞 Bug Fixes - The cli option is passed to coverage.exclude - by [@​btea](https://togithub.com/btea) in [https://github.com/vitest-dev/vitest/issues/3506](https://togithub.com/vitest-dev/vitest/issues/3506) [<samp>(c37cd)</samp>](https://togithub.com/vitest-dev/vitest/commit/c37cdebe) - **optimizer**: Always respect optimizeDeps even if include/exclude is overridden - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3488](https://togithub.com/vitest-dev/vitest/issues/3488) [<samp>(eb285)</samp>](https://togithub.com/vitest-dev/vitest/commit/eb285ea0) - **runner**: Ensure Vitest is deduped - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3489](https://togithub.com/vitest-dev/vitest/issues/3489) [<samp>(2deb7)</samp>](https://togithub.com/vitest-dev/vitest/commit/2deb70ab) - **ui**: Don't cache coverage assets - by [@​userquin](https://togithub.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3508](https://togithub.com/vitest-dev/vitest/issues/3508) [<samp>(952b5)</samp>](https://togithub.com/vitest-dev/vitest/commit/952b5be6) - **vite-node**: Circular import stuck - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3480](https://togithub.com/vitest-dev/vitest/issues/3480) [<samp>(50f07)</samp>](https://togithub.com/vitest-dev/vitest/commit/50f0700d) - **watch**: Junit reporter fails to re-generate report - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3496](https://togithub.com/vitest-dev/vitest/issues/3496) [<samp>(5b73c)</samp>](https://togithub.com/vitest-dev/vitest/commit/5b73cbf8) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.31.4...v0.32.0) ### [`v0.31.4`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.31.4) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.31.3...v0.31.4) ##### 🚀 Features - Enable experimentalOptimizer - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3413](https://togithub.com/vitest-dev/vitest/issues/3413) [<samp>(5a894)</samp>](https://togithub.com/vitest-dev/vitest/commit/5a894aa2) ##### 🐞 Bug Fixes - **vite-node**: Deps.inline doesn't work - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3485](https://togithub.com/vitest-dev/vitest/issues/3485) [<samp>(be930)</samp>](https://togithub.com/vitest-dev/vitest/commit/be93032f) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.31.3...v0.31.4) ### [`v0.31.3`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.31.3) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.31.2...v0.31.3) ##### 🚀 Features - Support `VITE_NODE_DEPS_MODULE_DIRECTORIES` from .npmrc - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3471](https://togithub.com/vitest-dev/vitest/issues/3471) [<samp>(393bf)</samp>](https://togithub.com/vitest-dev/vitest/commit/393bf60c) ##### 🐞 Bug Fixes - **logger**: Print unhandled errors before summary - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3474](https://togithub.com/vitest-dev/vitest/issues/3474) [<samp>(4c9a7)</samp>](https://togithub.com/vitest-dev/vitest/commit/4c9a7d58) - **runner**: Suite options do not propagate to nested suites (fix: [#​3467](https://togithub.com/vitest-dev/vitest/issues/3467)) - by [@​xsjcTony](https://togithub.com/xsjcTony) in [https://github.com/vitest-dev/vitest/issues/3473](https://togithub.com/vitest-dev/vitest/issues/3473) and [https://github.com/vitest-dev/vitest/issues/3467](https://togithub.com/vitest-dev/vitest/issues/3467) [<samp>(9fb9d)</samp>](https://togithub.com/vitest-dev/vitest/commit/9fb9dacb) - **vite-node**: Clear importers when invalidating module - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3475](https://togithub.com/vitest-dev/vitest/issues/3475) [<samp>(add29)</samp>](https://togithub.com/vitest-dev/vitest/commit/add29c86) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.31.2...v0.31.3) ### [`v0.31.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.31.2) [Compare Source](https://togithub.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://togithub.com/fenghan34) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3360](https://togithub.com/vitest-dev/vitest/issues/3360) [<samp>(7c2f7)</samp>](https://togithub.com/vitest-dev/vitest/commit/7c2f7088) - Pass down meta information to Node.js process - by [@​sheremet-va](https://togithub.com/sheremet-va) and [@​dammy001](https://togithub.com/dammy001) in [https://github.com/vitest-dev/vitest/issues/3449](https://togithub.com/vitest-dev/vitest/issues/3449) [<samp>(e39ad)</samp>](https://togithub.com/vitest-dev/vitest/commit/e39adea8) - **coverage**: Add `reportOnFailure` option - by [@​AriPerkkio](https://togithub.com/AriPerkkio) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3453](https://togithub.com/vitest-dev/vitest/issues/3453) [<samp>(1988f)</samp>](https://togithub.com/vitest-dev/vitest/commit/1988fcb4) - **dev**: Add moduleDirectories option to the vitest config - by [@​fooddilsn](https://togithub.com/fooddilsn) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3337](https://togithub.com/vitest-dev/vitest/issues/3337) [<samp>(b3602)</samp>](https://togithub.com/vitest-dev/vitest/commit/b3602bcc) ##### 🐞 Bug Fixes - Don't print empty diff - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3437](https://togithub.com/vitest-dev/vitest/issues/3437) [<samp>(32b53)</samp>](https://togithub.com/vitest-dev/vitest/commit/32b5361f) - Don't restore methods in automocked dependencies - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3438](https://togithub.com/vitest-dev/vitest/issues/3438) [<samp>(d1afd)</samp>](https://togithub.com/vitest-dev/vitest/commit/d1afd262) - Dot reporter scrollback buffer spam - by [@​gtm-nayan](https://togithub.com/gtm-nayan) in [https://github.com/vitest-dev/vitest/issues/3415](https://togithub.com/vitest-dev/vitest/issues/3415) [<samp>(e6792)</samp>](https://togithub.com/vitest-dev/vitest/commit/e6792a94) - Gracefully exit when first `SIGINT` is received - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3407](https://togithub.com/vitest-dev/vitest/issues/3407) [<samp>(a2cc2)</samp>](https://togithub.com/vitest-dev/vitest/commit/a2cc2b38) - `rejects` & `resolves` breaks with thenable objects - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3456](https://togithub.com/vitest-dev/vitest/issues/3456) [<samp>(4e996)</samp>](https://togithub.com/vitest-dev/vitest/commit/4e996ae5) - Prevent `birpc` timeouts when `Math.random` mock is not restored - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3460](https://togithub.com/vitest-dev/vitest/issues/3460) [<samp>(cd5d5)</samp>](https://togithub.com/vitest-dev/vitest/commit/cd5d58b7) - Assertion diff message now handle non writable property correctly - by [@​PCreations](https://togithub.com/PCreations) in [https://github.com/vitest-dev/vitest/issues/3422](https://togithub.com/vitest-dev/vitest/issues/3422) [<samp>(f75ab)</samp>](https://togithub.com/vitest-dev/vitest/commit/f75ab650) - Extend logging of process timeout errors - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3452](https://togithub.com/vitest-dev/vitest/issues/3452) [<samp>(42643)</samp>](https://togithub.com/vitest-dev/vitest/commit/42643904) - Support requiring files with `less` extension - by [@​rluvaton](https://togithub.com/rluvaton) in [https://github.com/vitest-dev/vitest/issues/3465](https://togithub.com/vitest-dev/vitest/issues/3465) [<samp>(4d045)</samp>](https://togithub.com/vitest-dev/vitest/commit/4d045695) - **cli**: - Improve colors used when erroring - by [@​ghiscoding](https://togithub.com/ghiscoding) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3349](https://togithub.com/vitest-dev/vitest/issues/3349) [<samp>(16681)</samp>](https://togithub.com/vitest-dev/vitest/commit/16681791) - **runner**: - Suite timeout does not take effect - by [@​btea](https://togithub.com/btea) in [https://github.com/vitest-dev/vitest/issues/3455](https://togithub.com/vitest-dev/vitest/issues/3455) [<samp>(82547)</samp>](https://togithub.com/vitest-dev/vitest/commit/82547376) - **spy**: - Don't print received calls if there are no calls - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3405](https://togithub.com/vitest-dev/vitest/issues/3405) [<samp>(41e11)</samp>](https://togithub.com/vitest-dev/vitest/commit/41e11dad) - **typecheck**: - Show tsc errors not related to test files - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3441](https://togithub.com/vitest-dev/vitest/issues/3441) [<samp>(a1da5)</samp>](https://togithub.com/vitest-dev/vitest/commit/a1da5714) - **types**: - Fix `PartialMock` with async TReturns - by [@​ghry5](https://togithub.com/ghry5) in [https://github.com/vitest-dev/vitest/issues/3462](https://togithub.com/vitest-dev/vitest/issues/3462) [<samp>(b664d)</samp>](https://togithub.com/vitest-dev/vitest/commit/b664d42c) - **vite-node**: - Circular import stuck - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3418](https://togithub.com/vitest-dev/vitest/issues/3418) [<samp>(632ee)</samp>](https://togithub.com/vitest-dev/vitest/commit/632eef40) - Coerce to string in import(dep) - by [@​jcbhmr](https://togithub.com/jcbhmr) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3430](https://togithub.com/vitest-dev/vitest/issues/3430) [<samp>(b72eb)</samp>](https://togithub.com/vitest-dev/vitest/commit/b72ebdb9) - Don't remove sourcemap string in source code - by [@​rxliuli](https://togithub.com/rxliuli) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2918](https://togithub.com/vitest-dev/vitest/issues/2918) and [https://github.com/vitest-dev/vitest/issues/3379](https://togithub.com/vitest-dev/vitest/issues/3379) [<samp>(02dc9)</samp>](https://togithub.com/vitest-dev/vitest/commit/02dc9ea7) - Don't externalize "dist" by default - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3446](https://togithub.com/vitest-dev/vitest/issues/3446) [<samp>(306b2)</samp>](https://togithub.com/vitest-dev/vitest/commit/306b2337) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.31.1...v0.31.2) ### [`v0.31.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.31.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.31.0...v0.31.1) ##### 🚀 Features - **watch**: Press `r` should rerun current pattern tests - by [@​Dunqing](https://togithub.com/Dunqing) and [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3305](https://togithub.com/vitest-dev/vitest/issues/3305) [<samp>(69d27)</samp>](https://togithub.com/vitest-dev/vitest/commit/69d27117) ##### 🐞 Bug Fixes - Make sure thrown error is an object - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3298](https://togithub.com/vitest-dev/vitest/issues/3298) [<samp>(a93be)</samp>](https://togithub.com/vitest-dev/vitest/commit/a93be56c) - Remove duplicate type - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3303](https://togithub.com/vitest-dev/vitest/issues/3303) [<samp>(5382e)</samp>](https://togithub.com/vitest-dev/vitest/commit/5382e8b6) - Throw an error, if tests are collected with a different vitest version - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3301](https://togithub.com/vitest-dev/vitest/issues/3301) [<samp>(708b1)</samp>](https://togithub.com/vitest-dev/vitest/commit/708b10fe) - Support application/x-gzip metadata in html report - by [@​mzanelee](https://togithub.com/mzanelee) and **Michael Lee** in [https://github.com/vitest-dev/vitest/issues/3333](https://togithub.com/vitest-dev/vitest/issues/3333) [<samp>(5bf7e)</samp>](https://togithub.com/vitest-dev/vitest/commit/5bf7eb6e) - Correctly restore vi.fn implementation - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3341](https://togithub.com/vitest-dev/vitest/issues/3341) [<samp>(2aff8)</samp>](https://togithub.com/vitest-dev/vitest/commit/2aff8c5f) - Display error message correctly - by [@​btea](https://togithub.com/btea) in [https://github.com/vitest-dev/vitest/issues/3314](https://togithub.com/vitest-dev/vitest/issues/3314) [<samp>(a5b3d)</samp>](https://togithub.com/vitest-dev/vitest/commit/a5b3d78e) - Exclude `cwd` from test name filter - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3353](https://togithub.com/vitest-dev/vitest/issues/3353) [<samp>(324a9)</samp>](https://togithub.com/vitest-dev/vitest/commit/324a9b54) - Check error type before modifying it - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3385](https://togithub.com/vitest-dev/vitest/issues/3385) [<samp>(c44d9)</samp>](https://togithub.com/vitest-dev/vitest/commit/c44d9912) - `toMatchInlineSnapshot` fails when file path includes parentheses - by [@​pacexy](https://togithub.com/pacexy) in [https://github.com/vitest-dev/vitest/issues/3370](https://togithub.com/vitest-dev/vitest/issues/3370) and [https://github.com/vitest-dev/vitest/issues/3371](https://togithub.com/vitest-dev/vitest/issues/3371) [<samp>(dcf13)</samp>](https://togithub.com/vitest-dev/vitest/commit/dcf1346a) - Stop spying on a method, when it's restored - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3386](https://togithub.com/vitest-dev/vitest/issues/3386) [<samp>(2cb1a)</samp>](https://togithub.com/vitest-dev/vitest/commit/2cb1a15a) - Test repeats - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3369](https://togithub.com/vitest-dev/vitest/issues/3369) [<samp>(fb8fc)</samp>](https://togithub.com/vitest-dev/vitest/commit/fb8fc7ab) - **browser**: - Throw an error if test failed to load - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3390](https://togithub.com/vitest-dev/vitest/issues/3390) [<samp>(b354b)</samp>](https://togithub.com/vitest-dev/vitest/commit/b354bc1c) - Keep default export when rewriting exports - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3389](https://togithub.com/vitest-dev/vitest/issues/3389) [<samp>(6501d)</samp>](https://togithub.com/vitest-dev/vitest/commit/6501d2e3) - **cli**: - Improve cac errors when mixing boolean and dot notation - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3302](https://togithub.com/vitest-dev/vitest/issues/3302) [<samp>(93fbd)</samp>](https://togithub.com/vitest-dev/vitest/commit/93fbd02d) - **reporter**: - Prevent deleting test reports stored in coverage directory - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3331](https://togithub.com/vitest-dev/vitest/issues/3331) [<samp>(ddbba)</samp>](https://togithub.com/vitest-dev/vitest/commit/ddbba396) - **typecheck**: - Correctly resolve custom tsconfig path - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3342](https://togithub.com/vitest-dev/vitest/issues/3342) [<samp>(c53ae)</samp>](https://togithub.com/vitest-dev/vitest/commit/c53ae079) - **vite-node**: - Allow returning id not wrapped in promise - by [@​danielroe](https://togithub.com/danielroe) in [https://github.com/vitest-dev/vitest/issues/3312](https://togithub.com/vitest-dev/vitest/issues/3312) [<samp>(9836c)</samp>](https://togithub.com/vitest-dev/vitest/commit/9836ccb4) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.31.0...v0.31.1) ### [`v0.31.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.31.0) [Compare Source](https://togithub.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://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3294](https://togithub.com/vitest-dev/vitest/issues/3294) [<samp>(cf3af)</samp>](https://togithub.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://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3258](https://togithub.com/vitest-dev/vitest/issues/3258) [<samp>(0c09a)</samp>](https://togithub.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://togithub.com/samkevin1) in [https://github.com/vitest-dev/vitest/issues/2652](https://togithub.com/vitest-dev/vitest/issues/2652) [<samp>(7c8f0)</samp>](https://togithub.com/vitest-dev/vitest/commit/7c8f0ba9) - Add an option to hide skipped test lines - by [@​g4rry420](https://togithub.com/g4rry420) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2745](https://togithub.com/vitest-dev/vitest/issues/2745) [<samp>(9bdb1)</samp>](https://togithub.com/vitest-dev/vitest/commit/9bdb1603) - **coverage**: Watermarks for c8 - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3254](https://togithub.com/vitest-dev/vitest/issues/3254) [<samp>(730af)</samp>](https://togithub.com/vitest-dev/vitest/commit/730af0b4) - **ui**: Add html coverage - by [@​userquin](https://togithub.com/userquin) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3071](https://togithub.com/vitest-dev/vitest/issues/3071) [<samp>(e24cd)</samp>](https://togithub.com/vitest-dev/vitest/commit/e24cd9b2) - **watch**: Test run cancelling, feat: `--bail` option for cancelling test run - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3163](https://togithub.com/vitest-dev/vitest/issues/3163) [<samp>(8d460)</samp>](https://togithub.com/vitest-dev/vitest/commit/8d4606eb) ##### 🐞 Bug Fixes - Don't call global setup teardown twice - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3188](https://togithub.com/vitest-dev/vitest/issues/3188) [<samp>(ba3d1)</samp>](https://togithub.com/vitest-dev/vitest/commit/ba3d1338) - Reporter to log version before provider initalizations - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3131](https://togithub.com/vitest-dev/vitest/issues/3131) [<samp>(481b1)</samp>](https://togithub.com/vitest-dev/vitest/commit/481b1fd2) - Throw an error if Vitest cannot access its internal state - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3250](https://togithub.com/vitest-dev/vitest/issues/3250) [<samp>(fbb14)</samp>](https://togithub.com/vitest-dev/vitest/commit/fbb1468e) - Warning suppression broken - by [@​IceQub3](https://togithub.com/IceQub3) in [https://github.com/vitest-dev/vitest/issues/3270](https://togithub.com/vitest-dev/vitest/issues/3270) and [https://github.com/vitest-dev/vitest/issues/3271](https://togithub.com/vitest-dev/vitest/issues/3271) [<samp>(036de)</samp>](https://togithub.com/vitest-dev/vitest/commit/036de797) - Show correct diff in "toHaveBeenCalledWith" - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3289](https://togithub.com/vitest-dev/vitest/issues/3289) [<samp>(19fcd)</samp>](https://togithub.com/vitest-dev/vitest/commit/19fcd8df) - Don't print esm warning, if package name is not found - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3292](https://togithub.com/vitest-dev/vitest/issues/3292) [<samp>(62c14)</samp>](https://togithub.com/vitest-dev/vitest/commit/62c14cba) - Support exactOptionalPropertyTypes - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3293](https://togithub.com/vitest-dev/vitest/issues/3293) [<samp>(ba81d)</samp>](https://togithub.com/vitest-dev/vitest/commit/ba81d8a3) - Don't inline vite hmr and rollup types - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3291](https://togithub.com/vitest-dev/vitest/issues/3291) [<samp>(1f118)</samp>](https://togithub.com/vitest-dev/vitest/commit/1f1189bc) - **browser**: - Failing to load vitest/utils - by [@​userquin](https://togithub.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3190](https://togithub.com/vitest-dev/vitest/issues/3190) [<samp>(78bad)</samp>](https://togithub.com/vitest-dev/vitest/commit/78bad4ab) - **coverage**: - `thresholdAutoUpdate` to work with `perFile` - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3182](https://togithub.com/vitest-dev/vitest/issues/3182) [<samp>(29eeb)</samp>](https://togithub.com/vitest-dev/vitest/commit/29eebf65) - Throw error if fail to load built-in provider - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3217](https://togithub.com/vitest-dev/vitest/issues/3217) [<samp>(0a287)</samp>](https://togithub.com/vitest-dev/vitest/commit/0a2875e3) - Stackblitz hangs with c8 - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3225](https://togithub.com/vitest-dev/vitest/issues/3225) [<samp>(d9fda)</samp>](https://togithub.com/vitest-dev/vitest/commit/d9fda2a1) - C8 to ignore vite's generated helpers - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3241](https://togithub.com/vitest-dev/vitest/issues/3241) [<samp>(21942)</samp>](https://togithub.com/vitest-dev/vitest/commit/21942db0) - Workspaces c8 source maps - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3226](https://togithub.com/vitest-dev/vitest/issues/3226) [<samp>(efce3)</samp>](https://togithub.com/vitest-dev/vitest/commit/efce3b4d) - **docs**: - Correct typo and broken link to WebdriverIO - by [@​nathanbabcock](https://togithub.com/nathanbabcock) in [https://github.com/vitest-dev/vitest/issues/3275](https://togithub.com/vitest-dev/vitest/issues/3275) [<samp>(c7da1)</samp>](https://togithub.com/vitest-dev/vitest/commit/c7da155f) - **spy**: - Update to set initial implementation through normal logic - by [@​Codex-](https://togithub.com/Codex-) in [https://github.com/vitest-dev/vitest/issues/3260](https://togithub.com/vitest-dev/vitest/issues/3260) and [https://github.com/vitest-dev/vitest/issues/3263](https://togithub.com/vitest-dev/vitest/issues/3263) [<samp>(c759a)</samp>](https://togithub.com/vitest-dev/vitest/commit/c759a9aa) - **vite-node**: - Circular imports - by [@​antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/3196](https://togithub.com/vitest-dev/vitest/issues/3196) [<samp>(cbb59)</samp>](https://togithub.com/vitest-dev/vitest/commit/cbb593a8) - Add missing `import.meta.hot.send` mock - by [@​antfu](https://togithub.com/antfu) [<samp>(b1624)</samp>](https://togithub.com/vitest-dev/vitest/commit/b1624db5) - **vitest**: - Also check for vite relative to vitest package - by [@​JoshuaKGoldberg](https://togithub.com/JoshuaKGoldberg) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3274](https://togithub.com/vitest-dev/vitest/issues/3274) [<samp>(a3393)</samp>](https://togithub.com/vitest-dev/vitest/commit/a3393b15) - **watch**: - Run test files when added to filesystem - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3189](https://togithub.com/vitest-dev/vitest/issues/3189) [<samp>(7b2c8)</samp>](https://togithub.com/vitest-dev/vitest/commit/7b2c81bc) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.30.1...v0.31.0) </details> <details> <summary>capricorn86/happy-dom</summary> ### [`v9.20.3`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.20.3) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.20.2...v9.20.3) ##### :construction_worker_man: Patch fixes - Fixes issue where all properties didn't get copied from `HTMLUnknownElement` to a custom element that is replacing it when it is defined. ([#​668](https://togithub.com/capricorn86/happy-dom/issues/668)) ### [`v9.20.2`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.20.2) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.20.1...v9.20.2) ##### :construction_worker_man: Patch fixes - Fixes issue where CSS variable values where not returned by `Window.getComputedStyle()` when calling `CSSStyleDeclaration.getPropertyValue()`. ([#​932](https://togithub.com/capricorn86/happy-dom/issues/932)) ### [`v9.20.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.20.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.20.0...v9.20.1) ##### :construction_worker_man: Patch fixes - Fixes problem with `querySelectorAll()` where it didn't always return elements in document order. ([#​928](https://togithub.com/capricorn86/happy-dom/issues/928)) ### [`v9.20.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.20.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.19.2...v9.20.0) ##### :art: Features - Adds support for disabling the simulation of rendering when calculating computed style. The rendering process converts units such as rem, em and cm to pixels, but it is very limited. ([#​929](https://togithub.com/capricorn86/happy-dom/issues/929)) - Changes the behavior of converting percentage values to "0px" when calculating computed style (as it fails to convert) to just leave the values. ### [`v9.19.2`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.19.2) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.19.1...v9.19.2) ##### :construction_worker_man: Patch fixes - Fixes issue where attribute selectors with an operator and with a value without quatation marks no longer worked (e.g. "\[attr^=value]"). ([#​923](https://togithub.com/capricorn86/happy-dom/issues/923)) ### [`v9.19.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.19.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.19.0...v9.19.1) ##### :construction_worker_man: Patch fixes - Adds support for the mime type "apng" to `XMLHttpRequest` *** Thank you [@​btea](https://togithub.com/btea) for your contribution! ### [`v9.19.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.19.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.18.3...v9.19.0) ##### :art: Features - Adds support for "rem", "em", "vw", "vh", "vmin", "vmax", "cm", "mm", "in", "pt", "pc", "Q" measurement values to `Window.getComputedStyle()` and `Window.matchMedia()` ([#​921](https://togithub.com/capricorn86/happy-dom/issues/921)) - Adds support for "%" measurement values to `Window.getComputedStyle()` and `Window.matchMedia()` when setting font size (other properties will be set to "0px") ([#​921](https://togithub.com/capricorn86/happy-dom/issues/921)) - Sets "font: 16px "Times new Roman"" as default font on the `<html>` when using `Window.getComputedStyle()` ([#​921](https://togithub.com/capricorn86/happy-dom/issues/921)) - Adds support for "outline", "outline-color", "outline-style", "outline-width", "outline-offset", "letter-spacing", "word-spacing" and "text-indent" to `CSSStyleDeclaration`. ([#​921](https://togithub.com/capricorn86/happy-dom/issues/921)) - Adds support for the media query rules "orientation", "prefers-color-scheme", "any-hover", "hover", "any-pointer", "pointer", "display-mode", "width", "height", "min-aspect-ratio", "max-aspect-ratio" and "aspect-ratio" ([#​921](https://togithub.com/capricorn86/happy-dom/issues/921)) - Improves support for the media query rules "min-width", "max-width", "min-height" and "max-height" ([#​921](https://togithub.com/capricorn86/happy-dom/issues/921)) - Adds support for media types "all", "screen" and "print" to media queries ([#​921](https://togithub.com/capricorn86/happy-dom/issues/921)) - Adds support for the "only", "not", "and" and "or" operators to media queries ([#​921](https://togithub.com/capricorn86/happy-dom/issues/921)) - Adds support for ranges to media queries ([#​921](https://togithub.com/capricorn86/happy-dom/issues/921)) - Adds support for "@​-webkit-keyframes", "@​-webkit-container" and "@​-webkit-supports" to CSS parser ([#​921](https://togithub.com/capricorn86/happy-dom/issues/921)) ##### :construction_worker_man: Patch fixes - Adds support for ignoring unknown "@​" rules to the CSS parser. ([#​921](https://togithub.com/capricorn86/happy-dom/issues/921)) - Adds support for the "height" property to `CSSStyleDeclaration`. Not having support for "height" was missed somehow, as we have support for "width". ([#​922](https://togithub.com/capricorn86/happy-dom/issues/922)) ### [`v9.18.3`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.18.3) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.18.2...v9.18.3) ##### :construction_worker_man: Patch fixes - Fixes issue where non-string values did not get converted to strings in `CharacterData.data`, `CharacterData.nodeValue` or `CharacterData.textContent`. ([#​819](https://togithub.com/capricorn86/happy-dom/issues/819)) ### [`v9.18.2`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.18.2) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.18.1...v9.18.2) ##### :construction_worker_man: Patch fixes - Fixes issue in the XML parser where it failed to parse comments including dash characters (-). ([#​916](https://togithub.com/capricorn86/happy-dom/issues/916)) *** Thank you [@​gtm-nayan](https://togithub.com/gtm-nayan) for your contribution! ### [`v9.18.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.18.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.18.0...v9.18.1) ##### :construction_worker_man: Patch fixes - Fixes issue where attribute query selectors using "~" or "|" as operators for finding attributes containing a word did not match when there was only one word. ([#​914](https://togithub.com/capricorn86/happy-dom/issues/914)) ### [`v9.18.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.18.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.17.0...v9.18.0) ##### :art: Features - Adds support for triggering an error event when attempting to fetch a CSS file or Javascript file when it has been disabled using "window.happyDOM.settings.\*". ([#​849](https://togithub.com/capricorn86/happy-dom/issues/849)) ### [`v9.17.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.17.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.16.0...v9.17.0) ##### :art: Features - Adds support for "i" and "s" modifiers to attribute query selectors. ([#​911](https://togithub.com/capricorn86/happy-dom/issues/911)) ### [`v9.16.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.16.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.15.0...v9.16.0) ##### :art: Features - Adds support for encoding HTML entities to the XML parser. ([#​908](https://togithub.com/capricorn86/happy-dom/issues/908)) - Adds support for escaping text to `XMLSerializer.serializeToString()`. ([#​908](https://togithub.com/capricorn86/happy-dom/issues/908)) ### [`v9.15.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.15.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.14.0...v9.15.0) ##### :art: Features - Changes deprecated "shadowroot" attribute to "shadowrootmode" in [Declarative Shadow DOM](https://developer.chrome.com/articles/declarative-shadow-dom/) generated by `Element.getInnerHTML()`. ([#​898](https://togithub.com/capricorn86/happy-dom/issues/898)) *** Thank you [@​crypto-scythe](https://togithub.com/crypto-scythe) for your contribution! ### [`v9.14.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.14.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.13.1...v9.14.0) ##### :art: Features - Adds support for `Document.links`. ([#​896](https://togithub.com/capricorn86/happy-dom/issues/896)) *** Thank you [@​btea](https://togithub.com/btea) for your contribution! ### [`v9.13.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.13.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.13.0...v9.13.1) ##### :construction_worker_man: Patch fixes - Fixes issue related to "@​" CSS rules in (e.g. "@​-webkit-keyframes") causing an exception to be thrown in `CSSStyleDeclaration`. ([#​889](https://togithub.com/capricorn86/happy-dom/issues/889)) *** Thank you [@​btea](https://togithub.com/btea) for your contribution! ### [`v9.13.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.13.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.12.0...v9.13.0) ##### :art: Features - Improves performance of `Element.querySelectorAll()`. The performance was decreased after the implementation of document sorting order, due to the fact that it relied on `Object.assign()` for each match, which is slower than iterating through all matches in the end. ([#​909](https://togithub.com/capricorn86/happy-dom/issues/909)) ### [`v9.12.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.12.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.11.0...v9.12.0) ##### :art: Features - Adds support for the "of selector" to ":nth-child" and ":nth-last-child" query selectors. ([#​905](https://togithub.com/capricorn86/happy-dom/issues/905)) ##### :construction_worker_man: Patch fixes - Fixes bug but where "nth-\*" query selectors didn't return the correct elements when prefixing "n" with "-". ([#​905](https://togithub.com/capricorn86/happy-dom/issues/905)) ### [`v9.11.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.11.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.10.9...v9.11.0) ##### :art: Features - Refactors the XML parser, which fixes several issues related to parsing complex HTML (e.g. attributes containing ">"). ([#​578](https://togithub.com/capricorn86/happy-dom/issues/578)) - Improves performance of XML parsing significantly. ([#​578](https://togithub.com/capricorn86/happy-dom/issues/578)) ### [`v9.10.9`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.10.9) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.10.8...v9.10.9) ##### :construction_worker_man: Patch fixes - Adds support for `Request.formData()`. ([#​892](https://togithub.com/capricorn86/happy-dom/issues/892)) *** Thank you [@​rolandjohann](https://togithub.com/rolandjohann) for your contribution! ### [`v9.10.8`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.10.8) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.10.7...v9.10.8) ##### :construction_worker_man: Patch fixes - Fixes an issue where `HTMLAnchorElement.toString()` returned "HTMLElement.outerHTML", but should return "HTMLAnchorElement.href" according to spec. ([#​890](https://togithub.com/capricorn86/happy-dom/issues/890)) *** Thank you [@​Schleuse](https://togithub.com/Schleuse) for your contribution! ### [`v9.10.7`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.10.7) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.10.6...v9.10.7) ##### :construction_worker_man: Patch fixes - Fix for parsing CSS comments with asterisks. ([#​887](https://togithub.com/capricorn86/happy-dom/issues/887)) *** Thank you for your contribution [@​htuomola](https://togithub.com/htuomola)! ### [`v9.10.6`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.10.6) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.10.5...v9.10.6) ##### :construction_worker_man: Patch fixes - Fixes bug where errors where not handled correctly when performing a synchronous request with `XMLHttpRequest`. ([#​795](https://togithub.com/capricorn86/happy-dom/issues/795)) - Adds support for `XMLHttpRequest.response`. ([#​788](https://togithub.com/capricorn86/happy-dom/issues/788)) *** Thank you [@​Mas0nShi](https://togithub.com/Mas0nShi) for your contribution! ### [`v9.10.5`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.10.5) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.10.4...v9.10.5) ##### :construction_worker_man: Patch fixes - Fixes issue in `HTMLCollection` and `HTMLFormControlsCollection` related to id/name of elements colliding with class properties and methods. ([#​875](https://togithub.com/capricorn86/happy-dom/issues/875)) ### [`v9.10.4`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.10.4) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.10.3...v9.10.4) ##### :construction_worker_man: Patch fixes - Fixes issue related to query selection for attributes not using apostrophe for the value. This caused an issue with finding elements by text in Testing Library. ([#​883](https://togithub.com/capricorn86/happy-dom/issues/883)) ### [`v9.10.3`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.10.3) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.10.2...v9.10.3) ##### :construction_worker_man: Patch fixes - Fixes issue where React "onChange" listeners never got executed when triggering a `click()`. ([#​880](https://togithub.com/capricorn86/happy-dom/issues/880)) - Fixes issue where it was not possible to use multiple pseudo query selectors (e.g. "input:not(\[type]):not(\[list])"). This solves a problem in Testing Library where it failed to find elements by role "checkbox". ([#​880](https://togithub.com/capricorn86/happy-dom/issues/880)) ### [`v9.10.2`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.10.2) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.10.1...v9.10.2) ##### :construction_worker_man: Patch fixes - Fixes issue related to query selection for attributes with empty value (e.g. '\[attr1=""]'). ([#​881](https://togithub.com/capricorn86/happy-dom/issues/881)) ### [`v9.10.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.10.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.10.0...v9.10.1) ##### :construction_worker_man: Patch fixes - Adds support for using escaped characters to ID:s in query selectors (e.g. "#\\\\:id"). ([#​877](https://togithub.com/capricorn86/happy-dom/issues/877)) ### [`v9.10.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.10.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.9.2...v9.10.0) ##### :art: Features - Refactors the internal logic of how query selection works to improve performance and make maintenance easier. ([#​792](https://togithub.com/capricorn86/happy-dom/issues/792)) - Adds support for adjacent sibling to query selectors (e.g. ".a + .b"). ([#​792](https://togithub.com/capricorn86/happy-dom/issues/792)) ##### :construction_worker_man: Patch fixes - Fixes issue where `*.querySelectorAll()` did not return elements in document order. ([#​285](https://togithub.com/capricorn86/happy-dom/issues/285)) </details> <details> <summary>isaacs/rimraf</summary> ### [`v5.0.1`](https://togithub.com/isaacs/rimraf/compare/v5.0.0...v5.0.1) [Compare Source](https://togithub.com/isaacs/rimraf/compare/v5.0.0...v5.0.1) </details> <details> <summary>semantic-release/semantic-release</summary> ### [`v21.0.5`](https://togithub.com/semantic-release/semantic-release/releases/tag/v21.0.5) [Compare Source](https://togithub.com/semantic-release/semantic-release/compare/v21.0.4...v21.0.5) ##### Bug Fixes - **deps:** update dependency marked to v5 ([452e1fa](https://togithub.com/semantic-release/semantic-release/commit/452e1fa4b99759f408b503480e7a1ee8cc76f007)) ### [`v21.0.4`](https://togithub.com/semantic-release/semantic-release/releases/tag/v21.0.4) [Compare Source](https://togithub.com/semantic-release/semantic-release/compare/v21.0.3...v21.0.4) ##### Bug Fixes - **deps:** update dependency [@​semantic-release/error](https://togithub.com/semantic-release/error) to v4 ([d259350](https://togithub.com/semantic-release/semantic-release/commit/d259350c3ed274078fb5bd000250966c93b64503)) ### [`v21.0.3`](https://togithub.com/semantic-release/semantic-release/releases/tag/v21.0.3) [Compare Source](https://togithub.com/semantic-release/semantic-release/compare/v21.0.2...v21.0.3) ##### Bug Fixes - bump `@semantic-release/commit-analyzer` to `v10.0.0-beta.1` ([4a6b31f](https://togithub.com/semantic-release/semantic-release/commit/4a6b31f57e84287aaa8e4868d57ba54aa2ca2b71)) - bump `@semantic-release/github` to `9.0.0-beta.2` ([#​2818](https://togithub.com/semantic-release/semantic-release/issues/2818)) ([6f19d77](https://togithub.com/semantic-release/semantic-release/commit/6f19d77e54e21ae3a4e83a992119effb923afc94)) - **deps:** updated the beta plugins to stable versions ([3941018](https://togithub.com/semantic-release/semantic-release/commit/39410186dfd3c24c30a9b316a83d466af6c54ace)) ### [`v21.0.2`](https://togithub.com/semantic-release/semantic-release/releases/tag/v21.0.2) [Compare Source](https://togithub.com/semantic-release/semantic-release/compare/v21.0.1...v21.0.2) ##### Bug Fixes - **deps:** update dependency [@​semantic-release/release-notes-generator](https://togithub.com/semantic-release/release-notes-generator) to v11 ([#​2778](https://togithub.com/semantic-release/semantic-release/issues/2778)) ([ac40804](https://togithub.com/semantic-release/semantic-release/commit/ac40804dc4b90df783bbee3e439e03cefb76c47f)) </details> <details> <summary>TypeStrong/TypeDoc</summary> ### [`v0.24.8`](https://togithub.com/TypeStrong/TypeDoc/blob/HEAD/CHANGELOG.md#v0248-2023-06-04) [Compare Source](https://togithub.com/TypeStrong/TypeDoc/compare/v0.24.7...v0.24.8) ##### Features - Added support for TypeScript 5.1, [#​2296](https://togithub.com/TypeStrong/TypeDoc/issues/2296). - Added `navigation.fullTree` to control rendering the full navigation tree on each page, [#​2287](https://togithub.com/TypeStrong/TypeDoc/issues/2287). This option will likely be replaced in 0.25 with dynamic loading of the full tree. - TypeDoc's `--pretty` option now also controls whether generated HTML contains line breaks, [#​2287](https://togithub.com/TypeStrong/TypeDoc/issues/2287). - Optimized icon caching to reduce file size in generated HTML documentation, [#​2287](https://togithub.com/TypeStrong/TypeDoc/issues/2287). - Render property description of "roughly top level" object types, [#​2276](https://togithub.com/TypeStrong/TypeDoc/issues/2276). - Added `MarkdownEvent.INCLUDE` for plugins, [#​2284](https://togithub.com/TypeStrong/TypeDoc/issues/2284). ##### Bug Fixes - When rendering functions/methods, TypeDoc will now render the comment summary above the parameters/return type, and any other block tags in the order they are defined in the comment, [#​2285](https://togithub.com/TypeStrong/TypeDoc/issues/2285). - Comments are no longer removed from classes/interfaces containing call signatures, [#​2290](https://togithub.com/TypeStrong/TypeDoc/issues/2290). ##### Thanks! - [@​krisztianb](https://togithub.com/krisztianb) - [@​WikiRik](https://togithub.com/WikiRik) ### [`v0.24.7`](https://togithub.com/TypeStrong/TypeDoc/blob/HEAD/CHANGELOG.md#v0247-2023-05-08) [Compare Source](https://togithub.com/TypeStrong/TypeDoc/compare/v0.24.6...v0.24.7) ##### Features - TypeDoc will now allow conversion without any entry points to support "readme only" packages, [#​2264](https://togithub.com/TypeStrong/TypeDoc/issues/2264). ##### Bug Fixes - Category children are now sorted according to the `sort` option, [#​2272](https://togithub.com/TypeStrong/TypeDoc/issues/2272). - Inline tags no longer require a space after the tag name to be parsed as a tag, [#​2273](https://togithub.com/TypeStrong/TypeDoc/issues/2273). - Fixed module/namespace links in navigation when viewed in Safari, [#​2275](https://togithub.com/TypeStrong/TypeDoc/issues/2275). </details> <details> <summary>Microsoft/TypeScript</summary> ### [`v5.1.3`](https://togithub.com/microsoft/TypeScript/releases/tag/v5.1.3): TypeScript 5.1.3 [Compare Source](https://togithub.com/Microsoft/TypeScript/compare/v5.0.4...v5.1.3) For release notes, check out the [release announcement](https://devblogs.microsoft.com/typescript/announcing-typescript-5-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. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.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://app.renovatebot.com/dashboard#github/andipaetzold/react-firehooks). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS42My4xIiwidXBkYXRlZEluVmVyIjoiMzUuMTEwLjAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![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://togithub.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://togithub.com/vitest-dev/vitest/releases/tag/v0.32.2) [Compare Source](https://togithub.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://togithub.com/sheremet-va) [<samp>(00b0e)</samp>](https://togithub.com/vitest-dev/vitest/commit/00b0e6a3) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.32.1...v0.32.2) ### [`v0.32.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.32.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.32.0...v0.32.1) ##### 🚀 Features - Export `registerConsoleShortcuts` from `vitest/node` - by [@​deot](https://togithub.com/deot) in [https://github.com/vitest-dev/vitest/issues/3563](https://togithub.com/vitest-dev/vitest/issues/3563) [<samp>(bc49b)</samp>](https://togithub.com/vitest-dev/vitest/commit/bc49bac7) - **expect**: Support `expect.unreachable` - by [@​fenghan34](https://togithub.com/fenghan34) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3556](https://togithub.com/vitest-dev/vitest/issues/3556) [<samp>(8e385)</samp>](https://togithub.com/vitest-dev/vitest/commit/8e385bb0) - **runner**: `describe`/`test` name support anonymous function - by [@​btea](https://togithub.com/btea) in [https://github.com/vitest-dev/vitest/issues/3562](https://togithub.com/vitest-dev/vitest/issues/3562) [<samp>(3d436)</samp>](https://togithub.com/vitest-dev/vitest/commit/3d43638c) ##### 🐞 Bug Fixes - Avoid call stack recursion with large error (fix: [#​3060](https://togithub.com/vitest-dev/vitest/issues/3060)) - by [@​nathanmmiller](https://togithub.com/nathanmmiller) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3078](https://togithub.com/vitest-dev/vitest/issues/3078) and [https://github.com/vitest-dev/vitest/issues/3060](https://togithub.com/vitest-dev/vitest/issues/3060) [<samp>(02196)</samp>](https://togithub.com/vitest-dev/vitest/commit/02196f9d) - Automatically remove define related configuration - by [@​btea](https://togithub.com/btea) in [https://github.com/vitest-dev/vitest/issues/3552](https://togithub.com/vitest-dev/vitest/issues/3552) [<samp>(368b8)</samp>](https://togithub.com/vitest-dev/vitest/commit/368b8259) - Import `performance` from `perf_hooks` - by [@​Max10240](https://togithub.com/Max10240) and **wangbaolong.wbl** in [https://github.com/vitest-dev/vitest/issues/3578](https://togithub.com/vitest-dev/vitest/issues/3578) and [https://github.com/vitest-dev/vitest/issues/3579](https://togithub.com/vitest-dev/vitest/issues/3579) [<samp>(24ec8)</samp>](https://togithub.com/vitest-dev/vitest/commit/24ec85a8) - Revert concordance diff, use jest's diff output - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3582](https://togithub.com/vitest-dev/vitest/issues/3582) [<samp>(9c7ea)</samp>](https://togithub.com/vitest-dev/vitest/commit/9c7ea382) - Typo in config suggestion - by [@​Krisell](https://togithub.com/Krisell) in [https://github.com/vitest-dev/vitest/issues/3583](https://togithub.com/vitest-dev/vitest/issues/3583) [<samp>(68985)</samp>](https://togithub.com/vitest-dev/vitest/commit/689855bb) - **browser**: - Change optimized deps to use `vitest` - by [@​userquin](https://togithub.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3580](https://togithub.com/vitest-dev/vitest/issues/3580) [<samp>(b4ac8)</samp>](https://togithub.com/vitest-dev/vitest/commit/b4ac88e9) - Access **vi_inject** only if it was injected - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3587](https://togithub.com/vitest-dev/vitest/issues/3587) [<samp>(d9e14)</samp>](https://togithub.com/vitest-dev/vitest/commit/d9e1419a) - **mocker**: - Respect namespace import when hoisting vi.mock - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3547](https://togithub.com/vitest-dev/vitest/issues/3547) [<samp>(158c4)</samp>](https://togithub.com/vitest-dev/vitest/commit/158c4bb0) - **ui**: - Navigate to dashboard when re-running tests from coverage page - by [@​userquin](https://togithub.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3529](https://togithub.com/vitest-dev/vitest/issues/3529) [<samp>(bc283)</samp>](https://togithub.com/vitest-dev/vitest/commit/bc283ae3) - **vite-node**: - Correctly resolve virtual modules - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3544](https://togithub.com/vitest-dev/vitest/issues/3544) [<samp>(0cbb0)</samp>](https://togithub.com/vitest-dev/vitest/commit/0cbb07b4) - Fix errors caused by commonjs export circular references - by [@​rxliuli](https://togithub.com/rxliuli) in [https://github.com/vitest-dev/vitest/issues/3570](https://togithub.com/vitest-dev/vitest/issues/3570) [<samp>(b097c)</samp>](https://togithub.com/vitest-dev/vitest/commit/b097cef8) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.32.0...v0.32.1) ### [`v0.32.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.32.0) [Compare Source](https://togithub.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://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3307](https://togithub.com/vitest-dev/vitest/issues/3307) [<samp>(1ad63)</samp>](https://togithub.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://togithub.com/nickmccurdy) in [https://github.com/vitest-dev/vitest/issues/3392](https://togithub.com/vitest-dev/vitest/issues/3392) [<samp>(19ecc)</samp>](https://togithub.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://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3339](https://togithub.com/vitest-dev/vitest/issues/3339) [<samp>(82112)</samp>](https://togithub.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://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3518](https://togithub.com/vitest-dev/vitest/issues/3518) [<samp>(c1004)</samp>](https://togithub.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://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3490](https://togithub.com/vitest-dev/vitest/issues/3490) [<samp>(89842)</samp>](https://togithub.com/vitest-dev/vitest/commit/898422b0) - Image type add apng - by [@​btea](https://togithub.com/btea) in [https://github.com/vitest-dev/vitest/issues/3498](https://togithub.com/vitest-dev/vitest/issues/3498) [<samp>(a53c2)</samp>](https://togithub.com/vitest-dev/vitest/commit/a53c2151) - **expect**: Support `expect.soft` - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3507](https://togithub.com/vitest-dev/vitest/issues/3507) [<samp>(7c687)</samp>](https://togithub.com/vitest-dev/vitest/commit/7c687ada) - **runner**: Support using function/class as `describe`/`test` name - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3497](https://togithub.com/vitest-dev/vitest/issues/3497) [<samp>(15253)</samp>](https://togithub.com/vitest-dev/vitest/commit/15253890) ##### 🐞 Bug Fixes - The cli option is passed to coverage.exclude - by [@​btea](https://togithub.com/btea) in [https://github.com/vitest-dev/vitest/issues/3506](https://togithub.com/vitest-dev/vitest/issues/3506) [<samp>(c37cd)</samp>](https://togithub.com/vitest-dev/vitest/commit/c37cdebe) - **optimizer**: Always respect optimizeDeps even if include/exclude is overridden - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3488](https://togithub.com/vitest-dev/vitest/issues/3488) [<samp>(eb285)</samp>](https://togithub.com/vitest-dev/vitest/commit/eb285ea0) - **runner**: Ensure Vitest is deduped - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3489](https://togithub.com/vitest-dev/vitest/issues/3489) [<samp>(2deb7)</samp>](https://togithub.com/vitest-dev/vitest/commit/2deb70ab) - **ui**: Don't cache coverage assets - by [@​userquin](https://togithub.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3508](https://togithub.com/vitest-dev/vitest/issues/3508) [<samp>(952b5)</samp>](https://togithub.com/vitest-dev/vitest/commit/952b5be6) - **vite-node**: Circular import stuck - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3480](https://togithub.com/vitest-dev/vitest/issues/3480) [<samp>(50f07)</samp>](https://togithub.com/vitest-dev/vitest/commit/50f0700d) - **watch**: Junit reporter fails to re-generate report - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3496](https://togithub.com/vitest-dev/vitest/issues/3496) [<samp>(5b73c)</samp>](https://togithub.com/vitest-dev/vitest/commit/5b73cbf8) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.31.4...v0.32.0) ### [`v0.31.4`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.31.4) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.31.3...v0.31.4) ##### 🚀 Features - Enable experimentalOptimizer - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3413](https://togithub.com/vitest-dev/vitest/issues/3413) [<samp>(5a894)</samp>](https://togithub.com/vitest-dev/vitest/commit/5a894aa2) ##### 🐞 Bug Fixes - **vite-node**: Deps.inline doesn't work - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3485](https://togithub.com/vitest-dev/vitest/issues/3485) [<samp>(be930)</samp>](https://togithub.com/vitest-dev/vitest/commit/be93032f) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.31.3...v0.31.4) ### [`v0.31.3`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.31.3) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.31.2...v0.31.3) ##### 🚀 Features - Support `VITE_NODE_DEPS_MODULE_DIRECTORIES` from .npmrc - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3471](https://togithub.com/vitest-dev/vitest/issues/3471) [<samp>(393bf)</samp>](https://togithub.com/vitest-dev/vitest/commit/393bf60c) ##### 🐞 Bug Fixes - **logger**: Print unhandled errors before summary - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3474](https://togithub.com/vitest-dev/vitest/issues/3474) [<samp>(4c9a7)</samp>](https://togithub.com/vitest-dev/vitest/commit/4c9a7d58) - **runner**: Suite options do not propagate to nested suites (fix: [#​3467](https://togithub.com/vitest-dev/vitest/issues/3467)) - by [@​xsjcTony](https://togithub.com/xsjcTony) in [https://github.com/vitest-dev/vitest/issues/3473](https://togithub.com/vitest-dev/vitest/issues/3473) and [https://github.com/vitest-dev/vitest/issues/3467](https://togithub.com/vitest-dev/vitest/issues/3467) [<samp>(9fb9d)</samp>](https://togithub.com/vitest-dev/vitest/commit/9fb9dacb) - **vite-node**: Clear importers when invalidating module - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3475](https://togithub.com/vitest-dev/vitest/issues/3475) [<samp>(add29)</samp>](https://togithub.com/vitest-dev/vitest/commit/add29c86) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.31.2...v0.31.3) ### [`v0.31.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.31.2) [Compare Source](https://togithub.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://togithub.com/fenghan34) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3360](https://togithub.com/vitest-dev/vitest/issues/3360) [<samp>(7c2f7)</samp>](https://togithub.com/vitest-dev/vitest/commit/7c2f7088) - Pass down meta information to Node.js process - by [@​sheremet-va](https://togithub.com/sheremet-va) and [@​dammy001](https://togithub.com/dammy001) in [https://github.com/vitest-dev/vitest/issues/3449](https://togithub.com/vitest-dev/vitest/issues/3449) [<samp>(e39ad)</samp>](https://togithub.com/vitest-dev/vitest/commit/e39adea8) - **coverage**: Add `reportOnFailure` option - by [@​AriPerkkio](https://togithub.com/AriPerkkio) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3453](https://togithub.com/vitest-dev/vitest/issues/3453) [<samp>(1988f)</samp>](https://togithub.com/vitest-dev/vitest/commit/1988fcb4) - **dev**: Add moduleDirectories option to the vitest config - by [@​fooddilsn](https://togithub.com/fooddilsn) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3337](https://togithub.com/vitest-dev/vitest/issues/3337) [<samp>(b3602)</samp>](https://togithub.com/vitest-dev/vitest/commit/b3602bcc) ##### 🐞 Bug Fixes - Don't print empty diff - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3437](https://togithub.com/vitest-dev/vitest/issues/3437) [<samp>(32b53)</samp>](https://togithub.com/vitest-dev/vitest/commit/32b5361f) - Don't restore methods in automocked dependencies - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3438](https://togithub.com/vitest-dev/vitest/issues/3438) [<samp>(d1afd)</samp>](https://togithub.com/vitest-dev/vitest/commit/d1afd262) - Dot reporter scrollback buffer spam - by [@​gtm-nayan](https://togithub.com/gtm-nayan) in [https://github.com/vitest-dev/vitest/issues/3415](https://togithub.com/vitest-dev/vitest/issues/3415) [<samp>(e6792)</samp>](https://togithub.com/vitest-dev/vitest/commit/e6792a94) - Gracefully exit when first `SIGINT` is received - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3407](https://togithub.com/vitest-dev/vitest/issues/3407) [<samp>(a2cc2)</samp>](https://togithub.com/vitest-dev/vitest/commit/a2cc2b38) - `rejects` & `resolves` breaks with thenable objects - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3456](https://togithub.com/vitest-dev/vitest/issues/3456) [<samp>(4e996)</samp>](https://togithub.com/vitest-dev/vitest/commit/4e996ae5) - Prevent `birpc` timeouts when `Math.random` mock is not restored - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3460](https://togithub.com/vitest-dev/vitest/issues/3460) [<samp>(cd5d5)</samp>](https://togithub.com/vitest-dev/vitest/commit/cd5d58b7) - Assertion diff message now handle non writable property correctly - by [@​PCreations](https://togithub.com/PCreations) in [https://github.com/vitest-dev/vitest/issues/3422](https://togithub.com/vitest-dev/vitest/issues/3422) [<samp>(f75ab)</samp>](https://togithub.com/vitest-dev/vitest/commit/f75ab650) - Extend logging of process timeout errors - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3452](https://togithub.com/vitest-dev/vitest/issues/3452) [<samp>(42643)</samp>](https://togithub.com/vitest-dev/vitest/commit/42643904) - Support requiring files with `less` extension - by [@​rluvaton](https://togithub.com/rluvaton) in [https://github.com/vitest-dev/vitest/issues/3465](https://togithub.com/vitest-dev/vitest/issues/3465) [<samp>(4d045)</samp>](https://togithub.com/vitest-dev/vitest/commit/4d045695) - **cli**: - Improve colors used when erroring - by [@​ghiscoding](https://togithub.com/ghiscoding) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3349](https://togithub.com/vitest-dev/vitest/issues/3349) [<samp>(16681)</samp>](https://togithub.com/vitest-dev/vitest/commit/16681791) - **runner**: - Suite timeout does not take effect - by [@​btea](https://togithub.com/btea) in [https://github.com/vitest-dev/vitest/issues/3455](https://togithub.com/vitest-dev/vitest/issues/3455) [<samp>(82547)</samp>](https://togithub.com/vitest-dev/vitest/commit/82547376) - **spy**: - Don't print received calls if there are no calls - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3405](https://togithub.com/vitest-dev/vitest/issues/3405) [<samp>(41e11)</samp>](https://togithub.com/vitest-dev/vitest/commit/41e11dad) - **typecheck**: - Show tsc errors not related to test files - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3441](https://togithub.com/vitest-dev/vitest/issues/3441) [<samp>(a1da5)</samp>](https://togithub.com/vitest-dev/vitest/commit/a1da5714) - **types**: - Fix `PartialMock` with async TReturns - by [@​ghry5](https://togithub.com/ghry5) in [https://github.com/vitest-dev/vitest/issues/3462](https://togithub.com/vitest-dev/vitest/issues/3462) [<samp>(b664d)</samp>](https://togithub.com/vitest-dev/vitest/commit/b664d42c) - **vite-node**: - Circular import stuck - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3418](https://togithub.com/vitest-dev/vitest/issues/3418) [<samp>(632ee)</samp>](https://togithub.com/vitest-dev/vitest/commit/632eef40) - Coerce to string in import(dep) - by [@​jcbhmr](https://togithub.com/jcbhmr) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3430](https://togithub.com/vitest-dev/vitest/issues/3430) [<samp>(b72eb)</samp>](https://togithub.com/vitest-dev/vitest/commit/b72ebdb9) - Don't remove sourcemap string in source code - by [@​rxliuli](https://togithub.com/rxliuli) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2918](https://togithub.com/vitest-dev/vitest/issues/2918) and [https://github.com/vitest-dev/vitest/issues/3379](https://togithub.com/vitest-dev/vitest/issues/3379) [<samp>(02dc9)</samp>](https://togithub.com/vitest-dev/vitest/commit/02dc9ea7) - Don't externalize "dist" by default - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3446](https://togithub.com/vitest-dev/vitest/issues/3446) [<samp>(306b2)</samp>](https://togithub.com/vitest-dev/vitest/commit/306b2337) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.31.1...v0.31.2) ### [`v0.31.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.31.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.31.0...v0.31.1) ##### 🚀 Features - **watch**: Press `r` should rerun current pattern tests - by [@​Dunqing](https://togithub.com/Dunqing) and [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3305](https://togithub.com/vitest-dev/vitest/issues/3305) [<samp>(69d27)</samp>](https://togithub.com/vitest-dev/vitest/commit/69d27117) ##### 🐞 Bug Fixes - Make sure thrown error is an object - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3298](https://togithub.com/vitest-dev/vitest/issues/3298) [<samp>(a93be)</samp>](https://togithub.com/vitest-dev/vitest/commit/a93be56c) - Remove duplicate type - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3303](https://togithub.com/vitest-dev/vitest/issues/3303) [<samp>(5382e)</samp>](https://togithub.com/vitest-dev/vitest/commit/5382e8b6) - Throw an error, if tests are collected with a different vitest version - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3301](https://togithub.com/vitest-dev/vitest/issues/3301) [<samp>(708b1)</samp>](https://togithub.com/vitest-dev/vitest/commit/708b10fe) - Support application/x-gzip metadata in html report - by [@​mzanelee](https://togithub.com/mzanelee) and **Michael Lee** in [https://github.com/vitest-dev/vitest/issues/3333](https://togithub.com/vitest-dev/vitest/issues/3333) [<samp>(5bf7e)</samp>](https://togithub.com/vitest-dev/vitest/commit/5bf7eb6e) - Correctly restore vi.fn implementation - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3341](https://togithub.com/vitest-dev/vitest/issues/3341) [<samp>(2aff8)</samp>](https://togithub.com/vitest-dev/vitest/commit/2aff8c5f) - Display error message correctly - by [@​btea](https://togithub.com/btea) in [https://github.com/vitest-dev/vitest/issues/3314](https://togithub.com/vitest-dev/vitest/issues/3314) [<samp>(a5b3d)</samp>](https://togithub.com/vitest-dev/vitest/commit/a5b3d78e) - Exclude `cwd` from test name filter - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3353](https://togithub.com/vitest-dev/vitest/issues/3353) [<samp>(324a9)</samp>](https://togithub.com/vitest-dev/vitest/commit/324a9b54) - Check error type before modifying it - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3385](https://togithub.com/vitest-dev/vitest/issues/3385) [<samp>(c44d9)</samp>](https://togithub.com/vitest-dev/vitest/commit/c44d9912) - `toMatchInlineSnapshot` fails when file path includes parentheses - by [@​pacexy](https://togithub.com/pacexy) in [https://github.com/vitest-dev/vitest/issues/3370](https://togithub.com/vitest-dev/vitest/issues/3370) and [https://github.com/vitest-dev/vitest/issues/3371](https://togithub.com/vitest-dev/vitest/issues/3371) [<samp>(dcf13)</samp>](https://togithub.com/vitest-dev/vitest/commit/dcf1346a) - Stop spying on a method, when it's restored - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3386](https://togithub.com/vitest-dev/vitest/issues/3386) [<samp>(2cb1a)</samp>](https://togithub.com/vitest-dev/vitest/commit/2cb1a15a) - Test repeats - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3369](https://togithub.com/vitest-dev/vitest/issues/3369) [<samp>(fb8fc)</samp>](https://togithub.com/vitest-dev/vitest/commit/fb8fc7ab) - **browser**: - Throw an error if test failed to load - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3390](https://togithub.com/vitest-dev/vitest/issues/3390) [<samp>(b354b)</samp>](https://togithub.com/vitest-dev/vitest/commit/b354bc1c) - Keep default export when rewriting exports - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3389](https://togithub.com/vitest-dev/vitest/issues/3389) [<samp>(6501d)</samp>](https://togithub.com/vitest-dev/vitest/commit/6501d2e3) - **cli**: - Improve cac errors when mixing boolean and dot notation - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3302](https://togithub.com/vitest-dev/vitest/issues/3302) [<samp>(93fbd)</samp>](https://togithub.com/vitest-dev/vitest/commit/93fbd02d) - **reporter**: - Prevent deleting test reports stored in coverage directory - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3331](https://togithub.com/vitest-dev/vitest/issues/3331) [<samp>(ddbba)</samp>](https://togithub.com/vitest-dev/vitest/commit/ddbba396) - **typecheck**: - Correctly resolve custom tsconfig path - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3342](https://togithub.com/vitest-dev/vitest/issues/3342) [<samp>(c53ae)</samp>](https://togithub.com/vitest-dev/vitest/commit/c53ae079) - **vite-node**: - Allow returning id not wrapped in promise - by [@​danielroe](https://togithub.com/danielroe) in [https://github.com/vitest-dev/vitest/issues/3312](https://togithub.com/vitest-dev/vitest/issues/3312) [<samp>(9836c)</samp>](https://togithub.com/vitest-dev/vitest/commit/9836ccb4) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.31.0...v0.31.1) ### [`v0.31.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.31.0) [Compare Source](https://togithub.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://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3294](https://togithub.com/vitest-dev/vitest/issues/3294) [<samp>(cf3af)</samp>](https://togithub.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://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3258](https://togithub.com/vitest-dev/vitest/issues/3258) [<samp>(0c09a)</samp>](https://togithub.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://togithub.com/samkevin1) in [https://github.com/vitest-dev/vitest/issues/2652](https://togithub.com/vitest-dev/vitest/issues/2652) [<samp>(7c8f0)</samp>](https://togithub.com/vitest-dev/vitest/commit/7c8f0ba9) - Add an option to hide skipped test lines - by [@​g4rry420](https://togithub.com/g4rry420) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2745](https://togithub.com/vitest-dev/vitest/issues/2745) [<samp>(9bdb1)</samp>](https://togithub.com/vitest-dev/vitest/commit/9bdb1603) - **coverage**: Watermarks for c8 - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3254](https://togithub.com/vitest-dev/vitest/issues/3254) [<samp>(730af)</samp>](https://togithub.com/vitest-dev/vitest/commit/730af0b4) - **ui**: Add html coverage - by [@​userquin](https://togithub.com/userquin) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3071](https://togithub.com/vitest-dev/vitest/issues/3071) [<samp>(e24cd)</samp>](https://togithub.com/vitest-dev/vitest/commit/e24cd9b2) - **watch**: Test run cancelling, feat: `--bail` option for cancelling test run - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3163](https://togithub.com/vitest-dev/vitest/issues/3163) [<samp>(8d460)</samp>](https://togithub.com/vitest-dev/vitest/commit/8d4606eb) ##### 🐞 Bug Fixes - Don't call global setup teardown twice - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3188](https://togithub.com/vitest-dev/vitest/issues/3188) [<samp>(ba3d1)</samp>](https://togithub.com/vitest-dev/vitest/commit/ba3d1338) - Reporter to log version before provider initalizations - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3131](https://togithub.com/vitest-dev/vitest/issues/3131) [<samp>(481b1)</samp>](https://togithub.com/vitest-dev/vitest/commit/481b1fd2) - Throw an error if Vitest cannot access its internal state - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3250](https://togithub.com/vitest-dev/vitest/issues/3250) [<samp>(fbb14)</samp>](https://togithub.com/vitest-dev/vitest/commit/fbb1468e) - Warning suppression broken - by [@​IceQub3](https://togithub.com/IceQub3) in [https://github.com/vitest-dev/vitest/issues/3270](https://togithub.com/vitest-dev/vitest/issues/3270) and [https://github.com/vitest-dev/vitest/issues/3271](https://togithub.com/vitest-dev/vitest/issues/3271) [<samp>(036de)</samp>](https://togithub.com/vitest-dev/vitest/commit/036de797) - Show correct diff in "toHaveBeenCalledWith" - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3289](https://togithub.com/vitest-dev/vitest/issues/3289) [<samp>(19fcd)</samp>](https://togithub.com/vitest-dev/vitest/commit/19fcd8df) - Don't print esm warning, if package name is not found - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3292](https://togithub.com/vitest-dev/vitest/issues/3292) [<samp>(62c14)</samp>](https://togithub.com/vitest-dev/vitest/commit/62c14cba) - Support exactOptionalPropertyTypes - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3293](https://togithub.com/vitest-dev/vitest/issues/3293) [<samp>(ba81d)</samp>](https://togithub.com/vitest-dev/vitest/commit/ba81d8a3) - Don't inline vite hmr and rollup types - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3291](https://togithub.com/vitest-dev/vitest/issues/3291) [<samp>(1f118)</samp>](https://togithub.com/vitest-dev/vitest/commit/1f1189bc) - **browser**: - Failing to load vitest/utils - by [@​userquin](https://togithub.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3190](https://togithub.com/vitest-dev/vitest/issues/3190) [<samp>(78bad)</samp>](https://togithub.com/vitest-dev/vitest/commit/78bad4ab) - **coverage**: - `thresholdAutoUpdate` to work with `perFile` - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3182](https://togithub.com/vitest-dev/vitest/issues/3182) [<samp>(29eeb)</samp>](https://togithub.com/vitest-dev/vitest/commit/29eebf65) - Throw error if fail to load built-in provider - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3217](https://togithub.com/vitest-dev/vitest/issues/3217) [<samp>(0a287)</samp>](https://togithub.com/vitest-dev/vitest/commit/0a2875e3) - Stackblitz hangs with c8 - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3225](https://togithub.com/vitest-dev/vitest/issues/3225) [<samp>(d9fda)</samp>](https://togithub.com/vitest-dev/vitest/commit/d9fda2a1) - C8 to ignore vite's generated helpers - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3241](https://togithub.com/vitest-dev/vitest/issues/3241) [<samp>(21942)</samp>](https://togithub.com/vitest-dev/vitest/commit/21942db0) - Workspaces c8 source maps - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3226](https://togithub.com/vitest-dev/vitest/issues/3226) [<samp>(efce3)</samp>](https://togithub.com/vitest-dev/vitest/commit/efce3b4d) - **docs**: - Correct typo and broken link to WebdriverIO - by [@​nathanbabcock](https://togithub.com/nathanbabcock) in [https://github.com/vitest-dev/vitest/issues/3275](https://togithub.com/vitest-dev/vitest/issues/3275) [<samp>(c7da1)</samp>](https://togithub.com/vitest-dev/vitest/commit/c7da155f) - **spy**: - Update to set initial implementation through normal logic - by [@​Codex-](https://togithub.com/Codex-) in [https://github.com/vitest-dev/vitest/issues/3260](https://togithub.com/vitest-dev/vitest/issues/3260) and [https://github.com/vitest-dev/vitest/issues/3263](https://togithub.com/vitest-dev/vitest/issues/3263) [<samp>(c759a)</samp>](https://togithub.com/vitest-dev/vitest/commit/c759a9aa) - **vite-node**: - Circular imports - by [@​antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/3196](https://togithub.com/vitest-dev/vitest/issues/3196) [<samp>(cbb59)</samp>](https://togithub.com/vitest-dev/vitest/commit/cbb593a8) - Add missing `import.meta.hot.send` mock - by [@​antfu](https://togithub.com/antfu) [<samp>(b1624)</samp>](https://togithub.com/vitest-dev/vitest/commit/b1624db5) - **vitest**: - Also check for vite relative to vitest package - by [@​JoshuaKGoldberg](https://togithub.com/JoshuaKGoldberg) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3274](https://togithub.com/vitest-dev/vitest/issues/3274) [<samp>(a3393)</samp>](https://togithub.com/vitest-dev/vitest/commit/a3393b15) - **watch**: - Run test files when added to filesystem - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3189](https://togithub.com/vitest-dev/vitest/issues/3189) [<samp>(7b2c8)</samp>](https://togithub.com/vitest-dev/vitest/commit/7b2c81bc) ##### [View changes on GitHub](https://togithub.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-->
[![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://togithub.com/vitest-dev/vitest/tree/main/packages/coverage-c8#readme) ([source](https://togithub.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://togithub.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://togithub.com/vitest-dev/vitest/releases/tag/v0.33.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.32.4...v0.33.0) ##### 🚨 Breaking Changes - Revert default include patterns - by [@​so1ve](https://togithub.com/so1ve) [#​3729](https://togithub.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://togithub.com/DerZade) in [https://github.com/vitest-dev/vitest/issues/3702](https://togithub.com/vitest-dev/vitest/issues/3702) [<samp>(83a86)</samp>](https://togithub.com/vitest-dev/vitest/commit/83a86a75) - **vite-node**: - Don't fail when importing Promise module - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(08192)</samp>](https://togithub.com/vitest-dev/vitest/commit/0819275a) - Allow importing node:test - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(db22c)</samp>](https://togithub.com/vitest-dev/vitest/commit/db22c677) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.32.4...v0.33.0) ### [`v0.32.4`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.32.4) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.32.3...v0.32.4) ##### 🐞 Bug Fixes - **browser**: Correctly optimize CJS dependencies - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(3d090)</samp>](https://togithub.com/vitest-dev/vitest/commit/3d0908e7) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.32.3...v0.32.4) ### [`v0.32.3`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.32.3) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.32.2...v0.32.3) ##### 🚀 Features - Add `concurrent` option to `sequence` config - by [@​fenghan34](https://togithub.com/fenghan34) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3604](https://togithub.com/vitest-dev/vitest/issues/3604) [<samp>(f427f)</samp>](https://togithub.com/vitest-dev/vitest/commit/f427f004) - Introduce global configuration for retry setting - by [@​imentu](https://togithub.com/imentu) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3598](https://togithub.com/vitest-dev/vitest/issues/3598) and [https://github.com/vitest-dev/vitest/issues/3603](https://togithub.com/vitest-dev/vitest/issues/3603) [<samp>(9a117)</samp>](https://togithub.com/vitest-dev/vitest/commit/9a117627) - Don't rely on util package in [@​vitest/utils](https://togithub.com/vitest/utils) - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3685](https://togithub.com/vitest-dev/vitest/issues/3685) [<samp>(f91da)</samp>](https://togithub.com/vitest-dev/vitest/commit/f91da484) - Support accessing other fixtures in fixture function - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3651](https://togithub.com/vitest-dev/vitest/issues/3651) [<samp>(1621c)</samp>](https://togithub.com/vitest-dev/vitest/commit/1621cc63) - Support use function/class as `bench` name - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3711](https://togithub.com/vitest-dev/vitest/issues/3711) [<samp>(a749a)</samp>](https://togithub.com/vitest-dev/vitest/commit/a749a6c0) - **reporters**: Show full test suite when testing 1 spec file at a time - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3543](https://togithub.com/vitest-dev/vitest/issues/3543) [<samp>(7531c)</samp>](https://togithub.com/vitest-dev/vitest/commit/7531c292) - **runner**: Support `test.extend` - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3554](https://togithub.com/vitest-dev/vitest/issues/3554) [<samp>(2db1a)</samp>](https://togithub.com/vitest-dev/vitest/commit/2db1a737) ##### 🐞 Bug Fixes - Remove "concordance" from dependencies list - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3597](https://togithub.com/vitest-dev/vitest/issues/3597) [<samp>(969dc)</samp>](https://togithub.com/vitest-dev/vitest/commit/969dcc14) - Show diff correctly - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3620](https://togithub.com/vitest-dev/vitest/issues/3620) [<samp>(73dd4)</samp>](https://togithub.com/vitest-dev/vitest/commit/73dd4ab5) - Util import - by [@​fubhy](https://togithub.com/fubhy) in [https://github.com/vitest-dev/vitest/issues/3621](https://togithub.com/vitest-dev/vitest/issues/3621) [<samp>(2fb4c)</samp>](https://togithub.com/vitest-dev/vitest/commit/2fb4ceff) - Compat with frozen Math - by [@​turadg](https://togithub.com/turadg) in [https://github.com/vitest-dev/vitest/issues/3527](https://togithub.com/vitest-dev/vitest/issues/3527) [<samp>(0db67)</samp>](https://togithub.com/vitest-dev/vitest/commit/0db67098) - `CTRL+C` to terminate run - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3642](https://togithub.com/vitest-dev/vitest/issues/3642) [<samp>(fa663)</samp>](https://togithub.com/vitest-dev/vitest/commit/fa6637d3) - Run mode stuck in TTY terminals - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3690](https://togithub.com/vitest-dev/vitest/issues/3690) [<samp>(141a8)</samp>](https://togithub.com/vitest-dev/vitest/commit/141a86ac) - Use first stack frame in json reporter - by [@​tim-smart](https://togithub.com/tim-smart) in [https://github.com/vitest-dev/vitest/issues/3645](https://togithub.com/vitest-dev/vitest/issues/3645) [<samp>(80ea7)</samp>](https://togithub.com/vitest-dev/vitest/commit/80ea7ef6) - Print actual number for `toBeCalledTimes` - by [@​antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/3696](https://togithub.com/vitest-dev/vitest/issues/3696) [<samp>(d3640)</samp>](https://togithub.com/vitest-dev/vitest/commit/d3640437) - **benchmark**: - Don't fail when running correct benchmarks - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3629](https://togithub.com/vitest-dev/vitest/issues/3629) [<samp>(edad9)</samp>](https://togithub.com/vitest-dev/vitest/commit/edad9b19) - **browser**: - Correctly print diff - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3627](https://togithub.com/vitest-dev/vitest/issues/3627) [<samp>(d756e)</samp>](https://togithub.com/vitest-dev/vitest/commit/d756ee24) - Esm injector doesn't replace class expressions - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3641](https://togithub.com/vitest-dev/vitest/issues/3641) [<samp>(5c0ac)</samp>](https://togithub.com/vitest-dev/vitest/commit/5c0ac4ad) - Transform superclass identifier - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3681](https://togithub.com/vitest-dev/vitest/issues/3681) [<samp>(a1e04)</samp>](https://togithub.com/vitest-dev/vitest/commit/a1e043bd) - **coverage**: - `v8` to prevent crash on dynamic CJS files - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3657](https://togithub.com/vitest-dev/vitest/issues/3657) [<samp>(40f18)</samp>](https://togithub.com/vitest-dev/vitest/commit/40f18a07) - **runner**: - Make the default value of `retry` and `repeats` 0 - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3638](https://togithub.com/vitest-dev/vitest/issues/3638) [<samp>(6d146)</samp>](https://togithub.com/vitest-dev/vitest/commit/6d146d16) - **utils**: - Respect all flags in format function - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3695](https://togithub.com/vitest-dev/vitest/issues/3695) [<samp>(91e16)</samp>](https://togithub.com/vitest-dev/vitest/commit/91e1650e) - **watch**: - Cancel using `h` key - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3618](https://togithub.com/vitest-dev/vitest/issues/3618) [<samp>(60c36)</samp>](https://togithub.com/vitest-dev/vitest/commit/60c36faf) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.32.2...v0.32.3) ### [`v0.32.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.32.2) [Compare Source](https://togithub.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://togithub.com/sheremet-va) [<samp>(00b0e)</samp>](https://togithub.com/vitest-dev/vitest/commit/00b0e6a3) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.32.1...v0.32.2) ### [`v0.32.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.32.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.32.0...v0.32.1) ##### 🚀 Features - Export `registerConsoleShortcuts` from `vitest/node` - by [@​deot](https://togithub.com/deot) in [https://github.com/vitest-dev/vitest/issues/3563](https://togithub.com/vitest-dev/vitest/issues/3563) [<samp>(bc49b)</samp>](https://togithub.com/vitest-dev/vitest/commit/bc49bac7) - **expect**: Support `expect.unreachable` - by [@​fenghan34](https://togithub.com/fenghan34) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3556](https://togithub.com/vitest-dev/vitest/issues/3556) [<samp>(8e385)</samp>](https://togithub.com/vitest-dev/vitest/commit/8e385bb0) - **runner**: `describe`/`test` name support anonymous function - by [@​btea](https://togithub.com/btea) in [https://github.com/vitest-dev/vitest/issues/3562](https://togithub.com/vitest-dev/vitest/issues/3562) [<samp>(3d436)</samp>](https://togithub.com/vitest-dev/vitest/commit/3d43638c) ##### 🐞 Bug Fixes - Avoid call stack recursion with large error (fix: [#​3060](https://togithub.com/vitest-dev/vitest/issues/3060)) - by [@​nathanmmiller](https://togithub.com/nathanmmiller) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3078](https://togithub.com/vitest-dev/vitest/issues/3078) and [https://github.com/vitest-dev/vitest/issues/3060](https://togithub.com/vitest-dev/vitest/issues/3060) [<samp>(02196)</samp>](https://togithub.com/vitest-dev/vitest/commit/02196f9d) - Automatically remove define related configuration - by [@​btea](https://togithub.com/btea) in [https://github.com/vitest-dev/vitest/issues/3552](https://togithub.com/vitest-dev/vitest/issues/3552) [<samp>(368b8)</samp>](https://togithub.com/vitest-dev/vitest/commit/368b8259) - Import `performance` from `perf_hooks` - by [@​Max10240](https://togithub.com/Max10240) and **wangbaolong.wbl** in [https://github.com/vitest-dev/vitest/issues/3578](https://togithub.com/vitest-dev/vitest/issues/3578) and [https://github.com/vitest-dev/vitest/issues/3579](https://togithub.com/vitest-dev/vitest/issues/3579) [<samp>(24ec8)</samp>](https://togithub.com/vitest-dev/vitest/commit/24ec85a8) - Revert concordance diff, use jest's diff output - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3582](https://togithub.com/vitest-dev/vitest/issues/3582) [<samp>(9c7ea)</samp>](https://togithub.com/vitest-dev/vitest/commit/9c7ea382) - Typo in config suggestion - by [@​Krisell](https://togithub.com/Krisell) in [https://github.com/vitest-dev/vitest/issues/3583](https://togithub.com/vitest-dev/vitest/issues/3583) [<samp>(68985)</samp>](https://togithub.com/vitest-dev/vitest/commit/689855bb) - **browser**: - Change optimized deps to use `vitest` - by [@​userquin](https://togithub.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3580](https://togithub.com/vitest-dev/vitest/issues/3580) [<samp>(b4ac8)</samp>](https://togithub.com/vitest-dev/vitest/commit/b4ac88e9) - Access **vi_inject** only if it was injected - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3587](https://togithub.com/vitest-dev/vitest/issues/3587) [<samp>(d9e14)</samp>](https://togithub.com/vitest-dev/vitest/commit/d9e1419a) - **mocker**: - Respect namespace import when hoisting vi.mock - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3547](https://togithub.com/vitest-dev/vitest/issues/3547) [<samp>(158c4)</samp>](https://togithub.com/vitest-dev/vitest/commit/158c4bb0) - **ui**: - Navigate to dashboard when re-running tests from coverage page - by [@​userquin](https://togithub.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3529](https://togithub.com/vitest-dev/vitest/issues/3529) [<samp>(bc283)</samp>](https://togithub.com/vitest-dev/vitest/commit/bc283ae3) - **vite-node**: - Correctly resolve virtual modules - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3544](https://togithub.com/vitest-dev/vitest/issues/3544) [<samp>(0cbb0)</samp>](https://togithub.com/vitest-dev/vitest/commit/0cbb07b4) - Fix errors caused by commonjs export circular references - by [@​rxliuli](https://togithub.com/rxliuli) in [https://github.com/vitest-dev/vitest/issues/3570](https://togithub.com/vitest-dev/vitest/issues/3570) [<samp>(b097c)</samp>](https://togithub.com/vitest-dev/vitest/commit/b097cef8) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.32.0...v0.32.1) ### [`v0.32.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.32.0) [Compare Source](https://togithub.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://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3307](https://togithub.com/vitest-dev/vitest/issues/3307) [<samp>(1ad63)</samp>](https://togithub.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://togithub.com/nickmccurdy) in [https://github.com/vitest-dev/vitest/issues/3392](https://togithub.com/vitest-dev/vitest/issues/3392) [<samp>(19ecc)</samp>](https://togithub.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://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3339](https://togithub.com/vitest-dev/vitest/issues/3339) [<samp>(82112)</samp>](https://togithub.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://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3518](https://togithub.com/vitest-dev/vitest/issues/3518) [<samp>(c1004)</samp>](https://togithub.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://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3490](https://togithub.com/vitest-dev/vitest/issues/3490) [<samp>(89842)</samp>](https://togithub.com/vitest-dev/vitest/commit/898422b0) - Image type add apng - by [@​btea](https://togithub.com/btea) in [https://github.com/vitest-dev/vitest/issues/3498](https://togithub.com/vitest-dev/vitest/issues/3498) [<samp>(a53c2)</samp>](https://togithub.com/vitest-dev/vitest/commit/a53c2151) - **expect**: Support `expect.soft` - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3507](https://togithub.com/vitest-dev/vitest/issues/3507) [<samp>(7c687)</samp>](https://togithub.com/vitest-dev/vitest/commit/7c687ada) - **runner**: Support using function/class as `describe`/`test` name - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3497](https://togithub.com/vitest-dev/vitest/issues/3497) [<samp>(15253)</samp>](https://togithub.com/vitest-dev/vitest/commit/15253890) ##### 🐞 Bug Fixes - The cli option is passed to coverage.exclude - by [@​btea](https://togithub.com/btea) in [https://github.com/vitest-dev/vitest/issues/3506](https://togithub.com/vitest-dev/vitest/issues/3506) [<samp>(c37cd)</samp>](https://togithub.com/vitest-dev/vitest/commit/c37cdebe) - **optimizer**: Always respect optimizeDeps even if include/exclude is overridden - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3488](https://togithub.com/vitest-dev/vitest/issues/3488) [<samp>(eb285)</samp>](https://togithub.com/vitest-dev/vitest/commit/eb285ea0) - **runner**: Ensure Vitest is deduped - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3489](https://togithub.com/vitest-dev/vitest/issues/3489) [<samp>(2deb7)</samp>](https://togithub.com/vitest-dev/vitest/commit/2deb70ab) - **ui**: Don't cache coverage assets - by [@​userquin](https://togithub.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3508](https://togithub.com/vitest-dev/vitest/issues/3508) [<samp>(952b5)</samp>](https://togithub.com/vitest-dev/vitest/commit/952b5be6) - **vite-node**: Circular import stuck - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3480](https://togithub.com/vitest-dev/vitest/issues/3480) [<samp>(50f07)</samp>](https://togithub.com/vitest-dev/vitest/commit/50f0700d) - **watch**: Junit reporter fails to re-generate report - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3496](https://togithub.com/vitest-dev/vitest/issues/3496) [<samp>(5b73c)</samp>](https://togithub.com/vitest-dev/vitest/commit/5b73cbf8) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.31.4...v0.32.0) ### [`v0.31.4`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.31.4) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.31.3...v0.31.4) ##### 🚀 Features - Enable experimentalOptimizer - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3413](https://togithub.com/vitest-dev/vitest/issues/3413) [<samp>(5a894)</samp>](https://togithub.com/vitest-dev/vitest/commit/5a894aa2) ##### 🐞 Bug Fixes - **vite-node**: Deps.inline doesn't work - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3485](https://togithub.com/vitest-dev/vitest/issues/3485) [<samp>(be930)</samp>](https://togithub.com/vitest-dev/vitest/commit/be93032f) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.31.3...v0.31.4) ### [`v0.31.3`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.31.3) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.31.2...v0.31.3) ##### 🚀 Features - Support `VITE_NODE_DEPS_MODULE_DIRECTORIES` from .npmrc - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3471](https://togithub.com/vitest-dev/vitest/issues/3471) [<samp>(393bf)</samp>](https://togithub.com/vitest-dev/vitest/commit/393bf60c) ##### 🐞 Bug Fixes - **logger**: Print unhandled errors before summary - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3474](https://togithub.com/vitest-dev/vitest/issues/3474) [<samp>(4c9a7)</samp>](https://togithub.com/vitest-dev/vitest/commit/4c9a7d58) - **runner**: Suite options do not propagate to nested suites (fix: [#​3467](https://togithub.com/vitest-dev/vitest/issues/3467)) - by [@​xsjcTony](https://togithub.com/xsjcTony) in [https://github.com/vitest-dev/vitest/issues/3473](https://togithub.com/vitest-dev/vitest/issues/3473) and [https://github.com/vitest-dev/vitest/issues/3467](https://togithub.com/vitest-dev/vitest/issues/3467) [<samp>(9fb9d)</samp>](https://togithub.com/vitest-dev/vitest/commit/9fb9dacb) - **vite-node**: Clear importers when invalidating module - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3475](https://togithub.com/vitest-dev/vitest/issues/3475) [<samp>(add29)</samp>](https://togithub.com/vitest-dev/vitest/commit/add29c86) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.31.2...v0.31.3) ### [`v0.31.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.31.2) [Compare Source](https://togithub.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://togithub.com/fenghan34) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3360](https://togithub.com/vitest-dev/vitest/issues/3360) [<samp>(7c2f7)</samp>](https://togithub.com/vitest-dev/vitest/commit/7c2f7088) - Pass down meta information to Node.js process - by [@​sheremet-va](https://togithub.com/sheremet-va) and [@​dammy001](https://togithub.com/dammy001) in [https://github.com/vitest-dev/vitest/issues/3449](https://togithub.com/vitest-dev/vitest/issues/3449) [<samp>(e39ad)</samp>](https://togithub.com/vitest-dev/vitest/commit/e39adea8) - **coverage**: Add `reportOnFailure` option - by [@​AriPerkkio](https://togithub.com/AriPerkkio) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3453](https://togithub.com/vitest-dev/vitest/issues/3453) [<samp>(1988f)</samp>](https://togithub.com/vitest-dev/vitest/commit/1988fcb4) - **dev**: Add moduleDirectories option to the vitest config - by [@​fooddilsn](https://togithub.com/fooddilsn) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3337](https://togithub.com/vitest-dev/vitest/issues/3337) [<samp>(b3602)</samp>](https://togithub.com/vitest-dev/vitest/commit/b3602bcc) ##### 🐞 Bug Fixes - Don't print empty diff - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3437](https://togithub.com/vitest-dev/vitest/issues/3437) [<samp>(32b53)</samp>](https://togithub.com/vitest-dev/vitest/commit/32b5361f) - Don't restore methods in automocked dependencies - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3438](https://togithub.com/vitest-dev/vitest/issues/3438) [<samp>(d1afd)</samp>](https://togithub.com/vitest-dev/vitest/commit/d1afd262) - Dot reporter scrollback buffer spam - by [@​gtm-nayan](https://togithub.com/gtm-nayan) in [https://github.com/vitest-dev/vitest/issues/3415](https://togithub.com/vitest-dev/vitest/issues/3415) [<samp>(e6792)</samp>](https://togithub.com/vitest-dev/vitest/commit/e6792a94) - Gracefully exit when first `SIGINT` is received - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3407](https://togithub.com/vitest-dev/vitest/issues/3407) [<samp>(a2cc2)</samp>](https://togithub.com/vitest-dev/vitest/commit/a2cc2b38) - `rejects` & `resolves` breaks with thenable objects - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3456](https://togithub.com/vitest-dev/vitest/issues/3456) [<samp>(4e996)</samp>](https://togithub.com/vitest-dev/vitest/commit/4e996ae5) - Prevent `birpc` timeouts when `Math.random` mock is not restored - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3460](https://togithub.com/vitest-dev/vitest/issues/3460) [<samp>(cd5d5)</samp>](https://togithub.com/vitest-dev/vitest/commit/cd5d58b7) - Assertion diff message now handle non writable property correctly - by [@​PCreations](https://togithub.com/PCreations) in [https://github.com/vitest-dev/vitest/issues/3422](https://togithub.com/vitest-dev/vitest/issues/3422) [<samp>(f75ab)</samp>](https://togithub.com/vitest-dev/vitest/commit/f75ab650) - Extend logging of process timeout errors - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3452](https://togithub.com/vitest-dev/vitest/issues/3452) [<samp>(42643)</samp>](https://togithub.com/vitest-dev/vitest/commit/42643904) - Support requiring files with `less` extension - by [@​rluvaton](https://togithub.com/rluvaton) in [https://github.com/vitest-dev/vitest/issues/3465](https://togithub.com/vitest-dev/vitest/issues/3465) [<samp>(4d045)</samp>](https://togithub.com/vitest-dev/vitest/commit/4d045695) - **cli**: - Improve colors used when erroring - by [@​ghiscoding](https://togithub.com/ghiscoding) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3349](https://togithub.com/vitest-dev/vitest/issues/3349) [<samp>(16681)</samp>](https://togithub.com/vitest-dev/vitest/commit/16681791) - **runner**: - Suite timeout does not take effect - by [@​btea](https://togithub.com/btea) in [https://github.com/vitest-dev/vitest/issues/3455](https://togithub.com/vitest-dev/vitest/issues/3455) [<samp>(82547)</samp>](https://togithub.com/vitest-dev/vitest/commit/82547376) - **spy**: - Don't print received calls if there are no calls - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3405](https://togithub.com/vitest-dev/vitest/issues/3405) [<samp>(41e11)</samp>](https://togithub.com/vitest-dev/vitest/commit/41e11dad) - **typecheck**: - Show tsc errors not related to test files - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3441](https://togithub.com/vitest-dev/vitest/issues/3441) [<samp>(a1da5)</samp>](https://togithub.com/vitest-dev/vitest/commit/a1da5714) - **types**: - Fix `PartialMock` with async TReturns - by [@​ghry5](https://togithub.com/ghry5) in [https://github.com/vitest-dev/vitest/issues/3462](https://togithub.com/vitest-dev/vitest/issues/3462) [<samp>(b664d)</samp>](https://togithub.com/vitest-dev/vitest/commit/b664d42c) - **vite-node**: - Circular import stuck - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3418](https://togithub.com/vitest-dev/vitest/issues/3418) [<samp>(632ee)</samp>](https://togithub.com/vitest-dev/vitest/commit/632eef40) - Coerce to string in import(dep) - by [@​jcbhmr](https://togithub.com/jcbhmr) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3430](https://togithub.com/vitest-dev/vitest/issues/3430) [<samp>(b72eb)</samp>](https://togithub.com/vitest-dev/vitest/commit/b72ebdb9) - Don't remove sourcemap string in source code - by [@​rxliuli](https://togithub.com/rxliuli) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2918](https://togithub.com/vitest-dev/vitest/issues/2918) and [https://github.com/vitest-dev/vitest/issues/3379](https://togithub.com/vitest-dev/vitest/issues/3379) [<samp>(02dc9)</samp>](https://togithub.com/vitest-dev/vitest/commit/02dc9ea7) - Don't externalize "dist" by default - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3446](https://togithub.com/vitest-dev/vitest/issues/3446) [<samp>(306b2)</samp>](https://togithub.com/vitest-dev/vitest/commit/306b2337) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.31.1...v0.31.2) ### [`v0.31.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.31.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.31.0...v0.31.1) ##### 🚀 Features - **watch**: Press `r` should rerun current pattern tests - by [@​Dunqing](https://togithub.com/Dunqing) and [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3305](https://togithub.com/vitest-dev/vitest/issues/3305) [<samp>(69d27)</samp>](https://togithub.com/vitest-dev/vitest/commit/69d27117) ##### 🐞 Bug Fixes - Make sure thrown error is an object - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3298](https://togithub.com/vitest-dev/vitest/issues/3298) [<samp>(a93be)</samp>](https://togithub.com/vitest-dev/vitest/commit/a93be56c) - Remove duplicate type - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3303](https://togithub.com/vitest-dev/vitest/issues/3303) [<samp>(5382e)</samp>](https://togithub.com/vitest-dev/vitest/commit/5382e8b6) - Throw an error, if tests are collected with a different vitest version - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3301](https://togithub.com/vitest-dev/vitest/issues/3301) [<samp>(708b1)</samp>](https://togithub.com/vitest-dev/vitest/commit/708b10fe) - Support application/x-gzip metadata in html report - by [@​mzanelee](https://togithub.com/mzanelee) and **Michael Lee** in [https://github.com/vitest-dev/vitest/issues/3333](https://togithub.com/vitest-dev/vitest/issues/3333) [<samp>(5bf7e)</samp>](https://togithub.com/vitest-dev/vitest/commit/5bf7eb6e) - Correctly restore vi.fn implementation - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3341](https://togithub.com/vitest-dev/vitest/issues/3341) [<samp>(2aff8)</samp>](https://togithub.com/vitest-dev/vitest/commit/2aff8c5f) - Display error message correctly - by [@​btea](https://togithub.com/btea) in [https://github.com/vitest-dev/vitest/issues/3314](https://togithub.com/vitest-dev/vitest/issues/3314) [<samp>(a5b3d)</samp>](https://togithub.com/vitest-dev/vitest/commit/a5b3d78e) - Exclude `cwd` from test name filter - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3353](https://togithub.com/vitest-dev/vitest/issues/3353) [<samp>(324a9)</samp>](https://togithub.com/vitest-dev/vitest/commit/324a9b54) - Check error type before modifying it - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3385](https://togithub.com/vitest-dev/vitest/issues/3385) [<samp>(c44d9)</samp>](https://togithub.com/vitest-dev/vitest/commit/c44d9912) - `toMatchInlineSnapshot` fails when file path includes parentheses - by [@​pacexy](https://togithub.com/pacexy) in [https://github.com/vitest-dev/vitest/issues/3370](https://togithub.com/vitest-dev/vitest/issues/3370) and [https://github.com/vitest-dev/vitest/issues/3371](https://togithub.com/vitest-dev/vitest/issues/3371) [<samp>(dcf13)</samp>](https://togithub.com/vitest-dev/vitest/commit/dcf1346a) - Stop spying on a method, when it's restored - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3386](https://togithub.com/vitest-dev/vitest/issues/3386) [<samp>(2cb1a)</samp>](https://togithub.com/vitest-dev/vitest/commit/2cb1a15a) - Test repeats - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3369](https://togithub.com/vitest-dev/vitest/issues/3369) [<samp>(fb8fc)</samp>](https://togithub.com/vitest-dev/vitest/commit/fb8fc7ab) - **browser**: - Throw an error if test failed to load - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3390](https://togithub.com/vitest-dev/vitest/issues/3390) [<samp>(b354b)</samp>](https://togithub.com/vitest-dev/vitest/commit/b354bc1c) - Keep default export when rewriting exports - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3389](https://togithub.com/vitest-dev/vitest/issues/3389) [<samp>(6501d)</samp>](https://togithub.com/vitest-dev/vitest/commit/6501d2e3) - **cli**: - Improve cac errors when mixing boolean and dot notation - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3302](https://togithub.com/vitest-dev/vitest/issues/3302) [<samp>(93fbd)</samp>](https://togithub.com/vitest-dev/vitest/commit/93fbd02d) - **reporter**: - Prevent deleting test reports stored in coverage directory - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3331](https://togithub.com/vitest-dev/vitest/issues/3331) [<samp>(ddbba)</samp>](https://togithub.com/vitest-dev/vitest/commit/ddbba396) - **typecheck**: - Correctly resolve custom tsconfig path - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3342](https://togithub.com/vitest-dev/vitest/issues/3342) [<samp>(c53ae)</samp>](https://togithub.com/vitest-dev/vitest/commit/c53ae079) - **vite-node**: - Allow returning id not wrapped in promise - by [@​danielroe](https://togithub.com/danielroe) in [https://github.com/vitest-dev/vitest/issues/3312](https://togithub.com/vitest-dev/vitest/issues/3312) [<samp>(9836c)</samp>](https://togithub.com/vitest-dev/vitest/commit/9836ccb4) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.31.0...v0.31.1) ### [`v0.31.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.31.0) [Compare Source](https://togithub.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://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3294](https://togithub.com/vitest-dev/vitest/issues/3294) [<samp>(cf3af)</samp>](https://togithub.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://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3258](https://togithub.com/vitest-dev/vitest/issues/3258) [<samp>(0c09a)</samp>](https://togithub.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://togithub.com/samkevin1) in [https://github.com/vitest-dev/vitest/issues/2652](https://togithub.com/vitest-dev/vitest/issues/2652) [<samp>(7c8f0)</samp>](https://togithub.com/vitest-dev/vitest/commit/7c8f0ba9) - Add an option to hide skipped test lines - by [@​g4rry420](https://togithub.com/g4rry420) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2745](https://togithub.com/vitest-dev/vitest/issues/2745) [<samp>(9bdb1)</samp>](https://togithub.com/vitest-dev/vitest/commit/9bdb1603) - **coverage**: Watermarks for c8 - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3254](https://togithub.com/vitest-dev/vitest/issues/3254) [<samp>(730af)</samp>](https://togithub.com/vitest-dev/vitest/commit/730af0b4) - **ui**: Add html coverage - by [@​userquin](https://togithub.com/userquin) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3071](https://togithub.com/vitest-dev/vitest/issues/3071) [<samp>(e24cd)</samp>](https://togithub.com/vitest-dev/vitest/commit/e24cd9b2) - **watch**: Test run cancelling, feat: `--bail` option for cancelling test run - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3163](https://togithub.com/vitest-dev/vitest/issues/3163) [<samp>(8d460)</samp>](https://togithub.com/vitest-dev/vitest/commit/8d4606eb) ##### 🐞 Bug Fixes - Don't call global setup teardown twice - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3188](https://togithub.com/vitest-dev/vitest/issues/3188) [<samp>(ba3d1)</samp>](https://togithub.com/vitest-dev/vitest/commit/ba3d1338) - Reporter to log version before provider initalizations - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3131](https://togithub.com/vitest-dev/vitest/issues/3131) [<samp>(481b1)</samp>](https://togithub.com/vitest-dev/vitest/commit/481b1fd2) - Throw an error if Vitest cannot access its internal state - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3250](https://togithub.com/vitest-dev/vitest/issues/3250) [<samp>(fbb14)</samp>](https://togithub.com/vitest-dev/vitest/commit/fbb1468e) - Warning suppression broken - by [@​IceQub3](https://togithub.com/IceQub3) in [https://github.com/vitest-dev/vitest/issues/3270](https://togithub.com/vitest-dev/vitest/issues/3270) and [https://github.com/vitest-dev/vitest/issues/3271](https://togithub.com/vitest-dev/vitest/issues/3271) [<samp>(036de)</samp>](https://togithub.com/vitest-dev/vitest/commit/036de797) - Show correct diff in "toHaveBeenCalledWith" - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3289](https://togithub.com/vitest-dev/vitest/issues/3289) [<samp>(19fcd)</samp>](https://togithub.com/vitest-dev/vitest/commit/19fcd8df) - Don't print esm warning, if package name is not found - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3292](https://togithub.com/vitest-dev/vitest/issues/3292) [<samp>(62c14)</samp>](https://togithub.com/vitest-dev/vitest/commit/62c14cba) - Support exactOptionalPropertyTypes - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3293](https://togithub.com/vitest-dev/vitest/issues/3293) [<samp>(ba81d)</samp>](https://togithub.com/vitest-dev/vitest/commit/ba81d8a3) - Don't inline vite hmr and rollup types - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3291](https://togithub.com/vitest-dev/vitest/issues/3291) [<samp>(1f118)</samp>](https://togithub.com/vitest-dev/vitest/commit/1f1189bc) - **browser**: - Failing to load vitest/utils - by [@​userquin](https://togithub.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3190](https://togithub.com/vitest-dev/vitest/issues/3190) [<samp>(78bad)</samp>](https://togithub.com/vitest-dev/vitest/commit/78bad4ab) - **coverage**: - `thresholdAutoUpdate` to work with `perFile` - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3182](https://togithub.com/vitest-dev/vitest/issues/3182) [<samp>(29eeb)</samp>](https://togithub.com/vitest-dev/vitest/commit/29eebf65) - Throw error if fail to load built-in provider - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3217](https://togithub.com/vitest-dev/vitest/issues/3217) [<samp>(0a287)</samp>](https://togithub.com/vitest-dev/vitest/commit/0a2875e3) - Stackblitz hangs with c8 - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3225](https://togithub.com/vitest-dev/vitest/issues/3225) [<samp>(d9fda)</samp>](https://togithub.com/vitest-dev/vitest/commit/d9fda2a1) - C8 to ignore vite's generated helpers - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3241](https://togithub.com/vitest-dev/vitest/issues/3241) [<samp>(21942)</samp>](https://togithub.com/vitest-dev/vitest/commit/21942db0) - Workspaces c8 source maps - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3226](https://togithub.com/vitest-dev/vitest/issues/3226) [<samp>(efce3)</samp>](https://togithub.com/vitest-dev/vitest/commit/efce3b4d) - **docs**: - Correct typo and broken link to WebdriverIO - by [@​nathanbabcock](https://togithub.com/nathanbabcock) in [https://github.com/vitest-dev/vitest/issues/3275](https://togithub.com/vitest-dev/vitest/issues/3275) [<samp>(c7da1)</samp>](https://togithub.com/vitest-dev/vitest/commit/c7da155f) - **spy**: - Update to set initial implementation through normal logic - by [@​Codex-](https://togithub.com/Codex-) in [https://github.com/vitest-dev/vitest/issues/3260](https://togithub.com/vitest-dev/vitest/issues/3260) and [https://github.com/vitest-dev/vitest/issues/3263](https://togithub.com/vitest-dev/vitest/issues/3263) [<samp>(c759a)</samp>](https://togithub.com/vitest-dev/vitest/commit/c759a9aa) - **vite-node**: - Circular imports - by [@​antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/3196](https://togithub.com/vitest-dev/vitest/issues/3196) [<samp>(cbb59)</samp>](https://togithub.com/vitest-dev/vitest/commit/cbb593a8) - Add missing `import.meta.hot.send` mock - by [@​antfu](https://togithub.com/antfu) [<samp>(b1624)</samp>](https://togithub.com/vitest-dev/vitest/commit/b1624db5) - **vitest**: - Also check for vite relative to vitest package - by [@​JoshuaKGoldberg](https://togithub.com/JoshuaKGoldberg) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3274](https://togithub.com/vitest-dev/vitest/issues/3274) [<samp>(a3393)</samp>](https://togithub.com/vitest-dev/vitest/commit/a3393b15) - **watch**: - Run test files when added to filesystem - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3189](https://togithub.com/vitest-dev/vitest/issues/3189) [<samp>(7b2c8)</samp>](https://togithub.com/vitest-dev/vitest/commit/7b2c81bc) ##### [View changes on GitHub](https://togithub.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 <[email protected]>
Initialize reporters before coverage and browser providers. This assures that version number banner is printed before unhandled errors are thrown. Version number banner in this context is
RUN v0.29.8 /xyz/vitest-example-project
text.There were few reports where users thought they were using the latest
[email protected]
but based on stack traces they were using older versions. We've seen similar reports couple of months ago.0.29.1
0.29.8 seems to have broken C8 unit test coverage reporting #3118 (comment)0.26.3
0.29.8 seems to have broken C8 unit test coverage reporting #3118 (comment)0.29.7
[email protected] can not genetate the coverage report #3125 (comment)Checking the version from stack traces can be done by comparing the filename hashes on earlier releases. This is slow. Let's add the version number to be printed before error is thrown.
Before (by manually adding the error in the code):
After: