{"action":"created","issue":{"url":"https://api.github.com/repos/nodejs/io.js/issues/1937","labels_url":"https://api.github.com/repos/nodejs/io.js/issues/1937/labels{/name}","comments_url":"https://api.github.com/repos/nodejs/io.js/issues/1937/comments","events_url":"https://api.github.com/repos/nodejs/io.js/issues/1937/events","html_url":"https://github.com/nodejs/io.js/pull/1937","id":86931220,"number":1937,"title":"buffer: Fixing the special case in Buffer.concat","user":{"login":"thefourtheye","id":696611,"avatar_url":"https://avatars.githubusercontent.com/u/696611?v=3","gravatar_id":"","url":"https://api.github.com/users/thefourtheye","html_url":"https://github.com/thefourtheye","followers_url":"https://api.github.com/users/thefourtheye/followers","following_url":"https://api.github.com/users/thefourtheye/following{/other_user}","gists_url":"https://api.github.com/users/thefourtheye/gists{/gist_id}","starred_url":"https://api.github.com/users/thefourtheye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thefourtheye/subscriptions","organizations_url":"https://api.github.com/users/thefourtheye/orgs","repos_url":"https://api.github.com/users/thefourtheye/repos","events_url":"https://api.github.com/users/thefourtheye/events{/privacy}","received_events_url":"https://api.github.com/users/thefourtheye/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nodejs/io.js/labels/buffer","name":"buffer","color":"f7c6c7"},{"url":"https://api.github.com/repos/nodejs/io.js/labels/semver-major","name":"semver-major","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/nodejs/io.js/milestones/7","html_url":"https://github.com/nodejs/io.js/milestones/3.0.0","labels_url":"https://api.github.com/repos/nodejs/io.js/milestones/7/labels","id":1072486,"number":7,"title":"3.0.0","description":"","creator":{"login":"chrisdickinson","id":37303,"avatar_url":"https://avatars.githubusercontent.com/u/37303?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisdickinson","html_url":"https://github.com/chrisdickinson","followers_url":"https://api.github.com/users/chrisdickinson/followers","following_url":"https://api.github.com/users/chrisdickinson/following{/other_user}","gists_url":"https://api.github.com/users/chrisdickinson/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisdickinson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisdickinson/subscriptions","organizations_url":"https://api.github.com/users/chrisdickinson/orgs","repos_url":"https://api.github.com/users/chrisdickinson/repos","events_url":"https://api.github.com/users/chrisdickinson/events{/privacy}","received_events_url":"https://api.github.com/users/chrisdickinson/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":5,"state":"open","created_at":"2015-04-17T16:49:06Z","updated_at":"2015-06-10T17:40:58Z","due_on":null,"closed_at":null},"comments":8,"created_at":"2015-06-10T11:13:50Z","updated_at":"2015-06-10T17:40:58Z","closed_at":"2015-06-10T17:40:58Z","pull_request":{"url":"https://api.github.com/repos/nodejs/io.js/pulls/1937","html_url":"https://github.com/nodejs/io.js/pull/1937","diff_url":"https://github.com/nodejs/io.js/pull/1937.diff","patch_url":"https://github.com/nodejs/io.js/pull/1937.patch"},"body":"PR for https://github.com/nodejs/io.js/issues/1891\r\n\r\nIf the number of elements to concat is 1, then `Buffer` used to return the only element as it is. But, this is not consistent with `Array`'s `concat` and unintuitive. This patch makes sure that we create a new `Buffer` object always."},"comment":{"url":"https://api.github.com/repos/nodejs/io.js/issues/comments/110847924","html_url":"https://github.com/nodejs/io.js/pull/1937#issuecomment-110847924","issue_url":"https://api.github.com/repos/nodejs/io.js/issues/1937","id":110847924,"user":{"login":"trevnorris","id":289174,"avatar_url":"https://avatars.githubusercontent.com/u/289174?v=3","gravatar_id":"","url":"https://api.github.com/users/trevnorris","html_url":"https://github.com/trevnorris","followers_url":"https://api.github.com/users/trevnorris/followers","following_url":"https://api.github.com/users/trevnorris/following{/other_user}","gists_url":"https://api.github.com/users/trevnorris/gists{/gist_id}","starred_url":"https://api.github.com/users/trevnorris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trevnorris/subscriptions","organizations_url":"https://api.github.com/users/trevnorris/orgs","repos_url":"https://api.github.com/users/trevnorris/repos","events_url":"https://api.github.com/users/trevnorris/events{/privacy}","received_events_url":"https://api.github.com/users/trevnorris/received_events","type":"User","site_admin":false},"created_at":"2015-06-10T17:40:58Z","updated_at":"2015-06-10T17:40:58Z","body":"Landed in f4f16bf with a reworded commit message and one additional test.\r\n\r\nWhile merging realized this fixed an inconsistency in `.concat()` usage. As explained in the commit message. Thanks much."}}