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

imagemin-jpegoptim

Package Overview
Dependencies
Maintainers
7
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

imagemin-jpegoptim - npm Package Compare versions

Comparing version 6.0.0 to 7.0.0

13

index.js

@@ -6,4 +6,4 @@ 'use strict';

module.exports = options => buffer => {
options = Object.assign({
module.exports = options => async buffer => {
options = {
stripAll: true,

@@ -14,4 +14,5 @@ stripCom: true,

stripIcc: true,
stripXmp: true
}, options);
stripXmp: true,
...options
};

@@ -67,3 +68,3 @@ if (!Buffer.isBuffer(buffer)) {

return execa.stdout(jpegoptim, args, {
const {stdout} = await execa(jpegoptim, args, {
encoding: null,

@@ -73,2 +74,4 @@ input: buffer,

});
return stdout;
};
{
"name": "imagemin-jpegoptim",
"version": "6.0.0",
"version": "7.0.0",
"description": "Imagemin plugin for jpegoptim",

@@ -24,3 +24,3 @@ "license": "MIT",

"engines": {
"node": ">=6"
"node": ">=10"
},

@@ -43,12 +43,11 @@ "scripts": {

"dependencies": {
"execa": "^1.0.0",
"execa": "^4.0.0",
"is-jpg": "^2.0.0",
"jpegoptim-bin": "^5.0.0"
"jpegoptim-bin": "^6.0.0"
},
"devDependencies": {
"ava": "*",
"ava": "^3.8.0",
"is-progressive": "^3.0.0",
"pify": "^4.0.0",
"xo": "*"
"xo": "^0.30.0"
}
}

@@ -1,2 +0,2 @@

# imagemin-jpegoptim [![Build Status](https://travis-ci.org/imagemin/imagemin-jpegoptim.svg?branch=master)](https://travis-ci.org/imagemin/imagemin-jpegoptim) [![Build status](https://ci.appveyor.com/api/projects/status/dd2mjdl1lhqjj6u7?svg=true)](https://ci.appveyor.com/project/ShinnosukeWatanabe/imagemin-jpegoptim)
# imagemin-jpegoptim [![Build Status](https://travis-ci.org/imagemin/imagemin-jpegoptim.svg?branch=master)](https://travis-ci.org/imagemin/imagemin-jpegoptim)

@@ -3,0 +3,0 @@ > [Imagemin](https://github.com/imagemin/imagemin) plugin for [jpegoptim](https://github.com/tjko/jpegoptim)

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