Packages

@clerk/express

2.1.90 · 14 Nov 2026MIT604.4k / weekRepositoryHomepagenpmAtom feed

Your version

1.5.0

22 May 2025Where it was published

1.7.85 is the newest release of 1.x.

In short

1 new2 internal

Security

1 advisory affects 1.5.0; 1.7.79 fixes them

Release note

Minor Changes

  • Introduce treatPendingAsSignedOut option to getAuth

    // `pending` sessions will be treated as signed-out by default
    const { userId } = getAuth(req);
    // Both `active` and `pending` sessions will be treated as authenticated when `treatPendingAsSignedOut` is false
    const { userId } = getAuth(req, { treatPendingAsSignedOut: false });

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.