fix(deps): add esbuild override >=0.28.1 to fix GHSA-gv7w-rqvm-qjhr#30
Merged
Conversation
Upgrade vite from ^6.4.2 to ^8.0.16. Vite 8 dropped esbuild as a dependency (replaced by rolldown), which eliminates the vulnerable esbuild versions (>= 0.17.0, < 0.28.1) from the dependency tree entirely. No overrides needed — the transitive dependency is simply gone.
Add npm override for esbuild to resolve Dependabot alert #25. esbuild is a transitive optional dependency via vite. The override pins it to the patched version (>=0.28.1) without changing vite's major version. Reverts the vite v6->v8 upgrade in favor of this smaller change.
davidkonigsberg
approved these changes
Jun 15, 2026
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
Fixes Dependabot Alert #25 — esbuild missing binary integrity verification (GHSA-gv7w-rqvm-qjhr, severity HIGH).
esbuildis a transitive optional dependency viavite. The vulnerable range is>= 0.17.0, < 0.28.1. No version of vite 6.x pins esbuild above the vulnerable range.Fix: Add an npm
overridesentry (consistent with the existingundicioverride) to pin esbuild to>=0.28.1:"overrides": { "undici": "^6.24.1", + "esbuild": ">=0.28.1" }All 12 tests pass, lint clean,
ncc buildsucceeds.Link to Devin session: https://app.devin.ai/sessions/aa165ad3900b412889291ce9dd78a85a