npm / npm-registry-client

http://npm.im/npm-registry-client
ISC License
264 stars 108 forks source link

Fix for increased readability of "404 'artifactory' is not in the npm registry" #156

Closed tjcannon closed 7 years ago

tjcannon commented 7 years ago

Fix: change decodeURIComponent call in request.js to print end of string (past last /) as package name for readability when using default or custom repositories.

tjcannon commented 7 years ago

I've been looking around at some of the comments and issues, and I'm not sure why accepting the last string using '/' as a delimiter isn't the best way to approach this. If I'm wrong, please let me know what other kinds of situations might exist in which the URL would be formed differently. Thank you!

iarna commented 7 years ago

158 was released in v8.4.0 as f095e58.