Socket
Socket
Sign inDemoInstall

cli-ux

Package Overview
Dependencies
Maintainers
6
Versions
167
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cli-ux - npm Package Compare versions

Comparing version 5.6.2 to 5.6.3

7

CHANGELOG.md

@@ -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 @@

4

lib/styled/table.js

@@ -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",

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