{"action":"created","comment":{"url":"https://api.github.com/repos/lucalanca/angular-architecture-graph/pulls/comments/37083049","id":37083049,"diff_hunk":"@@ -10,6 +10,9 @@ module.exports = function(scripts, options) {\n   var results = scripts.map(function(content) {\n \n     try {\n+      (function() {\n+        eval(content.text);","path":"index.js","position":5,"original_position":5,"commit_id":"198f0fb6cca0327cb295ff20b584063521ccebae","original_commit_id":"198f0fb6cca0327cb295ff20b584063521ccebae","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"eval can be harmful.","created_at":"2015-08-14T14:45:55Z","updated_at":"2015-08-14T14:45:55Z","html_url":"https://github.com/lucalanca/angular-architecture-graph/pull/5#discussion_r37083049","pull_request_url":"https://api.github.com/repos/lucalanca/angular-architecture-graph/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/lucalanca/angular-architecture-graph/pulls/comments/37083049"},"html":{"href":"https://github.com/lucalanca/angular-architecture-graph/pull/5#discussion_r37083049"},"pull_request":{"href":"https://api.github.com/repos/lucalanca/angular-architecture-graph/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/lucalanca/angular-architecture-graph/pulls/5","id":42463063,"html_url":"https://github.com/lucalanca/angular-architecture-graph/pull/5","diff_url":"https://github.com/lucalanca/angular-architecture-graph/pull/5.diff","patch_url":"https://github.com/lucalanca/angular-architecture-graph/pull/5.patch","issue_url":"https://api.github.com/repos/lucalanca/angular-architecture-graph/issues/5","number":5,"state":"open","locked":false,"title":"Wrap eval call in window context","user":{"login":"vfeskov","id":2743367,"avatar_url":"https://avatars.githubusercontent.com/u/2743367?v=3","gravatar_id":"","url":"https://api.github.com/users/vfeskov","html_url":"https://github.com/vfeskov","followers_url":"https://api.github.com/users/vfeskov/followers","following_url":"https://api.github.com/users/vfeskov/following{/other_user}","gists_url":"https://api.github.com/users/vfeskov/gists{/gist_id}","starred_url":"https://api.github.com/users/vfeskov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vfeskov/subscriptions","organizations_url":"https://api.github.com/users/vfeskov/orgs","repos_url":"https://api.github.com/users/vfeskov/repos","events_url":"https://api.github.com/users/vfeskov/events{/privacy}","received_events_url":"https://api.github.com/users/vfeskov/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-08-14T14:45:52Z","updated_at":"2015-08-14T14:45:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d38ea2ddb5a079f33e90ce000f968eb0ba16ee2a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/lucalanca/angular-architecture-graph/pulls/5/commits","review_comments_url":"https://api.github.com/repos/lucalanca/angular-architecture-graph/pulls/5/comments","review_comment_url":"https://api.github.com/repos/lucalanca/angular-architecture-graph/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lucalanca/angular-architecture-graph/issues/5/comments","statuses_url":"https://api.github.com/repos/lucalanca/angular-architecture-graph/statuses/198f0fb6cca0327cb295ff20b584063521ccebae","head":{"label":"vfeskov:master","ref":"master","sha":"198f0fb6cca0327cb295ff20b584063521ccebae","user":{"login":"vfeskov","id":2743367,"avatar_url":"https://avatars.githubusercontent.com/u/2743367?v=3","gravatar_id":"","url":"https://api.github.com/users/vfeskov","html_url":"https://github.com/vfeskov","followers_url":"https://api.github.com/users/vfeskov/followers","following_url":"https://api.github.com/users/vfeskov/following{/other_user}","gists_url":"https://api.github.com/users/vfeskov/gists{/gist_id}","starred_url":"https://api.github.com/users/vfeskov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vfeskov/subscriptions","organizations_url":"https://api.github.com/users/vfeskov/orgs","repos_url":"https://api.github.com/users/vfeskov/repos","events_url":"https://api.github.com/users/vfeskov/events{/privacy}","received_events_url":"https://api.github.com/users/vfeskov/received_events","type":"User","site_admin":false},"repo":{"id":40717630,"name":"angular-architecture-graph","full_name":"vfeskov/angular-architecture-graph","owner":{"login":"vfeskov","id":2743367,"avatar_url":"https://avatars.githubusercontent.com/u/2743367?v=3","gravatar_id":"","url":"https://api.github.com/users/vfeskov","html_url":"https://github.com/vfeskov","followers_url":"https://api.github.com/users/vfeskov/followers","following_url":"https://api.github.com/users/vfeskov/following{/other_user}","gists_url":"https://api.github.com/users/vfeskov/gists{/gist_id}","starred_url":"https://api.github.com/users/vfeskov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vfeskov/subscriptions","organizations_url":"https://api.github.com/users/vfeskov/orgs","repos_url":"https://api.github.com/users/vfeskov/repos","events_url":"https://api.github.com/users/vfeskov/events{/privacy}","received_events_url":"https://api.github.com/users/vfeskov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vfeskov/angular-architecture-graph","description":"Create a graph of angular module definitions","fork":true,"url":"https://api.github.com/repos/vfeskov/angular-architecture-graph","forks_url":"https://api.github.com/repos/vfeskov/angular-architecture-graph/forks","keys_url":"https://api.github.com/repos/vfeskov/angular-architecture-graph/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vfeskov/angular-architecture-graph/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vfeskov/angular-architecture-graph/teams","hooks_url":"https://api.github.com/repos/vfeskov/angular-architecture-graph/hooks","issue_events_url":"https://api.github.com/repos/vfeskov/angular-architecture-graph/issues/events{/number}","events_url":"https://api.github.com/repos/vfeskov/angular-architecture-graph/events","assignees_url":"https://api.github.com/repos/vfeskov/angular-architecture-graph/assignees{/user}","branches_url":"https://api.github.com/repos/vfeskov/angular-architecture-graph/branches{/branch}","tags_url":"https://api.github.com/repos/vfeskov/angular-architecture-graph/tags","blobs_url":"https://api.github.com/repos/vfeskov/angular-architecture-graph/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vfeskov/angular-architecture-graph/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vfeskov/angular-architecture-graph/git/refs{/sha}","trees_url":"https://api.github.com/repos/vfeskov/angular-architecture-graph/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vfeskov/angular-architecture-graph/statuses/{sha}","languages_url":"https://api.github.com/repos/vfeskov/angular-architecture-graph/languages","stargazers_url":"https://api.github.com/repos/vfeskov/angular-architecture-graph/stargazers","contributors_url":"https://api.github.com/repos/vfeskov/angular-architecture-graph/contributors","subscribers_url":"https://api.github.com/repos/vfeskov/angular-architecture-graph/subscribers","subscription_url":"https://api.github.com/repos/vfeskov/angular-architecture-graph/subscription","commits_url":"https://api.github.com/repos/vfeskov/angular-architecture-graph/commits{/sha}","git_commits_url":"https://api.github.com/repos/vfeskov/angular-architecture-graph/git/commits{/sha}","comments_url":"https://api.github.com/repos/vfeskov/angular-architecture-graph/comments{/number}","issue_comment_url":"https://api.github.com/repos/vfeskov/angular-architecture-graph/issues/comments{/number}","contents_url":"https://api.github.com/repos/vfeskov/angular-architecture-graph/contents/{+path}","compare_url":"https://api.github.com/repos/vfeskov/angular-architecture-graph/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vfeskov/angular-architecture-graph/merges","archive_url":"https://api.github.com/repos/vfeskov/angular-architecture-graph/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vfeskov/angular-architecture-graph/downloads","issues_url":"https://api.github.com/repos/vfeskov/angular-architecture-graph/issues{/number}","pulls_url":"https://api.github.com/repos/vfeskov/angular-architecture-graph/pulls{/number}","milestones_url":"https://api.github.com/repos/vfeskov/angular-architecture-graph/milestones{/number}","notifications_url":"https://api.github.com/repos/vfeskov/angular-architecture-graph/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vfeskov/angular-architecture-graph/labels{/name}","releases_url":"https://api.github.com/repos/vfeskov/angular-architecture-graph/releases{/id}","created_at":"2015-08-14T13:58:16Z","updated_at":"2015-08-14T13:58:17Z","pushed_at":"2015-08-14T14:44:20Z","git_url":"git://github.com/vfeskov/angular-architecture-graph.git","ssh_url":"git@github.com:vfeskov/angular-architecture-graph.git","clone_url":"https://github.com/vfeskov/angular-architecture-graph.git","svn_url":"https://github.com/vfeskov/angular-architecture-graph","homepage":null,"size":368,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"lucalanca:master","ref":"master","sha":"d4532edb3a0b7a6c0e41dfbbcfae8e1d50ea708a","user":{"login":"lucalanca","id":389459,"avatar_url":"https://avatars.githubusercontent.com/u/389459?v=3","gravatar_id":"","url":"https://api.github.com/users/lucalanca","html_url":"https://github.com/lucalanca","followers_url":"https://api.github.com/users/lucalanca/followers","following_url":"https://api.github.com/users/lucalanca/following{/other_user}","gists_url":"https://api.github.com/users/lucalanca/gists{/gist_id}","starred_url":"https://api.github.com/users/lucalanca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucalanca/subscriptions","organizations_url":"https://api.github.com/users/lucalanca/orgs","repos_url":"https://api.github.com/users/lucalanca/repos","events_url":"https://api.github.com/users/lucalanca/events{/privacy}","received_events_url":"https://api.github.com/users/lucalanca/received_events","type":"User","site_admin":false},"repo":{"id":23079409,"name":"angular-architecture-graph","full_name":"lucalanca/angular-architecture-graph","owner":{"login":"lucalanca","id":389459,"avatar_url":"https://avatars.githubusercontent.com/u/389459?v=3","gravatar_id":"","url":"https://api.github.com/users/lucalanca","html_url":"https://github.com/lucalanca","followers_url":"https://api.github.com/users/lucalanca/followers","following_url":"https://api.github.com/users/lucalanca/following{/other_user}","gists_url":"https://api.github.com/users/lucalanca/gists{/gist_id}","starred_url":"https://api.github.com/users/lucalanca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucalanca/subscriptions","organizations_url":"https://api.github.com/users/lucalanca/orgs","repos_url":"https://api.github.com/users/lucalanca/repos","events_url":"https://api.github.com/users/lucalanca/events{/privacy}","received_events_url":"https://api.github.com/users/lucalanca/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lucalanca/angular-architecture-graph","description":"Create a graph of angular module definitions","fork":true,"url":"https://api.github.com/repos/lucalanca/angular-architecture-graph","forks_url":"https://api.github.com/repos/lucalanca/angular-architecture-graph/forks","keys_url":"https://api.github.com/repos/lucalanca/angular-architecture-graph/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lucalanca/angular-architecture-graph/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lucalanca/angular-architecture-graph/teams","hooks_url":"https://api.github.com/repos/lucalanca/angular-architecture-graph/hooks","issue_events_url":"https://api.github.com/repos/lucalanca/angular-architecture-graph/issues/events{/number}","events_url":"https://api.github.com/repos/lucalanca/angular-architecture-graph/events","assignees_url":"https://api.github.com/repos/lucalanca/angular-architecture-graph/assignees{/user}","branches_url":"https://api.github.com/repos/lucalanca/angular-architecture-graph/branches{/branch}","tags_url":"https://api.github.com/repos/lucalanca/angular-architecture-graph/tags","blobs_url":"https://api.github.com/repos/lucalanca/angular-architecture-graph/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lucalanca/angular-architecture-graph/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lucalanca/angular-architecture-graph/git/refs{/sha}","trees_url":"https://api.github.com/repos/lucalanca/angular-architecture-graph/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lucalanca/angular-architecture-graph/statuses/{sha}","languages_url":"https://api.github.com/repos/lucalanca/angular-architecture-graph/languages","stargazers_url":"https://api.github.com/repos/lucalanca/angular-architecture-graph/stargazers","contributors_url":"https://api.github.com/repos/lucalanca/angular-architecture-graph/contributors","subscribers_url":"https://api.github.com/repos/lucalanca/angular-architecture-graph/subscribers","subscription_url":"https://api.github.com/repos/lucalanca/angular-architecture-graph/subscription","commits_url":"https://api.github.com/repos/lucalanca/angular-architecture-graph/commits{/sha}","git_commits_url":"https://api.github.com/repos/lucalanca/angular-architecture-graph/git/commits{/sha}","comments_url":"https://api.github.com/repos/lucalanca/angular-architecture-graph/comments{/number}","issue_comment_url":"https://api.github.com/repos/lucalanca/angular-architecture-graph/issues/comments{/number}","contents_url":"https://api.github.com/repos/lucalanca/angular-architecture-graph/contents/{+path}","compare_url":"https://api.github.com/repos/lucalanca/angular-architecture-graph/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lucalanca/angular-architecture-graph/merges","archive_url":"https://api.github.com/repos/lucalanca/angular-architecture-graph/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lucalanca/angular-architecture-graph/downloads","issues_url":"https://api.github.com/repos/lucalanca/angular-architecture-graph/issues{/number}","pulls_url":"https://api.github.com/repos/lucalanca/angular-architecture-graph/pulls{/number}","milestones_url":"https://api.github.com/repos/lucalanca/angular-architecture-graph/milestones{/number}","notifications_url":"https://api.github.com/repos/lucalanca/angular-architecture-graph/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lucalanca/angular-architecture-graph/labels{/name}","releases_url":"https://api.github.com/repos/lucalanca/angular-architecture-graph/releases{/id}","created_at":"2014-08-18T17:05:29Z","updated_at":"2015-06-24T15:27:13Z","pushed_at":"2015-08-14T14:45:53Z","git_url":"git://github.com/lucalanca/angular-architecture-graph.git","ssh_url":"git@github.com:lucalanca/angular-architecture-graph.git","clone_url":"https://github.com/lucalanca/angular-architecture-graph.git","svn_url":"https://github.com/lucalanca/angular-architecture-graph","homepage":null,"size":368,"stargazers_count":10,"watchers_count":10,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lucalanca/angular-architecture-graph/pulls/5"},"html":{"href":"https://github.com/lucalanca/angular-architecture-graph/pull/5"},"issue":{"href":"https://api.github.com/repos/lucalanca/angular-architecture-graph/issues/5"},"comments":{"href":"https://api.github.com/repos/lucalanca/angular-architecture-graph/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/lucalanca/angular-architecture-graph/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/lucalanca/angular-architecture-graph/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lucalanca/angular-architecture-graph/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/lucalanca/angular-architecture-graph/statuses/198f0fb6cca0327cb295ff20b584063521ccebae"}}}}