Update dependency happy-dom to v15 [SECURITY] #445
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:
^14.12.3->^15.0.0GitHub Vulnerability Alerts
CVE-2024-51757
Impact
Consumers of the NPM package
happy-domPatches
The security vulnerability has been patched in v15.10.2
Workarounds
No easy workarounds to my knowledge
References
#1585
Release Notes
capricorn86/happy-dom (happy-dom)
v15.10.2Compare Source
👷♂️ Patch fixes
<script>tag - By @capricorn86 in task #1585v15.10.1Compare Source
👷♂️ Patch fixes
<script>tag - By @capricorn86 in task #1585v15.10.0Compare Source
🎨 Features
disableSameOriginPolicythat makes it possible to bypass the same-origin policy in fetch requests - By @OlaviSau in task #1553v15.9.0Compare Source
🎨 Features
CSSStyleDeclaration- By @yinm in task #1147v15.8.5Compare Source
👷♂️ Patch fixes
Node.getRootNode()returned null when it was within aShadowRootthat previously been disconnected from theDocument- By @capricorn86 in task #1581v15.8.4Compare Source
👷♂️ Patch fixes
HTMLSelectElementandHTMLFormElementhad the wrong reference to the parent - By @capricorn86 in task #1578v15.8.3Compare Source
👷♂️ Patch fixes
HTMLDetailsElementwhen dispatching a click event on a summary element which is a child of the details element - By @mikedidomizio in task #1534v15.8.2Compare Source
👷♂️ Patch fixes
globalThisinstead ofglobalto make Happy DOM work in other runtimes such as Cloudflare workers - By @mattallty in task #1546v15.8.1Compare Source
👷♂️ Patch fixes
Promise<Blob>fromClipboardItem.getType()- By @ezzatron in task #1538v15.8.0Compare Source
👷♂️ Patch fixes
getHTML()andgetInnerHTML()would return the slotted content of a shadow root before the template, but the template should be the first child - By @capricorn86 in task #1079getElementsByTagName()- By @capricorn86 in task #1079🎨 Features
SVGAnimateElement,SVGAnimateMotionElement,SVGAnimateTransformElement,SVGCircleElement,SVGClipPathElement,SVGDefsElement,SVGDescElement,SVGEllipseElement,SVGFEBlendElement,SVGFEColorMatrixElement,SVGFEComponentTransferElement,SVGFECompositeElement,SVGFEConvolveMatrixElement,SVGFEDiffuseLightingElement,SVGFEDisplacementMapElement,SVGFEDistantLightElement,SVGFEDropShadowElement,SVGFEFloodElement,SVGFEFuncAElement,SVGFEFuncBElement,SVGFEFuncGElement,SVGFEFuncRElement,SVGFEGaussianBlurElement,SVGFEImageElement,SVGFEMergeElement,SVGFEMergeNodeElement,SVGFEMorphologyElement,SVGFEOffsetElement,SVGFEPointLightElement,SVGFESpecularLightingElement,SVGFESpotLightElement,SVGFETileElement,SVGFETurbulenceElement,SVGFilterElement,SVGForeignObjectElement,SVGGElement,SVGImageElement,SVGLineElement,SVGLinearGradientElement,SVGMarkerElement,SVGMaskElement,SVGMetadataElement,SVGMPathElement,SVGPathElement,SVGPatternElement,SVGPolygonElement,SVGPolylineElement,SVGRadialGradientElement,SVGRectElement,SVGScriptElement,SVGSetElement,SVGStopElement,SVGStyleElement,SVGSwitchElement,SVGSymbolElement,SVGTextElement,SVGTextPathElement,SVGTitleElement,SVGTSpanElement,SVGUseElementandSVGViewElement- By @capricorn86 in task #1079DOMMatrix,DOMMatrixReadOnly,DOMPointandDOMPointReadOnly- By @capricorn86 in task #1079SVGAngle,SVGAnimatedAngle,SVGAnimatedBoolean,SVGAnimatedEnumeration,SVGAnimatedInteger,SVGAnimatedLength,SVGAnimatedLengthList,SVGAnimatedNumber,SVGAnimatedNumberList,SVGAnimatedPreserveAspectRatio,SVGAnimatedRect,SVGAnimatedString,SVGAnimatedTransformList,SVGLength,SVGLengthList,SVGMatrix,SVGNumber,SVGNumberList,SVGPoint,SVGPointList,SVGPreserveAspectRatio,SVGRect,SVGStringList,SVGTransform,SVGTransformListandSVGUnitTypes- By @capricorn86 in task #1079v15.7.4Compare Source
👷♂️ Patch fixes
replaceWith(),before()andafter()- By @BenjaminAster in task #1533v15.7.3Compare Source
👷♂️ Patch fixes
HTMLSelectElement- By @Cherry in task #1526v15.7.2Compare Source
👷♂️ Patch fixes
MutationObserver- By @capricorn86 in task #1524v15.7.1Compare Source
👷♂️ Patch fixes
querySelector(['.class'])) - By @capricorn86 in task #1507v15.7.0Compare Source
🎨 Features
:haspseudo selector - By @capricorn86 in task #1373v15.6.1Compare Source
👷♂️ Patch fixes
Access-Control-*,Originheaders for cross-origin preflight requests - By @rexxars in task #1489v15.6.0Compare Source
🎨 Features
:focusand:focus-visible- By @capricorn86 in task #1515👷♂️ Patch fixes
HTMLInputElementandHTMLTextAreaElement- By @capricorn86 in task #1487v15.5.0Compare Source
🎨 Features
Blob.stream()- By @PlopAndRun in task #1500v15.4.3Compare Source
👷♂️ Patch fixes
v15.4.2Compare Source
👷♂️ Patch fixes
v15.4.1Compare Source
👷♂️ Patch fixes
FormData.append()when value parameter type is incorrect - By @btea in task #1484v15.4.0Compare Source
🎨 Features
font-facerule - By @m-shaka in task #1441v15.3.2Compare Source
👷♂️ Patch fixes
HTMLInputElement.indeterminateproperty, so that it behaves correctly - By @malko in task #1439v15.3.1Compare Source
👷♂️ Patch fixes
Element.matches()andElement.closest()- By @ocavue in task #1472v15.3.0Compare Source
🎨 Features
AbortSignal.timeout()- By @ezzatron in task #1470v15.2.0Compare Source
🎨 Features
AbortSignal.any()- By @ezzatron in task #1468v15.1.0Compare Source
🎨 Features
Windowcontext for classes that can be constructed using the "new" operator - By @capricorn86 in task #1332Browsercontext internally - By @capricorn86 in task #1332EventTarget.dispatchEvent()to better handle the event phases "none", "capture", "atTarget" and "bubbling" - By @capricorn86 in task #1332HTMLInputElement.popoverTargetElement,HTMLInputElement.popoverTargetAction,HTMLButtonElement.popoverTargetElementandHTMLButtonElement.popoverTargetAction- By @capricorn86 in task #1332HTMLElement.popover- By @capricorn86 in task #1332PerformanceObserver,PerformanceEntryandPerformanceObserverEntryList- By @capricorn86 in task #1332👷♂️ Patch fixes
NodeList[Symbol.iterator]()withArray.prototype.values()- By @capricorn86 in task #1332Windowis closing (e.g. usingsetTimeout()orfetch()) - By @capricorn86 in task #1332Window, which makes it possible forBrowserExceptionObserverto know whichWindowthe error originated fromEvent.composedPath()to not return theWindowobject if the event type is "load", which is the same behaviour as the browser - By @capricorn86 in task #1332Windowobjectv15.0.0Compare Source
💣 Breaking Changes
🎨 Features
HTMLAreaElement,HTMLBodyElement,HTMLQuoteElement,HTMLBRElement,HTMLTableCaptionElement,HTMLTableColElement,HTMLTableColElement,HTMLDataElement,HTMLDataListElement,HTMLModElement,HTMLDetailsElement,HTMLDivElement,HTMLDListElement,HTMLEmbedElement,HTMLFieldSetElement,HTMLHeadingElement,HTMLHeadElement,HTMLHRElement,HTMLHtmlElement,HTMLModElement,HTMLLegendElement,HTMLLIElement,HTMLMapElement,HTMLMenuElement,HTMLMeterElement,HTMLObjectElement,HTMLOListElement,HTMLOutputElement,HTMLParagraphElement,HTMLParamElement,HTMLPictureElement,HTMLPreElement,HTMLProgressElement,HTMLQuoteElement,HTMLSourceElement,HTMLSpanElement,HTMLTableElement,HTMLTableSectionElement,HTMLTableSectionElement,HTMLTitleElement,HTMLTableRowElement,HTMLTrackElement,HTMLUListElement- By @capricorn86 in task #1332HTMLCanvasElement- By @capricorn86 in task #1332CSSStyleDeclaration,querySelector(),querySelectorAll(),getElementById(),getElementsByClassName(),getElementsByTagName(),getElementsByTagNameNS(),getElementsByClassName()- By @capricorn86 in task #1332NodeList,HTMLCollection,DOMTokenList,TextTrackList,HTMLFormElement,HTMLSelectElementHTMLCollectionobjects returned bygetElementsByClassName(),getElementsByTagName(),getElementsByTagNameNS()andgetElementsByClassName()live - By @capricorn86 in task #1332HTMLMediaElement- By @capricorn86 in task #1332HTMLMediaElementinterfaceMediaStream,MediaStreamTrack,RemotePlayback,TextTrack,TextTrackCue,TextTrackCueList,TextTrackList,VTTCue,VTTRegion,CanvasCaptureMediaStream,ImageBitmap,OffscreenCanvas- By @capricorn86 in task #1332IntersectionObserver- By @capricorn86 in task #1332HTMLInputElement.list- By @capricorn86 in task #1332ShadowRoot(it now supportsclonable,serializableandslotAssignment) - By @capricorn86 in task #1332Element.getHTML()- By @capricorn86 in task #1332HTMLSlotElement- By @capricorn86 in task #1332assign(),assignedNodes(),assignedElements()and theslotchangeevent👷♂️ Patch fixes
XMLSerializer(used by features such asinnerHTML) - By @capricorn86 in task #1265waitForNavigation()would not resolve when navigating to some URLs (e.g. "javascript" or "about:blank") - By @capricorn86 in task #1332Attr.cloneNode()would not clone internal values - By @capricorn86 in task #1332Document.titleincluded text data inside child elements, which it shouldn't - By @capricorn86 in task #1332Event.preventDefault()shouldn't cancel the default behaviour if cancelable is not sent as an option inEventTarget.dispatchEvent()- By @capricorn86 in task #1332TimeRangetoTimeRanges- By @capricorn86 in task #1332Window.parentandWindow.topwould not be set correctly in some scenarios - By @capricorn86 in task #1332Configuration
📅 Schedule: Branch creation - "" (UTC), 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 was generated by Mend Renovate. View the repository job log.