diff --git a/web/package.json b/web/package.json index 37bf1b82..bb880926 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.1", "immer": "10.1.1", "open-props": "1.7.9", "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.1" }, "devDependencies": { "@redwoodjs/vite": "7.7.4", diff --git a/yarn.lock b/yarn.lock index 29fc7b5b..5f376af4 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.1": + version: 5.0.1 + resolution: "@xstate/react@npm:5.0.1" 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.1 peerDependenciesMeta: - "@xstate/fsm": - optional: true xstate: optional: true - checksum: 3aab6169295fcbd77a217535d8674557165c5a931fc70c61824df89fdd0e54fe89468b7ca2690f78a3c0ad0612d1f9913b29c4667af06db0682d396a092c4f82 + checksum: 555f61d6dcba37a221e883d91fc8308ac847c5c263a97efc132292e7f29a526d9c9bf362ba1bef1865cbfd448a1ee655403bed90b508346969c02d3972e98761 languageName: node linkType: hard @@ -20980,12 +20977,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 @@ -21301,7 +21298,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.1 immer: 10.1.1 open-props: 1.7.9 prop-types: 15.8.1 @@ -21309,7 +21306,7 @@ __metadata: react-dom: 18.3.1 react-feather: 2.0.10 styled-components: 6.1.13 - xstate: 4.38.0 + xstate: 5.19.1 languageName: unknown linkType: soft @@ -21889,10 +21886,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.1": + version: 5.19.1 + resolution: "xstate@npm:5.19.1" + checksum: 4562a692eb025f443765b7a55445fc9c7eef36ac534e3332ffcba1a73713b85346da6bc85e06ed4bf4e5490ec4955af163bdc6b91ecac84214ddbbbe9cb925a3 languageName: node linkType: hard