diff --git a/package.json b/package.json index d4de364..83dd5e1 100644 --- a/package.json +++ b/package.json @@ -61,7 +61,7 @@ "react-i18next": "^17.0.2", "shiki": "^4.0.2", "tailwind-merge": "^3.5.0", - "zustand": "^4.5.0" + "zustand": "^5.0.12" }, "devDependencies": { "@crxjs/vite-plugin": "^2.4.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 61ceedf..79a1580 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -87,8 +87,8 @@ importers: specifier: ^3.5.0 version: 3.5.0 zustand: - specifier: ^4.5.0 - version: 4.5.7(@types/react@18.3.28)(react@18.3.1) + specifier: ^5.0.12 + version: 5.0.12(@types/react@18.3.28)(react@18.3.1)(use-sync-external-store@1.6.0(react@18.3.1)) devDependencies: '@crxjs/vite-plugin': specifier: ^2.4.0 @@ -2934,13 +2934,14 @@ packages: resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==} engines: {node: '>=10'} - zustand@4.5.7: - resolution: {integrity: sha512-CHOUy7mu3lbD6o6LJLfllpjkzhHXSBlX8B9+qPddUsIfeF5S/UZ5q0kmCsnRqT1UHFQZchNFDDzMbQsuesHWlw==} - engines: {node: '>=12.7.0'} + zustand@5.0.12: + resolution: {integrity: sha512-i77ae3aZq4dhMlRhJVCYgMLKuSiZAaUPAct2AksxQ+gOtimhGMdXljRT21P5BNpeT4kXlLIckvkPM029OljD7g==} + 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 @@ -2948,6 +2949,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==} @@ -5881,11 +5884,10 @@ snapshots: yocto-queue@0.1.0: {} - zustand@4.5.7(@types/react@18.3.28)(react@18.3.1): - dependencies: - use-sync-external-store: 1.6.0(react@18.3.1) + zustand@5.0.12(@types/react@18.3.28)(react@18.3.1)(use-sync-external-store@1.6.0(react@18.3.1)): optionalDependencies: '@types/react': 18.3.28 react: 18.3.1 + use-sync-external-store: 1.6.0(react@18.3.1) zwitch@2.0.4: {}