Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Gtasby-Plugin-Sharp@1.6.44] deprecated Gulp-Util dependancy #5513

Closed
tomVlt opened this issue May 22, 2018 · 4 comments · Fixed by #10379
Closed

[Gtasby-Plugin-Sharp@1.6.44] deprecated Gulp-Util dependancy #5513

tomVlt opened this issue May 22, 2018 · 4 comments · Fixed by #10379
Labels
help wanted Issue with a clear description that the community can help with. type: maintenance An issue or pull request describing a change that isn't a bug, feature or documentation change

Comments

@tomVlt
Copy link

tomVlt commented May 22, 2018

Description

When installing plugin "gatsby-plugin-sharp" npm CLI warn on deprecated "gulp-util@3.0.8" dependancy.
Answer might be here : https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5

Steps to reproduce

npm i --save gatsby-plugin-sharp

Expected result

The plugin is still installing and working fine. However it may contains vulnerabilities due to decrepated dependancy.

Actual result

npm WARN deprecated gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5

$ npm ls gulp-util
gatsby-starter-default@1.0.0 C:\ [my_own_path]
-- gatsby-plugin-sharp@1.6.44 -- imagemin-pngquant@5.0.1
-- pngquant-bin@3.1.1 -- bin-build@2.2.0
-- download@4.4.3 -- gulp-decompress@1.2.0
`-- gulp-util@3.0.8

Environment

  • Gatsby version (npm list gatsby): v1.9.250
  • gatsby-cli version (gatsby --version): v1.1.52
  • Node.js version: v8.11.1
  • Operating System: windows

File contents (if changed)

gatsby-config.js: N/A
package.json: N/A
gatsby-node.js: N/A
gatsby-browser.js: N/A
gatsby-ssr.js: N/A

@pieh pieh added the type: maintenance An issue or pull request describing a change that isn't a bug, feature or documentation change label May 29, 2018
@pieh
Copy link
Contributor

pieh commented May 29, 2018

We have pinned imagemin-pngquant version in #4915 , because there seems to be issues with 5.1.0 - not sure if they are still relevant - could you investigate if it's safe to update that package (and which hopefuly would get rid of deprecation warning)?

@m-allanson m-allanson added the help wanted Issue with a clear description that the community can help with. label May 31, 2018
@leptest
Copy link

leptest commented Aug 5, 2018

Looks like this might be fixed now. imagemin-pngquant@6.0.0 upgraded the pngquant-bin dependency to 5.0.0 which seems to address the problem: https://github.com/imagemin/pngquant-bin/commits/master.

pngquant-bin diff v4.0.0-v5.0.0

Sorry i can't fully test this, but definitely worth another look now @tomVlt or @pieh

@KyleAMathews
Copy link
Contributor

Due to the high volume of issues, we're closing out older ones without recent activity. Please open a new issue if you need help!

@JustFly1984
Copy link

Still having this issue npm WARN deprecated gulp-util@3.0.8: gulp-util is deprecated

screenshot 2018-11-23 22 44 44

Please reopen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Issue with a clear description that the community can help with. type: maintenance An issue or pull request describing a change that isn't a bug, feature or documentation change
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants