Skip to content

deps(npm): bump happy-dom from 15.11.7 to 20.4.0#20

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/happy-dom-20.4.0
Closed

deps(npm): bump happy-dom from 15.11.7 to 20.4.0#20
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/happy-dom-20.4.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 29, 2026

Bumps happy-dom from 15.11.7 to 20.4.0.

Release notes

Sourced from happy-dom's releases.

v20.4.0

🎨 Features

v20.3.9

👷‍♂️ Patch fixes

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

v20.3.8

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

👷‍♂️ Patch fixes

  • Updates README.md for the "@​happy-dom/server-renderer" package - By @​capricorn86 in task #2035

v20.3.6

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

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

👷‍♂️ Patch fixes

v20.3.3

👷‍♂️ Patch fixes

v20.3.2

👷‍♂️ Patch fixes

... (truncated)

Commits
  • 18e56d0 feat: #2049 Adds support for caching the compiled code of EcmaScript module...
  • d8a50dc fix: #1952 Accept Document nodes as valid boundary points in Selection API ...
  • 77a6cd0 fix: #1850 Selection API focusNode and focusOffset returning incorrect valu...
  • aa2dbb8 fix: #2035 Updates README.md for the server-renderer package (#2037)
  • 4d1c023 fix: #1928 Support details click firing the onToggle event handler (#1929)
  • 92940f6 chore: #2032 Fixes vitest config (#2033)
  • 1f808cc fix: #1964 Use internal PropertySymbol.location in BrowserFrameURL to avoid...
  • 0a37555 fix: #1968 Add optional chaining to CookieURLUtility for undefined hostname...
  • 1ad9eb2 chore: upgrade vitest (#1970)
  • 28f36e1 fix: #1912 Preserve attribute name case in CSS selectors for XML documents ...
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 29, 2026

Labels

The following labels could not be found: dependencies, javascript. Please create them before Dependabot can add them to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/happy-dom-20.4.0 branch from ec83588 to 5844077 Compare January 29, 2026 18:12
Bumps [happy-dom](https://github.com/capricorn86/happy-dom) from 15.11.7 to 20.4.0.
- [Release notes](https://github.com/capricorn86/happy-dom/releases)
- [Commits](capricorn86/happy-dom@v15.11.7...v20.4.0)

---
updated-dependencies:
- dependency-name: happy-dom
  dependency-version: 20.4.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/happy-dom-20.4.0 branch from 5844077 to fc41512 Compare January 29, 2026 18:13
@decebal
Copy link
Contributor

decebal commented Feb 2, 2026

🤖 Dependency Update Adoption Status

Status: ⚠️ REQUIRES INVESTIGATION

Analysis

  • Dependency: happy-dom 15.11.7 → 20.4.0
  • Type: Major version update (npm devDependency)
  • CI Status: Failing - Web Quality Gates

Breaking Changes in happy-dom 20.x

happy-dom is a DOM implementation for testing. Version 20.x includes:

  • Improved DOM API compatibility
  • New window/document features
  • Potential test behavior changes

CI Failures

  • Web Quality Gates: FAILURE
  • Secret Scanning: FAILURE (unrelated)

Recommendation

As a test dependency, this upgrade may cause test failures due to:

  1. More strict DOM compliance (tests relying on loose behavior)
  2. Changed default configurations
  3. New APIs that conflict with test mocking

Action:

  1. Review failing test logs to identify specific issues
  2. Update test configurations if needed
  3. Consider incremental upgrade (15 → 16 → 17 → etc.) if changes are extensive

@decebal decebal closed this Feb 2, 2026
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 2, 2026

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/npm_and_yarn/happy-dom-20.4.0 branch February 2, 2026 15:33
@decebal
Copy link
Contributor

decebal commented Feb 2, 2026

🤖 Update: Changes Applied

The dependency updates from this PR have been manually applied to main:

  • happy-dom: 15.11.7 → 20.4.0 ✅
  • @happy-dom/global-registrator: 15.11.7 → 20.4.0 ✅

All 43 tests pass. This PR can be closed as superseded.

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.

1 participant