diff --git a/package-lock.json b/package-lock.json index 132fd9ec5..71b5a61a1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,7 +11,7 @@ "dependencies": { "body-parser": "^1.20.0", "chart.js": "^4.0.1", - "cloudinary": "^1.32.0", + "cloudinary": "^1.37.3", "connect-flash": "^0.1.1", "cookie-parser": "^1.4.6", "cors": "^2.8.5", @@ -22,9 +22,9 @@ "express-ejs-layouts": "^2.5.1", "express-session": "^1.17.3", "formidable": "^2.0.1", - "jsonwebtoken": "^8.5.1", - "mongodb": "^4.9.1", - "mongoose": "^6.12.3", + "jsonwebtoken": "^9.0.2", + "mongodb": "^6.0.0", + "mongoose": "^8.0.0", "multer": "^1.4.5-lts.1", "multer-storage-cloudinary": "^4.0.0", "passport": "^0.6.0", @@ -40,6 +40,7 @@ "version": "2.0.2", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "tslib": "^1.11.1" } @@ -47,12 +48,14 @@ "node_modules/@aws-crypto/ie11-detection/node_modules/tslib": { "version": "1.14.1", "license": "0BSD", - "optional": true + "optional": true, + "peer": true }, "node_modules/@aws-crypto/sha256-browser": { "version": "2.0.0", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-crypto/ie11-detection": "^2.0.0", "@aws-crypto/sha256-js": "^2.0.0", @@ -67,12 +70,14 @@ "node_modules/@aws-crypto/sha256-browser/node_modules/tslib": { "version": "1.14.1", "license": "0BSD", - "optional": true + "optional": true, + "peer": true }, "node_modules/@aws-crypto/sha256-js": { "version": "2.0.0", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-crypto/util": "^2.0.0", "@aws-sdk/types": "^3.1.0", @@ -82,12 +87,14 @@ "node_modules/@aws-crypto/sha256-js/node_modules/tslib": { "version": "1.14.1", "license": "0BSD", - "optional": true + "optional": true, + "peer": true }, "node_modules/@aws-crypto/supports-web-crypto": { "version": "2.0.2", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "tslib": "^1.11.1" } @@ -95,12 +102,14 @@ "node_modules/@aws-crypto/supports-web-crypto/node_modules/tslib": { "version": "1.14.1", "license": "0BSD", - "optional": true + "optional": true, + "peer": true }, "node_modules/@aws-crypto/util": { "version": "2.0.2", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/types": "^3.110.0", "@aws-sdk/util-utf8-browser": "^3.0.0", @@ -110,12 +119,14 @@ "node_modules/@aws-crypto/util/node_modules/tslib": { "version": "1.14.1", "license": "0BSD", - "optional": true + "optional": true, + "peer": true }, "node_modules/@aws-sdk/abort-controller": { "version": "3.201.0", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/types": "3.201.0", "tslib": "^2.3.1" @@ -128,6 +139,7 @@ "version": "3.204.0", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-crypto/sha256-browser": "2.0.0", "@aws-crypto/sha256-js": "2.0.0", @@ -175,6 +187,7 @@ "version": "3.204.0", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-crypto/sha256-browser": "2.0.0", "@aws-crypto/sha256-js": "2.0.0", @@ -219,6 +232,7 @@ "version": "3.204.0", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-crypto/sha256-browser": "2.0.0", "@aws-crypto/sha256-js": "2.0.0", @@ -267,6 +281,7 @@ "version": "3.201.0", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/signature-v4": "3.201.0", "@aws-sdk/types": "3.201.0", @@ -282,6 +297,7 @@ "version": "3.204.0", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/client-cognito-identity": "3.204.0", "@aws-sdk/property-provider": "3.201.0", @@ -296,6 +312,7 @@ "version": "3.201.0", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/property-provider": "3.201.0", "@aws-sdk/types": "3.201.0", @@ -309,6 +326,7 @@ "version": "3.201.0", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/node-config-provider": "3.201.0", "@aws-sdk/property-provider": "3.201.0", @@ -324,6 +342,7 @@ "version": "3.204.0", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/credential-provider-env": "3.201.0", "@aws-sdk/credential-provider-imds": "3.201.0", @@ -342,6 +361,7 @@ "version": "3.204.0", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/credential-provider-env": "3.201.0", "@aws-sdk/credential-provider-imds": "3.201.0", @@ -362,6 +382,7 @@ "version": "3.201.0", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/property-provider": "3.201.0", "@aws-sdk/shared-ini-file-loader": "3.201.0", @@ -376,6 +397,7 @@ "version": "3.204.0", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/client-sso": "3.204.0", "@aws-sdk/property-provider": "3.201.0", @@ -391,6 +413,7 @@ "version": "3.201.0", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/property-provider": "3.201.0", "@aws-sdk/types": "3.201.0", @@ -404,6 +427,7 @@ "version": "3.204.0", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/client-cognito-identity": "3.204.0", "@aws-sdk/client-sso": "3.204.0", @@ -429,6 +453,7 @@ "version": "3.204.0", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/protocol-http": "3.201.0", "@aws-sdk/querystring-builder": "3.201.0", @@ -441,6 +466,7 @@ "version": "3.201.0", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/types": "3.201.0", "@aws-sdk/util-buffer-from": "3.201.0", @@ -454,6 +480,7 @@ "version": "3.201.0", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/types": "3.201.0", "tslib": "^2.3.1" @@ -463,6 +490,7 @@ "version": "3.201.0", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "tslib": "^2.3.1" }, @@ -474,6 +502,7 @@ "version": "3.201.0", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/protocol-http": "3.201.0", "@aws-sdk/types": "3.201.0", @@ -487,6 +516,7 @@ "version": "3.201.0", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/middleware-serde": "3.201.0", "@aws-sdk/protocol-http": "3.201.0", @@ -505,6 +535,7 @@ "version": "3.201.0", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/protocol-http": "3.201.0", "@aws-sdk/types": "3.201.0", @@ -518,6 +549,7 @@ "version": "3.201.0", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/types": "3.201.0", "tslib": "^2.3.1" @@ -530,6 +562,7 @@ "version": "3.201.0", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/protocol-http": "3.201.0", "@aws-sdk/types": "3.201.0", @@ -543,6 +576,7 @@ "version": "3.201.0", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/protocol-http": "3.201.0", "@aws-sdk/service-error-classification": "3.201.0", @@ -559,6 +593,7 @@ "version": "3.201.0", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/middleware-signing": "3.201.0", "@aws-sdk/property-provider": "3.201.0", @@ -575,6 +610,7 @@ "version": "3.201.0", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/types": "3.201.0", "tslib": "^2.3.1" @@ -587,6 +623,7 @@ "version": "3.201.0", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/property-provider": "3.201.0", "@aws-sdk/protocol-http": "3.201.0", @@ -603,6 +640,7 @@ "version": "3.201.0", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "tslib": "^2.3.1" }, @@ -614,6 +652,7 @@ "version": "3.201.0", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/protocol-http": "3.201.0", "@aws-sdk/types": "3.201.0", @@ -627,6 +666,7 @@ "version": "3.201.0", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/property-provider": "3.201.0", "@aws-sdk/shared-ini-file-loader": "3.201.0", @@ -641,6 +681,7 @@ "version": "3.201.0", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/abort-controller": "3.201.0", "@aws-sdk/protocol-http": "3.201.0", @@ -656,6 +697,7 @@ "version": "3.201.0", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/types": "3.201.0", "tslib": "^2.3.1" @@ -668,6 +710,7 @@ "version": "3.201.0", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/types": "3.201.0", "tslib": "^2.3.1" @@ -680,6 +723,7 @@ "version": "3.201.0", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/types": "3.201.0", "@aws-sdk/util-uri-escape": "3.201.0", @@ -693,6 +737,7 @@ "version": "3.201.0", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/types": "3.201.0", "tslib": "^2.3.1" @@ -705,6 +750,7 @@ "version": "3.201.0", "license": "Apache-2.0", "optional": true, + "peer": true, "engines": { "node": ">=14.0.0" } @@ -713,6 +759,7 @@ "version": "3.201.0", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/types": "3.201.0", "tslib": "^2.3.1" @@ -725,6 +772,7 @@ "version": "3.201.0", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/is-array-buffer": "3.201.0", "@aws-sdk/types": "3.201.0", @@ -741,6 +789,7 @@ "version": "3.201.0", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/middleware-stack": "3.201.0", "@aws-sdk/types": "3.201.0", @@ -754,6 +803,7 @@ "version": "3.201.0", "license": "Apache-2.0", "optional": true, + "peer": true, "engines": { "node": ">=14.0.0" } @@ -762,6 +812,7 @@ "version": "3.201.0", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/querystring-parser": "3.201.0", "@aws-sdk/types": "3.201.0", @@ -772,6 +823,7 @@ "version": "3.202.0", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/util-buffer-from": "3.201.0", "tslib": "^2.3.1" @@ -784,6 +836,7 @@ "version": "3.188.0", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "tslib": "^2.3.1" } @@ -792,6 +845,7 @@ "version": "3.201.0", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/util-buffer-from": "3.201.0", "tslib": "^2.3.1" @@ -804,6 +858,7 @@ "version": "3.188.0", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "tslib": "^2.3.1" } @@ -812,6 +867,7 @@ "version": "3.201.0", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "tslib": "^2.3.1" }, @@ -823,6 +879,7 @@ "version": "3.201.0", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/is-array-buffer": "3.201.0", "tslib": "^2.3.1" @@ -835,6 +892,7 @@ "version": "3.201.0", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "tslib": "^2.3.1" }, @@ -846,6 +904,7 @@ "version": "3.201.0", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/property-provider": "3.201.0", "@aws-sdk/types": "3.201.0", @@ -860,6 +919,7 @@ "version": "3.201.0", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/config-resolver": "3.201.0", "@aws-sdk/credential-provider-imds": "3.201.0", @@ -876,6 +936,7 @@ "version": "3.202.0", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/types": "3.201.0", "tslib": "^2.3.1" @@ -888,6 +949,7 @@ "version": "3.201.0", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "tslib": "^2.3.1" }, @@ -899,6 +961,7 @@ "version": "3.201.0", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "tslib": "^2.3.1" }, @@ -910,6 +973,7 @@ "version": "3.201.0", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "tslib": "^2.3.1" }, @@ -921,6 +985,7 @@ "version": "3.201.0", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "tslib": "^2.3.1" }, @@ -932,6 +997,7 @@ "version": "3.201.0", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/types": "3.201.0", "bowser": "^2.11.0", @@ -942,6 +1008,7 @@ "version": "3.201.0", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/node-config-provider": "3.201.0", "@aws-sdk/types": "3.201.0", @@ -963,6 +1030,7 @@ "version": "3.188.0", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "tslib": "^2.3.1" } @@ -971,6 +1039,7 @@ "version": "3.201.0", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/util-buffer-from": "3.201.0", "tslib": "^2.3.1" @@ -983,19 +1052,10 @@ "version": "1.1.1", "resolved": "https://registry.npmjs.org/@mongodb-js/saslprep/-/saslprep-1.1.1.tgz", "integrity": "sha512-t7c5K033joZZMspnHg/gWPE4kandgc2OxE74aYOtGKfgB9VPuVJPix0H6fhmm2erj5PBJ21mqcx34lpIGtUCsQ==", - "optional": true, "dependencies": { "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 +1094,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", @@ -1122,17 +1131,6 @@ "version": "2.0.6", "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" @@ -1142,24 +1140,6 @@ "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" }, - "node_modules/base64-js": { - "version": "1.5.1", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "license": "MIT" - }, "node_modules/binary-extensions": { "version": "2.2.0", "dev": true, @@ -1193,7 +1173,8 @@ "node_modules/bowser": { "version": "2.11.0", "license": "MIT", - "optional": true + "optional": true, + "peer": true }, "node_modules/brace-expansion": { "version": "2.0.1", @@ -1215,36 +1196,12 @@ } }, "node_modules/bson": { - "version": "4.7.2", - "resolved": "https://registry.npmjs.org/bson/-/bson-4.7.2.tgz", - "integrity": "sha512-Ry9wCtIZ5kGqkJoi6aD8KjxFZEx78guTQDnpXWiNthsxzrxAK/i8E6pCHAIZTbaEFWcOCvbecMukfK7XUvyLpQ==", - "dependencies": { - "buffer": "^5.6.0" - }, + "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": ">=6.9.0" - } - }, - "node_modules/buffer": { - "version": "5.7.1", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "license": "MIT", - "dependencies": { - "base64-js": "^1.3.1", - "ieee754": "^1.1.13" + "node": ">=16.20.1" } }, "node_modules/buffer-equal-constant-time": { @@ -1332,20 +1289,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.37.3", + "resolved": "https://registry.npmjs.org/cloudinary/-/cloudinary-1.37.3.tgz", + "integrity": "sha512-XrGb60ZeQhYp9QQjj5DP3cYsAc27OV1B7pezvVxyqgHB5WMeMsofzeIy6+k0o/fCCv744Nf7xsYiTlUi3V0V/Q==", + "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": { @@ -1433,7 +1388,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 +1413,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 +1431,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", @@ -1575,55 +1505,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", @@ -1705,15 +1586,11 @@ "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", "optional": true, + "peer": true, "dependencies": { "strnum": "^1.0.5" }, @@ -1725,14 +1602,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", @@ -1804,51 +1673,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 +1693,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 +1704,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 +1752,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", @@ -2047,24 +1762,6 @@ "node": ">=0.10.0" } }, - "node_modules/ieee754": { - "version": "1.2.1", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "license": "BSD-3-Clause" - }, "node_modules/ignore-by-default": { "version": "1.0.1", "dev": true, @@ -2087,11 +1784,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,18 +1869,11 @@ "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", - "integrity": "sha512-XjwVfRS6jTMsqYs0EsuJ4LGxXV14zQybNd4L2r0UvbVnSF9Af8x7p5MzbJ90Ioz/9TI41/hTCvznF/loiSzn8w==", + "version": "9.0.2", + "resolved": "https://registry.npmjs.org/jsonwebtoken/-/jsonwebtoken-9.0.2.tgz", + "integrity": "sha512-PRp66vJ865SSqOlgqS8hujT5U4AOgMfhrwYIuIhfKaoSCZcirrmASQr8CX7cUg+RMih+hgznrjp99o+W4pJLHQ==", + "license": "MIT", "dependencies": { "jws": "^3.2.2", "lodash.includes": "^4.3.0", @@ -2199,11 +1884,11 @@ "lodash.isstring": "^4.0.1", "lodash.once": "^4.0.0", "ms": "^2.1.1", - "semver": "^5.6.0" + "semver": "^7.5.4" }, "engines": { - "node": ">=4", - "npm": ">=1.4.28" + "node": ">=12", + "npm": ">=6" } }, "node_modules/jsonwebtoken/node_modules/ms": { @@ -2211,6 +1896,18 @@ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" }, + "node_modules/jsonwebtoken/node_modules/semver": { + "version": "7.6.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", + "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, "node_modules/jwa": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/jwa/-/jwa-1.4.1.tgz", @@ -2238,18 +1935,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 +1974,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", @@ -2307,8 +1984,7 @@ "node_modules/memory-pager": { "version": "1.5.0", "resolved": "https://registry.npmjs.org/memory-pager/-/memory-pager-1.5.0.tgz", - "integrity": "sha512-ZS4Bp4r/Zoeq6+NLJpP+0Zzm0pR8whtGPf1XExKLJBAczGMnSi3It14OiNCStjQjM6NU1okjQGSxgEZN8eBYKg==", - "optional": true + "integrity": "sha512-ZS4Bp4r/Zoeq6+NLJpP+0Zzm0pR8whtGPf1XExKLJBAczGMnSi3It14OiNCStjQjM6NU1okjQGSxgEZN8eBYKg==" }, "node_modules/merge-descriptors": { "version": "1.0.1", @@ -2387,20 +2063,49 @@ } }, "node_modules/mongodb": { - "version": "4.17.1", - "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-4.17.1.tgz", - "integrity": "sha512-MBuyYiPUPRTqfH2dV0ya4dcr2E5N52ocBuZ8Sgg/M030nGF78v855B3Z27mZJnp8PxjnUquEnAtjOsphgMZOlQ==", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-6.0.0.tgz", + "integrity": "sha512-wUIYesF4DTyDccm0noE5TwGi9ISdXUAi9T2cQ4xPc+EUBZG44bfMVt2ecOG5Ypca7eCz3oRpJm6YI6c7jAnuNw==", + "license": "Apache-2.0", "dependencies": { - "bson": "^4.7.2", - "mongodb-connection-string-url": "^2.6.0", - "socks": "^2.7.1" + "@mongodb-js/saslprep": "^1.1.0", + "bson": "^6.0.0", + "mongodb-connection-string-url": "^2.6.0" }, "engines": { - "node": ">=12.9.0" + "node": ">=16.20.1" }, - "optionalDependencies": { - "@aws-sdk/credential-providers": "^3.186.0", - "@mongodb-js/saslprep": "^1.1.0" + "peerDependencies": { + "@aws-sdk/credential-providers": "^3.188.0", + "@mongodb-js/zstd": "^1.1.0", + "gcp-metadata": "^5.2.0", + "kerberos": "^2.0.1", + "mongodb-client-encryption": ">=6.0.0 <7", + "snappy": "^7.2.2", + "socks": "^2.7.1" + }, + "peerDependenciesMeta": { + "@aws-sdk/credential-providers": { + "optional": true + }, + "@mongodb-js/zstd": { + "optional": true + }, + "gcp-metadata": { + "optional": true + }, + "kerberos": { + "optional": true + }, + "mongodb-client-encryption": { + "optional": true + }, + "snappy": { + "optional": true + }, + "socks": { + "optional": true + } } }, "node_modules/mongodb-connection-string-url": { @@ -2413,26 +2118,73 @@ } }, "node_modules/mongoose": { - "version": "6.12.3", - "resolved": "https://registry.npmjs.org/mongoose/-/mongoose-6.12.3.tgz", - "integrity": "sha512-MNJymaaXali7w7rHBxVUoQ3HzHHMk/7I/+yeeoSa4rUzdjZwIWQznBNvVgc0A8ghuJwsuIkb5LyLV6gSjGjWyQ==", + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/mongoose/-/mongoose-8.0.0.tgz", + "integrity": "sha512-PzwkLgm1Jhj0NQdgGfnFsu0QP9V1sBFgbavEgh/IPAUzKAagzvEhuaBuAQOQGjczVWnpIU9tBqyd02cOTgsPlA==", + "license": "MIT", "dependencies": { - "bson": "^4.7.2", + "bson": "^6.2.0", "kareem": "2.5.1", - "mongodb": "4.17.1", + "mongodb": "6.2.0", "mpath": "0.9.0", - "mquery": "4.0.3", + "mquery": "5.0.0", "ms": "2.1.3", "sift": "16.0.1" }, "engines": { - "node": ">=12.0.0" + "node": ">=16.20.1" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/mongoose" } }, + "node_modules/mongoose/node_modules/mongodb": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-6.2.0.tgz", + "integrity": "sha512-d7OSuGjGWDZ5usZPqfvb36laQ9CPhnWkAGHT61x5P95p/8nMVeH8asloMwW6GcYFeB0Vj4CB/1wOTDG2RA9BFA==", + "license": "Apache-2.0", + "dependencies": { + "@mongodb-js/saslprep": "^1.1.0", + "bson": "^6.2.0", + "mongodb-connection-string-url": "^2.6.0" + }, + "engines": { + "node": ">=16.20.1" + }, + "peerDependencies": { + "@aws-sdk/credential-providers": "^3.188.0", + "@mongodb-js/zstd": "^1.1.0", + "gcp-metadata": "^5.2.0", + "kerberos": "^2.0.1", + "mongodb-client-encryption": ">=6.0.0 <7", + "snappy": "^7.2.2", + "socks": "^2.7.1" + }, + "peerDependenciesMeta": { + "@aws-sdk/credential-providers": { + "optional": true + }, + "@mongodb-js/zstd": { + "optional": true + }, + "gcp-metadata": { + "optional": true + }, + "kerberos": { + "optional": true + }, + "mongodb-client-encryption": { + "optional": true + }, + "snappy": { + "optional": true + }, + "socks": { + "optional": true + } + } + }, "node_modules/mongoose/node_modules/ms": { "version": "2.1.3", "license": "MIT" @@ -2445,20 +2197,24 @@ } }, "node_modules/mquery": { - "version": "4.0.3", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/mquery/-/mquery-5.0.0.tgz", + "integrity": "sha512-iQMncpmEK8R8ncT8HJGsGc9Dsp8xcgYMVSbs5jgnm1lFHTZqMJTUWTDx1LBO8+mK3tPNZWFLBghQEIOULSTHZg==", "license": "MIT", "dependencies": { "debug": "4.x" }, "engines": { - "node": ">=12.0.0" + "node": ">=14.0.0" } }, "node_modules/mquery/node_modules/debug": { - "version": "4.3.4", + "version": "4.3.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.7.tgz", + "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==", "license": "MIT", "dependencies": { - "ms": "2.1.2" + "ms": "^2.1.3" }, "engines": { "node": ">=6.0" @@ -2470,7 +2226,9 @@ } }, "node_modules/mquery/node_modules/ms": { - "version": "2.1.2", + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", "license": "MIT" }, "node_modules/ms": { @@ -2507,14 +2265,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 +2403,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", @@ -2790,13 +2471,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 +2486,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, @@ -2980,6 +2610,7 @@ }, "node_modules/semver": { "version": "5.7.1", + "dev": true, "license": "ISC", "bin": { "semver": "bin/semver" @@ -3066,6 +2697,8 @@ "node_modules/smart-buffer": { "version": "4.2.0", "license": "MIT", + "optional": true, + "peer": true, "engines": { "node": ">= 6.0.0", "npm": ">= 3.0.0" @@ -3074,6 +2707,8 @@ "node_modules/socks": { "version": "2.7.1", "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "ip": "^2.0.0", "smart-buffer": "^4.2.0" @@ -3083,57 +2718,16 @@ "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", + "license": "MIT", "optional": true, - "engines": { - "node": ">=0.10.0" - } + "peer": true }, "node_modules/sparse-bitfield": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/sparse-bitfield/-/sparse-bitfield-3.0.3.tgz", "integrity": "sha512-kvzhi7vqKTfkh0PZU+2D2PIllw2ymqJKujUcyPMd9Y75Nv4nPbGJZXNhxsgdQab2BmlDct1YnfQCguEvHr7VsQ==", - "optional": true, "dependencies": { "memory-pager": "^1.0.2" } @@ -3170,7 +2764,8 @@ "node_modules/strnum": { "version": "1.0.5", "license": "MIT", - "optional": true + "optional": true, + "peer": true }, "node_modules/supports-color": { "version": "7.2.0", @@ -3248,18 +2843,8 @@ "node_modules/tslib": { "version": "2.4.1", "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" - } + "peer": true }, "node_modules/type-is": { "version": "1.6.18", @@ -3296,14 +2881,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", @@ -3326,6 +2903,7 @@ "version": "8.3.2", "license": "MIT", "optional": true, + "peer": true, "bin": { "uuid": "dist/bin/uuid" } @@ -3334,22 +2912,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,53 +2935,38 @@ "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": { "@aws-crypto/ie11-detection": { "version": "2.0.2", "optional": true, + "peer": true, "requires": { "tslib": "^1.11.1" }, "dependencies": { "tslib": { "version": "1.14.1", - "optional": true + "optional": true, + "peer": true } } }, "@aws-crypto/sha256-browser": { "version": "2.0.0", "optional": true, + "peer": true, "requires": { "@aws-crypto/ie11-detection": "^2.0.0", "@aws-crypto/sha256-js": "^2.0.0", @@ -3432,13 +2980,15 @@ "dependencies": { "tslib": { "version": "1.14.1", - "optional": true + "optional": true, + "peer": true } } }, "@aws-crypto/sha256-js": { "version": "2.0.0", "optional": true, + "peer": true, "requires": { "@aws-crypto/util": "^2.0.0", "@aws-sdk/types": "^3.1.0", @@ -3447,26 +2997,30 @@ "dependencies": { "tslib": { "version": "1.14.1", - "optional": true + "optional": true, + "peer": true } } }, "@aws-crypto/supports-web-crypto": { "version": "2.0.2", "optional": true, + "peer": true, "requires": { "tslib": "^1.11.1" }, "dependencies": { "tslib": { "version": "1.14.1", - "optional": true + "optional": true, + "peer": true } } }, "@aws-crypto/util": { "version": "2.0.2", "optional": true, + "peer": true, "requires": { "@aws-sdk/types": "^3.110.0", "@aws-sdk/util-utf8-browser": "^3.0.0", @@ -3475,13 +3029,15 @@ "dependencies": { "tslib": { "version": "1.14.1", - "optional": true + "optional": true, + "peer": true } } }, "@aws-sdk/abort-controller": { "version": "3.201.0", "optional": true, + "peer": true, "requires": { "@aws-sdk/types": "3.201.0", "tslib": "^2.3.1" @@ -3490,6 +3046,7 @@ "@aws-sdk/client-cognito-identity": { "version": "3.204.0", "optional": true, + "peer": true, "requires": { "@aws-crypto/sha256-browser": "2.0.0", "@aws-crypto/sha256-js": "2.0.0", @@ -3533,6 +3090,7 @@ "@aws-sdk/client-sso": { "version": "3.204.0", "optional": true, + "peer": true, "requires": { "@aws-crypto/sha256-browser": "2.0.0", "@aws-crypto/sha256-js": "2.0.0", @@ -3573,6 +3131,7 @@ "@aws-sdk/client-sts": { "version": "3.204.0", "optional": true, + "peer": true, "requires": { "@aws-crypto/sha256-browser": "2.0.0", "@aws-crypto/sha256-js": "2.0.0", @@ -3617,6 +3176,7 @@ "@aws-sdk/config-resolver": { "version": "3.201.0", "optional": true, + "peer": true, "requires": { "@aws-sdk/signature-v4": "3.201.0", "@aws-sdk/types": "3.201.0", @@ -3628,6 +3188,7 @@ "@aws-sdk/credential-provider-cognito-identity": { "version": "3.204.0", "optional": true, + "peer": true, "requires": { "@aws-sdk/client-cognito-identity": "3.204.0", "@aws-sdk/property-provider": "3.201.0", @@ -3638,6 +3199,7 @@ "@aws-sdk/credential-provider-env": { "version": "3.201.0", "optional": true, + "peer": true, "requires": { "@aws-sdk/property-provider": "3.201.0", "@aws-sdk/types": "3.201.0", @@ -3647,6 +3209,7 @@ "@aws-sdk/credential-provider-imds": { "version": "3.201.0", "optional": true, + "peer": true, "requires": { "@aws-sdk/node-config-provider": "3.201.0", "@aws-sdk/property-provider": "3.201.0", @@ -3658,6 +3221,7 @@ "@aws-sdk/credential-provider-ini": { "version": "3.204.0", "optional": true, + "peer": true, "requires": { "@aws-sdk/credential-provider-env": "3.201.0", "@aws-sdk/credential-provider-imds": "3.201.0", @@ -3672,6 +3236,7 @@ "@aws-sdk/credential-provider-node": { "version": "3.204.0", "optional": true, + "peer": true, "requires": { "@aws-sdk/credential-provider-env": "3.201.0", "@aws-sdk/credential-provider-imds": "3.201.0", @@ -3688,6 +3253,7 @@ "@aws-sdk/credential-provider-process": { "version": "3.201.0", "optional": true, + "peer": true, "requires": { "@aws-sdk/property-provider": "3.201.0", "@aws-sdk/shared-ini-file-loader": "3.201.0", @@ -3698,6 +3264,7 @@ "@aws-sdk/credential-provider-sso": { "version": "3.204.0", "optional": true, + "peer": true, "requires": { "@aws-sdk/client-sso": "3.204.0", "@aws-sdk/property-provider": "3.201.0", @@ -3709,6 +3276,7 @@ "@aws-sdk/credential-provider-web-identity": { "version": "3.201.0", "optional": true, + "peer": true, "requires": { "@aws-sdk/property-provider": "3.201.0", "@aws-sdk/types": "3.201.0", @@ -3718,6 +3286,7 @@ "@aws-sdk/credential-providers": { "version": "3.204.0", "optional": true, + "peer": true, "requires": { "@aws-sdk/client-cognito-identity": "3.204.0", "@aws-sdk/client-sso": "3.204.0", @@ -3739,6 +3308,7 @@ "@aws-sdk/fetch-http-handler": { "version": "3.204.0", "optional": true, + "peer": true, "requires": { "@aws-sdk/protocol-http": "3.201.0", "@aws-sdk/querystring-builder": "3.201.0", @@ -3750,6 +3320,7 @@ "@aws-sdk/hash-node": { "version": "3.201.0", "optional": true, + "peer": true, "requires": { "@aws-sdk/types": "3.201.0", "@aws-sdk/util-buffer-from": "3.201.0", @@ -3759,6 +3330,7 @@ "@aws-sdk/invalid-dependency": { "version": "3.201.0", "optional": true, + "peer": true, "requires": { "@aws-sdk/types": "3.201.0", "tslib": "^2.3.1" @@ -3767,6 +3339,7 @@ "@aws-sdk/is-array-buffer": { "version": "3.201.0", "optional": true, + "peer": true, "requires": { "tslib": "^2.3.1" } @@ -3774,6 +3347,7 @@ "@aws-sdk/middleware-content-length": { "version": "3.201.0", "optional": true, + "peer": true, "requires": { "@aws-sdk/protocol-http": "3.201.0", "@aws-sdk/types": "3.201.0", @@ -3783,6 +3357,7 @@ "@aws-sdk/middleware-endpoint": { "version": "3.201.0", "optional": true, + "peer": true, "requires": { "@aws-sdk/middleware-serde": "3.201.0", "@aws-sdk/protocol-http": "3.201.0", @@ -3797,6 +3372,7 @@ "@aws-sdk/middleware-host-header": { "version": "3.201.0", "optional": true, + "peer": true, "requires": { "@aws-sdk/protocol-http": "3.201.0", "@aws-sdk/types": "3.201.0", @@ -3806,6 +3382,7 @@ "@aws-sdk/middleware-logger": { "version": "3.201.0", "optional": true, + "peer": true, "requires": { "@aws-sdk/types": "3.201.0", "tslib": "^2.3.1" @@ -3814,6 +3391,7 @@ "@aws-sdk/middleware-recursion-detection": { "version": "3.201.0", "optional": true, + "peer": true, "requires": { "@aws-sdk/protocol-http": "3.201.0", "@aws-sdk/types": "3.201.0", @@ -3823,6 +3401,7 @@ "@aws-sdk/middleware-retry": { "version": "3.201.0", "optional": true, + "peer": true, "requires": { "@aws-sdk/protocol-http": "3.201.0", "@aws-sdk/service-error-classification": "3.201.0", @@ -3835,6 +3414,7 @@ "@aws-sdk/middleware-sdk-sts": { "version": "3.201.0", "optional": true, + "peer": true, "requires": { "@aws-sdk/middleware-signing": "3.201.0", "@aws-sdk/property-provider": "3.201.0", @@ -3847,6 +3427,7 @@ "@aws-sdk/middleware-serde": { "version": "3.201.0", "optional": true, + "peer": true, "requires": { "@aws-sdk/types": "3.201.0", "tslib": "^2.3.1" @@ -3855,6 +3436,7 @@ "@aws-sdk/middleware-signing": { "version": "3.201.0", "optional": true, + "peer": true, "requires": { "@aws-sdk/property-provider": "3.201.0", "@aws-sdk/protocol-http": "3.201.0", @@ -3867,6 +3449,7 @@ "@aws-sdk/middleware-stack": { "version": "3.201.0", "optional": true, + "peer": true, "requires": { "tslib": "^2.3.1" } @@ -3874,6 +3457,7 @@ "@aws-sdk/middleware-user-agent": { "version": "3.201.0", "optional": true, + "peer": true, "requires": { "@aws-sdk/protocol-http": "3.201.0", "@aws-sdk/types": "3.201.0", @@ -3883,6 +3467,7 @@ "@aws-sdk/node-config-provider": { "version": "3.201.0", "optional": true, + "peer": true, "requires": { "@aws-sdk/property-provider": "3.201.0", "@aws-sdk/shared-ini-file-loader": "3.201.0", @@ -3893,6 +3478,7 @@ "@aws-sdk/node-http-handler": { "version": "3.201.0", "optional": true, + "peer": true, "requires": { "@aws-sdk/abort-controller": "3.201.0", "@aws-sdk/protocol-http": "3.201.0", @@ -3904,6 +3490,7 @@ "@aws-sdk/property-provider": { "version": "3.201.0", "optional": true, + "peer": true, "requires": { "@aws-sdk/types": "3.201.0", "tslib": "^2.3.1" @@ -3912,6 +3499,7 @@ "@aws-sdk/protocol-http": { "version": "3.201.0", "optional": true, + "peer": true, "requires": { "@aws-sdk/types": "3.201.0", "tslib": "^2.3.1" @@ -3920,6 +3508,7 @@ "@aws-sdk/querystring-builder": { "version": "3.201.0", "optional": true, + "peer": true, "requires": { "@aws-sdk/types": "3.201.0", "@aws-sdk/util-uri-escape": "3.201.0", @@ -3929,6 +3518,7 @@ "@aws-sdk/querystring-parser": { "version": "3.201.0", "optional": true, + "peer": true, "requires": { "@aws-sdk/types": "3.201.0", "tslib": "^2.3.1" @@ -3936,11 +3526,13 @@ }, "@aws-sdk/service-error-classification": { "version": "3.201.0", - "optional": true + "optional": true, + "peer": true }, "@aws-sdk/shared-ini-file-loader": { "version": "3.201.0", "optional": true, + "peer": true, "requires": { "@aws-sdk/types": "3.201.0", "tslib": "^2.3.1" @@ -3949,6 +3541,7 @@ "@aws-sdk/signature-v4": { "version": "3.201.0", "optional": true, + "peer": true, "requires": { "@aws-sdk/is-array-buffer": "3.201.0", "@aws-sdk/types": "3.201.0", @@ -3961,6 +3554,7 @@ "@aws-sdk/smithy-client": { "version": "3.201.0", "optional": true, + "peer": true, "requires": { "@aws-sdk/middleware-stack": "3.201.0", "@aws-sdk/types": "3.201.0", @@ -3969,11 +3563,13 @@ }, "@aws-sdk/types": { "version": "3.201.0", - "optional": true + "optional": true, + "peer": true }, "@aws-sdk/url-parser": { "version": "3.201.0", "optional": true, + "peer": true, "requires": { "@aws-sdk/querystring-parser": "3.201.0", "@aws-sdk/types": "3.201.0", @@ -3983,6 +3579,7 @@ "@aws-sdk/util-base64": { "version": "3.202.0", "optional": true, + "peer": true, "requires": { "@aws-sdk/util-buffer-from": "3.201.0", "tslib": "^2.3.1" @@ -3991,6 +3588,7 @@ "@aws-sdk/util-base64-browser": { "version": "3.188.0", "optional": true, + "peer": true, "requires": { "tslib": "^2.3.1" } @@ -3998,6 +3596,7 @@ "@aws-sdk/util-base64-node": { "version": "3.201.0", "optional": true, + "peer": true, "requires": { "@aws-sdk/util-buffer-from": "3.201.0", "tslib": "^2.3.1" @@ -4006,6 +3605,7 @@ "@aws-sdk/util-body-length-browser": { "version": "3.188.0", "optional": true, + "peer": true, "requires": { "tslib": "^2.3.1" } @@ -4013,6 +3613,7 @@ "@aws-sdk/util-body-length-node": { "version": "3.201.0", "optional": true, + "peer": true, "requires": { "tslib": "^2.3.1" } @@ -4020,6 +3621,7 @@ "@aws-sdk/util-buffer-from": { "version": "3.201.0", "optional": true, + "peer": true, "requires": { "@aws-sdk/is-array-buffer": "3.201.0", "tslib": "^2.3.1" @@ -4028,6 +3630,7 @@ "@aws-sdk/util-config-provider": { "version": "3.201.0", "optional": true, + "peer": true, "requires": { "tslib": "^2.3.1" } @@ -4035,6 +3638,7 @@ "@aws-sdk/util-defaults-mode-browser": { "version": "3.201.0", "optional": true, + "peer": true, "requires": { "@aws-sdk/property-provider": "3.201.0", "@aws-sdk/types": "3.201.0", @@ -4045,6 +3649,7 @@ "@aws-sdk/util-defaults-mode-node": { "version": "3.201.0", "optional": true, + "peer": true, "requires": { "@aws-sdk/config-resolver": "3.201.0", "@aws-sdk/credential-provider-imds": "3.201.0", @@ -4057,6 +3662,7 @@ "@aws-sdk/util-endpoints": { "version": "3.202.0", "optional": true, + "peer": true, "requires": { "@aws-sdk/types": "3.201.0", "tslib": "^2.3.1" @@ -4065,6 +3671,7 @@ "@aws-sdk/util-hex-encoding": { "version": "3.201.0", "optional": true, + "peer": true, "requires": { "tslib": "^2.3.1" } @@ -4072,6 +3679,7 @@ "@aws-sdk/util-locate-window": { "version": "3.201.0", "optional": true, + "peer": true, "requires": { "tslib": "^2.3.1" } @@ -4079,6 +3687,7 @@ "@aws-sdk/util-middleware": { "version": "3.201.0", "optional": true, + "peer": true, "requires": { "tslib": "^2.3.1" } @@ -4086,6 +3695,7 @@ "@aws-sdk/util-uri-escape": { "version": "3.201.0", "optional": true, + "peer": true, "requires": { "tslib": "^2.3.1" } @@ -4093,6 +3703,7 @@ "@aws-sdk/util-user-agent-browser": { "version": "3.201.0", "optional": true, + "peer": true, "requires": { "@aws-sdk/types": "3.201.0", "bowser": "^2.11.0", @@ -4102,6 +3713,7 @@ "@aws-sdk/util-user-agent-node": { "version": "3.201.0", "optional": true, + "peer": true, "requires": { "@aws-sdk/node-config-provider": "3.201.0", "@aws-sdk/types": "3.201.0", @@ -4111,6 +3723,7 @@ "@aws-sdk/util-utf8-browser": { "version": "3.188.0", "optional": true, + "peer": true, "requires": { "tslib": "^2.3.1" } @@ -4118,6 +3731,7 @@ "@aws-sdk/util-utf8-node": { "version": "3.201.0", "optional": true, + "peer": true, "requires": { "@aws-sdk/util-buffer-from": "3.201.0", "tslib": "^2.3.1" @@ -4127,15 +3741,10 @@ "version": "1.1.1", "resolved": "https://registry.npmjs.org/@mongodb-js/saslprep/-/saslprep-1.1.1.tgz", "integrity": "sha512-t7c5K033joZZMspnHg/gWPE4kandgc2OxE74aYOtGKfgB9VPuVJPix0H6fhmm2erj5PBJ21mqcx34lpIGtUCsQ==", - "optional": true, "requires": { "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 +3778,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": { @@ -4220,13 +3801,6 @@ "asap": { "version": "2.0.6" }, - "ast-types": { - "version": "0.13.4", - "optional": true, - "requires": { - "tslib": "^2.0.1" - } - }, "async": { "version": "3.2.4" }, @@ -4235,9 +3809,6 @@ "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" }, - "base64-js": { - "version": "1.5.1" - }, "binary-extensions": { "version": "2.2.0", "dev": true @@ -4261,7 +3832,8 @@ }, "bowser": { "version": "2.11.0", - "optional": true + "optional": true, + "peer": true }, "brace-expansion": { "version": "2.0.1", @@ -4279,19 +3851,9 @@ } }, "bson": { - "version": "4.7.2", - "resolved": "https://registry.npmjs.org/bson/-/bson-4.7.2.tgz", - "integrity": "sha512-Ry9wCtIZ5kGqkJoi6aD8KjxFZEx78guTQDnpXWiNthsxzrxAK/i8E6pCHAIZTbaEFWcOCvbecMukfK7XUvyLpQ==", - "requires": { - "buffer": "^5.6.0" - } - }, - "buffer": { - "version": "5.7.1", - "requires": { - "base64-js": "^1.3.1", - "ieee754": "^1.1.13" - } + "version": "6.8.0", + "resolved": "https://registry.npmjs.org/bson/-/bson-6.8.0.tgz", + "integrity": "sha512-iOJg8pr7wq2tg/zSlCCHMi3hMm5JTOxLTagf3zxhcenHsFp+c6uOs6K7W5UE7A4QIJGtqh/ZovFNMP4mOPJynQ==" }, "buffer-equal-constant-time": { "version": "1.0.1", @@ -4344,14 +3906,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.37.3", + "resolved": "https://registry.npmjs.org/cloudinary/-/cloudinary-1.37.3.tgz", + "integrity": "sha512-XrGb60ZeQhYp9QQjj5DP3cYsAc27OV1B7pezvVxyqgHB5WMeMsofzeIy6+k0o/fCCv744Nf7xsYiTlUi3V0V/Q==", "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" } }, @@ -4408,7 +3969,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 +3983,6 @@ "vary": "^1" } }, - "data-uri-to-buffer": { - "version": "3.0.1", - "optional": true - }, "datauri": { "version": "4.1.0", "requires": { @@ -4437,20 +3996,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" }, @@ -4498,29 +4043,6 @@ "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" }, @@ -4586,21 +4108,14 @@ } } }, - "fast-levenshtein": { - "version": "2.0.6", - "optional": true - }, "fast-xml-parser": { "version": "4.0.11", "optional": true, + "peer": true, "requires": { "strnum": "^1.0.5" } }, - "file-uri-to-path": { - "version": "2.0.0", - "optional": true - }, "filelist": { "version": "1.0.4", "requires": { @@ -4646,43 +4161,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 +4175,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 +4182,6 @@ "is-glob": "^4.0.1" } }, - "graceful-fs": { - "version": "4.2.10", - "optional": true - }, "has": { "version": "1.0.3", "requires": { @@ -4758,58 +4207,12 @@ "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": { "safer-buffer": ">= 2.1.2 < 3" } }, - "ieee754": { - "version": "1.2.1" - }, "ignore-by-default": { "version": "1.0.1", "dev": true @@ -4823,10 +4226,6 @@ "inherits": { "version": "2.0.4" }, - "ip": { - "version": "1.1.8", - "optional": true - }, "ipaddr.js": { "version": "1.9.1" }, @@ -4883,17 +4282,10 @@ } } }, - "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", - "integrity": "sha512-XjwVfRS6jTMsqYs0EsuJ4LGxXV14zQybNd4L2r0UvbVnSF9Af8x7p5MzbJ90Ioz/9TI41/hTCvznF/loiSzn8w==", + "version": "9.0.2", + "resolved": "https://registry.npmjs.org/jsonwebtoken/-/jsonwebtoken-9.0.2.tgz", + "integrity": "sha512-PRp66vJ865SSqOlgqS8hujT5U4AOgMfhrwYIuIhfKaoSCZcirrmASQr8CX7cUg+RMih+hgznrjp99o+W4pJLHQ==", "requires": { "jws": "^3.2.2", "lodash.includes": "^4.3.0", @@ -4904,13 +4296,18 @@ "lodash.isstring": "^4.0.1", "lodash.once": "^4.0.0", "ms": "^2.1.1", - "semver": "^5.6.0" + "semver": "^7.5.4" }, "dependencies": { "ms": { "version": "2.1.3", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" + }, + "semver": { + "version": "7.6.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", + "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==" } } }, @@ -4938,14 +4335,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,21 +4373,13 @@ "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" }, "memory-pager": { "version": "1.5.0", "resolved": "https://registry.npmjs.org/memory-pager/-/memory-pager-1.5.0.tgz", - "integrity": "sha512-ZS4Bp4r/Zoeq6+NLJpP+0Zzm0pR8whtGPf1XExKLJBAczGMnSi3It14OiNCStjQjM6NU1okjQGSxgEZN8eBYKg==", - "optional": true + "integrity": "sha512-ZS4Bp4r/Zoeq6+NLJpP+0Zzm0pR8whtGPf1XExKLJBAczGMnSi3It14OiNCStjQjM6NU1okjQGSxgEZN8eBYKg==" }, "merge-descriptors": { "version": "1.0.1" @@ -5039,15 +4420,13 @@ } }, "mongodb": { - "version": "4.17.1", - "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-4.17.1.tgz", - "integrity": "sha512-MBuyYiPUPRTqfH2dV0ya4dcr2E5N52ocBuZ8Sgg/M030nGF78v855B3Z27mZJnp8PxjnUquEnAtjOsphgMZOlQ==", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-6.0.0.tgz", + "integrity": "sha512-wUIYesF4DTyDccm0noE5TwGi9ISdXUAi9T2cQ4xPc+EUBZG44bfMVt2ecOG5Ypca7eCz3oRpJm6YI6c7jAnuNw==", "requires": { - "@aws-sdk/credential-providers": "^3.186.0", "@mongodb-js/saslprep": "^1.1.0", - "bson": "^4.7.2", - "mongodb-connection-string-url": "^2.6.0", - "socks": "^2.7.1" + "bson": "^6.0.0", + "mongodb-connection-string-url": "^2.6.0" } }, "mongodb-connection-string-url": { @@ -5060,19 +4439,29 @@ } }, "mongoose": { - "version": "6.12.3", - "resolved": "https://registry.npmjs.org/mongoose/-/mongoose-6.12.3.tgz", - "integrity": "sha512-MNJymaaXali7w7rHBxVUoQ3HzHHMk/7I/+yeeoSa4rUzdjZwIWQznBNvVgc0A8ghuJwsuIkb5LyLV6gSjGjWyQ==", + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/mongoose/-/mongoose-8.0.0.tgz", + "integrity": "sha512-PzwkLgm1Jhj0NQdgGfnFsu0QP9V1sBFgbavEgh/IPAUzKAagzvEhuaBuAQOQGjczVWnpIU9tBqyd02cOTgsPlA==", "requires": { - "bson": "^4.7.2", + "bson": "^6.2.0", "kareem": "2.5.1", - "mongodb": "4.17.1", + "mongodb": "6.2.0", "mpath": "0.9.0", - "mquery": "4.0.3", + "mquery": "5.0.0", "ms": "2.1.3", "sift": "16.0.1" }, "dependencies": { + "mongodb": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-6.2.0.tgz", + "integrity": "sha512-d7OSuGjGWDZ5usZPqfvb36laQ9CPhnWkAGHT61x5P95p/8nMVeH8asloMwW6GcYFeB0Vj4CB/1wOTDG2RA9BFA==", + "requires": { + "@mongodb-js/saslprep": "^1.1.0", + "bson": "^6.2.0", + "mongodb-connection-string-url": "^2.6.0" + } + }, "ms": { "version": "2.1.3" } @@ -5082,19 +4471,25 @@ "version": "0.9.0" }, "mquery": { - "version": "4.0.3", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/mquery/-/mquery-5.0.0.tgz", + "integrity": "sha512-iQMncpmEK8R8ncT8HJGsGc9Dsp8xcgYMVSbs5jgnm1lFHTZqMJTUWTDx1LBO8+mK3tPNZWFLBghQEIOULSTHZg==", "requires": { "debug": "4.x" }, "dependencies": { "debug": { - "version": "4.3.4", + "version": "4.3.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.7.tgz", + "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==", "requires": { - "ms": "2.1.2" + "ms": "^2.1.3" } }, "ms": { - "version": "2.1.2" + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" } } }, @@ -5120,10 +4515,6 @@ "negotiator": { "version": "0.6.3" }, - "netmask": { - "version": "2.0.2", - "optional": true - }, "nodemon": { "version": "2.0.20", "dev": true, @@ -5215,55 +4606,6 @@ "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" }, @@ -5302,10 +4644,6 @@ "version": "2.3.1", "dev": true }, - "prelude-ls": { - "version": "1.1.2", - "optional": true - }, "process-nextick-args": { "version": "2.0.1" }, @@ -5316,37 +4654,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 @@ -5420,7 +4727,8 @@ "version": "2.1.0" }, "semver": { - "version": "5.7.1" + "version": "5.7.1", + "dev": true }, "send": { "version": "0.18.0", @@ -5482,51 +4790,30 @@ } }, "smart-buffer": { - "version": "4.2.0" + "version": "4.2.0", + "optional": true, + "peer": true }, "socks": { "version": "2.7.1", + "optional": true, + "peer": true, "requires": { "ip": "^2.0.0", "smart-buffer": "^4.2.0" }, "dependencies": { "ip": { - "version": "2.0.0" - } - } - }, - "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", + "version": "2.0.0", "optional": true, - "requires": { - "ms": "2.1.2" - } - }, - "ms": { - "version": "2.1.2", - "optional": true + "peer": 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", "integrity": "sha512-kvzhi7vqKTfkh0PZU+2D2PIllw2ymqJKujUcyPMd9Y75Nv4nPbGJZXNhxsgdQab2BmlDct1YnfQCguEvHr7VsQ==", - "optional": true, "requires": { "memory-pager": "^1.0.2" } @@ -5555,7 +4842,8 @@ }, "strnum": { "version": "1.0.5", - "optional": true + "optional": true, + "peer": true }, "supports-color": { "version": "7.2.0", @@ -5599,14 +4887,8 @@ }, "tslib": { "version": "2.4.1", - "optional": true - }, - "type-check": { - "version": "0.3.2", "optional": true, - "requires": { - "prelude-ls": "~1.1.2" - } + "peer": true }, "type-is": { "version": "1.6.18", @@ -5633,10 +4915,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" }, @@ -5648,19 +4926,12 @@ }, "uuid": { "version": "8.3.2", - "optional": true + "optional": true, + "peer": true }, "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 +4946,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..c2db75a96 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "dependencies": { "body-parser": "^1.20.0", "chart.js": "^4.0.1", - "cloudinary": "^1.32.0", + "cloudinary": "^1.37.3", "connect-flash": "^0.1.1", "cookie-parser": "^1.4.6", "cors": "^2.8.5", @@ -24,9 +24,9 @@ "express-ejs-layouts": "^2.5.1", "express-session": "^1.17.3", "formidable": "^2.0.1", - "jsonwebtoken": "^8.5.1", - "mongodb": "^4.9.1", - "mongoose": "^6.12.3", + "jsonwebtoken": "^9.0.2", + "mongodb": "^6.0.0", + "mongoose": "^8.0.0", "multer": "^1.4.5-lts.1", "multer-storage-cloudinary": "^4.0.0", "passport": "^0.6.0",