carlitoplatanito / gulp-nunjucks-render

[Gulp](https://github.com/wearefractal/gulp) plugin to render [Nunjucks](http://mozilla.github.io/nunjucks/) templates
149 stars 33 forks source link

Fix TypeError:"_.defaultsDeep is not a function"(lodash) #53

Closed pvlv closed 7 years ago

pvlv commented 8 years ago

This happens when in the project has another plugin use lodash <= 3.3.0 < v.3.10.0

Example: gulp-nunjucks-render - in dep lodash ^v.3.3.0 <foo-gulp-plugin> - in dep lodash =v.3.5.0 | V npm install lodash v.3.5.0

But defaultsDeep was added in version 3.10.0 => TypeError _.defaultsDeep is not a function

pvlv commented 8 years ago

It fixed https://github.com/carlosl/gulp-nunjucks-render/issues/52

carlitoplatanito commented 7 years ago

Reviewing issues and pull requests today, sorry for delay.