{"action":"created","comment":{"url":"https://api.github.com/repos/sindresorhus/npm-home/pulls/comments/155679599","pull_request_review_id":82039022,"id":155679599,"diff_hunk":"@@ -62,6 +62,12 @@ function open(name) {\n \t\t\t}\n \n \t\t\treturn openNpm(name);\n+\t\t}).catch(err => {\n+\t\t\tif (err.code === 'ENOTFOUND') {\n+\t\t\t\tconsole.error('No network connected detected!');","path":"cli.js","position":6,"original_position":6,"commit_id":"0c0e7a154d9db8c7af794ddf99ca5545ca9fb393","original_commit_id":"0c0e7a154d9db8c7af794ddf99ca5545ca9fb393","user":{"login":"sindresorhus","id":170270,"avatar_url":"https://avatars1.githubusercontent.com/u/170270?v=4","gravatar_id":"","url":"https://api.github.com/users/sindresorhus","html_url":"https://github.com/sindresorhus","followers_url":"https://api.github.com/users/sindresorhus/followers","following_url":"https://api.github.com/users/sindresorhus/following{/other_user}","gists_url":"https://api.github.com/users/sindresorhus/gists{/gist_id}","starred_url":"https://api.github.com/users/sindresorhus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sindresorhus/subscriptions","organizations_url":"https://api.github.com/users/sindresorhus/orgs","repos_url":"https://api.github.com/users/sindresorhus/repos","events_url":"https://api.github.com/users/sindresorhus/events{/privacy}","received_events_url":"https://api.github.com/users/sindresorhus/received_events","type":"User","site_admin":false},"body":"`connected` => `connection`","created_at":"2017-12-08T00:35:59Z","updated_at":"2017-12-08T00:36:46Z","html_url":"https://github.com/sindresorhus/npm-home/pull/12#discussion_r155679599","pull_request_url":"https://api.github.com/repos/sindresorhus/npm-home/pulls/12","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/sindresorhus/npm-home/pulls/comments/155679599"},"html":{"href":"https://github.com/sindresorhus/npm-home/pull/12#discussion_r155679599"},"pull_request":{"href":"https://api.github.com/repos/sindresorhus/npm-home/pulls/12"}}},"pull_request":{"url":"https://api.github.com/repos/sindresorhus/npm-home/pulls/12","id":156025278,"html_url":"https://github.com/sindresorhus/npm-home/pull/12","diff_url":"https://github.com/sindresorhus/npm-home/pull/12.diff","patch_url":"https://github.com/sindresorhus/npm-home/pull/12.patch","issue_url":"https://api.github.com/repos/sindresorhus/npm-home/issues/12","number":12,"state":"open","locked":false,"title":"verify network connection","user":{"login":"karlbateman","id":33239151,"avatar_url":"https://avatars1.githubusercontent.com/u/33239151?v=4","gravatar_id":"","url":"https://api.github.com/users/karlbateman","html_url":"https://github.com/karlbateman","followers_url":"https://api.github.com/users/karlbateman/followers","following_url":"https://api.github.com/users/karlbateman/following{/other_user}","gists_url":"https://api.github.com/users/karlbateman/gists{/gist_id}","starred_url":"https://api.github.com/users/karlbateman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karlbateman/subscriptions","organizations_url":"https://api.github.com/users/karlbateman/orgs","repos_url":"https://api.github.com/users/karlbateman/repos","events_url":"https://api.github.com/users/karlbateman/events{/privacy}","received_events_url":"https://api.github.com/users/karlbateman/received_events","type":"User","site_admin":false},"body":"addresses #7 ","created_at":"2017-12-02T18:34:18Z","updated_at":"2017-12-08T00:36:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f4b4948b563cd90148671beb348cd77a251ed610","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/sindresorhus/npm-home/pulls/12/commits","review_comments_url":"https://api.github.com/repos/sindresorhus/npm-home/pulls/12/comments","review_comment_url":"https://api.github.com/repos/sindresorhus/npm-home/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sindresorhus/npm-home/issues/12/comments","statuses_url":"https://api.github.com/repos/sindresorhus/npm-home/statuses/0c0e7a154d9db8c7af794ddf99ca5545ca9fb393","head":{"label":"karlbateman:master","ref":"master","sha":"0c0e7a154d9db8c7af794ddf99ca5545ca9fb393","user":{"login":"karlbateman","id":33239151,"avatar_url":"https://avatars1.githubusercontent.com/u/33239151?v=4","gravatar_id":"","url":"https://api.github.com/users/karlbateman","html_url":"https://github.com/karlbateman","followers_url":"https://api.github.com/users/karlbateman/followers","following_url":"https://api.github.com/users/karlbateman/following{/other_user}","gists_url":"https://api.github.com/users/karlbateman/gists{/gist_id}","starred_url":"https://api.github.com/users/karlbateman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karlbateman/subscriptions","organizations_url":"https://api.github.com/users/karlbateman/orgs","repos_url":"https://api.github.com/users/karlbateman/repos","events_url":"https://api.github.com/users/karlbateman/events{/privacy}","received_events_url":"https://api.github.com/users/karlbateman/received_events","type":"User","site_admin":false},"repo":{"id":112863625,"name":"npm-home","full_name":"karlbateman/npm-home","owner":{"login":"karlbateman","id":33239151,"avatar_url":"https://avatars1.githubusercontent.com/u/33239151?v=4","gravatar_id":"","url":"https://api.github.com/users/karlbateman","html_url":"https://github.com/karlbateman","followers_url":"https://api.github.com/users/karlbateman/followers","following_url":"https://api.github.com/users/karlbateman/following{/other_user}","gists_url":"https://api.github.com/users/karlbateman/gists{/gist_id}","starred_url":"https://api.github.com/users/karlbateman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karlbateman/subscriptions","organizations_url":"https://api.github.com/users/karlbateman/orgs","repos_url":"https://api.github.com/users/karlbateman/repos","events_url":"https://api.github.com/users/karlbateman/events{/privacy}","received_events_url":"https://api.github.com/users/karlbateman/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/karlbateman/npm-home","description":"Open the npm page, Yarn page, or GitHub repo of a package","fork":true,"url":"https://api.github.com/repos/karlbateman/npm-home","forks_url":"https://api.github.com/repos/karlbateman/npm-home/forks","keys_url":"https://api.github.com/repos/karlbateman/npm-home/keys{/key_id}","collaborators_url":"https://api.github.com/repos/karlbateman/npm-home/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/karlbateman/npm-home/teams","hooks_url":"https://api.github.com/repos/karlbateman/npm-home/hooks","issue_events_url":"https://api.github.com/repos/karlbateman/npm-home/issues/events{/number}","events_url":"https://api.github.com/repos/karlbateman/npm-home/events","assignees_url":"https://api.github.com/repos/karlbateman/npm-home/assignees{/user}","branches_url":"https://api.github.com/repos/karlbateman/npm-home/branches{/branch}","tags_url":"https://api.github.com/repos/karlbateman/npm-home/tags","blobs_url":"https://api.github.com/repos/karlbateman/npm-home/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/karlbateman/npm-home/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/karlbateman/npm-home/git/refs{/sha}","trees_url":"https://api.github.com/repos/karlbateman/npm-home/git/trees{/sha}","statuses_url":"https://api.github.com/repos/karlbateman/npm-home/statuses/{sha}","languages_url":"https://api.github.com/repos/karlbateman/npm-home/languages","stargazers_url":"https://api.github.com/repos/karlbateman/npm-home/stargazers","contributors_url":"https://api.github.com/repos/karlbateman/npm-home/contributors","subscribers_url":"https://api.github.com/repos/karlbateman/npm-home/subscribers","subscription_url":"https://api.github.com/repos/karlbateman/npm-home/subscription","commits_url":"https://api.github.com/repos/karlbateman/npm-home/commits{/sha}","git_commits_url":"https://api.github.com/repos/karlbateman/npm-home/git/commits{/sha}","comments_url":"https://api.github.com/repos/karlbateman/npm-home/comments{/number}","issue_comment_url":"https://api.github.com/repos/karlbateman/npm-home/issues/comments{/number}","contents_url":"https://api.github.com/repos/karlbateman/npm-home/contents/{+path}","compare_url":"https://api.github.com/repos/karlbateman/npm-home/compare/{base}...{head}","merges_url":"https://api.github.com/repos/karlbateman/npm-home/merges","archive_url":"https://api.github.com/repos/karlbateman/npm-home/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/karlbateman/npm-home/downloads","issues_url":"https://api.github.com/repos/karlbateman/npm-home/issues{/number}","pulls_url":"https://api.github.com/repos/karlbateman/npm-home/pulls{/number}","milestones_url":"https://api.github.com/repos/karlbateman/npm-home/milestones{/number}","notifications_url":"https://api.github.com/repos/karlbateman/npm-home/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/karlbateman/npm-home/labels{/name}","releases_url":"https://api.github.com/repos/karlbateman/npm-home/releases{/id}","deployments_url":"https://api.github.com/repos/karlbateman/npm-home/deployments","created_at":"2017-12-02T17:49:32Z","updated_at":"2017-12-02T17:49:33Z","pushed_at":"2017-12-03T11:36:04Z","git_url":"git://github.com/karlbateman/npm-home.git","ssh_url":"git@github.com:karlbateman/npm-home.git","clone_url":"https://github.com/karlbateman/npm-home.git","svn_url":"https://github.com/karlbateman/npm-home","homepage":"","size":15,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"sindresorhus:master","ref":"master","sha":"0df16ca12d1329c216f20b8303b4632ceb37294d","user":{"login":"sindresorhus","id":170270,"avatar_url":"https://avatars1.githubusercontent.com/u/170270?v=4","gravatar_id":"","url":"https://api.github.com/users/sindresorhus","html_url":"https://github.com/sindresorhus","followers_url":"https://api.github.com/users/sindresorhus/followers","following_url":"https://api.github.com/users/sindresorhus/following{/other_user}","gists_url":"https://api.github.com/users/sindresorhus/gists{/gist_id}","starred_url":"https://api.github.com/users/sindresorhus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sindresorhus/subscriptions","organizations_url":"https://api.github.com/users/sindresorhus/orgs","repos_url":"https://api.github.com/users/sindresorhus/repos","events_url":"https://api.github.com/users/sindresorhus/events{/privacy}","received_events_url":"https://api.github.com/users/sindresorhus/received_events","type":"User","site_admin":false},"repo":{"id":49517242,"name":"npm-home","full_name":"sindresorhus/npm-home","owner":{"login":"sindresorhus","id":170270,"avatar_url":"https://avatars1.githubusercontent.com/u/170270?v=4","gravatar_id":"","url":"https://api.github.com/users/sindresorhus","html_url":"https://github.com/sindresorhus","followers_url":"https://api.github.com/users/sindresorhus/followers","following_url":"https://api.github.com/users/sindresorhus/following{/other_user}","gists_url":"https://api.github.com/users/sindresorhus/gists{/gist_id}","starred_url":"https://api.github.com/users/sindresorhus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sindresorhus/subscriptions","organizations_url":"https://api.github.com/users/sindresorhus/orgs","repos_url":"https://api.github.com/users/sindresorhus/repos","events_url":"https://api.github.com/users/sindresorhus/events{/privacy}","received_events_url":"https://api.github.com/users/sindresorhus/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sindresorhus/npm-home","description":"Open the npm page, Yarn page, or GitHub repo of a package","fork":false,"url":"https://api.github.com/repos/sindresorhus/npm-home","forks_url":"https://api.github.com/repos/sindresorhus/npm-home/forks","keys_url":"https://api.github.com/repos/sindresorhus/npm-home/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sindresorhus/npm-home/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sindresorhus/npm-home/teams","hooks_url":"https://api.github.com/repos/sindresorhus/npm-home/hooks","issue_events_url":"https://api.github.com/repos/sindresorhus/npm-home/issues/events{/number}","events_url":"https://api.github.com/repos/sindresorhus/npm-home/events","assignees_url":"https://api.github.com/repos/sindresorhus/npm-home/assignees{/user}","branches_url":"https://api.github.com/repos/sindresorhus/npm-home/branches{/branch}","tags_url":"https://api.github.com/repos/sindresorhus/npm-home/tags","blobs_url":"https://api.github.com/repos/sindresorhus/npm-home/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sindresorhus/npm-home/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sindresorhus/npm-home/git/refs{/sha}","trees_url":"https://api.github.com/repos/sindresorhus/npm-home/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sindresorhus/npm-home/statuses/{sha}","languages_url":"https://api.github.com/repos/sindresorhus/npm-home/languages","stargazers_url":"https://api.github.com/repos/sindresorhus/npm-home/stargazers","contributors_url":"https://api.github.com/repos/sindresorhus/npm-home/contributors","subscribers_url":"https://api.github.com/repos/sindresorhus/npm-home/subscribers","subscription_url":"https://api.github.com/repos/sindresorhus/npm-home/subscription","commits_url":"https://api.github.com/repos/sindresorhus/npm-home/commits{/sha}","git_commits_url":"https://api.github.com/repos/sindresorhus/npm-home/git/commits{/sha}","comments_url":"https://api.github.com/repos/sindresorhus/npm-home/comments{/number}","issue_comment_url":"https://api.github.com/repos/sindresorhus/npm-home/issues/comments{/number}","contents_url":"https://api.github.com/repos/sindresorhus/npm-home/contents/{+path}","compare_url":"https://api.github.com/repos/sindresorhus/npm-home/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sindresorhus/npm-home/merges","archive_url":"https://api.github.com/repos/sindresorhus/npm-home/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sindresorhus/npm-home/downloads","issues_url":"https://api.github.com/repos/sindresorhus/npm-home/issues{/number}","pulls_url":"https://api.github.com/repos/sindresorhus/npm-home/pulls{/number}","milestones_url":"https://api.github.com/repos/sindresorhus/npm-home/milestones{/number}","notifications_url":"https://api.github.com/repos/sindresorhus/npm-home/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sindresorhus/npm-home/labels{/name}","releases_url":"https://api.github.com/repos/sindresorhus/npm-home/releases{/id}","deployments_url":"https://api.github.com/repos/sindresorhus/npm-home/deployments","created_at":"2016-01-12T17:34:21Z","updated_at":"2017-12-07T03:48:27Z","pushed_at":"2017-12-03T11:36:05Z","git_url":"git://github.com/sindresorhus/npm-home.git","ssh_url":"git@github.com:sindresorhus/npm-home.git","clone_url":"https://github.com/sindresorhus/npm-home.git","svn_url":"https://github.com/sindresorhus/npm-home","homepage":"","size":13,"stargazers_count":126,"watchers_count":126,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":8,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":8,"open_issues":2,"watchers":126,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sindresorhus/npm-home/pulls/12"},"html":{"href":"https://github.com/sindresorhus/npm-home/pull/12"},"issue":{"href":"https://api.github.com/repos/sindresorhus/npm-home/issues/12"},"comments":{"href":"https://api.github.com/repos/sindresorhus/npm-home/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/sindresorhus/npm-home/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/sindresorhus/npm-home/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sindresorhus/npm-home/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/sindresorhus/npm-home/statuses/0c0e7a154d9db8c7af794ddf99ca5545ca9fb393"}},"author_association":"NONE"}}
{"actor":{"display_login":"sindresorhus"}}