webrtc-adapter
Advanced tools
Comparing version 7.2.5 to 7.2.6
@@ -283,6 +283,3 @@ /* | ||
// Add event.transceiver member over deprecated event.receiver | ||
if ((typeof window === 'undefined' ? 'undefined' : _typeof(window)) === 'object' && window.RTCPeerConnection && 'receiver' in window.RTCTrackEvent.prototype && | ||
// can't check 'transceiver' in window.RTCTrackEvent.prototype, as it is | ||
// defined for some reason even when window.RTCTransceiver is not. | ||
!window.RTCTransceiver) { | ||
if ((typeof window === 'undefined' ? 'undefined' : _typeof(window)) === 'object' && window.RTCTrackEvent && 'receiver' in window.RTCTrackEvent.prototype && !('transceiver' in window.RTCTrackEvent.prototype)) { | ||
Object.defineProperty(window.RTCTrackEvent.prototype, 'transceiver', { | ||
@@ -289,0 +286,0 @@ get: function get() { |
{ | ||
"name": "webrtc-adapter", | ||
"version": "7.2.5", | ||
"version": "7.2.6", | ||
"description": "A shim to insulate apps from WebRTC spec changes and browser prefix differences", | ||
@@ -5,0 +5,0 @@ "license": "BSD-3-Clause", |
@@ -270,7 +270,5 @@ /* | ||
// Add event.transceiver member over deprecated event.receiver | ||
if (typeof window === 'object' && window.RTCPeerConnection && | ||
('receiver' in window.RTCTrackEvent.prototype) && | ||
// can't check 'transceiver' in window.RTCTrackEvent.prototype, as it is | ||
// defined for some reason even when window.RTCTransceiver is not. | ||
!window.RTCTransceiver) { | ||
if (typeof window === 'object' && window.RTCTrackEvent && | ||
'receiver' in window.RTCTrackEvent.prototype && | ||
!('transceiver' in window.RTCTrackEvent.prototype)) { | ||
Object.defineProperty(window.RTCTrackEvent.prototype, 'transceiver', { | ||
@@ -277,0 +275,0 @@ get() { |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 9 instances in 1 package
9
1195227
47
20605