{"action":"closed","number":42,"pull_request":{"url":"https://api.github.com/repos/AndrewKeig/express-validation/pulls/42","id":88856418,"html_url":"https://github.com/AndrewKeig/express-validation/pull/42","diff_url":"https://github.com/AndrewKeig/express-validation/pull/42.diff","patch_url":"https://github.com/AndrewKeig/express-validation/pull/42.patch","issue_url":"https://api.github.com/repos/AndrewKeig/express-validation/issues/42","number":42,"state":"closed","locked":false,"title":"Fix: ValidationError to inherit from Error","user":{"login":"jmendiara","id":851359,"avatar_url":"https://avatars.githubusercontent.com/u/851359?v=3","gravatar_id":"","url":"https://api.github.com/users/jmendiara","html_url":"https://github.com/jmendiara","followers_url":"https://api.github.com/users/jmendiara/followers","following_url":"https://api.github.com/users/jmendiara/following{/other_user}","gists_url":"https://api.github.com/users/jmendiara/gists{/gist_id}","starred_url":"https://api.github.com/users/jmendiara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmendiara/subscriptions","organizations_url":"https://api.github.com/users/jmendiara/orgs","repos_url":"https://api.github.com/users/jmendiara/repos","events_url":"https://api.github.com/users/jmendiara/events{/privacy}","received_events_url":"https://api.github.com/users/jmendiara/received_events","type":"User","site_admin":false},"body":"`ValidationError` does not correctly inherits from `Error` \nhttps://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Object/create#Classical_inheritance_with_Object.create()\n\nThis causes this strange behabiour\n\n``` js\nlet error = new ValidationError(...);\nerror instanceof Error // true\nerror.stack // undefined\nerror.name // undefined\n```\n","created_at":"2016-10-11T15:36:20Z","updated_at":"2016-11-04T10:43:58Z","closed_at":"2016-11-04T10:43:57Z","merged_at":"2016-11-04T10:43:57Z","merge_commit_sha":"cefb14ce63a5dec8b8812cfe1dee4b64922369b0","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/AndrewKeig/express-validation/pulls/42/commits","review_comments_url":"https://api.github.com/repos/AndrewKeig/express-validation/pulls/42/comments","review_comment_url":"https://api.github.com/repos/AndrewKeig/express-validation/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AndrewKeig/express-validation/issues/42/comments","statuses_url":"https://api.github.com/repos/AndrewKeig/express-validation/statuses/94f446e004b71bd34368e5c6f3d81791e9ba4d65","head":{"label":"jmendiara:jmendiara-patch-1","ref":"jmendiara-patch-1","sha":"94f446e004b71bd34368e5c6f3d81791e9ba4d65","user":{"login":"jmendiara","id":851359,"avatar_url":"https://avatars.githubusercontent.com/u/851359?v=3","gravatar_id":"","url":"https://api.github.com/users/jmendiara","html_url":"https://github.com/jmendiara","followers_url":"https://api.github.com/users/jmendiara/followers","following_url":"https://api.github.com/users/jmendiara/following{/other_user}","gists_url":"https://api.github.com/users/jmendiara/gists{/gist_id}","starred_url":"https://api.github.com/users/jmendiara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmendiara/subscriptions","organizations_url":"https://api.github.com/users/jmendiara/orgs","repos_url":"https://api.github.com/users/jmendiara/repos","events_url":"https://api.github.com/users/jmendiara/events{/privacy}","received_events_url":"https://api.github.com/users/jmendiara/received_events","type":"User","site_admin":false},"repo":{"id":70607932,"name":"express-validation","full_name":"jmendiara/express-validation","owner":{"login":"jmendiara","id":851359,"avatar_url":"https://avatars.githubusercontent.com/u/851359?v=3","gravatar_id":"","url":"https://api.github.com/users/jmendiara","html_url":"https://github.com/jmendiara","followers_url":"https://api.github.com/users/jmendiara/followers","following_url":"https://api.github.com/users/jmendiara/following{/other_user}","gists_url":"https://api.github.com/users/jmendiara/gists{/gist_id}","starred_url":"https://api.github.com/users/jmendiara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmendiara/subscriptions","organizations_url":"https://api.github.com/users/jmendiara/orgs","repos_url":"https://api.github.com/users/jmendiara/repos","events_url":"https://api.github.com/users/jmendiara/events{/privacy}","received_events_url":"https://api.github.com/users/jmendiara/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jmendiara/express-validation","description":"express-validation a middleware that validates the body, params, query, headers of a request and returns a 400 Bad request response if the validation fails.","fork":true,"url":"https://api.github.com/repos/jmendiara/express-validation","forks_url":"https://api.github.com/repos/jmendiara/express-validation/forks","keys_url":"https://api.github.com/repos/jmendiara/express-validation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jmendiara/express-validation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jmendiara/express-validation/teams","hooks_url":"https://api.github.com/repos/jmendiara/express-validation/hooks","issue_events_url":"https://api.github.com/repos/jmendiara/express-validation/issues/events{/number}","events_url":"https://api.github.com/repos/jmendiara/express-validation/events","assignees_url":"https://api.github.com/repos/jmendiara/express-validation/assignees{/user}","branches_url":"https://api.github.com/repos/jmendiara/express-validation/branches{/branch}","tags_url":"https://api.github.com/repos/jmendiara/express-validation/tags","blobs_url":"https://api.github.com/repos/jmendiara/express-validation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jmendiara/express-validation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jmendiara/express-validation/git/refs{/sha}","trees_url":"https://api.github.com/repos/jmendiara/express-validation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jmendiara/express-validation/statuses/{sha}","languages_url":"https://api.github.com/repos/jmendiara/express-validation/languages","stargazers_url":"https://api.github.com/repos/jmendiara/express-validation/stargazers","contributors_url":"https://api.github.com/repos/jmendiara/express-validation/contributors","subscribers_url":"https://api.github.com/repos/jmendiara/express-validation/subscribers","subscription_url":"https://api.github.com/repos/jmendiara/express-validation/subscription","commits_url":"https://api.github.com/repos/jmendiara/express-validation/commits{/sha}","git_commits_url":"https://api.github.com/repos/jmendiara/express-validation/git/commits{/sha}","comments_url":"https://api.github.com/repos/jmendiara/express-validation/comments{/number}","issue_comment_url":"https://api.github.com/repos/jmendiara/express-validation/issues/comments{/number}","contents_url":"https://api.github.com/repos/jmendiara/express-validation/contents/{+path}","compare_url":"https://api.github.com/repos/jmendiara/express-validation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jmendiara/express-validation/merges","archive_url":"https://api.github.com/repos/jmendiara/express-validation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jmendiara/express-validation/downloads","issues_url":"https://api.github.com/repos/jmendiara/express-validation/issues{/number}","pulls_url":"https://api.github.com/repos/jmendiara/express-validation/pulls{/number}","milestones_url":"https://api.github.com/repos/jmendiara/express-validation/milestones{/number}","notifications_url":"https://api.github.com/repos/jmendiara/express-validation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jmendiara/express-validation/labels{/name}","releases_url":"https://api.github.com/repos/jmendiara/express-validation/releases{/id}","deployments_url":"https://api.github.com/repos/jmendiara/express-validation/deployments","created_at":"2016-10-11T15:30:08Z","updated_at":"2016-10-11T15:30:09Z","pushed_at":"2016-10-11T15:39:48Z","git_url":"git://github.com/jmendiara/express-validation.git","ssh_url":"git@github.com:jmendiara/express-validation.git","clone_url":"https://github.com/jmendiara/express-validation.git","svn_url":"https://github.com/jmendiara/express-validation","homepage":"","size":87,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"AndrewKeig:master","ref":"master","sha":"c1c234b49559b221fdc7c69d928424311005a45a","user":{"login":"AndrewKeig","id":62837,"avatar_url":"https://avatars.githubusercontent.com/u/62837?v=3","gravatar_id":"","url":"https://api.github.com/users/AndrewKeig","html_url":"https://github.com/AndrewKeig","followers_url":"https://api.github.com/users/AndrewKeig/followers","following_url":"https://api.github.com/users/AndrewKeig/following{/other_user}","gists_url":"https://api.github.com/users/AndrewKeig/gists{/gist_id}","starred_url":"https://api.github.com/users/AndrewKeig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndrewKeig/subscriptions","organizations_url":"https://api.github.com/users/AndrewKeig/orgs","repos_url":"https://api.github.com/users/AndrewKeig/repos","events_url":"https://api.github.com/users/AndrewKeig/events{/privacy}","received_events_url":"https://api.github.com/users/AndrewKeig/received_events","type":"User","site_admin":false},"repo":{"id":16455030,"name":"express-validation","full_name":"AndrewKeig/express-validation","owner":{"login":"AndrewKeig","id":62837,"avatar_url":"https://avatars.githubusercontent.com/u/62837?v=3","gravatar_id":"","url":"https://api.github.com/users/AndrewKeig","html_url":"https://github.com/AndrewKeig","followers_url":"https://api.github.com/users/AndrewKeig/followers","following_url":"https://api.github.com/users/AndrewKeig/following{/other_user}","gists_url":"https://api.github.com/users/AndrewKeig/gists{/gist_id}","starred_url":"https://api.github.com/users/AndrewKeig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndrewKeig/subscriptions","organizations_url":"https://api.github.com/users/AndrewKeig/orgs","repos_url":"https://api.github.com/users/AndrewKeig/repos","events_url":"https://api.github.com/users/AndrewKeig/events{/privacy}","received_events_url":"https://api.github.com/users/AndrewKeig/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AndrewKeig/express-validation","description":"express-validation a middleware that validates the body, params, query, headers of a request and returns a 400 Bad request response if the validation fails.","fork":false,"url":"https://api.github.com/repos/AndrewKeig/express-validation","forks_url":"https://api.github.com/repos/AndrewKeig/express-validation/forks","keys_url":"https://api.github.com/repos/AndrewKeig/express-validation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AndrewKeig/express-validation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AndrewKeig/express-validation/teams","hooks_url":"https://api.github.com/repos/AndrewKeig/express-validation/hooks","issue_events_url":"https://api.github.com/repos/AndrewKeig/express-validation/issues/events{/number}","events_url":"https://api.github.com/repos/AndrewKeig/express-validation/events","assignees_url":"https://api.github.com/repos/AndrewKeig/express-validation/assignees{/user}","branches_url":"https://api.github.com/repos/AndrewKeig/express-validation/branches{/branch}","tags_url":"https://api.github.com/repos/AndrewKeig/express-validation/tags","blobs_url":"https://api.github.com/repos/AndrewKeig/express-validation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AndrewKeig/express-validation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AndrewKeig/express-validation/git/refs{/sha}","trees_url":"https://api.github.com/repos/AndrewKeig/express-validation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AndrewKeig/express-validation/statuses/{sha}","languages_url":"https://api.github.com/repos/AndrewKeig/express-validation/languages","stargazers_url":"https://api.github.com/repos/AndrewKeig/express-validation/stargazers","contributors_url":"https://api.github.com/repos/AndrewKeig/express-validation/contributors","subscribers_url":"https://api.github.com/repos/AndrewKeig/express-validation/subscribers","subscription_url":"https://api.github.com/repos/AndrewKeig/express-validation/subscription","commits_url":"https://api.github.com/repos/AndrewKeig/express-validation/commits{/sha}","git_commits_url":"https://api.github.com/repos/AndrewKeig/express-validation/git/commits{/sha}","comments_url":"https://api.github.com/repos/AndrewKeig/express-validation/comments{/number}","issue_comment_url":"https://api.github.com/repos/AndrewKeig/express-validation/issues/comments{/number}","contents_url":"https://api.github.com/repos/AndrewKeig/express-validation/contents/{+path}","compare_url":"https://api.github.com/repos/AndrewKeig/express-validation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AndrewKeig/express-validation/merges","archive_url":"https://api.github.com/repos/AndrewKeig/express-validation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AndrewKeig/express-validation/downloads","issues_url":"https://api.github.com/repos/AndrewKeig/express-validation/issues{/number}","pulls_url":"https://api.github.com/repos/AndrewKeig/express-validation/pulls{/number}","milestones_url":"https://api.github.com/repos/AndrewKeig/express-validation/milestones{/number}","notifications_url":"https://api.github.com/repos/AndrewKeig/express-validation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AndrewKeig/express-validation/labels{/name}","releases_url":"https://api.github.com/repos/AndrewKeig/express-validation/releases{/id}","deployments_url":"https://api.github.com/repos/AndrewKeig/express-validation/deployments","created_at":"2014-02-02T13:30:09Z","updated_at":"2016-10-31T17:50:45Z","pushed_at":"2016-11-04T10:43:58Z","git_url":"git://github.com/AndrewKeig/express-validation.git","ssh_url":"git@github.com:AndrewKeig/express-validation.git","clone_url":"https://github.com/AndrewKeig/express-validation.git","svn_url":"https://github.com/AndrewKeig/express-validation","homepage":"","size":93,"stargazers_count":85,"watchers_count":85,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":26,"mirror_url":null,"open_issues_count":14,"forks":26,"open_issues":14,"watchers":85,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/AndrewKeig/express-validation/pulls/42"},"html":{"href":"https://github.com/AndrewKeig/express-validation/pull/42"},"issue":{"href":"https://api.github.com/repos/AndrewKeig/express-validation/issues/42"},"comments":{"href":"https://api.github.com/repos/AndrewKeig/express-validation/issues/42/comments"},"review_comments":{"href":"https://api.github.com/repos/AndrewKeig/express-validation/pulls/42/comments"},"review_comment":{"href":"https://api.github.com/repos/AndrewKeig/express-validation/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AndrewKeig/express-validation/pulls/42/commits"},"statuses":{"href":"https://api.github.com/repos/AndrewKeig/express-validation/statuses/94f446e004b71bd34368e5c6f3d81791e9ba4d65"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"colthreepv","id":2657230,"avatar_url":"https://avatars.githubusercontent.com/u/2657230?v=3","gravatar_id":"","url":"https://api.github.com/users/colthreepv","html_url":"https://github.com/colthreepv","followers_url":"https://api.github.com/users/colthreepv/followers","following_url":"https://api.github.com/users/colthreepv/following{/other_user}","gists_url":"https://api.github.com/users/colthreepv/gists{/gist_id}","starred_url":"https://api.github.com/users/colthreepv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/colthreepv/subscriptions","organizations_url":"https://api.github.com/users/colthreepv/orgs","repos_url":"https://api.github.com/users/colthreepv/repos","events_url":"https://api.github.com/users/colthreepv/events{/privacy}","received_events_url":"https://api.github.com/users/colthreepv/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"colthreepv"}}