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

@pnpm/default-reporter

Package Overview
Dependencies
Maintainers
2
Versions
343
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pnpm/default-reporter - npm Package Compare versions

Comparing version 12.4.10 to 12.4.11

1

lib/reporterForClient/index.js

@@ -87,2 +87,3 @@ "use strict";

outputs.push((0, reportSummary_1.reportSummary)(log$, {
cmd: opts.cmd,
cwd,

@@ -89,0 +90,0 @@ env: opts.env,

@@ -12,2 +12,3 @@ /// <reference types="node" />

}, opts: {
cmd: string;
cwd: string;

@@ -14,0 +15,0 @@ env: NodeJS.ProcessEnv;

9

lib/reporterForClient/reportSummary.js

@@ -46,3 +46,3 @@ "use strict";

const summaryLog$ = log$.summary.pipe((0, operators_1.take)(1));
const _printDiffs = printDiffs.bind(null, { prefix: opts.cwd });
const _printDiffs = printDiffs.bind(null, { cmd: opts.cmd, prefix: opts.cwd, pnpmConfig: opts.pnpmConfig });
return Rx.combineLatest(pkgsDiff$, summaryLog$)

@@ -67,3 +67,3 @@ .pipe((0, operators_1.take)(1), (0, operators_1.map)(([pkgsDiff]) => {

msg += constants_1.EOL;
msg += _printDiffs(diffs);
msg += _printDiffs(diffs, depType);
msg += constants_1.EOL;

@@ -84,3 +84,3 @@ }

exports.reportSummary = reportSummary;
function printDiffs(opts, pkgsDiff) {
function printDiffs(opts, pkgsDiff, depType) {
// Sorts by alphabet then by removed/added

@@ -113,2 +113,5 @@ // + ava 0.10.0

}
if (pkg.added && depType === 'dev' && opts.pnpmConfig?.saveDev === false && opts.cmd === 'add') {
result += `${chalk_1.default.yellow(' already in devDependencies, was not moved to dependencies.')}`;
}
return result;

@@ -115,0 +118,0 @@ }).join(constants_1.EOL);

{
"name": "@pnpm/default-reporter",
"version": "12.4.10",
"version": "12.4.11",
"description": "The default reporter of pnpm",

@@ -40,9 +40,9 @@ "main": "lib/index.js",

"string-length": "^4.0.2",
"@pnpm/config": "20.3.0",
"@pnpm/dedupe.issues-renderer": "1.0.0",
"@pnpm/core-loggers": "9.0.6",
"@pnpm/dedupe.types": "1.0.0",
"@pnpm/core-loggers": "9.0.6",
"@pnpm/error": "5.0.2",
"@pnpm/config": "20.4.0",
"@pnpm/types": "9.4.2",
"@pnpm/render-peer-issues": "4.0.6",
"@pnpm/types": "9.4.2",
"@pnpm/error": "5.0.2"
"@pnpm/dedupe.issues-renderer": "1.0.0"
},

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

"strip-ansi": "^6.0.1",
"@pnpm/default-reporter": "12.4.10"
"@pnpm/default-reporter": "12.4.11"
},

@@ -60,0 +60,0 @@ "homepage": "https://github.com/pnpm/pnpm/blob/main/cli/default-reporter#readme",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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