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

webrtcsupport

Package Overview
Dependencies
Maintainers
3
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webrtcsupport - npm Package Compare versions

Comparing version 0.7.1 to 0.7.2

.jshintignore

2

build.js

@@ -5,3 +5,3 @@ var bundle = require('browserify')(),

bundle.add('./webrtcsupport');
bundle.add('./index-browser');
bundle.bundle({standalone: 'webrtcsupport'}).pipe(fs.createWriteStream('webrtcsupport.bundle.js'));
{
"name": "webrtcsupport",
"version": "0.7.1",
"description": "Browser module to detect support for webrtc and extract proper constructors.",
"main": "webrtcsupport.js",
"repository": {
"type": "git",
"url": "https://github.com/HenrikJoreteg/webrtcsupport"
"version": "0.7.2",
"author": "Henrik Joreteg <henrik@andyet.net>",
"browser": "index-browser.js",
"devDependencies": {
"browserify": "2.22.0",
"precommit-hook": "0.3.x"
},

@@ -14,7 +15,8 @@ "keywords": [

],
"author": "Henrik Joreteg <henrik@andyet.net>",
"license": "MIT",
"devDependencies": {
"browserify": "2.22.0"
"main": "index-node.js",
"repository": {
"type": "git",
"url": "https://github.com/HenrikJoreteg/webrtcsupport"
}
}

@@ -7,3 +7,3 @@ (function(e){if("function"==typeof bootstrap)bootstrap("webrtcsupport",e);else if("object"==typeof exports)module.exports=e();else if("function"==typeof define&&define.amd)define(e);else if("undefined"!=typeof ses){if(!ses.ok())return;ses.makeWebrtcsupport=e}else"undefined"!=typeof window?window.webrtcsupport=e():global.webrtcsupport=e()})(function(){var define,ses,bootstrap,module,exports;

var isFirefox = false;
var ua = navigator.userAgent.toLowerCase();
var ua = window.navigator.userAgent.toLowerCase();

@@ -23,3 +23,3 @@ // basic sniffing

var MediaStream = window.webkitMediaStream || window.MediaStream;
var screenSharing = navigator.userAgent.match('Chrome') && parseInt(navigator.userAgent.match(/Chrome\/(.*) /)[1], 10) >= 26;
var screenSharing = window.navigator.userAgent.match('Chrome') && parseInt(window.navigator.userAgent.match(/Chrome\/(.*) /)[1], 10) >= 26;
var AudioContext = window.webkitAudioContext || window.AudioContext;

@@ -26,0 +26,0 @@

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