Comparing version 4.1.3 to 4.1.4
{ | ||
"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 @@ |
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
49608
+ Addedchalk@4.1.2(transitive)
+ Addedcliui@8.0.1(transitive)
+ Addedescalade@3.2.0(transitive)
+ Addedkleur@4.1.5(transitive)
+ Addedwrap-ansi@7.0.0(transitive)
+ Addedy18n@5.0.8(transitive)
+ Addedyargs@17.7.2(transitive)
+ Addedyargs-parser@21.1.1(transitive)
- Removedchalk@3.0.0(transitive)
- Removedkleur@3.0.3(transitive)
Updatedchalk@^4.1.2
Updatedcsv@^5.5.0
Updatedkleur@^4.1.4
Updatedsmartwrap@^2.0.2
Updatedyargs@^17.1.1