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.3.0 to 2.4.0

2

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

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

@@ -636,3 +636,16 @@ /* eslint-env node */

SDPUtils.parseMLine = function(mediaSection) {
var lines = SDPUtils.splitLines(mediaSection);
var mline = lines[0].split(' ');
return {
kind: mline[0].substr(2),
port: parseInt(mline[1], 10),
protocol: mline[2],
fmt: mline.slice(3).join(' ')
};
};
// Expose public methods.
module.exports = SDPUtils;
if (typeof module === 'object') {
module.exports = SDPUtils;
}
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