Packages

@clerk/nextjs

7.10.2 · 17 Nov 2026MIT4.2M / weekRepositoryHomepagenpmAtom feed

Your version

6.23.0

23 Jun 2025Where it was published

6.39.9 is the newest release of 6.x.

In short

1 faster1 fixed4 internal

Security

3 advisories affect 6.23.0; 6.39.3 fixes them

Release note

Minor Changes

  • Fix auth.protect() unauthorized error propagation within middleware

  • Optimize auth() calls to avoid unnecessary verification calls when the provided token type is not in the acceptsToken array.

    • Add handling for invalid token types when acceptsToken is an array in authenticateRequest(): now returns a clear unauthenticated state (tokenType: null) if the token is not in the accepted list.

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.