diff --git a/web/package.json b/web/package.json index c72e951c..89b0e8fd 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": "4.1.2", "immer": "10.1.1", "open-props": "1.7.5", "prop-types": "15.8.1", @@ -30,7 +30,7 @@ "react-dom": "18.3.1", "react-feather": "2.0.10", "styled-components": "6.1.12", - "xstate": "4.38.0" + "xstate": "5.18.1" }, "devDependencies": { "@redwoodjs/vite": "7.7.4", diff --git a/yarn.lock b/yarn.lock index fc5437ae..c418514b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6741,22 +6741,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:4.1.2": + version: 4.1.2 + resolution: "@xstate/react@npm:4.1.2" 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 + xstate: ^5.18.1 peerDependenciesMeta: - "@xstate/fsm": - optional: true xstate: optional: true - checksum: 3aab6169295fcbd77a217535d8674557165c5a931fc70c61824df89fdd0e54fe89468b7ca2690f78a3c0ad0612d1f9913b29c4667af06db0682d396a092c4f82 + checksum: d206ce5a19cd486225ff1c34ed88c2313847589b9eb49b7ca1c3aa023e740ec44306e557282cdb3915b7ea9c43b9d827a39e53d4673811988473cbeb91069a29 languageName: node linkType: hard @@ -20964,12 +20961,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 @@ -21285,7 +21282,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": 4.1.2 immer: 10.1.1 open-props: 1.7.5 prop-types: 15.8.1 @@ -21293,7 +21290,7 @@ __metadata: react-dom: 18.3.1 react-feather: 2.0.10 styled-components: 6.1.12 - xstate: 4.38.0 + xstate: 5.18.1 languageName: unknown linkType: soft @@ -21873,10 +21870,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.18.1": + version: 5.18.1 + resolution: "xstate@npm:5.18.1" + checksum: b0b3a88058fa47c0664cdeed1b3a0b89956d29d39fb64e492ab46fd2d93bd66658ed389eb01dd2584d2dae6a991eee74199e040c70489bd0e32b874b4bab0e0a languageName: node linkType: hard