From 504fc9c89ce844f4377bc00a6438527285c8ff9d Mon Sep 17 00:00:00 2001 From: snyk-bot <snyk-bot@snyk.io> Date: Mon, 27 May 2024 00:58:28 +0000 Subject: [PATCH] fix: upgrade mongodb from 6.3.0 to 6.6.0 Snyk has created this PR to upgrade mongodb from 6.3.0 to 6.6.0. See this package in npm: mongodb See this project in Snyk: https://app.snyk.io/org/sicarchitect/project/5b43f087-5806-4b90-a489-b1875712a039?utm_source=github&utm_medium=referral&page=upgrade-pr --- package-lock.json | 27 +++++++++++++++------------ package.json | 2 +- 2 files changed, 16 insertions(+), 13 deletions(-) diff --git a/package-lock.json b/package-lock.json index ff5c7eb..083f154 100644 --- a/package-lock.json +++ b/package-lock.json @@ -22,7 +22,7 @@ "helmet": "^7.1.0", "jest": "^29.0.3", "mongo-sanitize": "^1.1.0", - "mongodb": "^6.3.0", + "mongodb": "^6.6.0", "mongoose": "^6.6.1", "multer": "^1.4.5-lts.1", "node-modules": "^0.0.1", @@ -2072,9 +2072,10 @@ } }, "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.7", + "resolved": "https://registry.npmjs.org/@mongodb-js/saslprep/-/saslprep-1.1.7.tgz", + "integrity": "sha512-dCHW/oEX0KJ4NjDULBo3JiOaK5+6axtpBbS+ao2ZInoAL9/YRQLhXzSNAFz7hP4nzLkIqsfYAK/PDE3+XHny0Q==", + "license": "MIT", "dependencies": { "sparse-bitfield": "^3.0.3" } @@ -3651,9 +3652,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.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" } @@ -8104,12 +8106,13 @@ "integrity": "sha512-6gB9AiJD+om2eZLxaPKIP5Q8P3Fr+s+17rVWso7hU0+MAzmIvIMlgTYuyvalDLTtE/p0gczcvJ8A3pbN1XmQ/A==" }, "node_modules/mongodb": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-6.3.0.tgz", - "integrity": "sha512-tt0KuGjGtLUhLoU263+xvQmPHEGTw5LbcNC73EoFRYgSHwZt5tsoJC110hDyO1kjQzpgNrpdcSza9PknWN4LrA==", + "version": "6.6.0", + "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-6.6.0.tgz", + "integrity": "sha512-LoR0hel6y1i7pubPOzbflccdc89RDOapIGqwce4aenOfhhLKOqiQ2F4yQHP+Hqa7TuPhpVqDVjixbvUSx7R0rQ==", + "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/package.json b/package.json index 61304b8..8587889 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "helmet": "^7.1.0", "jest": "^29.0.3", "mongo-sanitize": "^1.1.0", - "mongodb": "^6.3.0", + "mongodb": "^6.6.0", "mongoose": "^6.6.1", "multer": "^1.4.5-lts.1", "node-modules": "^0.0.1",