{"action":"created","comment":{"url":"https://api.github.com/repos/plaid/sanctuary/pulls/comments/45007768","id":45007768,"diff_hunk":"@@ -2016,9 +2058,7 @@\n   //. > S.parseJson('[')\n   //. Nothing()\n   //. ```\n-  S.parseJson = def('parseJson', [String], encase(function(s) {\n-    return JSON.parse(s);\n-  }));\n+  S.parseJson = def('parseJson', [String], encase(JSON.parse));","path":"index.js","position":170,"original_position":170,"commit_id":"794e738430f7d87f5bc1f9e6408a5be18d3cb3a3","original_commit_id":"794e738430f7d87f5bc1f9e6408a5be18d3cb3a3","user":{"login":"davidchambers","id":210406,"avatar_url":"https://avatars.githubusercontent.com/u/210406?v=3","gravatar_id":"","url":"https://api.github.com/users/davidchambers","html_url":"https://github.com/davidchambers","followers_url":"https://api.github.com/users/davidchambers/followers","following_url":"https://api.github.com/users/davidchambers/following{/other_user}","gists_url":"https://api.github.com/users/davidchambers/gists{/gist_id}","starred_url":"https://api.github.com/users/davidchambers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidchambers/subscriptions","organizations_url":"https://api.github.com/users/davidchambers/orgs","repos_url":"https://api.github.com/users/davidchambers/repos","events_url":"https://api.github.com/users/davidchambers/events{/privacy}","received_events_url":"https://api.github.com/users/davidchambers/received_events","type":"User","site_admin":false},"body":"It'll be nice to no longer be dependent on the `length` of the provided function. :)\r\n","created_at":"2015-11-17T00:41:16Z","updated_at":"2015-11-17T00:41:16Z","html_url":"https://github.com/plaid/sanctuary/pull/106#discussion_r45007768","pull_request_url":"https://api.github.com/repos/plaid/sanctuary/pulls/106","_links":{"self":{"href":"https://api.github.com/repos/plaid/sanctuary/pulls/comments/45007768"},"html":{"href":"https://github.com/plaid/sanctuary/pull/106#discussion_r45007768"},"pull_request":{"href":"https://api.github.com/repos/plaid/sanctuary/pulls/106"}}},"pull_request":{"url":"https://api.github.com/repos/plaid/sanctuary/pulls/106","id":46474864,"html_url":"https://github.com/plaid/sanctuary/pull/106","diff_url":"https://github.com/plaid/sanctuary/pull/106.diff","patch_url":"https://github.com/plaid/sanctuary/pull/106.patch","issue_url":"https://api.github.com/repos/plaid/sanctuary/issues/106","number":106,"state":"open","locked":false,"title":"maybe, either: simplify S.encase and S.encaseEither","user":{"login":"davidchambers","id":210406,"avatar_url":"https://avatars.githubusercontent.com/u/210406?v=3","gravatar_id":"","url":"https://api.github.com/users/davidchambers","html_url":"https://github.com/davidchambers","followers_url":"https://api.github.com/users/davidchambers/followers","following_url":"https://api.github.com/users/davidchambers/following{/other_user}","gists_url":"https://api.github.com/users/davidchambers/gists{/gist_id}","starred_url":"https://api.github.com/users/davidchambers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidchambers/subscriptions","organizations_url":"https://api.github.com/users/davidchambers/orgs","repos_url":"https://api.github.com/users/davidchambers/repos","events_url":"https://api.github.com/users/davidchambers/events{/privacy}","received_events_url":"https://api.github.com/users/davidchambers/received_events","type":"User","site_admin":false},"body":"Closes #103\r\n","created_at":"2015-10-01T00:51:57Z","updated_at":"2015-11-17T00:41:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"496e21317da2798823c73411b7b98957c6da62fa","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/plaid/sanctuary/pulls/106/commits","review_comments_url":"https://api.github.com/repos/plaid/sanctuary/pulls/106/comments","review_comment_url":"https://api.github.com/repos/plaid/sanctuary/pulls/comments{/number}","comments_url":"https://api.github.com/repos/plaid/sanctuary/issues/106/comments","statuses_url":"https://api.github.com/repos/plaid/sanctuary/statuses/794e738430f7d87f5bc1f9e6408a5be18d3cb3a3","head":{"label":"plaid:dc-encase","ref":"dc-encase","sha":"794e738430f7d87f5bc1f9e6408a5be18d3cb3a3","user":{"login":"plaid","id":3579888,"avatar_url":"https://avatars.githubusercontent.com/u/3579888?v=3","gravatar_id":"","url":"https://api.github.com/users/plaid","html_url":"https://github.com/plaid","followers_url":"https://api.github.com/users/plaid/followers","following_url":"https://api.github.com/users/plaid/following{/other_user}","gists_url":"https://api.github.com/users/plaid/gists{/gist_id}","starred_url":"https://api.github.com/users/plaid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plaid/subscriptions","organizations_url":"https://api.github.com/users/plaid/orgs","repos_url":"https://api.github.com/users/plaid/repos","events_url":"https://api.github.com/users/plaid/events{/privacy}","received_events_url":"https://api.github.com/users/plaid/received_events","type":"Organization","site_admin":false},"repo":{"id":29455960,"name":"sanctuary","full_name":"plaid/sanctuary","owner":{"login":"plaid","id":3579888,"avatar_url":"https://avatars.githubusercontent.com/u/3579888?v=3","gravatar_id":"","url":"https://api.github.com/users/plaid","html_url":"https://github.com/plaid","followers_url":"https://api.github.com/users/plaid/followers","following_url":"https://api.github.com/users/plaid/following{/other_user}","gists_url":"https://api.github.com/users/plaid/gists{/gist_id}","starred_url":"https://api.github.com/users/plaid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plaid/subscriptions","organizations_url":"https://api.github.com/users/plaid/orgs","repos_url":"https://api.github.com/users/plaid/repos","events_url":"https://api.github.com/users/plaid/events{/privacy}","received_events_url":"https://api.github.com/users/plaid/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/plaid/sanctuary","description":":see_no_evil: Refuge from unsafe JavaScript","fork":false,"url":"https://api.github.com/repos/plaid/sanctuary","forks_url":"https://api.github.com/repos/plaid/sanctuary/forks","keys_url":"https://api.github.com/repos/plaid/sanctuary/keys{/key_id}","collaborators_url":"https://api.github.com/repos/plaid/sanctuary/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/plaid/sanctuary/teams","hooks_url":"https://api.github.com/repos/plaid/sanctuary/hooks","issue_events_url":"https://api.github.com/repos/plaid/sanctuary/issues/events{/number}","events_url":"https://api.github.com/repos/plaid/sanctuary/events","assignees_url":"https://api.github.com/repos/plaid/sanctuary/assignees{/user}","branches_url":"https://api.github.com/repos/plaid/sanctuary/branches{/branch}","tags_url":"https://api.github.com/repos/plaid/sanctuary/tags","blobs_url":"https://api.github.com/repos/plaid/sanctuary/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/plaid/sanctuary/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/plaid/sanctuary/git/refs{/sha}","trees_url":"https://api.github.com/repos/plaid/sanctuary/git/trees{/sha}","statuses_url":"https://api.github.com/repos/plaid/sanctuary/statuses/{sha}","languages_url":"https://api.github.com/repos/plaid/sanctuary/languages","stargazers_url":"https://api.github.com/repos/plaid/sanctuary/stargazers","contributors_url":"https://api.github.com/repos/plaid/sanctuary/contributors","subscribers_url":"https://api.github.com/repos/plaid/sanctuary/subscribers","subscription_url":"https://api.github.com/repos/plaid/sanctuary/subscription","commits_url":"https://api.github.com/repos/plaid/sanctuary/commits{/sha}","git_commits_url":"https://api.github.com/repos/plaid/sanctuary/git/commits{/sha}","comments_url":"https://api.github.com/repos/plaid/sanctuary/comments{/number}","issue_comment_url":"https://api.github.com/repos/plaid/sanctuary/issues/comments{/number}","contents_url":"https://api.github.com/repos/plaid/sanctuary/contents/{+path}","compare_url":"https://api.github.com/repos/plaid/sanctuary/compare/{base}...{head}","merges_url":"https://api.github.com/repos/plaid/sanctuary/merges","archive_url":"https://api.github.com/repos/plaid/sanctuary/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/plaid/sanctuary/downloads","issues_url":"https://api.github.com/repos/plaid/sanctuary/issues{/number}","pulls_url":"https://api.github.com/repos/plaid/sanctuary/pulls{/number}","milestones_url":"https://api.github.com/repos/plaid/sanctuary/milestones{/number}","notifications_url":"https://api.github.com/repos/plaid/sanctuary/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/plaid/sanctuary/labels{/name}","releases_url":"https://api.github.com/repos/plaid/sanctuary/releases{/id}","created_at":"2015-01-19T05:52:10Z","updated_at":"2015-11-16T13:48:01Z","pushed_at":"2015-11-17T00:12:38Z","git_url":"git://github.com/plaid/sanctuary.git","ssh_url":"git@github.com:plaid/sanctuary.git","clone_url":"https://github.com/plaid/sanctuary.git","svn_url":"https://github.com/plaid/sanctuary","homepage":"","size":511,"stargazers_count":152,"watchers_count":152,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":15,"forks":6,"open_issues":15,"watchers":152,"default_branch":"master"}},"base":{"label":"plaid:master","ref":"master","sha":"22828c682bda3847c58274da8719b59d5d258e47","user":{"login":"plaid","id":3579888,"avatar_url":"https://avatars.githubusercontent.com/u/3579888?v=3","gravatar_id":"","url":"https://api.github.com/users/plaid","html_url":"https://github.com/plaid","followers_url":"https://api.github.com/users/plaid/followers","following_url":"https://api.github.com/users/plaid/following{/other_user}","gists_url":"https://api.github.com/users/plaid/gists{/gist_id}","starred_url":"https://api.github.com/users/plaid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plaid/subscriptions","organizations_url":"https://api.github.com/users/plaid/orgs","repos_url":"https://api.github.com/users/plaid/repos","events_url":"https://api.github.com/users/plaid/events{/privacy}","received_events_url":"https://api.github.com/users/plaid/received_events","type":"Organization","site_admin":false},"repo":{"id":29455960,"name":"sanctuary","full_name":"plaid/sanctuary","owner":{"login":"plaid","id":3579888,"avatar_url":"https://avatars.githubusercontent.com/u/3579888?v=3","gravatar_id":"","url":"https://api.github.com/users/plaid","html_url":"https://github.com/plaid","followers_url":"https://api.github.com/users/plaid/followers","following_url":"https://api.github.com/users/plaid/following{/other_user}","gists_url":"https://api.github.com/users/plaid/gists{/gist_id}","starred_url":"https://api.github.com/users/plaid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plaid/subscriptions","organizations_url":"https://api.github.com/users/plaid/orgs","repos_url":"https://api.github.com/users/plaid/repos","events_url":"https://api.github.com/users/plaid/events{/privacy}","received_events_url":"https://api.github.com/users/plaid/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/plaid/sanctuary","description":":see_no_evil: Refuge from unsafe JavaScript","fork":false,"url":"https://api.github.com/repos/plaid/sanctuary","forks_url":"https://api.github.com/repos/plaid/sanctuary/forks","keys_url":"https://api.github.com/repos/plaid/sanctuary/keys{/key_id}","collaborators_url":"https://api.github.com/repos/plaid/sanctuary/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/plaid/sanctuary/teams","hooks_url":"https://api.github.com/repos/plaid/sanctuary/hooks","issue_events_url":"https://api.github.com/repos/plaid/sanctuary/issues/events{/number}","events_url":"https://api.github.com/repos/plaid/sanctuary/events","assignees_url":"https://api.github.com/repos/plaid/sanctuary/assignees{/user}","branches_url":"https://api.github.com/repos/plaid/sanctuary/branches{/branch}","tags_url":"https://api.github.com/repos/plaid/sanctuary/tags","blobs_url":"https://api.github.com/repos/plaid/sanctuary/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/plaid/sanctuary/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/plaid/sanctuary/git/refs{/sha}","trees_url":"https://api.github.com/repos/plaid/sanctuary/git/trees{/sha}","statuses_url":"https://api.github.com/repos/plaid/sanctuary/statuses/{sha}","languages_url":"https://api.github.com/repos/plaid/sanctuary/languages","stargazers_url":"https://api.github.com/repos/plaid/sanctuary/stargazers","contributors_url":"https://api.github.com/repos/plaid/sanctuary/contributors","subscribers_url":"https://api.github.com/repos/plaid/sanctuary/subscribers","subscription_url":"https://api.github.com/repos/plaid/sanctuary/subscription","commits_url":"https://api.github.com/repos/plaid/sanctuary/commits{/sha}","git_commits_url":"https://api.github.com/repos/plaid/sanctuary/git/commits{/sha}","comments_url":"https://api.github.com/repos/plaid/sanctuary/comments{/number}","issue_comment_url":"https://api.github.com/repos/plaid/sanctuary/issues/comments{/number}","contents_url":"https://api.github.com/repos/plaid/sanctuary/contents/{+path}","compare_url":"https://api.github.com/repos/plaid/sanctuary/compare/{base}...{head}","merges_url":"https://api.github.com/repos/plaid/sanctuary/merges","archive_url":"https://api.github.com/repos/plaid/sanctuary/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/plaid/sanctuary/downloads","issues_url":"https://api.github.com/repos/plaid/sanctuary/issues{/number}","pulls_url":"https://api.github.com/repos/plaid/sanctuary/pulls{/number}","milestones_url":"https://api.github.com/repos/plaid/sanctuary/milestones{/number}","notifications_url":"https://api.github.com/repos/plaid/sanctuary/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/plaid/sanctuary/labels{/name}","releases_url":"https://api.github.com/repos/plaid/sanctuary/releases{/id}","created_at":"2015-01-19T05:52:10Z","updated_at":"2015-11-16T13:48:01Z","pushed_at":"2015-11-17T00:12:38Z","git_url":"git://github.com/plaid/sanctuary.git","ssh_url":"git@github.com:plaid/sanctuary.git","clone_url":"https://github.com/plaid/sanctuary.git","svn_url":"https://github.com/plaid/sanctuary","homepage":"","size":511,"stargazers_count":152,"watchers_count":152,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":15,"forks":6,"open_issues":15,"watchers":152,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/plaid/sanctuary/pulls/106"},"html":{"href":"https://github.com/plaid/sanctuary/pull/106"},"issue":{"href":"https://api.github.com/repos/plaid/sanctuary/issues/106"},"comments":{"href":"https://api.github.com/repos/plaid/sanctuary/issues/106/comments"},"review_comments":{"href":"https://api.github.com/repos/plaid/sanctuary/pulls/106/comments"},"review_comment":{"href":"https://api.github.com/repos/plaid/sanctuary/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/plaid/sanctuary/pulls/106/commits"},"statuses":{"href":"https://api.github.com/repos/plaid/sanctuary/statuses/794e738430f7d87f5bc1f9e6408a5be18d3cb3a3"}}}}