Socket
Socket
Sign inDemoInstall

webrtc-adapter

Package Overview
Dependencies
Maintainers
4
Versions
120
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webrtc-adapter - npm Package Compare versions

Comparing version 7.2.6 to 7.2.7

5

dist/safari/safari_shim.js

@@ -64,3 +64,4 @@ /*

window.RTCPeerConnection.prototype.addTrack = function addTrack(track, stream) {
window.RTCPeerConnection.prototype.addTrack = function addTrack(track) {
var stream = arguments[1];
if (stream) {

@@ -73,3 +74,3 @@ if (!this._localStreams) {

}
return _addTrack.call(this, track, stream);
return _addTrack.call(this, arguments);
};

@@ -76,0 +77,0 @@ }

2

package.json
{
"name": "webrtc-adapter",
"version": "7.2.6",
"version": "7.2.7",
"description": "A shim to insulate apps from WebRTC spec changes and browser prefix differences",

@@ -5,0 +5,0 @@ "license": "BSD-3-Clause",

@@ -42,3 +42,4 @@ /*

window.RTCPeerConnection.prototype.addTrack =
function addTrack(track, stream) {
function addTrack(track) {
const stream = arguments[1];
if (stream) {

@@ -51,3 +52,3 @@ if (!this._localStreams) {

}
return _addTrack.call(this, track, stream);
return _addTrack.call(this, arguments);
};

@@ -54,0 +55,0 @@ }

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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