diff --git a/web/package.json b/web/package.json index 320f0055..77b3c7fa 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 b4b66ba9..634e71e3 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.2.2 + resolution: "use-sync-external-store@npm:1.2.2" peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 - checksum: ac4814e5592524f242921157e791b022efe36e451fe0d4fd4d204322d5433a4fc300d63b0ade5185f8e0735ded044c70bcf6d2352db0f74d097a238cebd2da02 + checksum: 23b1597c10adf15b26ade9e8c318d8cc0abc9ec0ab5fc7ca7338da92e89c2536abd150a5891bf076836c352fdfa104fc7231fb48f806fd9960e0cbe03601abaf 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