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.2.1 to 1.3.0

10

CHANGELOG.md

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

<a name="1.3.0"></a>
# [1.3.0](https://github.com/njakob/cli-utils/compare/v1.2.1...v1.3.0) (2017-05-01)
### Features
* Make initial message of activities optional ([3007146](https://github.com/njakob/cli-utils/commit/3007146))
<a name="1.2.1"></a>

@@ -7,0 +17,0 @@ ## [1.2.1](https://github.com/njakob/cli-utils/compare/v1.2.0...v1.2.1) (2017-04-25)

16

lib/cli-utils.es.js
/*
cli-utils v1.2.1
Tue Apr 25 2017 09:58:28 GMT+0200 (CEST) - commit 65f1fdce54d4f397f947f908f30f5fef67edfa86
cli-utils v1.3.0
Mon May 01 2017 16:50:42 GMT+0200 (CEST) - commit 520510dc1f345168940faa9a7e27b16b48fc5a4f

@@ -423,3 +423,3 @@ https://github.com/njakob/cli-utils

key: 'activity',
value: function activity(message) {
value: function activity(initialMessage) {
var _this2 = this;

@@ -429,9 +429,11 @@

spinner.start();
spinner.setText(this.format(message));
if (initialMessage) {
spinner.setText(this.format(initialMessage));
}
return new Activity(function () {
spinner.stop();
}, function (innerMessage) {
if (innerMessage) {
spinner.setText(_this2.format(innerMessage));
}, function (message) {
if (message) {
spinner.setText(_this2.format(message));
}

@@ -438,0 +440,0 @@ });

/*
cli-utils v1.2.1
Tue Apr 25 2017 09:58:28 GMT+0200 (CEST) - commit 65f1fdce54d4f397f947f908f30f5fef67edfa86
cli-utils v1.3.0
Mon May 01 2017 16:50:42 GMT+0200 (CEST) - commit 520510dc1f345168940faa9a7e27b16b48fc5a4f

@@ -426,3 +426,3 @@ https://github.com/njakob/cli-utils

key: 'activity',
value: function activity(message) {
value: function activity(initialMessage) {
var _this2 = this;

@@ -432,9 +432,11 @@

spinner.start();
spinner.setText(this.format(message));
if (initialMessage) {
spinner.setText(this.format(initialMessage));
}
return new Activity(function () {
spinner.stop();
}, function (innerMessage) {
if (innerMessage) {
spinner.setText(_this2.format(innerMessage));
}, function (message) {
if (message) {
spinner.setText(_this2.format(message));
}

@@ -441,0 +443,0 @@ });

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

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

Sorry, the diff of this file is not supported yet

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