BackstopJS icon indicating copy to clipboard operation
BackstopJS copied to clipboard

npm warn deprecated [email protected]: This module is not supported, and leaks memory. Do not use it.

Open AlexKeySmith opened this issue 1 year ago • 2 comments

There is a bunch of warnings for deprecated dependencies:

npm warn deprecated [email protected]: Rimraf versions prior to v4 are no longer supported
npm warn deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm warn deprecated [email protected]: The package has been renamed to `open`

Seeing the warnings and spotting the last release being 2020, it's a little worrying for new adopters, particularly if there were a vulnerability in a package. Is BackstopJS still activity maintained? It looks good so I'm hoping it is!

AlexKeySmith avatar Oct 17 '24 14:10 AlexKeySmith

Hi @AlexKeySmith, Yes, Backstop is generally maintained, but we mostly make fixes only for critical issues. You are welcome to bump/cleanup dependencies etc. I am happy to bring those in.

garris avatar Oct 17 '24 15:10 garris

Thanks @garris that's good to know.

I'll have a play with the dependencies when I get a moment.

As a new-potential contributor do you sense that the smoke-tests will give good coverage over those dependency changes? Or are there areas I should focus on for an exploratory test as well?

AlexKeySmith avatar Oct 18 '24 09:10 AlexKeySmith