Huge News!Announcing our $40M Series B led by Abstract Ventures.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.0 to 0.5.2

12

lib/headers.js

@@ -215,8 +215,12 @@ const debug = require('debug') ('sipware:headers')

if(via && via[0]) {
var users = via[0].split(';') [1]
var idx = via[0].indexOf(';');
if(users) {
users = users.trim();
if(idx > 0) {
var [session, users] = [via[0].slice(0, idx), via[0].slice(idx + 1)];
if(users !== '*') return users;
if(users && users.length) {
users = users.trim();
if(users !== '*') return users;
}
}

@@ -223,0 +227,0 @@ }

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

"optionalDependencies": {},
"version": "0.5.0",
"version": "0.5.2",
"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