[Snyk] Security upgrade react-player from 2.11.0 to 3.3.1 - #522
snyk-io[bot] wants to merge 1 commit into
Conversation
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-DEEPMERGE-19964053
|
The upgrade from react-player v2 to v3 is a major version with significant breaking changes, as it is a complete rewrite of the library and is not backwards compatible. Key Breaking Changes in v3.0.0:
Source: GitHub Releases Recommendation: This upgrade will require code modifications. Developers must review the official migration guide, update their import statements, ensure they are not using a removed media provider, and test thoroughly to adapt to the new component architecture.
|
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
Critical compatibility issues and stale license metadata remain unresolved.
Get a fresh assessment by requesting another Copilot review.
Review effort: Lite
Findings: 2
Open (3)
What changed in this PR
Upgrades react-player from 2.11.0 to 3.3.1 to remediate a prototype-pollution vulnerability.
Changes:
- Updates the direct
react-playerdependency. - Refreshes the lockfile dependency tree and removes
deepmerge.
| File | Summary |
|---|---|
package.json |
Dependency upgrade. Unresolved critical findings: update media call sites from url to src (3 votes) and align React type packages (1 vote). Nit: regenerate OSS_LICENSES.txt (2 votes). |
package-lock.json |
Locks the new dependency tree. Moderate finding: the React type peer dependency is incompatible with the current lockfile (2 votes). |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| "react-animate-height": "^2.0.23", | ||
| "react-dom": "^17.0.2", | ||
| "react-player": "^2.9.0", | ||
| "react-player": "^3.3.1", |
| "react-animate-height": "^2.0.23", | ||
| "react-dom": "^17.0.2", | ||
| "react-player": "^2.9.0", | ||
| "react-player": "^3.3.1", |
| "react-animate-height": "^2.0.23", | ||
| "react-dom": "^17.0.2", | ||
| "react-player": "^2.9.0", | ||
| "react-player": "^3.3.1", |


Snyk has created this PR to fix 1 vulnerabilities in the npm dependencies of this project.
Snyk changed the following file(s):
package.jsonpackage-lock.jsonVulnerabilities that will be fixed with an upgrade:
SNYK-JS-DEEPMERGE-19964053
Breaking Change Risk
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic
Learn how to fix vulnerabilities with free interactive lessons:
🦉 Prototype Pollution