srijanone / vega

Vega (वेग) is a project scaffolding tool to speed up development process.
Apache License 2.0
9 stars 7 forks source link

[Snyk] Security upgrade react-scripts from 3.4.2 to 4.0.0 #238

Open riteshgurung opened 2 years ago

riteshgurung commented 2 years ago

This PR was automatically created by Snyk using the credentials of a real user.


Snyk has created this PR to fix one or more vulnerable packages in the `npm` dependencies of this project.

![merge advice](https://app.snyk.io/badges/merge-advice/?package_manager=npm&package_name=react-scripts&from_version=3.4.2&to_version=4.0.0&pr_id=0bca3795-8bce-4443-8fb6-3dec45c16c83&visibility=true&has_feature_flag=false) #### Changes included in this PR - Changes to the following files to upgrade the vulnerable dependencies to a fixed version: - starterkits/react/package.json - starterkits/react/package-lock.json #### Vulnerabilities that will be fixed ##### With an upgrade: Severity | Priority Score (*) | Issue | Breaking Change | Exploit Maturity :-------------------------:|-------------------------|:-------------------------|:-------------------------|:------------------------- ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png "high severity") | **696/1000**
**Why?** Proof of Concept exploit, Has a fix available, CVSS 7.5 | Regular Expression Denial of Service (ReDoS)
[SNYK-JS-ANSIREGEX-1583908](https://snyk.io/vuln/SNYK-JS-ANSIREGEX-1583908) | Yes | Proof of Concept ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png "high severity") | **706/1000**
**Why?** Proof of Concept exploit, Has a fix available, CVSS 7.7 | Arbitrary Code Injection
[SNYK-JS-SERIALIZEJAVASCRIPT-570062](https://snyk.io/vuln/SNYK-JS-SERIALIZEJAVASCRIPT-570062) | No | Proof of Concept (*) Note that the real score may have changed since the PR was raised.
Commit messages
Package name: react-scripts The new version differs by 125 commits.
  • ed95893 Publish
  • 88ca4f6 Prepare 4.0.0 release
  • d23d615 Update react dom in error overlay
  • 95265c3 Update CHANGELOG
  • 523b416 Add link to Open Collective (#9864)
  • af616ab Update CHANGELOG
  • 014ca01 Prepare 4.0.0 release
  • 2b1161b Pass JSX runtime setting to Babel preset in Jest config (#9865)
  • f2aef41 Prepare 4.0.0 alpha release
  • 4bc639c Upgrade to React 17 (#9863)
  • d61347d Use new JSX setting with TypeScript 4.1.0 (#9734)
  • e63de79 New JSX Transform opt out (#9861)
  • fe785b2 feat: Update all dependencies (#9857)
  • 85ab02b feat: remove unused React imports (#9853)
  • 329f392 feat: Update ESLint dependencies (#9856)
  • 10fa972 feat(eslint-config-react-app): Add jest & testing-library rules (#8963)
  • ed919b1 Make eslint-plugin-jest an optional peerDependency (#9670)
  • 0a93e32 Fix refreshOverlayInterop module scope error (#9805)
  • 7965594 Bump resolve-url-loader version (#9841)
  • b1f8536 Add 3.4.4 to the changelog
  • d07b7d0 Replace deprecated eslint-loader with eslint-webpack-plugin (#9751)
  • 6f3e32e Upgrade Docusaurus to latest version (#9728)
  • 1f2d387 fix: resolve new JSX runtime issues (#9788)
  • 6a51dcd Add AVIF image support (#9611)
See the full diff
Check the changes in this PR to ensure they won't cause issues with your project. ------------ **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](https://app.snyk.io/org/ritesh.gurung/project/fdfc1084-cdd1-4a81-938a-8e91352b4058?utm_source=github&utm_medium=referral&page=fix-pr) 🛠 [Adjust project settings](https://app.snyk.io/org/ritesh.gurung/project/fdfc1084-cdd1-4a81-938a-8e91352b4058?utm_source=github&utm_medium=referral&page=fix-pr/settings) 📚 [Read more about Snyk's upgrade and patch logic](https://support.snyk.io/hc/en-us/articles/360003891078-Snyk-patches-to-fix-vulnerabilities) [//]: # (snyk:metadata:{"prId":"0bca3795-8bce-4443-8fb6-3dec45c16c83","prPublicId":"0bca3795-8bce-4443-8fb6-3dec45c16c83","dependencies":[{"name":"react-scripts","from":"3.4.2","to":"4.0.0"}],"packageManager":"npm","projectPublicId":"fdfc1084-cdd1-4a81-938a-8e91352b4058","projectUrl":"https://app.snyk.io/org/ritesh.gurung/project/fdfc1084-cdd1-4a81-938a-8e91352b4058?utm_source=github&utm_medium=referral&page=fix-pr","type":"auto","patch":[],"vulns":["SNYK-JS-ANSIREGEX-1583908","SNYK-JS-SERIALIZEJAVASCRIPT-570062"],"upgrade":["SNYK-JS-ANSIREGEX-1583908","SNYK-JS-SERIALIZEJAVASCRIPT-570062"],"isBreakingChange":true,"env":"prod","prType":"fix","templateVariants":["updated-fix-title","priorityScore","merge-advice-badge-shown"],"priorityScoreList":[696,706]}) --- **Learn how to fix vulnerabilities with free interactive lessons:** 🦉 [Arbitrary Code Injection](https://learn.snyk.io/lessons/malicious-code-injection/javascript?loc=fix-pr)