Commit 61fd22e
Update dependency happy-dom to v16 (#33956)
This PR contains the following updates:
| Package | Type | Update | Change | Pending |
|---|---|---|---|---|
| [happy-dom](https://redirect.github.com/capricorn86/happy-dom) | devDependencies | major | [`~15.11.7` -> `~16.7.0`](https://renovatebot.com/diffs/npm/happy-dom/15.11.7/16.7.3) | `17.1.8` (+15) |
---
### Release Notes
<details>
<summary>capricorn86/happy-dom (happy-dom)</summary>
### [`v16.7.3`](https://redirect.github.com/capricorn86/happy-dom/releases/tag/v16.7.3)
[Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v16.7.2...v16.7.3)
##### 👷♂️ Patch fixes
- Removes space from directory name that prevents the repo to be cloned on MS Windows - By **[@​kleinfreund](https://redirect.github.com/kleinfreund)** in task [#​1703](https://redirect.github.com/capricorn86/happy-dom/issues/1703)
### [`v16.7.2`](https://redirect.github.com/capricorn86/happy-dom/releases/tag/v16.7.2)
[Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v16.7.1...v16.7.2)
##### 👷♂️ Patch fixes
- Ignore invalid cookies in CookieContainer - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1693](https://redirect.github.com/capricorn86/happy-dom/issues/1693)
### [`v16.7.1`](https://redirect.github.com/capricorn86/happy-dom/releases/tag/v16.7.1)
[Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v16.7.0...v16.7.1)
##### 👷♂️ Patch fixes
- Adds `ICookie`, `IOptionalCookie`, `CookieSameSiteEnum` and `IVirtualServer` as exports to the index file - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1693](https://redirect.github.com/capricorn86/happy-dom/issues/1693)
- Makes non-mandatory cookie properties optional in `CookieContainer.addCookies()` - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1693](https://redirect.github.com/capricorn86/happy-dom/issues/1693)
### [`v16.7.0`](https://redirect.github.com/capricorn86/happy-dom/releases/tag/v16.7.0)
[Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v16.6.0...v16.7.0)
##### 🎨 Features
- Adds support for simulating local HTTP servers that serves files from the local file system - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1688](https://redirect.github.com/capricorn86/happy-dom/issues/1688)
- Read more about virtual servers in the [Wiki](https://redirect.github.com/capricorn86/happy-dom/wiki/IVirtualServer)
### [`v16.6.0`](https://redirect.github.com/capricorn86/happy-dom/releases/tag/v16.6.0)
[Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v16.5.3...v16.6.0)
##### 🎨 Features
- Adds support for subsequent sibling combinator to `querySelector()`, `querySelectorAll()` and `matches()` (e.g. ".a ~ .b") - By **[@​karpiuMG](https://redirect.github.com/karpiuMG)** in task [#​1683](https://redirect.github.com/capricorn86/happy-dom/issues/1683)
### [`v16.5.3`](https://redirect.github.com/capricorn86/happy-dom/releases/tag/v16.5.3)
[Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v16.5.2...v16.5.3)
##### 👷♂️ Patch fixes
- Fixes problem with encoding and decoding attribute values in HTML - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1678](https://redirect.github.com/capricorn86/happy-dom/issues/1678)
- Fixes issue where it was not possible to query selector by class when the attribute value had line breaks in it - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1678](https://redirect.github.com/capricorn86/happy-dom/issues/1678)
### [`v16.5.2`](https://redirect.github.com/capricorn86/happy-dom/releases/tag/v16.5.2)
[Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v16.5.1...v16.5.2)
##### 👷♂️ Patch fixes
- `Event.target` should be the target element after an event has been dispatched - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1529](https://redirect.github.com/capricorn86/happy-dom/issues/1529)
### [`v16.5.1`](https://redirect.github.com/capricorn86/happy-dom/releases/tag/v16.5.1)
[Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v16.5.0...v16.5.1)
##### 👷♂️ Patch fixes
- Fixes issue where `Comment`, `Text` and `DocumentFragment` are not instances of their corresponding property on `Window` - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1577](https://redirect.github.com/capricorn86/happy-dom/issues/1577)
### [`v16.5.0`](https://redirect.github.com/capricorn86/happy-dom/releases/tag/v16.5.0)
[Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v16.4.3...v16.5.0)
##### 🎨 Features
- Adds property `GlobalRegistrator.isRegistered` - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1670](https://redirect.github.com/capricorn86/happy-dom/issues/1670)
### [`v16.4.3`](https://redirect.github.com/capricorn86/happy-dom/releases/tag/v16.4.3)
[Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v16.4.2...v16.4.3)
##### 👷♂️ Patch fixes
- Adds null check for if browser frame is available in `Response` during tear down of the `Window` - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1669](https://redirect.github.com/capricorn86/happy-dom/issues/1669)
### [`v16.4.2`](https://redirect.github.com/capricorn86/happy-dom/releases/tag/v16.4.2)
[Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v16.4.1...v16.4.2)
##### 👷♂️ Patch fixes
- Support using URL as an object for URL:s when using the Browser API - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1664](https://redirect.github.com/capricorn86/happy-dom/issues/1664)
### [`v16.4.1`](https://redirect.github.com/capricorn86/happy-dom/releases/tag/v16.4.1)
[Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v16.4.0...v16.4.1)
##### 👷♂️ Patch fixes
- Fixes issue where HTML assigned to `document.documentElement.innerHTML` isnt parsed correctly since v16 - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1663](https://redirect.github.com/capricorn86/happy-dom/issues/1663)
### [`v16.4.0`](https://redirect.github.com/capricorn86/happy-dom/releases/tag/v16.4.0)
[Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v16.3.0...v16.4.0)
##### 🎨 Features
- Allow fetch to be intercepted and modified by sending in an interceptor as a setting - By **[@​OlaviSau](https://redirect.github.com/OlaviSau)** in task [#​1502](https://redirect.github.com/capricorn86/happy-dom/issues/1502)
- Read more about this in the Wiki at [IFetchInterceptor](https://redirect.github.com/capricorn86/happy-dom/wiki/IFetchInterceptor)
### [`v16.3.0`](https://redirect.github.com/capricorn86/happy-dom/releases/tag/v16.3.0)
[Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v16.2.9...v16.3.0)
##### 🎨 Features
- Adds support for child combinator to ":has()" pseudo selector (e.g. "span:has(> video)") - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1642](https://redirect.github.com/capricorn86/happy-dom/issues/1642)
### [`v16.2.9`](https://redirect.github.com/capricorn86/happy-dom/releases/tag/v16.2.9)
[Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v16.2.8...v16.2.9)
##### 👷♂️ Patch fixes
- Fixes the `HTMLInputElement.defaultChecked` property - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1587](https://redirect.github.com/capricorn86/happy-dom/issues/1587)
- This issue caused React not to serialize the "checked" attribute correctly
### [`v16.2.8`](https://redirect.github.com/capricorn86/happy-dom/releases/tag/v16.2.8)
[Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v16.2.7...v16.2.8)
##### 👷♂️ Patch fixes
- Fixes issue where the wrong event target was used when dispatching events on `HTMLFormElement` or `HTMLSelectElement` - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1628](https://redirect.github.com/capricorn86/happy-dom/issues/1628)
### [`v16.2.7`](https://redirect.github.com/capricorn86/happy-dom/releases/tag/v16.2.7)
[Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v16.2.6...v16.2.7)
##### 👷♂️ Patch fixes
- Fixes issue where text in `<script>` and `<style>` elements should not be decoded or encoded - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1564](https://redirect.github.com/capricorn86/happy-dom/issues/1564)
### [`v16.2.6`](https://redirect.github.com/capricorn86/happy-dom/releases/tag/v16.2.6)
[Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v16.2.5...v16.2.6)
##### 👷♂️ Patch fixes
- Fixes problem where snapshots did not result in HTML for `<form>` and `<select>` elements - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1608](https://redirect.github.com/capricorn86/happy-dom/issues/1608)
### [`v16.2.5`](https://redirect.github.com/capricorn86/happy-dom/releases/tag/v16.2.5)
[Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v16.2.4...v16.2.5)
##### 👷♂️ Patch fixes
- Fixes bug where the reference to a parent `HTMLFormElement` and `HTMLSelectElement` was wrong which affected the methods `remove()`, `replaceWith()`, `before()`, `after()`, `append()`, `prepend()`, `replaceChildren()` and `insertAdjacentElement()` - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1637](https://redirect.github.com/capricorn86/happy-dom/issues/1637)
### [`v16.2.4`](https://redirect.github.com/capricorn86/happy-dom/releases/tag/v16.2.4)
[Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v16.2.3...v16.2.4)
##### 👷♂️ Patch fixes
- Fixes bug where the incorrect location is set after a redirect in `BrowserFrame.goto()` and `DetachedBrowserFrame.goto()` - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1627](https://redirect.github.com/capricorn86/happy-dom/issues/1627)
### [`v16.2.3`](https://redirect.github.com/capricorn86/happy-dom/releases/tag/v16.2.3)
[Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v16.2.2...v16.2.3)
##### 👷♂️ Patch fixes
- Fixes the implementation for the `HTMLTableCellElement.headers` property - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1634](https://redirect.github.com/capricorn86/happy-dom/issues/1634)
### [`v16.2.2`](https://redirect.github.com/capricorn86/happy-dom/releases/tag/v16.2.2)
[Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v16.2.1...v16.2.2)
##### 👷♂️ Patch fixes
- Improves error when a Symbol object is being sent to `querySelector()` or `querySelectorAll()` as selector - By **[@​chocolateboy](https://redirect.github.com/chocolateboy)** in task [#​1640](https://redirect.github.com/capricorn86/happy-dom/issues/1640)
### [`v16.2.1`](https://redirect.github.com/capricorn86/happy-dom/releases/tag/v16.2.1)
[Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v16.2.0...v16.2.1)
##### 👷♂️ Patch fixes
- Set request credentials to "same-origin" in `XMLHttpRequest` when "withCredentials" is false - By **[@​saitonakamura](https://redirect.github.com/saitonakamura)** in task [#​1631](https://redirect.github.com/capricorn86/happy-dom/issues/1631)
### [`v16.2.0`](https://redirect.github.com/capricorn86/happy-dom/releases/tag/v16.2.0)
[Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v16.1.0...v16.2.0)
##### 🎨 Features
- Adds support for `Window.scrollBy()` and `Element.scrollBy()` - By **[@​OlaviSau](https://redirect.github.com/OlaviSau)** in task [#​1623](https://redirect.github.com/capricorn86/happy-dom/issues/1623)
### [`v16.1.0`](https://redirect.github.com/capricorn86/happy-dom/releases/tag/v16.1.0)
[Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v16.0.1...v16.1.0)
##### 🎨 Features
- Add support for using whitespace-separated list to `getElementsByClassName()` - By **[@​kylehalleman](https://redirect.github.com/kylehalleman)** in task [#​1551](https://redirect.github.com/capricorn86/happy-dom/issues/1551)
### [`v16.0.1`](https://redirect.github.com/capricorn86/happy-dom/releases/tag/v16.0.1)
[Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v16.0.0...v16.0.1)
##### 👷♂️ Patch fixes
- Fixes problem with children of created documents (e.g. `document.implementation.createHTMLDocument()`) not being considered as connected to a DOM that was introduced in v16 - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1647](https://redirect.github.com/capricorn86/happy-dom/issues/1647)
### [`v16.0.0`](https://redirect.github.com/capricorn86/happy-dom/releases/tag/v16.0.0)
[Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v15.11.7...v16.0.0)
##### 💣 Breaking Changes
- Refactors XML and HTML parsing and serialization - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1615](https://redirect.github.com/capricorn86/happy-dom/issues/1615)
- This change may break your tests as the serialized output may differ from v15
##### 🎨 Features
- Adds support for parsing XML in `DOMParser` - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​284](https://redirect.github.com/capricorn86/happy-dom/issues/284)
- Improved performance in `document.write()` - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1615](https://redirect.github.com/capricorn86/happy-dom/issues/1615)
- Elements are now added directly to the document during parsing
##### 👷♂️ Patch fixes
- Fix for handling `<html>`, `<head>` and `<body>` during parsing - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1615](https://redirect.github.com/capricorn86/happy-dom/issues/1615)
- Fix for handling HTML entities correctly when parsing and serializing - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1494](https://redirect.github.com/capricorn86/happy-dom/issues/1494) and [#​1498](https://redirect.github.com/capricorn86/happy-dom/issues/1498)
- Fix for handling attribute names containing "\[" or "]" during parsing - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1638](https://redirect.github.com/capricorn86/happy-dom/issues/1638)
- Fix for handling comments containing HTML tags - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1630](https://redirect.github.com/capricorn86/happy-dom/issues/1630)
- Fix for handling namespaces in `XMLSerializer` - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1615](https://redirect.github.com/capricorn86/happy-dom/issues/1615)
- Handles rules for parsing table elements - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1126](https://redirect.github.com/capricorn86/happy-dom/issues/1126)
- Loads scripts asynchronously when "defer" is set or "type" is "module" - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1615](https://redirect.github.com/capricorn86/happy-dom/issues/1615)
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "on the first day of the month" in timezone America/Los_Angeles, 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 [Renovate Bot](https://redirect.github.com/renovatebot/renovate).
GitOrigin-RevId: bc7c738f05b4c96578d87796ff4131ed43695fc21 parent cfe8782 commit 61fd22e
File tree
3 files changed
+22
-23
lines changed- npm-packages
- common/config/rush
- convex
3 files changed
+22
-23
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
307 | 307 | | |
308 | 308 | | |
309 | 309 | | |
310 | | - | |
| 310 | + | |
311 | 311 | | |
312 | 312 | | |
313 | 313 | | |
| |||
0 commit comments