Skip to content

chore(deps): upgrade vitepress to 2.0.0-alpha.17 and vite to 8.x#163

Merged
mroderick merged 4 commits into
mainfrom
feat/vitepress-2x
Jun 13, 2026
Merged

chore(deps): upgrade vitepress to 2.0.0-alpha.17 and vite to 8.x#163
mroderick merged 4 commits into
mainfrom
feat/vitepress-2x

Conversation

@mroderick

@mroderick mroderick commented Jun 13, 2026

Copy link
Copy Markdown
Contributor

Combines two supply chain security improvements:

1. CI audit step
Runs pnpm audit --audit-level=high in the lint job to catch severe
vulnerabilities before they reach the main branch.

2. VitePress + Vite upgrade

  • vitepress: ^1.6.4 → 2.0.0-alpha.17
  • vite: ^5.4.21 → ^8.0.0 (pnpm override)
  • esbuild: ^0.21.5 → ^0.28.1 (pnpm override)
  • Adds oxc-minify (required by VitePress when using rolldown-vite)

Vite 8 uses rolldown instead of esbuild, eliminating the esbuild
high-severity vulnerability (GHSA-gv7w-rqvm-qjhr) that was blocking CI.

Verified:

  • docs build successfully (pnpm run docs:build)
  • docs render correctly via Playwright
  • all tests pass (778 pass, 3 skip)
  • pnpm audit --audit-level=high passes (0 high-severity)

Uses pnpm overrides to force patched versions of transitive
dependencies with known high-severity vulnerabilities:

- picomatch: ^4.0.4 (ReDoS, GHSA-c2c7-rcm5-vvqj)
- path-to-regexp: ^8.4.0 (DoS, GHSA-j3q9-mxjg-w52f)
- lodash-es: ^4.18.0 (code injection, GHSA-r5fr-rjxr-66jc)
- lodash: ^4.18.0 (code injection, GHSA-r5fr-rjxr-66jc)
- esbuild: ^0.28.1 (RCE, GHSA-gv7w-rqvm-qjhr)
- fastify: ^5.8.5 (validation bypass, GHSA-247c-9743-5963)

All 6 high-severity advisories are now resolved. Remaining
vulnerabilities are 18 moderate and 1 low, all in dev dependencies.
Run pnpm audit --audit-level=high in the lint job to catch severe
vulnerabilities before they reach the main branch.
Upgrades VitePress to 2.0.0-alpha.17 and Vite to 8.x (via pnpm override).
Vite 8 uses rolldown instead of esbuild, eliminating the esbuild
high-severity vulnerability (GHSA-gv7w-rqvm-qjhr).

Adds oxc-minify as required by VitePress when using rolldown-vite.
Forces esbuild to ^0.28.1 via pnpm override for any remaining
transitive dependencies.

Verified: docs build and render correctly via Playwright.
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jun 13, 2026

Copy link
Copy Markdown

Deploying idempot-js with  Cloudflare Pages  Cloudflare Pages

Latest commit: 4ad835d
Status: ✅  Deploy successful!
Preview URL: https://e5cede50.idempot-js.pages.dev
Branch Preview URL: https://feat-vitepress-2x.idempot-js.pages.dev

View logs

@mroderick
mroderick marked this pull request as ready for review June 13, 2026 17:13
@mroderick
mroderick merged commit 5fca2ff into main Jun 13, 2026
13 checks passed
@mroderick
mroderick deleted the feat/vitepress-2x branch June 13, 2026 17:13
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.

1 participant