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

@types/configstore

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/configstore - npm Package Compare versions

Comparing version 5.0.1 to 6.0.0

16

configstore/index.d.ts

@@ -1,2 +0,2 @@

// Type definitions for configstore 5.0
// Type definitions for configstore 6.0
// Project: https://github.com/yeoman/configstore

@@ -6,7 +6,5 @@ // Definitions by: ArcticLight <https://github.com/ArcticLight>

export = Configstore;
export default class Configstore {
constructor(packageName: string, defaults?: any, options?: ConfigstoreOptions);
declare class Configstore {
constructor(packageName: string, defaults?: any, options?: Configstore.ConfigstoreOptions);
/**

@@ -68,7 +66,5 @@ * Get the path to the config file. Can be used to show the user

declare namespace Configstore {
interface ConfigstoreOptions {
globalConfigPath?: boolean | undefined;
configPath?: string | undefined;
}
export interface ConfigstoreOptions {
globalConfigPath?: boolean | undefined;
configPath?: string | undefined;
}
{
"name": "@types/configstore",
"version": "5.0.1",
"version": "6.0.0",
"description": "TypeScript definitions for configstore",

@@ -23,4 +23,5 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/configstore",

"dependencies": {},
"typesPublisherContentHash": "22b7339a6c79504ec1103a84f9eaebe05ecafb9580f58c2e84baddbe4dcc8a25",
"typeScriptVersion": "3.6"
"typesPublisherContentHash": "4bccf2f1b41daff0247e8d0d5ea9cc7ec3bd01befd895c3be9a7897c709cb211",
"typeScriptVersion": "4.0",
"type": "module"
}

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

````ts
// Type definitions for configstore 5.0
// Type definitions for configstore 6.0
// Project: https://github.com/yeoman/configstore

@@ -17,7 +17,5 @@ // Definitions by: ArcticLight <https://github.com/ArcticLight>

export = Configstore;
export default class Configstore {
constructor(packageName: string, defaults?: any, options?: ConfigstoreOptions);
declare class Configstore {
constructor(packageName: string, defaults?: any, options?: Configstore.ConfigstoreOptions);
/**

@@ -79,7 +77,5 @@ * Get the path to the config file. Can be used to show the user

declare namespace Configstore {
interface ConfigstoreOptions {
globalConfigPath?: boolean | undefined;
configPath?: string | undefined;
}
export interface ConfigstoreOptions {
globalConfigPath?: boolean | undefined;
configPath?: string | undefined;
}

@@ -90,3 +86,3 @@

### Additional Details
* Last updated: Tue, 06 Jul 2021 18:05:59 GMT
* Last updated: Mon, 04 Jul 2022 19:32:19 GMT
* Dependencies: none

@@ -93,0 +89,0 @@ * Global values: none

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