nos / client

The nOS Client
https://nos.io
MIT License
199 stars 73 forks source link

[Snyk] Security upgrade file-type from 12.4.2 to 16.5.4 #1460

Open deanpress opened 2 years ago

deanpress 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.

#### 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 | Denial of Service (DoS)
[SNYK-JS-FILETYPE-2958042](https://snyk.io/vuln/SNYK-JS-FILETYPE-2958042) | Yes | No Known Exploit (*) Note that the real score may have changed since the PR was raised.
Commit messages
Package name: file-type The new version differs by 123 commits.
  • b5fe3b9 16.5.4
  • d868356 Fix: Malformed MKV could cause an infinite loop
  • 3b08ab1 Upgrade and unlock dependencies
  • c011315 Lock strtok3 dependency
  • 9102f1c Update dependency to token-types v3, supporting BigInt (#465)
  • ac866f9 16.5.1
  • 0012c56 Fix `mimeTypes` TypeScript type (#464)
  • 92f3f50 Meta tweaks
  • 4ea7bff 16.5.0
  • 57ecf2d Add support for JPEG XL image format (#455)
  • 07101ac Remove ASAR 240 bytes of JSON payload length limitation (#453)
  • 3df0ed1 Remove an unnecessary dependency (#458)
  • 1e4e8df 16.4.0
  • 29618c8 Add support for VCF (and fix ICS detection) (#451)
  • 6ab25f3 Add support for XCF (#450)
  • 7021d9a Remove moot check for sync word at odd offsets for MPEG detection (#448)
  • fd1e72c 16.3.0
  • 9319167 Add support for Zstandard compressed file (#439)
  • 2cc0869 Add file type descriptions (#433)
  • 98e6886 16.2.0
  • 9736aa3 Improve PDF / AI (Adobe Illustrator) recognition (#396)
  • 7f95cd2 Add support for 3mf (#415)
  • 579f8cb 16.1.0
  • e43cdc9 Add support for CHM (#424)
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/nos/project/f6c0c335-95b4-4a70-bdf2-cfac6f2bc579?utm_source=github&utm_medium=referral&page=fix-pr) 🛠 [Adjust project settings](https://app.snyk.io/org/nos/project/f6c0c335-95b4-4a70-bdf2-cfac6f2bc579?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":"5d966522-6b97-43a5-8f40-849999f4478d","prPublicId":"5d966522-6b97-43a5-8f40-849999f4478d","dependencies":[{"name":"file-type","from":"12.4.2","to":"16.5.4"}],"packageManager":"npm","projectPublicId":"f6c0c335-95b4-4a70-bdf2-cfac6f2bc579","projectUrl":"https://app.snyk.io/org/nos/project/f6c0c335-95b4-4a70-bdf2-cfac6f2bc579?utm_source=github&utm_medium=referral&page=fix-pr","type":"auto","patch":[],"vulns":["SNYK-JS-FILETYPE-2958042"],"upgrade":["SNYK-JS-FILETYPE-2958042"],"isBreakingChange":true,"env":"prod","prType":"fix","templateVariants":["updated-fix-title","priorityScore","merge-advice-badge-shown"],"priorityScoreList":[661]}) --- **Learn how to fix vulnerabilities with free interactive lessons:** 🦉 [Learn about vulnerability in an interactive lesson of Snyk Learn.](https://learn.snyk.io?loc=fix-pr)
codecov[bot] commented 2 years ago

Codecov Report

Merging #1460 (8706732) into develop (d01a0b3) will decrease coverage by 0.04%. The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop    #1460      +/-   ##
===========================================
- Coverage    49.53%   49.49%   -0.05%     
===========================================
  Files          249      249              
  Lines         2158     2158              
===========================================
- Hits          1069     1068       -1     
- Misses        1089     1090       +1