From 2fff079040a377fbe9ecc340388f6a29b863cf80 Mon Sep 17 00:00:00 2001 From: Sebastian Pekarek Date: Tue, 20 Aug 2024 20:38:37 +0200 Subject: [PATCH] chore: Drop support for node.js v19 and v21 BREAKING CHANGE: Drop node.js v21 Support These node.js versions are no longer supported. For more information see https://nodejs.dev/en/about/releases/ --- .github/workflows/test-release.yml | 2 +- package-lock.json | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test-release.yml b/.github/workflows/test-release.yml index 272a4e3..530b52b 100644 --- a/.github/workflows/test-release.yml +++ b/.github/workflows/test-release.yml @@ -15,7 +15,7 @@ jobs: if: github.repository != 'sebbo2002/js-template' && (contains(toJson(github.event.commits.*.message), '[skip ci]') == false || github.ref == 'refs/heads/main') strategy: matrix: - node: [18.x, 20.x, current] + node: [18.x, 20.x, 22.x, current] steps: - name: ☁️ Checkout Project uses: actions/checkout@v4 diff --git a/package-lock.json b/package-lock.json index 536d95d..d5003b9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -41,7 +41,7 @@ "typescript-eslint": "^8.0.0-alpha.41" }, "engines": { - "node": ">=18.0.0" + "node": "18 || 20 || >=22.0.0" } }, "node_modules/@babel/code-frame": { diff --git a/package.json b/package.json index ab1d484..a0b0913 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ "typescript-eslint": "^8.0.0-alpha.41" }, "engines": { - "node": ">=18.0.0" + "node": "18 || 20 || >=22.0.0" }, "exports": { "import": "./dist/lib/index.js",