terminal-table
Advanced tools
Comparing version 0.0.8 to 0.0.9
@@ -162,3 +162,6 @@ var eaw = require("eastasianwidth"); | ||
Table.prototype.horlen = function(){ | ||
return Math.max.apply(null, this.table.map(function(row){return row.length})); | ||
return Math.max.apply(null, this.table.reduce(function(arr, row){ | ||
arr[arr.length] = row.length; | ||
return arr; | ||
}, [])); | ||
}; | ||
@@ -165,0 +168,0 @@ |
{ | ||
"name": "terminal-table", | ||
"version": "0.0.8", | ||
"version": "0.0.9", | ||
"description": "View a table in the terminal.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
49255
326