@pnpm/render-peer-issues
Advanced tools
Comparing version 5.0.9 to 5.0.10
@@ -96,2 +96,7 @@ "use strict"; | ||
function createTree(pkgNode, pkgs, issueText) { | ||
if (pkgs.length === 0) { | ||
// This will happen if incorrect data is passed to the reporter. | ||
// It is better to print something instead of crashing. | ||
pkgs = [{ name: '<unknown>', version: '<unknown>' }]; | ||
} | ||
const [pkg, ...rest] = pkgs; | ||
@@ -98,0 +103,0 @@ const label = `${pkg.name} ${chalk_1.default.grey(pkg.version)}`; |
{ | ||
"name": "@pnpm/render-peer-issues", | ||
"description": "Visualizes peer dependency issues", | ||
"version": "5.0.9", | ||
"version": "5.0.10", | ||
"bugs": { | ||
@@ -31,4 +31,4 @@ "url": "https://github.com/pnpm/pnpm/issues" | ||
"@pnpm/parse-overrides": "5.1.1", | ||
"@pnpm/types": "12.2.0", | ||
"@pnpm/matcher": "6.0.0" | ||
"@pnpm/matcher": "6.0.0", | ||
"@pnpm/types": "12.2.0" | ||
}, | ||
@@ -39,3 +39,3 @@ "devDependencies": { | ||
"strip-ansi": "^6.0.1", | ||
"@pnpm/render-peer-issues": "5.0.9" | ||
"@pnpm/render-peer-issues": "5.0.10" | ||
}, | ||
@@ -45,2 +45,5 @@ "exports": { | ||
}, | ||
"jest": { | ||
"preset": "@pnpm/jest-config" | ||
}, | ||
"scripts": { | ||
@@ -47,0 +50,0 @@ "_test": "jest", |
Sorry, the diff of this file is not supported yet
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
17904
174