eventOneHQ / npm-audit-html

🔒 Generate a HTML report for NPM Audit
http://oss.eventone.page/npm-audit-html/
MIT License
51 stars 26 forks source link

The data table is empty #81

Closed Tim-Schwalbe closed 2 years ago

Tim-Schwalbe commented 2 years ago

Hi, somehow the data table is empty since a few days, but it was working before.

I do the following with this docker image: FROM node:lts-bullseye-slim

npm i -g npm-audit-html 
npm audit --json | npm-audit-html

image

enricoaleandri commented 2 years ago

Breaking Change from report version 1: https://github.com/npm/npm-audit-report#break-from-version-1

nprail commented 2 years ago

If you are on NPM 7 or higher, you'll need to install npm-audit-html from the beta tag like so:

npm i -g npm-audit-html@beta

See #43 for details.