Socket
Socket
Sign inDemoInstall

@types/bunyan

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/bunyan - npm Package Compare versions

Comparing version 0.0.30 to 0.0.31

18

bunyan/index.d.ts

@@ -14,3 +14,3 @@ // Type definitions for node-bunyan

addStream(stream: Stream): void;
addSerializers(serializers: Serializers): void;
addSerializers(serializers:Serializers | StdSerializers):void;
child(options: LoggerOptions, simple?: boolean): Logger;

@@ -25,3 +25,3 @@ child(obj: Object, simple?: boolean): Logger;

fields: any;
src: boolean;
src:boolean;

@@ -63,4 +63,14 @@ trace(error: Error, format?: any, ...params: any[]): void;

interface Serializer {
(input:any): any;
}
interface Serializers {
[key: string]: (input: any) => string;
[key:string]: Serializer;
}
interface StdSerializers {
err: Serializer;
res: Serializer;
req: Serializer;
}

@@ -78,3 +88,3 @@

export declare var stdSerializers: Serializers;
export var stdSerializers:StdSerializers;

@@ -81,0 +91,0 @@ export declare var TRACE: number;

{
"name": "@types/bunyan",
"version": "0.0.30",
"version": "0.0.31",
"description": "TypeScript definitions for node-bunyan",

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

},
"peerDependencies": {},
"typings": "index.d.ts",
"typesPublisherContentHash": "4bde7dfbc3b93b4a9b4ea9bd07fc3d7250027078f54531ce9b778212552fafcd"
"typesPublisherContentHash": "ac720b11d5fabeda226bf7a463fb25846c15cd60dda63f1fbf1cf140875b36df"
}

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

Additional Details
* Last updated: Mon, 19 Sep 2016 16:15:24 GMT
* Last updated: Wed, 26 Oct 2016 19:23:25 GMT
* File structure: ProperModule

@@ -14,0 +14,0 @@ * Library Dependencies: node

@@ -29,3 +29,3 @@ {

"hasPackageJson": false,
"contentHash": "4bde7dfbc3b93b4a9b4ea9bd07fc3d7250027078f54531ce9b778212552fafcd"
"contentHash": "ac720b11d5fabeda226bf7a463fb25846c15cd60dda63f1fbf1cf140875b36df"
}
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