docket-fyi / docket-api

Docket API
1 stars 0 forks source link

[Snyk] Fix for 2 vulnerabilities #209

Open john-goldsmith opened 2 years ago

john-goldsmith 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 - package-lock.json #### Vulnerabilities that will be fixed ##### With an upgrade: Severity | Priority Score (*) | Issue | Breaking Change | Exploit Maturity :-------------------------:|-------------------------|:-------------------------|:-------------------------|:------------------------- ![critical severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/c.png "critical severity") | **863/1000**
**Why?** Proof of Concept exploit, Recently disclosed, Has a fix available, CVSS 9.4 | SQL Injection
[SNYK-JS-SEQUELIZE-2932027](https://snyk.io/vuln/SNYK-JS-SEQUELIZE-2932027) | Yes | Proof of Concept ![medium severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png "medium severity") | **586/1000**
**Why?** Proof of Concept exploit, Has a fix available, CVSS 5.3 | Regular Expression Denial of Service (ReDoS)
[SNYK-JS-WS-1296835](https://snyk.io/vuln/SNYK-JS-WS-1296835) | No | Proof of Concept (*) Note that the real score may have changed since the PR was raised.
Commit messages
Package name: pm2 The new version differs by 69 commits.
See the full diff
Package name: sequelize The new version differs by 250 commits.
  • 6c5f8ec test: disable mysql/mariadb deadlock test (#14514)
  • 87655eb build: fix esdoc (#14513)
  • ccaa399 fix: do not replace `:replacements` inside of strings (#14472)
  • 5954d2c feat(types): make `Model.init` aware of pre-configured foreign keys (#14370)
  • 0d0aade fix(types): make `WhereOptions` more accurate (#14368)
  • 7e8b707 docs: restore Model api reference & make fail on error (#14323)
  • ca0e017 test: disable deadlock test for mariadb 10.5.15 (#14314)
  • 62564f7 docs: fix dead link in API reference (#14313)
  • cdc8881 build: remove v6 docs from repository (#14234)
  • 730af27 docs: document scope whereMergeStrategy option (#14201)
  • 8349c02 feat: add whereScopeStrategy to merge where scopes with Op.and (#14152)
  • e974e20 feat(types): make `Model.getAttributes` stricter (#14017)
  • 2d339d0 fix: fix typo in query-generator.js error message (#14151)
  • b80aeed fix(types): update return type of `Model.update` (#14155)
  • f5c06bd feat(types): infer nullable creation attributes as optional (#14147)
  • af6cbe6 build(deps): move @ types/validator to prod deps (#14159)
  • a81b7ab fix(types): export `GroupedCountResultItem` interface (#14154)
  • da8678d fix(types): drop excess argument for upsert (#14156)
  • 709c830 docs(postgres): clarify pg version for Node >=14 (#14149)
  • 7ac1221 fix(types): update 'replication' option property (#14126)
  • 82506a6 fix(postgres): correctly re-acquire connection for pg-native (#14090)
  • d23bd7a fix(types): support union in CreationAttributes (#14146)
  • 0326c2c fix(types): missing snowflake and db2 dialects (#14137)
  • 664bd12 build: generate jsdoc from src instead of lib (#14094) (#14096)
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/docket-ope/project/66e40190-a3fa-4369-a7b2-51a8f5a697cf?utm_source=github&utm_medium=referral&page=fix-pr) 🛠 [Adjust project settings](https://app.snyk.io/org/docket-ope/project/66e40190-a3fa-4369-a7b2-51a8f5a697cf?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":"5d34bd52-0e8c-480b-a334-082bad233c9c","prPublicId":"5d34bd52-0e8c-480b-a334-082bad233c9c","dependencies":[{"name":"pm2","from":"4.2.1","to":"4.4.0"},{"name":"sequelize","from":"5.21.5","to":"6.19.1"}],"packageManager":"npm","projectPublicId":"66e40190-a3fa-4369-a7b2-51a8f5a697cf","projectUrl":"https://app.snyk.io/org/docket-ope/project/66e40190-a3fa-4369-a7b2-51a8f5a697cf?utm_source=github&utm_medium=referral&page=fix-pr","type":"auto","patch":[],"vulns":["SNYK-JS-SEQUELIZE-2932027","SNYK-JS-WS-1296835"],"upgrade":["SNYK-JS-SEQUELIZE-2932027","SNYK-JS-WS-1296835"],"isBreakingChange":true,"env":"prod","prType":"fix","templateVariants":["priorityScore"],"priorityScoreList":[863,586]}) --- **Learn how to fix vulnerabilities with free interactive lessons:** 🦉 [SQL Injection](https://learn.snyk.io/lessons/sql-injection/javascript?loc=fix-pr)