@types/pino
Advanced tools
Comparing version 5.15.1 to 5.15.2
@@ -13,2 +13,3 @@ // Type definitions for pino 5.15 | ||
// Adam Vigneaux <https://github.com/AdamVig> | ||
// Austin Beer <https://github.com/austin-beer> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -181,2 +182,3 @@ // TypeScript Version: 2.7 | ||
type TimeFn = () => string; | ||
type MixinFn = () => object; | ||
@@ -235,2 +237,9 @@ interface DestinationStream { | ||
/** | ||
* If provided, the `mixin` function is called each time one of the active logging methods | ||
* is called. The function must synchronously return an object. The properties of the | ||
* returned object will be added to the logged JSON. | ||
*/ | ||
mixin?: MixinFn; | ||
/** | ||
* As an array, the redact option specifies paths that should have their values redacted from any log output. | ||
@@ -237,0 +246,0 @@ * |
{ | ||
"name": "@types/pino", | ||
"version": "5.15.1", | ||
"version": "5.15.2", | ||
"description": "TypeScript definitions for pino", | ||
@@ -56,2 +56,7 @@ "license": "MIT", | ||
"githubUsername": "AdamVig" | ||
}, | ||
{ | ||
"name": "Austin Beer", | ||
"url": "https://github.com/austin-beer", | ||
"githubUsername": "austin-beer" | ||
} | ||
@@ -72,4 +77,4 @@ ], | ||
}, | ||
"typesPublisherContentHash": "67e30e32c0a39ca94246e12893c08a4c8d19ad63de51efa0d88c12ff9c26bcf9", | ||
"typesPublisherContentHash": "c50082711ebdff11c86b45efbb79a20f61d32cb4f507a1df06e2abeb2f633d6a", | ||
"typeScriptVersion": "2.8" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Mon, 23 Dec 2019 16:51:04 GMT | ||
* Last updated: Wed, 15 Jan 2020 09:50:28 GMT | ||
* Dependencies: [@types/sonic-boom](https://npmjs.com/package/@types/sonic-boom), [@types/pino-std-serializers](https://npmjs.com/package/@types/pino-std-serializers), [@types/node](https://npmjs.com/package/@types/node) | ||
@@ -17,2 +17,2 @@ * Global values: none | ||
# Credits | ||
These definitions were written by Peter Snider (https://github.com/psnider), BendingBender (https://github.com/BendingBender), Christian Rackerseder (https://github.com/screendriver), GP (https://github.com/paambaati), Alex Ferrando (https://github.com/alferpal), Oleksandr Sidko (https://github.com/mortiy), Harris Lummis (https://github.com/lummish), Raoul Jaeckel (https://github.com/raoulus), Cory Donkin (https://github.com/Cooryd), and Adam Vigneaux (https://github.com/AdamVig). | ||
These definitions were written by Peter Snider (https://github.com/psnider), BendingBender (https://github.com/BendingBender), Christian Rackerseder (https://github.com/screendriver), GP (https://github.com/paambaati), Alex Ferrando (https://github.com/alferpal), Oleksandr Sidko (https://github.com/mortiy), Harris Lummis (https://github.com/lummish), Raoul Jaeckel (https://github.com/raoulus), Cory Donkin (https://github.com/Cooryd), Adam Vigneaux (https://github.com/AdamVig), and Austin Beer (https://github.com/austin-beer). |
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
35327
659