Packages

swr

2.5.1 · 12 Aug 2026MIT28.9M / weekRepositoryHomepagenpmAtom feed

Your version

2.1.2

2 Apr 2023Where it was published

2.5.1 is the newest release of 2.x.

In short

2 fixed2 changed3 internal

Release note

Patches

  • Improved type inferring for swr/subscription

  • Adding SWRSubscriptionOptions type for swr/subscription

Changes

  • types: Improve useSWRSubscription types

  • Rename subscription types

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.