{"action":"created","issue":{"url":"https://api.github.com/repos/sillero/registry-resolve/issues/2","repository_url":"https://api.github.com/repos/sillero/registry-resolve","labels_url":"https://api.github.com/repos/sillero/registry-resolve/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/sillero/registry-resolve/issues/2/comments","events_url":"https://api.github.com/repos/sillero/registry-resolve/issues/2/events","html_url":"https://github.com/sillero/registry-resolve/pull/2","id":173631067,"number":2,"title":"Add 'full' option to get all package details not just version number.","user":{"login":"wmhilton","id":587740,"avatar_url":"https://avatars.githubusercontent.com/u/587740?v=3","gravatar_id":"","url":"https://api.github.com/users/wmhilton","html_url":"https://github.com/wmhilton","followers_url":"https://api.github.com/users/wmhilton/followers","following_url":"https://api.github.com/users/wmhilton/following{/other_user}","gists_url":"https://api.github.com/users/wmhilton/gists{/gist_id}","starred_url":"https://api.github.com/users/wmhilton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wmhilton/subscriptions","organizations_url":"https://api.github.com/users/wmhilton/orgs","repos_url":"https://api.github.com/users/wmhilton/repos","events_url":"https://api.github.com/users/wmhilton/events{/privacy}","received_events_url":"https://api.github.com/users/wmhilton/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-28T05:51:06Z","updated_at":"2016-08-30T00:28:11Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/sillero/registry-resolve/pulls/2","html_url":"https://github.com/sillero/registry-resolve/pull/2","diff_url":"https://github.com/sillero/registry-resolve/pull/2.diff","patch_url":"https://github.com/sillero/registry-resolve/pull/2.patch"},"body":"Hi sillero,\r\nWould you be interested in this 'full' option? It returns the full json description rather than just the version. I'm using it because in addition to knowing what version number, I want to know tarball and shasum.\r\n\r\nExample:\r\n\r\n    // For version ranges, we need to do a network request to resolve.\r\n    // Also, get the tarball_url and checksum\r\n    let v = yield resolve({\r\n      name: m.urlsafe_fullname,\r\n      version: m.version,\r\n      registry: 'http://registry.npmjs.org',\r\n      full: true\r\n    })\r\n    m.exact_version = v.version\r\n    m.tarball_sha = v.dist.shasum\r\n    m.tarball_url = v.dist.tarball\r\n\r\nIt's backwards compatible, because if you don't include `full: true` then it works just as before."},"comment":{"url":"https://api.github.com/repos/sillero/registry-resolve/issues/comments/243298282","html_url":"https://github.com/sillero/registry-resolve/pull/2#issuecomment-243298282","issue_url":"https://api.github.com/repos/sillero/registry-resolve/issues/2","id":243298282,"user":{"login":"sillero","id":628355,"avatar_url":"https://avatars.githubusercontent.com/u/628355?v=3","gravatar_id":"","url":"https://api.github.com/users/sillero","html_url":"https://github.com/sillero","followers_url":"https://api.github.com/users/sillero/followers","following_url":"https://api.github.com/users/sillero/following{/other_user}","gists_url":"https://api.github.com/users/sillero/gists{/gist_id}","starred_url":"https://api.github.com/users/sillero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sillero/subscriptions","organizations_url":"https://api.github.com/users/sillero/orgs","repos_url":"https://api.github.com/users/sillero/repos","events_url":"https://api.github.com/users/sillero/events{/privacy}","received_events_url":"https://api.github.com/users/sillero/received_events","type":"User","site_admin":false},"created_at":"2016-08-30T00:28:11Z","updated_at":"2016-08-30T00:28:11Z","body":"This is a great addition @wmhilton :)\r\nMerging and updating the Readme"}}
{"actor":{"display_login":"sillero"}}