@clerk/shared
4.45.1 · 14 Nov 2026MIT11.8M / weekRepositorynpmAtom feed
2.22.1 is the newest release of 2.x.
In short
1 fixed2 changed
Release note
Patch Changes
Internal change to add client-side caching to Clerk's telemetry. This prevents event flooding in frequently executed code paths, such as for React hooks or components. Gracefully falls back to the old behavior if e.g.
localStorageis not available. As such, no public API changes and user changes are required.The following are all internal changes and not relevant to any end-user:
Rename the existing
eventComponentMountedfunction inside/telemetrytoeventPrebuiltComponentMounted. This better reflects that itspropsargument will be filtered for a relevant list for Clerk's prebuilt/all-in-one components.Reuse the now freed up
eventComponentMountedname to create a new helper function that accepts a flat object for itspropsbut doesn't filter any. This is useful for components that are not prebuilt.
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.