Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

imageoptim-cli

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

imageoptim-cli - npm Package Compare versions

Comparing version 2.0.3 to 2.0.4

14

CHANGELOG.md

@@ -0,1 +1,10 @@

<a name="2.0.4"></a>
## [2.0.4](https://github.com/JamieMason/ImageOptim-CLI/compare/2.0.3...2.0.4) (2018-11-07)
### Bug Fixes
- **npm:** update dependencies
([a5b3ec8](https://github.com/JamieMason/ImageOptim-CLI/commit/a5b3ec8))
<a name="2.0.3"></a>

@@ -8,3 +17,4 @@

- **npm:** update dependencies
([8fe8355](https://github.com/JamieMason/ImageOptim-CLI/commit/8fe8355))
([3e1259f](https://github.com/JamieMason/ImageOptim-CLI/commit/3e1259f)), closes
[#166](https://github.com/JamieMason/ImageOptim-CLI/issues/166)

@@ -95,3 +105,3 @@ <a name="2.0.2"></a>

([0344ae7](https://github.com/JamieMason/ImageOptim-CLI/commit/0344ae7))
- **filesystem:** remove additional trailing slash after $TMPDIR
- **filesystem:** remove additional trailing slash after \$TMPDIR
([6b60e32](https://github.com/JamieMason/ImageOptim-CLI/commit/6b60e32)), closes

@@ -98,0 +108,0 @@ [#87](https://github.com/JamieMason/ImageOptim-CLI/issues/87)

22

package.json
{
"name": "imageoptim-cli",
"description": "Automates ImageOptim, ImageAlpha, and JPEGmini for Mac to make batch optimisation of images part of your automated build process.",
"version": "2.0.3",
"version": "2.0.4",
"author": "Jamie Mason <jamie@foldleft.io> (https://github.com/JamieMason)",

@@ -30,9 +30,9 @@ "bin": {

"@types/execa": "0.9.0",
"@types/fs-extra": "5.0.3",
"@types/globby": "6.1.0",
"@types/node": "10.3.2",
"@types/fs-extra": "5.0.4",
"@types/globby": "8.0.0",
"@types/node": "10.12.2",
"chalk": "2.4.1",
"commander": "2.15.1",
"execa": "0.10.0",
"fs-extra": "6.0.1",
"commander": "2.19.0",
"execa": "1.0.0",
"fs-extra": "7.0.0",
"globby": "8.0.1",

@@ -42,7 +42,7 @@ "pretty-bytes": "5.1.0"

"devDependencies": {
"nexe": "2.0.0-rc.30",
"prettier": "1.13.5",
"nexe": "2.0.0-rc.34",
"prettier": "1.15.1",
"rimraf": "2.6.2",
"tslint": "5.10.0",
"typescript": "2.9.1"
"tslint": "5.11.0",
"typescript": "3.1.6"
},

@@ -49,0 +49,0 @@ "engines": {

@@ -31,4 +31,3 @@ # ImageOptim-CLI

[npm](https://npmjs.org/) is the recommended way to install ImageOptim-CLI as it is the most
convenient.
### [npm](https://npmjs.org/)

@@ -39,11 +38,29 @@ ```

Otherwise, you can install manually by downloading the latest zip then adding ImageOptim-CLI to your
[$PATH](<https://en.wikipedia.org/wiki/PATH_(variable)>).
### [homebrew](https://brew.sh/)
```
curl --output imageoptim-cli.zip https://registry.npmjs.org/imageoptim-cli/-/imageoptim-cli-2.0.0.tgz
unzip imageoptim-cli.zip
export PATH=$PATH:imageoptim-cli/bin
brew update
brew install imageoptim-cli
```
### Manual
Otherwise, you can install manually by downloading the latest release then adding ImageOptim-CLI to
your [\$PATH](<https://en.wikipedia.org/wiki/PATH_(variable)>).
```
# go to home directory
cd ~
# download the tarball (change 2.0.3 to latest version if available)
curl --output imageoptim-cli.tgz https://registry.npmjs.org/imageoptim-cli/-/imageoptim-cli-2.0.3.tgz
# extract the tarball
tar -xvzf ./imageoptim-cli.tgz
# delete the tarball
rm imageoptim-cli.tgz
# rename the directory extracted from the tarball
mv ./package ./imageoptim-cli
# make imageoptim command available in your terminal
export PATH=$PATH:imageoptim-cli/dist
```
> Saving somewhere in your home directory such as `~/imageoptim-cli` is recommended, but not

@@ -89,3 +106,3 @@ > essential. Saving to `/Applications` is **not** recommended, do not do this.

Run ImageAlpha.app and JPEGmini.app over every JPG in current directory
Run JPEGmini.app and ImageOptim.app over every JPG in current directory
imageoptim --jpegmini '**/*.jpg' '**/*.jpeg'

@@ -220,3 +237,3 @@

1. For bug reports and feature requests, open issues :bug:
1. For direct and quick help, you can use Slack :rocket:
1. For direct and quick help, you can use Gitter :rocket:

@@ -223,0 +240,0 @@ ## :yum: Give Help

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc