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

@types/koa-pino-logger

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/koa-pino-logger - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

9

koa-pino-logger/package.json
{
"name": "@types/koa-pino-logger",
"version": "3.0.0",
"version": "3.0.1",
"description": "TypeScript definitions for koa-pino-logger",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/koa-pino-logger",
"license": "MIT",

@@ -28,7 +29,7 @@ "contributors": [

"@types/koa": "*",
"@types/pino": "*",
"@types/pino": "6.3",
"@types/pino-http": "*"
},
"typesPublisherContentHash": "7c25a136749130bb665a6e6d2f8128c117b1e7e9314637f5f7169e75d55bd8c8",
"typeScriptVersion": "3.2"
"typesPublisherContentHash": "cb92202bbc896b6177bff60ac430aa056d7e5a6c18d567c7f6d40b55aaee1389",
"typeScriptVersion": "3.7"
}

@@ -9,5 +9,37 @@ # Installation

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/koa-pino-logger.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/koa-pino-logger/index.d.ts)
````ts
// Type definitions for koa-pino-logger 3.0
// Project: https://github.com/pinojs/koa-pino-logger, https://github.com/davidmarkclements/koa-pino-logger
// Definitions by: Cameron Yan <https://github.com/khell>
// Jeremy Hull <https://github.com/sourrust>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.7
import { Middleware as BaseMiddleware } from 'koa';
import { DestinationStream, Logger } from 'pino';
import { Options } from 'pino-http';
export = logger;
interface Middleware extends BaseMiddleware {
logger: Logger;
}
declare function logger(
opts?: Options,
stream?: DestinationStream
): Middleware;
declare function logger(stream?: DestinationStream): Middleware;
declare module 'koa' {
interface ExtendableContext {
log: Logger;
}
}
````
### Additional Details
* Last updated: Thu, 15 Oct 2020 14:45:57 GMT
* Last updated: Sat, 13 Nov 2021 16:31:25 GMT
* Dependencies: [@types/koa](https://npmjs.com/package/@types/koa), [@types/pino](https://npmjs.com/package/@types/pino), [@types/pino-http](https://npmjs.com/package/@types/pino-http)

@@ -14,0 +46,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