gulp-sharp icon indicating copy to clipboard operation
gulp-sharp copied to clipboard

Bump sharp dependency (fix build issues)

Open strarsis opened this issue 9 years ago • 5 comments

Recent sharp (v0.15.0) builds successfully on Windows 10 x64. However, this package requires sharp package version v0.12.* which fails to build.

Additionally, a deprecation warning for sharp 0.12.2 is shown during the failling build:

[...]
npm WARN deprecated [email protected]: CVE-2016-3714 https://github.com/lovell/sharp/issues/424
[...]

Bumping the sharp package required version to its latest release should resolve the build issue.

strarsis avatar Jun 20 '16 00:06 strarsis

yeah I would love to see this fixed

davidbfrogman avatar Jun 28 '16 04:06 davidbfrogman

@strarsis do you know how to manually fix it in an override in package.json?

davidbfrogman avatar Jun 28 '16 04:06 davidbfrogman

@davidbfrogman You could use one of the forks with sharp dependency version fixed and npm-install directly from Github:

npm install --save romangetman/gulp-sharp

Alternatively, search for a fork published on npm or even publish as npm package on your own. Note: According to its README, this project is no longer maintained anymore.

strarsis avatar Jun 28 '16 11:06 strarsis

FYI, I will most likely be keeping my own personal fork pretty up to date, as this is a pretty critical part of my build process. If someone's looking for a working build of this: https://github.com/davidbfrogman/gulp-sharp

davidbfrogman avatar Aug 27 '16 09:08 davidbfrogman

Mine too https://github.com/thierryc/gulp-sharp

#13

install NPM

npm install git+ssh://[email protected]/thierryc/gulp-sharp.git --save 

thierryc avatar Aug 03 '17 17:08 thierryc