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

satellite-view

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

satellite-view - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

10

dist/satellite-view.bundle.js

@@ -18,5 +18,2 @@ function setParams(userParams) {

params.nMaps = params.maps.length;
params.mapWidth = params.maps[0].canvas.width;
params.mapHeight = params.maps[0].canvas.height;
params.canvas = addCanvas(userParams.container);

@@ -699,3 +696,3 @@

const textures = params.maps.map(map => {
return initTexture(gl, params.mapWidth, params.mapHeight);
return initTexture(gl, map.canvas.width, map.canvas.height);
});

@@ -715,2 +712,3 @@

setPixelRatio: (ratio) => { params.getPixelRatio = () => ratio; },
destroy: () => gl.canvas.remove(),
};

@@ -739,4 +737,6 @@

// Draw the globe
resizeCanvasToDisplaySize(gl.canvas, params.getPixelRatio());
var resized = resizeCanvasToDisplaySize(
gl.canvas, params.getPixelRatio() );
drawScene(gl, progInfo, buffers, uniforms);
return resized;
}

@@ -743,0 +743,0 @@ }

{
"version": "1.0.0",
"version": "1.1.0",
"files": [

@@ -22,3 +22,3 @@ "dist"

"rollup-plugin-node-resolve": "^4.2.4",
"tile-frame": "^1.0.0",
"tile-frame": "^1.1.0",
"tile-rack": "^0.2.1"

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