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
1
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.6.1 to 0.6.2

plugin.xml

2

bower.json
{
"name": "sip.js",
"version": "0.6.1",
"version": "0.6.2",
"authors": [

@@ -5,0 +5,0 @@ "Will Mitchell <will@onsip.com>",

@@ -122,2 +122,3 @@ /*jshint multistr:true, devel:true*/

'Call_ID',
'Content_Disposition',
'Content_Length',

@@ -124,0 +125,0 @@ 'Content_Type',

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

"description": "A simple, intuitive, and powerful JavaScript signaling library",
"version": "0.6.1",
"version": "0.6.2",
"main": "src/SIP.js",

@@ -8,0 +8,0 @@ "homepage": "http://sipjs.com",

@@ -18,3 +18,4 @@ # SIP.js

* [sipjs.com/download](http://sipjs.com/download/)
* Bower: `bower install sip.js#0.5.0+bower`
* Bower: `bower install sip.js`
* npm: `npm install sip.js`

@@ -21,0 +22,0 @@ ## Authors

@@ -149,2 +149,6 @@ /**

uri = this.scheme + ':';
// add slashes if it's not a sip(s) URI
if (!this.scheme.match("^sips?$")) {
uri += "//";
}
if (this.user) {

@@ -151,0 +155,0 @@ uri += SIP.Utils.escapeUser(this.user) + '@';

@@ -84,3 +84,3 @@ /**

if (e.candidate) {
self.logger.log('ICE candidate received: '+ e.candidate.candidate);
self.logger.log('ICE candidate received: '+ (e.candidate.candidate === null ? null : e.candidate.candidate.trim()));
} else if (self.onIceCompleted !== undefined) {

@@ -87,0 +87,0 @@ self.onIceCompleted(this);

@@ -222,2 +222,23 @@ describe('Grammar', function () {

});
describe('Content-Disposition', function () {
['session', 'render'].forEach(function (dispString) {
itHas(
SIP.Grammar.parse.bind(SIP.Grammar, dispString, 'Content_Disposition'),
'type',
dispString
);
})
});
var uuidString = "f6e15cd0-17ed-11e4-8c21-0800200c9a66";
describe('parsing a UUID', function () {
it('returns the input for correct UUIDs', function () {
expect(SIP.Grammar.parse(uuidString, 'uuid')).toEqual(uuidString);
});
it('returns -1 for incorrect UUIDs', function () {
expect(SIP.Grammar.parse("XXX bad UUID XXX", 'uuid')).toEqual(-1);
});
});
});

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

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