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.1 to 4.2.2

20

lib/copytask.js

@@ -28,3 +28,3 @@ var tilelive = require('..');

// State persistence
console.warn('Persisting state in ' + this.job + ' every minute and on SIGINT');
console.warn('Persisting state in ' + this.job + ' every minute');

@@ -41,8 +41,10 @@ process.on('uncaughtException', function(err) {

process.on('SIGINT', function() {
task.pause(function(err) {
if (err) throw err;
console.warn('\nWrote state to ' + task.job);
if ((process.platform !== 'win32')) {
process.on('SIGINT', function() {
task.pause(function(err) {
if (err) throw err;
console.warn('\nWrote state to ' + task.job);
});
});
});
}
};

@@ -138,3 +140,7 @@

var color = data.solid.split(',');
tile.key = -(color[0]*(1<<24) + ((color[1]<<16) | (color[2]<<8) | color[3]));
if (color[3] === '0') {
tile.key = 0;
} else {
tile.key = -(color[0]*(1<<24) + ((color[1]<<16) | (color[2]<<8) | color[3]));
}
data.key = tile.key;

@@ -141,0 +147,0 @@ }

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

@@ -32,3 +32,3 @@ "description" : "Frontend for various tile backends, mapnik and mbtiles",

"sphericalmercator": "~1.0.1",
"underscore": "~1.3.1"
"underscore": "~1.3.3"
},

@@ -35,0 +35,0 @@ "devDependencies": {

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