SWR 2.5.0-beta.1
React Hooks library for remote data fetching
swr@2.5.0-beta.1 was published on 2026-07-15. Its manifest declares 2 runtime dependencies and 1 peer requirement. Type declarations are bundled according to the package metadata. No Node.js engine requirement is declared in this manifest.
All SWR versions · Permanent reference to 2.5.0-beta.1 · Latest release
Package specifications
| Version | 2.5.0-beta.1 |
|---|---|
| License declaration | MIT |
| Published | 2026-07-15T10:01:53.182Z |
| Node.js requirement | Not declared |
| Type declarations | Bundled declarations |
| Runtime dependency count | 2 |
| Peer requirement count | 1 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 322.73 KiB |
| Published file count | 54 |
| Package type | Not declared |
| ES module entry | ./dist/index/index.mjs |
| Default entry | ./dist/index/index.js |
| Side effects declaration | false |
| Direct advisories | 0 |
| Resolved graph dependencies | 2 |
| Repository stars | 32494 |
| Repository forks | 1400 |
Install SWR 2.5.0-beta.1
npm install swr@2.5.0-beta.1 pnpm add swr@2.5.0-beta.1 yarn add swr@2.5.0-beta.1
Runtime dependencies
- dequal ^2.0.3
- use-sync-external-store ^1.6.0
Peer requirements
- react ^16.11.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- dequal@2.0.3 — direct
- use-sync-external-store@1.7.0 — direct
How to interpret the specifications
Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.
Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.
OpenSSF repository checks
Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.
| Code-Review | 6/10 — Found 20/30 approved changesets -- score normalized to 6 |
|---|---|
| Security-Policy | 10/10 — security policy file detected |
| Maintained | 10/10 — 23 commit(s) and 2 issue activity found in the last 90 days -- score normalized to 10 |
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
| Token-Permissions | 0/10 — detected GitHub workflow tokens with excessive permissions |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| Pinned-Dependencies | 0/10 — dependency not pinned by hash detected -- score normalized to 0 |
| License | 10/10 — license file detected |
| Fuzzing | 0/10 — project is not fuzzed |
| SAST | 0/10 — SAST tool is not run on all commits -- score normalized to 0 |
Evidence and freshness
- https://registry.npmjs.org/swr/2.5.0-beta.1 — retrieved 2026-10-29T08:03:31.421Z
- https://api.deps.dev/v3/projects/github.com%2Fvercel%2Fswr — retrieved 2026-10-29T05:09:02.666Z
- https://api.deps.dev/v3/systems/npm/packages/swr/versions/2.5.0-beta.1 — retrieved 2026-10-29T08:03:31.980Z
- https://api.deps.dev/v3/systems/npm/packages/swr/versions/2.5.0-beta.1:dependencies — retrieved 2026-10-29T08:03:32.004Z