Skip to content
Snippets Groups Projects
Commit 16805f97 authored by Felipe Cecagno's avatar Felipe Cecagno
Browse files

update webhooks dependencies in order to fix vulnerabilities

parent 0eabd12f
No related branches found
No related tags found
No related merge requests found
const winston = require("winston");
const { createLogger, format, transports } = require('winston');
const logger = new (winston.Logger)({
const logger = createLogger({
transports: [
new (winston.transports.Console)({ timestamp: true, colorize: true }),
new (winston.transports.File)({ filename: "log/application.log", timestamp: true })
new transports.Console({ format: format.combine(format.timestamp(), format.splat(), format.json()) }),
new transports.File({ filename: "log/application.log", format: format.combine(format.timestamp(), format.splat(), format.json()) })
]
});
module.exports = logger;
This diff is collapsed.
......@@ -8,24 +8,22 @@
"callbacks"
],
"dependencies": {
"async": "0.9.0",
"async": "2.6.1",
"body-parser": "^1.9.2",
"express": "4.10.2",
"lodash": "2.4.1",
"nock": "^9.0.14",
"express": "4.16.4",
"lodash": "4.17.11",
"nock": "^10.0.4",
"redis": "^2.8.0",
"request": "2.47.0",
"sha1": "1.1.0",
"sinon": "^3.2.1",
"winston": "0.8.3",
"xmldom": "^0.1.27",
"xpath": "0.0.24"
"request": "2.88.0",
"sha1": "1.1.1",
"sinon": "^7.2.2",
"winston": "3.1.0"
},
"engines": {
"node": "8.4.0"
},
"devDependencies": {
"mocha": "^3.5.0",
"mocha": "^5.2.0",
"supertest": "^3.0.0"
},
"scripts": {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment