compact-yarn-audit
Advanced tools
Comparing version 3.1.0 to 3.1.1
import { EOL } from "node:os"; | ||
import chalk from "chalk"; | ||
import stripAnsi from "strip-ansi"; | ||
function colorBySeverity(pSeverity, pString) { | ||
@@ -15,3 +14,3 @@ const lSeverity2ChalkFunction = new Map([ | ||
function getColumnWidth(pTerseEntries, pColumnName) { | ||
return pTerseEntries.reduce((pAll, pEntry) => Math.max(pAll, stripAnsi(pEntry[pColumnName]).length), 0); | ||
return pTerseEntries.reduce((pAll, pEntry) => Math.max(pAll, pEntry[pColumnName].length), 0); | ||
} | ||
@@ -18,0 +17,0 @@ function getColumnWidths(pTerseEntries, pWidthAvailable) { |
{ | ||
"name": "compact-yarn-audit", | ||
"version": "3.1.0", | ||
"version": "3.1.1", | ||
"description": "Presents output from yarn audit in a compact table", | ||
@@ -48,19 +48,18 @@ "engines": { | ||
"chalk": "^5.3.0", | ||
"ndjson": "^2.0.0", | ||
"strip-ansi": "^7.1.0" | ||
"ndjson": "^2.0.0" | ||
}, | ||
"overrides": { | ||
"semver": "^7.5.3" | ||
"semver": "^7.5.4" | ||
}, | ||
"resolutions": { | ||
"semver": "^7.5.3" | ||
"semver": "^7.5.4" | ||
}, | ||
"devDependencies": { | ||
"@types/ndjson": "2.0.1", | ||
"@typescript-eslint/eslint-plugin": "6.2.0", | ||
"@typescript-eslint/parser": "6.2.0", | ||
"@typescript-eslint/eslint-plugin": "6.2.1", | ||
"@typescript-eslint/parser": "6.2.1", | ||
"c8": "8.0.1", | ||
"eslint": "8.46.0", | ||
"eslint-config-moving-meadow": "4.0.2", | ||
"eslint-config-prettier": "8.9.0", | ||
"eslint-config-prettier": "8.10.0", | ||
"eslint-plugin-budapestian": "5.0.1", | ||
@@ -74,3 +73,3 @@ "eslint-plugin-eslint-comments": "3.2.0", | ||
"npm-run-all": "4.1.5", | ||
"prettier": "3.0.0", | ||
"prettier": "3.0.1", | ||
"ts-node": "10.9.1", | ||
@@ -77,0 +76,0 @@ "typescript": "5.1.6", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2
12410
142
- Removedstrip-ansi@^7.1.0
- Removedansi-regex@6.1.0(transitive)
- Removedstrip-ansi@7.1.0(transitive)