mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2024-11-17 09:23:07 +02:00
Update dependencies
This commit is contained in:
parent
f050d5c41f
commit
7c011fbf9d
16
package.json
16
package.json
@ -39,19 +39,19 @@
|
|||||||
"@eartharoid/dtf": "^2.0.1",
|
"@eartharoid/dtf": "^2.0.1",
|
||||||
"@eartharoid/i18n": "^1.2.1",
|
"@eartharoid/i18n": "^1.2.1",
|
||||||
"@fastify/cookie": "^6.0.0",
|
"@fastify/cookie": "^6.0.0",
|
||||||
"@fastify/cors": "^8.1.1",
|
"@fastify/cors": "^8.2.0",
|
||||||
"@fastify/http-proxy": "^8.2.3",
|
"@fastify/http-proxy": "^8.4.0",
|
||||||
"@fastify/jwt": "^5.0.1",
|
"@fastify/jwt": "^5.0.1",
|
||||||
"@fastify/oauth2": "^5.1.0",
|
"@fastify/oauth2": "^5.1.0",
|
||||||
"@prisma/client": "^4.5.0",
|
"@prisma/client": "^4.8.0",
|
||||||
"cryptr": "^6.0.3",
|
"cryptr": "^6.0.3",
|
||||||
"discord.js": "^14.6.0",
|
"discord.js": "^14.7.1",
|
||||||
"dotenv": "^16.0.3",
|
"dotenv": "^16.0.3",
|
||||||
"express": "^4.18.2",
|
"express": "^4.18.2",
|
||||||
"fastify": "^4.9.2",
|
"fastify": "^4.11.0",
|
||||||
"figlet": "^1.5.2",
|
"figlet": "^1.5.2",
|
||||||
"fs-extra": "^10.1.0",
|
"fs-extra": "^10.1.0",
|
||||||
"keyv": "^4.5.0",
|
"keyv": "^4.5.2",
|
||||||
"leeks.js": "^0.2.4",
|
"leeks.js": "^0.2.4",
|
||||||
"leekslazylogger": "^5.0.0",
|
"leekslazylogger": "^5.0.0",
|
||||||
"ms": "^2.1.3",
|
"ms": "^2.1.3",
|
||||||
@ -60,14 +60,14 @@
|
|||||||
"node-emoji": "^1.11.0",
|
"node-emoji": "^1.11.0",
|
||||||
"object-diffy": "^1.0.4",
|
"object-diffy": "^1.0.4",
|
||||||
"pad": "^3.2.0",
|
"pad": "^3.2.0",
|
||||||
"prisma": "^4.5.0",
|
"prisma": "^4.8.0",
|
||||||
"semver": "^7.3.8",
|
"semver": "^7.3.8",
|
||||||
"terminal-link": "^2.1.1",
|
"terminal-link": "^2.1.1",
|
||||||
"yaml": "^1.10.2"
|
"yaml": "^1.10.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"all-contributors-cli": "^6.24.0",
|
"all-contributors-cli": "^6.24.0",
|
||||||
"eslint": "^8.26.0",
|
"eslint": "^8.31.0",
|
||||||
"eslint-plugin-unused-imports": "^2.0.0",
|
"eslint-plugin-unused-imports": "^2.0.0",
|
||||||
"nodemon": "^2.0.20"
|
"nodemon": "^2.0.20"
|
||||||
},
|
},
|
||||||
|
@ -38,9 +38,9 @@ const traverse = (obj, action) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
module.exports = async (params, next) => {
|
module.exports = async (params, next) => {
|
||||||
if (params.args.create) params.args.create = traverse(params.args.create, 'SERIALISE');
|
if (params.args?.create) params.args.create = traverse(params.args.create, 'SERIALISE');
|
||||||
if (params.args.data) params.args.data = traverse(params.args.data, 'SERIALISE');
|
if (params.args?.data) params.args.data = traverse(params.args.data, 'SERIALISE');
|
||||||
if (params.args.update) params.args.update = traverse(params.args.update, 'SERIALISE');
|
if (params.args?.update) params.args.update = traverse(params.args.update, 'SERIALISE');
|
||||||
let result = await next(params);
|
let result = await next(params);
|
||||||
if (result) result = traverse(result, 'PARSE');
|
if (result) result = traverse(result, 'PARSE');
|
||||||
return result;
|
return result;
|
||||||
|
Loading…
Reference in New Issue
Block a user