{"action":"opened","number":1865,"pull_request":{"url":"https://api.github.com/repos/strongloop/loopback-next/pulls/1865","id":223347169,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIzMzQ3MTY5","html_url":"https://github.com/strongloop/loopback-next/pull/1865","diff_url":"https://github.com/strongloop/loopback-next/pull/1865.diff","patch_url":"https://github.com/strongloop/loopback-next/pull/1865.patch","issue_url":"https://api.github.com/repos/strongloop/loopback-next/issues/1865","number":1865,"state":"open","locked":false,"title":"perf(repository): prevent multiple array allocation","user":{"login":"Yaty","id":11981803,"node_id":"MDQ6VXNlcjExOTgxODAz","avatar_url":"https://avatars0.githubusercontent.com/u/11981803?v=4","gravatar_id":"","url":"https://api.github.com/users/Yaty","html_url":"https://github.com/Yaty","followers_url":"https://api.github.com/users/Yaty/followers","following_url":"https://api.github.com/users/Yaty/following{/other_user}","gists_url":"https://api.github.com/users/Yaty/gists{/gist_id}","starred_url":"https://api.github.com/users/Yaty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yaty/subscriptions","organizations_url":"https://api.github.com/users/Yaty/orgs","repos_url":"https://api.github.com/users/Yaty/repos","events_url":"https://api.github.com/users/Yaty/events{/privacy}","received_events_url":"https://api.github.com/users/Yaty/received_events","type":"User","site_admin":false},"body":"An improvement I found possible while looking at the code :)\r\n\r\n## Checklist\r\n\r\n- [x] `npm test` passes on your machine\r\n- [ ] New tests added or existing tests modified to cover all changes\r\n- [x] Code conforms with the [style guide](http://loopback.io/doc/en/contrib/style-guide.html)\r\n- [ ] API Documentation in code was updated\r\n- [ ] Documentation in [/docs/site](../tree/master/docs/site) was updated\r\n- [ ] Affected artifact templates in `packages/cli` were updated\r\n- [ ] Affected example projects in `examples/*` were updated\r\n","created_at":"2018-10-16T18:12:28Z","updated_at":"2018-10-16T18:12:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/strongloop/loopback-next/pulls/1865/commits","review_comments_url":"https://api.github.com/repos/strongloop/loopback-next/pulls/1865/comments","review_comment_url":"https://api.github.com/repos/strongloop/loopback-next/pulls/comments{/number}","comments_url":"https://api.github.com/repos/strongloop/loopback-next/issues/1865/comments","statuses_url":"https://api.github.com/repos/strongloop/loopback-next/statuses/fdfa7d804014b3ce979ffa09791627a10975e17c","head":{"label":"Yaty:master","ref":"master","sha":"fdfa7d804014b3ce979ffa09791627a10975e17c","user":{"login":"Yaty","id":11981803,"node_id":"MDQ6VXNlcjExOTgxODAz","avatar_url":"https://avatars0.githubusercontent.com/u/11981803?v=4","gravatar_id":"","url":"https://api.github.com/users/Yaty","html_url":"https://github.com/Yaty","followers_url":"https://api.github.com/users/Yaty/followers","following_url":"https://api.github.com/users/Yaty/following{/other_user}","gists_url":"https://api.github.com/users/Yaty/gists{/gist_id}","starred_url":"https://api.github.com/users/Yaty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yaty/subscriptions","organizations_url":"https://api.github.com/users/Yaty/orgs","repos_url":"https://api.github.com/users/Yaty/repos","events_url":"https://api.github.com/users/Yaty/events{/privacy}","received_events_url":"https://api.github.com/users/Yaty/received_events","type":"User","site_admin":false},"repo":{"id":150996553,"node_id":"MDEwOlJlcG9zaXRvcnkxNTA5OTY1NTM=","name":"loopback-next","full_name":"Yaty/loopback-next","private":false,"owner":{"login":"Yaty","id":11981803,"node_id":"MDQ6VXNlcjExOTgxODAz","avatar_url":"https://avatars0.githubusercontent.com/u/11981803?v=4","gravatar_id":"","url":"https://api.github.com/users/Yaty","html_url":"https://github.com/Yaty","followers_url":"https://api.github.com/users/Yaty/followers","following_url":"https://api.github.com/users/Yaty/following{/other_user}","gists_url":"https://api.github.com/users/Yaty/gists{/gist_id}","starred_url":"https://api.github.com/users/Yaty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yaty/subscriptions","organizations_url":"https://api.github.com/users/Yaty/orgs","repos_url":"https://api.github.com/users/Yaty/repos","events_url":"https://api.github.com/users/Yaty/events{/privacy}","received_events_url":"https://api.github.com/users/Yaty/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Yaty/loopback-next","description":"LoopBack makes it easy to build modern API applications that require complex integrations.","fork":true,"url":"https://api.github.com/repos/Yaty/loopback-next","forks_url":"https://api.github.com/repos/Yaty/loopback-next/forks","keys_url":"https://api.github.com/repos/Yaty/loopback-next/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Yaty/loopback-next/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Yaty/loopback-next/teams","hooks_url":"https://api.github.com/repos/Yaty/loopback-next/hooks","issue_events_url":"https://api.github.com/repos/Yaty/loopback-next/issues/events{/number}","events_url":"https://api.github.com/repos/Yaty/loopback-next/events","assignees_url":"https://api.github.com/repos/Yaty/loopback-next/assignees{/user}","branches_url":"https://api.github.com/repos/Yaty/loopback-next/branches{/branch}","tags_url":"https://api.github.com/repos/Yaty/loopback-next/tags","blobs_url":"https://api.github.com/repos/Yaty/loopback-next/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Yaty/loopback-next/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Yaty/loopback-next/git/refs{/sha}","trees_url":"https://api.github.com/repos/Yaty/loopback-next/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Yaty/loopback-next/statuses/{sha}","languages_url":"https://api.github.com/repos/Yaty/loopback-next/languages","stargazers_url":"https://api.github.com/repos/Yaty/loopback-next/stargazers","contributors_url":"https://api.github.com/repos/Yaty/loopback-next/contributors","subscribers_url":"https://api.github.com/repos/Yaty/loopback-next/subscribers","subscription_url":"https://api.github.com/repos/Yaty/loopback-next/subscription","commits_url":"https://api.github.com/repos/Yaty/loopback-next/commits{/sha}","git_commits_url":"https://api.github.com/repos/Yaty/loopback-next/git/commits{/sha}","comments_url":"https://api.github.com/repos/Yaty/loopback-next/comments{/number}","issue_comment_url":"https://api.github.com/repos/Yaty/loopback-next/issues/comments{/number}","contents_url":"https://api.github.com/repos/Yaty/loopback-next/contents/{+path}","compare_url":"https://api.github.com/repos/Yaty/loopback-next/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Yaty/loopback-next/merges","archive_url":"https://api.github.com/repos/Yaty/loopback-next/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Yaty/loopback-next/downloads","issues_url":"https://api.github.com/repos/Yaty/loopback-next/issues{/number}","pulls_url":"https://api.github.com/repos/Yaty/loopback-next/pulls{/number}","milestones_url":"https://api.github.com/repos/Yaty/loopback-next/milestones{/number}","notifications_url":"https://api.github.com/repos/Yaty/loopback-next/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Yaty/loopback-next/labels{/name}","releases_url":"https://api.github.com/repos/Yaty/loopback-next/releases{/id}","deployments_url":"https://api.github.com/repos/Yaty/loopback-next/deployments","created_at":"2018-09-30T18:55:49Z","updated_at":"2018-10-16T18:10:20Z","pushed_at":"2018-10-16T18:10:15Z","git_url":"git://github.com/Yaty/loopback-next.git","ssh_url":"git@github.com:Yaty/loopback-next.git","clone_url":"https://github.com/Yaty/loopback-next.git","svn_url":"https://github.com/Yaty/loopback-next","homepage":"https://v4.loopback.io","size":8758,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"strongloop:master","ref":"master","sha":"90c4406697063261d3628b78071ca50f90139b09","user":{"login":"strongloop","id":3020012,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMwMjAwMTI=","avatar_url":"https://avatars1.githubusercontent.com/u/3020012?v=4","gravatar_id":"","url":"https://api.github.com/users/strongloop","html_url":"https://github.com/strongloop","followers_url":"https://api.github.com/users/strongloop/followers","following_url":"https://api.github.com/users/strongloop/following{/other_user}","gists_url":"https://api.github.com/users/strongloop/gists{/gist_id}","starred_url":"https://api.github.com/users/strongloop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/strongloop/subscriptions","organizations_url":"https://api.github.com/users/strongloop/orgs","repos_url":"https://api.github.com/users/strongloop/repos","events_url":"https://api.github.com/users/strongloop/events{/privacy}","received_events_url":"https://api.github.com/users/strongloop/received_events","type":"Organization","site_admin":false},"repo":{"id":78452015,"node_id":"MDEwOlJlcG9zaXRvcnk3ODQ1MjAxNQ==","name":"loopback-next","full_name":"strongloop/loopback-next","private":false,"owner":{"login":"strongloop","id":3020012,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMwMjAwMTI=","avatar_url":"https://avatars1.githubusercontent.com/u/3020012?v=4","gravatar_id":"","url":"https://api.github.com/users/strongloop","html_url":"https://github.com/strongloop","followers_url":"https://api.github.com/users/strongloop/followers","following_url":"https://api.github.com/users/strongloop/following{/other_user}","gists_url":"https://api.github.com/users/strongloop/gists{/gist_id}","starred_url":"https://api.github.com/users/strongloop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/strongloop/subscriptions","organizations_url":"https://api.github.com/users/strongloop/orgs","repos_url":"https://api.github.com/users/strongloop/repos","events_url":"https://api.github.com/users/strongloop/events{/privacy}","received_events_url":"https://api.github.com/users/strongloop/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/strongloop/loopback-next","description":"LoopBack makes it easy to build modern API applications that require complex integrations.","fork":false,"url":"https://api.github.com/repos/strongloop/loopback-next","forks_url":"https://api.github.com/repos/strongloop/loopback-next/forks","keys_url":"https://api.github.com/repos/strongloop/loopback-next/keys{/key_id}","collaborators_url":"https://api.github.com/repos/strongloop/loopback-next/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/strongloop/loopback-next/teams","hooks_url":"https://api.github.com/repos/strongloop/loopback-next/hooks","issue_events_url":"https://api.github.com/repos/strongloop/loopback-next/issues/events{/number}","events_url":"https://api.github.com/repos/strongloop/loopback-next/events","assignees_url":"https://api.github.com/repos/strongloop/loopback-next/assignees{/user}","branches_url":"https://api.github.com/repos/strongloop/loopback-next/branches{/branch}","tags_url":"https://api.github.com/repos/strongloop/loopback-next/tags","blobs_url":"https://api.github.com/repos/strongloop/loopback-next/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/strongloop/loopback-next/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/strongloop/loopback-next/git/refs{/sha}","trees_url":"https://api.github.com/repos/strongloop/loopback-next/git/trees{/sha}","statuses_url":"https://api.github.com/repos/strongloop/loopback-next/statuses/{sha}","languages_url":"https://api.github.com/repos/strongloop/loopback-next/languages","stargazers_url":"https://api.github.com/repos/strongloop/loopback-next/stargazers","contributors_url":"https://api.github.com/repos/strongloop/loopback-next/contributors","subscribers_url":"https://api.github.com/repos/strongloop/loopback-next/subscribers","subscription_url":"https://api.github.com/repos/strongloop/loopback-next/subscription","commits_url":"https://api.github.com/repos/strongloop/loopback-next/commits{/sha}","git_commits_url":"https://api.github.com/repos/strongloop/loopback-next/git/commits{/sha}","comments_url":"https://api.github.com/repos/strongloop/loopback-next/comments{/number}","issue_comment_url":"https://api.github.com/repos/strongloop/loopback-next/issues/comments{/number}","contents_url":"https://api.github.com/repos/strongloop/loopback-next/contents/{+path}","compare_url":"https://api.github.com/repos/strongloop/loopback-next/compare/{base}...{head}","merges_url":"https://api.github.com/repos/strongloop/loopback-next/merges","archive_url":"https://api.github.com/repos/strongloop/loopback-next/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/strongloop/loopback-next/downloads","issues_url":"https://api.github.com/repos/strongloop/loopback-next/issues{/number}","pulls_url":"https://api.github.com/repos/strongloop/loopback-next/pulls{/number}","milestones_url":"https://api.github.com/repos/strongloop/loopback-next/milestones{/number}","notifications_url":"https://api.github.com/repos/strongloop/loopback-next/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/strongloop/loopback-next/labels{/name}","releases_url":"https://api.github.com/repos/strongloop/loopback-next/releases{/id}","deployments_url":"https://api.github.com/repos/strongloop/loopback-next/deployments","created_at":"2017-01-09T17:27:14Z","updated_at":"2018-10-16T14:01:24Z","pushed_at":"2018-10-16T17:40:45Z","git_url":"git://github.com/strongloop/loopback-next.git","ssh_url":"git@github.com:strongloop/loopback-next.git","clone_url":"https://github.com/strongloop/loopback-next.git","svn_url":"https://github.com/strongloop/loopback-next","homepage":"https://v4.loopback.io","size":9088,"stargazers_count":901,"watchers_count":901,"language":"TypeScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":108,"mirror_url":null,"archived":false,"open_issues_count":274,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":108,"open_issues":274,"watchers":901,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/strongloop/loopback-next/pulls/1865"},"html":{"href":"https://github.com/strongloop/loopback-next/pull/1865"},"issue":{"href":"https://api.github.com/repos/strongloop/loopback-next/issues/1865"},"comments":{"href":"https://api.github.com/repos/strongloop/loopback-next/issues/1865/comments"},"review_comments":{"href":"https://api.github.com/repos/strongloop/loopback-next/pulls/1865/comments"},"review_comment":{"href":"https://api.github.com/repos/strongloop/loopback-next/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/strongloop/loopback-next/pulls/1865/commits"},"statuses":{"href":"https://api.github.com/repos/strongloop/loopback-next/statuses/fdfa7d804014b3ce979ffa09791627a10975e17c"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":11,"deletions":7,"changed_files":1}}
{"actor":{"display_login":"Yaty"}}