Socket
Socket
Sign inDemoInstall

cliui

Package Overview
Dependencies
Maintainers
2
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cliui - npm Package Compare versions

Comparing version 7.0.3 to 7.0.4

9

build/lib/index.js

@@ -12,4 +12,5 @@ 'use strict';

constructor(opts) {
var _a;
this.width = opts.width;
this.wrap = opts.wrap;
this.wrap = (_a = opts.wrap) !== null && _a !== void 0 ? _a : true;
this.rows = [];

@@ -281,8 +282,8 @@ }

let mixin;
export function cliui(opts = {}, _mixin) {
export function cliui(opts, _mixin) {
mixin = _mixin;
return new UI({
width: opts.width || getWindowWidth(),
wrap: opts.wrap !== false
width: (opts === null || opts === void 0 ? void 0 : opts.width) || getWindowWidth(),
wrap: opts === null || opts === void 0 ? void 0 : opts.wrap
});
}

@@ -5,2 +5,9 @@ # Change Log

### [7.0.4](https://www.github.com/yargs/cliui/compare/v7.0.3...v7.0.4) (2020-11-08)
### Bug Fixes
* **deno:** import UIOptions from definitions ([#97](https://www.github.com/yargs/cliui/issues/97)) ([f04f343](https://www.github.com/yargs/cliui/commit/f04f3439bc78114c7e90f82ff56f5acf16268ea8))
### [7.0.3](https://www.github.com/yargs/cliui/compare/v7.0.2...v7.0.3) (2020-10-16)

@@ -7,0 +14,0 @@

{
"name": "cliui",
"version": "7.0.3",
"version": "7.0.4",
"description": "easily create complex multi-column command-line-interfaces",

@@ -24,3 +24,2 @@ "main": "build/index.cjs",

"postest": "check",
"posttest": "npm run check",
"coverage": "c8 report --check-coverage",

@@ -74,3 +73,3 @@ "precompile": "rimraf build",

"rollup": "^2.23.1",
"standardx": "^5.0.0",
"standardx": "^7.0.0",
"typescript": "^4.0.0"

@@ -77,0 +76,0 @@ },

Sorry, the diff of this file is not supported yet

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