update mime 1.3.4->2.4.4, sqlite3 3.1.8->4.1.1, request 2.74.0->2.88.2

This commit is contained in:
Nick Krecklow 2020-04-01 20:42:27 -05:00
parent 364dc1ad59
commit db4c934c8d
No known key found for this signature in database
GPG Key ID: 5F149FDE156FFA94
2 changed files with 4 additions and 4 deletions

View File

@ -46,7 +46,7 @@ function handleRequest(req, res) {
} else if (requestUrl in urlMapping) {
var file = urlMapping[requestUrl];
res.setHeader('Content-Type', mime.lookup(file));
res.setHeader('Content-Type', mime.getType(file));
fs.createReadStream(file).pipe(res);
} else {

View File

@ -6,10 +6,10 @@
"dependencies": {
"mc-ping-updated": "0.1.0",
"mcpe-ping-fixed": "0.0.3",
"mime": "^1.3.4",
"request": "^2.74.0",
"mime": "2.4.4",
"request": "2.88.2",
"socket.io": "^1.3.7",
"sqlite3": "^3.1.8",
"sqlite3": "4.1.1",
"winston": "^2.0.0"
},
"repository": {