From 8d896159e65b483cd01eeac52b9e67957876b162 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 6 Sep 2026 16:53:53 +0000 Subject: [PATCH] fix(deps): update xstate monorepo --- package-lock.json | 41 ++++++++++++++--------------------------- package.json | 4 ++-- 2 files changed, 16 insertions(+), 29 deletions(-) diff --git a/package-lock.json b/package-lock.json index 342a1579..89553446 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,7 +12,7 @@ "@docsearch/react": "3.9.0", "@headlessui/react": "1.7.19", "@tailwindcss/typography": "0.5.20", - "@xstate/react": "1.6.3", + "@xstate/react": "6.1.0", "autoprefixer": "10.4.27", "clsx": "2.1.1", "date-fns": "3.6.0", @@ -44,7 +44,7 @@ "tailwind-heropatterns": "0.0.8", "tailwindcss": "3.4.19", "unist-util-visit": "5.1.0", - "xstate": "4.38.3" + "xstate": "5.32.6" }, "devDependencies": { "@eslint/js": "^9.39.0", @@ -1628,22 +1628,19 @@ "integrity": "sha512-WmoN8qaIAo7WTYWbAZuG8PYEhn5fkz7dZrqTBZ7dtt//lL2Gwms1IcnQ5yHqjDfX8Ft5j4YzDM23f87zBfDe9g==" }, "node_modules/@xstate/react": { - "version": "1.6.3", - "resolved": "https://registry.npmjs.org/@xstate/react/-/react-1.6.3.tgz", - "integrity": "sha512-NCUReRHPGvvCvj2yLZUTfR0qVp6+apc8G83oXSjN4rl89ZjyujiKrTff55bze/HrsvCsP/sUJASf2n0nzMF1KQ==", + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@xstate/react/-/react-6.1.0.tgz", + "integrity": "sha512-ep9F0jGTI63B/jE8GHdMpUqtuz7yRebNaKv8EMUaiSi29NOglywc2X2YSOV/ygbIK+LtmgZ0q9anoEA2iBSEOw==", + "license": "MIT", "dependencies": { - "use-isomorphic-layout-effect": "^1.0.0", - "use-subscription": "^1.3.0" + "use-isomorphic-layout-effect": "^1.1.2", + "use-sync-external-store": "^1.2.0" }, "peerDependencies": { - "@xstate/fsm": "^1.0.0", - "react": "^16.8.0 || ^17.0.0", - "xstate": "^4.11.0" + "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", + "xstate": "^5.28.0" }, "peerDependenciesMeta": { - "@xstate/fsm": { - "optional": true - }, "xstate": { "optional": true } @@ -8046,17 +8043,6 @@ } } }, - "node_modules/use-subscription": { - "version": "1.12.0", - "resolved": "https://registry.npmjs.org/use-subscription/-/use-subscription-1.12.0.tgz", - "integrity": "sha512-MxN8IbiDehaybVEyPcEDxSKdhUyIw9hr+nPvJMj+XTW7kKnb8tqqY82jROTD29Y2mqHAizPWNB0aHNjOzuyN1A==", - "dependencies": { - "use-sync-external-store": "^1.6.0" - }, - "peerDependencies": { - "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" - } - }, "node_modules/use-sync-external-store": { "version": "1.6.0", "resolved": "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.6.0.tgz", @@ -8219,9 +8205,10 @@ } }, "node_modules/xstate": { - "version": "4.38.3", - "resolved": "https://registry.npmjs.org/xstate/-/xstate-4.38.3.tgz", - "integrity": "sha512-SH7nAaaPQx57dx6qvfcIgqKRXIh4L0A1iYEqim4s1u7c9VoCgzZc+63FY90AKU4ZzOC2cfJzTnpO4zK7fCUzzw==", + "version": "5.32.6", + "resolved": "https://registry.npmjs.org/xstate/-/xstate-5.32.6.tgz", + "integrity": "sha512-WfA8WNrh6r9osuGwVm+aIPM4jmMW2LKHV1Yv9thYpOtL4HVF/kobh95K/O8v2jDCpDmP2EoY+6uvuqHXCZ6ZLw==", + "license": "MIT", "funding": { "type": "opencollective", "url": "https://opencollective.com/xstate" diff --git a/package.json b/package.json index 96b7df93..98f64548 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "@docsearch/react": "3.9.0", "@headlessui/react": "1.7.19", "@tailwindcss/typography": "0.5.20", - "@xstate/react": "1.6.3", + "@xstate/react": "6.1.0", "autoprefixer": "10.4.27", "clsx": "2.1.1", "date-fns": "3.6.0", @@ -64,7 +64,7 @@ "tailwind-heropatterns": "0.0.8", "tailwindcss": "3.4.19", "unist-util-visit": "5.1.0", - "xstate": "4.38.3" + "xstate": "5.32.6" }, "devDependencies": { "@eslint/js": "^9.39.0",