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 2.0.1 to 2.0.2

10

which/index.d.ts

@@ -11,3 +11,3 @@ // Type definitions for which 2.0

cmd: string,
options: which.AsyncOptions & which.OptionsAll,
options: which.Options & which.AsyncOptions & which.OptionsAll,
cb: (err: Error | null, paths: ReadonlyArray<string> | undefined) => void,

@@ -17,3 +17,3 @@ ): void;

cmd: string,
options: which.AsyncOptions & which.OptionsFirst,
options: which.Options & which.AsyncOptions & which.OptionsFirst,
cb: (err: Error | null, path: string | undefined) => void,

@@ -23,8 +23,8 @@ ): void;

cmd: string,
options: which.AsyncOptions,
options: which.Options & which.AsyncOptions,
cb: (err: Error | null, path: string | ReadonlyArray<string> | undefined) => void,
): void;
declare function which(cmd: string, cb: (err: Error | null, path: string | undefined) => void): void;
declare function which(cmd: string, options: which.AsyncOptions & which.OptionsAll): Promise<string[]>;
declare function which(cmd: string, options?: which.AsyncOptions & which.OptionsFirst): Promise<string>;
declare function which(cmd: string, options: which.Options & which.AsyncOptions & which.OptionsAll): Promise<string[]>;
declare function which(cmd: string, options?: which.Options & which.AsyncOptions & which.OptionsFirst): Promise<string>;

@@ -31,0 +31,0 @@ declare namespace which {

{
"name": "@types/which",
"version": "2.0.1",
"version": "2.0.2",
"description": "TypeScript definitions for which",

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

"dependencies": {},
"typesPublisherContentHash": "b70db9efe60b94c4178ccefc342ca6a90ad08c44cb5a3bd77922b2768a452c52",
"typeScriptVersion": "3.6"
"typesPublisherContentHash": "bb030e810883f6391704f6dba53e9fc0bb1b782bdbd6ba24719d196e92745b1e",
"typeScriptVersion": "4.2"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Fri, 02 Jul 2021 18:05:37 GMT
* Last updated: Tue, 14 Feb 2023 10:32:35 GMT
* Dependencies: none

@@ -14,0 +14,0 @@ * Global values: none

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