@clerk/astro
4.1.27 · 18 Nov 2026MIT46.5k / weekRepositoryHomepagenpmAtom feed
3.4.20 is the newest release of 3.x.
In short
5 new2 internal
Release note
Minor Changes
Add an env-var shortcut for
unsafe_disableDevelopmentModeConsoleWarningacross the Astro, Nuxt, React Router, and TanStack Start integrations so the development-keys console warning can be suppressed without threading the option through<ClerkProvider>manually:Astro:
PUBLIC_CLERK_UNSAFE_DISABLE_DEVELOPMENT_MODE_CONSOLE_WARNINGNuxt:
NUXT_PUBLIC_CLERK_UNSAFE_DISABLE_DEVELOPMENT_MODE_CONSOLE_WARNINGReact Router:
VITE_CLERK_UNSAFE_DISABLE_DEVELOPMENT_MODE_CONSOLE_WARNING(orCLERK_UNSAFE_DISABLE_DEVELOPMENT_MODE_CONSOLE_WARNING)TanStack Start:
VITE_CLERK_UNSAFE_DISABLE_DEVELOPMENT_MODE_CONSOLE_WARNING(orCLERK_UNSAFE_DISABLE_DEVELOPMENT_MODE_CONSOLE_WARNING)
The Next.js equivalent (
NEXT_PUBLIC_CLERK_UNSAFE_DISABLE_DEVELOPMENT_MODE_CONSOLE_WARNING) already existed; the JSDoc onunsafe_disableDevelopmentModeConsoleWarningnow lists every framework's env-var shortcut and clarifies that suppressing the warning at source also keeps it from being mirrored to the dev-server terminal (e.g. Next.js withexperimental.browserDebugInfoInTerminal).Expose
OAuthConsentas a public component export for Astro.Example:
--- import { OAuthConsent } from '@clerk/astro/components'; --- <OAuthConsent />
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.