diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index f562786..dd28e43 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [18.x, 20.x] + node-version: [20.x, 22.x] fail-fast: false steps: - name: Harden Runner diff --git a/README.md b/README.md index 9d9eed9..039744f 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ Scorecard](https://api.securityscorecards.dev/projects/github.com/NodeSecure/sca ## Requirements -- [Node.js](https://nodejs.org/en/) version 18 or higher +- [Node.js](https://nodejs.org/en/) version 20 or higher ## Getting Started diff --git a/package.json b/package.json index 111e638..04e2f83 100644 --- a/package.json +++ b/package.json @@ -31,5 +31,8 @@ "sinon": "^18.0.0", "tsx": "^4.16.2", "typescript": "^5.5.3" + }, + "engines": { + "node": ">=20" } } diff --git a/workspaces/i18n/README.md b/workspaces/i18n/README.md index 1b5eea7..9a72d41 100644 --- a/workspaces/i18n/README.md +++ b/workspaces/i18n/README.md @@ -25,7 +25,7 @@ Supported languages: - english ## Requirements -- [Node.js](https://nodejs.org/en/) v18 or higher +- [Node.js](https://nodejs.org/en/) v20 or higher ## Getting Started diff --git a/workspaces/i18n/package.json b/workspaces/i18n/package.json index a23548a..7fe07bd 100644 --- a/workspaces/i18n/package.json +++ b/workspaces/i18n/package.json @@ -38,7 +38,7 @@ }, "type": "module", "engines": { - "node": ">=18" + "node": ">=20" }, "dependencies": { "cacache": "^18.0.0", diff --git a/workspaces/rc/README.md b/workspaces/rc/README.md index 81d3dcf..4ff2ae7 100644 --- a/workspaces/rc/README.md +++ b/workspaces/rc/README.md @@ -21,7 +21,7 @@ NodeSecure runtime configuration. ## Requirements -- [Node.js](https://nodejs.org/en/) v18 or higher +- [Node.js](https://nodejs.org/en/) v20 or higher ## Getting Started diff --git a/workspaces/rc/package.json b/workspaces/rc/package.json index 7de5f4a..177afa9 100644 --- a/workspaces/rc/package.json +++ b/workspaces/rc/package.json @@ -6,7 +6,7 @@ "main": "./dist/index.js", "types": "./dist/index.d.ts", "engines": { - "node": ">=18" + "node": ">=20" }, "scripts": { "build": "tsc",