Socket
Socket
Sign inDemoInstall

imagemin

Package Overview
Dependencies
22
Maintainers
5
Versions
48
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.3.0 to 5.3.1

5

index.js

@@ -15,2 +15,7 @@ 'use strict';

const dest = output ? path.join(output, path.basename(input)) : null;
if (opts.plugins && !Array.isArray(opts.plugins)) {
throw new TypeError('The plugins option should be an `Array`');
}
const pipe = opts.plugins.length > 0 ? pPipe(opts.plugins)(data) : Promise.resolve(data);

@@ -17,0 +22,0 @@

4

package.json
{
"name": "imagemin",
"version": "5.3.0",
"version": "5.3.1",
"description": "Minify images",

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

"make-dir": "^1.0.0",
"p-pipe": "^1.0.0",
"p-pipe": "^1.1.0",
"pify": "^2.3.0",

@@ -50,0 +50,0 @@ "replace-ext": "^1.0.0"

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc