diff --git a/lib/package.json b/lib/package.json index 51508382..3785bb58 100644 --- a/lib/package.json +++ b/lib/package.json @@ -130,7 +130,7 @@ "react-markdown": "^9.0.1", "react-photo-album": "^3.2.1", "react-qr-code": "^2.0.16", - "react-toastify": "^9.1.3", + "react-toastify": "^11.0.5", "remark-breaks": "^4.0.0", "tiptap-markdown": "^0.9.0", "yet-another-react-lightbox": "^3.21.7" diff --git a/package-lock.json b/package-lock.json index acc7d329..1eaf9a71 100644 --- a/package-lock.json +++ b/package-lock.json @@ -94,7 +94,7 @@ "react-markdown": "^9.0.1", "react-photo-album": "^3.2.1", "react-qr-code": "^2.0.16", - "react-toastify": "^9.1.3", + "react-toastify": "^11.0.5", "remark-breaks": "^4.0.0", "tiptap-markdown": "^0.9.0", "yet-another-react-lightbox": "^3.21.7" @@ -13961,16 +13961,25 @@ } }, "node_modules/react-toastify": { - "version": "9.1.3", - "resolved": "https://registry.npmjs.org/react-toastify/-/react-toastify-9.1.3.tgz", - "integrity": "sha512-fPfb8ghtn/XMxw3LkxQBk3IyagNpF/LIKjOBflbexr2AWxAH1MJgvnESwEwBn9liLFXgTKWgBSdZpw9m4OTHTg==", + "version": "11.0.5", + "resolved": "https://registry.npmjs.org/react-toastify/-/react-toastify-11.0.5.tgz", + "integrity": "sha512-EpqHBGvnSTtHYhCPLxML05NLY2ZX0JURbAdNYa6BUkk+amz4wbKBQvoKQAB0ardvSarUBuY4Q4s1sluAzZwkmA==", "license": "MIT", "dependencies": { - "clsx": "^1.1.1" + "clsx": "^2.1.1" }, "peerDependencies": { - "react": ">=16", - "react-dom": ">=16" + "react": "^18 || ^19", + "react-dom": "^18 || ^19" + } + }, + "node_modules/react-toastify/node_modules/clsx": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/clsx/-/clsx-2.1.1.tgz", + "integrity": "sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==", + "license": "MIT", + "engines": { + "node": ">=6" } }, "node_modules/redent": {