Skip to content
This repository has been archived by the owner on Jul 31, 2024. It is now read-only.

Commit

Permalink
chore: drop support for Node 16 (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
fabnguess authored Nov 8, 2023
1 parent cc960ed commit 69975a1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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

Expand Down Expand Up @@ -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
Expand All @@ -79,7 +82,9 @@ It will fetch SPDX licenses [here](https://github.com/spdx/license-list-data/blo
## Contributors ✨

<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->

[![All Contributors](https://img.shields.io/badge/all_contributors-3-orange.svg?style=flat-square)](#contributors-)

<!-- ALL-CONTRIBUTORS-BADGE:END -->

Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
Expand All @@ -103,4 +108,5 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
<!-- ALL-CONTRIBUTORS-LIST:END -->

## License

MIT
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@
"tape": "^5.6.1"
},
"engines": {
"node": ">=16"
"node": ">=18"
}
}

0 comments on commit 69975a1

Please sign in to comment.