{"action":"opened","number":1587,"pull_request":{"url":"https://api.github.com/repos/babel/babel/pulls/1587","id":35873612,"html_url":"https://github.com/babel/babel/pull/1587","diff_url":"https://github.com/babel/babel/pull/1587.diff","patch_url":"https://github.com/babel/babel/pull/1587.patch","issue_url":"https://api.github.com/repos/babel/babel/issues/1587","number":1587,"state":"open","locked":false,"title":"Replace compiled file name for nodejs","user":{"login":"3y3","id":3931155,"avatar_url":"https://avatars.githubusercontent.com/u/3931155?v=3","gravatar_id":"","url":"https://api.github.com/users/3y3","html_url":"https://github.com/3y3","followers_url":"https://api.github.com/users/3y3/followers","following_url":"https://api.github.com/users/3y3/following{/other_user}","gists_url":"https://api.github.com/users/3y3/gists{/gist_id}","starred_url":"https://api.github.com/users/3y3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/3y3/subscriptions","organizations_url":"https://api.github.com/users/3y3/orgs","repos_url":"https://api.github.com/users/3y3/repos","events_url":"https://api.github.com/users/3y3/events{/privacy}","received_events_url":"https://api.github.com/users/3y3/received_events","type":"User","site_admin":false},"body":"Source and compiled files in nodejs have equal name.\r\nThis works wrong then we try to present it in resources tree.\r\n\r\n```\r\nroot\r\n// loading script source\r\n\r\nroot\r\n-> test.js (compiled)\r\n// processing sourceMapUrl\r\n\r\nroot\r\n-> test.js (compiled)\r\n-> test.js.map (maybe inline)\r\n// processing source paths is source map\r\n\r\nroot\r\n-> test.js (compiled)\r\n-> test.js (source)\r\n-> test.js.map (maybe inline)\r\n// Unresolved situation\r\n```\r\n\r\nI'm not friendly with babel sources, so this can be bad fix, but it demonstrates a problem.","created_at":"2015-05-20T20:41:06Z","updated_at":"2015-05-20T20:41:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/babel/babel/pulls/1587/commits","review_comments_url":"https://api.github.com/repos/babel/babel/pulls/1587/comments","review_comment_url":"https://api.github.com/repos/babel/babel/pulls/comments{/number}","comments_url":"https://api.github.com/repos/babel/babel/issues/1587/comments","statuses_url":"https://api.github.com/repos/babel/babel/statuses/874ce672c1fd6fa862ff4d9ffc675a696cae9b55","head":{"label":"3y3:master","ref":"master","sha":"874ce672c1fd6fa862ff4d9ffc675a696cae9b55","user":{"login":"3y3","id":3931155,"avatar_url":"https://avatars.githubusercontent.com/u/3931155?v=3","gravatar_id":"","url":"https://api.github.com/users/3y3","html_url":"https://github.com/3y3","followers_url":"https://api.github.com/users/3y3/followers","following_url":"https://api.github.com/users/3y3/following{/other_user}","gists_url":"https://api.github.com/users/3y3/gists{/gist_id}","starred_url":"https://api.github.com/users/3y3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/3y3/subscriptions","organizations_url":"https://api.github.com/users/3y3/orgs","repos_url":"https://api.github.com/users/3y3/repos","events_url":"https://api.github.com/users/3y3/events{/privacy}","received_events_url":"https://api.github.com/users/3y3/received_events","type":"User","site_admin":false},"repo":{"id":35972461,"name":"babel","full_name":"3y3/babel","owner":{"login":"3y3","id":3931155,"avatar_url":"https://avatars.githubusercontent.com/u/3931155?v=3","gravatar_id":"","url":"https://api.github.com/users/3y3","html_url":"https://github.com/3y3","followers_url":"https://api.github.com/users/3y3/followers","following_url":"https://api.github.com/users/3y3/following{/other_user}","gists_url":"https://api.github.com/users/3y3/gists{/gist_id}","starred_url":"https://api.github.com/users/3y3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/3y3/subscriptions","organizations_url":"https://api.github.com/users/3y3/orgs","repos_url":"https://api.github.com/users/3y3/repos","events_url":"https://api.github.com/users/3y3/events{/privacy}","received_events_url":"https://api.github.com/users/3y3/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/3y3/babel","description":"Babel is a compiler for writing next generation JavaScript.","fork":true,"url":"https://api.github.com/repos/3y3/babel","forks_url":"https://api.github.com/repos/3y3/babel/forks","keys_url":"https://api.github.com/repos/3y3/babel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/3y3/babel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/3y3/babel/teams","hooks_url":"https://api.github.com/repos/3y3/babel/hooks","issue_events_url":"https://api.github.com/repos/3y3/babel/issues/events{/number}","events_url":"https://api.github.com/repos/3y3/babel/events","assignees_url":"https://api.github.com/repos/3y3/babel/assignees{/user}","branches_url":"https://api.github.com/repos/3y3/babel/branches{/branch}","tags_url":"https://api.github.com/repos/3y3/babel/tags","blobs_url":"https://api.github.com/repos/3y3/babel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/3y3/babel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/3y3/babel/git/refs{/sha}","trees_url":"https://api.github.com/repos/3y3/babel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/3y3/babel/statuses/{sha}","languages_url":"https://api.github.com/repos/3y3/babel/languages","stargazers_url":"https://api.github.com/repos/3y3/babel/stargazers","contributors_url":"https://api.github.com/repos/3y3/babel/contributors","subscribers_url":"https://api.github.com/repos/3y3/babel/subscribers","subscription_url":"https://api.github.com/repos/3y3/babel/subscription","commits_url":"https://api.github.com/repos/3y3/babel/commits{/sha}","git_commits_url":"https://api.github.com/repos/3y3/babel/git/commits{/sha}","comments_url":"https://api.github.com/repos/3y3/babel/comments{/number}","issue_comment_url":"https://api.github.com/repos/3y3/babel/issues/comments{/number}","contents_url":"https://api.github.com/repos/3y3/babel/contents/{+path}","compare_url":"https://api.github.com/repos/3y3/babel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/3y3/babel/merges","archive_url":"https://api.github.com/repos/3y3/babel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/3y3/babel/downloads","issues_url":"https://api.github.com/repos/3y3/babel/issues{/number}","pulls_url":"https://api.github.com/repos/3y3/babel/pulls{/number}","milestones_url":"https://api.github.com/repos/3y3/babel/milestones{/number}","notifications_url":"https://api.github.com/repos/3y3/babel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/3y3/babel/labels{/name}","releases_url":"https://api.github.com/repos/3y3/babel/releases{/id}","created_at":"2015-05-20T20:29:42Z","updated_at":"2015-05-20T20:29:45Z","pushed_at":"2015-05-20T20:34:38Z","git_url":"git://github.com/3y3/babel.git","ssh_url":"git@github.com:3y3/babel.git","clone_url":"https://github.com/3y3/babel.git","svn_url":"https://github.com/3y3/babel","homepage":"https://babeljs.io/","size":18137,"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":"babel:master","ref":"master","sha":"82254d9d9bb495ae0e3cf8322f8ad2c5822d4630","user":{"login":"babel","id":9637642,"avatar_url":"https://avatars.githubusercontent.com/u/9637642?v=3","gravatar_id":"","url":"https://api.github.com/users/babel","html_url":"https://github.com/babel","followers_url":"https://api.github.com/users/babel/followers","following_url":"https://api.github.com/users/babel/following{/other_user}","gists_url":"https://api.github.com/users/babel/gists{/gist_id}","starred_url":"https://api.github.com/users/babel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/babel/subscriptions","organizations_url":"https://api.github.com/users/babel/orgs","repos_url":"https://api.github.com/users/babel/repos","events_url":"https://api.github.com/users/babel/events{/privacy}","received_events_url":"https://api.github.com/users/babel/received_events","type":"Organization","site_admin":false},"repo":{"id":24560307,"name":"babel","full_name":"babel/babel","owner":{"login":"babel","id":9637642,"avatar_url":"https://avatars.githubusercontent.com/u/9637642?v=3","gravatar_id":"","url":"https://api.github.com/users/babel","html_url":"https://github.com/babel","followers_url":"https://api.github.com/users/babel/followers","following_url":"https://api.github.com/users/babel/following{/other_user}","gists_url":"https://api.github.com/users/babel/gists{/gist_id}","starred_url":"https://api.github.com/users/babel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/babel/subscriptions","organizations_url":"https://api.github.com/users/babel/orgs","repos_url":"https://api.github.com/users/babel/repos","events_url":"https://api.github.com/users/babel/events{/privacy}","received_events_url":"https://api.github.com/users/babel/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/babel/babel","description":"Babel is a compiler for writing next generation JavaScript.","fork":false,"url":"https://api.github.com/repos/babel/babel","forks_url":"https://api.github.com/repos/babel/babel/forks","keys_url":"https://api.github.com/repos/babel/babel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/babel/babel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/babel/babel/teams","hooks_url":"https://api.github.com/repos/babel/babel/hooks","issue_events_url":"https://api.github.com/repos/babel/babel/issues/events{/number}","events_url":"https://api.github.com/repos/babel/babel/events","assignees_url":"https://api.github.com/repos/babel/babel/assignees{/user}","branches_url":"https://api.github.com/repos/babel/babel/branches{/branch}","tags_url":"https://api.github.com/repos/babel/babel/tags","blobs_url":"https://api.github.com/repos/babel/babel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/babel/babel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/babel/babel/git/refs{/sha}","trees_url":"https://api.github.com/repos/babel/babel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/babel/babel/statuses/{sha}","languages_url":"https://api.github.com/repos/babel/babel/languages","stargazers_url":"https://api.github.com/repos/babel/babel/stargazers","contributors_url":"https://api.github.com/repos/babel/babel/contributors","subscribers_url":"https://api.github.com/repos/babel/babel/subscribers","subscription_url":"https://api.github.com/repos/babel/babel/subscription","commits_url":"https://api.github.com/repos/babel/babel/commits{/sha}","git_commits_url":"https://api.github.com/repos/babel/babel/git/commits{/sha}","comments_url":"https://api.github.com/repos/babel/babel/comments{/number}","issue_comment_url":"https://api.github.com/repos/babel/babel/issues/comments{/number}","contents_url":"https://api.github.com/repos/babel/babel/contents/{+path}","compare_url":"https://api.github.com/repos/babel/babel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/babel/babel/merges","archive_url":"https://api.github.com/repos/babel/babel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/babel/babel/downloads","issues_url":"https://api.github.com/repos/babel/babel/issues{/number}","pulls_url":"https://api.github.com/repos/babel/babel/pulls{/number}","milestones_url":"https://api.github.com/repos/babel/babel/milestones{/number}","notifications_url":"https://api.github.com/repos/babel/babel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/babel/babel/labels{/name}","releases_url":"https://api.github.com/repos/babel/babel/releases{/id}","created_at":"2014-09-28T13:38:23Z","updated_at":"2015-05-20T20:26:23Z","pushed_at":"2015-05-20T11:45:08Z","git_url":"git://github.com/babel/babel.git","ssh_url":"git@github.com:babel/babel.git","clone_url":"https://github.com/babel/babel.git","svn_url":"https://github.com/babel/babel","homepage":"https://babeljs.io/","size":18137,"stargazers_count":6101,"watchers_count":6101,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":291,"mirror_url":null,"open_issues_count":20,"forks":291,"open_issues":20,"watchers":6101,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/babel/babel/pulls/1587"},"html":{"href":"https://github.com/babel/babel/pull/1587"},"issue":{"href":"https://api.github.com/repos/babel/babel/issues/1587"},"comments":{"href":"https://api.github.com/repos/babel/babel/issues/1587/comments"},"review_comments":{"href":"https://api.github.com/repos/babel/babel/pulls/1587/comments"},"review_comment":{"href":"https://api.github.com/repos/babel/babel/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/babel/babel/pulls/1587/commits"},"statuses":{"href":"https://api.github.com/repos/babel/babel/statuses/874ce672c1fd6fa862ff4d9ffc675a696cae9b55"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":1,"changed_files":1}}