Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: bump up happy-dom version to v14 #6187

Merged
merged 1 commit into from
Mar 19, 2024
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 19, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
happy-dom ^13.4.1 -> ^14.0.0 age adoption passing confidence

Release Notes

capricorn86/happy-dom (happy-dom)

v14.0.0

Compare Source

💣 Breaking Changes
  • Removes interfaces for Node's, as they are no longer needed as newer versions of Typescript can handle circular dependencies - By @​capricorn86 in task #​1330

v13.10.1

Compare Source

v13.10.0

Compare Source

🎨 Features

v13.9.0

Compare Source

v13.8.6

Compare Source

👷‍♂️ Patch fixes
  • Fixes bug related to multiple fallbacks to CSS variables being set incorrectly - By @​odanado in task #​1308

v13.8.5

Compare Source

👷‍♂️ Patch fixes
  • Fixes problem related to invalid pseudo query selectors matching elements (e.g. ":before" should only match the pseudo element and not the actual element) - By @​capricorn86 in task #​1122
  • Adds support for using multiple pseudo query selectors (e.g. ":first-of-type:last-of-type") - By @​capricorn86 in task #​1122
  • Fixes minor typo in HTMLElementConfig - By @​danbentley in task #​1306

v13.8.4

Compare Source

👷‍♂️ Patch fixes
  • Adds support for returning URL relative to window location in HTMLLinkElement.href, HTMLImageElement.src and HTMLScriptElement.src - By @​capricorn86 in task #​1135

v13.8.3

Compare Source

👷‍♂️ Patch fixes
  • Fixes problem where some elements (e.g. <li>, <h1> or <table>) doesn't allow itself as direct descendant when parsing HTML, but should allow itself as descendant when it is not at first level - By @​capricorn86 in task #​1039

v13.8.2

Compare Source

v13.8.1

Compare Source

v13.8.0

Compare Source

🎨 Features

v13.7.8

Compare Source

v13.7.7

Compare Source

v13.7.6

Compare Source

v13.7.5

Compare Source

👷‍♂️ Patch fixes
  • Modify option node to return empty string even if the value is empty string - In task #​1138

v13.7.4

Compare Source

v13.7.3

Compare Source

v13.7.2

Compare Source

v13.7.1

Compare Source

👷‍♂️ Patch fixes

v13.7.0

Compare Source

v13.6.2

Compare Source

🎨 Features
👷‍♂️ Patch fixes

v13.6.1

Compare Source

👷‍♂️ Patch fixes
  • Improves validation for the options argument in MutationsObserver.observe() - By @​romansp in task #​1223

v13.6.0

Compare Source

🎨 Features
👷‍♂️ Patch fixes
  • Adds support for the property Document.forms - By @​juandiegombr in task #​1260
  • Adds check for if MutationObserver options are null, which most likely happens for code that is executed after the Window instance has been closed - By @​zachlankton in task #​1217

v13.5.3

Compare Source

👷‍♂️ Patch fixes
  • Improves check for invalid query selectors - By @​btea in task #​0

v13.5.2

Compare Source

👷‍♂️ Patch fixes

v13.5.1

Compare Source

👷‍♂️ Patch fixes
  • Fixes problem with query selectors not finding SVG elements after the v13.4.0 release - By @​capricorn86 in task #​1274

v13.5.0

Compare Source

🎨 Features
  • Use the Node.js ReadableStream class for the properties Response.body and Request.body - By @​diego-toro and @​capricorn86 in task #​1180
    • The previous implementation used the Node.js Stream.Readable class, which is not fully spec compliant

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. View repository job log here.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Mar 19, 2024
Copy link

nx-cloud bot commented Mar 19, 2024

Copy link

codecov bot commented Mar 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 61.06%. Comparing base (398d66f) to head (26925c9).

Additional details and impacted files
@@            Coverage Diff             @@
##           canary    #6187      +/-   ##
==========================================
+ Coverage   61.01%   61.06%   +0.04%     
==========================================
  Files         504      504              
  Lines       22869    22869              
  Branches     2046     2047       +1     
==========================================
+ Hits        13953    13964      +11     
+ Misses       8685     8673      -12     
- Partials      231      232       +1     
Flag Coverage Δ
server-test 70.95% <ø> (+0.10%) ⬆️
unittest 39.40% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

graphite-app bot commented Mar 19, 2024

Merge activity

[![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) | [`^13.4.1` -> `^14.0.0`](https://renovatebot.com/diffs/npm/happy-dom/13.4.1/14.0.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/happy-dom/14.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/happy-dom/14.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/happy-dom/13.4.1/14.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/happy-dom/13.4.1/14.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

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

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

[Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.10.1...v14.0.0)

##### 💣 Breaking Changes

-   Removes interfaces for Node's, as they are no longer needed as newer versions of Typescript can handle circular dependencies - By **[@&#8203;capricorn86](https://togithub.com/capricorn86)** in task [#&#8203;1330](https://togithub.com/capricorn86/happy-dom/issues/1330)

### [`v13.10.1`](https://togithub.com/capricorn86/happy-dom/compare/v13.10.0...a6debf50e909766e0e5442b9e4c5ebe8dadb1cd1)

[Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.10.0...v13.10.1)

### [`v13.10.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.10.0)

[Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.9.0...v13.10.0)

##### 🎨 Features

-   Adds support for the Headers.getSetCookie - By **[@&#8203;betterqualityassuranceuser](https://togithub.com/betterqualityassuranceuser)** in task [#&#8203;1315](https://togithub.com/capricorn86/happy-dom/issues/1315)

### [`v13.9.0`](https://togithub.com/capricorn86/happy-dom/compare/v13.8.6...9d6d1f39aeb2cbfce914277ce22264ee88290582)

[Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.8.6...v13.9.0)

### [`v13.8.6`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.8.6)

[Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.8.5...v13.8.6)

##### 👷‍♂️ Patch fixes

-   Fixes bug related to multiple fallbacks to CSS variables being set incorrectly - By **[@&#8203;odanado](https://togithub.com/odanado)** in task [#&#8203;1308](https://togithub.com/capricorn86/happy-dom/issues/1308)

### [`v13.8.5`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.8.5)

[Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.8.4...v13.8.5)

##### 👷‍♂️ Patch fixes

-   Fixes problem related to invalid pseudo query selectors matching elements (e.g. ":before" should only match the pseudo element and not the actual element) - By **[@&#8203;capricorn86](https://togithub.com/capricorn86)** in task [#&#8203;1122](https://togithub.com/capricorn86/happy-dom/issues/1122)
-   Adds support for using multiple pseudo query selectors (e.g. ":first-of-type:last-of-type") - By **[@&#8203;capricorn86](https://togithub.com/capricorn86)** in task [#&#8203;1122](https://togithub.com/capricorn86/happy-dom/issues/1122)
-   Fixes minor typo in `HTMLElementConfig` - By **[@&#8203;danbentley](https://togithub.com/danbentley)** in task [#&#8203;1306](https://togithub.com/capricorn86/happy-dom/issues/1306)

### [`v13.8.4`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.8.4)

[Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.8.3...v13.8.4)

##### 👷‍♂️ Patch fixes

-   Adds support for returning URL relative to window location in `HTMLLinkElement.href`, `HTMLImageElement.src` and `HTMLScriptElement.src` - By **[@&#8203;capricorn86](https://togithub.com/capricorn86)** in task [#&#8203;1135](https://togithub.com/capricorn86/happy-dom/issues/1135)

### [`v13.8.3`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.8.3)

[Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.8.2...v13.8.3)

##### 👷‍♂️ Patch fixes

-   Fixes problem where some elements (e.g. `<li>`, `<h1>` or `<table>`) doesn't allow itself as direct descendant when parsing HTML, but should allow itself as descendant when it is not at first level - By **[@&#8203;capricorn86](https://togithub.com/capricorn86)** in task [#&#8203;1039](https://togithub.com/capricorn86/happy-dom/issues/1039)

### [`v13.8.2`](https://togithub.com/capricorn86/happy-dom/compare/v13.8.1...4970c699d07d97c4a9839e25c831eef230445abf)

[Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.8.1...v13.8.2)

### [`v13.8.1`](https://togithub.com/capricorn86/happy-dom/compare/v13.8.0...08cd42601d62f39d42d01d902a56d2441f7128e0)

[Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.8.0...v13.8.1)

### [`v13.8.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.8.0)

[Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.7.8...v13.8.0)

##### 🎨 Features

-   Adds support for Element.scrollIntoView - By **[@&#8203;capricorn86](https://togithub.com/capricorn86)** in task [#&#8203;1051](https://togithub.com/capricorn86/happy-dom/issues/1051)

### [`v13.7.8`](https://togithub.com/capricorn86/happy-dom/compare/v13.7.7...0dfe51d6006c09b2f12ec2ec4f15858ae6450060)

[Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.7.7...v13.7.8)

### [`v13.7.7`](https://togithub.com/capricorn86/happy-dom/compare/v13.7.6...v13.7.7)

[Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.7.6...v13.7.7)

### [`v13.7.6`](https://togithub.com/capricorn86/happy-dom/compare/v13.7.5...54d1ae080f4e91ae09bb586ad01f82050cf5db15)

[Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.7.5...v13.7.6)

### [`v13.7.5`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.7.5)

[Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.7.4...v13.7.5)

##### 👷‍♂️ Patch fixes

-   Modify option node to return empty string even if the value is empty string - In task [#&#8203;1138](https://togithub.com/capricorn86/happy-dom/issues/1138)

### [`v13.7.4`](https://togithub.com/capricorn86/happy-dom/compare/v13.7.3...16396f9d1f114ad70c926f56da40a31382aeabcb)

[Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.7.3...v13.7.4)

### [`v13.7.3`](https://togithub.com/capricorn86/happy-dom/compare/v13.7.2...1bd90205d67aa78de52ea5d1ebb3c8f8db2364af)

[Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.7.2...v13.7.3)

### [`v13.7.2`](https://togithub.com/capricorn86/happy-dom/compare/v13.7.1...3b4339d709bb9b097a8302996dc4af356f496e1a)

[Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.7.1...v13.7.2)

### [`v13.7.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.7.1)

[Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.7.0...v13.7.1)

##### 👷‍♂️ Patch fixes

-   Adds support for cloning body in `Response.clone()` - By **[@&#8203;cprecioso](https://togithub.com/cprecioso)** in task [#&#8203;1216](https://togithub.com/capricorn86/happy-dom/issues/1216)

### [`v13.7.0`](https://togithub.com/capricorn86/happy-dom/compare/v13.6.2...4c808b62f8dcfb5c85d4ac4e94b8e2ba58195e86)

[Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.6.2...v13.7.0)

### [`v13.6.2`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.6.2)

[Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.6.1...v13.6.2)

##### 🎨 Features

-   Add support for the ":target" pseudo query selector - By **[@&#8203;Schleuse](https://togithub.com/Schleuse)** in task [#&#8203;1221](https://togithub.com/capricorn86/happy-dom/issues/1221)

##### 👷‍♂️ Patch fixes

-   The Event listener method `handleEvent()` should be called within the listener scope - By **[@&#8203;titouanmathis](https://togithub.com/titouanmathis)** in task [#&#8203;1182](https://togithub.com/capricorn86/happy-dom/issues/1182)

### [`v13.6.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.6.1)

[Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.6.0...v13.6.1)

##### 👷‍♂️ Patch fixes

-   Improves validation for the options argument in `MutationsObserver.observe()` - By **[@&#8203;romansp](https://togithub.com/romansp)** in task [#&#8203;1223](https://togithub.com/capricorn86/happy-dom/issues/1223)

### [`v13.6.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.6.0)

[Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.5.3...v13.6.0)

##### 🎨 Features

-   Adds support for `Node.isEqualNode()` - By **[@&#8203;aralroca](https://togithub.com/aralroca)** in task [#&#8203;1263](https://togithub.com/capricorn86/happy-dom/issues/1263)

##### 👷‍♂️ Patch fixes

-   Adds support for the property `Document.forms` - By **[@&#8203;juandiegombr](https://togithub.com/juandiegombr)** in task [#&#8203;1260](https://togithub.com/capricorn86/happy-dom/issues/1260)
-   Adds check for if `MutationObserver` options are null, which most likely happens for code that is executed after the Window instance has been closed - By **[@&#8203;zachlankton](https://togithub.com/zachlankton)** in task [#&#8203;1217](https://togithub.com/capricorn86/happy-dom/issues/1217)

### [`v13.5.3`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.5.3)

[Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.5.2...v13.5.3)

##### 👷‍♂️ Patch fixes

-   Improves check for invalid query selectors - By **[@&#8203;btea](https://togithub.com/btea)** in task #&#8203;0

### [`v13.5.2`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.5.2)

[Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.5.1...v13.5.2)

##### 👷‍♂️ Patch fixes

-   Adds unit test for Vue component with SVG - By **[@&#8203;capricorn86](https://togithub.com/capricorn86)** in task [#&#8203;1271](https://togithub.com/capricorn86/happy-dom/issues/1271)

### [`v13.5.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.5.1)

[Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.5.0...v13.5.1)

##### 👷‍♂️ Patch fixes

-   Fixes problem with query selectors not finding SVG elements after the v13.4.0 release - By **[@&#8203;capricorn86](https://togithub.com/capricorn86)** in task [#&#8203;1274](https://togithub.com/capricorn86/happy-dom/issues/1274)

### [`v13.5.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.5.0)

[Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.4.1...v13.5.0)

##### 🎨 Features

-   Use the Node.js `ReadableStream` class  for the properties `Response.body` and `Request.body` - By **[@&#8203;diego-toro](https://togithub.com/diego-toro)** and **[@&#8203;capricorn86](https://togithub.com/capricorn86)** in task [#&#8203;1180](https://togithub.com/capricorn86/happy-dom/issues/1180)
    -   The previous implementation used the Node.js `Stream.Readable` class, which is not fully spec compliant

</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/toeverything/AFFiNE).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNDUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI0NS4wIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5In0=-->
Copy link
Contributor Author

renovate bot commented Mar 19, 2024

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

Warning: custom changes will be lost.

@graphite-app graphite-app bot merged commit 26925c9 into canary Mar 19, 2024
39 of 41 checks passed
@graphite-app graphite-app bot deleted the renovate/happy-dom-14.x branch March 19, 2024 07:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

1 participant