From 93f0ac8fb3e79bd66a4d68fc350cfdd4f298fa3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=94=AF=E7=84=B6?= Date: Tue, 14 Oct 2025 15:05:45 +0800 Subject: [PATCH 1/3] feat!: Require Node.js ^20.19.0 || ^22.13.0 || >=24 From e7f10a9ba9029985b2ce38fd501e0fafb163d87e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=94=AF=E7=84=B6?= Date: Tue, 14 Oct 2025 15:11:19 +0800 Subject: [PATCH 2/3] feat!: Require Node.js ^20.19.0 || ^22.13.0 || >=24 refs [eslint/eslint#19969](https://github.com/eslint/eslint/issues/19969) --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 5c8ea689..b9744e62 100644 --- a/package.json +++ b/package.json @@ -102,6 +102,6 @@ "micromark-util-normalize-identifier": "^2.0.1" }, "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + "node": "^20.19.0 || ^22.13.0 || >=24" } } From 9bb076829eb54365eb859f5e2a551d5c0db1a9b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=94=AF=E7=84=B6?= Date: Tue, 14 Oct 2025 15:14:33 +0800 Subject: [PATCH 3/3] Update Node.js version in CI workflow --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f59bfe23..8bfa9666 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -47,14 +47,14 @@ jobs: matrix: os: [ubuntu-latest] eslint: [9] - node: [25.x, 24.x, 22.x, 20.x, 18.x, "18.18.0"] + node: [25.x, 24.x, 22.x, 20.x, "20.19.0"] include: - os: windows-latest eslint: 9 - node: 20 + node: lts/* - os: macOS-latest eslint: 9 - node: 20 + node: lts/* runs-on: ${{ matrix.os }} steps: - name: Checkout