Socket
Socket
Sign inDemoInstall

@luma.gl/engine

Package Overview
Dependencies
Maintainers
8
Versions
173
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@luma.gl/engine - npm Package Compare versions

Comparing version 8.1.1 to 8.1.2

8

dist/es5/lib/animation-loop.js

@@ -45,2 +45,3 @@ "use strict";

onFinalize = _props$onFinalize === void 0 ? function () {} : _props$onFinalize,
onError = props.onError,
_props$gl = props.gl,

@@ -75,2 +76,3 @@ gl = _props$gl === void 0 ? null : _props$gl,

onFinalize: onFinalize,
onError: onError,
gl: gl,

@@ -150,3 +152,3 @@ glOptions: glOptions,

this._getPageLoadPromise().then(function () {
var startPromise = this._getPageLoadPromise().then(function () {
if (!_this._running || _this._initialized) {

@@ -183,2 +185,6 @@ return null;

if (this.props.onError) {
startPromise["catch"](this.props.onError);
}
return this;

@@ -185,0 +191,0 @@ }

@@ -14,2 +14,3 @@ import { isWebGL, createGLContext, instrumentGLContext, resizeGLContext, resetParameters } from '@luma.gl/gltools';

onFinalize = () => {},
onError,
gl = null,

@@ -38,2 +39,3 @@ glOptions = {},

onFinalize,
onError,
gl,

@@ -104,3 +106,3 @@ glOptions,

this._getPageLoadPromise().then(() => {
const startPromise = this._getPageLoadPromise().then(() => {
if (!this._running || this._initialized) {

@@ -137,2 +139,6 @@ return null;

if (this.props.onError) {
startPromise.catch(this.props.onError);
}
return this;

@@ -139,0 +145,0 @@ }

@@ -30,2 +30,3 @@ import _typeof from "@babel/runtime/helpers/esm/typeof";

onFinalize = _props$onFinalize === void 0 ? function () {} : _props$onFinalize,
onError = props.onError,
_props$gl = props.gl,

@@ -59,2 +60,3 @@ gl = _props$gl === void 0 ? null : _props$gl,

onFinalize: onFinalize,
onError: onError,
gl: gl,

@@ -134,3 +136,3 @@ glOptions: glOptions,

this._getPageLoadPromise().then(function () {
var startPromise = this._getPageLoadPromise().then(function () {
if (!_this._running || _this._initialized) {

@@ -167,2 +169,6 @@ return null;

if (this.props.onError) {
startPromise["catch"](this.props.onError);
}
return this;

@@ -169,0 +175,0 @@ }

14

package.json
{
"name": "@luma.gl/engine",
"version": "8.1.1",
"version": "8.1.2",
"description": "WebGL2 Components for High Performance Rendering and Computation",

@@ -11,3 +11,3 @@ "license": "MIT",

"type": "git",
"url": "https://github.com/uber/luma.gl"
"url": "https://github.com/visgl/luma.gl"
},

@@ -35,10 +35,10 @@ "keywords": [

"@babel/runtime": "^7.0.0",
"@luma.gl/constants": "8.1.1",
"@luma.gl/gltools": "8.1.1",
"@luma.gl/shadertools": "8.1.1",
"@luma.gl/webgl": "8.1.1",
"@luma.gl/constants": "8.1.2",
"@luma.gl/gltools": "8.1.2",
"@luma.gl/shadertools": "8.1.2",
"@luma.gl/webgl": "8.1.2",
"math.gl": "^3.1.3",
"probe.gl": "^3.2.1"
},
"gitHead": "4400f4aee7f8ea408f6952c01dc580973f4a821e"
"gitHead": "3a8b3f262b401068dad3cb0f91305d4ee93aeec8"
}

@@ -36,2 +36,3 @@ /* global window, OffscreenCanvas */

onFinalize = () => {},
onError,

@@ -63,2 +64,3 @@ gl = null,

onFinalize,
onError,

@@ -136,3 +138,3 @@ gl,

// Wait for start promise before rendering frame
this._getPageLoadPromise()
const startPromise = this._getPageLoadPromise()
.then(() => {

@@ -171,2 +173,7 @@ if (!this._running || this._initialized) {

});
if (this.props.onError) {
startPromise.catch(this.props.onError);
}
return this;

@@ -173,0 +180,0 @@ }

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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