Scope
Confirm permanently covered positions 4016–4017 and port Bun corpus position 4018, js/third_party/jsonwebtoken/issue_304.test.js.
Acceptance criteria
jwt.verifyrejects number, object, array, function, and boolean token inputs through both callback and synchronous paths.- Rejections use concrete
JsonWebTokenErroridentity instead of leaking callback exceptions or pending async tests. - Invalid-token failures retain code, claim/operation metadata, original cause, and operation-aware cause stacks.
- Focused, adjacent JWT, and permanent diagnostics pass.