@types/pino-http
Advanced tools
Comparing version 4.3.1 to 4.3.2
@@ -5,2 +5,3 @@ // Type definitions for pino-http 4.3 | ||
// Jeremy Forsythe <https://github.com/jdforsythe> | ||
// Griffin Yourick <https://github.com/tough-griff> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -19,2 +20,3 @@ // TypeScript Version: 2.7 | ||
type HttpLogger = (req: IncomingMessage, res: ServerResponse) => void; | ||
type ReqId = number | string | object; | ||
@@ -36,3 +38,3 @@ /** | ||
interface GenReqId { | ||
(req: IncomingMessage): number | string | object; | ||
(req: IncomingMessage): ReqId; | ||
} | ||
@@ -43,2 +45,3 @@ } | ||
interface IncomingMessage { | ||
id: PinoHttp.ReqId; | ||
log: Logger; | ||
@@ -45,0 +48,0 @@ } |
{ | ||
"name": "@types/pino-http", | ||
"version": "4.3.1", | ||
"version": "4.3.2", | ||
"description": "TypeScript definitions for pino-http", | ||
@@ -16,2 +16,7 @@ "license": "MIT", | ||
"githubUsername": "jdforsythe" | ||
}, | ||
{ | ||
"name": "Griffin Yourick", | ||
"url": "https://github.com/tough-griff", | ||
"githubUsername": "tough-griff" | ||
} | ||
@@ -30,4 +35,4 @@ ], | ||
}, | ||
"typesPublisherContentHash": "79cae28be23f846a918301401d6ec031185b00c4dc66fdbb0a09c63a5a6e98b9", | ||
"typesPublisherContentHash": "f15c1f381e4925001e404779f1bc8b8b10c0467eeb5c3fdeff0c1411e9fdc6e8", | ||
"typeScriptVersion": "2.7" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Tue, 24 Sep 2019 18:29:24 GMT | ||
* Last updated: Thu, 03 Oct 2019 22:39:48 GMT | ||
* Dependencies: @types/pino | ||
@@ -17,2 +17,2 @@ * Global values: none | ||
# Credits | ||
These definitions were written by Christian Rackerseder <https://github.com/screendriver>, and Jeremy Forsythe <https://github.com/jdforsythe>. | ||
These definitions were written by Christian Rackerseder <https://github.com/screendriver>, Jeremy Forsythe <https://github.com/jdforsythe>, and Griffin Yourick <https://github.com/tough-griff>. |
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
4362
41