Open
Description
Feature Request Checklist
- I have read and agree to Mocha's Code of Conduct and Contributing Guidelines
- I have searched for related issues and issues with the
faq
label, but none matched my issue. - I want to provide a PR to resolve this
Overview
mocha uses glob@8.1.0 which is not supported and also depends on inflight which is also not supported (any version).
$ mkdir mochatest
$ cd mochatest
$ npm install mocha
npm warn deprecated inflight@1.0.6: 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 glob@8.1.0: Glob versions prior to v9 are no longer supported
...
I do realise it's been reported in #4988 but I'm not reporting it as security vulnerability but feature request.
It would be nice not to have these warnings. Especially that a lot of packages depend on mocha (like appium from which I came).
Suggested Solution
Updating glob dependency to v9.0.0 or maybe even v10.4.1.
Alternatives
Leave glob v8.1.0 which is no longer supported and ignore warnings.
Additional Info
https://www.npmjs.com/package/inflight
https://www.npmjs.com/package/glob/v/8.1.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment