Repository navigation
[Snyk] Security upgrade react-scripts from 1.1.4 to 5.0.0 - #5
snyk-io[bot] wants to merge 1 commit into
Conversation
…ties The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-BRACEEXPANSION-18512280 - https://snyk.io/vuln/SNYK-JS-POSTCSS-18512282
|
This is a massive upgrade across four major versions (v1 → v5) and introduces a very high number of significant breaking changes. A direct upgrade is not recommended and will likely fail. This migration will require significant effort, code changes, and configuration updates. Key Breaking Changes by Version:
Source: Create React App GitHub Changelogs. Recommendation: This upgrade should be treated as a major project. It is highly recommended to perform the migration one major version at a time (1 → 2, 2 → 3, etc.) to isolate and fix breaking changes incrementally. Pay special attention to the Webpack 5 polyfill issue when migrating from v4 to v5, as it is the most common and difficult blocker. Also, note that as of early 2026, the Create React App project is being sunsetted and the React team recommends migrating to modern frameworks like Next.js or Remix.
|
⛔ Snyk checks have failed. 9 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.
Pull request overview
Note
Copilot could not run the full agentic suite for this review because it was automatically requested on a bot-authored pull request. Request a review from Copilot under Reviewers to retry with the full agentic suite. Improved support for bot-authored pull requests is coming soon.
Updates the demo app’s Create React App tooling by upgrading react-scripts, likely to modernize the build pipeline and dependencies.
Changes:
- Bump
react-scriptsfrom1.1.4to5.0.0.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| "react-scripts": "5.0.0", | ||
| "react-scripts-ts": "2.13.0", |
| "react-router": "4.2.0", | ||
| "react-router-dom": "^4.2.2", | ||
| "react-scripts": "1.1.4", | ||
| "react-scripts": "5.0.0", |
Snyk has created this PR to fix 2 vulnerabilities in the npm dependencies of this project.
Snyk changed the following file(s):
demo/package.jsondemo/package-lock.jsonVulnerabilities that will be fixed with an upgrade:
SNYK-JS-BRACEEXPANSION-18512280
SNYK-JS-POSTCSS-18512282
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:
🦉 Allocation of Resources Without Limits or Throttling
🦉 Directory Traversal