From c900bac03df4c06ae949cb9bb4b74a709dc73b0c Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Tue, 12 Nov 2024 01:08:35 +0000 Subject: [PATCH] fix: upgrade mongodb from 6.9.0 to 6.10.0 Snyk has created this PR to upgrade mongodb from 6.9.0 to 6.10.0. See this package in npm: mongodb See this project in Snyk: https://app.snyk.io/org/taranjeetsinghbedi2/project/7b6183d2-38a2-49a4-8851-ae8a08e89367?utm_source=github&utm_medium=referral&page=upgrade-pr --- Todo-API/package-lock.json | 54 +++++++++++++++++++++++++++++++++++--- Todo-API/package.json | 2 +- 2 files changed, 51 insertions(+), 5 deletions(-) diff --git a/Todo-API/package-lock.json b/Todo-API/package-lock.json index 6b39c95..e45840d 100644 --- a/Todo-API/package-lock.json +++ b/Todo-API/package-lock.json @@ -13,7 +13,7 @@ "express": "^4.21.1", "firebase-admin": "^12.6.0", "firebase-functions": "^4.8.0", - "mongodb": "^6.9.0", + "mongodb": "^6.10.0", "mongoose": "^8.7.1", "multer": "^1.4.5-lts.1", "punycode": "^2.3.1" @@ -1936,9 +1936,9 @@ } }, "node_modules/mongodb": { - "version": "6.9.0", - "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-6.9.0.tgz", - "integrity": "sha512-UMopBVx1LmEUbW/QE0Hw18u583PEDVQmUmVzzBRH0o/xtE9DBRA5ZYLOjpLIa03i8FXjzvQECJcqoMvCXftTUA==", + "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", @@ -2012,6 +2012,52 @@ "url": "https://opencollective.com/mongoose" } }, + "node_modules/mongoose/node_modules/mongodb": { + "version": "6.9.0", + "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-6.9.0.tgz", + "integrity": "sha512-UMopBVx1LmEUbW/QE0Hw18u583PEDVQmUmVzzBRH0o/xtE9DBRA5ZYLOjpLIa03i8FXjzvQECJcqoMvCXftTUA==", + "license": "Apache-2.0", + "dependencies": { + "@mongodb-js/saslprep": "^1.1.5", + "bson": "^6.7.0", + "mongodb-connection-string-url": "^3.0.0" + }, + "engines": { + "node": ">=16.20.1" + }, + "peerDependencies": { + "@aws-sdk/credential-providers": "^3.188.0", + "@mongodb-js/zstd": "^1.1.0", + "gcp-metadata": "^5.2.0", + "kerberos": "^2.0.1", + "mongodb-client-encryption": ">=6.0.0 <7", + "snappy": "^7.2.2", + "socks": "^2.7.1" + }, + "peerDependenciesMeta": { + "@aws-sdk/credential-providers": { + "optional": true + }, + "@mongodb-js/zstd": { + "optional": true + }, + "gcp-metadata": { + "optional": true + }, + "kerberos": { + "optional": true + }, + "mongodb-client-encryption": { + "optional": true + }, + "snappy": { + "optional": true + }, + "socks": { + "optional": true + } + } + }, "node_modules/mongoose/node_modules/ms": { "version": "2.1.3", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", diff --git a/Todo-API/package.json b/Todo-API/package.json index ca8ca47..d920cfc 100644 --- a/Todo-API/package.json +++ b/Todo-API/package.json @@ -18,7 +18,7 @@ "express": "^4.21.1", "firebase-admin": "^12.6.0", "firebase-functions": "^4.8.0", - "mongodb": "^6.9.0", + "mongodb": "^6.10.0", "mongoose": "^8.7.1", "multer": "^1.4.5-lts.1", "punycode": "^2.3.1"