Packages

hono

4.13.19 · 16 Nov 2026MIT112.7M / weekRepositoryHomepagenpmAtom feed

Your version

1.4.1

26 May 2022Where it was published

1.6.4 is the newest release of 1.x.

In short

4 internal

Security

44 advisories affect 1.4.1; 4.13.16 fixes them

39 more

Release note

Priority of * is changed

You can write the fallback scenario.

app.get('/page', (c) => c.text('page'))
app.all('*', (c) => c.text('fallback'))
GET /page ---> `page`
GET /foo ---> `fallback`

If / is matched on the top, the middleware will not be dispatched.

app.get('/', (c) => {
  return c.text('foo')
}) // <--- stop process

app.use('*', middleware()) // <--- not dispached!!

If you want to apply middleware in all condition, put it above.

app.use('*', middleware()) // <--- dispached!!

app.get('/', (c) => {
  return c.text('foo')
})

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.