Skip to content

[Snyk] Upgrade jsdom from 26.0.0 to 26.1.0 - #148

Open
peterj wants to merge 1 commit into
mainfrom
snyk-upgrade-19681b26dca44564d395baaba1823865
Open

peterj wants to merge 1 commit into
mainfrom
snyk-upgrade-19681b26dca44564d395baaba1823865

Conversation

@peterj

@peterj peterj commented Nov 13, 2026

Copy link
Copy Markdown
Contributor

snyk-top-banner

Snyk has created this PR to upgrade jsdom from 26.0.0 to 26.1.0.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 1 version ahead of your current version.

  • The recommended version was released 2 years ago.

Breaking Change Risk

Merge Risk: Low

Notice: This assessment is enhanced by AI.

Release notes
Package name: jsdom
  • 26.1.0 - 2025-04-13
    • Added at least partial support for various SVG elements and their classes: <defs> (SVGDefsElement), <desc> (SVGDescElement), <g> (SVGGElement), <metadata> (SVGMetadataElement), <switch> (SVGSwitchElement), and <symbol> (SVGSymbolElement).
    • Added SVGAnimatedPreserveAspectRatio and SVGAnimatedRect, including support in the reflection layer.
    • Added the SVGSVGElement createSVGRect() method, and the SVGRect type (which is distinct from DOMRect.)
    • Added indexed property support to HTMLFormElement.
    • Updated the SVGElement viewportElement() method to correctly establish the viewport based on ancestor elements.
    • Removed the now-bloated form-data dependency in favor of our own smaller implementation of multipart/form-data serialization. No functional changes are expected.
    • Various performance improvements, caches, microoptimizations, and deferred object creation.
  • 26.0.0 - 2025-01-09

    Breaking change: canvas peer dependency requirement has been upgraded from v2 to v3. (@ sebastianwachter)

    Other changes:

    • Added AbortSignal.any(). (@ jdbevan)
    • Added initial support for form-associated custom elements, in particular making them labelable and supporting the ElementInternals labels property. The form-associated callbacks are not yet supported. (@ hesxenon)
    • Updated whatwg-url, adding support for URL.parse().
    • Updated cssstyle and rrweb-cssom, to improve CSS parsing capabilities.
    • Updated nwsapi, improving CSS selector matching.
    • Updated parse5, fixing a bug around <noframes> elements and HTML entity decoding.
    • Fixed JSDOM.fromURL() to properly reject the returned promise if the server redirects to an invalid URL, instead of causing an uncaught exception.
from jsdom GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

Snyk has created this PR to upgrade jsdom from 26.0.0 to 26.1.0.

See this package in npm:
jsdom

See this project in Snyk:
https://app.snyk.io/org/kagent/project/59d13508-dc88-4e32-80ef-cc59cc4840ea?utm_source=github&utm_medium=referral&page=upgrade-pr
@peterj

peterj commented Nov 13, 2026

Copy link
Copy Markdown
Contributor Author

Merge Risk: Low

This is a minor version upgrade for jsdom from 26.0.0 to 26.1.0. The changes primarily consist of bug fixes, performance enhancements, and improved standards compliance, with no documented breaking changes.

Key Changes:

  • CSSOM Overhaul: The CSS Object Model implementation was significantly updated for better parsing, serialization, and API behavior in edge cases. [1]
  • Performance: Document initialization performance was improved by lazily initializing the CSS selector engine. [1]
  • Bug Fixes: This release includes numerous fixes, such as correcting the behavior of document.getElementById() when multiple elements share an ID, fixing a memory leak related to stylesheets, and improving the timing of FileReader events to better match specifications. [1]
  • New Features: Added validation for cssStyleRule.selectorText and implemented bad port blocking for fetch requests to enhance security. [1]

No breaking changes were mentioned in the release notes for this version. [1]

Source: GitHub Releases

Notice 🤖: This content was augmented using artificial intelligence. AI-generated content may contain errors and should be reviewed for accuracy before use.

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.

2 participants