summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorDavid Mehren2020-12-27 15:52:26 +0100
committerDavid Mehren2020-12-27 19:51:14 +0100
commit6932cc4df7e0c2826e47b2d9ca2f0031f75b1b58 (patch)
tree50eea3b294f40287a8eded1938593d0a2c4f206a /package.json
parentcf4344d9e031d2e0bf70b8d8f75ab27ecf8d29ad (diff)
Always save uploads to a tmpdir first and cleanup afterwards
This makes sure no unintended files are permanently saved. Co-authored-by: Yannick Bungers <git@innay.de> Signed-off-by: David Mehren <git@herrmehren.de>
Diffstat (limited to 'package.json')
-rw-r--r--package.json1
1 files changed, 1 insertions, 0 deletions
diff --git a/package.json b/package.json
index c77045ab..ae234182 100644
--- a/package.json
+++ b/package.json
@@ -112,6 +112,7 @@
"readline-sync": "^1.4.7",
"request": "^2.88.0",
"reveal.js": "^3.9.2",
+ "rimraf": "^3.0.2",
"scrypt-async": "^2.0.1",
"scrypt-kdf": "^2.0.1",
"select2": "^3.5.2-browserify",