From a9be0ea1596ae690490b23742fdbb062b1ee028b Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Mon, 16 Sep 2024 08:39:23 +0000 Subject: [PATCH] fix: upgrade multiple dependencies with Snyk Snyk has created this PR to upgrade: - body-parser from 1.20.1 to 1.20.2. See this package in npm: https://www.npmjs.com/package/body-parser - chart.js from 4.0.1 to 4.4.4. See this package in npm: https://www.npmjs.com/package/chart.js - cloudinary from 1.32.0 to 1.41.3. See this package in npm: https://www.npmjs.com/package/cloudinary - dotenv from 16.0.3 to 16.4.5. See this package in npm: https://www.npmjs.com/package/dotenv - ejs from 3.1.8 to 3.1.10. See this package in npm: https://www.npmjs.com/package/ejs - express from 4.18.2 to 4.19.2. See this package in npm: https://www.npmjs.com/package/express - express-session from 1.17.3 to 1.18.0. See this package in npm: https://www.npmjs.com/package/express-session - formidable from 2.0.1 to 2.1.2. See this package in npm: https://www.npmjs.com/package/formidable - mongodb from 4.17.1 to 4.17.2. See this package in npm: https://www.npmjs.com/package/mongodb - mongoose from 6.12.3 to 6.13.0. See this package in npm: https://www.npmjs.com/package/mongoose - passport from 0.6.0 to 0.7.0. See this package in npm: https://www.npmjs.com/package/passport - swiper from 8.4.4 to 8.4.7. See this package in npm: https://www.npmjs.com/package/swiper See this project in Snyk: https://app.snyk.io/org/joshabar/project/d375c2e2-a7f8-4df9-95ad-ce585b869760?utm_source=github&utm_medium=referral&page=upgrade-pr --- package-lock.json | 1241 +++++++-------------------------------------- package.json | 24 +- 2 files changed, 201 insertions(+), 1064 deletions(-) diff --git a/package-lock.json b/package-lock.json index 132fd9ec5..1ea60f888 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,28 +9,28 @@ "version": "1.0.0", "license": "ISC", "dependencies": { - "body-parser": "^1.20.0", - "chart.js": "^4.0.1", - "cloudinary": "^1.32.0", + "body-parser": "^1.20.2", + "chart.js": "^4.4.4", + "cloudinary": "^1.41.3", "connect-flash": "^0.1.1", "cookie-parser": "^1.4.6", "cors": "^2.8.5", "datauri": "^4.1.0", - "dotenv": "^16.0.2", - "ejs": "^3.1.8", - "express": "^4.18.2", + "dotenv": "^16.4.5", + "ejs": "^3.1.10", + "express": "^4.19.2", "express-ejs-layouts": "^2.5.1", - "express-session": "^1.17.3", - "formidable": "^2.0.1", + "express-session": "^1.18.0", + "formidable": "^2.1.2", "jsonwebtoken": "^8.5.1", - "mongodb": "^4.9.1", - "mongoose": "^6.12.3", + "mongodb": "^4.17.2", + "mongoose": "^6.13.0", "multer": "^1.4.5-lts.1", "multer-storage-cloudinary": "^4.0.0", - "passport": "^0.6.0", + "passport": "^0.7.0", "passport-local": "^1.0.0", "passport-local-mongoose": "^7.1.2", - "swiper": "^8.4.4" + "swiper": "^8.4.7" }, "devDependencies": { "nodemon": "^2.0.19" @@ -979,6 +979,12 @@ "node": ">=14.0.0" } }, + "node_modules/@kurkle/color": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/@kurkle/color/-/color-0.3.2.tgz", + "integrity": "sha512-fuscdXJ9G1qb7W8VdHi+IwRqij3lBkosAm4ydQtEmbY58OzHXqQhvlxqEkoz0yssNVn38bcpRWgA9PP+OGoisw==", + "license": "MIT" + }, "node_modules/@mongodb-js/saslprep": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/@mongodb-js/saslprep/-/saslprep-1.1.1.tgz", @@ -988,14 +994,6 @@ "sparse-bitfield": "^3.0.3" } }, - "node_modules/@tootallnate/once": { - "version": "1.1.2", - "license": "MIT", - "optional": true, - "engines": { - "node": ">= 6" - } - }, "node_modules/@types/node": { "version": "20.10.4", "resolved": "https://registry.npmjs.org/@types/node/-/node-20.10.4.tgz", @@ -1034,57 +1032,6 @@ "node": ">= 0.6" } }, - "node_modules/acorn": { - "version": "8.8.1", - "license": "MIT", - "optional": true, - "bin": { - "acorn": "bin/acorn" - }, - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/acorn-walk": { - "version": "8.2.0", - "license": "MIT", - "optional": true, - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/agent-base": { - "version": "6.0.2", - "license": "MIT", - "optional": true, - "dependencies": { - "debug": "4" - }, - "engines": { - "node": ">= 6.0.0" - } - }, - "node_modules/agent-base/node_modules/debug": { - "version": "4.3.4", - "license": "MIT", - "optional": true, - "dependencies": { - "ms": "2.1.2" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "node_modules/agent-base/node_modules/ms": { - "version": "2.1.2", - "license": "MIT", - "optional": true - }, "node_modules/ansi-styles": { "version": "4.3.0", "license": "MIT", @@ -1120,19 +1067,10 @@ }, "node_modules/asap": { "version": "2.0.6", + "resolved": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz", + "integrity": "sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA==", "license": "MIT" }, - "node_modules/ast-types": { - "version": "0.13.4", - "license": "MIT", - "optional": true, - "dependencies": { - "tslib": "^2.0.1" - }, - "engines": { - "node": ">=4" - } - }, "node_modules/async": { "version": "3.2.4", "license": "MIT" @@ -1169,11 +1107,13 @@ } }, "node_modules/body-parser": { - "version": "1.20.1", + "version": "1.20.2", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.2.tgz", + "integrity": "sha512-ml9pReCu3M61kGlqoTm2umSXTlRTuGTx0bfYj+uIUKKYycG5NtSbeetV3faSU6R7ajOPw0g/J1PvK4qNy7s5bA==", "license": "MIT", "dependencies": { "bytes": "3.1.2", - "content-type": "~1.0.4", + "content-type": "~1.0.5", "debug": "2.6.9", "depd": "2.0.0", "destroy": "1.2.0", @@ -1181,7 +1121,7 @@ "iconv-lite": "0.4.24", "on-finished": "2.4.1", "qs": "6.11.0", - "raw-body": "2.5.1", + "raw-body": "2.5.2", "type-is": "~1.6.18", "unpipe": "1.0.0" }, @@ -1298,11 +1238,15 @@ } }, "node_modules/chart.js": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/chart.js/-/chart.js-4.0.1.tgz", - "integrity": "sha512-5/8/9eBivwBZK81mKvmIwTb2Pmw4D/5h1RK9fBWZLLZ8mCJ+kfYNmV9rMrGoa5Hgy2/wVDBMLSUDudul2/9ihA==", + "version": "4.4.4", + "resolved": "https://registry.npmjs.org/chart.js/-/chart.js-4.4.4.tgz", + "integrity": "sha512-emICKGBABnxhMjUjlYRR12PmOXhJ2eJjEHL2/dZlWjxRAZT1D8xplLFq5M0tMQK8ja+wBS/tuVEJB5C6r7VxJA==", + "license": "MIT", + "dependencies": { + "@kurkle/color": "^0.3.0" + }, "engines": { - "pnpm": "^7.0.0" + "pnpm": ">=8" } }, "node_modules/chokidar": { @@ -1332,20 +1276,18 @@ } }, "node_modules/cloudinary": { - "version": "1.32.0", - "resolved": "https://registry.npmjs.org/cloudinary/-/cloudinary-1.32.0.tgz", - "integrity": "sha512-hbc5/ilOkwD49+Lucqze3z+2Tejc3YdH4tkI+y1Ciabi9Qh9MYcy4M3rYeDAYiMS/jIz5FfHOzx+JjVnPJxNAQ==", + "version": "1.41.3", + "resolved": "https://registry.npmjs.org/cloudinary/-/cloudinary-1.41.3.tgz", + "integrity": "sha512-4o84y+E7dbif3lMns+p3UW6w6hLHEifbX/7zBJvaih1E9QNMZITENQ14GPYJC4JmhygYXsuuBb9bRA3xWEoOfg==", + "license": "MIT", "dependencies": { - "cloudinary-core": "^2.10.2", - "core-js": "^3.6.5", + "cloudinary-core": "^2.13.0", + "core-js": "^3.30.1", "lodash": "^4.17.21", "q": "^1.5.1" }, "engines": { "node": ">=0.6" - }, - "optionalDependencies": { - "proxy-agent": "^5.0.0" } }, "node_modules/cloudinary-core": { @@ -1404,7 +1346,9 @@ } }, "node_modules/content-type": { - "version": "1.0.4", + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz", + "integrity": "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==", "license": "MIT", "engines": { "node": ">= 0.6" @@ -1433,7 +1377,9 @@ "license": "MIT" }, "node_modules/core-js": { - "version": "3.26.0", + "version": "3.38.1", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.38.1.tgz", + "integrity": "sha512-OP35aUorbU3Zvlx7pjsFdu1rGNnD4pgw/CWoYzRY3t2EzoVT7shKHY1dlAy3f41cGIO7ZDPQimhGFTlEYkG/Hw==", "hasInstallScript": true, "license": "MIT", "funding": { @@ -1456,14 +1402,6 @@ "node": ">= 0.10" } }, - "node_modules/data-uri-to-buffer": { - "version": "3.0.1", - "license": "MIT", - "optional": true, - "engines": { - "node": ">= 6" - } - }, "node_modules/datauri": { "version": "4.1.0", "license": "MIT", @@ -1482,25 +1420,6 @@ "ms": "2.0.0" } }, - "node_modules/deep-is": { - "version": "0.1.4", - "license": "MIT", - "optional": true - }, - "node_modules/degenerator": { - "version": "3.0.2", - "license": "MIT", - "optional": true, - "dependencies": { - "ast-types": "^0.13.2", - "escodegen": "^1.8.1", - "esprima": "^4.0.0", - "vm2": "^3.9.8" - }, - "engines": { - "node": ">= 6" - } - }, "node_modules/depd": { "version": "2.0.0", "license": "MIT", @@ -1517,7 +1436,9 @@ } }, "node_modules/dezalgo": { - "version": "1.0.3", + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/dezalgo/-/dezalgo-1.0.4.tgz", + "integrity": "sha512-rXSP0bf+5n0Qonsb+SVVfNfIsimO4HEtmnIpPHY8Q1UCzKlQrDMfdobr8nJOOsRgWCyMRqeSBQzmWUMq7zvVig==", "license": "ISC", "dependencies": { "asap": "^2.0.0", @@ -1533,10 +1454,15 @@ } }, "node_modules/dotenv": { - "version": "16.0.3", + "version": "16.4.5", + "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.4.5.tgz", + "integrity": "sha512-ZmdL2rui+eB2YwhsWzjInR8LldtZHGDoQ1ugH85ppHKwpUHL7j7rN0Ti9NCnGiQbhaZ11FpR+7ao1dNsmduNUg==", "license": "BSD-2-Clause", "engines": { "node": ">=12" + }, + "funding": { + "url": "https://dotenvx.com" } }, "node_modules/ecdsa-sig-formatter": { @@ -1552,7 +1478,9 @@ "license": "MIT" }, "node_modules/ejs": { - "version": "3.1.8", + "version": "3.1.10", + "resolved": "https://registry.npmjs.org/ejs/-/ejs-3.1.10.tgz", + "integrity": "sha512-UeJmFfOrAQS8OJWPZ4qtgHyWExa088/MtK5UEyoJGFH67cDEXkZSviOiKRCZ4Xij0zxI3JECgYs3oKx+AizQBA==", "license": "Apache-2.0", "dependencies": { "jake": "^10.8.5" @@ -1575,55 +1503,6 @@ "version": "1.0.3", "license": "MIT" }, - "node_modules/escodegen": { - "version": "1.14.3", - "license": "BSD-2-Clause", - "optional": true, - "dependencies": { - "esprima": "^4.0.1", - "estraverse": "^4.2.0", - "esutils": "^2.0.2", - "optionator": "^0.8.1" - }, - "bin": { - "escodegen": "bin/escodegen.js", - "esgenerate": "bin/esgenerate.js" - }, - "engines": { - "node": ">=4.0" - }, - "optionalDependencies": { - "source-map": "~0.6.1" - } - }, - "node_modules/esprima": { - "version": "4.0.1", - "license": "BSD-2-Clause", - "optional": true, - "bin": { - "esparse": "bin/esparse.js", - "esvalidate": "bin/esvalidate.js" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/estraverse": { - "version": "4.3.0", - "license": "BSD-2-Clause", - "optional": true, - "engines": { - "node": ">=4.0" - } - }, - "node_modules/esutils": { - "version": "2.0.3", - "license": "BSD-2-Clause", - "optional": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/etag": { "version": "1.8.1", "license": "MIT", @@ -1632,15 +1511,17 @@ } }, "node_modules/express": { - "version": "4.18.2", + "version": "4.19.2", + "resolved": "https://registry.npmjs.org/express/-/express-4.19.2.tgz", + "integrity": "sha512-5T6nhjsT+EOMzuck8JjBHARTHfMht0POzlA60WV2pMD3gyXw2LZnZ+ueGdNxG+0calOJcWKbpFcuzLZ91YWq9Q==", "license": "MIT", "dependencies": { "accepts": "~1.3.8", "array-flatten": "1.1.1", - "body-parser": "1.20.1", + "body-parser": "1.20.2", "content-disposition": "0.5.4", "content-type": "~1.0.4", - "cookie": "0.5.0", + "cookie": "0.6.0", "cookie-signature": "1.0.6", "debug": "2.6.9", "depd": "2.0.0", @@ -1675,11 +1556,13 @@ "version": "2.5.1" }, "node_modules/express-session": { - "version": "1.17.3", + "version": "1.18.0", + "resolved": "https://registry.npmjs.org/express-session/-/express-session-1.18.0.tgz", + "integrity": "sha512-m93QLWr0ju+rOwApSsyso838LQwgfs44QtOP/WBiwtAgPIo/SAh1a5c6nn2BR6mFNZehTpqKDESzP+fRHVbxwQ==", "license": "MIT", "dependencies": { - "cookie": "0.4.2", - "cookie-signature": "1.0.6", + "cookie": "0.6.0", + "cookie-signature": "1.0.7", "debug": "2.6.9", "depd": "~2.0.0", "on-headers": "~1.0.2", @@ -1692,24 +1575,29 @@ } }, "node_modules/express-session/node_modules/cookie": { - "version": "0.4.2", + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.6.0.tgz", + "integrity": "sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw==", "license": "MIT", "engines": { "node": ">= 0.6" } }, + "node_modules/express-session/node_modules/cookie-signature": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.7.tgz", + "integrity": "sha512-NXdYc3dLr47pBkpUCHtKSwIOQXLVn8dZEuywboCOJY/osA0wFSLlSawr3KN8qXJEyX66FcONTH8EIlVuK0yyFA==", + "license": "MIT" + }, "node_modules/express/node_modules/cookie": { - "version": "0.5.0", + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.6.0.tgz", + "integrity": "sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw==", "license": "MIT", "engines": { "node": ">= 0.6" } }, - "node_modules/fast-levenshtein": { - "version": "2.0.6", - "license": "MIT", - "optional": true - }, "node_modules/fast-xml-parser": { "version": "4.0.11", "license": "MIT", @@ -1725,14 +1613,6 @@ "url": "https://paypal.me/naturalintelligence" } }, - "node_modules/file-uri-to-path": { - "version": "2.0.0", - "license": "MIT", - "optional": true, - "engines": { - "node": ">= 6" - } - }, "node_modules/filelist": { "version": "1.0.4", "license": "Apache-2.0", @@ -1768,28 +1648,20 @@ } }, "node_modules/formidable": { - "version": "2.0.1", + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/formidable/-/formidable-2.1.2.tgz", + "integrity": "sha512-CM3GuJ57US06mlpQ47YcunuUZ9jpm8Vx+P2CGt2j7HpgkKZO/DJYQ0Bobim8G6PFQmK5lOqOOdUXboU+h73A4g==", "license": "MIT", "dependencies": { - "dezalgo": "1.0.3", - "hexoid": "1.0.0", - "once": "1.4.0", - "qs": "6.9.3" + "dezalgo": "^1.0.4", + "hexoid": "^1.0.0", + "once": "^1.4.0", + "qs": "^6.11.0" }, "funding": { "url": "https://ko-fi.com/tunnckoCore/commissions" } }, - "node_modules/formidable/node_modules/qs": { - "version": "6.9.3", - "license": "BSD-3-Clause", - "engines": { - "node": ">=0.6" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/forwarded": { "version": "0.2.0", "license": "MIT", @@ -1804,51 +1676,6 @@ "node": ">= 0.6" } }, - "node_modules/fs-extra": { - "version": "8.1.0", - "license": "MIT", - "optional": true, - "dependencies": { - "graceful-fs": "^4.2.0", - "jsonfile": "^4.0.0", - "universalify": "^0.1.0" - }, - "engines": { - "node": ">=6 <7 || >=8" - } - }, - "node_modules/ftp": { - "version": "0.3.10", - "optional": true, - "dependencies": { - "readable-stream": "1.1.x", - "xregexp": "2.0.0" - }, - "engines": { - "node": ">=0.8.0" - } - }, - "node_modules/ftp/node_modules/isarray": { - "version": "0.0.1", - "license": "MIT", - "optional": true - }, - "node_modules/ftp/node_modules/readable-stream": { - "version": "1.1.14", - "license": "MIT", - "optional": true, - "dependencies": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.1", - "isarray": "0.0.1", - "string_decoder": "~0.10.x" - } - }, - "node_modules/ftp/node_modules/string_decoder": { - "version": "0.10.31", - "license": "MIT", - "optional": true - }, "node_modules/function-bind": { "version": "1.1.1", "license": "MIT" @@ -1869,43 +1696,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/get-uri": { - "version": "3.0.2", - "license": "MIT", - "optional": true, - "dependencies": { - "@tootallnate/once": "1", - "data-uri-to-buffer": "3", - "debug": "4", - "file-uri-to-path": "2", - "fs-extra": "^8.1.0", - "ftp": "^0.3.10" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/get-uri/node_modules/debug": { - "version": "4.3.4", - "license": "MIT", - "optional": true, - "dependencies": { - "ms": "2.1.2" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "node_modules/get-uri/node_modules/ms": { - "version": "2.1.2", - "license": "MIT", - "optional": true - }, "node_modules/glob-parent": { "version": "5.1.2", "dev": true, @@ -1917,11 +1707,6 @@ "node": ">= 6" } }, - "node_modules/graceful-fs": { - "version": "4.2.10", - "license": "ISC", - "optional": true - }, "node_modules/has": { "version": "1.0.3", "license": "MIT", @@ -1970,73 +1755,6 @@ "node": ">= 0.8" } }, - "node_modules/http-proxy-agent": { - "version": "4.0.1", - "license": "MIT", - "optional": true, - "dependencies": { - "@tootallnate/once": "1", - "agent-base": "6", - "debug": "4" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/http-proxy-agent/node_modules/debug": { - "version": "4.3.4", - "license": "MIT", - "optional": true, - "dependencies": { - "ms": "2.1.2" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "node_modules/http-proxy-agent/node_modules/ms": { - "version": "2.1.2", - "license": "MIT", - "optional": true - }, - "node_modules/https-proxy-agent": { - "version": "5.0.1", - "license": "MIT", - "optional": true, - "dependencies": { - "agent-base": "6", - "debug": "4" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/https-proxy-agent/node_modules/debug": { - "version": "4.3.4", - "license": "MIT", - "optional": true, - "dependencies": { - "ms": "2.1.2" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "node_modules/https-proxy-agent/node_modules/ms": { - "version": "2.1.2", - "license": "MIT", - "optional": true - }, "node_modules/iconv-lite": { "version": "0.4.24", "license": "MIT", @@ -2087,11 +1805,6 @@ "version": "2.0.4", "license": "ISC" }, - "node_modules/ip": { - "version": "1.1.8", - "license": "MIT", - "optional": true - }, "node_modules/ipaddr.js": { "version": "1.9.1", "license": "MIT", @@ -2177,14 +1890,6 @@ "node": "*" } }, - "node_modules/jsonfile": { - "version": "4.0.0", - "license": "MIT", - "optional": true, - "optionalDependencies": { - "graceful-fs": "^4.1.6" - } - }, "node_modules/jsonwebtoken": { "version": "8.5.1", "resolved": "https://registry.npmjs.org/jsonwebtoken/-/jsonwebtoken-8.5.1.tgz", @@ -2238,18 +1943,6 @@ "node": ">=12.0.0" } }, - "node_modules/levn": { - "version": "0.3.0", - "license": "MIT", - "optional": true, - "dependencies": { - "prelude-ls": "~1.1.2", - "type-check": "~0.3.2" - }, - "engines": { - "node": ">= 0.8.0" - } - }, "node_modules/lodash": { "version": "4.17.21", "license": "MIT" @@ -2289,14 +1982,6 @@ "resolved": "https://registry.npmjs.org/lodash.once/-/lodash.once-4.1.1.tgz", "integrity": "sha512-Sb487aTOCr9drQVL8pIxOzVhafOjZN9UU54hiN8PU3uAiSV7lx1yYNpbNmex2PK6dSJoNTSJUUswT651yww3Mg==" }, - "node_modules/lru-cache": { - "version": "5.1.1", - "license": "ISC", - "optional": true, - "dependencies": { - "yallist": "^3.0.2" - } - }, "node_modules/media-typer": { "version": "0.3.0", "license": "MIT", @@ -2387,9 +2072,10 @@ } }, "node_modules/mongodb": { - "version": "4.17.1", - "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-4.17.1.tgz", - "integrity": "sha512-MBuyYiPUPRTqfH2dV0ya4dcr2E5N52ocBuZ8Sgg/M030nGF78v855B3Z27mZJnp8PxjnUquEnAtjOsphgMZOlQ==", + "version": "4.17.2", + "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-4.17.2.tgz", + "integrity": "sha512-mLV7SEiov2LHleRJPMPrK2PMyhXFZt2UQLC4VD4pnth3jMjYKHhtqfwwkkvS/NXuo/Fp3vbhaNcXrIDaLRb9Tg==", + "license": "Apache-2.0", "dependencies": { "bson": "^4.7.2", "mongodb-connection-string-url": "^2.6.0", @@ -2413,13 +2099,14 @@ } }, "node_modules/mongoose": { - "version": "6.12.3", - "resolved": "https://registry.npmjs.org/mongoose/-/mongoose-6.12.3.tgz", - "integrity": "sha512-MNJymaaXali7w7rHBxVUoQ3HzHHMk/7I/+yeeoSa4rUzdjZwIWQznBNvVgc0A8ghuJwsuIkb5LyLV6gSjGjWyQ==", + "version": "6.13.0", + "resolved": "https://registry.npmjs.org/mongoose/-/mongoose-6.13.0.tgz", + "integrity": "sha512-mieZBTtRIqA2xCGgl9Hlcr6fXU+AKNSOdeKfMYrb/IgdL3M/bDO4kYftsItIy86XyAoT5xV28alfCbMocFG8oA==", + "license": "MIT", "dependencies": { "bson": "^4.7.2", "kareem": "2.5.1", - "mongodb": "4.17.1", + "mongodb": "4.17.2", "mpath": "0.9.0", "mquery": "4.0.3", "ms": "2.1.3", @@ -2507,14 +2194,6 @@ "node": ">= 0.6" } }, - "node_modules/netmask": { - "version": "2.0.2", - "license": "MIT", - "optional": true, - "engines": { - "node": ">= 0.4.0" - } - }, "node_modules/nodemon": { "version": "2.0.20", "dev": true, @@ -2653,75 +2332,6 @@ "wrappy": "1" } }, - "node_modules/optionator": { - "version": "0.8.3", - "license": "MIT", - "optional": true, - "dependencies": { - "deep-is": "~0.1.3", - "fast-levenshtein": "~2.0.6", - "levn": "~0.3.0", - "prelude-ls": "~1.1.2", - "type-check": "~0.3.2", - "word-wrap": "~1.2.3" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/pac-proxy-agent": { - "version": "5.0.0", - "license": "MIT", - "optional": true, - "dependencies": { - "@tootallnate/once": "1", - "agent-base": "6", - "debug": "4", - "get-uri": "3", - "http-proxy-agent": "^4.0.1", - "https-proxy-agent": "5", - "pac-resolver": "^5.0.0", - "raw-body": "^2.2.0", - "socks-proxy-agent": "5" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/pac-proxy-agent/node_modules/debug": { - "version": "4.3.4", - "license": "MIT", - "optional": true, - "dependencies": { - "ms": "2.1.2" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "node_modules/pac-proxy-agent/node_modules/ms": { - "version": "2.1.2", - "license": "MIT", - "optional": true - }, - "node_modules/pac-resolver": { - "version": "5.0.1", - "license": "MIT", - "optional": true, - "dependencies": { - "degenerator": "^3.0.2", - "ip": "^1.1.5", - "netmask": "^2.0.2" - }, - "engines": { - "node": ">= 8" - } - }, "node_modules/parseurl": { "version": "1.3.3", "license": "MIT", @@ -2730,7 +2340,9 @@ } }, "node_modules/passport": { - "version": "0.6.0", + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/passport/-/passport-0.7.0.tgz", + "integrity": "sha512-cPLl+qZpSc+ireUvt+IzqbED1cHHkDoVYMo30jbJIdOOjQ1MQYZBPiNvmi8UM6lJuOpTPXJGZQk0DtC4y61MYQ==", "license": "MIT", "dependencies": { "passport-strategy": "1.x.x", @@ -2790,13 +2402,6 @@ "url": "https://github.com/sponsors/jonschlinkert" } }, - "node_modules/prelude-ls": { - "version": "1.1.2", - "optional": true, - "engines": { - "node": ">= 0.8.0" - } - }, "node_modules/process-nextick-args": { "version": "2.0.1", "license": "MIT" @@ -2812,50 +2417,6 @@ "node": ">= 0.10" } }, - "node_modules/proxy-agent": { - "version": "5.0.0", - "license": "MIT", - "optional": true, - "dependencies": { - "agent-base": "^6.0.0", - "debug": "4", - "http-proxy-agent": "^4.0.0", - "https-proxy-agent": "^5.0.0", - "lru-cache": "^5.1.1", - "pac-proxy-agent": "^5.0.0", - "proxy-from-env": "^1.0.0", - "socks-proxy-agent": "^5.0.0" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/proxy-agent/node_modules/debug": { - "version": "4.3.4", - "license": "MIT", - "optional": true, - "dependencies": { - "ms": "2.1.2" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "node_modules/proxy-agent/node_modules/ms": { - "version": "2.1.2", - "license": "MIT", - "optional": true - }, - "node_modules/proxy-from-env": { - "version": "1.1.0", - "license": "MIT", - "optional": true - }, "node_modules/pstree.remy": { "version": "1.1.8", "dev": true, @@ -2912,7 +2473,9 @@ } }, "node_modules/raw-body": { - "version": "2.5.1", + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.2.tgz", + "integrity": "sha512-8zGqypfENjCIqGhgXToC8aB2r7YrBX+AQAfIPs/Mlk+BtPTztOvTS01NRW/3Eh60J+a48lt8qsCzirQ6loCVfA==", "license": "MIT", "dependencies": { "bytes": "3.1.2", @@ -3083,52 +2646,10 @@ "npm": ">= 3.0.0" } }, - "node_modules/socks-proxy-agent": { - "version": "5.0.1", - "license": "MIT", - "optional": true, - "dependencies": { - "agent-base": "^6.0.2", - "debug": "4", - "socks": "^2.3.3" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/socks-proxy-agent/node_modules/debug": { - "version": "4.3.4", - "license": "MIT", - "optional": true, - "dependencies": { - "ms": "2.1.2" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "node_modules/socks-proxy-agent/node_modules/ms": { - "version": "2.1.2", - "license": "MIT", - "optional": true - }, "node_modules/socks/node_modules/ip": { "version": "2.0.0", "license": "MIT" }, - "node_modules/source-map": { - "version": "0.6.1", - "license": "BSD-3-Clause", - "optional": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/sparse-bitfield": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/sparse-bitfield/-/sparse-bitfield-3.0.3.tgz", @@ -3183,9 +2704,9 @@ } }, "node_modules/swiper": { - "version": "8.4.4", - "resolved": "https://registry.npmjs.org/swiper/-/swiper-8.4.4.tgz", - "integrity": "sha512-jA/8BfOZwT8PqPSnMX0TENZYitXEhNa7ZSNj1Diqh5LZyUJoBQaZcqAiPQ/PIg1+IPaRn/V8ZYVb0nxHMh51yw==", + "version": "8.4.7", + "resolved": "https://registry.npmjs.org/swiper/-/swiper-8.4.7.tgz", + "integrity": "sha512-VwO/KU3i9IV2Sf+W2NqyzwWob4yX9Qdedq6vBtS0rFqJ6Fa5iLUJwxQkuD4I38w0WDJwmFl8ojkdcRFPHWD+2g==", "funding": [ { "type": "patreon", @@ -3197,6 +2718,7 @@ } ], "hasInstallScript": true, + "license": "MIT", "dependencies": { "dom7": "^4.0.4", "ssr-window": "^4.0.2" @@ -3250,17 +2772,6 @@ "license": "0BSD", "optional": true }, - "node_modules/type-check": { - "version": "0.3.2", - "license": "MIT", - "optional": true, - "dependencies": { - "prelude-ls": "~1.1.2" - }, - "engines": { - "node": ">= 0.8.0" - } - }, "node_modules/type-is": { "version": "1.6.18", "license": "MIT", @@ -3296,14 +2807,6 @@ "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==" }, - "node_modules/universalify": { - "version": "0.1.2", - "license": "MIT", - "optional": true, - "engines": { - "node": ">= 4.0.0" - } - }, "node_modules/unpipe": { "version": "1.0.0", "license": "MIT", @@ -3334,22 +2837,7 @@ "version": "1.1.2", "license": "MIT", "engines": { - "node": ">= 0.8" - } - }, - "node_modules/vm2": { - "version": "3.9.11", - "license": "MIT", - "optional": true, - "dependencies": { - "acorn": "^8.7.0", - "acorn-walk": "^8.2.0" - }, - "bin": { - "vm2": "bin/vm2" - }, - "engines": { - "node": ">=6.0" + "node": ">= 0.8" } }, "node_modules/webidl-conversions": { @@ -3372,34 +2860,16 @@ "node": ">=12" } }, - "node_modules/word-wrap": { - "version": "1.2.3", - "license": "MIT", - "optional": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/wrappy": { "version": "1.0.2", "license": "ISC" }, - "node_modules/xregexp": { - "version": "2.0.0", - "license": "MIT", - "optional": true - }, "node_modules/xtend": { "version": "4.0.2", "license": "MIT", "engines": { "node": ">=0.4" } - }, - "node_modules/yallist": { - "version": "3.1.1", - "license": "ISC", - "optional": true } }, "dependencies": { @@ -4123,6 +3593,11 @@ "tslib": "^2.3.1" } }, + "@kurkle/color": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/@kurkle/color/-/color-0.3.2.tgz", + "integrity": "sha512-fuscdXJ9G1qb7W8VdHi+IwRqij3lBkosAm4ydQtEmbY58OzHXqQhvlxqEkoz0yssNVn38bcpRWgA9PP+OGoisw==" + }, "@mongodb-js/saslprep": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/@mongodb-js/saslprep/-/saslprep-1.1.1.tgz", @@ -4132,10 +3607,6 @@ "sparse-bitfield": "^3.0.3" } }, - "@tootallnate/once": { - "version": "1.1.2", - "optional": true - }, "@types/node": { "version": "20.10.4", "resolved": "https://registry.npmjs.org/@types/node/-/node-20.10.4.tgz", @@ -4169,34 +3640,6 @@ "negotiator": "0.6.3" } }, - "acorn": { - "version": "8.8.1", - "optional": true - }, - "acorn-walk": { - "version": "8.2.0", - "optional": true - }, - "agent-base": { - "version": "6.0.2", - "optional": true, - "requires": { - "debug": "4" - }, - "dependencies": { - "debug": { - "version": "4.3.4", - "optional": true, - "requires": { - "ms": "2.1.2" - } - }, - "ms": { - "version": "2.1.2", - "optional": true - } - } - }, "ansi-styles": { "version": "4.3.0", "requires": { @@ -4218,14 +3661,9 @@ "version": "1.1.1" }, "asap": { - "version": "2.0.6" - }, - "ast-types": { - "version": "0.13.4", - "optional": true, - "requires": { - "tslib": "^2.0.1" - } + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz", + "integrity": "sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA==" }, "async": { "version": "3.2.4" @@ -4243,10 +3681,12 @@ "dev": true }, "body-parser": { - "version": "1.20.1", + "version": "1.20.2", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.2.tgz", + "integrity": "sha512-ml9pReCu3M61kGlqoTm2umSXTlRTuGTx0bfYj+uIUKKYycG5NtSbeetV3faSU6R7ajOPw0g/J1PvK4qNy7s5bA==", "requires": { "bytes": "3.1.2", - "content-type": "~1.0.4", + "content-type": "~1.0.5", "debug": "2.6.9", "depd": "2.0.0", "destroy": "1.2.0", @@ -4254,7 +3694,7 @@ "iconv-lite": "0.4.24", "on-finished": "2.4.1", "qs": "6.11.0", - "raw-body": "2.5.1", + "raw-body": "2.5.2", "type-is": "~1.6.18", "unpipe": "1.0.0" } @@ -4325,9 +3765,12 @@ } }, "chart.js": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/chart.js/-/chart.js-4.0.1.tgz", - "integrity": "sha512-5/8/9eBivwBZK81mKvmIwTb2Pmw4D/5h1RK9fBWZLLZ8mCJ+kfYNmV9rMrGoa5Hgy2/wVDBMLSUDudul2/9ihA==" + "version": "4.4.4", + "resolved": "https://registry.npmjs.org/chart.js/-/chart.js-4.4.4.tgz", + "integrity": "sha512-emICKGBABnxhMjUjlYRR12PmOXhJ2eJjEHL2/dZlWjxRAZT1D8xplLFq5M0tMQK8ja+wBS/tuVEJB5C6r7VxJA==", + "requires": { + "@kurkle/color": "^0.3.0" + } }, "chokidar": { "version": "3.5.3", @@ -4344,14 +3787,13 @@ } }, "cloudinary": { - "version": "1.32.0", - "resolved": "https://registry.npmjs.org/cloudinary/-/cloudinary-1.32.0.tgz", - "integrity": "sha512-hbc5/ilOkwD49+Lucqze3z+2Tejc3YdH4tkI+y1Ciabi9Qh9MYcy4M3rYeDAYiMS/jIz5FfHOzx+JjVnPJxNAQ==", + "version": "1.41.3", + "resolved": "https://registry.npmjs.org/cloudinary/-/cloudinary-1.41.3.tgz", + "integrity": "sha512-4o84y+E7dbif3lMns+p3UW6w6hLHEifbX/7zBJvaih1E9QNMZITENQ14GPYJC4JmhygYXsuuBb9bRA3xWEoOfg==", "requires": { - "cloudinary-core": "^2.10.2", - "core-js": "^3.6.5", + "cloudinary-core": "^2.13.0", + "core-js": "^3.30.1", "lodash": "^4.17.21", - "proxy-agent": "^5.0.0", "q": "^1.5.1" } }, @@ -4392,7 +3834,9 @@ } }, "content-type": { - "version": "1.0.4" + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz", + "integrity": "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==" }, "cookie": { "version": "0.4.1" @@ -4408,7 +3852,9 @@ "version": "1.0.6" }, "core-js": { - "version": "3.26.0" + "version": "3.38.1", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.38.1.tgz", + "integrity": "sha512-OP35aUorbU3Zvlx7pjsFdu1rGNnD4pgw/CWoYzRY3t2EzoVT7shKHY1dlAy3f41cGIO7ZDPQimhGFTlEYkG/Hw==" }, "core-util-is": { "version": "1.0.3" @@ -4420,10 +3866,6 @@ "vary": "^1" } }, - "data-uri-to-buffer": { - "version": "3.0.1", - "optional": true - }, "datauri": { "version": "4.1.0", "requires": { @@ -4437,20 +3879,6 @@ "ms": "2.0.0" } }, - "deep-is": { - "version": "0.1.4", - "optional": true - }, - "degenerator": { - "version": "3.0.2", - "optional": true, - "requires": { - "ast-types": "^0.13.2", - "escodegen": "^1.8.1", - "esprima": "^4.0.0", - "vm2": "^3.9.8" - } - }, "depd": { "version": "2.0.0" }, @@ -4458,7 +3886,9 @@ "version": "1.2.0" }, "dezalgo": { - "version": "1.0.3", + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/dezalgo/-/dezalgo-1.0.4.tgz", + "integrity": "sha512-rXSP0bf+5n0Qonsb+SVVfNfIsimO4HEtmnIpPHY8Q1UCzKlQrDMfdobr8nJOOsRgWCyMRqeSBQzmWUMq7zvVig==", "requires": { "asap": "^2.0.0", "wrappy": "1" @@ -4473,7 +3903,9 @@ } }, "dotenv": { - "version": "16.0.3" + "version": "16.4.5", + "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.4.5.tgz", + "integrity": "sha512-ZmdL2rui+eB2YwhsWzjInR8LldtZHGDoQ1ugH85ppHKwpUHL7j7rN0Ti9NCnGiQbhaZ11FpR+7ao1dNsmduNUg==" }, "ecdsa-sig-formatter": { "version": "1.0.11", @@ -4487,7 +3919,9 @@ "version": "1.1.1" }, "ejs": { - "version": "3.1.8", + "version": "3.1.10", + "resolved": "https://registry.npmjs.org/ejs/-/ejs-3.1.10.tgz", + "integrity": "sha512-UeJmFfOrAQS8OJWPZ4qtgHyWExa088/MtK5UEyoJGFH67cDEXkZSviOiKRCZ4Xij0zxI3JECgYs3oKx+AizQBA==", "requires": { "jake": "^10.8.5" } @@ -4498,41 +3932,20 @@ "escape-html": { "version": "1.0.3" }, - "escodegen": { - "version": "1.14.3", - "optional": true, - "requires": { - "esprima": "^4.0.1", - "estraverse": "^4.2.0", - "esutils": "^2.0.2", - "optionator": "^0.8.1", - "source-map": "~0.6.1" - } - }, - "esprima": { - "version": "4.0.1", - "optional": true - }, - "estraverse": { - "version": "4.3.0", - "optional": true - }, - "esutils": { - "version": "2.0.3", - "optional": true - }, "etag": { "version": "1.8.1" }, "express": { - "version": "4.18.2", + "version": "4.19.2", + "resolved": "https://registry.npmjs.org/express/-/express-4.19.2.tgz", + "integrity": "sha512-5T6nhjsT+EOMzuck8JjBHARTHfMht0POzlA60WV2pMD3gyXw2LZnZ+ueGdNxG+0calOJcWKbpFcuzLZ91YWq9Q==", "requires": { "accepts": "~1.3.8", "array-flatten": "1.1.1", - "body-parser": "1.20.1", + "body-parser": "1.20.2", "content-disposition": "0.5.4", "content-type": "~1.0.4", - "cookie": "0.5.0", + "cookie": "0.6.0", "cookie-signature": "1.0.6", "debug": "2.6.9", "depd": "2.0.0", @@ -4561,7 +3974,9 @@ }, "dependencies": { "cookie": { - "version": "0.5.0" + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.6.0.tgz", + "integrity": "sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw==" } } }, @@ -4569,10 +3984,12 @@ "version": "2.5.1" }, "express-session": { - "version": "1.17.3", + "version": "1.18.0", + "resolved": "https://registry.npmjs.org/express-session/-/express-session-1.18.0.tgz", + "integrity": "sha512-m93QLWr0ju+rOwApSsyso838LQwgfs44QtOP/WBiwtAgPIo/SAh1a5c6nn2BR6mFNZehTpqKDESzP+fRHVbxwQ==", "requires": { - "cookie": "0.4.2", - "cookie-signature": "1.0.6", + "cookie": "0.6.0", + "cookie-signature": "1.0.7", "debug": "2.6.9", "depd": "~2.0.0", "on-headers": "~1.0.2", @@ -4582,14 +3999,17 @@ }, "dependencies": { "cookie": { - "version": "0.4.2" + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.6.0.tgz", + "integrity": "sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw==" + }, + "cookie-signature": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.7.tgz", + "integrity": "sha512-NXdYc3dLr47pBkpUCHtKSwIOQXLVn8dZEuywboCOJY/osA0wFSLlSawr3KN8qXJEyX66FcONTH8EIlVuK0yyFA==" } } }, - "fast-levenshtein": { - "version": "2.0.6", - "optional": true - }, "fast-xml-parser": { "version": "4.0.11", "optional": true, @@ -4597,10 +4017,6 @@ "strnum": "^1.0.5" } }, - "file-uri-to-path": { - "version": "2.0.0", - "optional": true - }, "filelist": { "version": "1.0.4", "requires": { @@ -4627,17 +4043,14 @@ } }, "formidable": { - "version": "2.0.1", + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/formidable/-/formidable-2.1.2.tgz", + "integrity": "sha512-CM3GuJ57US06mlpQ47YcunuUZ9jpm8Vx+P2CGt2j7HpgkKZO/DJYQ0Bobim8G6PFQmK5lOqOOdUXboU+h73A4g==", "requires": { - "dezalgo": "1.0.3", - "hexoid": "1.0.0", - "once": "1.4.0", - "qs": "6.9.3" - }, - "dependencies": { - "qs": { - "version": "6.9.3" - } + "dezalgo": "^1.0.4", + "hexoid": "^1.0.0", + "once": "^1.4.0", + "qs": "^6.11.0" } }, "forwarded": { @@ -4646,43 +4059,6 @@ "fresh": { "version": "0.5.2" }, - "fs-extra": { - "version": "8.1.0", - "optional": true, - "requires": { - "graceful-fs": "^4.2.0", - "jsonfile": "^4.0.0", - "universalify": "^0.1.0" - } - }, - "ftp": { - "version": "0.3.10", - "optional": true, - "requires": { - "readable-stream": "1.1.x", - "xregexp": "2.0.0" - }, - "dependencies": { - "isarray": { - "version": "0.0.1", - "optional": true - }, - "readable-stream": { - "version": "1.1.14", - "optional": true, - "requires": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.1", - "isarray": "0.0.1", - "string_decoder": "~0.10.x" - } - }, - "string_decoder": { - "version": "0.10.31", - "optional": true - } - } - }, "function-bind": { "version": "1.1.1" }, @@ -4697,31 +4073,6 @@ "has-symbols": "^1.0.3" } }, - "get-uri": { - "version": "3.0.2", - "optional": true, - "requires": { - "@tootallnate/once": "1", - "data-uri-to-buffer": "3", - "debug": "4", - "file-uri-to-path": "2", - "fs-extra": "^8.1.0", - "ftp": "^0.3.10" - }, - "dependencies": { - "debug": { - "version": "4.3.4", - "optional": true, - "requires": { - "ms": "2.1.2" - } - }, - "ms": { - "version": "2.1.2", - "optional": true - } - } - }, "glob-parent": { "version": "5.1.2", "dev": true, @@ -4729,10 +4080,6 @@ "is-glob": "^4.0.1" } }, - "graceful-fs": { - "version": "4.2.10", - "optional": true - }, "has": { "version": "1.0.3", "requires": { @@ -4758,49 +4105,6 @@ "toidentifier": "1.0.1" } }, - "http-proxy-agent": { - "version": "4.0.1", - "optional": true, - "requires": { - "@tootallnate/once": "1", - "agent-base": "6", - "debug": "4" - }, - "dependencies": { - "debug": { - "version": "4.3.4", - "optional": true, - "requires": { - "ms": "2.1.2" - } - }, - "ms": { - "version": "2.1.2", - "optional": true - } - } - }, - "https-proxy-agent": { - "version": "5.0.1", - "optional": true, - "requires": { - "agent-base": "6", - "debug": "4" - }, - "dependencies": { - "debug": { - "version": "4.3.4", - "optional": true, - "requires": { - "ms": "2.1.2" - } - }, - "ms": { - "version": "2.1.2", - "optional": true - } - } - }, "iconv-lite": { "version": "0.4.24", "requires": { @@ -4823,10 +4127,6 @@ "inherits": { "version": "2.0.4" }, - "ip": { - "version": "1.1.8", - "optional": true - }, "ipaddr.js": { "version": "1.9.1" }, @@ -4883,13 +4183,6 @@ } } }, - "jsonfile": { - "version": "4.0.0", - "optional": true, - "requires": { - "graceful-fs": "^4.1.6" - } - }, "jsonwebtoken": { "version": "8.5.1", "resolved": "https://registry.npmjs.org/jsonwebtoken/-/jsonwebtoken-8.5.1.tgz", @@ -4938,14 +4231,6 @@ "resolved": "https://registry.npmjs.org/kareem/-/kareem-2.5.1.tgz", "integrity": "sha512-7jFxRVm+jD+rkq3kY0iZDJfsO2/t4BBPeEb2qKn2lR/9KhuksYk5hxzfRYWMPV8P/x2d0kHD306YyWLzjjH+uA==" }, - "levn": { - "version": "0.3.0", - "optional": true, - "requires": { - "prelude-ls": "~1.1.2", - "type-check": "~0.3.2" - } - }, "lodash": { "version": "4.17.21" }, @@ -4984,13 +4269,6 @@ "resolved": "https://registry.npmjs.org/lodash.once/-/lodash.once-4.1.1.tgz", "integrity": "sha512-Sb487aTOCr9drQVL8pIxOzVhafOjZN9UU54hiN8PU3uAiSV7lx1yYNpbNmex2PK6dSJoNTSJUUswT651yww3Mg==" }, - "lru-cache": { - "version": "5.1.1", - "optional": true, - "requires": { - "yallist": "^3.0.2" - } - }, "media-typer": { "version": "0.3.0" }, @@ -5039,9 +4317,9 @@ } }, "mongodb": { - "version": "4.17.1", - "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-4.17.1.tgz", - "integrity": "sha512-MBuyYiPUPRTqfH2dV0ya4dcr2E5N52ocBuZ8Sgg/M030nGF78v855B3Z27mZJnp8PxjnUquEnAtjOsphgMZOlQ==", + "version": "4.17.2", + "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-4.17.2.tgz", + "integrity": "sha512-mLV7SEiov2LHleRJPMPrK2PMyhXFZt2UQLC4VD4pnth3jMjYKHhtqfwwkkvS/NXuo/Fp3vbhaNcXrIDaLRb9Tg==", "requires": { "@aws-sdk/credential-providers": "^3.186.0", "@mongodb-js/saslprep": "^1.1.0", @@ -5060,13 +4338,13 @@ } }, "mongoose": { - "version": "6.12.3", - "resolved": "https://registry.npmjs.org/mongoose/-/mongoose-6.12.3.tgz", - "integrity": "sha512-MNJymaaXali7w7rHBxVUoQ3HzHHMk/7I/+yeeoSa4rUzdjZwIWQznBNvVgc0A8ghuJwsuIkb5LyLV6gSjGjWyQ==", + "version": "6.13.0", + "resolved": "https://registry.npmjs.org/mongoose/-/mongoose-6.13.0.tgz", + "integrity": "sha512-mieZBTtRIqA2xCGgl9Hlcr6fXU+AKNSOdeKfMYrb/IgdL3M/bDO4kYftsItIy86XyAoT5xV28alfCbMocFG8oA==", "requires": { "bson": "^4.7.2", "kareem": "2.5.1", - "mongodb": "4.17.1", + "mongodb": "4.17.2", "mpath": "0.9.0", "mquery": "4.0.3", "ms": "2.1.3", @@ -5120,10 +4398,6 @@ "negotiator": { "version": "0.6.3" }, - "netmask": { - "version": "2.0.2", - "optional": true - }, "nodemon": { "version": "2.0.20", "dev": true, @@ -5215,60 +4489,13 @@ "wrappy": "1" } }, - "optionator": { - "version": "0.8.3", - "optional": true, - "requires": { - "deep-is": "~0.1.3", - "fast-levenshtein": "~2.0.6", - "levn": "~0.3.0", - "prelude-ls": "~1.1.2", - "type-check": "~0.3.2", - "word-wrap": "~1.2.3" - } - }, - "pac-proxy-agent": { - "version": "5.0.0", - "optional": true, - "requires": { - "@tootallnate/once": "1", - "agent-base": "6", - "debug": "4", - "get-uri": "3", - "http-proxy-agent": "^4.0.1", - "https-proxy-agent": "5", - "pac-resolver": "^5.0.0", - "raw-body": "^2.2.0", - "socks-proxy-agent": "5" - }, - "dependencies": { - "debug": { - "version": "4.3.4", - "optional": true, - "requires": { - "ms": "2.1.2" - } - }, - "ms": { - "version": "2.1.2", - "optional": true - } - } - }, - "pac-resolver": { - "version": "5.0.1", - "optional": true, - "requires": { - "degenerator": "^3.0.2", - "ip": "^1.1.5", - "netmask": "^2.0.2" - } - }, "parseurl": { "version": "1.3.3" }, "passport": { - "version": "0.6.0", + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/passport/-/passport-0.7.0.tgz", + "integrity": "sha512-cPLl+qZpSc+ireUvt+IzqbED1cHHkDoVYMo30jbJIdOOjQ1MQYZBPiNvmi8UM6lJuOpTPXJGZQk0DtC4y61MYQ==", "requires": { "passport-strategy": "1.x.x", "pause": "0.0.1", @@ -5302,10 +4529,6 @@ "version": "2.3.1", "dev": true }, - "prelude-ls": { - "version": "1.1.2", - "optional": true - }, "process-nextick-args": { "version": "2.0.1" }, @@ -5316,37 +4539,6 @@ "ipaddr.js": "1.9.1" } }, - "proxy-agent": { - "version": "5.0.0", - "optional": true, - "requires": { - "agent-base": "^6.0.0", - "debug": "4", - "http-proxy-agent": "^4.0.0", - "https-proxy-agent": "^5.0.0", - "lru-cache": "^5.1.1", - "pac-proxy-agent": "^5.0.0", - "proxy-from-env": "^1.0.0", - "socks-proxy-agent": "^5.0.0" - }, - "dependencies": { - "debug": { - "version": "4.3.4", - "optional": true, - "requires": { - "ms": "2.1.2" - } - }, - "ms": { - "version": "2.1.2", - "optional": true - } - } - }, - "proxy-from-env": { - "version": "1.1.0", - "optional": true - }, "pstree.remy": { "version": "1.1.8", "dev": true @@ -5378,7 +4570,9 @@ "version": "1.2.1" }, "raw-body": { - "version": "2.5.1", + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.2.tgz", + "integrity": "sha512-8zGqypfENjCIqGhgXToC8aB2r7YrBX+AQAfIPs/Mlk+BtPTztOvTS01NRW/3Eh60J+a48lt8qsCzirQ6loCVfA==", "requires": { "bytes": "3.1.2", "http-errors": "2.0.0", @@ -5496,32 +4690,6 @@ } } }, - "socks-proxy-agent": { - "version": "5.0.1", - "optional": true, - "requires": { - "agent-base": "^6.0.2", - "debug": "4", - "socks": "^2.3.3" - }, - "dependencies": { - "debug": { - "version": "4.3.4", - "optional": true, - "requires": { - "ms": "2.1.2" - } - }, - "ms": { - "version": "2.1.2", - "optional": true - } - } - }, - "source-map": { - "version": "0.6.1", - "optional": true - }, "sparse-bitfield": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/sparse-bitfield/-/sparse-bitfield-3.0.3.tgz", @@ -5564,9 +4732,9 @@ } }, "swiper": { - "version": "8.4.4", - "resolved": "https://registry.npmjs.org/swiper/-/swiper-8.4.4.tgz", - "integrity": "sha512-jA/8BfOZwT8PqPSnMX0TENZYitXEhNa7ZSNj1Diqh5LZyUJoBQaZcqAiPQ/PIg1+IPaRn/V8ZYVb0nxHMh51yw==", + "version": "8.4.7", + "resolved": "https://registry.npmjs.org/swiper/-/swiper-8.4.7.tgz", + "integrity": "sha512-VwO/KU3i9IV2Sf+W2NqyzwWob4yX9Qdedq6vBtS0rFqJ6Fa5iLUJwxQkuD4I38w0WDJwmFl8ojkdcRFPHWD+2g==", "requires": { "dom7": "^4.0.4", "ssr-window": "^4.0.2" @@ -5601,13 +4769,6 @@ "version": "2.4.1", "optional": true }, - "type-check": { - "version": "0.3.2", - "optional": true, - "requires": { - "prelude-ls": "~1.1.2" - } - }, "type-is": { "version": "1.6.18", "requires": { @@ -5633,10 +4794,6 @@ "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==" }, - "universalify": { - "version": "0.1.2", - "optional": true - }, "unpipe": { "version": "1.0.0" }, @@ -5653,14 +4810,6 @@ "vary": { "version": "1.1.2" }, - "vm2": { - "version": "3.9.11", - "optional": true, - "requires": { - "acorn": "^8.7.0", - "acorn-walk": "^8.2.0" - } - }, "webidl-conversions": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-7.0.0.tgz", @@ -5675,23 +4824,11 @@ "webidl-conversions": "^7.0.0" } }, - "word-wrap": { - "version": "1.2.3", - "optional": true - }, "wrappy": { "version": "1.0.2" }, - "xregexp": { - "version": "2.0.0", - "optional": true - }, "xtend": { "version": "4.0.2" - }, - "yallist": { - "version": "3.1.1", - "optional": true } } } diff --git a/package.json b/package.json index 3bfe70fac..41c3955d9 100644 --- a/package.json +++ b/package.json @@ -11,28 +11,28 @@ "author": "Team 2002", "license": "ISC", "dependencies": { - "body-parser": "^1.20.0", - "chart.js": "^4.0.1", - "cloudinary": "^1.32.0", + "body-parser": "^1.20.2", + "chart.js": "^4.4.4", + "cloudinary": "^1.41.3", "connect-flash": "^0.1.1", "cookie-parser": "^1.4.6", "cors": "^2.8.5", "datauri": "^4.1.0", - "dotenv": "^16.0.2", - "ejs": "^3.1.8", - "express": "^4.18.2", + "dotenv": "^16.4.5", + "ejs": "^3.1.10", + "express": "^4.19.2", "express-ejs-layouts": "^2.5.1", - "express-session": "^1.17.3", - "formidable": "^2.0.1", + "express-session": "^1.18.0", + "formidable": "^2.1.2", "jsonwebtoken": "^8.5.1", - "mongodb": "^4.9.1", - "mongoose": "^6.12.3", + "mongodb": "^4.17.2", + "mongoose": "^6.13.0", "multer": "^1.4.5-lts.1", "multer-storage-cloudinary": "^4.0.0", - "passport": "^0.6.0", + "passport": "^0.7.0", "passport-local": "^1.0.0", "passport-local-mongoose": "^7.1.2", - "swiper": "^8.4.4" + "swiper": "^8.4.7" }, "devDependencies": { "nodemon": "^2.0.19"