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

simpleesb

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simpleesb - npm Package Compare versions

Comparing version 0.1.30 to 0.1.31

37

offramps/httpofframp.js

@@ -98,24 +98,33 @@ var util = require('util');

util.log(str);
if (offramp.routeResponse) {
util.log('routing response....');
var responseObj = JSON.parse(str);
if (response.statusCode == 200) {
if (offramp.mergeResponse) {
if (offramp.routeResponse) {
util.log('routing response....');
var responseObj = JSON.parse(str);
for(var prop in responseObj) {
message.payload[prop] = responseObj[prop];
}
if (offramp.mergeResponse) {
offramp.publish(message.payload);
for(var prop in responseObj) {
message.payload[prop] = responseObj[prop];
}
} else {
offramp.publish(message.payload);
offramp.publish(responseObj);
}
}
} else {
offramp.publish(responseObj);
}
}
} else {
util.log('HttpOffRamp - > problem with response ');
util.log('HttpOffRamp - > original message: ');
console.log(message);
}
});

@@ -122,0 +131,0 @@ };

{ "author": "Phil Taylor"
, "name": "simpleesb"
, "description": "Provides basic ESB services to transfer data between applications."
, "version": "0.1.30"
, "version": "0.1.31"
, "repository": {

@@ -6,0 +6,0 @@ "url": "https://bitbucket.org/phil_a_taylor/simpleesb"

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