chore(deps): clear vite/esbuild Dependabot alerts via pnpm overrides - #100
Merged
Conversation
vite and esbuild are dev-only transitive deps (via vitest) and were pinned at vite@5.4.21 / esbuild@0.21.5, both flagged by Dependabot (1 high + 3 moderate: vite server.fs.deny bypass, launch-editor NTLMv2 disclosure, optimized-deps path traversal, esbuild dev-server request forgery). Add pnpm.overrides forcing esbuild>=0.25.0 and vite>=6.4.3 (<8 to stay within vitest 3.2.6's peer range). Resolves to vite@7.3.6 / esbuild@0.28.1. pnpm audit: no known vulnerabilities. vitest suite green under vite 7.
5 tasks
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.
What
Clears all 4 open Dependabot alerts on the default branch. All are dev-only transitive dependencies (pulled in via
vitest), never shipped in the published npm package:server.fs.denybypass on Windows)How
vite/esbuildare not direct deps, so the fix is apnpm.overridesblock forcing the patched floors:The
<8upper bound keeps vite withinvitest@3.2.6's peer range (^5 || ^6 || ^7). Resolves to vite@7.3.6 / esbuild@0.28.1.Verification
pnpm audit→ No known vulnerabilities found.Only
package.json+pnpm-lock.yamlchange; no source touched.