html-critical-webpack-plugin
html-critical-webpack-plugin copied to clipboard
Update critical dependency?
Any chance you might update the dependency to critical to ^2.0.0
?
https://github.com/addyosmani/critical/blob/master/package.json#L3
Can take a look, not sure what breaking changes there are. I notice it is at 2.0.0-18
, does that mean it is still in pre-release? Or just a custom versioning scheme?
I would add, we have Continuous Integration in place, so no harm in opening a PR if you feel up for it and we can see how that goes! 👍
Primary motivation is that older versions of Critical rely on packages that have security vulnerabilities.
Why it is still not updated?
Maybe I can look into this soon, but PRs are also welcome. 👍
There is a PR for this here https://github.com/anthonygore/html-critical-webpack-plugin/pull/48 but it was not merged yet.
FWIW, a drop-in replacement would be to use this one: https://github.com/lili21/critical-css-webpack-plugin
...which has been updated to use
"critical": "^2.0.0"