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

exocom-dev

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

exocom-dev - npm Package Compare versions

Comparing version 0.15.1 to 0.15.2

8

dist/cli.js
// Generated by LiveScript 1.5.0
var ref$, cyan, dim, green, red, magenta, docopt, N, name, version, path, ExoCom, doc, onWebsocketBound, onHttpBound, onError, run, options;
ref$ = require('chalk'), cyan = ref$.cyan, dim = ref$.dim, green = ref$.green, red = ref$.red, magenta = ref$.magenta;
var ref$, cyan, dim, green, red, magenta, yellow, docopt, N, name, version, path, ExoCom, doc, onWebsocketBound, onHttpBound, onError, onWarn, run, options;
ref$ = require('chalk'), cyan = ref$.cyan, dim = ref$.dim, green = ref$.green, red = ref$.red, magenta = ref$.magenta, yellow = ref$.yellow;
docopt = require('docopt').docopt;

@@ -24,2 +24,5 @@ N = require('nitroglycerin');

};
onWarn = function(warning){
return console.log(yellow("Warning: " + warning));
};
run = function(){

@@ -33,2 +36,3 @@ var x$, exocom;

x$.on('error', onError);
x$.on('warn', onWarn);
x$.listen(+process.env.PORT || 3100);

@@ -35,0 +39,0 @@ x$.on('routing-setup', function(){

@@ -78,6 +78,5 @@ // Generated by LiveScript 1.5.0

switch (false) {
case !!this.routes[messageName]:
throw new Error("No receivers for message '" + messageName + "' registered");
case !this.routes[messageName]:
return this.routes[messageName].receivers;
}
return this.routes[messageName].receivers;
};

@@ -84,0 +83,0 @@ ClientRegistry.prototype.canSend = function(sender, message){

@@ -37,3 +37,3 @@ // Generated by LiveScript 1.5.0

});
delegateEvent('websocket-bound', 'error', {
delegateEvent('websocket-bound', 'error', 'warn', {
from: this.websocket,

@@ -85,2 +85,5 @@ to: this

subscribers = this.clientRegistry.subscribersTo(externalMessageName);
if (!subscribers) {
return 'no receivers';
}
res$ = [];

@@ -87,0 +90,0 @@ for (i$ = 0, len$ = subscribers.length; i$ < len$; ++i$) {

@@ -94,2 +94,4 @@ // Generated by LiveScript 1.5.0

break;
case 'no receivers':
return this.emit('warn', "No receivers for message '" + data.name + "' registered");
case 'missing request id':

@@ -96,0 +98,0 @@ return this.emit('error', 'missing request id');

{
"name": "exocom-dev",
"version": "0.15.1",
"version": "0.15.2",
"author": "Kevin Goslar",

@@ -8,3 +8,3 @@ "dependencies": {

"chalk": "1.1.3",
"debug": "2.3.2",
"debug": "2.3.3",
"docopt": "0.6.2",

@@ -23,12 +23,12 @@ "express": "4.14.0",

"devDependencies": {
"async": "2.1.2",
"async": "2.1.4",
"chai": "3.5.0",
"cucumber": "1.3.1",
"cucumber-snippets-livescript": "1.0.1",
"dependency-lint": "4.2.0",
"dependency-lint": "4.3.0",
"dim-console": "0.4.4",
"exosphere-shared": "0.8.17",
"exosphere-shared": "0.9.4",
"jsdiff-console": "2.2.1",
"livescript": "1.5.0",
"mocha": "3.1.2",
"mocha": "3.2.0",
"mocha-circleci-reporter": "0.0.2",

@@ -41,3 +41,3 @@ "o-tools": "0.7.0",

"record-http": "0.6.1",
"request": "2.78.0"
"request": "2.79.0"
},

@@ -44,0 +44,0 @@ "engines": {

@@ -6,4 +6,5 @@ # Exosphere Communication Server

[![devDependency Status](https://david-dm.org/originate/exocom-dev/dev-status.svg)](https://david-dm.org/originate/exocom-dev#info=devDependencies)
[![yarn compatibility](https://img.shields.io/badge/yarn-compatible-brightgreen.svg)](https://yarnpkg.com)
This is a lightweight, fast, in-memory implementation of the **Exo**sphere **Com**munication infrastructure,
This is a lightweight, fast, in-memory implementation of the **Exo**sphere **Com**munication infrastructure for AI-native applications,
optimized for running easily without dependencies,

@@ -10,0 +11,0 @@ for example on developer machines,

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