From 89e05c5aa9a6558d30e435351b4fc5e558a2c830 Mon Sep 17 00:00:00 2001 From: larabr <7375870+larabr@users.noreply.github.com> Date: Mon, 20 Oct 2025 17:50:04 +0200 Subject: [PATCH] Drop support for Node v18 (require v20.19+) Node v18 has been EOL since March 2025. The noble libraries require v20.19+, so we align with those to avoid development warnings. --- .github/workflows/tests.yml | 2 +- package-lock.json | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c3f0e656..5fa84f37 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -31,7 +31,7 @@ jobs: strategy: fail-fast: false # if tests for one version fail, continue with the rest matrix: - node-version: [18.x, 20.x, 22.x, 24.x] + node-version: [20.x, 22.x, 24.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ name: Node ${{ matrix.node-version }} diff --git a/package-lock.json b/package-lock.json index 4755d979..881b3cd6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -56,7 +56,7 @@ "web-streams-polyfill": "^4.2.0" }, "engines": { - "node": ">= 18.0.0" + "node": ">= 20.19.0" } }, "node_modules/@babel/code-frame": { diff --git a/package.json b/package.json index 5e4429a2..47ec2c5e 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "license": "LGPL-3.0+", "homepage": "https://openpgpjs.org/", "engines": { - "node": ">= 18.0.0" + "node": ">= 20.19.0" }, "keywords": [ "crypto",