Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps): update dependency vitest to v0.31.4 (#3932)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [vitest](https://github.com/vitest-dev/vitest) | [`0.31.1` -> `0.31.4`](https://renovatebot.com/diffs/npm/vitest/0.31.1/0.31.4) | [![age](https://badges.renovateapi.com/packages/npm/vitest/0.31.4/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/vitest/0.31.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/vitest/0.31.4/compatibility-slim/0.31.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/vitest/0.31.4/confidence-slim/0.31.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest</summary> ### [`v0.31.4`](https://github.com/vitest-dev/vitest/releases/tag/v0.31.4) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.31.3...v0.31.4) ##### 🚀 Features - Enable experimentalOptimizer - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3413](https://github.com/vitest-dev/vitest/issues/3413) [<samp>(5a894)</samp>](https://github.com/vitest-dev/vitest/commit/5a894aa2) ##### 🐞 Bug Fixes - **vite-node**: Deps.inline doesn't work - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3485](https://github.com/vitest-dev/vitest/issues/3485) [<samp>(be930)</samp>](https://github.com/vitest-dev/vitest/commit/be93032f) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.31.3...v0.31.4) ### [`v0.31.3`](https://github.com/vitest-dev/vitest/releases/tag/v0.31.3) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.31.2...v0.31.3) ##### 🚀 Features - Support `VITE_NODE_DEPS_MODULE_DIRECTORIES` from .npmrc - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3471](https://github.com/vitest-dev/vitest/issues/3471) [<samp>(393bf)</samp>](https://github.com/vitest-dev/vitest/commit/393bf60c) ##### 🐞 Bug Fixes - **logger**: Print unhandled errors before summary - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3474](https://github.com/vitest-dev/vitest/issues/3474) [<samp>(4c9a7)</samp>](https://github.com/vitest-dev/vitest/commit/4c9a7d58) - **runner**: Suite options do not propagate to nested suites (fix: [#​3467](https://github.com/vitest-dev/vitest/issues/3467)) - by [@​xsjcTony](https://github.com/xsjcTony) in [https://github.com/vitest-dev/vitest/issues/3473](https://github.com/vitest-dev/vitest/issues/3473) and [https://github.com/vitest-dev/vitest/issues/3467](https://github.com/vitest-dev/vitest/issues/3467) [<samp>(9fb9d)</samp>](https://github.com/vitest-dev/vitest/commit/9fb9dacb) - **vite-node**: Clear importers when invalidating module - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3475](https://github.com/vitest-dev/vitest/issues/3475) [<samp>(add29)</samp>](https://github.com/vitest-dev/vitest/commit/add29c86) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.31.2...v0.31.3) ### [`v0.31.2`](https://github.com/vitest-dev/vitest/releases/tag/v0.31.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.31.1...v0.31.2) ##### 🚀 Features - Throw error if using inline snapshot inside of `test.each` or `describe.each` - by [@​fenghan34](https://github.com/fenghan34) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3360](https://github.com/vitest-dev/vitest/issues/3360) [<samp>(7c2f7)</samp>](https://github.com/vitest-dev/vitest/commit/7c2f7088) - Pass down meta information to Node.js process - by [@​sheremet-va](https://github.com/sheremet-va) and [@​dammy001](https://github.com/dammy001) in [https://github.com/vitest-dev/vitest/issues/3449](https://github.com/vitest-dev/vitest/issues/3449) [<samp>(e39ad)</samp>](https://github.com/vitest-dev/vitest/commit/e39adea8) - **coverage**: Add `reportOnFailure` option - by [@​AriPerkkio](https://github.com/AriPerkkio) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3453](https://github.com/vitest-dev/vitest/issues/3453) [<samp>(1988f)</samp>](https://github.com/vitest-dev/vitest/commit/1988fcb4) - **dev**: Add moduleDirectories option to the vitest config - by [@​fooddilsn](https://github.com/fooddilsn) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3337](https://github.com/vitest-dev/vitest/issues/3337) [<samp>(b3602)</samp>](https://github.com/vitest-dev/vitest/commit/b3602bcc) ##### 🐞 Bug Fixes - Don't print empty diff - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3437](https://github.com/vitest-dev/vitest/issues/3437) [<samp>(32b53)</samp>](https://github.com/vitest-dev/vitest/commit/32b5361f) - Don't restore methods in automocked dependencies - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3438](https://github.com/vitest-dev/vitest/issues/3438) [<samp>(d1afd)</samp>](https://github.com/vitest-dev/vitest/commit/d1afd262) - Dot reporter scrollback buffer spam - by [@​gtm-nayan](https://github.com/gtm-nayan) in [https://github.com/vitest-dev/vitest/issues/3415](https://github.com/vitest-dev/vitest/issues/3415) [<samp>(e6792)</samp>](https://github.com/vitest-dev/vitest/commit/e6792a94) - Gracefully exit when first `SIGINT` is received - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3407](https://github.com/vitest-dev/vitest/issues/3407) [<samp>(a2cc2)</samp>](https://github.com/vitest-dev/vitest/commit/a2cc2b38) - `rejects` & `resolves` breaks with thenable objects - by [@​fenghan34](https://github.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3456](https://github.com/vitest-dev/vitest/issues/3456) [<samp>(4e996)</samp>](https://github.com/vitest-dev/vitest/commit/4e996ae5) - Prevent `birpc` timeouts when `Math.random` mock is not restored - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3460](https://github.com/vitest-dev/vitest/issues/3460) [<samp>(cd5d5)</samp>](https://github.com/vitest-dev/vitest/commit/cd5d58b7) - Assertion diff message now handle non writable property correctly - by [@​PCreations](https://github.com/PCreations) in [https://github.com/vitest-dev/vitest/issues/3422](https://github.com/vitest-dev/vitest/issues/3422) [<samp>(f75ab)</samp>](https://github.com/vitest-dev/vitest/commit/f75ab650) - Extend logging of process timeout errors - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3452](https://github.com/vitest-dev/vitest/issues/3452) [<samp>(42643)</samp>](https://github.com/vitest-dev/vitest/commit/42643904) - Support requiring files with `less` extension - by [@​rluvaton](https://github.com/rluvaton) in [https://github.com/vitest-dev/vitest/issues/3465](https://github.com/vitest-dev/vitest/issues/3465) [<samp>(4d045)</samp>](https://github.com/vitest-dev/vitest/commit/4d045695) - **cli**: - Improve colors used when erroring - by [@​ghiscoding](https://github.com/ghiscoding) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3349](https://github.com/vitest-dev/vitest/issues/3349) [<samp>(16681)</samp>](https://github.com/vitest-dev/vitest/commit/16681791) - **runner**: - Suite timeout does not take effect - by [@​btea](https://github.com/btea) in [https://github.com/vitest-dev/vitest/issues/3455](https://github.com/vitest-dev/vitest/issues/3455) [<samp>(82547)</samp>](https://github.com/vitest-dev/vitest/commit/82547376) - **spy**: - Don't print received calls if there are no calls - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3405](https://github.com/vitest-dev/vitest/issues/3405) [<samp>(41e11)</samp>](https://github.com/vitest-dev/vitest/commit/41e11dad) - **typecheck**: - Show tsc errors not related to test files - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3441](https://github.com/vitest-dev/vitest/issues/3441) [<samp>(a1da5)</samp>](https://github.com/vitest-dev/vitest/commit/a1da5714) - **types**: - Fix `PartialMock` with async TReturns - by [@​ghry5](https://github.com/ghry5) in [https://github.com/vitest-dev/vitest/issues/3462](https://github.com/vitest-dev/vitest/issues/3462) [<samp>(b664d)</samp>](https://github.com/vitest-dev/vitest/commit/b664d42c) - **vite-node**: - Circular import stuck - by [@​Dunqing](https://github.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3418](https://github.com/vitest-dev/vitest/issues/3418) [<samp>(632ee)</samp>](https://github.com/vitest-dev/vitest/commit/632eef40) - Coerce to string in import(dep) - by [@​jcbhmr](https://github.com/jcbhmr) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3430](https://github.com/vitest-dev/vitest/issues/3430) [<samp>(b72eb)</samp>](https://github.com/vitest-dev/vitest/commit/b72ebdb9) - Don't remove sourcemap string in source code - by [@​rxliuli](https://github.com/rxliuli) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2918](https://github.com/vitest-dev/vitest/issues/2918) and [https://github.com/vitest-dev/vitest/issues/3379](https://github.com/vitest-dev/vitest/issues/3379) [<samp>(02dc9)</samp>](https://github.com/vitest-dev/vitest/commit/02dc9ea7) - Don't externalize "dist" by default - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3446](https://github.com/vitest-dev/vitest/issues/3446) [<samp>(306b2)</samp>](https://github.com/vitest-dev/vitest/commit/306b2337) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.31.1...v0.31.2) </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:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMTAuMCIsInVwZGF0ZWRJblZlciI6IjM1LjExMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
- Loading branch information