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 May 8, 2024 via pnpm

gulp-imagemin 8.0.0

Minify PNG, JPEG, GIF and SVG images
Package summary
Share
10
issues
7
high severity
vulnerability
2
meta
5
1
moderate severity
vulnerability
1
2
low severity
vulnerability
1
license
1
6
licenses
239
MIT
25
ISC
8
BSD-2-Clause
7
other licenses
BSD-3-Clause
3
Apache-2.0
3
CC0-1.0
1
Package created
30 Dec 2013
Version published
12 Aug 2021
Maintainers
1
Total deps
279
Direct deps
11
License
MIT

Issues

10

7 high severity issues

high
Recommendation: Upgrade to version 4.1.1 or later
via: imagemin-gifsicle@7.0.0 & others
Recommendation: Upgrade to version 3.1.3 or later
via: imagemin-gifsicle@7.0.0 & others
via: imagemin-gifsicle@7.0.0
via: imagemin-mozjpeg@9.0.0
via: imagemin-optipng@8.0.0
via: imagemin-svgo@9.0.0
via: imagemin-gifsicle@7.0.0 & others
Collapse
Expand

1 moderate severity issue

moderate
Recommendation: Upgrade to version 11.8.5 or later
via: imagemin-gifsicle@7.0.0 & others
Collapse
Expand

2 low severity issues

low
Recommendation: Upgrade to version 3.1.4 or later
via: imagemin-gifsicle@7.0.0 & others
Recommendation: Read and validate the license terms
via: imagemin-svgo@9.0.0
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
239 Packages, Including:
@nodelib/fs.scandir@2.1.5
@nodelib/fs.stat@2.0.5
@nodelib/fs.walk@1.2.8
@sindresorhus/is@0.7.0
@tokenizer/token@0.3.0
@types/keyv@3.1.4
@types/node@20.12.10
@types/responselike@1.0.3
ansi-colors@1.1.0
ansi-gray@0.1.1
ansi-styles@4.3.0
ansi-wrap@0.1.0
arch@2.2.0
archive-type@4.0.0
arr-diff@4.0.0
arr-union@3.1.0
array-union@3.0.1
assign-symbols@1.0.0
balanced-match@1.0.2
base64-js@1.5.1
bin-build@3.0.0
bin-check@4.1.0
bin-version-check@4.0.0
bin-version@3.1.0
bin-wrapper@4.1.0
bl@1.2.3
brace-expansion@1.1.11
braces@3.0.2
buffer-alloc-unsafe@1.1.0
buffer-alloc@1.2.0
buffer-crc32@0.2.13
buffer-fill@1.0.0
buffer@5.7.1
cacheable-request@2.1.4
caw@2.0.1
chalk@4.1.2
clone-response@1.0.2
color-convert@2.0.1
color-name@1.1.4
commander@2.20.3
commander@7.2.0
concat-map@0.0.1
config-chain@1.1.13
content-disposition@0.5.4
core-util-is@1.0.3
cross-spawn@5.1.0
cross-spawn@6.0.5
cross-spawn@7.0.3
css-tree@1.1.3
csso@4.2.0

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
25 Packages, Including:
@trysound/sax@0.2.0
boolbase@1.0.0
color-support@1.1.3
fastq@1.17.1
fs.realpath@1.0.0
glob-parent@5.1.2
glob@7.2.3
graceful-fs@4.2.11
inflight@1.0.6
inherits@2.0.4
ini@1.3.8
isexe@2.0.0
lru-cache@4.1.5
minimatch@3.1.2
once@1.4.0
picocolors@1.0.0
proto-list@1.2.4
pseudomap@1.0.2
rimraf@2.7.1
semver@5.7.2
signal-exit@3.0.7
which@1.3.1
which@2.0.2
wrappy@1.0.2
yallist@2.1.2

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
8 Packages, Including:
css-select@4.3.0
css-what@6.1.0
domelementtype@2.3.0
domhandler@4.3.1
domutils@2.8.0
entities@2.2.0
http-cache-semantics@3.8.1
nth-check@2.1.1

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:
duplexer3@0.1.5
ieee754@1.2.1
source-map@0.6.1

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:
human-signals@1.1.1
human-signals@2.1.0
tunnel-agent@0.6.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:
mdn-data@2.0.14
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

11
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
chalk4.1.211.31 kBMIT
prod
fancy-log1.3.32.65 kBMIT
prod
imagemin-gifsicle7.0.02.03 kBMIT
prod optional
4
1
1
imagemin-mozjpeg9.0.02.96 kBMIT
prod optional
4
1
1
imagemin-optipng8.0.02.39 kBMIT
prod optional
4
1
1
imagemin-svgo9.0.01.66 kBMIT
prod optional
1
1
imagemin8.0.13.18 kBMIT
prod
plugin-error1.0.14.3 kBMIT
prod
plur4.0.02.16 kBMIT
prod
pretty-bytes5.6.03.73 kBMIT
prod
through2-concurrent2.0.03.01 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.