@clerk/nextjs
7.10.2 · 17 Nov 2026MIT4.2M / weekRepositoryHomepagenpmAtom feed
Your version
7.10.7 is the newest release of 7.x.
In short
1 fixed3 internal
Release note
Patch Changes
Fix the return type of
auth.protect()when a predicate is passed together with thetokenoption. The result is now typed from the accepted token types, soauth.protect(() => true, { token: 'api_key' })resolves to the API key auth object instead of a session auth object.
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.