Socket
Socket
Sign inDemoInstall

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 1.5.2 to 1.5.4

2

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

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

@@ -51,3 +51,3 @@ /* eslint-env node */

foundation: parts[0],
component: parseInt(parts[1], 10),
component: parts[1],
protocol: parts[2].toLowerCase(),

@@ -491,3 +491,3 @@ priority: parseInt(parts[3], 10),

// parses either a=msid: or a=ssrc:... msid lines an returns
// parses either a=msid: or a=ssrc:... msid lines and returns
// the id of the MediaStream and MediaStreamTrack.

@@ -494,0 +494,0 @@ SDPUtils.parseMsid = function(mediaSection) {

@@ -284,3 +284,3 @@ /* jshint node: true */

t.ok(candidate.foundation === '702786350', 'parsed foundation');
t.ok(candidate.component === 2, 'parsed component');
t.ok(candidate.component === '2', 'parsed component');
t.ok(candidate.priority === 41819902, 'parsed priority');

@@ -287,0 +287,0 @@ t.ok(candidate.ip === '8.8.8.8', 'parsed ip');

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