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 6.3.5 to 6.3.6

15

pino/index.d.ts

@@ -542,2 +542,4 @@ // Type definitions for pino 6.3

type MessageFormatFunc = (log: LogDescriptor, messageKey: string, levelLabel: string) => string;
interface PrettyOptions {

@@ -565,4 +567,15 @@ /**

* Format output of message, e.g. {level} - {pid} will output message: INFO - 1123 Default: `false`.
*
* @example
* ```typescript
* {
* messageFormat: (log, messageKey) => {
* const message = log[messageKey];
* if (log.requestId) return `[${log.requestId}] ${message}`;
* return message;
* }
* }
* ```
*/
messageFormat?: false | string;
messageFormat?: false | string | MessageFormatFunc;
/**

@@ -569,0 +582,0 @@ * If set to true, will add color information to the formatted output message. Default: `false`.

6

pino/package.json
{
"name": "@types/pino",
"version": "6.3.5",
"version": "6.3.6",
"description": "TypeScript definitions for pino",

@@ -81,4 +81,4 @@ "license": "MIT",

},
"typesPublisherContentHash": "3dc76939f0b62fba20e289e056da66c4e494c53a1f1427a8b428073b5989af23",
"typeScriptVersion": "3.3"
"typesPublisherContentHash": "85839c5eb4a9e7c41f247bb6efeb873f487c9d651a40932aefb143f2026dc75f",
"typeScriptVersion": "3.4"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Fri, 08 Jan 2021 04:47:07 GMT
* Last updated: Thu, 18 Feb 2021 20:46:04 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)

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