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

webgl-raub

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webgl-raub - npm Package Compare versions

Comparing version 2.0.2 to 2.0.3

15

js/webgl.js

@@ -217,4 +217,15 @@ 'use strict';

const _shaderSource = gl.shaderSource;
gl.shaderSource = (shader, source) => _shaderSource(enforceId(shader), source);
gl._shaderSource = gl.shaderSource;
gl.shaderSource = (shaderId, code) => gl._shaderSource(
enforceId(shaderId),
code.replace(
/^\s*?(#version|precision).*?$/gm, ''
).replace(
/^/, '#version 120\n'
).replace(
/gl_FragDepthEXT/g, 'gl_FragDepth'
).replace(
'#extension GL_EXT_frag_depth : enable', ''
)
);

@@ -221,0 +232,0 @@

2

package.json
{
"author": "Luis Blanco <luisblanco1337@gmail.com>",
"name": "webgl-raub",
"version": "2.0.2",
"version": "2.0.3",
"description": "WebGL for Node.js",

@@ -6,0 +6,0 @@ "license": "MIT",

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