From d5991e53136b1bee305d9b8e61cd33538763267d Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sat, 8 Jun 2024 23:35:35 +0000 Subject: [PATCH] fix: upgrade mongoose from 8.3.5 to 8.4.0 Snyk has created this PR to upgrade mongoose from 8.3.5 to 8.4.0. See this package in npm: mongoose See this project in Snyk: https://app.snyk.io/org/tuanicom/project/37045203-d79c-4568-837a-36d05a44dbb3?utm_source=github&utm_medium=referral&page=upgrade-pr --- backend/package-lock.json | 28 +++++++++++++++------------- backend/package.json | 2 +- 2 files changed, 16 insertions(+), 14 deletions(-) diff --git a/backend/package-lock.json b/backend/package-lock.json index 3a0e3bf..a5e5b21 100644 --- a/backend/package-lock.json +++ b/backend/package-lock.json @@ -14,7 +14,7 @@ "cors": "^2.8.5", "express": "^4.19.2", "express-async-handler": "^1.2.0", - "mongoose": "^8.3.5", + "mongoose": "^8.4.0", "morgan": "^1.10.0" }, "devDependencies": { @@ -2387,9 +2387,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.7.0", + "resolved": "https://registry.npmjs.org/bson/-/bson-6.7.0.tgz", + "integrity": "sha512-w2IquM5mYzYZv6rs3uN2DZTOBe2a0zXLj53TGDqwF4l6Sz/XsISrisXOJihArF9+BZ6Cq/GjVht7Sjfmri7ytQ==", + "license": "Apache-2.0", "engines": { "node": ">=16.20.1" } @@ -6840,12 +6841,13 @@ } }, "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.6.2", + "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-6.6.2.tgz", + "integrity": "sha512-ZF9Ugo2JCG/GfR7DEb4ypfyJJyiKbg5qBYKRintebj8+DNS33CyGMkWbrS9lara+u+h+yEOGSRiLhFO/g1s1aw==", + "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": { @@ -6894,14 +6896,14 @@ } }, "node_modules/mongoose": { - "version": "8.3.5", - "resolved": "https://registry.npmjs.org/mongoose/-/mongoose-8.3.5.tgz", - "integrity": "sha512-2zqeAjHjCqT1o5HeUCvkE9tUHsXwemnwEZ2SKnUxsaP8p1a+UcSQSNbnSuOzUVePMwLETrsvLIRdFLjsNfCgWA==", + "version": "8.4.0", + "resolved": "https://registry.npmjs.org/mongoose/-/mongoose-8.4.0.tgz", + "integrity": "sha512-fgqRMwVEP1qgRYfh+tUe2YBBFnPO35FIg2lfFH+w9IhRGg1/ataWGIqvf/MjwM29cZ60D5vSnqtN2b8Qp0sOZA==", "license": "MIT", "dependencies": { - "bson": "^6.5.0", + "bson": "^6.7.0", "kareem": "2.6.3", - "mongodb": "6.5.0", + "mongodb": "6.6.2", "mpath": "0.9.0", "mquery": "5.0.0", "ms": "2.1.3", diff --git a/backend/package.json b/backend/package.json index 6b57c19..169865a 100644 --- a/backend/package.json +++ b/backend/package.json @@ -34,7 +34,7 @@ "cors": "^2.8.5", "express": "^4.19.2", "express-async-handler": "^1.2.0", - "mongoose": "^8.3.5", + "mongoose": "^8.4.0", "morgan": "^1.10.0" }, "devDependencies": {