Socket
Socket
Sign inDemoInstall

@types/which

Package Overview
Dependencies
0
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.2 to 3.0.3

6

which/index.d.ts

@@ -7,7 +7,7 @@ /** Finds all instances of a specified executable in the PATH environment variable */

/** Finds all instances of a specified executable in the PATH environment variable */
function sync(cmd: string, options: Options & OptionsAll & OptionsNoThrow): ReadonlyArray<string> | null;
function sync(cmd: string, options: Options & OptionsAll & OptionsNoThrow): readonly string[] | null;
function sync(cmd: string, options: Options & OptionsFirst & OptionsNoThrow): string | null;
function sync(cmd: string, options: Options & OptionsAll & OptionsThrow): ReadonlyArray<string>;
function sync(cmd: string, options: Options & OptionsAll & OptionsThrow): readonly string[];
function sync(cmd: string, options?: Options & OptionsFirst & OptionsThrow): string;
function sync(cmd: string, options: Options): string | ReadonlyArray<string> | null;
function sync(cmd: string, options: Options): string | readonly string[] | null;

@@ -14,0 +14,0 @@ /** Options that ask for all matches. */

{
"name": "@types/which",
"version": "3.0.2",
"version": "3.0.3",
"description": "TypeScript definitions for which",

@@ -33,4 +33,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/which",

"dependencies": {},
"typesPublisherContentHash": "b1c2c96493593fbff3a162ffe8ec48832c1c1f67d8c9cd08d6f4e9d933515f31",
"typesPublisherContentHash": "d3b56661a01ae2cc87078e8feea2fbae7c60fea1111936e7fb0b582ead6694e9",
"typeScriptVersion": "4.5"
}

@@ -17,7 +17,7 @@ # Installation

/** Finds all instances of a specified executable in the PATH environment variable */
function sync(cmd: string, options: Options & OptionsAll & OptionsNoThrow): ReadonlyArray<string> | null;
function sync(cmd: string, options: Options & OptionsAll & OptionsNoThrow): readonly string[] | null;
function sync(cmd: string, options: Options & OptionsFirst & OptionsNoThrow): string | null;
function sync(cmd: string, options: Options & OptionsAll & OptionsThrow): ReadonlyArray<string>;
function sync(cmd: string, options: Options & OptionsAll & OptionsThrow): readonly string[];
function sync(cmd: string, options?: Options & OptionsFirst & OptionsThrow): string;
function sync(cmd: string, options: Options): string | ReadonlyArray<string> | null;
function sync(cmd: string, options: Options): string | readonly string[] | null;

@@ -66,3 +66,3 @@ /** Options that ask for all matches. */

### Additional Details
* Last updated: Tue, 07 Nov 2023 15:11:36 GMT
* Last updated: Mon, 20 Nov 2023 23:36:24 GMT
* Dependencies: none

@@ -69,0 +69,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc