From 1de802537ed0509fae5c04665619c6263cf6205f Mon Sep 17 00:00:00 2001 From: Arik Chakma Date: Thu, 28 Nov 2024 22:53:35 +0600 Subject: [PATCH] fix: update zustand --- package.json | 2 +- pnpm-lock.yaml | 28 ++++++++++++++++++++++++++-- 2 files changed, 27 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 53feba255..994de7907 100644 --- a/package.json +++ b/package.json @@ -76,7 +76,7 @@ "tailwindcss": "^3.4.13", "turndown": "^7.2.0", "unified": "^11.0.5", - "zustand": "^4.5.5" + "zustand": "^5.0.1" }, "devDependencies": { "@playwright/test": "^1.48.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 32ef05713..1fb66e90b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -147,8 +147,8 @@ importers: specifier: ^11.0.5 version: 11.0.5 zustand: - specifier: ^4.5.5 - version: 4.5.5(@types/react@18.3.11)(react@18.3.1) + specifier: ^5.0.1 + version: 5.0.1(@types/react@18.3.11)(react@18.3.1)(use-sync-external-store@1.2.2(react@18.3.1)) devDependencies: '@playwright/test': specifier: ^1.48.0 @@ -3243,6 +3243,24 @@ packages: react: optional: true + zustand@5.0.1: + resolution: {integrity: sha512-pRET7Lao2z+n5R/HduXMio35TncTlSW68WsYBq2Lg1ASspsNGjpwLAsij3RpouyV6+kHMwwwzP0bZPD70/Jx/w==} + engines: {node: '>=12.20.0'} + peerDependencies: + '@types/react': '>=18.0.0' + immer: '>=9.0.6' + react: '>=18.0.0' + use-sync-external-store: '>=1.2.0' + peerDependenciesMeta: + '@types/react': + optional: true + immer: + optional: true + react: + optional: true + use-sync-external-store: + optional: true + zwitch@2.0.4: resolution: {integrity: sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==} @@ -6455,4 +6473,10 @@ snapshots: '@types/react': 18.3.11 react: 18.3.1 + zustand@5.0.1(@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: {}