Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

sdp

Package Overview
Dependencies
Maintainers
2
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sdp - npm Package Compare versions

Comparing version 2.7.0 to 2.7.1

2

package.json
{
"name": "sdp",
"version": "2.7.0",
"version": "2.7.1",
"description": "SDP parsing and serialization utilities",

@@ -5,0 +5,0 @@ "main": "sdp.js",

@@ -112,5 +112,5 @@ /* eslint-env node */

sdp.push('raddr');
sdp.push(candidate.relatedAddress); // was: relAddr
sdp.push(candidate.relatedAddress);
sdp.push('rport');
sdp.push(candidate.relatedPort); // was: relPort
sdp.push(candidate.relatedPort);
}

@@ -208,3 +208,7 @@ if (candidate.tcpType && candidate.protocol.toLowerCase() === 'tcp') {

Object.keys(codec.parameters).forEach(function(param) {
params.push(param + '=' + codec.parameters[param]);
if (codec.parameters[param]) {
params.push(param + '=' + codec.parameters[param]);
} else {
params.push(param);
}
});

@@ -429,4 +433,3 @@ line += 'a=fmtp:' + pt + ' ' + params.join(';') + '\r\n';

.map(function(line) {
var parts = line.split(' ');
parts.shift();
var parts = line.substr(17).split(' ');
return parts.map(function(part) {

@@ -433,0 +436,0 @@ return parseInt(part, 10);

@@ -199,2 +199,7 @@ /* jshint node: true */

});
it('serializes non-key-value telephone-event', () => {
const out = SDPUtils.writeFmtp({ payloadType: 100, parameters: {'0-15': undefined }});
expect(out).to.equal('a=fmtp:100 0-15\r\n');
});
});

@@ -201,0 +206,0 @@ });

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