Update "image-size" to version ^0.4.0 #11
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
#0.4.0 / 2015-11-23
from https://shields.io/
Support all JPGs rather than specific JFIF ones
Support SVG with only viewbox specified
fix Update "yargs" to version ^6.0.0 #42
close Custom output filenames #43
files
field instead of .npmignoreWe don’t use jscoverage any more.
Use npm scripts instead of Makefile
Document the CLI
Because it’s more familiar to Node developers.
Update badge URLs
The repo has been transferred.
correct check for buffer
There are some cases where
instanceof Buffer
won't work, this fixes that by using the builtinBuffer.isBuffer
instead.For the purposes of this library requiring JPEGs use the JFIF standard doesn't seem necessary. Old school non-JFIF jpegs, like the kind produced by ffmpeg, aren't usable as-is.
Since there was only a limited set of markers in the list and a TODO to support all I've just removed the JFIF requirement entirely. JFIF will still work fine but now so will all valid JPEGs.