SIGN IN SIGN UP
honojs / hono UNCLAIMED

Web framework built on Web Standards

0 0 82 TypeScript

fix(jwt): prevent memory leak by avoiding mutation of options object (#4759)

* fix(jwt): avoid mutating keys in verifyWithJwks

* ci: apply automated fixes

* test(jwt): use HonoJsonWebKey for kid in JWKS test

* refactor(jwt): simplify verifyWithJwks key merge

* refactor(jwt): align verifyKeys guard with undefined state

* refactor(jwt): shorten verifyKeys nullish assignment

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>

Co-authored-by: Taku Amano <taku@taaas.jp>
E
EdamAmex committed
bda46ac1147eb16d3c4c6f7e9f89b9b22a953298
Parent: 0f505f4
Committed by GitHub <noreply@github.com> on 2/26/2026, 12:57:20 PM