Socket
Socket
Sign inDemoInstall

imagemin

Package Overview
Dependencies
46
Maintainers
7
Versions
48
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.0.0 to 7.0.1

2

index.js
'use strict';
const {promisify} = require('util');
const fs = require('fs');
const path = require('path');
const fs = require('graceful-fs');
const fileType = require('file-type');

@@ -6,0 +6,0 @@ const globby = require('globby');

{
"name": "imagemin",
"version": "7.0.0",
"version": "7.0.1",
"description": "Minify images seamlessly",

@@ -30,2 +30,3 @@ "license": "MIT",

"globby": "^10.0.0",
"graceful-fs": "^4.2.2",
"junk": "^3.1.0",

@@ -32,0 +33,0 @@ "make-dir": "^3.0.0",

@@ -5,3 +5,17 @@ # imagemin [![Build Status](https://travis-ci.org/imagemin/imagemin.svg?branch=master)](https://travis-ci.org/imagemin/imagemin)

---
<div align="center">
<sup>Gumlet is helping make open source sustainable by sponsoring Sindre Sorhus.</sup>
<a href="https://www.gumlet.com">
<div>
<img src="https://sindresorhus.com/assets/thanks/gumlet-logo.svg" width="300"/>
</div>
<sup><b>Optimised Image Delivery made simple</b></sup>
</a>
</div>
---
## Install

@@ -33,3 +47,3 @@

console.log(files);
//=> [{data: <Buffer 89 50 4e …>, path: 'build/images/foo.jpg'}, …]
//=> [{data: <Buffer 89 50 4e …>, destinationPath: 'build/images/foo.jpg'}, …]
})();

@@ -94,3 +108,10 @@ ```

## Hosted API
We also provide a hosted API for imagemin which may simplify your use case.
<a href="https://imagemin.saasify.sh">
<img src="https://badges.saasify.sh?text=View%20Hosted%20API" height="40"/>
</a>
## Related

@@ -97,0 +118,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