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

tilelive

Package Overview
Dependencies
Maintainers
6
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.0.0 to 5.0.1

16

lib/stream-put.js

@@ -26,7 +26,5 @@ var Stats = require('./stream-util').Stats;

this.on('finish', function() {
s.once('_writeEmpty', function() {
if (!source.stopWriting) return stop();
source.stopWriting(stop);
});
function stop(err) {
return stream._multiwriting ? s.once('_writeEmpty', stop) : stop();
function stop() { return source.stopWriting ? source.stopWriting(done) : done(); }
function done(err) {
if (err) {

@@ -40,7 +38,5 @@ s.emit('error', err);

this.on('unpipe', function() {
s.once('_writeEmpty', function() {
if (source.stopWriting) source.stopWriting(function(err) {
if (err) s.emit('error', err);
});
});
return stream._multiwriting ? s.once('_writeEmpty', stop) : stop();
function stop() { return source.stopWriting ? source.stopWriting(done) : done(); }
function done(err) { if (err) s.emit('error', err); }
});

@@ -47,0 +43,0 @@

{
"name": "tilelive",
"version": "5.0.0",
"version": "5.0.1",
"main": "./lib/tilelive.js",

@@ -5,0 +5,0 @@ "description": "API for various map tile backends",

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