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

sade

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sade - npm Package Compare versions

Comparing version 1.8.0 to 1.8.1

10

index.d.ts

@@ -8,8 +8,8 @@ import type * as mri from 'mri';

declare namespace sade {
export type Handler = (...args: any[]) => any;
export type Value = number | string | boolean | null;
export type Handler<T extends readonly Value[] = Value[]> = (...args: [...T, mri.Argv]) => any;
export interface LazyOutput<T extends any[]> {
export interface LazyOutput {
name: string;
handler: Handler<T>;
handler: Handler;
args: string[];

@@ -25,3 +25,3 @@ }

option(flag: string, description?: string, value?: Value): Sade;
action<T extends Value[]>(handler: Handler<T>): Sade;
action(handler: Handler): Sade;
describe(text: Arrayable<string>): Sade;

@@ -31,3 +31,3 @@ alias(...names: string[]): Sade;

parse<T extends Value[]>(arr: string[], opts: { lazy: true } & mri.Options): LazyOutput<T>;
parse(arr: string[], opts: { lazy: true } & mri.Options): LazyOutput;
parse(arr: string[], opts?: { lazy?: boolean } & mri.Options): void;

@@ -34,0 +34,0 @@

{
"name": "sade",
"version": "1.8.0",
"version": "1.8.1",
"description": "Smooth (CLI) operator 🎶",

@@ -5,0 +5,0 @@ "repository": "lukeed/sade",

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