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

rtcpeerconnection

Package Overview
Dependencies
Maintainers
5
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rtcpeerconnection - npm Package Compare versions

Comparing version 5.2.0 to 5.2.1

5

package.json
{
"name": "rtcpeerconnection",
"version": "5.2.0",
"version": "5.2.1",
"description": "A tiny browser module that normalizes and simplifies the API for WebRTC peer connections.",

@@ -19,5 +19,6 @@ "main": "rtcpeerconnection.js",

"dependencies": {
"lodash.clonedeep": "^4.3.2",
"sdp-jingle-json": "^3.0.0",
"traceablepeerconnection": "^1.1.6",
"webrtc-adapter": "^1.0",
"webrtc-adapter": "^2.0.2",
"wildemitter": "1.x"

@@ -24,0 +25,0 @@ },

11

rtcpeerconnection.js

@@ -6,2 +6,3 @@ var util = require('util');

var adapter = require('webrtc-adapter');
var cloneDeep = require('lodash.clonedeep');

@@ -664,4 +665,5 @@ function PeerConnection(config, constraints) {

// not safe to do when doing simulcast mangling
self.emit('answer', expandedAnswer);
cb(null, expandedAnswer);
var copy = cloneDeep(expandedAnswer);
self.emit('answer', copy);
cb(null, copy);
}

@@ -712,4 +714,5 @@ self._candidateBuffer = [];

if (!self.assumeSetLocalSuccess) {
self.emit('answer', expandedAnswer);
cb(null, expandedAnswer);
var copy = cloneDeep(expandedAnswer);
self.emit('answer', copy);
cb(null, copy);
}

@@ -716,0 +719,0 @@ },

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