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 Apr 30, 2024 via pnpm

gulp-imagemin 5.0.3

Minify PNG, JPEG, GIF and SVG images
Package summary
Share
14
issues
11
high severity
license
1
meta
10
3
low severity
license
3
9
licenses
506
MIT
33
ISC
10
BSD-2-Clause
15
other licenses
BSD-3-Clause
5
Apache-2.0
4
CC0-1.0
3
(MIT OR Apache-2.0)
1
+ 2 more
Package created
30 Dec 2013
Version published
6 Nov 2018
Maintainers
1
Total deps
564
Direct deps
12
License
MIT

Issues

14

11 high severity issues

high
Recommendation: Validate that the package complies with your license policy
via: imagemin@6.1.0
via: imagemin-gifsicle@6.0.1
via: imagemin-jpegtran@6.0.0
via: imagemin-optipng@6.0.0
via: imagemin@6.1.0
via: imagemin@6.1.0
via: imagemin@6.1.0
via: imagemin-svgo@7.1.0
via: imagemin-svgo@7.1.0
via: imagemin@6.1.0
via: imagemin-gifsicle@6.0.1 & others
Collapse
Expand

3 low severity issues

low
Recommendation: Read and validate the license terms
via: imagemin-svgo@7.1.0
Recommendation: Read and validate the license terms
via: imagemin-svgo@7.1.0
Recommendation: Read and validate the license terms
via: imagemin@6.1.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
506 Packages, Including:
@gulpjs/messages@1.1.0
@gulpjs/to-absolute-glob@4.0.0
@mrmlnc/readdir-enhanced@2.2.1
@nodelib/fs.stat@1.1.3
@sindresorhus/is@0.7.0
@types/keyv@3.1.4
@types/node@20.12.7
@types/q@1.5.8
@types/responselike@1.0.3
ansi-colors@1.1.0
ansi-gray@0.1.1
ansi-regex@2.1.1
ansi-regex@5.0.1
ansi-styles@2.2.1
ansi-styles@3.2.1
ansi-styles@4.3.0
ansi-wrap@0.1.0
arch@2.2.0
archive-type@4.0.0
argparse@1.0.10
arr-diff@4.0.0
arr-flatten@1.1.0
arr-union@3.1.0
array-buffer-byte-length@1.0.1
array-each@1.0.1
array-find-index@1.0.2
array-slice@1.1.0
array-union@1.0.2
array-uniq@1.0.3
array-unique@0.3.2
array.prototype.reduce@1.0.7
arraybuffer.prototype.slice@1.0.3
arrify@1.0.1
assign-symbols@1.0.0
async-done@2.0.0
async-settle@2.0.0
available-typed-arrays@1.0.7
bach@2.0.1
balanced-match@1.0.2
base64-js@1.5.1
base@0.11.2
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
binary-extensions@2.3.0
bl@1.2.3
bl@5.1.0
brace-expansion@1.1.11

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
33 Packages, Including:
anymatch@3.1.3
boolbase@1.0.0
cliui@7.0.4
color-support@1.1.3
fastq@1.17.1
fs.realpath@1.0.0
get-caller-file@2.0.5
glob-parent@3.1.0
glob-parent@5.1.2
glob-parent@6.0.2
glob@7.2.3
graceful-fs@4.2.11
hosted-git-info@2.8.9
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
proto-list@1.2.4
pseudomap@1.0.2
remove-trailing-separator@1.1.0
rimraf@2.7.1
sax@1.2.4
semver@5.7.2
semver@6.3.1
signal-exit@3.0.7
which@1.3.1
wrappy@1.0.2
y18n@5.0.8
yallist@2.1.2
yargs-parser@20.2.9

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
10 Packages, Including:
css-select@2.1.0
css-what@3.4.2
domelementtype@1.3.1
domelementtype@2.3.0
domutils@1.7.0
entities@2.2.0
esprima@4.0.1
http-cache-semantics@3.8.1
normalize-package-data@2.5.0
nth-check@1.0.2

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
5 Packages, Including:
duplexer3@0.1.5
ieee754@1.2.1
source-map@0.5.7
source-map@0.6.1
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
4 Packages, Including:
bare-events@2.2.2
spdx-correct@3.2.0
tunnel-agent@0.6.0
validate-npm-package-license@3.0.4

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
3 Packages, Including:
mdn-data@2.0.14
mdn-data@2.0.4
spdx-license-ids@3.0.17

(MIT OR Apache-2.0)

Permissive
1 Packages, Including:
atob@2.1.2

BSD

Invalid
Not OSI Approved
1 Packages, Including:
glob-to-regexp@0.3.0

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

12
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
chalk2.4.29.63 kBMIT
prod optional
fancy-log1.3.32.65 kBMIT
prod
gulp5.0.010.95 kBMIT
prod peer
imagemin-gifsicle6.0.12.13 kBMIT
prod optional
2
imagemin-jpegtran6.0.01.98 kBMIT
prod optional
2
imagemin-optipng6.0.02.31 kBMIT
prod optional
2
imagemin-svgo7.1.01.63 kBMIT
prod optional
2
2
imagemin6.1.02.59 kBMIT
prod
5
1
plugin-error1.0.14.3 kBMIT
prod
plur3.1.12.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.