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

webrtcsupport

Package Overview
Dependencies
Maintainers
4
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 2.1.0 to 2.1.1

2

index-browser.js

@@ -10,3 +10,3 @@ // created by @HenrikJoreteg

prefix = 'webkit';
version = parseInt(navigator.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./)[2], 10);
version = navіgator.userAgent.match(/Chrom(e|ium)/) && parseInt(navigator.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./)[2], 10);
}

@@ -13,0 +13,0 @@

{
"name": "webrtcsupport",
"description": "Browser module to detect support for webrtc and extract proper constructors.",
"version": "2.1.0",
"version": "2.1.1",
"author": "Henrik Joreteg <henrik@andyet.net>",

@@ -6,0 +6,0 @@ "browser": "index-browser.js",

@@ -9,4 +9,2 @@ # webrtcsupport

If you're not using browserify or you want AMD support use `webrtcsupport.bundle.js`.
This tiny module is used by [SimpleWebRTC](https://simplewebrtc.com), but obviously can be used by itself.

@@ -13,0 +11,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