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

@planet/dynamic-tiles

Package Overview
Dependencies
Maintainers
7
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@planet/dynamic-tiles - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

8

NumpyLayer.js

@@ -183,3 +183,5 @@ "use strict";

var ctx = t.canvas.getContext('2d');
ctx.putImageData(new ImageData(res, 256), 0, 0);
var imgData = ctx.createImageData(256, 256);
imgData.data.set(res);
ctx.putImageData(imgData, 0, 0);
}

@@ -205,3 +207,5 @@ }

var ctx = target.canvas.getContext('2d');
ctx.putImageData(new ImageData(message.data.results, 256), 0, 0);
var imgData = ctx.createImageData(256, 256);
imgData.data.set(message.data.results);
ctx.putImageData(imgData, 0, 0);
src.changed();

@@ -208,0 +212,0 @@ }

{
"name": "@planet/dynamic-tiles",
"version": "1.1.1",
"version": "1.1.2",
"description": "Support for dynamically colored tiles from Planet Inc. tile servers.",

@@ -5,0 +5,0 @@ "main": "./ol.js",

@@ -39,4 +39,10 @@ "use strict";

var styleFuncs = Object.assign({}, maths.styleFuncs);
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
var styleFuncs = _objectSpread({}, maths.styleFuncs);
function testUserFunctions(functions) {

@@ -313,3 +319,5 @@ var results = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};

var ctx = canvas.getContext('2d');
ctx.putImageData(new ImageData(res, 256), 0, 0);
var imgData = ctx.createImageData(256, 256);
imgData.data.set(res);
ctx.putImageData(imgData, 0, 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