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 v0.34.4 (#47)
[![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)) | [`0.33.0` -> `0.34.4`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-v8/0.33.0/0.34.4) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-v8/0.34.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-v8/0.34.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-v8/0.33.0/0.34.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-v8/0.33.0/0.34.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [vitest](https://github.com/vitest-dev/vitest) | [`0.33.0` -> `0.34.4`](https://renovatebot.com/diffs/npm/vitest/0.33.0/0.34.4) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/0.34.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/0.34.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/0.33.0/0.34.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/0.33.0/0.34.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (@​vitest/coverage-v8)</summary> ### [`v0.34.4`](https://github.com/vitest-dev/vitest/releases/tag/v0.34.4) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.34.3...v0.34.4) ##### 🐞 Bug Fixes - Resolving dep optimizer issues with workspace - by [@​thebanjomatic](https://github.com/thebanjomatic) in [https://github.com/vitest-dev/vitest/issues/4036](https://github.com/vitest-dev/vitest/issues/4036) [<samp>(0c13c)</samp>](https://github.com/vitest-dev/vitest/commit/0c13c39c) - Don't process config file twice - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4077](https://github.com/vitest-dev/vitest/issues/4077) [<samp>(a84a8)</samp>](https://github.com/vitest-dev/vitest/commit/a84a8e05) - **coverage**: - Log info only when terminal reporter is used - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4027](https://github.com/vitest-dev/vitest/issues/4027) [<samp>(9f043)</samp>](https://github.com/vitest-dev/vitest/commit/9f04386b) - **happy-dom**: - Use the nodejs console in happy-dom v11 - by [@​capricorn86](https://github.com/capricorn86) in [https://github.com/vitest-dev/vitest/issues/4090](https://github.com/vitest-dev/vitest/issues/4090) [<samp>(59434)</samp>](https://github.com/vitest-dev/vitest/commit/59434189) - **runner**: - Incorrect test name pattern matching - by [@​Dunqing](https://github.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/4071](https://github.com/vitest-dev/vitest/issues/4071) [<samp>(b5bf3)</samp>](https://github.com/vitest-dev/vitest/commit/b5bf3290) - **vite-node**: - Check more precisely for root/base paths - by [@​danielroe](https://github.com/danielroe) in [https://github.com/vitest-dev/vitest/issues/4049](https://github.com/vitest-dev/vitest/issues/4049) [<samp>(80741)</samp>](https://github.com/vitest-dev/vitest/commit/807418fa) - **vitest**: - "vi" doesn't rely on context - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4031](https://github.com/vitest-dev/vitest/issues/4031) [<samp>(0d0f3)</samp>](https://github.com/vitest-dev/vitest/commit/0d0f35f6) - Only override ssr.optimizer instead of the whole ssr object - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4080](https://github.com/vitest-dev/vitest/issues/4080) [<samp>(410bc)</samp>](https://github.com/vitest-dev/vitest/commit/410bc454) - Don't start the server when optimizer is enabled - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4095](https://github.com/vitest-dev/vitest/issues/4095) [<samp>(00e81)</samp>](https://github.com/vitest-dev/vitest/commit/00e81122) - Set SSR env only when transformMode is ssr - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4083](https://github.com/vitest-dev/vitest/issues/4083) [<samp>(f8ea7)</samp>](https://github.com/vitest-dev/vitest/commit/f8ea716a) - Show error when calling API on files that user has no access to - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4085](https://github.com/vitest-dev/vitest/issues/4085) [<samp>(8b39c)</samp>](https://github.com/vitest-dev/vitest/commit/8b39c117) - **web-worker**: - Don't rely on browser API when it's not provided - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4014](https://github.com/vitest-dev/vitest/issues/4014) [<samp>(e78a4)</samp>](https://github.com/vitest-dev/vitest/commit/e78a449d) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.34.3...v0.34.4) ### [`v0.34.3`](https://github.com/vitest-dev/vitest/releases/tag/v0.34.3) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.34.2...v0.34.3) ##### 🚀 Features - **coverage**: Add `allowExternal` option - by [@​vojvodics](https://github.com/vojvodics) and [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3894](https://github.com/vitest-dev/vitest/issues/3894) [<samp>(c03fa)</samp>](https://github.com/vitest-dev/vitest/commit/c03faa22) - **vitest**: Export all reporters in `vitest/reporters` - by [@​Dunqing](https://github.com/Dunqing) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3980](https://github.com/vitest-dev/vitest/issues/3980) [<samp>(5704b)</samp>](https://github.com/vitest-dev/vitest/commit/5704b341) ##### 🐞 Bug Fixes - Should remove mockPath from callstack whether success or failed - by [@​miserylee](https://github.com/miserylee) and **lijifei** in [https://github.com/vitest-dev/vitest/issues/3971](https://github.com/vitest-dev/vitest/issues/3971) [<samp>(5eb85)</samp>](https://github.com/vitest-dev/vitest/commit/5eb8561c) - Add workspace config files to default coverage excludes - by [@​FelixGraf](https://github.com/FelixGraf) and [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3973](https://github.com/vitest-dev/vitest/issues/3973) [<samp>(20263)</samp>](https://github.com/vitest-dev/vitest/commit/20263d9d) - Report file error as a <failure> on JUnit - by [@​3c1u](https://github.com/3c1u) in [https://github.com/vitest-dev/vitest/issues/3997](https://github.com/vitest-dev/vitest/issues/3997) [<samp>(00c43)</samp>](https://github.com/vitest-dev/vitest/commit/00c432fa) - **jsdom**: Correctly resolve buffer on typed arrays - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3998](https://github.com/vitest-dev/vitest/issues/3998) [<samp>(b42cf)</samp>](https://github.com/vitest-dev/vitest/commit/b42cf36e) - **ui**: Use web hash history in ui - by [@​segevfiner](https://github.com/segevfiner) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3481](https://github.com/vitest-dev/vitest/issues/3481) and [https://github.com/vitest-dev/vitest/issues/3487](https://github.com/vitest-dev/vitest/issues/3487) [<samp>(8caab)</samp>](https://github.com/vitest-dev/vitest/commit/8caabaa1) - **vite-node**: Inline HMR types - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3993](https://github.com/vitest-dev/vitest/issues/3993) [<samp>(dff60)</samp>](https://github.com/vitest-dev/vitest/commit/dff60e82) - **vitest**: Correctly resolve optimizer status - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3992](https://github.com/vitest-dev/vitest/issues/3992) [<samp>(74dc5)</samp>](https://github.com/vitest-dev/vitest/commit/74dc5967) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.34.2...v0.34.3) ### [`v0.34.2`](https://github.com/vitest-dev/vitest/releases/tag/v0.34.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.34.1...v0.34.2) ##### 🚀 Features - Allow importing CSS and assets inside external dependencies when using `--experimental-vm-threads` - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3880](https://github.com/vitest-dev/vitest/issues/3880) [<samp>(f4e6e)</samp>](https://github.com/vitest-dev/vitest/commit/f4e6e99f) - **vitest**: Allow calling `ctx.skip()` inside the running test - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3966](https://github.com/vitest-dev/vitest/issues/3966) [<samp>(5c88d)</samp>](https://github.com/vitest-dev/vitest/commit/5c88d8e5) ##### 🐞 Bug Fixes - Don't bundle utils' source-map entry - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3865](https://github.com/vitest-dev/vitest/issues/3865) [<samp>(a08e5)</samp>](https://github.com/vitest-dev/vitest/commit/a08e5993) - Reduce the memory consumption when running --experimental-vm-threads - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3872](https://github.com/vitest-dev/vitest/issues/3872) [<samp>(d1a08)</samp>](https://github.com/vitest-dev/vitest/commit/d1a08c88) - Indicator position of error message - by [@​fenghan34](https://github.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3855](https://github.com/vitest-dev/vitest/issues/3855) [<samp>(3e1e7)</samp>](https://github.com/vitest-dev/vitest/commit/3e1e7a1f) - Don't crash when using --experimental-vm-threads, interop CJS default inside node_modules - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3876](https://github.com/vitest-dev/vitest/issues/3876) [<samp>(0c53e)</samp>](https://github.com/vitest-dev/vitest/commit/0c53e098) - Don't crash if total memory is not supported - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3879](https://github.com/vitest-dev/vitest/issues/3879) [<samp>(7d1f8)</samp>](https://github.com/vitest-dev/vitest/commit/7d1f86b8) - Check memory and limit value - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(f8dfb)</samp>](https://github.com/vitest-dev/vitest/commit/f8dfbd38) - Update module warning as it is moved into server config - by [@​jellyfishgh](https://github.com/jellyfishgh) in [https://github.com/vitest-dev/vitest/issues/3931](https://github.com/vitest-dev/vitest/issues/3931) [<samp>(3a3eb)</samp>](https://github.com/vitest-dev/vitest/commit/3a3eb22c) - Define process variable and using import.meta.env together did not work - by [@​Dunqing](https://github.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3944](https://github.com/vitest-dev/vitest/issues/3944) [<samp>(e73ca)</samp>](https://github.com/vitest-dev/vitest/commit/e73ca9ed) - Correctly resolve config in a workspace - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3947](https://github.com/vitest-dev/vitest/issues/3947) [<samp>(1c08d)</samp>](https://github.com/vitest-dev/vitest/commit/1c08d5da) - Don't crash when calling useFakeTimers in VM pool - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3958](https://github.com/vitest-dev/vitest/issues/3958) [<samp>(91fe4)</samp>](https://github.com/vitest-dev/vitest/commit/91fe4853) - Restrict access to file system via API - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3956](https://github.com/vitest-dev/vitest/issues/3956) [<samp>(bcb41)</samp>](https://github.com/vitest-dev/vitest/commit/bcb41e51) - Typo of mocks plugin name - by [@​antfu](https://github.com/antfu) [<samp>(3073b)</samp>](https://github.com/vitest-dev/vitest/commit/3073b9a2) - Build not generated `execute.d.ts` - by [@​btea](https://github.com/btea) in [https://github.com/vitest-dev/vitest/issues/3970](https://github.com/vitest-dev/vitest/issues/3970) [<samp>(0f8e6)</samp>](https://github.com/vitest-dev/vitest/commit/0f8e60b7) - **css**: - Don't mock css-module if `?inline` query is specified - by [@​thebanjomatic](https://github.com/thebanjomatic) and **Adam Hines** in [https://github.com/vitest-dev/vitest/issues/3952](https://github.com/vitest-dev/vitest/issues/3952) [<samp>(3891d)</samp>](https://github.com/vitest-dev/vitest/commit/3891d055) - **expect**: - Correctly show async matcher diff - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3960](https://github.com/vitest-dev/vitest/issues/3960) [<samp>(9423b)</samp>](https://github.com/vitest-dev/vitest/commit/9423b6f8) - **snapshots**: - Update inline snapshot correctly - by [@​fenghan34](https://github.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3887](https://github.com/vitest-dev/vitest/issues/3887) [<samp>(7b740)</samp>](https://github.com/vitest-dev/vitest/commit/7b740a27) - **ui**: - Incorrect duration time in vitest ui - by [@​Dunqing](https://github.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3945](https://github.com/vitest-dev/vitest/issues/3945) [<samp>(35139)</samp>](https://github.com/vitest-dev/vitest/commit/351399f2) - Add support for ui coverage with subdir option - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3917](https://github.com/vitest-dev/vitest/issues/3917) [<samp>(6ecfc)</samp>](https://github.com/vitest-dev/vitest/commit/6ecfc4e1) - **vitest**: - Use esm module resolution to resolve env - by [@​danielroe](https://github.com/danielroe) in [https://github.com/vitest-dev/vitest/issues/3951](https://github.com/vitest-dev/vitest/issues/3951) [<samp>(edb32)</samp>](https://github.com/vitest-dev/vitest/commit/edb322fe) - Allow rewriting process.env.NODE_MODE when using web transform mode - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3957](https://github.com/vitest-dev/vitest/issues/3957) [<samp>(eca4b)</samp>](https://github.com/vitest-dev/vitest/commit/eca4b87f) - Only consider cwd when using glob - by [@​g-plane](https://github.com/g-plane) in [https://github.com/vitest-dev/vitest/issues/3802](https://github.com/vitest-dev/vitest/issues/3802) and [https://github.com/vitest-dev/vitest/issues/3949](https://github.com/vitest-dev/vitest/issues/3949) [<samp>(15b4f)</samp>](https://github.com/vitest-dev/vitest/commit/15b4fd6d) - Pass environmentOptions to happy-dom integration - by [@​sheremet-va](https://github.com/sheremet-va) and **Raul de Melo** in [https://github.com/vitest-dev/vitest/issues/3972](https://github.com/vitest-dev/vitest/issues/3972) [<samp>(6a0cb)</samp>](https://github.com/vitest-dev/vitest/commit/6a0cb647) - **web**: - Correctly resolve assets in new URL - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3950](https://github.com/vitest-dev/vitest/issues/3950) [<samp>(a428f)</samp>](https://github.com/vitest-dev/vitest/commit/a428f8d4) ##### 🏎 Performance - **dot-renderer**: Speed up getTests - by [@​gtm-nayan](https://github.com/gtm-nayan) in [https://github.com/vitest-dev/vitest/issues/3923](https://github.com/vitest-dev/vitest/issues/3923) [<samp>(e9404)</samp>](https://github.com/vitest-dev/vitest/commit/e94044d7) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.34.1...v0.34.2) ### [`v0.34.1`](https://github.com/vitest-dev/vitest/releases/tag/v0.34.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.34.0...v0.34.1) ##### 🐞 Bug Fixes - Pass `--experimental-vm-worker-memory-limit` to `tinypool` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3856](https://github.com/vitest-dev/vitest/issues/3856) [<samp>(3c67a)</samp>](https://github.com/vitest-dev/vitest/commit/3c67a4cb) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.34.0...v0.34.1) ### [`v0.34.0`](https://github.com/vitest-dev/vitest/releases/tag/v0.34.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.33.0...v0.34.0) ##### 🚨 Breaking Changes - Transform mode affects only test files, not regular files - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3491](https://github.com/vitest-dev/vitest/issues/3491) [<samp>(9608b)</samp>](https://github.com/vitest-dev/vitest/commit/9608bf72) - `transformMode` is now moved to `server.transformMode`. This option is highly discouraged to use. If you need to change the transform mode, use the new option `testTransformMode` instead to control the mode based on the running test, not the current file path. By default, tests with `jsdom` or `happy-dom` use `web` transform mode, and tests using `node` or `edge` environment use `ssr` mode. If you have a custom environment, it should provide `transformMode` property. - Custom environment now should be processed before Vitest can consume it. It means that you cannot specify a path to a TS file or use import paths that should be processed by Vite. - Disable `coverage.reportOnFailure` by default - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3615](https://github.com/vitest-dev/vitest/issues/3615) [<samp>(0c6f6)</samp>](https://github.com/vitest-dev/vitest/commit/0c6f624f) - Remove `@vitest/coverage-c8` package - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3614](https://github.com/vitest-dev/vitest/issues/3614) [<samp>(a90d6)</samp>](https://github.com/vitest-dev/vitest/commit/a90d64fe) - `@vitest/coverage-c8` is no longer supported. Please, use `@vitest/coverage-v8` instead. - Support running tests using VM context - by [@​sheremet-va](https://github.com/sheremet-va) and [@​dammy001](https://github.com/dammy001) in [https://github.com/vitest-dev/vitest/issues/3203](https://github.com/vitest-dev/vitest/issues/3203) [<samp>(b0929)</samp>](https://github.com/vitest-dev/vitest/commit/b0929852) - To address speed issues in some applications, Vitest now provides `experimentalVmThreads` pool to run your tests using VM Sandboxes environment. Make sure you understand [all pitfalls](https://vitest.dev/config/#experimentalvmthreads) of this pool before opening an issue. - Introduce `server` option - by [@​fenghan34](https://github.com/fenghan34) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3725](https://github.com/vitest-dev/vitest/issues/3725) [<samp>(dc4fa)</samp>](https://github.com/vitest-dev/vitest/commit/dc4faf64) - Most of `deps.` options are now moved to `server.deps` with a deprecation warning. Please, consider using `deps.optimizer` instead of `deps.inline`/`deps.external`. Ideally, we would like to move away from using `server.deps.inline` altogether. - **vite-node**: Make CLI arguments parsing behavior consistent with node/tsx/ts-node - by [@​rxliuli](https://github.com/rxliuli) in [https://github.com/vitest-dev/vitest/issues/3574](https://github.com/vitest-dev/vitest/issues/3574) [<samp>(1cd4e)</samp>](https://github.com/vitest-dev/vitest/commit/1cd4eb0f) - You now have to provide CLI arguments before the entry point. For example, instead of `vite-node index.ts --watch`, you now have to do `vite-node --watch index.ts`. - Add preact example, remove optimizer experimental status, enable by default - by [@​sheremet-va](https://github.com/sheremet-va) and [@​eryue0220](https://github.com/eryue0220) in [https://github.com/vitest-dev/vitest/issues/3854](https://github.com/vitest-dev/vitest/issues/3854) [<samp>(4b946)</samp>](https://github.com/vitest-dev/vitest/commit/4b946ca9) - `deps.optimizer` is now enabled by default. This means that Vitest will bundle specified dependencies before running your tests. This field inherits options from `optimizeDeps` and `ssr.optimizeDeps` which are populated by other plugins (like, Svelte). ##### 🚀 Features - Support `describe.sequential` - by [@​fenghan34](https://github.com/fenghan34) and [@​dammy001](https://github.com/dammy001) in [https://github.com/vitest-dev/vitest/issues/3771](https://github.com/vitest-dev/vitest/issues/3771) [<samp>(86934)</samp>](https://github.com/vitest-dev/vitest/commit/8693449b) - Support config junit reporter className with env - by [@​InfiniteXyy](https://github.com/InfiniteXyy) in [https://github.com/vitest-dev/vitest/issues/3808](https://github.com/vitest-dev/vitest/issues/3808) [<samp>(e8bc4)</samp>](https://github.com/vitest-dev/vitest/commit/e8bc46b6) - Running vitest with `--related --watch` reruns non-affected tests if they were changed during a run - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3844](https://github.com/vitest-dev/vitest/issues/3844) [<samp>(c9aea)</samp>](https://github.com/vitest-dev/vitest/commit/c9aeac4c) ##### 🐞 Bug Fixes - Isolate workers between envs and workspaces - by [@​AriPerkkio](https://github.com/AriPerkkio) [<samp>(ed4e0)</samp>](https://github.com/vitest-dev/vitest/commit/ed4e0424) - Modify condition - by [@​btea](https://github.com/btea) [<samp>(a78e6)</samp>](https://github.com/vitest-dev/vitest/commit/a78e6bd0) - Module Graph view is blocking the Console view - by [@​g4rry420](https://github.com/g4rry420) [<samp>(3b5f9)</samp>](https://github.com/vitest-dev/vitest/commit/3b5f96bc) - Port the latest `defineConfig` type from vite - by [@​sodatea](https://github.com/sodatea) in [https://github.com/vitest-dev/vitest/issues/3804](https://github.com/vitest-dev/vitest/issues/3804) [<samp>(9c8e3)</samp>](https://github.com/vitest-dev/vitest/commit/9c8e3083) - Don't overwrite Node.js URL global - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3828](https://github.com/vitest-dev/vitest/issues/3828) [<samp>(cdab4)</samp>](https://github.com/vitest-dev/vitest/commit/cdab4651) - ForceRerunTriggers correctly triggers a rerun - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3829](https://github.com/vitest-dev/vitest/issues/3829) [<samp>(17988)</samp>](https://github.com/vitest-dev/vitest/commit/17988e51) - **browser**: - Don't inline magic-string and estree-walker - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3726](https://github.com/vitest-dev/vitest/issues/3726) [<samp>(ee937)</samp>](https://github.com/vitest-dev/vitest/commit/ee93762a) - Multi-suite coverage - by [@​elby22](https://github.com/elby22) in [https://github.com/vitest-dev/vitest/issues/3806](https://github.com/vitest-dev/vitest/issues/3806) [<samp>(5de9a)</samp>](https://github.com/vitest-dev/vitest/commit/5de9af26) - **core**: - DataView comparison does not work in `toStrictEqual` - by [@​Dunqing](https://github.com/Dunqing) [<samp>(52aef)</samp>](https://github.com/vitest-dev/vitest/commit/52aef92e) - **coverage**: - V8 provider to pick source maps without url query params - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3784](https://github.com/vitest-dev/vitest/issues/3784) [<samp>(280e6)</samp>](https://github.com/vitest-dev/vitest/commit/280e6745) - Update `istanbul-lib-instrument` to v6 to fix vulnerable dependency - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3814](https://github.com/vitest-dev/vitest/issues/3814) [<samp>(f3bd9)</samp>](https://github.com/vitest-dev/vitest/commit/f3bd9102) - Exclude vite virtual modules by default - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3794](https://github.com/vitest-dev/vitest/issues/3794) [<samp>(3c851)</samp>](https://github.com/vitest-dev/vitest/commit/3c851872) - **node**: - Guard error info - by [@​btea](https://github.com/btea) [<samp>(88b39)</samp>](https://github.com/vitest-dev/vitest/commit/88b39758) - **vite-node**: - Always treat node_modules as modulesDirectory - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3830](https://github.com/vitest-dev/vitest/issues/3830) [<samp>(51ab8)</samp>](https://github.com/vitest-dev/vitest/commit/51ab8d6c) - Normalize drive letter to keep the same reference to a module - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3836](https://github.com/vitest-dev/vitest/issues/3836) [<samp>(45521)</samp>](https://github.com/vitest-dev/vitest/commit/45521859) - Correctly resolve hmr filepath - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3834](https://github.com/vitest-dev/vitest/issues/3834) [<samp>(711a6)</samp>](https://github.com/vitest-dev/vitest/commit/711a6249) - **watch**: - Clear screen on all terminals - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3661](https://github.com/vitest-dev/vitest/issues/3661) [<samp>(8bd26)</samp>](https://github.com/vitest-dev/vitest/commit/8bd26b01) ##### 🏎 Performance - Deprecate deps.registerNodeLoader - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(7f45b)</samp>](https://github.com/vitest-dev/vitest/commit/7f45bf2d) - This option was introduced to support aliasing inside external packages. Please, use `deps.optimizer.web` instead. If you test Node.js applications, consider adding external packages to `server.deps.inline`. ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.33.0...v0.34.0) </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:eyJjcmVhdGVkSW5WZXIiOiIzNi44My4wIiwidXBkYXRlZEluVmVyIjoiMzYuODMuMCIsInRhcmdldEJyYW5jaCI6ImNob3JlL3Jlbm92YXRlQmFzZUJyYW5jaCJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
- Loading branch information