-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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(browser): multi-suite coverage #3806
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|
✅ Deploy Preview for fastidious-cascaron-4ded94 ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
6 tasks
AriPerkkio
reviewed
Jul 25, 2023
c77f423
to
d97353c
Compare
@AriPerkkio I've made the suggested changes. Thanks for the feedback! |
AriPerkkio
reviewed
Jul 26, 2023
db3eadb
to
f4ca600
Compare
AriPerkkio
approved these changes
Jul 26, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks!
Can you resolve conflicts? |
test(test-coverage): multi-suite v8/istanbul chore: remove example tests
f4ca600
to
7294733
Compare
@sheremet-va done |
renovate bot
added a commit
to fwouts/previewjs
that referenced
this pull request
Aug 1, 2023
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [vitest](https://togithub.com/vitest-dev/vitest) | [`^0.33.0` -> `^0.34.0`](https://renovatebot.com/diffs/npm/vitest/0.33.0/0.34.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/0.34.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/0.34.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/0.33.0/0.34.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/0.33.0/0.34.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (vitest)</summary> ### [`v0.34.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.33.0...v0.34.0) ##### 🚨 Breaking Changes - TransformMode affects only test files, not regular files - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3491 [<samp>(9608b)</samp>](https://togithub.com/vitest-dev/vitest/commit/9608bf72) - Disable `coverage.reportOnFailure` by default - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3615 [<samp>(0c6f6)</samp>](https://togithub.com/vitest-dev/vitest/commit/0c6f624f) - Remove `@vitest/coverage-c8` package - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3614 [<samp>(a90d6)</samp>](https://togithub.com/vitest-dev/vitest/commit/a90d64fe) - Support running tests using VM context - by [@​sheremet-va](https://togithub.com/sheremet-va) and [@​dammy001](https://togithub.com/dammy001) in [vitest-dev/vitest#3203 [<samp>(b0929)</samp>](https://togithub.com/vitest-dev/vitest/commit/b0929852) ##### 🚀 Features - Support `describe.sequential` - by [@​fenghan34](https://togithub.com/fenghan34) and [@​dammy001](https://togithub.com/dammy001) in [vitest-dev/vitest#3771 [<samp>(86934)</samp>](https://togithub.com/vitest-dev/vitest/commit/8693449b) - Support config junit reporter className with env - by [@​InfiniteXyy](https://togithub.com/InfiniteXyy) in [vitest-dev/vitest#3808 [<samp>(e8bc4)</samp>](https://togithub.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://togithub.com/sheremet-va) in [vitest-dev/vitest#3844 [<samp>(c9aea)</samp>](https://togithub.com/vitest-dev/vitest/commit/c9aeac4c) - Introduce `server` option - by [@​fenghan34](https://togithub.com/fenghan34) and [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3725 [<samp>(dc4fa)</samp>](https://togithub.com/vitest-dev/vitest/commit/dc4faf64) - Add preact example, remove optimizer experimental status, enable by default - by [@​sheremet-va](https://togithub.com/sheremet-va) and [@​eryue0220](https://togithub.com/eryue0220) in [vitest-dev/vitest#3854 [<samp>(4b946)</samp>](https://togithub.com/vitest-dev/vitest/commit/4b946ca9) - **vite-node**: Make CLI arguments parsing behavior consistent with node/tsx/ts-node - by [@​rxliuli](https://togithub.com/rxliuli) in [vitest-dev/vitest#3574 [<samp>(1cd4e)</samp>](https://togithub.com/vitest-dev/vitest/commit/1cd4eb0f) ##### 🐞 Bug Fixes - Isolate workers between envs and workspaces - by [@​AriPerkkio](https://togithub.com/AriPerkkio) [<samp>(ed4e0)</samp>](https://togithub.com/vitest-dev/vitest/commit/ed4e0424) - Modify condition - by [@​btea](https://togithub.com/btea) [<samp>(a78e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/a78e6bd0) - Module Graph view is blocking the Console view - by [@​g4rry420](https://togithub.com/g4rry420) [<samp>(3b5f9)</samp>](https://togithub.com/vitest-dev/vitest/commit/3b5f96bc) - Port the latest `defineConfig` type from vite - by [@​sodatea](https://togithub.com/sodatea) in [vitest-dev/vitest#3804 [<samp>(9c8e3)</samp>](https://togithub.com/vitest-dev/vitest/commit/9c8e3083) - Don't overwrite Node.js URL global - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3828 [<samp>(cdab4)</samp>](https://togithub.com/vitest-dev/vitest/commit/cdab4651) - ForceRerunTriggers correctly triggers a rerun - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3829 [<samp>(17988)</samp>](https://togithub.com/vitest-dev/vitest/commit/17988e51) - **browser**: - Don't inline magic-string and estree-walker - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3726 [<samp>(ee937)</samp>](https://togithub.com/vitest-dev/vitest/commit/ee93762a) - Multi-suite coverage - by [@​elby22](https://togithub.com/elby22) in [vitest-dev/vitest#3806 [<samp>(5de9a)</samp>](https://togithub.com/vitest-dev/vitest/commit/5de9af26) - **core**: - DataView comparison does not work in `toStrictEqual` - by [@​Dunqing](https://togithub.com/Dunqing) [<samp>(52aef)</samp>](https://togithub.com/vitest-dev/vitest/commit/52aef92e) - **coverage**: - V8 provider to pick source maps without url query params - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3784 [<samp>(280e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/280e6745) - Update `istanbul-lib-instrument` to v6 to fix vulnerable dependency - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3814 [<samp>(f3bd9)</samp>](https://togithub.com/vitest-dev/vitest/commit/f3bd9102) - Exclude vite virtual modules by default - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3794 [<samp>(3c851)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c851872) - **node**: - Guard error info - by [@​btea](https://togithub.com/btea) [<samp>(88b39)</samp>](https://togithub.com/vitest-dev/vitest/commit/88b39758) - **vite-node**: - Always treat node_modules as modulesDirectory - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3830 [<samp>(51ab8)</samp>](https://togithub.com/vitest-dev/vitest/commit/51ab8d6c) - Normalize drive letter to keep the same reference to a module - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3836 [<samp>(45521)</samp>](https://togithub.com/vitest-dev/vitest/commit/45521859) - Correctly resolve hmr filepath - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3834 [<samp>(711a6)</samp>](https://togithub.com/vitest-dev/vitest/commit/711a6249) - **watch**: - Clear screen on all terminals - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3661 [<samp>(8bd26)</samp>](https://togithub.com/vitest-dev/vitest/commit/8bd26b01) ##### 🏎 Performance - Deprecate deps.registerNodeLoader - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(7f45b)</samp>](https://togithub.com/vitest-dev/vitest/commit/7f45bf2d) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.33.0...v0.34.0) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/fwouts/previewjs). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4yNy4xIiwidXBkYXRlZEluVmVyIjoiMzYuMjcuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
kodiakhq bot
pushed a commit
to mheob/used-pm
that referenced
this pull request
Aug 1, 2023
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [vitest](https://togithub.com/vitest-dev/vitest) | [`^0.33.0` -> `^0.34.1`](https://renovatebot.com/diffs/npm/vitest/0.33.0/0.34.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/0.33.0/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/0.33.0/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (vitest)</summary> ### [`v0.34.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.0...v0.34.1) ##### 🐞 Bug Fixes - Pass `--experimental-vm-worker-memory-limit` to `tinypool` - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3856 [<samp>(3c67a)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c67a4cb) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.0...v0.34.1) ### [`v0.34.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.0) [Compare Source](https://togithub.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://togithub.com/sheremet-va) in [vitest-dev/vitest#3491 [<samp>(9608b)</samp>](https://togithub.com/vitest-dev/vitest/commit/9608bf72) - `transformMode` is now moved to `server.transformMode`. This option is highly discouraged to use. If you need to change the transform mode, use the new option `testTransformMode` instead to control the mode based on the running test, not the current file path. By default, tests with `jsdom` or `happy-dom` use `web` transform mode, and tests using `node` or `edge` environment use `ssr` mode. If you have a custom environment, it should provide `transformMode` property. - Disable `coverage.reportOnFailure` by default - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3615 [<samp>(0c6f6)</samp>](https://togithub.com/vitest-dev/vitest/commit/0c6f624f) - Remove `@vitest/coverage-c8` package - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3614 [<samp>(a90d6)</samp>](https://togithub.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://togithub.com/sheremet-va) and [@​dammy001](https://togithub.com/dammy001) in [vitest-dev/vitest#3203 [<samp>(b0929)</samp>](https://togithub.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://togithub.com/fenghan34) and [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3725 [<samp>(dc4fa)</samp>](https://togithub.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://togithub.com/rxliuli) in [vitest-dev/vitest#3574 [<samp>(1cd4e)</samp>](https://togithub.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://togithub.com/sheremet-va) and [@​eryue0220](https://togithub.com/eryue0220) in [vitest-dev/vitest#3854 [<samp>(4b946)</samp>](https://togithub.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://togithub.com/fenghan34) and [@​dammy001](https://togithub.com/dammy001) in [vitest-dev/vitest#3771 [<samp>(86934)</samp>](https://togithub.com/vitest-dev/vitest/commit/8693449b) - Support config junit reporter className with env - by [@​InfiniteXyy](https://togithub.com/InfiniteXyy) in [vitest-dev/vitest#3808 [<samp>(e8bc4)</samp>](https://togithub.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://togithub.com/sheremet-va) in [vitest-dev/vitest#3844 [<samp>(c9aea)</samp>](https://togithub.com/vitest-dev/vitest/commit/c9aeac4c) ##### 🐞 Bug Fixes - Isolate workers between envs and workspaces - by [@​AriPerkkio](https://togithub.com/AriPerkkio) [<samp>(ed4e0)</samp>](https://togithub.com/vitest-dev/vitest/commit/ed4e0424) - Modify condition - by [@​btea](https://togithub.com/btea) [<samp>(a78e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/a78e6bd0) - Module Graph view is blocking the Console view - by [@​g4rry420](https://togithub.com/g4rry420) [<samp>(3b5f9)</samp>](https://togithub.com/vitest-dev/vitest/commit/3b5f96bc) - Port the latest `defineConfig` type from vite - by [@​sodatea](https://togithub.com/sodatea) in [vitest-dev/vitest#3804 [<samp>(9c8e3)</samp>](https://togithub.com/vitest-dev/vitest/commit/9c8e3083) - Don't overwrite Node.js URL global - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3828 [<samp>(cdab4)</samp>](https://togithub.com/vitest-dev/vitest/commit/cdab4651) - ForceRerunTriggers correctly triggers a rerun - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3829 [<samp>(17988)</samp>](https://togithub.com/vitest-dev/vitest/commit/17988e51) - **browser**: - Don't inline magic-string and estree-walker - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3726 [<samp>(ee937)</samp>](https://togithub.com/vitest-dev/vitest/commit/ee93762a) - Multi-suite coverage - by [@​elby22](https://togithub.com/elby22) in [vitest-dev/vitest#3806 [<samp>(5de9a)</samp>](https://togithub.com/vitest-dev/vitest/commit/5de9af26) - **core**: - DataView comparison does not work in `toStrictEqual` - by [@​Dunqing](https://togithub.com/Dunqing) [<samp>(52aef)</samp>](https://togithub.com/vitest-dev/vitest/commit/52aef92e) - **coverage**: - V8 provider to pick source maps without url query params - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3784 [<samp>(280e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/280e6745) - Update `istanbul-lib-instrument` to v6 to fix vulnerable dependency - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3814 [<samp>(f3bd9)</samp>](https://togithub.com/vitest-dev/vitest/commit/f3bd9102) - Exclude vite virtual modules by default - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3794 [<samp>(3c851)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c851872) - **node**: - Guard error info - by [@​btea](https://togithub.com/btea) [<samp>(88b39)</samp>](https://togithub.com/vitest-dev/vitest/commit/88b39758) - **vite-node**: - Always treat node_modules as modulesDirectory - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3830 [<samp>(51ab8)</samp>](https://togithub.com/vitest-dev/vitest/commit/51ab8d6c) - Normalize drive letter to keep the same reference to a module - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3836 [<samp>(45521)</samp>](https://togithub.com/vitest-dev/vitest/commit/45521859) - Correctly resolve hmr filepath - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3834 [<samp>(711a6)</samp>](https://togithub.com/vitest-dev/vitest/commit/711a6249) - **watch**: - Clear screen on all terminals - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3661 [<samp>(8bd26)</samp>](https://togithub.com/vitest-dev/vitest/commit/8bd26b01) ##### 🏎 Performance - Deprecate deps.registerNodeLoader - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(7f45b)</samp>](https://togithub.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://togithub.com/vitest-dev/vitest/compare/v0.33.0...v0.34.0) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" in timezone Europe/Berlin, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/mheob/used-pm).
renovate bot
added a commit
to creatorsgarten/contentsgarten
that referenced
this pull request
Aug 1, 2023
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [vitest](https://togithub.com/vitest-dev/vitest) | [`^0.33.0` -> `^0.34.0`](https://renovatebot.com/diffs/npm/vitest/0.33.0/0.34.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/0.33.0/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/0.33.0/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (vitest)</summary> ### [`v0.34.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.0...v0.34.1) ##### 🐞 Bug Fixes - Pass `--experimental-vm-worker-memory-limit` to `tinypool` - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3856 [<samp>(3c67a)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c67a4cb) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.0...v0.34.1) ### [`v0.34.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.0) [Compare Source](https://togithub.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://togithub.com/sheremet-va) in [vitest-dev/vitest#3491 [<samp>(9608b)</samp>](https://togithub.com/vitest-dev/vitest/commit/9608bf72) - `transformMode` is now moved to `server.transformMode`. This option is highly discouraged to use. If you need to change the transform mode, use the new option `testTransformMode` instead to control the mode based on the running test, not the current file path. By default, tests with `jsdom` or `happy-dom` use `web` transform mode, and tests using `node` or `edge` environment use `ssr` mode. If you have a custom environment, it should provide `transformMode` property. - Disable `coverage.reportOnFailure` by default - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3615 [<samp>(0c6f6)</samp>](https://togithub.com/vitest-dev/vitest/commit/0c6f624f) - Remove `@vitest/coverage-c8` package - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3614 [<samp>(a90d6)</samp>](https://togithub.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://togithub.com/sheremet-va) and [@​dammy001](https://togithub.com/dammy001) in [vitest-dev/vitest#3203 [<samp>(b0929)</samp>](https://togithub.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://togithub.com/fenghan34) and [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3725 [<samp>(dc4fa)</samp>](https://togithub.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://togithub.com/rxliuli) in [vitest-dev/vitest#3574 [<samp>(1cd4e)</samp>](https://togithub.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://togithub.com/sheremet-va) and [@​eryue0220](https://togithub.com/eryue0220) in [vitest-dev/vitest#3854 [<samp>(4b946)</samp>](https://togithub.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://togithub.com/fenghan34) and [@​dammy001](https://togithub.com/dammy001) in [vitest-dev/vitest#3771 [<samp>(86934)</samp>](https://togithub.com/vitest-dev/vitest/commit/8693449b) - Support config junit reporter className with env - by [@​InfiniteXyy](https://togithub.com/InfiniteXyy) in [vitest-dev/vitest#3808 [<samp>(e8bc4)</samp>](https://togithub.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://togithub.com/sheremet-va) in [vitest-dev/vitest#3844 [<samp>(c9aea)</samp>](https://togithub.com/vitest-dev/vitest/commit/c9aeac4c) ##### 🐞 Bug Fixes - Isolate workers between envs and workspaces - by [@​AriPerkkio](https://togithub.com/AriPerkkio) [<samp>(ed4e0)</samp>](https://togithub.com/vitest-dev/vitest/commit/ed4e0424) - Modify condition - by [@​btea](https://togithub.com/btea) [<samp>(a78e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/a78e6bd0) - Module Graph view is blocking the Console view - by [@​g4rry420](https://togithub.com/g4rry420) [<samp>(3b5f9)</samp>](https://togithub.com/vitest-dev/vitest/commit/3b5f96bc) - Port the latest `defineConfig` type from vite - by [@​sodatea](https://togithub.com/sodatea) in [vitest-dev/vitest#3804 [<samp>(9c8e3)</samp>](https://togithub.com/vitest-dev/vitest/commit/9c8e3083) - Don't overwrite Node.js URL global - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3828 [<samp>(cdab4)</samp>](https://togithub.com/vitest-dev/vitest/commit/cdab4651) - ForceRerunTriggers correctly triggers a rerun - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3829 [<samp>(17988)</samp>](https://togithub.com/vitest-dev/vitest/commit/17988e51) - **browser**: - Don't inline magic-string and estree-walker - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3726 [<samp>(ee937)</samp>](https://togithub.com/vitest-dev/vitest/commit/ee93762a) - Multi-suite coverage - by [@​elby22](https://togithub.com/elby22) in [vitest-dev/vitest#3806 [<samp>(5de9a)</samp>](https://togithub.com/vitest-dev/vitest/commit/5de9af26) - **core**: - DataView comparison does not work in `toStrictEqual` - by [@​Dunqing](https://togithub.com/Dunqing) [<samp>(52aef)</samp>](https://togithub.com/vitest-dev/vitest/commit/52aef92e) - **coverage**: - V8 provider to pick source maps without url query params - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3784 [<samp>(280e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/280e6745) - Update `istanbul-lib-instrument` to v6 to fix vulnerable dependency - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3814 [<samp>(f3bd9)</samp>](https://togithub.com/vitest-dev/vitest/commit/f3bd9102) - Exclude vite virtual modules by default - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3794 [<samp>(3c851)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c851872) - **node**: - Guard error info - by [@​btea](https://togithub.com/btea) [<samp>(88b39)</samp>](https://togithub.com/vitest-dev/vitest/commit/88b39758) - **vite-node**: - Always treat node_modules as modulesDirectory - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3830 [<samp>(51ab8)</samp>](https://togithub.com/vitest-dev/vitest/commit/51ab8d6c) - Normalize drive letter to keep the same reference to a module - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3836 [<samp>(45521)</samp>](https://togithub.com/vitest-dev/vitest/commit/45521859) - Correctly resolve hmr filepath - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3834 [<samp>(711a6)</samp>](https://togithub.com/vitest-dev/vitest/commit/711a6249) - **watch**: - Clear screen on all terminals - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3661 [<samp>(8bd26)</samp>](https://togithub.com/vitest-dev/vitest/commit/8bd26b01) ##### 🏎 Performance - Deprecate deps.registerNodeLoader - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(7f45b)</samp>](https://togithub.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://togithub.com/vitest-dev/vitest/compare/v0.33.0...v0.34.0) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/creatorsgarten/contentsgarten). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4yNy4xIiwidXBkYXRlZEluVmVyIjoiMzYuMjcuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
mefengl
pushed a commit
to mefengl/vscode-i-dont-care-about-commit-message
that referenced
this pull request
Aug 3, 2023
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [vitest](https://togithub.com/vitest-dev/vitest) | [`^0.33.0` -> `^0.34.0`](https://renovatebot.com/diffs/npm/vitest/0.33.0/0.34.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/0.33.0/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/0.33.0/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (vitest)</summary> ### [`v0.34.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.0...v0.34.1) ##### 🐞 Bug Fixes - Pass `--experimental-vm-worker-memory-limit` to `tinypool` - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3856 [<samp>(3c67a)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c67a4cb) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.0...v0.34.1) ### [`v0.34.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.0) [Compare Source](https://togithub.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://togithub.com/sheremet-va) in [vitest-dev/vitest#3491 [<samp>(9608b)</samp>](https://togithub.com/vitest-dev/vitest/commit/9608bf72) - `transformMode` is now moved to `server.transformMode`. This option is highly discouraged to use. If you need to change the transform mode, use the new option `testTransformMode` instead to control the mode based on the running test, not the current file path. By default, tests with `jsdom` or `happy-dom` use `web` transform mode, and tests using `node` or `edge` environment use `ssr` mode. If you have a custom environment, it should provide `transformMode` property. - Disable `coverage.reportOnFailure` by default - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3615 [<samp>(0c6f6)</samp>](https://togithub.com/vitest-dev/vitest/commit/0c6f624f) - Remove `@vitest/coverage-c8` package - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3614 [<samp>(a90d6)</samp>](https://togithub.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://togithub.com/sheremet-va) and [@​dammy001](https://togithub.com/dammy001) in [vitest-dev/vitest#3203 [<samp>(b0929)</samp>](https://togithub.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://togithub.com/fenghan34) and [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3725 [<samp>(dc4fa)</samp>](https://togithub.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://togithub.com/rxliuli) in [vitest-dev/vitest#3574 [<samp>(1cd4e)</samp>](https://togithub.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://togithub.com/sheremet-va) and [@​eryue0220](https://togithub.com/eryue0220) in [vitest-dev/vitest#3854 [<samp>(4b946)</samp>](https://togithub.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://togithub.com/fenghan34) and [@​dammy001](https://togithub.com/dammy001) in [vitest-dev/vitest#3771 [<samp>(86934)</samp>](https://togithub.com/vitest-dev/vitest/commit/8693449b) - Support config junit reporter className with env - by [@​InfiniteXyy](https://togithub.com/InfiniteXyy) in [vitest-dev/vitest#3808 [<samp>(e8bc4)</samp>](https://togithub.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://togithub.com/sheremet-va) in [vitest-dev/vitest#3844 [<samp>(c9aea)</samp>](https://togithub.com/vitest-dev/vitest/commit/c9aeac4c) ##### 🐞 Bug Fixes - Isolate workers between envs and workspaces - by [@​AriPerkkio](https://togithub.com/AriPerkkio) [<samp>(ed4e0)</samp>](https://togithub.com/vitest-dev/vitest/commit/ed4e0424) - Modify condition - by [@​btea](https://togithub.com/btea) [<samp>(a78e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/a78e6bd0) - Module Graph view is blocking the Console view - by [@​g4rry420](https://togithub.com/g4rry420) [<samp>(3b5f9)</samp>](https://togithub.com/vitest-dev/vitest/commit/3b5f96bc) - Port the latest `defineConfig` type from vite - by [@​sodatea](https://togithub.com/sodatea) in [vitest-dev/vitest#3804 [<samp>(9c8e3)</samp>](https://togithub.com/vitest-dev/vitest/commit/9c8e3083) - Don't overwrite Node.js URL global - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3828 [<samp>(cdab4)</samp>](https://togithub.com/vitest-dev/vitest/commit/cdab4651) - ForceRerunTriggers correctly triggers a rerun - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3829 [<samp>(17988)</samp>](https://togithub.com/vitest-dev/vitest/commit/17988e51) - **browser**: - Don't inline magic-string and estree-walker - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3726 [<samp>(ee937)</samp>](https://togithub.com/vitest-dev/vitest/commit/ee93762a) - Multi-suite coverage - by [@​elby22](https://togithub.com/elby22) in [vitest-dev/vitest#3806 [<samp>(5de9a)</samp>](https://togithub.com/vitest-dev/vitest/commit/5de9af26) - **core**: - DataView comparison does not work in `toStrictEqual` - by [@​Dunqing](https://togithub.com/Dunqing) [<samp>(52aef)</samp>](https://togithub.com/vitest-dev/vitest/commit/52aef92e) - **coverage**: - V8 provider to pick source maps without url query params - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3784 [<samp>(280e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/280e6745) - Update `istanbul-lib-instrument` to v6 to fix vulnerable dependency - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3814 [<samp>(f3bd9)</samp>](https://togithub.com/vitest-dev/vitest/commit/f3bd9102) - Exclude vite virtual modules by default - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3794 [<samp>(3c851)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c851872) - **node**: - Guard error info - by [@​btea](https://togithub.com/btea) [<samp>(88b39)</samp>](https://togithub.com/vitest-dev/vitest/commit/88b39758) - **vite-node**: - Always treat node_modules as modulesDirectory - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3830 [<samp>(51ab8)</samp>](https://togithub.com/vitest-dev/vitest/commit/51ab8d6c) - Normalize drive letter to keep the same reference to a module - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3836 [<samp>(45521)</samp>](https://togithub.com/vitest-dev/vitest/commit/45521859) - Correctly resolve hmr filepath - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3834 [<samp>(711a6)</samp>](https://togithub.com/vitest-dev/vitest/commit/711a6249) - **watch**: - Clear screen on all terminals - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3661 [<samp>(8bd26)</samp>](https://togithub.com/vitest-dev/vitest/commit/8bd26b01) ##### 🏎 Performance - Deprecate deps.registerNodeLoader - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(7f45b)</samp>](https://togithub.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://togithub.com/vitest-dev/vitest/compare/v0.33.0...v0.34.0) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/mefengl/vscode-i-dont-care-about-commit-message). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4yNy4xIiwidXBkYXRlZEluVmVyIjoiMzYuMjcuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot
added a commit
to JoshuaKGoldberg/create-typescript-app
that referenced
this pull request
Aug 4, 2023
…626) [![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.33.0` -> `^0.34.0`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-istanbul/0.33.0/0.34.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-istanbul/0.34.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-istanbul/0.34.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-istanbul/0.33.0/0.34.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-istanbul/0.33.0/0.34.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (@​vitest/coverage-istanbul)</summary> ### [`v0.34.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.0) [Compare Source](https://togithub.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://togithub.com/sheremet-va) in [vitest-dev/vitest#3491 [<samp>(9608b)</samp>](https://togithub.com/vitest-dev/vitest/commit/9608bf72) - `transformMode` is now moved to `server.transformMode`. This option is highly discouraged to use. If you need to change the transform mode, use the new option `testTransformMode` instead to control the mode based on the running test, not the current file path. By default, tests with `jsdom` or `happy-dom` use `web` transform mode, and tests using `node` or `edge` environment use `ssr` mode. If you have a custom environment, it should provide `transformMode` property. - Disable `coverage.reportOnFailure` by default - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3615 [<samp>(0c6f6)</samp>](https://togithub.com/vitest-dev/vitest/commit/0c6f624f) - Remove `@vitest/coverage-c8` package - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3614 [<samp>(a90d6)</samp>](https://togithub.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://togithub.com/sheremet-va) and [@​dammy001](https://togithub.com/dammy001) in [vitest-dev/vitest#3203 [<samp>(b0929)</samp>](https://togithub.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://togithub.com/fenghan34) and [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3725 [<samp>(dc4fa)</samp>](https://togithub.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://togithub.com/rxliuli) in [vitest-dev/vitest#3574 [<samp>(1cd4e)</samp>](https://togithub.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://togithub.com/sheremet-va) and [@​eryue0220](https://togithub.com/eryue0220) in [vitest-dev/vitest#3854 [<samp>(4b946)</samp>](https://togithub.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://togithub.com/fenghan34) and [@​dammy001](https://togithub.com/dammy001) in [vitest-dev/vitest#3771 [<samp>(86934)</samp>](https://togithub.com/vitest-dev/vitest/commit/8693449b) - Support config junit reporter className with env - by [@​InfiniteXyy](https://togithub.com/InfiniteXyy) in [vitest-dev/vitest#3808 [<samp>(e8bc4)</samp>](https://togithub.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://togithub.com/sheremet-va) in [vitest-dev/vitest#3844 [<samp>(c9aea)</samp>](https://togithub.com/vitest-dev/vitest/commit/c9aeac4c) ##### 🐞 Bug Fixes - Isolate workers between envs and workspaces - by [@​AriPerkkio](https://togithub.com/AriPerkkio) [<samp>(ed4e0)</samp>](https://togithub.com/vitest-dev/vitest/commit/ed4e0424) - Modify condition - by [@​btea](https://togithub.com/btea) [<samp>(a78e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/a78e6bd0) - Module Graph view is blocking the Console view - by [@​g4rry420](https://togithub.com/g4rry420) [<samp>(3b5f9)</samp>](https://togithub.com/vitest-dev/vitest/commit/3b5f96bc) - Port the latest `defineConfig` type from vite - by [@​sodatea](https://togithub.com/sodatea) in [vitest-dev/vitest#3804 [<samp>(9c8e3)</samp>](https://togithub.com/vitest-dev/vitest/commit/9c8e3083) - Don't overwrite Node.js URL global - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3828 [<samp>(cdab4)</samp>](https://togithub.com/vitest-dev/vitest/commit/cdab4651) - ForceRerunTriggers correctly triggers a rerun - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3829 [<samp>(17988)</samp>](https://togithub.com/vitest-dev/vitest/commit/17988e51) - **browser**: - Don't inline magic-string and estree-walker - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3726 [<samp>(ee937)</samp>](https://togithub.com/vitest-dev/vitest/commit/ee93762a) - Multi-suite coverage - by [@​elby22](https://togithub.com/elby22) in [vitest-dev/vitest#3806 [<samp>(5de9a)</samp>](https://togithub.com/vitest-dev/vitest/commit/5de9af26) - **core**: - DataView comparison does not work in `toStrictEqual` - by [@​Dunqing](https://togithub.com/Dunqing) [<samp>(52aef)</samp>](https://togithub.com/vitest-dev/vitest/commit/52aef92e) - **coverage**: - V8 provider to pick source maps without url query params - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3784 [<samp>(280e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/280e6745) - Update `istanbul-lib-instrument` to v6 to fix vulnerable dependency - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3814 [<samp>(f3bd9)</samp>](https://togithub.com/vitest-dev/vitest/commit/f3bd9102) - Exclude vite virtual modules by default - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3794 [<samp>(3c851)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c851872) - **node**: - Guard error info - by [@​btea](https://togithub.com/btea) [<samp>(88b39)</samp>](https://togithub.com/vitest-dev/vitest/commit/88b39758) - **vite-node**: - Always treat node_modules as modulesDirectory - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3830 [<samp>(51ab8)</samp>](https://togithub.com/vitest-dev/vitest/commit/51ab8d6c) - Normalize drive letter to keep the same reference to a module - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3836 [<samp>(45521)</samp>](https://togithub.com/vitest-dev/vitest/commit/45521859) - Correctly resolve hmr filepath - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3834 [<samp>(711a6)</samp>](https://togithub.com/vitest-dev/vitest/commit/711a6249) - **watch**: - Clear screen on all terminals - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3661 [<samp>(8bd26)</samp>](https://togithub.com/vitest-dev/vitest/commit/8bd26b01) ##### 🏎 Performance - Deprecate deps.registerNodeLoader - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(7f45b)</samp>](https://togithub.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://togithub.com/vitest-dev/vitest/compare/v0.33.0...v0.34.0) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/JoshuaKGoldberg/template-typescript-node-package). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4yNy4xIiwidXBkYXRlZEluVmVyIjoiMzYuMjcuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot
added a commit
to JoshuaKGoldberg/ts-api-utils
that referenced
this pull request
Aug 4, 2023
…250) [![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.33.0` -> `^0.34.0`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-istanbul/0.33.0/0.34.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-istanbul/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-istanbul/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-istanbul/0.33.0/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-istanbul/0.33.0/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (@​vitest/coverage-istanbul)</summary> ### [`v0.34.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.0...v0.34.1) ##### 🐞 Bug Fixes - Pass `--experimental-vm-worker-memory-limit` to `tinypool` - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3856 [<samp>(3c67a)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c67a4cb) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.0...v0.34.1) ### [`v0.34.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.0) [Compare Source](https://togithub.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://togithub.com/sheremet-va) in [vitest-dev/vitest#3491 [<samp>(9608b)</samp>](https://togithub.com/vitest-dev/vitest/commit/9608bf72) - `transformMode` is now moved to `server.transformMode`. This option is highly discouraged to use. If you need to change the transform mode, use the new option `testTransformMode` instead to control the mode based on the running test, not the current file path. By default, tests with `jsdom` or `happy-dom` use `web` transform mode, and tests using `node` or `edge` environment use `ssr` mode. If you have a custom environment, it should provide `transformMode` property. - Disable `coverage.reportOnFailure` by default - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3615 [<samp>(0c6f6)</samp>](https://togithub.com/vitest-dev/vitest/commit/0c6f624f) - Remove `@vitest/coverage-c8` package - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3614 [<samp>(a90d6)</samp>](https://togithub.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://togithub.com/sheremet-va) and [@​dammy001](https://togithub.com/dammy001) in [vitest-dev/vitest#3203 [<samp>(b0929)</samp>](https://togithub.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://togithub.com/fenghan34) and [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3725 [<samp>(dc4fa)</samp>](https://togithub.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://togithub.com/rxliuli) in [vitest-dev/vitest#3574 [<samp>(1cd4e)</samp>](https://togithub.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://togithub.com/sheremet-va) and [@​eryue0220](https://togithub.com/eryue0220) in [vitest-dev/vitest#3854 [<samp>(4b946)</samp>](https://togithub.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://togithub.com/fenghan34) and [@​dammy001](https://togithub.com/dammy001) in [vitest-dev/vitest#3771 [<samp>(86934)</samp>](https://togithub.com/vitest-dev/vitest/commit/8693449b) - Support config junit reporter className with env - by [@​InfiniteXyy](https://togithub.com/InfiniteXyy) in [vitest-dev/vitest#3808 [<samp>(e8bc4)</samp>](https://togithub.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://togithub.com/sheremet-va) in [vitest-dev/vitest#3844 [<samp>(c9aea)</samp>](https://togithub.com/vitest-dev/vitest/commit/c9aeac4c) ##### 🐞 Bug Fixes - Isolate workers between envs and workspaces - by [@​AriPerkkio](https://togithub.com/AriPerkkio) [<samp>(ed4e0)</samp>](https://togithub.com/vitest-dev/vitest/commit/ed4e0424) - Modify condition - by [@​btea](https://togithub.com/btea) [<samp>(a78e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/a78e6bd0) - Module Graph view is blocking the Console view - by [@​g4rry420](https://togithub.com/g4rry420) [<samp>(3b5f9)</samp>](https://togithub.com/vitest-dev/vitest/commit/3b5f96bc) - Port the latest `defineConfig` type from vite - by [@​sodatea](https://togithub.com/sodatea) in [vitest-dev/vitest#3804 [<samp>(9c8e3)</samp>](https://togithub.com/vitest-dev/vitest/commit/9c8e3083) - Don't overwrite Node.js URL global - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3828 [<samp>(cdab4)</samp>](https://togithub.com/vitest-dev/vitest/commit/cdab4651) - ForceRerunTriggers correctly triggers a rerun - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3829 [<samp>(17988)</samp>](https://togithub.com/vitest-dev/vitest/commit/17988e51) - **browser**: - Don't inline magic-string and estree-walker - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3726 [<samp>(ee937)</samp>](https://togithub.com/vitest-dev/vitest/commit/ee93762a) - Multi-suite coverage - by [@​elby22](https://togithub.com/elby22) in [vitest-dev/vitest#3806 [<samp>(5de9a)</samp>](https://togithub.com/vitest-dev/vitest/commit/5de9af26) - **core**: - DataView comparison does not work in `toStrictEqual` - by [@​Dunqing](https://togithub.com/Dunqing) [<samp>(52aef)</samp>](https://togithub.com/vitest-dev/vitest/commit/52aef92e) - **coverage**: - V8 provider to pick source maps without url query params - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3784 [<samp>(280e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/280e6745) - Update `istanbul-lib-instrument` to v6 to fix vulnerable dependency - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3814 [<samp>(f3bd9)</samp>](https://togithub.com/vitest-dev/vitest/commit/f3bd9102) - Exclude vite virtual modules by default - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3794 [<samp>(3c851)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c851872) - **node**: - Guard error info - by [@​btea](https://togithub.com/btea) [<samp>(88b39)</samp>](https://togithub.com/vitest-dev/vitest/commit/88b39758) - **vite-node**: - Always treat node_modules as modulesDirectory - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3830 [<samp>(51ab8)</samp>](https://togithub.com/vitest-dev/vitest/commit/51ab8d6c) - Normalize drive letter to keep the same reference to a module - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3836 [<samp>(45521)</samp>](https://togithub.com/vitest-dev/vitest/commit/45521859) - Correctly resolve hmr filepath - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3834 [<samp>(711a6)</samp>](https://togithub.com/vitest-dev/vitest/commit/711a6249) - **watch**: - Clear screen on all terminals - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3661 [<samp>(8bd26)</samp>](https://togithub.com/vitest-dev/vitest/commit/8bd26b01) ##### 🏎 Performance - Deprecate deps.registerNodeLoader - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(7f45b)</samp>](https://togithub.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://togithub.com/vitest-dev/vitest/compare/v0.33.0...v0.34.0) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/JoshuaKGoldberg/ts-api-utils). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4yNy4xIiwidXBkYXRlZEluVmVyIjoiMzYuMjcuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot
added a commit
to JoshuaKGoldberg/ts-api-utils
that referenced
this pull request
Aug 4, 2023
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [vitest](https://togithub.com/vitest-dev/vitest) | [`^0.33.0` -> `^0.34.0`](https://renovatebot.com/diffs/npm/vitest/0.33.0/0.34.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/0.33.0/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/0.33.0/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (vitest)</summary> ### [`v0.34.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.0...v0.34.1) ##### 🐞 Bug Fixes - Pass `--experimental-vm-worker-memory-limit` to `tinypool` - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3856 [<samp>(3c67a)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c67a4cb) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.0...v0.34.1) ### [`v0.34.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.0) [Compare Source](https://togithub.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://togithub.com/sheremet-va) in [vitest-dev/vitest#3491 [<samp>(9608b)</samp>](https://togithub.com/vitest-dev/vitest/commit/9608bf72) - `transformMode` is now moved to `server.transformMode`. This option is highly discouraged to use. If you need to change the transform mode, use the new option `testTransformMode` instead to control the mode based on the running test, not the current file path. By default, tests with `jsdom` or `happy-dom` use `web` transform mode, and tests using `node` or `edge` environment use `ssr` mode. If you have a custom environment, it should provide `transformMode` property. - Disable `coverage.reportOnFailure` by default - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3615 [<samp>(0c6f6)</samp>](https://togithub.com/vitest-dev/vitest/commit/0c6f624f) - Remove `@vitest/coverage-c8` package - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3614 [<samp>(a90d6)</samp>](https://togithub.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://togithub.com/sheremet-va) and [@​dammy001](https://togithub.com/dammy001) in [vitest-dev/vitest#3203 [<samp>(b0929)</samp>](https://togithub.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://togithub.com/fenghan34) and [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3725 [<samp>(dc4fa)</samp>](https://togithub.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://togithub.com/rxliuli) in [vitest-dev/vitest#3574 [<samp>(1cd4e)</samp>](https://togithub.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://togithub.com/sheremet-va) and [@​eryue0220](https://togithub.com/eryue0220) in [vitest-dev/vitest#3854 [<samp>(4b946)</samp>](https://togithub.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://togithub.com/fenghan34) and [@​dammy001](https://togithub.com/dammy001) in [vitest-dev/vitest#3771 [<samp>(86934)</samp>](https://togithub.com/vitest-dev/vitest/commit/8693449b) - Support config junit reporter className with env - by [@​InfiniteXyy](https://togithub.com/InfiniteXyy) in [vitest-dev/vitest#3808 [<samp>(e8bc4)</samp>](https://togithub.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://togithub.com/sheremet-va) in [vitest-dev/vitest#3844 [<samp>(c9aea)</samp>](https://togithub.com/vitest-dev/vitest/commit/c9aeac4c) ##### 🐞 Bug Fixes - Isolate workers between envs and workspaces - by [@​AriPerkkio](https://togithub.com/AriPerkkio) [<samp>(ed4e0)</samp>](https://togithub.com/vitest-dev/vitest/commit/ed4e0424) - Modify condition - by [@​btea](https://togithub.com/btea) [<samp>(a78e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/a78e6bd0) - Module Graph view is blocking the Console view - by [@​g4rry420](https://togithub.com/g4rry420) [<samp>(3b5f9)</samp>](https://togithub.com/vitest-dev/vitest/commit/3b5f96bc) - Port the latest `defineConfig` type from vite - by [@​sodatea](https://togithub.com/sodatea) in [vitest-dev/vitest#3804 [<samp>(9c8e3)</samp>](https://togithub.com/vitest-dev/vitest/commit/9c8e3083) - Don't overwrite Node.js URL global - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3828 [<samp>(cdab4)</samp>](https://togithub.com/vitest-dev/vitest/commit/cdab4651) - ForceRerunTriggers correctly triggers a rerun - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3829 [<samp>(17988)</samp>](https://togithub.com/vitest-dev/vitest/commit/17988e51) - **browser**: - Don't inline magic-string and estree-walker - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3726 [<samp>(ee937)</samp>](https://togithub.com/vitest-dev/vitest/commit/ee93762a) - Multi-suite coverage - by [@​elby22](https://togithub.com/elby22) in [vitest-dev/vitest#3806 [<samp>(5de9a)</samp>](https://togithub.com/vitest-dev/vitest/commit/5de9af26) - **core**: - DataView comparison does not work in `toStrictEqual` - by [@​Dunqing](https://togithub.com/Dunqing) [<samp>(52aef)</samp>](https://togithub.com/vitest-dev/vitest/commit/52aef92e) - **coverage**: - V8 provider to pick source maps without url query params - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3784 [<samp>(280e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/280e6745) - Update `istanbul-lib-instrument` to v6 to fix vulnerable dependency - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3814 [<samp>(f3bd9)</samp>](https://togithub.com/vitest-dev/vitest/commit/f3bd9102) - Exclude vite virtual modules by default - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3794 [<samp>(3c851)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c851872) - **node**: - Guard error info - by [@​btea](https://togithub.com/btea) [<samp>(88b39)</samp>](https://togithub.com/vitest-dev/vitest/commit/88b39758) - **vite-node**: - Always treat node_modules as modulesDirectory - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3830 [<samp>(51ab8)</samp>](https://togithub.com/vitest-dev/vitest/commit/51ab8d6c) - Normalize drive letter to keep the same reference to a module - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3836 [<samp>(45521)</samp>](https://togithub.com/vitest-dev/vitest/commit/45521859) - Correctly resolve hmr filepath - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3834 [<samp>(711a6)</samp>](https://togithub.com/vitest-dev/vitest/commit/711a6249) - **watch**: - Clear screen on all terminals - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3661 [<samp>(8bd26)</samp>](https://togithub.com/vitest-dev/vitest/commit/8bd26b01) ##### 🏎 Performance - Deprecate deps.registerNodeLoader - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(7f45b)</samp>](https://togithub.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://togithub.com/vitest-dev/vitest/compare/v0.33.0...v0.34.0) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/JoshuaKGoldberg/ts-api-utils). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4yNy4xIiwidXBkYXRlZEluVmVyIjoiMzYuMjcuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot
added a commit
to JoshuaKGoldberg/create-typescript-app
that referenced
this pull request
Aug 4, 2023
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [vitest](https://togithub.com/vitest-dev/vitest) | [`^0.33.0` -> `^0.34.0`](https://renovatebot.com/diffs/npm/vitest/0.33.0/0.34.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/0.33.0/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/0.33.0/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (vitest)</summary> ### [`v0.34.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.0...v0.34.1) ##### 🐞 Bug Fixes - Pass `--experimental-vm-worker-memory-limit` to `tinypool` - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3856 [<samp>(3c67a)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c67a4cb) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.0...v0.34.1) ### [`v0.34.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.0) [Compare Source](https://togithub.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://togithub.com/sheremet-va) in [vitest-dev/vitest#3491 [<samp>(9608b)</samp>](https://togithub.com/vitest-dev/vitest/commit/9608bf72) - `transformMode` is now moved to `server.transformMode`. This option is highly discouraged to use. If you need to change the transform mode, use the new option `testTransformMode` instead to control the mode based on the running test, not the current file path. By default, tests with `jsdom` or `happy-dom` use `web` transform mode, and tests using `node` or `edge` environment use `ssr` mode. If you have a custom environment, it should provide `transformMode` property. - Disable `coverage.reportOnFailure` by default - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3615 [<samp>(0c6f6)</samp>](https://togithub.com/vitest-dev/vitest/commit/0c6f624f) - Remove `@vitest/coverage-c8` package - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3614 [<samp>(a90d6)</samp>](https://togithub.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://togithub.com/sheremet-va) and [@​dammy001](https://togithub.com/dammy001) in [vitest-dev/vitest#3203 [<samp>(b0929)</samp>](https://togithub.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://togithub.com/fenghan34) and [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3725 [<samp>(dc4fa)</samp>](https://togithub.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://togithub.com/rxliuli) in [vitest-dev/vitest#3574 [<samp>(1cd4e)</samp>](https://togithub.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://togithub.com/sheremet-va) and [@​eryue0220](https://togithub.com/eryue0220) in [vitest-dev/vitest#3854 [<samp>(4b946)</samp>](https://togithub.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://togithub.com/fenghan34) and [@​dammy001](https://togithub.com/dammy001) in [vitest-dev/vitest#3771 [<samp>(86934)</samp>](https://togithub.com/vitest-dev/vitest/commit/8693449b) - Support config junit reporter className with env - by [@​InfiniteXyy](https://togithub.com/InfiniteXyy) in [vitest-dev/vitest#3808 [<samp>(e8bc4)</samp>](https://togithub.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://togithub.com/sheremet-va) in [vitest-dev/vitest#3844 [<samp>(c9aea)</samp>](https://togithub.com/vitest-dev/vitest/commit/c9aeac4c) ##### 🐞 Bug Fixes - Isolate workers between envs and workspaces - by [@​AriPerkkio](https://togithub.com/AriPerkkio) [<samp>(ed4e0)</samp>](https://togithub.com/vitest-dev/vitest/commit/ed4e0424) - Modify condition - by [@​btea](https://togithub.com/btea) [<samp>(a78e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/a78e6bd0) - Module Graph view is blocking the Console view - by [@​g4rry420](https://togithub.com/g4rry420) [<samp>(3b5f9)</samp>](https://togithub.com/vitest-dev/vitest/commit/3b5f96bc) - Port the latest `defineConfig` type from vite - by [@​sodatea](https://togithub.com/sodatea) in [vitest-dev/vitest#3804 [<samp>(9c8e3)</samp>](https://togithub.com/vitest-dev/vitest/commit/9c8e3083) - Don't overwrite Node.js URL global - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3828 [<samp>(cdab4)</samp>](https://togithub.com/vitest-dev/vitest/commit/cdab4651) - ForceRerunTriggers correctly triggers a rerun - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3829 [<samp>(17988)</samp>](https://togithub.com/vitest-dev/vitest/commit/17988e51) - **browser**: - Don't inline magic-string and estree-walker - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3726 [<samp>(ee937)</samp>](https://togithub.com/vitest-dev/vitest/commit/ee93762a) - Multi-suite coverage - by [@​elby22](https://togithub.com/elby22) in [vitest-dev/vitest#3806 [<samp>(5de9a)</samp>](https://togithub.com/vitest-dev/vitest/commit/5de9af26) - **core**: - DataView comparison does not work in `toStrictEqual` - by [@​Dunqing](https://togithub.com/Dunqing) [<samp>(52aef)</samp>](https://togithub.com/vitest-dev/vitest/commit/52aef92e) - **coverage**: - V8 provider to pick source maps without url query params - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3784 [<samp>(280e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/280e6745) - Update `istanbul-lib-instrument` to v6 to fix vulnerable dependency - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3814 [<samp>(f3bd9)</samp>](https://togithub.com/vitest-dev/vitest/commit/f3bd9102) - Exclude vite virtual modules by default - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3794 [<samp>(3c851)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c851872) - **node**: - Guard error info - by [@​btea](https://togithub.com/btea) [<samp>(88b39)</samp>](https://togithub.com/vitest-dev/vitest/commit/88b39758) - **vite-node**: - Always treat node_modules as modulesDirectory - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3830 [<samp>(51ab8)</samp>](https://togithub.com/vitest-dev/vitest/commit/51ab8d6c) - Normalize drive letter to keep the same reference to a module - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3836 [<samp>(45521)</samp>](https://togithub.com/vitest-dev/vitest/commit/45521859) - Correctly resolve hmr filepath - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3834 [<samp>(711a6)</samp>](https://togithub.com/vitest-dev/vitest/commit/711a6249) - **watch**: - Clear screen on all terminals - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3661 [<samp>(8bd26)</samp>](https://togithub.com/vitest-dev/vitest/commit/8bd26b01) ##### 🏎 Performance - Deprecate deps.registerNodeLoader - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(7f45b)</samp>](https://togithub.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://togithub.com/vitest-dev/vitest/compare/v0.33.0...v0.34.0) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/JoshuaKGoldberg/template-typescript-node-package). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4yNy4xIiwidXBkYXRlZEluVmVyIjoiMzYuMjcuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot
added a commit
to JoshuaKGoldberg/prettier-plugin-curly
that referenced
this pull request
Aug 4, 2023
) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@vitest/coverage-istanbul](https://togithub.com/vitest-dev/vitest/tree/main/packages/coverage-istanbul#readme) ([source](https://togithub.com/vitest-dev/vitest)) | [`^0.33.0` -> `^0.34.0`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-istanbul/0.33.0/0.34.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-istanbul/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-istanbul/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-istanbul/0.33.0/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-istanbul/0.33.0/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (@​vitest/coverage-istanbul)</summary> ### [`v0.34.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.0...v0.34.1) ##### 🐞 Bug Fixes - Pass `--experimental-vm-worker-memory-limit` to `tinypool` - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3856 [<samp>(3c67a)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c67a4cb) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.0...v0.34.1) ### [`v0.34.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.0) [Compare Source](https://togithub.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://togithub.com/sheremet-va) in [vitest-dev/vitest#3491 [<samp>(9608b)</samp>](https://togithub.com/vitest-dev/vitest/commit/9608bf72) - `transformMode` is now moved to `server.transformMode`. This option is highly discouraged to use. If you need to change the transform mode, use the new option `testTransformMode` instead to control the mode based on the running test, not the current file path. By default, tests with `jsdom` or `happy-dom` use `web` transform mode, and tests using `node` or `edge` environment use `ssr` mode. If you have a custom environment, it should provide `transformMode` property. - Disable `coverage.reportOnFailure` by default - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3615 [<samp>(0c6f6)</samp>](https://togithub.com/vitest-dev/vitest/commit/0c6f624f) - Remove `@vitest/coverage-c8` package - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3614 [<samp>(a90d6)</samp>](https://togithub.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://togithub.com/sheremet-va) and [@​dammy001](https://togithub.com/dammy001) in [vitest-dev/vitest#3203 [<samp>(b0929)</samp>](https://togithub.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://togithub.com/fenghan34) and [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3725 [<samp>(dc4fa)</samp>](https://togithub.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://togithub.com/rxliuli) in [vitest-dev/vitest#3574 [<samp>(1cd4e)</samp>](https://togithub.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://togithub.com/sheremet-va) and [@​eryue0220](https://togithub.com/eryue0220) in [vitest-dev/vitest#3854 [<samp>(4b946)</samp>](https://togithub.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://togithub.com/fenghan34) and [@​dammy001](https://togithub.com/dammy001) in [vitest-dev/vitest#3771 [<samp>(86934)</samp>](https://togithub.com/vitest-dev/vitest/commit/8693449b) - Support config junit reporter className with env - by [@​InfiniteXyy](https://togithub.com/InfiniteXyy) in [vitest-dev/vitest#3808 [<samp>(e8bc4)</samp>](https://togithub.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://togithub.com/sheremet-va) in [vitest-dev/vitest#3844 [<samp>(c9aea)</samp>](https://togithub.com/vitest-dev/vitest/commit/c9aeac4c) ##### 🐞 Bug Fixes - Isolate workers between envs and workspaces - by [@​AriPerkkio](https://togithub.com/AriPerkkio) [<samp>(ed4e0)</samp>](https://togithub.com/vitest-dev/vitest/commit/ed4e0424) - Modify condition - by [@​btea](https://togithub.com/btea) [<samp>(a78e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/a78e6bd0) - Module Graph view is blocking the Console view - by [@​g4rry420](https://togithub.com/g4rry420) [<samp>(3b5f9)</samp>](https://togithub.com/vitest-dev/vitest/commit/3b5f96bc) - Port the latest `defineConfig` type from vite - by [@​sodatea](https://togithub.com/sodatea) in [vitest-dev/vitest#3804 [<samp>(9c8e3)</samp>](https://togithub.com/vitest-dev/vitest/commit/9c8e3083) - Don't overwrite Node.js URL global - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3828 [<samp>(cdab4)</samp>](https://togithub.com/vitest-dev/vitest/commit/cdab4651) - ForceRerunTriggers correctly triggers a rerun - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3829 [<samp>(17988)</samp>](https://togithub.com/vitest-dev/vitest/commit/17988e51) - **browser**: - Don't inline magic-string and estree-walker - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3726 [<samp>(ee937)</samp>](https://togithub.com/vitest-dev/vitest/commit/ee93762a) - Multi-suite coverage - by [@​elby22](https://togithub.com/elby22) in [vitest-dev/vitest#3806 [<samp>(5de9a)</samp>](https://togithub.com/vitest-dev/vitest/commit/5de9af26) - **core**: - DataView comparison does not work in `toStrictEqual` - by [@​Dunqing](https://togithub.com/Dunqing) [<samp>(52aef)</samp>](https://togithub.com/vitest-dev/vitest/commit/52aef92e) - **coverage**: - V8 provider to pick source maps without url query params - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3784 [<samp>(280e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/280e6745) - Update `istanbul-lib-instrument` to v6 to fix vulnerable dependency - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3814 [<samp>(f3bd9)</samp>](https://togithub.com/vitest-dev/vitest/commit/f3bd9102) - Exclude vite virtual modules by default - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3794 [<samp>(3c851)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c851872) - **node**: - Guard error info - by [@​btea](https://togithub.com/btea) [<samp>(88b39)</samp>](https://togithub.com/vitest-dev/vitest/commit/88b39758) - **vite-node**: - Always treat node_modules as modulesDirectory - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3830 [<samp>(51ab8)</samp>](https://togithub.com/vitest-dev/vitest/commit/51ab8d6c) - Normalize drive letter to keep the same reference to a module - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3836 [<samp>(45521)</samp>](https://togithub.com/vitest-dev/vitest/commit/45521859) - Correctly resolve hmr filepath - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3834 [<samp>(711a6)</samp>](https://togithub.com/vitest-dev/vitest/commit/711a6249) - **watch**: - Clear screen on all terminals - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3661 [<samp>(8bd26)</samp>](https://togithub.com/vitest-dev/vitest/commit/8bd26b01) ##### 🏎 Performance - Deprecate deps.registerNodeLoader - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(7f45b)</samp>](https://togithub.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://togithub.com/vitest-dev/vitest/compare/v0.33.0...v0.34.0) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/JoshuaKGoldberg/prettier-plugin-curly). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4yNy4xIiwidXBkYXRlZEluVmVyIjoiMzYuMjcuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot
added a commit
to JoshuaKGoldberg/prettier-plugin-curly
that referenced
this pull request
Aug 4, 2023
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [vitest](https://togithub.com/vitest-dev/vitest) | [`^0.33.0` -> `^0.34.0`](https://renovatebot.com/diffs/npm/vitest/0.33.0/0.34.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/0.33.0/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/0.33.0/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (vitest)</summary> ### [`v0.34.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.0...v0.34.1) ##### 🐞 Bug Fixes - Pass `--experimental-vm-worker-memory-limit` to `tinypool` - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3856 [<samp>(3c67a)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c67a4cb) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.0...v0.34.1) ### [`v0.34.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.0) [Compare Source](https://togithub.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://togithub.com/sheremet-va) in [vitest-dev/vitest#3491 [<samp>(9608b)</samp>](https://togithub.com/vitest-dev/vitest/commit/9608bf72) - `transformMode` is now moved to `server.transformMode`. This option is highly discouraged to use. If you need to change the transform mode, use the new option `testTransformMode` instead to control the mode based on the running test, not the current file path. By default, tests with `jsdom` or `happy-dom` use `web` transform mode, and tests using `node` or `edge` environment use `ssr` mode. If you have a custom environment, it should provide `transformMode` property. - Disable `coverage.reportOnFailure` by default - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3615 [<samp>(0c6f6)</samp>](https://togithub.com/vitest-dev/vitest/commit/0c6f624f) - Remove `@vitest/coverage-c8` package - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3614 [<samp>(a90d6)</samp>](https://togithub.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://togithub.com/sheremet-va) and [@​dammy001](https://togithub.com/dammy001) in [vitest-dev/vitest#3203 [<samp>(b0929)</samp>](https://togithub.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://togithub.com/fenghan34) and [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3725 [<samp>(dc4fa)</samp>](https://togithub.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://togithub.com/rxliuli) in [vitest-dev/vitest#3574 [<samp>(1cd4e)</samp>](https://togithub.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://togithub.com/sheremet-va) and [@​eryue0220](https://togithub.com/eryue0220) in [vitest-dev/vitest#3854 [<samp>(4b946)</samp>](https://togithub.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://togithub.com/fenghan34) and [@​dammy001](https://togithub.com/dammy001) in [vitest-dev/vitest#3771 [<samp>(86934)</samp>](https://togithub.com/vitest-dev/vitest/commit/8693449b) - Support config junit reporter className with env - by [@​InfiniteXyy](https://togithub.com/InfiniteXyy) in [vitest-dev/vitest#3808 [<samp>(e8bc4)</samp>](https://togithub.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://togithub.com/sheremet-va) in [vitest-dev/vitest#3844 [<samp>(c9aea)</samp>](https://togithub.com/vitest-dev/vitest/commit/c9aeac4c) ##### 🐞 Bug Fixes - Isolate workers between envs and workspaces - by [@​AriPerkkio](https://togithub.com/AriPerkkio) [<samp>(ed4e0)</samp>](https://togithub.com/vitest-dev/vitest/commit/ed4e0424) - Modify condition - by [@​btea](https://togithub.com/btea) [<samp>(a78e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/a78e6bd0) - Module Graph view is blocking the Console view - by [@​g4rry420](https://togithub.com/g4rry420) [<samp>(3b5f9)</samp>](https://togithub.com/vitest-dev/vitest/commit/3b5f96bc) - Port the latest `defineConfig` type from vite - by [@​sodatea](https://togithub.com/sodatea) in [vitest-dev/vitest#3804 [<samp>(9c8e3)</samp>](https://togithub.com/vitest-dev/vitest/commit/9c8e3083) - Don't overwrite Node.js URL global - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3828 [<samp>(cdab4)</samp>](https://togithub.com/vitest-dev/vitest/commit/cdab4651) - ForceRerunTriggers correctly triggers a rerun - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3829 [<samp>(17988)</samp>](https://togithub.com/vitest-dev/vitest/commit/17988e51) - **browser**: - Don't inline magic-string and estree-walker - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3726 [<samp>(ee937)</samp>](https://togithub.com/vitest-dev/vitest/commit/ee93762a) - Multi-suite coverage - by [@​elby22](https://togithub.com/elby22) in [vitest-dev/vitest#3806 [<samp>(5de9a)</samp>](https://togithub.com/vitest-dev/vitest/commit/5de9af26) - **core**: - DataView comparison does not work in `toStrictEqual` - by [@​Dunqing](https://togithub.com/Dunqing) [<samp>(52aef)</samp>](https://togithub.com/vitest-dev/vitest/commit/52aef92e) - **coverage**: - V8 provider to pick source maps without url query params - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3784 [<samp>(280e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/280e6745) - Update `istanbul-lib-instrument` to v6 to fix vulnerable dependency - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3814 [<samp>(f3bd9)</samp>](https://togithub.com/vitest-dev/vitest/commit/f3bd9102) - Exclude vite virtual modules by default - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3794 [<samp>(3c851)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c851872) - **node**: - Guard error info - by [@​btea](https://togithub.com/btea) [<samp>(88b39)</samp>](https://togithub.com/vitest-dev/vitest/commit/88b39758) - **vite-node**: - Always treat node_modules as modulesDirectory - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3830 [<samp>(51ab8)</samp>](https://togithub.com/vitest-dev/vitest/commit/51ab8d6c) - Normalize drive letter to keep the same reference to a module - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3836 [<samp>(45521)</samp>](https://togithub.com/vitest-dev/vitest/commit/45521859) - Correctly resolve hmr filepath - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3834 [<samp>(711a6)</samp>](https://togithub.com/vitest-dev/vitest/commit/711a6249) - **watch**: - Clear screen on all terminals - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3661 [<samp>(8bd26)</samp>](https://togithub.com/vitest-dev/vitest/commit/8bd26b01) ##### 🏎 Performance - Deprecate deps.registerNodeLoader - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(7f45b)</samp>](https://togithub.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://togithub.com/vitest-dev/vitest/compare/v0.33.0...v0.34.0) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/JoshuaKGoldberg/prettier-plugin-curly). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4yNy4xIiwidXBkYXRlZEluVmVyIjoiMzYuMjcuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot
added a commit
to slipmatio/toolbelt
that referenced
this pull request
Aug 7, 2023
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@types/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) | [`20.4.5` -> `20.4.7`](https://renovatebot.com/diffs/npm/@types%2fnode/20.4.5/20.4.7) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/20.4.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/20.4.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/20.4.5/20.4.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/20.4.5/20.4.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@vitest/coverage-v8](https://togithub.com/vitest-dev/vitest/tree/main/packages/coverage-v8#readme) ([source](https://togithub.com/vitest-dev/vitest)) | [`0.33.0` -> `0.34.1`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-v8/0.33.0/0.34.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-v8/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-v8/0.34.1?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.1?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.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [happy-dom](https://togithub.com/capricorn86/happy-dom) | [`10.5.2` -> `10.8.0`](https://renovatebot.com/diffs/npm/happy-dom/10.5.2/10.8.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/happy-dom/10.8.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/happy-dom/10.8.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/happy-dom/10.5.2/10.8.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/happy-dom/10.5.2/10.8.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [vite](https://togithub.com/vitejs/vite/tree/main/#readme) ([source](https://togithub.com/vitejs/vite)) | [`4.4.7` -> `4.4.8`](https://renovatebot.com/diffs/npm/vite/4.4.7/4.4.8) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vite/4.4.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vite/4.4.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vite/4.4.7/4.4.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vite/4.4.7/4.4.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [vitest](https://togithub.com/vitest-dev/vitest) | [`0.33.0` -> `0.34.1`](https://renovatebot.com/diffs/npm/vitest/0.33.0/0.34.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/0.33.0/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/0.33.0/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (@​vitest/coverage-v8)</summary> ### [`v0.34.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.0...v0.34.1) ##### 🐞 Bug Fixes - Pass `--experimental-vm-worker-memory-limit` to `tinypool` - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3856 [<samp>(3c67a)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c67a4cb) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.0...v0.34.1) ### [`v0.34.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.0) [Compare Source](https://togithub.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://togithub.com/sheremet-va) in [vitest-dev/vitest#3491 [<samp>(9608b)</samp>](https://togithub.com/vitest-dev/vitest/commit/9608bf72) - `transformMode` is now moved to `server.transformMode`. This option is highly discouraged to use. If you need to change the transform mode, use the new option `testTransformMode` instead to control the mode based on the running test, not the current file path. By default, tests with `jsdom` or `happy-dom` use `web` transform mode, and tests using `node` or `edge` environment use `ssr` mode. If you have a custom environment, it should provide `transformMode` property. - Disable `coverage.reportOnFailure` by default - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3615 [<samp>(0c6f6)</samp>](https://togithub.com/vitest-dev/vitest/commit/0c6f624f) - Remove `@vitest/coverage-c8` package - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3614 [<samp>(a90d6)</samp>](https://togithub.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://togithub.com/sheremet-va) and [@​dammy001](https://togithub.com/dammy001) in [vitest-dev/vitest#3203 [<samp>(b0929)</samp>](https://togithub.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://togithub.com/fenghan34) and [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3725 [<samp>(dc4fa)</samp>](https://togithub.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://togithub.com/rxliuli) in [vitest-dev/vitest#3574 [<samp>(1cd4e)</samp>](https://togithub.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://togithub.com/sheremet-va) and [@​eryue0220](https://togithub.com/eryue0220) in [vitest-dev/vitest#3854 [<samp>(4b946)</samp>](https://togithub.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://togithub.com/fenghan34) and [@​dammy001](https://togithub.com/dammy001) in [vitest-dev/vitest#3771 [<samp>(86934)</samp>](https://togithub.com/vitest-dev/vitest/commit/8693449b) - Support config junit reporter className with env - by [@​InfiniteXyy](https://togithub.com/InfiniteXyy) in [vitest-dev/vitest#3808 [<samp>(e8bc4)</samp>](https://togithub.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://togithub.com/sheremet-va) in [vitest-dev/vitest#3844 [<samp>(c9aea)</samp>](https://togithub.com/vitest-dev/vitest/commit/c9aeac4c) ##### 🐞 Bug Fixes - Isolate workers between envs and workspaces - by [@​AriPerkkio](https://togithub.com/AriPerkkio) [<samp>(ed4e0)</samp>](https://togithub.com/vitest-dev/vitest/commit/ed4e0424) - Modify condition - by [@​btea](https://togithub.com/btea) [<samp>(a78e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/a78e6bd0) - Module Graph view is blocking the Console view - by [@​g4rry420](https://togithub.com/g4rry420) [<samp>(3b5f9)</samp>](https://togithub.com/vitest-dev/vitest/commit/3b5f96bc) - Port the latest `defineConfig` type from vite - by [@​sodatea](https://togithub.com/sodatea) in [vitest-dev/vitest#3804 [<samp>(9c8e3)</samp>](https://togithub.com/vitest-dev/vitest/commit/9c8e3083) - Don't overwrite Node.js URL global - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3828 [<samp>(cdab4)</samp>](https://togithub.com/vitest-dev/vitest/commit/cdab4651) - ForceRerunTriggers correctly triggers a rerun - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3829 [<samp>(17988)</samp>](https://togithub.com/vitest-dev/vitest/commit/17988e51) - **browser**: - Don't inline magic-string and estree-walker - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3726 [<samp>(ee937)</samp>](https://togithub.com/vitest-dev/vitest/commit/ee93762a) - Multi-suite coverage - by [@​elby22](https://togithub.com/elby22) in [vitest-dev/vitest#3806 [<samp>(5de9a)</samp>](https://togithub.com/vitest-dev/vitest/commit/5de9af26) - **core**: - DataView comparison does not work in `toStrictEqual` - by [@​Dunqing](https://togithub.com/Dunqing) [<samp>(52aef)</samp>](https://togithub.com/vitest-dev/vitest/commit/52aef92e) - **coverage**: - V8 provider to pick source maps without url query params - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3784 [<samp>(280e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/280e6745) - Update `istanbul-lib-instrument` to v6 to fix vulnerable dependency - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3814 [<samp>(f3bd9)</samp>](https://togithub.com/vitest-dev/vitest/commit/f3bd9102) - Exclude vite virtual modules by default - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3794 [<samp>(3c851)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c851872) - **node**: - Guard error info - by [@​btea](https://togithub.com/btea) [<samp>(88b39)</samp>](https://togithub.com/vitest-dev/vitest/commit/88b39758) - **vite-node**: - Always treat node_modules as modulesDirectory - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3830 [<samp>(51ab8)</samp>](https://togithub.com/vitest-dev/vitest/commit/51ab8d6c) - Normalize drive letter to keep the same reference to a module - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3836 [<samp>(45521)</samp>](https://togithub.com/vitest-dev/vitest/commit/45521859) - Correctly resolve hmr filepath - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3834 [<samp>(711a6)</samp>](https://togithub.com/vitest-dev/vitest/commit/711a6249) - **watch**: - Clear screen on all terminals - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3661 [<samp>(8bd26)</samp>](https://togithub.com/vitest-dev/vitest/commit/8bd26b01) ##### 🏎 Performance - Deprecate deps.registerNodeLoader - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(7f45b)</samp>](https://togithub.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://togithub.com/vitest-dev/vitest/compare/v0.33.0...v0.34.0) </details> <details> <summary>capricorn86/happy-dom (happy-dom)</summary> ### [`v10.8.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v10.8.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.7.0...v10.8.0) ##### 👷♂️ Patch fixes - Fixes bug related to item being null in `HTMLButtonElement.attributes.removeNamedItem()`. ([#​1010](https://togithub.com/capricorn86/happy-dom/issues/1010)) *** Thank you [@​maxmilton](https://togithub.com/maxmilton) for your contribution! ### [`v10.7.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v10.7.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.6.3...v10.7.0) ##### 🎨 Features - Add support for `Element.scrollHeight`. The property will just return "0" for now. ([#​991](https://togithub.com/capricorn86/happy-dom/issues/991)) *** Thank you [@​lukaselmer](https://togithub.com/lukaselmer) for your contribution! ### [`v10.6.3`](https://togithub.com/capricorn86/happy-dom/releases/tag/v10.6.3) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.6.2...v10.6.3) ##### 👷♂️ Patch fixes - Adds missing named CSS colors to `CSSStyleDeclaration`. ([#​1004](https://togithub.com/capricorn86/happy-dom/issues/1004)) *** Thank you [@​AlexisTessier](https://togithub.com/AlexisTessier) for your contribution! ### [`v10.6.2`](https://togithub.com/capricorn86/happy-dom/compare/v10.6.1...v10.6.2) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.6.1...v10.6.2) ### [`v10.6.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v10.6.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.6.0...v10.6.1) ##### 👷♂️ Patch fixes - Fixes issue where only labels associated using ID where found in `HTMLButtonElement.labels`, `HTMLInputElement.labels`, `HTMLSelectElement.labels` and `HTMLTextAreaElement.labels`. It will now also return labels associated by being a parent. ([#​988](https://togithub.com/capricorn86/happy-dom/issues/988)) *** Thank you [@​joshkel](https://togithub.com/joshkel) for your contribution! ### [`v10.6.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v10.6.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.5.3...v10.6.0) ##### 🎨 Features - Improves support for support for `HTMLLabelElement.control`. It will now find child control elements that are deeper than one level. ([#​530](https://togithub.com/capricorn86/happy-dom/issues/530)) *** Thank you [@​joshkel](https://togithub.com/joshkel) for your contribution! ### [`v10.5.3`](https://togithub.com/capricorn86/happy-dom/releases/tag/v10.5.3) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.5.2...v10.5.3) ##### 👷♂️ Patch fixes - Improves support for `NamedNodeMap`, which is used by the `Element.attributes` property. It will now reflect any changes done to it on the Element itself. ([#​728](https://togithub.com/capricorn86/happy-dom/issues/728)) </details> <details> <summary>vitejs/vite (vite)</summary> ### [`v4.4.8`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small448-2023-07-31-small) [Compare Source](https://togithub.com/vitejs/vite/compare/d4f13bd81468961c8c926438e815ab6b1c82735e...e41d78e151328dba81750a2ea56e6cf2c5828e2b) - fix: modulePreload false ([#​13973](https://togithub.com/vitejs/vite/issues/13973)) ([488085d](https://togithub.com/vitejs/vite/commit/488085d)), closes [#​13973](https://togithub.com/vitejs/vite/issues/13973) - fix: multiple entries with shared css and no JS ([#​13962](https://togithub.com/vitejs/vite/issues/13962)) ([89a3db0](https://togithub.com/vitejs/vite/commit/89a3db0)), closes [#​13962](https://togithub.com/vitejs/vite/issues/13962) - fix: use file extensions on type imports so they work with `moduleResolution: 'node16'` ([#​13947](https://togithub.com/vitejs/vite/issues/13947)) ([aeef670](https://togithub.com/vitejs/vite/commit/aeef670)), closes [#​13947](https://togithub.com/vitejs/vite/issues/13947) - fix(css): enhance error message for missing preprocessor dependency ([#​11485](https://togithub.com/vitejs/vite/issues/11485)) ([65e5c22](https://togithub.com/vitejs/vite/commit/65e5c22)), closes [#​11485](https://togithub.com/vitejs/vite/issues/11485) - fix(esbuild): fix static properties transpile when useDefineForClassFields false ([#​13992](https://togithub.com/vitejs/vite/issues/13992)) ([4ca7c13](https://togithub.com/vitejs/vite/commit/4ca7c13)), closes [#​13992](https://togithub.com/vitejs/vite/issues/13992) - fix(importAnalysis): strip url base before passing as safeModulePaths ([#​13712](https://togithub.com/vitejs/vite/issues/13712)) ([1ab06a8](https://togithub.com/vitejs/vite/commit/1ab06a8)), closes [#​13712](https://togithub.com/vitejs/vite/issues/13712) - fix(importMetaGlob): avoid unnecessary hmr of negative glob ([#​13646](https://togithub.com/vitejs/vite/issues/13646)) ([844451c](https://togithub.com/vitejs/vite/commit/844451c)), closes [#​13646](https://togithub.com/vitejs/vite/issues/13646) - fix(optimizer): avoid double-commit of optimized deps when discovery is disabled ([#​13865](https://togithub.com/vitejs/vite/issues/13865)) ([df77991](https://togithub.com/vitejs/vite/commit/df77991)), closes [#​13865](https://togithub.com/vitejs/vite/issues/13865) - fix(optimizer): enable experimentalDecorators by default ([#​13981](https://togithub.com/vitejs/vite/issues/13981)) ([f8a5ffc](https://togithub.com/vitejs/vite/commit/f8a5ffc)), closes [#​13981](https://togithub.com/vitejs/vite/issues/13981) - perf: replace startsWith with === ([#​13989](https://togithub.com/vitejs/vite/issues/13989)) ([3aab14e](https://togithub.com/vitejs/vite/commit/3aab14e)), closes [#​13989](https://togithub.com/vitejs/vite/issues/13989) - perf: single slash does not need to be replaced ([#​13980](https://togithub.com/vitejs/vite/issues/13980)) ([66f522c](https://togithub.com/vitejs/vite/commit/66f522c)), closes [#​13980](https://togithub.com/vitejs/vite/issues/13980) - perf: use Intl.DateTimeFormatter instead of toLocaleTimeString ([#​13951](https://togithub.com/vitejs/vite/issues/13951)) ([af53a1d](https://togithub.com/vitejs/vite/commit/af53a1d)), closes [#​13951](https://togithub.com/vitejs/vite/issues/13951) - perf: use Intl.NumberFormat instead of toLocaleString ([#​13949](https://togithub.com/vitejs/vite/issues/13949)) ([a48bf88](https://togithub.com/vitejs/vite/commit/a48bf88)), closes [#​13949](https://togithub.com/vitejs/vite/issues/13949) - perf: use magic-string hires boundary for sourcemaps ([#​13971](https://togithub.com/vitejs/vite/issues/13971)) ([b9a8d65](https://togithub.com/vitejs/vite/commit/b9a8d65)), closes [#​13971](https://togithub.com/vitejs/vite/issues/13971) - chore(reporter): remove unnecessary map ([#​13972](https://togithub.com/vitejs/vite/issues/13972)) ([dd9d4c1](https://togithub.com/vitejs/vite/commit/dd9d4c1)), closes [#​13972](https://togithub.com/vitejs/vite/issues/13972) - refactor: add new overload to the type of defineConfig ([#​13958](https://togithub.com/vitejs/vite/issues/13958)) ([24c12fe](https://togithub.com/vitejs/vite/commit/24c12fe)), closes [#​13958](https://togithub.com/vitejs/vite/issues/13958) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" in timezone Europe/Helsinki, 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://developer.mend.io/github/slipmatio/toolbelt). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4yNy4xIiwidXBkYXRlZEluVmVyIjoiMzYuMjcuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot
added a commit
to slipmatio/logger
that referenced
this pull request
Aug 7, 2023
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@types/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) | [`20.4.5` -> `20.4.7`](https://renovatebot.com/diffs/npm/@types%2fnode/20.4.5/20.4.7) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/20.4.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/20.4.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/20.4.5/20.4.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/20.4.5/20.4.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@vitest/coverage-v8](https://togithub.com/vitest-dev/vitest/tree/main/packages/coverage-v8#readme) ([source](https://togithub.com/vitest-dev/vitest)) | [`0.33.0` -> `0.34.1`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-v8/0.33.0/0.34.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-v8/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-v8/0.34.1?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.1?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.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [happy-dom](https://togithub.com/capricorn86/happy-dom) | [`10.5.2` -> `10.8.0`](https://renovatebot.com/diffs/npm/happy-dom/10.5.2/10.8.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/happy-dom/10.8.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/happy-dom/10.8.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/happy-dom/10.5.2/10.8.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/happy-dom/10.5.2/10.8.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [vite](https://togithub.com/vitejs/vite/tree/main/#readme) ([source](https://togithub.com/vitejs/vite)) | [`4.4.7` -> `4.4.8`](https://renovatebot.com/diffs/npm/vite/4.4.7/4.4.8) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vite/4.4.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vite/4.4.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vite/4.4.7/4.4.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vite/4.4.7/4.4.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [vitest](https://togithub.com/vitest-dev/vitest) | [`0.33.0` -> `0.34.1`](https://renovatebot.com/diffs/npm/vitest/0.33.0/0.34.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/0.33.0/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/0.33.0/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (@​vitest/coverage-v8)</summary> ### [`v0.34.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.0...v0.34.1) ##### 🐞 Bug Fixes - Pass `--experimental-vm-worker-memory-limit` to `tinypool` - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3856 [<samp>(3c67a)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c67a4cb) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.0...v0.34.1) ### [`v0.34.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.0) [Compare Source](https://togithub.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://togithub.com/sheremet-va) in [vitest-dev/vitest#3491 [<samp>(9608b)</samp>](https://togithub.com/vitest-dev/vitest/commit/9608bf72) - `transformMode` is now moved to `server.transformMode`. This option is highly discouraged to use. If you need to change the transform mode, use the new option `testTransformMode` instead to control the mode based on the running test, not the current file path. By default, tests with `jsdom` or `happy-dom` use `web` transform mode, and tests using `node` or `edge` environment use `ssr` mode. If you have a custom environment, it should provide `transformMode` property. - Disable `coverage.reportOnFailure` by default - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3615 [<samp>(0c6f6)</samp>](https://togithub.com/vitest-dev/vitest/commit/0c6f624f) - Remove `@vitest/coverage-c8` package - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3614 [<samp>(a90d6)</samp>](https://togithub.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://togithub.com/sheremet-va) and [@​dammy001](https://togithub.com/dammy001) in [vitest-dev/vitest#3203 [<samp>(b0929)</samp>](https://togithub.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://togithub.com/fenghan34) and [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3725 [<samp>(dc4fa)</samp>](https://togithub.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://togithub.com/rxliuli) in [vitest-dev/vitest#3574 [<samp>(1cd4e)</samp>](https://togithub.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://togithub.com/sheremet-va) and [@​eryue0220](https://togithub.com/eryue0220) in [vitest-dev/vitest#3854 [<samp>(4b946)</samp>](https://togithub.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://togithub.com/fenghan34) and [@​dammy001](https://togithub.com/dammy001) in [vitest-dev/vitest#3771 [<samp>(86934)</samp>](https://togithub.com/vitest-dev/vitest/commit/8693449b) - Support config junit reporter className with env - by [@​InfiniteXyy](https://togithub.com/InfiniteXyy) in [vitest-dev/vitest#3808 [<samp>(e8bc4)</samp>](https://togithub.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://togithub.com/sheremet-va) in [vitest-dev/vitest#3844 [<samp>(c9aea)</samp>](https://togithub.com/vitest-dev/vitest/commit/c9aeac4c) ##### 🐞 Bug Fixes - Isolate workers between envs and workspaces - by [@​AriPerkkio](https://togithub.com/AriPerkkio) [<samp>(ed4e0)</samp>](https://togithub.com/vitest-dev/vitest/commit/ed4e0424) - Modify condition - by [@​btea](https://togithub.com/btea) [<samp>(a78e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/a78e6bd0) - Module Graph view is blocking the Console view - by [@​g4rry420](https://togithub.com/g4rry420) [<samp>(3b5f9)</samp>](https://togithub.com/vitest-dev/vitest/commit/3b5f96bc) - Port the latest `defineConfig` type from vite - by [@​sodatea](https://togithub.com/sodatea) in [vitest-dev/vitest#3804 [<samp>(9c8e3)</samp>](https://togithub.com/vitest-dev/vitest/commit/9c8e3083) - Don't overwrite Node.js URL global - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3828 [<samp>(cdab4)</samp>](https://togithub.com/vitest-dev/vitest/commit/cdab4651) - ForceRerunTriggers correctly triggers a rerun - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3829 [<samp>(17988)</samp>](https://togithub.com/vitest-dev/vitest/commit/17988e51) - **browser**: - Don't inline magic-string and estree-walker - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3726 [<samp>(ee937)</samp>](https://togithub.com/vitest-dev/vitest/commit/ee93762a) - Multi-suite coverage - by [@​elby22](https://togithub.com/elby22) in [vitest-dev/vitest#3806 [<samp>(5de9a)</samp>](https://togithub.com/vitest-dev/vitest/commit/5de9af26) - **core**: - DataView comparison does not work in `toStrictEqual` - by [@​Dunqing](https://togithub.com/Dunqing) [<samp>(52aef)</samp>](https://togithub.com/vitest-dev/vitest/commit/52aef92e) - **coverage**: - V8 provider to pick source maps without url query params - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3784 [<samp>(280e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/280e6745) - Update `istanbul-lib-instrument` to v6 to fix vulnerable dependency - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3814 [<samp>(f3bd9)</samp>](https://togithub.com/vitest-dev/vitest/commit/f3bd9102) - Exclude vite virtual modules by default - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3794 [<samp>(3c851)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c851872) - **node**: - Guard error info - by [@​btea](https://togithub.com/btea) [<samp>(88b39)</samp>](https://togithub.com/vitest-dev/vitest/commit/88b39758) - **vite-node**: - Always treat node_modules as modulesDirectory - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3830 [<samp>(51ab8)</samp>](https://togithub.com/vitest-dev/vitest/commit/51ab8d6c) - Normalize drive letter to keep the same reference to a module - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3836 [<samp>(45521)</samp>](https://togithub.com/vitest-dev/vitest/commit/45521859) - Correctly resolve hmr filepath - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3834 [<samp>(711a6)</samp>](https://togithub.com/vitest-dev/vitest/commit/711a6249) - **watch**: - Clear screen on all terminals - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3661 [<samp>(8bd26)</samp>](https://togithub.com/vitest-dev/vitest/commit/8bd26b01) ##### 🏎 Performance - Deprecate deps.registerNodeLoader - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(7f45b)</samp>](https://togithub.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://togithub.com/vitest-dev/vitest/compare/v0.33.0...v0.34.0) </details> <details> <summary>capricorn86/happy-dom (happy-dom)</summary> ### [`v10.8.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v10.8.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.7.0...v10.8.0) ##### 👷♂️ Patch fixes - Fixes bug related to item being null in `HTMLButtonElement.attributes.removeNamedItem()`. ([#​1010](https://togithub.com/capricorn86/happy-dom/issues/1010)) *** Thank you [@​maxmilton](https://togithub.com/maxmilton) for your contribution! ### [`v10.7.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v10.7.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.6.3...v10.7.0) ##### 🎨 Features - Add support for `Element.scrollHeight`. The property will just return "0" for now. ([#​991](https://togithub.com/capricorn86/happy-dom/issues/991)) *** Thank you [@​lukaselmer](https://togithub.com/lukaselmer) for your contribution! ### [`v10.6.3`](https://togithub.com/capricorn86/happy-dom/releases/tag/v10.6.3) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.6.2...v10.6.3) ##### 👷♂️ Patch fixes - Adds missing named CSS colors to `CSSStyleDeclaration`. ([#​1004](https://togithub.com/capricorn86/happy-dom/issues/1004)) *** Thank you [@​AlexisTessier](https://togithub.com/AlexisTessier) for your contribution! ### [`v10.6.2`](https://togithub.com/capricorn86/happy-dom/compare/v10.6.1...v10.6.2) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.6.1...v10.6.2) ### [`v10.6.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v10.6.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.6.0...v10.6.1) ##### 👷♂️ Patch fixes - Fixes issue where only labels associated using ID where found in `HTMLButtonElement.labels`, `HTMLInputElement.labels`, `HTMLSelectElement.labels` and `HTMLTextAreaElement.labels`. It will now also return labels associated by being a parent. ([#​988](https://togithub.com/capricorn86/happy-dom/issues/988)) *** Thank you [@​joshkel](https://togithub.com/joshkel) for your contribution! ### [`v10.6.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v10.6.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.5.3...v10.6.0) ##### 🎨 Features - Improves support for support for `HTMLLabelElement.control`. It will now find child control elements that are deeper than one level. ([#​530](https://togithub.com/capricorn86/happy-dom/issues/530)) *** Thank you [@​joshkel](https://togithub.com/joshkel) for your contribution! ### [`v10.5.3`](https://togithub.com/capricorn86/happy-dom/releases/tag/v10.5.3) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.5.2...v10.5.3) ##### 👷♂️ Patch fixes - Improves support for `NamedNodeMap`, which is used by the `Element.attributes` property. It will now reflect any changes done to it on the Element itself. ([#​728](https://togithub.com/capricorn86/happy-dom/issues/728)) </details> <details> <summary>vitejs/vite (vite)</summary> ### [`v4.4.8`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small448-2023-07-31-small) [Compare Source](https://togithub.com/vitejs/vite/compare/v4.4.7...v4.4.8) - fix: modulePreload false ([#​13973](https://togithub.com/vitejs/vite/issues/13973)) ([488085d](https://togithub.com/vitejs/vite/commit/488085d)), closes [#​13973](https://togithub.com/vitejs/vite/issues/13973) - fix: multiple entries with shared css and no JS ([#​13962](https://togithub.com/vitejs/vite/issues/13962)) ([89a3db0](https://togithub.com/vitejs/vite/commit/89a3db0)), closes [#​13962](https://togithub.com/vitejs/vite/issues/13962) - fix: use file extensions on type imports so they work with `moduleResolution: 'node16'` ([#​13947](https://togithub.com/vitejs/vite/issues/13947)) ([aeef670](https://togithub.com/vitejs/vite/commit/aeef670)), closes [#​13947](https://togithub.com/vitejs/vite/issues/13947) - fix(css): enhance error message for missing preprocessor dependency ([#​11485](https://togithub.com/vitejs/vite/issues/11485)) ([65e5c22](https://togithub.com/vitejs/vite/commit/65e5c22)), closes [#​11485](https://togithub.com/vitejs/vite/issues/11485) - fix(esbuild): fix static properties transpile when useDefineForClassFields false ([#​13992](https://togithub.com/vitejs/vite/issues/13992)) ([4ca7c13](https://togithub.com/vitejs/vite/commit/4ca7c13)), closes [#​13992](https://togithub.com/vitejs/vite/issues/13992) - fix(importAnalysis): strip url base before passing as safeModulePaths ([#​13712](https://togithub.com/vitejs/vite/issues/13712)) ([1ab06a8](https://togithub.com/vitejs/vite/commit/1ab06a8)), closes [#​13712](https://togithub.com/vitejs/vite/issues/13712) - fix(importMetaGlob): avoid unnecessary hmr of negative glob ([#​13646](https://togithub.com/vitejs/vite/issues/13646)) ([844451c](https://togithub.com/vitejs/vite/commit/844451c)), closes [#​13646](https://togithub.com/vitejs/vite/issues/13646) - fix(optimizer): avoid double-commit of optimized deps when discovery is disabled ([#​13865](https://togithub.com/vitejs/vite/issues/13865)) ([df77991](https://togithub.com/vitejs/vite/commit/df77991)), closes [#​13865](https://togithub.com/vitejs/vite/issues/13865) - fix(optimizer): enable experimentalDecorators by default ([#​13981](https://togithub.com/vitejs/vite/issues/13981)) ([f8a5ffc](https://togithub.com/vitejs/vite/commit/f8a5ffc)), closes [#​13981](https://togithub.com/vitejs/vite/issues/13981) - perf: replace startsWith with === ([#​13989](https://togithub.com/vitejs/vite/issues/13989)) ([3aab14e](https://togithub.com/vitejs/vite/commit/3aab14e)), closes [#​13989](https://togithub.com/vitejs/vite/issues/13989) - perf: single slash does not need to be replaced ([#​13980](https://togithub.com/vitejs/vite/issues/13980)) ([66f522c](https://togithub.com/vitejs/vite/commit/66f522c)), closes [#​13980](https://togithub.com/vitejs/vite/issues/13980) - perf: use Intl.DateTimeFormatter instead of toLocaleTimeString ([#​13951](https://togithub.com/vitejs/vite/issues/13951)) ([af53a1d](https://togithub.com/vitejs/vite/commit/af53a1d)), closes [#​13951](https://togithub.com/vitejs/vite/issues/13951) - perf: use Intl.NumberFormat instead of toLocaleString ([#​13949](https://togithub.com/vitejs/vite/issues/13949)) ([a48bf88](https://togithub.com/vitejs/vite/commit/a48bf88)), closes [#​13949](https://togithub.com/vitejs/vite/issues/13949) - perf: use magic-string hires boundary for sourcemaps ([#​13971](https://togithub.com/vitejs/vite/issues/13971)) ([b9a8d65](https://togithub.com/vitejs/vite/commit/b9a8d65)), closes [#​13971](https://togithub.com/vitejs/vite/issues/13971) - chore(reporter): remove unnecessary map ([#​13972](https://togithub.com/vitejs/vite/issues/13972)) ([dd9d4c1](https://togithub.com/vitejs/vite/commit/dd9d4c1)), closes [#​13972](https://togithub.com/vitejs/vite/issues/13972) - refactor: add new overload to the type of defineConfig ([#​13958](https://togithub.com/vitejs/vite/issues/13958)) ([24c12fe](https://togithub.com/vitejs/vite/commit/24c12fe)), closes [#​13958](https://togithub.com/vitejs/vite/issues/13958) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" in timezone Europe/Helsinki, 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://developer.mend.io/github/slipmatio/logger). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4yNy4xIiwidXBkYXRlZEluVmVyIjoiMzYuMjcuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot
added a commit
to slipmatio/ui
that referenced
this pull request
Aug 7, 2023
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@types/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) | [`20.4.5` -> `20.4.7`](https://renovatebot.com/diffs/npm/@types%2fnode/20.4.5/20.4.7) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/20.4.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/20.4.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/20.4.5/20.4.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/20.4.5/20.4.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@vitest/coverage-v8](https://togithub.com/vitest-dev/vitest/tree/main/packages/coverage-v8#readme) ([source](https://togithub.com/vitest-dev/vitest)) | [`0.33.0` -> `0.34.1`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-v8/0.33.0/0.34.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-v8/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-v8/0.34.1?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.1?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.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [happy-dom](https://togithub.com/capricorn86/happy-dom) | [`10.5.2` -> `10.8.0`](https://renovatebot.com/diffs/npm/happy-dom/10.5.2/10.8.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/happy-dom/10.8.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/happy-dom/10.8.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/happy-dom/10.5.2/10.8.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/happy-dom/10.5.2/10.8.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [vite](https://togithub.com/vitejs/vite/tree/main/#readme) ([source](https://togithub.com/vitejs/vite)) | [`4.4.7` -> `4.4.8`](https://renovatebot.com/diffs/npm/vite/4.4.7/4.4.8) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vite/4.4.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vite/4.4.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vite/4.4.7/4.4.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vite/4.4.7/4.4.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [vite-plugin-dts](https://togithub.com/qmhc/vite-plugin-dts) | [`3.3.1` -> `3.5.0`](https://renovatebot.com/diffs/npm/vite-plugin-dts/3.3.1/3.5.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vite-plugin-dts/3.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vite-plugin-dts/3.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vite-plugin-dts/3.3.1/3.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vite-plugin-dts/3.3.1/3.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [vitest](https://togithub.com/vitest-dev/vitest) | [`0.33.0` -> `0.34.1`](https://renovatebot.com/diffs/npm/vitest/0.33.0/0.34.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/0.33.0/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/0.33.0/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (@​vitest/coverage-v8)</summary> ### [`v0.34.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.0...v0.34.1) ##### 🐞 Bug Fixes - Pass `--experimental-vm-worker-memory-limit` to `tinypool` - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3856 [<samp>(3c67a)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c67a4cb) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.0...v0.34.1) ### [`v0.34.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.0) [Compare Source](https://togithub.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://togithub.com/sheremet-va) in [vitest-dev/vitest#3491 [<samp>(9608b)</samp>](https://togithub.com/vitest-dev/vitest/commit/9608bf72) - `transformMode` is now moved to `server.transformMode`. This option is highly discouraged to use. If you need to change the transform mode, use the new option `testTransformMode` instead to control the mode based on the running test, not the current file path. By default, tests with `jsdom` or `happy-dom` use `web` transform mode, and tests using `node` or `edge` environment use `ssr` mode. If you have a custom environment, it should provide `transformMode` property. - Disable `coverage.reportOnFailure` by default - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3615 [<samp>(0c6f6)</samp>](https://togithub.com/vitest-dev/vitest/commit/0c6f624f) - Remove `@vitest/coverage-c8` package - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3614 [<samp>(a90d6)</samp>](https://togithub.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://togithub.com/sheremet-va) and [@​dammy001](https://togithub.com/dammy001) in [vitest-dev/vitest#3203 [<samp>(b0929)</samp>](https://togithub.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://togithub.com/fenghan34) and [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3725 [<samp>(dc4fa)</samp>](https://togithub.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://togithub.com/rxliuli) in [vitest-dev/vitest#3574 [<samp>(1cd4e)</samp>](https://togithub.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://togithub.com/sheremet-va) and [@​eryue0220](https://togithub.com/eryue0220) in [vitest-dev/vitest#3854 [<samp>(4b946)</samp>](https://togithub.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://togithub.com/fenghan34) and [@​dammy001](https://togithub.com/dammy001) in [vitest-dev/vitest#3771 [<samp>(86934)</samp>](https://togithub.com/vitest-dev/vitest/commit/8693449b) - Support config junit reporter className with env - by [@​InfiniteXyy](https://togithub.com/InfiniteXyy) in [vitest-dev/vitest#3808 [<samp>(e8bc4)</samp>](https://togithub.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://togithub.com/sheremet-va) in [vitest-dev/vitest#3844 [<samp>(c9aea)</samp>](https://togithub.com/vitest-dev/vitest/commit/c9aeac4c) ##### 🐞 Bug Fixes - Isolate workers between envs and workspaces - by [@​AriPerkkio](https://togithub.com/AriPerkkio) [<samp>(ed4e0)</samp>](https://togithub.com/vitest-dev/vitest/commit/ed4e0424) - Modify condition - by [@​btea](https://togithub.com/btea) [<samp>(a78e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/a78e6bd0) - Module Graph view is blocking the Console view - by [@​g4rry420](https://togithub.com/g4rry420) [<samp>(3b5f9)</samp>](https://togithub.com/vitest-dev/vitest/commit/3b5f96bc) - Port the latest `defineConfig` type from vite - by [@​sodatea](https://togithub.com/sodatea) in [vitest-dev/vitest#3804 [<samp>(9c8e3)</samp>](https://togithub.com/vitest-dev/vitest/commit/9c8e3083) - Don't overwrite Node.js URL global - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3828 [<samp>(cdab4)</samp>](https://togithub.com/vitest-dev/vitest/commit/cdab4651) - ForceRerunTriggers correctly triggers a rerun - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3829 [<samp>(17988)</samp>](https://togithub.com/vitest-dev/vitest/commit/17988e51) - **browser**: - Don't inline magic-string and estree-walker - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3726 [<samp>(ee937)</samp>](https://togithub.com/vitest-dev/vitest/commit/ee93762a) - Multi-suite coverage - by [@​elby22](https://togithub.com/elby22) in [vitest-dev/vitest#3806 [<samp>(5de9a)</samp>](https://togithub.com/vitest-dev/vitest/commit/5de9af26) - **core**: - DataView comparison does not work in `toStrictEqual` - by [@​Dunqing](https://togithub.com/Dunqing) [<samp>(52aef)</samp>](https://togithub.com/vitest-dev/vitest/commit/52aef92e) - **coverage**: - V8 provider to pick source maps without url query params - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3784 [<samp>(280e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/280e6745) - Update `istanbul-lib-instrument` to v6 to fix vulnerable dependency - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3814 [<samp>(f3bd9)</samp>](https://togithub.com/vitest-dev/vitest/commit/f3bd9102) - Exclude vite virtual modules by default - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3794 [<samp>(3c851)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c851872) - **node**: - Guard error info - by [@​btea](https://togithub.com/btea) [<samp>(88b39)</samp>](https://togithub.com/vitest-dev/vitest/commit/88b39758) - **vite-node**: - Always treat node_modules as modulesDirectory - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3830 [<samp>(51ab8)</samp>](https://togithub.com/vitest-dev/vitest/commit/51ab8d6c) - Normalize drive letter to keep the same reference to a module - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3836 [<samp>(45521)</samp>](https://togithub.com/vitest-dev/vitest/commit/45521859) - Correctly resolve hmr filepath - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3834 [<samp>(711a6)</samp>](https://togithub.com/vitest-dev/vitest/commit/711a6249) - **watch**: - Clear screen on all terminals - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3661 [<samp>(8bd26)</samp>](https://togithub.com/vitest-dev/vitest/commit/8bd26b01) ##### 🏎 Performance - Deprecate deps.registerNodeLoader - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(7f45b)</samp>](https://togithub.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://togithub.com/vitest-dev/vitest/compare/v0.33.0...v0.34.0) </details> <details> <summary>capricorn86/happy-dom (happy-dom)</summary> ### [`v10.8.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v10.8.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.7.0...v10.8.0) ##### 👷♂️ Patch fixes - Fixes bug related to item being null in `HTMLButtonElement.attributes.removeNamedItem()`. ([#​1010](https://togithub.com/capricorn86/happy-dom/issues/1010)) *** Thank you [@​maxmilton](https://togithub.com/maxmilton) for your contribution! ### [`v10.7.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v10.7.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.6.3...v10.7.0) ##### 🎨 Features - Add support for `Element.scrollHeight`. The property will just return "0" for now. ([#​991](https://togithub.com/capricorn86/happy-dom/issues/991)) *** Thank you [@​lukaselmer](https://togithub.com/lukaselmer) for your contribution! ### [`v10.6.3`](https://togithub.com/capricorn86/happy-dom/releases/tag/v10.6.3) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.6.2...v10.6.3) ##### 👷♂️ Patch fixes - Adds missing named CSS colors to `CSSStyleDeclaration`. ([#​1004](https://togithub.com/capricorn86/happy-dom/issues/1004)) *** Thank you [@​AlexisTessier](https://togithub.com/AlexisTessier) for your contribution! ### [`v10.6.2`](https://togithub.com/capricorn86/happy-dom/compare/v10.6.1...v10.6.2) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.6.1...v10.6.2) ### [`v10.6.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v10.6.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.6.0...v10.6.1) ##### 👷♂️ Patch fixes - Fixes issue where only labels associated using ID where found in `HTMLButtonElement.labels`, `HTMLInputElement.labels`, `HTMLSelectElement.labels` and `HTMLTextAreaElement.labels`. It will now also return labels associated by being a parent. ([#​988](https://togithub.com/capricorn86/happy-dom/issues/988)) *** Thank you [@​joshkel](https://togithub.com/joshkel) for your contribution! ### [`v10.6.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v10.6.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.5.3...v10.6.0) ##### 🎨 Features - Improves support for support for `HTMLLabelElement.control`. It will now find child control elements that are deeper than one level. ([#​530](https://togithub.com/capricorn86/happy-dom/issues/530)) *** Thank you [@​joshkel](https://togithub.com/joshkel) for your contribution! ### [`v10.5.3`](https://togithub.com/capricorn86/happy-dom/releases/tag/v10.5.3) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.5.2...v10.5.3) ##### 👷♂️ Patch fixes - Improves support for `NamedNodeMap`, which is used by the `Element.attributes` property. It will now reflect any changes done to it on the Element itself. ([#​728](https://togithub.com/capricorn86/happy-dom/issues/728)) </details> <details> <summary>vitejs/vite (vite)</summary> ### [`v4.4.8`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small448-2023-07-31-small) [Compare Source](https://togithub.com/vitejs/vite/compare/v4.4.7...v4.4.8) - fix: modulePreload false ([#​13973](https://togithub.com/vitejs/vite/issues/13973)) ([488085d](https://togithub.com/vitejs/vite/commit/488085d)), closes [#​13973](https://togithub.com/vitejs/vite/issues/13973) - fix: multiple entries with shared css and no JS ([#​13962](https://togithub.com/vitejs/vite/issues/13962)) ([89a3db0](https://togithub.com/vitejs/vite/commit/89a3db0)), closes [#​13962](https://togithub.com/vitejs/vite/issues/13962) - fix: use file extensions on type imports so they work with `moduleResolution: 'node16'` ([#​13947](https://togithub.com/vitejs/vite/issues/13947)) ([aeef670](https://togithub.com/vitejs/vite/commit/aeef670)), closes [#​13947](https://togithub.com/vitejs/vite/issues/13947) - fix(css): enhance error message for missing preprocessor dependency ([#​11485](https://togithub.com/vitejs/vite/issues/11485)) ([65e5c22](https://togithub.com/vitejs/vite/commit/65e5c22)), closes [#​11485](https://togithub.com/vitejs/vite/issues/11485) - fix(esbuild): fix static properties transpile when useDefineForClassFields false ([#​13992](https://togithub.com/vitejs/vite/issues/13992)) ([4ca7c13](https://togithub.com/vitejs/vite/commit/4ca7c13)), closes [#​13992](https://togithub.com/vitejs/vite/issues/13992) - fix(importAnalysis): strip url base before passing as safeModulePaths ([#​13712](https://togithub.com/vitejs/vite/issues/13712)) ([1ab06a8](https://togithub.com/vitejs/vite/commit/1ab06a8)), closes [#​13712](https://togithub.com/vitejs/vite/issues/13712) - fix(importMetaGlob): avoid unnecessary hmr of negative glob ([#​13646](https://togithub.com/vitejs/vite/issues/13646)) ([844451c](https://togithub.com/vitejs/vite/commit/844451c)), closes [#​13646](https://togithub.com/vitejs/vite/issues/13646) - fix(optimizer): avoid double-commit of optimized deps when discovery is disabled ([#​13865](https://togithub.com/vitejs/vite/issues/13865)) ([df77991](https://togithub.com/vitejs/vite/commit/df77991)), closes [#​13865](https://togithub.com/vitejs/vite/issues/13865) - fix(optimizer): enable experimentalDecorators by default ([#​13981](https://togithub.com/vitejs/vite/issues/13981)) ([f8a5ffc](https://togithub.com/vitejs/vite/commit/f8a5ffc)), closes [#​13981](https://togithub.com/vitejs/vite/issues/13981) - perf: replace startsWith with === ([#​13989](https://togithub.com/vitejs/vite/issues/13989)) ([3aab14e](https://togithub.com/vitejs/vite/commit/3aab14e)), closes [#​13989](https://togithub.com/vitejs/vite/issues/13989) - perf: single slash does not need to be replaced ([#​13980](https://togithub.com/vitejs/vite/issues/13980)) ([66f522c](https://togithub.com/vitejs/vite/commit/66f522c)), closes [#​13980](https://togithub.com/vitejs/vite/issues/13980) - perf: use Intl.DateTimeFormatter instead of toLocaleTimeString ([#​13951](https://togithub.com/vitejs/vite/issues/13951)) ([af53a1d](https://togithub.com/vitejs/vite/commit/af53a1d)), closes [#​13951](https://togithub.com/vitejs/vite/issues/13951) - perf: use Intl.NumberFormat instead of toLocaleString ([#​13949](https://togithub.com/vitejs/vite/issues/13949)) ([a48bf88](https://togithub.com/vitejs/vite/commit/a48bf88)), closes [#​13949](https://togithub.com/vitejs/vite/issues/13949) - perf: use magic-string hires boundary for sourcemaps ([#​13971](https://togithub.com/vitejs/vite/issues/13971)) ([b9a8d65](https://togithub.com/vitejs/vite/commit/b9a8d65)), closes [#​13971](https://togithub.com/vitejs/vite/issues/13971) - chore(reporter): remove unnecessary map ([#​13972](https://togithub.com/vitejs/vite/issues/13972)) ([dd9d4c1](https://togithub.com/vitejs/vite/commit/dd9d4c1)), closes [#​13972](https://togithub.com/vitejs/vite/issues/13972) - refactor: add new overload to the type of defineConfig ([#​13958](https://togithub.com/vitejs/vite/issues/13958)) ([24c12fe](https://togithub.com/vitejs/vite/commit/24c12fe)), closes [#​13958](https://togithub.com/vitejs/vite/issues/13958) </details> <details> <summary>qmhc/vite-plugin-dts (vite-plugin-dts)</summary> ### [`v3.5.0`](https://togithub.com/qmhc/vite-plugin-dts/blob/HEAD/CHANGELOG.md#350-2023-08-04) [Compare Source](https://togithub.com/qmhc/vite-plugin-dts/compare/v3.4.0...v3.5.0) ##### Bug Fixes - ensure resolved type entry path ends with .d.ts ([3767fdf](https://togithub.com/qmhc/vite-plugin-dts/commit/3767fdfc1cf1789bfa5cab48f93fa9ec0f55cf12)) - unexpected undefined aliases ([fc51b68](https://togithub.com/qmhc/vite-plugin-dts/commit/fc51b6827eb47b8781384e0501b8242a91f63912)), closes [#​257](https://togithub.com/qmhc/vite-plugin-dts/issues/257) ##### Features - support emit declaration files only ([#​253](https://togithub.com/qmhc/vite-plugin-dts/issues/253)) ([a23d063](https://togithub.com/qmhc/vite-plugin-dts/commit/a23d06317925c0ccd9a77227590ce18cec44195a)) ### [`v3.4.0`](https://togithub.com/qmhc/vite-plugin-dts/blob/HEAD/CHANGELOG.md#340-2023-07-30) [Compare Source](https://togithub.com/qmhc/vite-plugin-dts/compare/v3.3.1...v3.4.0) ##### Bug Fixes - fails to generate hen types are already in out dir ([284c77f](https://togithub.com/qmhc/vite-plugin-dts/commit/284c77ff65741f2cddbca3eba380b4a624cec3c7)), closes [#​254](https://togithub.com/qmhc/vite-plugin-dts/issues/254) ##### Features - support override the config of api-extractor ([8f5929c](https://togithub.com/qmhc/vite-plugin-dts/commit/8f5929c1812ce8ccbff3d3dfd353f42006b761f7)) #### [3.3.1](https://togithub.com/qmhc/vite-plugin-dts/compare/v3.3.0...v3.3.1) (2023-07-17) ##### Bug Fixes - correct sources path calculate ([0d84180](https://togithub.com/qmhc/vite-plugin-dts/commit/0d84180ddd237c4bf00c4e0c8e24d9b5d4423db8)), closes [#​245](https://togithub.com/qmhc/vite-plugin-dts/issues/245) - ensure lib name is valid ([7cfe2ea](https://togithub.com/qmhc/vite-plugin-dts/commit/7cfe2eac1d1a346d50e83a8ca1ad7a82bb76cbbc)), closes [#​247](https://togithub.com/qmhc/vite-plugin-dts/issues/247) - unexpected remove reportFileName config ([27fe3c7](https://togithub.com/qmhc/vite-plugin-dts/commit/27fe3c775b3bdb894c6c3a992c59d255999676a4)), closes [#​246](https://togithub.com/qmhc/vite-plugin-dts/issues/246) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" in timezone Europe/Helsinki, 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://developer.mend.io/github/slipmatio/ui). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4yNy4xIiwidXBkYXRlZEluVmVyIjoiMzYuMjcuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot
added a commit
to lib-pack/diff-review
that referenced
this pull request
Aug 7, 2023
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@vitest/coverage-istanbul](https://togithub.com/vitest-dev/vitest/tree/main/packages/coverage-istanbul#readme) ([source](https://togithub.com/vitest-dev/vitest)) | [`^0.33.0` -> `^0.34.0`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-istanbul/0.33.0/0.34.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-istanbul/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-istanbul/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-istanbul/0.33.0/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-istanbul/0.33.0/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (@​vitest/coverage-istanbul)</summary> ### [`v0.34.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.0...v0.34.1) ##### 🐞 Bug Fixes - Pass `--experimental-vm-worker-memory-limit` to `tinypool` - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3856 [<samp>(3c67a)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c67a4cb) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.0...v0.34.1) ### [`v0.34.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.0) [Compare Source](https://togithub.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://togithub.com/sheremet-va) in [vitest-dev/vitest#3491 [<samp>(9608b)</samp>](https://togithub.com/vitest-dev/vitest/commit/9608bf72) - `transformMode` is now moved to `server.transformMode`. This option is highly discouraged to use. If you need to change the transform mode, use the new option `testTransformMode` instead to control the mode based on the running test, not the current file path. By default, tests with `jsdom` or `happy-dom` use `web` transform mode, and tests using `node` or `edge` environment use `ssr` mode. If you have a custom environment, it should provide `transformMode` property. - Disable `coverage.reportOnFailure` by default - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3615 [<samp>(0c6f6)</samp>](https://togithub.com/vitest-dev/vitest/commit/0c6f624f) - Remove `@vitest/coverage-c8` package - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3614 [<samp>(a90d6)</samp>](https://togithub.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://togithub.com/sheremet-va) and [@​dammy001](https://togithub.com/dammy001) in [vitest-dev/vitest#3203 [<samp>(b0929)</samp>](https://togithub.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://togithub.com/fenghan34) and [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3725 [<samp>(dc4fa)</samp>](https://togithub.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://togithub.com/rxliuli) in [vitest-dev/vitest#3574 [<samp>(1cd4e)</samp>](https://togithub.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://togithub.com/sheremet-va) and [@​eryue0220](https://togithub.com/eryue0220) in [vitest-dev/vitest#3854 [<samp>(4b946)</samp>](https://togithub.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://togithub.com/fenghan34) and [@​dammy001](https://togithub.com/dammy001) in [vitest-dev/vitest#3771 [<samp>(86934)</samp>](https://togithub.com/vitest-dev/vitest/commit/8693449b) - Support config junit reporter className with env - by [@​InfiniteXyy](https://togithub.com/InfiniteXyy) in [vitest-dev/vitest#3808 [<samp>(e8bc4)</samp>](https://togithub.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://togithub.com/sheremet-va) in [vitest-dev/vitest#3844 [<samp>(c9aea)</samp>](https://togithub.com/vitest-dev/vitest/commit/c9aeac4c) ##### 🐞 Bug Fixes - Isolate workers between envs and workspaces - by [@​AriPerkkio](https://togithub.com/AriPerkkio) [<samp>(ed4e0)</samp>](https://togithub.com/vitest-dev/vitest/commit/ed4e0424) - Modify condition - by [@​btea](https://togithub.com/btea) [<samp>(a78e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/a78e6bd0) - Module Graph view is blocking the Console view - by [@​g4rry420](https://togithub.com/g4rry420) [<samp>(3b5f9)</samp>](https://togithub.com/vitest-dev/vitest/commit/3b5f96bc) - Port the latest `defineConfig` type from vite - by [@​sodatea](https://togithub.com/sodatea) in [vitest-dev/vitest#3804 [<samp>(9c8e3)</samp>](https://togithub.com/vitest-dev/vitest/commit/9c8e3083) - Don't overwrite Node.js URL global - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3828 [<samp>(cdab4)</samp>](https://togithub.com/vitest-dev/vitest/commit/cdab4651) - ForceRerunTriggers correctly triggers a rerun - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3829 [<samp>(17988)</samp>](https://togithub.com/vitest-dev/vitest/commit/17988e51) - **browser**: - Don't inline magic-string and estree-walker - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3726 [<samp>(ee937)</samp>](https://togithub.com/vitest-dev/vitest/commit/ee93762a) - Multi-suite coverage - by [@​elby22](https://togithub.com/elby22) in [vitest-dev/vitest#3806 [<samp>(5de9a)</samp>](https://togithub.com/vitest-dev/vitest/commit/5de9af26) - **core**: - DataView comparison does not work in `toStrictEqual` - by [@​Dunqing](https://togithub.com/Dunqing) [<samp>(52aef)</samp>](https://togithub.com/vitest-dev/vitest/commit/52aef92e) - **coverage**: - V8 provider to pick source maps without url query params - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3784 [<samp>(280e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/280e6745) - Update `istanbul-lib-instrument` to v6 to fix vulnerable dependency - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3814 [<samp>(f3bd9)</samp>](https://togithub.com/vitest-dev/vitest/commit/f3bd9102) - Exclude vite virtual modules by default - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3794 [<samp>(3c851)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c851872) - **node**: - Guard error info - by [@​btea](https://togithub.com/btea) [<samp>(88b39)</samp>](https://togithub.com/vitest-dev/vitest/commit/88b39758) - **vite-node**: - Always treat node_modules as modulesDirectory - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3830 [<samp>(51ab8)</samp>](https://togithub.com/vitest-dev/vitest/commit/51ab8d6c) - Normalize drive letter to keep the same reference to a module - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3836 [<samp>(45521)</samp>](https://togithub.com/vitest-dev/vitest/commit/45521859) - Correctly resolve hmr filepath - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3834 [<samp>(711a6)</samp>](https://togithub.com/vitest-dev/vitest/commit/711a6249) - **watch**: - Clear screen on all terminals - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3661 [<samp>(8bd26)</samp>](https://togithub.com/vitest-dev/vitest/commit/8bd26b01) ##### 🏎 Performance - Deprecate deps.registerNodeLoader - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(7f45b)</samp>](https://togithub.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://togithub.com/vitest-dev/vitest/compare/v0.33.0...v0.34.0) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/lib-pack/diff-review). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4yNy4xIiwidXBkYXRlZEluVmVyIjoiMzYuMjcuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
David-Duefrene
pushed a commit
to David-Duefrene/dataviewer
that referenced
this pull request
Aug 10, 2023
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [vitest](https://togithub.com/vitest-dev/vitest) | [`0.33.0` -> `0.34.1`](https://renovatebot.com/diffs/npm/vitest/0.33.0/0.34.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/0.33.0/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/0.33.0/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (vitest)</summary> ### [`v0.34.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.0...v0.34.1) ##### 🐞 Bug Fixes - Pass `--experimental-vm-worker-memory-limit` to `tinypool` - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3856 [<samp>(3c67a)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c67a4cb) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.0...v0.34.1) ### [`v0.34.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.0) [Compare Source](https://togithub.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://togithub.com/sheremet-va) in [vitest-dev/vitest#3491 [<samp>(9608b)</samp>](https://togithub.com/vitest-dev/vitest/commit/9608bf72) - `transformMode` is now moved to `server.transformMode`. This option is highly discouraged to use. If you need to change the transform mode, use the new option `testTransformMode` instead to control the mode based on the running test, not the current file path. By default, tests with `jsdom` or `happy-dom` use `web` transform mode, and tests using `node` or `edge` environment use `ssr` mode. If you have a custom environment, it should provide `transformMode` property. - Disable `coverage.reportOnFailure` by default - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3615 [<samp>(0c6f6)</samp>](https://togithub.com/vitest-dev/vitest/commit/0c6f624f) - Remove `@vitest/coverage-c8` package - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3614 [<samp>(a90d6)</samp>](https://togithub.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://togithub.com/sheremet-va) and [@​dammy001](https://togithub.com/dammy001) in [vitest-dev/vitest#3203 [<samp>(b0929)</samp>](https://togithub.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://togithub.com/fenghan34) and [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3725 [<samp>(dc4fa)</samp>](https://togithub.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://togithub.com/rxliuli) in [vitest-dev/vitest#3574 [<samp>(1cd4e)</samp>](https://togithub.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://togithub.com/sheremet-va) and [@​eryue0220](https://togithub.com/eryue0220) in [vitest-dev/vitest#3854 [<samp>(4b946)</samp>](https://togithub.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://togithub.com/fenghan34) and [@​dammy001](https://togithub.com/dammy001) in [vitest-dev/vitest#3771 [<samp>(86934)</samp>](https://togithub.com/vitest-dev/vitest/commit/8693449b) - Support config junit reporter className with env - by [@​InfiniteXyy](https://togithub.com/InfiniteXyy) in [vitest-dev/vitest#3808 [<samp>(e8bc4)</samp>](https://togithub.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://togithub.com/sheremet-va) in [vitest-dev/vitest#3844 [<samp>(c9aea)</samp>](https://togithub.com/vitest-dev/vitest/commit/c9aeac4c) ##### 🐞 Bug Fixes - Isolate workers between envs and workspaces - by [@​AriPerkkio](https://togithub.com/AriPerkkio) [<samp>(ed4e0)</samp>](https://togithub.com/vitest-dev/vitest/commit/ed4e0424) - Modify condition - by [@​btea](https://togithub.com/btea) [<samp>(a78e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/a78e6bd0) - Module Graph view is blocking the Console view - by [@​g4rry420](https://togithub.com/g4rry420) [<samp>(3b5f9)</samp>](https://togithub.com/vitest-dev/vitest/commit/3b5f96bc) - Port the latest `defineConfig` type from vite - by [@​sodatea](https://togithub.com/sodatea) in [vitest-dev/vitest#3804 [<samp>(9c8e3)</samp>](https://togithub.com/vitest-dev/vitest/commit/9c8e3083) - Don't overwrite Node.js URL global - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3828 [<samp>(cdab4)</samp>](https://togithub.com/vitest-dev/vitest/commit/cdab4651) - ForceRerunTriggers correctly triggers a rerun - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3829 [<samp>(17988)</samp>](https://togithub.com/vitest-dev/vitest/commit/17988e51) - **browser**: - Don't inline magic-string and estree-walker - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3726 [<samp>(ee937)</samp>](https://togithub.com/vitest-dev/vitest/commit/ee93762a) - Multi-suite coverage - by [@​elby22](https://togithub.com/elby22) in [vitest-dev/vitest#3806 [<samp>(5de9a)</samp>](https://togithub.com/vitest-dev/vitest/commit/5de9af26) - **core**: - DataView comparison does not work in `toStrictEqual` - by [@​Dunqing](https://togithub.com/Dunqing) [<samp>(52aef)</samp>](https://togithub.com/vitest-dev/vitest/commit/52aef92e) - **coverage**: - V8 provider to pick source maps without url query params - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3784 [<samp>(280e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/280e6745) - Update `istanbul-lib-instrument` to v6 to fix vulnerable dependency - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3814 [<samp>(f3bd9)</samp>](https://togithub.com/vitest-dev/vitest/commit/f3bd9102) - Exclude vite virtual modules by default - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3794 [<samp>(3c851)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c851872) - **node**: - Guard error info - by [@​btea](https://togithub.com/btea) [<samp>(88b39)</samp>](https://togithub.com/vitest-dev/vitest/commit/88b39758) - **vite-node**: - Always treat node_modules as modulesDirectory - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3830 [<samp>(51ab8)</samp>](https://togithub.com/vitest-dev/vitest/commit/51ab8d6c) - Normalize drive letter to keep the same reference to a module - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3836 [<samp>(45521)</samp>](https://togithub.com/vitest-dev/vitest/commit/45521859) - Correctly resolve hmr filepath - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3834 [<samp>(711a6)</samp>](https://togithub.com/vitest-dev/vitest/commit/711a6249) - **watch**: - Clear screen on all terminals - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3661 [<samp>(8bd26)</samp>](https://togithub.com/vitest-dev/vitest/commit/8bd26b01) ##### 🏎 Performance - Deprecate deps.registerNodeLoader - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(7f45b)</samp>](https://togithub.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://togithub.com/vitest-dev/vitest/compare/v0.33.0...v0.34.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://developer.mend.io/github/David-Duefrene/dataviewer). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4yNy4xIiwidXBkYXRlZEluVmVyIjoiMzYuMjcuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
marcustisater-kivra
added a commit
to kivra/toybox
that referenced
this pull request
Aug 15, 2023
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [vitest](https://togithub.com/vitest-dev/vitest) | [`0.31.0` -> `0.34.1`](https://renovatebot.com/diffs/npm/vitest/0.31.0/0.34.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/0.31.0/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/0.31.0/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (vitest)</summary> ### [`v0.34.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.0...v0.34.1) ##### 🐞 Bug Fixes - Pass `--experimental-vm-worker-memory-limit` to `tinypool` - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3856 [<samp>(3c67a)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c67a4cb) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.0...v0.34.1) ### [`v0.34.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.0) [Compare Source](https://togithub.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://togithub.com/sheremet-va) in [vitest-dev/vitest#3491 [<samp>(9608b)</samp>](https://togithub.com/vitest-dev/vitest/commit/9608bf72) - `transformMode` is now moved to `server.transformMode`. This option is highly discouraged to use. If you need to change the transform mode, use the new option `testTransformMode` instead to control the mode based on the running test, not the current file path. By default, tests with `jsdom` or `happy-dom` use `web` transform mode, and tests using `node` or `edge` environment use `ssr` mode. If you have a custom environment, it should provide `transformMode` property. - Disable `coverage.reportOnFailure` by default - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3615 [<samp>(0c6f6)</samp>](https://togithub.com/vitest-dev/vitest/commit/0c6f624f) - Remove `@vitest/coverage-c8` package - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3614 [<samp>(a90d6)</samp>](https://togithub.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://togithub.com/sheremet-va) and [@​dammy001](https://togithub.com/dammy001) in [vitest-dev/vitest#3203 [<samp>(b0929)</samp>](https://togithub.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://togithub.com/fenghan34) and [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3725 [<samp>(dc4fa)</samp>](https://togithub.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://togithub.com/rxliuli) in [vitest-dev/vitest#3574 [<samp>(1cd4e)</samp>](https://togithub.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://togithub.com/sheremet-va) and [@​eryue0220](https://togithub.com/eryue0220) in [vitest-dev/vitest#3854 [<samp>(4b946)</samp>](https://togithub.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://togithub.com/fenghan34) and [@​dammy001](https://togithub.com/dammy001) in [vitest-dev/vitest#3771 [<samp>(86934)</samp>](https://togithub.com/vitest-dev/vitest/commit/8693449b) - Support config junit reporter className with env - by [@​InfiniteXyy](https://togithub.com/InfiniteXyy) in [vitest-dev/vitest#3808 [<samp>(e8bc4)</samp>](https://togithub.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://togithub.com/sheremet-va) in [vitest-dev/vitest#3844 [<samp>(c9aea)</samp>](https://togithub.com/vitest-dev/vitest/commit/c9aeac4c) ##### 🐞 Bug Fixes - Isolate workers between envs and workspaces - by [@​AriPerkkio](https://togithub.com/AriPerkkio) [<samp>(ed4e0)</samp>](https://togithub.com/vitest-dev/vitest/commit/ed4e0424) - Modify condition - by [@​btea](https://togithub.com/btea) [<samp>(a78e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/a78e6bd0) - Module Graph view is blocking the Console view - by [@​g4rry420](https://togithub.com/g4rry420) [<samp>(3b5f9)</samp>](https://togithub.com/vitest-dev/vitest/commit/3b5f96bc) - Port the latest `defineConfig` type from vite - by [@​sodatea](https://togithub.com/sodatea) in [vitest-dev/vitest#3804 [<samp>(9c8e3)</samp>](https://togithub.com/vitest-dev/vitest/commit/9c8e3083) - Don't overwrite Node.js URL global - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3828 [<samp>(cdab4)</samp>](https://togithub.com/vitest-dev/vitest/commit/cdab4651) - ForceRerunTriggers correctly triggers a rerun - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3829 [<samp>(17988)</samp>](https://togithub.com/vitest-dev/vitest/commit/17988e51) - **browser**: - Don't inline magic-string and estree-walker - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3726 [<samp>(ee937)</samp>](https://togithub.com/vitest-dev/vitest/commit/ee93762a) - Multi-suite coverage - by [@​elby22](https://togithub.com/elby22) in [vitest-dev/vitest#3806 [<samp>(5de9a)</samp>](https://togithub.com/vitest-dev/vitest/commit/5de9af26) - **core**: - DataView comparison does not work in `toStrictEqual` - by [@​Dunqing](https://togithub.com/Dunqing) [<samp>(52aef)</samp>](https://togithub.com/vitest-dev/vitest/commit/52aef92e) - **coverage**: - V8 provider to pick source maps without url query params - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3784 [<samp>(280e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/280e6745) - Update `istanbul-lib-instrument` to v6 to fix vulnerable dependency - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3814 [<samp>(f3bd9)</samp>](https://togithub.com/vitest-dev/vitest/commit/f3bd9102) - Exclude vite virtual modules by default - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3794 [<samp>(3c851)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c851872) - **node**: - Guard error info - by [@​btea](https://togithub.com/btea) [<samp>(88b39)</samp>](https://togithub.com/vitest-dev/vitest/commit/88b39758) - **vite-node**: - Always treat node_modules as modulesDirectory - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3830 [<samp>(51ab8)</samp>](https://togithub.com/vitest-dev/vitest/commit/51ab8d6c) - Normalize drive letter to keep the same reference to a module - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3836 [<samp>(45521)</samp>](https://togithub.com/vitest-dev/vitest/commit/45521859) - Correctly resolve hmr filepath - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3834 [<samp>(711a6)</samp>](https://togithub.com/vitest-dev/vitest/commit/711a6249) - **watch**: - Clear screen on all terminals - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3661 [<samp>(8bd26)</samp>](https://togithub.com/vitest-dev/vitest/commit/8bd26b01) ##### 🏎 Performance - Deprecate deps.registerNodeLoader - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(7f45b)</samp>](https://togithub.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://togithub.com/vitest-dev/vitest/compare/v0.33.0...v0.34.0) ### [`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 [vitest-dev/vitest#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 [vitest-dev/vitest#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 [vitest-dev/vitest#3598 and [vitest-dev/vitest#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 [vitest-dev/vitest#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 [vitest-dev/vitest#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 [vitest-dev/vitest#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 [vitest-dev/vitest#3543 [<samp>(7531c)</samp>](https://togithub.com/vitest-dev/vitest/commit/7531c292) - **runner**: Support `test.extend` - by [@​fenghan34](https://togithub.com/fenghan34) in [vitest-dev/vitest#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 [vitest-dev/vitest#3597 [<samp>(969dc)</samp>](https://togithub.com/vitest-dev/vitest/commit/969dcc14) - Show diff correctly - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3620 [<samp>(73dd4)</samp>](https://togithub.com/vitest-dev/vitest/commit/73dd4ab5) - Util import - by [@​fubhy](https://togithub.com/fubhy) in [vitest-dev/vitest#3621 [<samp>(2fb4c)</samp>](https://togithub.com/vitest-dev/vitest/commit/2fb4ceff) - Compat with frozen Math - by [@​turadg](https://togithub.com/turadg) in [vitest-dev/vitest#3527 [<samp>(0db67)</samp>](https://togithub.com/vitest-dev/vitest/commit/0db67098) - `CTRL+C` to terminate run - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#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 [vitest-dev/vitest#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 [vitest-dev/vitest#3645 [<samp>(80ea7)</samp>](https://togithub.com/vitest-dev/vitest/commit/80ea7ef6) - Print actual number for `toBeCalledTimes` - by [@​antfu](https://togithub.com/antfu) in [vitest-dev/vitest#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 [vitest-dev/vitest#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 [vitest-dev/vitest#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 [vitest-dev/vitest#3641 [<samp>(5c0ac)</samp>](https://togithub.com/vitest-dev/vitest/commit/5c0ac4ad) - Transform superclass identifier - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#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 [vitest-dev/vitest#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 [vitest-dev/vitest#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 [vitest-dev/vitest#3695 [<samp>(91e16)</samp>](https://togithub.com/vitest-dev/vitest/commit/91e1650e) - **watch**: - Cancel using `h` key - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#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 [vitest-dev/vitest#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 [vitest-dev/vitest#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 [vitest-dev/vitest#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 [vitest-dev/vitest#3078 and [vitest-dev/vitest#3060 [<samp>(02196)</samp>](https://togithub.com/vitest-dev/vitest/commit/02196f9d) - Automatically remove define related configuration - by [@​btea](https://togithub.com/btea) in [vitest-dev/vitest#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 [vitest-dev/vitest#3578 and [vitest-dev/vitest#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 [vitest-dev/vitest#3582 [<samp>(9c7ea)</samp>](https://togithub.com/vitest-dev/vitest/commit/9c7ea382) - Typo in config suggestion - by [@​Krisell](https://togithub.com/Krisell) in [vitest-dev/vitest#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 [vitest-dev/vitest#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 [vitest-dev/vitest#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 [vitest-dev/vitest#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 [vitest-dev/vitest#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 [vitest-dev/vitest#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 [vitest-dev/vitest#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 [vitest-dev/vitest#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 [vitest-dev/vitest#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 [vitest-dev/vitest#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 [vitest-dev/vitest#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 [vitest-dev/vitest#3490 [<samp>(89842)</samp>](https://togithub.com/vitest-dev/vitest/commit/898422b0) - Image type add apng - by [@​btea](https://togithub.com/btea) in [vitest-dev/vitest#3498 [<samp>(a53c2)</samp>](https://togithub.com/vitest-dev/vitest/commit/a53c2151) - **expect**: Support `expect.soft` - by [@​Dunqing](https://togithub.com/Dunqing) in [vitest-dev/vitest#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 [vitest-dev/vitest#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 [vitest-dev/vitest#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 [vitest-dev/vitest#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 [vitest-dev/vitest#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 [vitest-dev/vitest#3508 [<samp>(952b5)</samp>](https://togithub.com/vitest-dev/vitest/commit/952b5be6) - **vite-node**: Circular import stuck - by [@​Dunqing](https://togithub.com/Dunqing) in [vitest-dev/vitest#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 [vitest-dev/vitest#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 [vitest-dev/vitest#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 [vitest-dev/vitest#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 [vitest-dev/vitest#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 [vitest-dev/vitest#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 [vitest-dev/vitest#3473 and [vitest-dev/vitest#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 [vitest-dev/vitest#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 [vitest-dev/vitest#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 [vitest-dev/vitest#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 [vitest-dev/vitest#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 [vitest-dev/vitest#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 [vitest-dev/vitest#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 [vitest-dev/vitest#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 [vitest-dev/vitest#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 [vitest-dev/vitest#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 [vitest-dev/vitest#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 [vitest-dev/vitest#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 [vitest-dev/vitest#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 [vitest-dev/vitest#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 [vitest-dev/vitest#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 [vitest-dev/vitest#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 [vitest-dev/vitest#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 [vitest-dev/vitest#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 [vitest-dev/vitest#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 [vitest-dev/vitest#3462 [<samp>(b664d)</samp>](https://togithub.com/vitest-dev/vitest/commit/b664d42c) - **vite-node**: - Circular import stuck - by [@​Dunqing](https://togithub.com/Dunqing) in [vitest-dev/vitest#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 [vitest-dev/vitest#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 [vitest-dev/vitest#2918 and [vitest-dev/vitest#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 [vitest-dev/vitest#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 [vitest-dev/vitest#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 [vitest-dev/vitest#3298 [<samp>(a93be)</samp>](https://togithub.com/vitest-dev/vitest/commit/a93be56c) - Remove duplicate type - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#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 [vitest-dev/vitest#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 [vitest-dev/vitest#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 [vitest-dev/vitest#3341 [<samp>(2aff8)</samp>](https://togithub.com/vitest-dev/vitest/commit/2aff8c5f) - Display error message correctly - by [@​btea](https://togithub.com/btea) in [vitest-dev/vitest#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 [vitest-dev/vitest#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 [vitest-dev/vitest#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 [vitest-dev/vitest#3370 and [vitest-dev/vitest#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 [vitest-dev/vitest#3386 [<samp>(2cb1a)</samp>](https://togithub.com/vitest-dev/vitest/commit/2cb1a15a) - Test repeats - by [@​fenghan34](https://togithub.com/fenghan34) in [vitest-dev/vitest#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 [vitest-dev/vitest#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 [vitest-dev/vitest#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 [vitest-dev/vitest#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 [vitest-dev/vitest#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 [vitest-dev/vitest#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 [vitest-dev/vitest#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) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/kivra/toybox). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4yNy4xIiwidXBkYXRlZEluVmVyIjoiMzYuMjcuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Marcus Tisäter <77273035+marcustisater-kivra@users.noreply.github.com>
This was referenced Aug 19, 2023
renovate bot
added a commit
to ariakit/ariakit
that referenced
this pull request
Aug 24, 2023
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [vitest](https://togithub.com/vitest-dev/vitest) | [`0.33.0` -> `0.34.2`](https://renovatebot.com/diffs/npm/vitest/0.33.0/0.34.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/0.34.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/0.34.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/0.33.0/0.34.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/0.33.0/0.34.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (vitest)</summary> ### [`v0.34.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.2) [Compare Source](https://togithub.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://togithub.com/sheremet-va) in [vitest-dev/vitest#3880 [<samp>(f4e6e)</samp>](https://togithub.com/vitest-dev/vitest/commit/f4e6e99f) - **vitest**: Allow calling `ctx.skip()` inside the running test - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3966 [<samp>(5c88d)</samp>](https://togithub.com/vitest-dev/vitest/commit/5c88d8e5) ##### 🐞 Bug Fixes - Don't bundle utils' source-map entry - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3865 [<samp>(a08e5)</samp>](https://togithub.com/vitest-dev/vitest/commit/a08e5993) - Reduce the memory consumption when running --experimental-vm-threads - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3872 [<samp>(d1a08)</samp>](https://togithub.com/vitest-dev/vitest/commit/d1a08c88) - Indicator position of error message - by [@​fenghan34](https://togithub.com/fenghan34) in [vitest-dev/vitest#3855 [<samp>(3e1e7)</samp>](https://togithub.com/vitest-dev/vitest/commit/3e1e7a1f) - Don't crash when using --experimental-vm-threads, interop CJS default inside node_modules - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3876 [<samp>(0c53e)</samp>](https://togithub.com/vitest-dev/vitest/commit/0c53e098) - Don't crash if total memory is not supported - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3879 [<samp>(7d1f8)</samp>](https://togithub.com/vitest-dev/vitest/commit/7d1f86b8) - Check memory and limit value - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(f8dfb)</samp>](https://togithub.com/vitest-dev/vitest/commit/f8dfbd38) - Update module warning as it is moved into server config - by [@​jellyfishgh](https://togithub.com/jellyfishgh) in [vitest-dev/vitest#3931 [<samp>(3a3eb)</samp>](https://togithub.com/vitest-dev/vitest/commit/3a3eb22c) - Define process variable and using import.meta.env together did not work - by [@​Dunqing](https://togithub.com/Dunqing) in [vitest-dev/vitest#3944 [<samp>(e73ca)</samp>](https://togithub.com/vitest-dev/vitest/commit/e73ca9ed) - Correctly resolve config in a workspace - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3947 [<samp>(1c08d)</samp>](https://togithub.com/vitest-dev/vitest/commit/1c08d5da) - Don't crash when calling useFakeTimers in VM pool - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3958 [<samp>(91fe4)</samp>](https://togithub.com/vitest-dev/vitest/commit/91fe4853) - Restrict access to file system via API - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3956 [<samp>(bcb41)</samp>](https://togithub.com/vitest-dev/vitest/commit/bcb41e51) - Typo of mocks plugin name - by [@​antfu](https://togithub.com/antfu) [<samp>(3073b)</samp>](https://togithub.com/vitest-dev/vitest/commit/3073b9a2) - Build not generated `execute.d.ts` - by [@​btea](https://togithub.com/btea) in [vitest-dev/vitest#3970 [<samp>(0f8e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/0f8e60b7) - **css**: - Don't mock css-module if `?inline` query is specified - by [@​thebanjomatic](https://togithub.com/thebanjomatic) and **Adam Hines** in [vitest-dev/vitest#3952 [<samp>(3891d)</samp>](https://togithub.com/vitest-dev/vitest/commit/3891d055) - **expect**: - Correctly show async matcher diff - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3960 [<samp>(9423b)</samp>](https://togithub.com/vitest-dev/vitest/commit/9423b6f8) - **snapshots**: - Update inline snapshot correctly - by [@​fenghan34](https://togithub.com/fenghan34) in [vitest-dev/vitest#3887 [<samp>(7b740)</samp>](https://togithub.com/vitest-dev/vitest/commit/7b740a27) - **ui**: - Incorrect duration time in vitest ui - by [@​Dunqing](https://togithub.com/Dunqing) in [vitest-dev/vitest#3945 [<samp>(35139)</samp>](https://togithub.com/vitest-dev/vitest/commit/351399f2) - Add support for ui coverage with subdir option - by [@​userquin](https://togithub.com/userquin) in [vitest-dev/vitest#3917 [<samp>(6ecfc)</samp>](https://togithub.com/vitest-dev/vitest/commit/6ecfc4e1) - **vitest**: - Use esm module resolution to resolve env - by [@​danielroe](https://togithub.com/danielroe) in [vitest-dev/vitest#3951 [<samp>(edb32)</samp>](https://togithub.com/vitest-dev/vitest/commit/edb322fe) - Allow rewriting process.env.NODE_MODE when using web transform mode - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3957 [<samp>(eca4b)</samp>](https://togithub.com/vitest-dev/vitest/commit/eca4b87f) - Only consider cwd when using glob - by [@​g-plane](https://togithub.com/g-plane) in [vitest-dev/vitest#3802 and [vitest-dev/vitest#3949 [<samp>(15b4f)</samp>](https://togithub.com/vitest-dev/vitest/commit/15b4fd6d) - Pass environmentOptions to happy-dom integration - by [@​sheremet-va](https://togithub.com/sheremet-va) and **Raul de Melo** in [vitest-dev/vitest#3972 [<samp>(6a0cb)</samp>](https://togithub.com/vitest-dev/vitest/commit/6a0cb647) - **web**: - Correctly resolve assets in new URL - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3950 [<samp>(a428f)</samp>](https://togithub.com/vitest-dev/vitest/commit/a428f8d4) ##### 🏎 Performance - **dot-renderer**: Speed up getTests - by [@​gtm-nayan](https://togithub.com/gtm-nayan) in [vitest-dev/vitest#3923 [<samp>(e9404)</samp>](https://togithub.com/vitest-dev/vitest/commit/e94044d7) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.1...v0.34.2) ### [`v0.34.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.0...v0.34.1) ##### 🐞 Bug Fixes - Pass `--experimental-vm-worker-memory-limit` to `tinypool` - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3856 [<samp>(3c67a)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c67a4cb) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.0...v0.34.1) ### [`v0.34.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.0) [Compare Source](https://togithub.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://togithub.com/sheremet-va) in [vitest-dev/vitest#3491 [<samp>(9608b)</samp>](https://togithub.com/vitest-dev/vitest/commit/9608bf72) - `transformMode` is now moved to `server.transformMode`. This option is highly discouraged to use. If you need to change the transform mode, use the new option `testTransformMode` instead to control the mode based on the running test, not the current file path. By default, tests with `jsdom` or `happy-dom` use `web` transform mode, and tests using `node` or `edge` environment use `ssr` mode. If you have a custom environment, it should provide `transformMode` property. - Disable `coverage.reportOnFailure` by default - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3615 [<samp>(0c6f6)</samp>](https://togithub.com/vitest-dev/vitest/commit/0c6f624f) - Remove `@vitest/coverage-c8` package - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3614 [<samp>(a90d6)</samp>](https://togithub.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://togithub.com/sheremet-va) and [@​dammy001](https://togithub.com/dammy001) in [vitest-dev/vitest#3203 [<samp>(b0929)</samp>](https://togithub.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://togithub.com/fenghan34) and [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3725 [<samp>(dc4fa)</samp>](https://togithub.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://togithub.com/rxliuli) in [vitest-dev/vitest#3574 [<samp>(1cd4e)</samp>](https://togithub.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://togithub.com/sheremet-va) and [@​eryue0220](https://togithub.com/eryue0220) in [vitest-dev/vitest#3854 [<samp>(4b946)</samp>](https://togithub.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://togithub.com/fenghan34) and [@​dammy001](https://togithub.com/dammy001) in [vitest-dev/vitest#3771 [<samp>(86934)</samp>](https://togithub.com/vitest-dev/vitest/commit/8693449b) - Support config junit reporter className with env - by [@​InfiniteXyy](https://togithub.com/InfiniteXyy) in [vitest-dev/vitest#3808 [<samp>(e8bc4)</samp>](https://togithub.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://togithub.com/sheremet-va) in [vitest-dev/vitest#3844 [<samp>(c9aea)</samp>](https://togithub.com/vitest-dev/vitest/commit/c9aeac4c) ##### 🐞 Bug Fixes - Isolate workers between envs and workspaces - by [@​AriPerkkio](https://togithub.com/AriPerkkio) [<samp>(ed4e0)</samp>](https://togithub.com/vitest-dev/vitest/commit/ed4e0424) - Modify condition - by [@​btea](https://togithub.com/btea) [<samp>(a78e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/a78e6bd0) - Module Graph view is blocking the Console view - by [@​g4rry420](https://togithub.com/g4rry420) [<samp>(3b5f9)</samp>](https://togithub.com/vitest-dev/vitest/commit/3b5f96bc) - Port the latest `defineConfig` type from vite - by [@​sodatea](https://togithub.com/sodatea) in [vitest-dev/vitest#3804 [<samp>(9c8e3)</samp>](https://togithub.com/vitest-dev/vitest/commit/9c8e3083) - Don't overwrite Node.js URL global - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3828 [<samp>(cdab4)</samp>](https://togithub.com/vitest-dev/vitest/commit/cdab4651) - ForceRerunTriggers correctly triggers a rerun - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3829 [<samp>(17988)</samp>](https://togithub.com/vitest-dev/vitest/commit/17988e51) - **browser**: - Don't inline magic-string and estree-walker - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3726 [<samp>(ee937)</samp>](https://togithub.com/vitest-dev/vitest/commit/ee93762a) - Multi-suite coverage - by [@​elby22](https://togithub.com/elby22) in [vitest-dev/vitest#3806 [<samp>(5de9a)</samp>](https://togithub.com/vitest-dev/vitest/commit/5de9af26) - **core**: - DataView comparison does not work in `toStrictEqual` - by [@​Dunqing](https://togithub.com/Dunqing) [<samp>(52aef)</samp>](https://togithub.com/vitest-dev/vitest/commit/52aef92e) - **coverage**: - V8 provider to pick source maps without url query params - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3784 [<samp>(280e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/280e6745) - Update `istanbul-lib-instrument` to v6 to fix vulnerable dependency - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3814 [<samp>(f3bd9)</samp>](https://togithub.com/vitest-dev/vitest/commit/f3bd9102) - Exclude vite virtual modules by default - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3794 [<samp>(3c851)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c851872) - **node**: - Guard error info - by [@​btea](https://togithub.com/btea) [<samp>(88b39)</samp>](https://togithub.com/vitest-dev/vitest/commit/88b39758) - **vite-node**: - Always treat node_modules as modulesDirectory - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3830 [<samp>(51ab8)</samp>](https://togithub.com/vitest-dev/vitest/commit/51ab8d6c) - Normalize drive letter to keep the same reference to a module - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3836 [<samp>(45521)</samp>](https://togithub.com/vitest-dev/vitest/commit/45521859) - Correctly resolve hmr filepath - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3834 [<samp>(711a6)</samp>](https://togithub.com/vitest-dev/vitest/commit/711a6249) - **watch**: - Clear screen on all terminals - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3661 [<samp>(8bd26)</samp>](https://togithub.com/vitest-dev/vitest/commit/8bd26b01) ##### 🏎 Performance - Deprecate deps.registerNodeLoader - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(7f45b)</samp>](https://togithub.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://togithub.com/vitest-dev/vitest/compare/v0.33.0...v0.34.0) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/ariakit/ariakit). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi41Ni4wIiwidXBkYXRlZEluVmVyIjoiMzYuNTYuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
bodinsamuel
pushed a commit
to specfy/stack-analyser
that referenced
this pull request
Sep 10, 2023
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@vitest/coverage-v8](https://togithub.com/vitest-dev/vitest/tree/main/packages/coverage-v8#readme) ([source](https://togithub.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://togithub.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://togithub.com/vitest-dev/vitest/releases/tag/v0.34.4) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.3...v0.34.4) ##### 🐞 Bug Fixes - Resolving dep optimizer issues with workspace - by [@​thebanjomatic](https://togithub.com/thebanjomatic) in [vitest-dev/vitest#4036 [<samp>(0c13c)</samp>](https://togithub.com/vitest-dev/vitest/commit/0c13c39c) - Don't process config file twice - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#4077 [<samp>(a84a8)</samp>](https://togithub.com/vitest-dev/vitest/commit/a84a8e05) - **coverage**: - Log info only when terminal reporter is used - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#4027 [<samp>(9f043)</samp>](https://togithub.com/vitest-dev/vitest/commit/9f04386b) - **happy-dom**: - Use the nodejs console in happy-dom v11 - by [@​capricorn86](https://togithub.com/capricorn86) in [vitest-dev/vitest#4090 [<samp>(59434)</samp>](https://togithub.com/vitest-dev/vitest/commit/59434189) - **runner**: - Incorrect test name pattern matching - by [@​Dunqing](https://togithub.com/Dunqing) in [vitest-dev/vitest#4071 [<samp>(b5bf3)</samp>](https://togithub.com/vitest-dev/vitest/commit/b5bf3290) - **vite-node**: - Check more precisely for root/base paths - by [@​danielroe](https://togithub.com/danielroe) in [vitest-dev/vitest#4049 [<samp>(80741)</samp>](https://togithub.com/vitest-dev/vitest/commit/807418fa) - **vitest**: - "vi" doesn't rely on context - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#4031 [<samp>(0d0f3)</samp>](https://togithub.com/vitest-dev/vitest/commit/0d0f35f6) - Only override ssr.optimizer instead of the whole ssr object - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#4080 [<samp>(410bc)</samp>](https://togithub.com/vitest-dev/vitest/commit/410bc454) - Don't start the server when optimizer is enabled - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#4095 [<samp>(00e81)</samp>](https://togithub.com/vitest-dev/vitest/commit/00e81122) - Set SSR env only when transformMode is ssr - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#4083 [<samp>(f8ea7)</samp>](https://togithub.com/vitest-dev/vitest/commit/f8ea716a) - Show error when calling API on files that user has no access to - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#4085 [<samp>(8b39c)</samp>](https://togithub.com/vitest-dev/vitest/commit/8b39c117) - **web-worker**: - Don't rely on browser API when it's not provided - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#4014 [<samp>(e78a4)</samp>](https://togithub.com/vitest-dev/vitest/commit/e78a449d) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.3...v0.34.4) ### [`v0.34.3`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.3) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.2...v0.34.3) ##### 🚀 Features - **coverage**: Add `allowExternal` option - by [@​vojvodics](https://togithub.com/vojvodics) and [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3894 [<samp>(c03fa)</samp>](https://togithub.com/vitest-dev/vitest/commit/c03faa22) - **vitest**: Export all reporters in `vitest/reporters` - by [@​Dunqing](https://togithub.com/Dunqing) and [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3980 [<samp>(5704b)</samp>](https://togithub.com/vitest-dev/vitest/commit/5704b341) ##### 🐞 Bug Fixes - Should remove mockPath from callstack whether success or failed - by [@​miserylee](https://togithub.com/miserylee) and **lijifei** in [vitest-dev/vitest#3971 [<samp>(5eb85)</samp>](https://togithub.com/vitest-dev/vitest/commit/5eb8561c) - Add workspace config files to default coverage excludes - by [@​FelixGraf](https://togithub.com/FelixGraf) and [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3973 [<samp>(20263)</samp>](https://togithub.com/vitest-dev/vitest/commit/20263d9d) - Report file error as a <failure> on JUnit - by [@​3c1u](https://togithub.com/3c1u) in [vitest-dev/vitest#3997 [<samp>(00c43)</samp>](https://togithub.com/vitest-dev/vitest/commit/00c432fa) - **jsdom**: Correctly resolve buffer on typed arrays - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3998 [<samp>(b42cf)</samp>](https://togithub.com/vitest-dev/vitest/commit/b42cf36e) - **ui**: Use web hash history in ui - by [@​segevfiner](https://togithub.com/segevfiner) and [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3481 and [vitest-dev/vitest#3487 [<samp>(8caab)</samp>](https://togithub.com/vitest-dev/vitest/commit/8caabaa1) - **vite-node**: Inline HMR types - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3993 [<samp>(dff60)</samp>](https://togithub.com/vitest-dev/vitest/commit/dff60e82) - **vitest**: Correctly resolve optimizer status - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3992 [<samp>(74dc5)</samp>](https://togithub.com/vitest-dev/vitest/commit/74dc5967) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.2...v0.34.3) ### [`v0.34.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.2) [Compare Source](https://togithub.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://togithub.com/sheremet-va) in [vitest-dev/vitest#3880 [<samp>(f4e6e)</samp>](https://togithub.com/vitest-dev/vitest/commit/f4e6e99f) - **vitest**: Allow calling `ctx.skip()` inside the running test - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3966 [<samp>(5c88d)</samp>](https://togithub.com/vitest-dev/vitest/commit/5c88d8e5) ##### 🐞 Bug Fixes - Don't bundle utils' source-map entry - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3865 [<samp>(a08e5)</samp>](https://togithub.com/vitest-dev/vitest/commit/a08e5993) - Reduce the memory consumption when running --experimental-vm-threads - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3872 [<samp>(d1a08)</samp>](https://togithub.com/vitest-dev/vitest/commit/d1a08c88) - Indicator position of error message - by [@​fenghan34](https://togithub.com/fenghan34) in [vitest-dev/vitest#3855 [<samp>(3e1e7)</samp>](https://togithub.com/vitest-dev/vitest/commit/3e1e7a1f) - Don't crash when using --experimental-vm-threads, interop CJS default inside node_modules - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3876 [<samp>(0c53e)</samp>](https://togithub.com/vitest-dev/vitest/commit/0c53e098) - Don't crash if total memory is not supported - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3879 [<samp>(7d1f8)</samp>](https://togithub.com/vitest-dev/vitest/commit/7d1f86b8) - Check memory and limit value - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(f8dfb)</samp>](https://togithub.com/vitest-dev/vitest/commit/f8dfbd38) - Update module warning as it is moved into server config - by [@​jellyfishgh](https://togithub.com/jellyfishgh) in [vitest-dev/vitest#3931 [<samp>(3a3eb)</samp>](https://togithub.com/vitest-dev/vitest/commit/3a3eb22c) - Define process variable and using import.meta.env together did not work - by [@​Dunqing](https://togithub.com/Dunqing) in [vitest-dev/vitest#3944 [<samp>(e73ca)</samp>](https://togithub.com/vitest-dev/vitest/commit/e73ca9ed) - Correctly resolve config in a workspace - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3947 [<samp>(1c08d)</samp>](https://togithub.com/vitest-dev/vitest/commit/1c08d5da) - Don't crash when calling useFakeTimers in VM pool - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3958 [<samp>(91fe4)</samp>](https://togithub.com/vitest-dev/vitest/commit/91fe4853) - Restrict access to file system via API - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3956 [<samp>(bcb41)</samp>](https://togithub.com/vitest-dev/vitest/commit/bcb41e51) - Typo of mocks plugin name - by [@​antfu](https://togithub.com/antfu) [<samp>(3073b)</samp>](https://togithub.com/vitest-dev/vitest/commit/3073b9a2) - Build not generated `execute.d.ts` - by [@​btea](https://togithub.com/btea) in [vitest-dev/vitest#3970 [<samp>(0f8e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/0f8e60b7) - **css**: - Don't mock css-module if `?inline` query is specified - by [@​thebanjomatic](https://togithub.com/thebanjomatic) and **Adam Hines** in [vitest-dev/vitest#3952 [<samp>(3891d)</samp>](https://togithub.com/vitest-dev/vitest/commit/3891d055) - **expect**: - Correctly show async matcher diff - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3960 [<samp>(9423b)</samp>](https://togithub.com/vitest-dev/vitest/commit/9423b6f8) - **snapshots**: - Update inline snapshot correctly - by [@​fenghan34](https://togithub.com/fenghan34) in [vitest-dev/vitest#3887 [<samp>(7b740)</samp>](https://togithub.com/vitest-dev/vitest/commit/7b740a27) - **ui**: - Incorrect duration time in vitest ui - by [@​Dunqing](https://togithub.com/Dunqing) in [vitest-dev/vitest#3945 [<samp>(35139)</samp>](https://togithub.com/vitest-dev/vitest/commit/351399f2) - Add support for ui coverage with subdir option - by [@​userquin](https://togithub.com/userquin) in [vitest-dev/vitest#3917 [<samp>(6ecfc)</samp>](https://togithub.com/vitest-dev/vitest/commit/6ecfc4e1) - **vitest**: - Use esm module resolution to resolve env - by [@​danielroe](https://togithub.com/danielroe) in [vitest-dev/vitest#3951 [<samp>(edb32)</samp>](https://togithub.com/vitest-dev/vitest/commit/edb322fe) - Allow rewriting process.env.NODE_MODE when using web transform mode - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3957 [<samp>(eca4b)</samp>](https://togithub.com/vitest-dev/vitest/commit/eca4b87f) - Only consider cwd when using glob - by [@​g-plane](https://togithub.com/g-plane) in [vitest-dev/vitest#3802 and [vitest-dev/vitest#3949 [<samp>(15b4f)</samp>](https://togithub.com/vitest-dev/vitest/commit/15b4fd6d) - Pass environmentOptions to happy-dom integration - by [@​sheremet-va](https://togithub.com/sheremet-va) and **Raul de Melo** in [vitest-dev/vitest#3972 [<samp>(6a0cb)</samp>](https://togithub.com/vitest-dev/vitest/commit/6a0cb647) - **web**: - Correctly resolve assets in new URL - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3950 [<samp>(a428f)</samp>](https://togithub.com/vitest-dev/vitest/commit/a428f8d4) ##### 🏎 Performance - **dot-renderer**: Speed up getTests - by [@​gtm-nayan](https://togithub.com/gtm-nayan) in [vitest-dev/vitest#3923 [<samp>(e9404)</samp>](https://togithub.com/vitest-dev/vitest/commit/e94044d7) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.1...v0.34.2) ### [`v0.34.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.0...v0.34.1) ##### 🐞 Bug Fixes - Pass `--experimental-vm-worker-memory-limit` to `tinypool` - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3856 [<samp>(3c67a)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c67a4cb) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.0...v0.34.1) ### [`v0.34.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.0) [Compare Source](https://togithub.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://togithub.com/sheremet-va) in [vitest-dev/vitest#3491 [<samp>(9608b)</samp>](https://togithub.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://togithub.com/AriPerkkio) in [vitest-dev/vitest#3615 [<samp>(0c6f6)</samp>](https://togithub.com/vitest-dev/vitest/commit/0c6f624f) - Remove `@vitest/coverage-c8` package - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3614 [<samp>(a90d6)</samp>](https://togithub.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://togithub.com/sheremet-va) and [@​dammy001](https://togithub.com/dammy001) in [vitest-dev/vitest#3203 [<samp>(b0929)</samp>](https://togithub.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://togithub.com/fenghan34) and [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3725 [<samp>(dc4fa)</samp>](https://togithub.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://togithub.com/rxliuli) in [vitest-dev/vitest#3574 [<samp>(1cd4e)</samp>](https://togithub.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://togithub.com/sheremet-va) and [@​eryue0220](https://togithub.com/eryue0220) in [vitest-dev/vitest#3854 [<samp>(4b946)</samp>](https://togithub.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://togithub.com/fenghan34) and [@​dammy001](https://togithub.com/dammy001) in [vitest-dev/vitest#3771 [<samp>(86934)</samp>](https://togithub.com/vitest-dev/vitest/commit/8693449b) - Support config junit reporter className with env - by [@​InfiniteXyy](https://togithub.com/InfiniteXyy) in [vitest-dev/vitest#3808 [<samp>(e8bc4)</samp>](https://togithub.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://togithub.com/sheremet-va) in [vitest-dev/vitest#3844 [<samp>(c9aea)</samp>](https://togithub.com/vitest-dev/vitest/commit/c9aeac4c) ##### 🐞 Bug Fixes - Isolate workers between envs and workspaces - by [@​AriPerkkio](https://togithub.com/AriPerkkio) [<samp>(ed4e0)</samp>](https://togithub.com/vitest-dev/vitest/commit/ed4e0424) - Modify condition - by [@​btea](https://togithub.com/btea) [<samp>(a78e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/a78e6bd0) - Module Graph view is blocking the Console view - by [@​g4rry420](https://togithub.com/g4rry420) [<samp>(3b5f9)</samp>](https://togithub.com/vitest-dev/vitest/commit/3b5f96bc) - Port the latest `defineConfig` type from vite - by [@​sodatea](https://togithub.com/sodatea) in [vitest-dev/vitest#3804 [<samp>(9c8e3)</samp>](https://togithub.com/vitest-dev/vitest/commit/9c8e3083) - Don't overwrite Node.js URL global - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3828 [<samp>(cdab4)</samp>](https://togithub.com/vitest-dev/vitest/commit/cdab4651) - ForceRerunTriggers correctly triggers a rerun - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3829 [<samp>(17988)</samp>](https://togithub.com/vitest-dev/vitest/commit/17988e51) - **browser**: - Don't inline magic-string and estree-walker - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3726 [<samp>(ee937)</samp>](https://togithub.com/vitest-dev/vitest/commit/ee93762a) - Multi-suite coverage - by [@​elby22](https://togithub.com/elby22) in [vitest-dev/vitest#3806 [<samp>(5de9a)</samp>](https://togithub.com/vitest-dev/vitest/commit/5de9af26) - **core**: - DataView comparison does not work in `toStrictEqual` - by [@​Dunqing](https://togithub.com/Dunqing) [<samp>(52aef)</samp>](https://togithub.com/vitest-dev/vitest/commit/52aef92e) - **coverage**: - V8 provider to pick source maps without url query params - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3784 [<samp>(280e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/280e6745) - Update `istanbul-lib-instrument` to v6 to fix vulnerable dependency - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3814 [<samp>(f3bd9)</samp>](https://togithub.com/vitest-dev/vitest/commit/f3bd9102) - Exclude vite virtual modules by default - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3794 [<samp>(3c851)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c851872) - **node**: - Guard error info - by [@​btea](https://togithub.com/btea) [<samp>(88b39)</samp>](https://togithub.com/vitest-dev/vitest/commit/88b39758) - **vite-node**: - Always treat node_modules as modulesDirectory - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3830 [<samp>(51ab8)</samp>](https://togithub.com/vitest-dev/vitest/commit/51ab8d6c) - Normalize drive letter to keep the same reference to a module - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3836 [<samp>(45521)</samp>](https://togithub.com/vitest-dev/vitest/commit/45521859) - Correctly resolve hmr filepath - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3834 [<samp>(711a6)</samp>](https://togithub.com/vitest-dev/vitest/commit/711a6249) - **watch**: - Clear screen on all terminals - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3661 [<samp>(8bd26)</samp>](https://togithub.com/vitest-dev/vitest/commit/8bd26b01) ##### 🏎 Performance - Deprecate deps.registerNodeLoader - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(7f45b)</samp>](https://togithub.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://togithub.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>
Chia1104
added a commit
to Chia1104/chia-stack
that referenced
this pull request
Sep 15, 2023
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [vitest](https://togithub.com/vitest-dev/vitest) | [`^0.33.0` -> `^0.34.0`](https://renovatebot.com/diffs/npm/vitest/0.33.0/0.34.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/0.33.0/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/0.33.0/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (vitest)</summary> ### [`v0.34.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.0...v0.34.1) ##### 🐞 Bug Fixes - Pass `--experimental-vm-worker-memory-limit` to `tinypool` - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3856 [<samp>(3c67a)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c67a4cb) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.0...v0.34.1) ### [`v0.34.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.0) [Compare Source](https://togithub.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://togithub.com/sheremet-va) in [vitest-dev/vitest#3491 [<samp>(9608b)</samp>](https://togithub.com/vitest-dev/vitest/commit/9608bf72) - `transformMode` is now moved to `server.transformMode`. This option is highly discouraged to use. If you need to change the transform mode, use the new option `testTransformMode` instead to control the mode based on the running test, not the current file path. By default, tests with `jsdom` or `happy-dom` use `web` transform mode, and tests using `node` or `edge` environment use `ssr` mode. If you have a custom environment, it should provide `transformMode` property. - Disable `coverage.reportOnFailure` by default - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3615 [<samp>(0c6f6)</samp>](https://togithub.com/vitest-dev/vitest/commit/0c6f624f) - Remove `@vitest/coverage-c8` package - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3614 [<samp>(a90d6)</samp>](https://togithub.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://togithub.com/sheremet-va) and [@​dammy001](https://togithub.com/dammy001) in [vitest-dev/vitest#3203 [<samp>(b0929)</samp>](https://togithub.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://togithub.com/fenghan34) and [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3725 [<samp>(dc4fa)</samp>](https://togithub.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://togithub.com/rxliuli) in [vitest-dev/vitest#3574 [<samp>(1cd4e)</samp>](https://togithub.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://togithub.com/sheremet-va) and [@​eryue0220](https://togithub.com/eryue0220) in [vitest-dev/vitest#3854 [<samp>(4b946)</samp>](https://togithub.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://togithub.com/fenghan34) and [@​dammy001](https://togithub.com/dammy001) in [vitest-dev/vitest#3771 [<samp>(86934)</samp>](https://togithub.com/vitest-dev/vitest/commit/8693449b) - Support config junit reporter className with env - by [@​InfiniteXyy](https://togithub.com/InfiniteXyy) in [vitest-dev/vitest#3808 [<samp>(e8bc4)</samp>](https://togithub.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://togithub.com/sheremet-va) in [vitest-dev/vitest#3844 [<samp>(c9aea)</samp>](https://togithub.com/vitest-dev/vitest/commit/c9aeac4c) ##### 🐞 Bug Fixes - Isolate workers between envs and workspaces - by [@​AriPerkkio](https://togithub.com/AriPerkkio) [<samp>(ed4e0)</samp>](https://togithub.com/vitest-dev/vitest/commit/ed4e0424) - Modify condition - by [@​btea](https://togithub.com/btea) [<samp>(a78e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/a78e6bd0) - Module Graph view is blocking the Console view - by [@​g4rry420](https://togithub.com/g4rry420) [<samp>(3b5f9)</samp>](https://togithub.com/vitest-dev/vitest/commit/3b5f96bc) - Port the latest `defineConfig` type from vite - by [@​sodatea](https://togithub.com/sodatea) in [vitest-dev/vitest#3804 [<samp>(9c8e3)</samp>](https://togithub.com/vitest-dev/vitest/commit/9c8e3083) - Don't overwrite Node.js URL global - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3828 [<samp>(cdab4)</samp>](https://togithub.com/vitest-dev/vitest/commit/cdab4651) - ForceRerunTriggers correctly triggers a rerun - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3829 [<samp>(17988)</samp>](https://togithub.com/vitest-dev/vitest/commit/17988e51) - **browser**: - Don't inline magic-string and estree-walker - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3726 [<samp>(ee937)</samp>](https://togithub.com/vitest-dev/vitest/commit/ee93762a) - Multi-suite coverage - by [@​elby22](https://togithub.com/elby22) in [vitest-dev/vitest#3806 [<samp>(5de9a)</samp>](https://togithub.com/vitest-dev/vitest/commit/5de9af26) - **core**: - DataView comparison does not work in `toStrictEqual` - by [@​Dunqing](https://togithub.com/Dunqing) [<samp>(52aef)</samp>](https://togithub.com/vitest-dev/vitest/commit/52aef92e) - **coverage**: - V8 provider to pick source maps without url query params - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3784 [<samp>(280e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/280e6745) - Update `istanbul-lib-instrument` to v6 to fix vulnerable dependency - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3814 [<samp>(f3bd9)</samp>](https://togithub.com/vitest-dev/vitest/commit/f3bd9102) - Exclude vite virtual modules by default - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3794 [<samp>(3c851)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c851872) - **node**: - Guard error info - by [@​btea](https://togithub.com/btea) [<samp>(88b39)</samp>](https://togithub.com/vitest-dev/vitest/commit/88b39758) - **vite-node**: - Always treat node_modules as modulesDirectory - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3830 [<samp>(51ab8)</samp>](https://togithub.com/vitest-dev/vitest/commit/51ab8d6c) - Normalize drive letter to keep the same reference to a module - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3836 [<samp>(45521)</samp>](https://togithub.com/vitest-dev/vitest/commit/45521859) - Correctly resolve hmr filepath - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3834 [<samp>(711a6)</samp>](https://togithub.com/vitest-dev/vitest/commit/711a6249) - **watch**: - Clear screen on all terminals - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3661 [<samp>(8bd26)</samp>](https://togithub.com/vitest-dev/vitest/commit/8bd26b01) ##### 🏎 Performance - Deprecate deps.registerNodeLoader - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(7f45b)</samp>](https://togithub.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://togithub.com/vitest-dev/vitest/compare/v0.33.0...v0.34.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://developer.mend.io/github/Chia1104/chia-stack). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4yNy4xIiwidXBkYXRlZEluVmVyIjoiMzYuMjcuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
kodiakhq bot
pushed a commit
to mheob/changeset-changelog
that referenced
this pull request
Sep 30, 2023
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@commitlint/cli](https://commitlint.js.org/) ([source](https://togithub.com/conventional-changelog/commitlint)) | [`^17.6.6` -> `^17.7.1`](https://renovatebot.com/diffs/npm/@commitlint%2fcli/17.6.6/17.7.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@commitlint%2fcli/17.7.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@commitlint%2fcli/17.7.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@commitlint%2fcli/17.6.6/17.7.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@commitlint%2fcli/17.6.6/17.7.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@types/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) | [`^18.16.19` -> `^18.18.0`](https://renovatebot.com/diffs/npm/@types%2fnode/18.16.19/18.18.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/18.18.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/18.18.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/18.16.19/18.18.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/18.16.19/18.18.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@vitest/coverage-istanbul](https://togithub.com/vitest-dev/vitest/tree/main/packages/coverage-istanbul#readme) ([source](https://togithub.com/vitest-dev/vitest)) | [`^0.33.0` -> `^0.34.5`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-istanbul/0.33.0/0.34.5) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-istanbul/0.34.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-istanbul/0.34.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-istanbul/0.33.0/0.34.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-istanbul/0.33.0/0.34.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [cz-git](https://cz-git.qbb.sh) ([source](https://togithub.com/Zhengqbbb/cz-git)) | [`^1.7.0` -> `^1.7.1`](https://renovatebot.com/diffs/npm/cz-git/1.7.0/1.7.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/cz-git/1.7.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/cz-git/1.7.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/cz-git/1.7.0/1.7.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/cz-git/1.7.0/1.7.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [eslint](https://eslint.org) ([source](https://togithub.com/eslint/eslint)) | [`^8.45.0` -> `^8.50.0`](https://renovatebot.com/diffs/npm/eslint/8.45.0/8.50.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/eslint/8.50.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/eslint/8.50.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/eslint/8.45.0/8.50.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/eslint/8.45.0/8.50.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [lint-staged](https://togithub.com/okonet/lint-staged) | [`^13.2.3` -> `^13.3.0`](https://renovatebot.com/diffs/npm/lint-staged/13.2.3/13.3.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/lint-staged/13.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/lint-staged/13.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/lint-staged/13.2.3/13.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/lint-staged/13.2.3/13.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [typescript](https://www.typescriptlang.org/) ([source](https://togithub.com/Microsoft/TypeScript)) | [`^5.1.6` -> `^5.2.2`](https://renovatebot.com/diffs/npm/typescript/5.1.6/5.2.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/typescript/5.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/typescript/5.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/typescript/5.1.6/5.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/typescript/5.1.6/5.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [vite](https://togithub.com/vitejs/vite/tree/main/#readme) ([source](https://togithub.com/vitejs/vite)) | [`^4.4.4` -> `^4.4.9`](https://renovatebot.com/diffs/npm/vite/4.4.4/4.4.9) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vite/4.4.9?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vite/4.4.9?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vite/4.4.4/4.4.9?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vite/4.4.4/4.4.9?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [vitest](https://togithub.com/vitest-dev/vitest) | [`^0.33.0` -> `^0.34.5`](https://renovatebot.com/diffs/npm/vitest/0.33.0/0.34.5) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/0.34.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/0.34.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/0.33.0/0.34.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/0.33.0/0.34.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>conventional-changelog/commitlint (@​commitlint/cli)</summary> ### [`v17.7.1`](https://togithub.com/conventional-changelog/commitlint/blob/HEAD/@​commitlint/cli/CHANGELOG.md#1771-2023-08-10) [Compare Source](https://togithub.com/conventional-changelog/commitlint/compare/v17.7.0...v17.7.1) **Note:** Version bump only for package [@​commitlint/cli](https://togithub.com/commitlint/cli) ### [`v17.7.0`](https://togithub.com/conventional-changelog/commitlint/blob/HEAD/@​commitlint/cli/CHANGELOG.md#1770-2023-08-09) [Compare Source](https://togithub.com/conventional-changelog/commitlint/compare/v17.6.7...v17.7.0) **Note:** Version bump only for package [@​commitlint/cli](https://togithub.com/commitlint/cli) #### [17.6.7](https://togithub.com/conventional-changelog/commitlint/compare/v17.6.6...v17.6.7) (2023-07-19) **Note:** Version bump only for package [@​commitlint/cli](https://togithub.com/commitlint/cli) #### [17.6.6](https://togithub.com/conventional-changelog/commitlint/compare/v17.6.5...v17.6.6) (2023-06-24) **Note:** Version bump only for package [@​commitlint/cli](https://togithub.com/commitlint/cli) #### [17.6.5](https://togithub.com/conventional-changelog/commitlint/compare/v17.6.4...v17.6.5) (2023-05-30) **Note:** Version bump only for package [@​commitlint/cli](https://togithub.com/commitlint/cli) #### [17.6.3](https://togithub.com/conventional-changelog/commitlint/compare/v17.6.2...v17.6.3) (2023-05-04) **Note:** Version bump only for package [@​commitlint/cli](https://togithub.com/commitlint/cli) #### [17.6.1](https://togithub.com/conventional-changelog/commitlint/compare/v17.6.0...v17.6.1) (2023-04-14) **Note:** Version bump only for package [@​commitlint/cli](https://togithub.com/commitlint/cli) ### [`v17.6.7`](https://togithub.com/conventional-changelog/commitlint/blob/HEAD/@​commitlint/cli/CHANGELOG.md#1767-2023-07-19) [Compare Source](https://togithub.com/conventional-changelog/commitlint/compare/v17.6.6...v17.6.7) **Note:** Version bump only for package [@​commitlint/cli](https://togithub.com/commitlint/cli) </details> <details> <summary>vitest-dev/vitest (@​vitest/coverage-istanbul)</summary> ### [`v0.34.5`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.5) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.4...v0.34.5) ##### 🚀 Features - **config**: - Add `diff` option - by [@​fenghan34](https://togithub.com/fenghan34) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4063](https://togithub.com/vitest-dev/vitest/issues/4063) [<samp>(b50cf)</samp>](https://togithub.com/vitest-dev/vitest/commit/b50cf7ad) - **coverage**: - Add `coverage['100']` to istanbul provider - by [@​marcelobotega](https://togithub.com/marcelobotega) in [https://github.com/vitest-dev/vitest/issues/4109](https://togithub.com/vitest-dev/vitest/issues/4109) [<samp>(a7e09)</samp>](https://togithub.com/vitest-dev/vitest/commit/a7e09939) - **vitest**: - Support `vi.waitFor` method - by [@​Dunqing](https://togithub.com/Dunqing) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4113](https://togithub.com/vitest-dev/vitest/issues/4113) [<samp>(d79cb)</samp>](https://togithub.com/vitest-dev/vitest/commit/d79cb44b) - Allow using unprocessed environment files - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4098](https://togithub.com/vitest-dev/vitest/issues/4098) [<samp>(1aee1)</samp>](https://togithub.com/vitest-dev/vitest/commit/1aee13af) - Support `vi.waitUntil` method - by [@​Dunqing](https://togithub.com/Dunqing) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4129](https://togithub.com/vitest-dev/vitest/issues/4129) [<samp>(e0ac9)</samp>](https://togithub.com/vitest-dev/vitest/commit/e0ac97cf) ##### 🐞 Bug Fixes - Update HappyDOMOptions to be compatible with v12 - by [@​anthonyblond](https://togithub.com/anthonyblond) in [https://github.com/vitest-dev/vitest/issues/4135](https://togithub.com/vitest-dev/vitest/issues/4135) [<samp>(e8797)</samp>](https://togithub.com/vitest-dev/vitest/commit/e8797534) - Print value shape when .resolves and .rejects fails - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4137](https://togithub.com/vitest-dev/vitest/issues/4137) [<samp>(e649d)</samp>](https://togithub.com/vitest-dev/vitest/commit/e649d78f) - **docs**: - Fix lint errors on onConsoleLog example - by [@​marcelobotega](https://togithub.com/marcelobotega) in [https://github.com/vitest-dev/vitest/issues/4116](https://togithub.com/vitest-dev/vitest/issues/4116) [<samp>(ba1e7)</samp>](https://togithub.com/vitest-dev/vitest/commit/ba1e7335) - **expect**: - Improve the error message when nothing is thrown when testing `toThrow` - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3979](https://togithub.com/vitest-dev/vitest/issues/3979) [<samp>(725a0)</samp>](https://togithub.com/vitest-dev/vitest/commit/725a0146) - **happy-dom**: - Catch errors in happy-dom - by [@​capricorn86](https://togithub.com/capricorn86) in [https://github.com/vitest-dev/vitest/issues/4140](https://togithub.com/vitest-dev/vitest/issues/4140) [<samp>(c21c0)</samp>](https://togithub.com/vitest-dev/vitest/commit/c21c0efa) - **runner**: - Restore leading space in `testNamePattern` - by [@​segrey](https://togithub.com/segrey) in [https://github.com/vitest-dev/vitest/issues/4103](https://togithub.com/vitest-dev/vitest/issues/4103) and [https://github.com/vitest-dev/vitest/issues/4104](https://togithub.com/vitest-dev/vitest/issues/4104) [<samp>(3c305)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c305857) - `test.extend` doesn't work in hooks without test - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/4065](https://togithub.com/vitest-dev/vitest/issues/4065) [<samp>(175c7)</samp>](https://togithub.com/vitest-dev/vitest/commit/175c752d) - **snapshot**: - Support mix of normal/with placeholders snapshots - by [@​RobertPechaCZ](https://togithub.com/RobertPechaCZ) in [https://github.com/vitest-dev/vitest/issues/4118](https://togithub.com/vitest-dev/vitest/issues/4118) [<samp>(01e01)</samp>](https://togithub.com/vitest-dev/vitest/commit/01e01bfc) - **ui**: - Correctly render ansi diff - by [@​so1ve](https://togithub.com/so1ve) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3810](https://togithub.com/vitest-dev/vitest/issues/3810) [<samp>(8c315)</samp>](https://togithub.com/vitest-dev/vitest/commit/8c3152fa) - **vite-node**: - Export `SourceMapInput` to fix CYCLIC_CROSS_CHUNK_REEXPORT - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/4128](https://togithub.com/vitest-dev/vitest/issues/4128) [<samp>(ca70a)</samp>](https://togithub.com/vitest-dev/vitest/commit/ca70a779) - Align vite dependency version with vitest - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(90ff8)</samp>](https://togithub.com/vitest-dev/vitest/commit/90ff899b) - **vitest**: - Rerun tests if a file loaded with query changes - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4130](https://togithub.com/vitest-dev/vitest/issues/4130) [<samp>(a084c)</samp>](https://togithub.com/vitest-dev/vitest/commit/a084ceaf) - Inject "define" in workspaces - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4096](https://togithub.com/vitest-dev/vitest/issues/4096) [<samp>(b4d5a)</samp>](https://togithub.com/vitest-dev/vitest/commit/b4d5ae23) ##### 🏎 Performance - Use lazy require in vm pool - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4136](https://togithub.com/vitest-dev/vitest/issues/4136) [<samp>(21ba4)</samp>](https://togithub.com/vitest-dev/vitest/commit/21ba4935) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.4...v0.34.5) ### [`v0.34.4`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.4) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.3...v0.34.4) ##### 🐞 Bug Fixes - Resolving dep optimizer issues with workspace - by [@​thebanjomatic](https://togithub.com/thebanjomatic) in [https://github.com/vitest-dev/vitest/issues/4036](https://togithub.com/vitest-dev/vitest/issues/4036) [<samp>(0c13c)</samp>](https://togithub.com/vitest-dev/vitest/commit/0c13c39c) - Don't process config file twice - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4077](https://togithub.com/vitest-dev/vitest/issues/4077) [<samp>(a84a8)</samp>](https://togithub.com/vitest-dev/vitest/commit/a84a8e05) - **coverage**: - Log info only when terminal reporter is used - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4027](https://togithub.com/vitest-dev/vitest/issues/4027) [<samp>(9f043)</samp>](https://togithub.com/vitest-dev/vitest/commit/9f04386b) - **happy-dom**: - Use the nodejs console in happy-dom v11 - by [@​capricorn86](https://togithub.com/capricorn86) in [https://github.com/vitest-dev/vitest/issues/4090](https://togithub.com/vitest-dev/vitest/issues/4090) [<samp>(59434)</samp>](https://togithub.com/vitest-dev/vitest/commit/59434189) - **runner**: - Incorrect test name pattern matching - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/4071](https://togithub.com/vitest-dev/vitest/issues/4071) [<samp>(b5bf3)</samp>](https://togithub.com/vitest-dev/vitest/commit/b5bf3290) - **vite-node**: - Check more precisely for root/base paths - by [@​danielroe](https://togithub.com/danielroe) in [https://github.com/vitest-dev/vitest/issues/4049](https://togithub.com/vitest-dev/vitest/issues/4049) [<samp>(80741)</samp>](https://togithub.com/vitest-dev/vitest/commit/807418fa) - **vitest**: - "vi" doesn't rely on context - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4031](https://togithub.com/vitest-dev/vitest/issues/4031) [<samp>(0d0f3)</samp>](https://togithub.com/vitest-dev/vitest/commit/0d0f35f6) - Only override ssr.optimizer instead of the whole ssr object - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4080](https://togithub.com/vitest-dev/vitest/issues/4080) [<samp>(410bc)</samp>](https://togithub.com/vitest-dev/vitest/commit/410bc454) - Don't start the server when optimizer is enabled - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4095](https://togithub.com/vitest-dev/vitest/issues/4095) [<samp>(00e81)</samp>](https://togithub.com/vitest-dev/vitest/commit/00e81122) - Set SSR env only when transformMode is ssr - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4083](https://togithub.com/vitest-dev/vitest/issues/4083) [<samp>(f8ea7)</samp>](https://togithub.com/vitest-dev/vitest/commit/f8ea716a) - Show error when calling API on files that user has no access to - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4085](https://togithub.com/vitest-dev/vitest/issues/4085) [<samp>(8b39c)</samp>](https://togithub.com/vitest-dev/vitest/commit/8b39c117) - **web-worker**: - Don't rely on browser API when it's not provided - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4014](https://togithub.com/vitest-dev/vitest/issues/4014) [<samp>(e78a4)</samp>](https://togithub.com/vitest-dev/vitest/commit/e78a449d) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.3...v0.34.4) ### [`v0.34.3`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.3) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.2...v0.34.3) ##### 🚀 Features - **coverage**: Add `allowExternal` option - by [@​vojvodics](https://togithub.com/vojvodics) and [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3894](https://togithub.com/vitest-dev/vitest/issues/3894) [<samp>(c03fa)</samp>](https://togithub.com/vitest-dev/vitest/commit/c03faa22) - **vitest**: Export all reporters in `vitest/reporters` - by [@​Dunqing](https://togithub.com/Dunqing) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3980](https://togithub.com/vitest-dev/vitest/issues/3980) [<samp>(5704b)</samp>](https://togithub.com/vitest-dev/vitest/commit/5704b341) ##### 🐞 Bug Fixes - Should remove mockPath from callstack whether success or failed - by [@​miserylee](https://togithub.com/miserylee) and **lijifei** in [https://github.com/vitest-dev/vitest/issues/3971](https://togithub.com/vitest-dev/vitest/issues/3971) [<samp>(5eb85)</samp>](https://togithub.com/vitest-dev/vitest/commit/5eb8561c) - Add workspace config files to default coverage excludes - by [@​FelixGraf](https://togithub.com/FelixGraf) and [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3973](https://togithub.com/vitest-dev/vitest/issues/3973) [<samp>(20263)</samp>](https://togithub.com/vitest-dev/vitest/commit/20263d9d) - Report file error as a <failure> on JUnit - by [@​3c1u](https://togithub.com/3c1u) in [https://github.com/vitest-dev/vitest/issues/3997](https://togithub.com/vitest-dev/vitest/issues/3997) [<samp>(00c43)</samp>](https://togithub.com/vitest-dev/vitest/commit/00c432fa) - **jsdom**: Correctly resolve buffer on typed arrays - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3998](https://togithub.com/vitest-dev/vitest/issues/3998) [<samp>(b42cf)</samp>](https://togithub.com/vitest-dev/vitest/commit/b42cf36e) - **ui**: Use web hash history in ui - by [@​segevfiner](https://togithub.com/segevfiner) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3481](https://togithub.com/vitest-dev/vitest/issues/3481) and [https://github.com/vitest-dev/vitest/issues/3487](https://togithub.com/vitest-dev/vitest/issues/3487) [<samp>(8caab)</samp>](https://togithub.com/vitest-dev/vitest/commit/8caabaa1) - **vite-node**: Inline HMR types - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3993](https://togithub.com/vitest-dev/vitest/issues/3993) [<samp>(dff60)</samp>](https://togithub.com/vitest-dev/vitest/commit/dff60e82) - **vitest**: Correctly resolve optimizer status - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3992](https://togithub.com/vitest-dev/vitest/issues/3992) [<samp>(74dc5)</samp>](https://togithub.com/vitest-dev/vitest/commit/74dc5967) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.2...v0.34.3) ### [`v0.34.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.2) [Compare Source](https://togithub.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://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3880](https://togithub.com/vitest-dev/vitest/issues/3880) [<samp>(f4e6e)</samp>](https://togithub.com/vitest-dev/vitest/commit/f4e6e99f) - **vitest**: Allow calling `ctx.skip()` inside the running test - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3966](https://togithub.com/vitest-dev/vitest/issues/3966) [<samp>(5c88d)</samp>](https://togithub.com/vitest-dev/vitest/commit/5c88d8e5) ##### 🐞 Bug Fixes - Don't bundle utils' source-map entry - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3865](https://togithub.com/vitest-dev/vitest/issues/3865) [<samp>(a08e5)</samp>](https://togithub.com/vitest-dev/vitest/commit/a08e5993) - Reduce the memory consumption when running --experimental-vm-threads - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3872](https://togithub.com/vitest-dev/vitest/issues/3872) [<samp>(d1a08)</samp>](https://togithub.com/vitest-dev/vitest/commit/d1a08c88) - Indicator position of error message - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3855](https://togithub.com/vitest-dev/vitest/issues/3855) [<samp>(3e1e7)</samp>](https://togithub.com/vitest-dev/vitest/commit/3e1e7a1f) - Don't crash when using --experimental-vm-threads, interop CJS default inside node_modules - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3876](https://togithub.com/vitest-dev/vitest/issues/3876) [<samp>(0c53e)</samp>](https://togithub.com/vitest-dev/vitest/commit/0c53e098) - Don't crash if total memory is not supported - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3879](https://togithub.com/vitest-dev/vitest/issues/3879) [<samp>(7d1f8)</samp>](https://togithub.com/vitest-dev/vitest/commit/7d1f86b8) - Check memory and limit value - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(f8dfb)</samp>](https://togithub.com/vitest-dev/vitest/commit/f8dfbd38) - Update module warning as it is moved into server config - by [@​jellyfishgh](https://togithub.com/jellyfishgh) in [https://github.com/vitest-dev/vitest/issues/3931](https://togithub.com/vitest-dev/vitest/issues/3931) [<samp>(3a3eb)</samp>](https://togithub.com/vitest-dev/vitest/commit/3a3eb22c) - Define process variable and using import.meta.env together did not work - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3944](https://togithub.com/vitest-dev/vitest/issues/3944) [<samp>(e73ca)</samp>](https://togithub.com/vitest-dev/vitest/commit/e73ca9ed) - Correctly resolve config in a workspace - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3947](https://togithub.com/vitest-dev/vitest/issues/3947) [<samp>(1c08d)</samp>](https://togithub.com/vitest-dev/vitest/commit/1c08d5da) - Don't crash when calling useFakeTimers in VM pool - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3958](https://togithub.com/vitest-dev/vitest/issues/3958) [<samp>(91fe4)</samp>](https://togithub.com/vitest-dev/vitest/commit/91fe4853) - Restrict access to file system via API - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3956](https://togithub.com/vitest-dev/vitest/issues/3956) [<samp>(bcb41)</samp>](https://togithub.com/vitest-dev/vitest/commit/bcb41e51) - Typo of mocks plugin name - by [@​antfu](https://togithub.com/antfu) [<samp>(3073b)</samp>](https://togithub.com/vitest-dev/vitest/commit/3073b9a2) - Build not generated `execute.d.ts` - by [@​btea](https://togithub.com/btea) in [https://github.com/vitest-dev/vitest/issues/3970](https://togithub.com/vitest-dev/vitest/issues/3970) [<samp>(0f8e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/0f8e60b7) - **css**: - Don't mock css-module if `?inline` query is specified - by [@​thebanjomatic](https://togithub.com/thebanjomatic) and **Adam Hines** in [https://github.com/vitest-dev/vitest/issues/3952](https://togithub.com/vitest-dev/vitest/issues/3952) [<samp>(3891d)</samp>](https://togithub.com/vitest-dev/vitest/commit/3891d055) - **expect**: - Correctly show async matcher diff - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3960](https://togithub.com/vitest-dev/vitest/issues/3960) [<samp>(9423b)</samp>](https://togithub.com/vitest-dev/vitest/commit/9423b6f8) - **snapshots**: - Update inline snapshot correctly - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3887](https://togithub.com/vitest-dev/vitest/issues/3887) [<samp>(7b740)</samp>](https://togithub.com/vitest-dev/vitest/commit/7b740a27) - **ui**: - Incorrect duration time in vitest ui - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3945](https://togithub.com/vitest-dev/vitest/issues/3945) [<samp>(35139)</samp>](https://togithub.com/vitest-dev/vitest/commit/351399f2) - Add support for ui coverage with subdir option - by [@​userquin](https://togithub.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3917](https://togithub.com/vitest-dev/vitest/issues/3917) [<samp>(6ecfc)</samp>](https://togithub.com/vitest-dev/vitest/commit/6ecfc4e1) - **vitest**: - Use esm module resolution to resolve env - by [@​danielroe](https://togithub.com/danielroe) in [https://github.com/vitest-dev/vitest/issues/3951](https://togithub.com/vitest-dev/vitest/issues/3951) [<samp>(edb32)</samp>](https://togithub.com/vitest-dev/vitest/commit/edb322fe) - Allow rewriting process.env.NODE_MODE when using web transform mode - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3957](https://togithub.com/vitest-dev/vitest/issues/3957) [<samp>(eca4b)</samp>](https://togithub.com/vitest-dev/vitest/commit/eca4b87f) - Only consider cwd when using glob - by [@​g-plane](https://togithub.com/g-plane) in [https://github.com/vitest-dev/vitest/issues/3802](https://togithub.com/vitest-dev/vitest/issues/3802) and [https://github.com/vitest-dev/vitest/issues/3949](https://togithub.com/vitest-dev/vitest/issues/3949) [<samp>(15b4f)</samp>](https://togithub.com/vitest-dev/vitest/commit/15b4fd6d) - Pass environmentOptions to happy-dom integration - by [@​sheremet-va](https://togithub.com/sheremet-va) and **Raul de Melo** in [https://github.com/vitest-dev/vitest/issues/3972](https://togithub.com/vitest-dev/vitest/issues/3972) [<samp>(6a0cb)</samp>](https://togithub.com/vitest-dev/vitest/commit/6a0cb647) - **web**: - Correctly resolve assets in new URL - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3950](https://togithub.com/vitest-dev/vitest/issues/3950) [<samp>(a428f)</samp>](https://togithub.com/vitest-dev/vitest/commit/a428f8d4) ##### 🏎 Performance - **dot-renderer**: Speed up getTests - by [@​gtm-nayan](https://togithub.com/gtm-nayan) in [https://github.com/vitest-dev/vitest/issues/3923](https://togithub.com/vitest-dev/vitest/issues/3923) [<samp>(e9404)</samp>](https://togithub.com/vitest-dev/vitest/commit/e94044d7) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.1...v0.34.2) ### [`v0.34.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.0...v0.34.1) ##### 🐞 Bug Fixes - Pass `--experimental-vm-worker-memory-limit` to `tinypool` - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3856](https://togithub.com/vitest-dev/vitest/issues/3856) [<samp>(3c67a)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c67a4cb) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.0...v0.34.1) ### [`v0.34.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.0) [Compare Source](https://togithub.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://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3491](https://togithub.com/vitest-dev/vitest/issues/3491) [<samp>(9608b)</samp>](https://togithub.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://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3615](https://togithub.com/vitest-dev/vitest/issues/3615) [<samp>(0c6f6)</samp>](https://togithub.com/vitest-dev/vitest/commit/0c6f624f) - Remove `@vitest/coverage-c8` package - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3614](https://togithub.com/vitest-dev/vitest/issues/3614) [<samp>(a90d6)</samp>](https://togithub.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://togithub.com/sheremet-va) and [@​dammy001](https://togithub.com/dammy001) in [https://github.com/vitest-dev/vitest/issues/3203](https://togithub.com/vitest-dev/vitest/issues/3203) [<samp>(b0929)</samp>](https://togithub.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://togithub.com/fenghan34) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3725](https://togithub.com/vitest-dev/vitest/issues/3725) [<samp>(dc4fa)</samp>](https://togithub.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://togithub.com/rxliuli) in [https://github.com/vitest-dev/vitest/issues/3574](https://togithub.com/vitest-dev/vitest/issues/3574) [<samp>(1cd4e)</samp>](https://togithub.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://togithub.com/sheremet-va) and [@​eryue0220](https://togithub.com/eryue0220) in [https://github.com/vitest-dev/vitest/issues/3854](https://togithub.com/vitest-dev/vitest/issues/3854) [<samp>(4b946)</samp>](https://togithub.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://togithub.com/fenghan34) and [@​dammy001](https://togithub.com/dammy001) in [https://github.com/vitest-dev/vitest/issues/3771](https://togithub.com/vitest-dev/vitest/issues/3771) [<samp>(86934)</samp>](https://togithub.com/vitest-dev/vitest/commit/8693449b) - Support config junit reporter className with env - by [@​InfiniteXyy](https://togithub.com/InfiniteXyy) in [https://github.com/vitest-dev/vitest/issues/3808](https://togithub.com/vitest-dev/vitest/issues/3808) [<samp>(e8bc4)</samp>](https://togithub.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://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3844](https://togithub.com/vitest-dev/vitest/issues/3844) [<samp>(c9aea)</samp>](https://togithub.com/vitest-dev/vitest/commit/c9aeac4c) ##### 🐞 Bug Fixes - Isolate workers between envs and workspaces - by [@​AriPerkkio](https://togithub.com/AriPerkkio) [<samp>(ed4e0)</samp>](https://togithub.com/vitest-dev/vitest/commit/ed4e0424) - Modify condition - by [@​btea](https://togithub.com/btea) [<samp>(a78e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/a78e6bd0) - Module Graph view is blocking the Console view - by [@​g4rry420](https://togithub.com/g4rry420) [<samp>(3b5f9)</samp>](https://togithub.com/vitest-dev/vitest/commit/3b5f96bc) - Port the latest `defineConfig` type from vite - by [@​sodatea](https://togithub.com/sodatea) in [https://github.com/vitest-dev/vitest/issues/3804](https://togithub.com/vitest-dev/vitest/issues/3804) [<samp>(9c8e3)</samp>](https://togithub.com/vitest-dev/vitest/commit/9c8e3083) - Don't overwrite Node.js URL global - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3828](https://togithub.com/vitest-dev/vitest/issues/3828) [<samp>(cdab4)</samp>](https://togithub.com/vitest-dev/vitest/commit/cdab4651) - ForceRerunTriggers correctly triggers a rerun - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3829](https://togithub.com/vitest-dev/vitest/issues/3829) [<samp>(17988)</samp>](https://togithub.com/vitest-dev/vitest/commit/17988e51) - **browser**: - Don't inline magic-string and estree-walker - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3726](https://togithub.com/vitest-dev/vitest/issues/3726) [<samp>(ee937)</samp>](https://togithub.com/vitest-dev/vitest/commit/ee93762a) - Multi-suite coverage - by [@​elby22](https://togithub.com/elby22) in [https://github.com/vitest-dev/vitest/issues/3806](https://togithub.com/vitest-dev/vitest/issues/3806) [<samp>(5de9a)</samp>](https://togithub.com/vitest-dev/vitest/commit/5de9af26) - **core**: - DataView comparison does not work in `toStrictEqual` - by [@​Dunqing](https://togithub.com/Dunqing) [<samp>(52aef)</samp>](https://togithub.com/vitest-dev/vitest/commit/52aef92e) - **coverage**: - V8 provider to pick source maps without url query params - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3784](https://togithub.com/vitest-dev/vitest/issues/3784) [<samp>(280e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/280e6745) - Update `istanbul-lib-instrument` to v6 to fix vulnerable dependency - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3814](https://togithub.com/vitest-dev/vitest/issues/3814) [<samp>(f3bd9)</samp>](https://togithub.com/vitest-dev/vitest/commit/f3bd9102) - Exclude vite virtual modules by default - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3794](https://togithub.com/vitest-dev/vitest/issues/3794) [<samp>(3c851)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c851872) - **node**: - Guard error info - by [@​btea](https://togithub.com/btea) [<samp>(88b39)</samp>](https://togithub.com/vitest-dev/vitest/commit/88b39758) - **vite-node**: - Always treat node_modules as modulesDirectory - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3830](https://togithub.com/vitest-dev/vitest/issues/3830) [<samp>(51ab8)</samp>](https://togithub.com/vitest-dev/vitest/commit/51ab8d6c) - Normalize drive letter to keep the same reference to a module - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3836](https://togithub.com/vitest-dev/vitest/issues/3836) [<samp>(45521)</samp>](https://togithub.com/vitest-dev/vitest/commit/45521859) - Correctly resolve hmr filepath - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3834](https://togithub.com/vitest-dev/vitest/issues/3834) [<samp>(711a6)</samp>](https://togithub.com/vitest-dev/vitest/commit/711a6249) - **watch**: - Clear screen on all terminals - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3661](https://togithub.com/vitest-dev/vitest/issues/3661) [<samp>(8bd26)</samp>](https://togithub.com/vitest-dev/vitest/commit/8bd26b01) ##### 🏎 Performance - Deprecate deps.registerNodeLoader - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(7f45b)</samp>](https://togithub.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://togithub.com/vitest-dev/vitest/compare/v0.33.0...v0.34.0) </details> <details> <summary>Zhengqbbb/cz-git (cz-git)</summary> ### [`v1.7.1`](https://togithub.com/Zhengqbbb/cz-git/blob/HEAD/packages/cz-git/CHANGELOG.md#171-2023-08-08) [Compare Source](https://togithub.com/Zhengqbbb/cz-git/compare/v1.7.0...v1.7.1) ##### Bug Fixes - **cli:** `--api-key` not work ([0a65673](https://togithub.com/Zhengqbbb/cz-git/commit/0a65673b2b501d2c5bc8562652a75098a29f4ae9)), closes [#​141](https://togithub.com/Zhengqbbb/cz-git/issues/141) </details> <details> <summary>eslint/eslint (eslint)</summary> ### [`v8.50.0`](https://togithub.com/eslint/eslint/releases/tag/v8.50.0) [Compare Source](https://togithub.com/eslint/eslint/compare/v8.49.0...v8.50.0) #### Features - [`27d5a9e`](https://togithub.com/eslint/eslint/commit/27d5a9e57ad347982a68fcd0e75eafee42d344f0) feat: add suggestions to array-callback-return ([#​17590](https://togithub.com/eslint/eslint/issues/17590)) (Tanuj Kanti) - [`f9082ff`](https://togithub.com/eslint/eslint/commit/f9082ff3f3956a0a5a7d7659de63640a21c4de0f) feat: flat-rule-tester make sure default config always matches ([#​17585](https://togithub.com/eslint/eslint/issues/17585)) (fnx) - [`83914ad`](https://togithub.com/eslint/eslint/commit/83914adbfd5fce7d11b33d095ba6d6a39be0dbbc) feat: Implement SourceCode#applyInlineConfig() ([#​17351](https://togithub.com/eslint/eslint/issues/17351)) (Nicholas C. Zakas) - [`22a5582`](https://togithub.com/eslint/eslint/commit/22a558228ff98f478fa308c9ecde361acc4caf20) feat: add rule `no-object-constructor`, deprecate `no-new-object` ([#​17576](https://togithub.com/eslint/eslint/issues/17576)) (Francesco Trotta) - [`85a3d9e`](https://togithub.com/eslint/eslint/commit/85a3d9e967b19cb4a0189746499d81ef2f93e14e) feat: allowVoid option in array-callback-return ([#​17564](https://togithub.com/eslint/eslint/issues/17564)) (Tanuj Kanti) #### Bug Fixes - [`cc4d26b`](https://togithub.com/eslint/eslint/commit/cc4d26b5a59d510f2c878e973fd245e8eff27c2a) fix: Ensure deprecated context.parserServices warns ([#​17593](https://togithub.com/eslint/eslint/issues/17593)) (Nicholas C. Zakas) - [`1ea4cfb`](https://togithub.com/eslint/eslint/commit/1ea4cfb585dcb52ac3cb1522a32f25cfe507121b) fix: Ensure all RuleTester tests all deprecated context methods ([#​17587](https://togithub.com/eslint/eslint/issues/17587)) (Nicholas C. Zakas) - [`aa1b657`](https://togithub.com/eslint/eslint/commit/aa1b657a9febcd03e9298c03ae2888762795e322) fix: wrong suggestion and message in `no-misleading-character-class` ([#​17571](https://togithub.com/eslint/eslint/issues/17571)) (Yosuke Ota) #### Documentation - [`1800537`](https://togithub.com/eslint/eslint/commit/180053759c6cf05a326c710353b4717fbf289ee0) docs: Fix and standardize JSX code examples ([#​17591](https://togithub.com/eslint/eslint/issues/17591)) (Francesco Trotta) - [`48a44a7`](https://togithub.com/eslint/eslint/commit/48a44a73ac456739bdee348bbaf1840d2b1e4830) docs: Add correct/incorrect tags to `prefer-arrow-callback` ([#​17589](https://togithub.com/eslint/eslint/issues/17589)) (Francesco Trotta) - [`20893d4`](https://togithub.com/eslint/eslint/commit/20893d48b9012f2b61bbbfeac8bee70d68d90e5e) docs: fix incorrect tag's place ([#​17575](https://togithub.com/eslint/eslint/issues/17575)) (Tanuj Kanti) - [`bd7a71f`](https://togithub.com/eslint/eslint/commit/bd7a71fd6b7efb0445393304e2d48c5c06d46a45) docs: Update README (GitHub Actions Bot) #### Chores - [`f8a8a2d`](https://togithub.com/eslint/eslint/commit/f8a8a2d6b45c82f94a574623759b6e3d2af193f3) chore: upgrade [@​eslint/js](https://togithub.com/eslint/js)[@​8](https://togithub.com/8).50.0 ([#​17599](https://togithub.com/eslint/eslint/issues/17599)) (Milos Djermanovic) - [`38ada6d`](https://togithub.com/eslint/eslint/commit/38ada6df8f4a0313b7d0739b28f0af6b4897b8ce) chore: package.json update for [@​eslint/js](https://togithub.com/eslint/js) release (ESLint Jenkins) ### [`v8.49.0`](https://togithub.com/eslint/eslint/releases/tag/v8.49.0) [Compare Source](https://togithub.com/eslint/eslint/compare/v8.48.0...v8.49.0) #### Features - [`da09f4e`](https://togithub.com/eslint/eslint/commit/da09f4e641141f585ef611c6e9d63d4331054706) feat: Implement onUnreachableCodePathStart/End ([#​17511](https://togithub.com/eslint/eslint/issues/17511)) (Nicholas C. Zakas) - [`32b2327`](https://togithub.com/eslint/eslint/commit/32b2327aafdd3b911fabab69ed75c9ff97658c60) feat: Emit deprecation warnings in RuleTester ([#​17527](https://togithub.com/eslint/eslint/issues/17527)) (Nicholas C. Zakas) - [`acb7df3`](https://togithub.com/eslint/eslint/commit/acb7df35b9a7485f26bc6b3e1f9083d1c585dce9) feat: add new `enforce` option to `lines-between-class-members` ([#​17462](https://togithub.com/eslint/eslint/issues/17462)) (Nitin Kumar) #### Documentation - [`ecfb54f`](https://togithub.com/eslint/eslint/commit/ecfb54ff4cdd18f28b4f9b78f0a78fb4cf80f1b8) docs: Update README (GitHub Actions Bot) - [`de86b3b`](https://togithub.com/eslint/eslint/commit/de86b3b2e58edd5826200c23255d8325abe375e1) docs: update `no-promise-executor-return` examples ([#​17529](https://togithub.com/eslint/eslint/issues/17529)) (Nitin Kumar) - [`032c4b1`](https://togithub.com/eslint/eslint/commit/032c4b1476a7b8cfd917a66772d2221950ea87eb) docs: add typescript template ([#​17500](https://togithub.com/eslint/eslint/issues/17500)) (James) - [`cd7da5c`](https://togithub.com/eslint/eslint/commit/cd7da5cc3154f86f7ca45fb58929d27a7af359ed) docs: Update README (GitHub Actions Bot) #### Chores - [`b7621c3`](https://togithub.com/eslint/eslint/commit/b7621c3b16cf7d5539f05336a827e1b32d95e6ac) chore: remove browser test from `npm test` ([#​17550](https://togithub.com/eslint/eslint/issues/17550)) (Milos Djermanovic) - [`cac45d0`](https://togithub.com/eslint/eslint/commit/cac45d04b890b0700dd8908927300608adad05fe) chore: upgrade [@​eslint/js](https://togithub.com/eslint/js)[@​8](https://togithub.com/8).49.0 ([#​17549](https://togithub.com/eslint/eslint/issues/17549)) (Milos Djermanovic) - [`cd39508`](https://togithub.com/eslint/eslint/commit/cd395082bffcb4b68efa09226d7c682cef56179e) chore: package.json update for [@​eslint/js](https://togithub.com/eslint/js) release (ESLint Jenkins) - [`203a971`](https://togithub.com/eslint/eslint/commit/203a971c0abc3a95ae02ff74104a01e569707060) ci: bump actions/checkout from 3 to 4 ([#​17530](https://togithub.com/eslint/eslint/issues/17530)) (dependabot\[bot]) - [`a40fa50`](https://togithub.com/eslint/eslint/commit/a40fa509922b36bb986eb1be9394591f84f62d9e) chore: use eslint-plugin-jsdoc's flat config ([#​17516](https://togithub.com/eslint/eslint/issues/17516)) (Milos Djermanovic) - [`926a286`](https://togithub.com/eslint/eslint/commit/926a28684282aeec37680bbc52a66973b8055f54) test: replace Karma with Webdriver.IO ([#​17126](https://togithub.com/eslint/eslint/issues/17126)) (Christian Bromann) - [`f591d2c`](https://togithub.com/eslint/eslint/commit/f591d2c88bf15af72e3a207b34fa872b4b90464b) chore: Upgrade config-array ([#​17512](https://togithub.com/eslint/eslint/issues/17512)) (Nicholas C. Zakas) ### [`v8.48.0`](https://togithub.com/eslint/eslint/releases/tag/v8.48.0) [Compare Source](https://togithub.com/eslint/eslint/compare/v8.47.0...v8.48.0) ##### Features - [`1fbb3b0`](https://togithub.com/eslint/eslint/commit/1fbb3b0b477c814c0d179564fe495f4c50a451e9) feat: correct update direction in `for-direction` ([#​17483](https://togithub.com/eslint/eslint/issues/17483)) (Francesco Trotta) - [`d73fbf2`](https://togithub.com/eslint/eslint/commit/d73fbf2228631d6c468cd24710e2579fe6cb70fd) feat: rule tester do not create empty valid or invalid test suites ([#​17475](https://togithub.com/eslint/eslint/issues/17475)) (fnx) - [`ee2f718`](https://togithub.com/eslint/eslint/commit/ee2f718188d32e9888b1932fe6b9bd2a62c529a4) feat: Allow `void` in rule `no-promise-executor-return` ([#​17282](https://togithub.com/eslint/eslint/issues/17282)) (nopeless) ##### Bug Fixes - [`7234f6a`](https://togithub.com/eslint/eslint/commit/7234f6a706a209aa2d79259110328752e9ae3928) fix: update RuleTester JSDoc and deprecations ([#​17496](https://togithub.com/eslint/eslint/issues/17496)) (Jonas Berlin) ##### Documentation - [`7a51d77`](https://togithub.com/eslint/eslint/commit/7a51d77c0a066e461ff288568fdfee0e9539a2b5) docs: no-param-reassign mention strict mode ([#​17494](https://togithub.com/eslint/eslint/issues/17494)) (Stephen Hardy) - [`9cd7ac2`](https://togithub.com/eslint/eslint/commit/9cd7ac2fdb6b1d71a9fb1b8297a478cafacbdafd) docs: add `fetch` script to package.json conventions ([#​17459](https://togithub.com/eslint/eslint/issues/17459)) (Nitin Kumar) - [`cab21e6`](https://togithub.com/eslint/eslint/commit/cab21e64a8f79779c641178f825945958667c6e4) docs: advice for inline disabling of rules ([#​17458](https://togithub.com/eslint/eslint/issues/17458)) (Ashish Yadav) - [`056499d`](https://togithub.com/eslint/eslint/commit/056499de31a139dbc965d18652b0b520e11b408d) docs: fix example of flat config from plugin ([#​17482](https://togithub.com/eslint/eslint/issues/17482)) (Francesco Trotta) - [`9e9edf9`](https://togithub.com/eslint/eslint/commit/9e9edf93ecfa0658e8b79e71bc98530ade150081) docs: update documentation URL in error message ([#​17465](https://togithub.com/eslint/eslint/issues/17465)) (Nitin Kumar) ##### Chores - [`8dd3cec`](https://togithub.com/eslint/eslint/commit/8dd3cec90c97ed97d243a83b87ad4ea9e6b4781a) chore: upgrade [@​eslint/js](https://togithub.com/eslint/js)[@​8](https://togithub.com/8).48.0 ([#​17501](https://togithub.com/eslint/eslint/issues/17501)) (Milos Djermanovic) - [`6d0496e`](https://togithub.com/eslint/eslint/commit/6d0496e9476fb2210fba0a3d541df8c052ecf73a) chore: package.json update for [@​eslint/js](https://togithub.com/eslint/js) release (ESLint Jenkins) - [`9d4216d`](https://togithub.com/eslint/eslint/commit/9d4216d638d39844decffac33ee3d5a47413c80a) chore: Refactor and document CodePathSegment ([#​17474](https://togithub.com/eslint/eslint/issues/17474)) (Nicholas C. Zakas) ### [`v8.47.0`](https://togithub.com/eslint/eslint/releases/tag/v8.47.0) [Compare Source](https://togithub.com/eslint/eslint/compare/v8.46.0...v8.47.0) #### Features - [`53d7508`](https://togithub.com/eslint/eslint/commit/53d750800b1c0c1f8c29393c488bb3167bb1d2a5) feat: update regex for methods with `thisArg` ([#​17439](https://togithub.com/eslint/eslint/issues/17439)) (Francesco Trotta) #### Bug Fixes - [`631648e`](https://togithub.com/eslint/eslint/commit/631648ee0b51a8951ce576ccd4430e09c9c8bcae) fix: do not report on shadowed constructors in `no-new-wrappers` ([#​17447](https://togithub.com/eslint/eslint/issues/17447)) (Francesco Trotta) #### Documentation - [`a766a48`](https://togithub.com/eslint/eslint/commit/a766a48030d4359db76523d5b413d6332130e485) docs: document lack of config file names ([#​17442](https://togithub.com/eslint/eslint/issues/17442)) (James) - [`a1635d6`](https://togithub.com/eslint/eslint/commit/a1635d6198a8baf6571b3351e098e5ac960be887) docs: Update README (GitHub Actions Bot) - [`47a0859`](https://togithub.com/eslint/eslint/commit/47a08597966651975126dd6726939cd34f13b80e) docs: update `require-unicode-regexp.md` as following up [#​17402](https://togithub.com/eslint/eslint/issues/17402) ([#​17441](https://togithub.com/eslint/eslint/issues/17441)) (SUZUKI Sosuke) - [`fcdc85d`](https://togithub.com/eslint/eslint/commit/fcdc85d3a6bc14970c3349cc8d6f3a47eca172a3) docs: Update README (GitHub Actions Bot) - [`2a92b6c`](https://togithub.com/eslint/eslint/commit/2a92b6cc9520a27255520369206556e9841a3af8) docs: update with "Specifying Parser Options" ([#​17435](https://togithub.com/eslint/eslint/issues/17435)) (Cheol-Won) - [`d743ed3`](https://togithub.com/eslint/eslint/commit/d743ed3c06c62a639da0389ad27907b324ea1715) docs: add metadata for parser/processor ([#​17438](https://togithub.com/eslint/eslint/issues/17438)) (Huáng Jùnliàng) - [`224376c`](https://togithub.com/eslint/eslint/commit/224376cd99a08394291a9584ad9c1ea1283673c6) docs: Update README (GitHub Actions Bot) - [`a41a8e4`](https://togithub.com/eslint/eslint/commit/a41a8e4a7da14726d6fce71a023f12101fd52fdb) docs: update script names in README ([#​17432](https://togithub.com/eslint/eslint/issues/17432)) (Nitin Kumar) #### Chores - [`bf69aa6`](https://togithub.com/eslint/eslint/commit/bf69aa6408f5403a88d8c9b71b0e58232b1ea833) chore: Update dependencies ([#​17456](https://togithub.com/eslint/eslint/issues/17456)) (Nicholas C. Zakas) - [`0e45760`](https://togithub.com/eslint/eslint/commit/0e4576012ab938b880e6f27641bff55fb4313d20) chore: package.json update for [@​eslint/js](https://togithub.com/eslint/js) release (ESLint Jenkins) - [`757bfe1`](https://togithub.com/eslint/eslint/commit/757bfe1c35b5ddab7042d388f8d21e834875fff5) chore: Remove add-to-triage ([#​17450](https://togithub.com/eslint/eslint/issues/17450)) (Nicholas C. Zakas) - [`b066640`](https://togithub.com/eslint/eslint/commit/b066640b7040ec30f740dcc803511244fe19473b) chore: standardize npm script names ([#​17431](https://togithub.com/eslint/eslint/issues/17431)) (Nitin Kumar) - [`6b2410f`](https://togithub.com/eslint/eslint/commit/6b2410f911dd2e3d915c879041c6e257d41a2f4e) chore: Update add-to-triage.yml ([#​17444](https://togithub.com/eslint/eslint/issues/17444)) (Nicholas C. Zakas) ### [`v8.46.0`](https://togithub.com/eslint/eslint/releases/tag/v8.46.0) [Compare Source](https://togithub.com/eslint/eslint/compare/v8.45.0...v8.46.0) #### Features - [`8a93438`](https://togithub.com/eslint/eslint/commit/8a9343871f7dade19d910ca8e2a4177bfca28b64) feat: `require-unicode-regexp` support `v` flag ([#​17402](https://togithub.com/eslint/eslint/issues/17402)) (SUZUKI Sosuke) - [`1a2f966`](https://togithub.com/eslint/eslint/commit/1a2f966fabe35103141d2f936180d2f1a72154db) feat: `no-useless-escape` support `v` flag ([#​17420](https://togithub.com/eslint/eslint/issues/17420)) (Yosuke Ota) - [`ee68d1d`](https://togithub.com/eslint/eslint/commit/ee68d1d9630892d99ae0d8dabe2f9f8d3b1338be) feat: `no-empty-character-class` support `v` flag ([#​17419](https://togithub.com/eslint/eslint/issues/17419)) (Milos Djermanovic) - [`853d32b`](https://togithub.com/eslint/eslint/commit/853d32baa8934c08b59a738470b72522e1505f6f) feat: deprecate no-return-await ([#​17417](https://togithub.com/eslint/eslint/issues/17417)) (Carlos Lopez) - [`d4f02e4`](https://togithub.com/eslint/eslint/commit/d4f02e4bf1b9ae4e1fc8f2bc4e4851ae3c36a127) feat: `no-control-regex` support `v` flag ([#​17405](https://togithub.com/eslint/eslint/issues/17405)) (Yosuke Ota) - [`2a35f3e`](https://togithub.com/eslint/eslint/commit/2a35f3e6ed27deafbebba48b6aec570d3abf9974) feat: `prefer-named-capture-group` support `v` flag ([#​17409](https://togithub.com/eslint/eslint/issues/17409)) (Yosuke Ota) - [`8ca8b50`](https://togithub.com/eslint/eslint/commit/8ca8b50b0425b3bad34a9505bc3095168e2f59d8) feat: Better error message for flat config plugins ([#​17399](https://togithub.com/eslint/eslint/issues/17399)) (Nicholas C. Zakas) - [`509f753`](https://togithub.com/eslint/eslint/commit/509f75395035822280245772e2a95732a0dde0e1) feat: `no-misleading-character-class` support `v` flag ([#​17406](https://togithub.com/eslint/eslint/issues/17406)) (Yosuke Ota) - [`3caf514`](https://togithub.com/eslint/eslint/commit/3caf51487decdf93a4b17765a2af2a51c337e974) feat: `no-regex-spaces` support `v` flag ([#​17407](https://togithub.com/eslint/eslint/issues/17407)) (Yosuke Ota) - [`b7fad2b`](https://togithub.com/eslint/eslint/commit/b7fad2b52f23667628cf209663795a721c88d0ba) feat: `prefer-regex-literals` support `v` flag ([#​17410](https://togithub.com/eslint/eslint/issues/17410)) (Yosuke Ota) - [`a6a3ad4`](https://togithub.com/eslint/eslint/commit/a6a3ad4ae438ea7fc3a1d97cd2555f6534b565f1) feat: `no-useless-backreference` support `v` flag ([#​17408](https://togithub.com/eslint/eslint/issues/17408)) (Yosuke Ota) - [`94954a7`](https://togithub.com/eslint/eslint/commit/94954a715448d5794f2892bf212fe986b43228ed) feat: `no-invalid-regexp` support `v` flag ([#​17404](https://togithub.com/eslint/eslint/issues/17404)) (Yosuke Ota) - [`1af6eac`](https://togithub.com/eslint/eslint/commit/1af6eac5727080c809e37c07dc729b44ef24483c) feat: adds option for allowing empty object patterns as parameter ([#​1 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Wednesday" in timezone Europe/Berlin, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/mheob/changeset-changelog). Co-authored-by: Alex Böhm <3983539+mheob@users.noreply.github.com>
renovate bot
added a commit
to s1adem4n/soundcloud
that referenced
this pull request
Nov 7, 2023
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@vitest/coverage-istanbul](https://togithub.com/vitest-dev/vitest/tree/main/packages/coverage-istanbul#readme) ([source](https://togithub.com/vitest-dev/vitest)) | [`^0.33.0` -> `^0.34.0`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-istanbul/0.33.0/0.34.6) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-istanbul/0.34.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-istanbul/0.34.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-istanbul/0.33.0/0.34.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-istanbul/0.33.0/0.34.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (@​vitest/coverage-istanbul)</summary> ### [`v0.34.6`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.6) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.5...v0.34.6) ##### 🐞 Bug Fixes - Overwrite global URL with environment's - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#4164 [<samp>(cbe13)</samp>](https://togithub.com/vitest-dev/vitest/commit/cbe133da) - Correctly resolve external dependencies loaded by custom environments - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#4196 [<samp>(e3408)</samp>](https://togithub.com/vitest-dev/vitest/commit/e340802f) - **runner**: The fixture of `test.extend` should be init once time in all test - by [@​Dunqing](https://togithub.com/Dunqing) in [vitest-dev/vitest#4168 [<samp>(730b2)</samp>](https://togithub.com/vitest-dev/vitest/commit/730b29ec) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.5...v0.34.6) ### [`v0.34.5`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.5) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.4...v0.34.5) ##### 🚀 Features - **config**: - Add `diff` option - by [@​fenghan34](https://togithub.com/fenghan34) and [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#4063 [<samp>(b50cf)</samp>](https://togithub.com/vitest-dev/vitest/commit/b50cf7ad) - **coverage**: - Add `coverage['100']` to istanbul provider - by [@​marcelobotega](https://togithub.com/marcelobotega) in [vitest-dev/vitest#4109 [<samp>(a7e09)</samp>](https://togithub.com/vitest-dev/vitest/commit/a7e09939) - **vitest**: - Support `vi.waitFor` method - by [@​Dunqing](https://togithub.com/Dunqing) and [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#4113 [<samp>(d79cb)</samp>](https://togithub.com/vitest-dev/vitest/commit/d79cb44b) - Allow using unprocessed environment files - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#4098 [<samp>(1aee1)</samp>](https://togithub.com/vitest-dev/vitest/commit/1aee13af) - Support `vi.waitUntil` method - by [@​Dunqing](https://togithub.com/Dunqing) and [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#4129 [<samp>(e0ac9)</samp>](https://togithub.com/vitest-dev/vitest/commit/e0ac97cf) ##### 🐞 Bug Fixes - Update HappyDOMOptions to be compatible with v12 - by [@​anthonyblond](https://togithub.com/anthonyblond) in [vitest-dev/vitest#4135 [<samp>(e8797)</samp>](https://togithub.com/vitest-dev/vitest/commit/e8797534) - Print value shape when .resolves and .rejects fails - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#4137 [<samp>(e649d)</samp>](https://togithub.com/vitest-dev/vitest/commit/e649d78f) - **docs**: - Fix lint errors on onConsoleLog example - by [@​marcelobotega](https://togithub.com/marcelobotega) in [vitest-dev/vitest#4116 [<samp>(ba1e7)</samp>](https://togithub.com/vitest-dev/vitest/commit/ba1e7335) - **expect**: - Improve the error message when nothing is thrown when testing `toThrow` - by [@​Dunqing](https://togithub.com/Dunqing) in [vitest-dev/vitest#3979 [<samp>(725a0)</samp>](https://togithub.com/vitest-dev/vitest/commit/725a0146) - **happy-dom**: - Catch errors in happy-dom - by [@​capricorn86](https://togithub.com/capricorn86) in [vitest-dev/vitest#4140 [<samp>(c21c0)</samp>](https://togithub.com/vitest-dev/vitest/commit/c21c0efa) - **runner**: - Restore leading space in `testNamePattern` - by [@​segrey](https://togithub.com/segrey) in [vitest-dev/vitest#4103 and [vitest-dev/vitest#4104 [<samp>(3c305)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c305857) - `test.extend` doesn't work in hooks without test - by [@​Dunqing](https://togithub.com/Dunqing) in [vitest-dev/vitest#4065 [<samp>(175c7)</samp>](https://togithub.com/vitest-dev/vitest/commit/175c752d) - **snapshot**: - Support mix of normal/with placeholders snapshots - by [@​RobertPechaCZ](https://togithub.com/RobertPechaCZ) in [vitest-dev/vitest#4118 [<samp>(01e01)</samp>](https://togithub.com/vitest-dev/vitest/commit/01e01bfc) - **ui**: - Correctly render ansi diff - by [@​so1ve](https://togithub.com/so1ve) and [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3810 [<samp>(8c315)</samp>](https://togithub.com/vitest-dev/vitest/commit/8c3152fa) - **vite-node**: - Export `SourceMapInput` to fix CYCLIC_CROSS_CHUNK_REEXPORT - by [@​Dunqing](https://togithub.com/Dunqing) in [vitest-dev/vitest#4128 [<samp>(ca70a)</samp>](https://togithub.com/vitest-dev/vitest/commit/ca70a779) - Align vite dependency version with vitest - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(90ff8)</samp>](https://togithub.com/vitest-dev/vitest/commit/90ff899b) - **vitest**: - Rerun tests if a file loaded with query changes - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#4130 [<samp>(a084c)</samp>](https://togithub.com/vitest-dev/vitest/commit/a084ceaf) - Inject "define" in workspaces - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#4096 [<samp>(b4d5a)</samp>](https://togithub.com/vitest-dev/vitest/commit/b4d5ae23) ##### 🏎 Performance - Use lazy require in vm pool - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#4136 [<samp>(21ba4)</samp>](https://togithub.com/vitest-dev/vitest/commit/21ba4935) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.4...v0.34.5) ### [`v0.34.4`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.4) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.3...v0.34.4) ##### 🐞 Bug Fixes - Resolving dep optimizer issues with workspace - by [@​thebanjomatic](https://togithub.com/thebanjomatic) in [vitest-dev/vitest#4036 [<samp>(0c13c)</samp>](https://togithub.com/vitest-dev/vitest/commit/0c13c39c) - Don't process config file twice - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#4077 [<samp>(a84a8)</samp>](https://togithub.com/vitest-dev/vitest/commit/a84a8e05) - **coverage**: - Log info only when terminal reporter is used - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#4027 [<samp>(9f043)</samp>](https://togithub.com/vitest-dev/vitest/commit/9f04386b) - **happy-dom**: - Use the nodejs console in happy-dom v11 - by [@​capricorn86](https://togithub.com/capricorn86) in [vitest-dev/vitest#4090 [<samp>(59434)</samp>](https://togithub.com/vitest-dev/vitest/commit/59434189) - **runner**: - Incorrect test name pattern matching - by [@​Dunqing](https://togithub.com/Dunqing) in [vitest-dev/vitest#4071 [<samp>(b5bf3)</samp>](https://togithub.com/vitest-dev/vitest/commit/b5bf3290) - **vite-node**: - Check more precisely for root/base paths - by [@​danielroe](https://togithub.com/danielroe) in [vitest-dev/vitest#4049 [<samp>(80741)</samp>](https://togithub.com/vitest-dev/vitest/commit/807418fa) - **vitest**: - "vi" doesn't rely on context - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#4031 [<samp>(0d0f3)</samp>](https://togithub.com/vitest-dev/vitest/commit/0d0f35f6) - Only override ssr.optimizer instead of the whole ssr object - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#4080 [<samp>(410bc)</samp>](https://togithub.com/vitest-dev/vitest/commit/410bc454) - Don't start the server when optimizer is enabled - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#4095 [<samp>(00e81)</samp>](https://togithub.com/vitest-dev/vitest/commit/00e81122) - Set SSR env only when transformMode is ssr - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#4083 [<samp>(f8ea7)</samp>](https://togithub.com/vitest-dev/vitest/commit/f8ea716a) - Show error when calling API on files that user has no access to - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#4085 [<samp>(8b39c)</samp>](https://togithub.com/vitest-dev/vitest/commit/8b39c117) - **web-worker**: - Don't rely on browser API when it's not provided - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#4014 [<samp>(e78a4)</samp>](https://togithub.com/vitest-dev/vitest/commit/e78a449d) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.3...v0.34.4) ### [`v0.34.3`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.3) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.2...v0.34.3) ##### 🚀 Features - **coverage**: Add `allowExternal` option - by [@​vojvodics](https://togithub.com/vojvodics) and [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3894 [<samp>(c03fa)</samp>](https://togithub.com/vitest-dev/vitest/commit/c03faa22) - **vitest**: Export all reporters in `vitest/reporters` - by [@​Dunqing](https://togithub.com/Dunqing) and [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3980 [<samp>(5704b)</samp>](https://togithub.com/vitest-dev/vitest/commit/5704b341) ##### 🐞 Bug Fixes - Should remove mockPath from callstack whether success or failed - by [@​miserylee](https://togithub.com/miserylee) and **lijifei** in [vitest-dev/vitest#3971 [<samp>(5eb85)</samp>](https://togithub.com/vitest-dev/vitest/commit/5eb8561c) - Add workspace config files to default coverage excludes - by [@​FelixGraf](https://togithub.com/FelixGraf) and [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3973 [<samp>(20263)</samp>](https://togithub.com/vitest-dev/vitest/commit/20263d9d) - Report file error as a <failure> on JUnit - by [@​3c1u](https://togithub.com/3c1u) in [vitest-dev/vitest#3997 [<samp>(00c43)</samp>](https://togithub.com/vitest-dev/vitest/commit/00c432fa) - **jsdom**: Correctly resolve buffer on typed arrays - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3998 [<samp>(b42cf)</samp>](https://togithub.com/vitest-dev/vitest/commit/b42cf36e) - **ui**: Use web hash history in ui - by [@​segevfiner](https://togithub.com/segevfiner) and [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3481 and [vitest-dev/vitest#3487 [<samp>(8caab)</samp>](https://togithub.com/vitest-dev/vitest/commit/8caabaa1) - **vite-node**: Inline HMR types - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3993 [<samp>(dff60)</samp>](https://togithub.com/vitest-dev/vitest/commit/dff60e82) - **vitest**: Correctly resolve optimizer status - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3992 [<samp>(74dc5)</samp>](https://togithub.com/vitest-dev/vitest/commit/74dc5967) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.2...v0.34.3) ### [`v0.34.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.2) [Compare Source](https://togithub.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://togithub.com/sheremet-va) in [vitest-dev/vitest#3880 [<samp>(f4e6e)</samp>](https://togithub.com/vitest-dev/vitest/commit/f4e6e99f) - **vitest**: Allow calling `ctx.skip()` inside the running test - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3966 [<samp>(5c88d)</samp>](https://togithub.com/vitest-dev/vitest/commit/5c88d8e5) ##### 🐞 Bug Fixes - Don't bundle utils' source-map entry - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3865 [<samp>(a08e5)</samp>](https://togithub.com/vitest-dev/vitest/commit/a08e5993) - Reduce the memory consumption when running --experimental-vm-threads - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3872 [<samp>(d1a08)</samp>](https://togithub.com/vitest-dev/vitest/commit/d1a08c88) - Indicator position of error message - by [@​fenghan34](https://togithub.com/fenghan34) in [vitest-dev/vitest#3855 [<samp>(3e1e7)</samp>](https://togithub.com/vitest-dev/vitest/commit/3e1e7a1f) - Don't crash when using --experimental-vm-threads, interop CJS default inside node_modules - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3876 [<samp>(0c53e)</samp>](https://togithub.com/vitest-dev/vitest/commit/0c53e098) - Don't crash if total memory is not supported - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3879 [<samp>(7d1f8)</samp>](https://togithub.com/vitest-dev/vitest/commit/7d1f86b8) - Check memory and limit value - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(f8dfb)</samp>](https://togithub.com/vitest-dev/vitest/commit/f8dfbd38) - Update module warning as it is moved into server config - by [@​jellyfishgh](https://togithub.com/jellyfishgh) in [vitest-dev/vitest#3931 [<samp>(3a3eb)</samp>](https://togithub.com/vitest-dev/vitest/commit/3a3eb22c) - Define process variable and using import.meta.env together did not work - by [@​Dunqing](https://togithub.com/Dunqing) in [vitest-dev/vitest#3944 [<samp>(e73ca)</samp>](https://togithub.com/vitest-dev/vitest/commit/e73ca9ed) - Correctly resolve config in a workspace - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3947 [<samp>(1c08d)</samp>](https://togithub.com/vitest-dev/vitest/commit/1c08d5da) - Don't crash when calling useFakeTimers in VM pool - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3958 [<samp>(91fe4)</samp>](https://togithub.com/vitest-dev/vitest/commit/91fe4853) - Restrict access to file system via API - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3956 [<samp>(bcb41)</samp>](https://togithub.com/vitest-dev/vitest/commit/bcb41e51) - Typo of mocks plugin name - by [@​antfu](https://togithub.com/antfu) [<samp>(3073b)</samp>](https://togithub.com/vitest-dev/vitest/commit/3073b9a2) - Build not generated `execute.d.ts` - by [@​btea](https://togithub.com/btea) in [vitest-dev/vitest#3970 [<samp>(0f8e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/0f8e60b7) - **css**: - Don't mock css-module if `?inline` query is specified - by [@​thebanjomatic](https://togithub.com/thebanjomatic) and **Adam Hines** in [vitest-dev/vitest#3952 [<samp>(3891d)</samp>](https://togithub.com/vitest-dev/vitest/commit/3891d055) - **expect**: - Correctly show async matcher diff - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3960 [<samp>(9423b)</samp>](https://togithub.com/vitest-dev/vitest/commit/9423b6f8) - **snapshots**: - Update inline snapshot correctly - by [@​fenghan34](https://togithub.com/fenghan34) in [vitest-dev/vitest#3887 [<samp>(7b740)</samp>](https://togithub.com/vitest-dev/vitest/commit/7b740a27) - **ui**: - Incorrect duration time in vitest ui - by [@​Dunqing](https://togithub.com/Dunqing) in [vitest-dev/vitest#3945 [<samp>(35139)</samp>](https://togithub.com/vitest-dev/vitest/commit/351399f2) - Add support for ui coverage with subdir option - by [@​userquin](https://togithub.com/userquin) in [vitest-dev/vitest#3917 [<samp>(6ecfc)</samp>](https://togithub.com/vitest-dev/vitest/commit/6ecfc4e1) - **vitest**: - Use esm module resolution to resolve env - by [@​danielroe](https://togithub.com/danielroe) in [vitest-dev/vitest#3951 [<samp>(edb32)</samp>](https://togithub.com/vitest-dev/vitest/commit/edb322fe) - Allow rewriting process.env.NODE_MODE when using web transform mode - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3957 [<samp>(eca4b)</samp>](https://togithub.com/vitest-dev/vitest/commit/eca4b87f) - Only consider cwd when using glob - by [@​g-plane](https://togithub.com/g-plane) in [vitest-dev/vitest#3802 and [vitest-dev/vitest#3949 [<samp>(15b4f)</samp>](https://togithub.com/vitest-dev/vitest/commit/15b4fd6d) - Pass environmentOptions to happy-dom integration - by [@​sheremet-va](https://togithub.com/sheremet-va) and **Raul de Melo** in [vitest-dev/vitest#3972 [<samp>(6a0cb)</samp>](https://togithub.com/vitest-dev/vitest/commit/6a0cb647) - **web**: - Correctly resolve assets in new URL - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3950 [<samp>(a428f)</samp>](https://togithub.com/vitest-dev/vitest/commit/a428f8d4) ##### 🏎 Performance - **dot-renderer**: Speed up getTests - by [@​gtm-nayan](https://togithub.com/gtm-nayan) in [vitest-dev/vitest#3923 [<samp>(e9404)</samp>](https://togithub.com/vitest-dev/vitest/commit/e94044d7) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.1...v0.34.2) ### [`v0.34.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.0...v0.34.1) ##### 🐞 Bug Fixes - Pass `--experimental-vm-worker-memory-limit` to `tinypool` - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3856 [<samp>(3c67a)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c67a4cb) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.0...v0.34.1) ### [`v0.34.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.0) [Compare Source](https://togithub.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://togithub.com/sheremet-va) in [vitest-dev/vitest#3491 [<samp>(9608b)</samp>](https://togithub.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://togithub.com/AriPerkkio) in [vitest-dev/vitest#3615 [<samp>(0c6f6)</samp>](https://togithub.com/vitest-dev/vitest/commit/0c6f624f) - Remove `@vitest/coverage-c8` package - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3614 [<samp>(a90d6)</samp>](https://togithub.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://togithub.com/sheremet-va) and [@​dammy001](https://togithub.com/dammy001) in [vitest-dev/vitest#3203 [<samp>(b0929)</samp>](https://togithub.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://togithub.com/fenghan34) and [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3725 [<samp>(dc4fa)</samp>](https://togithub.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://togithub.com/rxliuli) in [vitest-dev/vitest#3574 [<samp>(1cd4e)</samp>](https://togithub.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://togithub.com/sheremet-va) and [@​eryue0220](https://togithub.com/eryue0220) in [vitest-dev/vitest#3854 [<samp>(4b946)</samp>](https://togithub.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://togithub.com/fenghan34) and [@​dammy001](https://togithub.com/dammy001) in [vitest-dev/vitest#3771 [<samp>(86934)</samp>](https://togithub.com/vitest-dev/vitest/commit/8693449b) - Support config junit reporter className with env - by [@​InfiniteXyy](https://togithub.com/InfiniteXyy) in [vitest-dev/vitest#3808 [<samp>(e8bc4)</samp>](https://togithub.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://togithub.com/sheremet-va) in [vitest-dev/vitest#3844 [<samp>(c9aea)</samp>](https://togithub.com/vitest-dev/vitest/commit/c9aeac4c) ##### 🐞 Bug Fixes - Isolate workers between envs and workspaces - by [@​AriPerkkio](https://togithub.com/AriPerkkio) [<samp>(ed4e0)</samp>](https://togithub.com/vitest-dev/vitest/commit/ed4e0424) - Modify condition - by [@​btea](https://togithub.com/btea) [<samp>(a78e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/a78e6bd0) - Module Graph view is blocking the Console view - by [@​g4rry420](https://togithub.com/g4rry420) [<samp>(3b5f9)</samp>](https://togithub.com/vitest-dev/vitest/commit/3b5f96bc) - Port the latest `defineConfig` type from vite - by [@​sodatea](https://togithub.com/sodatea) in [vitest-dev/vitest#3804 [<samp>(9c8e3)</samp>](https://togithub.com/vitest-dev/vitest/commit/9c8e3083) - Don't overwrite Node.js URL global - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3828 [<samp>(cdab4)</samp>](https://togithub.com/vitest-dev/vitest/commit/cdab4651) - ForceRerunTriggers correctly triggers a rerun - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3829 [<samp>(17988)</samp>](https://togithub.com/vitest-dev/vitest/commit/17988e51) - **browser**: - Don't inline magic-string and estree-walker - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3726 [<samp>(ee937)</samp>](https://togithub.com/vitest-dev/vitest/commit/ee93762a) - Multi-suite coverage - by [@​elby22](https://togithub.com/elby22) in [vitest-dev/vitest#3806 [<samp>(5de9a)</samp>](https://togithub.com/vitest-dev/vitest/commit/5de9af26) - **core**: - DataView comparison does not work in `toStrictEqual` - by [@​Dunqing](https://togithub.com/Dunqing) [<samp>(52aef)</samp>](https://togithub.com/vitest-dev/vitest/commit/52aef92e) - **coverage**: - V8 provider to pick source maps without url query params - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3784 [<samp>(280e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/280e6745) - Update `istanbul-lib-instrument` to v6 to fix vulnerable dependency - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3814 [<samp>(f3bd9)</samp>](https://togithub.com/vitest-dev/vitest/commit/f3bd9102) - Exclude vite virtual modules by default - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3794 [<samp>(3c851)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c851872) - **node**: - Guard error info - by [@​btea](https://togithub.com/btea) [<samp>(88b39)</samp>](https://togithub.com/vitest-dev/vitest/commit/88b39758) - **vite-node**: - Always treat node_modules as modulesDirectory - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3830 [<samp>(51ab8)</samp>](https://togithub.com/vitest-dev/vitest/commit/51ab8d6c) - Normalize drive letter to keep the same reference to a module - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3836 [<samp>(45521)</samp>](https://togithub.com/vitest-dev/vitest/commit/45521859) - Correctly resolve hmr filepath - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3834 [<samp>(711a6)</samp>](https://togithub.com/vitest-dev/vitest/commit/711a6249) - **watch**: - Clear screen on all terminals - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3661 [<samp>(8bd26)</samp>](https://togithub.com/vitest-dev/vitest/commit/8bd26b01) ##### 🏎 Performance - Deprecate deps.registerNodeLoader - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(7f45b)</samp>](https://togithub.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://togithub.com/vitest-dev/vitest/compare/v0.33.0...v0.34.0) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/s1adem4n/soundcloud). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4yNy4xIiwidXBkYXRlZEluVmVyIjoiMzcuMC4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot
added a commit
to s1adem4n/soundcloud
that referenced
this pull request
Nov 7, 2023
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [vitest](https://togithub.com/vitest-dev/vitest) | [`^0.33.0` -> `^0.34.0`](https://renovatebot.com/diffs/npm/vitest/0.33.0/0.34.6) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/0.34.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/0.34.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/0.33.0/0.34.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/0.33.0/0.34.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (vitest)</summary> ### [`v0.34.6`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.6) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.5...v0.34.6) ##### 🐞 Bug Fixes - Overwrite global URL with environment's - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#4164 [<samp>(cbe13)</samp>](https://togithub.com/vitest-dev/vitest/commit/cbe133da) - Correctly resolve external dependencies loaded by custom environments - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#4196 [<samp>(e3408)</samp>](https://togithub.com/vitest-dev/vitest/commit/e340802f) - **runner**: The fixture of `test.extend` should be init once time in all test - by [@​Dunqing](https://togithub.com/Dunqing) in [vitest-dev/vitest#4168 [<samp>(730b2)</samp>](https://togithub.com/vitest-dev/vitest/commit/730b29ec) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.5...v0.34.6) ### [`v0.34.5`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.5) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.4...v0.34.5) ##### 🚀 Features - **config**: - Add `diff` option - by [@​fenghan34](https://togithub.com/fenghan34) and [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#4063 [<samp>(b50cf)</samp>](https://togithub.com/vitest-dev/vitest/commit/b50cf7ad) - **coverage**: - Add `coverage['100']` to istanbul provider - by [@​marcelobotega](https://togithub.com/marcelobotega) in [vitest-dev/vitest#4109 [<samp>(a7e09)</samp>](https://togithub.com/vitest-dev/vitest/commit/a7e09939) - **vitest**: - Support `vi.waitFor` method - by [@​Dunqing](https://togithub.com/Dunqing) and [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#4113 [<samp>(d79cb)</samp>](https://togithub.com/vitest-dev/vitest/commit/d79cb44b) - Allow using unprocessed environment files - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#4098 [<samp>(1aee1)</samp>](https://togithub.com/vitest-dev/vitest/commit/1aee13af) - Support `vi.waitUntil` method - by [@​Dunqing](https://togithub.com/Dunqing) and [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#4129 [<samp>(e0ac9)</samp>](https://togithub.com/vitest-dev/vitest/commit/e0ac97cf) ##### 🐞 Bug Fixes - Update HappyDOMOptions to be compatible with v12 - by [@​anthonyblond](https://togithub.com/anthonyblond) in [vitest-dev/vitest#4135 [<samp>(e8797)</samp>](https://togithub.com/vitest-dev/vitest/commit/e8797534) - Print value shape when .resolves and .rejects fails - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#4137 [<samp>(e649d)</samp>](https://togithub.com/vitest-dev/vitest/commit/e649d78f) - **docs**: - Fix lint errors on onConsoleLog example - by [@​marcelobotega](https://togithub.com/marcelobotega) in [vitest-dev/vitest#4116 [<samp>(ba1e7)</samp>](https://togithub.com/vitest-dev/vitest/commit/ba1e7335) - **expect**: - Improve the error message when nothing is thrown when testing `toThrow` - by [@​Dunqing](https://togithub.com/Dunqing) in [vitest-dev/vitest#3979 [<samp>(725a0)</samp>](https://togithub.com/vitest-dev/vitest/commit/725a0146) - **happy-dom**: - Catch errors in happy-dom - by [@​capricorn86](https://togithub.com/capricorn86) in [vitest-dev/vitest#4140 [<samp>(c21c0)</samp>](https://togithub.com/vitest-dev/vitest/commit/c21c0efa) - **runner**: - Restore leading space in `testNamePattern` - by [@​segrey](https://togithub.com/segrey) in [vitest-dev/vitest#4103 and [vitest-dev/vitest#4104 [<samp>(3c305)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c305857) - `test.extend` doesn't work in hooks without test - by [@​Dunqing](https://togithub.com/Dunqing) in [vitest-dev/vitest#4065 [<samp>(175c7)</samp>](https://togithub.com/vitest-dev/vitest/commit/175c752d) - **snapshot**: - Support mix of normal/with placeholders snapshots - by [@​RobertPechaCZ](https://togithub.com/RobertPechaCZ) in [vitest-dev/vitest#4118 [<samp>(01e01)</samp>](https://togithub.com/vitest-dev/vitest/commit/01e01bfc) - **ui**: - Correctly render ansi diff - by [@​so1ve](https://togithub.com/so1ve) and [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3810 [<samp>(8c315)</samp>](https://togithub.com/vitest-dev/vitest/commit/8c3152fa) - **vite-node**: - Export `SourceMapInput` to fix CYCLIC_CROSS_CHUNK_REEXPORT - by [@​Dunqing](https://togithub.com/Dunqing) in [vitest-dev/vitest#4128 [<samp>(ca70a)</samp>](https://togithub.com/vitest-dev/vitest/commit/ca70a779) - Align vite dependency version with vitest - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(90ff8)</samp>](https://togithub.com/vitest-dev/vitest/commit/90ff899b) - **vitest**: - Rerun tests if a file loaded with query changes - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#4130 [<samp>(a084c)</samp>](https://togithub.com/vitest-dev/vitest/commit/a084ceaf) - Inject "define" in workspaces - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#4096 [<samp>(b4d5a)</samp>](https://togithub.com/vitest-dev/vitest/commit/b4d5ae23) ##### 🏎 Performance - Use lazy require in vm pool - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#4136 [<samp>(21ba4)</samp>](https://togithub.com/vitest-dev/vitest/commit/21ba4935) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.4...v0.34.5) ### [`v0.34.4`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.4) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.3...v0.34.4) ##### 🐞 Bug Fixes - Resolving dep optimizer issues with workspace - by [@​thebanjomatic](https://togithub.com/thebanjomatic) in [vitest-dev/vitest#4036 [<samp>(0c13c)</samp>](https://togithub.com/vitest-dev/vitest/commit/0c13c39c) - Don't process config file twice - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#4077 [<samp>(a84a8)</samp>](https://togithub.com/vitest-dev/vitest/commit/a84a8e05) - **coverage**: - Log info only when terminal reporter is used - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#4027 [<samp>(9f043)</samp>](https://togithub.com/vitest-dev/vitest/commit/9f04386b) - **happy-dom**: - Use the nodejs console in happy-dom v11 - by [@​capricorn86](https://togithub.com/capricorn86) in [vitest-dev/vitest#4090 [<samp>(59434)</samp>](https://togithub.com/vitest-dev/vitest/commit/59434189) - **runner**: - Incorrect test name pattern matching - by [@​Dunqing](https://togithub.com/Dunqing) in [vitest-dev/vitest#4071 [<samp>(b5bf3)</samp>](https://togithub.com/vitest-dev/vitest/commit/b5bf3290) - **vite-node**: - Check more precisely for root/base paths - by [@​danielroe](https://togithub.com/danielroe) in [vitest-dev/vitest#4049 [<samp>(80741)</samp>](https://togithub.com/vitest-dev/vitest/commit/807418fa) - **vitest**: - "vi" doesn't rely on context - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#4031 [<samp>(0d0f3)</samp>](https://togithub.com/vitest-dev/vitest/commit/0d0f35f6) - Only override ssr.optimizer instead of the whole ssr object - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#4080 [<samp>(410bc)</samp>](https://togithub.com/vitest-dev/vitest/commit/410bc454) - Don't start the server when optimizer is enabled - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#4095 [<samp>(00e81)</samp>](https://togithub.com/vitest-dev/vitest/commit/00e81122) - Set SSR env only when transformMode is ssr - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#4083 [<samp>(f8ea7)</samp>](https://togithub.com/vitest-dev/vitest/commit/f8ea716a) - Show error when calling API on files that user has no access to - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#4085 [<samp>(8b39c)</samp>](https://togithub.com/vitest-dev/vitest/commit/8b39c117) - **web-worker**: - Don't rely on browser API when it's not provided - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#4014 [<samp>(e78a4)</samp>](https://togithub.com/vitest-dev/vitest/commit/e78a449d) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.3...v0.34.4) ### [`v0.34.3`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.3) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.2...v0.34.3) ##### 🚀 Features - **coverage**: Add `allowExternal` option - by [@​vojvodics](https://togithub.com/vojvodics) and [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3894 [<samp>(c03fa)</samp>](https://togithub.com/vitest-dev/vitest/commit/c03faa22) - **vitest**: Export all reporters in `vitest/reporters` - by [@​Dunqing](https://togithub.com/Dunqing) and [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3980 [<samp>(5704b)</samp>](https://togithub.com/vitest-dev/vitest/commit/5704b341) ##### 🐞 Bug Fixes - Should remove mockPath from callstack whether success or failed - by [@​miserylee](https://togithub.com/miserylee) and **lijifei** in [vitest-dev/vitest#3971 [<samp>(5eb85)</samp>](https://togithub.com/vitest-dev/vitest/commit/5eb8561c) - Add workspace config files to default coverage excludes - by [@​FelixGraf](https://togithub.com/FelixGraf) and [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3973 [<samp>(20263)</samp>](https://togithub.com/vitest-dev/vitest/commit/20263d9d) - Report file error as a <failure> on JUnit - by [@​3c1u](https://togithub.com/3c1u) in [vitest-dev/vitest#3997 [<samp>(00c43)</samp>](https://togithub.com/vitest-dev/vitest/commit/00c432fa) - **jsdom**: Correctly resolve buffer on typed arrays - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3998 [<samp>(b42cf)</samp>](https://togithub.com/vitest-dev/vitest/commit/b42cf36e) - **ui**: Use web hash history in ui - by [@​segevfiner](https://togithub.com/segevfiner) and [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3481 and [vitest-dev/vitest#3487 [<samp>(8caab)</samp>](https://togithub.com/vitest-dev/vitest/commit/8caabaa1) - **vite-node**: Inline HMR types - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3993 [<samp>(dff60)</samp>](https://togithub.com/vitest-dev/vitest/commit/dff60e82) - **vitest**: Correctly resolve optimizer status - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3992 [<samp>(74dc5)</samp>](https://togithub.com/vitest-dev/vitest/commit/74dc5967) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.2...v0.34.3) ### [`v0.34.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.2) [Compare Source](https://togithub.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://togithub.com/sheremet-va) in [vitest-dev/vitest#3880 [<samp>(f4e6e)</samp>](https://togithub.com/vitest-dev/vitest/commit/f4e6e99f) - **vitest**: Allow calling `ctx.skip()` inside the running test - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3966 [<samp>(5c88d)</samp>](https://togithub.com/vitest-dev/vitest/commit/5c88d8e5) ##### 🐞 Bug Fixes - Don't bundle utils' source-map entry - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3865 [<samp>(a08e5)</samp>](https://togithub.com/vitest-dev/vitest/commit/a08e5993) - Reduce the memory consumption when running --experimental-vm-threads - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3872 [<samp>(d1a08)</samp>](https://togithub.com/vitest-dev/vitest/commit/d1a08c88) - Indicator position of error message - by [@​fenghan34](https://togithub.com/fenghan34) in [vitest-dev/vitest#3855 [<samp>(3e1e7)</samp>](https://togithub.com/vitest-dev/vitest/commit/3e1e7a1f) - Don't crash when using --experimental-vm-threads, interop CJS default inside node_modules - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3876 [<samp>(0c53e)</samp>](https://togithub.com/vitest-dev/vitest/commit/0c53e098) - Don't crash if total memory is not supported - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3879 [<samp>(7d1f8)</samp>](https://togithub.com/vitest-dev/vitest/commit/7d1f86b8) - Check memory and limit value - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(f8dfb)</samp>](https://togithub.com/vitest-dev/vitest/commit/f8dfbd38) - Update module warning as it is moved into server config - by [@​jellyfishgh](https://togithub.com/jellyfishgh) in [vitest-dev/vitest#3931 [<samp>(3a3eb)</samp>](https://togithub.com/vitest-dev/vitest/commit/3a3eb22c) - Define process variable and using import.meta.env together did not work - by [@​Dunqing](https://togithub.com/Dunqing) in [vitest-dev/vitest#3944 [<samp>(e73ca)</samp>](https://togithub.com/vitest-dev/vitest/commit/e73ca9ed) - Correctly resolve config in a workspace - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3947 [<samp>(1c08d)</samp>](https://togithub.com/vitest-dev/vitest/commit/1c08d5da) - Don't crash when calling useFakeTimers in VM pool - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3958 [<samp>(91fe4)</samp>](https://togithub.com/vitest-dev/vitest/commit/91fe4853) - Restrict access to file system via API - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3956 [<samp>(bcb41)</samp>](https://togithub.com/vitest-dev/vitest/commit/bcb41e51) - Typo of mocks plugin name - by [@​antfu](https://togithub.com/antfu) [<samp>(3073b)</samp>](https://togithub.com/vitest-dev/vitest/commit/3073b9a2) - Build not generated `execute.d.ts` - by [@​btea](https://togithub.com/btea) in [vitest-dev/vitest#3970 [<samp>(0f8e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/0f8e60b7) - **css**: - Don't mock css-module if `?inline` query is specified - by [@​thebanjomatic](https://togithub.com/thebanjomatic) and **Adam Hines** in [vitest-dev/vitest#3952 [<samp>(3891d)</samp>](https://togithub.com/vitest-dev/vitest/commit/3891d055) - **expect**: - Correctly show async matcher diff - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3960 [<samp>(9423b)</samp>](https://togithub.com/vitest-dev/vitest/commit/9423b6f8) - **snapshots**: - Update inline snapshot correctly - by [@​fenghan34](https://togithub.com/fenghan34) in [vitest-dev/vitest#3887 [<samp>(7b740)</samp>](https://togithub.com/vitest-dev/vitest/commit/7b740a27) - **ui**: - Incorrect duration time in vitest ui - by [@​Dunqing](https://togithub.com/Dunqing) in [vitest-dev/vitest#3945 [<samp>(35139)</samp>](https://togithub.com/vitest-dev/vitest/commit/351399f2) - Add support for ui coverage with subdir option - by [@​userquin](https://togithub.com/userquin) in [vitest-dev/vitest#3917 [<samp>(6ecfc)</samp>](https://togithub.com/vitest-dev/vitest/commit/6ecfc4e1) - **vitest**: - Use esm module resolution to resolve env - by [@​danielroe](https://togithub.com/danielroe) in [vitest-dev/vitest#3951 [<samp>(edb32)</samp>](https://togithub.com/vitest-dev/vitest/commit/edb322fe) - Allow rewriting process.env.NODE_MODE when using web transform mode - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3957 [<samp>(eca4b)</samp>](https://togithub.com/vitest-dev/vitest/commit/eca4b87f) - Only consider cwd when using glob - by [@​g-plane](https://togithub.com/g-plane) in [vitest-dev/vitest#3802 and [vitest-dev/vitest#3949 [<samp>(15b4f)</samp>](https://togithub.com/vitest-dev/vitest/commit/15b4fd6d) - Pass environmentOptions to happy-dom integration - by [@​sheremet-va](https://togithub.com/sheremet-va) and **Raul de Melo** in [vitest-dev/vitest#3972 [<samp>(6a0cb)</samp>](https://togithub.com/vitest-dev/vitest/commit/6a0cb647) - **web**: - Correctly resolve assets in new URL - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3950 [<samp>(a428f)</samp>](https://togithub.com/vitest-dev/vitest/commit/a428f8d4) ##### 🏎 Performance - **dot-renderer**: Speed up getTests - by [@​gtm-nayan](https://togithub.com/gtm-nayan) in [vitest-dev/vitest#3923 [<samp>(e9404)</samp>](https://togithub.com/vitest-dev/vitest/commit/e94044d7) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.1...v0.34.2) ### [`v0.34.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.0...v0.34.1) ##### 🐞 Bug Fixes - Pass `--experimental-vm-worker-memory-limit` to `tinypool` - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3856 [<samp>(3c67a)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c67a4cb) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.0...v0.34.1) ### [`v0.34.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.0) [Compare Source](https://togithub.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://togithub.com/sheremet-va) in [vitest-dev/vitest#3491 [<samp>(9608b)</samp>](https://togithub.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://togithub.com/AriPerkkio) in [vitest-dev/vitest#3615 [<samp>(0c6f6)</samp>](https://togithub.com/vitest-dev/vitest/commit/0c6f624f) - Remove `@vitest/coverage-c8` package - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3614 [<samp>(a90d6)</samp>](https://togithub.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://togithub.com/sheremet-va) and [@​dammy001](https://togithub.com/dammy001) in [vitest-dev/vitest#3203 [<samp>(b0929)</samp>](https://togithub.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://togithub.com/fenghan34) and [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3725 [<samp>(dc4fa)</samp>](https://togithub.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://togithub.com/rxliuli) in [vitest-dev/vitest#3574 [<samp>(1cd4e)</samp>](https://togithub.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://togithub.com/sheremet-va) and [@​eryue0220](https://togithub.com/eryue0220) in [vitest-dev/vitest#3854 [<samp>(4b946)</samp>](https://togithub.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://togithub.com/fenghan34) and [@​dammy001](https://togithub.com/dammy001) in [vitest-dev/vitest#3771 [<samp>(86934)</samp>](https://togithub.com/vitest-dev/vitest/commit/8693449b) - Support config junit reporter className with env - by [@​InfiniteXyy](https://togithub.com/InfiniteXyy) in [vitest-dev/vitest#3808 [<samp>(e8bc4)</samp>](https://togithub.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://togithub.com/sheremet-va) in [vitest-dev/vitest#3844 [<samp>(c9aea)</samp>](https://togithub.com/vitest-dev/vitest/commit/c9aeac4c) ##### 🐞 Bug Fixes - Isolate workers between envs and workspaces - by [@​AriPerkkio](https://togithub.com/AriPerkkio) [<samp>(ed4e0)</samp>](https://togithub.com/vitest-dev/vitest/commit/ed4e0424) - Modify condition - by [@​btea](https://togithub.com/btea) [<samp>(a78e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/a78e6bd0) - Module Graph view is blocking the Console view - by [@​g4rry420](https://togithub.com/g4rry420) [<samp>(3b5f9)</samp>](https://togithub.com/vitest-dev/vitest/commit/3b5f96bc) - Port the latest `defineConfig` type from vite - by [@​sodatea](https://togithub.com/sodatea) in [vitest-dev/vitest#3804 [<samp>(9c8e3)</samp>](https://togithub.com/vitest-dev/vitest/commit/9c8e3083) - Don't overwrite Node.js URL global - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3828 [<samp>(cdab4)</samp>](https://togithub.com/vitest-dev/vitest/commit/cdab4651) - ForceRerunTriggers correctly triggers a rerun - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3829 [<samp>(17988)</samp>](https://togithub.com/vitest-dev/vitest/commit/17988e51) - **browser**: - Don't inline magic-string and estree-walker - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3726 [<samp>(ee937)</samp>](https://togithub.com/vitest-dev/vitest/commit/ee93762a) - Multi-suite coverage - by [@​elby22](https://togithub.com/elby22) in [vitest-dev/vitest#3806 [<samp>(5de9a)</samp>](https://togithub.com/vitest-dev/vitest/commit/5de9af26) - **core**: - DataView comparison does not work in `toStrictEqual` - by [@​Dunqing](https://togithub.com/Dunqing) [<samp>(52aef)</samp>](https://togithub.com/vitest-dev/vitest/commit/52aef92e) - **coverage**: - V8 provider to pick source maps without url query params - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3784 [<samp>(280e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/280e6745) - Update `istanbul-lib-instrument` to v6 to fix vulnerable dependency - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3814 [<samp>(f3bd9)</samp>](https://togithub.com/vitest-dev/vitest/commit/f3bd9102) - Exclude vite virtual modules by default - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3794 [<samp>(3c851)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c851872) - **node**: - Guard error info - by [@​btea](https://togithub.com/btea) [<samp>(88b39)</samp>](https://togithub.com/vitest-dev/vitest/commit/88b39758) - **vite-node**: - Always treat node_modules as modulesDirectory - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3830 [<samp>(51ab8)</samp>](https://togithub.com/vitest-dev/vitest/commit/51ab8d6c) - Normalize drive letter to keep the same reference to a module - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3836 [<samp>(45521)</samp>](https://togithub.com/vitest-dev/vitest/commit/45521859) - Correctly resolve hmr filepath - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3834 [<samp>(711a6)</samp>](https://togithub.com/vitest-dev/vitest/commit/711a6249) - **watch**: - Clear screen on all terminals - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3661 [<samp>(8bd26)</samp>](https://togithub.com/vitest-dev/vitest/commit/8bd26b01) ##### 🏎 Performance - Deprecate deps.registerNodeLoader - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(7f45b)</samp>](https://togithub.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://togithub.com/vitest-dev/vitest/compare/v0.33.0...v0.34.0) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/s1adem4n/soundcloud). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4yNy4xIiwidXBkYXRlZEluVmVyIjoiMzcuMC4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
6 tasks
renovate bot
added a commit
to kamilkisiela/dependency-graph
that referenced
this pull request
Jul 2, 2024
[![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) ([source](https://togithub.com/vitest-dev/vitest/tree/HEAD/packages/vitest)) | [`0.32.2` -> `0.34.6`](https://renovatebot.com/diffs/npm/vitest/0.32.2/0.34.6) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/0.34.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/0.34.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/0.32.2/0.34.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/0.32.2/0.34.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (vitest)</summary> ### [`v0.34.6`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.6) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.5...v0.34.6) ##### 🐞 Bug Fixes - Overwrite global URL with environment's - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#4164 [<samp>(cbe13)</samp>](https://togithub.com/vitest-dev/vitest/commit/cbe133da) - Correctly resolve external dependencies loaded by custom environments - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#4196 [<samp>(e3408)</samp>](https://togithub.com/vitest-dev/vitest/commit/e340802f) - **runner**: The fixture of `test.extend` should be init once time in all test - by [@​Dunqing](https://togithub.com/Dunqing) in [vitest-dev/vitest#4168 [<samp>(730b2)</samp>](https://togithub.com/vitest-dev/vitest/commit/730b29ec) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.5...v0.34.6) ### [`v0.34.5`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.5) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.4...v0.34.5) ##### 🚀 Features - **config**: - Add `diff` option - by [@​fenghan34](https://togithub.com/fenghan34) and [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#4063 [<samp>(b50cf)</samp>](https://togithub.com/vitest-dev/vitest/commit/b50cf7ad) - **coverage**: - Add `coverage['100']` to istanbul provider - by [@​marcelobotega](https://togithub.com/marcelobotega) in [vitest-dev/vitest#4109 [<samp>(a7e09)</samp>](https://togithub.com/vitest-dev/vitest/commit/a7e09939) - **vitest**: - Support `vi.waitFor` method - by [@​Dunqing](https://togithub.com/Dunqing) and [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#4113 [<samp>(d79cb)</samp>](https://togithub.com/vitest-dev/vitest/commit/d79cb44b) - Allow using unprocessed environment files - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#4098 [<samp>(1aee1)</samp>](https://togithub.com/vitest-dev/vitest/commit/1aee13af) - Support `vi.waitUntil` method - by [@​Dunqing](https://togithub.com/Dunqing) and [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#4129 [<samp>(e0ac9)</samp>](https://togithub.com/vitest-dev/vitest/commit/e0ac97cf) ##### 🐞 Bug Fixes - Update HappyDOMOptions to be compatible with v12 - by [@​anthonyblond](https://togithub.com/anthonyblond) in [vitest-dev/vitest#4135 [<samp>(e8797)</samp>](https://togithub.com/vitest-dev/vitest/commit/e8797534) - Print value shape when .resolves and .rejects fails - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#4137 [<samp>(e649d)</samp>](https://togithub.com/vitest-dev/vitest/commit/e649d78f) - **docs**: - Fix lint errors on onConsoleLog example - by [@​marcelobotega](https://togithub.com/marcelobotega) in [vitest-dev/vitest#4116 [<samp>(ba1e7)</samp>](https://togithub.com/vitest-dev/vitest/commit/ba1e7335) - **expect**: - Improve the error message when nothing is thrown when testing `toThrow` - by [@​Dunqing](https://togithub.com/Dunqing) in [vitest-dev/vitest#3979 [<samp>(725a0)</samp>](https://togithub.com/vitest-dev/vitest/commit/725a0146) - **happy-dom**: - Catch errors in happy-dom - by [@​capricorn86](https://togithub.com/capricorn86) in [vitest-dev/vitest#4140 [<samp>(c21c0)</samp>](https://togithub.com/vitest-dev/vitest/commit/c21c0efa) - **runner**: - Restore leading space in `testNamePattern` - by [@​segrey](https://togithub.com/segrey) in [vitest-dev/vitest#4103 and [vitest-dev/vitest#4104 [<samp>(3c305)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c305857) - `test.extend` doesn't work in hooks without test - by [@​Dunqing](https://togithub.com/Dunqing) in [vitest-dev/vitest#4065 [<samp>(175c7)</samp>](https://togithub.com/vitest-dev/vitest/commit/175c752d) - **snapshot**: - Support mix of normal/with placeholders snapshots - by [@​RobertPechaCZ](https://togithub.com/RobertPechaCZ) in [vitest-dev/vitest#4118 [<samp>(01e01)</samp>](https://togithub.com/vitest-dev/vitest/commit/01e01bfc) - **ui**: - Correctly render ansi diff - by [@​so1ve](https://togithub.com/so1ve) and [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3810 [<samp>(8c315)</samp>](https://togithub.com/vitest-dev/vitest/commit/8c3152fa) - **vite-node**: - Export `SourceMapInput` to fix CYCLIC_CROSS_CHUNK_REEXPORT - by [@​Dunqing](https://togithub.com/Dunqing) in [vitest-dev/vitest#4128 [<samp>(ca70a)</samp>](https://togithub.com/vitest-dev/vitest/commit/ca70a779) - Align vite dependency version with vitest - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(90ff8)</samp>](https://togithub.com/vitest-dev/vitest/commit/90ff899b) - **vitest**: - Rerun tests if a file loaded with query changes - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#4130 [<samp>(a084c)</samp>](https://togithub.com/vitest-dev/vitest/commit/a084ceaf) - Inject "define" in workspaces - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#4096 [<samp>(b4d5a)</samp>](https://togithub.com/vitest-dev/vitest/commit/b4d5ae23) ##### 🏎 Performance - Use lazy require in vm pool - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#4136 [<samp>(21ba4)</samp>](https://togithub.com/vitest-dev/vitest/commit/21ba4935) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.4...v0.34.5) ### [`v0.34.4`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.4) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.3...v0.34.4) ##### 🐞 Bug Fixes - Resolving dep optimizer issues with workspace - by [@​thebanjomatic](https://togithub.com/thebanjomatic) in [vitest-dev/vitest#4036 [<samp>(0c13c)</samp>](https://togithub.com/vitest-dev/vitest/commit/0c13c39c) - Don't process config file twice - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#4077 [<samp>(a84a8)</samp>](https://togithub.com/vitest-dev/vitest/commit/a84a8e05) - **coverage**: - Log info only when terminal reporter is used - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#4027 [<samp>(9f043)</samp>](https://togithub.com/vitest-dev/vitest/commit/9f04386b) - **happy-dom**: - Use the nodejs console in happy-dom v11 - by [@​capricorn86](https://togithub.com/capricorn86) in [vitest-dev/vitest#4090 [<samp>(59434)</samp>](https://togithub.com/vitest-dev/vitest/commit/59434189) - **runner**: - Incorrect test name pattern matching - by [@​Dunqing](https://togithub.com/Dunqing) in [vitest-dev/vitest#4071 [<samp>(b5bf3)</samp>](https://togithub.com/vitest-dev/vitest/commit/b5bf3290) - **vite-node**: - Check more precisely for root/base paths - by [@​danielroe](https://togithub.com/danielroe) in [vitest-dev/vitest#4049 [<samp>(80741)</samp>](https://togithub.com/vitest-dev/vitest/commit/807418fa) - **vitest**: - "vi" doesn't rely on context - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#4031 [<samp>(0d0f3)</samp>](https://togithub.com/vitest-dev/vitest/commit/0d0f35f6) - Only override ssr.optimizer instead of the whole ssr object - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#4080 [<samp>(410bc)</samp>](https://togithub.com/vitest-dev/vitest/commit/410bc454) - Don't start the server when optimizer is enabled - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#4095 [<samp>(00e81)</samp>](https://togithub.com/vitest-dev/vitest/commit/00e81122) - Set SSR env only when transformMode is ssr - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#4083 [<samp>(f8ea7)</samp>](https://togithub.com/vitest-dev/vitest/commit/f8ea716a) - Show error when calling API on files that user has no access to - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#4085 [<samp>(8b39c)</samp>](https://togithub.com/vitest-dev/vitest/commit/8b39c117) - **web-worker**: - Don't rely on browser API when it's not provided - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#4014 [<samp>(e78a4)</samp>](https://togithub.com/vitest-dev/vitest/commit/e78a449d) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.3...v0.34.4) ### [`v0.34.3`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.3) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.2...v0.34.3) ##### 🚀 Features - **coverage**: Add `allowExternal` option - by [@​vojvodics](https://togithub.com/vojvodics) and [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3894 [<samp>(c03fa)</samp>](https://togithub.com/vitest-dev/vitest/commit/c03faa22) - **vitest**: Export all reporters in `vitest/reporters` - by [@​Dunqing](https://togithub.com/Dunqing) and [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3980 [<samp>(5704b)</samp>](https://togithub.com/vitest-dev/vitest/commit/5704b341) ##### 🐞 Bug Fixes - Should remove mockPath from callstack whether success or failed - by [@​miserylee](https://togithub.com/miserylee) and **lijifei** in [vitest-dev/vitest#3971 [<samp>(5eb85)</samp>](https://togithub.com/vitest-dev/vitest/commit/5eb8561c) - Add workspace config files to default coverage excludes - by [@​FelixGraf](https://togithub.com/FelixGraf) and [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3973 [<samp>(20263)</samp>](https://togithub.com/vitest-dev/vitest/commit/20263d9d) - Report file error as a <failure> on JUnit - by [@​3c1u](https://togithub.com/3c1u) in [vitest-dev/vitest#3997 [<samp>(00c43)</samp>](https://togithub.com/vitest-dev/vitest/commit/00c432fa) - **jsdom**: Correctly resolve buffer on typed arrays - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3998 [<samp>(b42cf)</samp>](https://togithub.com/vitest-dev/vitest/commit/b42cf36e) - **ui**: Use web hash history in ui - by [@​segevfiner](https://togithub.com/segevfiner) and [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3481 and [vitest-dev/vitest#3487 [<samp>(8caab)</samp>](https://togithub.com/vitest-dev/vitest/commit/8caabaa1) - **vite-node**: Inline HMR types - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3993 [<samp>(dff60)</samp>](https://togithub.com/vitest-dev/vitest/commit/dff60e82) - **vitest**: Correctly resolve optimizer status - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3992 [<samp>(74dc5)</samp>](https://togithub.com/vitest-dev/vitest/commit/74dc5967) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.2...v0.34.3) ### [`v0.34.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.2) [Compare Source](https://togithub.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://togithub.com/sheremet-va) in [vitest-dev/vitest#3880 [<samp>(f4e6e)</samp>](https://togithub.com/vitest-dev/vitest/commit/f4e6e99f) - **vitest**: Allow calling `ctx.skip()` inside the running test - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3966 [<samp>(5c88d)</samp>](https://togithub.com/vitest-dev/vitest/commit/5c88d8e5) ##### 🐞 Bug Fixes - Don't bundle utils' source-map entry - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3865 [<samp>(a08e5)</samp>](https://togithub.com/vitest-dev/vitest/commit/a08e5993) - Reduce the memory consumption when running --experimental-vm-threads - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3872 [<samp>(d1a08)</samp>](https://togithub.com/vitest-dev/vitest/commit/d1a08c88) - Indicator position of error message - by [@​fenghan34](https://togithub.com/fenghan34) in [vitest-dev/vitest#3855 [<samp>(3e1e7)</samp>](https://togithub.com/vitest-dev/vitest/commit/3e1e7a1f) - Don't crash when using --experimental-vm-threads, interop CJS default inside node_modules - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3876 [<samp>(0c53e)</samp>](https://togithub.com/vitest-dev/vitest/commit/0c53e098) - Don't crash if total memory is not supported - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3879 [<samp>(7d1f8)</samp>](https://togithub.com/vitest-dev/vitest/commit/7d1f86b8) - Check memory and limit value - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(f8dfb)</samp>](https://togithub.com/vitest-dev/vitest/commit/f8dfbd38) - Update module warning as it is moved into server config - by [@​jellyfishgh](https://togithub.com/jellyfishgh) in [vitest-dev/vitest#3931 [<samp>(3a3eb)</samp>](https://togithub.com/vitest-dev/vitest/commit/3a3eb22c) - Define process variable and using import.meta.env together did not work - by [@​Dunqing](https://togithub.com/Dunqing) in [vitest-dev/vitest#3944 [<samp>(e73ca)</samp>](https://togithub.com/vitest-dev/vitest/commit/e73ca9ed) - Correctly resolve config in a workspace - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3947 [<samp>(1c08d)</samp>](https://togithub.com/vitest-dev/vitest/commit/1c08d5da) - Don't crash when calling useFakeTimers in VM pool - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3958 [<samp>(91fe4)</samp>](https://togithub.com/vitest-dev/vitest/commit/91fe4853) - Restrict access to file system via API - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3956 [<samp>(bcb41)</samp>](https://togithub.com/vitest-dev/vitest/commit/bcb41e51) - Typo of mocks plugin name - by [@​antfu](https://togithub.com/antfu) [<samp>(3073b)</samp>](https://togithub.com/vitest-dev/vitest/commit/3073b9a2) - Build not generated `execute.d.ts` - by [@​btea](https://togithub.com/btea) in [vitest-dev/vitest#3970 [<samp>(0f8e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/0f8e60b7) - **css**: - Don't mock css-module if `?inline` query is specified - by [@​thebanjomatic](https://togithub.com/thebanjomatic) and **Adam Hines** in [vitest-dev/vitest#3952 [<samp>(3891d)</samp>](https://togithub.com/vitest-dev/vitest/commit/3891d055) - **expect**: - Correctly show async matcher diff - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3960 [<samp>(9423b)</samp>](https://togithub.com/vitest-dev/vitest/commit/9423b6f8) - **snapshots**: - Update inline snapshot correctly - by [@​fenghan34](https://togithub.com/fenghan34) in [vitest-dev/vitest#3887 [<samp>(7b740)</samp>](https://togithub.com/vitest-dev/vitest/commit/7b740a27) - **ui**: - Incorrect duration time in vitest ui - by [@​Dunqing](https://togithub.com/Dunqing) in [vitest-dev/vitest#3945 [<samp>(35139)</samp>](https://togithub.com/vitest-dev/vitest/commit/351399f2) - Add support for ui coverage with subdir option - by [@​userquin](https://togithub.com/userquin) in [vitest-dev/vitest#3917 [<samp>(6ecfc)</samp>](https://togithub.com/vitest-dev/vitest/commit/6ecfc4e1) - **vitest**: - Use esm module resolution to resolve env - by [@​danielroe](https://togithub.com/danielroe) in [vitest-dev/vitest#3951 [<samp>(edb32)</samp>](https://togithub.com/vitest-dev/vitest/commit/edb322fe) - Allow rewriting process.env.NODE_MODE when using web transform mode - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3957 [<samp>(eca4b)</samp>](https://togithub.com/vitest-dev/vitest/commit/eca4b87f) - Only consider cwd when using glob - by [@​g-plane](https://togithub.com/g-plane) in [vitest-dev/vitest#3802 and [vitest-dev/vitest#3949 [<samp>(15b4f)</samp>](https://togithub.com/vitest-dev/vitest/commit/15b4fd6d) - Pass environmentOptions to happy-dom integration - by [@​sheremet-va](https://togithub.com/sheremet-va) and **Raul de Melo** in [vitest-dev/vitest#3972 [<samp>(6a0cb)</samp>](https://togithub.com/vitest-dev/vitest/commit/6a0cb647) - **web**: - Correctly resolve assets in new URL - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3950 [<samp>(a428f)</samp>](https://togithub.com/vitest-dev/vitest/commit/a428f8d4) ##### 🏎 Performance - **dot-renderer**: Speed up getTests - by [@​gtm-nayan](https://togithub.com/gtm-nayan) in [vitest-dev/vitest#3923 [<samp>(e9404)</samp>](https://togithub.com/vitest-dev/vitest/commit/e94044d7) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.1...v0.34.2) ### [`v0.34.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.0...v0.34.1) ##### 🐞 Bug Fixes - Pass `--experimental-vm-worker-memory-limit` to `tinypool` - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3856 [<samp>(3c67a)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c67a4cb) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.0...v0.34.1) ### [`v0.34.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.0) [Compare Source](https://togithub.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://togithub.com/sheremet-va) in [vitest-dev/vitest#3491 [<samp>(9608b)</samp>](https://togithub.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://togithub.com/AriPerkkio) in [vitest-dev/vitest#3615 [<samp>(0c6f6)</samp>](https://togithub.com/vitest-dev/vitest/commit/0c6f624f) - Remove `@vitest/coverage-c8` package - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3614 [<samp>(a90d6)</samp>](https://togithub.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://togithub.com/sheremet-va) and [@​dammy001](https://togithub.com/dammy001) in [vitest-dev/vitest#3203 [<samp>(b0929)</samp>](https://togithub.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://togithub.com/fenghan34) and [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3725 [<samp>(dc4fa)</samp>](https://togithub.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://togithub.com/rxliuli) in [vitest-dev/vitest#3574 [<samp>(1cd4e)</samp>](https://togithub.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://togithub.com/sheremet-va) and [@​eryue0220](https://togithub.com/eryue0220) in [vitest-dev/vitest#3854 [<samp>(4b946)</samp>](https://togithub.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://togithub.com/fenghan34) and [@​dammy001](https://togithub.com/dammy001) in [vitest-dev/vitest#3771 [<samp>(86934)</samp>](https://togithub.com/vitest-dev/vitest/commit/8693449b) - Support config junit reporter className with env - by [@​InfiniteXyy](https://togithub.com/InfiniteXyy) in [vitest-dev/vitest#3808 [<samp>(e8bc4)</samp>](https://togithub.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://togithub.com/sheremet-va) in [vitest-dev/vitest#3844 [<samp>(c9aea)</samp>](https://togithub.com/vitest-dev/vitest/commit/c9aeac4c) ##### 🐞 Bug Fixes - Isolate workers between envs and workspaces - by [@​AriPerkkio](https://togithub.com/AriPerkkio) [<samp>(ed4e0)</samp>](https://togithub.com/vitest-dev/vitest/commit/ed4e0424) - Modify condition - by [@​btea](https://togithub.com/btea) [<samp>(a78e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/a78e6bd0) - Module Graph view is blocking the Console view - by [@​g4rry420](https://togithub.com/g4rry420) [<samp>(3b5f9)</samp>](https://togithub.com/vitest-dev/vitest/commit/3b5f96bc) - Port the latest `defineConfig` type from vite - by [@​sodatea](https://togithub.com/sodatea) in [vitest-dev/vitest#3804 [<samp>(9c8e3)</samp>](https://togithub.com/vitest-dev/vitest/commit/9c8e3083) - Don't overwrite Node.js URL global - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3828 [<samp>(cdab4)</samp>](https://togithub.com/vitest-dev/vitest/commit/cdab4651) - ForceRerunTriggers correctly triggers a rerun - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3829 [<samp>(17988)</samp>](https://togithub.com/vitest-dev/vitest/commit/17988e51) - **browser**: - Don't inline magic-string and estree-walker - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3726 [<samp>(ee937)</samp>](https://togithub.com/vitest-dev/vitest/commit/ee93762a) - Multi-suite coverage - by [@​elby22](https://togithub.com/elby22) in [vitest-dev/vitest#3806 [<samp>(5de9a)</samp>](https://togithub.com/vitest-dev/vitest/commit/5de9af26) - **core**: - DataView comparison does not work in `toStrictEqual` - by [@​Dunqing](https://togithub.com/Dunqing) [<samp>(52aef)</samp>](https://togithub.com/vitest-dev/vitest/commit/52aef92e) - **coverage**: - V8 provider to pick source maps without url query params - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3784 [<samp>(280e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/280e6745) - Update `istanbul-lib-instrument` to v6 to fix vulnerable dependency - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3814 [<samp>(f3bd9)</samp>](https://togithub.com/vitest-dev/vitest/commit/f3bd9102) - Exclude vite virtual modules by default - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3794 [<samp>(3c851)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c851872) - **node**: - Guard error info - by [@​btea](https://togithub.com/btea) [<samp>(88b39)</samp>](https://togithub.com/vitest-dev/vitest/commit/88b39758) - **vite-node**: - Always treat node_modules as modulesDirectory - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3830 [<samp>(51ab8)</samp>](https://togithub.com/vitest-dev/vitest/commit/51ab8d6c) - Normalize drive letter to keep the same reference to a module - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3836 [<samp>(45521)</samp>](https://togithub.com/vitest-dev/vitest/commit/45521859) - Correctly resolve hmr filepath - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3834 [<samp>(711a6)</samp>](https://togithub.com/vitest-dev/vitest/commit/711a6249) - **watch**: - Clear screen on all terminals - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#3661 [<samp>(8bd26)</samp>](https://togithub.com/vitest-dev/vitest/commit/8bd26b01) ##### 🏎 Performance - Deprecate deps.registerNodeLoader - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(7f45b)</samp>](https://togithub.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://togithub.com/vitest-dev/vitest/compare/v0.33.0...v0.34.0) ### [`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 [vitest-dev/vitest#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 [vitest-dev/vitest#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 [vitest-dev/vitest#3598 and [vitest-dev/vitest#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 [vitest-dev/vitest#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 [vitest-dev/vitest#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 [vitest-dev/vitest#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 [vitest-dev/vitest#3543 [<samp>(7531c)</samp>](https://togithub.com/vitest-dev/vitest/commit/7531c292) - **runner**: Support `test.extend` - by [@​fenghan34](https://togithub.com/fenghan34) in [vitest-dev/vitest#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 [vitest-dev/vitest#3597 [<samp>(969dc)</samp>](https://togithub.com/vitest-dev/vitest/commit/969dcc14) - Show diff correctly - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#3620 [<samp>(73dd4)</samp>](https://togithub.com/vitest-dev/vitest/commit/73dd4ab5) - Util import - by [@​fubhy](https://togithub.com/fubhy) in [vitest-dev/vitest#3621 [<samp>(2fb4c)</samp>](https://togithub.com/vitest-dev/vitest/commit/2fb4ceff) - Compat with frozen Math - by [@​turadg](https://togithub.com/turadg) in [vitest-dev/vitest#3527 [<samp>(0db67)</samp>](https://togithub.com/vitest-dev/vitest/commit/0db67098) - `CTRL+C` to terminate run - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#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 [vitest-dev/vitest#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 [vitest-dev/vitest#3645 [<samp>(80ea7)</samp>](https://togithub.com/vitest-dev/vitest/commit/80ea7ef6) - Print actual number for `toBeCalledTimes` - by [@​antfu](https://togithub.com/antfu) in [vitest-dev/vitest#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 [vitest-dev/vitest#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 [vitest-dev/vitest#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 [vitest-dev/vitest#3641 [<samp>(5c0ac)</samp>](https://togithub.com/vitest-dev/vitest/commit/5c0ac4ad) - Transform superclass identifier - by [@​sheremet-va](https://togithub.com/sheremet-va) in [vitest-dev/vitest#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 [vitest-dev/vitest#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 [vitest-dev/vitest#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 [vitest-dev/vitest#3695 [<samp>(91e16)</samp>](https://togithub.com/vitest-dev/vitest/commit/91e1650e) - **watch**: - Cancel using `h` key - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [vitest-dev/vitest#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) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "after 10pm,before 6:00am" in timezone Europe/Warsaw, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/kamilkisiela/dependency-graph). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xNDQuMiIsInVwZGF0ZWRJblZlciI6IjM3LjgxLjMiLCJ0YXJnZXRCcmFuY2giOiJtYXN0ZXIifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The issue #3514
Browser coverage breaks with istanbul for multiple suites in some situations. Comparing the example tests side-by-side with the default runner (no fix applied):
However, when tests were run without any describe blocks, browser test coverage would be properly represented.
The Fix
packages/browser/src/client/runner.ts
now takes coverageonAfterRun
instead ofonAfterRunSuite
in a manner similar topackages/vitest/src/runtime/entry.ts
.Notes
I have a demo test package in
test/istanbul-browser-coverage
. I could use some guidance on the proper way to test this, if necessary. The code change did not fail the existing tests.