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

@luma.gl/webgl2-polyfill

Package Overview
Dependencies
Maintainers
7
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@luma.gl/webgl2-polyfill - npm Package Compare versions

Comparing version 7.3.0-alpha.7 to 7.3.0-alpha.8

24

dist/es6/polyfill-context.js

@@ -30,7 +30,6 @@ import assert from './assert';

function installOverrides(gl, _ref) {
let {
target,
target2
} = _ref;
function installOverrides(gl, {
target,
target2
}) {
Object.keys(WEBGL2_CONTEXT_OVERRIDES).forEach(key => {

@@ -58,8 +57,7 @@ if (typeof WEBGL2_CONTEXT_OVERRIDES[key] === 'function') {

function polyfillExtension(gl, _ref2) {
let {
extension,
target,
target2
} = _ref2;
function polyfillExtension(gl, {
extension,
target,
target2
}) {
const defaults = WEBGL2_CONTEXT_POLYFILLS[extension];

@@ -80,5 +78,3 @@ assert(defaults);

if (key === 'meta') {} else if (typeof gl[key] === 'function') {} else if (ext && typeof ext[extKey] === 'function') {
polyfill = function polyfill() {
return ext[extKey](...arguments);
};
polyfill = (...args) => ext[extKey](...args);
} else if (typeof defaults[key] === 'function') {

@@ -85,0 +81,0 @@ polyfill = defaults[key].bind(target);

{
"name": "@luma.gl/webgl2-polyfill",
"version": "7.3.0-alpha.7",
"version": "7.3.0-alpha.8",
"description": "WebGL2 API Polyfills for WebGL1 WebGLRenderingContext",

@@ -29,5 +29,5 @@ "license": "MIT",

"@babel/runtime": "^7.0.0",
"@luma.gl/constants": "7.3.0-alpha.7"
"@luma.gl/constants": "7.3.0-alpha.8"
},
"gitHead": "617b66df549e06e52105ceabfa9d135d5feccdcf"
"gitHead": "24536152b5552e7c7b57a35464deb5164200d090"
}

Sorry, the diff of this file is not supported yet

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