Updated dependency versions in `package.json`

- also removed an old TODO
pull/96/head
tycrek 3 years ago
parent 3398e7a34c
commit 4c63c889ad
No known key found for this signature in database
GPG Key ID: 25D74F3943625263

20
package-lock.json generated

@ -15,15 +15,15 @@
"@tycrek/log": "^0.5.9", "@tycrek/log": "^0.5.9",
"@tycrek/papito": "^0.3.4", "@tycrek/papito": "^0.3.4",
"any-shell-escape": "^0.1.1", "any-shell-escape": "^0.1.1",
"aws-sdk": "^2.930.0", "aws-sdk": "^2.1008.0",
"check-node-version": "^4.1.0", "check-node-version": "^4.1.0",
"crypto-random-string": "3.3.1", "crypto-random-string": "3.3.1",
"discord-webhook-node": "^1.1.8", "discord-webhook-node": "^1.1.8",
"escape-html": "^1.0.3", "escape-html": "^1.0.3",
"express": "^4.17.1", "express": "^4.17.1",
"express-busboy": "^8.0.0", "express-busboy": "^8.0.0",
"express-rate-limit": "^5.2.6", "express-rate-limit": "^5.5.0",
"ffmpeg-static": "^4.3.0", "ffmpeg-static": "^4.4.0",
"fs-extra": "^9.1.0", "fs-extra": "^9.1.0",
"helmet": "^4.6.0", "helmet": "^4.6.0",
"jimp": "^0.16.1", "jimp": "^0.16.1",
@ -31,7 +31,7 @@
"marked": "^2.0.7", "marked": "^2.0.7",
"node-fetch": "^2.6.2", "node-fetch": "^2.6.2",
"node-vibrant": "*", "node-vibrant": "*",
"prompt": "^1.1.0", "prompt": "^1.2.0",
"pug": "^3.0.2", "pug": "^3.0.2",
"sanitize-filename": "^1.6.3", "sanitize-filename": "^1.6.3",
"stream-to-array": "^2.3.0", "stream-to-array": "^2.3.0",
@ -1170,9 +1170,9 @@
} }
}, },
"node_modules/aws-sdk": { "node_modules/aws-sdk": {
"version": "2.1007.0", "version": "2.1008.0",
"resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1007.0.tgz", "resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1008.0.tgz",
"integrity": "sha512-I/o2R7RTh6NGRilsBrJHg7r9WprU9EavozZ43qMQcppaLAeZrECBbGfpfRyhfrj7885+KS+WOu1SGn6bsSd2VQ==", "integrity": "sha512-wBEon+ARCuMcwEPpOFZqRT3elBLfLtPqv8jMql3Hsr7Ua5toPlgKMmjf368iTzBNaY7TOZsjLAT9nAhvtSZ++g==",
"hasInstallScript": true, "hasInstallScript": true,
"dependencies": { "dependencies": {
"buffer": "4.9.2", "buffer": "4.9.2",
@ -5489,9 +5489,9 @@
"integrity": "sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg==" "integrity": "sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg=="
}, },
"aws-sdk": { "aws-sdk": {
"version": "2.1007.0", "version": "2.1008.0",
"resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1007.0.tgz", "resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1008.0.tgz",
"integrity": "sha512-I/o2R7RTh6NGRilsBrJHg7r9WprU9EavozZ43qMQcppaLAeZrECBbGfpfRyhfrj7885+KS+WOu1SGn6bsSd2VQ==", "integrity": "sha512-wBEon+ARCuMcwEPpOFZqRT3elBLfLtPqv8jMql3Hsr7Ua5toPlgKMmjf368iTzBNaY7TOZsjLAT9nAhvtSZ++g==",
"requires": { "requires": {
"buffer": "4.9.2", "buffer": "4.9.2",
"events": "1.1.1", "events": "1.1.1",

@ -43,15 +43,15 @@
"@tycrek/log": "^0.5.9", "@tycrek/log": "^0.5.9",
"@tycrek/papito": "^0.3.4", "@tycrek/papito": "^0.3.4",
"any-shell-escape": "^0.1.1", "any-shell-escape": "^0.1.1",
"aws-sdk": "^2.930.0", "aws-sdk": "^2.1008.0",
"check-node-version": "^4.1.0", "check-node-version": "^4.1.0",
"crypto-random-string": "3.3.1", "crypto-random-string": "3.3.1",
"discord-webhook-node": "^1.1.8", "discord-webhook-node": "^1.1.8",
"escape-html": "^1.0.3", "escape-html": "^1.0.3",
"express": "^4.17.1", "express": "^4.17.1",
"express-busboy": "^8.0.0", "express-busboy": "^8.0.0",
"express-rate-limit": "^5.2.6", "express-rate-limit": "^5.5.0",
"ffmpeg-static": "^4.3.0", "ffmpeg-static": "^4.4.0",
"fs-extra": "^9.1.0", "fs-extra": "^9.1.0",
"helmet": "^4.6.0", "helmet": "^4.6.0",
"jimp": "^0.16.1", "jimp": "^0.16.1",
@ -59,7 +59,7 @@
"marked": "^2.0.7", "marked": "^2.0.7",
"node-fetch": "^2.6.2", "node-fetch": "^2.6.2",
"node-vibrant": "*", "node-vibrant": "*",
"prompt": "^1.1.0", "prompt": "^1.2.0",
"pug": "^3.0.2", "pug": "^3.0.2",
"sanitize-filename": "^1.6.3", "sanitize-filename": "^1.6.3",
"stream-to-array": "^2.3.0", "stream-to-array": "^2.3.0",

@ -80,7 +80,7 @@ app.get('/', (req, res, next) => ASS_INDEX_ENABLED // skipcq: JS-0229
.catch(next)); .catch(next));
// Set up custom frontend // Set up custom frontend
const ASS_FRONTEND = fs.existsSync(path(`./${frontendName}/package.json`)) ? (require('submodule'), require(`../${frontendName}`)) : { enabled: false }; // todo: update with src/ const ASS_FRONTEND = fs.existsSync(path(`./${frontendName}/package.json`)) ? (require('submodule'), require(`../${frontendName}`)) : { enabled: false };
ASS_FRONTEND.enabled && app.use(ASS_FRONTEND.endpoint, ASS_FRONTEND.router); // skipcq: JS-0093 ASS_FRONTEND.enabled && app.use(ASS_FRONTEND.endpoint, ASS_FRONTEND.router); // skipcq: JS-0093
// Upload router (has to come after custom frontends as express-busboy interferes with all POST calls) // Upload router (has to come after custom frontends as express-busboy interferes with all POST calls)

Loading…
Cancel
Save