From bdc762c11d711e54500176deff38ec7a9d55ec55 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 19 Sep 2024 03:44:33 +0000 Subject: [PATCH] fix: upgrade mongoose from 8.5.4 to 8.6.0 Snyk has created this PR to upgrade mongoose from 8.5.4 to 8.6.0. See this package in npm: mongoose See this project in Snyk: https://app.snyk.io/org/zntb/project/cd988a74-8f42-4f6c-8811-90ff72148413?utm_source=github&utm_medium=referral&page=upgrade-pr --- bloglist-backend/package-lock.json | 22 +++++++++++----------- bloglist-backend/package.json | 2 +- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/bloglist-backend/package-lock.json b/bloglist-backend/package-lock.json index 49dcbf0..15eb263 100644 --- a/bloglist-backend/package-lock.json +++ b/bloglist-backend/package-lock.json @@ -16,7 +16,7 @@ "express-async-errors": "^3.1.1", "jsonwebtoken": "^9.0.2", "lodash": "^4.17.21", - "mongoose": "^8.5.4", + "mongoose": "^8.6.0", "morgan": "^1.10.0" }, "devDependencies": { @@ -45,9 +45,9 @@ } }, "node_modules/@mongodb-js/saslprep": { - "version": "1.1.8", - "resolved": "https://registry.npmjs.org/@mongodb-js/saslprep/-/saslprep-1.1.8.tgz", - "integrity": "sha512-qKwC/M/nNNaKUBMQ0nuzm47b7ZYWQHN3pcXq4IIcoSBc2hOIrflAxJduIvvqmhoz3gR2TacTAs8vlsCVPkiEdQ==", + "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" @@ -1311,9 +1311,9 @@ } }, "node_modules/mongodb": { - "version": "6.7.0", - "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-6.7.0.tgz", - "integrity": "sha512-TMKyHdtMcO0fYBNORiYdmM25ijsHs+Njs963r4Tro4OQZzqYigAzYQouwWRg4OIaiLRUEGUh/1UAcH5lxdSLIA==", + "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", @@ -1367,14 +1367,14 @@ } }, "node_modules/mongoose": { - "version": "8.5.4", - "resolved": "https://registry.npmjs.org/mongoose/-/mongoose-8.5.4.tgz", - "integrity": "sha512-nG3eehhWf9l1q80WuHvp5DV+4xDNFpDWLE5ZgcFD5tslUV2USJ56ogun8gaZ62MKAocJnoStjAdno08b8U57hg==", + "version": "8.6.0", + "resolved": "https://registry.npmjs.org/mongoose/-/mongoose-8.6.0.tgz", + "integrity": "sha512-p6VSbYKvD4ZIabqo8C0kS5eKX1Xpji+opTAIJ9wyuPJ8Y/FblgXSMnFRXnB40bYZLKPQT089K5KU8+bqIXtFdw==", "license": "MIT", "dependencies": { "bson": "^6.7.0", "kareem": "2.6.3", - "mongodb": "6.7.0", + "mongodb": "6.8.0", "mpath": "0.9.0", "mquery": "5.0.0", "ms": "2.1.3", diff --git a/bloglist-backend/package.json b/bloglist-backend/package.json index b530d5b..6832166 100644 --- a/bloglist-backend/package.json +++ b/bloglist-backend/package.json @@ -23,7 +23,7 @@ "express-async-errors": "^3.1.1", "jsonwebtoken": "^9.0.2", "lodash": "^4.17.21", - "mongoose": "^8.5.4", + "mongoose": "^8.6.0", "morgan": "^1.10.0" }, "devDependencies": {