Packages

@clerk/shared

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

Your version

2.22.0

18 Feb 2025Where it was published

2.22.1 is the newest release of 2.x.

In short

1 deprecated1 new1 fixed1 internal

  • Deprecated

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

Security

1 advisory affects 2.22.0; 2.22.1 fixes them

Release note

Minor Changes

  • Deprecated

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

    - import { EmailLinkErrorCode } from '@clerk/nextjs/errors'
    + import { EmailLinkErrorCodeStatus } from '@clerk/nextjs/errors'
  • Support passing additional properties to eventPrebuiltComponentMounted(), and ensure withSignUp is collected on SignIn mount.

Patch Changes

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

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.