Skip to content

chore(deps): update dependency happy-dom to v21 - #1560

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/major-happy-dom-monorepo
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/major-happy-dom-monorepo

Conversation

@renovate

@renovate renovate Bot commented Jan 6, 2025 •

Copy link
Copy Markdown
Contributor

Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
happy-dom 8.9.0 → 21.0.4 age confidence

Release Notes

capricorn86/happy-dom (happy-dom)

v21.0.4

Compare Source

👷‍♂️ 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

👷‍♂️ Patch fixes
  • Fixes security vulnerability where authorization header was forwarded when redirecting - By @​capricorn86

v21.0.2

Compare Source

👷‍♂️ Patch fixes

v21.0.1

Compare Source

👷‍♂️ Patch fixes

v21.0.0

Compare Source

💣 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

👷‍♂️ Patch fixes

v20.14.5

Compare Source

👷‍♂️ Patch fixes

v20.14.4

Compare Source

👷‍♂️ Patch fixes

v20.14.3

Compare Source

👷‍♂️ Patch fixes

v20.14.2

Compare Source

👷‍♂️ Patch fixes
  • Fixes regression where not all CSS variables where resolved in getComputedStyle() - By @​klaesra in task #​2344

v20.14.1

Compare Source

👷‍♂️ Patch fixes

v20.14.0

Compare Source

🎨 Features

v20.13.2

Compare Source

👷‍♂️ Patch fixes

v20.13.1

Compare Source

👷‍♂️ Patch fixes

v20.13.0

Compare Source

🎨 Features

v20.12.2

Compare Source

👷‍♂️ Patch fixes

v20.12.1

Compare Source

🎨 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
👷‍♂️ Patch fixes

v20.12.0

Compare Source

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

v20.11.15

Compare Source

👷‍♂️ Patch fixes

v20.11.14

Compare Source

👷‍♂️ 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

👷‍♂️ Patch fixes

v20.11.12

Compare Source

👷‍♂️ Patch fixes

v20.11.11

Compare Source

👷‍♂️ Patch fixes

v20.11.10

Compare Source

👷‍♂️ Patch fixes
  • Return default validationMessage for built-in constraint violations - By @​mixelburg in task #​2187

v20.11.9

Compare Source

👷‍♂️ 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

👷‍♂️ Patch fixes
  • Values pushed or assigned to the adoptedStyleSheet array should be validated - By @​capricorn86 in task #​2315

v20.11.7

Compare Source

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

v20.11.6

Compare Source

👷‍♂️ Patch fixes

v20.11.5

Compare Source

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

v20.11.4

Compare Source

👷‍♂️ 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

👷‍♂️ Patch fixes

v20.11.2

Compare Source

👷‍♂️ Patch fixes

v20.11.1

Compare Source

👷‍♂️ 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

🎨 Features

v20.10.6

Compare Source

👷‍♂️ Patch fixes

v20.10.5

Compare Source

👷‍♂️ 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

👷‍♂️ Patch fixes
  • Coerce null qualifiedName to empty string in createDocument - By @​Firer in task #​2206

v20.10.3

Compare Source

👷‍♂️ Patch fixes
  • Fix "~=" attribute selector matching hyphenated substrings in CSS selectors - By @​mixelburg in task #​2194

v20.10.2

Compare Source

👷‍♂️ Patch fixes

v20.10.1

Compare Source

v20.10.0

Compare Source

🎨 Features

v20.9.0

Compare Source

🎨 Features
  • Adds support for event listener properties on Window (e.g. Window.onkeydown) - By @​capricorn86 in task #​2131

v20.8.9

Compare Source

👷‍♂️ 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

👷‍♂️ 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

👷‍♂️ 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

👷‍♂️ Patch fixes

v20.8.5

Compare Source

👷‍♂️ Patch fixes

v20.8.4

Compare Source

👷‍♂️ Patch fixes

v20.8.3

Compare Source

👷‍♂️ Patch fixes

v20.8.2

Compare Source

👷‍♂️ Patch fixes
  • Resets Event.cancelBubble and Event.defaultPrevented when calling Event.initEvent() - By @​capricorn86 in task #​2090

v20.8.1

Compare Source

👷‍♂️ Patch fixes

v20.8.0

Compare Source

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

v20.7.2

Compare Source

👷‍♂️ Patch fixes
  • Properly decode CSS escape sequences in attribute selector values - By @​silverwind

v20.7.1

Compare Source

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

v20.7.0

Compare Source

🎨 Features

v20.6.5

Compare Source

👷‍♂️ Patch fixes

v20.6.4

Compare Source

👷‍♂️ Patch fixes

v20.6.3

Compare Source

👷‍♂️ 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

👷‍♂️ 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

👷‍♂️ Patch fixes

v20.6.0

Compare Source

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

v20.5.5

Compare Source

👷‍♂️ Patch fixes

v20.5.4

Compare Source

👷‍♂️ Patch fixes

v20.5.3

Compare Source

👷‍♂️ Patch fixes
  • Node.replaceWith does not throw w/o parent - By @​lukeed

v20.5.2

Compare Source

👷‍♂️ Patch fixes

v20.5.1

Compare Source

👷‍♂️ 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

👷‍♂️ 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

🎨 Features

v20.3.9

Compare Source

👷‍♂️ Patch fixes
  • Accept Document nodes as valid boundary points in Selection API - By @​skoch13 in task #​1952

v20.3.8

Compare Source

👷‍♂️ 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

👷‍♂️ Patch fixes

v20.3.6

Compare Source

👷‍♂️ 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

👷‍♂️ 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

👷‍♂️ Patch fixes

v20.3.3

Compare Source

👷‍♂️ Patch fixes

v20.3.2

Compare Source

👷‍♂️ Patch fixes

v20.3.1

Compare Source

👷‍♂️ 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

🎨 Features

v20.2.0

Compare Source

🎨 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

👷‍♂️ Patch fixes

v20.1.0

Compare Source

🎨 Features
👷‍♂️ Patch fixes

v20.0.11

Compare Source

👷‍♂️ 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

v20.0.10

Compare Source

👷‍♂️ Patch fixes
  • Clears event listeners on all nodes when a Window is closed to prevent memory leaks - By @​TrevorBurnham in task #​1892

v20.0.9

Compare Source

👷‍♂️ Patch fixes
  • Elements should only be upgraded to a custom element (web component) when the element is in the document - By @​capricorn86 in task #​1945
    • This will also improve the memory footprint as the listeners prevented nodes from being garbage collected until the document was closed

v20.0.8

Compare Source

👷‍♂️ Patch fixes
  • Fixes issue where previousSibling() and nextSibling() didn't work in HTMLSelectElement and HTMLFormElement - By @​capricorn86 in task #​1939
  • Fixes issue where parsing an item without a permitted parent (e.g. <tr>) should be valid inside a <template> element - By @​capricorn86 in task #​1939

v20.0.7

Compare Source

👷‍♂️ Patch fixes

v20.0.6

Compare Source

👷‍♂️ Patch fixes
  • Changes implementation for DOMTokenList.forEach(), Headers.forEach() and NodeList.forEach() to be spec compliant - By @​ikeyan in task #​1858

v20.0.5

Compare Source

👷‍♂️ Patch fixes

v20.0.4

Compare Source

👷‍♂️ Patch fixes
  • Only adds buttons to FormData if they are the submitter - By @​maxmil and @​
    karpiuMG
    in task #​1859

v20.0.3

Compare Source

👷‍♂️ Patch fixes
  • Moves URL resolution to after checking if module preloading is enabled to prevent URL errors to be thrown when unresolvable - By @​iam-medvedev in task #​1851
  • Fixes issue where CSS variables aren't parsed correctly when inside CSS functions - By @​fimion in task #​1837

v20.0.2

Compare Source

👷‍♂️ Patch fixes

v20.0.1

Compare Source

👷‍♂️ Patch fixes
  • Adds warning for environment with unfrozen intrinsics (builtins) when JavaScript evaluation is enabled- By @​capricorn86 in task #​1932
    • A security advisory has been reported showing that the recommended preventive measure of running Node.js with --disallow-code-generation-from-strings wasn't enough to protec

[!IMPORTANT]
✂ PR body was truncated to here.


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.

@vercel

vercel Bot commented Jan 6, 2025 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
design-system Error Error Oct 20, 2026 10:40pm UTC

@renovate
renovate Bot force-pushed the renovate/major-happy-dom-monorepo branch 2 times, most recently from 2b6c176 to de07573 Compare January 6, 2025 09:00
@renovate
renovate Bot force-pushed the renovate/major-happy-dom-monorepo branch from de07573 to a54eca9 Compare January 6, 2025 09:35
@vercel

vercel Bot commented Jan 6, 2025

Copy link
Copy Markdown

Deployment failed with the following error:

Resource is limited - try again in 25 minutes (more than 100, code: "api-deployments-free-per-day").

@renovate
renovate Bot force-pushed the renovate/major-happy-dom-monorepo branch from a54eca9 to 30e0a79 Compare January 6, 2025 09:54
@vercel

vercel Bot commented Jan 6, 2025

Copy link
Copy Markdown

Deployment failed with the following error:

Resource is limited - try again in 6 minutes (more than 100, code: "api-deployments-free-per-day").

@renovate
renovate Bot force-pushed the renovate/major-happy-dom-monorepo branch from 30e0a79 to ed80ecd Compare January 6, 2025 10:00
@vercel

vercel Bot commented Jan 6, 2025

Copy link
Copy Markdown

Deployment failed with the following error:

Resource is limited - try again in 534 ms (more than 100, code: "api-deployments-free-per-day").

@renovate
renovate Bot force-pushed the renovate/major-happy-dom-monorepo branch from ed80ecd to bb88ea0 Compare January 7, 2025 06:08
@vercel

vercel Bot commented Jan 7, 2025

Copy link
Copy Markdown

Deployment failed with the following error:

Resource is limited - try again in 1 hour (more than 100, code: "api-deployments-free-per-day").

@renovate
renovate Bot force-pushed the renovate/major-happy-dom-monorepo branch from bb88ea0 to f156818 Compare January 8, 2025 15:50
@renovate
renovate Bot force-pushed the renovate/major-happy-dom-monorepo branch from f156818 to 72babc0 Compare January 9, 2025 06:09
@renovate
renovate Bot force-pushed the renovate/major-happy-dom-monorepo branch 2 times, most recently from 18e4116 to a37dd07 Compare January 13, 2025 06:00
@renovate
renovate Bot force-pushed the renovate/major-happy-dom-monorepo branch 2 times, most recently from bb82c7a to 6a57f82 Compare January 14, 2025 10:59
@renovate
renovate Bot force-pushed the renovate/major-happy-dom-monorepo branch from 6a57f82 to 9165365 Compare January 15, 2025 02:45
@renovate
renovate Bot force-pushed the renovate/major-happy-dom-monorepo branch from 9165365 to 2ddb96a Compare January 20, 2025 21:47
@renovate
renovate Bot force-pushed the renovate/major-happy-dom-monorepo branch from 2ddb96a to 1814d34 Compare January 21, 2025 00:54
@renovate
renovate Bot force-pushed the renovate/major-happy-dom-monorepo branch from 1814d34 to a3e894a Compare January 22, 2025 14:49
@renovate
renovate Bot force-pushed the renovate/major-happy-dom-monorepo branch from 26eec07 to 38d44e1 Compare February 11, 2025 23:07
@renovate
renovate Bot force-pushed the renovate/major-happy-dom-monorepo branch 4 times, most recently from 1be82f0 to e4d8a73 Compare February 15, 2025 06:01
@renovate
renovate Bot force-pushed the renovate/major-happy-dom-monorepo branch from e4d8a73 to c7ee14f Compare February 15, 2025 06:19
@vercel

vercel Bot commented Feb 15, 2025

Copy link
Copy Markdown

Deployment failed with the following error:

Resource is limited - try again in 5 hours (more than 100, code: "api-deployments-free-per-day").

@renovate
renovate Bot force-pushed the renovate/major-happy-dom-monorepo branch 2 times, most recently from 915e95e to 06c36ad Compare February 15, 2025 06:46
@vercel

vercel Bot commented Feb 15, 2025

Copy link
Copy Markdown

Deployment failed with the following error:

Resource is limited - try again in 4 hours (more than 100, code: "api-deployments-free-per-day").

@renovate
renovate Bot force-pushed the renovate/major-happy-dom-monorepo branch from 06c36ad to aeea67e Compare February 19, 2025 02:53
@renovate
renovate Bot force-pushed the renovate/major-happy-dom-monorepo branch from aeea67e to 3dca41b Compare February 22, 2025 02:08
@renovate
renovate Bot force-pushed the renovate/major-happy-dom-monorepo branch from 3dca41b to 2054bf1 Compare February 23, 2025 01:43
@renovate
renovate Bot force-pushed the renovate/major-happy-dom-monorepo branch from 2054bf1 to ed581f3 Compare February 23, 2025 18:05
@renovate
renovate Bot force-pushed the renovate/major-happy-dom-monorepo branch from ed581f3 to 20a562e Compare February 24, 2025 23:44
@renovate
renovate Bot force-pushed the renovate/major-happy-dom-monorepo branch from 20a562e to 9754d25 Compare February 25, 2025 02:32
@renovate
renovate Bot force-pushed the renovate/major-happy-dom-monorepo branch from 9754d25 to 4437cb4 Compare March 3, 2025 23:20
@renovate
renovate Bot force-pushed the renovate/major-happy-dom-monorepo branch from 4437cb4 to 8ace095 Compare March 4, 2025 23:25
@vercel

vercel Bot commented Apr 29, 2025

Copy link
Copy Markdown

Deployment failed with the following error:

Resource is limited - try again in 10 hours (more than 100, code: "api-deployments-free-per-day").

This branch had an error being deployed

1 failed deployment
Preview — afbb8b37 Deployed Oct 20, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants