New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ogl

Package Overview
Dependencies
Maintainers
1
Versions
127
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ogl - npm Package Compare versions

Comparing version 0.0.80 to 0.0.81

2

package.json
{
"name": "ogl",
"version": "0.0.80",
"version": "0.0.81",
"description": "WebGL Library",

@@ -5,0 +5,0 @@ "main": "src/index.mjs",

@@ -14,5 +14,6 @@ let supportedFormat;

const gl = document.createElement('canvas').getContext('webgl');
if (!!gl.getExtension('WEBGL_compressed_texture_etc')) {
/* if (!!gl.getExtension('WEBGL_compressed_texture_etc')) {
return 'etc2';
} else if (!!gl.getExtension('WEBGL_compressed_texture_astc')) {
} else */
if (!!gl.getExtension('WEBGL_compressed_texture_astc')) {
return 'astc';

@@ -19,0 +20,0 @@ } else if (!!gl.getExtension('EXT_texture_compression_bptc')) {

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