stoikerty / dev-toolkit

Universal Development Toolkit for Javascript People
https://npmjs.com/package/dev-toolkit
133 stars 9 forks source link

[Snyk] Security upgrade babel-plugin-jsx-control-statements from 3.2.8 to 4.0.0 #157

Open stoikerty opened 10 months ago

stoikerty commented 10 months 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.

#### Changes included in this PR - Changes to the following files to upgrade the vulnerable dependencies to a fixed version: - src/packages/babel-preset-dev-toolkit/package.json - src/packages/babel-preset-dev-toolkit/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 ![critical severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/c.png "critical severity") | **679/1000**
**Why?** Has a fix available, CVSS 9.3 | Incomplete List of Disallowed Inputs
[SNYK-JS-BABELTRAVERSE-5962463](https://snyk.io/vuln/SNYK-JS-BABELTRAVERSE-5962463) | Yes | No Known Exploit ![medium severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png "medium severity") | **641/1000**
**Why?** Proof of Concept exploit, Has a fix available, CVSS 6.4 | Prototype Pollution
[SNYK-JS-JSON5-3182856](https://snyk.io/vuln/SNYK-JS-JSON5-3182856) | Yes | Proof of Concept (*) Note that the real score may have changed since the PR was raised.
Commit messages
Package name: babel-plugin-jsx-control-statements The new version differs by 8 commits.
  • aea48d1 Fixed readme
  • 9c3f300 Added 4.x.x to readme.
  • 2965669 Upgraded flow deps to latest
  • 22d494c Added yarn.lock, moved babel/register to dev deps
  • 805a7c3 Merge pull request #81 from spoldman/issue/80
  • 66f7c21 update to babel 7
  • 4042205 Merge pull request #71 from xiefei89/master
  • 9a2fb63 FIX text error
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/stoikerty/project/aaf49571-199a-4a43-a30d-17622739be84?utm_source=github&utm_medium=referral&page=fix-pr) πŸ›  [Adjust project settings](https://app.snyk.io/org/stoikerty/project/aaf49571-199a-4a43-a30d-17622739be84?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":"edb229f6-6873-4332-aad6-b80c36c8847e","prPublicId":"edb229f6-6873-4332-aad6-b80c36c8847e","dependencies":[{"name":"babel-plugin-jsx-control-statements","from":"3.2.8","to":"4.0.0"}],"packageManager":"npm","projectPublicId":"aaf49571-199a-4a43-a30d-17622739be84","projectUrl":"https://app.snyk.io/org/stoikerty/project/aaf49571-199a-4a43-a30d-17622739be84?utm_source=github&utm_medium=referral&page=fix-pr","type":"auto","patch":[],"vulns":["SNYK-JS-ANSIREGEX-1583908","SNYK-JS-BABELTRAVERSE-5962463","SNYK-JS-JSON5-3182856"],"upgrade":["SNYK-JS-ANSIREGEX-1583908","SNYK-JS-BABELTRAVERSE-5962463","SNYK-JS-JSON5-3182856"],"isBreakingChange":true,"env":"prod","prType":"fix","templateVariants":["updated-fix-title","priorityScore"],"priorityScoreList":[696,679,641],"remediationStrategy":"vuln"}) --- **Learn how to fix vulnerabilities with free interactive lessons:** πŸ¦‰ [Regular Expression Denial of Service (ReDoS)](https://learn.snyk.io/lesson/redos/?loc=fix-pr) πŸ¦‰ [Prototype Pollution](https://learn.snyk.io/lesson/prototype-pollution/?loc=fix-pr)