Skip to content

Commit

Permalink
chore(deps): update dependency happy-dom to v9 (#205)
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://github.com/capricorn86/happy-dom) | [`8.9.0` ->
`9.1.0`](https://renovatebot.com/diffs/npm/happy-dom/8.9.0/9.1.0) |
[![age](https://badges.renovateapi.com/packages/npm/happy-dom/9.1.0/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/happy-dom/9.1.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/happy-dom/9.1.0/compatibility-slim/8.9.0)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/happy-dom/9.1.0/confidence-slim/8.9.0)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

###
[`v9.1.0`](https://github.com/capricorn86/happy-dom/releases/tag/v9.1.0)

[Compare
Source](https://github.com/capricorn86/happy-dom/compare/v9.0.1...v9.1.0)

##### 🎨 Features

- Adds support for HTMLTextAreaElement.select().
([#&#8203;691](https://github.com/capricorn86/happy-dom/issues/691))

###
[`v9.0.1`](https://github.com/capricorn86/happy-dom/releases/tag/v9.0.1)

[Compare
Source](https://github.com/capricorn86/happy-dom/compare/v9.0.0...v9.0.1)

##### 👷‍♂️ Patch fixes

- Adds support for triggering submit or reset of form when clicking on a
button.
([#&#8203;527](https://github.com/capricorn86/happy-dom/issues/527))

###
[`v9.0.0`](https://github.com/capricorn86/happy-dom/releases/tag/v9.0.0)

[Compare
Source](https://github.com/capricorn86/happy-dom/compare/v8.9.0...v9.0.0)

##### 💣 Breaking Changes

- This release doesn't contain any expected breaking changes, but as it
contains many major internal changes and there is a risk that it
introduces bugs, it felt safer to release it with a major version
number.

##### 🎨 Features

- Implements `Window.fetch()`, `Window.Request`, `Window.Response` and
`Window.Headers` in Happy DOM, instead of using the "node-fetch"
library. The code is based on "node-fetch". This improves the
integration for functionality such as `FormData`, `Blob`,
`AbortController` and `AbortSignal` with `Window.fetch()`. It will also
make it possible to add support for **ESM** while still keeping support
for CommonJS.
- Adds support for `FormData`.
([#&#8203;585](https://github.com/capricorn86/happy-dom/issues/585))
- Adds support for `AbortController` and `AbortSignal`.
([#&#8203;470](https://github.com/capricorn86/happy-dom/issues/470))
-   Adds full support for `ValidityState`
- Adds support for the :checked pseudo selector to query selector.
([#&#8203;695](https://github.com/capricorn86/happy-dom/issues/695))
- Changes internal logic to favor `Element.setAttribute()` and
`Element.removeAttribute()` instead of `Element.setAttributeNS()` and
`Element.removeAttributeNS()` to improve performance
-   Adds support for element name and id as property to `HTMLCollection`
-   Adds support for `HTMLCollection.namedItem()`
-   Adds support for `HTMLButtonElement.name`
-   Adds support for `HTMLButtonElement.form`
-   Adds support for `HTMLButtonElement.checkValidity()`
-   Adds support for `HTMLFormControlsCollection`
-   Improves support for `HTMLFormElement.elements`
- Adds support for form element name and id as property to
`HTMLFormElement`
- Adds support for `HTMLFormElement.checkValidity()`. It previously just
returned "true".
-   Adds support for `HTMLFormElement.reportValidity()`.
-   Adds support for `HTMLFormElement.submit()`.
-   Adds support for `HTMLFormElement.reset()`.
-   Adds support for `RadioNodeList`.
-   Improves support for `HTMLInputElement.checked`
-   Adds support for `HTMLInputElement.labels`
-   Improves performance of `HTMLInputElement.form`
- Adds support for `HTMLInputElement.checkValidity()`. It previously
just returned "true".
-   Adds support for `HTMLInputElement.reportValidity()`
- Adds support triggering a "click" event on `HTMLInputElement` to
trigger functionality on checkboxes, radio buttons, submit buttons and
reset buttons.
-   Improves performance of `HTMLLabelElement.form`
-   Improves support for `HTMLSelectElement.options`
-   Adds support for `HTMLSelectElement.labels`
-   Improves support option index properties in `HTMLSelectElement`
-   Adds support for `HTMLSelectElement.checkValidity()`.
-   Adds support for `HTMLSelectElement.reportValidity()`
-   Improves performance of `HTMLSelectElement.form`
-   Adds support for `HTMLSelectElement.validity`
-   Adds support for `HTMLInputElement.validity`
-   Adds support for `HTMLInputElement.reportValidity()`
-   Adds support for `HTMLButtonElement.form`
-   Adds support for `HTMLButtonElement.labels`
-   Adds support for `HTMLButtonElement.validity`
-   Adds support for `HTMLButtonElement.required`
-   Adds support for `HTMLButtonElement.validationMessage`
-   Adds support for `HTMLButtonElement.checkValidity()`
-   Adds support for `HTMLButtonElement.reportValidity()`
-   Adds support for `HTMLButtonElement.setCustomValidatiy()`
-   Adds support for `HTMLTextAreaElement.form`
-   Adds support for `HTMLTextAreaElement.labels`
-   Adds support for `HTMLTextAreaElement.validity`
-   Adds support for `HTMLTextAreaElement.validationMessage`
-   Adds support for `HTMLTextAreaElement.checkValidity()`
-   Adds support for `HTMLTextAreaElement.reportValidity()`
-   Adds support for `HTMLTextAreaElement.setCustomValidatiy()`

***

I know many of you have been waiting for several of the features in this
release. It turned out to be much bigger and more time-consuming than
originally anticipated, but now it's finally out. Enjoy 🥳

</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://app.renovatebot.com/dashboard#github/andipaetzold/react-firehooks).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4yMi4xIiwidXBkYXRlZEluVmVyIjoiMzUuMjIuMSJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] committed Apr 7, 2023
1 parent 0f08ee7 commit acf6bab
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
16 changes: 7 additions & 9 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.0.28",
"@vitest/coverage-c8": "0.29.7",
"firebase": "9.8.3",
"happy-dom": "8.9.0",
"happy-dom": "9.1.9",
"husky": "8.0.3",
"lint-staged": "13.2.0",
"prettier": "2.8.6",
Expand Down

0 comments on commit acf6bab

Please sign in to comment.