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

gl-util

Package Overview
Dependencies
Maintainers
1
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 1.0.9 to 1.0.10

6

attribute.js

@@ -7,5 +7,6 @@ 'use strict'

const _WeakMap = require('is-firefox') ? Map : WeakMap;
let attributesCache = setAttribute.cache = new WeakMap();
let attributesIdx = new WeakMap();
let attributesCache = setAttribute.cache = new _WeakMap();
let attributesIdx = new _WeakMap();

@@ -33,3 +34,2 @@ module.exports = setAttribute;

let attributes = attributesCache.has(program) ? attributesCache.get(program) : attributesCache.set(program, {}).get(program);

@@ -36,0 +36,0 @@

{
"name": "gl-util",
"version": "1.0.9",
"version": "1.0.10",
"description": "Set of practical webgl utils",

@@ -26,5 +26,7 @@ "main": "index.js",

"is-browser": "^2.0.1",
"is-firefox": "^1.0.3",
"is-plain-obj": "^1.1.0",
"number-is-integer": "^1.0.1",
"object-assign": "^4.1.0"
"object-assign": "^4.1.0",
"weakmap-shim": "^1.1.0"
},

@@ -31,0 +33,0 @@ "devDependencies": {

@@ -7,6 +7,8 @@ 'use strict'

let texturesCache = setTexture.cache = new WeakMap();
let texturesIdx = new WeakMap();
const _WeakMap = require('is-firefox') ? Map : WeakMap;
let texturesCache = setTexture.cache = new _WeakMap();
let texturesIdx = new _WeakMap();
module.exports = setTexture;

@@ -61,3 +63,3 @@

if (texture.locations == null) {
texture.locations = new WeakMap();
texture.locations = new _WeakMap();
}

@@ -64,0 +66,0 @@ if (!texture.locations.has(program)) {

@@ -10,4 +10,6 @@ /* @module gl-util/unifrom */

let uniformsCache = setUniform.cache = new WeakMap();
const _WeakMap = require('is-firefox') ? Map : WeakMap;
let uniformsCache = setUniform.cache = new _WeakMap();
module.exports = setUniform;

@@ -14,0 +16,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