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

@njakob/cli-utils

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@njakob/cli-utils - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

24

lib/ConsoleReporter.js

@@ -89,3 +89,7 @@ 'use strict';

value: function info(message) {
this.stdout.write(this.format(this.styles.dim(_templateObject, message)));
var verbose = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
if (this.verbose >= verbose) {
this.stdout.write(this.format(this.styles.dim(_templateObject, message)));
}
}

@@ -95,3 +99,7 @@ }, {

value: function success(message) {
this.stdout.write(this.format(this.parse(_templateObject2, message, this.styles.bold.green(_templateObject3))));
var verbose = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
if (this.verbose >= verbose) {
this.stdout.write(this.format(this.parse(_templateObject2, message, this.styles.bold.green(_templateObject3))));
}
}

@@ -101,3 +109,7 @@ }, {

value: function warning(message) {
this.stdout.write(this.format(this.styles.bold.yellow(_templateObject4, message)));
var verbose = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
if (this.verbose >= verbose) {
this.stdout.write(this.format(this.styles.bold.yellow(_templateObject4, message)));
}
}

@@ -107,3 +119,7 @@ }, {

value: function failure(message) {
this.stderr.write(this.format(this.styles.bold.red(_templateObject5, message)));
var verbose = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
if (this.verbose >= verbose) {
this.stderr.write(this.format(this.styles.bold.red(_templateObject5, message)));
}
}

@@ -110,0 +126,0 @@ }, {

16

lib/Reporter.js

@@ -71,3 +71,5 @@ 'use strict';

key: 'info',
value: function info(message) {}
value: function info(message) {
var verbose = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
}

@@ -78,3 +80,5 @@ // eslint-disable-next-line no-unused-vars

key: 'success',
value: function success(message) {}
value: function success(message) {
var verbose = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
}

@@ -85,3 +89,5 @@ // eslint-disable-next-line no-unused-vars

key: 'warning',
value: function warning(message) {}
value: function warning(message) {
var verbose = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
}

@@ -92,3 +98,5 @@ // eslint-disable-next-line no-unused-vars

key: 'failure',
value: function failure(message) {}
value: function failure(message) {
var verbose = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
}

@@ -95,0 +103,0 @@ // eslint-disable-next-line no-unused-vars

{
"name": "@njakob/cli-utils",
"version": "1.1.0",
"version": "1.1.1",
"description": "Collection of utils to build CLI Node based applications",

@@ -5,0 +5,0 @@ "author": "Nicolas Jakob <nicow.jakob@gmail.com>",

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