Packages

xstate

5.33.4 · 7 Nov 2026MIT9M / weekRepositoryHomepagenpmAtom feed

Your version

5.31.1

10 May 2026Where it was published

5.33.4 is the newest release of 5.x.

In short

1 fixed

Release note

Patch Changes

  • Fixed route transition guards so named guards registered with setup({ guards }) are resolved for route.guard.

    const machine = setup({
      guards: {
        isReady: ({ context }) => context.ready
      }
    }).createMachine({
      states: {
        review: {
          id: 'review',
          route: {
            guard: 'isReady'
          }
        }
      }
    });

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.