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

historical-deadletter-processor

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

historical-deadletter-processor - npm Package Compare versions

Comparing version 2.5.0 to 3.0.0

11

lib/mapper.js

@@ -24,3 +24,5 @@ "use strict";

app = _ref.app,
job = _ref.job;
job = _ref.job,
propertiesToOmit = _ref.propertiesToOmit,
clientId = _ref.clientId;

@@ -32,2 +34,4 @@ _classCallCheck(this, Mapper);

this.job = job;
this.propertiesToOmit = propertiesToOmit;
this.clientId = clientId;
}

@@ -47,4 +51,5 @@

notification: JSON.stringify(notification),
user: "" + this.sender.user(notification)
}, normalizeError(err));
user: "" + this.sender.user(notification),
clientId: this.clientId
}, normalizeError(err, this.propertiesToOmit));
}

@@ -51,0 +56,0 @@ }]);

@@ -1,2 +0,2 @@

"use strict";
'use strict';

@@ -10,4 +10,7 @@ // Generated by CoffeeScript 2.4.1

module.exports = function (err) {
var propertiesToOmit = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'auth';
return {
error: JSON.stringify(err),
error: JSON.stringify(_.omit(err, 'detail.request')),
request: JSON.stringify(_.omit(_.get(err, 'detail.request'), propertiesToOmit)),
type: _.get(err, "message") || "unknown_error"

@@ -14,0 +17,0 @@ };

{
"name": "historical-deadletter-processor",
"version": "2.5.0",
"version": "3.0.0",
"description": "historical-deadletter-processor",

@@ -5,0 +5,0 @@ "main": "index.js",

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