Update logger, metrics, and redis client

Also fix acceptance tests, broken by a change in behaviour of the redis client.
It now returns a promise from most operations. This interferes with how mocha
handles callbacks in `before` blocks.
This commit is contained in:
Shane Kilkelly
2019-06-18 15:31:19 +01:00
parent 2c1f83138c
commit ef0d9c5afc
9 changed files with 222 additions and 219 deletions

View File

@@ -13,13 +13,15 @@
"nodemon": "nodemon --config nodemon.json",
"test:acceptance:_run": "mocha --recursive --reporter spec --timeout 15000 --exit $@ test/acceptance/js",
"test:unit:_run": "mocha --recursive --reporter spec $@ test/unit/js",
"lint": "node_modules/.bin/eslint ."
"lint": "node_modules/.bin/eslint .",
"format": "node_modules/.bin/prettier-eslint '**/*.js' --list-different",
"format:fix": "node_modules/.bin/prettier-eslint '**/*.js' --write"
},
"dependencies": {
"async": "0.2.9",
"express": "3.3.1",
"logger-sharelatex": "^1.6.0",
"metrics-sharelatex": "^2.1.1",
"logger-sharelatex": "^1.7.0",
"metrics-sharelatex": "^2.2.0",
"mongojs": "2.4.0",
"redis": "~0.10.1",
"request": "^2.79.0",