New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

cli-specs

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cli-specs - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

2

package.json
{
"name": "cli-specs",
"version": "0.0.2",
"version": "0.0.3",
"description": "Specifications for CLIs.",

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

import type { ExecaChildProcess, ExecaReturnValue, Options as ExecaOptions } from 'execa';
import type { EmptyObject, Promisable } from 'type-fest';
export interface CliTool<ExtraOptions extends Record<string, unknown> = EmptyObject> {
import type { Promisable } from 'type-fest';
export interface CliTool<ExtraOptions extends Record<string, unknown> = Record<string, unknown>> {
(command: string | string[], options?: ExecaOptions & ExtraOptions): Promise<ExecaReturnValue>;

@@ -5,0 +5,0 @@ commandName: string;

import type { ExecaChildProcess, Options as ExecaOptions } from 'execa';
import type { EmptyObject, Promisable } from 'type-fest';
import type { Promisable } from 'type-fest';
import type { CliTool } from '~/types/cli.js';
export declare function defineCliTool<ExtraOptions extends Record<string, unknown> = EmptyObject>(args: {
export declare function defineCliTool<ExtraOptions extends Record<string, unknown> = Record<string, unknown>>(args: {
commandName: string;

@@ -6,0 +6,0 @@ description: string;

@@ -1,2 +0,2 @@

export declare const homebrew: import("..").CliTool<import("type-fest").EmptyObject>;
export declare const homebrew: import("..").CliTool<Record<string, unknown>>;
export declare function installHomebrewPackage(formulaName: string): Promise<void>;
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