{"action":"created","issue":{"url":"https://api.github.com/repos/npm/npm/issues/14488","repository_url":"https://api.github.com/repos/npm/npm","labels_url":"https://api.github.com/repos/npm/npm/issues/14488/labels{/name}","comments_url":"https://api.github.com/repos/npm/npm/issues/14488/comments","events_url":"https://api.github.com/repos/npm/npm/issues/14488/events","html_url":"https://github.com/npm/npm/issues/14488","id":186615186,"number":14488,"title":"npm unpublish does not consider package.json/publishConfig section","user":{"login":"osher","id":803101,"avatar_url":"https://avatars.githubusercontent.com/u/803101?v=3","gravatar_id":"","url":"https://api.github.com/users/osher","html_url":"https://github.com/osher","followers_url":"https://api.github.com/users/osher/followers","following_url":"https://api.github.com/users/osher/following{/other_user}","gists_url":"https://api.github.com/users/osher/gists{/gist_id}","starred_url":"https://api.github.com/users/osher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osher/subscriptions","organizations_url":"https://api.github.com/users/osher/orgs","repos_url":"https://api.github.com/users/osher/repos","events_url":"https://api.github.com/users/osher/events{/privacy}","received_events_url":"https://api.github.com/users/osher/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-01T18:50:07Z","updated_at":"2016-11-01T19:50:11Z","closed_at":null,"body":"#### I'm opening this issue because:\r\n  - [x] Other (_see below for feature requests_):\r\n\r\n#### What's going wrong?\r\n\r\n`npm unpublish` does not consider `package.json/publishConfig.registry` key\r\n\r\n#### How can the CLI team reproduce the problem?\r\n\r\n**Having**\r\n - `npm set registry http://registry.my-corporate.local`\r\n - working on a package with `publishConfig.registry` key point to `  http://registry.npmjs.com`\r\n\r\n**Scenario**\r\n - expect `npm publish` to work as expected and emit `+<the version you just published>`\r\n - run `npm unpublish <the version you just published>`\r\n\r\n**Expect**\r\n- the version to be unpublished, and npm to emit `-<the version you just unpublished>`\r\n\r\n**Found**\r\n - npm gets stuck for communication error\r\n - note that  `npm unpublish <the version you just published> --registry http://registry.npmjs.com ` works as expected\r\n\r\n### supporting information:\r\n\r\n - `npm -v` prints: `3.10.9`\r\n - `node -v` prints: `v6.9.1`\r\n - `npm config get registry` prints: `<the url to corp proprietary packages repo>`\r\n - OS - Windows 10\r\n - Network issues:\r\n   - Geographic location where npm was run:\r\n   - [x] I access the npm registry via a VPN\r\n - Container:\r\n    [x] Irrelevant\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/npm/npm/issues/comments/257674830","html_url":"https://github.com/npm/npm/issues/14488#issuecomment-257674830","issue_url":"https://api.github.com/repos/npm/npm/issues/14488","id":257674830,"user":{"login":"KenanY","id":733364,"avatar_url":"https://avatars.githubusercontent.com/u/733364?v=3","gravatar_id":"","url":"https://api.github.com/users/KenanY","html_url":"https://github.com/KenanY","followers_url":"https://api.github.com/users/KenanY/followers","following_url":"https://api.github.com/users/KenanY/following{/other_user}","gists_url":"https://api.github.com/users/KenanY/gists{/gist_id}","starred_url":"https://api.github.com/users/KenanY/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KenanY/subscriptions","organizations_url":"https://api.github.com/users/KenanY/orgs","repos_url":"https://api.github.com/users/KenanY/repos","events_url":"https://api.github.com/users/KenanY/events{/privacy}","received_events_url":"https://api.github.com/users/KenanY/received_events","type":"User","site_admin":false},"created_at":"2016-11-01T19:50:11Z","updated_at":"2016-11-01T19:50:11Z","body":"Shoot, I thought this was fixed by https://github.com/npm/npm/pull/8013? /cc @watilde"}}
{"actor":{"display_login":"KenanY"}}