{"action":"created","comment":{"url":"https://api.github.com/repos/soyuka/fclone/pulls/comments/80302780","id":80302780,"diff_hunk":"@@ -20,7 +20,7 @@ function fclone(obj, refs) {\n   }\n \n   // typed array Int32Array etc.\n-  if (/\\d[a-z]*Array]$/i.test(Object.prototype.toString.call(obj))) {\n+  if (obj.subarray  && typeof obj.subarray === 'function' && /^[A-Z][A-Za-z\\d]+Array$/.test(Object.prototype.toString.call(obj))) {","path":"src/fclone.js","position":null,"original_position":5,"commit_id":"734da0bd5f86e5615d51fd23da6d8d3c5af21452","original_commit_id":"c348630d896e706f643d5e4964cc213febc12fc4","user":{"login":"tracker1","id":444316,"avatar_url":"https://avatars.githubusercontent.com/u/444316?v=3","gravatar_id":"","url":"https://api.github.com/users/tracker1","html_url":"https://github.com/tracker1","followers_url":"https://api.github.com/users/tracker1/followers","following_url":"https://api.github.com/users/tracker1/following{/other_user}","gists_url":"https://api.github.com/users/tracker1/gists{/gist_id}","starred_url":"https://api.github.com/users/tracker1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tracker1/subscriptions","organizations_url":"https://api.github.com/users/tracker1/orgs","repos_url":"https://api.github.com/users/tracker1/repos","events_url":"https://api.github.com/users/tracker1/events{/privacy}","received_events_url":"https://api.github.com/users/tracker1/received_events","type":"User","site_admin":false},"body":"Didn't mean to change the regexp, the subarray check was in order to verify the method before trying to call it, also, likely faster invalidation than the regex check.","created_at":"2016-09-23T18:40:49Z","updated_at":"2016-09-23T18:40:49Z","html_url":"https://github.com/soyuka/fclone/pull/7#discussion_r80302780","pull_request_url":"https://api.github.com/repos/soyuka/fclone/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/soyuka/fclone/pulls/comments/80302780"},"html":{"href":"https://github.com/soyuka/fclone/pull/7#discussion_r80302780"},"pull_request":{"href":"https://api.github.com/repos/soyuka/fclone/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/soyuka/fclone/pulls/7","id":85465931,"html_url":"https://github.com/soyuka/fclone/pull/7","diff_url":"https://github.com/soyuka/fclone/pull/7.diff","patch_url":"https://github.com/soyuka/fclone/pull/7.patch","issue_url":"https://api.github.com/repos/soyuka/fclone/issues/7","number":7,"state":"open","locked":false,"title":"Update fclone.js","user":{"login":"tracker1","id":444316,"avatar_url":"https://avatars.githubusercontent.com/u/444316?v=3","gravatar_id":"","url":"https://api.github.com/users/tracker1","html_url":"https://github.com/tracker1","followers_url":"https://api.github.com/users/tracker1/followers","following_url":"https://api.github.com/users/tracker1/following{/other_user}","gists_url":"https://api.github.com/users/tracker1/gists{/gist_id}","starred_url":"https://api.github.com/users/tracker1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tracker1/subscriptions","organizations_url":"https://api.github.com/users/tracker1/orgs","repos_url":"https://api.github.com/users/tracker1/repos","events_url":"https://api.github.com/users/tracker1/events{/privacy}","received_events_url":"https://api.github.com/users/tracker1/received_events","type":"User","site_admin":false},"body":"fix typedarray detection and regex.","created_at":"2016-09-15T19:33:50Z","updated_at":"2016-09-23T18:40:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ee6a3dcfdc0a2f4ca0a60666d69d760c827edcd1","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/soyuka/fclone/pulls/7/commits","review_comments_url":"https://api.github.com/repos/soyuka/fclone/pulls/7/comments","review_comment_url":"https://api.github.com/repos/soyuka/fclone/pulls/comments{/number}","comments_url":"https://api.github.com/repos/soyuka/fclone/issues/7/comments","statuses_url":"https://api.github.com/repos/soyuka/fclone/statuses/734da0bd5f86e5615d51fd23da6d8d3c5af21452","head":{"label":"tracker1:patch-6","ref":"patch-6","sha":"734da0bd5f86e5615d51fd23da6d8d3c5af21452","user":{"login":"tracker1","id":444316,"avatar_url":"https://avatars.githubusercontent.com/u/444316?v=3","gravatar_id":"","url":"https://api.github.com/users/tracker1","html_url":"https://github.com/tracker1","followers_url":"https://api.github.com/users/tracker1/followers","following_url":"https://api.github.com/users/tracker1/following{/other_user}","gists_url":"https://api.github.com/users/tracker1/gists{/gist_id}","starred_url":"https://api.github.com/users/tracker1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tracker1/subscriptions","organizations_url":"https://api.github.com/users/tracker1/orgs","repos_url":"https://api.github.com/users/tracker1/repos","events_url":"https://api.github.com/users/tracker1/events{/privacy}","received_events_url":"https://api.github.com/users/tracker1/received_events","type":"User","site_admin":false},"repo":{"id":62420680,"name":"fclone","full_name":"tracker1/fclone","owner":{"login":"tracker1","id":444316,"avatar_url":"https://avatars.githubusercontent.com/u/444316?v=3","gravatar_id":"","url":"https://api.github.com/users/tracker1","html_url":"https://github.com/tracker1","followers_url":"https://api.github.com/users/tracker1/followers","following_url":"https://api.github.com/users/tracker1/following{/other_user}","gists_url":"https://api.github.com/users/tracker1/gists{/gist_id}","starred_url":"https://api.github.com/users/tracker1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tracker1/subscriptions","organizations_url":"https://api.github.com/users/tracker1/orgs","repos_url":"https://api.github.com/users/tracker1/repos","events_url":"https://api.github.com/users/tracker1/events{/privacy}","received_events_url":"https://api.github.com/users/tracker1/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tracker1/fclone","description":"Clone objects recursively by dropping circular references","fork":true,"url":"https://api.github.com/repos/tracker1/fclone","forks_url":"https://api.github.com/repos/tracker1/fclone/forks","keys_url":"https://api.github.com/repos/tracker1/fclone/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tracker1/fclone/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tracker1/fclone/teams","hooks_url":"https://api.github.com/repos/tracker1/fclone/hooks","issue_events_url":"https://api.github.com/repos/tracker1/fclone/issues/events{/number}","events_url":"https://api.github.com/repos/tracker1/fclone/events","assignees_url":"https://api.github.com/repos/tracker1/fclone/assignees{/user}","branches_url":"https://api.github.com/repos/tracker1/fclone/branches{/branch}","tags_url":"https://api.github.com/repos/tracker1/fclone/tags","blobs_url":"https://api.github.com/repos/tracker1/fclone/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tracker1/fclone/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tracker1/fclone/git/refs{/sha}","trees_url":"https://api.github.com/repos/tracker1/fclone/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tracker1/fclone/statuses/{sha}","languages_url":"https://api.github.com/repos/tracker1/fclone/languages","stargazers_url":"https://api.github.com/repos/tracker1/fclone/stargazers","contributors_url":"https://api.github.com/repos/tracker1/fclone/contributors","subscribers_url":"https://api.github.com/repos/tracker1/fclone/subscribers","subscription_url":"https://api.github.com/repos/tracker1/fclone/subscription","commits_url":"https://api.github.com/repos/tracker1/fclone/commits{/sha}","git_commits_url":"https://api.github.com/repos/tracker1/fclone/git/commits{/sha}","comments_url":"https://api.github.com/repos/tracker1/fclone/comments{/number}","issue_comment_url":"https://api.github.com/repos/tracker1/fclone/issues/comments{/number}","contents_url":"https://api.github.com/repos/tracker1/fclone/contents/{+path}","compare_url":"https://api.github.com/repos/tracker1/fclone/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tracker1/fclone/merges","archive_url":"https://api.github.com/repos/tracker1/fclone/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tracker1/fclone/downloads","issues_url":"https://api.github.com/repos/tracker1/fclone/issues{/number}","pulls_url":"https://api.github.com/repos/tracker1/fclone/pulls{/number}","milestones_url":"https://api.github.com/repos/tracker1/fclone/milestones{/number}","notifications_url":"https://api.github.com/repos/tracker1/fclone/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tracker1/fclone/labels{/name}","releases_url":"https://api.github.com/repos/tracker1/fclone/releases{/id}","deployments_url":"https://api.github.com/repos/tracker1/fclone/deployments","created_at":"2016-07-01T21:29:03Z","updated_at":"2016-07-01T21:29:04Z","pushed_at":"2016-09-23T18:39:54Z","git_url":"git://github.com/tracker1/fclone.git","ssh_url":"git@github.com:tracker1/fclone.git","clone_url":"https://github.com/tracker1/fclone.git","svn_url":"https://github.com/tracker1/fclone","homepage":null,"size":28,"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":"soyuka:master","ref":"master","sha":"58a56a431bf998c65724efdfe1adf5a667bc4819","user":{"login":"soyuka","id":1321971,"avatar_url":"https://avatars.githubusercontent.com/u/1321971?v=3","gravatar_id":"","url":"https://api.github.com/users/soyuka","html_url":"https://github.com/soyuka","followers_url":"https://api.github.com/users/soyuka/followers","following_url":"https://api.github.com/users/soyuka/following{/other_user}","gists_url":"https://api.github.com/users/soyuka/gists{/gist_id}","starred_url":"https://api.github.com/users/soyuka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soyuka/subscriptions","organizations_url":"https://api.github.com/users/soyuka/orgs","repos_url":"https://api.github.com/users/soyuka/repos","events_url":"https://api.github.com/users/soyuka/events{/privacy}","received_events_url":"https://api.github.com/users/soyuka/received_events","type":"User","site_admin":false},"repo":{"id":62383036,"name":"fclone","full_name":"soyuka/fclone","owner":{"login":"soyuka","id":1321971,"avatar_url":"https://avatars.githubusercontent.com/u/1321971?v=3","gravatar_id":"","url":"https://api.github.com/users/soyuka","html_url":"https://github.com/soyuka","followers_url":"https://api.github.com/users/soyuka/followers","following_url":"https://api.github.com/users/soyuka/following{/other_user}","gists_url":"https://api.github.com/users/soyuka/gists{/gist_id}","starred_url":"https://api.github.com/users/soyuka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soyuka/subscriptions","organizations_url":"https://api.github.com/users/soyuka/orgs","repos_url":"https://api.github.com/users/soyuka/repos","events_url":"https://api.github.com/users/soyuka/events{/privacy}","received_events_url":"https://api.github.com/users/soyuka/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/soyuka/fclone","description":"Clone objects by dropping circular references","fork":false,"url":"https://api.github.com/repos/soyuka/fclone","forks_url":"https://api.github.com/repos/soyuka/fclone/forks","keys_url":"https://api.github.com/repos/soyuka/fclone/keys{/key_id}","collaborators_url":"https://api.github.com/repos/soyuka/fclone/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/soyuka/fclone/teams","hooks_url":"https://api.github.com/repos/soyuka/fclone/hooks","issue_events_url":"https://api.github.com/repos/soyuka/fclone/issues/events{/number}","events_url":"https://api.github.com/repos/soyuka/fclone/events","assignees_url":"https://api.github.com/repos/soyuka/fclone/assignees{/user}","branches_url":"https://api.github.com/repos/soyuka/fclone/branches{/branch}","tags_url":"https://api.github.com/repos/soyuka/fclone/tags","blobs_url":"https://api.github.com/repos/soyuka/fclone/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/soyuka/fclone/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/soyuka/fclone/git/refs{/sha}","trees_url":"https://api.github.com/repos/soyuka/fclone/git/trees{/sha}","statuses_url":"https://api.github.com/repos/soyuka/fclone/statuses/{sha}","languages_url":"https://api.github.com/repos/soyuka/fclone/languages","stargazers_url":"https://api.github.com/repos/soyuka/fclone/stargazers","contributors_url":"https://api.github.com/repos/soyuka/fclone/contributors","subscribers_url":"https://api.github.com/repos/soyuka/fclone/subscribers","subscription_url":"https://api.github.com/repos/soyuka/fclone/subscription","commits_url":"https://api.github.com/repos/soyuka/fclone/commits{/sha}","git_commits_url":"https://api.github.com/repos/soyuka/fclone/git/commits{/sha}","comments_url":"https://api.github.com/repos/soyuka/fclone/comments{/number}","issue_comment_url":"https://api.github.com/repos/soyuka/fclone/issues/comments{/number}","contents_url":"https://api.github.com/repos/soyuka/fclone/contents/{+path}","compare_url":"https://api.github.com/repos/soyuka/fclone/compare/{base}...{head}","merges_url":"https://api.github.com/repos/soyuka/fclone/merges","archive_url":"https://api.github.com/repos/soyuka/fclone/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/soyuka/fclone/downloads","issues_url":"https://api.github.com/repos/soyuka/fclone/issues{/number}","pulls_url":"https://api.github.com/repos/soyuka/fclone/pulls{/number}","milestones_url":"https://api.github.com/repos/soyuka/fclone/milestones{/number}","notifications_url":"https://api.github.com/repos/soyuka/fclone/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/soyuka/fclone/labels{/name}","releases_url":"https://api.github.com/repos/soyuka/fclone/releases{/id}","deployments_url":"https://api.github.com/repos/soyuka/fclone/deployments","created_at":"2016-07-01T09:48:48Z","updated_at":"2016-08-17T17:33:27Z","pushed_at":"2016-09-23T18:39:54Z","git_url":"git://github.com/soyuka/fclone.git","ssh_url":"git@github.com:soyuka/fclone.git","clone_url":"https://github.com/soyuka/fclone.git","svn_url":"https://github.com/soyuka/fclone","homepage":"","size":31,"stargazers_count":26,"watchers_count":26,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":1,"forks":4,"open_issues":1,"watchers":26,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/soyuka/fclone/pulls/7"},"html":{"href":"https://github.com/soyuka/fclone/pull/7"},"issue":{"href":"https://api.github.com/repos/soyuka/fclone/issues/7"},"comments":{"href":"https://api.github.com/repos/soyuka/fclone/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/soyuka/fclone/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/soyuka/fclone/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/soyuka/fclone/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/soyuka/fclone/statuses/734da0bd5f86e5615d51fd23da6d8d3c5af21452"}}}}
{"actor":{"display_login":"tracker1"}}