From 59ad7c56c63d5e613b2e26f2e6b175622746d96c Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Tue, 14 Nov 2023 06:23:03 +0000 Subject: [PATCH] fix: upgrade react-toastify from 9.0.3 to 9.1.3 Snyk has created this PR to upgrade react-toastify from 9.0.3 to 9.1.3. See this package in npm: https://www.npmjs.com/package/react-toastify See this project in Snyk: https://app.snyk.io/org/dawnsee0823/project/74130f8e-7df3-4345-b3ae-cc0c7e82a26a?utm_source=github&utm_medium=referral&page=upgrade-pr --- package-lock.json | 19 ++++++++++++------- package.json | 2 +- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index 11759d7..6e8f639 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,6 +5,7 @@ "requires": true, "packages": { "": { + "name": "client", "version": "0.1.0", "dependencies": { "@testing-library/jest-dom": "^4.2.4", @@ -19,7 +20,7 @@ "react-chartjs-2": "^4.2.0", "react-dom": "^16.13.1", "react-scripts": "3.4.1", - "react-toastify": "9.0.3", + "react-toastify": "^9.1.3", "socket.io-client": "^4.5.1", "typescript": "^5.0.3", "uuidv4": "^6.2.13" @@ -14495,11 +14496,15 @@ } }, "node_modules/react-toastify": { - "version": "9.0.3", - "resolved": "https://registry.npmjs.org/react-toastify/-/react-toastify-9.0.3.tgz", - "integrity": "sha512-0QZJk0SqYBxouRBGCFU3ymvjlwimRRhVH7SzqGRiVrQ001KSoUNbGKx9Yq42aoPv18n45yJzEFG82zqv3HnASg==", + "version": "9.1.3", + "resolved": "https://registry.npmjs.org/react-toastify/-/react-toastify-9.1.3.tgz", + "integrity": "sha512-fPfb8ghtn/XMxw3LkxQBk3IyagNpF/LIKjOBflbexr2AWxAH1MJgvnESwEwBn9liLFXgTKWgBSdZpw9m4OTHTg==", "dependencies": { "clsx": "^1.1.1" + }, + "peerDependencies": { + "react": ">=16", + "react-dom": ">=16" } }, "node_modules/read-pkg": { @@ -30908,9 +30913,9 @@ } }, "react-toastify": { - "version": "9.0.3", - "resolved": "https://registry.npmjs.org/react-toastify/-/react-toastify-9.0.3.tgz", - "integrity": "sha512-0QZJk0SqYBxouRBGCFU3ymvjlwimRRhVH7SzqGRiVrQ001KSoUNbGKx9Yq42aoPv18n45yJzEFG82zqv3HnASg==", + "version": "9.1.3", + "resolved": "https://registry.npmjs.org/react-toastify/-/react-toastify-9.1.3.tgz", + "integrity": "sha512-fPfb8ghtn/XMxw3LkxQBk3IyagNpF/LIKjOBflbexr2AWxAH1MJgvnESwEwBn9liLFXgTKWgBSdZpw9m4OTHTg==", "requires": { "clsx": "^1.1.1" } diff --git a/package.json b/package.json index d80b87c..de84fd4 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "react-chartjs-2": "^4.2.0", "react-dom": "^16.13.1", "react-scripts": "3.4.1", - "react-toastify": "9.0.3", + "react-toastify": "9.1.3", "socket.io-client": "^4.5.1", "typescript": "^5.0.3", "uuidv4": "^6.2.13"