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 1.0.2 to 1.0.3

2

CHANGELOG.md

@@ -16,2 +16,4 @@ ## v1.0.0 - 5/8/2014

* Further streamlined management of state across multiple cservice instances
* Allow numeric accessKey's
* Fix crash if no command provided in REST call

@@ -18,0 +20,0 @@

2

lib/http-server.js

@@ -91,3 +91,3 @@ var cservice = require("../cluster-service"),

if (!cservice.locals.events[args[0]]) {
cservice.error("Command " + args[0].cyan + " not found".error);
cservice.error("Command " + (args[0] + "").cyan + " not found".error);
res.writeHead(404);

@@ -94,0 +94,0 @@ res.end("Not found. Try /help");

@@ -139,3 +139,3 @@ /* jshint loopfunc:true */

function startListener(options, cb) {
if (typeof options.accessKey !== "string") { // in-proc mode only
if (typeof options.accessKey === "undefined") { // in-proc mode only
cservice.log(

@@ -152,2 +152,3 @@ [

} else {
options.accessKey = options.accessKey.toString();
require("./control").setAccessKey(options.accessKey);

@@ -154,0 +155,0 @@ }

{
"name": "cluster-service",
"version": "1.0.2",
"version": "1.0.3",
"author": {

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

@@ -25,2 +25,5 @@ # cluster-service

Video:
http://x.co/bpnodevid

@@ -27,0 +30,0 @@

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