This repository was archived by the owner on Nov 24, 2026. It is now read-only.
Repository navigation
fix(deps): clear Dependabot alerts in api (hono, undici, sharp) - #166
Merged
Merged
Conversation
Bump hono to ^4.13.16. Override undici to 7.30.1 and sharp to 0.35.5 so the patched versions install without moving wrangler to a miniflare 5 prerelease (every wrangler >=4.119 pins miniflare 5 alpha/beta). Regenerate both package-lock.json (scanned by Dependabot) and bun.lock (used by CI). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01J2Uz15PJGFb4BGWW3aC1dA
There was a problem hiding this comment.
🔵 Needs a closer look
The Bun lockfile selects prerelease Miniflare 5 for CI and deployment, conflicting with the intended stable Miniflare 4 toolchain and the dependency graph in package-lock.json.
No open issues 🎉
1 file not reviewed
api/package-lock.json: Generated file
What changed in this PR
Updates API dependencies to address Dependabot alerts, consolidating the fixes proposed in #161, #164, and #165.
Changes:
- Raises Hono to
^4.13.16, resolving to4.13.18. - Adds overrides for Undici
7.30.1and Sharp0.35.5. - Refreshes npm and Bun lockfiles, including related transitive dependencies.
| File | Description |
|---|---|
api/package.json |
Updates Hono and adds security-related dependency overrides. |
api/package-lock.json |
Records patched npm dependencies and Sharp platform packages. |
api/bun.lock |
Records patched Bun dependencies and updates the Wrangler toolchain. |
Review effort: Balanced
bun install had re-resolved ^4.103.0 to wrangler 4.162.0 with miniflare 5.20261113.0-beta. Pin exactly; both lockfiles now resolve wrangler 4.103.0, miniflare 4.20260617.1. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01J2Uz15PJGFb4BGWW3aC1dA
This was referenced Nov 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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Board task: t-d-xE5dUFwknB
Summary
overrides: undici 7.30.1, sharp 0.35.5 (wrangler/miniflare transitive deps).^4.103.0, and bun re-resolved it to wrangler 4.162.0 with miniflare 5.20261113.0-beta; the second commit fixes that.Test Plan
npm audit: 0 vulnerabilities🤖 Generated with Claude Code
https://claude.ai/code/session_01J2Uz15PJGFb4BGWW3aC1dA