[Snyk] Upgrade xstate from 5.20.2 to 5.21.0#2343
Closed
madhavilosetty-intel wants to merge 1 commit into
Closed
Conversation
Snyk has created this PR to upgrade xstate from 5.20.2 to 5.21.0. See this package in npm: xstate See this project in Snyk: https://app.snyk.io/org/mlosetty-intel/project/ab1aa78c-1f6c-4e29-8f8e-86f4aea2fe81?utm_source=github&utm_medium=referral&page=upgrade-pr
madhavilosetty-intel
deleted the
snyk-upgrade-975273b61e4b126f62bf8475632f8364
branch
October 9, 2025 19:41
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade xstate from 5.20.2 to 5.21.0.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 1 version ahead of your current version.
The recommended version was released a month ago.
Release notes
Package name: xstate
-
5.21.0 - 2025-08-30
-
const lightMachineSetup = setup({
-
5.20.2 - 2025-08-06
-
from xstate GitHub release notesMinor Changes
#5364
15e15b5Thanks @ davidkpiano! - Added.createStateConfig(…)to the setup API. This makes it possible to create state configs that are strongly typed and modular.// ...
});
const green = lightMachineSetup.createStateConfig({
//...
});
const yellow = lightMachineSetup.createStateConfig({
//...
});
const red = lightMachineSetup.createStateConfig({
//...
});
const machine = lightMachineSetup.createMachine({
initial: 'green',
states: {
green,
yellow,
red
}
});
Patch Changes
#5351
71387ffThanks @ davidkpiano! - Fix: Emit callback errors no longer crash the actorImportant
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: