From 5791815f1270524593cb0cdfc7cab8929411f7a4 Mon Sep 17 00:00:00 2001 From: fabnguess Date: Sun, 5 Nov 2023 00:19:35 +0000 Subject: [PATCH] chore: drop support for Node 16 --- .github/workflows/main.yml | 4 ++-- package.json | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d74b093..fa3a233 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -29,7 +29,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [16.x, 18.x] + node-version: [18.x, 20.x] fail-fast: false steps: - name: Harden Runner @@ -50,7 +50,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [16.x, 18.x] + node-version: [18.x, 20.x] fail-fast: false steps: - name: Harden Runner diff --git a/package.json b/package.json index d90dabe..0745270 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,9 @@ "version": "1.8.0", "description": "NodeSecure vulnerabilities strategies", "type": "module", + "engines": { + "node": ">=18" + }, "exports": "./dist/index.js", "types": "./dist/index.d.ts", "scripts": {