Closed renovate[bot] closed 1 month ago
[!IMPORTANT]
Review skipped
Bot user detected.
To trigger a single review, invoke the
@coderabbitai review
command.You can disable this status message by setting the
reviews.review_status
tofalse
in the CodeRabbit configuration file.
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 your favorite social media?
This PR contains the following updates:
2.0.3
->2.0.4
14.1.0
->14.12.3
2.0.3
->2.0.4
Release Notes
vitest-dev/vitest (@vitest/coverage-v8)
### [`v2.0.4`](https://togithub.com/vitest-dev/vitest/releases/tag/v2.0.4) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v2.0.3...v2.0.4) ##### 🐞 Bug Fixes - One-line environment options - by [@hahanein](https://togithub.com/hahanein) in [https://github.com/vitest-dev/vitest/issues/5105](https://togithub.com/vitest-dev/vitest/issues/5105) [(38269)](https://togithub.com/vitest-dev/vitest/commit/38269415) - Resolve assets imported with `require` - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6159](https://togithub.com/vitest-dev/vitest/issues/6159) [(807a2)](https://togithub.com/vitest-dev/vitest/commit/807a2cbc) - **browser**: - Don't panic if [@vitest/browser](https://togithub.com/vitest/browser) is installed outside of project root - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6135](https://togithub.com/vitest-dev/vitest/issues/6135) [(ccfcd)](https://togithub.com/vitest-dev/vitest/commit/ccfcd488) - Set global filepath - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6190](https://togithub.com/vitest-dev/vitest/issues/6190) [(0d0b4)](https://togithub.com/vitest-dev/vitest/commit/0d0b46b1) - Allow preview and open in the editor screenshot error from ui - by [@userquin](https://togithub.com/userquin) in [https://github.com/vitest-dev/vitest/issues/6113](https://togithub.com/vitest-dev/vitest/issues/6113) [(2d620)](https://togithub.com/vitest-dev/vitest/commit/2d62051f) - **coverage**: - Global thresholds to include files from glob thresholds - by [@thor-juhasz](https://togithub.com/thor-juhasz) and [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/6172](https://togithub.com/vitest-dev/vitest/issues/6172) [(02e3f)](https://togithub.com/vitest-dev/vitest/commit/02e3f003) - Consistent type-only file handling - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/6183](https://togithub.com/vitest-dev/vitest/issues/6183) [(90576)](https://togithub.com/vitest-dev/vitest/commit/90576148) - Ignore `*.cts` files - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/6189](https://togithub.com/vitest-dev/vitest/issues/6189) [(5da45)](https://togithub.com/vitest-dev/vitest/commit/5da45db1) - Add `thresholds.capricorn86/happy-dom (happy-dom)
### [`v14.12.3`](https://togithub.com/capricorn86/happy-dom/releases/tag/v14.12.3) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.12.2...v14.12.3) ##### :construction_worker_man: Patch fixes - Element.insertBefore works when the node is already inserted - In task [#1429](https://togithub.com/capricorn86/happy-dom/issues/1429) ### [`v14.12.2`](https://togithub.com/capricorn86/happy-dom/releases/tag/v14.12.2) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.12.1...v14.12.2) ##### :construction_worker_man: Patch fixes - Fixes problem related to the cookie container using the wrong path when caching cookies - By **[@matcic](https://togithub.com/matcic)** in task [#1455](https://togithub.com/capricorn86/happy-dom/issues/1455) ### [`v14.12.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v14.12.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.12.0...v14.12.1) ##### :construction_worker_man: Patch fixes - Fixes problem related to React click handler with `preventDefault` not preventing navigation - By **[@amitdahan](https://togithub.com/amitdahan)** in task [#1464](https://togithub.com/capricorn86/happy-dom/issues/1464) ### [`v14.12.0`](https://togithub.com/capricorn86/happy-dom/compare/v14.11.4...ef2dfeafc7673d53776f8db1a313fecaed5074f4) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.11.4...v14.12.0) ### [`v14.11.4`](https://togithub.com/capricorn86/happy-dom/compare/v14.11.3...v14.11.4) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.11.3...v14.11.4) ### [`v14.11.3`](https://togithub.com/capricorn86/happy-dom/compare/v14.11.2...f021a3305a20d0f0613d50c30ee694be831faa95) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.11.2...v14.11.3) ### [`v14.11.2`](https://togithub.com/capricorn86/happy-dom/compare/v14.11.1...db97904b3a11e575269a15bbb70031399729ff45) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.11.1...v14.11.2) ### [`v14.11.1`](https://togithub.com/capricorn86/happy-dom/compare/v14.11.0...6ada81698021c35f074e575ec232d1bb7bafb4bc) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.11.0...v14.11.1) ### [`v14.11.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v14.11.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.10.3...v14.11.0) ##### :art: Features - Adds support for `HTMLTimeElement` - By **[@r-thomson](https://togithub.com/r-thomson)** in task [#1431](https://togithub.com/capricorn86/happy-dom/issues/1431) ### [`v14.10.3`](https://togithub.com/capricorn86/happy-dom/releases/tag/v14.10.3) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.10.2...v14.10.3) ##### :construction_worker_man: Patch fixes - Adds check for if Window and MutationObserver has been destroyed when triggering listeners - By **[@capricorn86](https://togithub.com/capricorn86)** in task [#1436](https://togithub.com/capricorn86/happy-dom/issues/1436) ### [`v14.10.2`](https://togithub.com/capricorn86/happy-dom/releases/tag/v14.10.2) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.10.1...v14.10.2) ##### :construction_worker_man: Patch fixes - `HTMLAnchorElement`, `HTMLButtonElement`, `HTMLInputElement` and `HTMLLabelElement` checked that click events triggering native behavior was of type `PointerEvent`, but should check that they are of type `MouseEvent` - By **[@capricorn86](https://togithub.com/capricorn86)** in task [#1397](https://togithub.com/capricorn86/happy-dom/issues/1397) ### [`v14.10.1`](https://togithub.com/capricorn86/happy-dom/compare/v14.10.0...v14.10.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.10.0...v14.10.1) ### [`v14.10.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v14.10.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.9.0...v14.10.0) ##### :art: Features - Adds support for `Document.elementFromPoint()` - By **[@TreyVigus](https://togithub.com/TreyVigus)** in task [#1400](https://togithub.com/capricorn86/happy-dom/issues/1400) - The method will always return `null` as Happy DOM doesn't support rendering and can't calculate an element's position based on where it is rendered ### [`v14.9.0`](https://togithub.com/capricorn86/happy-dom/compare/v14.8.3...2e0329100edf7aef9987146b35024c0b90fab2aa) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.8.3...v14.9.0) ### [`v14.8.3`](https://togithub.com/capricorn86/happy-dom/releases/tag/v14.8.3) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.8.2...v14.8.3) ##### :construction_worker_man: Patch fixes - Fixes issue related to `Element.insertBefore()` not removing comment node from previous ancestor - By **[@mdafanasev](https://togithub.com/mdafanasev)** in task [#1406](https://togithub.com/capricorn86/happy-dom/issues/1406) ### [`v14.8.2`](https://togithub.com/capricorn86/happy-dom/compare/2a8030f7a990cf258d703bdcc895c36213f375ba...9095b2ddc7b013eedb83c670d29fc97b27ae0ddf) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.8.1...v14.8.2) ### [`v14.8.1`](https://togithub.com/capricorn86/happy-dom/compare/v14.8.0...2a8030f7a990cf258d703bdcc895c36213f375ba) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.8.0...v14.8.1) ### [`v14.8.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v14.8.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.7.1...v14.8.0) ##### :art: Features - Adds support for the `HTMLIFrameElement.srcdoc` property - By **[@jeffwcx](https://togithub.com/jeffwcx)** in task [#1398](https://togithub.com/capricorn86/happy-dom/issues/1398) ### [`v14.7.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v14.7.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.7.0...v14.7.1) ##### :construction_worker_man: Patch fixes - Adds support for using Node.prototype.cloneNode.call - By **[@capricorn86](https://togithub.com/capricorn86)** in task [#1392](https://togithub.com/capricorn86/happy-dom/issues/1392) ### [`v14.7.0`](https://togithub.com/capricorn86/happy-dom/compare/v14.6.2...4849b6200862f1bd041828fc325e863ac6e62c20) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.6.2...v14.7.0) ### [`v14.6.2`](https://togithub.com/capricorn86/happy-dom/releases/tag/v14.6.2) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.6.1...v14.6.2) ##### :construction_worker_man: Patch fixes - Makes it possible to spy on `Storage.prototype` methods - By **[@capricorn86](https://togithub.com/capricorn86)** in task [#1377](https://togithub.com/capricorn86/happy-dom/issues/1377) - Read more about this in the Wiki under [Use as Test Environment](https://togithub.com/capricorn86/happy-dom/wiki/Use-as-Test-Environment#storage) ### [`v14.6.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v14.6.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.6.0...v14.6.1) ##### :construction_worker_man: Patch fixes - Fixes bug where `Document.createTextNode()` didn't handle conversion of non-string values to string - By **[@odanado](https://togithub.com/odanado)** in task [#1380](https://togithub.com/capricorn86/happy-dom/issues/1380) - Adds support for throwing an exception when no argument is submitted to `Document.createTextNode()` - By **[@odanado](https://togithub.com/odanado)** in task [#1380](https://togithub.com/capricorn86/happy-dom/issues/1380) ### [`v14.6.0`](https://togithub.com/capricorn86/happy-dom/compare/a02626114b332462dcd60c938cf2f7b677f10e9e...5c745d4efa71c9bc31a5ae4a12838cadabe9069a) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.5.2...v14.6.0) ### [`v14.5.2`](https://togithub.com/capricorn86/happy-dom/compare/v14.5.1...a02626114b332462dcd60c938cf2f7b677f10e9e) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.5.1...v14.5.2) ### [`v14.5.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v14.5.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.5.0...v14.5.1) ##### :construction_worker_man: Patch fixes - Fixes problem with Document.defaultView not referring to the global object when using GlobalRegistrator - By **[@capricorn86](https://togithub.com/capricorn86)** in task [#1367](https://togithub.com/capricorn86/happy-dom/issues/1367) ### [`v14.5.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v14.5.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.4.0...v14.5.0) ##### :art: Features - Adds support for handling "application/x-www-form-urlencoded" in `Request.formData()` - By [@tt-public](https://togithub.com/tt-public) in [#1379](https://togithub.com/capricorn86/happy-dom/issues/1379) ### [`v14.4.0`](https://togithub.com/capricorn86/happy-dom/compare/v14.3.10...v14.4.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.3.10...v14.4.0) ### [`v14.3.10`](https://togithub.com/capricorn86/happy-dom/releases/tag/v14.3.10) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.3.9...v14.3.10) ##### :construction_worker_man: Patch fixes - Fixes problem related to CSS properties not being used when defined after the CSS value - By **[@capricorn86](https://togithub.com/capricorn86)** in task [#1364](https://togithub.com/capricorn86/happy-dom/issues/1364) ### [`v14.3.9`](https://togithub.com/capricorn86/happy-dom/releases/tag/v14.3.9) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.3.8...v14.3.9) ##### :construction_worker_man: Patch fixes - Fixes problem with spying on properties in Storage - By **[@capricorn86](https://togithub.com/capricorn86)** in task [#1368](https://togithub.com/capricorn86/happy-dom/issues/1368) ### [`v14.3.8`](https://togithub.com/capricorn86/happy-dom/releases/tag/v14.3.8) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.3.7...v14.3.8) ##### :construction_worker_man: Patch fixes - Fixes problem when the error for the invalid selectors `:is` and :`where` (without argument) was not handled correctly - By **[@capricorn86](https://togithub.com/capricorn86)** in task [#1352](https://togithub.com/capricorn86/happy-dom/issues/1352) ### [`v14.3.7`](https://togithub.com/capricorn86/happy-dom/releases/tag/v14.3.7) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.3.6...v14.3.7) ##### :construction_worker_man: Patch fixes - Makes `DOMTokenList` iterable - By [@silverwind](https://togithub.com/silverwind) in task [#1342](https://togithub.com/capricorn86/happy-dom/issues/1342) ### [`v14.3.6`](https://togithub.com/capricorn86/happy-dom/releases/tag/v14.3.6) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.3.5...v14.3.6) ##### :construction_worker_man: Patch fixes - Adds support for parsing shorthand comments - By **[@capricorn86](https://togithub.com/capricorn86)** in task [#1288](https://togithub.com/capricorn86/happy-dom/issues/1288) ### [`v14.3.5`](https://togithub.com/capricorn86/happy-dom/compare/v14.3.4...06b556ca5f3fe6fcb3abc7ee9b1255b3d3ed5c6f) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.3.4...v14.3.5) ### [`v14.3.4`](https://togithub.com/capricorn86/happy-dom/compare/v14.3.3...1fa9701d374dbf57c5e54bcbd877828cd007603c) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.3.3...v14.3.4) ### [`v14.3.3`](https://togithub.com/capricorn86/happy-dom/compare/v14.3.2...6cbe8c09c98ae8b310da0c8b6acb37b1b7820981) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.3.2...v14.3.3) ### [`v14.3.2`](https://togithub.com/capricorn86/happy-dom/releases/tag/v14.3.2) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.3.1...v14.3.2) ##### :construction_worker_man: Patch fixes - LocalStorage.setItem non-string value should to be string - By **[@betterqualityassuranceuser](https://togithub.com/betterqualityassuranceuser)** in task [#1347](https://togithub.com/capricorn86/happy-dom/issues/1347) ### [`v14.3.1`](https://togithub.com/capricorn86/happy-dom/compare/v14.3.0...b5af02b6d2d9cb940890983b3a2ec35155d8cba6) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.3.0...v14.3.1) ### [`v14.3.0`](https://togithub.com/capricorn86/happy-dom/compare/v14.2.1...96b06e654c258835c3c13d81701994169b6174a0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.2.1...v14.3.0) ### [`v14.2.1`](https://togithub.com/capricorn86/happy-dom/compare/v14.2.0...2ce84c0c2b7a9679b54b15ac00a0a0a97f90d6e9) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.2.0...v14.2.1) ### [`v14.2.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v14.2.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.1.2...v14.2.0) ##### :art: Features - Adds support for the pseudo selectors `:is()` and `:where()` - By **[@capricorn86](https://togithub.com/capricorn86)** in task [#1333](https://togithub.com/capricorn86/happy-dom/issues/1333) ### [`v14.1.2`](https://togithub.com/capricorn86/happy-dom/releases/tag/v14.1.2) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.1.1...v14.1.2) ##### :construction_worker_man: Patch fixes - Fixes problem with properties defined as getters and setters not being registered globally by Vitest - By **[@capricorn86](https://togithub.com/capricorn86)** in task [#1339](https://togithub.com/capricorn86/happy-dom/issues/1339) - The problem occurred as Vitest is using `Object.getOwnPropertyDescriptors(window)` to read which properties to register globally, but getters and setters are defined on the prototype - To solve the problem, `GlobalWindow` now defines the properties on the instance when it is constructed ### [`v14.1.1`](https://togithub.com/capricorn86/happy-dom/compare/v14.1.0...7e006f57b71b0979ec8992cbf9ee20221ebafa78) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.1.0...v14.1.1)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 was generated by Mend Renovate. View the repository job log.