From ae443910a6cd9ae64affd3aa1f0c833b0fcc425a Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Tue, 16 Jan 2024 14:19:53 +0700 Subject: [PATCH] Require Node.js 18 --- .github/workflows/main.yml | 5 ++--- package.json | 18 +++++++++--------- 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6cb6898..346585c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,9 +10,8 @@ jobs: fail-fast: false matrix: node-version: - - 16 - - 14 - - 12 + - 20 + - 18 steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 diff --git a/package.json b/package.json index ae3286d..d036391 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ }, "sideEffects": false, "engines": { - "node": ">=16" + "node": ">=18" }, "scripts": { "test": "ava" @@ -45,16 +45,16 @@ "simple" ], "devDependencies": { - "@typescript-eslint/eslint-plugin": "^6.0.0", - "@typescript-eslint/parser": "^6.0.0", + "@typescript-eslint/eslint-plugin": "^6.19.0", + "@typescript-eslint/parser": "^6.19.0", "ava": "^2.4.0", - "eslint": "^8.0.0", - "typescript": "^5.1.6" + "eslint": "^8.56.0", + "typescript": "^5.3.3" }, "peerDependencies": { - "@typescript-eslint/eslint-plugin": ">=6.0.0", - "@typescript-eslint/parser": ">=6.0.0", - "eslint": ">=8.0.0", - "typescript": ">=4.7" + "@typescript-eslint/eslint-plugin": ">=6.19.0", + "@typescript-eslint/parser": ">=6.19.0", + "eslint": ">=8.56.0", + "typescript": ">=5.0.0" } }