Socket
Socket
Sign inDemoInstall

@types/command-exists

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/command-exists - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

2

command-exists/index.d.ts

@@ -11,3 +11,3 @@ // Type definitions for command-exists 1.2

commandName: string,
cb: (error: null, exists: boolean) => void
cb: (error: null, exists: boolean) => void,
): void;

@@ -14,0 +14,0 @@

{
"name": "@types/command-exists",
"version": "1.2.0",
"version": "1.2.1",
"description": "TypeScript definitions for command-exists",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/command-exists",
"license": "MIT",

@@ -14,11 +15,12 @@ "contributors": [

"main": "",
"types": "index",
"types": "index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git"
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
"directory": "types/command-exists"
},
"scripts": {},
"dependencies": {},
"typesPublisherContentHash": "76ee85604c02c6cee1625656e3b2f6992fc6f764894636c48914353e8c1da218",
"typeScriptVersion": "2.0"
"typesPublisherContentHash": "bac12bf7c2a04e66aa6956c8e50412045b7529ff195064538224df5a151a9012",
"typeScriptVersion": "4.3"
}

@@ -8,6 +8,26 @@ # Installation

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/command-exists
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/command-exists.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/command-exists/index.d.ts)
````ts
// Type definitions for command-exists 1.2
// Project: https://github.com/mathisonian/command-exists
// Definitions by: BendingBender <https://github.com/BendingBender>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
Additional Details
* Last updated: Fri, 07 Dec 2018 19:11:36 GMT
export = commandExists;
declare function commandExists(commandName: string): Promise<string>;
declare function commandExists(
commandName: string,
cb: (error: null, exists: boolean) => void,
): void;
declare namespace commandExists {
function sync(commandName: string): boolean;
}
````
### Additional Details
* Last updated: Mon, 04 Sep 2023 15:41:02 GMT
* Dependencies: none

@@ -17,2 +37,2 @@ * Global values: none

# Credits
These definitions were written by BendingBender <https://github.com/BendingBender>.
These definitions were written by [BendingBender](https://github.com/BendingBender).

Sorry, the diff of this file is not supported yet

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