Open
Conversation
Snyk has created this PR to upgrade jsdom from 17.0.0 to 26.1.0. See this package in npm: jsdom See this project in Snyk: https://app.snyk.io/org/strugee/project/a393d8f6-19df-44fe-a74f-00b9d448d03e?utm_source=github&utm_medium=referral&page=upgrade-pr
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Snyk has created this PR to upgrade jsdom from 17.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 28 versions ahead of your current version.
The recommended version was released 6 months ago.
Release notes
Package name: jsdom
-
26.1.0 - 2025-04-13
- Added at least partial support for various SVG elements and their classes:
- Added
- Added the
- Added indexed property support to
- Updated the
- Removed the now-bloated
- Various performance improvements, caches, microoptimizations, and deferred object creation.
-
26.0.0 - 2025-01-09
- Added
- Added initial support for form-associated custom elements, in particular making them labelable and supporting the
- Updated
- Updated
- Updated
- Updated
- Fixed
-
25.0.1 - 2024-09-22
- Updated dependencies, notably
-
25.0.0 - 2024-08-25
-
24.1.3 - 2024-08-25
- Fixed calls to
-
24.1.2 - 2024-08-25
-
24.1.1 - 2024-07-21
-
24.1.0 - 2024-05-26
-
24.0.0 - 2024-01-21
-
23.2.0 - 2024-01-07
-
23.1.0 - 2024-01-05
-
23.0.1 - 2023-11-30
-
23.0.0 - 2023-11-26
-
22.1.0 - 2023-05-27
-
22.0.0 - 2023-05-02
-
21.1.2 - 2023-05-01
-
21.1.1 - 2023-03-12
-
21.1.0 - 2023-01-22
-
21.0.0 - 2023-01-07
-
20.0.3 - 2022-11-20
-
20.0.2 - 2022-10-30
-
20.0.1 - 2022-10-02
-
20.0.0 - 2022-06-19
-
19.0.0 - 2021-12-02
-
18.1.1 - 2021-11-21
-
18.1.0 - 2021-11-12
-
18.0.1 - 2021-11-01
-
18.0.0 - 2021-10-08
-
17.0.0 - 2021-08-13
from jsdom GitHub release notes<defs>(SVGDefsElement),<desc>(SVGDescElement),<g>(SVGGElement),<metadata>(SVGMetadataElement),<switch>(SVGSwitchElement), and<symbol>(SVGSymbolElement).SVGAnimatedPreserveAspectRatioandSVGAnimatedRect, including support in the reflection layer.SVGSVGElementcreateSVGRect()method, and theSVGRecttype (which is distinct fromDOMRect.)HTMLFormElement.SVGElementviewportElement()method to correctly establish the viewport based on ancestor elements.form-datadependency in favor of our own smaller implementation ofmultipart/form-dataserialization. No functional changes are expected.Breaking change:
canvaspeer dependency requirement has been upgraded from v2 to v3. (sebastianwachter)Other changes:
AbortSignal.any(). (jdbevan)ElementInternalslabelsproperty. The form-associated callbacks are not yet supported. (hesxenon)whatwg-url, adding support forURL.parse().cssstyleandrrweb-cssom, to improve CSS parsing capabilities.nwsapi, improving CSS selector matching.parse5, fixing a bug around<noframes>elements and HTML entity decoding.JSDOM.fromURL()to properly reject the returned promise if the server redirects to an invalid URL, instead of causing an uncaught exception.tough-cookie, which no longer prints a deprecation warning.This major release changes the prototype of a jsdom's
EventTarget.prototypeto point to theObject.prototypeinside the jsdom, instead of pointing to the Node.jsObject.prototype. Thus, the prototype chain ofWindowstays entirely within the jsdom, never crossing over into the Node.js realm.This only occurs when
runScriptsis set to non-default values of"dangerously"or"outside-only", as with the default value, there is no separateObject.prototypeinside the jsdom.This will likely not impact many programs, but could cause some changes in
instanceofbehavior, and so out of an abundance of caution, we're releasing it as a new major version.postMessage()that were done as a bare property (i.e.,postMessage()instead ofwindow.postMessage()).Important
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: