Comparing version 5.3.2 to 5.3.3
@@ -0,1 +1,5 @@ | ||
## 5.3.3 | ||
* Bugfix: list stream continues to read if internal buffer starts with a newline | ||
## 5.3.2 | ||
@@ -2,0 +6,0 @@ |
@@ -53,2 +53,6 @@ var sm = new (require('sphericalmercator'))(); | ||
var next = this.buffer.indexOf('\n'); | ||
if (next === 0) { | ||
this.buffer = this.buffer.slice(1); | ||
next = this.buffer.indexOf('\n'); | ||
} | ||
if (next === -1) next = this.buffer.length; | ||
@@ -55,0 +59,0 @@ if (pushTile(this.buffer.slice(0, next))) |
{ | ||
"name": "tilelive", | ||
"version": "5.3.2", | ||
"version": "5.3.3", | ||
"main": "./lib/tilelive.js", | ||
@@ -5,0 +5,0 @@ "description": "API for various map tile backends", |
56189
964