{"action":"opened","number":761,"pull_request":{"url":"https://api.github.com/repos/OpenUserJs/OpenUserJS.org/pulls/761","id":46942147,"html_url":"https://github.com/OpenUserJs/OpenUserJS.org/pull/761","diff_url":"https://github.com/OpenUserJs/OpenUserJS.org/pull/761.diff","patch_url":"https://github.com/OpenUserJs/OpenUserJS.org/pull/761.patch","issue_url":"https://api.github.com/repos/OpenUserJs/OpenUserJS.org/issues/761","number":761,"state":"open","locked":false,"title":"Restore the \"chunked\" methodology in `getMeta`","user":{"login":"Martii","id":114709,"avatar_url":"https://avatars.githubusercontent.com/u/114709?v=3","gravatar_id":"","url":"https://api.github.com/users/Martii","html_url":"https://github.com/Martii","followers_url":"https://api.github.com/users/Martii/followers","following_url":"https://api.github.com/users/Martii/following{/other_user}","gists_url":"https://api.github.com/users/Martii/gists{/gist_id}","starred_url":"https://api.github.com/users/Martii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Martii/subscriptions","organizations_url":"https://api.github.com/users/Martii/orgs","repos_url":"https://api.github.com/users/Martii/repos","events_url":"https://api.github.com/users/Martii/events{/privacy}","received_events_url":"https://api.github.com/users/Martii/received_events","type":"User","site_admin":false},"body":"* Rename `aChunks` to `aBufs` to match *node* docs and indicate that is what we are expecting\r\n* `.concat` is vague on `totalLength` parameter but in tests with *node* it is `String` length e.g. `1` returns one character currently ... added Watchpoint here\r\n* Remove the debug messages for now\r\n* Tested on ~112.9KiB User Script... took ~10ms-11ms versus 7ms in debug mode on full Buffers conversion... slower **however** less memory intensive in some use cases especially with larger scripts\r\n\r\nApplies to #678\r\n\r\nRefs:\r\n* https://nodejs.org/api/buffer.html#buffer_class_method_buffer_concat_list_totallength","created_at":"2015-10-06T18:49:57Z","updated_at":"2015-10-06T18:49:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/OpenUserJs/OpenUserJS.org/pulls/761/commits","review_comments_url":"https://api.github.com/repos/OpenUserJs/OpenUserJS.org/pulls/761/comments","review_comment_url":"https://api.github.com/repos/OpenUserJs/OpenUserJS.org/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OpenUserJs/OpenUserJS.org/issues/761/comments","statuses_url":"https://api.github.com/repos/OpenUserJs/OpenUserJS.org/statuses/9a0946737836e27cc8581552f00ef0b690484094","head":{"label":"Martii:Issue-678restoreChunkedMethodology","ref":"Issue-678restoreChunkedMethodology","sha":"9a0946737836e27cc8581552f00ef0b690484094","user":{"login":"Martii","id":114709,"avatar_url":"https://avatars.githubusercontent.com/u/114709?v=3","gravatar_id":"","url":"https://api.github.com/users/Martii","html_url":"https://github.com/Martii","followers_url":"https://api.github.com/users/Martii/followers","following_url":"https://api.github.com/users/Martii/following{/other_user}","gists_url":"https://api.github.com/users/Martii/gists{/gist_id}","starred_url":"https://api.github.com/users/Martii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Martii/subscriptions","organizations_url":"https://api.github.com/users/Martii/orgs","repos_url":"https://api.github.com/users/Martii/repos","events_url":"https://api.github.com/users/Martii/events{/privacy}","received_events_url":"https://api.github.com/users/Martii/received_events","type":"User","site_admin":false},"repo":{"id":19547448,"name":"OpenUserJS.org","full_name":"Martii/OpenUserJS.org","owner":{"login":"Martii","id":114709,"avatar_url":"https://avatars.githubusercontent.com/u/114709?v=3","gravatar_id":"","url":"https://api.github.com/users/Martii","html_url":"https://github.com/Martii","followers_url":"https://api.github.com/users/Martii/followers","following_url":"https://api.github.com/users/Martii/following{/other_user}","gists_url":"https://api.github.com/users/Martii/gists{/gist_id}","starred_url":"https://api.github.com/users/Martii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Martii/subscriptions","organizations_url":"https://api.github.com/users/Martii/orgs","repos_url":"https://api.github.com/users/Martii/repos","events_url":"https://api.github.com/users/Martii/events{/privacy}","received_events_url":"https://api.github.com/users/Martii/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Martii/OpenUserJS.org","description":"An open source user scripts repo built using Node.js","fork":true,"url":"https://api.github.com/repos/Martii/OpenUserJS.org","forks_url":"https://api.github.com/repos/Martii/OpenUserJS.org/forks","keys_url":"https://api.github.com/repos/Martii/OpenUserJS.org/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Martii/OpenUserJS.org/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Martii/OpenUserJS.org/teams","hooks_url":"https://api.github.com/repos/Martii/OpenUserJS.org/hooks","issue_events_url":"https://api.github.com/repos/Martii/OpenUserJS.org/issues/events{/number}","events_url":"https://api.github.com/repos/Martii/OpenUserJS.org/events","assignees_url":"https://api.github.com/repos/Martii/OpenUserJS.org/assignees{/user}","branches_url":"https://api.github.com/repos/Martii/OpenUserJS.org/branches{/branch}","tags_url":"https://api.github.com/repos/Martii/OpenUserJS.org/tags","blobs_url":"https://api.github.com/repos/Martii/OpenUserJS.org/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Martii/OpenUserJS.org/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Martii/OpenUserJS.org/git/refs{/sha}","trees_url":"https://api.github.com/repos/Martii/OpenUserJS.org/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Martii/OpenUserJS.org/statuses/{sha}","languages_url":"https://api.github.com/repos/Martii/OpenUserJS.org/languages","stargazers_url":"https://api.github.com/repos/Martii/OpenUserJS.org/stargazers","contributors_url":"https://api.github.com/repos/Martii/OpenUserJS.org/contributors","subscribers_url":"https://api.github.com/repos/Martii/OpenUserJS.org/subscribers","subscription_url":"https://api.github.com/repos/Martii/OpenUserJS.org/subscription","commits_url":"https://api.github.com/repos/Martii/OpenUserJS.org/commits{/sha}","git_commits_url":"https://api.github.com/repos/Martii/OpenUserJS.org/git/commits{/sha}","comments_url":"https://api.github.com/repos/Martii/OpenUserJS.org/comments{/number}","issue_comment_url":"https://api.github.com/repos/Martii/OpenUserJS.org/issues/comments{/number}","contents_url":"https://api.github.com/repos/Martii/OpenUserJS.org/contents/{+path}","compare_url":"https://api.github.com/repos/Martii/OpenUserJS.org/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Martii/OpenUserJS.org/merges","archive_url":"https://api.github.com/repos/Martii/OpenUserJS.org/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Martii/OpenUserJS.org/downloads","issues_url":"https://api.github.com/repos/Martii/OpenUserJS.org/issues{/number}","pulls_url":"https://api.github.com/repos/Martii/OpenUserJS.org/pulls{/number}","milestones_url":"https://api.github.com/repos/Martii/OpenUserJS.org/milestones{/number}","notifications_url":"https://api.github.com/repos/Martii/OpenUserJS.org/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Martii/OpenUserJS.org/labels{/name}","releases_url":"https://api.github.com/repos/Martii/OpenUserJS.org/releases{/id}","created_at":"2014-05-07T19:31:03Z","updated_at":"2015-07-18T23:31:12Z","pushed_at":"2015-10-06T18:48:08Z","git_url":"git://github.com/Martii/OpenUserJS.org.git","ssh_url":"git@github.com:Martii/OpenUserJS.org.git","clone_url":"https://github.com/Martii/OpenUserJS.org.git","svn_url":"https://github.com/Martii/OpenUserJS.org","homepage":"https://openuserjs.org/","size":7983,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"OpenUserJs:master","ref":"master","sha":"5d0788e95f71d417efec9b1a7bf48ceed33fe6a6","user":{"login":"OpenUserJs","id":5873753,"avatar_url":"https://avatars.githubusercontent.com/u/5873753?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenUserJs","html_url":"https://github.com/OpenUserJs","followers_url":"https://api.github.com/users/OpenUserJs/followers","following_url":"https://api.github.com/users/OpenUserJs/following{/other_user}","gists_url":"https://api.github.com/users/OpenUserJs/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenUserJs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenUserJs/subscriptions","organizations_url":"https://api.github.com/users/OpenUserJs/orgs","repos_url":"https://api.github.com/users/OpenUserJs/repos","events_url":"https://api.github.com/users/OpenUserJs/events{/privacy}","received_events_url":"https://api.github.com/users/OpenUserJs/received_events","type":"Organization","site_admin":false},"repo":{"id":14186284,"name":"OpenUserJS.org","full_name":"OpenUserJs/OpenUserJS.org","owner":{"login":"OpenUserJs","id":5873753,"avatar_url":"https://avatars.githubusercontent.com/u/5873753?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenUserJs","html_url":"https://github.com/OpenUserJs","followers_url":"https://api.github.com/users/OpenUserJs/followers","following_url":"https://api.github.com/users/OpenUserJs/following{/other_user}","gists_url":"https://api.github.com/users/OpenUserJs/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenUserJs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenUserJs/subscriptions","organizations_url":"https://api.github.com/users/OpenUserJs/orgs","repos_url":"https://api.github.com/users/OpenUserJs/repos","events_url":"https://api.github.com/users/OpenUserJs/events{/privacy}","received_events_url":"https://api.github.com/users/OpenUserJs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OpenUserJs/OpenUserJS.org","description":"The home of FOSS user scripts.","fork":false,"url":"https://api.github.com/repos/OpenUserJs/OpenUserJS.org","forks_url":"https://api.github.com/repos/OpenUserJs/OpenUserJS.org/forks","keys_url":"https://api.github.com/repos/OpenUserJs/OpenUserJS.org/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OpenUserJs/OpenUserJS.org/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OpenUserJs/OpenUserJS.org/teams","hooks_url":"https://api.github.com/repos/OpenUserJs/OpenUserJS.org/hooks","issue_events_url":"https://api.github.com/repos/OpenUserJs/OpenUserJS.org/issues/events{/number}","events_url":"https://api.github.com/repos/OpenUserJs/OpenUserJS.org/events","assignees_url":"https://api.github.com/repos/OpenUserJs/OpenUserJS.org/assignees{/user}","branches_url":"https://api.github.com/repos/OpenUserJs/OpenUserJS.org/branches{/branch}","tags_url":"https://api.github.com/repos/OpenUserJs/OpenUserJS.org/tags","blobs_url":"https://api.github.com/repos/OpenUserJs/OpenUserJS.org/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OpenUserJs/OpenUserJS.org/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OpenUserJs/OpenUserJS.org/git/refs{/sha}","trees_url":"https://api.github.com/repos/OpenUserJs/OpenUserJS.org/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OpenUserJs/OpenUserJS.org/statuses/{sha}","languages_url":"https://api.github.com/repos/OpenUserJs/OpenUserJS.org/languages","stargazers_url":"https://api.github.com/repos/OpenUserJs/OpenUserJS.org/stargazers","contributors_url":"https://api.github.com/repos/OpenUserJs/OpenUserJS.org/contributors","subscribers_url":"https://api.github.com/repos/OpenUserJs/OpenUserJS.org/subscribers","subscription_url":"https://api.github.com/repos/OpenUserJs/OpenUserJS.org/subscription","commits_url":"https://api.github.com/repos/OpenUserJs/OpenUserJS.org/commits{/sha}","git_commits_url":"https://api.github.com/repos/OpenUserJs/OpenUserJS.org/git/commits{/sha}","comments_url":"https://api.github.com/repos/OpenUserJs/OpenUserJS.org/comments{/number}","issue_comment_url":"https://api.github.com/repos/OpenUserJs/OpenUserJS.org/issues/comments{/number}","contents_url":"https://api.github.com/repos/OpenUserJs/OpenUserJS.org/contents/{+path}","compare_url":"https://api.github.com/repos/OpenUserJs/OpenUserJS.org/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OpenUserJs/OpenUserJS.org/merges","archive_url":"https://api.github.com/repos/OpenUserJs/OpenUserJS.org/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OpenUserJs/OpenUserJS.org/downloads","issues_url":"https://api.github.com/repos/OpenUserJs/OpenUserJS.org/issues{/number}","pulls_url":"https://api.github.com/repos/OpenUserJs/OpenUserJS.org/pulls{/number}","milestones_url":"https://api.github.com/repos/OpenUserJs/OpenUserJS.org/milestones{/number}","notifications_url":"https://api.github.com/repos/OpenUserJs/OpenUserJS.org/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OpenUserJs/OpenUserJS.org/labels{/name}","releases_url":"https://api.github.com/repos/OpenUserJs/OpenUserJS.org/releases{/id}","created_at":"2013-11-06T21:34:20Z","updated_at":"2015-10-03T18:54:19Z","pushed_at":"2015-10-06T06:31:04Z","git_url":"git://github.com/OpenUserJs/OpenUserJS.org.git","ssh_url":"git@github.com:OpenUserJs/OpenUserJS.org.git","clone_url":"https://github.com/OpenUserJs/OpenUserJS.org.git","svn_url":"https://github.com/OpenUserJs/OpenUserJS.org","homepage":"https://openuserjs.org/","size":13645,"stargazers_count":99,"watchers_count":99,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":46,"mirror_url":null,"open_issues_count":80,"forks":46,"open_issues":80,"watchers":99,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/OpenUserJs/OpenUserJS.org/pulls/761"},"html":{"href":"https://github.com/OpenUserJs/OpenUserJS.org/pull/761"},"issue":{"href":"https://api.github.com/repos/OpenUserJs/OpenUserJS.org/issues/761"},"comments":{"href":"https://api.github.com/repos/OpenUserJs/OpenUserJS.org/issues/761/comments"},"review_comments":{"href":"https://api.github.com/repos/OpenUserJs/OpenUserJS.org/pulls/761/comments"},"review_comment":{"href":"https://api.github.com/repos/OpenUserJs/OpenUserJS.org/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OpenUserJs/OpenUserJS.org/pulls/761/commits"},"statuses":{"href":"https://api.github.com/repos/OpenUserJs/OpenUserJS.org/statuses/9a0946737836e27cc8581552f00ef0b690484094"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":26,"deletions":28,"changed_files":1}}