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

gl-util

Package Overview
Dependencies
Maintainers
2
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gl-util - npm Package Compare versions

Comparing version 3.1.2 to 3.1.3

0

.eslintrc.json

@@ -0,0 +0,0 @@ {

14

context.js

@@ -74,12 +74,8 @@ /** @module gl-util/context */

if (!o.gl) {
try {
o.gl = o.canvas.getContext('webgl', o.attrs)
} catch (e) {
['webgl', 'experimental-webgl', 'webgl-experimental'].some(function (c) {
try {
o.gl = o.canvas.getContext('experimental-webgl', o.attrs)
}
catch (e) {
o.gl = o.canvas.getContext('webgl-experimental', o.attrs)
}
}
o.gl = o.canvas.getContext(c, o.attrs);
} catch (e) { /* no-op */ }
return o.gl;
});
}

@@ -86,0 +82,0 @@

{
"name": "gl-util",
"version": "3.1.2",
"version": "3.1.3",
"description": "Set of practical webgl utils",

@@ -5,0 +5,0 @@ "main": "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