fixed keyv error

This commit is contained in:
Burlone
2024-10-03 21:37:35 +02:00
parent e7cc4e2c1c
commit eca213e31d
4 changed files with 23 additions and 0 deletions
+1
View File
@@ -116,6 +116,7 @@ This **project/backend** is licensed under the **BSD 3-Clause License.**
* [NotTacos](https://github.com/PhysicalDrive) - For adding the working challenges (Backend Part)
* [zvivsp](https://github.com/zvivsp) - For creating the graphics
* [joaco](https://github.com/ojotaa0124) - For helping with CloudStorage and responses stuff
* [xLoigi](https://github.com/xLoigi) - For helping with some files and support a creator stuff
* [PRO100KatYT](https://github.com/PRO100KatYT) - For helping with some .json files
* [Marvelco](https://github.com/MarvelcoOGFN) - For helping with Battle passes (s11 - s16) / (We are working on season 15 while season 14 is currently not possible :C)
* [nade](https://github.com/gn1e) - For creating the base of the Auto Item Shop (Even if [Burlone](https://github.com/burlone0) solved many problems heheheh)
+2
View File
@@ -46,6 +46,8 @@ global.kv = kv;
global.exchangeCodes = [];
mongoose.set('strictQuery', true);
mongoose.connect(config.mongodb.database, () => {
log.backend("App successfully connected to MongoDB!");
});
+19
View File
@@ -19,6 +19,7 @@
"express-rate-limit": "^6.7.0",
"ioredis": "^5.4.1",
"jsonwebtoken": "^8.5.1",
"keyv": "^4.2.2",
"mongoose": "^6.6.5",
"path": "^0.12.7",
"uuid": "^9.0.0",
@@ -1007,6 +1008,15 @@
"resolved": "https://registry.npmjs.org/kareem/-/kareem-2.4.1.tgz",
"integrity": "sha512-aJ9opVoXroQUPfovYP5kaj2lM7Jn02Gw13bL0lg9v0V7SaUc0qavPs0Eue7d2DcC3NjqI6QAUElXNsuZSeM+EA=="
},
"node_modules/keyv": {
"version": "4.2.2",
"resolved": "https://registry.npmjs.org/keyv/-/keyv-4.2.2.tgz",
"integrity": "sha512-uYS0vKTlBIjNCAUqrjlxmruxOEiZxZIHXyp32sdcGmP+ukFrmWUnE//RcPXJH3Vxrni1H2gsQbjHE0bH7MtMQQ==",
"dependencies": {
"compress-brotli": "^1.3.6",
"json-buffer": "3.0.1"
}
},
"node_modules/lodash.includes": {
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/lodash.includes/-/lodash.includes-4.3.0.tgz",
@@ -2644,6 +2654,15 @@
"resolved": "https://registry.npmjs.org/kareem/-/kareem-2.4.1.tgz",
"integrity": "sha512-aJ9opVoXroQUPfovYP5kaj2lM7Jn02Gw13bL0lg9v0V7SaUc0qavPs0Eue7d2DcC3NjqI6QAUElXNsuZSeM+EA=="
},
"keyv": {
"version": "4.2.2",
"resolved": "https://registry.npmjs.org/keyv/-/keyv-4.2.2.tgz",
"integrity": "sha512-uYS0vKTlBIjNCAUqrjlxmruxOEiZxZIHXyp32sdcGmP+ukFrmWUnE//RcPXJH3Vxrni1H2gsQbjHE0bH7MtMQQ==",
"requires": {
"compress-brotli": "^1.3.6",
"json-buffer": "3.0.1"
}
},
"lodash.includes": {
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/lodash.includes/-/lodash.includes-4.3.0.tgz",
+1
View File
@@ -14,6 +14,7 @@
"express-rate-limit": "^6.7.0",
"ioredis": "^5.4.1",
"jsonwebtoken": "^8.5.1",
"keyv": "^4.2.2",
"mongoose": "^6.6.5",
"path": "^0.12.7",
"uuid": "^9.0.0",