Packages

@clerk/shared

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

Your version

3.9.5

29 May 2025Where it was published

3.48.1 is the newest release of 3.x.

In short

1 fixed1 internal

Security

2 advisories affect 3.9.5; 3.47.5 fixes them

Release note

Patch Changes

  • Bug fix: In createCheckAuthorization allow for old org_role format in JWT v1 where org: is missing.

    Example session claims:

    {
      "org_id": "org_xxxx",
      "org_permissions": [],
      "org_role": "admin",
      "org_slug": "test"
    }

    Code

    authObject.has({ role: 'org:admin' }); // -> true
    authObject.has({ role: 'admin' }); // -> true

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.