Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cli-ux

Package Overview
Dependencies
Maintainers
1
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 1.1.4 to 1.1.5

2

lib/index.d.ts

@@ -20,3 +20,3 @@ import { ActionBase } from './action/base';

prompt(name: string, options?: IPromptOptions): Promise<any>;
log(data: string, ...args: any[]): void;
log(data?: string, ...args: any[]): void;
warn(err: Error | string, options?: Partial<IErrorOptions>): void;

@@ -23,0 +23,0 @@ error(err: Error | string, options?: Partial<IErrorOptions>): void;

@@ -15,8 +15,8 @@ /// <reference types="node" />

constructor(stream?: NodeJS.WriteStream | undefined, options?: IOptions);
write(msg: string, options?: {
write(msg?: string, options?: {
log?: boolean;
}): void;
log(data: string, ...args: any[]): void;
log(data?: string, ...args: any[]): void;
writeLogFile(msg: string, withTimestamp: boolean): void;
private timestamp(msg);
}

@@ -23,2 +23,3 @@ "use strict";

write(msg, options = {}) {
msg = msg || '';
const log = options.log !== false;

@@ -25,0 +26,0 @@ if (log)

{
"name": "cli-ux",
"description": "set of CLI output utilities",
"version": "1.1.4",
"version": "1.1.5",
"author": "Jeff Dickey",

@@ -6,0 +6,0 @@ "bugs": "https://github.com/jdxcode/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