chore(deps): update devdependency happy-dom to v13 - autoclosed #148
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:
^9.20.3
->^13.10.1
Release Notes
capricorn86/happy-dom (happy-dom)
v13.10.1
Compare Source
v13.10.0
Compare Source
🎨 Features
v13.9.0
Compare Source
v13.8.6
Compare Source
👷♂️ Patch fixes
v13.8.5
Compare Source
👷♂️ Patch fixes
HTMLElementConfig
- By @danbentley in task #1306v13.8.4
Compare Source
👷♂️ Patch fixes
HTMLLinkElement.href
,HTMLImageElement.src
andHTMLScriptElement.src
- By @capricorn86 in task #1135v13.8.3
Compare Source
👷♂️ Patch fixes
<li>
,<h1>
or<table>
) doesn't allow itself as direct descendant when parsing HTML, but should allow itself as descendant when it is not at first level - By @capricorn86 in task #1039v13.8.2
Compare Source
v13.8.1
Compare Source
v13.8.0
Compare Source
🎨 Features
v13.7.8
Compare Source
v13.7.7
Compare Source
v13.7.6
Compare Source
v13.7.5
Compare Source
👷♂️ Patch fixes
v13.7.4
Compare Source
v13.7.3
Compare Source
v13.7.2
Compare Source
v13.7.1
Compare Source
👷♂️ Patch fixes
Response.clone()
- By @cprecioso in task #1216v13.7.0
Compare Source
v13.6.2
Compare Source
🎨 Features
👷♂️ Patch fixes
handleEvent()
should be called within the listener scope - By @titouanmathis in task #1182v13.6.1
Compare Source
👷♂️ Patch fixes
MutationsObserver.observe()
- By @romansp in task #1223v13.6.0
Compare Source
🎨 Features
Node.isEqualNode()
- By @aralroca in task #1263👷♂️ Patch fixes
Document.forms
- By @juandiegombr in task #1260MutationObserver
options are null, which most likely happens for code that is executed after the Window instance has been closed - By @zachlankton in task #1217v13.5.3
Compare Source
👷♂️ Patch fixes
v13.5.2
Compare Source
👷♂️ Patch fixes
v13.5.1
Compare Source
👷♂️ Patch fixes
v13.5.0
Compare Source
🎨 Features
ReadableStream
class for the propertiesResponse.body
andRequest.body
- By @diego-toro and @capricorn86 in task #1180Stream.Readable
class, which is not fully spec compliantv13.4.1
Compare Source
👷♂️ Patch fixes
v13.4.0
Compare Source
🎨 Features
CustomElementRegistry.getName()
- By @mash-graz in task #1176await Window.happyDOM.close()
, which makes it possible to wait for the teardown to be completed in a detached window - By @capricorn86 in task #1176👷♂️ Patch fixes
Element.localName
correctly inDocument.createElement()
andDocument.createElementNS()
- By @capricorn86 in task #1176namespaceURI
for "xmlns" attribute when parsing SVGs - By @capricorn86 in task #1176CustomElementRegistry
- By @mash-graz in task #1176HTMLElement
class with different name inCustomElementRegistry
- By @mash-graz in task #1176v13.3.8
Compare Source
👷♂️ Patch fixes
v13.3.7
Compare Source
👷♂️ Patch fixes
v13.3.6
Compare Source
👷♂️ Patch fixes
v13.3.5
Compare Source
🎨 Features
:not
in query selectors - By @gdorsi in task #1191TouchEvent
andTouch
- By @visualjerk in task #1186👷♂️ Patch fixes
v13.3.4
Compare Source
👷♂️ Patch fixes
v13.3.3
Compare Source
👷♂️ Patch fixes
v13.3.2
Compare Source
👷♂️ Patch fixes
v13.3.1
Compare Source
👷♂️ Patch fixes
v13.3.0
Compare Source
🎨 Features
GlobalRegistrator.register()
in "@happy-dom/global-registrator". (#1105)👷♂️ Patch fixes
GlobalRegistrator.register()
in "@happy-dom/global-registrator". (#1105)v13.2.2
Compare Source
👷♂️ Patch fixes
global.location.href
when using Happy DOM in the global scope (e.g. by using @happy-dom/global-registrator). (#1230)v13.2.1
Compare Source
👷♂️ Patch fixes
HTMLAnchorElement
,HTMLButtonElement
,HTMLOptGroupElement
,HTMLOptionElement
,HTMLUnknownElement
andHTMLSelectElement
. (#1227)HTMLElement
as the non-implemented class name. (#1227)v13.2.0
Compare Source
🎨 Features
v13.1.4
Compare Source
👷♂️ Patch fixes
SubmitEvent
instances dispatched byHTMLInputElement
andHTMLButtonElement
. (#1173)Thank you @aaltepet for your contribution!
v13.1.3
Compare Source
👷♂️ Patch fixes
querySelector()
andquerySelectorAll()
. (#1170)Thank you @btea for your contribution!
v13.1.2
Compare Source
👷♂️ Patch fixes
Selection.anchorOffset
,Selection.baseOffset
,Selection.focusOffset
andSelection.extendOffset
should return 0 when no range has been added. (#1163)Thank you @seanogdev for your contribution!
v13.1.1
Compare Source
👷♂️ Patch fixes
DOMTokenList
(e.g.<div class=" class1 class2 ">
). (#1168)Thank you @takenspc for your contribution!
v13.1.0
Compare Source
🎨 Features
Window.getComputedStyle()
. (#1188)v13.0.7
Compare Source
👷♂️ Patch fixes
v13.0.6
Compare Source
👷♂️ Patch fixes
Node
in the constructor of a custom element. (#1207)v13.0.5
Compare Source
👷♂️ Patch fixes
v13.0.4
Compare Source
👷♂️ Patch fixes
v13.0.3
Compare Source
👷♂️ Patch fixes
v13.0.2
Compare Source
👷♂️ Patch fixes
v13.0.1
Compare Source
🎨 Features
BrowserFrame.viewport
. (#466)Window.resizeTo()
. (#466)Window.resizeBy()
. (#466)👷♂️ Patch fixes
v13.0.0
Compare Source
💣 Breaking Changes
🎨 Features
XMLHttpRequest
. It now supports the GZip, Deflate and Brotli encodings. (#466)Ẁindow.open()
. (#466)Ẁindow.close()
. This function should now be used when tearing down the environment. (#466)HTMLIFrameElement
. (#466)Location.href
. (#466)MutationObserver
. It will not collect multiple records with a microtask. It now also supportsMutationObserver.takeRecords()
for records that has not yet been published. (#466)👷♂️ Patch fixes
new Document()
did'nt work according to spec. (#466)Window
. (#466)Document.importNode()
where it didn't changeownerDocument
on child nodes. (#466)ownerDocument
state used when creating Node instances, so that it can be garbage collected if not used anymore. (#466)Merry Christmas and a Happy New Year! 🎅 ✨
This release took some time as I didn't want to release the Browser API without applying security fixes. I've also stumbled across a few other issues along the way that I felt I needed to address.
I hope you will enjoy the release!
v12.10.3
Compare Source
👷♂️ Patch fixes
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
FormData.forEach()
. (#1136)Thank you @armandabric for your contribution!
v12.10.0
Compare Source
🎨 Features
Navigator.sendBeacon()
. (#309)Window.CSSStyleDeclaration
. (#309)v12.9.2
Compare Source
👷♂️ Patch fixes
@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
Thank you @goring for your contribution!
v12.9.0
Compare Source
🎨 Features
v12.8.1
Compare Source
👷♂️ Patch fixes
MutationObserver
. (#1113)Thank you @wojtekmaj for your contribution!
v12.8.0
Compare Source
🎨 Features
Clipboard
,ClipboardItem
,Permissions
andPermissionStatus
, which are used by theWindow.navigator.clipboard
andWindow.navigator.permissions
properties. (#833)ClipboardEvent
. (#833)DataTransfer
,DataTransferItemList
andDataTransferItem
. (#833)MutationRecord
class toWindow
as a property. (#1112)👷♂️ Patch fixes
HTMLInputElement.checked
state whenEvent.preventDefault()
is called on a dispatched "click" event.v12.7.0
Compare Source
🎨 Features
Element.scrollWidth
. (#1109)v12.6.0
Compare Source
🎨 Features
v12.5.1
Compare Source
🎨 Features
DocumentFragment
as a constructor (e.g.new DocumentFragment()
). (#940)👷♂️ Patch fixes
ownerDocument
being null when executingownerDocument.createElement()
in React 18. The error occurred when rendering a Radix UI component. The root cause was that React 18 usesDocumentFragment
as a constructor which was not supported. (#940)v12.5.0
Compare Source
🎨 Features
FocusEvent.relatedTarget
to blur and focus events. (#1094)Thank you @artursvonda for your contribution!
v12.4.0
Compare Source
🎨 Features
Document.currentScript
. (#1099)Thank you @ckhampus for your contribution!
v12.3.0
Compare Source
🎨 Features
vm.Script
for setting globals instead of a string to improve performance. (#1102)👷♂️ Patch fixes
Window.happyDOM.whenAsyncComplete()
. (#1102)v12.2.2
Compare Source
👷♂️ Patch fixes
PointerEvent
implementation more specification compliant. (#1092)Thank you @tkrotoff for your contribution!
v12.2.1
Compare Source
👷♂️ Patch fixes
Symbol.toStringTag
toEventTarget
andAbortSignal
. (#1097)Thank you @Afsoon for your contribution!
v12.2.0
Compare Source
🎨 Features
HTMLElement.clientLeft
andHTMLElement.clientTop
. (#1089)Thank you @konomae for your contribution!
v12.1.7
Compare 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.6
Compare Source
👷♂️ Patch fixes
URL.createObjectURL()
where it did not support the Happy DOMBlob
object. (#847)v12.1.5
Compare Source
👷♂️ Patch fixes
GlobalRegistrator
from @happy-dom/global-registrator. (#1082)v12.1.4
Compare Source
👷♂️ Patch fixes
global.window
not referring to global when usingGlobalRegistrator
from @happy-dom/global-registrator. (#1049)v12.1.3
Compare Source
👷♂️ Patch fixes
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
Document.referrer
. (#653)v12.1.1
Compare Source
👷♂️ Patch fixes
display: none
, but should returndisplay: block
. This caused testing-library to not return the element when usinggetByRole('dialog')
. (#802)v12.1.0
Compare Source
🎨 Features
v12.0.1
Compare Source
👷♂️ Patch fixes
Thank you @ekwoka for collaborating on a fix!
v12.0.0
Compare Source
💣 Breaking Changes
Mozilla/5.0 (X11; {process.platform} {process.arch}) AppleWebKit/537.36 (KHTML, like Gecko) HappyDOM/{packageVersion}
. (#1067)🎨 Features
Window
constructor or by settingWindow.happyDOM.settings.navigator.userAgent
. (#1067)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
Window.crypto
. (#1050)Thank you @Ayc0 for your contribution!
v11.1.2
Compare Source
👷♂️ Patch fixes
HTMLDialogElement.close()
when dialog was open. (#1064)Thank you @Schleuse for your contribution!
v11.1.1
Compare Source
👷♂️ Patch fixes
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
<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
Window.happyDOM.whenAsyncComplete()
. (#1059)v11.0.4
Compare Source
👷♂️ Patch fixes
setTimeout
from 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.3
Compare Source
👷♂️ Patch fixes
Window.happyDOM.whenAsyncComplete()
was resolved to early in some scenarios. (#1053)v11.0.2
Compare Source
👷♂️ Patch fixes
v11.0.1
Compare Source
👷♂️ Patch fixes
v11.0.0
Compare 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.2
Compare Source
👷♂️ Patch fixes
CSSStyleRule
is valid when parsing a Stylesheet. Invalid selectors will be ignored (this is also how the spec is defined). (#1036)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!
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - "before 4am" in timezone Asia/Shanghai.
🚦 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.