danielroe / nuxt-time

⏰ SSR-safe time element for Nuxt 3
MIT License
349 stars 15 forks source link

chore(deps): update test packages #164

Closed renovate[bot] closed 11 months ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@vitest/coverage-v8 (source) 0.33.0 -> 0.34.6 age adoption passing confidence
happy-dom 10.5.2 -> 10.11.2 age adoption passing confidence

Release Notes

vitest-dev/vitest (@​vitest/coverage-v8) ### [`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 [https://github.com/vitest-dev/vitest/issues/4164](https://togithub.com/vitest-dev/vitest/issues/4164) [(cbe13)](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 [https://github.com/vitest-dev/vitest/issues/4196](https://togithub.com/vitest-dev/vitest/issues/4196) [(e3408)](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 [https://github.com/vitest-dev/vitest/issues/4168](https://togithub.com/vitest-dev/vitest/issues/4168) [(730b2)](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 [https://github.com/vitest-dev/vitest/issues/4063](https://togithub.com/vitest-dev/vitest/issues/4063) [(b50cf)](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) [(a7e09)](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) [(d79cb)](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) [(1aee1)](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) [(e0ac9)](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) [(e8797)](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) [(e649d)](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) [(ba1e7)](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) [(725a0)](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) [(c21c0)](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) [(3c305)](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) [(175c7)](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) [(01e01)](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) [(8c315)](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) [(ca70a)](https://togithub.com/vitest-dev/vitest/commit/ca70a779) - Align vite dependency version with vitest  -  by [@​sheremet-va](https://togithub.com/sheremet-va) [(90ff8)](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) [(a084c)](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) [(b4d5a)](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) [(21ba4)](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) [(0c13c)](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) [(a84a8)](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) [(9f043)](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) [(59434)](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) [(b5bf3)](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) [(80741)](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) [(0d0f3)](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) [(410bc)](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) [(00e81)](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) [(f8ea7)](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) [(8b39c)](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) [(e78a4)](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) [(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) ### [`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) [(3c67a)](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) [(9608b)](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) [(0c6f6)](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) [(a90d6)](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) [(b0929)](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) [(dc4fa)](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) [(1cd4e)](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) [(4b946)](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) [(86934)](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) [(e8bc4)](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) [(c9aea)](https://togithub.com/vitest-dev/vitest/commit/c9aeac4c) #####    🐞 Bug Fixes - Isolate workers between envs and workspaces  -  by [@​AriPerkkio](https://togithub.com/AriPerkkio) [(ed4e0)](https://togithub.com/vitest-dev/vitest/commit/ed4e0424) - Modify condition  -  by [@​btea](https://togithub.com/btea) [(a78e6)](https://togithub.com/vitest-dev/vitest/commit/a78e6bd0) - Module Graph view is blocking the Console view  -  by [@​g4rry420](https://togithub.com/g4rry420) [(3b5f9)](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) [(9c8e3)](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) [(cdab4)](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) [(17988)](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) [(ee937)](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) [(5de9a)](https://togithub.com/vitest-dev/vitest/commit/5de9af26) - **core**: - DataView comparison does not work in `toStrictEqual`  -  by [@​Dunqing](https://togithub.com/Dunqing) [(52aef)](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) [(280e6)](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) [(f3bd9)](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) [(3c851)](https://togithub.com/vitest-dev/vitest/commit/3c851872) - **node**: - Guard error info  -  by [@​btea](https://togithub.com/btea) [(88b39)](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) [(51ab8)](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) [(45521)](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) [(711a6)](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) [(8bd26)](https://togithub.com/vitest-dev/vitest/commit/8bd26b01) #####    🏎 Performance - Deprecate deps.registerNodeLoader  -  by [@​sheremet-va](https://togithub.com/sheremet-va) [(7f45b)](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)
capricorn86/happy-dom (happy-dom) ### [`v10.11.2`](https://togithub.com/capricorn86/happy-dom/releases/tag/v10.11.2) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.11.1...v10.11.2) ##### :construction_worker_man: Patch fixes - Adds a check for if the selector text for a `CSSStyleRule` is valid when parsing a Stylesheet. Invalid selectors will be ignored (this is also how the spec is defined). ([#​1036](https://togithub.com/capricorn86/happy-dom/issues/1036)) ### [`v10.11.1`](https://togithub.com/capricorn86/happy-dom/compare/v10.11.0...v10.11.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.11.0...v10.11.1) ### [`v10.11.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v10.11.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.10.4...v10.11.0) ##### :art: Features - Implements the properties `childNodes` and `children` as getters. ([#​960](https://togithub.com/capricorn86/happy-dom/issues/960)) *** Thank you [@​edoardocavazza](https://togithub.com/edoardocavazza) for your contribution! ### [`v10.10.4`](https://togithub.com/capricorn86/happy-dom/releases/tag/v10.10.4) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.10.3...v10.10.4) ##### :construction_worker_man: Patch fixes - Adds support for "calc()" in CSS values in `CSSStyleDeclaration`. ([#​1014](https://togithub.com/capricorn86/happy-dom/issues/1014)) ### [`v10.10.3`](https://togithub.com/capricorn86/happy-dom/releases/tag/v10.10.3) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.10.2...v10.10.3) ##### :construction_worker_man: Patch fixes - Adds support for URLs in attributes that doesn't use apostrophs in XMLParser. ([#​999](https://togithub.com/capricorn86/happy-dom/issues/999)) ### [`v10.10.2`](https://togithub.com/capricorn86/happy-dom/releases/tag/v10.10.2) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.10.1...v10.10.2) ##### :construction_worker_man: Patch fixes - Sets default URL for [@​happy-dom/jest-environment](https://togithub.com/happy-dom/jest-environment) to "http://localhost". ([#​868](https://togithub.com/capricorn86/happy-dom/issues/868)) ### [`v10.10.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v10.10.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.10.0...v10.10.1) ##### :construction_worker_man: Patch fixes - Fixes wrong return type in `CSS.escape()`. ([#​1018](https://togithub.com/capricorn86/happy-dom/issues/1018)) *** Thank you [@​zuisong](https://togithub.com/zuisong) for your contribution! ### [`v10.10.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v10.10.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.9.0...v10.10.0) ##### :art: Features - Add "Content-Type" header when constructing `Request`. ([#​1016](https://togithub.com/capricorn86/happy-dom/issues/1016)) *** Thank you [@​orionmiz](https://togithub.com/orionmiz) for your contribution! ### [`v10.9.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v10.9.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.8.1...v10.9.0) ##### :art: Features - Adds support for `Node.isSameNode()`. ([#​757](https://togithub.com/capricorn86/happy-dom/issues/757)) ### [`v10.8.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v10.8.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.8.0...v10.8.1) ##### :construction_worker_man: Patch fixes - Fixes an issue where an exception was thrown when loading an iframe using a relative URL. The URL is now relative to the main document URL instead. ([#​1003](https://togithub.com/capricorn86/happy-dom/issues/1003)) ### [`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) ##### :construction_worker_man: 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) ##### :art: 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) ##### :construction_worker_man: 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) ##### :construction_worker_man: 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) ##### :art: 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) ##### :construction_worker_man: 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))

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - "before 4am on Monday" (UTC).

🚦 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 if that's undesired.



This PR has been generated by Mend Renovate. View repository job log here.

socket-security[bot] commented 1 year ago

No top level dependency changes detected. Learn more about Socket for GitHub ↗︎

coderabbitai[bot] commented 11 months ago

[!IMPORTANT]

Auto Review Skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on X ?


Tips ### Chat with CodeRabbit Bot (`@coderabbitai`) - You can reply to a review comment made by CodeRabbit. - You can tag CodeRabbit on specific lines of code or files in the PR by tagging `@coderabbitai` in a comment. - You can tag `@coderabbitai` in a PR comment and ask one-off questions about the PR and the codebase. Use quoted replies to pass the context for follow-up questions. ### CodeRabbit Commands (invoked as PR comments) - `@coderabbitai pause` to pause the reviews on a PR. - `@coderabbitai resume` to resume the paused reviews. - `@coderabbitai review` to trigger a review. This is useful when automatic reviews are disabled for the repository. - `@coderabbitai resolve` resolve all the CodeRabbit review comments. - `@coderabbitai help` to get help. Additionally, you can add `@coderabbitai ignore` anywhere in the PR description to prevent this PR from being reviewed. ### CodeRabbit Configration File (`.coderabbit.yaml`) - You can programmatically configure CodeRabbit by adding a `.coderabbit.yaml` file to the root of your repository. - The JSON schema for the configuration file is available [here](https://coderabbit.ai/integrations/coderabbit-overrides.v2.json). - If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: `# yaml-language-server: $schema=https://coderabbit.ai/integrations/coderabbit-overrides.v2.json`
codecov-commenter commented 11 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (0d3308d) 58.95% compared to head (4f6afc8) 58.95%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #164 +/- ## ======================================= Coverage 58.95% 58.95% ======================================= Files 5 5 Lines 134 134 Branches 14 14 ======================================= Hits 79 79 Misses 55 55 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.