From 268f89661a84458ee97c16d5663db29d9a57e3e3 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 7 Sep 2023 01:24:51 +0200 Subject: [PATCH] chore(deps): update dependency happy-dom to v11 (#228) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [happy-dom](https://togithub.com/capricorn86/happy-dom) | [`10.5.2` -> `11.0.1`](https://renovatebot.com/diffs/npm/happy-dom/10.5.2/11.0.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/happy-dom/11.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/happy-dom/11.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/happy-dom/10.5.2/11.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/happy-dom/10.5.2/11.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
capricorn86/happy-dom (happy-dom) ### [`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` 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))
--- ### 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. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/andipaetzold/react-firehooks). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package-lock.json | 14 +++++++------- package.json | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index 7e351707..a8e61e03 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,7 +16,7 @@ "@types/react": "18.2.18", "@vitest/coverage-v8": "0.34.1", "firebase": "9.11.0", - "happy-dom": "10.5.2", + "happy-dom": "11.0.1", "husky": "8.0.3", "lint-staged": "14.0.0", "prettier": "3.0.0", @@ -4038,9 +4038,9 @@ } }, "node_modules/happy-dom": { - "version": "10.5.2", - "resolved": "https://registry.npmjs.org/happy-dom/-/happy-dom-10.5.2.tgz", - "integrity": "sha512-dTA1cDcLOPIkAdykLd9Wo1k8Ly36Hh2OdKGkWEHWuAHb89KcVVRLSj1OFev7ir90xhRLSGCGrEdDvS6u9l13kg==", + "version": "11.0.1", + "resolved": "https://registry.npmjs.org/happy-dom/-/happy-dom-11.0.1.tgz", + "integrity": "sha512-3U3kXpTbHQoCxItf5VhdHSSeX7ZKekcEx6hBZ5Ug12MeEASL89upfz6Nefv7pwTc5jWsXPHlVInjB1gID0HkwQ==", "dev": true, "dependencies": { "css.escape": "^1.5.1", @@ -15232,9 +15232,9 @@ } }, "happy-dom": { - "version": "10.5.2", - "resolved": "https://registry.npmjs.org/happy-dom/-/happy-dom-10.5.2.tgz", - "integrity": "sha512-dTA1cDcLOPIkAdykLd9Wo1k8Ly36Hh2OdKGkWEHWuAHb89KcVVRLSj1OFev7ir90xhRLSGCGrEdDvS6u9l13kg==", + "version": "11.0.1", + "resolved": "https://registry.npmjs.org/happy-dom/-/happy-dom-11.0.1.tgz", + "integrity": "sha512-3U3kXpTbHQoCxItf5VhdHSSeX7ZKekcEx6hBZ5Ug12MeEASL89upfz6Nefv7pwTc5jWsXPHlVInjB1gID0HkwQ==", "dev": true, "requires": { "css.escape": "^1.5.1", diff --git a/package.json b/package.json index 48055b1c..7d80883a 100644 --- a/package.json +++ b/package.json @@ -57,7 +57,7 @@ "@types/react": "18.2.18", "@vitest/coverage-v8": "0.34.1", "firebase": "9.11.0", - "happy-dom": "10.5.2", + "happy-dom": "11.0.1", "husky": "8.0.3", "lint-staged": "14.0.0", "prettier": "3.0.0",