{"action":"opened","number":14,"pull_request":{"url":"https://api.github.com/repos/rwjblue/broccoli-funnel/pulls/14","id":28339203,"html_url":"https://github.com/rwjblue/broccoli-funnel/pull/14","diff_url":"https://github.com/rwjblue/broccoli-funnel/pull/14.diff","patch_url":"https://github.com/rwjblue/broccoli-funnel/pull/14.patch","issue_url":"https://api.github.com/repos/rwjblue/broccoli-funnel/issues/14","number":14,"state":"open","locked":false,"title":"Don’t mutate any filter arrays passed in.","user":{"login":"timmfin","id":60455,"avatar_url":"https://avatars.githubusercontent.com/u/60455?v=3","gravatar_id":"","url":"https://api.github.com/users/timmfin","html_url":"https://github.com/timmfin","followers_url":"https://api.github.com/users/timmfin/followers","following_url":"https://api.github.com/users/timmfin/following{/other_user}","gists_url":"https://api.github.com/users/timmfin/gists{/gist_id}","starred_url":"https://api.github.com/users/timmfin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timmfin/subscriptions","organizations_url":"https://api.github.com/users/timmfin/orgs","repos_url":"https://api.github.com/users/timmfin/repos","events_url":"https://api.github.com/users/timmfin/events{/privacy}","received_events_url":"https://api.github.com/users/timmfin/received_events","type":"User","site_admin":false},"body":"They might be external variables used by other code. This tripped me up for a little while, because I was re-using a filter array variable in other code and it was unexpectedly not an array of strings anymore (it was mutated into an array of objects).","created_at":"2015-01-30T05:34:51Z","updated_at":"2015-01-30T05:34:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rwjblue/broccoli-funnel/pulls/14/commits","review_comments_url":"https://api.github.com/repos/rwjblue/broccoli-funnel/pulls/14/comments","review_comment_url":"https://api.github.com/repos/rwjblue/broccoli-funnel/pulls/comments/{number}","comments_url":"https://api.github.com/repos/rwjblue/broccoli-funnel/issues/14/comments","statuses_url":"https://api.github.com/repos/rwjblue/broccoli-funnel/statuses/457673ca61d652e727788fad9221a691465608d3","head":{"label":"timmfin:dont-mutate-include-n-exclude","ref":"dont-mutate-include-n-exclude","sha":"457673ca61d652e727788fad9221a691465608d3","user":{"login":"timmfin","id":60455,"avatar_url":"https://avatars.githubusercontent.com/u/60455?v=3","gravatar_id":"","url":"https://api.github.com/users/timmfin","html_url":"https://github.com/timmfin","followers_url":"https://api.github.com/users/timmfin/followers","following_url":"https://api.github.com/users/timmfin/following{/other_user}","gists_url":"https://api.github.com/users/timmfin/gists{/gist_id}","starred_url":"https://api.github.com/users/timmfin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timmfin/subscriptions","organizations_url":"https://api.github.com/users/timmfin/orgs","repos_url":"https://api.github.com/users/timmfin/repos","events_url":"https://api.github.com/users/timmfin/events{/privacy}","received_events_url":"https://api.github.com/users/timmfin/received_events","type":"User","site_admin":false},"repo":{"id":30056998,"name":"broccoli-funnel","full_name":"timmfin/broccoli-funnel","owner":{"login":"timmfin","id":60455,"avatar_url":"https://avatars.githubusercontent.com/u/60455?v=3","gravatar_id":"","url":"https://api.github.com/users/timmfin","html_url":"https://github.com/timmfin","followers_url":"https://api.github.com/users/timmfin/followers","following_url":"https://api.github.com/users/timmfin/following{/other_user}","gists_url":"https://api.github.com/users/timmfin/gists{/gist_id}","starred_url":"https://api.github.com/users/timmfin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timmfin/subscriptions","organizations_url":"https://api.github.com/users/timmfin/orgs","repos_url":"https://api.github.com/users/timmfin/repos","events_url":"https://api.github.com/users/timmfin/events{/privacy}","received_events_url":"https://api.github.com/users/timmfin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/timmfin/broccoli-funnel","description":null,"fork":true,"url":"https://api.github.com/repos/timmfin/broccoli-funnel","forks_url":"https://api.github.com/repos/timmfin/broccoli-funnel/forks","keys_url":"https://api.github.com/repos/timmfin/broccoli-funnel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/timmfin/broccoli-funnel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/timmfin/broccoli-funnel/teams","hooks_url":"https://api.github.com/repos/timmfin/broccoli-funnel/hooks","issue_events_url":"https://api.github.com/repos/timmfin/broccoli-funnel/issues/events{/number}","events_url":"https://api.github.com/repos/timmfin/broccoli-funnel/events","assignees_url":"https://api.github.com/repos/timmfin/broccoli-funnel/assignees{/user}","branches_url":"https://api.github.com/repos/timmfin/broccoli-funnel/branches{/branch}","tags_url":"https://api.github.com/repos/timmfin/broccoli-funnel/tags","blobs_url":"https://api.github.com/repos/timmfin/broccoli-funnel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/timmfin/broccoli-funnel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/timmfin/broccoli-funnel/git/refs{/sha}","trees_url":"https://api.github.com/repos/timmfin/broccoli-funnel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/timmfin/broccoli-funnel/statuses/{sha}","languages_url":"https://api.github.com/repos/timmfin/broccoli-funnel/languages","stargazers_url":"https://api.github.com/repos/timmfin/broccoli-funnel/stargazers","contributors_url":"https://api.github.com/repos/timmfin/broccoli-funnel/contributors","subscribers_url":"https://api.github.com/repos/timmfin/broccoli-funnel/subscribers","subscription_url":"https://api.github.com/repos/timmfin/broccoli-funnel/subscription","commits_url":"https://api.github.com/repos/timmfin/broccoli-funnel/commits{/sha}","git_commits_url":"https://api.github.com/repos/timmfin/broccoli-funnel/git/commits{/sha}","comments_url":"https://api.github.com/repos/timmfin/broccoli-funnel/comments{/number}","issue_comment_url":"https://api.github.com/repos/timmfin/broccoli-funnel/issues/comments/{number}","contents_url":"https://api.github.com/repos/timmfin/broccoli-funnel/contents/{+path}","compare_url":"https://api.github.com/repos/timmfin/broccoli-funnel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/timmfin/broccoli-funnel/merges","archive_url":"https://api.github.com/repos/timmfin/broccoli-funnel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/timmfin/broccoli-funnel/downloads","issues_url":"https://api.github.com/repos/timmfin/broccoli-funnel/issues{/number}","pulls_url":"https://api.github.com/repos/timmfin/broccoli-funnel/pulls{/number}","milestones_url":"https://api.github.com/repos/timmfin/broccoli-funnel/milestones{/number}","notifications_url":"https://api.github.com/repos/timmfin/broccoli-funnel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/timmfin/broccoli-funnel/labels{/name}","releases_url":"https://api.github.com/repos/timmfin/broccoli-funnel/releases{/id}","created_at":"2015-01-30T05:01:24Z","updated_at":"2015-01-30T05:01:24Z","pushed_at":"2015-01-30T05:30:34Z","git_url":"git://github.com/timmfin/broccoli-funnel.git","ssh_url":"git@github.com:timmfin/broccoli-funnel.git","clone_url":"https://github.com/timmfin/broccoli-funnel.git","svn_url":"https://github.com/timmfin/broccoli-funnel","homepage":null,"size":381,"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":"rwjblue:master","ref":"master","sha":"1486c0d1dd7bd57f3ddb02e1a17186620330fb97","user":{"login":"rwjblue","id":12637,"avatar_url":"https://avatars.githubusercontent.com/u/12637?v=3","gravatar_id":"","url":"https://api.github.com/users/rwjblue","html_url":"https://github.com/rwjblue","followers_url":"https://api.github.com/users/rwjblue/followers","following_url":"https://api.github.com/users/rwjblue/following{/other_user}","gists_url":"https://api.github.com/users/rwjblue/gists{/gist_id}","starred_url":"https://api.github.com/users/rwjblue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwjblue/subscriptions","organizations_url":"https://api.github.com/users/rwjblue/orgs","repos_url":"https://api.github.com/users/rwjblue/repos","events_url":"https://api.github.com/users/rwjblue/events{/privacy}","received_events_url":"https://api.github.com/users/rwjblue/received_events","type":"User","site_admin":false},"repo":{"id":25034715,"name":"broccoli-funnel","full_name":"rwjblue/broccoli-funnel","owner":{"login":"rwjblue","id":12637,"avatar_url":"https://avatars.githubusercontent.com/u/12637?v=3","gravatar_id":"","url":"https://api.github.com/users/rwjblue","html_url":"https://github.com/rwjblue","followers_url":"https://api.github.com/users/rwjblue/followers","following_url":"https://api.github.com/users/rwjblue/following{/other_user}","gists_url":"https://api.github.com/users/rwjblue/gists{/gist_id}","starred_url":"https://api.github.com/users/rwjblue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwjblue/subscriptions","organizations_url":"https://api.github.com/users/rwjblue/orgs","repos_url":"https://api.github.com/users/rwjblue/repos","events_url":"https://api.github.com/users/rwjblue/events{/privacy}","received_events_url":"https://api.github.com/users/rwjblue/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rwjblue/broccoli-funnel","description":null,"fork":false,"url":"https://api.github.com/repos/rwjblue/broccoli-funnel","forks_url":"https://api.github.com/repos/rwjblue/broccoli-funnel/forks","keys_url":"https://api.github.com/repos/rwjblue/broccoli-funnel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rwjblue/broccoli-funnel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rwjblue/broccoli-funnel/teams","hooks_url":"https://api.github.com/repos/rwjblue/broccoli-funnel/hooks","issue_events_url":"https://api.github.com/repos/rwjblue/broccoli-funnel/issues/events{/number}","events_url":"https://api.github.com/repos/rwjblue/broccoli-funnel/events","assignees_url":"https://api.github.com/repos/rwjblue/broccoli-funnel/assignees{/user}","branches_url":"https://api.github.com/repos/rwjblue/broccoli-funnel/branches{/branch}","tags_url":"https://api.github.com/repos/rwjblue/broccoli-funnel/tags","blobs_url":"https://api.github.com/repos/rwjblue/broccoli-funnel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rwjblue/broccoli-funnel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rwjblue/broccoli-funnel/git/refs{/sha}","trees_url":"https://api.github.com/repos/rwjblue/broccoli-funnel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rwjblue/broccoli-funnel/statuses/{sha}","languages_url":"https://api.github.com/repos/rwjblue/broccoli-funnel/languages","stargazers_url":"https://api.github.com/repos/rwjblue/broccoli-funnel/stargazers","contributors_url":"https://api.github.com/repos/rwjblue/broccoli-funnel/contributors","subscribers_url":"https://api.github.com/repos/rwjblue/broccoli-funnel/subscribers","subscription_url":"https://api.github.com/repos/rwjblue/broccoli-funnel/subscription","commits_url":"https://api.github.com/repos/rwjblue/broccoli-funnel/commits{/sha}","git_commits_url":"https://api.github.com/repos/rwjblue/broccoli-funnel/git/commits{/sha}","comments_url":"https://api.github.com/repos/rwjblue/broccoli-funnel/comments{/number}","issue_comment_url":"https://api.github.com/repos/rwjblue/broccoli-funnel/issues/comments/{number}","contents_url":"https://api.github.com/repos/rwjblue/broccoli-funnel/contents/{+path}","compare_url":"https://api.github.com/repos/rwjblue/broccoli-funnel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rwjblue/broccoli-funnel/merges","archive_url":"https://api.github.com/repos/rwjblue/broccoli-funnel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rwjblue/broccoli-funnel/downloads","issues_url":"https://api.github.com/repos/rwjblue/broccoli-funnel/issues{/number}","pulls_url":"https://api.github.com/repos/rwjblue/broccoli-funnel/pulls{/number}","milestones_url":"https://api.github.com/repos/rwjblue/broccoli-funnel/milestones{/number}","notifications_url":"https://api.github.com/repos/rwjblue/broccoli-funnel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rwjblue/broccoli-funnel/labels{/name}","releases_url":"https://api.github.com/repos/rwjblue/broccoli-funnel/releases{/id}","created_at":"2014-10-10T12:35:50Z","updated_at":"2015-01-27T16:30:40Z","pushed_at":"2015-01-27T16:30:39Z","git_url":"git://github.com/rwjblue/broccoli-funnel.git","ssh_url":"git@github.com:rwjblue/broccoli-funnel.git","clone_url":"https://github.com/rwjblue/broccoli-funnel.git","svn_url":"https://github.com/rwjblue/broccoli-funnel","homepage":null,"size":381,"stargazers_count":10,"watchers_count":10,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":4,"forks":6,"open_issues":4,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rwjblue/broccoli-funnel/pulls/14"},"html":{"href":"https://github.com/rwjblue/broccoli-funnel/pull/14"},"issue":{"href":"https://api.github.com/repos/rwjblue/broccoli-funnel/issues/14"},"comments":{"href":"https://api.github.com/repos/rwjblue/broccoli-funnel/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/rwjblue/broccoli-funnel/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/rwjblue/broccoli-funnel/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/rwjblue/broccoli-funnel/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/rwjblue/broccoli-funnel/statuses/457673ca61d652e727788fad9221a691465608d3"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":18,"deletions":5,"changed_files":2}}