From 413d7c8b70842c5df5d2cd3b5a29b80057ceca67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=ADdia=20Tarcza?= <100163235+diatrcz@users.noreply.github.com> Date: Thu, 7 May 2026 15:18:47 +0200 Subject: [PATCH] build: bump node version to 24 and npm to 11 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: LĂ­dia Tarcza <100163235+diatrcz@users.noreply.github.com> --- .github/workflows/build.yaml | 2 +- Migration-Guide.md | 2 +- README.md | 4 ++-- package-lock.json | 8 ++++---- packages/ruleset/package.json | 2 +- packages/utilities/package.json | 2 +- packages/validator/package.json | 4 ++-- 7 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 517603bd7..b8e63a62a 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -51,7 +51,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: ['16', '18', '20', '22', '24'] + node-version: ['24'] steps: - name: Checkout repository diff --git a/Migration-Guide.md b/Migration-Guide.md index 69b15a458..8622482b3 100644 --- a/Migration-Guide.md +++ b/Migration-Guide.md @@ -3,7 +3,7 @@ This migration guide is intended to help users migrate from the version 0.x pre- to the new version 1.0 official release. ## Minimum Node version -The minimum supported version of Node.js is now version 16.x (formerly 14.x). +The minimum supported version of Node.js is now version 24.x (formerly 16.x). ## Supported OpenAPI versions The old v0.x pre-release validator supported both Swagger 2.x and OpenAPI 3.0.x documents. diff --git a/README.md b/README.md index e5ac77871..57984dca3 100644 --- a/README.md +++ b/README.md @@ -12,8 +12,8 @@ and [OpenAPI 3.1.x](https://github.com/OAI/OpenAPI-Specification/blob/master/ver #### Prerequisites -- Node 16.0.0+ -- NPM 8.3.0+ +- Node 24.0.0+ +- NPM 11.0.0+ ## Table of contents diff --git a/package-lock.json b/package-lock.json index 7847c5087..73c91bd69 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13902,7 +13902,7 @@ "jest": "^29.7.0" }, "engines": { - "node": ">=16.0.0" + "node": ">=24.0.0" } }, "packages/ruleset/node_modules/balanced-match": { @@ -13951,7 +13951,7 @@ "typescript": "^5.8.3" }, "engines": { - "node": ">=16.0.0" + "node": ">=24.0.0" } }, "packages/validator": { @@ -13987,8 +13987,8 @@ "pkg": "^5.8.1" }, "engines": { - "node": ">=16.0.0", - "npm": ">=8.3.0" + "node": ">=24.0.0", + "npm": ">=11.0.0" } }, "packages/validator/node_modules/ajv": { diff --git a/packages/ruleset/package.json b/packages/ruleset/package.json index f232bd15b..5d76ff433 100644 --- a/packages/ruleset/package.json +++ b/packages/ruleset/package.json @@ -39,7 +39,7 @@ "jest": "^29.7.0" }, "engines": { - "node": ">=16.0.0" + "node": ">=24.0.0" }, "jest": { "collectCoverage": true, diff --git a/packages/utilities/package.json b/packages/utilities/package.json index 814014ef4..4e5abe28c 100644 --- a/packages/utilities/package.json +++ b/packages/utilities/package.json @@ -27,7 +27,7 @@ "typescript": "^5.8.3" }, "engines": { - "node": ">=16.0.0" + "node": ">=24.0.0" }, "jest": { "collectCoverage": true, diff --git a/packages/validator/package.json b/packages/validator/package.json index 5f6de6108..39d11a139 100644 --- a/packages/validator/package.json +++ b/packages/validator/package.json @@ -51,8 +51,8 @@ "lint-openapi": "src/cli-validator/index.js" }, "engines": { - "node": ">=16.0.0", - "npm": ">=8.3.0" + "node": ">=24.0.0", + "npm": ">=11.0.0" }, "jest": { "collectCoverage": true,