New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

compact-yarn-audit

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

compact-yarn-audit - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

LICENSE

7

package.json
{
"name": "compact-yarn-audit",
"version": "1.1.1",
"version": "1.1.2",
"description": "Presents output from yarn audit in a compact table",

@@ -34,4 +34,3 @@ "engines": {

"dependencies": {
"chalk": "^2.4.0",
"lodash.uniqby": "^4.7.0",
"chalk": "^4.1.1",
"ndjson": "^2.0.0",

@@ -43,3 +42,3 @@ "strip-ansi": "^7.0.0",

"chai": "^4.3.4",
"mocha": "^9.0.1",
"mocha": "^9.0.2",
"npm-run-all": "^4.1.5",

@@ -46,0 +45,0 @@ "prettier": "^2.3.2"

#!/usr/bin/env node
import ndjson from "ndjson";
import { sortLog, extractUsefulAttributes } from "./log-to-terse-object.js";
import { terseLog2Table } from "./terse-object-to-table.js";
import { TerseAdvisoryLog } from "./terse-advisory-log.js";
import { TerseAdvisoryLog2Table } from "./terse-advisory-to-table.js";
let lLog = [];
const lAdvisaryLog = new TerseAdvisoryLog();

@@ -11,5 +11,3 @@ process.stdin

.on("data", (pLogEntry) => {
if (pLogEntry.type === "auditAdvisory") {
lLog.push(extractUsefulAttributes(pLogEntry));
}
lAdvisaryLog.add(pLogEntry);
})

@@ -22,3 +20,3 @@ .on("error", (pError) => {

.on("end", () => {
console.log(terseLog2Table(sortLog(lLog)));
console.log(TerseAdvisoryLog2Table(lAdvisaryLog.get()));
});
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc