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

sip.js

Package Overview
Dependencies
Maintainers
3
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sip.js - npm Package Compare versions

Comparing version 0.8.4 to 0.9.0

dist/sip-0.9.0.js

2

bower.json
{
"name": "sip.js",
"version": "0.8.4",
"version": "0.9.0",
"authors": [

@@ -5,0 +5,0 @@ "James Criscuolo <james@onsip.com>",

@@ -5,3 +5,3 @@ {

"description": "A simple, intuitive, and powerful JavaScript signaling library",
"version": "0.8.4",
"version": "0.9.0",
"main": "dist/sip.min.js",

@@ -8,0 +8,0 @@ "browser": {

@@ -40,3 +40,3 @@ /**

require('./ServerContext')(SIP);
require('./Session')(SIP, environment);
require('./Session')(SIP);
require('./Subscription')(SIP);

@@ -43,0 +43,0 @@ require('./UA')(SIP, environment);

@@ -240,3 +240,3 @@ "use strict";

if (this.response.getHeader('contact')) {
ruri = this.response.getHeader('contact').replace(/</g, '').replace(/>/g, '');
ruri = this.response.parseHeader('contact').uri;
} else {

@@ -243,0 +243,0 @@ ruri = this.request.ruri;

@@ -702,2 +702,18 @@ "use strict";

break;
case SIP.C.REFER:
this.logger.log('Received an out of dialog refer');
if (this.configuration.allowOutOfDialogRefers) {
this.logger.log('Allow out of dialog refers is enabled on the UA');
var referContext = new SIP.ReferServerContext(this, request);
var hasReferListener = this.listeners('outOfDialogReferRequested').length;
if (hasReferListener) {
this.emit('outOfDialogReferRequested', referContext);
} else {
this.logger.log('No outOfDialogReferRequest listeners, automatically accepting and following the out of dialog refer');
referContext.accept({followRefer: true});
}
break;
}
request.reply(405);
break;
default:

@@ -961,2 +977,4 @@ request.reply(405);

allowLegacyNotifications: false,
allowOutOfDialogRefers: false,
};

@@ -963,0 +981,0 @@

@@ -99,3 +99,5 @@ var UglifyJSPlugin = require('uglifyjs-webpack-plugin');

"WWW_Authenticate",
"challenge"
"challenge",
"sipfrag",
"Referred_By"
]

@@ -102,0 +104,0 @@ }

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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