From ae8b89e8fdd6e1927c12983fcbc6c156f25b3901 Mon Sep 17 00:00:00 2001 From: Vladimir Agafonkin Date: Mon, 8 Aug 2016 18:48:26 +0300 Subject: [PATCH] upgrade deps --- bin/pixelmatch | 3 ++- package.json | 8 ++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/bin/pixelmatch b/bin/pixelmatch index a41b799..960457f 100755 --- a/bin/pixelmatch +++ b/bin/pixelmatch @@ -6,7 +6,8 @@ var PNG = require('pngjs').PNG, match = require('../.'); if (process.argv.length < 5) { - return console.log('Usage: imagematch image1.png image2.png output.png [threshold=0.005] [includeAA=false]'); + console.log('Usage: imagematch image1.png image2.png output.png [threshold=0.005] [includeAA=false]'); + return; } var threshold = isNaN(+process.argv[5]) ? undefined : +process.argv[5], diff --git a/package.json b/package.json index 6aa0121..8e1c3ad 100644 --- a/package.json +++ b/package.json @@ -7,12 +7,12 @@ "pixelmatch": "bin/pixelmatch" }, "dependencies": { - "pngjs": "^2.1.0" + "pngjs": "^3.0.0" }, "devDependencies": { - "eslint": "^1.6.0", - "eslint-config-mourner": "^1.0.1", - "tap": "^2.1.1" + "eslint": "^3.2.2", + "eslint-config-mourner": "^2.0.1", + "tap": "^6.3.0" }, "scripts": { "pretest": "eslint index.js bin/pixelmatch test/test.js",