Socket
Socket
Sign inDemoInstall

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 3.2.0-rc.1 to 3.2.0-rc.2

12

lib/advanced/Cli.d.ts

@@ -42,6 +42,6 @@ /// <reference types="node" />

};
export declare type UserContextKeys<BaseContext, Context extends BaseContext> = Exclude<keyof Context, keyof BaseContext>;
export declare type UserContext<BaseContext, Context extends BaseContext> = Pick<Context, UserContextKeys<BaseContext, Context>>;
export declare type PartialContext<BaseContext, Context extends BaseContext> = UserContextKeys<BaseContext, Context> extends never ? Partial<Pick<Context, keyof BaseContext>> | undefined | void : Partial<Pick<Context, keyof BaseContext>> & UserContext<BaseContext, Context>;
export declare type RunContext<BaseContext, Context extends BaseContext> = Context | PartialContext<BaseContext, Context>;
export declare type UserContextKeys<Context extends BaseContext> = Exclude<keyof Context, keyof BaseContext>;
export declare type UserContext<Context extends BaseContext> = Pick<Context, UserContextKeys<Context>>;
export declare type PartialContext<Context extends BaseContext> = UserContextKeys<Context> extends never ? Partial<Pick<Context, keyof BaseContext>> | undefined | void : Partial<Pick<Context, keyof BaseContext>> & UserContext<Context>;
export declare type RunContext<Context extends BaseContext> = Context | PartialContext<Context>;
export declare type CliOptions = Readonly<{

@@ -169,3 +169,3 @@ /**

process(input: Array<string>): Command<Context>;
run(input: Command<Context> | Array<string>, userContext: RunContext<BaseContext, Context>): Promise<number>;
run(input: Command<Context> | Array<string>, userContext: RunContext<Context>): Promise<number>;
/**

@@ -179,3 +179,3 @@ * Runs a command and exits the current `process` with the exit code returned by the command.

*/
runExit(input: Command<Context> | Array<string>, context: RunContext<BaseContext, Context>): Promise<void>;
runExit(input: Command<Context> | Array<string>, context: RunContext<Context>): Promise<void>;
suggest(input: Array<string>, partial: boolean): string[][];

@@ -182,0 +182,0 @@ definitions({ colored }?: {

{
"name": "clipanion",
"version": "3.2.0-rc.1",
"version": "3.2.0-rc.2",
"main": "lib/advanced/index",

@@ -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