From 0431d07681b8092862c34a7c1283e20e66c3a93c Mon Sep 17 00:00:00 2001 From: John Gee Date: Sat, 7 Oct 2023 17:32:06 +1300 Subject: [PATCH] Drop Node.js 16 --- .github/workflows/tests.yml | 2 +- Readme.md | 2 +- Readme_zh-CN.md | 2 +- package.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 6bfe72b18..3f240df1a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -12,7 +12,7 @@ jobs: strategy: fail-fast: false matrix: - node-version: [16.x, 18.x, 20.x] + node-version: [18.x, 20.x] os: [ubuntu-latest, windows-latest, macos-latest] steps: diff --git a/Readme.md b/Readme.md index f92667d7a..3d38b1323 100644 --- a/Readme.md +++ b/Readme.md @@ -1136,7 +1136,7 @@ There is more information available about: ## Support -The current version of Commander is fully supported on Long Term Support versions of Node.js, and requires at least v16. +The current version of Commander is fully supported on Long Term Support versions of Node.js, and requires at least v18. (For older versions of Node.js, use an older version of Commander.) The main forum for free and community support is the project [Issues](https://github.com/tj/commander.js/issues) on GitHub. diff --git a/Readme_zh-CN.md b/Readme_zh-CN.md index b6c6ff238..fc3bd0c41 100644 --- a/Readme_zh-CN.md +++ b/Readme_zh-CN.md @@ -1059,7 +1059,7 @@ program ## 支持 -当前版本的 Commander 在 LTS 版本的 Node.js 上完全支持。并且至少需要 v16。 +当前版本的 Commander 在 LTS 版本的 Node.js 上完全支持。并且至少需要 v18。 (使用更低版本 Node.js 的用户建议安装更低版本的 Commander) 社区支持请访问项目的 [Issues](https://github.com/tj/commander.js/issues)。 diff --git a/package.json b/package.json index 9382be627..36af5dbbb 100644 --- a/package.json +++ b/package.json @@ -74,7 +74,7 @@ }, "types": "typings/index.d.ts", "engines": { - "node": ">=16" + "node": ">=18" }, "support": true }