{"action":"opened","number":53,"pull_request":{"url":"https://api.github.com/repos/pahen/madge/pulls/53","id":31295978,"html_url":"https://github.com/pahen/madge/pull/53","diff_url":"https://github.com/pahen/madge/pull/53.diff","patch_url":"https://github.com/pahen/madge/pull/53.patch","issue_url":"https://api.github.com/repos/pahen/madge/issues/53","number":53,"state":"open","locked":false,"title":"Add ES6 module support","user":{"login":"mlaval","id":2316643,"avatar_url":"https://avatars.githubusercontent.com/u/2316643?v=3","gravatar_id":"","url":"https://api.github.com/users/mlaval","html_url":"https://github.com/mlaval","followers_url":"https://api.github.com/users/mlaval/followers","following_url":"https://api.github.com/users/mlaval/following{/other_user}","gists_url":"https://api.github.com/users/mlaval/gists{/gist_id}","starred_url":"https://api.github.com/users/mlaval/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mlaval/subscriptions","organizations_url":"https://api.github.com/users/mlaval/orgs","repos_url":"https://api.github.com/users/mlaval/repos","events_url":"https://api.github.com/users/mlaval/events{/privacy}","received_events_url":"https://api.github.com/users/mlaval/received_events","type":"User","site_admin":false},"body":"Hello, here is a proposal to add support of ES6 modules.\r\nIt uses [detective-es6](https://www.npmjs.com/package/detective-es6) to find dependencies.\r\n\r\nIn Madge itself, it also adds an **extensions** option to be able to deal with files with more exotic extensions than just `.js`\r\nAnd also, it gives the **onParseFile** callback the possiblity to modify on the fly the file name or the source.\r\n\r\nCheers","created_at":"2015-03-16T23:49:48Z","updated_at":"2015-03-16T23:49:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d6032f07e13d2e2a85b65315edd22cb176acf1a2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/pahen/madge/pulls/53/commits","review_comments_url":"https://api.github.com/repos/pahen/madge/pulls/53/comments","review_comment_url":"https://api.github.com/repos/pahen/madge/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pahen/madge/issues/53/comments","statuses_url":"https://api.github.com/repos/pahen/madge/statuses/45a07e2ec2064376058873ef85b5fcfabe9268a5","head":{"label":"mlaval:es6","ref":"es6","sha":"45a07e2ec2064376058873ef85b5fcfabe9268a5","user":{"login":"mlaval","id":2316643,"avatar_url":"https://avatars.githubusercontent.com/u/2316643?v=3","gravatar_id":"","url":"https://api.github.com/users/mlaval","html_url":"https://github.com/mlaval","followers_url":"https://api.github.com/users/mlaval/followers","following_url":"https://api.github.com/users/mlaval/following{/other_user}","gists_url":"https://api.github.com/users/mlaval/gists{/gist_id}","starred_url":"https://api.github.com/users/mlaval/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mlaval/subscriptions","organizations_url":"https://api.github.com/users/mlaval/orgs","repos_url":"https://api.github.com/users/mlaval/repos","events_url":"https://api.github.com/users/mlaval/events{/privacy}","received_events_url":"https://api.github.com/users/mlaval/received_events","type":"User","site_admin":false},"repo":{"id":32262431,"name":"madge","full_name":"mlaval/madge","owner":{"login":"mlaval","id":2316643,"avatar_url":"https://avatars.githubusercontent.com/u/2316643?v=3","gravatar_id":"","url":"https://api.github.com/users/mlaval","html_url":"https://github.com/mlaval","followers_url":"https://api.github.com/users/mlaval/followers","following_url":"https://api.github.com/users/mlaval/following{/other_user}","gists_url":"https://api.github.com/users/mlaval/gists{/gist_id}","starred_url":"https://api.github.com/users/mlaval/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mlaval/subscriptions","organizations_url":"https://api.github.com/users/mlaval/orgs","repos_url":"https://api.github.com/users/mlaval/repos","events_url":"https://api.github.com/users/mlaval/events{/privacy}","received_events_url":"https://api.github.com/users/mlaval/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mlaval/madge","description":"Create graphs from your CommonJS or AMD module dependencies","fork":true,"url":"https://api.github.com/repos/mlaval/madge","forks_url":"https://api.github.com/repos/mlaval/madge/forks","keys_url":"https://api.github.com/repos/mlaval/madge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mlaval/madge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mlaval/madge/teams","hooks_url":"https://api.github.com/repos/mlaval/madge/hooks","issue_events_url":"https://api.github.com/repos/mlaval/madge/issues/events{/number}","events_url":"https://api.github.com/repos/mlaval/madge/events","assignees_url":"https://api.github.com/repos/mlaval/madge/assignees{/user}","branches_url":"https://api.github.com/repos/mlaval/madge/branches{/branch}","tags_url":"https://api.github.com/repos/mlaval/madge/tags","blobs_url":"https://api.github.com/repos/mlaval/madge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mlaval/madge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mlaval/madge/git/refs{/sha}","trees_url":"https://api.github.com/repos/mlaval/madge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mlaval/madge/statuses/{sha}","languages_url":"https://api.github.com/repos/mlaval/madge/languages","stargazers_url":"https://api.github.com/repos/mlaval/madge/stargazers","contributors_url":"https://api.github.com/repos/mlaval/madge/contributors","subscribers_url":"https://api.github.com/repos/mlaval/madge/subscribers","subscription_url":"https://api.github.com/repos/mlaval/madge/subscription","commits_url":"https://api.github.com/repos/mlaval/madge/commits{/sha}","git_commits_url":"https://api.github.com/repos/mlaval/madge/git/commits{/sha}","comments_url":"https://api.github.com/repos/mlaval/madge/comments{/number}","issue_comment_url":"https://api.github.com/repos/mlaval/madge/issues/comments{/number}","contents_url":"https://api.github.com/repos/mlaval/madge/contents/{+path}","compare_url":"https://api.github.com/repos/mlaval/madge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mlaval/madge/merges","archive_url":"https://api.github.com/repos/mlaval/madge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mlaval/madge/downloads","issues_url":"https://api.github.com/repos/mlaval/madge/issues{/number}","pulls_url":"https://api.github.com/repos/mlaval/madge/pulls{/number}","milestones_url":"https://api.github.com/repos/mlaval/madge/milestones{/number}","notifications_url":"https://api.github.com/repos/mlaval/madge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mlaval/madge/labels{/name}","releases_url":"https://api.github.com/repos/mlaval/madge/releases{/id}","created_at":"2015-03-15T13:41:30Z","updated_at":"2015-03-15T13:41:30Z","pushed_at":"2015-03-16T23:42:53Z","git_url":"git://github.com/mlaval/madge.git","ssh_url":"git@github.com:mlaval/madge.git","clone_url":"https://github.com/mlaval/madge.git","svn_url":"https://github.com/mlaval/madge","homepage":null,"size":517,"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":"pahen:master","ref":"master","sha":"6d8332fd5a76768e55bbad65c106f466f888eafd","user":{"login":"pahen","id":353888,"avatar_url":"https://avatars.githubusercontent.com/u/353888?v=3","gravatar_id":"","url":"https://api.github.com/users/pahen","html_url":"https://github.com/pahen","followers_url":"https://api.github.com/users/pahen/followers","following_url":"https://api.github.com/users/pahen/following{/other_user}","gists_url":"https://api.github.com/users/pahen/gists{/gist_id}","starred_url":"https://api.github.com/users/pahen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pahen/subscriptions","organizations_url":"https://api.github.com/users/pahen/orgs","repos_url":"https://api.github.com/users/pahen/repos","events_url":"https://api.github.com/users/pahen/events{/privacy}","received_events_url":"https://api.github.com/users/pahen/received_events","type":"User","site_admin":false},"repo":{"id":4384018,"name":"madge","full_name":"pahen/madge","owner":{"login":"pahen","id":353888,"avatar_url":"https://avatars.githubusercontent.com/u/353888?v=3","gravatar_id":"","url":"https://api.github.com/users/pahen","html_url":"https://github.com/pahen","followers_url":"https://api.github.com/users/pahen/followers","following_url":"https://api.github.com/users/pahen/following{/other_user}","gists_url":"https://api.github.com/users/pahen/gists{/gist_id}","starred_url":"https://api.github.com/users/pahen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pahen/subscriptions","organizations_url":"https://api.github.com/users/pahen/orgs","repos_url":"https://api.github.com/users/pahen/repos","events_url":"https://api.github.com/users/pahen/events{/privacy}","received_events_url":"https://api.github.com/users/pahen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pahen/madge","description":"Create graphs from your CommonJS or AMD module dependencies","fork":false,"url":"https://api.github.com/repos/pahen/madge","forks_url":"https://api.github.com/repos/pahen/madge/forks","keys_url":"https://api.github.com/repos/pahen/madge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pahen/madge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pahen/madge/teams","hooks_url":"https://api.github.com/repos/pahen/madge/hooks","issue_events_url":"https://api.github.com/repos/pahen/madge/issues/events{/number}","events_url":"https://api.github.com/repos/pahen/madge/events","assignees_url":"https://api.github.com/repos/pahen/madge/assignees{/user}","branches_url":"https://api.github.com/repos/pahen/madge/branches{/branch}","tags_url":"https://api.github.com/repos/pahen/madge/tags","blobs_url":"https://api.github.com/repos/pahen/madge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pahen/madge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pahen/madge/git/refs{/sha}","trees_url":"https://api.github.com/repos/pahen/madge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pahen/madge/statuses/{sha}","languages_url":"https://api.github.com/repos/pahen/madge/languages","stargazers_url":"https://api.github.com/repos/pahen/madge/stargazers","contributors_url":"https://api.github.com/repos/pahen/madge/contributors","subscribers_url":"https://api.github.com/repos/pahen/madge/subscribers","subscription_url":"https://api.github.com/repos/pahen/madge/subscription","commits_url":"https://api.github.com/repos/pahen/madge/commits{/sha}","git_commits_url":"https://api.github.com/repos/pahen/madge/git/commits{/sha}","comments_url":"https://api.github.com/repos/pahen/madge/comments{/number}","issue_comment_url":"https://api.github.com/repos/pahen/madge/issues/comments{/number}","contents_url":"https://api.github.com/repos/pahen/madge/contents/{+path}","compare_url":"https://api.github.com/repos/pahen/madge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pahen/madge/merges","archive_url":"https://api.github.com/repos/pahen/madge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pahen/madge/downloads","issues_url":"https://api.github.com/repos/pahen/madge/issues{/number}","pulls_url":"https://api.github.com/repos/pahen/madge/pulls{/number}","milestones_url":"https://api.github.com/repos/pahen/madge/milestones{/number}","notifications_url":"https://api.github.com/repos/pahen/madge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pahen/madge/labels{/name}","releases_url":"https://api.github.com/repos/pahen/madge/releases{/id}","created_at":"2012-05-20T11:01:26Z","updated_at":"2015-03-11T19:51:51Z","pushed_at":"2015-02-24T10:24:58Z","git_url":"git://github.com/pahen/madge.git","ssh_url":"git@github.com:pahen/madge.git","clone_url":"https://github.com/pahen/madge.git","svn_url":"https://github.com/pahen/madge","homepage":null,"size":825,"stargazers_count":499,"watchers_count":499,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":44,"mirror_url":null,"open_issues_count":6,"forks":44,"open_issues":6,"watchers":499,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pahen/madge/pulls/53"},"html":{"href":"https://github.com/pahen/madge/pull/53"},"issue":{"href":"https://api.github.com/repos/pahen/madge/issues/53"},"comments":{"href":"https://api.github.com/repos/pahen/madge/issues/53/comments"},"review_comments":{"href":"https://api.github.com/repos/pahen/madge/pulls/53/comments"},"review_comment":{"href":"https://api.github.com/repos/pahen/madge/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pahen/madge/pulls/53/commits"},"statuses":{"href":"https://api.github.com/repos/pahen/madge/statuses/45a07e2ec2064376058873ef85b5fcfabe9268a5"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":169,"deletions":14,"changed_files":25}}