diff --git a/Jenkinsfile b/Jenkinsfile index 7ae0923..256b798 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -48,7 +48,7 @@ pipeline { axes { axis { name 'NODE_VERSION' - values '12', '14', '16', '18' + values '16', '18', '20' } } diff --git a/package.json b/package.json index 9bb6fc5..2074d51 100644 --- a/package.json +++ b/package.json @@ -54,7 +54,7 @@ }, "homepage": "https://github.com/logdna/pino-logdna#readme", "dependencies": { - "@logdna/logger": "^2.4.1", + "@logdna/logger": "^2.6.8", "nopt": "^5.0.0", "pino-abstract-transport": "^0.5.0" }, @@ -92,6 +92,7 @@ "100": true, "ts": false, "jsx": false, + "color": false, "check-coverage": true, "jobs": 1, "timeout": 60, diff --git a/test/common/test-server.js b/test/common/test-server.js index 4e75c46..b72fa30 100644 --- a/test/common/test-server.js +++ b/test/common/test-server.js @@ -30,8 +30,8 @@ module.exports = function create(test) { server.listen(listen_port) await once(server, 'listening') - const {address, port} = server.address() - return `http://${address}:${port}` + const {port} = server.address() + return `http://localhost:${port}` } , async close() { server.close()