Skip to content

Commit

Permalink
chore(release): 1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-akait committed Sep 19, 2018
1 parent ff0c2d5 commit 53884e4
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 10 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.

This project adheres to [Semantic Versioning](http://semver.org).

## 1.0.1 - 2018-09-19

- fix: add `-optimize` flag to jpegtran by default

## 1.0.0 - 2018-09-18

- chore: initial public release.
22 changes: 14 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "imagemin-mozjpeg-full",
"version": "1.0.0",
"version": "1.0.1",
"description": "Imagemin plugin for all mozjpeg binaries (cjpeg and jpegtran).",
"repository": {
"type": "git",
Expand Down Expand Up @@ -50,7 +50,6 @@
"eslint-plugin-promise": "^4.0.1",
"eslint-plugin-react": "^7.1.0",
"eslint-plugin-unicorn": "^6.0.0",
"execa": "^1.0.0",
"husky": "^0.14.0",
"jest": "23.6.0",
"lint-staged": "^7.0.0",
Expand Down
2 changes: 2 additions & 0 deletions src/jpegtran.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ module.exports = opts => buf => {

if (options.arithmetic) {
args.push("-arithmetic");
} else {
args.push("-optimize");
}

args.push("-outfile", execBuffer.output, execBuffer.input);
Expand Down

0 comments on commit 53884e4

Please sign in to comment.