{"action":"created","comment":{"url":"https://api.github.com/repos/marmelab/sedbot.js/pulls/comments/43988011","id":43988011,"diff_hunk":"@@ -1,8 +1,112 @@\n-module.exports = function fixer(parsedContent) {\n-    // @todo if parsedContent.matches is empty, comment an error\n-    // Return data if need to fix\n+var crypto = require('crypto');","path":"lib/fixer.js","position":4,"original_position":4,"commit_id":"aa517ff1f2adfd3722815716e2039376b49a32a9","original_commit_id":"aa517ff1f2adfd3722815716e2039376b49a32a9","user":{"login":"Kmaschta","id":1819833,"avatar_url":"https://avatars.githubusercontent.com/u/1819833?v=3","gravatar_id":"","url":"https://api.github.com/users/Kmaschta","html_url":"https://github.com/Kmaschta","followers_url":"https://api.github.com/users/Kmaschta/followers","following_url":"https://api.github.com/users/Kmaschta/following{/other_user}","gists_url":"https://api.github.com/users/Kmaschta/gists{/gist_id}","starred_url":"https://api.github.com/users/Kmaschta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kmaschta/subscriptions","organizations_url":"https://api.github.com/users/Kmaschta/orgs","repos_url":"https://api.github.com/users/Kmaschta/repos","events_url":"https://api.github.com/users/Kmaschta/events{/privacy}","received_events_url":"https://api.github.com/users/Kmaschta/received_events","type":"User","site_admin":false},"body":"This is not the case? `require('crypto')` is at line 1.\r\nOr I missed something.","created_at":"2015-11-05T08:44:56Z","updated_at":"2015-11-05T08:44:56Z","html_url":"https://github.com/marmelab/sedbot.js/pull/5#discussion_r43988011","pull_request_url":"https://api.github.com/repos/marmelab/sedbot.js/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/marmelab/sedbot.js/pulls/comments/43988011"},"html":{"href":"https://github.com/marmelab/sedbot.js/pull/5#discussion_r43988011"},"pull_request":{"href":"https://api.github.com/repos/marmelab/sedbot.js/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/marmelab/sedbot.js/pulls/5","id":49713430,"html_url":"https://github.com/marmelab/sedbot.js/pull/5","diff_url":"https://github.com/marmelab/sedbot.js/pull/5.diff","patch_url":"https://github.com/marmelab/sedbot.js/pull/5.patch","issue_url":"https://api.github.com/repos/marmelab/sedbot.js/issues/5","number":5,"state":"open","locked":false,"title":"[WIP] Parser tests, Fixer and Github API","user":{"login":"Kmaschta","id":1819833,"avatar_url":"https://avatars.githubusercontent.com/u/1819833?v=3","gravatar_id":"","url":"https://api.github.com/users/Kmaschta","html_url":"https://github.com/Kmaschta","followers_url":"https://api.github.com/users/Kmaschta/followers","following_url":"https://api.github.com/users/Kmaschta/following{/other_user}","gists_url":"https://api.github.com/users/Kmaschta/gists{/gist_id}","starred_url":"https://api.github.com/users/Kmaschta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kmaschta/subscriptions","organizations_url":"https://api.github.com/users/Kmaschta/orgs","repos_url":"https://api.github.com/users/Kmaschta/repos","events_url":"https://api.github.com/users/Kmaschta/events{/privacy}","received_events_url":"https://api.github.com/users/Kmaschta/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-04T16:45:27Z","updated_at":"2015-11-05T08:44:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ce06b8286e006142b8ba12930d2f7fe6ae2a0330","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/marmelab/sedbot.js/pulls/5/commits","review_comments_url":"https://api.github.com/repos/marmelab/sedbot.js/pulls/5/comments","review_comment_url":"https://api.github.com/repos/marmelab/sedbot.js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/marmelab/sedbot.js/issues/5/comments","statuses_url":"https://api.github.com/repos/marmelab/sedbot.js/statuses/aa517ff1f2adfd3722815716e2039376b49a32a9","head":{"label":"marmelab:fixer","ref":"fixer","sha":"aa517ff1f2adfd3722815716e2039376b49a32a9","user":{"login":"marmelab","id":3116319,"avatar_url":"https://avatars.githubusercontent.com/u/3116319?v=3","gravatar_id":"","url":"https://api.github.com/users/marmelab","html_url":"https://github.com/marmelab","followers_url":"https://api.github.com/users/marmelab/followers","following_url":"https://api.github.com/users/marmelab/following{/other_user}","gists_url":"https://api.github.com/users/marmelab/gists{/gist_id}","starred_url":"https://api.github.com/users/marmelab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marmelab/subscriptions","organizations_url":"https://api.github.com/users/marmelab/orgs","repos_url":"https://api.github.com/users/marmelab/repos","events_url":"https://api.github.com/users/marmelab/events{/privacy}","received_events_url":"https://api.github.com/users/marmelab/received_events","type":"Organization","site_admin":false},"repo":{"id":45388193,"name":"sedbot.js","full_name":"marmelab/sedbot.js","owner":{"login":"marmelab","id":3116319,"avatar_url":"https://avatars.githubusercontent.com/u/3116319?v=3","gravatar_id":"","url":"https://api.github.com/users/marmelab","html_url":"https://github.com/marmelab","followers_url":"https://api.github.com/users/marmelab/followers","following_url":"https://api.github.com/users/marmelab/following{/other_user}","gists_url":"https://api.github.com/users/marmelab/gists{/gist_id}","starred_url":"https://api.github.com/users/marmelab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marmelab/subscriptions","organizations_url":"https://api.github.com/users/marmelab/orgs","repos_url":"https://api.github.com/users/marmelab/repos","events_url":"https://api.github.com/users/marmelab/events{/privacy}","received_events_url":"https://api.github.com/users/marmelab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/marmelab/sedbot.js","description":"","fork":false,"url":"https://api.github.com/repos/marmelab/sedbot.js","forks_url":"https://api.github.com/repos/marmelab/sedbot.js/forks","keys_url":"https://api.github.com/repos/marmelab/sedbot.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/marmelab/sedbot.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/marmelab/sedbot.js/teams","hooks_url":"https://api.github.com/repos/marmelab/sedbot.js/hooks","issue_events_url":"https://api.github.com/repos/marmelab/sedbot.js/issues/events{/number}","events_url":"https://api.github.com/repos/marmelab/sedbot.js/events","assignees_url":"https://api.github.com/repos/marmelab/sedbot.js/assignees{/user}","branches_url":"https://api.github.com/repos/marmelab/sedbot.js/branches{/branch}","tags_url":"https://api.github.com/repos/marmelab/sedbot.js/tags","blobs_url":"https://api.github.com/repos/marmelab/sedbot.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/marmelab/sedbot.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/marmelab/sedbot.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/marmelab/sedbot.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/marmelab/sedbot.js/statuses/{sha}","languages_url":"https://api.github.com/repos/marmelab/sedbot.js/languages","stargazers_url":"https://api.github.com/repos/marmelab/sedbot.js/stargazers","contributors_url":"https://api.github.com/repos/marmelab/sedbot.js/contributors","subscribers_url":"https://api.github.com/repos/marmelab/sedbot.js/subscribers","subscription_url":"https://api.github.com/repos/marmelab/sedbot.js/subscription","commits_url":"https://api.github.com/repos/marmelab/sedbot.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/marmelab/sedbot.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/marmelab/sedbot.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/marmelab/sedbot.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/marmelab/sedbot.js/contents/{+path}","compare_url":"https://api.github.com/repos/marmelab/sedbot.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/marmelab/sedbot.js/merges","archive_url":"https://api.github.com/repos/marmelab/sedbot.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/marmelab/sedbot.js/downloads","issues_url":"https://api.github.com/repos/marmelab/sedbot.js/issues{/number}","pulls_url":"https://api.github.com/repos/marmelab/sedbot.js/pulls{/number}","milestones_url":"https://api.github.com/repos/marmelab/sedbot.js/milestones{/number}","notifications_url":"https://api.github.com/repos/marmelab/sedbot.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/marmelab/sedbot.js/labels{/name}","releases_url":"https://api.github.com/repos/marmelab/sedbot.js/releases{/id}","created_at":"2015-11-02T10:38:23Z","updated_at":"2015-11-02T17:02:01Z","pushed_at":"2015-11-04T16:45:28Z","git_url":"git://github.com/marmelab/sedbot.js.git","ssh_url":"git@github.com:marmelab/sedbot.js.git","clone_url":"https://github.com/marmelab/sedbot.js.git","svn_url":"https://github.com/marmelab/sedbot.js","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"marmelab:master","ref":"master","sha":"c78376bf19373c28809e6b1fd5fc0ba77a0f3018","user":{"login":"marmelab","id":3116319,"avatar_url":"https://avatars.githubusercontent.com/u/3116319?v=3","gravatar_id":"","url":"https://api.github.com/users/marmelab","html_url":"https://github.com/marmelab","followers_url":"https://api.github.com/users/marmelab/followers","following_url":"https://api.github.com/users/marmelab/following{/other_user}","gists_url":"https://api.github.com/users/marmelab/gists{/gist_id}","starred_url":"https://api.github.com/users/marmelab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marmelab/subscriptions","organizations_url":"https://api.github.com/users/marmelab/orgs","repos_url":"https://api.github.com/users/marmelab/repos","events_url":"https://api.github.com/users/marmelab/events{/privacy}","received_events_url":"https://api.github.com/users/marmelab/received_events","type":"Organization","site_admin":false},"repo":{"id":45388193,"name":"sedbot.js","full_name":"marmelab/sedbot.js","owner":{"login":"marmelab","id":3116319,"avatar_url":"https://avatars.githubusercontent.com/u/3116319?v=3","gravatar_id":"","url":"https://api.github.com/users/marmelab","html_url":"https://github.com/marmelab","followers_url":"https://api.github.com/users/marmelab/followers","following_url":"https://api.github.com/users/marmelab/following{/other_user}","gists_url":"https://api.github.com/users/marmelab/gists{/gist_id}","starred_url":"https://api.github.com/users/marmelab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marmelab/subscriptions","organizations_url":"https://api.github.com/users/marmelab/orgs","repos_url":"https://api.github.com/users/marmelab/repos","events_url":"https://api.github.com/users/marmelab/events{/privacy}","received_events_url":"https://api.github.com/users/marmelab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/marmelab/sedbot.js","description":"","fork":false,"url":"https://api.github.com/repos/marmelab/sedbot.js","forks_url":"https://api.github.com/repos/marmelab/sedbot.js/forks","keys_url":"https://api.github.com/repos/marmelab/sedbot.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/marmelab/sedbot.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/marmelab/sedbot.js/teams","hooks_url":"https://api.github.com/repos/marmelab/sedbot.js/hooks","issue_events_url":"https://api.github.com/repos/marmelab/sedbot.js/issues/events{/number}","events_url":"https://api.github.com/repos/marmelab/sedbot.js/events","assignees_url":"https://api.github.com/repos/marmelab/sedbot.js/assignees{/user}","branches_url":"https://api.github.com/repos/marmelab/sedbot.js/branches{/branch}","tags_url":"https://api.github.com/repos/marmelab/sedbot.js/tags","blobs_url":"https://api.github.com/repos/marmelab/sedbot.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/marmelab/sedbot.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/marmelab/sedbot.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/marmelab/sedbot.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/marmelab/sedbot.js/statuses/{sha}","languages_url":"https://api.github.com/repos/marmelab/sedbot.js/languages","stargazers_url":"https://api.github.com/repos/marmelab/sedbot.js/stargazers","contributors_url":"https://api.github.com/repos/marmelab/sedbot.js/contributors","subscribers_url":"https://api.github.com/repos/marmelab/sedbot.js/subscribers","subscription_url":"https://api.github.com/repos/marmelab/sedbot.js/subscription","commits_url":"https://api.github.com/repos/marmelab/sedbot.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/marmelab/sedbot.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/marmelab/sedbot.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/marmelab/sedbot.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/marmelab/sedbot.js/contents/{+path}","compare_url":"https://api.github.com/repos/marmelab/sedbot.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/marmelab/sedbot.js/merges","archive_url":"https://api.github.com/repos/marmelab/sedbot.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/marmelab/sedbot.js/downloads","issues_url":"https://api.github.com/repos/marmelab/sedbot.js/issues{/number}","pulls_url":"https://api.github.com/repos/marmelab/sedbot.js/pulls{/number}","milestones_url":"https://api.github.com/repos/marmelab/sedbot.js/milestones{/number}","notifications_url":"https://api.github.com/repos/marmelab/sedbot.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/marmelab/sedbot.js/labels{/name}","releases_url":"https://api.github.com/repos/marmelab/sedbot.js/releases{/id}","created_at":"2015-11-02T10:38:23Z","updated_at":"2015-11-02T17:02:01Z","pushed_at":"2015-11-04T16:45:28Z","git_url":"git://github.com/marmelab/sedbot.js.git","ssh_url":"git@github.com:marmelab/sedbot.js.git","clone_url":"https://github.com/marmelab/sedbot.js.git","svn_url":"https://github.com/marmelab/sedbot.js","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/marmelab/sedbot.js/pulls/5"},"html":{"href":"https://github.com/marmelab/sedbot.js/pull/5"},"issue":{"href":"https://api.github.com/repos/marmelab/sedbot.js/issues/5"},"comments":{"href":"https://api.github.com/repos/marmelab/sedbot.js/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/marmelab/sedbot.js/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/marmelab/sedbot.js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/marmelab/sedbot.js/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/marmelab/sedbot.js/statuses/aa517ff1f2adfd3722815716e2039376b49a32a9"}}}}