{"action":"opened","number":251,"pull_request":{"url":"https://api.github.com/repos/mafintosh/mongojs/pulls/251","id":46891382,"html_url":"https://github.com/mafintosh/mongojs/pull/251","diff_url":"https://github.com/mafintosh/mongojs/pull/251.diff","patch_url":"https://github.com/mafintosh/mongojs/pull/251.patch","issue_url":"https://api.github.com/repos/mafintosh/mongojs/issues/251","number":251,"state":"open","locked":false,"title":"Expose bson stuff visible in the shell","user":{"login":"watson","id":10602,"avatar_url":"https://avatars.githubusercontent.com/u/10602?v=3","gravatar_id":"","url":"https://api.github.com/users/watson","html_url":"https://github.com/watson","followers_url":"https://api.github.com/users/watson/followers","following_url":"https://api.github.com/users/watson/following{/other_user}","gists_url":"https://api.github.com/users/watson/gists{/gist_id}","starred_url":"https://api.github.com/users/watson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/watson/subscriptions","organizations_url":"https://api.github.com/users/watson/orgs","repos_url":"https://api.github.com/users/watson/repos","events_url":"https://api.github.com/users/watson/events{/privacy}","received_events_url":"https://api.github.com/users/watson/received_events","type":"User","site_admin":false},"body":"Previusly only the `ObjectId` function was exposed and available directly from the root of the `mongojs` module.\r\n\r\nThis commit exposes a couple of other BSON types in the same manner. This is now the full list of exposed types:\r\n\r\n- `mongojs.ObjectId`\r\n- `mongojs.DBRef`\r\n- `mongojs.Timestamp`\r\n- `mongojs.MinKey`\r\n- `mongojs.MaxKey`\r\n- `mongojs.NumberLong` (the BSON type `Long`)\r\n\r\nThis is actually a revival commit, bringing back the spirit of the very first Pull Request ever made to this projeect back in 2011 (later refined in commit #06bbf02): #1","created_at":"2015-10-06T11:34:37Z","updated_at":"2015-10-06T11:34:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mafintosh/mongojs/pulls/251/commits","review_comments_url":"https://api.github.com/repos/mafintosh/mongojs/pulls/251/comments","review_comment_url":"https://api.github.com/repos/mafintosh/mongojs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mafintosh/mongojs/issues/251/comments","statuses_url":"https://api.github.com/repos/mafintosh/mongojs/statuses/f1ff935cd02842651d996039bf80abc51581dc52","head":{"label":"mafintosh:watson/expose-bson","ref":"watson/expose-bson","sha":"f1ff935cd02842651d996039bf80abc51581dc52","user":{"login":"mafintosh","id":376661,"avatar_url":"https://avatars.githubusercontent.com/u/376661?v=3","gravatar_id":"","url":"https://api.github.com/users/mafintosh","html_url":"https://github.com/mafintosh","followers_url":"https://api.github.com/users/mafintosh/followers","following_url":"https://api.github.com/users/mafintosh/following{/other_user}","gists_url":"https://api.github.com/users/mafintosh/gists{/gist_id}","starred_url":"https://api.github.com/users/mafintosh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mafintosh/subscriptions","organizations_url":"https://api.github.com/users/mafintosh/orgs","repos_url":"https://api.github.com/users/mafintosh/repos","events_url":"https://api.github.com/users/mafintosh/events{/privacy}","received_events_url":"https://api.github.com/users/mafintosh/received_events","type":"User","site_admin":false},"repo":{"id":1936391,"name":"mongojs","full_name":"mafintosh/mongojs","owner":{"login":"mafintosh","id":376661,"avatar_url":"https://avatars.githubusercontent.com/u/376661?v=3","gravatar_id":"","url":"https://api.github.com/users/mafintosh","html_url":"https://github.com/mafintosh","followers_url":"https://api.github.com/users/mafintosh/followers","following_url":"https://api.github.com/users/mafintosh/following{/other_user}","gists_url":"https://api.github.com/users/mafintosh/gists{/gist_id}","starred_url":"https://api.github.com/users/mafintosh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mafintosh/subscriptions","organizations_url":"https://api.github.com/users/mafintosh/orgs","repos_url":"https://api.github.com/users/mafintosh/repos","events_url":"https://api.github.com/users/mafintosh/events{/privacy}","received_events_url":"https://api.github.com/users/mafintosh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mafintosh/mongojs","description":"Node.js module that implements the offical mongo api","fork":false,"url":"https://api.github.com/repos/mafintosh/mongojs","forks_url":"https://api.github.com/repos/mafintosh/mongojs/forks","keys_url":"https://api.github.com/repos/mafintosh/mongojs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mafintosh/mongojs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mafintosh/mongojs/teams","hooks_url":"https://api.github.com/repos/mafintosh/mongojs/hooks","issue_events_url":"https://api.github.com/repos/mafintosh/mongojs/issues/events{/number}","events_url":"https://api.github.com/repos/mafintosh/mongojs/events","assignees_url":"https://api.github.com/repos/mafintosh/mongojs/assignees{/user}","branches_url":"https://api.github.com/repos/mafintosh/mongojs/branches{/branch}","tags_url":"https://api.github.com/repos/mafintosh/mongojs/tags","blobs_url":"https://api.github.com/repos/mafintosh/mongojs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mafintosh/mongojs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mafintosh/mongojs/git/refs{/sha}","trees_url":"https://api.github.com/repos/mafintosh/mongojs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mafintosh/mongojs/statuses/{sha}","languages_url":"https://api.github.com/repos/mafintosh/mongojs/languages","stargazers_url":"https://api.github.com/repos/mafintosh/mongojs/stargazers","contributors_url":"https://api.github.com/repos/mafintosh/mongojs/contributors","subscribers_url":"https://api.github.com/repos/mafintosh/mongojs/subscribers","subscription_url":"https://api.github.com/repos/mafintosh/mongojs/subscription","commits_url":"https://api.github.com/repos/mafintosh/mongojs/commits{/sha}","git_commits_url":"https://api.github.com/repos/mafintosh/mongojs/git/commits{/sha}","comments_url":"https://api.github.com/repos/mafintosh/mongojs/comments{/number}","issue_comment_url":"https://api.github.com/repos/mafintosh/mongojs/issues/comments{/number}","contents_url":"https://api.github.com/repos/mafintosh/mongojs/contents/{+path}","compare_url":"https://api.github.com/repos/mafintosh/mongojs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mafintosh/mongojs/merges","archive_url":"https://api.github.com/repos/mafintosh/mongojs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mafintosh/mongojs/downloads","issues_url":"https://api.github.com/repos/mafintosh/mongojs/issues{/number}","pulls_url":"https://api.github.com/repos/mafintosh/mongojs/pulls{/number}","milestones_url":"https://api.github.com/repos/mafintosh/mongojs/milestones{/number}","notifications_url":"https://api.github.com/repos/mafintosh/mongojs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mafintosh/mongojs/labels{/name}","releases_url":"https://api.github.com/repos/mafintosh/mongojs/releases{/id}","created_at":"2011-06-22T18:01:06Z","updated_at":"2015-10-06T11:26:51Z","pushed_at":"2015-10-06T11:34:37Z","git_url":"git://github.com/mafintosh/mongojs.git","ssh_url":"git@github.com:mafintosh/mongojs.git","clone_url":"https://github.com/mafintosh/mongojs.git","svn_url":"https://github.com/mafintosh/mongojs","homepage":"http://mafintosh.github.io/mongojs","size":1629,"stargazers_count":1094,"watchers_count":1094,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":150,"mirror_url":null,"open_issues_count":43,"forks":150,"open_issues":43,"watchers":1094,"default_branch":"master"}},"base":{"label":"mafintosh:master","ref":"master","sha":"f801df644f469507f1f7f0b956cbab08ecce60e4","user":{"login":"mafintosh","id":376661,"avatar_url":"https://avatars.githubusercontent.com/u/376661?v=3","gravatar_id":"","url":"https://api.github.com/users/mafintosh","html_url":"https://github.com/mafintosh","followers_url":"https://api.github.com/users/mafintosh/followers","following_url":"https://api.github.com/users/mafintosh/following{/other_user}","gists_url":"https://api.github.com/users/mafintosh/gists{/gist_id}","starred_url":"https://api.github.com/users/mafintosh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mafintosh/subscriptions","organizations_url":"https://api.github.com/users/mafintosh/orgs","repos_url":"https://api.github.com/users/mafintosh/repos","events_url":"https://api.github.com/users/mafintosh/events{/privacy}","received_events_url":"https://api.github.com/users/mafintosh/received_events","type":"User","site_admin":false},"repo":{"id":1936391,"name":"mongojs","full_name":"mafintosh/mongojs","owner":{"login":"mafintosh","id":376661,"avatar_url":"https://avatars.githubusercontent.com/u/376661?v=3","gravatar_id":"","url":"https://api.github.com/users/mafintosh","html_url":"https://github.com/mafintosh","followers_url":"https://api.github.com/users/mafintosh/followers","following_url":"https://api.github.com/users/mafintosh/following{/other_user}","gists_url":"https://api.github.com/users/mafintosh/gists{/gist_id}","starred_url":"https://api.github.com/users/mafintosh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mafintosh/subscriptions","organizations_url":"https://api.github.com/users/mafintosh/orgs","repos_url":"https://api.github.com/users/mafintosh/repos","events_url":"https://api.github.com/users/mafintosh/events{/privacy}","received_events_url":"https://api.github.com/users/mafintosh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mafintosh/mongojs","description":"Node.js module that implements the offical mongo api","fork":false,"url":"https://api.github.com/repos/mafintosh/mongojs","forks_url":"https://api.github.com/repos/mafintosh/mongojs/forks","keys_url":"https://api.github.com/repos/mafintosh/mongojs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mafintosh/mongojs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mafintosh/mongojs/teams","hooks_url":"https://api.github.com/repos/mafintosh/mongojs/hooks","issue_events_url":"https://api.github.com/repos/mafintosh/mongojs/issues/events{/number}","events_url":"https://api.github.com/repos/mafintosh/mongojs/events","assignees_url":"https://api.github.com/repos/mafintosh/mongojs/assignees{/user}","branches_url":"https://api.github.com/repos/mafintosh/mongojs/branches{/branch}","tags_url":"https://api.github.com/repos/mafintosh/mongojs/tags","blobs_url":"https://api.github.com/repos/mafintosh/mongojs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mafintosh/mongojs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mafintosh/mongojs/git/refs{/sha}","trees_url":"https://api.github.com/repos/mafintosh/mongojs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mafintosh/mongojs/statuses/{sha}","languages_url":"https://api.github.com/repos/mafintosh/mongojs/languages","stargazers_url":"https://api.github.com/repos/mafintosh/mongojs/stargazers","contributors_url":"https://api.github.com/repos/mafintosh/mongojs/contributors","subscribers_url":"https://api.github.com/repos/mafintosh/mongojs/subscribers","subscription_url":"https://api.github.com/repos/mafintosh/mongojs/subscription","commits_url":"https://api.github.com/repos/mafintosh/mongojs/commits{/sha}","git_commits_url":"https://api.github.com/repos/mafintosh/mongojs/git/commits{/sha}","comments_url":"https://api.github.com/repos/mafintosh/mongojs/comments{/number}","issue_comment_url":"https://api.github.com/repos/mafintosh/mongojs/issues/comments{/number}","contents_url":"https://api.github.com/repos/mafintosh/mongojs/contents/{+path}","compare_url":"https://api.github.com/repos/mafintosh/mongojs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mafintosh/mongojs/merges","archive_url":"https://api.github.com/repos/mafintosh/mongojs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mafintosh/mongojs/downloads","issues_url":"https://api.github.com/repos/mafintosh/mongojs/issues{/number}","pulls_url":"https://api.github.com/repos/mafintosh/mongojs/pulls{/number}","milestones_url":"https://api.github.com/repos/mafintosh/mongojs/milestones{/number}","notifications_url":"https://api.github.com/repos/mafintosh/mongojs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mafintosh/mongojs/labels{/name}","releases_url":"https://api.github.com/repos/mafintosh/mongojs/releases{/id}","created_at":"2011-06-22T18:01:06Z","updated_at":"2015-10-06T11:26:51Z","pushed_at":"2015-10-06T11:34:37Z","git_url":"git://github.com/mafintosh/mongojs.git","ssh_url":"git@github.com:mafintosh/mongojs.git","clone_url":"https://github.com/mafintosh/mongojs.git","svn_url":"https://github.com/mafintosh/mongojs","homepage":"http://mafintosh.github.io/mongojs","size":1629,"stargazers_count":1094,"watchers_count":1094,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":150,"mirror_url":null,"open_issues_count":43,"forks":150,"open_issues":43,"watchers":1094,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mafintosh/mongojs/pulls/251"},"html":{"href":"https://github.com/mafintosh/mongojs/pull/251"},"issue":{"href":"https://api.github.com/repos/mafintosh/mongojs/issues/251"},"comments":{"href":"https://api.github.com/repos/mafintosh/mongojs/issues/251/comments"},"review_comments":{"href":"https://api.github.com/repos/mafintosh/mongojs/pulls/251/comments"},"review_comment":{"href":"https://api.github.com/repos/mafintosh/mongojs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mafintosh/mongojs/pulls/251/commits"},"statuses":{"href":"https://api.github.com/repos/mafintosh/mongojs/statuses/f1ff935cd02842651d996039bf80abc51581dc52"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":6,"deletions":0,"changed_files":1}}