{"action":"opened","number":5581,"pull_request":{"url":"https://api.github.com/repos/nodejs/node/pulls/5581","id":61873499,"html_url":"https://github.com/nodejs/node/pull/5581","diff_url":"https://github.com/nodejs/node/pull/5581.diff","patch_url":"https://github.com/nodejs/node/pull/5581.patch","issue_url":"https://api.github.com/repos/nodejs/node/issues/5581","number":5581,"state":"open","locked":false,"title":"repl: support standalone blocks","user":{"login":"princejwesley","id":1622515,"avatar_url":"https://avatars.githubusercontent.com/u/1622515?v=3","gravatar_id":"","url":"https://api.github.com/users/princejwesley","html_url":"https://github.com/princejwesley","followers_url":"https://api.github.com/users/princejwesley/followers","following_url":"https://api.github.com/users/princejwesley/following{/other_user}","gists_url":"https://api.github.com/users/princejwesley/gists{/gist_id}","starred_url":"https://api.github.com/users/princejwesley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/princejwesley/subscriptions","organizations_url":"https://api.github.com/users/princejwesley/orgs","repos_url":"https://api.github.com/users/princejwesley/repos","events_url":"https://api.github.com/users/princejwesley/events{/privacy}","received_events_url":"https://api.github.com/users/princejwesley/received_events","type":"User","site_admin":false},"body":"### Pull Request check-list\r\n\r\n- [x] Does `make -j8 test` (UNIX) or `vcbuild test nosign` (Windows) pass with\r\n  this change (including linting)?\r\n- [x] Is the commit message formatted according to [CONTRIBUTING.md][0]?\r\n- [x] If this change fixes a bug (or a performance problem), is a regression\r\n  test (or a benchmark) included?\r\n- [ ] Is a documentation update included (if this change modifies\r\n  existing APIs, or introduces new ones)?\r\n\r\n### Affected core subsystem(s)\r\nrepl\r\n[0]: https://github.com/nodejs/node/blob/master/CONTRIBUTING.md#step-3-commit\r\n\r\n### Description of change\r\nEnable support for standalone block statements.\r\nFixes #5576.\r\n\r\n```js\r\nnode 🙈 ₹ git:(upstream ⚡ bare-block) ./node\r\n> { var x = 3; console.log(x); }\r\n3\r\nundefined\r\n> {}\r\n{}\r\n> { x:1, y:\"why not\", z: function() {} }\r\n{ x: 1, y: 'why not', z: [Function] }\r\n>\r\n```\r\n","created_at":"2016-03-07T05:08:38Z","updated_at":"2016-03-07T05:08:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/nodejs/node/pulls/5581/commits","review_comments_url":"https://api.github.com/repos/nodejs/node/pulls/5581/comments","review_comment_url":"https://api.github.com/repos/nodejs/node/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nodejs/node/issues/5581/comments","statuses_url":"https://api.github.com/repos/nodejs/node/statuses/fb2a2c62b92d09e3b66e8fefb7f0eca6509b66f7","head":{"label":"princejwesley:bare-block","ref":"bare-block","sha":"fb2a2c62b92d09e3b66e8fefb7f0eca6509b66f7","user":{"login":"princejwesley","id":1622515,"avatar_url":"https://avatars.githubusercontent.com/u/1622515?v=3","gravatar_id":"","url":"https://api.github.com/users/princejwesley","html_url":"https://github.com/princejwesley","followers_url":"https://api.github.com/users/princejwesley/followers","following_url":"https://api.github.com/users/princejwesley/following{/other_user}","gists_url":"https://api.github.com/users/princejwesley/gists{/gist_id}","starred_url":"https://api.github.com/users/princejwesley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/princejwesley/subscriptions","organizations_url":"https://api.github.com/users/princejwesley/orgs","repos_url":"https://api.github.com/users/princejwesley/repos","events_url":"https://api.github.com/users/princejwesley/events{/privacy}","received_events_url":"https://api.github.com/users/princejwesley/received_events","type":"User","site_admin":false},"repo":{"id":47489947,"name":"node","full_name":"princejwesley/node","owner":{"login":"princejwesley","id":1622515,"avatar_url":"https://avatars.githubusercontent.com/u/1622515?v=3","gravatar_id":"","url":"https://api.github.com/users/princejwesley","html_url":"https://github.com/princejwesley","followers_url":"https://api.github.com/users/princejwesley/followers","following_url":"https://api.github.com/users/princejwesley/following{/other_user}","gists_url":"https://api.github.com/users/princejwesley/gists{/gist_id}","starred_url":"https://api.github.com/users/princejwesley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/princejwesley/subscriptions","organizations_url":"https://api.github.com/users/princejwesley/orgs","repos_url":"https://api.github.com/users/princejwesley/repos","events_url":"https://api.github.com/users/princejwesley/events{/privacy}","received_events_url":"https://api.github.com/users/princejwesley/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/princejwesley/node","description":"Node.js JavaScript runtime :sparkles::turtle::rocket::sparkles:","fork":true,"url":"https://api.github.com/repos/princejwesley/node","forks_url":"https://api.github.com/repos/princejwesley/node/forks","keys_url":"https://api.github.com/repos/princejwesley/node/keys{/key_id}","collaborators_url":"https://api.github.com/repos/princejwesley/node/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/princejwesley/node/teams","hooks_url":"https://api.github.com/repos/princejwesley/node/hooks","issue_events_url":"https://api.github.com/repos/princejwesley/node/issues/events{/number}","events_url":"https://api.github.com/repos/princejwesley/node/events","assignees_url":"https://api.github.com/repos/princejwesley/node/assignees{/user}","branches_url":"https://api.github.com/repos/princejwesley/node/branches{/branch}","tags_url":"https://api.github.com/repos/princejwesley/node/tags","blobs_url":"https://api.github.com/repos/princejwesley/node/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/princejwesley/node/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/princejwesley/node/git/refs{/sha}","trees_url":"https://api.github.com/repos/princejwesley/node/git/trees{/sha}","statuses_url":"https://api.github.com/repos/princejwesley/node/statuses/{sha}","languages_url":"https://api.github.com/repos/princejwesley/node/languages","stargazers_url":"https://api.github.com/repos/princejwesley/node/stargazers","contributors_url":"https://api.github.com/repos/princejwesley/node/contributors","subscribers_url":"https://api.github.com/repos/princejwesley/node/subscribers","subscription_url":"https://api.github.com/repos/princejwesley/node/subscription","commits_url":"https://api.github.com/repos/princejwesley/node/commits{/sha}","git_commits_url":"https://api.github.com/repos/princejwesley/node/git/commits{/sha}","comments_url":"https://api.github.com/repos/princejwesley/node/comments{/number}","issue_comment_url":"https://api.github.com/repos/princejwesley/node/issues/comments{/number}","contents_url":"https://api.github.com/repos/princejwesley/node/contents/{+path}","compare_url":"https://api.github.com/repos/princejwesley/node/compare/{base}...{head}","merges_url":"https://api.github.com/repos/princejwesley/node/merges","archive_url":"https://api.github.com/repos/princejwesley/node/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/princejwesley/node/downloads","issues_url":"https://api.github.com/repos/princejwesley/node/issues{/number}","pulls_url":"https://api.github.com/repos/princejwesley/node/pulls{/number}","milestones_url":"https://api.github.com/repos/princejwesley/node/milestones{/number}","notifications_url":"https://api.github.com/repos/princejwesley/node/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/princejwesley/node/labels{/name}","releases_url":"https://api.github.com/repos/princejwesley/node/releases{/id}","deployments_url":"https://api.github.com/repos/princejwesley/node/deployments","created_at":"2015-12-06T08:58:39Z","updated_at":"2016-02-06T06:01:50Z","pushed_at":"2016-03-07T05:01:53Z","git_url":"git://github.com/princejwesley/node.git","ssh_url":"git@github.com:princejwesley/node.git","clone_url":"https://github.com/princejwesley/node.git","svn_url":"https://github.com/princejwesley/node","homepage":"https://nodejs.org","size":181788,"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":"nodejs:master","ref":"master","sha":"44c9751ff21fd6c6fc4334bbe37b379d6ca01083","user":{"login":"nodejs","id":9950313,"avatar_url":"https://avatars.githubusercontent.com/u/9950313?v=3","gravatar_id":"","url":"https://api.github.com/users/nodejs","html_url":"https://github.com/nodejs","followers_url":"https://api.github.com/users/nodejs/followers","following_url":"https://api.github.com/users/nodejs/following{/other_user}","gists_url":"https://api.github.com/users/nodejs/gists{/gist_id}","starred_url":"https://api.github.com/users/nodejs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nodejs/subscriptions","organizations_url":"https://api.github.com/users/nodejs/orgs","repos_url":"https://api.github.com/users/nodejs/repos","events_url":"https://api.github.com/users/nodejs/events{/privacy}","received_events_url":"https://api.github.com/users/nodejs/received_events","type":"Organization","site_admin":false},"repo":{"id":27193779,"name":"node","full_name":"nodejs/node","owner":{"login":"nodejs","id":9950313,"avatar_url":"https://avatars.githubusercontent.com/u/9950313?v=3","gravatar_id":"","url":"https://api.github.com/users/nodejs","html_url":"https://github.com/nodejs","followers_url":"https://api.github.com/users/nodejs/followers","following_url":"https://api.github.com/users/nodejs/following{/other_user}","gists_url":"https://api.github.com/users/nodejs/gists{/gist_id}","starred_url":"https://api.github.com/users/nodejs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nodejs/subscriptions","organizations_url":"https://api.github.com/users/nodejs/orgs","repos_url":"https://api.github.com/users/nodejs/repos","events_url":"https://api.github.com/users/nodejs/events{/privacy}","received_events_url":"https://api.github.com/users/nodejs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nodejs/node","description":"Node.js JavaScript runtime :sparkles::turtle::rocket::sparkles:","fork":false,"url":"https://api.github.com/repos/nodejs/node","forks_url":"https://api.github.com/repos/nodejs/node/forks","keys_url":"https://api.github.com/repos/nodejs/node/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nodejs/node/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nodejs/node/teams","hooks_url":"https://api.github.com/repos/nodejs/node/hooks","issue_events_url":"https://api.github.com/repos/nodejs/node/issues/events{/number}","events_url":"https://api.github.com/repos/nodejs/node/events","assignees_url":"https://api.github.com/repos/nodejs/node/assignees{/user}","branches_url":"https://api.github.com/repos/nodejs/node/branches{/branch}","tags_url":"https://api.github.com/repos/nodejs/node/tags","blobs_url":"https://api.github.com/repos/nodejs/node/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nodejs/node/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nodejs/node/git/refs{/sha}","trees_url":"https://api.github.com/repos/nodejs/node/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nodejs/node/statuses/{sha}","languages_url":"https://api.github.com/repos/nodejs/node/languages","stargazers_url":"https://api.github.com/repos/nodejs/node/stargazers","contributors_url":"https://api.github.com/repos/nodejs/node/contributors","subscribers_url":"https://api.github.com/repos/nodejs/node/subscribers","subscription_url":"https://api.github.com/repos/nodejs/node/subscription","commits_url":"https://api.github.com/repos/nodejs/node/commits{/sha}","git_commits_url":"https://api.github.com/repos/nodejs/node/git/commits{/sha}","comments_url":"https://api.github.com/repos/nodejs/node/comments{/number}","issue_comment_url":"https://api.github.com/repos/nodejs/node/issues/comments{/number}","contents_url":"https://api.github.com/repos/nodejs/node/contents/{+path}","compare_url":"https://api.github.com/repos/nodejs/node/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nodejs/node/merges","archive_url":"https://api.github.com/repos/nodejs/node/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nodejs/node/downloads","issues_url":"https://api.github.com/repos/nodejs/node/issues{/number}","pulls_url":"https://api.github.com/repos/nodejs/node/pulls{/number}","milestones_url":"https://api.github.com/repos/nodejs/node/milestones{/number}","notifications_url":"https://api.github.com/repos/nodejs/node/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nodejs/node/labels{/name}","releases_url":"https://api.github.com/repos/nodejs/node/releases{/id}","deployments_url":"https://api.github.com/repos/nodejs/node/deployments","created_at":"2014-11-26T19:57:11Z","updated_at":"2016-03-07T03:44:34Z","pushed_at":"2016-03-07T02:23:33Z","git_url":"git://github.com/nodejs/node.git","ssh_url":"git@github.com:nodejs/node.git","clone_url":"https://github.com/nodejs/node.git","svn_url":"https://github.com/nodejs/node","homepage":"https://nodejs.org","size":215632,"stargazers_count":20790,"watchers_count":20790,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2641,"mirror_url":null,"open_issues_count":732,"forks":2641,"open_issues":732,"watchers":20790,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nodejs/node/pulls/5581"},"html":{"href":"https://github.com/nodejs/node/pull/5581"},"issue":{"href":"https://api.github.com/repos/nodejs/node/issues/5581"},"comments":{"href":"https://api.github.com/repos/nodejs/node/issues/5581/comments"},"review_comments":{"href":"https://api.github.com/repos/nodejs/node/pulls/5581/comments"},"review_comment":{"href":"https://api.github.com/repos/nodejs/node/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nodejs/node/pulls/5581/commits"},"statuses":{"href":"https://api.github.com/repos/nodejs/node/statuses/fb2a2c62b92d09e3b66e8fefb7f0eca6509b66f7"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":19,"deletions":6,"changed_files":2}}