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
0
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 5.0.8 to 5.0.9

11

lib/index.js

@@ -41,10 +41,9 @@ "use strict";

if (currentParentPkg && allowedVersionsByParentPkgName[peerName]?.[currentParentPkg.name]) {
const allowedVersionsByParent = allowedVersionsByParentPkgName[peerName][currentParentPkg.name]
.reduce((acc, { targetPkg, parentPkg, ranges }) => {
const allowedVersionsByParent = {};
for (const { targetPkg, parentPkg, ranges } of allowedVersionsByParentPkgName[peerName][currentParentPkg.name]) {
if (!parentPkg.pref || currentParentPkg.version &&
(isSubRange(parentPkg.pref, currentParentPkg.version) || semver_1.default.satisfies(currentParentPkg.version, parentPkg.pref))) {
acc[targetPkg.name] = ranges;
allowedVersionsByParent[targetPkg.name] = ranges;
}
return acc;
}, {});
}
if (allowedVersionsByParent[peerName]?.some((range) => semver_1.default.satisfies(issue.foundVersion, range)))

@@ -76,3 +75,3 @@ continue;

}
const title = chalk_1.default.white(projectKey);
const title = chalk_1.default.reset(projectKey);
let summariesConcatenated = summaries.join('\n');

@@ -79,0 +78,0 @@ if (summariesConcatenated) {

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

@@ -29,6 +29,6 @@ "url": "https://github.com/pnpm/pnpm/issues"

"semver": "^7.6.2",
"@pnpm/error": "6.0.1",
"@pnpm/matcher": "6.0.0",
"@pnpm/parse-overrides": "5.1.0",
"@pnpm/types": "12.2.0"
"@pnpm/error": "6.0.2",
"@pnpm/parse-overrides": "5.1.1",
"@pnpm/types": "12.2.0",
"@pnpm/matcher": "6.0.0"
},

@@ -39,3 +39,3 @@ "devDependencies": {

"strip-ansi": "^6.0.1",
"@pnpm/render-peer-issues": "5.0.8"
"@pnpm/render-peer-issues": "5.0.9"
},

@@ -42,0 +42,0 @@ "exports": {

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