generator-hubot icon indicating copy to clipboard operation
generator-hubot copied to clipboard

Update yeoman-generator dependency to 0.18.10 or higher

Open dankingtech opened this issue 5 years ago • 0 comments

Currently, this package uses a very outdated version of yeoman-generator, 0.17.0. That version contains a further dependency on an outdated version of cheerio, which depends on several outdated packages, which generate warnings such as the following:

npm WARN deprecated [email protected]: the module is now available as 'css-select'
npm WARN deprecated [email protected]: the module is now available as 'css-what'
npm WARN deprecated [email protected]: no longer maintained
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue

That dependency was removed in yeoman-generator version 0.18.10: https://github.com/yeoman/generator/commit/98f3ab1b7a7e225a88f485ee3cf5e21d45e66087#diff-b9cfc7f2cdf78a7f4b91a753d10865a2

The current version is now 4.0.2. It may simply need a version bump, but at that much difference, it might also need some adjustments to the code as well. At least moving to version 0.18.10 should remove the warnings and potential issues.

dankingtech avatar Sep 05 '19 02:09 dankingtech