ReviewOS

also looking at this

stacks/clarity

chore(deps): update dependency @happy-dom/global-registrator to v21

#3362
Open renovate[bot] wants to merge renovate/major-happy-dom-monorepo into main
2 files +4 -4
8 days ago

This PR contains the following updates:

PackageChangeAgeAdoptionPassingConfidence
@happy-dom/global-registrator (source)^20.0.10 → ^21.0.4ageadoptionpassingconfidence

Release Notes

capricorn86/happy-dom (@​happy-dom/global-registrator)

v21.0.4

Compare Source

:construction_worker_man: Patch fixes
  • Fixed a code injection vulnerability in the ESM compiler - By @​capricorn86
  • Fixed cross-origin isolation so opaque-origin data: iframes cannot access their parent or top window - By @​capricorn86

v21.0.3

Compare Source

:construction_worker_man: Patch fixes
  • Fixes security vulnerability where authorization header was forwarded when redirecting - By @​capricorn86

v21.0.2

Compare Source

:construction_worker_man: Patch fixes

v21.0.1

Compare Source

:construction_worker_man: Patch fixes

v21.0.0

Compare Source

:bomb: Breaking Changes
  • Disables CSS and IFrame loading by default to prevent server-side request forgery (SSRF) - By @​capricorn86
    • An attacker could embed <iframe> or <link rel="stylesheet"> elements in untrusted HTML to make Happy DOM send HTTP requests from the server to attacker-chosen URLs, including internal services. This could allow access to otherwise unreachable endpoints or trigger unintended actions, depending on the application and its network access.
    • The settings property disableCSSFileLoading has been deprecated
    • Added the new settings properties enableCSSFileLoading and enableIframePageLoading
    • If you don't believe that you are at risk, you can keep the same behavior as in <=v20.14.6 by sending in { enableCSSFileLoading: true, enableIframePageLoading: true } as broswer settings (e.g. new Window({ settings }));

v20.14.6

Compare Source

:construction_worker_man: Patch fixes

v20.14.5

Compare Source

:construction_worker_man: Patch fixes

v20.14.4

Compare Source

:construction_worker_man: Patch fixes

v20.14.3

Compare Source

:construction_worker_man: Patch fixes

v20.14.2

Compare Source

:construction_worker_man: Patch fixes
  • Fixes regression where not all CSS variables where resolved in getComputedStyle() - By @​klaesra in task #​2344

v20.14.1

Compare Source

:construction_worker_man: Patch fixes

v20.14.0

Compare Source

:art: Features

v20.13.2

Compare Source

:construction_worker_man: Patch fixes

v20.13.1

Compare Source

:construction_worker_man: Patch fixes

v20.13.0

Compare Source

:art: Features

v20.12.2

Compare Source

:construction_worker_man: Patch fixes

v20.12.1

Compare Source

:art: Features
  • Adds support for kebab-case properties on CSSStyleDeclaration - By @​capricorn86 in task #​2256
  • Adds support for all Chromium CSS properties to CSSStyleDeclaration - By @​capricorn86 in task #​2256
    • Downloads a list from the Chromium project when compiling
:construction_worker_man: Patch fixes

v20.12.0

Compare Source

:art: Features
  • Adds support for Animation, AnimationTimeline, DocumentTimeline and KeyframeEffect - By @​capricorn86
  • Adds support for Element.animate() - By @​capricorn86

v20.11.15

Compare Source

:construction_worker_man: Patch fixes

v20.11.14

Compare Source

:construction_worker_man: Patch fixes
  • Change prototype of element to the custom element when upgraded to keep the reference - By @​capricorn86 in task #​2331
    • The previous solution replaced the element with the custom element and copied it's properties, but this made any reference to the original element invalid

v20.11.13

Compare Source

:construction_worker_man: Patch fixes

v20.11.12

Compare Source

:construction_worker_man: Patch fixes

v20.11.11

Compare Source

:construction_worker_man: Patch fixes

v20.11.10

Compare Source

:construction_worker_man: Patch fixes

v20.11.9

Compare Source

:construction_worker_man: Patch fixes
  • Make sure that the element has been upgraded before invoking reaction callback in custom elements - By @​capricorn86 in task #​2317

v20.11.8

Compare Source

:construction_worker_man: Patch fixes

v20.11.7

Compare Source

:construction_worker_man: Patch fixes
  • The properties Document.adoptedStyleSheets and ShadowRoot.adoptedStyleSheets should validate it's value - By @​capricorn86 in task #​2313

v20.11.6

Compare Source

:construction_worker_man: Patch fixes

v20.11.5

Compare Source

:construction_worker_man: Patch fixes
  • Allow explicit element types for querySelector (e.g. querySelector<HTMLInputElement>(".my-input")) - By @​cyphercodes

v20.11.4

Compare Source

:construction_worker_man: Patch fixes
  • Fixes the CORS check fetch() to match origins instead of host and protocol - By @​rexxars in task #​1490

v20.11.3

Compare Source

:construction_worker_man: Patch fixes

v20.11.2

Compare Source

:construction_worker_man: Patch fixes

v20.11.1

Compare Source

:construction_worker_man: Patch fixes
  • Improve performance of query selectors by avoiding construction of DOMException when not needed - By @​@​cyfung1031 in task #​2228

v20.11.0

Compare Source

:art: Features

v20.10.6

Compare Source

:construction_worker_man: Patch fixes

v20.10.5

Compare Source

:construction_worker_man: Patch fixes
  • Adds cache to query selector parser - By @​capricorn86 in task #​2142
    • The selector parser degraded in performance in v20.6.3 to solve more complex selectors
    • Parsing is still a bit slower, but the cache will hopefully mitigate most of the problem

v20.10.4

Compare Source

:construction_worker_man: Patch fixes
  • Coerce null qualifiedName to empty string in createDocument - By @​Firer in task #​2206

v20.10.3

Compare Source

:construction_worker_man: Patch fixes
  • Fix "~=" attribute selector matching hyphenated substrings in CSS selectors - By @​mixelburg in task #​2194

v20.10.2

Compare Source

:construction_worker_man: Patch fixes

v20.10.1

Compare Source

v20.10.0

Compare Source

:art: Features

v20.9.0

Compare Source

:art: Features

v20.8.9

Compare Source

:construction_worker_man: Patch fixes
  • Fixes issue where cookies from the current origin was being forwarded to the target origin in fetch requests - By @​capricorn86 in task #​2117

v20.8.8

Compare Source

:construction_worker_man: Patch fixes
  • Fixes issue where export names can be interpolated as executable code in ESM - By @​capricorn86 in task #​2113
    • A security advisory (GHSA-6q6h-j7hj-3r64) has been reported that shows a security vulnerability where it may be possible to escape the VM context and get access to process level functionality in unsafe environments using CommonJS. Big thanks to @​tndud042713 for reporting this!

v20.8.7

Compare Source

:construction_worker_man: Patch fixes
  • Replace implementing Node.js Console with common IConsole interface to support latest version of Bun - By @​YevheniiKotyrlo in task #​1845

v20.8.6

Compare Source

:construction_worker_man: Patch fixes

v20.8.5

Compare Source

:construction_worker_man: Patch fixes

v20.8.4

Compare Source

:construction_worker_man: Patch fixes

v20.8.3

Compare Source

:construction_worker_man: Patch fixes

v20.8.2

Compare Source

:construction_worker_man: Patch fixes
  • Resets Event.cancelBubble and Event.defaultPrevented when calling Event.initEvent() - By @​capricorn86 in task #​2090

v20.8.1

Compare Source

:construction_worker_man: Patch fixes

v20.8.0

Compare Source

:art: Features
  • Adds support for setPointerCapture, hasPointerCapture, and releasePointerCapture to Element - By @​coffeeandwork in task #​1733

v20.7.2

Compare Source

:construction_worker_man: Patch fixes
  • Properly decode CSS escape sequences in attribute selector values - By @​silverwind

v20.7.1

Compare Source

:construction_worker_man: Patch fixes
  • Fixes issue related to parsing direct descendants (>) and universal (*) query selectors - By @​Cherry in task #​2078

v20.7.0

Compare Source

:art: Features

v20.6.5

Compare Source

:construction_worker_man: Patch fixes

v20.6.4

Compare Source

:construction_worker_man: Patch fixes

v20.6.3

Compare Source

:construction_worker_man: Patch fixes
  • Refactors query selector parser to be able to handle complex rules - By @​capricorn86 in task #​1910
  • Fixes issue related to using query selector for attribute in XML document - By @​capricorn86 in task #​1912
  • Fixes issue with using quotes within quotes for attribute query selector (e.g. [data-value="it's a test"]) - By @​capricorn86 in task #​2034

v20.6.2

Compare Source

:construction_worker_man: Patch fixes
  • Update entities package version to resolve missing export for vue and vue-compat v3.5 - By @​acollins1991 in task #​2066

v20.6.1

Compare Source

:construction_worker_man: Patch fixes

v20.6.0

Compare Source

:art: Features
  • Adds support for register on import to the @happy-dom/global-registrator package - By @​capricorn86 in task #​2060

v20.5.5

Compare Source

:construction_worker_man: Patch fixes

v20.5.4

Compare Source

:construction_worker_man: Patch fixes

v20.5.3

Compare Source

:construction_worker_man: Patch fixes
  • Node.replaceWith does not throw w/o parent - By @​lukeed

v20.5.2

Compare Source

:construction_worker_man: Patch fixes

v20.5.1

Compare Source

:construction_worker_man: Patch fixes
  • Fixes logic in HTMLInputElement.stepUp() and HTMLInputElement.stepDown() to work according to spec - By @​stevematney in task #​1955

v20.5.0

Compare Source

:construction_worker_man: Patch fixes
  • Removes circular dependencies internally - By @​capricorn86 in task #​2055
    • Compilers can handle simpler circular dependencies, but warnings may be outputted
  • Changes naming of types used internally to follow a consistent pattern - By @​capricorn86 in task #​2055
  • Enforces use of the "type" modifier internally in the source code (e.g. import type and export type) - By @​capricorn86 in task #​2055

v20.4.0

Compare Source

:art: Features

v20.3.9

Compare Source

:construction_worker_man: Patch fixes
  • Accept Document nodes as valid boundary points in Selection API - By @​skoch13 in task #​1952

v20.3.8

Compare Source

:construction_worker_man: Patch fixes
  • The getters for the properties focusNode and focusOffset in the Selection API returned incorrect values - By @​skoch13 in task #​1850

v20.3.7

Compare Source

:construction_worker_man: Patch fixes

v20.3.6

Compare Source

:construction_worker_man: Patch fixes
  • Fixes issue where it wasn't possible to toggle the "open" attribute of <details> by clicking on a child of the <summary> element - By @​Nxooah in task #​1928

v20.3.5

Compare Source

:construction_worker_man: Patch fixes
  • Use internal property for "location" in BrowserFrameURL to avoid mock interference - By @​marchaos in task #​1964
  • Add optional chaining to the "hostname" and pathname" properties to check if they are undefined in CookieURLUtility - By @​marchaos in task #​1968

v20.3.4

Compare Source

:construction_worker_man: Patch fixes

v20.3.3

Compare Source

:construction_worker_man: Patch fixes

v20.3.2

Compare Source

:construction_worker_man: Patch fixes

v20.3.1

Compare Source

:construction_worker_man: Patch fixes
  • Normalizes the "format" parameter according to the HTML specification in DataTransfer.getData() - By @​marchaos in task #​1965
  • Handle partial responses in XMLHttpRequest - By @​rexxars in task #​1890

v20.3.0

Compare Source

:art: Features

v20.2.0

Compare Source

:art: Features
  • Use Element.classList.contains() instead of splitting className in query selectors to improve performance as it's cached - By @​TrevorBurnham in task #​1884

v20.1.1

Compare Source

:construction_worker_man: Patch fixes

v20.1.0

Compare Source

:art: Features
:construction_worker_man: Patch fixes

v20.0.11

Compare Source

:construction_worker_man: Patch fixes
  • Always include manually set authorization headers in requests - By @​capricorn86 in task #​1048'
    • Authorization headers should only be omitted when automatically set by page context

Configuration

📅 Schedule: (UTC)

  • 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 was generated by Mend Renovate. View the repository job log.

2 changed files on the files tab, with 0 review threads.

Sign in to comment on this pull request.