[Arvion] Security remediation: Upgrade react-scripts to v5.0.1 to update transitive dependencies #30
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Automated Security Remediation
📂 Files Modified
fixtures/dom/package.jsonreact-scripts. The existingreact-scriptsversion^1.0.11is severely outdated and incompatible with thereactversion^19.0.0also present in thepackage.json. The most effective and stable solution is to upgradereact-scriptsitself. I have upgraded it to^5.0.1, a modern, stable version that is compatible with recent React versions and pulls in updated versions of all the specified transitive dependencies. As a direct consequence of this upgrade, thetestscript was modified to remove the--env=jsdomflag, which is deprecated and no longer supported inreact-scriptsv2.0.0 and later;jsdomis the default test environment.🔄 Changes Performed
🎯 Primary Dependencies (with vulnerabilities)
postcss 5.2.18 → 8.5.6
🔒 Vulnerabilities Fixed:
Code modifications were applied for compatibility. See file changes above for details.
ajv 5.5.2 → 8.17.1
🔒 Vulnerabilities Fixed:
Code modifications were applied for compatibility. See file changes above for details.
cross-spawn 5.1.0 → 7.0.6
🔒 Vulnerabilities Fixed:
Code modifications were applied for compatibility. See file changes above for details.
json5 0.5.1 → 2.2.3
🔒 Vulnerabilities Fixed:
Code modifications were applied for compatibility. See file changes above for details.
ip 1.1.9 → 2.0.1
🔒 Vulnerabilities Fixed:
Code modifications were applied for compatibility. See file changes above for details.
sockjs 0.3.19 → 0.3.24
🔒 Vulnerabilities Fixed:
Code modifications were applied for compatibility. See file changes above for details.
ansi-html 0.0.7 → 0.0.9
🔒 Vulnerabilities Fixed:
Code modifications were applied for compatibility. See file changes above for details.
loader-utils 1.4.2 → 3.3.1
🔒 Vulnerabilities Fixed:
Code modifications were applied for compatibility. See file changes above for details.
eventsource 0.1.6 → 4.1.0
🔒 Vulnerabilities Fixed:
Code modifications were applied for compatibility. See file changes above for details.
braces 2.3.2 → 3.0.3
🔒 Vulnerabilities Fixed:
Code modifications were applied for compatibility. See file changes above for details.
tmp 0.0.33 → 0.2.5
🔒 Vulnerabilities Fixed:
dirparameterCode modifications were applied for compatibility. See file changes above for details.
mem 1.1.0 → 10.0.0
🔒 Vulnerabilities Fixed:
Code modifications were applied for compatibility. See file changes above for details.
is-svg 2.1.0 → 6.1.0
🔒 Vulnerabilities Fixed:
Code modifications were applied for compatibility. See file changes above for details.
trim-newlines 1.0.0 → 5.0.0
🔒 Vulnerabilities Fixed:
Code modifications were applied for compatibility. See file changes above for details.
tough-cookie 2.5.0 → 6.0.0
🔒 Vulnerabilities Fixed:
Code modifications were applied for compatibility. See file changes above for details.
js-yaml 3.14.2 → 4.1.1
🔒 Vulnerabilities Fixed:
Code modifications were applied for compatibility. See file changes above for details.
merge 1.2.1 → 2.1.1
🔒 Vulnerabilities Fixed:
Code modifications were applied for compatibility. See file changes above for details.
form-data 2.3.3 → 4.0.5
🔒 Vulnerabilities Fixed:
Code modifications were applied for compatibility. See file changes above for details.
color-string 0.3.0 → 2.1.4
🔒 Vulnerabilities Fixed:
Code modifications were applied for compatibility. See file changes above for details.
got 6.7.1 → 14.6.5
🔒 Vulnerabilities Fixed:
Code modifications were applied for compatibility. See file changes above for details.
babel-traverse 6.26.0 → 7.0.0-beta.3
🔒 Vulnerabilities Fixed:
Code modifications were applied for compatibility. See file changes above for details.
🛠️ Additional Notes
Important
Testing & Validation
• Testing: Please ensure thorough testing after merging this PR to verify that all upgrades are compatible with your codebase.
• Documentation: For detailed vulnerability reports and release notes, refer to the security advisories.
• Support: For any questions or concerns, contact the Arvion Security Team at hello@arvion.ai.
📢 This PR was generated by Arvion's automated remediation system to enhance your repository's security while maintaining stability. 🚀