Skip to content

Comments

build(deps): bump xstate from 5.20.0 to 5.22.1 in /packages/config-svc-fe#178

Closed
dependabot[bot] wants to merge 1 commit intodevfrom
dependabot/npm_and_yarn/packages/config-svc-fe/xstate-5.22.1
Closed

build(deps): bump xstate from 5.20.0 to 5.22.1 in /packages/config-svc-fe#178
dependabot[bot] wants to merge 1 commit intodevfrom
dependabot/npm_and_yarn/packages/config-svc-fe/xstate-5.22.1

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Oct 6, 2025

Bumps xstate from 5.20.0 to 5.22.1.

Release notes

Sourced from xstate's releases.

xstate@5.22.1

Patch Changes

xstate@5.22.0

Minor Changes

  • #5367 76c857e Thanks @​davidkpiano! - Add type-bound action helpers to setup():

    • createAction(fn) – create type-safe custom actions
    • setup().assign(...), setup().sendTo(...), setup().raise(...), setup().log(...), setup().cancel(...), setup().stopChild(...), setup().enqueueActions(...), setup().emit(...), setup().spawnChild(...) – setup-scoped helpers that are fully typed to the setup's context/events/actors/guards/delays/emitted.

    These helpers return actions that are bound to the specific setup() they were created from and can be used directly in the machine produced by that setup.

    const machineSetup = setup({
      types: {} as {
        context: {
          count: number;
        };
        events: { type: 'inc'; value: number } | { type: 'TEST' };
        emitted: { type: 'PING' };
      }
    });
    // Custom action
    const action = machineSetup.createAction(({ context, event }) => {
    console.log(context.count, event.value);
    });
    // Type-bound built-ins (no wrapper needed)
    const increment = machineSetup.assign({
    count: ({ context }) => context.count + 1
    });
    const raiseTest = machineSetup.raise({ type: 'TEST' });
    const ping = machineSetup.emit({ type: 'PING' });
    const batch = machineSetup.enqueueActions(({ enqueue, check }) => {
    if (check(() => true)) {
    enqueue(increment);
    }
    });

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [xstate](https://github.com/statelyai/xstate) from 5.20.0 to 5.22.1.
- [Release notes](https://github.com/statelyai/xstate/releases)
- [Commits](https://github.com/statelyai/xstate/compare/xstate@5.20.0...xstate@5.22.1)

---
updated-dependencies:
- dependency-name: xstate
  dependency-version: 5.22.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Oct 6, 2025

Labels

The following labels could not be found: frontend. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Oct 6, 2025
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Oct 6, 2025
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Oct 13, 2025

Superseded by #185.

@dependabot dependabot bot closed this Oct 13, 2025
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/packages/config-svc-fe/xstate-5.22.1 branch October 13, 2025 02:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant