🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
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

to
0.5.5

16

lib/ua.js

@@ -59,3 +59,8 @@ const debug = require('debug') ('sipware:ua')

if(ret) {
return ret.split(';');
var idx = ret.indexOf(';');
if(idx > 0) {
return [ret.slice(0, idx), ret.slice(idx + 1)]
}
return [ret];
}

@@ -68,4 +73,11 @@ return [];

if(via[0]) return via[0].split(';')
if(via[0]) {
var idx = via[0].indexOf(';');
if(idx > 0) {
return [via[0].slice(0, idx), via[0].slice(idx + 1)]
}
return [via[0]];
}
return [];

@@ -72,0 +84,0 @@ }

2

package.json

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

"optionalDependencies": {},
"version": "0.5.4",
"version": "0.5.5",
"directories": {

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