New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@types/pino-http

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/pino-http - npm Package Compare versions

Comparing version 4.0.0 to 4.0.1

12

pino-http/index.d.ts

@@ -8,7 +8,8 @@ // Type definitions for pino-http 4.0

import { IncomingMessage, ServerResponse } from 'http';
import { Level, Logger, LoggerOptions } from 'pino';
import { DestinationStream, Level, Logger, LoggerOptions } from 'pino';
export = PinoHttp;
declare function PinoHttp(opts?: PinoHttp.Options): PinoHttp.HttpLogger;
declare function PinoHttp(opts?: PinoHttp.Options, stream?: DestinationStream): PinoHttp.HttpLogger;
declare function PinoHttp(stream?: DestinationStream): PinoHttp.HttpLogger;

@@ -20,5 +21,10 @@ declare namespace PinoHttp {

logger?: Logger;
genReqId?: (req: IncomingMessage) => number;
genReqId?: GenReqId;
useLevel?: Level;
stream?: DestinationStream;
}
interface GenReqId {
(req: IncomingMessage): number | string | object;
}
}

@@ -25,0 +31,0 @@

{
"name": "@types/pino-http",
"version": "4.0.0",
"version": "4.0.1",
"description": "TypeScript definitions for pino-http",

@@ -14,2 +14,3 @@ "license": "MIT",

"main": "",
"types": "index",
"repository": {

@@ -23,4 +24,4 @@ "type": "git",

},
"typesPublisherContentHash": "a5a24a4fe0c4c7c65fd9e5ef895c3c15bb8accb2e83d10c4f65fece2f6e0d89b",
"typesPublisherContentHash": "f5737c3836d32b0c208f5dd1dd22499293f7edcbc81bc77582253b7e3f7c3871",
"typeScriptVersion": "2.3"
}

@@ -5,3 +5,3 @@ # Installation

# Summary
This package contains type definitions for pino-http (https://github.com/pinojs/pino-http#readme).
This package contains type definitions for pino-http ( https://github.com/pinojs/pino-http#readme ).

@@ -12,4 +12,4 @@ # Details

Additional Details
* Last updated: Fri, 12 Oct 2018 21:27:10 GMT
* Dependencies: pino
* Last updated: Thu, 24 Jan 2019 22:51:58 GMT
* Dependencies: @types/pino
* Global values: none

@@ -16,0 +16,0 @@

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