Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/cosmiconfig

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

@types/cosmiconfig - npm Package Compare versions

Comparing version 5.0.0 to 5.0.1

7

cosmiconfig/index.d.ts

@@ -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>.
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