Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Security upgrade mongodb from 2.2.36 to 3.1.3 #132

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

snyk-bot
Copy link

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:
    • packages/gatsby-source-mongodb/package.json

Vulnerabilities that will be fixed

With an upgrade:
Severity Issue Breaking Change Exploit Maturity
high severity Deserialization of Untrusted Data
SNYK-JS-BSON-561052
Yes No Known Exploit
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 ([Snyk] Security upgrade gatsby from 2.32.13 to 5.4.0 #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

🛠 Adjust project settings

📚 Read more about Snyk's upgrade and patch logic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant