Socket
Socket
Sign inDemoInstall

imagemin

Package Overview
Dependencies
21
Maintainers
3
Versions
48
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.1.0 to 5.1.1

4

index.js

@@ -61,3 +61,5 @@ 'use strict';

return opts.plugins.length > 0 ? promisePipe(opts.plugins)(input) : Promise.resolve(input);
const pipe = opts.plugins.length > 0 ? promisePipe(opts.plugins)(input) : Promise.resolve(input);
return pipe.then(buf => buf.length < input.length ? buf : input);
};
{
"name": "imagemin",
"version": "5.1.0",
"version": "5.1.1",
"description": "Minify images",

@@ -5,0 +5,0 @@ "license": "MIT",

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc