Re:Survey of popular Node.js packages reveals credential leaks
by driverdan on Sunday December 06, 2015 @11:24PM
(#10687987)
Like most dotfiles it starts in the current directory and works its way up. Unless npm as changed, the default location for .npmrc is your home directory. You have to actively store the file in the repo.
Re:Survey of popular Node.js packages reveals credential leaks
by deadowl on Monday December 07, 2015 @09:01AM
(#10689421)
This is what I'm not understanding about this. How in the world do you make the mistake of storing credential files in a repo? And this seems to be beyond people not making template files for configs. Then again, I don't know anything about NodeJS packaging.
PHP's package repository, Packagist, doesn't have this problem because it's in the browser. You never enter or store any credentials on the command-line, you click a button on the Packagist site and it tracks your already-published GitHub repository.