{"action":"opened","number":58,"pull_request":{"url":"https://api.github.com/repos/s3u/JSONPath/pulls/58","id":51980029,"html_url":"https://github.com/s3u/JSONPath/pull/58","diff_url":"https://github.com/s3u/JSONPath/pull/58.diff","patch_url":"https://github.com/s3u/JSONPath/pull/58.patch","issue_url":"https://api.github.com/repos/s3u/JSONPath/issues/58","number":58,"state":"open","locked":false,"title":"Has own property","user":{"login":"richardschneider","id":631061,"avatar_url":"https://avatars.githubusercontent.com/u/631061?v=3","gravatar_id":"","url":"https://api.github.com/users/richardschneider","html_url":"https://github.com/richardschneider","followers_url":"https://api.github.com/users/richardschneider/followers","following_url":"https://api.github.com/users/richardschneider/following{/other_user}","gists_url":"https://api.github.com/users/richardschneider/gists{/gist_id}","starred_url":"https://api.github.com/users/richardschneider/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richardschneider/subscriptions","organizations_url":"https://api.github.com/users/richardschneider/orgs","repos_url":"https://api.github.com/users/richardschneider/repos","events_url":"https://api.github.com/users/richardschneider/events{/privacy}","received_events_url":"https://api.github.com/users/richardschneider/received_events","type":"User","site_admin":false},"body":"````\r\nUnhandled rejection TypeError: val.hasOwnProperty is not a function\r\n    at JSONPath._trace (/home/ubuntu/workspace/node_modules/JSONPath/lib/jsonpath.js:141:20)\r\n    at /home/ubuntu/workspace/node_modules/JSONPath/lib/jsonpath.js:153:29\r\n    at JSONPath._walk (/home/ubuntu/workspace/node_modules/JSONPath/lib/jsonpath.js:195:17)\r\n    at JSONPath._trace (/home/ubuntu/workspace/node_modules/JSONPath/lib/jsonpath.js:151:14)\r\n    at JSONPath.evaluate (/home/ubuntu/workspace/node_modules/JSONPath/lib/jsonpath.js:72:27)\r\n    at new JSONPath (/home/ubuntu/workspace/node_modules/JSONPath/lib/jsonpath.js:57:24)\r\n    at JSONPath (/home/ubuntu/workspace/node_modules/JSONPath/lib/jsonpath.js:39:20)\r\n    at redactDocument (/home/ubuntu/workspace/lib/server/redact.js:28:19)\r\n````\r\n\r\nLooks like the issue is calling `hasOwnProperty`, more info as always on [Stack Overflow](http://stackoverflow.com/questions/16585209/node-js-object-object-has-no-method-hasownproperty)","created_at":"2015-11-27T10:29:27Z","updated_at":"2015-11-27T10:29:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/s3u/JSONPath/pulls/58/commits","review_comments_url":"https://api.github.com/repos/s3u/JSONPath/pulls/58/comments","review_comment_url":"https://api.github.com/repos/s3u/JSONPath/pulls/comments{/number}","comments_url":"https://api.github.com/repos/s3u/JSONPath/issues/58/comments","statuses_url":"https://api.github.com/repos/s3u/JSONPath/statuses/e7a1ef3b66c9a076996e597c8196adc34f2ce6ab","head":{"label":"richardschneider:hasOwnProperty","ref":"hasOwnProperty","sha":"e7a1ef3b66c9a076996e597c8196adc34f2ce6ab","user":{"login":"richardschneider","id":631061,"avatar_url":"https://avatars.githubusercontent.com/u/631061?v=3","gravatar_id":"","url":"https://api.github.com/users/richardschneider","html_url":"https://github.com/richardschneider","followers_url":"https://api.github.com/users/richardschneider/followers","following_url":"https://api.github.com/users/richardschneider/following{/other_user}","gists_url":"https://api.github.com/users/richardschneider/gists{/gist_id}","starred_url":"https://api.github.com/users/richardschneider/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richardschneider/subscriptions","organizations_url":"https://api.github.com/users/richardschneider/orgs","repos_url":"https://api.github.com/users/richardschneider/repos","events_url":"https://api.github.com/users/richardschneider/events{/privacy}","received_events_url":"https://api.github.com/users/richardschneider/received_events","type":"User","site_admin":false},"repo":{"id":46612346,"name":"JSONPath","full_name":"richardschneider/JSONPath","owner":{"login":"richardschneider","id":631061,"avatar_url":"https://avatars.githubusercontent.com/u/631061?v=3","gravatar_id":"","url":"https://api.github.com/users/richardschneider","html_url":"https://github.com/richardschneider","followers_url":"https://api.github.com/users/richardschneider/followers","following_url":"https://api.github.com/users/richardschneider/following{/other_user}","gists_url":"https://api.github.com/users/richardschneider/gists{/gist_id}","starred_url":"https://api.github.com/users/richardschneider/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richardschneider/subscriptions","organizations_url":"https://api.github.com/users/richardschneider/orgs","repos_url":"https://api.github.com/users/richardschneider/repos","events_url":"https://api.github.com/users/richardschneider/events{/privacy}","received_events_url":"https://api.github.com/users/richardschneider/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/richardschneider/JSONPath","description":"A fork of JSONPath from http://goessner.net/articles/JsonPath/ ","fork":true,"url":"https://api.github.com/repos/richardschneider/JSONPath","forks_url":"https://api.github.com/repos/richardschneider/JSONPath/forks","keys_url":"https://api.github.com/repos/richardschneider/JSONPath/keys{/key_id}","collaborators_url":"https://api.github.com/repos/richardschneider/JSONPath/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/richardschneider/JSONPath/teams","hooks_url":"https://api.github.com/repos/richardschneider/JSONPath/hooks","issue_events_url":"https://api.github.com/repos/richardschneider/JSONPath/issues/events{/number}","events_url":"https://api.github.com/repos/richardschneider/JSONPath/events","assignees_url":"https://api.github.com/repos/richardschneider/JSONPath/assignees{/user}","branches_url":"https://api.github.com/repos/richardschneider/JSONPath/branches{/branch}","tags_url":"https://api.github.com/repos/richardschneider/JSONPath/tags","blobs_url":"https://api.github.com/repos/richardschneider/JSONPath/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/richardschneider/JSONPath/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/richardschneider/JSONPath/git/refs{/sha}","trees_url":"https://api.github.com/repos/richardschneider/JSONPath/git/trees{/sha}","statuses_url":"https://api.github.com/repos/richardschneider/JSONPath/statuses/{sha}","languages_url":"https://api.github.com/repos/richardschneider/JSONPath/languages","stargazers_url":"https://api.github.com/repos/richardschneider/JSONPath/stargazers","contributors_url":"https://api.github.com/repos/richardschneider/JSONPath/contributors","subscribers_url":"https://api.github.com/repos/richardschneider/JSONPath/subscribers","subscription_url":"https://api.github.com/repos/richardschneider/JSONPath/subscription","commits_url":"https://api.github.com/repos/richardschneider/JSONPath/commits{/sha}","git_commits_url":"https://api.github.com/repos/richardschneider/JSONPath/git/commits{/sha}","comments_url":"https://api.github.com/repos/richardschneider/JSONPath/comments{/number}","issue_comment_url":"https://api.github.com/repos/richardschneider/JSONPath/issues/comments{/number}","contents_url":"https://api.github.com/repos/richardschneider/JSONPath/contents/{+path}","compare_url":"https://api.github.com/repos/richardschneider/JSONPath/compare/{base}...{head}","merges_url":"https://api.github.com/repos/richardschneider/JSONPath/merges","archive_url":"https://api.github.com/repos/richardschneider/JSONPath/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/richardschneider/JSONPath/downloads","issues_url":"https://api.github.com/repos/richardschneider/JSONPath/issues{/number}","pulls_url":"https://api.github.com/repos/richardschneider/JSONPath/pulls{/number}","milestones_url":"https://api.github.com/repos/richardschneider/JSONPath/milestones{/number}","notifications_url":"https://api.github.com/repos/richardschneider/JSONPath/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/richardschneider/JSONPath/labels{/name}","releases_url":"https://api.github.com/repos/richardschneider/JSONPath/releases{/id}","created_at":"2015-11-21T11:19:04Z","updated_at":"2015-11-21T11:19:07Z","pushed_at":"2015-11-27T10:11:16Z","git_url":"git://github.com/richardschneider/JSONPath.git","ssh_url":"git@github.com:richardschneider/JSONPath.git","clone_url":"https://github.com/richardschneider/JSONPath.git","svn_url":"https://github.com/richardschneider/JSONPath","homepage":"","size":78,"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":"s3u:master","ref":"master","sha":"d01c16201cdbbb600ffd914192b0a307ad00c66c","user":{"login":"s3u","id":431656,"avatar_url":"https://avatars.githubusercontent.com/u/431656?v=3","gravatar_id":"","url":"https://api.github.com/users/s3u","html_url":"https://github.com/s3u","followers_url":"https://api.github.com/users/s3u/followers","following_url":"https://api.github.com/users/s3u/following{/other_user}","gists_url":"https://api.github.com/users/s3u/gists{/gist_id}","starred_url":"https://api.github.com/users/s3u/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s3u/subscriptions","organizations_url":"https://api.github.com/users/s3u/orgs","repos_url":"https://api.github.com/users/s3u/repos","events_url":"https://api.github.com/users/s3u/events{/privacy}","received_events_url":"https://api.github.com/users/s3u/received_events","type":"User","site_admin":false},"repo":{"id":1716525,"name":"JSONPath","full_name":"s3u/JSONPath","owner":{"login":"s3u","id":431656,"avatar_url":"https://avatars.githubusercontent.com/u/431656?v=3","gravatar_id":"","url":"https://api.github.com/users/s3u","html_url":"https://github.com/s3u","followers_url":"https://api.github.com/users/s3u/followers","following_url":"https://api.github.com/users/s3u/following{/other_user}","gists_url":"https://api.github.com/users/s3u/gists{/gist_id}","starred_url":"https://api.github.com/users/s3u/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s3u/subscriptions","organizations_url":"https://api.github.com/users/s3u/orgs","repos_url":"https://api.github.com/users/s3u/repos","events_url":"https://api.github.com/users/s3u/events{/privacy}","received_events_url":"https://api.github.com/users/s3u/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/s3u/JSONPath","description":"A fork of JSONPath from http://goessner.net/articles/JsonPath/ ","fork":false,"url":"https://api.github.com/repos/s3u/JSONPath","forks_url":"https://api.github.com/repos/s3u/JSONPath/forks","keys_url":"https://api.github.com/repos/s3u/JSONPath/keys{/key_id}","collaborators_url":"https://api.github.com/repos/s3u/JSONPath/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/s3u/JSONPath/teams","hooks_url":"https://api.github.com/repos/s3u/JSONPath/hooks","issue_events_url":"https://api.github.com/repos/s3u/JSONPath/issues/events{/number}","events_url":"https://api.github.com/repos/s3u/JSONPath/events","assignees_url":"https://api.github.com/repos/s3u/JSONPath/assignees{/user}","branches_url":"https://api.github.com/repos/s3u/JSONPath/branches{/branch}","tags_url":"https://api.github.com/repos/s3u/JSONPath/tags","blobs_url":"https://api.github.com/repos/s3u/JSONPath/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/s3u/JSONPath/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/s3u/JSONPath/git/refs{/sha}","trees_url":"https://api.github.com/repos/s3u/JSONPath/git/trees{/sha}","statuses_url":"https://api.github.com/repos/s3u/JSONPath/statuses/{sha}","languages_url":"https://api.github.com/repos/s3u/JSONPath/languages","stargazers_url":"https://api.github.com/repos/s3u/JSONPath/stargazers","contributors_url":"https://api.github.com/repos/s3u/JSONPath/contributors","subscribers_url":"https://api.github.com/repos/s3u/JSONPath/subscribers","subscription_url":"https://api.github.com/repos/s3u/JSONPath/subscription","commits_url":"https://api.github.com/repos/s3u/JSONPath/commits{/sha}","git_commits_url":"https://api.github.com/repos/s3u/JSONPath/git/commits{/sha}","comments_url":"https://api.github.com/repos/s3u/JSONPath/comments{/number}","issue_comment_url":"https://api.github.com/repos/s3u/JSONPath/issues/comments{/number}","contents_url":"https://api.github.com/repos/s3u/JSONPath/contents/{+path}","compare_url":"https://api.github.com/repos/s3u/JSONPath/compare/{base}...{head}","merges_url":"https://api.github.com/repos/s3u/JSONPath/merges","archive_url":"https://api.github.com/repos/s3u/JSONPath/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/s3u/JSONPath/downloads","issues_url":"https://api.github.com/repos/s3u/JSONPath/issues{/number}","pulls_url":"https://api.github.com/repos/s3u/JSONPath/pulls{/number}","milestones_url":"https://api.github.com/repos/s3u/JSONPath/milestones{/number}","notifications_url":"https://api.github.com/repos/s3u/JSONPath/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/s3u/JSONPath/labels{/name}","releases_url":"https://api.github.com/repos/s3u/JSONPath/releases{/id}","created_at":"2011-05-07T19:53:45Z","updated_at":"2015-11-23T13:06:28Z","pushed_at":"2015-11-21T15:37:27Z","git_url":"git://github.com/s3u/JSONPath.git","ssh_url":"git@github.com:s3u/JSONPath.git","clone_url":"https://github.com/s3u/JSONPath.git","svn_url":"https://github.com/s3u/JSONPath","homepage":"","size":660,"stargazers_count":192,"watchers_count":192,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":66,"mirror_url":null,"open_issues_count":28,"forks":66,"open_issues":28,"watchers":192,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/s3u/JSONPath/pulls/58"},"html":{"href":"https://github.com/s3u/JSONPath/pull/58"},"issue":{"href":"https://api.github.com/repos/s3u/JSONPath/issues/58"},"comments":{"href":"https://api.github.com/repos/s3u/JSONPath/issues/58/comments"},"review_comments":{"href":"https://api.github.com/repos/s3u/JSONPath/pulls/58/comments"},"review_comment":{"href":"https://api.github.com/repos/s3u/JSONPath/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/s3u/JSONPath/pulls/58/commits"},"statuses":{"href":"https://api.github.com/repos/s3u/JSONPath/statuses/e7a1ef3b66c9a076996e597c8196adc34f2ce6ab"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":6,"additions":88,"deletions":5,"changed_files":4}}