@clerk/nuxt
3.1.24 · 14 Nov 2026MIT36.2k / weekRepositoryHomepagenpmAtom feed
Your version
1.13.35 is the newest release of 1.x.
In short
1 new1 fixed4 internal
Security
2 advisories affect 1.2.0; 1.13.29 fixes them
- CriticalOfficial Clerk JavaScript SDKs: Middleware-based route protection bypassGHSA-vqx2-fgx2-5wq9 · 16 Apr 2026Fixed in 1.13.28
- HighClerk has an authorization bypass when combining organization, billing, or reverification checksGHSA-w24r-5266-9c3c · 30 Apr 2026Fixed in 1.13.29
Release note
Minor Changes
Introduce
getAuth()helper to retrieve authentication state from the event object.Example:
import { getAuth } from '@clerk/nuxt/server'; export default eventHandler(event => { const { userId } = getAuth(event); if (!userId) { // User is not authenticated } });
Patch Changes
Re-export error handling utilities from
@clerk/sharedExample:
<script setup lang="ts"> import { useSignIn } from '@clerk/vue'; import { isClerkAPIResponseError } from '@clerk/vue/errors'; // ... form state refs and other setup ... const { signIn } = useSignIn(); const handleSubmit = async () => { try { const signInAttempt = await signIn.value.create({ identifier: email.value, password: password.value, }); // ... handle successful sign in ... } catch (err) { // Type guard to safely handle Clerk API errors if (isClerkAPIResponseError(err)) { errors.value = err.errors; // err.errors is properly typed as ClerkAPIError[] } } }; </script> <template> <!-- Form template here --> </template>
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.