diff --git a/package-lock.json b/package-lock.json index 5a176aef4..aa9db0467 100644 --- a/package-lock.json +++ b/package-lock.json @@ -42,7 +42,7 @@ "pdfobject": "2.1.1", "react": "^18.0.0", "react-dom": "^18.0.0", - "react-intersection-observer": "^8.34.0", + "react-intersection-observer": "^9.10.3", "waveform-panel": "^1.2.0", "xss": "1.0.3", "zustand": "^4.0.0-rc.0" @@ -11490,11 +11490,17 @@ } }, "node_modules/react-intersection-observer": { - "version": "8.34.0", - "resolved": "https://registry.npmjs.org/react-intersection-observer/-/react-intersection-observer-8.34.0.tgz", - "integrity": "sha512-TYKh52Zc0Uptp5/b4N91XydfSGKubEhgZRtcg1rhTKABXijc4Sdr1uTp5lJ8TN27jwUsdXxjHXtHa0kPj704sw==", + "version": "9.10.3", + "resolved": "https://registry.npmjs.org/react-intersection-observer/-/react-intersection-observer-9.10.3.tgz", + "integrity": "sha512-9NYfKwPZRovB6QJee7fDg0zz/SyYrqXtn5xTZU0vwLtLVBtfu9aZt1pVmr825REE49VPDZ7Lm5SNHjJBOTZHpA==", "peerDependencies": { - "react": "^15.0.0 || ^16.0.0 || ^17.0.0|| ^18.0.0" + "react": "^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", + "react-dom": "^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" + }, + "peerDependenciesMeta": { + "react-dom": { + "optional": true + } } }, "node_modules/react-is": { diff --git a/package.json b/package.json index 9607a6a2e..1f682ea13 100644 --- a/package.json +++ b/package.json @@ -117,7 +117,7 @@ "pdfobject": "2.1.1", "react": "^18.0.0", "react-dom": "^18.0.0", - "react-intersection-observer": "^8.34.0", + "react-intersection-observer": "^9.10.3", "waveform-panel": "^1.2.0", "xss": "1.0.3", "zustand": "^4.0.0-rc.0"