fix(deps): hold jsdom at 29 and isomorphic-dompurify at 3, and settle the gates

jsdom 31 failed 56 client test files: it simplifies calc() and reads an
unset border as none in computed styles, and its File no longer carries
what the upload tests hand it. It moves back to 29 with isomorphic-dompurify
3, which needs it; the lockfile is resolved from the one before the bump, so
both sit at the root as they did. jsdom stays a root devDependency, so npm
keeps the copy vitest resolves at the root.

knip 6.45 reports tsconfig-paths, which test.yml loads from the server, as
unlisted rather than unresolved; it is the server's dependency. The removed
RTL text plugin took one swallowed catch with it, so that ESLint count is
lowered to what the tree holds.
This commit is contained in:
Maurice
2026-11-17 08:49:37 +01:00
parent a3f6635633
commit 2c5beee849
6 changed files with 625 additions and 625 deletions
+1 -1
View File
@@ -153,7 +153,7 @@
"eslint-plugin-react-hooks": "^7.1.1",
"eslint-plugin-react-refresh": "^0.5.7",
"fake-indexeddb": "^6.2.7",
"jsdom": "^31.0.1",
"jsdom": "^29.1.1",
"msw": "^2.15.0",
"postcss": "^8.5.28",
"prettier": "^3.10.1",
+1 -1
View File
@@ -5,7 +5,7 @@
"no-console": 88,
"complexity": 217,
"@typescript-eslint/no-explicit-any": 143,
"trek/no-swallowed-catch": 128,
"trek/no-swallowed-catch": 127,
"max-params": 31,
"trek/store-without-selector": 66,
"react-hooks/refs": 534,
+4 -2
View File
@@ -19,8 +19,10 @@
// own copies: the shared scripts/lib takes them handed in, and its tests
// import the hoisted ones the server and shared declare. jsdom is here
// only to hold one copy at the root, where vitest's built-in jsdom
// environment resolves it (see the comment in package.json).
"ignoreDependencies": ["unrun", "eslint", "prettier", "jsdom"]
// environment resolves it (see the comment in package.json). tsconfig-paths
// is the server's: test.yml loads it with `cd server && node --require`,
// which knip reads from the root, where the server's dependency is not listed.
"ignoreDependencies": ["unrun", "eslint", "prettier", "jsdom", "tsconfig-paths"]
},
"client": {
// The app, the native apps' address screen, its scripts, the Playwright specs and the server launcher
+617 -619
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -34,7 +34,7 @@
"comment:devDependencies": "jsdom is the client's test DOM. It is listed here too so npm keeps one copy at the root: vitest's built-in jsdom environment resolves it from there, and with jsdom only in the client npm nested it under client/ where vitest cannot see it. Keep the two ranges equal.",
"devDependencies": {
"concurrently": "^10.0.7",
"jsdom": "^31.0.1",
"jsdom": "^29.1.1",
"knip": "^6.45.1",
"unrun": "^0.3.1"
},
+1 -1
View File
@@ -101,7 +101,7 @@
"i18n:untranslated:update": "node scripts/i18n-untranslated.mjs --update"
},
"dependencies": {
"isomorphic-dompurify": "^4.7.0",
"isomorphic-dompurify": "^3.23.0",
"zod": "^4.6.7"
},
"devDependencies": {