{"action":"created","comment":{"url":"https://api.github.com/repos/sindresorhus/got/pulls/comments/226866953","pull_request_review_id":166789510,"id":226866953,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNjg2Njk1Mw==","diff_hunk":"@@ -29,45 +23,62 @@ const preNormalize = options => {\n \t\toptions.baseUrl += '/';\n \t}\n \n-\tif (is.undefined(options.followRedirect)) {\n-\t\toptions.followRedirect = true;\n+\tif (options.stream && options.json) {\n+\t\toptions.json = false;\n \t}\n \n \tif (is.nullOrUndefined(options.hooks)) {\n \t\toptions.hooks = {};\n+\t} else if (!is.object(options.hooks)) {\n+\t\tthrow new TypeError(`Parameter \\`hooks\\` must be an object, not ${is(options.hooks)}`);\n \t}\n-\tif (is.object(options.hooks)) {\n-\t\tfor (const hookEvent of knownHookEvents) {\n-\t\t\tconst hooks = options.hooks[hookEvent];\n-\t\t\tif (is.nullOrUndefined(hooks)) {\n-\t\t\t\toptions.hooks[hookEvent] = [];\n-\t\t\t} else if (is.array(hooks)) {\n-\t\t\t\tfor (const [index, hook] of hooks.entries()) {\n-\t\t\t\t\tif (!is.function(hook)) {\n-\t\t\t\t\t\tthrow new TypeError(\n-\t\t\t\t\t\t\t`Parameter \\`hooks.${hookEvent}[${index}]\\` must be a function, not ${is(hook)}`\n-\t\t\t\t\t\t);\n-\t\t\t\t\t}\n-\t\t\t\t}\n-\t\t\t} else {\n-\t\t\t\tthrow new TypeError(`Parameter \\`hooks.${hookEvent}\\` must be an array, not ${is(hooks)}`);\n-\t\t\t}\n-\t\t}\n+\n+\tif (is.number(options.timeout)) {\n+\t\toptions.gotTimeout = {request: options.timeout};\n+\t} else if (is.object(options.timeout)) {\n+\t\toptions.gotTimeout = options.timeout;\n+\t}\n+\tdelete options.timeout;\n+\n+\tconst {retry} = options;\n+\tif (defaults && retry !== false) {\n+\t\toptions.retry = {...defaults.options.retry};\n \t} else {\n-\t\tthrow new TypeError(`Parameter \\`hooks\\` must be an object, not ${is(options.hooks)}`);\n+\t\toptions.retry = {retries: 0, methods: [], statusCodes: []};","path":"source/normalize-arguments.js","position":76,"original_position":76,"commit_id":"3af43e1a1f36c2d04958389c21027036dcaa01ad","original_commit_id":"3af43e1a1f36c2d04958389c21027036dcaa01ad","user":{"login":"sindresorhus","id":170270,"node_id":"MDQ6VXNlcjE3MDI3MA==","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":"Put the properties on separate lines.","created_at":"2018-10-21T15:28:30Z","updated_at":"2018-10-21T15:34:03Z","html_url":"https://github.com/sindresorhus/got/pull/635#discussion_r226866953","pull_request_url":"https://api.github.com/repos/sindresorhus/got/pulls/635","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/sindresorhus/got/pulls/comments/226866953"},"html":{"href":"https://github.com/sindresorhus/got/pull/635#discussion_r226866953"},"pull_request":{"href":"https://api.github.com/repos/sindresorhus/got/pulls/635"}}},"pull_request":{"url":"https://api.github.com/repos/sindresorhus/got/pulls/635","id":223322007,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIzMzIyMDA3","html_url":"https://github.com/sindresorhus/got/pull/635","diff_url":"https://github.com/sindresorhus/got/pull/635.diff","patch_url":"https://github.com/sindresorhus/got/pull/635.patch","issue_url":"https://api.github.com/repos/sindresorhus/got/issues/635","number":635,"state":"open","locked":false,"title":"Code cleanup, bug fixes","user":{"login":"szmarczak","id":36894700,"node_id":"MDQ6VXNlcjM2ODk0NzAw","avatar_url":"https://avatars0.githubusercontent.com/u/36894700?v=4","gravatar_id":"","url":"https://api.github.com/users/szmarczak","html_url":"https://github.com/szmarczak","followers_url":"https://api.github.com/users/szmarczak/followers","following_url":"https://api.github.com/users/szmarczak/following{/other_user}","gists_url":"https://api.github.com/users/szmarczak/gists{/gist_id}","starred_url":"https://api.github.com/users/szmarczak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/szmarczak/subscriptions","organizations_url":"https://api.github.com/users/szmarczak/orgs","repos_url":"https://api.github.com/users/szmarczak/repos","events_url":"https://api.github.com/users/szmarczak/events{/privacy}","received_events_url":"https://api.github.com/users/szmarczak/received_events","type":"User","site_admin":false},"body":" - [x] Code cleanup\r\n   - [x] Moved the download progress function into `progress.js`\r\n   - [x] DRY (`as-promise.js` and `as-stream.js`)\r\n   - [x] The retry function is no longer an event, it's just a function.\r\n   - [x] Used more `async/await` in `request-as-event-emitter.js` to catch errors\r\n   - [x] Doesn't use `CacheableRequest` when there's no need\r\n   - [x] Uses `urlToOptions` instead of `urlLib.parse` in `request-as-event-emitter.js`\r\n   - [x] Moved the cancelling mechanism into `request-as-event-emitter.js`\r\n   - [x] Modules which should be separate libs have been moved to `utils` folder\r\n   - [x] Renamed `options.gotRetry` (internal) to `options.retry`\r\n   - [x] DRY (`request-as-event-emitter.js` and `normalize-arguments.js` - validating UTF8 URL)\r\n - [x] [Destroying `got.stream(...)` cancels the request](https://github.com/sindresorhus/got/compare/master...szmarczak:unhandled-fix#diff-6defa9239fb128d7e40c26c0f9373009R25)\r\n - [x] [Fixed unhandled `ParseError`s](https://github.com/sindresorhus/got/compare/master...szmarczak:unhandled-fix#diff-d13800822ea47ed3c8f87baae18c838aR43) (metioned by @aghuddleston in #631)\r\n - [x] [Fixed unhandled `TimeoutError`s](https://github.com/sindresorhus/got/compare/master...szmarczak:unhandled-fix#diff-675cd4a9c0a14591082c92ae8638b3ccR51) (metioned by @timdp in #631)\r\n - [x] [Caches `CacheableRequest` instances](https://github.com/sindresorhus/got/pull/635/files#diff-62bdc57f6f22ae58f495daef16f21f8bR22)\r\n - [x] [Accepts `url` as an option](https://github.com/sindresorhus/got/pull/635/files#diff-1d0f03b7418c902cb7ec7637a8cd8520R59)\r\n - [x] Optimized normalizing arguments\r\n - [x] [Fixed default protocol regression (before: `http:` now: `https:`)](https://github.com/sindresorhus/got/pull/635/files#diff-1d0f03b7418c902cb7ec7637a8cd8520R108)\r\n\r\nFixes #631\r\nFixes #630","created_at":"2018-10-16T16:49:09Z","updated_at":"2018-10-21T15:34:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7431402a456246bc08f3b8f12b8a51fed3a29850","assignee":null,"assignees":[],"requested_reviewers":[{"login":"floatdrop","id":365089,"node_id":"MDQ6VXNlcjM2NTA4OQ==","avatar_url":"https://avatars2.githubusercontent.com/u/365089?v=4","gravatar_id":"","url":"https://api.github.com/users/floatdrop","html_url":"https://github.com/floatdrop","followers_url":"https://api.github.com/users/floatdrop/followers","following_url":"https://api.github.com/users/floatdrop/following{/other_user}","gists_url":"https://api.github.com/users/floatdrop/gists{/gist_id}","starred_url":"https://api.github.com/users/floatdrop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/floatdrop/subscriptions","organizations_url":"https://api.github.com/users/floatdrop/orgs","repos_url":"https://api.github.com/users/floatdrop/repos","events_url":"https://api.github.com/users/floatdrop/events{/privacy}","received_events_url":"https://api.github.com/users/floatdrop/received_events","type":"User","site_admin":false},{"login":"alextes","id":2011351,"node_id":"MDQ6VXNlcjIwMTEzNTE=","avatar_url":"https://avatars1.githubusercontent.com/u/2011351?v=4","gravatar_id":"","url":"https://api.github.com/users/alextes","html_url":"https://github.com/alextes","followers_url":"https://api.github.com/users/alextes/followers","following_url":"https://api.github.com/users/alextes/following{/other_user}","gists_url":"https://api.github.com/users/alextes/gists{/gist_id}","starred_url":"https://api.github.com/users/alextes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alextes/subscriptions","organizations_url":"https://api.github.com/users/alextes/orgs","repos_url":"https://api.github.com/users/alextes/repos","events_url":"https://api.github.com/users/alextes/events{/privacy}","received_events_url":"https://api.github.com/users/alextes/received_events","type":"User","site_admin":false},{"login":"brandon93s","id":4730164,"node_id":"MDQ6VXNlcjQ3MzAxNjQ=","avatar_url":"https://avatars0.githubusercontent.com/u/4730164?v=4","gravatar_id":"","url":"https://api.github.com/users/brandon93s","html_url":"https://github.com/brandon93s","followers_url":"https://api.github.com/users/brandon93s/followers","following_url":"https://api.github.com/users/brandon93s/following{/other_user}","gists_url":"https://api.github.com/users/brandon93s/gists{/gist_id}","starred_url":"https://api.github.com/users/brandon93s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brandon93s/subscriptions","organizations_url":"https://api.github.com/users/brandon93s/orgs","repos_url":"https://api.github.com/users/brandon93s/repos","events_url":"https://api.github.com/users/brandon93s/events{/privacy}","received_events_url":"https://api.github.com/users/brandon93s/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/sindresorhus/got/pulls/635/commits","review_comments_url":"https://api.github.com/repos/sindresorhus/got/pulls/635/comments","review_comment_url":"https://api.github.com/repos/sindresorhus/got/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sindresorhus/got/issues/635/comments","statuses_url":"https://api.github.com/repos/sindresorhus/got/statuses/3af43e1a1f36c2d04958389c21027036dcaa01ad","head":{"label":"szmarczak:unhandled-fix","ref":"unhandled-fix","sha":"3af43e1a1f36c2d04958389c21027036dcaa01ad","user":{"login":"szmarczak","id":36894700,"node_id":"MDQ6VXNlcjM2ODk0NzAw","avatar_url":"https://avatars0.githubusercontent.com/u/36894700?v=4","gravatar_id":"","url":"https://api.github.com/users/szmarczak","html_url":"https://github.com/szmarczak","followers_url":"https://api.github.com/users/szmarczak/followers","following_url":"https://api.github.com/users/szmarczak/following{/other_user}","gists_url":"https://api.github.com/users/szmarczak/gists{/gist_id}","starred_url":"https://api.github.com/users/szmarczak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/szmarczak/subscriptions","organizations_url":"https://api.github.com/users/szmarczak/orgs","repos_url":"https://api.github.com/users/szmarczak/repos","events_url":"https://api.github.com/users/szmarczak/events{/privacy}","received_events_url":"https://api.github.com/users/szmarczak/received_events","type":"User","site_admin":false},"repo":{"id":123169698,"node_id":"MDEwOlJlcG9zaXRvcnkxMjMxNjk2OTg=","name":"got","full_name":"szmarczak/got","private":false,"owner":{"login":"szmarczak","id":36894700,"node_id":"MDQ6VXNlcjM2ODk0NzAw","avatar_url":"https://avatars0.githubusercontent.com/u/36894700?v=4","gravatar_id":"","url":"https://api.github.com/users/szmarczak","html_url":"https://github.com/szmarczak","followers_url":"https://api.github.com/users/szmarczak/followers","following_url":"https://api.github.com/users/szmarczak/following{/other_user}","gists_url":"https://api.github.com/users/szmarczak/gists{/gist_id}","starred_url":"https://api.github.com/users/szmarczak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/szmarczak/subscriptions","organizations_url":"https://api.github.com/users/szmarczak/orgs","repos_url":"https://api.github.com/users/szmarczak/repos","events_url":"https://api.github.com/users/szmarczak/events{/privacy}","received_events_url":"https://api.github.com/users/szmarczak/received_events","type":"User","site_admin":false},"html_url":"https://github.com/szmarczak/got","description":"Simplified HTTP requests","fork":true,"url":"https://api.github.com/repos/szmarczak/got","forks_url":"https://api.github.com/repos/szmarczak/got/forks","keys_url":"https://api.github.com/repos/szmarczak/got/keys{/key_id}","collaborators_url":"https://api.github.com/repos/szmarczak/got/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/szmarczak/got/teams","hooks_url":"https://api.github.com/repos/szmarczak/got/hooks","issue_events_url":"https://api.github.com/repos/szmarczak/got/issues/events{/number}","events_url":"https://api.github.com/repos/szmarczak/got/events","assignees_url":"https://api.github.com/repos/szmarczak/got/assignees{/user}","branches_url":"https://api.github.com/repos/szmarczak/got/branches{/branch}","tags_url":"https://api.github.com/repos/szmarczak/got/tags","blobs_url":"https://api.github.com/repos/szmarczak/got/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/szmarczak/got/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/szmarczak/got/git/refs{/sha}","trees_url":"https://api.github.com/repos/szmarczak/got/git/trees{/sha}","statuses_url":"https://api.github.com/repos/szmarczak/got/statuses/{sha}","languages_url":"https://api.github.com/repos/szmarczak/got/languages","stargazers_url":"https://api.github.com/repos/szmarczak/got/stargazers","contributors_url":"https://api.github.com/repos/szmarczak/got/contributors","subscribers_url":"https://api.github.com/repos/szmarczak/got/subscribers","subscription_url":"https://api.github.com/repos/szmarczak/got/subscription","commits_url":"https://api.github.com/repos/szmarczak/got/commits{/sha}","git_commits_url":"https://api.github.com/repos/szmarczak/got/git/commits{/sha}","comments_url":"https://api.github.com/repos/szmarczak/got/comments{/number}","issue_comment_url":"https://api.github.com/repos/szmarczak/got/issues/comments{/number}","contents_url":"https://api.github.com/repos/szmarczak/got/contents/{+path}","compare_url":"https://api.github.com/repos/szmarczak/got/compare/{base}...{head}","merges_url":"https://api.github.com/repos/szmarczak/got/merges","archive_url":"https://api.github.com/repos/szmarczak/got/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/szmarczak/got/downloads","issues_url":"https://api.github.com/repos/szmarczak/got/issues{/number}","pulls_url":"https://api.github.com/repos/szmarczak/got/pulls{/number}","milestones_url":"https://api.github.com/repos/szmarczak/got/milestones{/number}","notifications_url":"https://api.github.com/repos/szmarczak/got/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/szmarczak/got/labels{/name}","releases_url":"https://api.github.com/repos/szmarczak/got/releases{/id}","deployments_url":"https://api.github.com/repos/szmarczak/got/deployments","created_at":"2018-02-27T18:18:00Z","updated_at":"2018-08-11T07:16:13Z","pushed_at":"2018-10-20T11:20:02Z","git_url":"git://github.com/szmarczak/got.git","ssh_url":"git@github.com:szmarczak/got.git","clone_url":"https://github.com/szmarczak/got.git","svn_url":"https://github.com/szmarczak/got","homepage":"","size":1336,"stargazers_count":1,"watchers_count":1,"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":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"sindresorhus:master","ref":"master","sha":"8d2e91171509bc2aec71c4483978cfd421ebcf1d","user":{"login":"sindresorhus","id":170270,"node_id":"MDQ6VXNlcjE3MDI3MA==","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":18193978,"node_id":"MDEwOlJlcG9zaXRvcnkxODE5Mzk3OA==","name":"got","full_name":"sindresorhus/got","private":false,"owner":{"login":"sindresorhus","id":170270,"node_id":"MDQ6VXNlcjE3MDI3MA==","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},"html_url":"https://github.com/sindresorhus/got","description":"Simplified HTTP requests","fork":false,"url":"https://api.github.com/repos/sindresorhus/got","forks_url":"https://api.github.com/repos/sindresorhus/got/forks","keys_url":"https://api.github.com/repos/sindresorhus/got/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sindresorhus/got/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sindresorhus/got/teams","hooks_url":"https://api.github.com/repos/sindresorhus/got/hooks","issue_events_url":"https://api.github.com/repos/sindresorhus/got/issues/events{/number}","events_url":"https://api.github.com/repos/sindresorhus/got/events","assignees_url":"https://api.github.com/repos/sindresorhus/got/assignees{/user}","branches_url":"https://api.github.com/repos/sindresorhus/got/branches{/branch}","tags_url":"https://api.github.com/repos/sindresorhus/got/tags","blobs_url":"https://api.github.com/repos/sindresorhus/got/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sindresorhus/got/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sindresorhus/got/git/refs{/sha}","trees_url":"https://api.github.com/repos/sindresorhus/got/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sindresorhus/got/statuses/{sha}","languages_url":"https://api.github.com/repos/sindresorhus/got/languages","stargazers_url":"https://api.github.com/repos/sindresorhus/got/stargazers","contributors_url":"https://api.github.com/repos/sindresorhus/got/contributors","subscribers_url":"https://api.github.com/repos/sindresorhus/got/subscribers","subscription_url":"https://api.github.com/repos/sindresorhus/got/subscription","commits_url":"https://api.github.com/repos/sindresorhus/got/commits{/sha}","git_commits_url":"https://api.github.com/repos/sindresorhus/got/git/commits{/sha}","comments_url":"https://api.github.com/repos/sindresorhus/got/comments{/number}","issue_comment_url":"https://api.github.com/repos/sindresorhus/got/issues/comments{/number}","contents_url":"https://api.github.com/repos/sindresorhus/got/contents/{+path}","compare_url":"https://api.github.com/repos/sindresorhus/got/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sindresorhus/got/merges","archive_url":"https://api.github.com/repos/sindresorhus/got/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sindresorhus/got/downloads","issues_url":"https://api.github.com/repos/sindresorhus/got/issues{/number}","pulls_url":"https://api.github.com/repos/sindresorhus/got/pulls{/number}","milestones_url":"https://api.github.com/repos/sindresorhus/got/milestones{/number}","notifications_url":"https://api.github.com/repos/sindresorhus/got/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sindresorhus/got/labels{/name}","releases_url":"https://api.github.com/repos/sindresorhus/got/releases{/id}","deployments_url":"https://api.github.com/repos/sindresorhus/got/deployments","created_at":"2014-03-27T22:40:49Z","updated_at":"2018-10-21T07:53:28Z","pushed_at":"2018-10-20T11:20:03Z","git_url":"git://github.com/sindresorhus/got.git","ssh_url":"git@github.com:sindresorhus/got.git","clone_url":"https://github.com/sindresorhus/got.git","svn_url":"https://github.com/sindresorhus/got","homepage":"","size":1133,"stargazers_count":4301,"watchers_count":4301,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":231,"mirror_url":null,"archived":false,"open_issues_count":12,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":231,"open_issues":12,"watchers":4301,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sindresorhus/got/pulls/635"},"html":{"href":"https://github.com/sindresorhus/got/pull/635"},"issue":{"href":"https://api.github.com/repos/sindresorhus/got/issues/635"},"comments":{"href":"https://api.github.com/repos/sindresorhus/got/issues/635/comments"},"review_comments":{"href":"https://api.github.com/repos/sindresorhus/got/pulls/635/comments"},"review_comment":{"href":"https://api.github.com/repos/sindresorhus/got/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sindresorhus/got/pulls/635/commits"},"statuses":{"href":"https://api.github.com/repos/sindresorhus/got/statuses/3af43e1a1f36c2d04958389c21027036dcaa01ad"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"sindresorhus"}}