diff --git a/package-lock.json b/package-lock.json index 8c5468c..2af9862 100644 --- a/package-lock.json +++ b/package-lock.json @@ -27,7 +27,7 @@ "next-transpile-modules": "^9.0.0", "react": "17.0.2", "react-dom": "17.0.2", - "zustand": "^3.6.9" + "zustand": "^4.3.6" }, "devDependencies": { "@types/node": "17.0.10", @@ -16084,16 +16084,23 @@ } }, "node_modules/zustand": { - "version": "3.7.2", - "resolved": "https://registry.npmjs.org/zustand/-/zustand-3.7.2.tgz", - "integrity": "sha512-PIJDIZKtokhof+9+60cpockVOq05sJzHCriyvaLBmEJixseQ1a5Kdov6fWZfWOu5SK9c+FhH1jU0tntLxRJYMA==", + "version": "4.3.6", + "resolved": "https://registry.npmjs.org/zustand/-/zustand-4.3.6.tgz", + "integrity": "sha512-6J5zDxjxLE+yukC2XZWf/IyWVKnXT9b9HUv09VJ/bwGCpKNcaTqp7Ws28Xr8jnbvnZcdRaidztAPsXFBIqufiw==", + "dependencies": { + "use-sync-external-store": "1.2.0" + }, "engines": { "node": ">=12.7.0" }, "peerDependencies": { + "immer": ">=9.0", "react": ">=16.8" }, "peerDependenciesMeta": { + "immer": { + "optional": true + }, "react": { "optional": true } @@ -28256,10 +28263,12 @@ "peer": true }, "zustand": { - "version": "3.7.2", - "resolved": "https://registry.npmjs.org/zustand/-/zustand-3.7.2.tgz", - "integrity": "sha512-PIJDIZKtokhof+9+60cpockVOq05sJzHCriyvaLBmEJixseQ1a5Kdov6fWZfWOu5SK9c+FhH1jU0tntLxRJYMA==", - "requires": {} + "version": "4.3.6", + "resolved": "https://registry.npmjs.org/zustand/-/zustand-4.3.6.tgz", + "integrity": "sha512-6J5zDxjxLE+yukC2XZWf/IyWVKnXT9b9HUv09VJ/bwGCpKNcaTqp7Ws28Xr8jnbvnZcdRaidztAPsXFBIqufiw==", + "requires": { + "use-sync-external-store": "1.2.0" + } } } } diff --git a/package.json b/package.json index 9a4eab3..1b78b9b 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "next-transpile-modules": "^9.0.0", "react": "17.0.2", "react-dom": "17.0.2", - "zustand": "^3.6.9" + "zustand": "^4.3.6" }, "devDependencies": { "@types/node": "17.0.10", diff --git a/yarn.lock b/yarn.lock index 19c29fe..2bd4a31 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4409,6 +4409,8 @@ yargs@^13.2.4: y18n "^4.0.0" yargs-parser "^13.1.2" -zustand@^3.6.9: - version "3.7.2" - resolved "https://registry.npmjs.org/zustand/-/zustand-3.7.2.tgz" +zustand@^4.3.6: + version "4.3.6" + resolved "https://registry.yarnpkg.com/zustand/-/zustand-4.3.6.tgz#ce7804eb75361af0461a2d0536b65461ec5de86f" + dependencies: + use-sync-external-store "1.2.0"