Closed renovate[bot] closed 10 months ago
No top level dependency changes detected. Learn more about Socket for GitHub ↗︎
[!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 ?
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
0d3308d
) 58.95% compared to head (4f6afc8
) 58.95%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This PR contains the following updates:
0.33.0
->0.34.6
10.5.2
->10.11.2
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 acapricorn86/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.