RetireJS/grunt-retire

Issue with defaultIgnoreFiles.find

Lalem001 opened this issue · 1 comments

In tasks/retire.js line 62, you have defaultIgnoreFiles.find, where defaultIgnoreFiles is an array.

Package.json specifies engines.node: ">= 0.8.0" on line 20

Array.prototype.find was not implemented until node@4.0.0.

Would you consider bringing in Paul Miller's Array.prototype.find shim?

Thanks for your contribution. I was lucky enough to get two different pull requests fixing this bug. I prefer to keep the dependency list as small as possible, I therefore accepted and merged #36 instead of this. Since the fix is smaller. This is now fixed in the 1.0.3 release of grunt-retire.