Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/pino

Package Overview
Dependencies
Maintainers
1
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/pino - npm Package Compare versions

Comparing version 3.0.3 to 3.0.4

20

pino v3.0/index.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc