{"action":"created","comment":{"url":"https://api.github.com/repos/remarkjs/remark-external-links/pulls/comments/245385912","pull_request_review_id":189483414,"id":245385912,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0NTM4NTkxMg==","diff_hunk":"@@ -62,52 +62,39 @@ Pass `false` to not set `rel`s on links.\n > When using a `target`, add [`noopener` and `noreferrer`][mdn-a] to avoid\n > exploitation of the `window.opener` API.\n \n+###### `options.protocols`\n+\n+Protocols used to filter against the [is-absolute](https://www.npmjs.com/package/is-absolute) package.\n+(`Array.<string>`, default: `['http', 'https']`).\n+\n ## Contribute\n \n See [`contributing.md` in `remarkjs/remark`][contributing] for ways to get\n started.\n \n-This organisation has a [Code of Conduct][coc].  By interacting with this\n+This organisation has a [Code of Conduct][coc]. By interacting with this\n repository, organisation, or community you agree to abide by its terms.\n \n ## License\n \n [MIT][license] © [Cédric Delpoux][author]\n \n [build-badge]: https://img.shields.io/travis/remarkjs/remark-external-links.svg\n-","path":"readme.md","position":null,"original_position":23,"commit_id":"6fa290dd04d47f12e8e23d0fafc2a081e929eebd","original_commit_id":"e0e8b6336a514b9c377d8ce765a9a797e7375f81","user":{"login":"zslabs","id":1018402,"node_id":"MDQ6VXNlcjEwMTg0MDI=","avatar_url":"https://avatars2.githubusercontent.com/u/1018402?v=4","gravatar_id":"","url":"https://api.github.com/users/zslabs","html_url":"https://github.com/zslabs","followers_url":"https://api.github.com/users/zslabs/followers","following_url":"https://api.github.com/users/zslabs/following{/other_user}","gists_url":"https://api.github.com/users/zslabs/gists{/gist_id}","starred_url":"https://api.github.com/users/zslabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zslabs/subscriptions","organizations_url":"https://api.github.com/users/zslabs/orgs","repos_url":"https://api.github.com/users/zslabs/repos","events_url":"https://api.github.com/users/zslabs/events{/privacy}","received_events_url":"https://api.github.com/users/zslabs/received_events","type":"User","site_admin":false},"body":"Sure thing, pushed in my latest commit.","created_at":"2019-01-04T18:47:55Z","updated_at":"2019-01-04T18:47:55Z","html_url":"https://github.com/remarkjs/remark-external-links/pull/10#discussion_r245385912","pull_request_url":"https://api.github.com/repos/remarkjs/remark-external-links/pulls/10","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/remarkjs/remark-external-links/pulls/comments/245385912"},"html":{"href":"https://github.com/remarkjs/remark-external-links/pull/10#discussion_r245385912"},"pull_request":{"href":"https://api.github.com/repos/remarkjs/remark-external-links/pulls/10"}},"in_reply_to_id":245370839},"pull_request":{"url":"https://api.github.com/repos/remarkjs/remark-external-links/pulls/10","id":242309021,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQyMzA5MDIx","html_url":"https://github.com/remarkjs/remark-external-links/pull/10","diff_url":"https://github.com/remarkjs/remark-external-links/pull/10.diff","patch_url":"https://github.com/remarkjs/remark-external-links/pull/10.patch","issue_url":"https://api.github.com/repos/remarkjs/remark-external-links/issues/10","number":10,"state":"open","locked":false,"title":"Add protocols option to bypass is-absolute package regex","user":{"login":"zslabs","id":1018402,"node_id":"MDQ6VXNlcjEwMTg0MDI=","avatar_url":"https://avatars2.githubusercontent.com/u/1018402?v=4","gravatar_id":"","url":"https://api.github.com/users/zslabs","html_url":"https://github.com/zslabs","followers_url":"https://api.github.com/users/zslabs/followers","following_url":"https://api.github.com/users/zslabs/following{/other_user}","gists_url":"https://api.github.com/users/zslabs/gists{/gist_id}","starred_url":"https://api.github.com/users/zslabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zslabs/subscriptions","organizations_url":"https://api.github.com/users/zslabs/orgs","repos_url":"https://api.github.com/users/zslabs/repos","events_url":"https://api.github.com/users/zslabs/events{/privacy}","received_events_url":"https://api.github.com/users/zslabs/received_events","type":"User","site_admin":false},"body":"Issue: https://github.com/remarkjs/remark-external-links/issues/9\r\n\r\nWas getting some false-positives with the `indexOf` example provided; any issue with going with `includes()`? \r\n\r\nThanks!","created_at":"2019-01-04T16:25:45Z","updated_at":"2019-01-04T18:47:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4245acc29d01809d7d51486b9e073b609e118034","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/remarkjs/remark-external-links/pulls/10/commits","review_comments_url":"https://api.github.com/repos/remarkjs/remark-external-links/pulls/10/comments","review_comment_url":"https://api.github.com/repos/remarkjs/remark-external-links/pulls/comments{/number}","comments_url":"https://api.github.com/repos/remarkjs/remark-external-links/issues/10/comments","statuses_url":"https://api.github.com/repos/remarkjs/remark-external-links/statuses/6fa290dd04d47f12e8e23d0fafc2a081e929eebd","head":{"label":"zslabs:feature/protocols","ref":"feature/protocols","sha":"6fa290dd04d47f12e8e23d0fafc2a081e929eebd","user":{"login":"zslabs","id":1018402,"node_id":"MDQ6VXNlcjEwMTg0MDI=","avatar_url":"https://avatars2.githubusercontent.com/u/1018402?v=4","gravatar_id":"","url":"https://api.github.com/users/zslabs","html_url":"https://github.com/zslabs","followers_url":"https://api.github.com/users/zslabs/followers","following_url":"https://api.github.com/users/zslabs/following{/other_user}","gists_url":"https://api.github.com/users/zslabs/gists{/gist_id}","starred_url":"https://api.github.com/users/zslabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zslabs/subscriptions","organizations_url":"https://api.github.com/users/zslabs/orgs","repos_url":"https://api.github.com/users/zslabs/repos","events_url":"https://api.github.com/users/zslabs/events{/privacy}","received_events_url":"https://api.github.com/users/zslabs/received_events","type":"User","site_admin":false},"repo":{"id":164124825,"node_id":"MDEwOlJlcG9zaXRvcnkxNjQxMjQ4MjU=","name":"remark-external-links","full_name":"zslabs/remark-external-links","private":false,"owner":{"login":"zslabs","id":1018402,"node_id":"MDQ6VXNlcjEwMTg0MDI=","avatar_url":"https://avatars2.githubusercontent.com/u/1018402?v=4","gravatar_id":"","url":"https://api.github.com/users/zslabs","html_url":"https://github.com/zslabs","followers_url":"https://api.github.com/users/zslabs/followers","following_url":"https://api.github.com/users/zslabs/following{/other_user}","gists_url":"https://api.github.com/users/zslabs/gists{/gist_id}","starred_url":"https://api.github.com/users/zslabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zslabs/subscriptions","organizations_url":"https://api.github.com/users/zslabs/orgs","repos_url":"https://api.github.com/users/zslabs/repos","events_url":"https://api.github.com/users/zslabs/events{/privacy}","received_events_url":"https://api.github.com/users/zslabs/received_events","type":"User","site_admin":false},"html_url":"https://github.com/zslabs/remark-external-links","description":"Automatically adds the target and rel attributes to external links","fork":true,"url":"https://api.github.com/repos/zslabs/remark-external-links","forks_url":"https://api.github.com/repos/zslabs/remark-external-links/forks","keys_url":"https://api.github.com/repos/zslabs/remark-external-links/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zslabs/remark-external-links/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zslabs/remark-external-links/teams","hooks_url":"https://api.github.com/repos/zslabs/remark-external-links/hooks","issue_events_url":"https://api.github.com/repos/zslabs/remark-external-links/issues/events{/number}","events_url":"https://api.github.com/repos/zslabs/remark-external-links/events","assignees_url":"https://api.github.com/repos/zslabs/remark-external-links/assignees{/user}","branches_url":"https://api.github.com/repos/zslabs/remark-external-links/branches{/branch}","tags_url":"https://api.github.com/repos/zslabs/remark-external-links/tags","blobs_url":"https://api.github.com/repos/zslabs/remark-external-links/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zslabs/remark-external-links/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zslabs/remark-external-links/git/refs{/sha}","trees_url":"https://api.github.com/repos/zslabs/remark-external-links/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zslabs/remark-external-links/statuses/{sha}","languages_url":"https://api.github.com/repos/zslabs/remark-external-links/languages","stargazers_url":"https://api.github.com/repos/zslabs/remark-external-links/stargazers","contributors_url":"https://api.github.com/repos/zslabs/remark-external-links/contributors","subscribers_url":"https://api.github.com/repos/zslabs/remark-external-links/subscribers","subscription_url":"https://api.github.com/repos/zslabs/remark-external-links/subscription","commits_url":"https://api.github.com/repos/zslabs/remark-external-links/commits{/sha}","git_commits_url":"https://api.github.com/repos/zslabs/remark-external-links/git/commits{/sha}","comments_url":"https://api.github.com/repos/zslabs/remark-external-links/comments{/number}","issue_comment_url":"https://api.github.com/repos/zslabs/remark-external-links/issues/comments{/number}","contents_url":"https://api.github.com/repos/zslabs/remark-external-links/contents/{+path}","compare_url":"https://api.github.com/repos/zslabs/remark-external-links/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zslabs/remark-external-links/merges","archive_url":"https://api.github.com/repos/zslabs/remark-external-links/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zslabs/remark-external-links/downloads","issues_url":"https://api.github.com/repos/zslabs/remark-external-links/issues{/number}","pulls_url":"https://api.github.com/repos/zslabs/remark-external-links/pulls{/number}","milestones_url":"https://api.github.com/repos/zslabs/remark-external-links/milestones{/number}","notifications_url":"https://api.github.com/repos/zslabs/remark-external-links/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zslabs/remark-external-links/labels{/name}","releases_url":"https://api.github.com/repos/zslabs/remark-external-links/releases{/id}","deployments_url":"https://api.github.com/repos/zslabs/remark-external-links/deployments","created_at":"2019-01-04T15:38:41Z","updated_at":"2019-01-04T15:38:44Z","pushed_at":"2019-01-04T18:46:12Z","git_url":"git://github.com/zslabs/remark-external-links.git","ssh_url":"git@github.com:zslabs/remark-external-links.git","clone_url":"https://github.com/zslabs/remark-external-links.git","svn_url":"https://github.com/zslabs/remark-external-links","homepage":"https://remark.js.org","size":146,"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":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"remarkjs:master","ref":"master","sha":"3036589f1835964ebf9634fd3af9911fc4a447b7","user":{"login":"remarkjs","id":16309564,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2MzA5NTY0","avatar_url":"https://avatars2.githubusercontent.com/u/16309564?v=4","gravatar_id":"","url":"https://api.github.com/users/remarkjs","html_url":"https://github.com/remarkjs","followers_url":"https://api.github.com/users/remarkjs/followers","following_url":"https://api.github.com/users/remarkjs/following{/other_user}","gists_url":"https://api.github.com/users/remarkjs/gists{/gist_id}","starred_url":"https://api.github.com/users/remarkjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/remarkjs/subscriptions","organizations_url":"https://api.github.com/users/remarkjs/orgs","repos_url":"https://api.github.com/users/remarkjs/repos","events_url":"https://api.github.com/users/remarkjs/events{/privacy}","received_events_url":"https://api.github.com/users/remarkjs/received_events","type":"Organization","site_admin":false},"repo":{"id":79933251,"node_id":"MDEwOlJlcG9zaXRvcnk3OTkzMzI1MQ==","name":"remark-external-links","full_name":"remarkjs/remark-external-links","private":false,"owner":{"login":"remarkjs","id":16309564,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2MzA5NTY0","avatar_url":"https://avatars2.githubusercontent.com/u/16309564?v=4","gravatar_id":"","url":"https://api.github.com/users/remarkjs","html_url":"https://github.com/remarkjs","followers_url":"https://api.github.com/users/remarkjs/followers","following_url":"https://api.github.com/users/remarkjs/following{/other_user}","gists_url":"https://api.github.com/users/remarkjs/gists{/gist_id}","starred_url":"https://api.github.com/users/remarkjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/remarkjs/subscriptions","organizations_url":"https://api.github.com/users/remarkjs/orgs","repos_url":"https://api.github.com/users/remarkjs/repos","events_url":"https://api.github.com/users/remarkjs/events{/privacy}","received_events_url":"https://api.github.com/users/remarkjs/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/remarkjs/remark-external-links","description":"Automatically adds the target and rel attributes to external links","fork":false,"url":"https://api.github.com/repos/remarkjs/remark-external-links","forks_url":"https://api.github.com/repos/remarkjs/remark-external-links/forks","keys_url":"https://api.github.com/repos/remarkjs/remark-external-links/keys{/key_id}","collaborators_url":"https://api.github.com/repos/remarkjs/remark-external-links/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/remarkjs/remark-external-links/teams","hooks_url":"https://api.github.com/repos/remarkjs/remark-external-links/hooks","issue_events_url":"https://api.github.com/repos/remarkjs/remark-external-links/issues/events{/number}","events_url":"https://api.github.com/repos/remarkjs/remark-external-links/events","assignees_url":"https://api.github.com/repos/remarkjs/remark-external-links/assignees{/user}","branches_url":"https://api.github.com/repos/remarkjs/remark-external-links/branches{/branch}","tags_url":"https://api.github.com/repos/remarkjs/remark-external-links/tags","blobs_url":"https://api.github.com/repos/remarkjs/remark-external-links/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/remarkjs/remark-external-links/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/remarkjs/remark-external-links/git/refs{/sha}","trees_url":"https://api.github.com/repos/remarkjs/remark-external-links/git/trees{/sha}","statuses_url":"https://api.github.com/repos/remarkjs/remark-external-links/statuses/{sha}","languages_url":"https://api.github.com/repos/remarkjs/remark-external-links/languages","stargazers_url":"https://api.github.com/repos/remarkjs/remark-external-links/stargazers","contributors_url":"https://api.github.com/repos/remarkjs/remark-external-links/contributors","subscribers_url":"https://api.github.com/repos/remarkjs/remark-external-links/subscribers","subscription_url":"https://api.github.com/repos/remarkjs/remark-external-links/subscription","commits_url":"https://api.github.com/repos/remarkjs/remark-external-links/commits{/sha}","git_commits_url":"https://api.github.com/repos/remarkjs/remark-external-links/git/commits{/sha}","comments_url":"https://api.github.com/repos/remarkjs/remark-external-links/comments{/number}","issue_comment_url":"https://api.github.com/repos/remarkjs/remark-external-links/issues/comments{/number}","contents_url":"https://api.github.com/repos/remarkjs/remark-external-links/contents/{+path}","compare_url":"https://api.github.com/repos/remarkjs/remark-external-links/compare/{base}...{head}","merges_url":"https://api.github.com/repos/remarkjs/remark-external-links/merges","archive_url":"https://api.github.com/repos/remarkjs/remark-external-links/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/remarkjs/remark-external-links/downloads","issues_url":"https://api.github.com/repos/remarkjs/remark-external-links/issues{/number}","pulls_url":"https://api.github.com/repos/remarkjs/remark-external-links/pulls{/number}","milestones_url":"https://api.github.com/repos/remarkjs/remark-external-links/milestones{/number}","notifications_url":"https://api.github.com/repos/remarkjs/remark-external-links/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/remarkjs/remark-external-links/labels{/name}","releases_url":"https://api.github.com/repos/remarkjs/remark-external-links/releases{/id}","deployments_url":"https://api.github.com/repos/remarkjs/remark-external-links/deployments","created_at":"2017-01-24T17:03:56Z","updated_at":"2018-11-25T14:49:34Z","pushed_at":"2019-01-04T18:46:13Z","git_url":"git://github.com/remarkjs/remark-external-links.git","ssh_url":"git@github.com:remarkjs/remark-external-links.git","clone_url":"https://github.com/remarkjs/remark-external-links.git","svn_url":"https://github.com/remarkjs/remark-external-links","homepage":"https://remark.js.org","size":131,"stargazers_count":7,"watchers_count":7,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":6,"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","node_id":"MDc6TGljZW5zZTEz"},"forks":6,"open_issues":2,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/remarkjs/remark-external-links/pulls/10"},"html":{"href":"https://github.com/remarkjs/remark-external-links/pull/10"},"issue":{"href":"https://api.github.com/repos/remarkjs/remark-external-links/issues/10"},"comments":{"href":"https://api.github.com/repos/remarkjs/remark-external-links/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/remarkjs/remark-external-links/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/remarkjs/remark-external-links/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/remarkjs/remark-external-links/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/remarkjs/remark-external-links/statuses/6fa290dd04d47f12e8e23d0fafc2a081e929eebd"}},"author_association":"NONE"}}
{"actor":{"display_login":"zslabs"}}