@types/pino
Advanced tools
Comparing version 3.0.3 to 3.0.4
@@ -15,4 +15,4 @@ // Type definitions for pino 3.0 | ||
function pretty(opts?: { | ||
timeTransOnly?: boolean; | ||
levelFirst?: boolean; | ||
timeTransOnly?: boolean | undefined; | ||
levelFirst?: boolean | undefined; | ||
formatter?(log: IPinoLog): string; | ||
@@ -52,19 +52,19 @@ }): stream.Transform; | ||
// avoid error causes by circular references in the object tree, default true | ||
safe?: boolean; | ||
safe?: boolean | undefined; | ||
// the name of the logger, default undefined | ||
name?: string; | ||
name?: string | undefined; | ||
// an object containing functions for custom serialization of objects. | ||
// These functions should return an JSONifiable object and they should never throw | ||
serializers?: Serializers; | ||
serializers?: Serializers | undefined; | ||
// Outputs ISO time stamps ('2016-03-09T15:18:53.889Z') instead of Epoch time stamps (1457536759176). | ||
// WARNING: This option carries a 25% performance drop, we recommend using default Epoch timestamps and transforming logs after if required. | ||
// The pino -t command will do this for you (see CLI). default false. | ||
slowtime?: boolean; | ||
slowtime?: boolean | undefined; | ||
// Enables extreme mode, yields an additional 60% performance (from 250ms down to 100ms per 10000 ops). | ||
// There are trade-off's should be understood before usage. See Extreme mode explained. default false | ||
extreme?: boolean; | ||
extreme?: boolean | undefined; | ||
// enables logging, defaults to true. | ||
enabled?: boolean; | ||
level?: Level | string; | ||
levelVal?: number; | ||
enabled?: boolean | undefined; | ||
level?: Level | string | undefined; | ||
levelVal?: number | undefined; | ||
} | ||
@@ -71,0 +71,0 @@ |
{ | ||
"name": "@types/pino", | ||
"version": "3.0.3", | ||
"version": "3.0.4", | ||
"description": "TypeScript definitions for pino", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pino", | ||
"license": "MIT", | ||
@@ -24,4 +25,4 @@ "contributors": [ | ||
}, | ||
"typesPublisherContentHash": "9b6d7c99025b87eaeacd9ddb5629e57aa7d61080c24bc7f60724db110b715446", | ||
"typeScriptVersion": "3.5" | ||
"typesPublisherContentHash": "0ae3230106bf394b70657f6f73f92efc860ded3d93ae4287eab1447f461705d9", | ||
"typeScriptVersion": "3.6" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Thu, 08 Apr 2021 23:01:28 GMT | ||
* Last updated: Wed, 07 Jul 2021 17:02:30 GMT | ||
* Dependencies: [@types/node](https://npmjs.com/package/@types/node) | ||
@@ -14,0 +14,0 @@ * Global values: none |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
6631
0