From d79ee0e16751aa57c9b4913deb7a9cc82361acda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jens=20Carl=C3=A9n?= Date: Mon, 21 Jan 2019 07:54:28 +0100 Subject: [PATCH] Newer syslog --- package.json | 2 +- test/logger-test.js | 2 +- yarn.lock | 7 ++++--- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index f93900b..d73f835 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "exp-config": "^2.0.1", "prom-client": "^10.2.2", "winston": "^3.1.0", - "winston-syslog": "^1.0.0", + "winston-syslog": "^2.0.0", "winston-transport": "^3.2.1" }, "devDependencies": { diff --git a/test/logger-test.js b/test/logger-test.js index 180edab..aab4bb5 100644 --- a/test/logger-test.js +++ b/test/logger-test.js @@ -107,6 +107,6 @@ describe("logger", () => { describe("location", () => { logger.info("message"); const log = transport.logs.shift(); - log.location.should.eql("test/logger-test.js:113"); + log.location.should.eql("test/logger-test.js:108"); }); }); diff --git a/yarn.lock b/yarn.lock index 215dd10..91c9779 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1498,9 +1498,10 @@ which@^1.2.9: dependencies: isexe "^2.0.0" -winston-syslog@^1.0.0: - version "1.2.6" - resolved "https://registry.yarnpkg.com/winston-syslog/-/winston-syslog-1.2.6.tgz#4e7990ed0a9f1932187ddd6ec9e038357980961f" +winston-syslog@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/winston-syslog/-/winston-syslog-2.0.0.tgz#e41330ecffe37c1971e5d1144eff9ace32d5ba2c" + integrity sha512-20915SaP9DzXoY9gcb9Efyj+mKz4marNKadryDfgF3BwV2eqloN9drFa71P/+28hW61foUiLfRPeeVauwuimzQ== dependencies: cycle "~1.0.3" glossy "0.x.x"