webrtcsupport
Advanced tools
Comparing version 0.7.1 to 0.7.2
@@ -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 @@ |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
7253
10
88
2
1