Skip to content

chore: upgrade pnpm to 11.8.0 and resolve audit vulnerabilities#466

Merged
vihar merged 4 commits into
masterfrom
chore/pnpm-11-upgrade-audit-fixes
Jun 18, 2026
Merged

chore: upgrade pnpm to 11.8.0 and resolve audit vulnerabilities#466
vihar merged 4 commits into
masterfrom
chore/pnpm-11-upgrade-audit-fixes

Conversation

@sriramveeraghanta

@sriramveeraghanta sriramveeraghanta commented Jun 18, 2026

Copy link
Copy Markdown
Member

Summary

  • Upgrade pnpm to 11.8.0 (packageManager in package.json, with verified integrity hash)
  • Move the pnpm overrides out of package.json into pnpm-workspace.yaml (the location pnpm now expects)
  • Resolve all 3 advisories reported by pnpm audit / Dependabot
  • Docs/tooling housekeeping: fix PR-target convention and pnpm version note in AGENTS.md, add a CLAUDE.md symlink

Vulnerabilities fixed

Severity Package Advisory Fix
🔴 high vite server.fs.deny bypass on Windows vite → 6.4.3
🟠 moderate vite launch-editor NTLMv2 hash disclosure vite → 6.4.3
🟠 moderate postcss XSS via unescaped </style> postcss → ^8.5.10

The existing override was pinning vite to the vulnerable 6.4.2, so both vite advisories traced back to it. Bumped to 6.4.3 (latest in the 6.x line) to stay compatible with vitepress 1.6.x and @tailwindcss/vite rather than jumping to 7.x. postcss is transitive, so an override forces the patched line.

Docs / tooling

  • AGENTS.md: open PRs against master (previously documented preview); package-manager note pnpm 10pnpm 11.8.0.
  • Add CLAUDE.mdAGENTS.md symlink so Claude Code loads the repo conventions automatically.

Verification

  • pnpm auditNo known vulnerabilities found
  • pnpm build → completes successfully (builds bundles, renders pages, generates sitemap)

Summary by CodeRabbit

  • Chores

    • Upgraded package manager from version 10 to 11.8.0 across project dependencies and configuration
    • Updated workspace build configuration to include build allowances for specific packages and enforce dependency version controls
  • Documentation

    • Updated contributor guidelines for pull request branch submission requirements
    • Consolidated documentation structure for easier reference

- Bump packageManager to pnpm@11.8.0 (with verified integrity hash)
- Move pnpm overrides from package.json to pnpm-workspace.yaml
- Fix 3 advisories surfaced by `pnpm audit`:
  - vite 6.4.2 -> 6.4.3 (GHSA-fx2h-pf6j-xcff high, GHSA-v6wh-96g9-6wx3)
  - postcss override ^8.5.10 (GHSA-qx2v-qp2m-jg93)

pnpm audit now reports no known vulnerabilities; build passes.
@vercel

vercel Bot commented Jun 18, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs Ready Ready Preview, Comment Jun 18, 2026 7:47pm

Request Review

@coderabbitai

coderabbitai Bot commented Jun 18, 2026

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

@sriramveeraghanta, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 56 minutes and 9 seconds. Learn how PR review limits work.

Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file).

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based credits.

🚦 How do rate limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan refill rate.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, the refill rate gradually slows as usage increases. The highest same-day bursts are limited more strictly.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: ccb9f8c0-62c3-4fc8-af11-9014b1d14eae

📥 Commits

Reviewing files that changed from the base of the PR and between 710d141 and fc34b04.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (2)
  • AGENTS.md
  • package.json
📝 Walkthrough

Walkthrough

Upgrades pnpm from v10 to v11.8.0 by updating the packageManager field in package.json, adding allowBuilds and overrides entries in pnpm-workspace.yaml, and updating AGENTS.md to reflect the new version and change the PR target branch from preview to master. CLAUDE.md is confirmed as a symlink to AGENTS.md.

Changes

pnpm v11 Upgrade

Layer / File(s) Summary
pnpm v11 package manager and workspace config
package.json, pnpm-workspace.yaml
packageManager updated to pnpm@11.8.0 with a new integrity hash. pnpm-workspace.yaml gains allowBuilds for esbuild and vue-demi, and an overrides block pinning esbuild, vite, and postcss to specific versions.
Agent docs: pnpm version and PR branch updates
AGENTS.md, CLAUDE.md
Stack table updated to document pnpm 11.8.0; PR target branch changed from preview to master. CLAUDE.md is now explicitly a symlink pointing to AGENTS.md.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

🐇 Hippity-hop, we've leaped to eleven,
pnpm upgraded, now feeling like heaven!
master the branch where our pull requests go,
overrides set so our build versions flow.
CLAUDE and AGENTS now share the same link —
one source of truth, faster than you can think! 🌟

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The PR title accurately describes the primary changes: upgrading pnpm to 11.8.0 and resolving security vulnerabilities through dependency updates.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/pnpm-11-upgrade-audit-fixes

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@sriramveeraghanta sriramveeraghanta changed the base branch from preview to master June 18, 2026 19:39
…link

- AGENTS.md: open PRs against `master` (was `preview`)
- AGENTS.md: package manager note pnpm 10 -> 11.8.0
- Add CLAUDE.md -> AGENTS.md symlink so Claude Code loads the conventions
@vihar vihar merged commit 389a8aa into master Jun 18, 2026
5 checks passed
@vihar vihar deleted the chore/pnpm-11-upgrade-audit-fixes branch June 18, 2026 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants