diff --git a/web/package.json b/web/package.json index b7b178ab..bb02f157 100644 --- a/web/package.json +++ b/web/package.json @@ -22,7 +22,7 @@ "@redwoodjs/web": "7.3.0", "@stripe/stripe-js": "1.54.2", "@xstate/immer": "0.3.3", - "@xstate/react": "3.2.2", + "@xstate/react": "4.1.0", "immer": "10.0.4", "open-props": "1.7.2", "prop-types": "15.8.1", @@ -30,7 +30,7 @@ "react-dom": "18.2.0", "react-feather": "2.0.10", "styled-components": "6.1.8", - "xstate": "4.38.0" + "xstate": "5.9.1" }, "devDependencies": { "@redwoodjs/vite": "7.3.0", diff --git a/yarn.lock b/yarn.lock index 8e568007..e22f5d35 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6820,22 +6820,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.0": + version: 4.1.0 + resolution: "@xstate/react@npm:4.1.0" dependencies: use-isomorphic-layout-effect: ^1.1.2 use-sync-external-store: ^1.0.0 peerDependencies: - "@xstate/fsm": ^2.0.0 react: ^16.8.0 || ^17.0.0 || ^18.0.0 - xstate: ^4.37.2 + xstate: ^5.6.2 peerDependenciesMeta: - "@xstate/fsm": - optional: true xstate: optional: true - checksum: 3aab6169295fcbd77a217535d8674557165c5a931fc70c61824df89fdd0e54fe89468b7ca2690f78a3c0ad0612d1f9913b29c4667af06db0682d396a092c4f82 + checksum: 40e03fa0b6447891e789c07fe4bfd4bd077bd8566a9837d1c9672ffc633e99b545adf6dd1db8e158d1bb4dfdf06938055fbf7906183bb9be1640e4236f8307ac languageName: node linkType: hard @@ -21292,7 +21289,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.0 immer: 10.0.4 open-props: 1.7.2 prop-types: 15.8.1 @@ -21300,7 +21297,7 @@ __metadata: react-dom: 18.2.0 react-feather: 2.0.10 styled-components: 6.1.8 - xstate: 4.38.0 + xstate: 5.9.1 languageName: unknown linkType: soft @@ -21881,10 +21878,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.9.1": + version: 5.9.1 + resolution: "xstate@npm:5.9.1" + checksum: 97b7e4051072917f29f32ea60823d66095ada320a86b6b1493e632bb8ea79ba6f93e2d0b310d282ad0dd152252894aa6043d81f351d7952263a73d6efd6d1e2e languageName: node linkType: hard