An open index of dependabot pull requests across open source projects.

build(deps): Bump xstate from 5.13.0 to 5.19.4

Merged
Number: #247
Type: Pull Request
State: Merged
Author: dependabot[bot] dependabot[bot]
Association: Contributor
Comments: 1
Created: June 03, 2025 at 02:10 PM UTC
(4 months ago)
Updated: June 03, 2025 at 02:45 PM UTC
(4 months ago)
Merged: June 03, 2025 at 02:45 PM UTC
(4 months ago)
by haphut
Time to Close: 35 minutes
Labels:
dependencies javascript
Description:

Bumps xstate from 5.13.0 to 5.19.4.

Release notes

Sourced from xstate's releases.

xstate@5.19.4

Patch Changes

xstate@5.19.3

Patch Changes

xstate@5.19.2

Patch Changes

xstate@5.19.1

Patch Changes

  • #5139 bf6119a7310a878afbf4f5b01f5e24288f9a0f16 Thanks @​SandroMaglione! - Make spawn input required when defined inside referenced actor:

    const childMachine = createMachine({
      types: { input: {} as { value: number } }
    });
    

    const machine = createMachine({ types: {} as { context: { ref: ActorRefFrom<typeof childMachine> } }, context: ({ spawn }) => ({ ref: spawn( childMachine, // Input is now required! { input: { value: 42 } } ) }) });

xstate@5.19.0

Minor Changes

  • #4954 8c4b70652acaef2702f32435362e4755679a516d Thanks @​davidkpiano! - Added a new transition function that takes an actor logic, a snapshot, and an event, and returns a tuple containing the next snapshot and the actions to execute. This function is a pure function and does not execute the actions itself. It can be used like this:

    import { transition } from 'xstate';
    

    const [nextState, actions] = transition(actorLogic, currentState, event); // Execute actions as needed

    Added a new initialTransition function that takes an actor logic and an optional input, and returns a tuple containing the initial snapshot and the actions to execute from the initial transition. This function is also a pure function and does not execute the actions itself. It can be used like this:

... (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)
Pull Request Statistics
Commits:
1
Files Changed:
2
Additions:
+5
Deletions:
-5
Package Dependencies
Package:
xstate
Ecosystem:
npm
Version Change:
5.13.0 → 5.19.4
Update Type:
Minor
Technical Details
ID: 849852
UUID: 2564127379
Node ID: PR_kwDOHgsrLM6Y1XqT
Host: GitHub
Repository: HSLdevcom/transitdata-partial-apc-expander-combiner
Merge State: Unknown