Socket
Socket
Sign inDemoInstall

tty-table

Package Overview
Dependencies
Maintainers
1
Versions
89
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tty-table - npm Package Compare versions

Comparing version 2.8.6 to 2.8.7

2

package.json
{
"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

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