@types/pino-http
Advanced tools
Comparing version 4.3.2 to 4.4.0
@@ -1,2 +0,2 @@ | ||
// Type definitions for pino-http 4.3 | ||
// Type definitions for pino-http 4.4 | ||
// Project: https://github.com/pinojs/pino-http#readme | ||
@@ -31,3 +31,3 @@ // Definitions by: Christian Rackerseder <https://github.com/screendriver> | ||
stream?: DestinationStream; | ||
autoLogging?: boolean; | ||
autoLogging?: boolean | autoLoggingOptions; | ||
customLogLevel?: (res: ServerResponse, error: Error) => Level; | ||
@@ -39,2 +39,6 @@ } | ||
} | ||
interface autoLoggingOptions { | ||
ignorePaths?: string[]; | ||
} | ||
} | ||
@@ -41,0 +45,0 @@ |
{ | ||
"name": "@types/pino-http", | ||
"version": "4.3.2", | ||
"version": "4.4.0", | ||
"description": "TypeScript definitions for pino-http", | ||
@@ -24,3 +24,3 @@ "license": "MIT", | ||
"main": "", | ||
"types": "index", | ||
"types": "index.d.ts", | ||
"repository": { | ||
@@ -35,4 +35,4 @@ "type": "git", | ||
}, | ||
"typesPublisherContentHash": "f15c1f381e4925001e404779f1bc8b8b10c0467eeb5c3fdeff0c1411e9fdc6e8", | ||
"typeScriptVersion": "2.7" | ||
"typesPublisherContentHash": "152eefe6fdb9d6744846dcf8d127df916e2f4d7af8b35b148d54423e39da6ebe", | ||
"typeScriptVersion": "2.8" | ||
} |
@@ -8,10 +8,10 @@ # Installation | ||
# Details | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pino-http | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pino-http. | ||
Additional Details | ||
* Last updated: Thu, 03 Oct 2019 22:39:48 GMT | ||
* Dependencies: @types/pino | ||
### Additional Details | ||
* Last updated: Fri, 20 Mar 2020 16:06:45 GMT | ||
* Dependencies: [@types/pino](https://npmjs.com/package/@types/pino) | ||
* Global values: none | ||
# Credits | ||
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>. | ||
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). |
4511
44