diff --git a/package.json b/package.json index abc48d0..d92c9c8 100644 --- a/package.json +++ b/package.json @@ -53,6 +53,6 @@ "tailwindcss": "^3.4.16", "typescript": "^5.6.3", "vite": "^5.4.10", - "zustand": "^4.5.5" + "zustand": "^5.0.2" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9130479..cbc8c00 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -133,8 +133,8 @@ importers: specifier: ^5.4.10 version: 5.4.10(@types/node@22.9.0) zustand: - specifier: ^4.5.5 - version: 4.5.5(@types/react@18.3.12)(react@18.3.1) + specifier: ^5.0.2 + version: 5.0.2(@types/react@18.3.12)(react@18.3.1)(use-sync-external-store@1.2.2(react@18.3.1)) packages: @@ -2174,13 +2174,14 @@ packages: resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==} engines: {node: '>=10'} - 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 @@ -2188,6 +2189,8 @@ packages: optional: true react: optional: true + use-sync-external-store: + optional: true snapshots: @@ -4026,6 +4029,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: {} @@ -4060,9 +4064,8 @@ snapshots: yocto-queue@0.1.0: {} - 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.2(@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)