@types/cosmiconfig
Advanced tools
Comparing version 5.0.0 to 5.0.1
@@ -5,2 +5,3 @@ // Type definitions for cosmiconfig 5.0 | ||
// szeck87 <https://github.com/szeck87> | ||
// saadq <https://github.com/saadq> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -39,4 +40,4 @@ // TypeScript Version: 2.2 | ||
export interface Explorer { | ||
search(searchFrom: string): Promise<null | CosmiconfigResult>; | ||
searchSync(searchFrom: string): null | CosmiconfigResult; | ||
search(searchFrom?: string): Promise<null | CosmiconfigResult>; | ||
searchSync(searchFrom?: string): null | CosmiconfigResult; | ||
load(loadPath: string): Promise<CosmiconfigResult>; | ||
@@ -60,2 +61,2 @@ loadSync(loadPath: string): CosmiconfigResult; | ||
export default function cosmiconfig(moduleName: string, options: ExplorerOptions): Explorer; | ||
export default function cosmiconfig(moduleName: string, options?: ExplorerOptions): Explorer; |
{ | ||
"name": "@types/cosmiconfig", | ||
"version": "5.0.0", | ||
"version": "5.0.1", | ||
"description": "TypeScript definitions for cosmiconfig", | ||
@@ -16,2 +16,7 @@ "license": "MIT", | ||
"githubUsername": "szeck87" | ||
}, | ||
{ | ||
"name": "saadq", | ||
"url": "https://github.com/saadq", | ||
"githubUsername": "saadq" | ||
} | ||
@@ -28,4 +33,4 @@ ], | ||
}, | ||
"typesPublisherContentHash": "2ba3c17e4596955de40c28f32c197b37d36f9766842c9e8deddc0ed57b3811f8", | ||
"typesPublisherContentHash": "4a8d8174bc7fff48be2a28b8ea1fb7bdcf6b2ebe6afccb3bdee078f70e6d4341", | ||
"typeScriptVersion": "2.2" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Fri, 11 May 2018 21:06:23 GMT | ||
* Last updated: Mon, 14 May 2018 22:00:46 GMT | ||
* Dependencies: node | ||
@@ -17,2 +17,2 @@ * Global values: none | ||
# Credits | ||
These definitions were written by ozum <https://github.com/ozum>, szeck87 <https://github.com/szeck87>. | ||
These definitions were written by ozum <https://github.com/ozum>, szeck87 <https://github.com/szeck87>, saadq <https://github.com/saadq>. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4364
49