diff --git a/package-lock.json b/package-lock.json index 5a176aef4..3e6bdbd5d 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.2", "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.2", + "resolved": "https://registry.npmjs.org/react-intersection-observer/-/react-intersection-observer-9.10.2.tgz", + "integrity": "sha512-j2hGADK2hCbAlfaq6L3tVLb4iqngoN7B1fT16MwJ4J16YW/vWLcmAIinLsw0lgpZeMi4UDUWtHC9QDde0/P1yQ==", "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..28aacda05 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.2", "waveform-panel": "^1.2.0", "xss": "1.0.3", "zustand": "^4.0.0-rc.0"