chore: upgrade pnpm to 11.8.0 and resolve audit vulnerabilities#292
chore: upgrade pnpm to 11.8.0 and resolve audit vulnerabilities#292sriramveeraghanta wants to merge 1 commit into
Conversation
- Bump packageManager to pnpm@11.8.0 (corepack hash included) - Move overrides + peerDependencyRules from package.json into pnpm-workspace.yaml (pnpm's recommended location) - Resolve all actionable pnpm audit advisories (was 1 high, 13 mod, 3 low): - vite 6.4.2 -> 6.4.3 (GHSA-fx2h-pf6j-xcff high, GHSA-v6wh-96g9-6wx3) - dompurify 3.4.0 -> 3.4.11 (8 DOMPurify advisories, via mermaid) - postcss -> 8.5.15 (GHSA-qx2v-qp2m-jg93, new override) - uuid -> 11.1.1 (GHSA-w5hq-g745-h8pq, new override) - mermaid ^11.12.2 -> ^11.15.0 (4 advisories, direct devDependency) - Ignore js-yaml advisory GHSA-h67p-54hq-rp68 via auditConfig: gray-matter hard-pins js-yaml 3.x with no patched 3.x release; only parses trusted build-time frontmatter so the DoS is not reachable
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (2)
📝 WalkthroughWalkthroughUpgrades pnpm from v10.33.0 to v11.8.0 in Changespnpm v11 upgrade and workspace configuration
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
packageManagerfield, with corepack integrity hash). pnpm self-switches to this version.pnpm-workspace.yaml— relocatedoverridesandpeerDependencyRulesout ofpackage.json'spnpmfield into the new workspace file (pnpm's recommended location), alongside a newauditConfig.pnpm auditadvisories — was 17 total (1 high, 13 moderate, 3 low).Vulnerability resolution
^11range)js-yaml (GHSA-h67p-54hq-rp68, moderate) — intentionally ignored
gray-matter@4.0.3hard-pins js-yaml 3.x (usessafeLoad/safeDump, removed in js-yaml 4.x) and has no newer release; the fix only landed in js-yaml>=4.2.0, so 3.x cannot be patched. js-yaml here only parses this repo's own build-time frontmatter (trusted input), so the merge-key DoS is not reachable. Ignored viaauditConfig.ignoreGhsaswith a documenting comment.Verification
pnpm audit --audit-level low→ exit 0 (only the documented js-yaml entry remains, ignored)pnpm build✓ (incl. llms.txt generation — confirms gray-matter/js-yaml 3.x still works)pnpm check:format✓pnpm check:types✓Summary by CodeRabbit