From 0f7b30ce6e8727d39e0952302c34faec1275d6c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laurens=20St=C3=B6tzel?= Date: Tue, 21 Apr 2026 14:33:33 +0200 Subject: [PATCH 1/2] build: drop Node 18 EOL, add Node 24 and 25 support Co-Authored-By: Claude Sonnet 4.6 --- .github/workflows/nodejs.yml | 2 +- package.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index bd1b5d8..1fd37f0 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: ['18', '20', '22'] + node-version: ['20', '22', '24', '25'] steps: - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} diff --git a/package.json b/package.json index 7333a2b..278d9fc 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "ntp-packet-parser": "^0.5.0" }, "devDependencies": { - "@types/node": "^18 || ^20 || ^22", + "@types/node": "^20 || ^22 || ^24 || ^25", "prettier": "3.8.3", "ts-node": "10.9.2", "typescript": "5.9.3" @@ -43,6 +43,6 @@ "trailingComma": "es5" }, "engines": { - "node": "^18 || ^20 || ^22" + "node": "^20 || ^22 || ^24 || ^25" } } From 428ead4e4276e2358d7867de35d74ab8e661e3b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laurens=20St=C3=B6tzel?= Date: Tue, 21 Apr 2026 14:42:34 +0200 Subject: [PATCH 2/2] build: add .yarnrc to ignore engine checks for Node 24 and 25 The ntp-packet-parser@0.5.0 dependency declares engines "^18 || ^20 || ^22", which causes yarn install to fail on Node 24 and 25. Adding ignore-engines bypasses the strict engine check so CI can install and build on all supported Node versions. Co-Authored-By: Claude Sonnet 4.6 --- .yarnrc | 1 + 1 file changed, 1 insertion(+) create mode 100644 .yarnrc diff --git a/.yarnrc b/.yarnrc new file mode 100644 index 0000000..123ac74 --- /dev/null +++ b/.yarnrc @@ -0,0 +1 @@ +ignore-engines true