Packages

@clerk/shared

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

Upgrading @clerk/shared From 2.21.1 to 2.22.1

2 releases in betweennotes for 1

Other targets from 2.21.1Latest4.45.1
1+
change to make
1
advisory fixed
1+
new
1+
fix

Counted from 1 of 2 release notes. Advisories are counted from the advisory database, in full.

Before you upgrade

Tick each one off as you go
  • Deprecated2.22.0

Security

Fixes 1 advisory affecting 2.21.1

Release by release

  1. 2.22.1no release note

  2. 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.