imagemin-upng
Advanced tools
Comparing version 1.2.2 to 1.2.3
@@ -14,3 +14,5 @@ 'use strict' | ||
if (!Buffer.isBuffer(input)) { | ||
return Promise.reject(new TypeError('Expected a buffer')) | ||
return Promise.reject( | ||
new TypeError('Expected a `Buffer`, got `' + typeof input + '`.') | ||
) | ||
} | ||
@@ -17,0 +19,0 @@ |
{ | ||
"name": "imagemin-upng", | ||
"version": "1.2.2", | ||
"version": "1.2.3", | ||
"description": "upng imagemin plugin", | ||
@@ -35,2 +35,3 @@ "license": "MIT", | ||
"scripts": { | ||
"update-dependencies": "yarn upgrade-interactive --latest", | ||
"test": "eslint index.js && ava", | ||
@@ -40,4 +41,7 @@ "release": "npm --registry=https://registry.npmjs.org/ publish" | ||
"devDependencies": { | ||
"ava": "0.24.0" | ||
"ava": "0.25.0", | ||
"eslint": "^4.19.1", | ||
"eslint-plugin-prettier": "^2.6.0", | ||
"prettier": "^1.12.1" | ||
} | ||
} |
3384
32
4