'npm shows vulnerabilities when installing firebase tools
- I already installed node js and when I try to run npm install -g firebase-tools, it shows me this error, and it says run npm audit fix
[#########.........] | reify:setimmediate: timing reifyNode:node_modules/firebase-tools/node_modules/@gar/pronpm WARN deprecated [email protected]: this library is no longer supported npm WARN deprecated [email protected]: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797) npm WARN deprecated [email protected]: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797) npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
changed 637 packages, and audited 638 packages in 59s
34 packages are looking for funding
run npm fund for details
21 vulnerabilities (15 moderate, 6 high)
To address all issues, run: npm audit fix
Run npm audit for details.
- This is the result when I run npm audit fix
up to date, audited 1 package in 456ms
found 0 vulnerabilities
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
