fix(deps): override esbuild to ^0.28.1 to clear audit advisories#31
Conversation
📝 WalkthroughWalkthrough
Dependency Override Expansion
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Code Review
This pull request updates the esbuild dependency and its platform-specific optional dependencies from version 0.27.7 to 0.28.1 in package-lock.json, and adds an override for esbuild to version ^0.28.1 in package.json. There are no review comments, and I have no feedback to provide.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
Background
CI for all open PRs (#27 #28 #29 #30) fails at the audit step of the
lint / typecheck / test / audit / buildjob. The cause is not the dependabot bumps but a transitive esbuild vulnerability that also exists on main.npm audit --audit-level=moderatedetects 4 high-severity advisories and exits 1:The dependency path is
astro -> vite -> esbuild. The vulnerable range is esbuild0.17.0 - 0.28.0; the installed version was0.27.7.Change
Add
esbuild: ^0.28.1(the patched version) tooverrides.npm audit fix --forcewould downgrade astro with a breaking change, so an override is used instead.Verification
npm run audit-> found 0 vulnerabilitiesnpm run lint-> cleannpm run typecheck-> 0 errorsnpm run test-> 4 passednpm run build-> CompleteAfter this merges, rebasing each dependabot PR will make their CI pass.