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

tilelive

Package Overview
Dependencies
Maintainers
5
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 4.2.0 to 4.2.1

test/copy.mbtiles-journal

5

lib/filescheme.js

@@ -15,3 +15,6 @@ var fs = require('fs');

// TODO: don't read everything at once.
this.list = Scheme.unserializeTiles(fs.readFileSync(options.list, 'utf8').split('\n').filter(function(line) { return line.trim().length; }));
this.list = unserialize(fs.readFileSync(options.list, 'utf8')
.split('\n')
.filter(function(line) { return line.trim().length; })
.map(function(line) { return JSON.parse(line); }));

@@ -18,0 +21,0 @@ this.stats = new Statistics();

2

lib/scanlinescheme.js

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

// Align resulting pos to a metatile boundary.
if (pos.x >= this.bounds[pos.z].minX) {
if (this.bounds[pos.z] && pos.x >= this.bounds[pos.z].minX) {
pos.x = pos.x - (pos.x % this.metatile) - this.metatile;

@@ -87,0 +87,0 @@ pos.y = pos.y - (pos.y % this.metatile);

{
"name" : "tilelive",
"version" : "4.2.0",
"version" : "4.2.1",
"main" : "./lib/tilelive.js",

@@ -5,0 +5,0 @@ "description" : "Frontend for various tile backends, mapnik and mbtiles",

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