Skip to content

chore(deps-dev): bump jsdom from 30.1.3 to 31.0.0 - #2728

Closed
dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/npm_and_yarn/jsdom-31.0.0
Closed

dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/npm_and_yarn/jsdom-31.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 16, 2026

Copy link
Copy Markdown
Contributor

Bumps jsdom from 30.1.3 to 31.0.0.

Release notes

Sourced from jsdom's releases.

v31.0.0

Breaking changes

  • Changed the optional canvas and image decoding backend from canvas to @napi-rs/canvas. Install @napi-rs/canvas v1.0.13 or later in the v1.x series alongside jsdom; installing canvas alone no longer enables this support. The new backend provides prebuilt Skia binaries on supported platforms, and rendering and encoded image bytes can differ. Projects using native canvas objects or custom font registration should follow the canvas migration guidance. Added WebP serialization through canvas.toDataURL() and canvas.toBlob(). Fixed image loading to wait for decoding before firing load, discard obsolete source requests, avoid refetching when dimensions change, and prevent failed images from drawing stale contents. Fixed canvas context and serialization behavior, including unsupported context types, read-only ctx.canvas, image-drawing exceptions, MIME type and quality normalization, and asynchronous null results from canvas.toBlob() for empty canvases or encoding failures. (@​Brooooooklyn)
  • Changed CSS parsing, selector matching, and computed styles to use a new integrated implementation, with substantially expanded support and faster selector queries and repeated style reads. This includes cascade layers, nesting, @scope, custom-property substitution and registration through @property and CSS.registerProperty(), typed attr(), conditional if(), shadow-tree styling with :host, ::slotted(), and ::part(), pseudo-element computed styles, and constructable stylesheets with document.adoptedStyleSheets and shadowRoot.adoptedStyleSheets. Fixed numerous cascade, shorthand, serialization, and default-style issues; computed declarations now stay live across DOM and stylesheet changes. CSS serialization and computed values can differ from previous releases.
  • Changed HTML and XML parsing to pause at blocking scripts until their required resources are ready. The JSDOM constructor, JSDOM.fromURL(), and JSDOM.fromFile() can now return partially parsed documents. Wait for DOMContentLoaded for the finished tree, or the window's load event for load-delaying resources, checking document.readyState first in case the event has already fired. XML syntax errors encountered after asynchronous parsing resumes are reported through the virtual console as "xml-parsing" errors.

Other changes

  • Added window.reportError(), which dispatches an error event and reports uncanceled errors to the virtual console. (@​sarankumar1325)
  • Added element.ariaBrailleLabel and element.ariaBrailleRoleDescription. (@​Kjubikstronk)
  • Fixed page-completion load events to fire only on the window. Use window.addEventListener("load", ...) or window.onload instead of listening on the document.
  • Fixed document.open(), including implicit calls from document.write(), to clear event listeners and handlers from the document, its descendants, and its window when replacing the input stream.
  • Fixed document.write() to process successive writes through the parser's input stream, preserve insertion points across nested scripts, and make completed text immediately visible. Script-created input streams now remain open until document.close().
  • Fixed dynamically inserted scripts to respect script.async = false execution order, use their source text and document from preparation time, and avoid executing after adoption into another document. Scripts parsed through inert fragment APIs no longer execute when subsequently inserted.
  • Fixed unrelated images, stylesheets, and frames being delayed behind scripts, and resource completion events firing before nested stylesheet imports finish. Cyclic imports no longer prevent completion, and <style> elements in shadow trees now fire load events.
  • Fixed window.stop() to cancel pending subresource and XMLHttpRequest requests in descendant frames and suppress completion events for canceled loads, while allowing subsequent requests to proceed.
  • Fixed repeated document.close() calls replaying readiness and load events, and incorrect iframe load events when reopening documents from event handlers.
  • Fixed memory leaks where pending request interceptor promises retained closed windows, introduced in v28.0.0.
  • Fixed focus remaining on elements that become non-focusable after DOM or style changes. Focus now moves asynchronously to the document's viewport, and element.blur() can release it immediately.
  • Fixed document.hasFocus() returning false before an element is focused or during focus transitions within the document, including inside frames.
  • Fixed \<template> parsing and template.innerHTML serialization in XML documents, including templates with namespace prefixes. (@​b84330808)
  • Fixed rect.toJSON() and performance.toJSON() to create their result objects in the method's realm instead of the host Node.js realm.
Commits
  • 825fa8e 31.0.0
  • 9f2e49a Add ariaBrailleLabel and ariaBrailleRoleDescription
  • 4c0a35e Flush text written with document.write()
  • fce11d3 Switch canvas support to @​napi-rs/canvas
  • 27614bf Fix document.hasFocus() during focus changes
  • 627ade2 Implement asynchronous focus fixup
  • 8bd17a2 Implement reportError()
  • 5ae66cf Update webidl2js and remove IDL workarounds
  • ce5a100 Align development scripts and CI
  • 9cc717f Adopt ESLint config v6 and oxfmt
  • 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 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)

Bumps [jsdom](https://github.com/jsdom/jsdom) from 30.1.3 to 31.0.0.
- [Release notes](https://github.com/jsdom/jsdom/releases)
- [Commits](jsdom/jsdom@v30.1.3...v31.0.0)

---
updated-dependencies:
- dependency-name: jsdom
  dependency-version: 31.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added area:frontend Area: React, TypeScript, UI, browser tests, or Vite area:javascript Area: JavaScript or TypeScript dependency/tooling work change:deps PR: dependency or lockfile updates labels Nov 16, 2026
@hardwarevisualizerappmanager
hardwarevisualizerappmanager Bot enabled auto-merge (squash) November 16, 2026 23:35
@github-actions

github-actions Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

CI telemetry

Commit 9696ae2 · updated 2026-11-16 23:52 UTC

Workflow Result Wall time Longest queue Jobs
CI ❌ failure 16m 42s 31s 9
CodeQL Advanced ✅ success 43s 4s 3
Agent Guidance ✅ success 20s 3s 1
PR Branch Name ✅ success 6s 3s 1
CodeQL Advanced · 3 jobs
Job Result Queue Duration CPU avg / p95 Mem peak Disk peak Caches
Analyze (javascript-typescript) ✅ 2s 41s – – – –
Analyze (actions) ✅ 1s 27s – – – –
Analyze (rust) ✅ 4s 22s – – – –

Slowest steps

Step Duration
Analyze (javascript-typescript) › Perform CodeQL Analysis 22s
Analyze (actions) › Perform CodeQL Analysis 12s
Analyze (javascript-typescript) › Initialize CodeQL 11s
CI · 9 jobs · 12 skipped
Job Result Queue Duration CPU avg / p95 Mem peak Disk peak Caches
test-e2e-native ✅ 2s 15m 06s 82% / 100% · 3.3/4T
T 82 · 81 · 82 · 82
5.3 / 15.6 GiB 69 / 145 GiB target partial/miss · npm exact
test-e2e-web ✅ 3s 3m 55s 44% / 67% · 1.7/4T
T 43 · 41 · 48 · 43
3.8 / 15.3 GiB 58 / 144 GiB npm exact
check-frontend ❌ 3s 2m 00s 81% / 99% · 3.3/4T
T 81 · 81 · 82 · 82
3.2 / 15.6 GiB 58 / 144 GiB npm exact
test-render-memory-perf ✅ 2s 1m 25s 25% / 72% · 1.0/4T
T 27 · 28 · 23 · 22
3.1 / 15.6 GiB 59 / 144 GiB npm exact
test-render-perf ✅ 3s 1m 01s 39% / 64% · 1.6/4T
T 38 · 40 · 42 · 38
3.2 / 15.6 GiB 59 / 144 GiB npm exact
Merge Gate ❌ 31s 37s – – – –
lint-frontend ✅ 3s 25s 44% / 59% · 1.8/4T
T 36 · 52 · 51 · 36
1.4 / 15.6 GiB 58 / 144 GiB npm exact
change-detection ✅ 2s 23s – – – –
license-check-npm ✅ 2s 21s 40% / 47% · 1.6/4T
T 34 · 68 · 23 · 32
1.3 / 15.6 GiB 58 / 144 GiB npm exact

Slowest steps

Step Duration
test-e2e-native › Run native E2E smoke 13m 46s
test-e2e-web › Run E2E capture tests 2m 18s
check-frontend › Run frontend tests with coverage 1m 37s
check-frontend › Wait for frontend tests 1m 16s
test-render-memory-perf › Run render memory performance tests 39s

Generated by the CI telemetry workflow from the GitHub API and job log markers. Queue = time from job creation to start. N/MT = average busy threads of M logical CPUs; T = per-thread average %.

@github-actions

Copy link
Copy Markdown
Contributor

E2E captures

Evidence captures for 9696ae2b998c24905167588225c7bd4b41af54fb (also available as the e2e-captures workflow artifact).

cpu-ccd-temperatures-compact

cpu-ccd-temperatures-compact

cpu-ccd-temperatures-desktop

cpu-ccd-temperatures-desktop

cpu-core-temperatures-compact

cpu-core-temperatures-compact

cpu-core-temperatures-desktop

cpu-core-temperatures-desktop

cpu-detail

cpu-detail

cpu-two-group-temperatures-compact

cpu-two-group-temperatures-compact

cpu-two-group-temperatures-desktop

cpu-two-group-temperatures-desktop

dashboard-gpu-secondary

dashboard-gpu-secondary

dashboard-storage-many

dashboard-storage-many

dashboard

dashboard

database-conversion-action-required-collapsed

database-conversion-action-required-collapsed

database-conversion-action-required-expanded

database-conversion-action-required-expanded

database-conversion-action-required-narrow

database-conversion-action-required-narrow

database-conversion-complete-notice-narrow

database-conversion-complete-notice-narrow

database-conversion-complete-notice

database-conversion-complete-notice

database-conversion-converting-narrow

database-conversion-converting-narrow

database-conversion-converting

database-conversion-converting

database-conversion-not-supported

database-conversion-not-supported

database-conversion-prompt-dialog-complete

database-conversion-prompt-dialog-complete

database-conversion-prompt-dialog-converting

database-conversion-prompt-dialog-converting

database-conversion-prompt-dialog-narrow

database-conversion-prompt-dialog-narrow

database-conversion-prompt-dialog

database-conversion-prompt-dialog

database-conversion-sqlite-authoritative-narrow

database-conversion-sqlite-authoritative-narrow

database-conversion-sqlite-authoritative

database-conversion-sqlite-authoritative

dimm-temperature-compact

dimm-temperature-compact

dimm-temperature-desktop

dimm-temperature-desktop

hardware-compatibility-narrow

hardware-compatibility-narrow

hardware-compatibility

hardware-compatibility

insights-cooling-ambient-only

insights-cooling-ambient-only

insights-cooling-ambient

insights-cooling-ambient

insights-cooling-coverage-90d

insights-cooling-coverage-90d

insights-cooling-establishing

insights-cooling-establishing

insights-cooling-explorer

insights-cooling-explorer

insights-cooling-no-fan

insights-cooling-no-fan

insights-cooling-no-power

insights-cooling-no-power

insights-cooling-observation-mild

insights-cooling-observation-mild

insights-cooling-observation-not-comparable

insights-cooling-observation-not-comparable

insights-cooling-read-failure-compact-window

insights-cooling-read-failure-compact-window

insights-cooling-read-failure

insights-cooling-read-failure

insights-cooling-timeline-30d

insights-cooling-timeline-30d

insights-cooling-timeline-90d

insights-cooling-timeline-90d

insights-cooling

insights-cooling

insights-main-1y

insights-main-1y

insights-main-read-failure-compact-window

insights-main-read-failure-compact-window

insights-main-read-failure

insights-main-read-failure

insights-main

insights-main

insights-process

insights-process

nsis-migration-notice

nsis-migration-notice

performance-compact-fullscreen-small-window

performance-compact-fullscreen-small-window

performance-compact-fullscreen

performance-compact-fullscreen

performance-compact-window

performance-compact-window

performance-edit-badge-compact-window

performance-edit-badge-compact-window

performance-edit-badge-desktop

performance-edit-badge-desktop

performance-gpu-selector-compact

performance-gpu-selector-compact

performance-gpu-selector-desktop

performance-gpu-selector-desktop

performance-gpu-selector-monitor

performance-gpu-selector-monitor

performance-monitor-desktop

performance-monitor-desktop

performance-monitor-power-current-compact-window

performance-monitor-power-current-compact-window

performance-monitor-power-current

performance-monitor-power-current

performance-monitor-power-graph-compact-window

performance-monitor-power-graph-compact-window

performance-monitor-power-graph

performance-monitor-power-graph

performance-panels-desktop

performance-panels-desktop

performance-panels-editing-desktop

performance-panels-editing-desktop

performance-panels-power-graph

performance-panels-power-graph

performance-panels-two-column-desktop

performance-panels-two-column-desktop

sensor-permissions-settings-narrow

sensor-permissions-settings-narrow

sensor-permissions-settings

sensor-permissions-settings

sensor-service-setup-notice-narrow

sensor-service-setup-notice-narrow

sensor-service-setup-notice

sensor-service-setup-notice

sensor-service-unprotected-notices

sensor-service-unprotected-notices

settings-display-targets

settings-display-targets

settings-elevation-unprotected

settings-elevation-unprotected

settings-sensor-service-narrow

settings-sensor-service-narrow

settings-sensor-service

settings-sensor-service

settings-write-failure

settings-write-failure

settings

settings

system-specifications-compact-window

system-specifications-compact-window

system-specifications-desktop

system-specifications-desktop

usage

usage

@dependabot @github

dependabot Bot commented on behalf of github Nov 23, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #2779.

@dependabot dependabot Bot closed this Nov 23, 2026
auto-merge was automatically disabled November 23, 2026 23:36

Pull request was closed

@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/jsdom-31.0.0 branch November 23, 2026 23:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:frontend Area: React, TypeScript, UI, browser tests, or Vite area:javascript Area: JavaScript or TypeScript dependency/tooling work change:deps PR: dependency or lockfile updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant