diff --git a/package-lock.json b/package-lock.json index 6cfe8d0d9..c094654bc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -40,7 +40,7 @@ "react-responsive-carousel": "^3.2.23", "react-router-dom": "^6.26.2", "react-scripts": "^5.0.1", - "react-to-print": "^2.15.1", + "react-to-print": "^3.0.1", "react-twitter-embed": "^4.0.4", "reading-time": "^1.5.0", "rehype-raw": "^7.0.0", @@ -23316,12 +23316,11 @@ } }, "node_modules/react-to-print": { - "version": "2.15.1", - "resolved": "https://registry.npmjs.org/react-to-print/-/react-to-print-2.15.1.tgz", - "integrity": "sha512-1foogIFbCpzAVxydkhBiDfMiFYhIMphiagDOfcG4X/EcQ+fBPqJ0rby9Wv/emzY1YLkIQy/rEgOrWQT+rBKhjw==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/react-to-print/-/react-to-print-3.0.1.tgz", + "integrity": "sha512-WcGiim2VWiHW7TR0PB9Xqv/SOOtnDJbjhlSOeMB1N+lxyFLuoQ8GIoNAw/ci7+sCkbXreEKmiy1ZWgd87v7U2Q==", "peerDependencies": { - "react": "^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0", - "react-dom": "^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0" + "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ~19" } }, "node_modules/react-transition-group": { diff --git a/package.json b/package.json index 25118c81d..6ea933538 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "react-responsive-carousel": "^3.2.23", "react-router-dom": "^6.26.2", "react-scripts": "^5.0.1", - "react-to-print": "^2.15.1", + "react-to-print": "^3.0.1", "react-twitter-embed": "^4.0.4", "reading-time": "^1.5.0", "rehype-raw": "^7.0.0",