diff --git a/lib/package.json b/lib/package.json index c5b6a9fc..d7f359c1 100644 --- a/lib/package.json +++ b/lib/package.json @@ -128,7 +128,7 @@ "react-markdown": "^9.0.1", "react-photo-album": "^3.4.0", "react-qr-code": "^2.0.16", - "react-toastify": "^9.1.3", + "react-toastify": "^11.1.0", "remark-breaks": "^4.0.0", "tiptap-markdown": "^0.9.0", "yet-another-react-lightbox": "^3.28.0" diff --git a/package-lock.json b/package-lock.json index 1f61ba53..2b713aa5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -158,7 +158,7 @@ "react-markdown": "^9.0.1", "react-photo-album": "^3.4.0", "react-qr-code": "^2.0.16", - "react-toastify": "^9.1.3", + "react-toastify": "^11.1.0", "remark-breaks": "^4.0.0", "tiptap-markdown": "^0.9.0", "yet-another-react-lightbox": "^3.28.0" @@ -13391,16 +13391,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.1.0", + "resolved": "https://registry.npmjs.org/react-toastify/-/react-toastify-11.1.0.tgz", + "integrity": "sha512-e9h23x3phN0wbFeB6yovmWp7lobzV4CaCH0LO8nVP6H7Y+3GbcLpIzMm9dJhcp1RXbpyfvjgpfXqO80QAmn7sg==", "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": {