Comparing version 2.8.6 to 2.8.7
{ | ||
"name": "tty-table", | ||
"version": "2.8.6", | ||
"version": "2.8.7", | ||
"description": "Node cli table", | ||
@@ -5,0 +5,0 @@ "main": "src/main.js", |
@@ -125,2 +125,5 @@ const Defaults = require("./defaults.js") | ||
//for truncate true is equivalent to empty string | ||
if(config.truncate === true) config.truncate = "" | ||
//if borderColor customized, color the border character set | ||
@@ -127,0 +130,0 @@ if(config.borderColor) { |
@@ -65,4 +65,3 @@ const StripAnsi = require("strip-ansi") | ||
//no wrap, truncate | ||
case((typeof config.truncate === "string") || config.truncate === true): | ||
if(config.truncate === true) config.truncate = "" | ||
case(typeof config.truncate === "string"): | ||
string = Format.handleTruncatedValue(string, cellOptions, innerWidth) | ||
@@ -69,0 +68,0 @@ break |
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
42652
987