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 4.1.3 to 4.1.4

20

package.json
{
"name": "tty-table",
"version": "4.1.3",
"version": "4.1.4",
"description": "Node cli table",

@@ -56,9 +56,9 @@ "main": "src/main.js",

"dependencies": {
"chalk": "^3.0.0",
"csv": "^5.3.2",
"kleur": "^3.0.3",
"smartwrap": "^2.0.1",
"chalk": "^4.1.2",
"csv": "^5.5.0",
"kleur": "^4.1.4",
"smartwrap": "^2.0.2",
"strip-ansi": "^6.0.0",
"wcwidth": "^1.0.1",
"yargs": "^15.3.1"
"yargs": "^17.1.1"
},

@@ -84,5 +84,5 @@ "devDependencies": {

"eslint-plugin-standard": "^4.0.1",
"glob": "^7.1.6",
"grunt": "^1.1.0",
"grunt-cli": "^1.3.2",
"glob": "^7.1.7",
"grunt": "^1.3.0",
"grunt-cli": "^1.4.3",
"grunt-contrib-watch": "^1.1.0",

@@ -94,3 +94,3 @@ "grunt-shell": "^3.0.1",

"nyc": "^15.0.0",
"rollup": "^1.31.1"
"rollup": "^2.56.3"
},

@@ -97,0 +97,0 @@ "nyc": {

@@ -269,4 +269,3 @@ const stripAnsi = require("strip-ansi")

const proportion = (availableWidth / totalWidth).toFixed(2) - 0.01
const relativeWidths = widths.map(value => Math.floor(proportion * value))
const relativeWidths = widths.map(value => Math.max(2, Math.floor(proportion * value)))
if (config.FIXED_WIDTH) return relativeWidths

@@ -273,0 +272,0 @@

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