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

imagemin

Package Overview
Dependencies
Maintainers
5
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

imagemin - npm Package Compare versions

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc