Skip to content
This repository was archived by the owner on Apr 20, 2026. It is now read-only.
CloudstekPublic archive

About

Convert yarn audit JSON log to JUnit format

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yarn-audit-junit

Important

Thank you for your interest! ✨ Yet this package is no longer actively maintained and is superseded by node-audit-formatter (also by me) which has support for way more package managers. Please go check it out!

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+
  • Yarn classic (v1)

Usage

yarn audit | npx @cloudstek/yarn-audit-junit > report.junit.xml

About

Convert yarn audit JSON log to JUnit format

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages