From c4c5730f5ddf9273cfef4b2d6c598f0842d62a95 Mon Sep 17 00:00:00 2001 From: Jee Mok Date: Sat, 17 Aug 2024 12:23:07 +0800 Subject: [PATCH] Dropping support for node 10 --- .github/workflows/node.js.yml | 2 +- README.md | 5 ++++- package.json | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index a6b49cf..cedb402 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -16,7 +16,7 @@ jobs: strategy: matrix: - node-version: [10.x, 12.x, 14.x, 15.x, 16.x, 18.x, 20.x, 22.x] + node-version: [12.x, 14.x, 15.x, 16.x, 18.x, 20.x, 22.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: diff --git a/README.md b/README.md index 9bf38b6..905ee1a 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,10 @@ The goal of this project is to provide additional features on top of the existin [![NPM](https://nodei.co/npm/better-npm-audit.png)](https://npmjs.org/package/better-npm-audit) -![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square) ![npm vulnerability](https://img.shields.io/snyk/vulnerabilities/npm/better-npm-audit?style=flat-square) ![GitHub issues](https://img.shields.io/github/issues/jeemok/better-npm-audit?style=flat-square) ![npm bundle size](https://img.shields.io/bundlephobia/minzip/better-npm-audit?style=flat-square) ![Languages](https://img.shields.io/github/languages/top/jeemok/better-npm-audit?style=flat-square) +![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square) ![npm downloads](https://img.shields.io/npm/d18m/better-npm-audit +) ![node current](https://img.shields.io/node/v/better-npm-audit +) ![node support](https://img.shields.io/badge/node-up_to_v22-brightgreen +) ![npm vulnerability](https://snyk.io/test/github/jeemok/better-npm-audit/badge.svg?targetFile=package.json) ![GitHub issues](https://img.shields.io/github/issues/jeemok/better-npm-audit?style=flat-square) ![npm bundle size](https://img.shields.io/bundlephobia/minzip/better-npm-audit?style=flat-square) ![Languages](https://img.shields.io/github/languages/top/jeemok/better-npm-audit?style=flat-square) ## NPM version 6 and 7, and 8 diff --git a/package.json b/package.json index dbfeb80..3fd0789 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "url": "https://github.com/jeemok/better-npm-audit" }, "engines": { - "node": ">= 8.12" + "node": ">=12" }, "scripts": { "preaudit": "npm run build",