imagemin-webp
Advanced tools
Comparing version 5.0.0 to 5.1.0
@@ -74,2 +74,6 @@ 'use strict'; | ||
if (opts.metadata) { | ||
args.push('-metadata', Array.isArray(opts.metadata) ? opts.metadata.join(',') : opts.metadata); | ||
} | ||
args.push('-o', execBuffer.output, execBuffer.input); | ||
@@ -76,0 +80,0 @@ |
{ | ||
"name": "imagemin-webp", | ||
"version": "5.0.0", | ||
"version": "5.1.0", | ||
"description": "WebP imagemin plugin", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -1,2 +0,2 @@ | ||
# imagemin-webp [![Build Status](https://travis-ci.org/imagemin/imagemin-webp.svg?branch=master)](https://travis-ci.org/imagemin/imagemin-webp) [![Build status](https://ci.appveyor.com/api/projects/status/erd3nf73djfm4gjp?svg=true)](https://ci.appveyor.com/project/ShinnosukeWatanabe/imagemin-webp) | ||
# imagemin-webp [![Build Status](https://travis-ci.org/imagemin/imagemin-webp.svg?branch=master)](https://travis-ci.org/imagemin/imagemin-webp) | ||
@@ -124,2 +124,10 @@ > WebP [imagemin](https://github.com/imagemin/imagemin) plugin | ||
##### metadata | ||
Type: `string | string[]`<br> | ||
Default: `none`<br> | ||
Values: `all` `none` `exif` `icc` `xmp` | ||
A list of metadata to copy from the input to the output if present. | ||
#### buffer | ||
@@ -126,0 +134,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
6209
68
142
0