Skip to content
This repository was archived by the owner on Nov 24, 2026. It is now read-only.

fix(deps): clear Dependabot alerts in api (hono, undici, sharp) - #166

Merged
fryanpan merged 2 commits into
mainfrom
deps/dependabot-sweep
Nov 15, 2026
Merged

fryanpan merged 2 commits into
mainfrom
deps/dependabot-sweep

Conversation

@fryanpan

@fryanpan fryanpan commented Nov 14, 2026 •

Copy link
Copy Markdown
Owner

Board task: t-d-xE5dUFwknB

Summary

  • hono ^4.12.25 -> ^4.13.16 (both lockfiles resolve 4.13.18).
  • npm overrides: undici 7.30.1, sharp 0.35.5 (wrangler/miniflare transitive deps).
  • wrangler pinned to exactly 4.103.0. Both api/package-lock.json (Dependabot) and api/bun.lock (CI and deploy) resolve wrangler 4.103.0 and stable miniflare 4.20260617.1. The first commit left ^4.103.0, and bun re-resolved it to wrangler 4.162.0 with miniflare 5.20261113.0-beta; the second commit fixes that.
  • Moving wrangler forward is not an option today: the versions I checked (4.119.0, 4.133.0, 4.156.0, 4.162.0) each depend on a miniflare 5 alpha or beta.

Test Plan

🤖 Generated with Claude Code

https://claude.ai/code/session_01J2Uz15PJGFb4BGWW3aC1dA

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
Copilot AI balanced review requested due to automatic review settings November 14, 2026 14:20

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 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 to 4.13.18.
  • Adds overrides for Undici 7.30.1 and Sharp 0.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
@fryanpan
fryanpan merged commit be6d3dc into main Nov 15, 2026
1 check passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants