diff --git a/package.json b/package.json index 848f44b..f4f998b 100644 --- a/package.json +++ b/package.json @@ -68,7 +68,7 @@ "react-native-video": "^6.18.0", "react-native-web": "^0.21.0", "react-native-worklets": "0.5.1", - "zustand": "^4.5.1" + "zustand": "^5.0.9" }, "devDependencies": { "@babel/core": "^7.20.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 95a0bfd..51ae931 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -135,8 +135,8 @@ importers: specifier: 0.5.1 version: 0.5.1(@babel/core@7.28.5)(react-native-tvos@0.81.5-1)(react@19.1.0) zustand: - specifier: ^4.5.1 - version: 4.5.7(@types/react@19.1.17)(react@19.1.0) + specifier: ^5.0.9 + version: 5.0.9(@types/react@19.1.17)(react@19.1.0)(use-sync-external-store@1.6.0(react@19.1.0)) devDependencies: '@babel/core': specifier: ^7.20.0 @@ -5028,6 +5028,7 @@ packages: whatwg-encoding@2.0.0: resolution: {integrity: sha512-p41ogyeMUrw3jWclHWTQg1k05DSVXPLcVxRTYsXUk+ZooOCZLcoYgPZ/HL/D/N+uQPOtcp1me1WhBEaX02mhWg==} engines: {node: '>=12'} + deprecated: Use @exodus/bytes instead for a more spec-conformant and faster implementation whatwg-fetch@3.6.20: resolution: {integrity: sha512-EqhiFU6daOA8kpjOWTL0olhVOF3i7OrFzSYiGsEMB8GcXS+RrzauAERX65xMeNWVqxA6HXH2m69Z9LaKKdisfg==} @@ -5179,13 +5180,14 @@ packages: zod@4.2.1: resolution: {integrity: sha512-0wZ1IRqGGhMP76gLqz8EyfBXKk0J2qo2+H3fi4mcUP/KtTocoX08nmIAHl1Z2kJIZbZee8KOpBCSNPRgauucjw==} - zustand@4.5.7: - resolution: {integrity: sha512-CHOUy7mu3lbD6o6LJLfllpjkzhHXSBlX8B9+qPddUsIfeF5S/UZ5q0kmCsnRqT1UHFQZchNFDDzMbQsuesHWlw==} - engines: {node: '>=12.7.0'} + zustand@5.0.9: + resolution: {integrity: sha512-ALBtUj0AfjJt3uNRQoL1tL2tMvj6Gp/6e39dnfT6uzpelGru8v1tPOGBzayOWbPJvujM8JojDk3E1LxeFisBNg==} + 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 @@ -5193,6 +5195,8 @@ packages: optional: true react: optional: true + use-sync-external-store: + optional: true snapshots: @@ -11361,9 +11365,8 @@ snapshots: zod@4.2.1: {} - zustand@4.5.7(@types/react@19.1.17)(react@19.1.0): - dependencies: - use-sync-external-store: 1.6.0(react@19.1.0) + zustand@5.0.9(@types/react@19.1.17)(react@19.1.0)(use-sync-external-store@1.6.0(react@19.1.0)): optionalDependencies: '@types/react': 19.1.17 react: 19.1.0 + use-sync-external-store: 1.6.0(react@19.1.0)