diff --git a/apps/frontend/package.json b/apps/frontend/package.json index 886245416c..3b25a92fc1 100644 --- a/apps/frontend/package.json +++ b/apps/frontend/package.json @@ -84,7 +84,7 @@ "sharp": "^0.33.5", "sonner": "^1.5.0", "zod": "^3.23.8", - "zustand": "^4.5.5" + "zustand": "^5.0.1" }, "devDependencies": { "@codemirror/language": "^6.10.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f602630c77..675d1fca59 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -574,8 +574,8 @@ importers: specifier: ^3.23.8 version: 3.23.8 zustand: - specifier: ^4.5.5 - version: 4.5.5(@types/react@18.3.12)(react@18.3.1) + specifier: ^5.0.1 + version: 5.0.1(@types/react@18.3.12)(react@18.3.1)(use-sync-external-store@1.2.2(react@18.3.1)) devDependencies: '@codemirror/language': specifier: ^6.10.3 @@ -10951,13 +10951,14 @@ packages: zod@3.23.8: resolution: {integrity: sha512-XBx9AXhXktjUqnepgTiE5flcKIYWi/rme0Eaj+5Y0lftuGBq+jyRu/md4WnuxqgP1ubdpNCsYEYPxrzVHD8d6g==} - zustand@4.5.5: - resolution: {integrity: sha512-+0PALYNJNgK6hldkgDq2vLrw5f6g/jCInz52n9RTpropGgeAf/ioFUCdtsjCqu4gNhW9D01rUQBROoRjdzyn2Q==} - engines: {node: '>=12.7.0'} + zustand@5.0.1: + resolution: {integrity: sha512-pRET7Lao2z+n5R/HduXMio35TncTlSW68WsYBq2Lg1ASspsNGjpwLAsij3RpouyV6+kHMwwwzP0bZPD70/Jx/w==} + engines: {node: '>=12.20.0'} 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 @@ -10965,6 +10966,8 @@ packages: optional: true react: optional: true + use-sync-external-store: + optional: true snapshots: @@ -23644,9 +23647,8 @@ snapshots: zod@3.23.8: {} - zustand@4.5.5(@types/react@18.3.12)(react@18.3.1): - dependencies: - use-sync-external-store: 1.2.2(react@18.3.1) + zustand@5.0.1(@types/react@18.3.12)(react@18.3.1)(use-sync-external-store@1.2.2(react@18.3.1)): optionalDependencies: '@types/react': 18.3.12 react: 18.3.1 + use-sync-external-store: 1.2.2(react@18.3.1)