Comparing version 1.5.2 to 1.5.3
@@ -18,3 +18,3 @@ if (!typeof Promise !== 'function') { | ||
if (size > maxsize) { | ||
var err = new Error(`File too large, max: ${Math.round(maxsize/1000)}kB`); | ||
var err = new Error('File too large, max:' + Math.round(maxsize/1000) + 'kB'); | ||
err.status = 413; | ||
@@ -21,0 +21,0 @@ reject(err); |
{ | ||
"name": "as-buffer", | ||
"version": "1.5.2", | ||
"version": "1.5.3", | ||
"description": "stream or anything to buffer as a Promise", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
2460