{"action":"created","comment":{"url":"https://api.github.com/repos/feross/create-torrent/pulls/comments/56388229","id":56388229,"diff_hunk":"@@ -81,7 +81,7 @@ function _parseInput (input, opts, cb) {\n \n   var commonPrefix = null\n   input.forEach(function (item, i) {\n-    if (typeof item === 'string') return\n+    if (typeof item === 'string' || (Buffer.isBuffer(item) && !item.name)) return","path":"index.js","position":5,"original_position":5,"commit_id":"545687f8d324f2f30fd5e9706f52a0b66d0dfe6d","original_commit_id":"545687f8d324f2f30fd5e9706f52a0b66d0dfe6d","user":{"login":"feross","id":121766,"avatar_url":"https://avatars.githubusercontent.com/u/121766?v=3","gravatar_id":"","url":"https://api.github.com/users/feross","html_url":"https://github.com/feross","followers_url":"https://api.github.com/users/feross/followers","following_url":"https://api.github.com/users/feross/following{/other_user}","gists_url":"https://api.github.com/users/feross/gists{/gist_id}","starred_url":"https://api.github.com/users/feross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feross/subscriptions","organizations_url":"https://api.github.com/users/feross/orgs","repos_url":"https://api.github.com/users/feross/repos","events_url":"https://api.github.com/users/feross/events{/privacy}","received_events_url":"https://api.github.com/users/feross/received_events","type":"User","site_admin":false},"body":"This will not exclude streams that are missing a `name` property.","created_at":"2016-03-16T18:21:51Z","updated_at":"2016-03-16T18:21:51Z","html_url":"https://github.com/feross/create-torrent/pull/31#discussion_r56388229","pull_request_url":"https://api.github.com/repos/feross/create-torrent/pulls/31","_links":{"self":{"href":"https://api.github.com/repos/feross/create-torrent/pulls/comments/56388229"},"html":{"href":"https://github.com/feross/create-torrent/pull/31#discussion_r56388229"},"pull_request":{"href":"https://api.github.com/repos/feross/create-torrent/pulls/31"}}},"pull_request":{"url":"https://api.github.com/repos/feross/create-torrent/pulls/31","id":63061170,"html_url":"https://github.com/feross/create-torrent/pull/31","diff_url":"https://github.com/feross/create-torrent/pull/31.diff","patch_url":"https://github.com/feross/create-torrent/pull/31.patch","issue_url":"https://api.github.com/repos/feross/create-torrent/issues/31","number":31,"state":"open","locked":false,"title":"Fix noname input","user":{"login":"Autarc","id":1060490,"avatar_url":"https://avatars.githubusercontent.com/u/1060490?v=3","gravatar_id":"","url":"https://api.github.com/users/Autarc","html_url":"https://github.com/Autarc","followers_url":"https://api.github.com/users/Autarc/followers","following_url":"https://api.github.com/users/Autarc/following{/other_user}","gists_url":"https://api.github.com/users/Autarc/gists{/gist_id}","starred_url":"https://api.github.com/users/Autarc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Autarc/subscriptions","organizations_url":"https://api.github.com/users/Autarc/orgs","repos_url":"https://api.github.com/users/Autarc/repos","events_url":"https://api.github.com/users/Autarc/events{/privacy}","received_events_url":"https://api.github.com/users/Autarc/received_events","type":"User","site_admin":false},"body":"Allows to use buffers and streams without the requirement to extend them first with a `name` property. In addition it now iterates over all inputs to use the first matched `name` instead of just checking the `name` of the first input.  ","created_at":"2016-03-16T13:07:57Z","updated_at":"2016-03-16T18:21:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f1eabaf0a1db2fedf89ed30270424b15f1dd2571","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/feross/create-torrent/pulls/31/commits","review_comments_url":"https://api.github.com/repos/feross/create-torrent/pulls/31/comments","review_comment_url":"https://api.github.com/repos/feross/create-torrent/pulls/comments{/number}","comments_url":"https://api.github.com/repos/feross/create-torrent/issues/31/comments","statuses_url":"https://api.github.com/repos/feross/create-torrent/statuses/545687f8d324f2f30fd5e9706f52a0b66d0dfe6d","head":{"label":"Autarc:fix-noname-input","ref":"fix-noname-input","sha":"545687f8d324f2f30fd5e9706f52a0b66d0dfe6d","user":{"login":"Autarc","id":1060490,"avatar_url":"https://avatars.githubusercontent.com/u/1060490?v=3","gravatar_id":"","url":"https://api.github.com/users/Autarc","html_url":"https://github.com/Autarc","followers_url":"https://api.github.com/users/Autarc/followers","following_url":"https://api.github.com/users/Autarc/following{/other_user}","gists_url":"https://api.github.com/users/Autarc/gists{/gist_id}","starred_url":"https://api.github.com/users/Autarc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Autarc/subscriptions","organizations_url":"https://api.github.com/users/Autarc/orgs","repos_url":"https://api.github.com/users/Autarc/repos","events_url":"https://api.github.com/users/Autarc/events{/privacy}","received_events_url":"https://api.github.com/users/Autarc/received_events","type":"User","site_admin":false},"repo":{"id":54030427,"name":"create-torrent","full_name":"Autarc/create-torrent","owner":{"login":"Autarc","id":1060490,"avatar_url":"https://avatars.githubusercontent.com/u/1060490?v=3","gravatar_id":"","url":"https://api.github.com/users/Autarc","html_url":"https://github.com/Autarc","followers_url":"https://api.github.com/users/Autarc/followers","following_url":"https://api.github.com/users/Autarc/following{/other_user}","gists_url":"https://api.github.com/users/Autarc/gists{/gist_id}","starred_url":"https://api.github.com/users/Autarc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Autarc/subscriptions","organizations_url":"https://api.github.com/users/Autarc/orgs","repos_url":"https://api.github.com/users/Autarc/repos","events_url":"https://api.github.com/users/Autarc/events{/privacy}","received_events_url":"https://api.github.com/users/Autarc/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Autarc/create-torrent","description":"Create .torrent files","fork":true,"url":"https://api.github.com/repos/Autarc/create-torrent","forks_url":"https://api.github.com/repos/Autarc/create-torrent/forks","keys_url":"https://api.github.com/repos/Autarc/create-torrent/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Autarc/create-torrent/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Autarc/create-torrent/teams","hooks_url":"https://api.github.com/repos/Autarc/create-torrent/hooks","issue_events_url":"https://api.github.com/repos/Autarc/create-torrent/issues/events{/number}","events_url":"https://api.github.com/repos/Autarc/create-torrent/events","assignees_url":"https://api.github.com/repos/Autarc/create-torrent/assignees{/user}","branches_url":"https://api.github.com/repos/Autarc/create-torrent/branches{/branch}","tags_url":"https://api.github.com/repos/Autarc/create-torrent/tags","blobs_url":"https://api.github.com/repos/Autarc/create-torrent/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Autarc/create-torrent/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Autarc/create-torrent/git/refs{/sha}","trees_url":"https://api.github.com/repos/Autarc/create-torrent/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Autarc/create-torrent/statuses/{sha}","languages_url":"https://api.github.com/repos/Autarc/create-torrent/languages","stargazers_url":"https://api.github.com/repos/Autarc/create-torrent/stargazers","contributors_url":"https://api.github.com/repos/Autarc/create-torrent/contributors","subscribers_url":"https://api.github.com/repos/Autarc/create-torrent/subscribers","subscription_url":"https://api.github.com/repos/Autarc/create-torrent/subscription","commits_url":"https://api.github.com/repos/Autarc/create-torrent/commits{/sha}","git_commits_url":"https://api.github.com/repos/Autarc/create-torrent/git/commits{/sha}","comments_url":"https://api.github.com/repos/Autarc/create-torrent/comments{/number}","issue_comment_url":"https://api.github.com/repos/Autarc/create-torrent/issues/comments{/number}","contents_url":"https://api.github.com/repos/Autarc/create-torrent/contents/{+path}","compare_url":"https://api.github.com/repos/Autarc/create-torrent/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Autarc/create-torrent/merges","archive_url":"https://api.github.com/repos/Autarc/create-torrent/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Autarc/create-torrent/downloads","issues_url":"https://api.github.com/repos/Autarc/create-torrent/issues{/number}","pulls_url":"https://api.github.com/repos/Autarc/create-torrent/pulls{/number}","milestones_url":"https://api.github.com/repos/Autarc/create-torrent/milestones{/number}","notifications_url":"https://api.github.com/repos/Autarc/create-torrent/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Autarc/create-torrent/labels{/name}","releases_url":"https://api.github.com/repos/Autarc/create-torrent/releases{/id}","deployments_url":"https://api.github.com/repos/Autarc/create-torrent/deployments","created_at":"2016-03-16T12:35:40Z","updated_at":"2016-03-16T12:35:41Z","pushed_at":"2016-03-16T17:47:28Z","git_url":"git://github.com/Autarc/create-torrent.git","ssh_url":"git@github.com:Autarc/create-torrent.git","clone_url":"https://github.com/Autarc/create-torrent.git","svn_url":"https://github.com/Autarc/create-torrent","homepage":"","size":574,"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":"feross:master","ref":"master","sha":"1a479ab25078a63c41a9befd939a2a1b4c6fec46","user":{"login":"feross","id":121766,"avatar_url":"https://avatars.githubusercontent.com/u/121766?v=3","gravatar_id":"","url":"https://api.github.com/users/feross","html_url":"https://github.com/feross","followers_url":"https://api.github.com/users/feross/followers","following_url":"https://api.github.com/users/feross/following{/other_user}","gists_url":"https://api.github.com/users/feross/gists{/gist_id}","starred_url":"https://api.github.com/users/feross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feross/subscriptions","organizations_url":"https://api.github.com/users/feross/orgs","repos_url":"https://api.github.com/users/feross/repos","events_url":"https://api.github.com/users/feross/events{/privacy}","received_events_url":"https://api.github.com/users/feross/received_events","type":"User","site_admin":false},"repo":{"id":20014609,"name":"create-torrent","full_name":"feross/create-torrent","owner":{"login":"feross","id":121766,"avatar_url":"https://avatars.githubusercontent.com/u/121766?v=3","gravatar_id":"","url":"https://api.github.com/users/feross","html_url":"https://github.com/feross","followers_url":"https://api.github.com/users/feross/followers","following_url":"https://api.github.com/users/feross/following{/other_user}","gists_url":"https://api.github.com/users/feross/gists{/gist_id}","starred_url":"https://api.github.com/users/feross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feross/subscriptions","organizations_url":"https://api.github.com/users/feross/orgs","repos_url":"https://api.github.com/users/feross/repos","events_url":"https://api.github.com/users/feross/events{/privacy}","received_events_url":"https://api.github.com/users/feross/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/feross/create-torrent","description":"Create .torrent files","fork":false,"url":"https://api.github.com/repos/feross/create-torrent","forks_url":"https://api.github.com/repos/feross/create-torrent/forks","keys_url":"https://api.github.com/repos/feross/create-torrent/keys{/key_id}","collaborators_url":"https://api.github.com/repos/feross/create-torrent/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/feross/create-torrent/teams","hooks_url":"https://api.github.com/repos/feross/create-torrent/hooks","issue_events_url":"https://api.github.com/repos/feross/create-torrent/issues/events{/number}","events_url":"https://api.github.com/repos/feross/create-torrent/events","assignees_url":"https://api.github.com/repos/feross/create-torrent/assignees{/user}","branches_url":"https://api.github.com/repos/feross/create-torrent/branches{/branch}","tags_url":"https://api.github.com/repos/feross/create-torrent/tags","blobs_url":"https://api.github.com/repos/feross/create-torrent/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/feross/create-torrent/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/feross/create-torrent/git/refs{/sha}","trees_url":"https://api.github.com/repos/feross/create-torrent/git/trees{/sha}","statuses_url":"https://api.github.com/repos/feross/create-torrent/statuses/{sha}","languages_url":"https://api.github.com/repos/feross/create-torrent/languages","stargazers_url":"https://api.github.com/repos/feross/create-torrent/stargazers","contributors_url":"https://api.github.com/repos/feross/create-torrent/contributors","subscribers_url":"https://api.github.com/repos/feross/create-torrent/subscribers","subscription_url":"https://api.github.com/repos/feross/create-torrent/subscription","commits_url":"https://api.github.com/repos/feross/create-torrent/commits{/sha}","git_commits_url":"https://api.github.com/repos/feross/create-torrent/git/commits{/sha}","comments_url":"https://api.github.com/repos/feross/create-torrent/comments{/number}","issue_comment_url":"https://api.github.com/repos/feross/create-torrent/issues/comments{/number}","contents_url":"https://api.github.com/repos/feross/create-torrent/contents/{+path}","compare_url":"https://api.github.com/repos/feross/create-torrent/compare/{base}...{head}","merges_url":"https://api.github.com/repos/feross/create-torrent/merges","archive_url":"https://api.github.com/repos/feross/create-torrent/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/feross/create-torrent/downloads","issues_url":"https://api.github.com/repos/feross/create-torrent/issues{/number}","pulls_url":"https://api.github.com/repos/feross/create-torrent/pulls{/number}","milestones_url":"https://api.github.com/repos/feross/create-torrent/milestones{/number}","notifications_url":"https://api.github.com/repos/feross/create-torrent/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/feross/create-torrent/labels{/name}","releases_url":"https://api.github.com/repos/feross/create-torrent/releases{/id}","deployments_url":"https://api.github.com/repos/feross/create-torrent/deployments","created_at":"2014-05-21T08:53:36Z","updated_at":"2016-03-14T23:08:01Z","pushed_at":"2016-03-16T17:47:28Z","git_url":"git://github.com/feross/create-torrent.git","ssh_url":"git@github.com:feross/create-torrent.git","clone_url":"https://github.com/feross/create-torrent.git","svn_url":"https://github.com/feross/create-torrent","homepage":"","size":565,"stargazers_count":79,"watchers_count":79,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":22,"mirror_url":null,"open_issues_count":1,"forks":22,"open_issues":1,"watchers":79,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/feross/create-torrent/pulls/31"},"html":{"href":"https://github.com/feross/create-torrent/pull/31"},"issue":{"href":"https://api.github.com/repos/feross/create-torrent/issues/31"},"comments":{"href":"https://api.github.com/repos/feross/create-torrent/issues/31/comments"},"review_comments":{"href":"https://api.github.com/repos/feross/create-torrent/pulls/31/comments"},"review_comment":{"href":"https://api.github.com/repos/feross/create-torrent/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/feross/create-torrent/pulls/31/commits"},"statuses":{"href":"https://api.github.com/repos/feross/create-torrent/statuses/545687f8d324f2f30fd5e9706f52a0b66d0dfe6d"}}}}