{"action":"created","comment":{"url":"https://api.github.com/repos/angular/angular-cli/pulls/comments/215324589","pull_request_review_id":152562815,"id":215324589,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNTMyNDU4OQ==","diff_hunk":"@@ -79,6 +80,61 @@ describe('wrap-enums', () => {\n     expect(tags.oneLine`${transform(input)}`).toEqual(tags.oneLine`${output}`);\n   });\n \n+  it('wraps ts 2.3 - 2.6 enums in IIFE, even if they were renamed due to scope hoisting', () => {","path":"packages/angular_devkit/build_optimizer/src/transforms/wrap-enums_spec.ts","position":12,"original_position":12,"commit_id":"028718e69a29551c73d8846bdaa515d08450f4da","original_commit_id":"028718e69a29551c73d8846bdaa515d08450f4da","user":{"login":"IgorMinar","id":216296,"node_id":"MDQ6VXNlcjIxNjI5Ng==","avatar_url":"https://avatars3.githubusercontent.com/u/216296?v=4","gravatar_id":"","url":"https://api.github.com/users/IgorMinar","html_url":"https://github.com/IgorMinar","followers_url":"https://api.github.com/users/IgorMinar/followers","following_url":"https://api.github.com/users/IgorMinar/following{/other_user}","gists_url":"https://api.github.com/users/IgorMinar/gists{/gist_id}","starred_url":"https://api.github.com/users/IgorMinar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IgorMinar/subscriptions","organizations_url":"https://api.github.com/users/IgorMinar/orgs","repos_url":"https://api.github.com/users/IgorMinar/repos","events_url":"https://api.github.com/users/IgorMinar/events{/privacy}","received_events_url":"https://api.github.com/users/IgorMinar/received_events","type":"User","site_admin":false},"body":"isn't this \"2.3 - 3.0\" ?","created_at":"2018-09-05T15:44:00Z","updated_at":"2018-09-05T15:48:36Z","html_url":"https://github.com/angular/angular-cli/pull/12175#discussion_r215324589","pull_request_url":"https://api.github.com/repos/angular/angular-cli/pulls/12175","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/angular/angular-cli/pulls/comments/215324589"},"html":{"href":"https://github.com/angular/angular-cli/pull/12175#discussion_r215324589"},"pull_request":{"href":"https://api.github.com/repos/angular/angular-cli/pulls/12175"}}},"pull_request":{"url":"https://api.github.com/repos/angular/angular-cli/pulls/12175","id":213266568,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEzMjY2NTY4","html_url":"https://github.com/angular/angular-cli/pull/12175","diff_url":"https://github.com/angular/angular-cli/pull/12175.diff","patch_url":"https://github.com/angular/angular-cli/pull/12175.patch","issue_url":"https://api.github.com/repos/angular/angular-cli/issues/12175","number":12175,"state":"open","locked":false,"title":"Update Build Optimizer for Angular 7","user":{"login":"filipesilva","id":4172079,"node_id":"MDQ6VXNlcjQxNzIwNzk=","avatar_url":"https://avatars2.githubusercontent.com/u/4172079?v=4","gravatar_id":"","url":"https://api.github.com/users/filipesilva","html_url":"https://github.com/filipesilva","followers_url":"https://api.github.com/users/filipesilva/followers","following_url":"https://api.github.com/users/filipesilva/following{/other_user}","gists_url":"https://api.github.com/users/filipesilva/gists{/gist_id}","starred_url":"https://api.github.com/users/filipesilva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/filipesilva/subscriptions","organizations_url":"https://api.github.com/users/filipesilva/orgs","repos_url":"https://api.github.com/users/filipesilva/repos","events_url":"https://api.github.com/users/filipesilva/events{/privacy}","received_events_url":"https://api.github.com/users/filipesilva/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-09-05T11:54:50Z","updated_at":"2018-09-05T15:48:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1682bad4af012abe00c84820a1685a92c4357bd0","assignee":null,"assignees":[],"requested_reviewers":[{"login":"clydin","id":19598772,"node_id":"MDQ6VXNlcjE5NTk4Nzcy","avatar_url":"https://avatars2.githubusercontent.com/u/19598772?v=4","gravatar_id":"","url":"https://api.github.com/users/clydin","html_url":"https://github.com/clydin","followers_url":"https://api.github.com/users/clydin/followers","following_url":"https://api.github.com/users/clydin/following{/other_user}","gists_url":"https://api.github.com/users/clydin/gists{/gist_id}","starred_url":"https://api.github.com/users/clydin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clydin/subscriptions","organizations_url":"https://api.github.com/users/clydin/orgs","repos_url":"https://api.github.com/users/clydin/repos","events_url":"https://api.github.com/users/clydin/events{/privacy}","received_events_url":"https://api.github.com/users/clydin/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":1020656460,"node_id":"MDU6TGFiZWwxMDIwNjU2NDYw","url":"https://api.github.com/repos/angular/angular-cli/labels/PR%20target:%20master-only","name":"PR target: master-only","color":"5319e7","default":false},{"id":393399567,"node_id":"MDU6TGFiZWwzOTMzOTk1Njc=","url":"https://api.github.com/repos/angular/angular-cli/labels/cla:%20yes","name":"cla: yes","color":"0e8a16","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/angular/angular-cli/pulls/12175/commits","review_comments_url":"https://api.github.com/repos/angular/angular-cli/pulls/12175/comments","review_comment_url":"https://api.github.com/repos/angular/angular-cli/pulls/comments{/number}","comments_url":"https://api.github.com/repos/angular/angular-cli/issues/12175/comments","statuses_url":"https://api.github.com/repos/angular/angular-cli/statuses/028718e69a29551c73d8846bdaa515d08450f4da","head":{"label":"filipesilva:build-opt-ng7","ref":"build-opt-ng7","sha":"028718e69a29551c73d8846bdaa515d08450f4da","user":{"login":"filipesilva","id":4172079,"node_id":"MDQ6VXNlcjQxNzIwNzk=","avatar_url":"https://avatars2.githubusercontent.com/u/4172079?v=4","gravatar_id":"","url":"https://api.github.com/users/filipesilva","html_url":"https://github.com/filipesilva","followers_url":"https://api.github.com/users/filipesilva/followers","following_url":"https://api.github.com/users/filipesilva/following{/other_user}","gists_url":"https://api.github.com/users/filipesilva/gists{/gist_id}","starred_url":"https://api.github.com/users/filipesilva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/filipesilva/subscriptions","organizations_url":"https://api.github.com/users/filipesilva/orgs","repos_url":"https://api.github.com/users/filipesilva/repos","events_url":"https://api.github.com/users/filipesilva/events{/privacy}","received_events_url":"https://api.github.com/users/filipesilva/received_events","type":"User","site_admin":false},"repo":{"id":46974063,"node_id":"MDEwOlJlcG9zaXRvcnk0Njk3NDA2Mw==","name":"angular-cli","full_name":"filipesilva/angular-cli","owner":{"login":"filipesilva","id":4172079,"node_id":"MDQ6VXNlcjQxNzIwNzk=","avatar_url":"https://avatars2.githubusercontent.com/u/4172079?v=4","gravatar_id":"","url":"https://api.github.com/users/filipesilva","html_url":"https://github.com/filipesilva","followers_url":"https://api.github.com/users/filipesilva/followers","following_url":"https://api.github.com/users/filipesilva/following{/other_user}","gists_url":"https://api.github.com/users/filipesilva/gists{/gist_id}","starred_url":"https://api.github.com/users/filipesilva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/filipesilva/subscriptions","organizations_url":"https://api.github.com/users/filipesilva/orgs","repos_url":"https://api.github.com/users/filipesilva/repos","events_url":"https://api.github.com/users/filipesilva/events{/privacy}","received_events_url":"https://api.github.com/users/filipesilva/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/filipesilva/angular-cli","description":null,"fork":true,"url":"https://api.github.com/repos/filipesilva/angular-cli","forks_url":"https://api.github.com/repos/filipesilva/angular-cli/forks","keys_url":"https://api.github.com/repos/filipesilva/angular-cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/filipesilva/angular-cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/filipesilva/angular-cli/teams","hooks_url":"https://api.github.com/repos/filipesilva/angular-cli/hooks","issue_events_url":"https://api.github.com/repos/filipesilva/angular-cli/issues/events{/number}","events_url":"https://api.github.com/repos/filipesilva/angular-cli/events","assignees_url":"https://api.github.com/repos/filipesilva/angular-cli/assignees{/user}","branches_url":"https://api.github.com/repos/filipesilva/angular-cli/branches{/branch}","tags_url":"https://api.github.com/repos/filipesilva/angular-cli/tags","blobs_url":"https://api.github.com/repos/filipesilva/angular-cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/filipesilva/angular-cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/filipesilva/angular-cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/filipesilva/angular-cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/filipesilva/angular-cli/statuses/{sha}","languages_url":"https://api.github.com/repos/filipesilva/angular-cli/languages","stargazers_url":"https://api.github.com/repos/filipesilva/angular-cli/stargazers","contributors_url":"https://api.github.com/repos/filipesilva/angular-cli/contributors","subscribers_url":"https://api.github.com/repos/filipesilva/angular-cli/subscribers","subscription_url":"https://api.github.com/repos/filipesilva/angular-cli/subscription","commits_url":"https://api.github.com/repos/filipesilva/angular-cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/filipesilva/angular-cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/filipesilva/angular-cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/filipesilva/angular-cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/filipesilva/angular-cli/contents/{+path}","compare_url":"https://api.github.com/repos/filipesilva/angular-cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/filipesilva/angular-cli/merges","archive_url":"https://api.github.com/repos/filipesilva/angular-cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/filipesilva/angular-cli/downloads","issues_url":"https://api.github.com/repos/filipesilva/angular-cli/issues{/number}","pulls_url":"https://api.github.com/repos/filipesilva/angular-cli/pulls{/number}","milestones_url":"https://api.github.com/repos/filipesilva/angular-cli/milestones{/number}","notifications_url":"https://api.github.com/repos/filipesilva/angular-cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/filipesilva/angular-cli/labels{/name}","releases_url":"https://api.github.com/repos/filipesilva/angular-cli/releases{/id}","deployments_url":"https://api.github.com/repos/filipesilva/angular-cli/deployments","created_at":"2015-11-27T10:21:58Z","updated_at":"2018-06-06T13:07:23Z","pushed_at":"2018-09-05T12:32:19Z","git_url":"git://github.com/filipesilva/angular-cli.git","ssh_url":"git@github.com:filipesilva/angular-cli.git","clone_url":"https://github.com/filipesilva/angular-cli.git","svn_url":"https://github.com/filipesilva/angular-cli","homepage":null,"size":10082,"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":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"angular:master","ref":"master","sha":"39b4cc030b0deba88627d659df01aaf3663f0265","user":{"login":"angular","id":139426,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzOTQyNg==","avatar_url":"https://avatars3.githubusercontent.com/u/139426?v=4","gravatar_id":"","url":"https://api.github.com/users/angular","html_url":"https://github.com/angular","followers_url":"https://api.github.com/users/angular/followers","following_url":"https://api.github.com/users/angular/following{/other_user}","gists_url":"https://api.github.com/users/angular/gists{/gist_id}","starred_url":"https://api.github.com/users/angular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular/subscriptions","organizations_url":"https://api.github.com/users/angular/orgs","repos_url":"https://api.github.com/users/angular/repos","events_url":"https://api.github.com/users/angular/events{/privacy}","received_events_url":"https://api.github.com/users/angular/received_events","type":"Organization","site_admin":false},"repo":{"id":36891867,"node_id":"MDEwOlJlcG9zaXRvcnkzNjg5MTg2Nw==","name":"angular-cli","full_name":"angular/angular-cli","owner":{"login":"angular","id":139426,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzOTQyNg==","avatar_url":"https://avatars3.githubusercontent.com/u/139426?v=4","gravatar_id":"","url":"https://api.github.com/users/angular","html_url":"https://github.com/angular","followers_url":"https://api.github.com/users/angular/followers","following_url":"https://api.github.com/users/angular/following{/other_user}","gists_url":"https://api.github.com/users/angular/gists{/gist_id}","starred_url":"https://api.github.com/users/angular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular/subscriptions","organizations_url":"https://api.github.com/users/angular/orgs","repos_url":"https://api.github.com/users/angular/repos","events_url":"https://api.github.com/users/angular/events{/privacy}","received_events_url":"https://api.github.com/users/angular/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/angular/angular-cli","description":"CLI tool for Angular","fork":false,"url":"https://api.github.com/repos/angular/angular-cli","forks_url":"https://api.github.com/repos/angular/angular-cli/forks","keys_url":"https://api.github.com/repos/angular/angular-cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/angular/angular-cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/angular/angular-cli/teams","hooks_url":"https://api.github.com/repos/angular/angular-cli/hooks","issue_events_url":"https://api.github.com/repos/angular/angular-cli/issues/events{/number}","events_url":"https://api.github.com/repos/angular/angular-cli/events","assignees_url":"https://api.github.com/repos/angular/angular-cli/assignees{/user}","branches_url":"https://api.github.com/repos/angular/angular-cli/branches{/branch}","tags_url":"https://api.github.com/repos/angular/angular-cli/tags","blobs_url":"https://api.github.com/repos/angular/angular-cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/angular/angular-cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/angular/angular-cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/angular/angular-cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/angular/angular-cli/statuses/{sha}","languages_url":"https://api.github.com/repos/angular/angular-cli/languages","stargazers_url":"https://api.github.com/repos/angular/angular-cli/stargazers","contributors_url":"https://api.github.com/repos/angular/angular-cli/contributors","subscribers_url":"https://api.github.com/repos/angular/angular-cli/subscribers","subscription_url":"https://api.github.com/repos/angular/angular-cli/subscription","commits_url":"https://api.github.com/repos/angular/angular-cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/angular/angular-cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/angular/angular-cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/angular/angular-cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/angular/angular-cli/contents/{+path}","compare_url":"https://api.github.com/repos/angular/angular-cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/angular/angular-cli/merges","archive_url":"https://api.github.com/repos/angular/angular-cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/angular/angular-cli/downloads","issues_url":"https://api.github.com/repos/angular/angular-cli/issues{/number}","pulls_url":"https://api.github.com/repos/angular/angular-cli/pulls{/number}","milestones_url":"https://api.github.com/repos/angular/angular-cli/milestones{/number}","notifications_url":"https://api.github.com/repos/angular/angular-cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/angular/angular-cli/labels{/name}","releases_url":"https://api.github.com/repos/angular/angular-cli/releases{/id}","deployments_url":"https://api.github.com/repos/angular/angular-cli/deployments","created_at":"2015-06-04T19:49:37Z","updated_at":"2018-09-05T15:23:21Z","pushed_at":"2018-09-05T14:53:23Z","git_url":"git://github.com/angular/angular-cli.git","ssh_url":"git@github.com:angular/angular-cli.git","clone_url":"https://github.com/angular/angular-cli.git","svn_url":"https://github.com/angular/angular-cli","homepage":"https://cli.angular.io/","size":14631,"stargazers_count":19430,"watchers_count":19430,"language":"TypeScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4374,"mirror_url":null,"archived":false,"open_issues_count":1494,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":4374,"open_issues":1494,"watchers":19430,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/angular/angular-cli/pulls/12175"},"html":{"href":"https://github.com/angular/angular-cli/pull/12175"},"issue":{"href":"https://api.github.com/repos/angular/angular-cli/issues/12175"},"comments":{"href":"https://api.github.com/repos/angular/angular-cli/issues/12175/comments"},"review_comments":{"href":"https://api.github.com/repos/angular/angular-cli/pulls/12175/comments"},"review_comment":{"href":"https://api.github.com/repos/angular/angular-cli/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/angular/angular-cli/pulls/12175/commits"},"statuses":{"href":"https://api.github.com/repos/angular/angular-cli/statuses/028718e69a29551c73d8846bdaa515d08450f4da"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"IgorMinar"}}