Home > Software engineering >  Installed Node.js and Terminal says I have vulnerabilities
Installed Node.js and Terminal says I have vulnerabilities

Time:03-09

I am using Sublime Text. I have installed the Linter package and the ccslint and htmllint. To install the last two I have had to install Node.js on my Mac.

The CSS and HTML linters appear to work fine in Sublime.

However, when I installed the htmllint by typing the following into Terminal

sudo npm install -g htmlhint@latest

I get the following worrying message in Terminal:

enter image description here

In Terminal I’ve typed in and pressed enter:

npm audit fix --force

I get the following

enter image description here

When I installed Node I got the following message, which I don’t understand and have not done anything with. Is this connected with the vulnerabilities? And if so, what do I do?

enter image description here

Help!

CodePudding user response:

The package you installed has vulnerabilities. The maintainers need to update it or it will stay like this. You could of course update their dependency list but stuff might break!

CodePudding user response:

There is not vulnerability report of NodeJS. The vulnerability report if for installed package htmlhint@latest. Take on mind, you will get a well known vulnerability report of all your scope package, every time you install a new one.

If you want to know more about these vulnerabilities run: npm audit without the fix command. Contact the maintainer package in order to get an update.

  • Related