Skip to content

9 deps updated; 1 hono type fix#181

Open
ask-bonk[bot] wants to merge 1 commit into
mainfrom
opencode/schedule-54149f-20260608063244
Open

9 deps updated; 1 hono type fix#181
ask-bonk[bot] wants to merge 1 commit into
mainfrom
opencode/schedule-54149f-20260608063244

Conversation

@ask-bonk

@ask-bonk ask-bonk Bot commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

All done. Here's the summary:


Dependency Update Summary

All 9 packages updated. One type fix required in src/index.ts:154.

Updated Packages (ranked by severity)

Package Old New Severity Type
@opencode-ai/plugin 1.14.41 1.16.2 minor dep
@opencode-ai/sdk 1.14.41 1.16.2 minor dep
@clack/prompts 1.3.0 1.5.1 minor dep
ai 6.0.176 6.0.197 patch dep
hono 4.12.18 4.12.23 patch dep
wrangler 4.90.0 4.98.0 patch devDep
oxlint 1.63.0 1.68.0 patch devDep
vitest 3.2.4 3.2.6 patch devDep
@types/node 25.6.2 25.9.2 patch devDep

Type Fix

hono 4.12.23 tightened the bearerAuth generic type — the return type of bearerAuth() is now MiddlewareHandler<E>, and calling it manually requires the generic env type to match the surrounding context. Fixed at src/index.ts:154 by passing the explicit type parameter:

// Before
const auth = bearerAuth({ token: secret });

// After
const auth = bearerAuth<{ Bindings: Env }>({ token: secret });

This is a legitimate type narrowing improvement in hono, not a regression — the runtime behavior is unchanged.

Results

  • Tests: 121/121 passed
  • Type check: clean (0 errors)

Triggered by scheduled workflow

github run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants