chore(deps): update dependency happy-dom to v7 #2492

Merged
konrad merged 1 commits from renovate/happy-dom-7.x into main 2022-10-05 16:14:39 +00:00
Member

This PR contains the following updates:

Package Type Update Change
happy-dom devDependencies major 6.0.4 -> 7.0.0

Release Notes

capricorn86/happy-dom

v7.0.0

Compare Source

💣 Breaking Changes
  • Changes how CSS properties in CSSStyleDeclaration are parsed, which potentially can break applications (#​344)
🎨 Features
  • Improves support for CSSStyleDeclaration (#​344)
    • Parsing and validating of shorthand CSS properties (border, font, background etc.)
    • Parsing and validating of the most common CSS properties (width, height, visibility etc.)
    • Adds support for CSSStyleDeclaration.getPropertyPriority()
    • Adds a cache to improve performance
    • Adds typescript typing for all CSS properties
  • Improves support for Window.getComputedStyle() (#​344)
    • Applies styles from <style> and <link> elements
    • Handles inherited properties
    • Handles default values for "display" and "direction"
    • Resolves CSS variables
    • Handles media queries
  • Improves support for CSSStyleSheet (#​344)
    • Adds a cache to prevent re-parsing new CSS strings
    • Adds support for CSSContainerRule
    • Only create instances of CSSStyleDeclaration in CSS rules when accesing the "style" property
    • Makes CSSRule, CSSContainerRule, CSSFontFaceRule, CSSKeyframeRule, CSSKeyframesRule, CSSMediaRule and CSSStyleRule available on the Window instance
  • Improves support for Attr (#​344)
    • It now extends Node
  • Improves support for HTMLElement.innerText (#​344)
    • It will now render the text based on the computed style of the elements
  • Improves support for window.matchMedia() (#​344)
    • It will now listen to the window resize event
    • Adds support for matching against "min-width", "max-width", "min-height" and "max-height"
  • Adds support for sending "innerWidth", "innerHeight" and "url" to the Window constructor. (#​344)
  • Adds support for setting "innerWidth" and "innerHeight". (#​344)
    • Example: window.happyDOM.setInnerWidth(1024)
👷‍♂️ Patch fixes
  • HTMLStyleElement.style no longer returns new instances of CSSStyleSheet (#​344)
  • CSSStyleSheet.insertRule() did not insert the rule on the correct position when sending in an index (#​344)
  • ChildNode.replaceWith() did not throw an exception when there was no parent, allowing the code to continue (#​344)

Hello everyone! 👋

I'm sorry it's taken so long for this release. A lot has happened in my private and work life and I haven't been able to spend as much time on Happy DOM as I would have liked.

I will have more time to put on Happy DOM now again, so stay tuned for many more releases 😉


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

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, click this checkbox.

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [happy-dom](https://github.com/capricorn86/happy-dom) | devDependencies | major | [`6.0.4` -> `7.0.0`](https://renovatebot.com/diffs/npm/happy-dom/6.0.4/7.0.0) | --- ### Release Notes <details> <summary>capricorn86/happy-dom</summary> ### [`v7.0.0`](https://github.com/capricorn86/happy-dom/releases/tag/v7.0.0) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v6.0.4...v7.0.0) ##### :bomb: Breaking Changes - Changes how CSS properties in `CSSStyleDeclaration` are parsed, which potentially can break applications ([#&#8203;344](https://github.com/capricorn86/happy-dom/issues/344)) ##### :art: Features - Improves support for `CSSStyleDeclaration` ([#&#8203;344](https://github.com/capricorn86/happy-dom/issues/344)) - Parsing and validating of shorthand CSS properties (border, font, background etc.) - Parsing and validating of the most common CSS properties (width, height, visibility etc.) - Adds support for `CSSStyleDeclaration.getPropertyPriority()` - Adds a cache to improve performance - Adds typescript typing for all CSS properties - Improves support for `Window.getComputedStyle()` ([#&#8203;344](https://github.com/capricorn86/happy-dom/issues/344)) - Applies styles from `<style>` and `<link>` elements - Handles inherited properties - Handles default values for "display" and "direction" - Resolves CSS variables - Handles media queries - Improves support for `CSSStyleSheet` ([#&#8203;344](https://github.com/capricorn86/happy-dom/issues/344)) - Adds a cache to prevent re-parsing new CSS strings - Adds support for `CSSContainerRule` - Only create instances of `CSSStyleDeclaration` in CSS rules when accesing the "style" property - Makes `CSSRule`, `CSSContainerRule`, `CSSFontFaceRule`, `CSSKeyframeRule`, `CSSKeyframesRule`, `CSSMediaRule` and `CSSStyleRule` available on the `Window` instance - Improves support for `Attr` ([#&#8203;344](https://github.com/capricorn86/happy-dom/issues/344)) - It now extends Node - Improves support for `HTMLElement.innerText` ([#&#8203;344](https://github.com/capricorn86/happy-dom/issues/344)) - It will now render the text based on the computed style of the elements - Improves support for `window.matchMedia()` ([#&#8203;344](https://github.com/capricorn86/happy-dom/issues/344)) - It will now listen to the window resize event - Adds support for matching against "min-width", "max-width", "min-height" and "max-height" - Adds support for sending "innerWidth", "innerHeight" and "url" to the `Window` constructor. ([#&#8203;344](https://github.com/capricorn86/happy-dom/issues/344)) - Example: new Window({ innerWidth: 1024, innerHeight: 768, url: 'https://localhost:8080' }) - Adds support for setting "innerWidth" and "innerHeight". ([#&#8203;344](https://github.com/capricorn86/happy-dom/issues/344)) - Example: window.happyDOM.setInnerWidth(1024) ##### :construction_worker_man: Patch fixes - `HTMLStyleElement.style` no longer returns new instances of `CSSStyleSheet` ([#&#8203;344](https://github.com/capricorn86/happy-dom/issues/344)) - `CSSStyleSheet.insertRule()` did not insert the rule on the correct position when sending in an index ([#&#8203;344](https://github.com/capricorn86/happy-dom/issues/344)) - `ChildNode.replaceWith()` did not throw an exception when there was no parent, allowing the code to continue ([#&#8203;344](https://github.com/capricorn86/happy-dom/issues/344)) *** Hello everyone! :wave: I'm sorry it's taken so long for this release. A lot has happened in my private and work life and I haven't been able to spend as much time on Happy DOM as I would have liked. I will have more time to put on Happy DOM now again, so stay tuned for many more releases :wink: </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **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, click this checkbox. --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4xNTMuNCIsInVwZGF0ZWRJblZlciI6IjMyLjE1My40In0=-->
renovate added the
dependencies
label 2022-10-05 16:03:47 +00:00
renovate added 1 commit 2022-10-05 16:03:48 +00:00
continuous-integration/drone/pr Build is passing Details
d8be6328da
chore(deps): update dependency happy-dom to v7
konrad scheduled this pull request to auto merge when all checks succeed 2022-10-05 16:06:02 +00:00
Member

Hi renovate!

Thank you for creating a PR!

I've deployed the changes of this PR on a preview environment under this URL: https://2492-renovate-happy-dom-7-x--vikunja-frontend-preview.netlify.app

You can use this url to view the changes live and test them out.
You will need to manually connect this to an api running somehwere. The easiest to use is https://try.vikunja.io/.

Have a nice day!

Beep boop, I'm a bot.

Hi renovate! Thank you for creating a PR! I've deployed the changes of this PR on a preview environment under this URL: https://2492-renovate-happy-dom-7-x--vikunja-frontend-preview.netlify.app You can use this url to view the changes live and test them out. You will need to manually connect this to an api running somehwere. The easiest to use is https://try.vikunja.io/. Have a nice day! > Beep boop, I'm a bot.
konrad merged commit b806a01e95 into main 2022-10-05 16:14:39 +00:00
This repo is archived. You cannot comment on pull requests.
No description provided.