{"action":"created","comment":{"url":"https://api.github.com/repos/nodesecurity/nsp/pulls/comments/28639508","id":28639508,"diff_hunk":"@@ -152,30 +154,17 @@ function auditPackage(pkgPath, cb) {\n                 return cb2(null);\n             }\n \n-            registry.get(dependencyName, dependencyVersion,\n+            registry.get(registryBaseURL + dependencyName + '/' + dependencyVersion, {timeout: 5000},","path":"lib/auditPackage.js","position":21,"original_position":21,"commit_id":"927f623b7f00d4ef7630e8378f81b8299b217888","original_commit_id":"927f623b7f00d4ef7630e8378f81b8299b217888","user":{"login":"chetanddesai","id":1682406,"avatar_url":"https://avatars.githubusercontent.com/u/1682406?v=3","gravatar_id":"","url":"https://api.github.com/users/chetanddesai","html_url":"https://github.com/chetanddesai","followers_url":"https://api.github.com/users/chetanddesai/followers","following_url":"https://api.github.com/users/chetanddesai/following{/other_user}","gists_url":"https://api.github.com/users/chetanddesai/gists{/gist_id}","starred_url":"https://api.github.com/users/chetanddesai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chetanddesai/subscriptions","organizations_url":"https://api.github.com/users/chetanddesai/orgs","repos_url":"https://api.github.com/users/chetanddesai/repos","events_url":"https://api.github.com/users/chetanddesai/events{/privacy}","received_events_url":"https://api.github.com/users/chetanddesai/received_events","type":"User","site_admin":false},"body":"This get API has changed from `npm-registry-client@0.2.31` to `npm-registry-client@6.3.2`.  It now takes a fully qualified URI.  However, it returns the latest version that it resolves, e.g. https://registry.npmjs.org/qs/^0.5 will resolve correctly.  Thus, I was able to rip out a bunch of code that does the `semver.maxSatisfying()` work.  Pretty neat.","created_at":"2015-04-18T00:49:31Z","updated_at":"2015-04-18T00:49:31Z","html_url":"https://github.com/nodesecurity/nsp/pull/73#discussion_r28639508","pull_request_url":"https://api.github.com/repos/nodesecurity/nsp/pulls/73","_links":{"self":{"href":"https://api.github.com/repos/nodesecurity/nsp/pulls/comments/28639508"},"html":{"href":"https://github.com/nodesecurity/nsp/pull/73#discussion_r28639508"},"pull_request":{"href":"https://api.github.com/repos/nodesecurity/nsp/pulls/73"}}},"pull_request":{"url":"https://api.github.com/repos/nodesecurity/nsp/pulls/73","id":33493538,"html_url":"https://github.com/nodesecurity/nsp/pull/73","diff_url":"https://github.com/nodesecurity/nsp/pull/73.diff","patch_url":"https://github.com/nodesecurity/nsp/pull/73.patch","issue_url":"https://api.github.com/repos/nodesecurity/nsp/issues/73","number":73,"state":"open","locked":false,"title":"Update semver to >=4.3.2 to resolve #72","user":{"login":"chetanddesai","id":1682406,"avatar_url":"https://avatars.githubusercontent.com/u/1682406?v=3","gravatar_id":"","url":"https://api.github.com/users/chetanddesai","html_url":"https://github.com/chetanddesai","followers_url":"https://api.github.com/users/chetanddesai/followers","following_url":"https://api.github.com/users/chetanddesai/following{/other_user}","gists_url":"https://api.github.com/users/chetanddesai/gists{/gist_id}","starred_url":"https://api.github.com/users/chetanddesai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chetanddesai/subscriptions","organizations_url":"https://api.github.com/users/chetanddesai/orgs","repos_url":"https://api.github.com/users/chetanddesai/repos","events_url":"https://api.github.com/users/chetanddesai/events{/privacy}","received_events_url":"https://api.github.com/users/chetanddesai/received_events","type":"User","site_admin":false},"body":"I generated a new `npm-shrinkwrap.json`.  If you guys want, I can just manually edit it and change only the `semver` dependency.","created_at":"2015-04-16T21:16:04Z","updated_at":"2015-04-18T00:49:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"de040c4229c22a98b563e0a58610d4f838aad599","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/nodesecurity/nsp/pulls/73/commits","review_comments_url":"https://api.github.com/repos/nodesecurity/nsp/pulls/73/comments","review_comment_url":"https://api.github.com/repos/nodesecurity/nsp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nodesecurity/nsp/issues/73/comments","statuses_url":"https://api.github.com/repos/nodesecurity/nsp/statuses/927f623b7f00d4ef7630e8378f81b8299b217888","head":{"label":"chetanddesai:master","ref":"master","sha":"927f623b7f00d4ef7630e8378f81b8299b217888","user":{"login":"chetanddesai","id":1682406,"avatar_url":"https://avatars.githubusercontent.com/u/1682406?v=3","gravatar_id":"","url":"https://api.github.com/users/chetanddesai","html_url":"https://github.com/chetanddesai","followers_url":"https://api.github.com/users/chetanddesai/followers","following_url":"https://api.github.com/users/chetanddesai/following{/other_user}","gists_url":"https://api.github.com/users/chetanddesai/gists{/gist_id}","starred_url":"https://api.github.com/users/chetanddesai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chetanddesai/subscriptions","organizations_url":"https://api.github.com/users/chetanddesai/orgs","repos_url":"https://api.github.com/users/chetanddesai/repos","events_url":"https://api.github.com/users/chetanddesai/events{/privacy}","received_events_url":"https://api.github.com/users/chetanddesai/received_events","type":"User","site_admin":false},"repo":{"id":27403373,"name":"nsp","full_name":"chetanddesai/nsp","owner":{"login":"chetanddesai","id":1682406,"avatar_url":"https://avatars.githubusercontent.com/u/1682406?v=3","gravatar_id":"","url":"https://api.github.com/users/chetanddesai","html_url":"https://github.com/chetanddesai","followers_url":"https://api.github.com/users/chetanddesai/followers","following_url":"https://api.github.com/users/chetanddesai/following{/other_user}","gists_url":"https://api.github.com/users/chetanddesai/gists{/gist_id}","starred_url":"https://api.github.com/users/chetanddesai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chetanddesai/subscriptions","organizations_url":"https://api.github.com/users/chetanddesai/orgs","repos_url":"https://api.github.com/users/chetanddesai/repos","events_url":"https://api.github.com/users/chetanddesai/events{/privacy}","received_events_url":"https://api.github.com/users/chetanddesai/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chetanddesai/nsp","description":"","fork":true,"url":"https://api.github.com/repos/chetanddesai/nsp","forks_url":"https://api.github.com/repos/chetanddesai/nsp/forks","keys_url":"https://api.github.com/repos/chetanddesai/nsp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chetanddesai/nsp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chetanddesai/nsp/teams","hooks_url":"https://api.github.com/repos/chetanddesai/nsp/hooks","issue_events_url":"https://api.github.com/repos/chetanddesai/nsp/issues/events{/number}","events_url":"https://api.github.com/repos/chetanddesai/nsp/events","assignees_url":"https://api.github.com/repos/chetanddesai/nsp/assignees{/user}","branches_url":"https://api.github.com/repos/chetanddesai/nsp/branches{/branch}","tags_url":"https://api.github.com/repos/chetanddesai/nsp/tags","blobs_url":"https://api.github.com/repos/chetanddesai/nsp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chetanddesai/nsp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chetanddesai/nsp/git/refs{/sha}","trees_url":"https://api.github.com/repos/chetanddesai/nsp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chetanddesai/nsp/statuses/{sha}","languages_url":"https://api.github.com/repos/chetanddesai/nsp/languages","stargazers_url":"https://api.github.com/repos/chetanddesai/nsp/stargazers","contributors_url":"https://api.github.com/repos/chetanddesai/nsp/contributors","subscribers_url":"https://api.github.com/repos/chetanddesai/nsp/subscribers","subscription_url":"https://api.github.com/repos/chetanddesai/nsp/subscription","commits_url":"https://api.github.com/repos/chetanddesai/nsp/commits{/sha}","git_commits_url":"https://api.github.com/repos/chetanddesai/nsp/git/commits{/sha}","comments_url":"https://api.github.com/repos/chetanddesai/nsp/comments{/number}","issue_comment_url":"https://api.github.com/repos/chetanddesai/nsp/issues/comments{/number}","contents_url":"https://api.github.com/repos/chetanddesai/nsp/contents/{+path}","compare_url":"https://api.github.com/repos/chetanddesai/nsp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chetanddesai/nsp/merges","archive_url":"https://api.github.com/repos/chetanddesai/nsp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chetanddesai/nsp/downloads","issues_url":"https://api.github.com/repos/chetanddesai/nsp/issues{/number}","pulls_url":"https://api.github.com/repos/chetanddesai/nsp/pulls{/number}","milestones_url":"https://api.github.com/repos/chetanddesai/nsp/milestones{/number}","notifications_url":"https://api.github.com/repos/chetanddesai/nsp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chetanddesai/nsp/labels{/name}","releases_url":"https://api.github.com/repos/chetanddesai/nsp/releases{/id}","created_at":"2014-12-01T22:29:34Z","updated_at":"2015-04-18T00:45:48Z","pushed_at":"2015-04-18T00:45:47Z","git_url":"git://github.com/chetanddesai/nsp.git","ssh_url":"git@github.com:chetanddesai/nsp.git","clone_url":"https://github.com/chetanddesai/nsp.git","svn_url":"https://github.com/chetanddesai/nsp","homepage":"nodesecurity.io","size":187,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"nodesecurity:master","ref":"master","sha":"c650d575c5d53dce7178c31d7d3117fa69d86368","user":{"login":"nodesecurity","id":4229593,"avatar_url":"https://avatars.githubusercontent.com/u/4229593?v=3","gravatar_id":"","url":"https://api.github.com/users/nodesecurity","html_url":"https://github.com/nodesecurity","followers_url":"https://api.github.com/users/nodesecurity/followers","following_url":"https://api.github.com/users/nodesecurity/following{/other_user}","gists_url":"https://api.github.com/users/nodesecurity/gists{/gist_id}","starred_url":"https://api.github.com/users/nodesecurity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nodesecurity/subscriptions","organizations_url":"https://api.github.com/users/nodesecurity/orgs","repos_url":"https://api.github.com/users/nodesecurity/repos","events_url":"https://api.github.com/users/nodesecurity/events{/privacy}","received_events_url":"https://api.github.com/users/nodesecurity/received_events","type":"Organization","site_admin":false},"repo":{"id":17813499,"name":"nsp","full_name":"nodesecurity/nsp","owner":{"login":"nodesecurity","id":4229593,"avatar_url":"https://avatars.githubusercontent.com/u/4229593?v=3","gravatar_id":"","url":"https://api.github.com/users/nodesecurity","html_url":"https://github.com/nodesecurity","followers_url":"https://api.github.com/users/nodesecurity/followers","following_url":"https://api.github.com/users/nodesecurity/following{/other_user}","gists_url":"https://api.github.com/users/nodesecurity/gists{/gist_id}","starred_url":"https://api.github.com/users/nodesecurity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nodesecurity/subscriptions","organizations_url":"https://api.github.com/users/nodesecurity/orgs","repos_url":"https://api.github.com/users/nodesecurity/repos","events_url":"https://api.github.com/users/nodesecurity/events{/privacy}","received_events_url":"https://api.github.com/users/nodesecurity/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nodesecurity/nsp","description":"","fork":false,"url":"https://api.github.com/repos/nodesecurity/nsp","forks_url":"https://api.github.com/repos/nodesecurity/nsp/forks","keys_url":"https://api.github.com/repos/nodesecurity/nsp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nodesecurity/nsp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nodesecurity/nsp/teams","hooks_url":"https://api.github.com/repos/nodesecurity/nsp/hooks","issue_events_url":"https://api.github.com/repos/nodesecurity/nsp/issues/events{/number}","events_url":"https://api.github.com/repos/nodesecurity/nsp/events","assignees_url":"https://api.github.com/repos/nodesecurity/nsp/assignees{/user}","branches_url":"https://api.github.com/repos/nodesecurity/nsp/branches{/branch}","tags_url":"https://api.github.com/repos/nodesecurity/nsp/tags","blobs_url":"https://api.github.com/repos/nodesecurity/nsp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nodesecurity/nsp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nodesecurity/nsp/git/refs{/sha}","trees_url":"https://api.github.com/repos/nodesecurity/nsp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nodesecurity/nsp/statuses/{sha}","languages_url":"https://api.github.com/repos/nodesecurity/nsp/languages","stargazers_url":"https://api.github.com/repos/nodesecurity/nsp/stargazers","contributors_url":"https://api.github.com/repos/nodesecurity/nsp/contributors","subscribers_url":"https://api.github.com/repos/nodesecurity/nsp/subscribers","subscription_url":"https://api.github.com/repos/nodesecurity/nsp/subscription","commits_url":"https://api.github.com/repos/nodesecurity/nsp/commits{/sha}","git_commits_url":"https://api.github.com/repos/nodesecurity/nsp/git/commits{/sha}","comments_url":"https://api.github.com/repos/nodesecurity/nsp/comments{/number}","issue_comment_url":"https://api.github.com/repos/nodesecurity/nsp/issues/comments{/number}","contents_url":"https://api.github.com/repos/nodesecurity/nsp/contents/{+path}","compare_url":"https://api.github.com/repos/nodesecurity/nsp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nodesecurity/nsp/merges","archive_url":"https://api.github.com/repos/nodesecurity/nsp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nodesecurity/nsp/downloads","issues_url":"https://api.github.com/repos/nodesecurity/nsp/issues{/number}","pulls_url":"https://api.github.com/repos/nodesecurity/nsp/pulls{/number}","milestones_url":"https://api.github.com/repos/nodesecurity/nsp/milestones{/number}","notifications_url":"https://api.github.com/repos/nodesecurity/nsp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nodesecurity/nsp/labels{/name}","releases_url":"https://api.github.com/repos/nodesecurity/nsp/releases{/id}","created_at":"2014-03-17T01:07:46Z","updated_at":"2015-04-17T04:51:48Z","pushed_at":"2015-04-18T00:45:48Z","git_url":"git://github.com/nodesecurity/nsp.git","ssh_url":"git@github.com:nodesecurity/nsp.git","clone_url":"https://github.com/nodesecurity/nsp.git","svn_url":"https://github.com/nodesecurity/nsp","homepage":"nodesecurity.io","size":630,"stargazers_count":185,"watchers_count":185,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":16,"mirror_url":null,"open_issues_count":15,"forks":16,"open_issues":15,"watchers":185,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nodesecurity/nsp/pulls/73"},"html":{"href":"https://github.com/nodesecurity/nsp/pull/73"},"issue":{"href":"https://api.github.com/repos/nodesecurity/nsp/issues/73"},"comments":{"href":"https://api.github.com/repos/nodesecurity/nsp/issues/73/comments"},"review_comments":{"href":"https://api.github.com/repos/nodesecurity/nsp/pulls/73/comments"},"review_comment":{"href":"https://api.github.com/repos/nodesecurity/nsp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nodesecurity/nsp/pulls/73/commits"},"statuses":{"href":"https://api.github.com/repos/nodesecurity/nsp/statuses/927f623b7f00d4ef7630e8378f81b8299b217888"}}}}