Update dependencies

This commit is contained in:
Thomas Oberndörfer 2019-05-27 14:31:22 +02:00
parent d14b0dc390
commit 9064089482
4 changed files with 721 additions and 270 deletions

View File

@ -41,6 +41,7 @@
"keyword-spacing": 1, // enforce consistent spacing between keys and values in object literal properties "keyword-spacing": 1, // enforce consistent spacing between keys and values in object literal properties
"linebreak-style": 1, // enforce consistent linebreak style "linebreak-style": 1, // enforce consistent linebreak style
"lines-between-class-members": 1, // require or disallow an empty line between class members "lines-between-class-members": 1, // require or disallow an empty line between class members
"new-parens": ["warn"], // require parens when invoking constructors
"no-multiple-empty-lines": ["warn", {"max": 1}], // disallow multiple empty lines "no-multiple-empty-lines": ["warn", {"max": 1}], // disallow multiple empty lines
"no-trailing-spaces": 1, // disallow trailing whitespace at the end of lines "no-trailing-spaces": 1, // disallow trailing whitespace at the end of lines
"no-var": 1, // require let or const instead of var "no-var": 1, // require let or const instead of var

View File

@ -37,7 +37,7 @@ if (cluster.isMaster) {
cluster.on('fork', worker => log.info('cluster', `Forked worker #${worker.id} [pid:${worker.process.pid}]`)); cluster.on('fork', worker => log.info('cluster', `Forked worker #${worker.id} [pid:${worker.process.pid}]`));
cluster.on('exit', worker => { cluster.on('exit', worker => {
log.warn('cluster', `Worker #${worker.id} [pid:${worker.process.pid}] died`); log.warn('cluster', `Worker #${worker.id} [pid:${worker.process.pid}] died`);
setTimeout(() => cluster.fork(), 5000); cluster.fork();
}); });
} else { } else {
require('./src'); require('./src');

972
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -22,22 +22,22 @@
}, },
"dependencies": { "dependencies": {
"co-body": "6.0.0", "co-body": "6.0.0",
"config": "3.0.1", "config": "3.1.0",
"koa": "2.7.0", "koa": "2.7.0",
"koa-router": "7.4.0", "koa-router": "7.4.0",
"koa-static": "5.0.0", "koa-static": "5.0.0",
"mongodb": "3.2.2", "mongodb": "3.2.6",
"nodemailer": "5.1.1", "nodemailer": "6.2.1",
"openpgp": "github:mailvelope/openpgpjs#fix_user_verify_dist", "openpgp": "4.5.2",
"winston": "3.2.1", "winston": "3.2.1",
"winston-papertrail": "1.0.5" "winston-papertrail": "1.0.5"
}, },
"devDependencies": { "devDependencies": {
"chai": "^4.1.1", "chai": "^4.1.1",
"chai-as-promised": "^7.1.1", "chai-as-promised": "^7.1.1",
"eslint": "^5.15.0", "eslint": "^5.16.0",
"mocha": "^5.2.0", "mocha": "^6.1.4",
"sinon": "^7.2.6", "sinon": "^7.3.2",
"supertest": "^3.0.0" "supertest": "^4.0.2"
} }
} }