Fix checkUploadType after upgrade to file-type 17

This package is now ESM-only, so we need to `import()` it and
raise the oldest supported Node version.

Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
David Mehren
2021-12-02 17:30:47 +01:00
parent b6a2a618bb
commit 6acb23f26d
2 changed files with 3 additions and 3 deletions

View File

@@ -110,7 +110,7 @@
"**/request": "^2.88.0"
},
"engines": {
"node": "12.x || 14.x || 16.x"
"node": "^12.20.0 || ^14.13.1 || 16.x"
},
"bugs": "https://github.com/hedgedoc/hedgedoc/issues",
"keywords": [