@types/pino-http
Advanced tools
Comparing version 4.0.3 to 4.3.0
@@ -1,4 +0,5 @@ | ||
// Type definitions for pino-http 4.0 | ||
// Type definitions for pino-http 4.3 | ||
// Project: https://github.com/pinojs/pino-http#readme | ||
// Definitions by: Christian Rackerseder <https://github.com/screendriver> | ||
// Jeremy Forsythe <https://github.com/jdforsythe> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -18,2 +19,7 @@ // TypeScript Version: 2.7 | ||
/** | ||
* Options for pino-http | ||
* | ||
* See https://github.com/pinojs/pino-http#pinohttpopts-stream | ||
*/ | ||
interface Options extends LoggerOptions { | ||
@@ -24,2 +30,3 @@ logger?: Logger; | ||
stream?: DestinationStream; | ||
autoLogging?: boolean; | ||
customLogLevel?: (res: ServerResponse, error: Error) => Level; | ||
@@ -26,0 +33,0 @@ } |
{ | ||
"name": "@types/pino-http", | ||
"version": "4.0.3", | ||
"version": "4.3.0", | ||
"description": "TypeScript definitions for pino-http", | ||
@@ -11,2 +11,7 @@ "license": "MIT", | ||
"githubUsername": "screendriver" | ||
}, | ||
{ | ||
"name": "Jeremy Forsythe", | ||
"url": "https://github.com/jdforsythe", | ||
"githubUsername": "jdforsythe" | ||
} | ||
@@ -25,4 +30,4 @@ ], | ||
}, | ||
"typesPublisherContentHash": "bf01d31a813301b65f77a2f6729210897b427f32b1f66c52136ddd21ccc41755", | ||
"typesPublisherContentHash": "33787aa7a21f259caed52b8dce87b71d7013221a542db17efe49cca57e8688df", | ||
"typeScriptVersion": "2.7" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Fri, 16 Aug 2019 18:40:34 GMT | ||
* Last updated: Fri, 30 Aug 2019 01:03:48 GMT | ||
* Dependencies: @types/pino | ||
@@ -17,2 +17,2 @@ * Global values: none | ||
# Credits | ||
These definitions were written by Christian Rackerseder <https://github.com/screendriver>. | ||
These definitions were written by Christian Rackerseder <https://github.com/screendriver>, and Jeremy Forsythe <https://github.com/jdforsythe>. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3977
35