I noticed something in the Palette Manager and I wonder if it should be shown to users.
When you install a module, Node-RED runs npm install for you.
Sometimes a node has a dependency that is downloaded from another website, not from the npm registry.
For example, node-red-contrib-modbus currently has this dependency in its package.json:
So during installation, this file is downloaded from dl.cloudsmith.io.
I am not saying this is bad or unsafe. node-red-contrib-modbus is only an easy example.
My point is about transparency.
Many users just click Install and do not know that the installation may also download files from another website.
Maybe Palette Manager could show a small message like:
“This module also downloads a dependency from xyz web”
Another option could be an extra confirmation before installation:
“This module will also download a dependency from xyz web. Continue?”
This would let the user see where files are coming from before the installation starts.
It could also help when an installation fails because a company network blocks that website, or the machine has limited internet access.
I am not suggesting that external dependencies should be blocked or treated as unsafe.
I just think it could be useful for the user to know what is being downloaded and from where.
What do you think? Would this information be useful in the Palette Manager?