diff --git a/packages/main/package.json b/packages/main/package.json index 5b356239..b66c7fd4 100644 --- a/packages/main/package.json +++ b/packages/main/package.json @@ -67,7 +67,7 @@ "uuid": "^10.0.0", "web-vitals": "^4.2.4", "zod": "^3.23.8", - "zustand": "^4.5.5" + "zustand": "^5.0.0" }, "devDependencies": { "@emotion/babel-plugin": "^11.12.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index b2fd4434..0476dcc6 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -208,8 +208,8 @@ importers: specifier: ^3.23.8 version: 3.23.8 zustand: - specifier: ^4.5.5 - version: 4.5.5(@types/react@18.3.12)(immer@10.1.1)(react@18.3.1) + specifier: ^5.0.0 + version: 5.0.0(@types/react@18.3.12)(immer@10.1.1)(react@18.3.1)(use-sync-external-store@1.2.2(react@18.3.1)) devDependencies: '@emotion/babel-plugin': specifier: ^11.12.0 @@ -3131,13 +3131,14 @@ packages: zrender@5.6.0: resolution: {integrity: sha512-uzgraf4njmmHAbEUxMJ8Oxg+P3fT04O+9p7gY+wJRVxo8Ge+KmYv0WJev945EH4wFuc4OY2NLXz46FZrWS9xJg==} - 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 @@ -3145,6 +3146,8 @@ packages: optional: true react: optional: true + use-sync-external-store: + optional: true snapshots: @@ -6122,10 +6125,9 @@ snapshots: dependencies: tslib: 2.3.0 - zustand@4.5.5(@types/react@18.3.12)(immer@10.1.1)(react@18.3.1): - dependencies: - use-sync-external-store: 1.2.2(react@18.3.1) + zustand@5.0.0(@types/react@18.3.12)(immer@10.1.1)(react@18.3.1)(use-sync-external-store@1.2.2(react@18.3.1)): optionalDependencies: '@types/react': 18.3.12 immer: 10.1.1 react: 18.3.1 + use-sync-external-store: 1.2.2(react@18.3.1)