sheerun / prettier-standard

Formats with Prettier and lints with ESLint+Standard! (✿◠‿◠)
MIT License
868 stars 44 forks source link

[Snyk] Security upgrade lint-staged from 9.4.3 to 10.0.0 #144

Open sheerun opened 3 months ago

sheerun commented 3 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: - package.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") | **661/1000**
**Why?** Recently disclosed, Has a fix available, CVSS 7.5 | Uncontrolled resource consumption
[SNYK-JS-BRACES-6838727](https://snyk.io/vuln/SNYK-JS-BRACES-6838727) | Yes | No Known Exploit ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png "high severity") | **661/1000**
**Why?** Recently disclosed, Has a fix available, CVSS 7.5 | Inefficient Regular Expression Complexity
[SNYK-JS-MICROMATCH-6838728](https://snyk.io/vuln/SNYK-JS-MICROMATCH-6838728) | Yes | No Known Exploit (*) Note that the real score may have changed since the PR was raised.
Commit messages
Package name: lint-staged The new version differs by 80 commits.
  • 072924f Merge pull request #724 from okonet/beta
  • f9e128d docs: Improve config section documentation
  • e1cd6ba Merge branch 'master' into beta
  • af58e6e docs: refine examples formatting (#767)
  • 82bee06 Merge branch 'master' into beta
  • af4604a docs: Improve documentation on the --debug flag (#766)
  • bd3721f Merge branch 'master' into beta
  • 8bdeec0 feat: throw error to prevent empty commits unless --allow-empty is used (#762)
  • 2cd1d37 docs: add funding property to package.json linking to Open Collective (#763)
  • 056723b docs: Document how to deal with eslintignore warnings (#759)
  • 30b4809 fix: error handling skips dropping backup stash after internal git errors
  • da22cf2 fix: handle git MERGE_* files separately; improve error handling
  • 20d5c5d feat: support async function tasks
  • f2a2702 Merge branch 'master' into beta
  • 1b64239 fix: fail with a message when backup stash is missing
  • 9913bb2 test: do not write file into repo during test run
  • d091f71 fix: correctly recover when unstaged changes cannot be restored
  • f8ddfc2 fix: restore metadata about git merge before running tasks
  • 22ba124 refactor: minor optimizations
  • f3ae378 fix: better workaround for git stash --keep-index bug
  • 33b9752 docs: improve example perfomance by returning single command (#753)
  • 083b8e7 fix: automatically add modifications only to originally staged files
  • 814b9df feat: bump Node.js version dependency to at least 10.13.0 (#747)
  • 0eedacd test: remove non-working concurrency tests for now
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/sheerun/project/fd1e7a52-d493-40b4-954b-3fd4252d3e4d?utm_source=github&utm_medium=referral&page=fix-pr) 🛠 [Adjust project settings](https://app.snyk.io/org/sheerun/project/fd1e7a52-d493-40b4-954b-3fd4252d3e4d?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":"b6979fb9-1af4-42fd-b510-67e8d33c9bb0","prPublicId":"b6979fb9-1af4-42fd-b510-67e8d33c9bb0","dependencies":[{"name":"lint-staged","from":"9.4.3","to":"10.0.0"}],"packageManager":"npm","projectPublicId":"fd1e7a52-d493-40b4-954b-3fd4252d3e4d","projectUrl":"https://app.snyk.io/org/sheerun/project/fd1e7a52-d493-40b4-954b-3fd4252d3e4d?utm_source=github&utm_medium=referral&page=fix-pr","type":"auto","patch":[],"vulns":["SNYK-JS-BRACES-6838727","SNYK-JS-MICROMATCH-6838728"],"upgrade":["SNYK-JS-BRACES-6838727","SNYK-JS-MICROMATCH-6838728"],"isBreakingChange":true,"env":"prod","prType":"fix","templateVariants":["updated-fix-title","priorityScore"],"priorityScoreList":[661,661],"remediationStrategy":"vuln"}) --- **Learn how to fix vulnerabilities with free interactive lessons:** 🦉 [Uncontrolled resource consumption](https://learn.snyk.io/lesson/redos/?loc=fix-pr)