New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@loaders.gl/tiles

Package Overview
Dependencies
Maintainers
7
Versions
269
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@loaders.gl/tiles - npm Package Compare versions

Comparing version 3.0.0-alpha.14 to 3.0.0-alpha.15

9

dist/es5/tileset/tileset-3d.js

@@ -190,2 +190,7 @@ "use strict";

}, {
key: "setOptions",
value: function setOptions(options) {
this.options = _objectSpread(_objectSpread({}, this.options), options);
}
}, {
key: "getTileUrl",

@@ -204,2 +209,6 @@ value: function getTileUrl(tilePath) {

value: function update(viewports) {
if ('loadTiles' in this.options && !this.options.loadTiles) {
return;
}
if (this.traverseCounter > 0) {

@@ -206,0 +215,0 @@ return;

@@ -166,2 +166,7 @@ import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";

}, {
key: "setOptions",
value: function setOptions(options) {
this.options = _objectSpread(_objectSpread({}, this.options), options);
}
}, {
key: "getTileUrl",

@@ -180,2 +185,6 @@ value: function getTileUrl(tilePath) {

value: function update(viewports) {
if ('loadTiles' in this.options && !this.options.loadTiles) {
return;
}
if (this.traverseCounter > 0) {

@@ -182,0 +191,0 @@ return;

10

package.json
{
"name": "@loaders.gl/tiles",
"version": "3.0.0-alpha.14",
"version": "3.0.0-alpha.15",
"description": "Common components for different tiles loaders.",

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

"dependencies": {
"@loaders.gl/core": "3.0.0-alpha.14",
"@loaders.gl/loader-utils": "3.0.0-alpha.14",
"@loaders.gl/math": "3.0.0-alpha.14",
"@loaders.gl/core": "3.0.0-alpha.15",
"@loaders.gl/loader-utils": "3.0.0-alpha.15",
"@loaders.gl/math": "3.0.0-alpha.15",
"@math.gl/core": "^3.3.0",

@@ -48,3 +48,3 @@ "@math.gl/culling": "^3.3.0",

},
"gitHead": "fe9717732559902e25911b6e575d14f731b1ce7d"
"gitHead": "c4ad9755e5f58c995bf6e7f7eca0d34f0adbd0dd"
}

@@ -9,2 +9,7 @@ import {Vector3} from '@math.gl/core';

/**
* Calculate appropriate zoom value for a particular boundingVolume
* @param {BoundingSphere, OrientedBoundingBox} boundingVolume - the instance of bounding volume
* @returns {number} - zoom value
*/
export function getZoomFromBoundingVolume(boundingVolume) {

@@ -11,0 +16,0 @@ const {halfAxes, radius, width, height} = boundingVolume;

@@ -220,2 +220,6 @@ // This file is derived from the Cesium code base under Apache 2 license

setOptions(options) {
this.options = {...this.options, ...options};
}
getTileUrl(tilePath) {

@@ -235,2 +239,5 @@ const isDataUrl = tilePath.startsWith('data:');

update(viewports) {
if ('loadTiles' in this.options && !this.options.loadTiles) {
return;
}
if (this.traverseCounter > 0) {

@@ -237,0 +244,0 @@ return;

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 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

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