Repository navigation
fix(deps): resolve 14 Snyk vulnerabilities via upgrades and overrides - #71
Conversation
Clears all 14 Snyk security findings (2 critical, 7 high, 5 moderate) and all 6 npm audit findings. Every vulnerability was transitive. Upgrades next, react and react-dom within their existing majors, and adds undici and js-yaml overrides. Raises the stale qs and sharp overrides, which were pinning versions that had themselves become vulnerable. No major version bumps. Snyk's suggested isomorphic-dompurify 4.0.0 major was rejected in favour of a same-major undici override covering the same 11 findings. The build failure on this branch is pre-existing and environmental: it reproduces identically on unmodified main via npm ci, and is caused by build-time Contentstack fetches requiring real credentials. TypeScript and lint both pass on the upgraded tree. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
🔒 Security Scan Results
⏱️ SLA Breach Summary
ℹ️ Vulnerabilities Without Available Fixes (Informational Only)The following vulnerabilities were detected but do not have fixes available (no upgrade or patch). These are excluded from failure thresholds:
✅ BUILD PASSED - All security checks passed |
…y-resolution # Conflicts: # package-lock.json # package.json
Lock file regenerated (fixed 8 on its own): undici 8.12.1 -> 8.12.3. Direct upgrades: none (next resolves 16.4.3 within ^16.4.1) Overrides: none added Vuln count: snyk 8 → 0, npm audit 1 → 0. Build: compile and TypeScript pass; page-data collection needs Contentstack credentials, same failure on main. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
51892ec
🔒 Security Scan Results
⏱️ SLA Breach Summary
ℹ️ Vulnerabilities Without Available Fixes (Informational Only)The following vulnerabilities were detected but do not have fixes available (no upgrade or patch). These are excluded from failure thresholds:
✅ BUILD PASSED - All security checks passed |
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
🔒 Security Scan Results
⏱️ SLA Breach Summary
ℹ️ Vulnerabilities Without Available Fixes (Informational Only)The following vulnerabilities were detected but do not have fixes available (no upgrade or patch). These are excluded from failure thresholds:
✅ BUILD PASSED - All security checks passed |
Problem
Snyk reports 8 findings on main (2 critical, 6 high), all in undici 8.12.1, which comes in through isomorphic-dompurify → jsdom. npm audit reports 1 high. This PR had fallen behind main and conflicted with it.
Fix
APP: the lock file is what ships, so regenerating it is a real fix.
What remains
Verification: Snyk 8 → 0, npm audit 1 → 0;
next buildcompiles and typechecks, page-data collection needs Contentstack credentials (same on main).🤖 Generated with Claude Code