Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented May 19, 2022

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
happy-dom 2.55.0 -> 4.1.0 age adoption passing confidence

Release Notes

capricorn86/happy-dom

v4.1.0

Compare Source

🎨 Features
  • Adds support for Window.DOMRect. (#​846)

v4.0.2

Compare Source

👷‍♂️ Patch fixes
  • Fixes problem with Document.baseURI not working as ownerDocument is null in the Document node. (#​485)

v4.0.1

Compare Source

👷‍♂️ Patch fixes
  • Adds a check for only executing scripts for valid mime types in HTMLScriptElement. (#​446)

v4.0.0

Compare Source

💣 Breaking Changes
  • Fixes issues with HTML parsing and serialization related to void and SVG elements. (#​479)
    • Void elements will be serialized from <img /> to <img>
    • SVG elements will be serialized from <circle /> to <circle></circle>
    • This change can potentially break tests as the serialized HTML may differ from before (e.g. Element.innerHTML) and therefore it is released as a major version.
👷‍♂️ Patch fixes
  • Fixes issue related to Element.namespaceURI not being correct for SVG elements. (#​479)
    • HTML parser should always set Element.namespaceURI to be http://www.w3.org/2000/svg on SVG elements. Even if "xmlns" is set as an attribute.

v3.2.2

Compare Source

👷‍♂️ Patch fixes
  • Fixes issue with methods like addEventListener() and removeEventListener() not working when called in the global context. (#​464)

v3.2.1

Compare Source

v3.2.0

Compare Source

🎨 Features
  • Adds support for Event.composedPath(). (#​468)

v3.1.1

Compare Source

👷‍♂️ Patch fixes
  • Fixes problem with Vitest hanging in some scenarios. It was caused by the import of the package "sync-request". This fix reverts back to use "require()" when needed instead of using "import". (#​462)

v3.1.0

Compare Source

🎨 Features
  • Adds support for Window.getSelection(). (#​457)

v3.0.0

Compare Source

💣 Breaking Changes
  • Changes target language from ES5 to ES2020 (CommonJS will still be used as module system). (#​454)
🎨 Features
  • Makes the Window instance a VM context. (#​454)
  • Adds support for a new window called GlobalWindow, that will run in the global context. (#​454)
👷‍♂️ Patch fixes
  • Solves general problems with globals (Array, Object etc.) inside a VM by contextifying the Window when it is created. (#​454)
Migration from v2.x.x to v3.0.0
  • You may have to transpile Happy DOM to ES5 if the rest of your code is executed using ES5.
  • You no longer have to execute VM.createContext(window) as the default Window class is already a VM context. However, it is not necessary to do this change as the createContext() will just ignore already contextified objects.

Configuration

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

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/happy-dom-4.x branch from 386a27d to ebfa021 Compare May 20, 2022 16:02
@renovate renovate bot force-pushed the renovate/happy-dom-4.x branch from ebfa021 to 1c980bb Compare May 25, 2022 15:22
@dwightjack dwightjack merged commit f146933 into next May 27, 2022
@dwightjack dwightjack deleted the renovate/happy-dom-4.x branch May 27, 2022 04:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants