{"action":"closed","number":5613,"pull_request":{"url":"https://api.github.com/repos/pouchdb/pouchdb/pulls/5613","id":83327229,"html_url":"https://github.com/pouchdb/pouchdb/pull/5613","diff_url":"https://github.com/pouchdb/pouchdb/pull/5613.diff","patch_url":"https://github.com/pouchdb/pouchdb/pull/5613.patch","issue_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/5613","number":5613,"state":"closed","locked":false,"title":"(#5612) - change view & filter function execution","user":{"login":"KlausTrainer","id":230061,"avatar_url":"https://avatars.githubusercontent.com/u/230061?v=3","gravatar_id":"","url":"https://api.github.com/users/KlausTrainer","html_url":"https://github.com/KlausTrainer","followers_url":"https://api.github.com/users/KlausTrainer/followers","following_url":"https://api.github.com/users/KlausTrainer/following{/other_user}","gists_url":"https://api.github.com/users/KlausTrainer/gists{/gist_id}","starred_url":"https://api.github.com/users/KlausTrainer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KlausTrainer/subscriptions","organizations_url":"https://api.github.com/users/KlausTrainer/orgs","repos_url":"https://api.github.com/users/KlausTrainer/repos","events_url":"https://api.github.com/users/KlausTrainer/events{/privacy}","received_events_url":"https://api.github.com/users/KlausTrainer/received_events","type":"User","site_admin":false},"body":"This changes both `evalView` and `evalFilter` in pouchdb-core to enforce\r\nstrict mode. When running Node.js, we're furthermore executing the\r\nrespective function in a sandbox now. We're using the `vm` module\r\nprovided by Node.js for that.\r\n\r\nBREAKING CHANGE: this may break view or filter functions, as we're now\r\ngenerally enforcing strict mode for view and filter functions.","created_at":"2016-08-30T18:58:29Z","updated_at":"2016-09-04T13:24:42Z","closed_at":"2016-09-04T13:24:42Z","merged_at":"2016-09-04T13:24:42Z","merge_commit_sha":"5fb785da788ea6688953a2179b5f69416636ede4","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/pouchdb/pouchdb/pulls/5613/commits","review_comments_url":"https://api.github.com/repos/pouchdb/pouchdb/pulls/5613/comments","review_comment_url":"https://api.github.com/repos/pouchdb/pouchdb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/5613/comments","statuses_url":"https://api.github.com/repos/pouchdb/pouchdb/statuses/cb99600369546fdd2d852f0d0f811474364d7a2d","head":{"label":"pouchdb:view-sandbox","ref":"view-sandbox","sha":"cb99600369546fdd2d852f0d0f811474364d7a2d","user":{"login":"pouchdb","id":3406112,"avatar_url":"https://avatars.githubusercontent.com/u/3406112?v=3","gravatar_id":"","url":"https://api.github.com/users/pouchdb","html_url":"https://github.com/pouchdb","followers_url":"https://api.github.com/users/pouchdb/followers","following_url":"https://api.github.com/users/pouchdb/following{/other_user}","gists_url":"https://api.github.com/users/pouchdb/gists{/gist_id}","starred_url":"https://api.github.com/users/pouchdb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pouchdb/subscriptions","organizations_url":"https://api.github.com/users/pouchdb/orgs","repos_url":"https://api.github.com/users/pouchdb/repos","events_url":"https://api.github.com/users/pouchdb/events{/privacy}","received_events_url":"https://api.github.com/users/pouchdb/received_events","type":"Organization","site_admin":false},"repo":{"id":714074,"name":"pouchdb","full_name":"pouchdb/pouchdb","owner":{"login":"pouchdb","id":3406112,"avatar_url":"https://avatars.githubusercontent.com/u/3406112?v=3","gravatar_id":"","url":"https://api.github.com/users/pouchdb","html_url":"https://github.com/pouchdb","followers_url":"https://api.github.com/users/pouchdb/followers","following_url":"https://api.github.com/users/pouchdb/following{/other_user}","gists_url":"https://api.github.com/users/pouchdb/gists{/gist_id}","starred_url":"https://api.github.com/users/pouchdb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pouchdb/subscriptions","organizations_url":"https://api.github.com/users/pouchdb/orgs","repos_url":"https://api.github.com/users/pouchdb/repos","events_url":"https://api.github.com/users/pouchdb/events{/privacy}","received_events_url":"https://api.github.com/users/pouchdb/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pouchdb/pouchdb","description":":koala: - PouchDB is a pocket-sized database.","fork":false,"url":"https://api.github.com/repos/pouchdb/pouchdb","forks_url":"https://api.github.com/repos/pouchdb/pouchdb/forks","keys_url":"https://api.github.com/repos/pouchdb/pouchdb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pouchdb/pouchdb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pouchdb/pouchdb/teams","hooks_url":"https://api.github.com/repos/pouchdb/pouchdb/hooks","issue_events_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/events{/number}","events_url":"https://api.github.com/repos/pouchdb/pouchdb/events","assignees_url":"https://api.github.com/repos/pouchdb/pouchdb/assignees{/user}","branches_url":"https://api.github.com/repos/pouchdb/pouchdb/branches{/branch}","tags_url":"https://api.github.com/repos/pouchdb/pouchdb/tags","blobs_url":"https://api.github.com/repos/pouchdb/pouchdb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pouchdb/pouchdb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pouchdb/pouchdb/git/refs{/sha}","trees_url":"https://api.github.com/repos/pouchdb/pouchdb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pouchdb/pouchdb/statuses/{sha}","languages_url":"https://api.github.com/repos/pouchdb/pouchdb/languages","stargazers_url":"https://api.github.com/repos/pouchdb/pouchdb/stargazers","contributors_url":"https://api.github.com/repos/pouchdb/pouchdb/contributors","subscribers_url":"https://api.github.com/repos/pouchdb/pouchdb/subscribers","subscription_url":"https://api.github.com/repos/pouchdb/pouchdb/subscription","commits_url":"https://api.github.com/repos/pouchdb/pouchdb/commits{/sha}","git_commits_url":"https://api.github.com/repos/pouchdb/pouchdb/git/commits{/sha}","comments_url":"https://api.github.com/repos/pouchdb/pouchdb/comments{/number}","issue_comment_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/comments{/number}","contents_url":"https://api.github.com/repos/pouchdb/pouchdb/contents/{+path}","compare_url":"https://api.github.com/repos/pouchdb/pouchdb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pouchdb/pouchdb/merges","archive_url":"https://api.github.com/repos/pouchdb/pouchdb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pouchdb/pouchdb/downloads","issues_url":"https://api.github.com/repos/pouchdb/pouchdb/issues{/number}","pulls_url":"https://api.github.com/repos/pouchdb/pouchdb/pulls{/number}","milestones_url":"https://api.github.com/repos/pouchdb/pouchdb/milestones{/number}","notifications_url":"https://api.github.com/repos/pouchdb/pouchdb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pouchdb/pouchdb/labels{/name}","releases_url":"https://api.github.com/repos/pouchdb/pouchdb/releases{/id}","deployments_url":"https://api.github.com/repos/pouchdb/pouchdb/deployments","created_at":"2010-06-10T18:34:24Z","updated_at":"2016-09-04T02:18:41Z","pushed_at":"2016-09-04T13:24:42Z","git_url":"git://github.com/pouchdb/pouchdb.git","ssh_url":"git@github.com:pouchdb/pouchdb.git","clone_url":"https://github.com/pouchdb/pouchdb.git","svn_url":"https://github.com/pouchdb/pouchdb","homepage":"https://pouchdb.com/","size":150793,"stargazers_count":6786,"watchers_count":6786,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":755,"mirror_url":null,"open_issues_count":88,"forks":755,"open_issues":88,"watchers":6786,"default_branch":"master"}},"base":{"label":"pouchdb:master","ref":"master","sha":"9c46dec6717182d93f3992de8235ed60051fac3f","user":{"login":"pouchdb","id":3406112,"avatar_url":"https://avatars.githubusercontent.com/u/3406112?v=3","gravatar_id":"","url":"https://api.github.com/users/pouchdb","html_url":"https://github.com/pouchdb","followers_url":"https://api.github.com/users/pouchdb/followers","following_url":"https://api.github.com/users/pouchdb/following{/other_user}","gists_url":"https://api.github.com/users/pouchdb/gists{/gist_id}","starred_url":"https://api.github.com/users/pouchdb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pouchdb/subscriptions","organizations_url":"https://api.github.com/users/pouchdb/orgs","repos_url":"https://api.github.com/users/pouchdb/repos","events_url":"https://api.github.com/users/pouchdb/events{/privacy}","received_events_url":"https://api.github.com/users/pouchdb/received_events","type":"Organization","site_admin":false},"repo":{"id":714074,"name":"pouchdb","full_name":"pouchdb/pouchdb","owner":{"login":"pouchdb","id":3406112,"avatar_url":"https://avatars.githubusercontent.com/u/3406112?v=3","gravatar_id":"","url":"https://api.github.com/users/pouchdb","html_url":"https://github.com/pouchdb","followers_url":"https://api.github.com/users/pouchdb/followers","following_url":"https://api.github.com/users/pouchdb/following{/other_user}","gists_url":"https://api.github.com/users/pouchdb/gists{/gist_id}","starred_url":"https://api.github.com/users/pouchdb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pouchdb/subscriptions","organizations_url":"https://api.github.com/users/pouchdb/orgs","repos_url":"https://api.github.com/users/pouchdb/repos","events_url":"https://api.github.com/users/pouchdb/events{/privacy}","received_events_url":"https://api.github.com/users/pouchdb/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pouchdb/pouchdb","description":":koala: - PouchDB is a pocket-sized database.","fork":false,"url":"https://api.github.com/repos/pouchdb/pouchdb","forks_url":"https://api.github.com/repos/pouchdb/pouchdb/forks","keys_url":"https://api.github.com/repos/pouchdb/pouchdb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pouchdb/pouchdb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pouchdb/pouchdb/teams","hooks_url":"https://api.github.com/repos/pouchdb/pouchdb/hooks","issue_events_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/events{/number}","events_url":"https://api.github.com/repos/pouchdb/pouchdb/events","assignees_url":"https://api.github.com/repos/pouchdb/pouchdb/assignees{/user}","branches_url":"https://api.github.com/repos/pouchdb/pouchdb/branches{/branch}","tags_url":"https://api.github.com/repos/pouchdb/pouchdb/tags","blobs_url":"https://api.github.com/repos/pouchdb/pouchdb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pouchdb/pouchdb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pouchdb/pouchdb/git/refs{/sha}","trees_url":"https://api.github.com/repos/pouchdb/pouchdb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pouchdb/pouchdb/statuses/{sha}","languages_url":"https://api.github.com/repos/pouchdb/pouchdb/languages","stargazers_url":"https://api.github.com/repos/pouchdb/pouchdb/stargazers","contributors_url":"https://api.github.com/repos/pouchdb/pouchdb/contributors","subscribers_url":"https://api.github.com/repos/pouchdb/pouchdb/subscribers","subscription_url":"https://api.github.com/repos/pouchdb/pouchdb/subscription","commits_url":"https://api.github.com/repos/pouchdb/pouchdb/commits{/sha}","git_commits_url":"https://api.github.com/repos/pouchdb/pouchdb/git/commits{/sha}","comments_url":"https://api.github.com/repos/pouchdb/pouchdb/comments{/number}","issue_comment_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/comments{/number}","contents_url":"https://api.github.com/repos/pouchdb/pouchdb/contents/{+path}","compare_url":"https://api.github.com/repos/pouchdb/pouchdb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pouchdb/pouchdb/merges","archive_url":"https://api.github.com/repos/pouchdb/pouchdb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pouchdb/pouchdb/downloads","issues_url":"https://api.github.com/repos/pouchdb/pouchdb/issues{/number}","pulls_url":"https://api.github.com/repos/pouchdb/pouchdb/pulls{/number}","milestones_url":"https://api.github.com/repos/pouchdb/pouchdb/milestones{/number}","notifications_url":"https://api.github.com/repos/pouchdb/pouchdb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pouchdb/pouchdb/labels{/name}","releases_url":"https://api.github.com/repos/pouchdb/pouchdb/releases{/id}","deployments_url":"https://api.github.com/repos/pouchdb/pouchdb/deployments","created_at":"2010-06-10T18:34:24Z","updated_at":"2016-09-04T02:18:41Z","pushed_at":"2016-09-04T13:24:42Z","git_url":"git://github.com/pouchdb/pouchdb.git","ssh_url":"git@github.com:pouchdb/pouchdb.git","clone_url":"https://github.com/pouchdb/pouchdb.git","svn_url":"https://github.com/pouchdb/pouchdb","homepage":"https://pouchdb.com/","size":150793,"stargazers_count":6786,"watchers_count":6786,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":755,"mirror_url":null,"open_issues_count":88,"forks":755,"open_issues":88,"watchers":6786,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pouchdb/pouchdb/pulls/5613"},"html":{"href":"https://github.com/pouchdb/pouchdb/pull/5613"},"issue":{"href":"https://api.github.com/repos/pouchdb/pouchdb/issues/5613"},"comments":{"href":"https://api.github.com/repos/pouchdb/pouchdb/issues/5613/comments"},"review_comments":{"href":"https://api.github.com/repos/pouchdb/pouchdb/pulls/5613/comments"},"review_comment":{"href":"https://api.github.com/repos/pouchdb/pouchdb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pouchdb/pouchdb/pulls/5613/commits"},"statuses":{"href":"https://api.github.com/repos/pouchdb/pouchdb/statuses/cb99600369546fdd2d852f0d0f811474364d7a2d"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"daleharvey","id":37787,"avatar_url":"https://avatars.githubusercontent.com/u/37787?v=3","gravatar_id":"","url":"https://api.github.com/users/daleharvey","html_url":"https://github.com/daleharvey","followers_url":"https://api.github.com/users/daleharvey/followers","following_url":"https://api.github.com/users/daleharvey/following{/other_user}","gists_url":"https://api.github.com/users/daleharvey/gists{/gist_id}","starred_url":"https://api.github.com/users/daleharvey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daleharvey/subscriptions","organizations_url":"https://api.github.com/users/daleharvey/orgs","repos_url":"https://api.github.com/users/daleharvey/repos","events_url":"https://api.github.com/users/daleharvey/events{/privacy}","received_events_url":"https://api.github.com/users/daleharvey/received_events","type":"User","site_admin":false},"comments":11,"review_comments":0,"commits":1,"additions":45,"deletions":8,"changed_files":5}}
{"actor":{"display_login":"daleharvey"}}