fix uuid (again) and helmet

merge-requests/5/head
eirk 2021-08-06 17:21:16 -04:00
parent 1fb9bc2628
commit 2e84994610
3 changed files with 16 additions and 1 deletions

14
package-lock.json generated
View File

@ -17,6 +17,7 @@
"express": "^4.17.1", "express": "^4.17.1",
"fs-extra": "^10.0.0", "fs-extra": "^10.0.0",
"hastebin-gen": "^2.0.5", "hastebin-gen": "^2.0.5",
"helmet": "^4.6.0",
"ioredis": "^4.27.7", "ioredis": "^4.27.7",
"jsonwebtoken": "^8.5.1", "jsonwebtoken": "^8.5.1",
"moment": "^2.29.1", "moment": "^2.29.1",
@ -2746,6 +2747,14 @@
"node-fetch": "^2.6.0" "node-fetch": "^2.6.0"
} }
}, },
"node_modules/helmet": {
"version": "4.6.0",
"resolved": "https://registry.npmjs.org/helmet/-/helmet-4.6.0.tgz",
"integrity": "sha512-HVqALKZlR95ROkrnesdhbbZJFi/rIVSoNq6f3jA/9u6MIbTsPh3xZwihjeI5+DO/2sOV6HMHooXcEOuwskHpTg==",
"engines": {
"node": ">=10.0.0"
}
},
"node_modules/hosted-git-info": { "node_modules/hosted-git-info": {
"version": "2.8.9", "version": "2.8.9",
"resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz",
@ -7604,6 +7613,11 @@
"node-fetch": "^2.6.0" "node-fetch": "^2.6.0"
} }
}, },
"helmet": {
"version": "4.6.0",
"resolved": "https://registry.npmjs.org/helmet/-/helmet-4.6.0.tgz",
"integrity": "sha512-HVqALKZlR95ROkrnesdhbbZJFi/rIVSoNq6f3jA/9u6MIbTsPh3xZwihjeI5+DO/2sOV6HMHooXcEOuwskHpTg=="
},
"hosted-git-info": { "hosted-git-info": {
"version": "2.8.9", "version": "2.8.9",
"resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz",

View File

@ -20,6 +20,7 @@
"express": "^4.17.1", "express": "^4.17.1",
"fs-extra": "^10.0.0", "fs-extra": "^10.0.0",
"hastebin-gen": "^2.0.5", "hastebin-gen": "^2.0.5",
"helmet": "^4.6.0",
"ioredis": "^4.27.7", "ioredis": "^4.27.7",
"jsonwebtoken": "^8.5.1", "jsonwebtoken": "^8.5.1",
"moment": "^2.29.1", "moment": "^2.29.1",

View File

@ -1,5 +1,5 @@
import { Message } from 'discord.js'; import { Message } from 'discord.js';
import uuid from 'uuid/v4'; import { v4 as uuid } from 'uuid';
import { Client, Command } from '../class'; import { Client, Command } from '../class';
export default class DeleteAccount extends Command { export default class DeleteAccount extends Command {