Repository navigation
chore(web/app): remediate Dependabot vulnerabilities (#7327) - #7335
Conversation
npm audit 12 → 0 (was 1 critical / 7 high / 4 moderate).
- audit fix (non-breaking) bumps: protobufjs 7.5.6, next 16.2.6,
preact 10.28.2, flatted, minimatch, picomatch, lodash, @protobufjs/utf8
- postcss: devDep ^8 → ^8.5.10 + `overrides: {"postcss":"$postcss"}`
to dedupe next's exact-pinned [email protected] (GHSA-qx2v-qp2m-jg93)
to patched 8.5.14 without the absurd next→9 downgrade npm suggested.
Validated: npm audit 0, tsc --noEmit clean, `next build` succeeds.
Note: `npm run lint` ("next lint") is broken on main already — Next 16
removed the `lint` subcommand; out of scope for this dep PR.
Co-Authored-By: Claude Opus 4.7 <[email protected]>
Greptile SummaryThis PR remediates 12 npm audit vulnerabilities (1 critical, 7 high, 4 moderate) in
Confidence Score: 5/5Safe to merge — all changes are in-range dependency bumps driven by npm audit fix, no application logic is touched, and the postcss override correctly removes the vulnerable nested copy. Both changed files are purely dependency manifests. Every version update stays within the already-declared semver ranges (^16, ^8, ^4). The postcss $postcss override is correct npm syntax and the lock file confirms next's formerly-nested [email protected] entry was eliminated. The PR author reports tsc --noEmit and next build both pass. No files require special attention. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[npm audit fix] --> B[Direct dep updates]
A --> C[postcss override strategy]
B --> D[next 16.1.1 → 16.2.6]
B --> E[protobufjs 7.5.4 → 7.5.8]
B --> F[lodash 4.17.21 → 4.18.1]
B --> G[minimatch 3.1.2 → 3.1.5]
B --> H[picomatch / flatted / preact bumps]
C --> I[postcss devDep ^8 → ^8.5.10 resolves to 8.5.14]
C --> J[overrides: postcss = $postcss]
I --> K[Top-level node_modules/[email protected]]
J --> L[next pin [email protected] REMOVED from node_modules/next/node_modules/]
L --> K
K --> M[GHSA-qx2v-qp2m-jg93 patched]
D --> N[CVEs in next 16.1.x patched]
E --> O[protobufjs vulns patched]
style M fill:#90EE90
style N fill:#90EE90
style O fill:#90EE90
Reviews (1): Last reviewed commit: "chore(web/app): remediate Dependabot vul..." | Re-trigger Greptile |
Part of #7327 (web Tier 1, service-by-service).
Result
npm audit: 12 → 0 (was 1 critical / 7 high / 4 moderate).Changes (web/app/package.json + package-lock.json only)
npm audit fix: protobufjs 7.5.6, next 16.2.6 (in-^16), preact 10.28.2, flatted, minimatch, picomatch, lodash, @protobufjs/utf8postcss: devDep^8→^8.5.10+overrides: {"postcss":"$postcss"}to dedupe next's exact-pinned[email protected]→ patched 8.5.14 (GHSA-qx2v-qp2m-jg93), avoiding npm's absurd next→9 downgrade suggestionValidation
npm audit→ 0tsc --noEmit→ cleannext build→ success (prod compile)Note:
npm run lint(next lint) is broken onmainitself — Next 16 removed thelintsubcommand; out of scope for this dep PR.🤖 Generated with Claude Code