⬆️ Update dependency happy-dom to v10 - autoclosed #58
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:
^8.0.0
->^10.0.0
Release Notes
capricorn86/happy-dom (happy-dom)
v10.11.1
Compare Source
v10.11.0
Compare Source
🎨 Features
childNodes
andchildren
as getters. (#960)Thank you @edoardocavazza for your contribution!
v10.10.4
Compare Source
👷♂️ Patch fixes
CSSStyleDeclaration
. (#1014)v10.10.3
Compare Source
👷♂️ Patch fixes
v10.10.2
Compare Source
👷♂️ Patch fixes
v10.10.1
Compare Source
👷♂️ Patch fixes
CSS.escape()
. (#1018)Thank you @zuisong for your contribution!
v10.10.0
Compare Source
🎨 Features
Request
. (#1016)Thank you @orionmiz for your contribution!
v10.9.0
Compare Source
🎨 Features
Node.isSameNode()
. (#757)v10.8.1
Compare Source
👷♂️ Patch fixes
v10.8.0
Compare Source
👷♂️ Patch fixes
HTMLButtonElement.attributes.removeNamedItem()
. (#1010)Thank you @maxmilton for your contribution!
v10.7.0
Compare Source
🎨 Features
Element.scrollHeight
. The property will just return "0" for now. (#991)Thank you @lukaselmer for your contribution!
v10.6.3
Compare Source
👷♂️ Patch fixes
CSSStyleDeclaration
. (#1004)Thank you @AlexisTessier for your contribution!
v10.6.2
Compare Source
v10.6.1
Compare Source
👷♂️ Patch fixes
HTMLButtonElement.labels
,HTMLInputElement.labels
,HTMLSelectElement.labels
andHTMLTextAreaElement.labels
. It will now also return labels associated by being a parent. (#988)Thank you @joshkel for your contribution!
v10.6.0
Compare 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.3
Compare Source
👷♂️ Patch fixes
NamedNodeMap
, which is used by theElement.attributes
property. It will now reflect any changes done to it on the Element itself. (#728)v10.5.2
Compare Source
👷♂️ Patch fixes
[ab="a\\:b"]
). (#632)v10.5.1
Compare Source
👷♂️ Patch fixes
HTMLIFrameElement
fails to load page. The problem was most likely that some libraries overrides theDocument.defaultView
property somehow, makingDocument.defaultView.constructor
not being theWindow
constructor. (#992)v10.5.0
Compare Source
🎨 Features
Thank you @malko for your contribution!
v10.4.0
Compare Source
🎨 Features
MouseEvent.movementX
andMouseEvent.movementY
. (#953)Thank you @mertcan for your contribution!
v10.3.2
Compare Source
👷♂️ Patch fixes
XMLParser
. (#984)XMLParser
. (#984)v10.3.1
Compare Source
👷♂️ Patch fixes
XMLParser
not to be able to parse the attribute correctly. (#982)v10.3.0
Compare Source
🎨 Features
HTMLInputElement.valueAsDate
. (#977)Thank you @malko for your contribution!
v10.2.0
Compare Source
🎨 Features
Window.queueMicrotask()
. (#959)v10.1.1
Compare Source
👷♂️ Patch fixes
Document.getRootNode()
returned null, but should return the document. (#950)@Schleuse thank you for your contribution!
v10.1.0
Compare Source
🎨 Features
HTMLInputElement.valueAsNumber
. (#945)HTMLInputElement.value
. (#945)Thank you @malko for your contribution!
v10.0.7
Compare Source
v10.0.6
Compare Source
👷♂️ Patch fixes
Window.postMessage()
to better simulate the browser behavior. (#948)Thank you for your contribution @DylanPiercey!
v10.0.5
Compare Source
👷♂️ Patch fixes
Thank you @btea for your contribution!
v10.0.4
Compare Source
v10.0.3
Compare Source
👷♂️ Patch fixes
v10.0.2
Compare Source
v10.0.1
Compare Source
v10.0.0
Compare 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.3
Compare Source
👷♂️ Patch fixes
HTMLUnknownElement
to a custom element that is replacing it when it is defined. (#668)v9.20.2
Compare Source
👷♂️ Patch fixes
Window.getComputedStyle()
when callingCSSStyleDeclaration.getPropertyValue()
. (#932)v9.20.1
Compare Source
👷♂️ Patch fixes
querySelectorAll()
where it didn't always return elements in document order. (#928)v9.20.0
Compare Source
🎨 Features
v9.19.2
Compare Source
👷♂️ Patch fixes
v9.19.1
Compare Source
👷♂️ Patch fixes
XMLHttpRequest
Thank you @btea for your contribution!
v9.19.0
Compare 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.3
Compare Source
👷♂️ Patch fixes
CharacterData.data
,CharacterData.nodeValue
orCharacterData.textContent
. (#819)v9.18.2
Compare Source
👷♂️ Patch fixes
Thank you @gtm-nayan for your contribution!
v9.18.1
Compare Source
👷♂️ Patch fixes
v9.18.0
Compare Source
🎨 Features
v9.17.0
Compare Source
🎨 Features
v9.16.0
Compare Source
🎨 Features
XMLSerializer.serializeToString()
. (#908)v9.15.0
Compare Source
🎨 Features
Element.getInnerHTML()
. (#898)Thank you @crypto-scythe for your contribution!
v9.14.0
Compare Source
🎨 Features
Document.links
. (#896)Thank you @btea for your contribution!
v9.13.1
Compare Source
👷♂️ Patch fixes
CSSStyleDeclaration
. (#889)Thank you @btea for your contribution!
v9.13.0
Compare 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.0
Compare Source
🎨 Features
👷♂️ Patch fixes
v9.11.0
Compare Source
🎨 Features
v9.10.9
Compare Source
👷♂️ Patch fixes
Request.formData()
. (#892)Thank you @rolandjohann for your contribution!
v9.10.8
Compare 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.7
Compare Source
👷♂️ Patch fixes
Thank you for your contribution @htuomola!
v9.10.6
Compare Source
👷♂️ Patch fixes
XMLHttpRequest
. (#795)XMLHttpRequest.response
. (#788)Thank you @Mas0nShi for your contribution!
v9.10.5
Compare Source
👷♂️ Patch fixes
HTMLCollection
andHTMLFormControlsCollection
related to id/name of elements colliding with class properties and methods. (#875)v9.10.4
Compare Source
👷♂️ Patch fixes
v9.10.3
Compare Source
👷♂️ Patch fixes
click()
. (#880)v9.10.2
Compare Source
👷♂️ Patch fixes
v9.10.1
Compare Source
👷♂️ Patch fixes
v9.10.0
Compare Source
🎨 Features
👷♂️ Patch fixes
*.querySelectorAll()
did not return elements in document order. (#285)v9.9.2
Compare Source
👷♂️ Patch fixes
arguments.length
toNode.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.1
Compare Source
👷♂️ Patch fixes
Thank you @btea for your contribution!
v9.9.0
Compare Source
🎨 Features
SVGElement.focus()
,SVGElement.blur()
andSVGElement.tabIndex
. (#699)v9.8.4
Compare Source
👷♂️ Patch fixes
Thank you @btea for your contribution!
v9.8.3
Compare Source
👷♂️ Patch fixes
Node.appendChild()
andNode.insertBefore()
. (#643)Thank you @btea for your contribution!
v9.8.2
Compare Source
👷♂️ Patch fixes
v9.8.1
Compare Source
👷♂️ Patch fixes
<main>
element with a "data" attribute to the body. (#493)Thank you @danielrentz for your contribution!
v9.8.0
Compare Source
🎨 Features
Ǹode.contains()
. (#865)Thank you @btea for your contribution!
v9.7.1
Compare Source
👷♂️ Patch fixes
Node.insertBefore()
related to moving aNode
within the same parent. (#421)v9.7.0
Compare Source
🎨 Features
Event.addEventListener()
. (#856)Event.eventPhase
. (#856)v9.6.1
Compare Source
👷♂️ Patch fixes
Thank you @danielrentz for your contribution!
v9.6.0
Compare Source
🎨 Features
Node.normalize()
. (#300)Thank you @danielrentz for your contribution!
v9.5.1
Compare Source
👷♂️ Patch fixes
DOMException
inText.splitText()
when offset is lower than 0. (#857)Thank you @danielrentz for your contribution!
v9.5.0
Compare Source
🎨 Features
SubmitEvent
. (#820)Thank you @danielrentz for your contribution!
v9.4.0
Compare Source
🎨 Features
Range.cloneContents()
. (#853)Thank you @danielrentz for your contribution!
v9.3.2
Compare Source
👷♂️ Patch fixes
Element.textContent
. (#818)Thank you @btea for your contribution!
v9.3.1
Compare Source
👷♂️ Patch fixes
Location.href
,Location.replace()
andLocation.assign()
. Please note that the default URL in Happy DOM is "about:blank" and it is not possible to construct a URL with it as base. It has to be set to another absolute URL first. (#678)Thank you @Mas0nShi for your contribution!
v9.3.0
Compare Source
🎨 Features
Document.createNodeIterator()
. (#297)Thank you @danielrentz for your contribution!
v9.2.1
Compare Source
👷♂️ Patch fixes
Element.insertBefore()
did not update theElement.children
property correctly after inserting an element before a non-element node. (#846)Thank you @btea for your contribution!
v9.2.0
Compare Source
🎨 Features
SVGElement.dataset
. (#841)Thank you @danielrentz for your contribution!
v9.1.10
Compare Source
👷♂️ Patch fixes
XMLHttpRequest
andwindow.fetch()
. (#836)🎨 Features
v9.1.9
Compare Source
🎨 Features
Thank you @ekwoka for your contribution!
v9.1.8
Compare Source
👷♂️ Patch fixes
HTMLCollection
. (#840)v9.1.7
Compare Source
👷♂️ Patch fixes
SVGElement.ownerSVGElement
, so that it doesn't end up in an infinity loop. (#811)Thank you @linghaoSu for your contribution!
v9.1.6
Compare Source
👷♂️ Patch fixes
@happy-dom/jest-environment
, so that is will use the configured URL of the jest config. (#800)Thank you @CSchulz for your contribution!
v9.1.5
Compare Source
👷♂️ Patch fixes
Thank you @btea for your contribution!
v9.1.4
Compare Source
👷♂️ Patch fixes
DOMTokenList.supports()
, so that it always returnsfalse
instead of throwing an exception. This will fix problems with integration in frameworks such as SolidJS. (#822)Thank you @ekwoka for your contribution!
v9.1.3
Compare Source
👷♂️ Patch fixes
FormData
. (#835)<template>
tags in XMLParser. (#834)Element.children
collection when inserted into a new parent. (#834)HTMLTemplateElement.previousSibling
andHTMLTemplateElement.nextSibling
always beingnull
. (#834)🎨 Features
Event.cancelBubble
. (#834)Thank you @ekwoka and @btea for your contributions!
v9.1.0
Compare Source
🎨 Features
v9.0.1
Compare Source
👷♂️ Patch fixes
v9.0.0
Compare Source
💣 Breaking Changes
🎨 Features
Window.fetch()
,Window.Request
,Window.Response
andWindow.Headers
in Happy DOM, instead of using the "node-fetch" library. The code is based on "node-fetch". This improves the integration for functionality such asFormData
,Blob
,AbortController
andAbortSignal
withWindow.fetch()
. It will also make it possible to add support for ESM while still keeping support for CommonJS.FormData
. (#585)AbortController
andAbortSignal
. (#470)ValidityState
Element.setAttribute()
andElement.removeAttribute()
instead ofElement.setAttributeNS()
andElement.removeAttributeNS()
to improve performanceHTMLCollection
HTMLCollection.namedItem()
HTMLButtonElement.name
HTMLButtonElement.form
HTMLButtonElement.checkValidity()
HTMLFormControlsCollection
HTMLFormElement.elements
HTMLFormElement
HTMLFormElement.checkValidity()
. It previously just returned "true".HTMLFormElement.reportValidity()
.HTMLFormElement.submit()
.HTMLFormElement.reset()
.RadioNodeList
.HTMLInputElement.checked
HTMLInputElement.labels
HTMLInputElement.form
HTMLInputElement.checkValidity()
. It previously just returned "true".HTMLInputElement.reportValidity()
HTMLInputElement
to trigger functionality on checkboxes, radio buttons, submit buttons and reset buttons.HTMLLabelElement.form
HTMLSelectElement.options
HTMLSelectElement.labels
HTMLSelectElement
HTMLSelectElement.checkValidity()
.HTMLSelectElement.reportValidity()
HTMLSelectElement.form
HTMLSelectElement.validity
HTMLInputElement.validity
HTMLInputElement.reportValidity()
HTMLButtonElement.form
HTMLButtonElement.labels
HTMLButtonElement.validity
HTMLButtonElement.required
HTMLButtonElement.validationMessage
HTMLButtonElement.checkValidity()
HTMLButtonElement.reportValidity()
HTMLButtonElement.setCustomValidatiy()
HTMLTextAreaElement.form
HTMLTextAreaElement.labels
HTMLTextAreaElement.validity
HTMLTextAreaElement.validationMessage
HTMLTextAreaElement.checkValidity()
HTMLTextAreaElement.reportValidity()
HTMLTextAreaElement.setCustomValidatiy()
I know many of you have been waiting for several of the features in this release. It turned out to be much bigger and more time-consuming than originally anticipated, but now it's finally out. Enjoy 🥳
v8.9.0
Compare Source
🎨 Features
Audio
class to Window. (#778)v8.8.0
Compare Source
🎨 Features
Document.title
. (#785)v8.7.6
Compare Source
👷♂️ Patch fixes
XMLHttpRequest
with responses other charsets than UTF-8. (#783)v8.7.5
Compare Source
👷♂️ Patch fixes
XMLParser
. (#519)v8.7.4
Compare Source
👷♂️ Patch fixes
Node.contains()
method. (#776)v8.7.3
Compare Source
👷♂️ Patch fixes
Document.visibilityState
andDocument.hidden
. (#774)v8.7.2
Compare Source
👷♂️ Patch fixes
HTMLElement.blur()
. (#771)HTMLElement.focus()
. (#771)v8.7.1
Compare Source
👷♂️ Patch fixes
HTMLInputElement.value
. (#729)v8.7.0
Compare Source
🎨 Features
HTMLIframeElement
,MessageEvent
andWindow.postMessage()
. (#682)v8.6.0
Compare Source
🎨 Features
EventTarget.addEventListener()
. Only the "once" option is currently supported, but we will add more in the future. (#700)v8.5.0
Compare Source
🎨 Features
Window.SVGGraphicsElement
. (#761)v8.4.4
Compare Source
👷♂️ Patch fixes
<script>
tags. (#759)v8.4.3
Compare Source
👷♂️ Patch fixes
:not
query selectors not matching element. (#753)v8.4.2
Compare Source
👷♂️ Patch fixes
Navigator
, so that it is possible to spy on them with Jest. (#755)v8.4.1
Compare Source
v8.4.0
Compare Source
🎨 Features
Element.toggleAttribute()
. (#724)v8.3.2
Compare Source
👷♂️ Patch fixes
v8.3.1
Compare Source
👷♂️ Patch fixes
v8.3.0
Compare Source
🎨 Features
Event.timeStamp
. (#722)v8.2.6
Compare Source
👷♂️ Patch fixes
v8.2.5
Compare Source
👷♂️ Patch fixes
Window.setTimeout()
andWindow.setInterval()
. (#712)v8.2.4
Compare Source
👷♂️ Patch fixes
CustomEvent.detail
. (#701)v8.2.3
Compare Source
👷♂️ Patch fixes
Event.composedPath()
. (#709)v8.2.2
Compare Source
👷♂️ Patch fixes
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.