@pnpm/default-reporter
Advanced tools
Comparing version 13.1.11 to 13.1.12
@@ -48,3 +48,4 @@ "use strict"; | ||
} | ||
const outputMaxWidth = opts.reportingOptions?.outputMaxWidth ?? (process.stdout.columns && process.stdout.columns - 2) ?? 80; | ||
const proc = opts.context.process ?? process; | ||
const outputMaxWidth = opts.reportingOptions?.outputMaxWidth ?? (proc.stdout.columns && proc.stdout.columns - 2) ?? 80; | ||
const output$ = toOutput$({ | ||
@@ -74,3 +75,3 @@ ...opts, | ||
const diff = (0, ansi_diff_1.default)({ | ||
height: process.stdout.rows, | ||
height: proc.stdout.rows, | ||
outputMaxWidth, | ||
@@ -87,4 +88,4 @@ }); | ||
const write = opts.useStderr | ||
? process.stderr.write.bind(process.stderr) | ||
: process.stdout.write.bind(process.stdout); | ||
? proc.stderr.write.bind(proc.stderr) | ||
: proc.stdout.write.bind(proc.stdout); | ||
function logUpdate(view) { | ||
@@ -91,0 +92,0 @@ // A new line should always be appended in case a prompt needs to appear. |
@@ -66,3 +66,3 @@ "use strict"; | ||
default: | ||
return Rx.of({ msg: obj['message'] }); | ||
return Rx.of({ msg: obj.message }); | ||
} | ||
@@ -69,0 +69,0 @@ })); |
@@ -90,3 +90,3 @@ "use strict"; | ||
} | ||
return { title: logObj['message'] }; | ||
return { title: logObj.message }; | ||
} | ||
@@ -93,0 +93,0 @@ function formatPkgsStack(pkgsStack) { |
{ | ||
"name": "@pnpm/default-reporter", | ||
"version": "13.1.11", | ||
"version": "13.1.12", | ||
"description": "The default reporter of pnpm", | ||
@@ -39,10 +39,10 @@ "main": "lib/index.js", | ||
"string-length": "^4.0.2", | ||
"@pnpm/cli-meta": "6.1.0", | ||
"@pnpm/core-loggers": "10.0.5", | ||
"@pnpm/dedupe.issues-renderer": "2.0.0", | ||
"@pnpm/cli-meta": "6.1.0", | ||
"@pnpm/config": "21.8.0", | ||
"@pnpm/dedupe.types": "2.0.0", | ||
"@pnpm/error": "6.0.1", | ||
"@pnpm/types": "12.0.0", | ||
"@pnpm/render-peer-issues": "5.0.6", | ||
"@pnpm/core-loggers": "10.0.5", | ||
"@pnpm/config": "21.8.0" | ||
"@pnpm/types": "12.0.0" | ||
}, | ||
@@ -57,3 +57,4 @@ "devDependencies": { | ||
"strip-ansi": "^6.0.1", | ||
"@pnpm/default-reporter": "13.1.11" | ||
"@pnpm/default-reporter": "13.1.12", | ||
"@pnpm/logger": "5.2.0" | ||
}, | ||
@@ -60,0 +61,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
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
190581
2711
9