vitest-dev/vitest (vitest)
### [`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) [(c03fa)](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) [(5704b)](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) [(5eb85)](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) [(20263)](https://togithub.com/vitest-dev/vitest/commit/20263d9d)
- Report file error as a 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) [(00c43)](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) [(b42cf)](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) [(8caab)](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) [(dff60)](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) [(74dc5)](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) [(f4e6e)](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) [(5c88d)](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) [(a08e5)](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) [(d1a08)](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) [(3e1e7)](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) [(0c53e)](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) [(7d1f8)](https://togithub.com/vitest-dev/vitest/commit/7d1f86b8)
- Check memory and limit value - by [@sheremet-va](https://togithub.com/sheremet-va) [(f8dfb)](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) [(3a3eb)](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) [(e73ca)](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) [(1c08d)](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) [(91fe4)](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) [(bcb41)](https://togithub.com/vitest-dev/vitest/commit/bcb41e51)
- Typo of mocks plugin name - by [@antfu](https://togithub.com/antfu) [(3073b)](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) [(0f8e6)](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) [(3891d)](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) [(9423b)](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) [(7b740)](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) [(35139)](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) [(6ecfc)](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) [(edb32)](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) [(eca4b)](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) [(15b4f)](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) [(6a0cb)](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) [(a428f)](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) [(e9404)](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)
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.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
0.34.1
->0.34.3
Release Notes
vitest-dev/vitest (vitest)
### [`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) [(c03fa)](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) [(5704b)](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) [(5eb85)](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) [(20263)](https://togithub.com/vitest-dev/vitest/commit/20263d9d) - Report file error as aConfiguration
📅 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.
This PR has been generated by Mend Renovate. View repository job log here.