kotas / gulp-expect-file

gulp.js plugin for expectation on files in pipe
25 stars 5 forks source link

gulp-util replacement #5

Open rafaelbernard opened 6 years ago

rafaelbernard commented 6 years ago

Hi!

gul-util is outdated and they are asking the community to fix old dependencies (https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5).

May you replace gulp-util dependency? They suggest the following API replacements:

gutil.File => https://www.npmjs.com/package/vinyl
gutil.replaceExtension => The .extname property on Vinyl objects or https://www.npmjs.com/package/replace-ext
gutil.colors => https://www.npmjs.com/package/ansi-colors
gutil.date => https://www.npmjs.com/package/date-format
gutil.log => https://www.npmjs.com/package/fancy-log
gutil.template => https://www.npmjs.com/package/lodash.template
gutil.env => https://www.npmjs.com/package/minimist
gutil.beep => https://www.npmjs.com/package/beeper
gutil.noop => https://www.npmjs.com/package/through2
gutil.isStream => Use the .isStream() method on Vinyl objects
gutil.isBuffer => Use the .isBuffer() method on Vinyl objects
gutil.isNull => Use the .isNull() method on Vinyl objects
gutil.linefeed => Use the string '\n' in your code
gutil.combine => https://www.npmjs.com/package/multipipe
gutil.buffer => https://www.npmjs.com/package/list-stream
gutil.PluginError => https://www.npmjs.com/package/plugin-error
pioug commented 6 years ago

Hello @rafaelbernard, I took the ownership of the npm package via the dispute resolution. I just published a v1.0.0 with my fork (https://github.com/kotas/gulp-expect-file/compare/master...pioug:master). Tell me if you want to be a contributor, I can invite you on GitHub and npm.