Closed renovate[bot] closed 1 year ago
Latest commit: f1603753f9afd676b2cd73a2f74aa45081e6fb7f
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
This PR contains the following updates:
9.18.3
->10.5.2
Release Notes
capricorn86/happy-dom (happy-dom)
### [`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))Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), 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.