chore(deps): override esbuild to ^0.28.1 (CVE fix)#1714
Conversation
9b56a73 to
a6e6b85
Compare
|
Claude finished @cliffhall's task in 1m 34s —— View job Review: esbuild override →
|
Resolves Dependabot alert #121. Part of #1706. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HiccCEh9mwCfVzE8qYcop1
a6e6b85 to
7f5f86c
Compare
npm does not reliably apply these transitive overrides to an existing lockfile (bare and targeted overrides via install/update leave residual vulnerable copies). This regenerates the lockfile from scratch with version-targeted overrides so every copy of the affected packages resolves to a patched version. Resolves Dependabot alerts: - esbuild #121 (-> 0.28.1) - minimatch #69, #66, #61 (3.x -> 3.1.5) - @babel/core #132 (-> 7.29.7; completes the partial fix from #1712) Also pins js-yaml overrides (3.15.0 / 4.2.0) to prevent regression. Supersedes #1713, #1714, #1715. Part of #1706. Verified: 0 vulnerable copies across all advisories; build + client (535) + cli tests pass; lockfile internally consistent. Claude-Session: https://claude.ai/code/session_01HiccCEh9mwCfVzE8qYcop1 Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
Superseded by #1718, which regenerates the lockfile with version-targeted overrides so every transitive copy is patched (npm wouldn't apply these overrides to the existing lockfile minimally, leaving residual vulnerable copies). js-yaml (#1713) was already resolved on main. See #1718 for the verified ALL-CLEAN result. Part of #1706. |
Summary
Adds an npm
overridesentry forcing esbuild to^0.28.1, which resolves the moderate-severity dev-server arbitrary file read advisory affectingesbuild < 0.28.1(on Windows). esbuild is a transitive dev dependency pulled in byviteandvitest; it previously resolved to0.27.7. The existingget-intrinsicoverride is preserved.Verification
npm ls esbuild --all→ esbuild resolves to0.28.1everywhere (under vite 7.3.6 and tsx/vitest).npm audit→ 0 vulnerabilities.npm run check-version→ pass.cd client && npm run lint→ pass.cd client && npm test→ 535 passed.cd cli && npm test→ 85 passed.npm run build→ pass (client + cli).Forcing esbuild
0.28.1does not break the client build or tests — no vite bump was required for this fix.Resolves Dependabot alert #121
Part of #1706
🤖 Generated with Claude Code
https://claude.ai/code/session_01HiccCEh9mwCfVzE8qYcop1