freddy38510 / vue3-lazy-hydration

Lazy Hydration for Vue 3 SSR
MIT License
145 stars 5 forks source link

chore(deps): update dependency happy-dom to v12 - autoclosed #83

Closed renovate[bot] closed 8 months ago

renovate[bot] commented 11 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
happy-dom 7.7.0 -> 12.10.3 age adoption passing confidence

Release Notes

capricorn86/happy-dom (happy-dom) ### [`v12.10.3`](https://togithub.com/capricorn86/happy-dom/releases/tag/v12.10.3) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v12.10.2...v12.10.3) ##### :construction_worker_man: Patch fixes - Fix for week being wrong sometimes as it is not calculated as UTC in `HTMLInputElement.valueAsDate()`. ([#​1144](https://togithub.com/capricorn86/happy-dom/issues/1144)) *** Thank you [@​IGx89](https://togithub.com/IGx89) for your contribution! ### [`v12.10.2`](https://togithub.com/capricorn86/happy-dom/releases/tag/v12.10.2) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v12.10.1...v12.10.2) ##### :construction_worker_man: Patch fixes - `Element.cloneNode()` should not clone scroll properties. ([#​1148](https://togithub.com/capricorn86/happy-dom/issues/1148)) ### [`v12.10.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v12.10.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v12.10.0...v12.10.1) ##### :construction_worker_man: Patch fixes - Fixes wrong callback parameter order of "key" and "value" in `FormData.forEach()`. ([#​1136](https://togithub.com/capricorn86/happy-dom/issues/1136)) *** Thank you [@​armandabric](https://togithub.com/armandabric) for your contribution! ### [`v12.10.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v12.10.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v12.9.2...v12.10.0) ##### :art: Features - Adds support for `Navigator.sendBeacon()`. ([#​309](https://togithub.com/capricorn86/happy-dom/issues/309)) - Adds support for the property `Window.CSSStyleDeclaration`. ([#​309](https://togithub.com/capricorn86/happy-dom/issues/309)) ### [`v12.9.2`](https://togithub.com/capricorn86/happy-dom/releases/tag/v12.9.2) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v12.9.1...v12.9.2) ##### :construction_worker_man: Patch fixes - Fixes Node 18.18.2+ support in `@happy-dom/global-registrator` by not binding classes to the global object. ([#​1140](https://togithub.com/capricorn86/happy-dom/issues/1140)) *** Thank you [@​IGx89](https://togithub.com/IGx89) for your contribution! ### [`v12.9.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v12.9.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v12.9.0...v12.9.1) ##### :construction_worker_man: Patch fixes - Fixes typo in documentation. ([#​1123](https://togithub.com/capricorn86/happy-dom/issues/1123)) *** Thank you [@​goring](https://togithub.com/goring) for your contribution! ### [`v12.9.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v12.9.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v12.8.1...v12.9.0) ##### :art: Features - Improves performance of the async task manager. This will improve performance of timers in general as they have less logic executed related to the async task manager. ([#​1114](https://togithub.com/capricorn86/happy-dom/issues/1114)) ### [`v12.8.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v12.8.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v12.8.0...v12.8.1) ##### :construction_worker_man: Patch fixes - Adds missing second parameter in callbacks from `MutationObserver`. ([#​1113](https://togithub.com/capricorn86/happy-dom/issues/1113)) *** Thank you [@​wojtekmaj](https://togithub.com/wojtekmaj) for your contribution! ### [`v12.8.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v12.8.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v12.7.0...v12.8.0) ##### :art: Features - Adds support for `Clipboard`, `ClipboardItem`, `Permissions` and `PermissionStatus`, which are used by the `Window.navigator.clipboard` and `Window.navigator.permissions` properties. ([#​833](https://togithub.com/capricorn86/happy-dom/issues/833)) - Adds support for `ClipboardEvent`. ([#​833](https://togithub.com/capricorn86/happy-dom/issues/833)) - Improves support for `DataTransfer`, `DataTransferItemList` and `DataTransferItem`. ([#​833](https://togithub.com/capricorn86/happy-dom/issues/833)) - Adds `MutationRecord` class to `Window` as a property. ([#​1112](https://togithub.com/capricorn86/happy-dom/issues/1112)) ##### :construction_worker_man: Patch fixes - Restores `HTMLInputElement.checked` state when `Event.preventDefault()` is called on a dispatched "click" event. ### [`v12.7.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v12.7.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v12.6.0...v12.7.0) ##### :art: Features - Adds support for `Element.scrollWidth`. ([#​1109](https://togithub.com/capricorn86/happy-dom/issues/1109)) ### [`v12.6.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v12.6.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v12.5.1...v12.6.0) ##### :art: Features - Adds support for dispatching a click event on the control element when clicking on a label. ([#​1023](https://togithub.com/capricorn86/happy-dom/issues/1023)) ### [`v12.5.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v12.5.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v12.5.0...v12.5.1) ##### :art: Features - Adds support for `DocumentFragment` as a constructor (e.g. `new DocumentFragment()`). ([#​940](https://togithub.com/capricorn86/happy-dom/issues/940)) ##### :construction_worker_man: Patch fixes - Fixes issue related to `ownerDocument` being null when executing `ownerDocument.createElement()` in React 18. The error occurred when rendering a Radix UI component. The root cause was that React 18 uses `DocumentFragment` as a constructor which was not supported. ([#​940](https://togithub.com/capricorn86/happy-dom/issues/940)) ### [`v12.5.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v12.5.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v12.4.0...v12.5.0) ##### :art: Features - Add `FocusEvent.relatedTarget` to blur and focus events. ([#​1094](https://togithub.com/capricorn86/happy-dom/issues/1094)) *** Thank you [@​artursvonda](https://togithub.com/artursvonda) for your contribution! ### [`v12.4.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v12.4.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v12.3.0...v12.4.0) ##### :art: Features - Add support for `Document.currentScript`. ([#​1099](https://togithub.com/capricorn86/happy-dom/issues/1099)) *** Thank you [@​ckhampus](https://togithub.com/ckhampus) for your contribution! ### [`v12.3.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v12.3.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v12.2.2...v12.3.0) ##### :art: Features - Uses `vm.Script` for setting globals instead of a string to improve performance. ([#​1102](https://togithub.com/capricorn86/happy-dom/issues/1102)) ##### :construction_worker_man: Patch fixes - Improves logic in `Window.happyDOM.whenAsyncComplete()`. ([#​1102](https://togithub.com/capricorn86/happy-dom/issues/1102)) ### [`v12.2.2`](https://togithub.com/capricorn86/happy-dom/releases/tag/v12.2.2) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v12.2.1...v12.2.2) ##### :construction_worker_man: Patch fixes - Makes `PointerEvent` implementation more specification compliant. ([#​1092](https://togithub.com/capricorn86/happy-dom/issues/1092)) *** Thank you [@​tkrotoff](https://togithub.com/tkrotoff) for your contribution! ### [`v12.2.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v12.2.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v12.2.0...v12.2.1) ##### :construction_worker_man: Patch fixes - Adds support for `Symbol.toStringTag` to `EventTarget` and `AbortSignal`. ([#​1097](https://togithub.com/capricorn86/happy-dom/issues/1097)) *** Thank you [@​Afsoon](https://togithub.com/Afsoon) for your contribution! ### [`v12.2.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v12.2.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v12.1.7...v12.2.0) ##### :art: Features - Adds support for `HTMLElement.clientLeft` and `HTMLElement.clientTop`. ([#​1089](https://togithub.com/capricorn86/happy-dom/issues/1089)) *** Thank you [@​konomae](https://togithub.com/konomae) for your contribution! ### [`v12.1.7`](https://togithub.com/capricorn86/happy-dom/releases/tag/v12.1.7) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v12.1.6...v12.1.7) ##### :construction_worker_man: Patch fixes - Makes `NamedNodeMap.removeNamedItem()` throw an exception on missing item. ([#​652](https://togithub.com/capricorn86/happy-dom/issues/652)) - Allow deletion of nonexistent keys from `HTMLElement.dataset`. Deleting a nonexistent key in a dataset will not throw an exception, even though it indirectly is using `NamedNodeMap.removeNamedItem()`. ([#​652](https://togithub.com/capricorn86/happy-dom/issues/652)) *** Thank you [@​RussianCow](https://togithub.com/RussianCow) for your contribution! ### [`v12.1.6`](https://togithub.com/capricorn86/happy-dom/releases/tag/v12.1.6) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v12.1.5...v12.1.6) ##### :construction_worker_man: Patch fixes - Fixes bug in `URL.createObjectURL()` where it did not support the Happy DOM `Blob` object. ([#​847](https://togithub.com/capricorn86/happy-dom/issues/847)) - Makes sure that HTMLUnknownElement is disconnected from its parent when replaced by a custom element. ([#​1087](https://togithub.com/capricorn86/happy-dom/issues/1087)) ### [`v12.1.5`](https://togithub.com/capricorn86/happy-dom/releases/tag/v12.1.5) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v12.1.4...v12.1.5) ##### :construction_worker_man: Patch fixes - Fixes issue related to functions not being bound to global when using `GlobalRegistrator` from [@​happy-dom/global-registrator](https://togithub.com/capricorn86/happy-dom/tree/master/packages/global-registrator). ([#​1082](https://togithub.com/capricorn86/happy-dom/issues/1082)) ### [`v12.1.4`](https://togithub.com/capricorn86/happy-dom/releases/tag/v12.1.4) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v12.1.3...v12.1.4) ##### :construction_worker_man: Patch fixes - Fixes issue related to `global.window` not referring to global when using `GlobalRegistrator` from [@​happy-dom/global-registrator](https://togithub.com/capricorn86/happy-dom/tree/master/packages/global-registrator). ([#​1049](https://togithub.com/capricorn86/happy-dom/issues/1049)) ### [`v12.1.3`](https://togithub.com/capricorn86/happy-dom/releases/tag/v12.1.3) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v12.1.2...v12.1.3) ##### :construction_worker_man: Patch fixes - Allows global properties to be overwritten when using `GlobalRegistrator` from [@​happy-dom/global-registrator](https://togithub.com/capricorn86/happy-dom/tree/master/packages/global-registrator), as some global properties may behave different from the Happy DOM implementation. The properties will be restored when unregistering. ([#​1049](https://togithub.com/capricorn86/happy-dom/issues/1049)) ### [`v12.1.2`](https://togithub.com/capricorn86/happy-dom/releases/tag/v12.1.2) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v12.1.1...v12.1.2) ##### :construction_worker_man: Patch fixes - Adds support for `Document.referrer`. ([#​653](https://togithub.com/capricorn86/happy-dom/issues/653)) ### [`v12.1.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v12.1.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v12.1.0...v12.1.1) ##### :construction_worker_man: Patch fixes - Fixes issue related to wrong computed style for "display" being return for HTMLDialogElement when it is open. It returned `display: none`, but should return `display: block`. This caused testing-library to not return the element when using `getByRole('dialog')`. ([#​802](https://togithub.com/capricorn86/happy-dom/issues/802)) ### [`v12.1.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v12.1.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v12.0.1...v12.1.0) ##### :art: Features - Adds support for a new setting called [disableErrorCapturing](https://togithub.com/capricorn86/happy-dom/wiki/Settings#available-settings). Happy DOM will by default try to catch errors in functionality such as scripts, timers and event listeners. This setting makes it possible it to disable this behavior. ([#​1073](https://togithub.com/capricorn86/happy-dom/issues/1073)) ### [`v12.0.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v12.0.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v12.0.0...v12.0.1) ##### :construction_worker_man: Patch fixes - Fixes "\__dirname not defined" error when using ESM. The error was introduced in [v12.0.0](https://togithub.com/capricorn86/happy-dom/releases/tag/v12.0.0). ([#​1069](https://togithub.com/capricorn86/happy-dom/issues/1069)) *** Thank you [@​ekwoka](https://togithub.com/ekwoka) for collaborating on a fix! ### [`v12.0.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v12.0.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v11.2.0...v12.0.0) ##### :bomb: Breaking Changes - Changes the default user agent. The default user agent will now be `Mozilla/5.0 (X11; {process.platform} {process.arch}) AppleWebKit/537.36 (KHTML, like Gecko) HappyDOM/{packageVersion}`. ([#​1067](https://togithub.com/capricorn86/happy-dom/issues/1067)) ##### :art: Features - It is now possible to pass user agent as an option to the `Window` constructor or by setting `Window.happyDOM.settings.navigator.userAgent`. ([#​1067](https://togithub.com/capricorn86/happy-dom/issues/1067)) - React will no longer output the message `Download the React DevTools for a better development experience` to the console when using the default user agent. It was previously detected as a supported browser. ([#​1067](https://togithub.com/capricorn86/happy-dom/issues/1067)) ### [`v11.2.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v11.2.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v11.1.2...v11.2.0) ##### :art: Features - Adds support for `Window.crypto`. ([#​1050](https://togithub.com/capricorn86/happy-dom/issues/1050)) *** Thank you [@​Ayc0](https://togithub.com/Ayc0) for your contribution! ### [`v11.1.2`](https://togithub.com/capricorn86/happy-dom/releases/tag/v11.1.2) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v11.1.1...v11.1.2) ##### :construction_worker_man: Patch fixes - Only dispatch "close" event in `HTMLDialogElement.close()` when dialog was open. ([#​1064](https://togithub.com/capricorn86/happy-dom/issues/1064)) *** Thank you [@​Schleuse](https://togithub.com/Schleuse) for your contribution! ### [`v11.1.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v11.1.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v11.1.0...v11.1.1) ##### :construction_worker_man: Patch fixes - Adds support for the mime type "image/svg+xml" to `DOMParser.parseFromString()`. It will no longer add HTML tags when parsing SVGs. ([#​1040](https://togithub.com/capricorn86/happy-dom/issues/1040)) *** Thank you [@​drtimwright](https://togithub.com/drtimwright) for your contribution! ### [`v11.1.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v11.1.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v11.0.6...v11.1.0) ##### :art: Features - Add support for handling the `` element as a an SVG element. ([#​1034](https://togithub.com/capricorn86/happy-dom/issues/1034)) *** Thank you [@​ottoszika](https://togithub.com/ottoszika) for your contribution! ### [`v11.0.6`](https://togithub.com/capricorn86/happy-dom/releases/tag/v11.0.6) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v11.0.5...v11.0.6) ##### :construction_worker_man: Patch fixes - Fixes issue related to Jest module mocker in "[@​happy-dom/jest-environment](https://togithub.com/happy-dom/jest-environment)". ([#​1062](https://togithub.com/capricorn86/happy-dom/issues/1062)) ### [`v11.0.5`](https://togithub.com/capricorn86/happy-dom/releases/tag/v11.0.5) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v11.0.4...v11.0.5) ##### :construction_worker_man: Patch fixes - Increases timeout in `Window.happyDOM.whenAsyncComplete()`. ([#​1059](https://togithub.com/capricorn86/happy-dom/issues/1059)) ### [`v11.0.4`](https://togithub.com/capricorn86/happy-dom/releases/tag/v11.0.4) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v11.0.3...v11.0.4) ##### :construction_worker_man: Patch fixes - Jest was using `setTimeout` from Happy DOM internally for detecting when a test times out. This caused `Window.happyDOM.whenAsyncComplete()` and `Window.happyDOM.cancelAsync()` to not work as expected inside Jest. This is a bug in Jest, but this release adds a temporary fix to "[@​happy-dom/jest-environment](https://togithub.com/happy-dom/jest-environment)" until Jest has solved it. ([#​1057](https://togithub.com/capricorn86/happy-dom/issues/1057)) ### [`v11.0.3`](https://togithub.com/capricorn86/happy-dom/releases/tag/v11.0.3) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v11.0.2...v11.0.3) ##### :construction_worker_man: Patch fixes - Fixes an issue where the Promise returned by `Window.happyDOM.whenAsyncComplete()` was resolved to early in some scenarios. ([#​1053](https://togithub.com/capricorn86/happy-dom/issues/1053)) ### [`v11.0.2`](https://togithub.com/capricorn86/happy-dom/releases/tag/v11.0.2) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v11.0.1...v11.0.2) ##### :construction_worker_man: Patch fixes - Fixes documentation for packages in README.md. ([#​1047](https://togithub.com/capricorn86/happy-dom/issues/1047)) ### [`v11.0.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v11.0.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v11.0.0...v11.0.1) ##### :construction_worker_man: Patch fixes - Adds Virtual Console to Happy DOM index file. ([#​1045](https://togithub.com/capricorn86/happy-dom/issues/1045)) ### [`v11.0.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v11.0.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.11.2...v11.0.0) ##### :bomb: Breaking Changes - Adds a new [Virtual Console](https://togithub.com/capricorn86/happy-dom/wiki/Virtual-Console) that by default will output all log entries to a Virtual Console Printer instead of using the global Node.js console. ([#​1030](https://togithub.com/capricorn86/happy-dom/issues/1030)) - Improves logic for catching errors in scripts, event listeners and timers. ([#​1030](https://togithub.com/capricorn86/happy-dom/issues/1030)) ##### :art: Features - Adds a new NPM package called [@​happy-dom/uncaught-exception-observer](https://togithub.com/capricorn86/happy-dom/tree/master/packages/uncaught-exception-observer) that can be used for catching uncaught errors that are not possible to catch on a local level. ([#​1030](https://togithub.com/capricorn86/happy-dom/issues/1030)) ##### :construction_worker_man: Patch fixes - Uses the default `eval()` for evaluating code instead of custom logic. This will make it possible to read context variables. [#​1025](https://togithub.com/capricorn86/happy-dom/issues/1025) *** Thank you [@​joeframbach](https://togithub.com/joeframbach) for contributing with logic related to the `eval()` functionality! ### [`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)) ### [`v10.5.2`](https://togithub.com/capricorn86/happy-dom/releases/tag/v10.5.2) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.5.1...v10.5.2) ##### :construction_worker_man: Patch fixes - Adds support for using an escape character in attribute query selectors (e.g. `[ab="a\\:b"]`). ([#​632](https://togithub.com/capricorn86/happy-dom/issues/632)) ### [`v10.5.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v10.5.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.5.0...v10.5.1) ##### :construction_worker_man: Patch fixes - Fixes problem where `HTMLIFrameElement` fails to load page. The problem was most likely that some libraries overrides the `Document.defaultView` property somehow, making `Document.defaultView.constructor` not being the `Window` constructor. ([#​992](https://togithub.com/capricorn86/happy-dom/issues/992)) ### [`v10.5.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v10.5.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.4.0...v10.5.0) ##### :art: Features - Fixes issue where CSS values with parentheses wasn't correctly parsed if the values also contained a comma. ([#​976](https://togithub.com/capricorn86/happy-dom/issues/976)) - This fix should also fix a problem related to parsing a CSS string that ends with a variable setter. ([#​670](https://togithub.com/capricorn86/happy-dom/issues/670)) *** Thank you [@​malko](https://togithub.com/malko) for your contribution! ### [`v10.4.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v10.4.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.3.2...v10.4.0) ##### :art: Features - Adds support for `MouseEvent.movementX` and `MouseEvent.movementY`. ([#​953](https://togithub.com/capricorn86/happy-dom/issues/953)) *** Thank you [@​mertcan](https://togithub.com/mertcan) for your contribution! ### [`v10.3.2`](https://togithub.com/capricorn86/happy-dom/releases/tag/v10.3.2) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.3.1...v10.3.2) ##### :construction_worker_man: Patch fixes - Fixes problem with "?" in attribute names, not being parsed correctly in `XMLParser`. ([#​984](https://togithub.com/capricorn86/happy-dom/issues/984)) - Fixes problem with single quoted attributes (') not being parsed correctly in `XMLParser`. ([#​984](https://togithub.com/capricorn86/happy-dom/issues/984)) ### [`v10.3.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v10.3.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.3.0...v10.3.1) ##### :construction_worker_man: Patch fixes - Fixes problem where lit-html is using special characters in attributes, causing the `XMLParser` not to be able to parse the attribute correctly. ([#​982](https://togithub.com/capricorn86/happy-dom/issues/982)) ### [`v10.3.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v10.3.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.2.0...v10.3.0) ##### :art: Features - Adds support for `HTMLInputElement.valueAsDate`. ([#​977](https://togithub.com/capricorn86/happy-dom/issues/977)) *** Thank you [@​malko](https://togithub.com/malko) for your contribution! ### [`v10.2.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v10.2.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.1.1...v10.2.0) ##### :art: Features - Adds support for `Window.queueMicrotask()`. ([#​959](https://togithub.com/capricorn86/happy-dom/issues/959)) ### [`v10.1.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v10.1.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.1.0...v10.1.1) ##### :construction_worker_man: Patch fixes - Fixes bug where `Document.getRootNode()` returned null, but should return the document. ([#​950](https://togithub.com/capricorn86/happy-dom/issues/950)) *** [@​Schleuse](https://togithub.com/Schleuse) thank you for your contribution! ### [`v10.1.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v10.1.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.0.7...v10.1.0) ##### :art: Features - Adds support for `HTMLInputElement.valueAsNumber`. ([#​945](https://togithub.com/capricorn86/happy-dom/issues/945)) - Adds support for sanitizing values in input fields of type date, month, time and week in `HTMLInputElement.value`. ([#​945](https://togithub.com/capricorn86/happy-dom/issues/945)) *** Thank you [@​malko](https://togithub.com/malko) for your contribution! ### [`v10.0.7`](https://togithub.com/capricorn86/happy-dom/compare/v10.0.6...v10.0.7) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.0.6...v10.0.7) ### [`v10.0.6`](https://togithub.com/capricorn86/happy-dom/releases/tag/v10.0.6) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.0.5...v10.0.6) ##### :construction_worker_man: Patch fixes - Adds a timeout before dispatching the event in `Window.postMessage()` to better simulate the browser behavior. ([#​948](https://togithub.com/capricorn86/happy-dom/issues/948)) *** Thank you for your contribution [@​DylanPiercey](https://togithub.com/DylanPiercey)! ### [`v10.0.5`](https://togithub.com/capricorn86/happy-dom/releases/tag/v10.0.5) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.0.4...v10.0.5) ##### :construction_worker_man: Patch fixes - Fixes parsing of pseudo elements in CSS query selectors (e.g. "::-webkit-inner-spin-button"). ([#​939](https://togithub.com/capricorn86/happy-dom/issues/939)) *** Thank you [@​btea](https://togithub.com/btea) for your contribution! ### [`v10.0.4`](https://togithub.com/capricorn86/happy-dom/compare/v10.0.3...v10.0.4) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.0.3...v10.0.4) ### [`v10.0.3`](https://togithub.com/capricorn86/happy-dom/releases/tag/v10.0.3) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.0.2...v10.0.3) ##### :construction_worker_man: Patch fixes - Fixes issue with importing CJS modules directly. ([#​968](https://togithub.com/capricorn86/happy-dom/issues/968)) ### [`v10.0.2`](https://togithub.com/capricorn86/happy-dom/compare/v10.0.1...v10.0.2) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.0.1...v10.0.2) ### [`v10.0.1`](https://togithub.com/capricorn86/happy-dom/compare/v10.0.0...v10.0.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.0.0...v10.0.1) ### [`v10.0.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v10.0.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.20.3...v10.0.0) ##### :art: Features - Adds support for [ESM](https://nodejs.org/api/esm.html#introduction). Happy DOM will still have support for [CommonJS](https://nodejs.org/api/modules.html#modules-commonjs-modules). ([#​873](https://togithub.com/capricorn86/happy-dom/issues/873)) - Migrates to Vitest for unit tests internally. ([#​963](https://togithub.com/capricorn86/happy-dom/issues/963)) ##### :construction_worker_man: Patch fixes - Adds support for capturing errors when executing Javascript in `HTMLScriptElement`. It will log the errors in the console and trigger an error event instead of failing the entire execution. ([#​816](https://togithub.com/capricorn86/happy-dom/issues/816)) ##### :bomb: Breaking Changes - Adding support for [ESM](https://nodejs.org/api/esm.html#introduction) may be a breaking change as it can potentially exist build environments that doesn't support this configuration. ([#​873](https://togithub.com/capricorn86/happy-dom/issues/873)) ### [`v9.20.3`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.20.3) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.20.2...v9.20.3) ##### :construction_worker_man: Patch fixes - Fixes issue where all properties didn't get copied from `HTMLUnknownElement` to a custom element that is replacing it when it is defined. ([#​668](https://togithub.com/capricorn86/happy-dom/issues/668)) ### [`v9.20.2`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.20.2) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.20.1...v9.20.2) ##### :construction_worker_man: Patch fixes - Fixes issue where CSS variable values where not returned by `Window.getComputedStyle()` when calling `CSSStyleDeclaration.getPropertyValue()`. ([#​932](https://togithub.com/capricorn86/happy-dom/issues/932)) ### [`v9.20.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.20.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.20.0...v9.20.1) ##### :construction_worker_man: Patch fixes - Fixes problem with `querySelectorAll()` where it didn't always return elements in document order. ([#​928](https://togithub.com/capricorn86/happy-dom/issues/928)) ### [`v9.20.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.20.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.19.2...v9.20.0) ##### :art: Features - Adds support for disabling the simulation of rendering when calculating computed style. The rendering process converts units such as rem, em and cm to pixels, but it is very limited. ([#​929](https://togithub.com/capricorn86/happy-dom/issues/929)) - Changes the behavior of converting percentage values to "0px" when calculating computed style (as it fails to convert) to just leave the values. ### [`v9.19.2`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.19.2) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.19.1...v9.19.2) ##### :construction_worker_man: Patch fixes - Fixes issue where attribute selectors with an operator and with a value without quatation marks no longer worked (e.g. "\[attr^=value]"). ([#​923](https://togithub.com/capricorn86/happy-dom/issues/923)) ### [`v9.19.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.19.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.19.0...v9.19.1) ##### :construction_worker_man: Patch fixes - Adds support for the mime type "apng" to `XMLHttpRequest` *** Thank you [@​btea](https://togithub.com/btea) for your contribution! ### [`v9.19.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.19.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.18.3...v9.19.0) ##### :art: Features - Adds support for "rem", "em", "vw", "vh", "vmin", "vmax", "cm", "mm", "in", "pt", "pc", "Q" measurement values to `Window.getComputedStyle()` and `Window.matchMedia()` ([#​921](https://togithub.com/capricorn86/happy-dom/issues/921)) - Adds support for "%" measurement values to `Window.getComputedStyle()` and `Window.matchMedia()` when setting font size (other properties will be set to "0px") ([#​921](https://togithub.com/capricorn86/happy-dom/issues/921)) - Sets "font: 16px "Times new Roman"" as default font on the `` when using `Window.getComputedStyle()` ([#​921](https://togithub.com/capricorn86/happy-dom/issues/921)) - Adds support for "outline", "outline-color", "outline-style", "outline-width", "outline-offset", "letter-spacing", "word-spacing" and "text-indent" to `CSSStyleDeclaration`. ([#​921](https://togithub.com/capricorn86/happy-dom/issues/921)) - Adds support for the media query rules "orientation", "prefers-color-scheme", "any-hover", "hover", "any-pointer", "pointer", "display-mode", "width", "height", "min-aspect-ratio", "max-aspect-ratio" and "aspect-ratio" ([#​921](https://togithub.com/capricorn86/happy-dom/issues/921)) - Improves support for the media query rules "min-width", "max-width", "min-height" and "max-height" ([#​921](https://togithub.com/capricorn86/happy-dom/issues/921)) - Adds support for media types "all", "screen" and "print" to media queries ([#​921](https://togithub.com/capricorn86/happy-dom/issues/921)) - Adds support for the "only", "not", "and" and "or" operators to media queries ([#​921](https://togithub.com/capricorn86/happy-dom/issues/921)) - Adds support for ranges to media queries ([#​921](https://togithub.com/capricorn86/happy-dom/issues/921)) - Adds support for "@​-webkit-keyframes", "@​-webkit-container" and "@​-webkit-supports" to CSS parser ([#​921](https://togithub.com/capricorn86/happy-dom/issues/921)) ##### :construction_worker_man: Patch fixes - Adds support for ignoring unknown "@​" rules to the CSS parser. ([#​921](https://togithub.com/capricorn86/happy-dom/issues/921)) - Adds support for the "height" property to `CSSStyleDeclaration`. Not having support for "height" was missed somehow, as we have support for "width". ([#​922](https://togithub.com/capricorn86/happy-dom/issues/922)) ### [`v9.18.3`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.18.3) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.18.2...v9.18.3) ##### :construction_worker_man: Patch fixes - Fixes issue where non-string values did not get converted to strings in `CharacterData.data`, `CharacterData.nodeValue` or `CharacterData.textContent`. ([#​819](https://togithub.com/capricorn86/happy-dom/issues/819)) ### [`v9.18.2`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.18.2) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.18.1...v9.18.2) ##### :construction_worker_man: Patch fixes - Fixes issue in the XML parser where it failed to parse comments including dash characters (-). ([#​916](https://togithub.com/capricorn86/happy-dom/issues/916)) *** Thank you [@​gtm-nayan](https://togithub.com/gtm-nayan) for your contribution! ### [`v9.18.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.18.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.18.0...v9.18.1) ##### :construction_worker_man: Patch fixes - Fixes issue where attribute query selectors using "~" or "|" as operators for finding attributes containing a word did not match when there was only one word. ([#​914](https://togithub.com/capricorn86/happy-dom/issues/914)) ### [`v9.18.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.18.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.17.0...v9.18.0) ##### :art: Features - Adds support for triggering an error event when attempting to fetch a CSS file or Javascript file when it has been disabled using "window.happyDOM.settings.\*". ([#​849](https://togithub.com/capricorn86/happy-dom/issues/849)) ### [`v9.17.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.17.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.16.0...v9.17.0) ##### :art: Features - Adds support for "i" and "s" modifiers to attribute query selectors. ([#​911](https://togithub.com/capricorn86/happy-dom/issues/911)) ### [`v9.16.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.16.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.15.0...v9.16.0) ##### :art: Features - Adds support for encoding HTML entities to the XML parser. ([#​908](https://togithub.com/capricorn86/happy-dom/issues/908)) - Adds support for escaping text to `XMLSerializer.serializeToString()`. ([#​908](https://togithub.com/capricorn86/happy-dom/issues/908)) ### [`v9.15.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.15.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.14.0...v9.15.0) ##### :art: Features - Changes deprecated "shadowroot" attribute to "shadowrootmode" in [Declarative Shadow DOM](https://developer.chrome.com/articles/declarative-shadow-dom/) generated by `Element.getInnerHTML()`. ([#​898](https://togithub.com/capricorn86/happy-dom/issues/898)) *** Thank you [@​crypto-scythe](https://togithub.com/crypto-scythe) for your contribution! ### [`v9.14.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.14.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.13.1...v9.14.0) ##### :art: Features - Adds support for `Document.links`. ([#​896](https://togithub.com/capricorn86/happy-dom/issues/896)) *** Thank you [@​btea](https://togithub.com/btea) for your contribution! ### [`v9.13.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.13.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.13.0...v9.13.1) ##### :construction_worker_man: Patch fixes - Fixes issue related to "@​" CSS rules in (e.g. "@​-webkit-keyframes") causing an exception to be thrown in `CSSStyleDeclaration`. ([#​889](https://togithub.com/capricorn86/happy-dom/issues/889)) *** Thank you [@​btea](https://togithub.com/btea) for your contribution! ### [`v9.13.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.13.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.12.0...v9.13.0) ##### :art: Features - Improves performance of `Element.querySelectorAll()`. The performance was decreased after the implementation of document sorting order, due to the fact that it relied on `Object.assign()` for each match, which is slower than iterating through all matches in the end. ([#​909](https://togithub.com/capricorn86/happy-dom/issues/909)) ### [`v9.12.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.12.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.11.0...v9.12.0) ##### :art: Features - Adds support for the "of selector" to ":nth-child" and ":nth-last-child" query selectors. ([#​905](https://togithub.com/capricorn86/happy-dom/issues/905)) ##### :construction_worker_man: Patch fixes - Fixes bug but where "nth-\*" query selectors didn't return the correct elements when prefixing "n" with "-". ([#​905](https://togithub.com/capricorn86/happy-dom/issues/905)) ### [`v9.11.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.11.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.10.9...v9.11.0) ##### :art: Features - Refactors the XML parser, which fixes several issues related to parsing complex HTML (e.g. attributes containing ">"). ([#​578](https://togithub.com/capricorn86/happy-dom/issues/578)) - Improves performance of XML parsing significantly. ([#​578](https://togithub.com/capricorn86/happy-dom/issues/578)) ### [`v9.10.9`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.10.9) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.10.8...v9.10.9) ##### :construction_worker_man: Patch fixes - Adds support for `Request.formData()`. ([#​892](https://togithub.com/capricorn86/happy-dom/issues/892)) *** Thank you [@​rolandjohann](https://togithub.com/rolandjohann) for your contribution! ### [`v9.10.8`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.10.8) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.10.7...v9.10.8) ##### :construction_worker_man: Patch fixes - Fixes an issue where `HTMLAnchorElement.toString()` returned "HTMLElement.outerHTML", but should return "HTMLAnchorElement.href" according to spec. ([#​890](https://togithub.com/capricorn86/happy-dom/issues/890)) *** Thank you [@​Schleuse](https://togithub.com/Schleuse) for your contribution! ### [`v9.10.7`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.10.7) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.10.6...v9.10.7) ##### :construction_worker_man: Patch fixes - Fix for parsing CSS comments with asterisks. ([#​887](https://togithub.com/capricorn86/happy-dom/issues/887)) *** Thank you for your contribution [@​htuomola](https://togithub.com/htuomola)! ### [`v9.10.6`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.10.6) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.10.5...v9.10.6) ##### :construction_worker_man: Patch fixes - Fixes bug where errors where not handled correctly when performing a synchronous request with `XMLHttpRequest`. ([#​795](https://togithub.com/capricorn86/happy-dom/issues/795)) - Adds support for `XMLHttpRequest.response`. ([#​788](https://togithub.com/capricorn86/happy-dom/issues/788)) *** Thank you [@​Mas0nShi](https://togithub.com/Mas0nShi) for your contribution! ### [`v9.10.5`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.10.5) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.10.4...v9.10.5) ##### :construction_worker_man: Patch fixes - Fixes issue in `HTMLCollection` and `HTMLFormControlsCollection` related to id/name of elements colliding with class properties and methods. ([#​875](https://togithub.com/capricorn86/happy-dom/issues/875)) ### [`v9.10.4`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.10.4) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.10.3...v9.10.4) ##### :construction_worker_man: Patch fixes - Fixes issue related to query selection for attributes not using apostrophe for the value. This caused an issue with finding elements by text in Testing Library. ([#​883](https://togithub.com/capricorn86/happy-dom/issues/883)) ### [`v9.10.3`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.10.3) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.10.2...v9.10.3) ##### :construction_worker_man: Patch fixes - Fixes issue where React "onChange" listeners never got executed when triggering a `click()`. ([#​880](https://togithub.com/capricorn86/happy-dom/issues/880)) - Fixes issue where it was not possible to use multiple pseudo query selectors (e.g. "input:not(\[type]):not(\[list])"). This solves a problem in Testing Library where it failed to find elements by role "checkbox". ([#​880](https://togithub.com/capricorn86/happy-dom/issues/880)) ### [`v9.10.2`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.10.2) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.10.1...v9.10.2) ##### :construction_worker_man: Patch fixes - Fixes issue related to query selection for attributes with empty value (e.g. '\[attr1=""]'). ([#​881](https://togithub.com/capricorn86/happy-dom/issues/881)) ### [`v9.10.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.10.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.10.0...v9.10.1) ##### :construction_worker_man: Patch fixes - Adds support for using escaped characters to ID:s in query selectors (e.g. "#\\\\:id"). ([#​877](https://togithub.com/capricorn86/happy-dom/issues/877)) ### [`v9.10.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.10.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.9.2...v9.10.0) ##### :art: Features - Refactors the internal logic of how query selection works to improve performance and make maintenance easier. ([#​792](https://togithub.com/capricorn86/happy-dom/issues/792)) - Adds support for adjacent sibling to query selectors (e.g. ".a + .b"). ([#​792](https://togithub.com/capricorn86/happy-dom/issues/792)) ##### :construction_worker_man: Patch fixes - Fixes issue where `*.querySelectorAll()` did not return elements in document order. ([#​285](https://togithub.com/capricorn86/happy-dom/issues/285)) ### [`v9.9.2`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.9.2) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.9.1...v9.9.2) ##### :construction_worker_man: Patch fixes - Adds a check for `arguments.length` to `Node.insertBefore()` instead of a check for "null" specific, as the browsers support sending in "undefined", even though it should only allow "null" according to spec. ([#​827](https://togithub.com/capricorn86/happy-dom/issues/827)) *** Thank you [@​btea](https://togithub.com/btea) for your contribution! ### [`v9.9.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.9.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.9.0...v9.9.1) ##### :construction_worker_man: Patch fixes - Fixes bug where HTML entities didn't include semicolon. ([#​870](https://togithub.com/capricorn86/happy-dom/issues/870)) *** Thank you [@​btea](https://togithub.com/btea) for your contribution! ### [`v9.9.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.9.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.8.4...v9.9.0) ##### :art: Features - Adds support for `SVGElement.focus()`, `SVGElement.blur()` and `SVGElement.tabIndex`. ([#​699](https://togithub.com/capricorn86/happy-dom/issues/699)) ### [`v9.8.4`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.8.4) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.8.3...v9.8.4) ##### :construction_worker_man: Patch fixes - Fixes bug related to adding multiple event listeners with the "once" option, which would cause the listener loop to go out of bounds. ([#​805](https://togithub.com/capricorn86/happy-dom/issues/805)) *** Thank you [@​btea](https://togithub.com/btea) for your contribution! ### [`v9.8.3`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.8.3) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.8.2...v9.8.3) ##### :construction_worker_man: Patch fixes - Adds validation for if the node to insert is an ancestor in `Node.appendChild()`and `Node.insertBefore()`. ([#​643](https://togithub.com/capricorn86/happy-dom/issues/643)) *** Thank you [@​btea](https://togithub.com/btea) for your contribution! ### [`v9.8.2`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.8.2) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.8.1...v9.8.2) ##### :construction_worker_man: Patch fixes - Fixes problem with event cycle (none, capture, atTarget, bubbling) that was was caused by adding support for capture event listeners in [v9.7.0](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.7.0). ([#​866](https://togithub.com/capricorn86/happy-dom/issues/866)) ### [`v9.8.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.8.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.8.0...v9.8.1) ##### :construction_worker_man: Patch fixes - Adds unit tests for inserting a `
` element with a "data" attribute to the body. ([#​493](https://togithub.com/capricorn86/happy-dom/issues/493)) *** Thank you [@​danielrentz](https://togithub.com/danielrentz) for your contribution! ### [`v9.8.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.8.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.7.1...v9.8.0) ##### :art: Features - Makes it possible to send in "null" to `Ǹode.contains()`. ([#​865](https://togithub.com/capricorn86/happy-dom/issues/865)) *** Thank you [@​btea](https://togithub.com/btea) for your contribution! ### [`v9.7.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.7.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.7.0...v9.7.1) ##### :construction_worker_man: Patch fixes - Fixes bug in `Node.insertBefore()` related to moving a `Node` within the same parent. ([#​421](https://togithub.com/capricorn86/happy-dom/issues/421)) ### [`v9.7.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.7.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.6.1...v9.7.0) ##### :art: Features - Adds support for the "capture" option in `Event.addEventListener()`. ([#​856](https://togithub.com/capricorn86/happy-dom/issues/856)) - Adds support for `Event.eventPhase`. ([#​856](https://togithub.com/capricorn86/happy-dom/issues/856)) ### [`v9.6.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.6.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.6.0...v9.6.1) ##### :construction_worker_man: Patch fixes - Improve type checking in unit tests. ([#​860](https://togithub.com/capricorn86/happy-dom/issues/860)) *** Thank you [@​danielrentz](https://togithub.com/danielrentz) for your contribution! ### [`v9.6.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.6.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.5.1...v9.6.0) ##### :art: Features - Adds support for `Node.normalize()`. ([#​300](https://togithub.com/capricorn86/happy-dom/issues/300)) *** Thank you [@​danielrentz](https://togithub.com/danielrentz) for your contribution! ### [`v9.5.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.5.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.5.0...v9.5.1) ##### :construction_worker_man: Patch fixes - Throw `DOMException` in `Text.splitText()` when offset is lower than 0. ([#​857](https://togithub.com/capricorn86/happy-dom/issues/857)) *** Thank you [@​danielrentz](https://togithub.com/danielrentz) for your contribution! ### [`v9.5.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.5.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.4.0...v9.5.0) ##### :art: Features - Adds support for `SubmitEvent`. ([#​820](https://togithub.com/capricorn86/happy-dom/issues/820)) *** Thank you [@​danielrentz](https://togithub.com/danielrentz) for your contribution! ### [`v9.4.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.4.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.3.2...v9.4.0) ##### :art: Features - Fixes issue that caused an exception to be thrown in `Range.cloneContents()`. ([#​853](https://togithub.com/capricorn86/happy-dom/issues/853)) *** Thank you [@​danielrentz](https://togithub.com/danielrentz) for your contribution! ### [`v9.3.2`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.3.2) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.3.1...v9.3.2) ##### :construction_worker_man: Patch fixes - Adds support for decoding HTML entities to `Element.textContent`. ([#​818](https://togithub.com/capricorn86/happy-dom/issues/818)) *** Th

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.



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

renovate[bot] commented 11 months ago

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

The artifact failure details are included below:

File name: pnpm-lock.yaml
[22:10:33.949] INFO (9): Installing tool node v20.9.0...
v20.9.0
10.1.0
0.20.0
[22:10:36.798] INFO (9): Installed tool node in 2.8s.
[22:10:37.203] INFO (52): Installing tool pnpm v7.16.1...
7.16.1
[22:10:38.522] INFO (52): Installed tool pnpm in 1.3s.
 WARN  GET https://registry.npmjs.org/@commitlint/cli/-/cli-17.2.0.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/@commitlint/config-conventional/-/config-conventional-17.2.0.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/@microsoft/api-extractor/-/api-extractor-7.33.6.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/@rushstack/eslint-patch/-/eslint-patch-1.2.0.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/@types/node/-/node-18.11.9.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/@vitejs/plugin-vue/-/plugin-vue-3.2.0.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/@vitest/coverage-c8/-/coverage-c8-0.25.2.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/@vitest/ui/-/ui-0.25.2.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/@vue/eslint-config-airbnb-with-typescript/-/eslint-config-airbnb-with-typescript-7.0.0.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.2.45.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/@vue/test-utils/-/test-utils-2.2.3.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/@vue/tsconfig/-/tsconfig-0.1.3.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/commitizen/-/commitizen-4.2.5.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/cz-conventional-changelog/-/cz-conventional-changelog-3.3.0.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/eslint/-/eslint-8.27.0.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/happy-dom error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/@commitlint/cli/-/cli-17.2.0.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/@commitlint/config-conventional/-/config-conventional-17.2.0.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/@microsoft/api-extractor/-/api-extractor-7.33.6.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/@rushstack/eslint-patch/-/eslint-patch-1.2.0.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/@types/node/-/node-18.11.9.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/@vitejs/plugin-vue/-/plugin-vue-3.2.0.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/@vitest/coverage-c8/-/coverage-c8-0.25.2.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/@vitest/ui/-/ui-0.25.2.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/@vue/eslint-config-airbnb-with-typescript/-/eslint-config-airbnb-with-typescript-7.0.0.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.2.45.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/@vue/test-utils/-/test-utils-2.2.3.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/@vue/tsconfig/-/tsconfig-0.1.3.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/commitizen/-/commitizen-4.2.5.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/cz-conventional-changelog/-/cz-conventional-changelog-3.3.0.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/eslint/-/eslint-8.27.0.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/happy-dom error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/eslint-define-config/-/eslint-define-config-1.12.0.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
undefined
 ERR_INVALID_THIS  Value of "this" must be of type URLSearchParams

TypeError [ERR_INVALID_THIS]: Value of "this" must be of type URLSearchParams
    at new NodeError (node:internal/errors:406:5)
    at Proxy.getAll (node:internal/url:527:13)
    at Proxy.<anonymous> (/opt/containerbase/tools/pnpm/7.16.1/node_modules/pnpm/dist/pnpm.cjs:58291:55)
    at /opt/containerbase/tools/pnpm/7.16.1/node_modules/pnpm/dist/pnpm.cjs:58344:31
    at Array.reduce (<anonymous>)
    at Proxy.raw (/opt/containerbase/tools/pnpm/7.16.1/node_modules/pnpm/dist/pnpm.cjs:58343:33)
    at new Headers (/opt/containerbase/tools/pnpm/7.16.1/node_modules/pnpm/dist/pnpm.cjs:58237:28)
    at getNodeRequestOptions (/opt/containerbase/tools/pnpm/7.16.1/node_modules/pnpm/dist/pnpm.cjs:58556:23)
    at /opt/containerbase/tools/pnpm/7.16.1/node_modules/pnpm/dist/pnpm.cjs:58613:25
    at new Promise (<anonymous>)
 WARN  GET https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.26.0.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/eslint-plugin-vitest-globals/-/eslint-plugin-vitest-globals-1.2.0.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/eslint-plugin-vue/-/eslint-plugin-vue-9.7.0.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/lint-staged/-/lint-staged-13.0.3.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/pnpm/-/pnpm-7.33.4.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/prettier/-/prettier-2.7.1.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/sass/-/sass-1.56.1.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/simple-git-hooks/-/simple-git-hooks-2.8.1.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/typescript/-/typescript-4.9.3.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/vite/-/vite-3.2.7.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/vitest/-/vitest-0.25.2.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/vue/-/vue-3.2.45.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/vue-router/-/vue-router-4.1.6.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-8.5.0.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.