{"action":"created","comment":{"url":"https://api.github.com/repos/makeomatic/redux-connect/pulls/comments/62731494","id":62731494,"diff_hunk":"@@ -45,6 +44,22 @@ export function filterAndFlattenComponents(components) {\n   return flattened;\n }\n \n+function promiseMapSeries(array, iterator, thisArg) {\n+  const length = array.length;\n+  let current = Promise.resolve();\n+  const results = new Array(length);\n+  const cb = !!thisArg ? iterator.bind(thisArg) : iterator;\n+\n+  for (let i = 0; i < length; ++i) {\n+    current = results[i] = current.then(function promiseCreator(index) {","path":"modules/helpers/utils.js","position":16,"original_position":16,"commit_id":"fa3f9105e4ff552337bd0fed2a082e8ea0b8e7f2","original_commit_id":"fa3f9105e4ff552337bd0fed2a082e8ea0b8e7f2","user":{"login":"AVVS","id":1713617,"avatar_url":"https://avatars.githubusercontent.com/u/1713617?v=3","gravatar_id":"","url":"https://api.github.com/users/AVVS","html_url":"https://github.com/AVVS","followers_url":"https://api.github.com/users/AVVS/followers","following_url":"https://api.github.com/users/AVVS/following{/other_user}","gists_url":"https://api.github.com/users/AVVS/gists{/gist_id}","starred_url":"https://api.github.com/users/AVVS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AVVS/subscriptions","organizations_url":"https://api.github.com/users/AVVS/orgs","repos_url":"https://api.github.com/users/AVVS/repos","events_url":"https://api.github.com/users/AVVS/events{/privacy}","received_events_url":"https://api.github.com/users/AVVS/received_events","type":"User","site_admin":false},"body":"creating functions in a loop is also slow, and then binding them is even worse","created_at":"2016-05-10T18:59:23Z","updated_at":"2016-05-10T18:59:23Z","html_url":"https://github.com/makeomatic/redux-connect/pull/6#discussion_r62731494","pull_request_url":"https://api.github.com/repos/makeomatic/redux-connect/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/makeomatic/redux-connect/pulls/comments/62731494"},"html":{"href":"https://github.com/makeomatic/redux-connect/pull/6#discussion_r62731494"},"pull_request":{"href":"https://api.github.com/repos/makeomatic/redux-connect/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/makeomatic/redux-connect/pulls/6","id":69556634,"html_url":"https://github.com/makeomatic/redux-connect/pull/6","diff_url":"https://github.com/makeomatic/redux-connect/pull/6.diff","patch_url":"https://github.com/makeomatic/redux-connect/pull/6.patch","issue_url":"https://api.github.com/repos/makeomatic/redux-connect/issues/6","number":6,"state":"open","locked":false,"title":"Remove bluebird dependency","user":{"login":"ruiaraujo","id":303833,"avatar_url":"https://avatars.githubusercontent.com/u/303833?v=3","gravatar_id":"","url":"https://api.github.com/users/ruiaraujo","html_url":"https://github.com/ruiaraujo","followers_url":"https://api.github.com/users/ruiaraujo/followers","following_url":"https://api.github.com/users/ruiaraujo/following{/other_user}","gists_url":"https://api.github.com/users/ruiaraujo/gists{/gist_id}","starred_url":"https://api.github.com/users/ruiaraujo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ruiaraujo/subscriptions","organizations_url":"https://api.github.com/users/ruiaraujo/orgs","repos_url":"https://api.github.com/users/ruiaraujo/repos","events_url":"https://api.github.com/users/ruiaraujo/events{/privacy}","received_events_url":"https://api.github.com/users/ruiaraujo/received_events","type":"User","site_admin":false},"body":"I think this version is equivalent to the Bluebird implementation.\r\nCloses #5 ","created_at":"2016-05-10T18:42:30Z","updated_at":"2016-05-10T18:59:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"474a909fa4f355facb634bd7090e83726d296799","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/makeomatic/redux-connect/pulls/6/commits","review_comments_url":"https://api.github.com/repos/makeomatic/redux-connect/pulls/6/comments","review_comment_url":"https://api.github.com/repos/makeomatic/redux-connect/pulls/comments{/number}","comments_url":"https://api.github.com/repos/makeomatic/redux-connect/issues/6/comments","statuses_url":"https://api.github.com/repos/makeomatic/redux-connect/statuses/fa3f9105e4ff552337bd0fed2a082e8ea0b8e7f2","head":{"label":"ruiaraujo:no_bluebird","ref":"no_bluebird","sha":"fa3f9105e4ff552337bd0fed2a082e8ea0b8e7f2","user":{"login":"ruiaraujo","id":303833,"avatar_url":"https://avatars.githubusercontent.com/u/303833?v=3","gravatar_id":"","url":"https://api.github.com/users/ruiaraujo","html_url":"https://github.com/ruiaraujo","followers_url":"https://api.github.com/users/ruiaraujo/followers","following_url":"https://api.github.com/users/ruiaraujo/following{/other_user}","gists_url":"https://api.github.com/users/ruiaraujo/gists{/gist_id}","starred_url":"https://api.github.com/users/ruiaraujo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ruiaraujo/subscriptions","organizations_url":"https://api.github.com/users/ruiaraujo/orgs","repos_url":"https://api.github.com/users/ruiaraujo/repos","events_url":"https://api.github.com/users/ruiaraujo/events{/privacy}","received_events_url":"https://api.github.com/users/ruiaraujo/received_events","type":"User","site_admin":false},"repo":{"id":58479314,"name":"redux-connect","full_name":"ruiaraujo/redux-connect","owner":{"login":"ruiaraujo","id":303833,"avatar_url":"https://avatars.githubusercontent.com/u/303833?v=3","gravatar_id":"","url":"https://api.github.com/users/ruiaraujo","html_url":"https://github.com/ruiaraujo","followers_url":"https://api.github.com/users/ruiaraujo/followers","following_url":"https://api.github.com/users/ruiaraujo/following{/other_user}","gists_url":"https://api.github.com/users/ruiaraujo/gists{/gist_id}","starred_url":"https://api.github.com/users/ruiaraujo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ruiaraujo/subscriptions","organizations_url":"https://api.github.com/users/ruiaraujo/orgs","repos_url":"https://api.github.com/users/ruiaraujo/repos","events_url":"https://api.github.com/users/ruiaraujo/events{/privacy}","received_events_url":"https://api.github.com/users/ruiaraujo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ruiaraujo/redux-connect","description":"","fork":true,"url":"https://api.github.com/repos/ruiaraujo/redux-connect","forks_url":"https://api.github.com/repos/ruiaraujo/redux-connect/forks","keys_url":"https://api.github.com/repos/ruiaraujo/redux-connect/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ruiaraujo/redux-connect/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ruiaraujo/redux-connect/teams","hooks_url":"https://api.github.com/repos/ruiaraujo/redux-connect/hooks","issue_events_url":"https://api.github.com/repos/ruiaraujo/redux-connect/issues/events{/number}","events_url":"https://api.github.com/repos/ruiaraujo/redux-connect/events","assignees_url":"https://api.github.com/repos/ruiaraujo/redux-connect/assignees{/user}","branches_url":"https://api.github.com/repos/ruiaraujo/redux-connect/branches{/branch}","tags_url":"https://api.github.com/repos/ruiaraujo/redux-connect/tags","blobs_url":"https://api.github.com/repos/ruiaraujo/redux-connect/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ruiaraujo/redux-connect/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ruiaraujo/redux-connect/git/refs{/sha}","trees_url":"https://api.github.com/repos/ruiaraujo/redux-connect/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ruiaraujo/redux-connect/statuses/{sha}","languages_url":"https://api.github.com/repos/ruiaraujo/redux-connect/languages","stargazers_url":"https://api.github.com/repos/ruiaraujo/redux-connect/stargazers","contributors_url":"https://api.github.com/repos/ruiaraujo/redux-connect/contributors","subscribers_url":"https://api.github.com/repos/ruiaraujo/redux-connect/subscribers","subscription_url":"https://api.github.com/repos/ruiaraujo/redux-connect/subscription","commits_url":"https://api.github.com/repos/ruiaraujo/redux-connect/commits{/sha}","git_commits_url":"https://api.github.com/repos/ruiaraujo/redux-connect/git/commits{/sha}","comments_url":"https://api.github.com/repos/ruiaraujo/redux-connect/comments{/number}","issue_comment_url":"https://api.github.com/repos/ruiaraujo/redux-connect/issues/comments{/number}","contents_url":"https://api.github.com/repos/ruiaraujo/redux-connect/contents/{+path}","compare_url":"https://api.github.com/repos/ruiaraujo/redux-connect/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ruiaraujo/redux-connect/merges","archive_url":"https://api.github.com/repos/ruiaraujo/redux-connect/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ruiaraujo/redux-connect/downloads","issues_url":"https://api.github.com/repos/ruiaraujo/redux-connect/issues{/number}","pulls_url":"https://api.github.com/repos/ruiaraujo/redux-connect/pulls{/number}","milestones_url":"https://api.github.com/repos/ruiaraujo/redux-connect/milestones{/number}","notifications_url":"https://api.github.com/repos/ruiaraujo/redux-connect/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ruiaraujo/redux-connect/labels{/name}","releases_url":"https://api.github.com/repos/ruiaraujo/redux-connect/releases{/id}","deployments_url":"https://api.github.com/repos/ruiaraujo/redux-connect/deployments","created_at":"2016-05-10T17:06:26Z","updated_at":"2016-05-10T17:06:26Z","pushed_at":"2016-05-10T17:56:39Z","git_url":"git://github.com/ruiaraujo/redux-connect.git","ssh_url":"git@github.com:ruiaraujo/redux-connect.git","clone_url":"https://github.com/ruiaraujo/redux-connect.git","svn_url":"https://github.com/ruiaraujo/redux-connect","homepage":null,"size":53,"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":"makeomatic:master","ref":"master","sha":"a40386f83473918b35daba50b1b497ca5e6e5b40","user":{"login":"makeomatic","id":15013628,"avatar_url":"https://avatars.githubusercontent.com/u/15013628?v=3","gravatar_id":"","url":"https://api.github.com/users/makeomatic","html_url":"https://github.com/makeomatic","followers_url":"https://api.github.com/users/makeomatic/followers","following_url":"https://api.github.com/users/makeomatic/following{/other_user}","gists_url":"https://api.github.com/users/makeomatic/gists{/gist_id}","starred_url":"https://api.github.com/users/makeomatic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/makeomatic/subscriptions","organizations_url":"https://api.github.com/users/makeomatic/orgs","repos_url":"https://api.github.com/users/makeomatic/repos","events_url":"https://api.github.com/users/makeomatic/events{/privacy}","received_events_url":"https://api.github.com/users/makeomatic/received_events","type":"Organization","site_admin":false},"repo":{"id":58172347,"name":"redux-connect","full_name":"makeomatic/redux-connect","owner":{"login":"makeomatic","id":15013628,"avatar_url":"https://avatars.githubusercontent.com/u/15013628?v=3","gravatar_id":"","url":"https://api.github.com/users/makeomatic","html_url":"https://github.com/makeomatic","followers_url":"https://api.github.com/users/makeomatic/followers","following_url":"https://api.github.com/users/makeomatic/following{/other_user}","gists_url":"https://api.github.com/users/makeomatic/gists{/gist_id}","starred_url":"https://api.github.com/users/makeomatic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/makeomatic/subscriptions","organizations_url":"https://api.github.com/users/makeomatic/orgs","repos_url":"https://api.github.com/users/makeomatic/repos","events_url":"https://api.github.com/users/makeomatic/events{/privacy}","received_events_url":"https://api.github.com/users/makeomatic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/makeomatic/redux-connect","description":"","fork":false,"url":"https://api.github.com/repos/makeomatic/redux-connect","forks_url":"https://api.github.com/repos/makeomatic/redux-connect/forks","keys_url":"https://api.github.com/repos/makeomatic/redux-connect/keys{/key_id}","collaborators_url":"https://api.github.com/repos/makeomatic/redux-connect/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/makeomatic/redux-connect/teams","hooks_url":"https://api.github.com/repos/makeomatic/redux-connect/hooks","issue_events_url":"https://api.github.com/repos/makeomatic/redux-connect/issues/events{/number}","events_url":"https://api.github.com/repos/makeomatic/redux-connect/events","assignees_url":"https://api.github.com/repos/makeomatic/redux-connect/assignees{/user}","branches_url":"https://api.github.com/repos/makeomatic/redux-connect/branches{/branch}","tags_url":"https://api.github.com/repos/makeomatic/redux-connect/tags","blobs_url":"https://api.github.com/repos/makeomatic/redux-connect/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/makeomatic/redux-connect/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/makeomatic/redux-connect/git/refs{/sha}","trees_url":"https://api.github.com/repos/makeomatic/redux-connect/git/trees{/sha}","statuses_url":"https://api.github.com/repos/makeomatic/redux-connect/statuses/{sha}","languages_url":"https://api.github.com/repos/makeomatic/redux-connect/languages","stargazers_url":"https://api.github.com/repos/makeomatic/redux-connect/stargazers","contributors_url":"https://api.github.com/repos/makeomatic/redux-connect/contributors","subscribers_url":"https://api.github.com/repos/makeomatic/redux-connect/subscribers","subscription_url":"https://api.github.com/repos/makeomatic/redux-connect/subscription","commits_url":"https://api.github.com/repos/makeomatic/redux-connect/commits{/sha}","git_commits_url":"https://api.github.com/repos/makeomatic/redux-connect/git/commits{/sha}","comments_url":"https://api.github.com/repos/makeomatic/redux-connect/comments{/number}","issue_comment_url":"https://api.github.com/repos/makeomatic/redux-connect/issues/comments{/number}","contents_url":"https://api.github.com/repos/makeomatic/redux-connect/contents/{+path}","compare_url":"https://api.github.com/repos/makeomatic/redux-connect/compare/{base}...{head}","merges_url":"https://api.github.com/repos/makeomatic/redux-connect/merges","archive_url":"https://api.github.com/repos/makeomatic/redux-connect/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/makeomatic/redux-connect/downloads","issues_url":"https://api.github.com/repos/makeomatic/redux-connect/issues{/number}","pulls_url":"https://api.github.com/repos/makeomatic/redux-connect/pulls{/number}","milestones_url":"https://api.github.com/repos/makeomatic/redux-connect/milestones{/number}","notifications_url":"https://api.github.com/repos/makeomatic/redux-connect/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/makeomatic/redux-connect/labels{/name}","releases_url":"https://api.github.com/repos/makeomatic/redux-connect/releases{/id}","deployments_url":"https://api.github.com/repos/makeomatic/redux-connect/deployments","created_at":"2016-05-06T01:46:10Z","updated_at":"2016-05-10T07:16:13Z","pushed_at":"2016-05-10T18:42:30Z","git_url":"git://github.com/makeomatic/redux-connect.git","ssh_url":"git@github.com:makeomatic/redux-connect.git","clone_url":"https://github.com/makeomatic/redux-connect.git","svn_url":"https://github.com/makeomatic/redux-connect","homepage":null,"size":52,"stargazers_count":16,"watchers_count":16,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":4,"forks":1,"open_issues":4,"watchers":16,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/makeomatic/redux-connect/pulls/6"},"html":{"href":"https://github.com/makeomatic/redux-connect/pull/6"},"issue":{"href":"https://api.github.com/repos/makeomatic/redux-connect/issues/6"},"comments":{"href":"https://api.github.com/repos/makeomatic/redux-connect/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/makeomatic/redux-connect/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/makeomatic/redux-connect/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/makeomatic/redux-connect/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/makeomatic/redux-connect/statuses/fa3f9105e4ff552337bd0fed2a082e8ea0b8e7f2"}}}}