From 6a70dca984c0e04eef7e4003fd2e75e12dd48848 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=BDiga=20Strgar?= Date: Thu, 11 Jan 2024 22:59:15 +0100 Subject: [PATCH] feat: Node 21 CI, drop Node 16 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Žiga Strgar --- .github/workflows/node.js.yml | 2 +- README.md | 10 +++++----- SECURITY.md | 7 ++++--- package.json | 4 ++-- tsconfig.json | 2 +- 5 files changed, 13 insertions(+), 12 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 461e132..683cf57 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -11,7 +11,7 @@ jobs: strategy: matrix: - node-version: [ 16.x, 18.x, 20.x ] + node-version: [ 18.x, 20.x, latest ] steps: - uses: actions/checkout@v4 diff --git a/README.md b/README.md index 9cdc38f..e2be3bd 100644 --- a/README.md +++ b/README.md @@ -26,11 +26,11 @@ the request data to the error. That includes `body`, `query` and `params` which ## Compatibility -| | Version | -|---------|-------------------------------------------------------------------| -| Fastify | `^4.x` | -| Bugsnag | `^7.17.0` | -| Node | ^16.18.1 || ^18.12.1 || >=20.0.0 | +| | Version | +|---------|--------------------------------------------------------------------| +| Fastify | `^4.x` | +| Bugsnag | `^7.17.0` | +| Node | ^18.12.1 || ^20.10.0 || >= 21.0.0 | ## Installation diff --git a/SECURITY.md b/SECURITY.md index 8dfd609..05802d7 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -4,12 +4,13 @@ | Version | Supported | EOL | |---------|--------------------|------------| -| 2.x | :white_check_mark: || +| 3.x | :white_check_mark: | | +| 2.x | :white_check_mark: | 2024-06-30 | | 1.x | :x: | 2023-06-30 | | 0.5.x | :x: | 2023-06-30 | | 0.4.x | :x: | 2022-12-31 | -| 0.3.x | :x: || -| < 0.3.x | :x: || +| 0.3.x | :x: | | +| < 0.3.x | :x: | | ## Reporting a Vulnerability diff --git a/package.json b/package.json index d4dabb0..aaf453c 100644 --- a/package.json +++ b/package.json @@ -55,10 +55,10 @@ "fastify-plugin": "^4.0.0" }, "engines": { - "node": "^16.18.1||^18.12.1||>=20.0.0" + "node": "^18.12.1||^20.10.0||>=21.0.0" }, "devDependencies": { - "@tsconfig/node16": "^16.1.0", + "@tsconfig/node18": "^18.2.2", "@types/mocha": "^10.0.3", "@types/node": "^18.16.3", "@types/sinon": "^17.0.3", diff --git a/tsconfig.json b/tsconfig.json index 038b771..32fb129 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@tsconfig/node16", + "extends": "@tsconfig/node18", "compilerOptions": { "declaration": true, "resolveJsonModule": true,