postmanlabs / swagger2-postman2

Module and library to convert Swagger 2.0 to a Postman Collection (v2.0)
Apache License 2.0
81 stars 42 forks source link

[Snyk] Security upgrade mocha from 7.2.0 to 9.2.2 #102

Open abhijitkane opened 1 year ago

abhijitkane commented 1 year 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=mocha&from_version=7.2.0&to_version=9.2.2&pr_id=63c16d51-0f3a-4872-a8b5-cd4e161f611b&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: - package.json - package-lock.json #### Vulnerabilities that will be fixed ##### With an upgrade: Severity | Priority Score (*) | Issue | Breaking Change | Exploit Maturity :-------------------------:|-------------------------|:-------------------------|:-------------------------|:------------------------- ![medium severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png "medium severity") | **551/1000**
**Why?** Recently disclosed, Has a fix available, CVSS 5.3 | Regular Expression Denial of Service (ReDoS)
[SNYK-JS-MINIMATCH-3050818](https://snyk.io/vuln/SNYK-JS-MINIMATCH-3050818) | Yes | No Known Exploit (*) Note that the real score may have changed since the PR was raised.
Commit messages
Package name: mocha The new version differs by 250 commits.
  • 24b5243 build(v9.2.2): release
  • 22a1560 build(v9.2.2): update CHANGELOG [ci skip]
  • 632e602 chore: update dependencies (#4843)
  • 241964b fix: wrong error thrown while loading reporter (#4842)
  • 22f9306 fix(dry-run): potential call-stack crash with 'dry-run' option (#4839)
  • 547ffd7 build(v9.2.1): release
  • ca7432a build(v9.2.1): update CHANGELOG [ci skip]
  • 86305cf fix: wrong error thrown while loading config files (#4832)
  • 11c4560 fix: configurable max diff size (#4799)
  • 509938d doc: fix to show sponsors in narrow view (#4793)
  • cc51b8f build(v9.2.0): release
  • dea3115 build(v9.2.0): update CHANGELOG [ci skip]
  • 1825645 chore: update dependencies (#4818)
  • bc0fda2 chore: update some devDependencies (#4816)
  • 8b089a2 feat(parallel): assign each worker a worker-id (#4813)
  • 9fbf3ae chore: run Netlify deploy on Node v16 (#4778) [ci skip]
  • f297790 chore: switch 'linkify-changelog.js' to ESM (#4812) [ci skip]
  • 0a1b7f8 build(v9.1.4): release
  • a04d050 build(v9.1.4): update CHANGELOG [ci skip]
  • baa12fd fix: wrong error thrown if loader is used (#4807)
  • 60fafa4 Update copyright year in LICENSE (#4804)
  • 3b4cc05 chore(devDeps): remove 'cross-spawn' (#4779)
  • a99d40c chore(ci): add Node v17 to test matrix (#4777)
  • ac43029 chore(devDeps): update 'prettier' (#4776)
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/postman/project/af38630e-23dc-4048-a29f-09c8cf53e42b?utm_source=github&utm_medium=referral&page=fix-pr) 🛠 [Adjust project settings](https://app.snyk.io/org/postman/project/af38630e-23dc-4048-a29f-09c8cf53e42b?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":"63c16d51-0f3a-4872-a8b5-cd4e161f611b","prPublicId":"63c16d51-0f3a-4872-a8b5-cd4e161f611b","dependencies":[{"name":"mocha","from":"7.2.0","to":"9.2.2"}],"packageManager":"npm","projectPublicId":"af38630e-23dc-4048-a29f-09c8cf53e42b","projectUrl":"https://app.snyk.io/org/postman/project/af38630e-23dc-4048-a29f-09c8cf53e42b?utm_source=github&utm_medium=referral&page=fix-pr","type":"auto","patch":[],"vulns":["SNYK-JS-MINIMATCH-3050818"],"upgrade":["SNYK-JS-MINIMATCH-3050818"],"isBreakingChange":true,"env":"prod","prType":"fix","templateVariants":["updated-fix-title","priorityScore","merge-advice-badge-shown"],"priorityScoreList":[551]}) --- **Learn how to fix vulnerabilities with free interactive lessons:** 🦉 [Regular Expression Denial of Service (ReDoS)](https://learn.snyk.io/lessons/redos/javascript//?loc=fix-pr)