diff --git a/package.json b/package.json index 4d7ba307f8b..1a86fe5914b 100644 --- a/package.json +++ b/package.json @@ -59,7 +59,7 @@ "webgl-utils.js": "1.1.0", "webrtc-adapter": "9.0.1", "zod": "^3.23.8", - "zustand": "4.5.5" + "zustand": "5.0.2" }, "devDependencies": { "@babel/core": "7.26.0", diff --git a/yarn.lock b/yarn.lock index cef06e4f1c7..1287f2ad09a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -18186,15 +18186,6 @@ __metadata: languageName: node linkType: hard -"use-sync-external-store@npm:1.2.2": - 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: 10/671e9c190aab9a8374a5d468c6ba17f52c38b6fae970110bc196fc1e2b57204149aea9619be49a1bb5207fb6e51d8afd19c3bcb94afe61813fed039821461dc0 - languageName: node - linkType: hard - "use-sync-external-store@npm:^1.4.0": version: 1.4.0 resolution: "use-sync-external-store@npm:1.4.0" @@ -18888,7 +18879,7 @@ __metadata: webrtc-adapter: "npm:9.0.1" workbox-webpack-plugin: "npm:7.3.0" zod: "npm:^3.23.8" - zustand: "npm:4.5.5" + zustand: "npm:5.0.2" languageName: unknown linkType: soft @@ -19371,15 +19362,14 @@ __metadata: languageName: node linkType: hard -"zustand@npm:4.5.5": - version: 4.5.5 - resolution: "zustand@npm:4.5.5" - dependencies: - use-sync-external-store: "npm:1.2.2" +"zustand@npm:5.0.2": + version: 5.0.2 + resolution: "zustand@npm:5.0.2" peerDependencies: - "@types/react": ">=16.8" + "@types/react": ">=18.0.0" immer: ">=9.0.6" - react: ">=16.8" + react: ">=18.0.0" + use-sync-external-store: ">=1.2.0" peerDependenciesMeta: "@types/react": optional: true @@ -19387,6 +19377,8 @@ __metadata: optional: true react: optional: true - checksum: 10/481b8210187b69678074a1ca51107654c2379688e90407bfcb7961e0803a259742bfd0d77171c3f07e290896ad55fe9659b3863f30d34cb2572650ead1249f25 + use-sync-external-store: + optional: true + checksum: 10/9fb60796b9770dcc3f78dd794e7f424ff735e5676784cbc9726761037613942b62470b24a9ca9e98534ee4369a3b5429be570ff34281cb3c9d6d4e8df559ec3f languageName: node linkType: hard