From 05852a5ee48d16f1f937d34ddae9b92e5fe81f34 Mon Sep 17 00:00:00 2001 From: Marielle Volz Date: Tue, 22 Oct 2024 11:08:59 +0100 Subject: [PATCH] Require node 18 or higher, update to 6.0.0 Due to localhost now pointing to IPv6 instead of IPv4 as of node 18, TestServer now explicitly serves 127.0.0.1 instead of localhost. Consumers who import the TestServer from service runner will need to update their test runner applications to serve from 127.0.0.1 as well in order to upgrade from node16 to node 18, in addition to upgrading from 5.0.0 to 6.0.0. --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 2ae69ad..7d7e0ab 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "service-runner", - "version": "5.0.0", + "version": "6.0.0", "description": "Generic nodejs service supervisor / cluster runner", "main": "service-runner.js", "bin": { @@ -31,7 +31,7 @@ }, "homepage": "https://github.com/wikimedia/service-runner", "engines": { - "node": ">=16" + "node": ">=18" }, "dependencies": { "bluebird": "^3.7.2",