-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[email protected] used in Mocha is creating deprecation warnings #4533
Comments
it looks from the issue that it should only affect those who are using unsanitized input from a user |
Like the following? |
I believe we don't use debug team said like:
https://github.com/mochajs/mocha/blob/v8.2.1/lib/cli/cli.js#L38 doesn't look that case. |
Not sure why this was closed. The deprecation message is still shown when installing mocha, security vulnerability or not. |
@outsideris The issue isn't necessarily that there might be an open attack vector in mocha. The issue is an out-of-the-box Warning popping up that Mocha is using deprecated and vulnerable dependencies. We can not ship code to clients if the first thing that they see during the deployment is a warning about the usage of deprecated software with known vulnerabilities. Can you please reopen this issue and resolve it when the version of debug has been updated? Thank you! |
Installation time its getting above same kind error with Loopback framework. |
I've closed it because I can't find an attack vector in real and we cannot release new versions right after upgrading debug module. |
closed by #4556 |
Prerequisites
faq
labelnode node_modules/.bin/mocha --version
(Local) andmocha --version
(Global). We recommend that you not install Mocha globally.Description
When adding Mocha to a project for the first time or regenerating package-json for a project, the following warning appears:
Steps to Reproduce
Expected behavior: [What you expect to happen]
npm adds mocha to the project without any deprecation warning.
Actual behavior: [What actually happens]
Reproduces how often: [What percentage of the time does it reproduce?]
100%
Versions
8.2.1
mocha --version
andnode node_modules/.bin/mocha --version
: 8.2.1 (local) , no global version installednode --version
: v12.20.0The text was updated successfully, but these errors were encountered: