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

@pnpm/default-reporter

Package Overview
Dependencies
Maintainers
3
Versions
346
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 6.1.1 to 7.0.0

lib/constants.js.map

1

lib/constants.js

@@ -6,1 +6,2 @@ "use strict";

exports.EOL = '\n';
//# sourceMappingURL=constants.js.map

12

lib/index.js

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

function toOutput$(opts) {
var _a, _b, _c, _d;
var _a, _b, _c, _d, _e;
opts = opts || {};

@@ -145,9 +145,8 @@ const fetchingProgressPushStream = new zen_push_1.default();

cmd: opts.context.argv[0],
isRecursive: opts.context.argv[0] === 'recursive',
isRecursive: ((_b = opts.context.config) === null || _b === void 0 ? void 0 : _b['recursive']) === true,
pnpmConfig: opts.context.config,
subCmd: opts.context.argv[1],
throttleProgress: (_b = opts.reportingOptions) === null || _b === void 0 ? void 0 : _b.throttleProgress,
width: (_c = opts.reportingOptions) === null || _c === void 0 ? void 0 : _c.outputMaxWidth,
throttleProgress: (_c = opts.reportingOptions) === null || _c === void 0 ? void 0 : _c.throttleProgress,
width: (_d = opts.reportingOptions) === null || _d === void 0 ? void 0 : _d.outputMaxWidth,
});
if ((_d = opts.reportingOptions) === null || _d === void 0 ? void 0 : _d.appendOnly) {
if ((_e = opts.reportingOptions) === null || _e === void 0 ? void 0 : _e.appendOnly) {
return most.join(most.mergeArray(outputs)

@@ -159,1 +158,2 @@ .map((log) => log.map((msg) => msg.msg)));

exports.toOutput$ = toOutput$;
//# sourceMappingURL=index.js.map

@@ -70,1 +70,2 @@ "use strict";

exports.default = mergeOutputs;
//# sourceMappingURL=mergeOutputs.js.map

@@ -24,3 +24,2 @@ import { Config } from '@pnpm/config';

cmd: string;
subCmd?: string;
width?: number;

@@ -27,0 +26,0 @@ appendOnly?: boolean;

@@ -37,7 +37,6 @@ "use strict";

isRecursive: opts.isRecursive,
subCmd: opts.subCmd,
width,
}),
reportInstallChecks_1.default(log$.installCheck, { cwd }),
reportScope_1.default(log$.scope, { isRecursive: opts.isRecursive, cmd: opts.cmd, subCmd: opts.subCmd }),
reportScope_1.default(log$.scope, { isRecursive: opts.isRecursive, cmd: opts.cmd }),
reportSkippedOptionalDependencies_1.default(log$.skippedOptionalDependency, { cwd }),

@@ -58,1 +57,2 @@ reportHooks_1.default(log$.hook, { cwd, isRecursive: opts.isRecursive }),

exports.default = default_1;
//# sourceMappingURL=index.js.map

@@ -9,1 +9,2 @@ "use strict";

exports.REMOVED_CHAR = chalk.red('-');
//# sourceMappingURL=outputConstants.js.map

@@ -98,1 +98,2 @@ "use strict";

}
//# sourceMappingURL=pkgsDiff.js.map

@@ -29,1 +29,2 @@ "use strict";

};
//# sourceMappingURL=reportBigTarballsProgress.js.map

@@ -23,1 +23,2 @@ "use strict";

};
//# sourceMappingURL=reportDeprecations.js.map

@@ -15,1 +15,2 @@ "use strict";

};
//# sourceMappingURL=reportHooks.js.map

@@ -25,1 +25,2 @@ "use strict";

}
//# sourceMappingURL=reportInstallChecks.js.map

@@ -154,1 +154,2 @@ "use strict";

}
//# sourceMappingURL=reportLifecycleScripts.js.map

@@ -28,1 +28,2 @@ "use strict";

};
//# sourceMappingURL=reportMisc.js.map

@@ -113,1 +113,2 @@ "use strict";

}
//# sourceMappingURL=reportProgress.js.map

@@ -6,4 +6,3 @@ import { ScopeLog } from '@pnpm/core-loggers';

cmd: string;
subCmd?: string | undefined;
}) => most.Stream<any>;
export default _default;

@@ -16,4 +16,3 @@ "use strict";

exports.default = (scope$, opts) => {
if (!opts.isRecursive && !COMMANDS_THAT_REPORT_SCOPE.has(opts.cmd) ||
opts.isRecursive && (!opts.subCmd || !COMMANDS_THAT_REPORT_SCOPE.has(opts.subCmd))) {
if (!COMMANDS_THAT_REPORT_SCOPE.has(opts.cmd)) {
return most.never();

@@ -49,1 +48,2 @@ }

};
//# sourceMappingURL=reportScope.js.map

@@ -11,1 +11,2 @@ "use strict";

};
//# sourceMappingURL=reportSkippedOptionalDependencies.js.map

@@ -9,3 +9,2 @@ import { StatsLog } from '@pnpm/core-loggers';

isRecursive: boolean;
subCmd?: string | undefined;
width: number;

@@ -12,0 +11,0 @@ }) => most.Stream<most.Stream<{

@@ -16,4 +16,4 @@ "use strict";

statsForNotCurrentPackage(stats$, {
cmd: opts.cmd,
currentPrefix: opts.cwd,
subCmd: opts.subCmd,
width: opts.width,

@@ -63,3 +63,3 @@ }),

function statsForNotCurrentPackage(stats$, opts) {
const cookedStats$ = (opts.subCmd !== 'remove'
const cookedStats$ = (opts.cmd !== 'remove'
? stats$

@@ -146,1 +146,2 @@ .loop((stats, log) => {

}
//# sourceMappingURL=reportStats.js.map

@@ -69,1 +69,2 @@ "use strict";

}
//# sourceMappingURL=reportSummary.js.map

@@ -23,1 +23,2 @@ "use strict";

exports.formatPrefixNoTrim = formatPrefixNoTrim;
//# sourceMappingURL=formatPrefix.js.map

@@ -11,1 +11,2 @@ "use strict";

exports.default = formatWarn;
//# sourceMappingURL=formatWarn.js.map

@@ -17,1 +17,2 @@ "use strict";

exports.zoomOut = zoomOut;
//# sourceMappingURL=zooming.js.map

@@ -37,1 +37,2 @@ "use strict";

}
//# sourceMappingURL=reporterForServer.js.map

@@ -255,1 +255,2 @@ "use strict";

}
//# sourceMappingURL=reportError.js.map
{
"name": "@pnpm/default-reporter",
"version": "6.1.1",
"version": "7.0.0",
"description": "The default reporter of pnpm",

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

"files": [
"!*.map",
"lib"

@@ -14,7 +15,7 @@ ],

"pretty-test": "ts-node test | tap-diff",
"test": "pnpm run just-test",
"just-test-preview": "ts-node test --type-check",
"just-test": "pnpm run tsc -- --sourceMap && cd ../.. && c8 --reporter lcov --reports-dir packages/default-reporter/coverage ts-node packages/default-reporter/test --type-check",
"tsc": "rimraf lib && tsc",
"prepublishOnly": "pnpm run tsc"
"_test": "cd ../.. && c8 --reporter lcov --reports-dir packages/default-reporter/coverage ts-node packages/default-reporter/test --type-check",
"test": "pnpm run compile && pnpm run _test",
"prepublishOnly": "pnpm run compile",
"compile": "rimraf lib tsconfig.tsbuildinfo && tsc --build"
},

@@ -25,8 +26,3 @@ "repository": "https://github.com/pnpm/pnpm/blob/master/packages/default-reporter",

],
"author": {
"name": "Zoltan Kochan",
"email": "z@kochan.io",
"url": "https://www.kochan.io/",
"twitter": "ZoltanKochan"
},
"author": "Zoltan Kochan <z@kochan.io> (https://www.kochan.io/)",
"engines": {

@@ -55,3 +51,3 @@ "node": ">=10"

"semver": "7.1.3",
"stacktracey": "1.2.123",
"stacktracey": "1.2.125",
"string-length": "4.0.0",

@@ -66,3 +62,3 @@ "strip-ansi": "6.0.0"

"@types/pretty-time": "1.1.0",
"@types/ramda": "^0.26.43",
"@types/ramda": "^0.26.44",
"@types/semver": "^7.1.0",

@@ -73,3 +69,4 @@ "delay": "4.3.0",

"normalize-newline": "3.0.0"
}
},
"homepage": "https://github.com/pnpm/pnpm/blob/master/packages/default-reporter#readme"
}
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