pixelsmith
Advanced tools
Comparing version 2.1.1 to 2.1.2
# pixelsmith changelog | ||
2.1.2 - Added file size check. Fixes gulp.spritesmith#131 | ||
2.1.1 - Upgraded to `get-pixels@3.3.0` via @BS-Harou in #9 | ||
@@ -3,0 +5,0 @@ |
@@ -42,2 +42,5 @@ // Load in our dependencies | ||
// https://github.com/scijs/get-pixels/blob/2e8766f62a9043d74a4b1047294a25fea5b2eacf/node-pixels.js#L179 | ||
if (buff.length === 0) { | ||
return cb(new Error('Expected image "' + file.path + '" to not be empty but it was')); | ||
} | ||
getPixels(buff, mime.lookup(file.path), cb); | ||
@@ -44,0 +47,0 @@ })); |
{ | ||
"name": "pixelsmith", | ||
"description": "Node based engine for spritesmith", | ||
"version": "2.1.1", | ||
"version": "2.1.2", | ||
"homepage": "https://github.com/twolfson/pixelsmith", | ||
@@ -6,0 +6,0 @@ "author": { |
29854
190