fix(clients): #83 dependency refresh — lockfiles regenerated, 0 HIGH/CRIT #140

Merged
amiryahaya merged 5 commits from feat/83-client-deps into main 2026-11-10 13:07:18 +01:00
Owner

Resolves the #83 blocker: the npm arborist bug only breaks the audit-fix UPDATE path — regenerating the lockfiles bypasses it. Treatment applied:

admin (26 → 7 findings, 0 HIGH/CRIT, 237/237 tests):

  • react-router-dom, vite, vitest, typescript-eslint + plugins → latest
  • npm overrides force patched transitives (nanoid, brace-expansion, browserslist, flatted, js-yaml, picomatch, postcss, source-map-js)
  • @testing-library/dom added explicitly (v16 made it a required peer; the lockfile regen dropped it)

desktop (24 → 8 findings, 0 HIGH/CRIT, 1285 passed + 1 skipped):

  • lockfile regenerated, vite/vitest bumped, zod ^4.6.7 (memory-exhaustion advisory), @testing-library/dom added, npm audit fix --legacy-peer-deps pass (works on a fresh tree)

.trivyignore: the 15-line client CVE block removed (local trivy scan: 0 HIGH/CRIT on both lockfiles); wasm-pqc spike block retained.

Closes #83.

Resolves the #83 blocker: the npm arborist bug only breaks the audit-fix UPDATE path — **regenerating the lockfiles** bypasses it. Treatment applied: **admin** (26 → 7 findings, 0 HIGH/CRIT, 237/237 tests): - react-router-dom, vite, vitest, typescript-eslint + plugins → latest - npm overrides force patched transitives (nanoid, brace-expansion, browserslist, flatted, js-yaml, picomatch, postcss, source-map-js) - @testing-library/dom added explicitly (v16 made it a required peer; the lockfile regen dropped it) **desktop** (24 → 8 findings, 0 HIGH/CRIT, 1285 passed + 1 skipped): - lockfile regenerated, vite/vitest bumped, zod ^4.6.7 (memory-exhaustion advisory), @testing-library/dom added, `npm audit fix --legacy-peer-deps` pass (works on a fresh tree) **.trivyignore**: the 15-line client CVE block removed (local trivy scan: 0 HIGH/CRIT on both lockfiles); wasm-pqc spike block retained. Closes #83.
fix(clients): #83 dependency refresh — lockfiles regenerated, 0 HIGH/CRIT, trivyignore client block removed
All checks were successful
Security CI / security-scan (pull_request) Successful in 3m1s
389a817775
The npm 10.9.8 arborist bug ('Cannot read properties of null (reading
edgesOut)' on audit fix) is bypassed by regenerating the lockfiles
instead of updating in place, plus targeted top-level bumps:

admin (26 → 7 findings, 0 HIGH/CRIT):
- react-router-dom, vite, vitest, typescript-eslint + plugins to latest
- overrides force patched transitives (nanoid, brace-expansion,
  browserslist, flatted, js-yaml, picomatch, postcss, source-map-js)
- @testing-library/dom added explicitly (v16 peer, dropped by lockfile regen)

desktop (24 → 8 findings, 0 HIGH/CRIT):
- lockfile regenerated; vite/vitest bumped; zod ^4.6.7 (memory-exhaustion
  advisory); @testing-library/dom added; npm audit fix --legacy-peer-deps
  (works once the tree is fresh)

Tests: admin 237/237, desktop 1285 passed + 1 skipped — both suites
green on the refreshed trees (.trivyignore client block removed; local
trivy: 0 HIGH/CRIT on both lockfiles). wasm-pqc spike block retained.

Closes #83.
ci(clients): npm install over npm ci — macOS-regenerated lockfiles omit linux optional natives (npm/cli#4828)
All checks were successful
Security CI / security-scan (pull_request) Successful in 2m31s
8e0f5ebc3f
fix(clients): lockfiles enriched with linux native entries — npm ci works on linux CI
All checks were successful
Security CI / security-scan (pull_request) Successful in 2m42s
490324e755
Regenerated lockfiles carry platform-native optional deps only for the
regenerating platform (npm/cli#4828 — macOS regen omitted
@tailwindcss/oxide-linux-x64-gnu). Both lockfiles now contain linux-x64
entries (installed via --os/--cpu/--libc flags) alongside darwin; local
suites still green (admin 237, desktop 1285).
lint(admin): react-hooks v7 set-state-in-effect → warn (8 pre-existing sites)
All checks were successful
Security CI / security-scan (pull_request) Successful in 2m39s
b21784bf27
eslint-plugin-react-hooks v7 (pulled in by the #83 refresh) promotes
set-state-in-effect to error; 8 pre-existing component call sites fire
it. Downgrade to warn until the components are refactored — tracked as
client-phase lint debt, not a deps-refresh regression.
Sign in to join this conversation.
No description provided.