Comparing version 5.6.2 to 5.6.3
@@ -5,2 +5,9 @@ # Changelog | ||
### [5.6.3](https://github.com/oclif/cli-ux/compare/v5.6.2...v5.6.3) (2021-07-07) | ||
### Bug Fixes | ||
* makes the max terminal width for tables correct on Windows machines ([#386](https://github.com/oclif/cli-ux/issues/386)) ([4e5c19b](https://github.com/oclif/cli-ux/commit/4e5c19b3fd13493e09379d9e7da54b4bc7e4a2d3)) | ||
### [5.6.2](https://github.com/oclif/cli-ux/compare/v5.6.1...v5.6.2) (2021-06-21) | ||
@@ -7,0 +14,0 @@ |
@@ -181,3 +181,3 @@ "use strict"; | ||
// terminal width | ||
const maxWidth = screen_1.stdtermwidth; | ||
const maxWidth = screen_1.stdtermwidth - 2; | ||
// truncation logic | ||
@@ -241,3 +241,3 @@ const shouldShorten = () => { | ||
for (const col of columns) { | ||
const divider = ''.padEnd(col.maxWidth - 1, '─') + ' '; | ||
const divider = ''.padEnd(col.width - 1, '─') + ' '; | ||
dividers += divider.padEnd(col.width); | ||
@@ -244,0 +244,0 @@ } |
{ | ||
"name": "cli-ux", | ||
"description": "cli IO utilities", | ||
"version": "5.6.2", | ||
"version": "5.6.3", | ||
"author": "Jeff Dickey @jdxcode", | ||
@@ -6,0 +6,0 @@ "bugs": "https://github.com/oclif/cli-ux/issues", |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
97373
2