@pnpm/default-reporter
Advanced tools
Comparing version 3.0.1 to 3.0.2
@@ -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
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
108747
22
+ Added@pnpm/config@3.1.0(transitive)
+ Addedstacktracey@1.2.110(transitive)
+ Addedstring-length@3.0.0(transitive)
+ Addedstrip-ansi@5.2.0(transitive)
- Removed@types/strip-ansi@3.0.0
- Removed@pnpm/config@3.0.0(transitive)
- Removed@types/node@11.9.5(transitive)
- Removed@types/strip-ansi@3.0.0(transitive)
- Removedstacktracey@1.2.109(transitive)
- Removedstring-length@2.0.0(transitive)
- Removedstrip-ansi@4.0.05.1.0(transitive)
Updated@pnpm/config@3.1.0
Updatedstacktracey@1.2.110
Updatedstring-length@3.0.0
Updatedstrip-ansi@5.2.0