Socket
Socket
Sign inDemoInstall

fastify-graylog-reporter

Package Overview
Dependencies
Maintainers
2
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fastify-graylog-reporter - npm Package Compare versions

Comparing version 1.13.0 to 1.13.1

6

CHANGELOG.md

@@ -1,6 +0,6 @@

# [1.13.0](https://github.com/Blynskyniki/fastify-graylog-reporter/compare/v1.12.0...v1.13.0) (2023-10-13)
## [1.13.1](https://github.com/Blynskyniki/fastify-graylog-reporter/compare/v1.13.0...v1.13.1) (2023-11-21)
### Features
### Bug Fixes
* update description ([18e5355](https://github.com/Blynskyniki/fastify-graylog-reporter/commit/18e5355397d81bb012a829289d50df3243e4c491))
* return payload in async on Send Hook ([16471de](https://github.com/Blynskyniki/fastify-graylog-reporter/commit/16471de3c3e76dae93577c29a272b872be6e0161))

@@ -11,3 +11,3 @@ "use strict";

const instance = new Gelf_1.GrayLogGelfReporter(options);
fastify.addHook('onSend', async (request, reply, response) => {
fastify.addHook('onSend', async (request, reply, payload) => {
var _a, _b;

@@ -26,3 +26,3 @@ const { query, params, body, headers, routerMethod, routerPath, credentials } = request;

body,
response,
response: payload,
credentials,

@@ -42,3 +42,7 @@ responseStatusCode: reply.statusCode,

console.error(err);
console.error(err.stack);
}
finally {
return payload;
}
});

@@ -45,0 +49,0 @@ done();

{
"name": "fastify-graylog-reporter",
"version": "1.13.0",
"version": "1.13.1",
"description": "Fastify plugin for report request data to Graylog",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/Blynskyniki/fastify-graylog-reporter#readme",

Sorry, the diff of this file is not supported yet

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