bibleapi / bibleapi-rest

Node.js based Bible API RESTful web service
http://www.bibleapi.ws
MIT License
49 stars 12 forks source link

[Snyk] Security upgrade mongodb from 2.2.31 to 3.1.3 #33

Open rkazakov opened 8 months ago

rkazakov commented 8 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 - package-lock.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") | **630/1000**
**Why?** Has a fix available, CVSS 8.1 | Internal Property Tampering
[SNYK-JS-BSON-6056525](https://snyk.io/vuln/SNYK-JS-BSON-6056525) | Yes | No Known Exploit (*) Note that the real score may have changed since the PR was raised.
Commit messages
Package name: mongodb The new version differs by 250 commits.
  • 79da11f 3.1.3
  • 337cb79 feat(core): update to mongodb-core 3.1.2
  • ff5fafc refactor(topology-base): `getServer` => `selectServer`
  • b33fc74 3.1.2
  • 78f6977 fix(mongo_client): translate options for connectWithUrl
  • 36e92f1 fix(db_ops): call collection.find() with correct parameters (#1795)
  • 759dd85 fix(buffer): replace deprecated Buffer constructor
  • cb9d915 docs(connect): remove references to MongoClient.connect
  • b8d2f1d fix(teardown): properly destroy a topology when initial connect fails
  • 64027e8 refactor(export): expose CommandCursor
  • 6ef85c4 refactor(export): expose AggregationCursor
  • 13d776f fix(cursor): set readPreference for cursor.count
  • a5d0f1d feat(deprecation): wrap deprecated functions
  • 4f907a0 feat(deprecation): create deprecation function
  • 666b8fa refactor(bulk): Unify bulk operations
  • a0d84f6 test(evergreen): adding evergreen config to native driver
  • b8471f1 fix(collection): isCapped returns false instead of undefined
  • 86344f4 fix(collection): ensure findAndModify always use readPreference primary
  • c25c519 test(countDocuments): full test coverage for countDocuments
  • 25ca557 docs(contributing): fix link to HISTORY.md
  • 4395110 chore(MongoClient): add missing legacy option name on warning message
  • 297d843 docs(sessions): updating docs for sessions
  • 15dc808 fix(db_ops): fix two incorrectly named variables
  • fca1185 fix(count-documents): return callback on error case
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/rkazakov/project/4da2b86a-3878-426a-b545-9ab65a26e90b?utm_source=github&utm_medium=referral&page=fix-pr) 🛠 [Adjust project settings](https://app.snyk.io/org/rkazakov/project/4da2b86a-3878-426a-b545-9ab65a26e90b?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":"7d9dc254-d893-4678-a6f5-d37edccca67a","prPublicId":"7d9dc254-d893-4678-a6f5-d37edccca67a","dependencies":[{"name":"mongodb","from":"2.2.31","to":"3.1.3"}],"packageManager":"npm","projectPublicId":"4da2b86a-3878-426a-b545-9ab65a26e90b","projectUrl":"https://app.snyk.io/org/rkazakov/project/4da2b86a-3878-426a-b545-9ab65a26e90b?utm_source=github&utm_medium=referral&page=fix-pr","type":"auto","patch":[],"vulns":["SNYK-JS-BSON-6056525"],"upgrade":["SNYK-JS-BSON-6056525"],"isBreakingChange":true,"env":"prod","prType":"fix","templateVariants":["updated-fix-title","priorityScore"],"priorityScoreList":[630],"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)