From cb5f06f4ec30788613f8e7f76df38a50ff7114c6 Mon Sep 17 00:00:00 2001 From: pinclub Date: Sat, 13 May 2017 12:07:06 +0800 Subject: [PATCH 1/3] Update package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 6946083..b03217b 100644 --- a/package.json +++ b/package.json @@ -31,6 +31,6 @@ }, "dependencies": { "bluebird": "^3.4.1", - "sharp": "^0.15.0" + "sharp": "^0.17.0" } } From c546a69dc58c9819d6ce8c8c990fbf4cf51f8c5a Mon Sep 17 00:00:00 2001 From: pinclub Date: Sat, 13 May 2017 12:09:45 +0800 Subject: [PATCH 2/3] Update package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index b03217b..327db7f 100644 --- a/package.json +++ b/package.json @@ -31,6 +31,6 @@ }, "dependencies": { "bluebird": "^3.4.1", - "sharp": "^0.17.0" + "sharp": "^0.17.3" } } From daa321f81835613e157adaec7443c1a1713ad4b2 Mon Sep 17 00:00:00 2001 From: pinclub Date: Sat, 13 May 2017 12:36:50 +0800 Subject: [PATCH 3/3] Update index.js --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 503e105..377a704 100644 --- a/index.js +++ b/index.js @@ -67,7 +67,7 @@ GHash.prototype.calculate = function(callback) { return hash.then(function(hash) { callback(null, hash); }) - .error(callback); + .catch(callback); } return hash;