diff --git a/package.json b/package.json index a54cd6d..d65cecf 100644 --- a/package.json +++ b/package.json @@ -62,7 +62,7 @@ "dependencies": { "clsx": "^2.1.1", "copy-to-clipboard": "^3.3.3", - "zustand": "^4.5.5" + "zustand": "^5.0.0" }, "lint-staged": { "!*.{ts,tsx,js,jsx}": "prettier --write --ignore-unknown", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e89a533..847c6af 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -15,8 +15,8 @@ importers: specifier: ^3.3.3 version: 3.3.3 zustand: - specifier: ^4.5.5 - version: 4.5.5(@types/react@18.3.11)(react@18.3.1) + specifier: ^5.0.0 + version: 5.0.0(@types/react@18.3.11)(react@18.3.1)(use-sync-external-store@1.2.2(react@18.3.1)) devDependencies: '@commitlint/cli': specifier: ^19.5.0 @@ -4320,13 +4320,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.0: + resolution: {integrity: sha512-LE+VcmbartOPM+auOjCCLQOsQ05zUTp8RkgwRzefUk+2jISdMMFnxvyTjA4YNWr5ZGXYbVsEMZosttuxUBkojQ==} + 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 @@ -4334,6 +4335,8 @@ packages: optional: true react: optional: true + use-sync-external-store: + optional: true zwitch@2.0.4: resolution: {integrity: sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==} @@ -8875,6 +8878,7 @@ snapshots: use-sync-external-store@1.2.2(react@18.3.1): dependencies: react: 18.3.1 + optional: true uuid@9.0.1: {} @@ -9120,11 +9124,10 @@ snapshots: zod@3.23.8: {} - zustand@4.5.5(@types/react@18.3.11)(react@18.3.1): - dependencies: - use-sync-external-store: 1.2.2(react@18.3.1) + zustand@5.0.0(@types/react@18.3.11)(react@18.3.1)(use-sync-external-store@1.2.2(react@18.3.1)): optionalDependencies: '@types/react': 18.3.11 react: 18.3.1 + use-sync-external-store: 1.2.2(react@18.3.1) zwitch@2.0.4: {}