Packages

@clerk/shared

4.45.1 · 14 Nov 2026MIT11.8M / weekRepositorynpmAtom feed

Your version

4.1.0

9 Mar 2026Where it was published

4.48.3 is the newest release of 4.x.

In short

1 new2 fixed

Security

2 advisories affect 4.1.0; 4.8.3 fixes them

Release note

Minor Changes

  • Prevent modification of immutable attributes in UserProfile

Patch Changes

  • Narrow the error conditions that trigger the unauthenticated flow (sign-out) to only high-confidence authentication failures (401, 422). Previously, all 4xx errors — including 429 rate limits — were treated as auth failures, which could sign users out during transient rate limiting. Non-auth errors from setActive now propagate to the caller instead of being silently swallowed.

  • Add typesVersions fallback so that @clerk/shared/types resolves correctly under moduleResolution: "node" in TypeScript.

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.