From 500850ed59b633f7102f7a11e9d05994fc633cd9 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 13 Dec 2024 07:50:16 +0000 Subject: [PATCH] Update xstate monorepo to v5 --- web/package.json | 4 ++-- yarn.lock | 39 ++++++++++++++++++--------------------- 2 files changed, 20 insertions(+), 23 deletions(-) diff --git a/web/package.json b/web/package.json index 168668ef..5ee0406c 100644 --- a/web/package.json +++ b/web/package.json @@ -22,7 +22,7 @@ "@redwoodjs/web": "7.7.4", "@stripe/stripe-js": "1.54.2", "@xstate/immer": "0.3.3", - "@xstate/react": "3.2.2", + "@xstate/react": "5.0.0", "immer": "10.1.1", "open-props": "1.7.8", "prop-types": "15.8.1", @@ -30,7 +30,7 @@ "react-dom": "18.3.1", "react-feather": "2.0.10", "styled-components": "6.1.13", - "xstate": "4.38.0" + "xstate": "5.19.0" }, "devDependencies": { "@redwoodjs/vite": "7.7.4", diff --git a/yarn.lock b/yarn.lock index ea9fae69..2806abbc 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6747,22 +6747,19 @@ __metadata: languageName: node linkType: hard -"@xstate/react@npm:3.2.2": - version: 3.2.2 - resolution: "@xstate/react@npm:3.2.2" +"@xstate/react@npm:5.0.0": + version: 5.0.0 + resolution: "@xstate/react@npm:5.0.0" dependencies: use-isomorphic-layout-effect: ^1.1.2 - use-sync-external-store: ^1.0.0 + use-sync-external-store: ^1.2.0 peerDependencies: - "@xstate/fsm": ^2.0.0 - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - xstate: ^4.37.2 + react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-0 + xstate: ^5.19.0 peerDependenciesMeta: - "@xstate/fsm": - optional: true xstate: optional: true - checksum: 3aab6169295fcbd77a217535d8674557165c5a931fc70c61824df89fdd0e54fe89468b7ca2690f78a3c0ad0612d1f9913b29c4667af06db0682d396a092c4f82 + checksum: 311ac4ef7e404e74a3fc6ca60fe441ccfb248d380743704728bf8791cccb4ee6c023636a2bad14994bffed7c2d0540226ed4752e5d5e44ff5a7e49e4fcfe17e1 languageName: node linkType: hard @@ -20981,12 +20978,12 @@ __metadata: languageName: node linkType: hard -"use-sync-external-store@npm:^1.0.0": - version: 1.2.0 - resolution: "use-sync-external-store@npm:1.2.0" +"use-sync-external-store@npm:^1.2.0": + version: 1.4.0 + resolution: "use-sync-external-store@npm:1.4.0" peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - checksum: ac4814e5592524f242921157e791b022efe36e451fe0d4fd4d204322d5433a4fc300d63b0ade5185f8e0735ded044c70bcf6d2352db0f74d097a238cebd2da02 + react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 + checksum: ec011a5055962c0f6b509d6e78c0b143f8cd069890ae370528753053c55e3b360d3648e76cfaa854faa7a59eb08d6c5fb1015e60ffde9046d32f5b2a295acea5 languageName: node linkType: hard @@ -21302,7 +21299,7 @@ __metadata: "@stripe/stripe-js": 1.54.2 "@testing-library/user-event": 14.5.2 "@xstate/immer": 0.3.3 - "@xstate/react": 3.2.2 + "@xstate/react": 5.0.0 immer: 10.1.1 open-props: 1.7.8 prop-types: 15.8.1 @@ -21310,7 +21307,7 @@ __metadata: react-dom: 18.3.1 react-feather: 2.0.10 styled-components: 6.1.13 - xstate: 4.38.0 + xstate: 5.19.0 languageName: unknown linkType: soft @@ -21890,10 +21887,10 @@ __metadata: languageName: node linkType: hard -"xstate@npm:4.38.0": - version: 4.38.0 - resolution: "xstate@npm:4.38.0" - checksum: afd9f9964e6f0ccd9c86549f7000a4e67e477fdab60fc3fefb08752048dee0983d83ad1fbcf7b934e5745de2eb352163623a89f5f17b82ff4f7298bfa2791e38 +"xstate@npm:5.19.0": + version: 5.19.0 + resolution: "xstate@npm:5.19.0" + checksum: 42a55786d517462b927209cbf96e168f4e287d0248bc460e3ba05a51c4a7761c2a5b81c2e8f53d22007571933ee11f62eaa7d8303caec481bd0f47814e68ad53 languageName: node linkType: hard