Modernizr: New version is not backwards compatible with older versions of node

Due to the updated package reference of mkdirp this package no longer works with yarn install on node <10. Since this package is referenced as “modernizr”: “^3.5.0” in modernizr-webpack-plugin the breaking change was inherited as this is still version 3.

This was resolved in our application by updating the package.json to include "resolutions": { "modernizr": "3.8.0" }

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 16 (6 by maintainers)

Commits related to this issue

Most upvoted comments

I just released v3.9.1 that reverts the mkdirp dependency change. No need to fork this actively maintained project and hope that the abandoned project switches to that fork…

Well I guess we will disagree if you decide not to follow semver versioning as would be expected of a respectable project. I guess anyone who depends on your project should be extra wary about the way you decide to consume breaking changes from projects you depend on into your own. But hey, the original intent was just to inform you and anyone else who stumbles into this issue. Since you feel you are beyond constructive feedback and are just dismissive then good riddance.