From 676501706a7a1eb3ec25b4810d24e43541e38189 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 20 Nov 2024 12:29:12 +0000 Subject: [PATCH] fix: upgrade mongodb from 6.3.0 to 6.10.0 Snyk has created this PR to upgrade mongodb from 6.3.0 to 6.10.0. See this package in npm: mongodb See this project in Snyk: https://app.snyk.io/org/issam-seghir/project/cd962cf4-e38a-48d0-992f-eced5ee97fd3?utm_source=github&utm_medium=referral&page=upgrade-pr --- server/package-lock.json | 27 +++++++++++++++------------ server/package.json | 2 +- 2 files changed, 16 insertions(+), 13 deletions(-) diff --git a/server/package-lock.json b/server/package-lock.json index e3402d8..1652c2e 100644 --- a/server/package-lock.json +++ b/server/package-lock.json @@ -28,7 +28,7 @@ "http-errors": "^2.0.0", "jsonwebtoken": "^9.0.2", "module-alias": "^2.2.3", - "mongodb": "^6.3.0", + "mongodb": "^6.10.0", "mongoose": "^8.0.3", "mongoose-algolia": "^1.10.1", "mongoose-autopopulate": "^1.1.0", @@ -659,9 +659,10 @@ "dev": true }, "node_modules/@mongodb-js/saslprep": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@mongodb-js/saslprep/-/saslprep-1.1.1.tgz", - "integrity": "sha512-t7c5K033joZZMspnHg/gWPE4kandgc2OxE74aYOtGKfgB9VPuVJPix0H6fhmm2erj5PBJ21mqcx34lpIGtUCsQ==", + "version": "1.1.9", + "resolved": "https://registry.npmjs.org/@mongodb-js/saslprep/-/saslprep-1.1.9.tgz", + "integrity": "sha512-tVkljjeEaAhCqTzajSdgbQ6gE6f3oneVwa3iXR6csiEwXXOFsiC6Uh9iAjAhXPtqa/XMDHWjjeNH/77m/Yq2dw==", + "license": "MIT", "dependencies": { "sparse-bitfield": "^3.0.3" } @@ -1443,9 +1444,10 @@ } }, "node_modules/bson": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/bson/-/bson-6.2.0.tgz", - "integrity": "sha512-ID1cI+7bazPDyL9wYy9GaQ8gEEohWvcUl/Yf0dIdutJxnmInEEyCsb4awy/OiBfall7zBA179Pahi3vCdFze3Q==", + "version": "6.10.0", + "resolved": "https://registry.npmjs.org/bson/-/bson-6.10.0.tgz", + "integrity": "sha512-ROchNosXMJD2cbQGm84KoP7vOGPO6/bOAW0veMMbzhXLqoZptcaYRVLitwvuhwhjjpU1qP4YZRWLhgETdgqUQw==", + "license": "Apache-2.0", "engines": { "node": ">=16.20.1" } @@ -4574,12 +4576,13 @@ "integrity": "sha512-23g5BFj4zdQL/b6tor7Ji+QY4pEfNH784BMslY9Qb0UnJWRAt+lQGLYmRaM0KDBwIG23ffEBELhZDP2rhi9f/Q==" }, "node_modules/mongodb": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-6.3.0.tgz", - "integrity": "sha512-tt0KuGjGtLUhLoU263+xvQmPHEGTw5LbcNC73EoFRYgSHwZt5tsoJC110hDyO1kjQzpgNrpdcSza9PknWN4LrA==", + "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.0", - "bson": "^6.2.0", + "@mongodb-js/saslprep": "^1.1.5", + "bson": "^6.7.0", "mongodb-connection-string-url": "^3.0.0" }, "engines": { diff --git a/server/package.json b/server/package.json index 21981ab..d6e0700 100644 --- a/server/package.json +++ b/server/package.json @@ -63,7 +63,7 @@ "http-errors": "^2.0.0", "jsonwebtoken": "^9.0.2", "module-alias": "^2.2.3", - "mongodb": "^6.3.0", + "mongodb": "^6.10.0", "mongoose": "^8.0.3", "mongoose-algolia": "^1.10.1", "mongoose-autopopulate": "^1.1.0",