{"action":"closed","number":69,"pull_request":{"url":"https://api.github.com/repos/clauderic/react-sortable-hoc/pulls/69","id":89275703,"html_url":"https://github.com/clauderic/react-sortable-hoc/pull/69","diff_url":"https://github.com/clauderic/react-sortable-hoc/pull/69.diff","patch_url":"https://github.com/clauderic/react-sortable-hoc/pull/69.patch","issue_url":"https://api.github.com/repos/clauderic/react-sortable-hoc/issues/69","number":69,"state":"closed","locked":false,"title":"Update arrayMove util.","user":{"login":"canvaskisa","id":5288079,"avatar_url":"https://avatars.githubusercontent.com/u/5288079?v=3","gravatar_id":"","url":"https://api.github.com/users/canvaskisa","html_url":"https://github.com/canvaskisa","followers_url":"https://api.github.com/users/canvaskisa/followers","following_url":"https://api.github.com/users/canvaskisa/following{/other_user}","gists_url":"https://api.github.com/users/canvaskisa/gists{/gist_id}","starred_url":"https://api.github.com/users/canvaskisa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/canvaskisa/subscriptions","organizations_url":"https://api.github.com/users/canvaskisa/orgs","repos_url":"https://api.github.com/users/canvaskisa/repos","events_url":"https://api.github.com/users/canvaskisa/events{/privacy}","received_events_url":"https://api.github.com/users/canvaskisa/received_events","type":"User","site_admin":false},"body":"Update arrayMove util to return the copy of array, instead of mutating the passed one.\r\n\r\nI suppose, it is a bad practice to mutate an existing array with this util, it can cause some unpredictable side-effects. It works fine for local react component state, but can cause errors, when using it outside of the local state (flux stores or redux store, for example) by mutating the passed array.","created_at":"2016-10-13T20:25:47Z","updated_at":"2016-10-14T02:09:27Z","closed_at":"2016-10-14T02:09:27Z","merged_at":"2016-10-14T02:09:27Z","merge_commit_sha":"a3bbdb668913983c9670fc8040c404a91f743f1c","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/clauderic/react-sortable-hoc/pulls/69/commits","review_comments_url":"https://api.github.com/repos/clauderic/react-sortable-hoc/pulls/69/comments","review_comment_url":"https://api.github.com/repos/clauderic/react-sortable-hoc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/clauderic/react-sortable-hoc/issues/69/comments","statuses_url":"https://api.github.com/repos/clauderic/react-sortable-hoc/statuses/d9475b8c534d2b5ffcfafcc9a3cc26c4d9568892","head":{"label":"canvaskisa:feature/immutable-arraymove","ref":"feature/immutable-arraymove","sha":"d9475b8c534d2b5ffcfafcc9a3cc26c4d9568892","user":{"login":"canvaskisa","id":5288079,"avatar_url":"https://avatars.githubusercontent.com/u/5288079?v=3","gravatar_id":"","url":"https://api.github.com/users/canvaskisa","html_url":"https://github.com/canvaskisa","followers_url":"https://api.github.com/users/canvaskisa/followers","following_url":"https://api.github.com/users/canvaskisa/following{/other_user}","gists_url":"https://api.github.com/users/canvaskisa/gists{/gist_id}","starred_url":"https://api.github.com/users/canvaskisa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/canvaskisa/subscriptions","organizations_url":"https://api.github.com/users/canvaskisa/orgs","repos_url":"https://api.github.com/users/canvaskisa/repos","events_url":"https://api.github.com/users/canvaskisa/events{/privacy}","received_events_url":"https://api.github.com/users/canvaskisa/received_events","type":"User","site_admin":false},"repo":{"id":70844855,"name":"react-sortable-hoc","full_name":"canvaskisa/react-sortable-hoc","owner":{"login":"canvaskisa","id":5288079,"avatar_url":"https://avatars.githubusercontent.com/u/5288079?v=3","gravatar_id":"","url":"https://api.github.com/users/canvaskisa","html_url":"https://github.com/canvaskisa","followers_url":"https://api.github.com/users/canvaskisa/followers","following_url":"https://api.github.com/users/canvaskisa/following{/other_user}","gists_url":"https://api.github.com/users/canvaskisa/gists{/gist_id}","starred_url":"https://api.github.com/users/canvaskisa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/canvaskisa/subscriptions","organizations_url":"https://api.github.com/users/canvaskisa/orgs","repos_url":"https://api.github.com/users/canvaskisa/repos","events_url":"https://api.github.com/users/canvaskisa/events{/privacy}","received_events_url":"https://api.github.com/users/canvaskisa/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/canvaskisa/react-sortable-hoc","description":"✌️ A set of higher-order components to turn any list into an animated, touch-friendly, sortable list.","fork":true,"url":"https://api.github.com/repos/canvaskisa/react-sortable-hoc","forks_url":"https://api.github.com/repos/canvaskisa/react-sortable-hoc/forks","keys_url":"https://api.github.com/repos/canvaskisa/react-sortable-hoc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/canvaskisa/react-sortable-hoc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/canvaskisa/react-sortable-hoc/teams","hooks_url":"https://api.github.com/repos/canvaskisa/react-sortable-hoc/hooks","issue_events_url":"https://api.github.com/repos/canvaskisa/react-sortable-hoc/issues/events{/number}","events_url":"https://api.github.com/repos/canvaskisa/react-sortable-hoc/events","assignees_url":"https://api.github.com/repos/canvaskisa/react-sortable-hoc/assignees{/user}","branches_url":"https://api.github.com/repos/canvaskisa/react-sortable-hoc/branches{/branch}","tags_url":"https://api.github.com/repos/canvaskisa/react-sortable-hoc/tags","blobs_url":"https://api.github.com/repos/canvaskisa/react-sortable-hoc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/canvaskisa/react-sortable-hoc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/canvaskisa/react-sortable-hoc/git/refs{/sha}","trees_url":"https://api.github.com/repos/canvaskisa/react-sortable-hoc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/canvaskisa/react-sortable-hoc/statuses/{sha}","languages_url":"https://api.github.com/repos/canvaskisa/react-sortable-hoc/languages","stargazers_url":"https://api.github.com/repos/canvaskisa/react-sortable-hoc/stargazers","contributors_url":"https://api.github.com/repos/canvaskisa/react-sortable-hoc/contributors","subscribers_url":"https://api.github.com/repos/canvaskisa/react-sortable-hoc/subscribers","subscription_url":"https://api.github.com/repos/canvaskisa/react-sortable-hoc/subscription","commits_url":"https://api.github.com/repos/canvaskisa/react-sortable-hoc/commits{/sha}","git_commits_url":"https://api.github.com/repos/canvaskisa/react-sortable-hoc/git/commits{/sha}","comments_url":"https://api.github.com/repos/canvaskisa/react-sortable-hoc/comments{/number}","issue_comment_url":"https://api.github.com/repos/canvaskisa/react-sortable-hoc/issues/comments{/number}","contents_url":"https://api.github.com/repos/canvaskisa/react-sortable-hoc/contents/{+path}","compare_url":"https://api.github.com/repos/canvaskisa/react-sortable-hoc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/canvaskisa/react-sortable-hoc/merges","archive_url":"https://api.github.com/repos/canvaskisa/react-sortable-hoc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/canvaskisa/react-sortable-hoc/downloads","issues_url":"https://api.github.com/repos/canvaskisa/react-sortable-hoc/issues{/number}","pulls_url":"https://api.github.com/repos/canvaskisa/react-sortable-hoc/pulls{/number}","milestones_url":"https://api.github.com/repos/canvaskisa/react-sortable-hoc/milestones{/number}","notifications_url":"https://api.github.com/repos/canvaskisa/react-sortable-hoc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/canvaskisa/react-sortable-hoc/labels{/name}","releases_url":"https://api.github.com/repos/canvaskisa/react-sortable-hoc/releases{/id}","deployments_url":"https://api.github.com/repos/canvaskisa/react-sortable-hoc/deployments","created_at":"2016-10-13T20:20:20Z","updated_at":"2016-10-13T20:20:22Z","pushed_at":"2016-10-13T20:21:08Z","git_url":"git://github.com/canvaskisa/react-sortable-hoc.git","ssh_url":"git@github.com:canvaskisa/react-sortable-hoc.git","clone_url":"https://github.com/canvaskisa/react-sortable-hoc.git","svn_url":"https://github.com/canvaskisa/react-sortable-hoc","homepage":"http://clauderic.github.io/react-sortable-hoc/","size":381,"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":"clauderic:master","ref":"master","sha":"d3de3ba3406321082f17f9948d38032816724feb","user":{"login":"clauderic","id":1416436,"avatar_url":"https://avatars.githubusercontent.com/u/1416436?v=3","gravatar_id":"","url":"https://api.github.com/users/clauderic","html_url":"https://github.com/clauderic","followers_url":"https://api.github.com/users/clauderic/followers","following_url":"https://api.github.com/users/clauderic/following{/other_user}","gists_url":"https://api.github.com/users/clauderic/gists{/gist_id}","starred_url":"https://api.github.com/users/clauderic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clauderic/subscriptions","organizations_url":"https://api.github.com/users/clauderic/orgs","repos_url":"https://api.github.com/users/clauderic/repos","events_url":"https://api.github.com/users/clauderic/events{/privacy}","received_events_url":"https://api.github.com/users/clauderic/received_events","type":"User","site_admin":false},"repo":{"id":60664534,"name":"react-sortable-hoc","full_name":"clauderic/react-sortable-hoc","owner":{"login":"clauderic","id":1416436,"avatar_url":"https://avatars.githubusercontent.com/u/1416436?v=3","gravatar_id":"","url":"https://api.github.com/users/clauderic","html_url":"https://github.com/clauderic","followers_url":"https://api.github.com/users/clauderic/followers","following_url":"https://api.github.com/users/clauderic/following{/other_user}","gists_url":"https://api.github.com/users/clauderic/gists{/gist_id}","starred_url":"https://api.github.com/users/clauderic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clauderic/subscriptions","organizations_url":"https://api.github.com/users/clauderic/orgs","repos_url":"https://api.github.com/users/clauderic/repos","events_url":"https://api.github.com/users/clauderic/events{/privacy}","received_events_url":"https://api.github.com/users/clauderic/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/clauderic/react-sortable-hoc","description":"✌️ A set of higher-order components to turn any list into an animated, touch-friendly, sortable list.","fork":false,"url":"https://api.github.com/repos/clauderic/react-sortable-hoc","forks_url":"https://api.github.com/repos/clauderic/react-sortable-hoc/forks","keys_url":"https://api.github.com/repos/clauderic/react-sortable-hoc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/clauderic/react-sortable-hoc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/clauderic/react-sortable-hoc/teams","hooks_url":"https://api.github.com/repos/clauderic/react-sortable-hoc/hooks","issue_events_url":"https://api.github.com/repos/clauderic/react-sortable-hoc/issues/events{/number}","events_url":"https://api.github.com/repos/clauderic/react-sortable-hoc/events","assignees_url":"https://api.github.com/repos/clauderic/react-sortable-hoc/assignees{/user}","branches_url":"https://api.github.com/repos/clauderic/react-sortable-hoc/branches{/branch}","tags_url":"https://api.github.com/repos/clauderic/react-sortable-hoc/tags","blobs_url":"https://api.github.com/repos/clauderic/react-sortable-hoc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/clauderic/react-sortable-hoc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/clauderic/react-sortable-hoc/git/refs{/sha}","trees_url":"https://api.github.com/repos/clauderic/react-sortable-hoc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/clauderic/react-sortable-hoc/statuses/{sha}","languages_url":"https://api.github.com/repos/clauderic/react-sortable-hoc/languages","stargazers_url":"https://api.github.com/repos/clauderic/react-sortable-hoc/stargazers","contributors_url":"https://api.github.com/repos/clauderic/react-sortable-hoc/contributors","subscribers_url":"https://api.github.com/repos/clauderic/react-sortable-hoc/subscribers","subscription_url":"https://api.github.com/repos/clauderic/react-sortable-hoc/subscription","commits_url":"https://api.github.com/repos/clauderic/react-sortable-hoc/commits{/sha}","git_commits_url":"https://api.github.com/repos/clauderic/react-sortable-hoc/git/commits{/sha}","comments_url":"https://api.github.com/repos/clauderic/react-sortable-hoc/comments{/number}","issue_comment_url":"https://api.github.com/repos/clauderic/react-sortable-hoc/issues/comments{/number}","contents_url":"https://api.github.com/repos/clauderic/react-sortable-hoc/contents/{+path}","compare_url":"https://api.github.com/repos/clauderic/react-sortable-hoc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/clauderic/react-sortable-hoc/merges","archive_url":"https://api.github.com/repos/clauderic/react-sortable-hoc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/clauderic/react-sortable-hoc/downloads","issues_url":"https://api.github.com/repos/clauderic/react-sortable-hoc/issues{/number}","pulls_url":"https://api.github.com/repos/clauderic/react-sortable-hoc/pulls{/number}","milestones_url":"https://api.github.com/repos/clauderic/react-sortable-hoc/milestones{/number}","notifications_url":"https://api.github.com/repos/clauderic/react-sortable-hoc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/clauderic/react-sortable-hoc/labels{/name}","releases_url":"https://api.github.com/repos/clauderic/react-sortable-hoc/releases{/id}","deployments_url":"https://api.github.com/repos/clauderic/react-sortable-hoc/deployments","created_at":"2016-06-08T03:11:35Z","updated_at":"2016-10-14T01:37:48Z","pushed_at":"2016-10-14T02:09:27Z","git_url":"git://github.com/clauderic/react-sortable-hoc.git","ssh_url":"git@github.com:clauderic/react-sortable-hoc.git","clone_url":"https://github.com/clauderic/react-sortable-hoc.git","svn_url":"https://github.com/clauderic/react-sortable-hoc","homepage":"http://clauderic.github.io/react-sortable-hoc/","size":388,"stargazers_count":877,"watchers_count":877,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":71,"mirror_url":null,"open_issues_count":15,"forks":71,"open_issues":15,"watchers":877,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/clauderic/react-sortable-hoc/pulls/69"},"html":{"href":"https://github.com/clauderic/react-sortable-hoc/pull/69"},"issue":{"href":"https://api.github.com/repos/clauderic/react-sortable-hoc/issues/69"},"comments":{"href":"https://api.github.com/repos/clauderic/react-sortable-hoc/issues/69/comments"},"review_comments":{"href":"https://api.github.com/repos/clauderic/react-sortable-hoc/pulls/69/comments"},"review_comment":{"href":"https://api.github.com/repos/clauderic/react-sortable-hoc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/clauderic/react-sortable-hoc/pulls/69/commits"},"statuses":{"href":"https://api.github.com/repos/clauderic/react-sortable-hoc/statuses/d9475b8c534d2b5ffcfafcc9a3cc26c4d9568892"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"clauderic","id":1416436,"avatar_url":"https://avatars.githubusercontent.com/u/1416436?v=3","gravatar_id":"","url":"https://api.github.com/users/clauderic","html_url":"https://github.com/clauderic","followers_url":"https://api.github.com/users/clauderic/followers","following_url":"https://api.github.com/users/clauderic/following{/other_user}","gists_url":"https://api.github.com/users/clauderic/gists{/gist_id}","starred_url":"https://api.github.com/users/clauderic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clauderic/subscriptions","organizations_url":"https://api.github.com/users/clauderic/orgs","repos_url":"https://api.github.com/users/clauderic/repos","events_url":"https://api.github.com/users/clauderic/events{/privacy}","received_events_url":"https://api.github.com/users/clauderic/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":2,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"clauderic"}}