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

detect-audio-video

Package Overview
Dependencies
Maintainers
1
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

detect-audio-video - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

28

dist/index.js

@@ -539,10 +539,10 @@ const AAC_CONTENT_TYPE = 'audio/mp4; codecs="mp4a.40.2"';

const canvas = document.createElement('canvas');
// Less detailed GPU data
// try {
// const gl = canvas.getContext('webgl');
// if (gl) {
// return gl.getParameter(gl.VENDOR);
// }
// } catch(e) {}
try {
const gl = canvas.getContext('webgl');
if (gl) {
return gl.getParameter(gl.VENDOR);
}
}
catch (e) { }
try {
const gl = canvas.getContext('webgl') || canvas.getContext('experimental-webgl');

@@ -561,10 +561,10 @@ if (gl) {

const canvas = document.createElement('canvas');
// Less detailed GPU data
// try {
// const gl = canvas.getContext('webgl');
// if (gl) {
// return gl.getParameter(gl.RENDERER);
// }
// } catch(e) {}
try {
const gl = canvas.getContext('webgl');
if (gl) {
return gl.getParameter(gl.RENDERER);
}
}
catch (e) { }
try {
const gl = canvas.getContext('webgl') || canvas.getContext('experimental-webgl');

@@ -571,0 +571,0 @@ if (gl) {

{
"name": "detect-audio-video",
"version": "1.1.1",
"version": "1.1.2",
"description": "Detect audio and video features in browser",

@@ -5,0 +5,0 @@ "module": "dist/index.js",

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