fix(deps): update dependency jsdom to v30 - #1771
Conversation
Bump the shared catalog entry to ^30.0.0 and patch jsdom so getComputedStyle no longer crashes when percentage-based calc() values cannot be resolved to pixels (triggered by Testing Library a11y queries).
🦋 Changeset detectedLatest commit: a629d70 The changes in this PR will be included in the next version bump. This PR includes changesets to release 17 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
Warning Review the following alerts detected in dependencies. According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.
|
✅ E2E Tests🟢 12 passed • view full report • view run Studio: https://plugins-e2e-test-studio-740stii6m.sanity.dev Datasets: |
Coverage Report
File CoverageNo changed files found. |
Bumps the shared pnpm catalog entry for
jsdomfrom^29.1.1to^30.0.0.Why a patch?
jsdom 30’s new
getComputedStyle()pixel conversion crashes when resolving percentage-basedcalc()values (e.g.width: calc(100% - 10px)).resolveCalc()leaves those unresolved, thenFONT_SIZE_REGEXP.exec(...)returnsnulland the destructuring throws:TypeError: object null is not iterableThat path is hit by Testing Library /
dom-accessibility-apiduring queries, which broke several plugin test suites on Renovate’s #1767.This PR adds
patches/jsdom@30.0.0.patchso unresolved calc results fall through instead of crashing. Can be removed once upstream ships a fix.Packages
DevDependency bump via catalog for:
@sanity/block-insert-picker@sanity/document-internationalization@sanity/language-filter@sanity/presets@sanity/studio-secretssanity-naive-html-serializersanity-plugin-internationalized-arraysanity-plugin-mediaNote: jsdom 30 requires Node
^22.22.2 || ^24.15.0 || >=26.0.0.