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

cluster-service

Package Overview
Dependencies
Maintainers
1
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cluster-service - npm Package Compare versions

Comparing version 0.4.6 to 0.4.7

2

cluster-service.js

@@ -99,3 +99,3 @@ var

require("./lib/run").start(options, function(err, result) {
process.kill(process.pid, "SIGKILL"); // exit by force
process.exit(1); // graceful exit
});

@@ -102,0 +102,0 @@ } else {

@@ -111,3 +111,9 @@ var

{
var body = JSON.stringify(result);
var body = JSON.stringify(result, function (key, val) {
if (key[0] === "_") {
return undefined;
} else {
return val;
}
});
res.writeHead(200, { "Content-Type": "text/json; charset=UTF-8", "Content-Length": body.length });

@@ -114,0 +120,0 @@ res.end(body);

@@ -28,2 +28,3 @@ var

cservice.error("Error: ", err);
body = { error: err };
} else if (body) {

@@ -33,4 +34,4 @@ if (typeof body === "string" && (body.indexOf("{") === 0 || body.indexOf("[") === 0)) {

}
cservice.results(util.inspect(body, { depth: null }));
}
cservice.results(util.inspect(body, { depth: null }));

@@ -37,0 +38,0 @@ cb && cb(err, body);

{
"name": "cluster-service",
"version": "0.4.6",
"version": "0.4.7",
"author": {

@@ -5,0 +5,0 @@ "name": "Aaron Silvas",

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