@clerk/clerk-js
6.44.0 · 17 Nov 2026MIT1.5M / weekRepositoryHomepagenpmAtom feed
4.73.14 is the newest release of 4.x.
In short
1 new1 fixed2 internal
Security
1 advisory affects 4.67.0; 5.89.0 fixes them
- ModerateClerk-js vulnerable to bypass of OAuth authentication flow by manipulating request at OTP verification stageGHSA-3mm3-wfpv-q85g · 20 Nov 2025Fixed in 5.89.0
Release note
Minor Changes
Introduce Protect for authorization.
Changes in public APIs:
Rename Gate to Protect
Support for permission checks. (Previously only roles could be used)
Remove the
experimentaltags and prefixesDrop
somefrom thehasutility and Protect. Protect now accepts aconditionprop where a function is expected with thehasbeing exposed as the param.Protect can now be used without required props. In this case behaves as
<SignedIn>, if no authorization props are passed.haswill throw an error if neitherpermissionorroleis passed.auth().protect()for Nextjs App Router. Allow per page protection in app router. This utility will automatically throw a 404 error if user is not authorized or authenticated.inside a page or layout file it will render the nearest
not-foundcomponent set by the developerinside a route handler it will return empty response body with a 404 status code
Patch Changes
Update
@zxcvbn-ts/corefrom2.2.1to3.0.4. Update@zxcvbn-ts/language-commonfrom3.0.2to3.0.4.
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.