Skip to content

chore: upgrade VitePress, wrangler, and fix security advisories - #63

Merged
yanglbme merged 1 commit into
mainfrom
chore/upgrade-deps-fix-security
Aug 24, 2026
Merged

yanglbme merged 1 commit into
mainfrom
chore/upgrade-deps-fix-security

Conversation

@yanglbme

Copy link
Copy Markdown
Member

Summary

  • Upgrade VitePress 2.0.0-alpha.172.0.0-alpha.19 (Vite 8)
  • Upgrade TypeScript ^7.0.2, Vue ^3.5.41, wrangler ^4.125.0, @cloudflare/workers-types ^5.20260823.1
  • Bump pnpm 9.15.010.33.0
  • Pin vite 8.2.2, esbuild 0.28.2, postcss 8.5.26, nanoid 3.3.18, undici >=8.9.0
  • Allow esbuild and workerd postinstall scripts
  • Declare engines.node as ^20.19.0 || >=22.12.0

Test plan

  • pnpm typecheck
  • pnpm docs:build
  • pnpm audit --registry https://registry.npmjs.org — 0 vulnerabilities

Made with Cursor

Bump VitePress to 2.0.0-alpha.19, TypeScript 7, wrangler, and workers-types.
Pin postcss/nanoid/esbuild/undici to patched versions and allow esbuild/workerd builds.

Co-authored-by: Cursor <cursoragent@cursor.com>
Copilot AI lite review requested due to automatic review settings August 24, 2026 12:11
@yanglbme
yanglbme merged commit 31478a1 into main Aug 24, 2026
1 check passed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR upgrades the docs/build toolchain (VitePress/Vite/Vue/TypeScript) and Cloudflare tooling (wrangler/workers-types), while tightening dependency versions via pnpm overrides to address security advisories.

Changes:

  • Bumped VitePress to 2.0.0-alpha.19 (bringing in Vite 8), plus Vue and TypeScript upgrades.
  • Upgraded Cloudflare tooling (wrangler, @cloudflare/workers-types) and refreshed the lockfile accordingly.
  • Updated pnpm to 10.33.0, added engines.node, and pinned/overrode several packages (e.g., vite, esbuild, postcss, nanoid, undici), plus allowlisted postinstall builds for esbuild and workerd.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.

File Description
package.json Upgrades toolchain deps, updates pnpm version, adds Node engine range, and introduces pnpm overrides/onlyBuiltDependencies.
pnpm-lock.yaml Updates resolved dependency graph/versions to match upgraded toolchain and security-related overrides.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread package.json
Comment on lines +3 to +5
"engines": {
"node": "^20.19.0 || >=22.12.0"
},
@yanglbme
yanglbme deleted the chore/upgrade-deps-fix-security branch August 24, 2026 12:43
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