Skip to content

Commit

Permalink
Update dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
vseventer committed Oct 27, 2017
1 parent c11549a commit fdfd1dc
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
3 changes: 2 additions & 1 deletion lib/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,8 @@ const options = {
// Configure.
const cli = yargs
.strict()
.usage('$0 <options> [command..]', options)
.usage('$0 <options> [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/')
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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"
Expand Down
1 change: 0 additions & 1 deletion test/mocha.opts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
--check-leaks
--no-exit
--reporter spec
--slow 25
--timeout 250
Expand Down

0 comments on commit fdfd1dc

Please sign in to comment.