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

deck.gl

Package Overview
Dependencies
Maintainers
1
Versions
674
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

deck.gl - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

4

package.json
{
"name": "deck.gl",
"description": "A WebGL overlay suite consists of multiple layers",
"version": "1.0.1",
"version": "1.0.2",
"keywords": [

@@ -55,2 +55,4 @@ "webgl",

"react-redux": "^4.0.0",
"react": "^0.14.0",
"react-dom": "^0.14.0",
"redux": "^3.0.4",

@@ -57,0 +59,0 @@ "tape": "^4.0.0",

@@ -154,3 +154,3 @@ // Copyright (c) 2015 Uber Technologies, Inc.

blending: flatWorld.getBlending(),
pixelRatio: flatWorld.getPixelRatio(),
pixelRatio: flatWorld.getPixelRatio(window.devicePixelRatio),

@@ -157,0 +157,0 @@ events: {

@@ -210,3 +210,4 @@ // Copyright (c) 2015 Uber Technologies, Inc.

blending: {enable, blendFunc, blendEquation},
needRedraw, onBeforeRenderFrame, onAfterRenderFrame
needRedraw, onBeforeRenderFrame, onAfterRenderFrame,
pixelRatio
} = this.props;

@@ -226,3 +227,3 @@

// (typically changed by app on browser resize etc)
gl.viewport(x, y, width, height);
gl.viewport(x * pixelRatio, y * pixelRatio, width * pixelRatio, height * pixelRatio);

@@ -255,2 +256,3 @@ // setup bledning

const {id, width, height, pixelRatio} = this.props;
const props = {

@@ -260,3 +262,7 @@ id,

width: width * pixelRatio || 1,
height: height * pixelRatio || 1
height: height * pixelRatio || 1,
style: {
width: width,
height: height
}
};

@@ -263,0 +269,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