Skip to content
Snippets Groups Projects
Unverified Commit 98443ca4 authored by Dixon Fred's avatar Dixon Fred Committed by GitHub
Browse files

Merge pull request #6438 from fcecagno/fix-webhooks-dependencies

Update webhooks dependencies
parents 0eabd12f 16805f97
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: [ transports: [
new (winston.transports.Console)({ timestamp: true, colorize: true }), new transports.Console({ format: format.combine(format.timestamp(), format.splat(), format.json()) }),
new (winston.transports.File)({ filename: "log/application.log", timestamp: true }) new transports.File({ filename: "log/application.log", format: format.combine(format.timestamp(), format.splat(), format.json()) })
] ]
}); });
module.exports = logger; module.exports = logger;
This diff is collapsed.
...@@ -8,24 +8,22 @@ ...@@ -8,24 +8,22 @@
"callbacks" "callbacks"
], ],
"dependencies": { "dependencies": {
"async": "0.9.0", "async": "2.6.1",
"body-parser": "^1.9.2", "body-parser": "^1.9.2",
"express": "4.10.2", "express": "4.16.4",
"lodash": "2.4.1", "lodash": "4.17.11",
"nock": "^9.0.14", "nock": "^10.0.4",
"redis": "^2.8.0", "redis": "^2.8.0",
"request": "2.47.0", "request": "2.88.0",
"sha1": "1.1.0", "sha1": "1.1.1",
"sinon": "^3.2.1", "sinon": "^7.2.2",
"winston": "0.8.3", "winston": "3.1.0"
"xmldom": "^0.1.27",
"xpath": "0.0.24"
}, },
"engines": { "engines": {
"node": "8.4.0" "node": "8.4.0"
}, },
"devDependencies": { "devDependencies": {
"mocha": "^3.5.0", "mocha": "^5.2.0",
"supertest": "^3.0.0" "supertest": "^3.0.0"
}, },
"scripts": { "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