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

boomcatch

Package Overview
Dependencies
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

boomcatch - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

2

package.json
{
"name": "boomcatch",
"version": "1.1.0",
"version": "1.1.1",
"description": "Standalone beacon server for boomerang.",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/nature/boomcatch",

@@ -10,3 +10,3 @@ # boomcatch

* **boomcatch version**: *1.0.0*
* **boomcatch version**: *1.1.1*
* **node.js versions**: *0.8, 0.10, 0.11*

@@ -13,0 +13,0 @@

@@ -362,3 +362,3 @@ // Copyright © 2014 Nature Publishing Group

try {
var data, mappedData;
var successStatus, data, mappedData;

@@ -370,4 +370,7 @@ if (state.failed) {

if (request.method === 'GET') {
successStatus = 204;
data = qs.parse(url.parse(request.url).query);
} else {
successStatus = 200;
if (state.body.substr(0, 5) === 'data=') {

@@ -402,3 +405,3 @@ state.body = state.body.substr(5);

pass(log, response, bytesSent);
pass(log, response, successStatus, bytesSent);
});

@@ -534,8 +537,8 @@ } catch (error) {

function pass (log, response, bytes) {
function pass (log, response, status, bytes) {
log.info('sent ' + bytes + ' bytes');
response.statusCode = 204;
response.statusCode = status;
response.end();
}

Sorry, the diff of this file is too big to display

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