New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

sipware

Package Overview
Dependencies
Maintainers
1
Versions
263
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sipware - npm Package Compare versions

Comparing version 0.5.7 to 0.5.8

25

lib/router.js

@@ -20,3 +20,11 @@ const debug = require('debug') ('sipware:router')

// relaying
// incoming
this.$ins = [];
this.ins = this.createChain([() => {}]);
// outgoing
this.$outs = [];
this.outs = this.createChain([() => {}]);
// relay
this.$relays = [];

@@ -141,3 +149,16 @@ this.relays = this.createChain([() => {}]);

// relay is separate chain
in(ins) {
var chain = this.$ins;
this.$ins.push(ins.bind(this));
this.ins = this.createChain(chain);
}
out(out) {
var chain = this.$outs;
this.$outs.push(out.bind(this));
this.outs = this.createChain(chain);
}
relay(relay) {

@@ -144,0 +165,0 @@ var chain = this.$relays;

2

package.json

@@ -67,3 +67,3 @@ {

"optionalDependencies": {},
"version": "0.5.7",
"version": "0.5.8",
"directories": {

@@ -70,0 +70,0 @@ "lib": "lib"

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