From 2950e59ae1a2a182edd734b869d0f990deda87c8 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sun, 23 Jun 2024 06:51:30 +0000 Subject: [PATCH] fix: upgrade zustand from 4.3.6 to 4.5.2 Snyk has created this PR to upgrade zustand from 4.3.6 to 4.5.2. See this package in npm: zustand See this project in Snyk: https://app.snyk.io/org/0xgingi/project/322b9219-cae5-4eea-bb80-25d9c6a7f75c?utm_source=github&utm_medium=referral&page=upgrade-pr --- package-lock.json | 15 ++++++++++----- package.json | 2 +- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index bbaab446f..d4aa7c816 100644 --- a/package-lock.json +++ b/package-lock.json @@ -32,7 +32,7 @@ "remark-gfm": "^3.0.1", "remark-math": "^5.1.1", "uuid": "^9.0.0", - "zustand": "^4.3.6" + "zustand": "^4.5.2" }, "devDependencies": { "@tailwindcss/typography": "^0.5.9", @@ -8346,9 +8346,10 @@ } }, "node_modules/zustand": { - "version": "4.3.6", - "resolved": "https://registry.npmjs.org/zustand/-/zustand-4.3.6.tgz", - "integrity": "sha512-6J5zDxjxLE+yukC2XZWf/IyWVKnXT9b9HUv09VJ/bwGCpKNcaTqp7Ws28Xr8jnbvnZcdRaidztAPsXFBIqufiw==", + "version": "4.5.2", + "resolved": "https://registry.npmjs.org/zustand/-/zustand-4.5.2.tgz", + "integrity": "sha512-2cN1tPkDVkwCy5ickKrI7vijSjPksFRfqS6237NzT0vqSsztTNnQdHw9mmN7uBdk3gceVXU0a+21jFzFzAc9+g==", + "license": "MIT", "dependencies": { "use-sync-external-store": "1.2.0" }, @@ -8356,10 +8357,14 @@ "node": ">=12.7.0" }, "peerDependencies": { - "immer": ">=9.0", + "@types/react": ">=16.8", + "immer": ">=9.0.6", "react": ">=16.8" }, "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, "immer": { "optional": true }, diff --git a/package.json b/package.json index c9b4cfb44..295e43953 100644 --- a/package.json +++ b/package.json @@ -67,7 +67,7 @@ "remark-gfm": "^3.0.1", "remark-math": "^5.1.1", "uuid": "^9.0.0", - "zustand": "^4.3.6" + "zustand": "^4.5.2" }, "devDependencies": { "@tailwindcss/typography": "^0.5.9",