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

@types/winston

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/winston - npm Package Compare versions

Comparing version 2.3.4 to 2.3.5

48

winston/index.d.ts

@@ -89,11 +89,11 @@ // Type definitions for winston 2.3

interface Winston {
config: winston.Config;
transports: winston.Transports;
Transport: winston.TransportStatic;
Logger: winston.LoggerStatic;
Container: winston.ContainerStatic;
loggers: winston.ContainerInstance;
default: winston.LoggerInstance;
config: Config;
transports: Transports;
Transport: TransportStatic;
Logger: LoggerStatic;
Container: ContainerStatic;
loggers: ContainerInstance;
default: LoggerInstance;
exception: winston.Exception;
exception: Exception;

@@ -103,26 +103,26 @@ exitOnError: boolean;

log: winston.LogMethod;
log: LogMethod;
silly: winston.LeveledLogMethod;
debug: winston.LeveledLogMethod;
verbose: winston.LeveledLogMethod;
info: winston.LeveledLogMethod;
warn: winston.LeveledLogMethod;
error: winston.LeveledLogMethod;
silly: LeveledLogMethod;
debug: LeveledLogMethod;
verbose: LeveledLogMethod;
info: LeveledLogMethod;
warn: LeveledLogMethod;
error: LeveledLogMethod;
query(options: winston.QueryOptions, callback?: (err: Error, results: any) => void): any;
query(options: QueryOptions, callback?: (err: Error, results: any) => void): any;
query(callback: (err: Error, results: any) => void): any;
stream(options?: any): NodeJS.ReadableStream;
handleExceptions(...transports: winston.TransportInstance[]): void;
unhandleExceptions(...transports: winston.TransportInstance[]): void;
add(transport: winston.TransportInstance, options?: winston.TransportOptions, created?: boolean): winston.LoggerInstance;
handleExceptions(...transports: TransportInstance[]): void;
unhandleExceptions(...transports: TransportInstance[]): void;
add(transport: TransportInstance, options?: TransportOptions, created?: boolean): LoggerInstance;
clear(): void;
remove(transport: string | winston.TransportInstance): winston.LoggerInstance;
startTimer(): winston.ProfileHandler;
profile(id: string, msg?: string, meta?: any, callback?: (err: Error, level: string, msg: string, meta: any) => void): winston.LoggerInstance;
remove(transport: string | TransportInstance): LoggerInstance;
startTimer(): ProfileHandler;
profile(id: string, msg?: string, meta?: any, callback?: (err: Error, level: string, msg: string, meta: any) => void): LoggerInstance;
addColors(target: AbstractConfigSetColors): any;
setLevels(target: AbstractConfigSetLevels): any;
cli(): winston.LoggerInstance;
cli(): LoggerInstance;
close(): void;
configure(options: winston.LoggerOptions): void;
configure(options: LoggerOptions): void;
}

@@ -129,0 +129,0 @@

{
"name": "@types/winston",
"version": "2.3.4",
"version": "2.3.5",
"description": "TypeScript definitions for winston",

@@ -29,5 +29,4 @@ "license": "MIT",

},
"peerDependencies": {},
"typesPublisherContentHash": "8d973f3962e5afc767f5343b0c46dee12962e157a891cba0a16d681c7017ccd1",
"typesPublisherContentHash": "6762ff7ad3a1902e29955215b7cfc106a7ad095506524b3b4915ad5bef0fd3b7",
"typeScriptVersion": "2.0"
}

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

Additional Details
* Last updated: Tue, 25 Jul 2017 17:56:27 GMT
* Last updated: Mon, 21 Aug 2017 22:03:22 GMT
* Dependencies: http, node

@@ -14,0 +14,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