diff --git a/package.json b/package.json index 2301495f..39f802f9 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "react-dom": "18.3.1", "react-feather": "2.0.10", "zod": "3.23.8", - "zustand": "4.5.5" + "zustand": "5.0.2" }, "devDependencies": { "@babel/core": "7.26.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 942d417f..b0556b40 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -39,8 +39,8 @@ importers: specifier: 3.23.8 version: 3.23.8 zustand: - specifier: 4.5.5 - version: 4.5.5(@types/react@18.3.14)(react@18.3.1) + specifier: 5.0.2 + version: 5.0.2(@types/react@18.3.14)(react@18.3.1)(use-sync-external-store@1.2.2(react@18.3.1)) devDependencies: '@babel/core': specifier: 7.26.0 @@ -3191,13 +3191,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.2: + resolution: {integrity: sha512-8qNdnJVJlHlrKXi50LDqqUNmUbuBjoKLrYQBnoChIbVph7vni+sY+YpvdjXG9YLd/Bxr6scMcR+rm5H3aSqPaw==} + 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 @@ -3205,6 +3206,8 @@ packages: optional: true react: optional: true + use-sync-external-store: + optional: true snapshots: @@ -6321,6 +6324,7 @@ snapshots: use-sync-external-store@1.2.2(react@18.3.1): dependencies: react: 18.3.1 + optional: true util-deprecate@1.0.2: {} @@ -6502,9 +6506,8 @@ snapshots: zod@3.23.8: {} - zustand@4.5.5(@types/react@18.3.14)(react@18.3.1): - dependencies: - use-sync-external-store: 1.2.2(react@18.3.1) + zustand@5.0.2(@types/react@18.3.14)(react@18.3.1)(use-sync-external-store@1.2.2(react@18.3.1)): optionalDependencies: '@types/react': 18.3.14 react: 18.3.1 + use-sync-external-store: 1.2.2(react@18.3.1)