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.17 to 0.1.18

22

offramps/httpofframp.js

@@ -15,2 +15,3 @@ var util = require('util');

this.httpMethod = 'GET';
this.mergeResponse = false;
}

@@ -31,2 +32,7 @@

HttpScraper.prototype.MergeResponse = function() {
this.mergeResponse = true;
return this;
};
HttpOffRamp.prototype.send = function(message) {

@@ -77,5 +83,17 @@

var responseObj = JSON.parse(str);
offramp.publish(responseObj);
}
if (offramp.mergeResponse) {
for(var prop in responseObj) {
message.payload[prop] = responseObj[prop];
}
offramp.publish(message.payload);
} else {
offramp.publish(responseObj);
}
}

@@ -82,0 +100,0 @@ });

2

package.json
{ "author": "Phil Taylor"
, "name": "simpleesb"
, "description": "Provides basic ESB services to transfer data between applications."
, "version": "0.1.17"
, "version": "0.1.18"
, "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