sdp
Advanced tools
Comparing version 1.5.1 to 1.5.2
{ | ||
"name": "sdp", | ||
"version": "1.5.1", | ||
"version": "1.5.2", | ||
"description": "SDP parsing and serialization utilities", | ||
@@ -5,0 +5,0 @@ "main": "sdp.js", |
@@ -51,3 +51,3 @@ /* eslint-env node */ | ||
foundation: parts[0], | ||
component: parts[1], | ||
component: parseInt(parts[1], 10), | ||
protocol: parts[2].toLowerCase(), | ||
@@ -54,0 +54,0 @@ priority: parseInt(parts[3], 10), |
@@ -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'); |
33790