chore(deps): update dependency happy-dom to v12 - autoclosed #71
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^6.0.4->^12.0.0Release Notes
capricorn86/happy-dom (happy-dom)
v12.10.3Compare Source
👷♂️ Patch fixes
HTMLInputElement.valueAsDate(). (#1144)Thank you @IGx89 for your contribution!
v12.10.2Compare Source
👷♂️ Patch fixes
Element.cloneNode()should not clone scroll properties. (#1148)v12.10.1Compare Source
👷♂️ Patch fixes
FormData.forEach(). (#1136)Thank you @armandabric for your contribution!
v12.10.0Compare Source
🎨 Features
Navigator.sendBeacon(). (#309)Window.CSSStyleDeclaration. (#309)v12.9.2Compare Source
👷♂️ Patch fixes
@happy-dom/global-registratorby not binding classes to the global object. (#1140)Thank you @IGx89 for your contribution!
v12.9.1Compare Source
👷♂️ Patch fixes
Thank you @goring for your contribution!
v12.9.0Compare Source
🎨 Features
v12.8.1Compare Source
👷♂️ Patch fixes
MutationObserver. (#1113)Thank you @wojtekmaj for your contribution!
v12.8.0Compare Source
🎨 Features
Clipboard,ClipboardItem,PermissionsandPermissionStatus, which are used by theWindow.navigator.clipboardandWindow.navigator.permissionsproperties. (#833)ClipboardEvent. (#833)DataTransfer,DataTransferItemListandDataTransferItem. (#833)MutationRecordclass toWindowas a property. (#1112)👷♂️ Patch fixes
HTMLInputElement.checkedstate whenEvent.preventDefault()is called on a dispatched "click" event.v12.7.0Compare Source
🎨 Features
Element.scrollWidth. (#1109)v12.6.0Compare Source
🎨 Features
v12.5.1Compare Source
🎨 Features
DocumentFragmentas a constructor (e.g.new DocumentFragment()). (#940)👷♂️ Patch fixes
ownerDocumentbeing null when executingownerDocument.createElement()in React 18. The error occurred when rendering a Radix UI component. The root cause was that React 18 usesDocumentFragmentas a constructor which was not supported. (#940)v12.5.0Compare Source
🎨 Features
FocusEvent.relatedTargetto blur and focus events. (#1094)Thank you @artursvonda for your contribution!
v12.4.0Compare Source
🎨 Features
Document.currentScript. (#1099)Thank you @ckhampus for your contribution!
v12.3.0Compare Source
🎨 Features
vm.Scriptfor setting globals instead of a string to improve performance. (#1102)👷♂️ Patch fixes
Window.happyDOM.whenAsyncComplete(). (#1102)v12.2.2Compare Source
👷♂️ Patch fixes
PointerEventimplementation more specification compliant. (#1092)Thank you @tkrotoff for your contribution!
v12.2.1Compare Source
👷♂️ Patch fixes
Symbol.toStringTagtoEventTargetandAbortSignal. (#1097)Thank you @Afsoon for your contribution!
v12.2.0Compare Source
🎨 Features
HTMLElement.clientLeftandHTMLElement.clientTop. (#1089)Thank you @konomae for your contribution!
v12.1.7Compare Source
👷♂️ Patch fixes
NamedNodeMap.removeNamedItem()throw an exception on missing item. (#652)HTMLElement.dataset. Deleting a nonexistent key in a dataset will not throw an exception, even though it indirectly is usingNamedNodeMap.removeNamedItem(). (#652)Thank you @RussianCow for your contribution!
v12.1.6Compare Source
👷♂️ Patch fixes
URL.createObjectURL()where it did not support the Happy DOMBlobobject. (#847)v12.1.5Compare Source
👷♂️ Patch fixes
GlobalRegistratorfrom @happy-dom/global-registrator. (#1082)v12.1.4Compare Source
👷♂️ Patch fixes
global.windownot referring to global when usingGlobalRegistratorfrom @happy-dom/global-registrator. (#1049)v12.1.3Compare Source
👷♂️ Patch fixes
GlobalRegistratorfrom @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.2Compare Source
👷♂️ Patch fixes
Document.referrer. (#653)v12.1.1Compare Source
👷♂️ Patch fixes
display: none, but should returndisplay: block. This caused testing-library to not return the element when usinggetByRole('dialog'). (#802)v12.1.0Compare Source
🎨 Features
v12.0.1Compare Source
👷♂️ Patch fixes
Thank you @ekwoka for collaborating on a fix!
v12.0.0Compare Source
💣 Breaking Changes
Mozilla/5.0 (X11; {process.platform} {process.arch}) AppleWebKit/537.36 (KHTML, like Gecko) HappyDOM/{packageVersion}. (#1067)🎨 Features
Windowconstructor or by settingWindow.happyDOM.settings.navigator.userAgent. (#1067)Download the React DevTools for a better development experienceto the console when using the default user agent. It was previously detected as a supported browser. (#1067)v11.2.0Compare Source
🎨 Features
Window.crypto. (#1050)Thank you @Ayc0 for your contribution!
v11.1.2Compare Source
👷♂️ Patch fixes
HTMLDialogElement.close()when dialog was open. (#1064)Thank you @Schleuse for your contribution!
v11.1.1Compare Source
👷♂️ Patch fixes
DOMParser.parseFromString(). It will no longer add HTML tags when parsing SVGs. (#1040)Thank you @drtimwright for your contribution!
v11.1.0Compare Source
🎨 Features
<g>element as a an SVG element. (#1034)Thank you @ottoszika for your contribution!
v11.0.6Compare Source
👷♂️ Patch fixes
v11.0.5Compare Source
👷♂️ Patch fixes
Window.happyDOM.whenAsyncComplete(). (#1059)v11.0.4Compare Source
👷♂️ Patch fixes
setTimeoutfrom Happy DOM internally for detecting when a test times out. This causedWindow.happyDOM.whenAsyncComplete()andWindow.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.3Compare Source
👷♂️ Patch fixes
Window.happyDOM.whenAsyncComplete()was resolved to early in some scenarios. (#1053)v11.0.2Compare Source
👷♂️ Patch fixes
v11.0.1Compare Source
👷♂️ Patch fixes
v11.0.0Compare Source
💣 Breaking Changes
🎨 Features
👷♂️ Patch fixes
eval()for evaluating code instead of custom logic. This will make it possible to read context variables. #1025Thank you @joeframbach for contributing with logic related to the
eval()functionality!v10.11.2Compare Source
👷♂️ Patch fixes
CSSStyleRuleis valid when parsing a Stylesheet. Invalid selectors will be ignored (this is also how the spec is defined). (#1036)v10.11.1Compare Source
v10.11.0Compare Source
🎨 Features
childNodesandchildrenas getters. (#960)Thank you @edoardocavazza for your contribution!
v10.10.4Compare Source
👷♂️ Patch fixes
CSSStyleDeclaration. (#1014)v10.10.3Compare Source
👷♂️ Patch fixes
v10.10.2Compare Source
👷♂️ Patch fixes
v10.10.1Compare Source
👷♂️ Patch fixes
CSS.escape(). (#1018)Thank you @zuisong for your contribution!
v10.10.0Compare Source
🎨 Features
Request. (#1016)Thank you @orionmiz for your contribution!
v10.9.0Compare Source
🎨 Features
Node.isSameNode(). (#757)v10.8.1Compare Source
👷♂️ Patch fixes
v10.8.0Compare Source
👷♂️ Patch fixes
HTMLButtonElement.attributes.removeNamedItem(). (#1010)Thank you @maxmilton for your contribution!
v10.7.0Compare Source
🎨 Features
Element.scrollHeight. The property will just return "0" for now. (#991)Thank you @lukaselmer for your contribution!
v10.6.3Compare Source
👷♂️ Patch fixes
CSSStyleDeclaration. (#1004)Thank you @AlexisTessier for your contribution!
v10.6.2Compare Source
v10.6.1Compare Source
👷♂️ Patch fixes
HTMLButtonElement.labels,HTMLInputElement.labels,HTMLSelectElement.labelsandHTMLTextAreaElement.labels. It will now also return labels associated by being a parent. (#988)Thank you @joshkel for your contribution!
v10.6.0Compare Source
🎨 Features
HTMLLabelElement.control. It will now find child control elements that are deeper than one level. (#530)Thank you @joshkel for your contribution!
v10.5.3Compare Source
👷♂️ Patch fixes
NamedNodeMap, which is used by theElement.attributesproperty. It will now reflect any changes done to it on the Element itself. (#728)v10.5.2Compare Source
👷♂️ Patch fixes
[ab="a\\:b"]). (#632)v10.5.1Compare Source
👷♂️ Patch fixes
HTMLIFrameElementfails to load page. The problem was most likely that some libraries overrides theDocument.defaultViewproperty somehow, makingDocument.defaultView.constructornot being theWindowconstructor. (#992)v10.5.0Compare Source
🎨 Features
Thank you @malko for your contribution!
v10.4.0Compare Source
🎨 Features
MouseEvent.movementXandMouseEvent.movementY. (#953)Thank you @mertcan for your contribution!
v10.3.2Compare Source
👷♂️ Patch fixes
XMLParser. (#984)XMLParser. (#984)v10.3.1Compare Source
👷♂️ Patch fixes
XMLParsernot to be able to parse the attribute correctly. (#982)v10.3.0Compare Source
🎨 Features
HTMLInputElement.valueAsDate. (#977)Thank you @malko for your contribution!
v10.2.0Compare Source
🎨 Features
Window.queueMicrotask(). (#959)v10.1.1Compare Source
👷♂️ Patch fixes
Document.getRootNode()returned null, but should return the document. (#950)@Schleuse thank you for your contribution!
v10.1.0Compare Source
🎨 Features
HTMLInputElement.valueAsNumber. (#945)HTMLInputElement.value. (#945)Thank you @malko for your contribution!
v10.0.7Compare Source
v10.0.6Compare Source
👷♂️ Patch fixes
Window.postMessage()to better simulate the browser behavior. (#948)Thank you for your contribution @DylanPiercey!
v10.0.5Compare Source
👷♂️ Patch fixes
Thank you @btea for your contribution!
v10.0.4Compare Source
v10.0.3Compare Source
👷♂️ Patch fixes
v10.0.2Compare Source
v10.0.1Compare Source
v10.0.0Compare Source
🎨 Features
👷♂️ Patch fixes
HTMLScriptElement. It will log the errors in the console and trigger an error event instead of failing the entire execution. (#816)💣 Breaking Changes
v9.20.3Compare Source
👷♂️ Patch fixes
HTMLUnknownElementto a custom element that is replacing it when it is defined. (#668)v9.20.2Compare Source
👷♂️ Patch fixes
Window.getComputedStyle()when callingCSSStyleDeclaration.getPropertyValue(). (#932)v9.20.1Compare Source
👷♂️ Patch fixes
querySelectorAll()where it didn't always return elements in document order. (#928)v9.20.0Compare Source
🎨 Features
v9.19.2Compare Source
👷♂️ Patch fixes
v9.19.1Compare Source
👷♂️ Patch fixes
XMLHttpRequestThank you @btea for your contribution!
v9.19.0Compare Source
🎨 Features
Window.getComputedStyle()andWindow.matchMedia()(#921)Window.getComputedStyle()andWindow.matchMedia()when setting font size (other properties will be set to "0px") (#921)<html>when usingWindow.getComputedStyle()(#921)CSSStyleDeclaration. (#921)👷♂️ Patch fixes
CSSStyleDeclaration. Not having support for "height" was missed somehow, as we have support for "width". (#922)v9.18.3Compare Source
👷♂️ Patch fixes
CharacterData.data,CharacterData.nodeValueorCharacterData.textContent. (#819)v9.18.2Compare Source
👷♂️ Patch fixes
Thank you @gtm-nayan for your contribution!
v9.18.1Compare Source
👷♂️ Patch fixes
v9.18.0Compare Source
🎨 Features
v9.17.0Compare Source
🎨 Features
v9.16.0Compare Source
🎨 Features
XMLSerializer.serializeToString(). (#908)v9.15.0Compare Source
🎨 Features
Element.getInnerHTML(). (#898)Thank you @crypto-scythe for your contribution!
v9.14.0Compare Source
🎨 Features
Document.links. (#896)Thank you @btea for your contribution!
v9.13.1Compare Source
👷♂️ Patch fixes
CSSStyleDeclaration. (#889)Thank you @btea for your contribution!
v9.13.0Compare Source
🎨 Features
Element.querySelectorAll(). The performance was decreased after the implementation of document sorting order, due to the fact that it relied onObject.assign()for each match, which is slower than iterating through all matches in the end. (#909)v9.12.0Compare Source
🎨 Features
👷♂️ Patch fixes
v9.11.0Compare Source
🎨 Features
v9.10.9Compare Source
👷♂️ Patch fixes
Request.formData(). (#892)Thank you @rolandjohann for your contribution!
v9.10.8Compare Source
👷♂️ Patch fixes
HTMLAnchorElement.toString()returned "HTMLElement.outerHTML", but should return "HTMLAnchorElement.href" according to spec. (#890)Thank you @Schleuse for your contribution!
v9.10.7Compare Source
👷♂️ Patch fixes
Thank you for your contribution @htuomola!
v9.10.6Compare Source
👷♂️ Patch fixes
XMLHttpRequest. (#795)XMLHttpRequest.response. (#788)Thank you @Mas0nShi for your contribution!
v9.10.5Compare Source
👷♂️ Patch fixes
HTMLCollectionandHTMLFormControlsCollectionrelated to id/name of elements colliding with class properties and methods. (#875)v9.10.4Compare Source
👷♂️ Patch fixes
v9.10.3Compare Source
👷♂️ Patch fixes
click(). (#880)v9.10.2Compare Source
👷♂️ Patch fixes
v9.10.1Compare Source
👷♂️ Patch fixes
v9.10.0Compare Source
🎨 Features
👷♂️ Patch fixes
*.querySelectorAll()did not return elements in document order. (#285)v9.9.2Compare Source
👷♂️ Patch fixes
arguments.lengthtoNode.insertBefore()instead of a check for "null" specific, as the browsers support sending in "undefined", even though it should only allow "null" according to spec. (#827)Thank you @btea for your contribution!
v9.9.1Compare Source
👷♂️ Patch fixes
Thank you @btea for your contribution!
v9.9.0Compare Source
🎨 Features
SVGElement.focus(),SVGElement.blur()andSVGElement.tabIndex. (#699)v9.8.4Compare Source
👷♂️ Patch fixes
Thank you @btea for your contribution!
v9.8.3Compare Source
👷♂️ Patch fixes
Node.appendChild()andNode.insertBefore(). (#643)Thank you @btea for your contribution!
v9.8.2Compare Source
👷♂️ Patch fixes
v9.8.1Compare Source
👷♂️ Patch fixes
<main>element with a "data" attribute to the body. (#493)Thank you @danielrentz for your contribution!
v9.8.0Compare Source
🎨 Features
Ǹode.contains(). (#865)Thank you @btea for your contribution!
v9.7.1Compare Source
👷♂️ Patch fixes
Node.insertBefore()related to moving aNodewithin the same parent. (#421)v9.7.0Compare Source
🎨 Features
Event.addEventListener(). (#856)Event.eventPhase. (#856)v9.6.1Compare Source
👷♂️ Patch fixes
Thank you @danielrentz for your contribution!
v9.6.0Compare Source
🎨 Features
Node.normalize(). (#300)Thank you @danielrentz for your contribution!
v9.5.1Compare Source
👷♂️ Patch fixes
DOMExceptioninText.splitText()when offset is lower than 0. (#857)Thank you @danielrentz for your contribution!
v9.5.0Compare Source
🎨 Features
SubmitEvent. (#820)Thank you @danielrentz for your contribution!
v9.4.0Compare Source
🎨 Features
Range.cloneContents(). (#853)Thank you @danielrentz for your contribution!
v9.3.2Compare Source
👷♂️ Patch fixes
Element.textContent. (#818)Thank you [@R
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.
This PR has been generated by Mend Renovate. View repository job log here.