Skip to content

Commit

Permalink
chore(deps): update dependency happy-dom to v11 (#228)
Browse files Browse the repository at this point in the history
[![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

<details>
<summary>capricorn86/happy-dom (happy-dom)</summary>

###
[`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)

##### 👷‍♂️ Patch fixes

- Adds Virtual Console to Happy DOM index file.
([#&#8203;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)

##### 💣 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.
([#&#8203;1030](https://togithub.com/capricorn86/happy-dom/issues/1030))
- Improves logic for catching errors in scripts, event listeners and
timers.
([#&#8203;1030](https://togithub.com/capricorn86/happy-dom/issues/1030))

##### 🎨 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.
([#&#8203;1030](https://togithub.com/capricorn86/happy-dom/issues/1030))

##### 👷‍♂️ Patch fixes

- Uses the default `eval()` for evaluating code instead of custom logic.
This will make it possible to read context variables.
[#&#8203;1025](https://togithub.com/capricorn86/happy-dom/issues/1025)

***

Thank you [@&#8203;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)

##### 👷‍♂️ 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).
([#&#8203;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)

##### 🎨 Features

- Implements the properties `childNodes` and `children` as getters.
([#&#8203;960](https://togithub.com/capricorn86/happy-dom/issues/960))

***

Thank you [@&#8203;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)

##### 👷‍♂️ Patch fixes

- Adds support for "calc()" in CSS values in `CSSStyleDeclaration`.
([#&#8203;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)

##### 👷‍♂️ Patch fixes

- Adds support for URLs in attributes that doesn't use apostrophs in
XMLParser.
([#&#8203;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)

##### 👷‍♂️ Patch fixes

- Sets default URL for
[@&#8203;happy-dom/jest-environment](https://togithub.com/happy-dom/jest-environment)
to "http://localhost".
([#&#8203;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)

##### 👷‍♂️ Patch fixes

- Fixes wrong return type in `CSS.escape()`.
([#&#8203;1018](https://togithub.com/capricorn86/happy-dom/issues/1018))

***

Thank you [@&#8203;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)

##### 🎨 Features

- Add "Content-Type" header when constructing `Request`.
([#&#8203;1016](https://togithub.com/capricorn86/happy-dom/issues/1016))

***

Thank you [@&#8203;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)

##### 🎨 Features

- Adds support for `Node.isSameNode()`.
([#&#8203;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)

##### 👷‍♂️ 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.
([#&#8203;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)

##### 👷‍♂️ Patch fixes

- Fixes bug related to item being null in
`HTMLButtonElement.attributes.removeNamedItem()`.
([#&#8203;1010](https://togithub.com/capricorn86/happy-dom/issues/1010))

***

Thank you [@&#8203;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)

##### 🎨 Features

- Add support for `Element.scrollHeight`. The property will just return
"0" for now.
([#&#8203;991](https://togithub.com/capricorn86/happy-dom/issues/991))

***

Thank you [@&#8203;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)

##### 👷‍♂️ Patch fixes

- Adds missing named CSS colors to `CSSStyleDeclaration`.
([#&#8203;1004](https://togithub.com/capricorn86/happy-dom/issues/1004))

***

Thank you [@&#8203;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)

##### 👷‍♂️ 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.
([#&#8203;988](https://togithub.com/capricorn86/happy-dom/issues/988))

***

Thank you [@&#8203;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)

##### 🎨 Features

- Improves support for support for `HTMLLabelElement.control`. It will
now find child control elements that are deeper than one level.
([#&#8203;530](https://togithub.com/capricorn86/happy-dom/issues/530))

***

Thank you [@&#8203;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)

##### 👷‍♂️ 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.
([#&#8203;728](https://togithub.com/capricorn86/happy-dom/issues/728))

</details>

---

### 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.

---

- [ ] <!-- rebase-check -->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).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi44My4wIiwidXBkYXRlZEluVmVyIjoiMzYuODMuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] committed Sep 6, 2023
1 parent edeb2f9 commit 268f896
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 268f896

Please sign in to comment.