Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@pnpm/render-peer-issues

Package Overview
Dependencies
Maintainers
2
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pnpm/render-peer-issues - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

8

lib/index.js

@@ -38,12 +38,12 @@ "use strict";

.map(([projectKey, project]) => {
let summary = '';
const summaries = [];
const { conflicts, intersections } = peerDependencyIssuesByProjects[projectKey];
if (conflicts.length) {
summary += chalk_1.default.red(`✕ Conflicting peer dependencies:\n ${(0, cli_columns_1.default)(conflicts, cliColumnsOptions)}`);
summaries.push(chalk_1.default.red(`✕ Conflicting peer dependencies:\n ${(0, cli_columns_1.default)(conflicts, cliColumnsOptions)}`));
}
if (Object.keys(intersections).length) {
summary += `Peer dependencies that should be installed:\n ${(0, cli_columns_1.default)(Object.entries(intersections).map(([name, version]) => formatNameAndRange(name, version)), cliColumnsOptions)}`;
summaries.push(`Peer dependencies that should be installed:\n ${(0, cli_columns_1.default)(Object.entries(intersections).map(([name, version]) => formatNameAndRange(name, version)), cliColumnsOptions)}`);
}
const title = chalk_1.default.white(projectKey);
return `${(0, archy_1.default)(toArchyData(title, project))}${summary}`;
return `${(0, archy_1.default)(toArchyData(title, project))}${summaries.join('\n')}`;
}).join('\n\n');

@@ -50,0 +50,0 @@ }

{
"name": "@pnpm/render-peer-issues",
"description": "Visualizes peer dependency issues",
"version": "1.0.0",
"version": "1.0.1",
"bugs": {

@@ -25,3 +25,3 @@ "url": "https://github.com/pnpm/pnpm/issues"

"dependencies": {
"@pnpm/types": "7.7.0",
"@pnpm/types": "7.7.1",
"archy": "^1.0.0",

@@ -28,0 +28,0 @@ "chalk": "^4.1.0",

Sorry, the diff of this file is not supported yet

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