From 60c3d63b0511c5ded3d26a66a553e2650cbe6d5b Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Tue, 19 Dec 2023 14:30:50 +0000 Subject: [PATCH] fix: upgrade @auth/mongodb-adapter from 2.0.4 to 2.0.7 Snyk has created this PR to upgrade @auth/mongodb-adapter from 2.0.4 to 2.0.7. See this package in npm: https://www.npmjs.com/package/@auth/mongodb-adapter See this project in Snyk: https://app.snyk.io/org/lryanle/project/5b60c99c-75ea-4ce3-8b20-9bfefab000f5?utm_source=github&utm_medium=referral&page=upgrade-pr --- frontend/package-lock.json | 47 ++++++++++++++++++++++++-------------- frontend/package.json | 2 +- 2 files changed, 31 insertions(+), 18 deletions(-) diff --git a/frontend/package-lock.json b/frontend/package-lock.json index 1f85b79..8ac8459 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -10,7 +10,7 @@ "hasInstallScript": true, "license": "MIT", "dependencies": { - "@auth/mongodb-adapter": "^2.0.4", + "@auth/mongodb-adapter": "^2.0.7", "@faker-js/faker": "^8.2.0", "@headlessui/react": "^1.7.17", "@heroicons/react": "^2.0.18", @@ -124,12 +124,12 @@ } }, "node_modules/@auth/core": { - "version": "0.18.1", - "resolved": "https://registry.npmjs.org/@auth/core/-/core-0.18.1.tgz", - "integrity": "sha512-L4MehYt/A7e5djsEid3jTSkRZ8sysxbirhmCXqSCPimGoFUtMCwTZrpzTALTSRwXGw/mps5fYlHROo3UQk9B3w==", + "version": "0.18.4", + "resolved": "https://registry.npmjs.org/@auth/core/-/core-0.18.4.tgz", + "integrity": "sha512-GsNhsP1xE/3FoNS3dVkPjqRljLNJ4iyL2OLv3klQGNvw3bMpROFcK4lqhx7+pPHiamnVaYt2vg1xbB+lsNaevg==", "dependencies": { "@panva/hkdf": "^1.1.1", - "cookie": "0.5.0", + "cookie": "0.6.0", "jose": "^5.1.0", "oauth4webapi": "^2.3.0", "preact": "10.11.3", @@ -144,6 +144,14 @@ } } }, + "node_modules/@auth/core/node_modules/cookie": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.6.0.tgz", + "integrity": "sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw==", + "engines": { + "node": ">= 0.6" + } + }, "node_modules/@auth/core/node_modules/jose": { "version": "5.1.3", "resolved": "https://registry.npmjs.org/jose/-/jose-5.1.3.tgz", @@ -153,11 +161,11 @@ } }, "node_modules/@auth/mongodb-adapter": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@auth/mongodb-adapter/-/mongodb-adapter-2.0.4.tgz", - "integrity": "sha512-bfxS+7zXzbCH52BPTXiTa8DJEDs3aMfQcBpXLB9z60DLvms3qjAJcTT/d4QTWcd+//zcgy2ojQtY70KvQQpqrA==", + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/@auth/mongodb-adapter/-/mongodb-adapter-2.0.7.tgz", + "integrity": "sha512-KSenTuy59yhDAiXeFYx3yIkjRq8qfS9dnwAm8RzS/ft5Inr3qbuDffpEj3uqX+E7caz0O1Ey+W8sS2h3rUK/lA==", "dependencies": { - "@auth/core": "0.18.1" + "@auth/core": "0.18.4" }, "peerDependencies": { "mongodb": "^6" @@ -16642,18 +16650,23 @@ "integrity": "sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw==" }, "@auth/core": { - "version": "0.18.1", - "resolved": "https://registry.npmjs.org/@auth/core/-/core-0.18.1.tgz", - "integrity": "sha512-L4MehYt/A7e5djsEid3jTSkRZ8sysxbirhmCXqSCPimGoFUtMCwTZrpzTALTSRwXGw/mps5fYlHROo3UQk9B3w==", + "version": "0.18.4", + "resolved": "https://registry.npmjs.org/@auth/core/-/core-0.18.4.tgz", + "integrity": "sha512-GsNhsP1xE/3FoNS3dVkPjqRljLNJ4iyL2OLv3klQGNvw3bMpROFcK4lqhx7+pPHiamnVaYt2vg1xbB+lsNaevg==", "requires": { "@panva/hkdf": "^1.1.1", - "cookie": "0.5.0", + "cookie": "0.6.0", "jose": "^5.1.0", "oauth4webapi": "^2.3.0", "preact": "10.11.3", "preact-render-to-string": "5.2.3" }, "dependencies": { + "cookie": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.6.0.tgz", + "integrity": "sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw==" + }, "jose": { "version": "5.1.3", "resolved": "https://registry.npmjs.org/jose/-/jose-5.1.3.tgz", @@ -16662,11 +16675,11 @@ } }, "@auth/mongodb-adapter": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@auth/mongodb-adapter/-/mongodb-adapter-2.0.4.tgz", - "integrity": "sha512-bfxS+7zXzbCH52BPTXiTa8DJEDs3aMfQcBpXLB9z60DLvms3qjAJcTT/d4QTWcd+//zcgy2ojQtY70KvQQpqrA==", + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/@auth/mongodb-adapter/-/mongodb-adapter-2.0.7.tgz", + "integrity": "sha512-KSenTuy59yhDAiXeFYx3yIkjRq8qfS9dnwAm8RzS/ft5Inr3qbuDffpEj3uqX+E7caz0O1Ey+W8sS2h3rUK/lA==", "requires": { - "@auth/core": "0.18.1" + "@auth/core": "0.18.4" } }, "@babel/runtime": { diff --git a/frontend/package.json b/frontend/package.json index 955b9c3..a84c2fe 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -17,7 +17,7 @@ "postinstall": "prisma generate" }, "dependencies": { - "@auth/mongodb-adapter": "^2.0.4", + "@auth/mongodb-adapter": "^2.0.7", "@faker-js/faker": "^8.2.0", "@headlessui/react": "^1.7.17", "@heroicons/react": "^2.0.18",