chore: upgrade pnpm to 11.8.0 and resolve audit vulnerabilities#292
Merged
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 selected for processing (1)
✅ Files skipped from review due to trivial changes (1)
📝 WalkthroughWalkthroughUpdates pnpm, mermaid, and CI Node.js versions, and adds a new ChangesToolchain and workspace configuration update
Estimated code review effort: 2 (Simple) | ~10 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ 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 |
srinivaspendem
approved these changes
Jun 19, 2026
…ate/pnpm-11.8-and-audit-fixes
pnpm 11.8.0 requires Node.js >= 22.13 (uses the node:sqlite builtin), but the workflow pinned node-version: 20, causing ERR_UNKNOWN_BUILTIN_MODULE.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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