question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Update critical dependency?

See original GitHub issue

Any chance you might update the dependency to critical to ^2.0.0?

https://github.com/addyosmani/critical/blob/master/package.json#L3

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:7
  • Comments:7

github_iconTop GitHub Comments

1reaction
khalwatcommented, Dec 27, 2020

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"
0reactions
jmartschcommented, Dec 27, 2020

There is a PR for this here https://github.com/anthonygore/html-critical-webpack-plugin/pull/48 but it was not merged yet.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Update NPM Dependencies - freeCodeCamp
Here's a workflow that helps me stay on top of updates: first, discover which packages need to be updated and how far behind...
Read more >
Updating the Dependencies
Failure to update dependencies makes your product increasingly difficult to maintain and it can bring security risks.
Read more >
Fixing security vulnerabilities in npm dependencies in less ...
Solution. Solution to this problem is in steps:- npm update. This is the first thing you should do and it's the simplest one...
Read more >
How to update a Node dependency - NPM? - Mario Kandut
Keeping dependencies up-to-date is important, to get the latest security fixes, performance improvements, and general bug fixes for the ...
Read more >
Secure at every step: Show your dependencies some love ...
Keep dependencies up to date, to make sure you can quickly apply a patch when it really matters - when there's a critical...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found