Skip to content
This repository was archived by the owner on Aug 11, 2021. It is now read-only.

Fix adduser command option #147

Closed
wants to merge 1 commit into from
Closed

Conversation

sisidovski
Copy link
Contributor

@sisidovski sisidovski commented Dec 4, 2016

Hi

After this commit fc7b81b , adduser command does not work in my environment. I'm using private npm registry. Inside lib/request.js, it looks checking the value existence of params.authed and adding authed param to option variable. Inside lib/adduser.js, it refers same object to send request. So last request gets error because options has already authed param (this request fails). I updated to copy this object.

@othiym23 othiym23 added the review label Dec 4, 2016
@iarna
Copy link
Contributor

iarna commented Dec 7, 2016

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.

@iarna
Copy link
Contributor

iarna commented Dec 7, 2016

And it's merged and in v7.4.3, thank you again.

@iarna iarna closed this Dec 7, 2016
@iarna iarna removed the review label Dec 7, 2016
@sisidovski
Copy link
Contributor Author

Thank you for your work! We use this module directly to automate npm publish and need to use this as Node API 😃

iarna added a commit to npm/npm that referenced this pull request Dec 9, 2016
Fix a bug in fetch where errors on the request object that came after the
response object had been emitted could result in duplicate callbacks and
suppressed error conditions.  Ultimately this translates to fixing shasum
mismatches in `npm` when they were associated with an `ECONNRESET` or other
network error.

PR-URL: npm/npm-registry-client#139
Fixes: #14626
Credit: @iarna

Add support for sending anonymous cli metrics.

PR-URL: npm/npm-registry-client#148

Fix support for sending anonymous cli metrics.

Credit: @sisidovski
PR-URL: npm/npm-registry-client#147
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants