5 ms·
why not use artrifactory or similar proxy so you always have a local mirror?
by jimmyspice 6y ago
why not use artrifactory or similar proxy so you always have a local mirror?
- nikisweeting 6y agoThat seems like a mediocre patch for a problem that wouldn't exist in the first place if you used a centralized package manager.
- wperron 6y agoto be fair, you _should_ probably already be proxying npm and importing from an internal domain (same would be true in any language, really) The truth is, even with a centralized repository, we're still importing user-code, made by humans that may not be well intentioned or simply not know that their code is vulnerable: proxying within your network and running periodic checks against the content of the local cache would be good practice, no where the code came from