Skip to content

[Snyk] Security upgrade react from 0.14.10 to 15.0.0#42

Open
github-snyk-ca wants to merge 3 commits intomasterfrom
snyk-fix-7fe357e3138ddc7da2ee34020483f166
Open

[Snyk] Security upgrade react from 0.14.10 to 15.0.0#42
github-snyk-ca wants to merge 3 commits intomasterfrom
snyk-fix-7fe357e3138ddc7da2ee34020483f166

Conversation

@github-snyk-ca
Copy link
Copy Markdown

snyk-top-banner

Snyk has created this PR to fix 3 vulnerabilities in the yarn dependencies of this project.

Snyk changed the following file(s):

  • example-elm0.18/package.json

Note for zero-installs users

If you are using the Yarn feature zero-installs that was introduced in Yarn V2, note that this PR does not update the .yarn/cache/ directory meaning this code cannot be pulled and immediately developed on as one would expect for a zero-install project - you will need to run yarn to update the contents of the ./yarn/cache directory.
If you are not using zero-install you can ignore this as your flow should likely be unchanged.

⚠️ Warning
Failed to update the yarn.lock, please update manually before merging.

Vulnerabilities that will be fixed with an upgrade:

Issue Score
high severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-MINIMATCH-15309438
  828  
medium severity Missing Release of Resource after Effective Lifetime
SNYK-JS-INFLIGHT-6095116
  631  
low severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-BRACEEXPANSION-9789073
  436  

Breaking Change Risk

Merge Risk: Medium

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:

🦉 Regular Expression Denial of Service (ReDoS)

@github-snyk-ca
Copy link
Copy Markdown
Author

Merge Risk: Medium

This major version upgrade from React 0.14 to 15.0 introduces significant internal changes to how React interacts with the DOM, which could impact testing and specific styling selectors.

Key Changes:

  • DOM Structure Changes:

    • The data-reactid attribute is no longer rendered on every DOM node. This makes the DOM lighter but will break any tests or selectors that rely on this attribute. [2, 5]
    • React no longer wraps text-only components in extra <span> tags. This can affect CSS selectors or tests that depended on this specific structure. [2, 3]
    • Rendering null now creates a comment node instead of an empty <span>. [2, 5]
  • Browser Support: Active support for Internet Explorer 8 is discontinued. While the library may still work, new issues specific to IE8 will not be prioritized. [2, 3]

  • Internal Improvements: The initial render now uses document.createElement instead of innerHTML, which is faster in modern browsers and improves SVG support. [1, 2, 8]

Recommendation: The risk is assessed as medium because automated tests (especially integration tests using XPath or specific CSS selectors) may fail due to the changes in the rendered DOM structure. It is critical to verify that your test suites do not rely on data-reactid or the previous <span> wrapping behavior.

Source: React v15.0 Release Notes

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

@github-snyk-ca
Copy link
Copy Markdown
Author

github-snyk-ca commented Feb 21, 2026

Snyk checks have passed. No issues have been found so far.

Status Scanner Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues

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

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.

2 participants