Packages

@clerk/shared

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

Upgrading @clerk/shared From 4.0.0 to 4.1.0

1 release in betweenevery note read

Other targets from 4.0.0Newest 4.x4.48.3Clears its 2 advisories4.8.3Latest4.45.1
  1. 4.0.0yours
  2. 4.1.0target
0
changes to make
0
advisories fixed
1
new
2
fixes

Security

Release by release

  1. 4.1.0

    9 Mar 20261 new · 2 fixes
    • New

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

    • Fixed

      Prevent modification of immutable attributes in UserProfile

    • Fixed

      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.

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.