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

@pnpm/list

Package Overview
Dependencies
Maintainers
3
Versions
220
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pnpm/list - npm Package Compare versions

Comparing version 5.0.4 to 5.0.5

6

CHANGELOG.md
# @pnpm/list
## 5.0.5
### Patch Changes
- aa21a2df3: Print the legend only once.
## 5.0.4

@@ -4,0 +10,0 @@

7

lib/renderTree.js

@@ -18,3 +18,6 @@ "use strict";

async function default_1(packages, opts) {
return (await Promise.all(packages.map((pkg) => renderTreeForPackage(pkg, opts)))).filter(Boolean).join('\n\n');
const output = (await Promise.all(packages.map((pkg) => renderTreeForPackage(pkg, opts))))
.filter(Boolean)
.join('\n\n');
return `${(opts.depth > -1 && output ? LEGEND : '')}${output}`;
}

@@ -39,3 +42,3 @@ exports.default = default_1;

label += pkg.path;
let output = (opts.depth > -1 ? LEGEND : '') + label + '\n';
let output = `${label}\n`;
const useColumns = opts.depth === 0 && opts.long === false && !opts.search;

@@ -42,0 +45,0 @@ for (let dependenciesField of [...types_1.DEPENDENCIES_FIELDS.sort(), 'unsavedDependencies']) {

{
"name": "@pnpm/list",
"version": "5.0.4",
"version": "5.0.5",
"description": "List installed packages in a symlinked `node_modules`",

@@ -47,3 +47,3 @@ "main": "lib/index.js",

"p-limit": "^3.0.2",
"ramda": "^0.27.0",
"ramda": "^0.27.1",
"semver": "^7.3.2"

@@ -55,3 +55,3 @@ },

"@types/archy": "0.0.31",
"@types/ramda": "^0.27.11",
"@types/ramda": "^0.27.14",
"@types/semver": "^7.3.1"

@@ -58,0 +58,0 @@ },

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