xstate 5.22.1

Finite State Machines and Statecharts for the Modern Web.

xstate@5.22.1 was published on 2025-10-02. Its manifest declares 0 runtime dependencies and 0 peer requirements. Type declarations are bundled according to the package metadata. No Node.js engine requirement is declared in this manifest.

All xstate versions · Permanent reference to 5.22.1 · Latest release

Package specifications

Version5.22.1
License declarationMIT
Published2025-10-02T17:41:49.887Z
Node.js requirementNot declared
Type declarationsBundled declarations
Runtime dependency count0
Peer requirement count0
Optional dependency count0
Minified sizeMeasurement not available yet
Minified + gzipMeasurement not available yet
Unpacked distribution size2136.49 KiB
Published file count131
Package typeNot declared
ES module entrydist/xstate.esm.js
Default entrydist/xstate.cjs.js
Side effects declarationfalse
Direct advisories0
Resolved graph dependencies0
Repository stars30366
Repository forks1409

Install xstate 5.22.1

npm install xstate@5.22.1
pnpm add xstate@5.22.1
yarn add xstate@5.22.1

Runtime dependencies

  • None declared

Peer requirements

  • None declared

Optional dependencies

  • None declared

Resolved dependency graph

This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.

    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.

    Dangerous-Workflow10/10 — no dangerous workflow patterns detected
    Code-Review3/10 — Found 8/21 approved changesets -- score normalized to 3
    Maintained10/10 — 30 commit(s) and 6 issue activity found in the last 90 days -- score normalized to 10
    CII-Best-Practices0/10 — no effort to earn an OpenSSF best practices badge detected
    Token-Permissions10/10 — GitHub workflow tokens follow principle of least privilege
    Binary-Artifacts10/10 — no binaries found in the repo
    Pinned-Dependencies4/10 — dependency not pinned by hash detected -- score normalized to 4
    License10/10 — license file detected
    Fuzzing0/10 — project is not fuzzed
    Security-Policy0/10 — security policy file not detected
    SAST0/10 — SAST tool is not run on all commits -- score normalized to 0

    Evidence and freshness