methodgg / wago.io

Code for website wago.io
MIT License
112 stars 40 forks source link

[Snyk] Security upgrade mongoose from 5.12.0 to 5.13.3 #229

Open oratory opened 1 year ago

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

#### Changes included in this PR - Changes to the following files to upgrade the vulnerable dependencies to a fixed version: - backend/package.json - backend/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") | **496/1000**
**Why?** Recently disclosed, Has a fix available, CVSS 4.2 | Information Exposure
[SNYK-JS-MONGODB-5871303](https://snyk.io/vuln/SNYK-JS-MONGODB-5871303) | No | No Known Exploit (*) Note that the real score may have changed since the PR was raised.
Commit messages
Package name: mongoose The new version differs by 250 commits.
  • 3924628 chore: release 5.13.3
  • 88a32fe Merge pull request #10442 from semirturgay/gh-broken-defaults
  • 66fd25f fix(timestamps): apply timestamps when creating new subdocs with `$addToSet` and with positional operator
  • c6a646c test(timestamps): repro #10447
  • 169f9e1 fix(schema): allow calling `Schema#loadClass()` with class that has a static getter with no setter
  • acd262c test(schema): repro #10436
  • 16b6a37 fix(model): avoid throwing error when `bulkSave()` called on a document with no changes
  • c1ce3c9 test(model): repro #9673
  • ad8ca76 fix(index.d.ts): allow passing ResultType generic to `Schema#path()`
  • 34d2796 fix(index.d.ts): add `discriminator()` for single nested subdocs to type definitions
  • ed1bffb Merge pull request #10452 from DouglasGabr/master
  • 5edb25d fix(index.d.ts): consistently use NativeDate instead of Date for Date validators and timestamps functions
  • 982a389 fix(types): remove discriminator type requirement
  • a22c908 fix(model): fixing model defaults for embedded objects
  • 6250841 chore: update opencollective sponsors
  • c01685a Merge pull request #10440 from AbdelrahmanHafez/patch-10
  • ac545ef test(model): cover applying object defaults
  • ca34cfa bump native driver to 3.6.10
  • e1fcf29 chore: update opencollective sponsors
  • c03cacb chore: release 5.13.2
  • 4482592 style: fix lint
  • 1159631 chore: allow @ types/node 14.x
  • 726ce8b fix: hardcode @ types/node version for now to avoid breaking changes from DefinitelyTyped/DefinitelyTyped#53669
  • d250ddc fix(index.d.ts): allow using `type: Date` with Date paths in SchemaDefinitionType
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/oratory/project/f2ca0100-00da-4d66-a54c-6459d9545cc6?utm_source=github&utm_medium=referral&page=fix-pr) 🛠 [Adjust project settings](https://app.snyk.io/org/oratory/project/f2ca0100-00da-4d66-a54c-6459d9545cc6?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":"d8349527-2fdc-40fb-9230-08004e0e2c0b","prPublicId":"d8349527-2fdc-40fb-9230-08004e0e2c0b","dependencies":[{"name":"mongoose","from":"5.12.0","to":"5.13.3"}],"packageManager":"npm","projectPublicId":"f2ca0100-00da-4d66-a54c-6459d9545cc6","projectUrl":"https://app.snyk.io/org/oratory/project/f2ca0100-00da-4d66-a54c-6459d9545cc6?utm_source=github&utm_medium=referral&page=fix-pr","type":"auto","patch":[],"vulns":["SNYK-JS-MONGODB-5871303"],"upgrade":["SNYK-JS-MONGODB-5871303"],"isBreakingChange":false,"env":"prod","prType":"fix","templateVariants":["updated-fix-title","priorityScore"],"priorityScoreList":[496],"remediationStrategy":"vuln"}) --- **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)