Skip to content

build(deps): override esbuild so the last dependabot alert closes - #346

Merged
rickstaa merged 1 commit into
mainfrom
build/esbuild-override
Sep 6, 2026
Merged

build(deps): override esbuild so the last dependabot alert closes#346
rickstaa merged 1 commit into
mainfrom
build/esbuild-override

Conversation

@rickstaa

@rickstaa rickstaa commented Sep 6, 2026

Copy link
Copy Markdown
Owner

Adds a pnpm.overrides entry for esbuild: ^0.28.1. vite already accepts 0.28, but pnpm will not move a transitive peer across a 0.x minor by itself. With the override the optional peer is no longer installed at all; vite 8 and vitest 4 do not need it.

pnpm audit: clean. npm never installed esbuild, so package-lock.json is unchanged.

Verified: pnpm lint, pnpm typecheck, pnpm test, pnpm build.

vite accepts esbuild 0.28 but pnpm will not cross a 0.x minor for a
transitive peer on its own. With the override vite's optional peer
drops out of the tree entirely; vite 8 and vitest 4 no longer need it.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings September 6, 2026 19:18
@vercel

vercel Bot commented Sep 6, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated
github-emoji-picker Ready Ready Preview Sep 6, 2026 7:19pm UTC

@rickstaa
rickstaa merged commit 0c5e1e6 into main Sep 6, 2026
8 checks passed
@rickstaa
rickstaa deleted the build/esbuild-override branch September 6, 2026 19:20

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.

🟢 Approval recommended

The override is scoped and the lockfile update consistently reflects the intended removal of the prior esbuild@0.27.7 resolution.

Pull request overview

This PR addresses a remaining Dependabot alert by adding a pnpm.overrides rule for esbuild and regenerating the pnpm lockfile so the dependency graph no longer pulls in the previously-resolved esbuild@0.27.7 optional peer for the Vite/Vitest toolchain.

Changes:

  • Added pnpm.overrides.esbuild: ^0.28.1 to package.json.
  • Updated pnpm-lock.yaml to record the override and reflect the resulting dependency graph (removing esbuild@0.27.7 and its platform-specific packages from the lock).
File summaries
File Description
package.json Adds the pnpm override configuration for esbuild.
pnpm-lock.yaml Captures the override in the lockfile and removes the previously-installed esbuild@0.27.7 entries from the resolved tree.
Review details

Files not reviewed (1)

  • pnpm-lock.yaml: Generated file
  • Files reviewed: 1/2 changed files
  • Comments generated: 0
  • Review effort level: Lite

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

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