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.19 to 3.0.0-alpha.20

dist/dist.es5.min.js.map

18

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

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

"dependencies": {
"@loaders.gl/core": "3.0.0-alpha.19",
"@loaders.gl/loader-utils": "3.0.0-alpha.19",
"@loaders.gl/math": "3.0.0-alpha.19",
"@math.gl/core": "^3.3.0",
"@math.gl/culling": "^3.3.0",
"@math.gl/geospatial": "^3.3.0",
"@math.gl/web-mercator": "^3.3.0",
"@loaders.gl/core": "3.0.0-alpha.20",
"@loaders.gl/loader-utils": "3.0.0-alpha.20",
"@loaders.gl/math": "3.0.0-alpha.20",
"@math.gl/core": "3.5.0-alpha.1",
"@math.gl/culling": "3.5.0-alpha.1",
"@math.gl/geospatial": "3.5.0-alpha.1",
"@math.gl/web-mercator": "3.5.0-alpha.1",
"@probe.gl/stats": "^3.3.0"

@@ -48,3 +48,3 @@ },

},
"gitHead": "4e0a11c8f59a3c3b96eab8e5b81469f72d682e96"
"gitHead": "a21d85019d34c9045feae797e22ee7ce7f34d648"
}

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

export function calculateDynamicScreenSpaceError(root, {camera, mapProjection}, options = {}) {
const {
dynamicScreenSpaceErrorHeightFalloff = 0.25,
dynamicScreenSpaceErrorDensity = 0.00278
} = options;
const {dynamicScreenSpaceErrorHeightFalloff = 0.25, dynamicScreenSpaceErrorDensity = 0.00278} =
options;

@@ -26,0 +24,0 @@ let up;

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

}
const set1 = new Set(oldSelectedTiles.map(t => t.id));
const set2 = new Set(selectedTiles.map(t => t.id));
let changed = oldSelectedTiles.filter(x => !set2.has(x.id)).length > 0;
changed = changed || selectedTiles.filter(x => !set1.has(x.id)).length > 0;
const set1 = new Set(oldSelectedTiles.map((t) => t.id));
const set2 = new Set(selectedTiles.map((t) => t.id));
let changed = oldSelectedTiles.filter((x) => !set2.has(x.id)).length > 0;
changed = changed || selectedTiles.filter((x) => !set1.has(x.id)).length > 0;
return changed;

@@ -542,3 +542,3 @@ }

_addTileToCache(tile) {
this._cache.add(this, tile, tileset => tileset._updateCacheStats(tile));
this._cache.add(this, tile, (tileset) => tileset._updateCacheStats(tile));
}

@@ -545,0 +545,0 @@

@@ -17,7 +17,7 @@ const STATUS = {

request()
.then(data => {
.then((data) => {
this._statusMap[key].status = STATUS.COMPLETED;
this._statusMap[key].callback(data, frameState);
})
.catch(error => {
.catch((error) => {
this._statusMap[key].status = STATUS.ERROR;

@@ -24,0 +24,0 @@ callback(error);

@@ -29,3 +29,3 @@ import {load} from '@loaders.gl/core';

// if child tile is not fetched
const childTile = childTiles && childTiles.find(t => t.id === extendedId);
const childTile = childTiles && childTiles.find((t) => t.id === extendedId);
if (!childTile) {

@@ -42,3 +42,3 @@ let request = () => this._loadTile(child.id, tileset);

extendedId,
header => this._onTileLoad(header, tile, extendedId),
(header) => this._onTileLoad(header, tile, extendedId),
frameState

@@ -45,0 +45,0 @@ );

@@ -342,3 +342,3 @@ import ManagedArray from '../../utils/managed-array';

if (traverse) {
const children = tile.children.filter(c => c);
const children = tile.children.filter((c) => c);
for (const child of children) {

@@ -345,0 +345,0 @@ // eslint-disable-next-line max-depth

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

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

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