From 63376db1caf6e75ad8a273b40339bb618bf64199 Mon Sep 17 00:00:00 2001
From: snyk-bot <snyk-bot@snyk.io>
Date: Tue, 12 Nov 2024 14:40:25 +0000
Subject: [PATCH] fix: upgrade mongodb from 6.5.0 to 6.10.0

Snyk has created this PR to upgrade mongodb from 6.5.0 to 6.10.0.

See this package in npm:
mongodb

See this project in Snyk:
https://app.snyk.io/org/wds-mhx/project/d0c08da0-4c83-4695-901a-bb0a3f4a5e43?utm_source=github&utm_medium=referral&page=upgrade-pr
---
 Project_new/package-lock.json | 18 ++++++++++--------
 Project_new/package.json      |  2 +-
 2 files changed, 11 insertions(+), 9 deletions(-)

diff --git a/Project_new/package-lock.json b/Project_new/package-lock.json
index 902bc79..57a9954 100644
--- a/Project_new/package-lock.json
+++ b/Project_new/package-lock.json
@@ -23,7 +23,7 @@
         "groq-sdk": "^0.3.3",
         "jsonwebtoken": "^9.0.2",
         "microsoft-cognitiveservices-speech-sdk": "^1.36.0",
-        "mongodb": "^6.5.0",
+        "mongodb": "^6.10.0",
         "node-fetch": "^3.3.2",
         "nodemon": "^3.1.0",
         "openai": "^4.37.1",
@@ -2875,9 +2875,10 @@
       }
     },
     "node_modules/bson": {
-      "version": "6.6.0",
-      "resolved": "https://registry.npmjs.org/bson/-/bson-6.6.0.tgz",
-      "integrity": "sha512-BVINv2SgcMjL4oYbBuCQTpE3/VKOSxrOA8Cj/wQP7izSzlBGVomdm+TcUd0Pzy0ytLSSDweCKQ6X3f5veM5LQA==",
+      "version": "6.9.0",
+      "resolved": "https://registry.npmjs.org/bson/-/bson-6.9.0.tgz",
+      "integrity": "sha512-X9hJeyeM0//Fus+0pc5dSUMhhrrmWwQUtdavaQeF3Ta6m69matZkGWV/MrBcnwUeLC8W9kwwc2hfkZgUuCX3Ig==",
+      "license": "Apache-2.0",
       "engines": {
         "node": ">=16.20.1"
       }
@@ -5775,12 +5776,13 @@
       "integrity": "sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A=="
     },
     "node_modules/mongodb": {
-      "version": "6.5.0",
-      "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-6.5.0.tgz",
-      "integrity": "sha512-Fozq68InT+JKABGLqctgtb8P56pRrJFkbhW0ux+x1mdHeyinor8oNzJqwLjV/t5X5nJGfTlluxfyMnOXNggIUA==",
+      "version": "6.10.0",
+      "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-6.10.0.tgz",
+      "integrity": "sha512-gP9vduuYWb9ZkDM546M+MP2qKVk5ZG2wPF63OvSRuUbqCR+11ZCAE1mOfllhlAG0wcoJY5yDL/rV3OmYEwXIzg==",
+      "license": "Apache-2.0",
       "dependencies": {
         "@mongodb-js/saslprep": "^1.1.5",
-        "bson": "^6.4.0",
+        "bson": "^6.7.0",
         "mongodb-connection-string-url": "^3.0.0"
       },
       "engines": {
diff --git a/Project_new/package.json b/Project_new/package.json
index 1d6ade8..59c029e 100644
--- a/Project_new/package.json
+++ b/Project_new/package.json
@@ -26,7 +26,7 @@
     "groq-sdk": "^0.3.3",
     "jsonwebtoken": "^9.0.2",
     "microsoft-cognitiveservices-speech-sdk": "^1.36.0",
-    "mongodb": "^6.5.0",
+    "mongodb": "^6.10.0",
     "node-fetch": "^3.3.2",
     "nodemon": "^3.1.0",
     "openai": "^4.37.1",