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

multiserver

Package Overview
Dependencies
Maintainers
19
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

multiserver - npm Package Compare versions

Comparing version 1.13.5 to 1.13.7

6

index.js

@@ -17,3 +17,3 @@ var compose = require('./compose')

client: function (addr, cb) {
var addr = split(addr).find(function (addr) {
var _addr = split(addr).find(function (addr) {
//connect with the first plug that understands this string.

@@ -25,4 +25,4 @@ plug = plugs.find(function (plug) {

})
if(plug) plug.client(addr, cb)
else cb(new Error('could not connect to one of:'+addr))
if(plug) plug.client(_addr, cb)
else cb(new Error('could not connect to:'+addr+', only know:'+this.name))
},

@@ -29,0 +29,0 @@ server: function (onConnect, onError) {

{
"name": "multiserver",
"description": "write a server which works over many protocols at once, or connect to the same",
"version": "1.13.5",
"version": "1.13.7",
"homepage": "https://github.com/dominictarr/multiserver",

@@ -6,0 +6,0 @@ "repository": {

@@ -59,2 +59,7 @@ # multiserver

### reactnative-channel
The [multiserver-rn-channel](http://npm.im/multiserver-rn-channel) module implementes
a multiserver protocol for use inbetween the reactnative nodejs process and browser process.
### shs

@@ -61,0 +66,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