diff --git a/package.json b/package.json index 0cf9afe..aef1d13 100644 --- a/package.json +++ b/package.json @@ -113,7 +113,7 @@ "use-debounce": "^10.0.1", "uuid": "^11.0.0", "warp-grid": "^2.2.0", - "zustand": "^4.5.4" + "zustand": "^5.0.0" }, "pnpm": { "overrides": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 3271e81..4490af5 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -82,8 +82,8 @@ importers: specifier: ^2.2.0 version: 2.4.4 zustand: - specifier: ^4.5.4 - version: 4.5.5(@types/react@18.3.16)(react@18.3.1) + specifier: ^5.0.0 + version: 5.0.2(@types/react@18.3.16)(react@18.3.1)(use-sync-external-store@1.2.2(react@18.3.1)) devDependencies: '@commitlint/config-conventional': specifier: ^19.2.2 @@ -4661,13 +4661,14 @@ packages: resolution: {integrity: sha512-GQHQqAopRhwU8Kt1DDM8NjibDXHC8eoh1erhGAJPEyveY9qqVeXvVikNKrDz69sHowPMorbPUrH/mx8c50eiBQ==} engines: {node: '>=18'} - 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 @@ -4675,6 +4676,8 @@ packages: optional: true react: optional: true + use-sync-external-store: + optional: true snapshots: @@ -9375,6 +9378,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: {} @@ -9603,9 +9607,8 @@ snapshots: yoctocolors@2.1.1: {} - zustand@4.5.5(@types/react@18.3.16)(react@18.3.1): - dependencies: - use-sync-external-store: 1.2.2(react@18.3.1) + zustand@5.0.2(@types/react@18.3.16)(react@18.3.1)(use-sync-external-store@1.2.2(react@18.3.1)): optionalDependencies: '@types/react': 18.3.16 react: 18.3.1 + use-sync-external-store: 1.2.2(react@18.3.1)