{"action":"created","comment":{"url":"https://api.github.com/repos/continuationlabs/white-out/pulls/comments/61161357","id":61161357,"diff_hunk":"@@ -0,0 +1,55 @@\n+'use strict';\n+\n+const Stream = require('stream');\n+const Traverse = require('traverse');\n+\n+const grab = (obj, key) => {\n+  if (obj.hasOwnProperty(key)) {\n+    return obj[key];\n+  }\n+};\n+const replacer = (match, group) => {\n+  return 'X'.repeat(match.length);\n+};\n+\n+class WhiteOut extends Stream.Transform {\n+  constructor (rules, options) {\n+    options = options || {};","path":"index.js","position":17,"original_position":17,"commit_id":"83c1cc15eff5a901b01409ff1b29b128de6127a8","original_commit_id":"83c1cc15eff5a901b01409ff1b29b128de6127a8","user":{"login":"cjihrig","id":2512748,"avatar_url":"https://avatars.githubusercontent.com/u/2512748?v=3","gravatar_id":"","url":"https://api.github.com/users/cjihrig","html_url":"https://github.com/cjihrig","followers_url":"https://api.github.com/users/cjihrig/followers","following_url":"https://api.github.com/users/cjihrig/following{/other_user}","gists_url":"https://api.github.com/users/cjihrig/gists{/gist_id}","starred_url":"https://api.github.com/users/cjihrig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjihrig/subscriptions","organizations_url":"https://api.github.com/users/cjihrig/orgs","repos_url":"https://api.github.com/users/cjihrig/repos","events_url":"https://api.github.com/users/cjihrig/events{/privacy}","received_events_url":"https://api.github.com/users/cjihrig/received_events","type":"User","site_admin":false},"body":"You could `Object.assign()` this to remove the branch point.","created_at":"2016-04-26T20:48:13Z","updated_at":"2016-04-26T20:48:13Z","html_url":"https://github.com/continuationlabs/white-out/pull/1#discussion_r61161357","pull_request_url":"https://api.github.com/repos/continuationlabs/white-out/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/continuationlabs/white-out/pulls/comments/61161357"},"html":{"href":"https://github.com/continuationlabs/white-out/pull/1#discussion_r61161357"},"pull_request":{"href":"https://api.github.com/repos/continuationlabs/white-out/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/continuationlabs/white-out/pulls/1","id":67952398,"html_url":"https://github.com/continuationlabs/white-out/pull/1","diff_url":"https://github.com/continuationlabs/white-out/pull/1.diff","patch_url":"https://github.com/continuationlabs/white-out/pull/1.patch","issue_url":"https://api.github.com/repos/continuationlabs/white-out/issues/1","number":1,"state":"open","locked":false,"title":"Initial commit","user":{"login":"arb","id":1591483,"avatar_url":"https://avatars.githubusercontent.com/u/1591483?v=3","gravatar_id":"","url":"https://api.github.com/users/arb","html_url":"https://github.com/arb","followers_url":"https://api.github.com/users/arb/followers","following_url":"https://api.github.com/users/arb/following{/other_user}","gists_url":"https://api.github.com/users/arb/gists{/gist_id}","starred_url":"https://api.github.com/users/arb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arb/subscriptions","organizations_url":"https://api.github.com/users/arb/orgs","repos_url":"https://api.github.com/users/arb/repos","events_url":"https://api.github.com/users/arb/events{/privacy}","received_events_url":"https://api.github.com/users/arb/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-04-26T20:27:29Z","updated_at":"2016-04-26T20:48:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c81bcbce3077a04b8d2b8730531c3175b55af2f5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/continuationlabs/white-out/pulls/1/commits","review_comments_url":"https://api.github.com/repos/continuationlabs/white-out/pulls/1/comments","review_comment_url":"https://api.github.com/repos/continuationlabs/white-out/pulls/comments{/number}","comments_url":"https://api.github.com/repos/continuationlabs/white-out/issues/1/comments","statuses_url":"https://api.github.com/repos/continuationlabs/white-out/statuses/83c1cc15eff5a901b01409ff1b29b128de6127a8","head":{"label":"continuationlabs:init","ref":"init","sha":"83c1cc15eff5a901b01409ff1b29b128de6127a8","user":{"login":"continuationlabs","id":12009519,"avatar_url":"https://avatars.githubusercontent.com/u/12009519?v=3","gravatar_id":"","url":"https://api.github.com/users/continuationlabs","html_url":"https://github.com/continuationlabs","followers_url":"https://api.github.com/users/continuationlabs/followers","following_url":"https://api.github.com/users/continuationlabs/following{/other_user}","gists_url":"https://api.github.com/users/continuationlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/continuationlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/continuationlabs/subscriptions","organizations_url":"https://api.github.com/users/continuationlabs/orgs","repos_url":"https://api.github.com/users/continuationlabs/repos","events_url":"https://api.github.com/users/continuationlabs/events{/privacy}","received_events_url":"https://api.github.com/users/continuationlabs/received_events","type":"Organization","site_admin":false},"repo":{"id":57059236,"name":"white-out","full_name":"continuationlabs/white-out","owner":{"login":"continuationlabs","id":12009519,"avatar_url":"https://avatars.githubusercontent.com/u/12009519?v=3","gravatar_id":"","url":"https://api.github.com/users/continuationlabs","html_url":"https://github.com/continuationlabs","followers_url":"https://api.github.com/users/continuationlabs/followers","following_url":"https://api.github.com/users/continuationlabs/following{/other_user}","gists_url":"https://api.github.com/users/continuationlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/continuationlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/continuationlabs/subscriptions","organizations_url":"https://api.github.com/users/continuationlabs/orgs","repos_url":"https://api.github.com/users/continuationlabs/repos","events_url":"https://api.github.com/users/continuationlabs/events{/privacy}","received_events_url":"https://api.github.com/users/continuationlabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/continuationlabs/white-out","description":"Transform stream to censor object data.","fork":false,"url":"https://api.github.com/repos/continuationlabs/white-out","forks_url":"https://api.github.com/repos/continuationlabs/white-out/forks","keys_url":"https://api.github.com/repos/continuationlabs/white-out/keys{/key_id}","collaborators_url":"https://api.github.com/repos/continuationlabs/white-out/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/continuationlabs/white-out/teams","hooks_url":"https://api.github.com/repos/continuationlabs/white-out/hooks","issue_events_url":"https://api.github.com/repos/continuationlabs/white-out/issues/events{/number}","events_url":"https://api.github.com/repos/continuationlabs/white-out/events","assignees_url":"https://api.github.com/repos/continuationlabs/white-out/assignees{/user}","branches_url":"https://api.github.com/repos/continuationlabs/white-out/branches{/branch}","tags_url":"https://api.github.com/repos/continuationlabs/white-out/tags","blobs_url":"https://api.github.com/repos/continuationlabs/white-out/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/continuationlabs/white-out/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/continuationlabs/white-out/git/refs{/sha}","trees_url":"https://api.github.com/repos/continuationlabs/white-out/git/trees{/sha}","statuses_url":"https://api.github.com/repos/continuationlabs/white-out/statuses/{sha}","languages_url":"https://api.github.com/repos/continuationlabs/white-out/languages","stargazers_url":"https://api.github.com/repos/continuationlabs/white-out/stargazers","contributors_url":"https://api.github.com/repos/continuationlabs/white-out/contributors","subscribers_url":"https://api.github.com/repos/continuationlabs/white-out/subscribers","subscription_url":"https://api.github.com/repos/continuationlabs/white-out/subscription","commits_url":"https://api.github.com/repos/continuationlabs/white-out/commits{/sha}","git_commits_url":"https://api.github.com/repos/continuationlabs/white-out/git/commits{/sha}","comments_url":"https://api.github.com/repos/continuationlabs/white-out/comments{/number}","issue_comment_url":"https://api.github.com/repos/continuationlabs/white-out/issues/comments{/number}","contents_url":"https://api.github.com/repos/continuationlabs/white-out/contents/{+path}","compare_url":"https://api.github.com/repos/continuationlabs/white-out/compare/{base}...{head}","merges_url":"https://api.github.com/repos/continuationlabs/white-out/merges","archive_url":"https://api.github.com/repos/continuationlabs/white-out/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/continuationlabs/white-out/downloads","issues_url":"https://api.github.com/repos/continuationlabs/white-out/issues{/number}","pulls_url":"https://api.github.com/repos/continuationlabs/white-out/pulls{/number}","milestones_url":"https://api.github.com/repos/continuationlabs/white-out/milestones{/number}","notifications_url":"https://api.github.com/repos/continuationlabs/white-out/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/continuationlabs/white-out/labels{/name}","releases_url":"https://api.github.com/repos/continuationlabs/white-out/releases{/id}","deployments_url":"https://api.github.com/repos/continuationlabs/white-out/deployments","created_at":"2016-04-25T16:48:12Z","updated_at":"2016-04-25T16:48:12Z","pushed_at":"2016-04-26T20:32:52Z","git_url":"git://github.com/continuationlabs/white-out.git","ssh_url":"git@github.com:continuationlabs/white-out.git","clone_url":"https://github.com/continuationlabs/white-out.git","svn_url":"https://github.com/continuationlabs/white-out","homepage":null,"size":4,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"continuationlabs:master","ref":"master","sha":"955017a94334dfdd2546205fd8c26b3ede7d0c60","user":{"login":"continuationlabs","id":12009519,"avatar_url":"https://avatars.githubusercontent.com/u/12009519?v=3","gravatar_id":"","url":"https://api.github.com/users/continuationlabs","html_url":"https://github.com/continuationlabs","followers_url":"https://api.github.com/users/continuationlabs/followers","following_url":"https://api.github.com/users/continuationlabs/following{/other_user}","gists_url":"https://api.github.com/users/continuationlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/continuationlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/continuationlabs/subscriptions","organizations_url":"https://api.github.com/users/continuationlabs/orgs","repos_url":"https://api.github.com/users/continuationlabs/repos","events_url":"https://api.github.com/users/continuationlabs/events{/privacy}","received_events_url":"https://api.github.com/users/continuationlabs/received_events","type":"Organization","site_admin":false},"repo":{"id":57059236,"name":"white-out","full_name":"continuationlabs/white-out","owner":{"login":"continuationlabs","id":12009519,"avatar_url":"https://avatars.githubusercontent.com/u/12009519?v=3","gravatar_id":"","url":"https://api.github.com/users/continuationlabs","html_url":"https://github.com/continuationlabs","followers_url":"https://api.github.com/users/continuationlabs/followers","following_url":"https://api.github.com/users/continuationlabs/following{/other_user}","gists_url":"https://api.github.com/users/continuationlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/continuationlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/continuationlabs/subscriptions","organizations_url":"https://api.github.com/users/continuationlabs/orgs","repos_url":"https://api.github.com/users/continuationlabs/repos","events_url":"https://api.github.com/users/continuationlabs/events{/privacy}","received_events_url":"https://api.github.com/users/continuationlabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/continuationlabs/white-out","description":"Transform stream to censor object data.","fork":false,"url":"https://api.github.com/repos/continuationlabs/white-out","forks_url":"https://api.github.com/repos/continuationlabs/white-out/forks","keys_url":"https://api.github.com/repos/continuationlabs/white-out/keys{/key_id}","collaborators_url":"https://api.github.com/repos/continuationlabs/white-out/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/continuationlabs/white-out/teams","hooks_url":"https://api.github.com/repos/continuationlabs/white-out/hooks","issue_events_url":"https://api.github.com/repos/continuationlabs/white-out/issues/events{/number}","events_url":"https://api.github.com/repos/continuationlabs/white-out/events","assignees_url":"https://api.github.com/repos/continuationlabs/white-out/assignees{/user}","branches_url":"https://api.github.com/repos/continuationlabs/white-out/branches{/branch}","tags_url":"https://api.github.com/repos/continuationlabs/white-out/tags","blobs_url":"https://api.github.com/repos/continuationlabs/white-out/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/continuationlabs/white-out/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/continuationlabs/white-out/git/refs{/sha}","trees_url":"https://api.github.com/repos/continuationlabs/white-out/git/trees{/sha}","statuses_url":"https://api.github.com/repos/continuationlabs/white-out/statuses/{sha}","languages_url":"https://api.github.com/repos/continuationlabs/white-out/languages","stargazers_url":"https://api.github.com/repos/continuationlabs/white-out/stargazers","contributors_url":"https://api.github.com/repos/continuationlabs/white-out/contributors","subscribers_url":"https://api.github.com/repos/continuationlabs/white-out/subscribers","subscription_url":"https://api.github.com/repos/continuationlabs/white-out/subscription","commits_url":"https://api.github.com/repos/continuationlabs/white-out/commits{/sha}","git_commits_url":"https://api.github.com/repos/continuationlabs/white-out/git/commits{/sha}","comments_url":"https://api.github.com/repos/continuationlabs/white-out/comments{/number}","issue_comment_url":"https://api.github.com/repos/continuationlabs/white-out/issues/comments{/number}","contents_url":"https://api.github.com/repos/continuationlabs/white-out/contents/{+path}","compare_url":"https://api.github.com/repos/continuationlabs/white-out/compare/{base}...{head}","merges_url":"https://api.github.com/repos/continuationlabs/white-out/merges","archive_url":"https://api.github.com/repos/continuationlabs/white-out/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/continuationlabs/white-out/downloads","issues_url":"https://api.github.com/repos/continuationlabs/white-out/issues{/number}","pulls_url":"https://api.github.com/repos/continuationlabs/white-out/pulls{/number}","milestones_url":"https://api.github.com/repos/continuationlabs/white-out/milestones{/number}","notifications_url":"https://api.github.com/repos/continuationlabs/white-out/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/continuationlabs/white-out/labels{/name}","releases_url":"https://api.github.com/repos/continuationlabs/white-out/releases{/id}","deployments_url":"https://api.github.com/repos/continuationlabs/white-out/deployments","created_at":"2016-04-25T16:48:12Z","updated_at":"2016-04-25T16:48:12Z","pushed_at":"2016-04-26T20:32:52Z","git_url":"git://github.com/continuationlabs/white-out.git","ssh_url":"git@github.com:continuationlabs/white-out.git","clone_url":"https://github.com/continuationlabs/white-out.git","svn_url":"https://github.com/continuationlabs/white-out","homepage":null,"size":4,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/continuationlabs/white-out/pulls/1"},"html":{"href":"https://github.com/continuationlabs/white-out/pull/1"},"issue":{"href":"https://api.github.com/repos/continuationlabs/white-out/issues/1"},"comments":{"href":"https://api.github.com/repos/continuationlabs/white-out/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/continuationlabs/white-out/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/continuationlabs/white-out/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/continuationlabs/white-out/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/continuationlabs/white-out/statuses/83c1cc15eff5a901b01409ff1b29b128de6127a8"}}}}