From b857b4682658bacb0281b1cd452ab95c797d4464 Mon Sep 17 00:00:00 2001 From: Teoh Han Hui Date: Tue, 28 Jun 2016 22:36:09 +0800 Subject: [PATCH] Bump to v1.4.6 --- package.json | 2 +- src/streams/resize.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index c1f7687..7e22663 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "image-resizer", - "version": "1.4.5", + "version": "1.4.6", "description": "On-the-fly image resizing and optimization using node and sharp (libvips). Heroku ready!", "main": "index.js", "scripts": { diff --git a/src/streams/resize.js b/src/streams/resize.js index 975efe8..cdab520 100644 --- a/src/streams/resize.js +++ b/src/streams/resize.js @@ -43,7 +43,7 @@ module.exports = function () { var r = sharp(image.contents); - // never enlarge an image beyonds its original size + // never enlarge an image beyond its original size r.withoutEnlargement(); // if allowed auto rotate images, very helpful for photos off of an iphone