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
348
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 3.0.1 to 3.0.2

4

lib/reporterForClient/reportLifecycleScripts.js

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

const prettyTime = require("pretty-time");
const stripAnsi = require("strip-ansi");
const strip_ansi_1 = require("strip-ansi");
const constants_1 = require("../constants");

@@ -153,4 +153,4 @@ const outputConstants_1 = require("./outputConstants");

function cutLine(line, maxLength) {
return stripAnsi(line).substr(0, maxLength);
return strip_ansi_1.default(line).substr(0, maxLength);
}
//# sourceMappingURL=reportLifecycleScripts.js.map

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

const R = require("ramda");
const stringLength = require("string-length");
const string_length_1 = require("string-length");
const constants_1 = require("../constants");

@@ -100,3 +100,3 @@ const outputConstants_1 = require("./outputConstants");

let msg = zooming_1.zoomOut(opts.currentPrefix, stats['prefix'], parts.join(' '));
const rest = Math.max(0, opts.width - 1 - stringLength(msg));
const rest = Math.max(0, opts.width - 1 - string_length_1.default(msg));
msg += ' ' + printPlusesAndMinuses(rest, roundStats(stats['added'] || 0), roundStats(stats['removed'] || 0));

@@ -107,3 +107,3 @@ return most.of({ msg });

function padStep(s, step) {
const sLength = stringLength(s);
const sLength = string_length_1.default(s);
const placeholderLength = Math.ceil(sLength / step) * step;

@@ -110,0 +110,0 @@ if (sLength < placeholderLength) {

{
"name": "@pnpm/default-reporter",
"version": "3.0.1",
"version": "3.0.2",
"description": "The default reporter of pnpm",

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

"dependencies": {
"@pnpm/config": "3.0.0",
"@pnpm/config": "3.1.0",
"@pnpm/core-loggers": "3.0.0",

@@ -45,3 +45,2 @@ "@pnpm/types": "3.0.0",

"@types/semver": "5.5.0",
"@types/strip-ansi": "3.0.0",
"@zkochan/zen-push": "1.0.0",

@@ -59,5 +58,5 @@ "ansi-diff": "1.1.1",

"semver": "5.6.0",
"stacktracey": "1.2.109",
"string-length": "2.0.0",
"strip-ansi": "5.1.0"
"stacktracey": "1.2.110",
"string-length": "3.0.0",
"strip-ansi": "5.2.0"
},

@@ -78,4 +77,4 @@ "devDependencies": {

"tslint": "5.14.0",
"typescript": "3.3.3333"
"typescript": "3.3.4000"
}
}

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