Bump hono from 4.10.6 to 4.11.4 in /pattern-categorization in the npm_and_yarn group across 1 directory by dependabot[bot] · Pull Request #888 · InnerSourceCommons/InnerSourcePatterns
Bumps the npm_and_yarn group with 1 update in the /pattern-categorization directory: hono.
Updates hono from 4.10.6 to 4.11.4
Release notes
Sourced from hono's releases.
v4.11.4
Security
Fixed a JWT algorithm confusion issue in the JWT and JWK/JWKS middleware.
Both middlewares now require an explicit algorithm configuration to prevent the verification algorithm from being influenced by untrusted JWT header values.
If you are using the JWT or JWK/JWKS middleware, please update to the latest version as soon as possible.
JWT middleware
import { jwt } from 'hono/jwt' app.use( '/auth/*', jwt({ secret: 'it-is-very-secret', alg: 'HS256', // required }) )JWK/JWKS middleware
import { jwk } from 'hono/jwk' app.use( '/auth/*', jwk({ jwks_uri: 'https://example.com/.well-known/jwks.json', alg: ['RS256'], // required (asymmetric algorithms only) }) )For more details, see the Security Advisory.
What's Changed
- test(utils/jwt): add missing algorithm types in jwa.test.ts by
@flathill404in honojs/hono#4607- chore: bump
@hono/eslint-configand enable curly rule by@yusukebein honojs/hono#4620- docs(bun/websocket): Fixed a typo in hono/bun deprecation message and updated test. by
@Itsnotakain honojs/hono#4618- test: support
algoption for JWT middleware by@yusukebein honojs/hono#4624New Contributors
@flathill404made their first contribution in honojs/hono#4607
... (truncated)
Commits
28452f04.11.4190f6e2Merge commit from forka48ef18test: supportalgoption for JWT middleware (#4624)cc0aa7aMerge commit from forkef2a4b8docs(bun/websocket): Fixed a typo in hono/bun deprecation message and updated...8139399chore: bump@hono/eslint-configand enable curly rule (#4620)4e87275test(utils/jwt): add missing algorithm types in jwa.test.ts (#4606) (#4607)79977404.11.3489af0bfix(types): fix middleware union type merging in MergeMiddlewareResponse (#4602)6ca01ec4.11.2- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>will remove the ignore condition of the specified dependency and ignore conditions
You can disable automated security fix PRs for this repo from the Security Alerts page.