From 71372e2577be7af36ddbb0d874c7ab1ae27a6d8f Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sun, 6 Oct 2024 08:12:21 +0000 Subject: [PATCH] fix: upgrade mongoose from 8.4.3 to 8.6.2 Snyk has created this PR to upgrade mongoose from 8.4.3 to 8.6.2. See this package in npm: mongoose See this project in Snyk: https://app.snyk.io/org/yunji0387/project/1f89f163-fd6e-4732-aeed-600c6dbe58d8?utm_source=github&utm_medium=referral&page=upgrade-pr --- package-lock.json | 28 ++++++++++++++-------------- package.json | 2 +- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/package-lock.json b/package-lock.json index 294021e..9ca8489 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,7 +17,7 @@ "express": "^4.19.2", "express-validator": "^7.1.0", "jsonwebtoken": "^9.0.2", - "mongoose": "^8.4.3", + "mongoose": "^8.6.2", "nodemailer": "^6.9.13" }, "devDependencies": { @@ -44,9 +44,9 @@ } }, "node_modules/@mongodb-js/saslprep": { - "version": "1.1.7", - "resolved": "https://registry.npmjs.org/@mongodb-js/saslprep/-/saslprep-1.1.7.tgz", - "integrity": "sha512-dCHW/oEX0KJ4NjDULBo3JiOaK5+6axtpBbS+ao2ZInoAL9/YRQLhXzSNAFz7hP4nzLkIqsfYAK/PDE3+XHny0Q==", + "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" @@ -253,9 +253,9 @@ } }, "node_modules/bson": { - "version": "6.7.0", - "resolved": "https://registry.npmjs.org/bson/-/bson-6.7.0.tgz", - "integrity": "sha512-w2IquM5mYzYZv6rs3uN2DZTOBe2a0zXLj53TGDqwF4l6Sz/XsISrisXOJihArF9+BZ6Cq/GjVht7Sjfmri7ytQ==", + "version": "6.8.0", + "resolved": "https://registry.npmjs.org/bson/-/bson-6.8.0.tgz", + "integrity": "sha512-iOJg8pr7wq2tg/zSlCCHMi3hMm5JTOxLTagf3zxhcenHsFp+c6uOs6K7W5UE7A4QIJGtqh/ZovFNMP4mOPJynQ==", "license": "Apache-2.0", "engines": { "node": ">=16.20.1" @@ -1296,9 +1296,9 @@ } }, "node_modules/mongodb": { - "version": "6.6.2", - "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-6.6.2.tgz", - "integrity": "sha512-ZF9Ugo2JCG/GfR7DEb4ypfyJJyiKbg5qBYKRintebj8+DNS33CyGMkWbrS9lara+u+h+yEOGSRiLhFO/g1s1aw==", + "version": "6.8.0", + "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-6.8.0.tgz", + "integrity": "sha512-HGQ9NWDle5WvwMnrvUxsFYPd3JEbqD3RgABHBQRuoCEND0qzhsd0iH5ypHsf1eJ+sXmvmyKpP+FLOKY8Il7jMw==", "license": "Apache-2.0", "dependencies": { "@mongodb-js/saslprep": "^1.1.5", @@ -1352,14 +1352,14 @@ } }, "node_modules/mongoose": { - "version": "8.4.3", - "resolved": "https://registry.npmjs.org/mongoose/-/mongoose-8.4.3.tgz", - "integrity": "sha512-GxPVLD+I/dxVkgcts2r2QmJJvS62/++btVj3RFt8YnHt+DSOp1Qjj62YEvgZaElwIOTcc4KGJM95X5LlrU1qQg==", + "version": "8.6.2", + "resolved": "https://registry.npmjs.org/mongoose/-/mongoose-8.6.2.tgz", + "integrity": "sha512-ErbDVvuUzUfyQpXvJ6sXznmZDICD8r6wIsa0VKjJtB6/LZncqwUn5Um040G1BaNo6L3Jz+xItLSwT0wZmSmUaQ==", "license": "MIT", "dependencies": { "bson": "^6.7.0", "kareem": "2.6.3", - "mongodb": "6.6.2", + "mongodb": "6.8.0", "mpath": "0.9.0", "mquery": "5.0.0", "ms": "2.1.3", diff --git a/package.json b/package.json index 8f89004..bdbd80d 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "express": "^4.19.2", "express-validator": "^7.1.0", "jsonwebtoken": "^9.0.2", - "mongoose": "^8.4.3", + "mongoose": "^8.6.2", "nodemailer": "^6.9.13" }, "devDependencies": {