Skip to content

[Snyk] Security upgrade react-scripts from 1.1.4 to 2.0.3 - #7

Open
snyk-io[bot] wants to merge 1 commit into
masterfrom
snyk-fix-698632a2453547fb5f49cc622f9ed17e
Open

[Snyk] Security upgrade react-scripts from 1.1.4 to 2.0.3#7
snyk-io[bot] wants to merge 1 commit into
masterfrom
snyk-fix-698632a2453547fb5f49cc622f9ed17e

Conversation

@snyk-io

@snyk-io snyk-io Bot commented Aug 16, 2026

Copy link
Copy Markdown

snyk-top-banner

Snyk has created this PR to fix 2 vulnerabilities in the npm dependencies of this project.

Snyk changed the following file(s):

  • demo/package.json
  • demo/package-lock.json

Vulnerabilities that will be fixed with an upgrade:

Issue Score
high severity Prototype Pollution
SNYK-JS-BROWSERSLIST-18854715
  721  
high severity Allocation of Resources Without Limits or Throttling
SNYK-JS-BROWSERSLIST-18856271
  721  

Breaking Change Risk

Merge Risk: High

Notice: This assessment is enhanced by AI.


Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • This PR was automatically created by Snyk using the credentials of a real user.

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
🦉 Allocation of Resources Without Limits or Throttling

@snyk-io

snyk-io Bot commented Aug 16, 2026

Copy link
Copy Markdown
Author

Merge Risk: High

This is a major version upgrade from v1 to v2 which introduces significant breaking changes and new features. Developer action is required to ensure compatibility.

Key Breaking Changes:

  • Node.js Version: Support for Node.js 6 has been dropped. You must use Node.js 8 or a later version. [2, 4]
  • Proxy Configuration: The proxy object in package.json is no longer supported. You must migrate to the new file-based src/setupProxy.js configuration if you use a development proxy. [1, 2, 6]
  • Browser Support: Polyfills for older browsers like Internet Explorer 9-11 are no longer included by default. To maintain support, you must now make it opt-in. [2, 4, 5]
  • Code Splitting: The non-standard require.ensure() is disabled. You should use the import() syntax for code splitting. [2, 3, 5]
  • File Extensions: Support for the .mjs file extension has been removed. [1, 2, 6]

Other Notable Changes:

  • The underlying tools have been updated to Babel 7, webpack 4, and Jest 23. [2, 6]
  • Native support for Sass (.scss/.sass) and CSS Modules has been added. [3]

Recommendation: Before merging, carefully review the official migration guide and your project's configuration. Pay special attention to the proxy setup, browser support needs, and any usage of require.ensure() or .mjs files.

Notice 🤖: This content was augmented using artificial intelligence. AI-generated content may contain errors and should be reviewed for accuracy before use.

Copilot AI lite review requested due to automatic review settings August 16, 2026 14:49
@snyk-io

snyk-io Bot commented Aug 16, 2026

Copy link
Copy Markdown
Author

Snyk checks have failed. 11 issues have been found so far.

Status Scan Engine Critical High Medium Low Total (11)
Open Source Security 0 5 5 1 11 issues
Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 build tooling by bumping react-scripts to a newer major version.

Changes:

  • Bumped react-scripts from 1.1.4 to 2.0.3

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread demo/package.json
Comment on lines +13 to 14
"react-scripts": "2.0.3",
"react-scripts-ts": "2.13.0",
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant