Repository navigation
build(deps-dev): bump jsdom from 30.1.3 to 31.0.1 - #534
Conversation
Deploying podnotes with
|
| Latest commit: |
18d9f46
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://8648f417.podnotes.pages.dev |
| Branch Preview URL: | https://dependabot-npm-and-yarn-jsdo-tkd1.podnotes.pages.dev |
There was a problem hiding this comment.
Not mergeable as a lockfile-only bump. jsdom 31.0.0 replaces CSS parsing, selector matching, and computed styles; src/ui/PodcastView/styles.test.ts is written against jsdom 30 serialization and fails 10 of 16 cases. GitHub Test / Unit tests is red. Plugin runtime is untouched (jsdom is test-only), so this needs a dedicated assertion migration, not Dependabot.
Bump: jsdom 30.1.3 → 31.0.0 (package.json + lockfile). Published 2026-11-05; 7-day cooldown is satisfied. Title is build(deps-dev): and will not cut a release.
What passed (Node 22.23.4): npm ci (lockfile unchanged), lint, format:check, typecheck, build, size (318892 raw / 103371 gzip, same as #530). npm audit --omit=dev 0. Remaining 127 unit files / 2816 tests pass. Six style cases still pass (unguarded :hover scan, tablet padding, disabled opacity, search-field padding).
What failed (local and CI):
| Case | jsdom 30.1.3 | jsdom 31.0.0 |
|---|---|---|
play/card transition |
transform 120ms ease |
transform 0.12s |
play/card animation |
"" |
none |
| EQ bars | "" / pn-eq 1s ease-in-out infinite |
all / 1s ease-in-out -0.8s infinite pn-eq |
focus outline |
2px solid var(--interactive-accent) |
3px rgb(0, 0, 0) (UA default; unresolved var() dropped) |
hover background-color: var(--background-modifier-hover) |
preserved custom property | rgba(0, 0, 0, 0) |
| skip-button rest | rgba(0, 0, 0, 0) |
rgb(204, 204, 204) |
transcript label display |
inline |
block |
artwork box-shadow |
var(--shadow-s) |
currentcolor none |
The hover workaround that retargets background: var( to background-color: var( (added after #515) no longer keeps unresolved custom properties. Same class of failure as #515, worse (10 vs 5).
Do not merge until styles.test.ts is migrated to jsdom 31’s computed-style serialization (and the hover/outline/shadow var() behavior is re-proven, not just retuned). Keep this PR as the version bump only if that migration lands with it; otherwise close in favor of a dedicated PR.
Sent by Cursor Automation: Dependabot PRs
59b7252 to
bd587ec
Compare
Bumps [jsdom](https://github.com/jsdom/jsdom) from 30.1.3 to 31.0.1. - [Release notes](https://github.com/jsdom/jsdom/releases) - [Commits](jsdom/jsdom@v30.1.3...v31.0.1) --- 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>
bd587ec to
764487e
Compare
…yarn/jsdom-31.0.0
jsdom 31 replaced its CSS implementation. It now evaluates media queries as a desktop that hovers with no motion preference, substitutes var() as a browser does (an undefined variable falls back to the initial value, and var() in shorthands works), and applies a UA stylesheet. - componentCss settles every query itself: listed queries match, others become `not all`, so jsdom's emulated device cannot leak in. - The tests define the Obsidian theme variables they read and assert the resolved values; the shorthand stand-ins jsdom 30 needed are gone. - Test markup carries the real `pn-bare` class, which undoes the UA button background as it does Obsidian's. - An absolutely positioned label computes `display: block`, as CSS Display's blockification requires. - Transition and animation shorthands use jsdom 31's serialization.
|
PASS+NOTES — independently reviewed head The goal was to verify that the jsdom 31 adaptations preserve the style tests' behavioral coverage. I found no blocking defect in this dependency update. Review and temporary defect plants ran in a separate clone at the exact head; the PR branch and shared checkout were not changed. Non-blocking coverage note
Assertion review
Independent defect plants Each of these
Validation Ran Environment detail: this host's installation selected by PR checks at this head all pass, including Platforms on macOS and Windows. Macroscope's correctness check is skipped. I used the available T3 PR tools to inspect checks and post this comment.
|
Addressed in 18d9f46: styles.test.ts migrated to jsdom 31, with the var() behavior re-proven by 21 plants and an independent PASS (issuecomment-7062087330).


Bumps jsdom from 30.1.3 to 31.0.1.
Release notes
Sourced from jsdom's releases.
Commits
b76da2631.0.18a39b93Track whether each node is connected463254bSpeed up type and relative selector matchingafb7299Fix max-lines serialization order574765eFix tabIndex reflection of invalid and out-of-range values2cdcc44Skip stylesheets that cannot apply to an element1ba3b6bSkip fetch cancellation test on affected Node versions40a0a14Reduce CSS shorthand mutation overhead8a68119Speed up CSS variable substitutionda2b11bIndex pseudo-element rules apart from element rulesNote
Bump jsdom from 30.1.3 to 31.0.1 and adapt style tests
blockmedia, otherwise wrapped in a nonmatching queryMacroscope summarized 18d9f46.