@mgcrea/fastify-request-logger
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -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
23852
Updatedfastify-plugin@^4.5.0