Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Hold on, we're currently generating a fresh version of this report
Generated on Feb 17, 2024 via pnpm

gulp-imagemin 2.2.0

Minify PNG, JPEG, GIF and SVG images
Package summary
Share
42
issues
3
critical severity
vulnerability
2
license
1
24
high severity
vulnerability
9
license
5
meta
10
6
moderate severity
vulnerability
6
9
low severity
vulnerability
4
license
5
10
licenses
305
MIT
27
ISC
3
BSD
12
other licenses
BSD-3-Clause
3
Apache-2.0
3
BSD-2-Clause
2
N/A
1
+ 3 more
Package created
30 Dec 2013
Version published
11 Feb 2015
Maintainers
1
Total deps
347
Direct deps
6
License
MIT

Issues

42

3 critical severity issues

critical
Recommendation: Upgrade to version 4.2.1 or later
via: imagemin@3.2.2
Recommendation: Upgrade to version 4.17.12 or later
via: imagemin@3.2.2
Recommendation: Check the package code and files for license information
via: imagemin@3.2.2
Collapse
Expand

24 high severity issues

high
Recommendation: None
via: imagemin@3.2.2
Recommendation: Upgrade to version 3.1.3 or later
via: imagemin@3.2.2
Recommendation: Upgrade to version 3.0.2 or later
via: imagemin@3.2.2
Recommendation: Upgrade to version 4.17.11 or later
via: imagemin@3.2.2
Recommendation: Upgrade to version 5.1.2 or later
via: imagemin@3.2.2
Recommendation: Upgrade to version 3.13.1 or later
via: imagemin@3.2.2
Recommendation: Upgrade to version 3.0.1 or later
via: imagemin@3.2.2 & others
Recommendation: Upgrade to version 3.0.5 or later
via: imagemin@3.2.2
Recommendation: Upgrade to version 4.17.21 or later
via: imagemin@3.2.2
Recommendation: Validate that the package complies with your license policy
via: gulp-util@3.0.8 & others
Recommendation: Validate that the package complies with your license policy
via: imagemin@3.2.2
Recommendation: Validate that the package complies with your license policy
via: imagemin@3.2.2
Recommendation: Validate that the license expression complies with your license policy
via: imagemin@3.2.2
Recommendation: Read and validate the license terms
via: imagemin@3.2.2 & others
via: imagemin@3.2.2
via: imagemin@3.2.2
via: gulp-util@3.0.8 & others
via: imagemin@3.2.2
via: imagemin@3.2.2
via: imagemin@3.2.2
via: imagemin@3.2.2
via: imagemin@3.2.2
via: imagemin@3.2.2
via: imagemin@3.2.2
Collapse
Expand

6 moderate severity issues

moderate
Recommendation: Upgrade to version 4.17.11 or later
via: imagemin@3.2.2
Recommendation: Upgrade to version 3.13.0 or later
via: imagemin@3.2.2
Recommendation: Upgrade to version 0.6.0 or later
via: imagemin@3.2.2
Recommendation: Upgrade to version 11.8.5 or later
via: imagemin@3.2.2
Recommendation: Upgrade to version 4.17.21 or later
via: imagemin@3.2.2
Recommendation: Upgrade to version 5.7.2 or later
via: imagemin@3.2.2
Collapse
Expand

9 low severity issues

low
Recommendation: Upgrade to version 2.3.1 or later
via: imagemin@3.2.2
Recommendation: Upgrade to version 4.17.5 or later
via: imagemin@3.2.2
Recommendation: Upgrade to version 2.3.1 or later
via: imagemin@3.2.2
Recommendation: Upgrade to version 3.1.4 or later
via: imagemin@3.2.2
Recommendation: Read and validate the license terms
via: gulp-util@3.0.8 & others
Recommendation: Read and validate the license terms
via: imagemin@3.2.2
Recommendation: Read and validate the license terms
via: imagemin@3.2.2
Recommendation: Read and validate the license terms
via: imagemin@3.2.2 & others
Recommendation: Read and validate the license terms
via: imagemin@3.2.2 & others
Collapse
Expand

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
305 Packages, Including:
@types/keyv@3.1.4
@types/node@20.11.19
@types/responselike@1.0.3
ansi-gray@0.1.1
ansi-regex@0.2.1
ansi-regex@2.1.1
ansi-styles@1.1.0
ansi-styles@2.2.1
ansi-wrap@0.1.0
archive-type@3.2.0
argparse@1.0.10
arr-diff@2.0.0
arr-flatten@1.1.0
array-differ@1.0.0
array-find-index@1.0.2
array-uniq@1.0.3
array-unique@0.2.1
async-each-series@1.1.0
balanced-match@1.0.2
beeper@1.1.1
bin-build@2.2.0
bin-check@2.0.0
bin-version-check@2.1.0
bin-version@1.0.4
bin-wrapper@3.0.2
bl@1.2.3
brace-expansion@1.1.11
braces@1.8.5
buffer-alloc-unsafe@1.1.0
buffer-alloc@1.2.0
buffer-crc32@0.2.13
buffer-fill@1.0.0
buffer-from@1.1.2
buffer-to-vinyl@1.1.0
camelcase-keys@2.1.0
camelcase@2.1.1
capture-stack-trace@1.0.2
caw@1.2.0
chalk@0.5.1
chalk@1.1.3
clap@1.2.3
clone-stats@0.0.1
clone@0.2.0
clone@1.0.4
co@3.1.0
coa@1.0.4
colors@1.1.2
commander@2.20.3
concat-map@0.0.1
concat-stream@1.6.2

ISC License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
Cannot
hold-liable
Must
include-copyright
include-license
27 Packages, Including:
color-support@1.1.3
fs.realpath@1.0.0
glob-parent@2.0.0
glob-parent@3.1.0
glob@4.5.3
glob@5.0.15
glob@7.2.3
graceful-fs@3.0.12
graceful-fs@4.2.11
gulp-sourcemaps@1.6.0
hosted-git-info@2.8.9
inflight@1.0.6
inherits@2.0.4
ini@1.3.8
lru-cache@2.7.3
minimatch@2.0.10
minimatch@3.1.2
natives@1.1.6
once@1.4.0
remove-trailing-separator@1.1.0
rimraf@2.7.1
sax@1.2.4
semver@4.3.6
semver@5.7.2
sigmund@1.0.1
signal-exit@3.0.7
wrappy@1.0.2

BSD

Invalid
Not OSI Approved
3 Packages, Including:
duplexer2@0.0.2
glob@3.1.21
graceful-fs@1.2.3

BSD 3-Clause "New" or "Revised" License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
place-warranty
Cannot
use-trademark
hold-liable
Must
include-copyright
include-license
3 Packages, Including:
duplexer2@0.1.4
source-map@0.5.7
sprintf-js@1.0.3

Apache License 2.0

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
use-patent-claims
place-warranty
Cannot
hold-liable
use-trademark
Must
include-copyright
include-license
state-changes
include-notice
3 Packages, Including:
spdx-correct@3.2.0
tunnel-agent@0.4.3
validate-npm-package-license@3.0.4

BSD 2-Clause "Simplified" License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
place-warranty
Cannot
hold-liable
Must
include-copyright
include-license
2 Packages, Including:
esprima@2.7.3
normalize-package-data@2.5.0

N/A

N/A
1 Packages, Including:
inherits@1.0.2

(BSD-2-Clause OR MIT OR Apache-2.0)

Expression
1 Packages, Including:
rc@1.2.8

Creative Commons Attribution 3.0 Unported

Uncategorized
Not OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
Cannot
Must
1 Packages, Including:
spdx-exceptions@2.5.0

Creative Commons Zero v1.0 Universal

Public Domain
Not OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
Cannot
Must
1 Packages, Including:
spdx-license-ids@3.0.17
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

6
All Dependencies CSV
β“˜ This is a list of gulp-imagemin 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
chalk0.5.13.26 kBMIT
prod
gulp-util3.0.85.36 kBMIT
prod optional
2
1
imagemin3.2.23.79 kBMIT
prod
3
24
6
9
object-assign2.1.11.85 kBMIT
prod optional
pretty-bytes1.0.42.26 kBMIT
prod
2
2
through2-concurrent0.3.12.04 kBMIT
prod

Visualizations

Frequently Asked Questions

What does gulp-imagemin do?

gulp-imagemin is a powerful tool designed to help developers optimize their graphics while building websites or web applications. This tool is capable of efficiently compressing PNG, JPEG, GIF, and SVG images without compromising their quality. Minifying these images with gulp-imagemin helps to improve web performance and loading speed, thereby enhancing user experience and boosting SEO ratings.

How do you use gulp-imagemin?

In order to benefit from the capabilities of gulp-imagemin, you first need to install it. This is done through the npm install --save-dev gulp-imagemin command. Once the installation is complete, you can implement gulp-imagemin into your web development code.

Below is a basic usage example:

import gulp from 'gulp';
import imagemin from 'gulp-imagemin';

export default () => (
  gulp.src('src/images/*')
    .pipe(imagemin())
    .pipe(gulp.dest('dist/images'))
);

Additionally, gulp-imagemin supports customization of plugin options. Here is an example of how you can integrate custom plugin options:

.pipe(imagemin([
  imagemin.gifsicle({interlaced: true}),
  imagemin.mozjpeg({quality: 75, progressive: true}),
  imagemin.optipng({optimizationLevel: 5}),
  imagemin.svgo({
    plugins: [
      {removeViewBox: true},
      {cleanupIDs: false}
    ]
  })
]))

It's also possible to use both custom plugin options and custom gulp-imagemin options. Here's how:

.pipe(imagemin([
  imagemin.svgo({
    plugins: [
      {removeViewBox: true},
    ],
  }),
], {verbose: true}))

Where are the gulp-imagemin docs?

The official and comprehensive documentation of gulp-imagemin is maintained at https://github.com/sindresorhus/gulp-imagemin. Here, developers can obtain detailed information about API, installation and usage guidelines, and other relevant materials that ensure the effective implementation of the package in web development projects.