diff --git a/package.json b/package.json index e34dd31..cbe8b9e 100644 --- a/package.json +++ b/package.json @@ -54,7 +54,7 @@ "svix": "^1.74.1", "tailwind-merge": "^2.0.0", "zod": "^3.22.0", - "zustand": "^4.4.0" + "zustand": "^5.0.8" }, "devDependencies": { "@commitlint/cli": "^18.0.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c037d6a..c64fa83 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1,7 +1,7 @@ lockfileVersion: '9.0' settings: - autoInstallPeers: false + autoInstallPeers: true excludeLinksFromLockfile: false importers: @@ -84,8 +84,8 @@ importers: specifier: ^3.22.0 version: 3.25.76 zustand: - specifier: ^4.4.0 - version: 4.5.7(@types/react@18.3.24)(react@19.1.1) + specifier: ^5.0.8 + version: 5.0.8(@types/react@18.3.24)(react@19.1.1)(use-sync-external-store@1.5.0(react@19.1.1)) devDependencies: '@commitlint/cli': specifier: ^18.0.0 @@ -4751,13 +4751,14 @@ packages: zod@3.25.76: resolution: {integrity: sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==} - zustand@4.5.7: - resolution: {integrity: sha512-CHOUy7mu3lbD6o6LJLfllpjkzhHXSBlX8B9+qPddUsIfeF5S/UZ5q0kmCsnRqT1UHFQZchNFDDzMbQsuesHWlw==} - engines: {node: '>=12.7.0'} + zustand@5.0.8: + resolution: {integrity: sha512-gyPKpIaxY9XcO2vSMrLbiER7QMAMGOQZVRdJ6Zi782jkbzZygq5GI9nG8g+sMgitRtndwaBSl7uiqC49o1SSiw==} + 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 @@ -4765,6 +4766,8 @@ packages: optional: true react: optional: true + use-sync-external-store: + optional: true snapshots: @@ -10182,9 +10185,8 @@ snapshots: zod@3.25.76: {} - zustand@4.5.7(@types/react@18.3.24)(react@19.1.1): - dependencies: - use-sync-external-store: 1.5.0(react@19.1.1) + zustand@5.0.8(@types/react@18.3.24)(react@19.1.1)(use-sync-external-store@1.5.0(react@19.1.1)): optionalDependencies: '@types/react': 18.3.24 react: 19.1.1 + use-sync-external-store: 1.5.0(react@19.1.1)