Comparing version 5.12.0 to 5.12.1
@@ -0,1 +1,5 @@ | ||
## 5.12.1 | ||
* Ignore negative x and y that are generated from wide bounds | ||
## 5.12.0 | ||
@@ -2,0 +6,0 @@ |
@@ -75,2 +75,6 @@ var sm = new (require('sphericalmercator'))(); | ||
stream.bboxes[z] = sm.xyz(boundsArray, z); | ||
if (stream.bboxes[z].minX < 0) stream.bboxes[z].minX = 0; | ||
if (stream.bboxes[z].minY < 0) stream.bboxes[z].minY = 0; | ||
stream.stats.total += | ||
@@ -77,0 +81,0 @@ (stream.bboxes[z].maxX - stream.bboxes[z].minX + 1) * |
@@ -62,2 +62,6 @@ var sm = new (require('sphericalmercator'))(); | ||
stream.bboxes[z] = sm.xyz(boundsArray, z); | ||
if (stream.bboxes[z].minX < 0) stream.bboxes[z].minX = 0; | ||
if (stream.bboxes[z].minY < 0) stream.bboxes[z].minY = 0; | ||
stream.stats.total += | ||
@@ -64,0 +68,0 @@ (stream.bboxes[z].maxX - stream.bboxes[z].minX + 1) * |
{ | ||
"name": "tilelive", | ||
"version": "5.12.0", | ||
"version": "5.12.1", | ||
"main": "./lib/tilelive.js", | ||
@@ -5,0 +5,0 @@ "description": "API for various map tile backends", |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
68799
1192
1