Packages

@clerk/shared

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

Upgrading @clerk/shared From 2.21.1 to 2.22.0

1 release in betweenevery note read

Other targets from 2.21.1Newest 2.x, Clears its advisory2.22.1Latest4.45.1
  1. 2.21.1yours
  2. 2.22.0target
1
change to make
0
advisories fixed
1
new
1
fix

Before you upgrade

Tick each one off as you go
  • Deprecated2.22.0

Security

1 advisory still affects 2.22.0

Upgrading to 2.22.1 clears it.

Release by release

  1. 2.22.0

    Deprecation18 Feb 20251 new · 1 fix
    • Deprecated

      Introduce EmailLinkErrorCodeStatus to support users in custom flows and mark EmailLinkErrorCode as deprecated.

    • New

      Support passing additional properties to eventPrebuiltComponentMounted(), and ensure withSignUp is collected on SignIn mount.

    • Fixed

      Previously, the getCurrentOrganizationMembership() function was duplicated in both @clerk/vue and @clerk/shared/react. This change moves the function to @clerk/shared/organization.

1 internal line (docs, tests, tooling) left out.

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.