From fdfd1dc77a97f73f649a4052f539f5398c5d8519 Mon Sep 17 00:00:00 2001 From: vseventer Date: Fri, 27 Oct 2017 12:50:42 +0200 Subject: [PATCH] Update dependencies. --- CHANGELOG.md | 3 +++ lib/cli.js | 3 ++- package.json | 8 ++++---- test/mocha.opts | 1 - 4 files changed, 9 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3e7220c..e833e04 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +## 1.5.2 (October 27, 2017) +* Updated `mocha`, `sinon`, and `yargs` dependencies. + ## 1.5.1 (September 22, 2017) * Updated `mocha`, `nyc`, and `sharp` dependencies. diff --git a/lib/cli.js b/lib/cli.js index 26e7b88..7647191 100644 --- a/lib/cli.js +++ b/lib/cli.js @@ -251,7 +251,8 @@ const options = { // Configure. const cli = yargs .strict() - .usage('$0 [command..]', options) + .usage('$0 [command..]') + .options(options) .example('$0 -i ./input.jpg -o ./out resize 300 200', 'out/input.jpg will be a 300 pixels wide and 200 pixels high image containing a scaled and cropped version of input.jpg') .example('$0 -i ./input.jpg -o ./out -mq90 rotate 180 -- resize 300 -- background "#ff6600" --flatten -- overlayWith ./overlay.png --gravity southeast -- sharpen', 'out/input.jpg will be an upside down, 300px wide, alpha channel flattened onto orange background, composited with overlay.png with SE gravity, sharpened, with metadata, 90% quality version of input.jpg') .epilog('For more information on available options, please visit http://sharp.dimens.io/') diff --git a/package.json b/package.json index 6dc7758..f52d4bc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name" : "sharp-cli", - "version" : "1.5.1", + "version" : "1.5.2", "description" : "CLI for sharp.", "keywords" : [ "cli", "jpeg", "libvips", "png", "sharp", "vips", "webp" ], "homepage" : "https://github.com/vseventer/sharp-cli", @@ -20,14 +20,14 @@ "multiyargs" : "1.0.x", "sharp" : "0.18.4", "url-template" : "2.0.x", - "yargs" : "8.0.x" + "yargs" : "10.0.x" }, "devDependencies": { "fs-extra" : "4.0.x", - "mocha" : "3.5.x", + "mocha" : "4.0.x", "must" : "0.13.x", "nyc" : "11.2.x", - "sinon" : "2.3.x", + "sinon" : "4.0.x", "snazzy" : "7.0.x", "standard" : "10.0.x", "tempfile" : "2.0.x" diff --git a/test/mocha.opts b/test/mocha.opts index 1a4ca31..99e04a2 100644 --- a/test/mocha.opts +++ b/test/mocha.opts @@ -1,5 +1,4 @@ --check-leaks ---no-exit --reporter spec --slow 25 --timeout 250