gulp-community / gulp-footer

Gulp extension to add a footer to file(s) in the pipeline
MIT License
9 stars 9 forks source link

Replaced event-stream with direct dependency #13

Closed Basa0 closed 5 years ago

Basa0 commented 5 years ago

es.map is a direct use of the map-stream package

simonua commented 5 years ago

This solution fixes #11 in a more elegant way rather than pinning a specific version of event-stream.

simonua commented 5 years ago

Hi @tracker1, if you can review and complete this PR, we can immediately use it in gulp-angular-templatecache#168.

Thank you!

DanielRuf commented 5 years ago

It's from the same author so it makes not much difference. But the real difference is, that event-stream is now owned by npmjs so there is a less risk, that something happens.

tracker1 commented 5 years ago

I'll try and look through this tomorrow evening... Will probably pin the version as suggested for a patch release, then do a full version release with the dependency change. Other input welcome.

simonua commented 5 years ago

@tracker1, awesome! Pinning the version in the interim gives us the assurance we need for gulp-angular-templatecache. I'll stay tuned for an updated package and will subsequently complete the aforementioned PR. Thanks very much!

@DanielRuf, you have a very good point regarding npm ownership, I think. That lends immediate credibility. One approach is not necessarily better than the other, but what made me favor getting rid of event-stream entirely are these thoughts:

simonua commented 5 years ago

Hi @tracker1, have you had a chance to look at this yet, please?

Thank you!

tracker1 commented 5 years ago

Published gulp-footer@2.0.2

tracker1 commented 5 years ago

@simonua @Basa0 @DanielRuf Sorry for the delay, this had slipped my mind.

simonua commented 5 years ago

No problem at all, @tracker1! Appreciate your time and follow-up. Thank you!