Packages

@clerk/clerk-js

6.44.0 · 17 Nov 2026MIT1.5M / weekRepositoryHomepagenpmAtom feed

Upgrading @clerk/clerk-js From 6.21.0 to 6.21.1

1 release in betweenevery note read

Other targets from 6.21.0Newest 6.x6.46.3Latest6.44.0
  1. 6.21.0yours
  2. 6.21.1target
0
changes to make
0
advisories fixed
0
new
1
fix

Release by release

  1. 6.21.1

    25 Jun 20261 fix
    • Fixed

      Refresh the session cookie when a tab becomes visible again, not only on window focus. Apps embedded in a cross-origin iframe (for example a preview pane) never receive a focus event when their parent tab is re-activated, which could leave the session token stale and cause requests to fail with a 401 until the page was manually refreshed. clerk-js now also refreshes on visibilitychange (which does reach iframes) and allows a visible embedded frame to write the refreshed cookie.

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.