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(deps): update dependency happy-dom to v12 #582

Merged
merged 1 commit into from
Oct 29, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 15, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
happy-dom ^11.0.0 -> ^12.0.0 age adoption passing confidence

Release Notes

capricorn86/happy-dom (happy-dom)

v12.10.3

Compare Source

👷‍♂️ Patch fixes
  • Fix for week being wrong sometimes as it is not calculated as UTC in HTMLInputElement.valueAsDate(). (#​1144)

Thank you @​IGx89 for your contribution!

v12.10.2

Compare Source

👷‍♂️ Patch fixes
  • Element.cloneNode() should not clone scroll properties. (#​1148)

v12.10.1

Compare Source

👷‍♂️ Patch fixes
  • Fixes wrong callback parameter order of "key" and "value" in FormData.forEach(). (#​1136)

Thank you @​armandabric for your contribution!

v12.10.0

Compare Source

🎨 Features
  • Adds support for Navigator.sendBeacon(). (#​309)
  • Adds support for the property Window.CSSStyleDeclaration. (#​309)

v12.9.2

Compare Source

👷‍♂️ Patch fixes
  • Fixes Node 18.18.2+ support in @happy-dom/global-registrator by not binding classes to the global object. (#​1140)

Thank you @​IGx89 for your contribution!

v12.9.1

Compare Source

👷‍♂️ Patch fixes
  • Fixes typo in documentation. (#​1123)

Thank you @​goring for your contribution!

v12.9.0

Compare Source

🎨 Features
  • Improves performance of the async task manager. This will improve performance of timers in general as they have less logic executed related to the async task manager. (#​1114)

v12.8.1

Compare Source

👷‍♂️ Patch fixes
  • Adds missing second parameter in callbacks from MutationObserver. (#​1113)

Thank you @​wojtekmaj for your contribution!

v12.8.0

Compare Source

🎨 Features
  • Adds support for Clipboard, ClipboardItem, Permissions and PermissionStatus, which are used by the Window.navigator.clipboard and Window.navigator.permissions properties. (#​833)
  • Adds support for ClipboardEvent. (#​833)
  • Improves support for DataTransfer, DataTransferItemList and DataTransferItem. (#​833)
  • Adds MutationRecord class to Window as a property. (#​1112)
👷‍♂️ Patch fixes
  • Restores HTMLInputElement.checked state when Event.preventDefault() is called on a dispatched "click" event.

v12.7.0

Compare Source

🎨 Features
  • Adds support for Element.scrollWidth. (#​1109)

v12.6.0

Compare Source

🎨 Features
  • Adds support for dispatching a click event on the control element when clicking on a label. (#​1023)

v12.5.1

Compare Source

🎨 Features
  • Adds support for DocumentFragment as a constructor (e.g. new DocumentFragment()). (#​940)
👷‍♂️ Patch fixes
  • Fixes issue related to ownerDocument being null when executing ownerDocument.createElement() in React 18. The error occurred when rendering a Radix UI component. The root cause was that React 18 uses DocumentFragment as a constructor which was not supported. (#​940)

v12.5.0

Compare Source

🎨 Features
  • Add FocusEvent.relatedTarget to blur and focus events. (#​1094)

Thank you @​artursvonda for your contribution!

v12.4.0

Compare Source

🎨 Features
  • Add support for Document.currentScript. (#​1099)

Thank you @​ckhampus for your contribution!

v12.3.0

Compare Source

🎨 Features
  • Uses vm.Script for setting globals instead of a string to improve performance. (#​1102)
👷‍♂️ Patch fixes
  • Improves logic in Window.happyDOM.whenAsyncComplete(). (#​1102)

v12.2.2

Compare Source

👷‍♂️ Patch fixes
  • Makes PointerEvent implementation more specification compliant. (#​1092)

Thank you @​tkrotoff for your contribution!

v12.2.1

Compare Source

👷‍♂️ Patch fixes
  • Adds support for Symbol.toStringTag to EventTarget and AbortSignal. (#​1097)

Thank you @​Afsoon for your contribution!

v12.2.0

Compare Source

🎨 Features
  • Adds support for HTMLElement.clientLeft and HTMLElement.clientTop. (#​1089)

Thank you @​konomae for your contribution!

v12.1.7

Compare Source

👷‍♂️ Patch fixes
  • Makes NamedNodeMap.removeNamedItem() throw an exception on missing item. (#​652)
  • Allow deletion of nonexistent keys from HTMLElement.dataset. Deleting a nonexistent key in a dataset will not throw an exception, even though it indirectly is using NamedNodeMap.removeNamedItem(). (#​652)

Thank you @​RussianCow for your contribution!

v12.1.6

Compare Source

👷‍♂️ Patch fixes
  • Fixes bug in URL.createObjectURL() where it did not support the Happy DOM Blob object. (#​847)
  • Makes sure that HTMLUnknownElement is disconnected from its parent when replaced by a custom element. (#​1087)

v12.1.5

Compare Source

👷‍♂️ Patch fixes

v12.1.4

Compare Source

👷‍♂️ Patch fixes

v12.1.3

Compare Source

👷‍♂️ Patch fixes
  • Allows global properties to be overwritten when using GlobalRegistrator from @​happy-dom/global-registrator, as some global properties may behave different from the Happy DOM implementation. The properties will be restored when unregistering. (#​1049)

v12.1.2

Compare Source

👷‍♂️ Patch fixes
  • Adds support for Document.referrer. (#​653)

v12.1.1

Compare Source

👷‍♂️ Patch fixes
  • Fixes issue related to wrong computed style for "display" being return for HTMLDialogElement when it is open. It returned display: none, but should return display: block. This caused testing-library to not return the element when using getByRole('dialog'). (#​802)

v12.1.0

Compare Source

🎨 Features
  • Adds support for a new setting called disableErrorCapturing. Happy DOM will by default try to catch errors in functionality such as scripts, timers and event listeners. This setting makes it possible it to disable this behavior. (#​1073)

v12.0.1

Compare Source

👷‍♂️ Patch fixes
  • Fixes "__dirname not defined" error when using ESM. The error was introduced in v12.0.0. (#​1069)

Thank you @​ekwoka for collaborating on a fix!

v12.0.0

Compare Source

💣 Breaking Changes
  • Changes the default user agent. The default user agent will now be Mozilla/5.0 (X11; {process.platform} {process.arch}) AppleWebKit/537.36 (KHTML, like Gecko) HappyDOM/{packageVersion}. (#​1067)
🎨 Features
  • It is now possible to pass user agent as an option to the Window constructor or by setting Window.happyDOM.settings.navigator.userAgent. (#​1067)
  • React will no longer output the message Download the React DevTools for a better development experience to the console when using the default user agent. It was previously detected as a supported browser. (#​1067)

v11.2.0

Compare Source

🎨 Features
  • Adds support for Window.crypto. (#​1050)

Thank you @​Ayc0 for your contribution!

v11.1.2

Compare Source

👷‍♂️ Patch fixes
  • Only dispatch "close" event in HTMLDialogElement.close() when dialog was open. (#​1064)

Thank you @​Schleuse for your contribution!

v11.1.1

Compare Source

👷‍♂️ Patch fixes
  • Adds support for the mime type "image/svg+xml" to DOMParser.parseFromString(). It will no longer add HTML tags when parsing SVGs. (#​1040)

Thank you @​drtimwright for your contribution!

v11.1.0

Compare Source

🎨 Features
  • Add support for handling the <g> element as a an SVG element. (#​1034)

Thank you @​ottoszika for your contribution!

v11.0.6

Compare Source

👷‍♂️ Patch fixes

v11.0.5

Compare Source

👷‍♂️ Patch fixes
  • Increases timeout in Window.happyDOM.whenAsyncComplete(). (#​1059)

v11.0.4

Compare Source

👷‍♂️ Patch fixes
  • Jest was using setTimeout from Happy DOM internally for detecting when a test times out. This caused Window.happyDOM.whenAsyncComplete() and Window.happyDOM.cancelAsync() to not work as expected inside Jest. This is a bug in Jest, but this release adds a temporary fix to "@​happy-dom/jest-environment" until Jest has solved it. (#​1057)

v11.0.3

Compare Source

👷‍♂️ Patch fixes
  • Fixes an issue where the Promise returned by Window.happyDOM.whenAsyncComplete() was resolved to early in some scenarios. (#​1053)

v11.0.2

Compare Source

👷‍♂️ Patch fixes
  • Fixes documentation for packages in README.md. (#​1047)

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 force-pushed the renovate/happy-dom-12.x branch from 3b4d06a to d99d30c Compare October 29, 2023 16:01
@jonkoops jonkoops merged commit 0d72c58 into main Oct 29, 2023
6 of 7 checks passed
@jonkoops jonkoops deleted the renovate/happy-dom-12.x branch October 29, 2023 16:21
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.

1 participant