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

cli-task

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cli-task - npm Package Compare versions

Comparing version 0.3.2 to 0.4.0

2

package.json
{
"name": "cli-task",
"version": "0.3.2",
"version": "0.4.0",
"repository": "https://github.com/astoilkov/cli-task",

@@ -5,0 +5,0 @@ "description": "",

@@ -5,6 +5,6 @@ "use strict";

(function (StepStatus) {
StepStatus[StepStatus["Initial"] = 0] = "Initial";
StepStatus[StepStatus["Running"] = 1] = "Running";
StepStatus[StepStatus["Success"] = 2] = "Success";
StepStatus[StepStatus["Failure"] = 3] = "Failure";
StepStatus["Initial"] = "initial";
StepStatus["Running"] = "running";
StepStatus["Success"] = "success";
StepStatus["Failure"] = "failure";
})(StepStatus = exports.StepStatus || (exports.StepStatus = {}));

@@ -11,0 +11,0 @@ class Step {

@@ -108,15 +108,11 @@ "use strict";

return {
global: {
argv: argv,
get: (key) => this.stateValues[key],
set: (key, value) => this.stateValues[key] = value,
argv: argv,
options: options,
get: (key) => this.stateValues[key],
set: (key, value) => this.stateValues[key] = value,
info: (message) => {
this.getCurrentTask().info = message;
},
current: {
options: options,
info: (message) => {
this.getCurrentTask().info = message;
},
fail: (message) => {
this.getCurrentTask().failure(message);
}
fail: (message) => {
this.getCurrentTask().failure(message);
}

@@ -123,0 +119,0 @@ };

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