Closed sisidovski closed 7 years ago
Hey, I was curious how you ended up using the most recent version of npm-registry-client
? It's not actually used by any version ofnpm
itself.
Regardless, thanks for catching this! I'm bringing it in and doing a patch release now.
And it's merged and in v7.4.3, thank you again.
Thank you for your work! We use this module directly to automate npm publish
and need to use this as Node API 😃
Hi
After this commit https://github.com/npm/npm-registry-client/commit/fc7b81be395bef9ff45d3929b8154b50f0015d21 ,
adduser
command does not work in my environment. I'm using private npm registry. Insidelib/request.js
, it looks checking the value existence ofparams.authed
and addingauthed
param tooption
variable. Insidelib/adduser.js
, it refers same object to send request. So last request gets error becauseoptions
has alreadyauthed
param (this request fails). I updated to copy this object.