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

@types/debug

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/debug - npm Package Compare versions

Comparing version 0.0.31 to 4.1.0

37

debug/index.d.ts

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

// Type definitions for debug
// Type definitions for debug 4.1
// Project: https://github.com/visionmedia/debug

@@ -7,5 +7,6 @@ // Definitions by: Seon-Wook Park <https://github.com/swook>

// Brasten Sager <https://github.com/brasten>
// Nicolas Penin <https://github.com/npenin>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare var debug: debug.IDebug;
declare var debug: debug.Debug & {debug: debug.Debug, default: debug.Debug};

@@ -16,27 +17,31 @@ export = debug;

declare namespace debug {
export interface IDebug {
(namespace: string): debug.IDebugger,
coerce: (val: any) => any,
disable: () => void,
enable: (namespaces: string) => void,
enabled: (namespaces: string) => boolean,
interface Debug {
(namespace: string): Debugger;
coerce: (val: any) => any;
disable: () => void;
enable: (namespaces: string) => void;
enabled: (namespaces: string) => boolean;
names: RegExp[],
skips: RegExp[],
names: RegExp[];
skips: RegExp[];
formatters: IFormatters
formatters: Formatters;
}
export interface IFormatters {
[formatter: string]: Function
type IDebug = Debug;
interface Formatters {
[formatter: string]: (v: any) => string;
}
export interface IDebugger {
type IDebugger = Debugger;
interface Debugger {
(formatter: any, ...args: any[]): void;
enabled: boolean;
log: Function;
log: (v: any) => string;
namespace: string;
extend: (namespace: string, delimiter?: string) => debug.IDebugger;
extend: (namespace: string, delimiter?: string) => Debugger;
}
}
{
"name": "@types/debug",
"version": "0.0.31",
"version": "4.1.0",
"description": "TypeScript definitions for debug",

@@ -26,5 +26,11 @@ "license": "MIT",

"githubUsername": "brasten"
},
{
"name": "Nicolas Penin",
"url": "https://github.com/npenin",
"githubUsername": "npenin"
}
],
"main": "",
"types": "index",
"repository": {

@@ -36,4 +42,4 @@ "type": "git",

"dependencies": {},
"typesPublisherContentHash": "b8c338a3a9723343255b937e1ffe67b076c6180cd50506dd43195ff710e8ca50",
"typesPublisherContentHash": "827b6131e6c27b0829f2771812c0bcc0760b33ad7efe7b65b3c07f2e6cdd8855",
"typeScriptVersion": "2.0"
}

@@ -5,3 +5,3 @@ # Installation

# Summary
This package contains type definitions for debug (https://github.com/visionmedia/debug).
This package contains type definitions for debug ( https://github.com/visionmedia/debug ).

@@ -12,3 +12,3 @@ # Details

Additional Details
* Last updated: Thu, 04 Oct 2018 17:46:11 GMT
* Last updated: Thu, 07 Feb 2019 19:14:14 GMT
* Dependencies: none

@@ -18,2 +18,2 @@ * Global values: debug

# Credits
These definitions were written by Seon-Wook Park <https://github.com/swook>, Gal Talmor <https://github.com/galtalmor>, John McLaughlin <https://github.com/zamb3zi>, Brasten Sager <https://github.com/brasten>.
These definitions were written by Seon-Wook Park <https://github.com/swook>, Gal Talmor <https://github.com/galtalmor>, John McLaughlin <https://github.com/zamb3zi>, Brasten Sager <https://github.com/brasten>, Nicolas Penin <https://github.com/npenin>.
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