From 377ef12d4a8eb7c1fc133ad62f94057262c6da59 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sat, 25 May 2024 08:19:40 +0000 Subject: [PATCH] fix: upgrade zustand from 4.1.1 to 4.5.2 Snyk has created this PR to upgrade zustand from 4.1.1 to 4.5.2. See this package in npm: zustand See this project in Snyk: https://app.snyk.io/org/ha404/project/a14bf01f-4135-400c-8e08-1fa40183eb59?utm_source=github&utm_medium=referral&page=upgrade-pr --- package-lock.json | 23 ++++++++++++++--------- package.json | 2 +- 2 files changed, 15 insertions(+), 10 deletions(-) diff --git a/package-lock.json b/package-lock.json index a57eeb04a..6e1c736c3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,5 +1,5 @@ { - "name": "tailwindcss.com", + "name": "npm-proj-1716625164086-0.1708480873311784uHqyOi", "lockfileVersion": 2, "requires": true, "packages": { @@ -60,7 +60,7 @@ "tailwindcss": "^3.2.4", "tinytime": "^0.2.6", "unist-util-visit": "^2.0.3", - "zustand": "^4.0.0-rc.0" + "zustand": "^4.5.2" }, "devDependencies": { "@typescript-eslint/eslint-plugin": "2.x", @@ -11546,9 +11546,10 @@ } }, "node_modules/zustand": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/zustand/-/zustand-4.1.1.tgz", - "integrity": "sha512-h4F3WMqsZgvvaE0n3lThx4MM81Ls9xebjvrABNzf5+jb3/03YjNTSgZXeyrvXDArMeV9untvWXRw1tY+ntPYbA==", + "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" }, @@ -11556,10 +11557,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 }, @@ -19810,9 +19815,9 @@ } }, "zustand": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/zustand/-/zustand-4.1.1.tgz", - "integrity": "sha512-h4F3WMqsZgvvaE0n3lThx4MM81Ls9xebjvrABNzf5+jb3/03YjNTSgZXeyrvXDArMeV9untvWXRw1tY+ntPYbA==", + "version": "4.5.2", + "resolved": "https://registry.npmjs.org/zustand/-/zustand-4.5.2.tgz", + "integrity": "sha512-2cN1tPkDVkwCy5ickKrI7vijSjPksFRfqS6237NzT0vqSsztTNnQdHw9mmN7uBdk3gceVXU0a+21jFzFzAc9+g==", "requires": { "use-sync-external-store": "1.2.0" } diff --git a/package.json b/package.json index 804b4a250..5d12da186 100644 --- a/package.json +++ b/package.json @@ -66,7 +66,7 @@ "tailwindcss": "^3.2.4", "tinytime": "^0.2.6", "unist-util-visit": "^2.0.3", - "zustand": "^4.0.0-rc.0" + "zustand": "^4.5.2" }, "devDependencies": { "@typescript-eslint/eslint-plugin": "2.x",