Skip to content
This repository was archived by the owner on Dec 7, 2025. It is now read-only.

chore(deps): update dependency jsdom to v27 - #584

Open
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/jsdom-27.x
Open

renovate[bot] wants to merge 1 commit into
masterfrom
renovate/jsdom-27.x

Conversation

@renovate

@renovate renovate Bot commented Oct 18, 2025 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
jsdom 27.0.0 -> 27.2.0 age confidence

Release Notes

jsdom/jsdom (jsdom)

v27.2.0

Compare Source

  • Added CSSGroupingRule, CSSNestedDeclarations, CSSConditionRule, CSSContainerRule, CSSScopeRule, CSSSupportsRule, CSSLayerBlockRule, and CSSLayerStatementRule to jsdom Windows. (acemir)
  • Improved CSS parsing and CSSOM object APIs via updates to @acemir/cssom. (acemir)
  • Fixed @import-ed stylesheets to be properly exposed to CSSOM, and not to overwrite the sheet created from the <link> or <style> element. (acemir)

v27.1.0

Compare Source

  • Improved CSS parsing by switching to @acemir/cssom, including support for nested selectors, nested declarations, layer statements, and improved at-rule validation. (acemir)
  • Fixed some selector cache invalidation issues where changes to attributes were not being picked up. (asamuzaK)
  • Fixed package.json "engines" field to reflect the new minimum Node.js versions needed to run jsdom, as noted in the changelog for v27.0.1.

v27.0.1

Compare Source

  • Fixed some regressions in CSS selectors. Most such regression fixes were done in a minor update of a dependency, and thus available for all fresh installs of v27.0.0. However, one related to class="" attribute changes is only possible with a new version of jsdom. (asamuzaK)

v27.0.0

Compare Source

Changes since 26.1.0
  • Node.js v20 is now the minimum supported version.
  • Added a variety of event constructors, even though we do not implement their associated specifications or ever fire them: BeforeUnloadEvent, BlobEvent, DeviceMotionEvent (omitting requestPermission()), DeviceOrientationEvent (omitting requestPermission()), PointerEvent, PromiseRejectionEvent, and TransitionEvent.
  • Added movementX and movementY to MouseEvent. (These are from the Pointer Lock specification, the rest of which is not implemented.)
  • Added customElements.getName(). (mash-graz)
  • Updated the virtual console:
    • "jsdomError" events are now documented, with specific type properties and other properties that depend on the type.
    • sendTo() was renamed to forwardTo().
    • The jsdomErrors option to forwardTo() can be used to control which errors are sent to the Node.js console. This replaces the previous omitJSDOMErrors boolean option.
    • "jsdomError"s for failed XMLHttpRequest fetches are no longer emitted.
    • The values that are printed when forwarding "jsdomError"s to the Node.js console are streamlined.
  • Switched our CSS selector engine from nwsapi to @asamuzakjp/dom-selector, closing over 20 selector-related bugs.
  • Upgraded tough-cookie, which now considers URLs like http://localhost/ to be secure contexts (per the spec), and thus will return Secure-flagged cookies for such URLs. (colincasey)
  • Upgraded cssstyle, which brings along many improvements and fixes to the CSSStyleDeclaration object and its properties.
  • Updated the user agent stylesheet to be derived from the HTML Standard, instead of from an old revision of Chromium.
  • Changed element.click() to fire a PointerEvent instead of a MouseEvent.
  • Changed certain events to be passive by default.
  • Changed the <input> element's pattern="" attribute to use the v regular expression flag, instead of u.
  • Fixed many specification conformance issues with the Window object, including named properties and changing various data properties to accessor properties.
  • Fixed document.createEvent() to accept a more correct set of event names.
  • Fixed the ElementInternals accessibility getters and setters. (They were introduced in v23.1.0, but due to inadequate test coverage never actually worked.)
  • Fixed using Object.defineProperty() on certain objects, such as HTMLSelectElement instances.
  • Fixed jsdom.reconfigure({ url }) not updating document.baseURI or properties derived from it. (This regressed in v26.1.0.)
  • Fixed CSS system colors, as well as the initial, inherit, and unset keywords, to resolve correctly. (asamuzaK)
  • Fixed CSS display style resolution. (asamuzaK)
Changes since 27.0.0-beta.3
  • Upgraded cssstyle, which brings along various CSS parsing fixes.

v26.1.0

Compare Source

  • 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.

v26.0.0

Compare Source

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.

v25.0.1

Compare Source

  • Updated dependencies, notably tough-cookie, which no longer prints a deprecation warning.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled because a matching PR was automerged previously.

♻ 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.

@renovate

renovate Bot commented Oct 18, 2025 •

Copy link
Copy Markdown
Contributor Author

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: client/package-lock.json
npm warn Unknown env config "store". This will stop working in the next major version of npm.
npm warn ERESOLVE overriding peer dependency
npm warn While resolving: voting-client@1.0.0
npm warn Found: chai@5.1.2
npm warn node_modules/chai
npm warn   dev chai@"6.2.1" from the root project
npm warn
npm warn Could not resolve dependency:
npm warn peer chai@"^4.0.0" from chai-immutable@2.1.0
npm warn node_modules/chai-immutable
npm warn   dev chai-immutable@"2.1.0" from the root project
npm warn ERESOLVE overriding peer dependency
npm warn While resolving: voting-client@1.0.0
npm warn Found: immutable@5.0.0
npm warn node_modules/immutable
npm warn   immutable@"5.1.4" from the root project
npm warn
npm warn Could not resolve dependency:
npm warn peer immutable@"^3.0.0" from chai-immutable@2.1.0
npm warn node_modules/chai-immutable
npm warn   dev chai-immutable@"2.1.0" from the root project
npm warn ERESOLVE overriding peer dependency
npm warn While resolving: voting-client@1.0.0
npm warn Found: react@18.3.1
npm warn node_modules/react
npm warn   react@"19.0.0" from the root project
npm warn   4 more (react-dom, react-redux, react-router, use-sync-external-store)
npm warn
npm warn Could not resolve dependency:
npm warn peer react@"^15.0.0 || ^16.0.0 || ^17.0.0" from react-hot-loader@4.13.1
npm warn node_modules/react-hot-loader
npm warn   dev react-hot-loader@"4.13.1" from the root project
npm warn ERESOLVE overriding peer dependency
npm warn While resolving: voting-client@1.0.0
npm warn Found: react-dom@18.3.1
npm warn node_modules/react-dom
npm warn   react-dom@"19.0.0" from the root project
npm warn
npm warn Could not resolve dependency:
npm warn peer react-dom@"^15.4.2" from react-addons-test-utils@15.6.2
npm warn node_modules/react-addons-test-utils
npm warn   react-addons-test-utils@"15.6.2" from the root project
npm warn ERESOLVE overriding peer dependency
npm warn While resolving: voting-client@1.0.0
npm warn Found: react-dom@18.3.1
npm warn node_modules/react-dom
npm warn   react-dom@"19.0.0" from the root project
npm warn
npm warn Could not resolve dependency:
npm warn peer react-dom@"^15.0.0 || ^16.0.0 || ^17.0.0" from react-hot-loader@4.13.1
npm warn node_modules/react-hot-loader
npm warn   dev react-hot-loader@"4.13.1" from the root project
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: voting-client@1.0.0
npm error Found: react-redux@9.1.2
npm error node_modules/react-redux
npm error   react-redux@"9.2.0" from the root project
npm error
npm error Could not resolve dependency:
npm error react-redux@"9.2.0" from the root project
npm error
npm error Conflicting peer dependency: @types/react@19.2.7
npm error node_modules/@types/react
npm error   peerOptional @types/react@"^18.2.25 || ^19" from react-redux@9.2.0
npm error   node_modules/react-redux
npm error     react-redux@"9.2.0" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /runner/cache/others/npm/_logs/2025-12-03T19_00_18_278Z-eresolve-report.txt
npm error A complete log of this run can be found in: /runner/cache/others/npm/_logs/2025-12-03T19_00_18_278Z-debug-0.log

@renovate
renovate Bot force-pushed the renovate/jsdom-27.x branch from 9b38f6c to 7cbb627 Compare October 31, 2025 06:12
@renovate
renovate Bot force-pushed the renovate/jsdom-27.x branch 2 times, most recently from 0ab1616 to e9e4757 Compare November 12, 2025 08:41
@renovate
renovate Bot force-pushed the renovate/jsdom-27.x branch from e9e4757 to 00c2246 Compare November 19, 2025 00:48
@renovate
renovate Bot force-pushed the renovate/jsdom-27.x branch from 00c2246 to d6b2207 Compare December 3, 2025 19:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants