Files
pad/web/src
dependabot[bot] 0ccf178e91 chore(deps)(deps-dev): bump jsdom from 26.1.0 to 29.1.1 in /web (#1141)
* chore(deps)(deps-dev): bump jsdom from 26.1.0 to 29.1.1 in /web

Bumps [jsdom](https://github.com/jsdom/jsdom) from 26.1.0 to 29.1.1.
- [Release notes](https://github.com/jsdom/jsdom/releases)
- [Commits](https://github.com/jsdom/jsdom/compare/v26.1.0...v29.1.1)

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

Signed-off-by: dependabot[bot] <support@github.com>

* test(a11y): emulate the :modal-unsupported engine explicitly under jsdom 29

jsdom 26 threw on the :modal pseudo-class, so the fallback-path tests in
viewerBackdrop.svelte.test.ts ran their premise on the bare environment
for free. jsdom 29 PARSES :modal but never matches it (the setup-jsdom
showModal polyfill sets no top-layer state), which the module's probe
reads as a supporting engine — flipping three tests off the path their
titles name and silently shifting a fourth.

The unsupported engine is now emulated the same way the supporting one
always was: mockModalUnsupported() throws SyntaxError from every probe
the module makes (querySelector, querySelectorAll, Element.matches),
per the re-take note on TASK-2586.

Claude-Session: https://claude.ai/code/session_01HvAuiZ7JaWyCqqyV99LyWt

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: xarmian <xarmian@gmail.com>
2026-08-23 08:46:16 -04:00
..