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

clipanion

Package Overview
Dependencies
Maintainers
1
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clipanion - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

4

lib/advanced/Cli.d.ts

@@ -38,4 +38,4 @@ /// <reference types="node" />

process(input: string[]): Command<Context>;
run(input: string[], context: Context): Promise<number>;
runExit(input: string[], context: Context): Promise<void>;
run(input: Command<Context> | string[], context: Context): Promise<number>;
runExit(input: Command<Context> | string[], context: Context): Promise<void>;
definitions(): {

@@ -42,0 +42,0 @@ path: string;

@@ -59,8 +59,13 @@ "use strict";

let command;
try {
command = this.process(input);
if (!Array.isArray(input)) {
command = input;
}
catch (error) {
context.stdout.write(this.error(error));
return 1;
else {
try {
command = this.process(input);
}
catch (error) {
context.stdout.write(this.error(error));
return 1;
}
}

@@ -67,0 +72,0 @@ if (command.help) {

{
"name": "clipanion",
"version": "2.0.0",
"version": "2.0.1",
"main": "lib/advanced",

@@ -5,0 +5,0 @@ "license": "MIT",

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