Socket
Socket
Sign inDemoInstall

@mgcrea/fastify-request-logger

Package Overview
Dependencies
2
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.0 to 1.1.1

2

dist/index.js

@@ -7,3 +7,3 @@ // src/index.ts

var plugin = async (fastify, options2 = {}) => {
const supportsArt = false;
const supportsArt = color.options.supportLevel === 2;
const icons = { req: supportsArt ? "\u2190" : "<", res: supportsArt ? "\u2192" : ">" };

@@ -10,0 +10,0 @@ const {

{
"name": "@mgcrea/fastify-request-logger",
"version": "1.1.0",
"version": "1.1.1",
"description": "Compact request logger plugin for fastify written in TypeScript",

@@ -56,8 +56,8 @@ "author": "Olivier Louvignes <olivier@mgcrea.io>",

"typescript": "^4.9.4",
"vitest": "^0.27.0"
"vitest": "^0.27.1"
},
"dependencies": {
"fastify-plugin": "^4.4.0",
"fastify-plugin": "^4.5.0",
"kolorist": "^1.6.0"
}
}

@@ -31,3 +31,3 @@ # FastifyRequestLogger

- Relies on [chalk](https://github.com/chalk/chalk) for the coloring.
- Relies on [kolorist](https://github.com/marvinhagemeister/kolorist) for the coloring.

@@ -34,0 +34,0 @@ - Usually used along [@mgcrea/pino-pretty-compact](https://github.com/mgcrea/pino-pretty-compact) to prettify logs.

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc