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 vitest monorepo to v1.3.0 (#409)
[![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-v8](https://github.com/vitest-dev/vitest/tree/main/packages/coverage-v8#readme) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8)) | [`1.2.2` -> `1.3.0`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-v8/1.2.2/1.3.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-v8/1.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-v8/1.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-v8/1.2.2/1.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-v8/1.2.2/1.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [vitest](https://github.com/vitest-dev/vitest) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)) | [`1.2.2` -> `1.3.0`](https://renovatebot.com/diffs/npm/vitest/1.2.2/1.3.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/1.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/1.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/1.2.2/1.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/1.2.2/1.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (@​vitest/coverage-v8)</summary> ### [`v1.3.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.3.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.2...v1.3.0) ##### 🚀 Features - Deprecate watchExclude - by [@​patak-dev](https://github.com/patak-dev) in [https://github.com/vitest-dev/vitest/issues/5171](https://github.com/vitest-dev/vitest/issues/5171) [<samp>(82885)</samp>](https://github.com/vitest-dev/vitest/commit/828858f8) - **browser**: - Run test files in isolated iframes - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5036](https://github.com/vitest-dev/vitest/issues/5036) [<samp>(4f401)</samp>](https://github.com/vitest-dev/vitest/commit/4f40177e) - **config**: - Add `snapshotSerializers` option - by [@​fenghan34](https://github.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5092](https://github.com/vitest-dev/vitest/issues/5092) [<samp>(5b102)</samp>](https://github.com/vitest-dev/vitest/commit/5b1021da) - **reporters**: - Support custom options - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5111](https://github.com/vitest-dev/vitest/issues/5111) [<samp>(fec9c)</samp>](https://github.com/vitest-dev/vitest/commit/fec9ca0b) - **runner**: - Support automatic fixtures - by [@​fenghan34](https://github.com/fenghan34) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5102](https://github.com/vitest-dev/vitest/issues/5102) [<samp>(0441f)</samp>](https://github.com/vitest-dev/vitest/commit/0441f761) - **ui**: - Save splitpanes size to local storage - by [@​posva](https://github.com/posva) in [https://github.com/vitest-dev/vitest/issues/5166](https://github.com/vitest-dev/vitest/issues/5166) [<samp>(c28b4)</samp>](https://github.com/vitest-dev/vitest/commit/c28b4c26) - **vitest**: - Add onTestFinished hook - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5128](https://github.com/vitest-dev/vitest/issues/5128) [<samp>(6f5b4)</samp>](https://github.com/vitest-dev/vitest/commit/6f5b42b7) - Add github actions reporter - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5093](https://github.com/vitest-dev/vitest/issues/5093) [<samp>(40afb)</samp>](https://github.com/vitest-dev/vitest/commit/40afbe3a) - Expose jsdom global if jsdom environment is enabled - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5155](https://github.com/vitest-dev/vitest/issues/5155) [<samp>(567d2)</samp>](https://github.com/vitest-dev/vitest/commit/567d20b9) - Add new CLI options - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5163](https://github.com/vitest-dev/vitest/issues/5163) [<samp>(4e179)</samp>](https://github.com/vitest-dev/vitest/commit/4e179426) - "test" accepts options object as the second parameter - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5142](https://github.com/vitest-dev/vitest/issues/5142) [<samp>(7d9b1)</samp>](https://github.com/vitest-dev/vitest/commit/7d9b1fb0) - **vm**: - Support wasm module - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5131](https://github.com/vitest-dev/vitest/issues/5131) [<samp>(5ed53)</samp>](https://github.com/vitest-dev/vitest/commit/5ed537f0) ##### 🐞 Bug Fixes - Fix sourcemap in vm pools - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5063](https://github.com/vitest-dev/vitest/issues/5063) [<samp>(81105)</samp>](https://github.com/vitest-dev/vitest/commit/8110540a) - Don't optimize react/jsx-runtime by default when running in Node - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5079](https://github.com/vitest-dev/vitest/issues/5079) [<samp>(0d2bf)</samp>](https://github.com/vitest-dev/vitest/commit/0d2bfeac) - Rpc timeout error messages to include caller - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5103](https://github.com/vitest-dev/vitest/issues/5103) [<samp>(a6e04)</samp>](https://github.com/vitest-dev/vitest/commit/a6e04bd8) - Requires fixed version across the monorepo - by [@​antfu](https://github.com/antfu) in [https://github.com/vitest-dev/vitest/issues/5208](https://github.com/vitest-dev/vitest/issues/5208) [<samp>(68f51)</samp>](https://github.com/vitest-dev/vitest/commit/68f51961) - Prevent merging of `poolOptions` - by [@​penalosa](https://github.com/penalosa) in [https://github.com/vitest-dev/vitest/issues/5221](https://github.com/vitest-dev/vitest/issues/5221) [<samp>(bc5b2)</samp>](https://github.com/vitest-dev/vitest/commit/bc5b2d04) - **browser**: - Don't exclude node builtins from optimization - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5082](https://github.com/vitest-dev/vitest/issues/5082) [<samp>(714c9)</samp>](https://github.com/vitest-dev/vitest/commit/714c911f) - Support `coverage.reportsDirectory` with multiple directories - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5056](https://github.com/vitest-dev/vitest/issues/5056) [<samp>(ae73f)</samp>](https://github.com/vitest-dev/vitest/commit/ae73f273) - **cli**: - Parse `--browser=<name>` correctly - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5179](https://github.com/vitest-dev/vitest/issues/5179) [<samp>(656e2)</samp>](https://github.com/vitest-dev/vitest/commit/656e210b) - **coverage**: - `.tmp` directory conflicts with `--shard` option - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5184](https://github.com/vitest-dev/vitest/issues/5184) [<samp>(5749d)</samp>](https://github.com/vitest-dev/vitest/commit/5749d2c2) - **deps**: - Update dependency strip-literal to v2 - by [@​renovate](https://github.com/renovate)\[bot] in[https://github.com/vitest-dev/vitest/issues/5136](https://github.com/vitest-dev/vitest/issues/5136)6 [<samp>(ef557)</samp>](https://github.com/vitest-dev/vitest/commit/ef557243) - **reporters**: - Testsuite name should include project root in Junit output - by [@​fenghan34](https://github.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5116](https://github.com/vitest-dev/vitest/issues/5116) [<samp>(2494f)</samp>](https://github.com/vitest-dev/vitest/commit/2494fbf2) - **typecheck**: - Fix suite collection while-loop - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5065](https://github.com/vitest-dev/vitest/issues/5065) [<samp>(35675)</samp>](https://github.com/vitest-dev/vitest/commit/35675bd3) - **ui**: - Fix tests duration time - by [@​vovsemenv](https://github.com/vovsemenv) in [https://github.com/vitest-dev/vitest/issues/5219](https://github.com/vitest-dev/vitest/issues/5219) [<samp>(58103)</samp>](https://github.com/vitest-dev/vitest/commit/581030ee) - **utils**: - Fix asymmetric matcher diff inside array - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5189](https://github.com/vitest-dev/vitest/issues/5189) [<samp>(3ffcd)</samp>](https://github.com/vitest-dev/vitest/commit/3ffcd2ea) - **vitest**: - Correctly report failed test files as failures in json reporter, export json reporter types - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5081](https://github.com/vitest-dev/vitest/issues/5081) [<samp>(0417b)</samp>](https://github.com/vitest-dev/vitest/commit/0417ba20) - Don't run typecheck tests in browser if both are enabled - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5080](https://github.com/vitest-dev/vitest/issues/5080) [<samp>(1045b)</samp>](https://github.com/vitest-dev/vitest/commit/1045b98b) - Handle function config inside `defineWorkspace` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5089](https://github.com/vitest-dev/vitest/issues/5089) [<samp>(0bf52)</samp>](https://github.com/vitest-dev/vitest/commit/0bf52533) - Remove excessive listeners when running without isolation, don't reset the state - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5132](https://github.com/vitest-dev/vitest/issues/5132) [<samp>(b607f)</samp>](https://github.com/vitest-dev/vitest/commit/b607f1ea) - Auto-enable "github-actions" only where users didn't configure reporters - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5158](https://github.com/vitest-dev/vitest/issues/5158) [<samp>(ef044)</samp>](https://github.com/vitest-dev/vitest/commit/ef0440cb) - Support more array cli options - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5162](https://github.com/vitest-dev/vitest/issues/5162) [<samp>(3afe6)</samp>](https://github.com/vitest-dev/vitest/commit/3afe68f1) - Add types for the new global `jsdom` variable - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5164](https://github.com/vitest-dev/vitest/issues/5164) [<samp>(0f898)</samp>](https://github.com/vitest-dev/vitest/commit/0f898d87) - Expose onTestFinished globally - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(1304f)</samp>](https://github.com/vitest-dev/vitest/commit/1304fed7) - Disable optimizer by default until it's stable - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5156](https://github.com/vitest-dev/vitest/issues/5156) [<samp>(e1bd8)</samp>](https://github.com/vitest-dev/vitest/commit/e1bd8d5d) - Delegate snapshot options to workspace from root config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5199](https://github.com/vitest-dev/vitest/issues/5199) [<samp>(86297)</samp>](https://github.com/vitest-dev/vitest/commit/86297d42) - Fix `optimizeDeps.disabled` warnings on Vite 5.1 - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5215](https://github.com/vitest-dev/vitest/issues/5215) [<samp>(1aecd)</samp>](https://github.com/vitest-dev/vitest/commit/1aecd650) - **vm**: - Handle `disableConsoleIntercept` config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5074](https://github.com/vitest-dev/vitest/issues/5074) [<samp>(a55ad)</samp>](https://github.com/vitest-dev/vitest/commit/a55adac6) - Improve error when module is not found - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5053](https://github.com/vitest-dev/vitest/issues/5053) [<samp>(79a50)</samp>](https://github.com/vitest-dev/vitest/commit/79a50c3f) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.2...v1.3.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 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/Johannes-Andersen/Johannes). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNzMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjE3My4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
- Loading branch information