@cloudstek/yarn-audit-junit

1.0.0 • Public • Published

yarn-audit-junit

Very simple script to convert the JSON log output of yarn audit to JUnit XML format. Useful for CI pipelines to report on any vulnerabilities.

The result does not include all the original details found in the JSON output by yarn but enough for my CI purposes.

Requirements

  • NodeJS 14+

Installation

# Local
$ yarn add @cloudstek/yarn-audit-junit --dev
# Global
$ yarn global add @cloudstek/yarn-audit-junit

Usage

# Local
$ yarn audit | ./node_modules/.bin/yarn-audit-junit
# Global
$ yarn audit | yarn-audit-junit

Readme

Keywords

none

Package Sidebar

Install

npm i @cloudstek/yarn-audit-junit

Weekly Downloads

2,980

Version

1.0.0

License

MIT

Unpacked Size

3.4 kB

Total Files

6

Last publish

Collaborators

  • mdeboer