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

tilelive

Package Overview
Dependencies
Maintainers
23
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tilelive - npm Package Compare versions

Comparing version 5.8.3 to 5.9.0

4

CHANGELOG.md

@@ -0,1 +1,5 @@

## 5.9.0
* Added the ability for headers to pass information to tilelive to continue pyramid tiling if the tree below contains data.
## 5.8.3

@@ -2,0 +6,0 @@

9

lib/stream-pyramid.js

@@ -133,3 +133,4 @@ var sm = new (require('sphericalmercator'))();

}
function done(err, buffer) {
function done(err, buffer, headers) {
headers = headers || {};
stream.pending--;

@@ -145,6 +146,6 @@ if (err && !(/does not exist$/).test(err.message)) {

var sum = 0;
if (z >= stream.firstz) {
if ((z < stream.firstz) || headers['x-tilelive-contains-data']) {
addChildren(tile, stream.bboxes, stream.queue);
} else {
sum = sumChildren(tile, stream.bboxes);
} else {
addChildren(tile, stream.bboxes, stream.queue);
}

@@ -151,0 +152,0 @@ stream.stats.skipped += 1 + sum;

{
"name": "tilelive",
"version": "5.8.3",
"version": "5.9.0",
"main": "./lib/tilelive.js",

@@ -31,3 +31,4 @@ "description": "API for various map tile backends",

"Young Hahn <yhahn>",
"Konstantin Käfer <kkaefer>"
"Konstantin Käfer <kkaefer>",
"Blake Thompson <flippmoke>"
],

@@ -34,0 +35,0 @@ "dependencies": {

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