From 69975a14042c7650b06651202b10ffa6934b26d2 Mon Sep 17 00:00:00 2001 From: Kouadio Fabrice Nguessan <72697416+fabnguess@users.noreply.github.com> Date: Wed, 8 Nov 2023 20:26:44 +0000 Subject: [PATCH] chore: drop support for Node 16 (#44) --- .github/workflows/main.yml | 2 +- README.md | 8 +++++++- package.json | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7c44d1a..fffa01a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,7 +13,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/README.md b/README.md index 684e2f9..cef217c 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ # SPDX Licenses conformance + ![version](https://img.shields.io/badge/dynamic/json.svg?style=for-the-badge&url=https://raw.githubusercontent.com/NodeSecure/licenses-conformance/master/package.json&query=$.version&label=Version) [![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg?style=for-the-badge)](https://github.com/NodeSecure/licenses-conformance/graphs/commit-activity) [![OpenSSF @@ -9,7 +10,8 @@ Scorecard](https://api.securityscorecards.dev/projects/github.com/NodeSecure/lic NodeSecure [SPDX licenses](https://spdx.org/licenses/) conformance. Project forked/inspired from [cutenode/conformance](https://github.com/cutenode/conformance.git). ## Requirements -- [Node.js](https://nodejs.org/en/) v16 or higher + +- [Node.js](https://nodejs.org/en/) v18 or higher ## Getting Started @@ -68,6 +70,7 @@ function searchSpdxLicenseId(contentStr: string): string | null; ``` ## Updating SPDX licenses + To update the `src/spdx.json` file just run the following npm script: ```bash @@ -79,7 +82,9 @@ It will fetch SPDX licenses [here](https://github.com/spdx/license-list-data/blo ## Contributors ✨ + [![All Contributors](https://img.shields.io/badge/all_contributors-3-orange.svg?style=flat-square)](#contributors-) + Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)): @@ -103,4 +108,5 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d ## License + MIT diff --git a/package.json b/package.json index d92e687..a9fa1af 100644 --- a/package.json +++ b/package.json @@ -47,6 +47,6 @@ "tape": "^5.6.1" }, "engines": { - "node": ">=16" + "node": ">=18" } }