diff --git a/package.json b/package.json index 451740a..bc0332f 100644 --- a/package.json +++ b/package.json @@ -186,9 +186,10 @@ "@types/cors": "^2.8.12", "@types/eslint": "^8.4.2", "@types/express": "^4.17.13", - "@types/mocha": "^9.1.0", + "@types/mocha": "^10.0.0", "@types/node": "^17.0.21", "@types/portscanner": "^2.1.1", + "@types/winston": "^2.4.4", "@typescript-eslint/eslint-plugin": "^5.22.0", "@typescript-eslint/parser": "^5.22.0", "aegir": "^37.0.15", diff --git a/test/logger.ts b/test/logger.ts index a4cda49..ae96199 100644 --- a/test/logger.ts +++ b/test/logger.ts @@ -22,7 +22,7 @@ const logger = winston.createLogger({ format: 'YYYY-MM-DD hh:mm:ss.SSS A' }), align(), - printf((info) => `[${info.timestamp as string}] ${info.level}: ${info.message}`) + printf((info) => `[${info.timestamp as string}] ${info.level}: ${info.message as string}`) ), transports: [ new winston.transports.Console({ level: 'verbose' }),