{"action":"opened","number":1139,"pull_request":{"url":"https://api.github.com/repos/substack/node-browserify/pulls/1139","id":29913790,"html_url":"https://github.com/substack/node-browserify/pull/1139","diff_url":"https://github.com/substack/node-browserify/pull/1139.diff","patch_url":"https://github.com/substack/node-browserify/pull/1139.patch","issue_url":"https://api.github.com/repos/substack/node-browserify/issues/1139","number":1139,"state":"open","locked":false,"title":"should resolve modules when exposing folders","user":{"login":"dominykas","id":505619,"avatar_url":"https://avatars.githubusercontent.com/u/505619?v=3","gravatar_id":"","url":"https://api.github.com/users/dominykas","html_url":"https://github.com/dominykas","followers_url":"https://api.github.com/users/dominykas/followers","following_url":"https://api.github.com/users/dominykas/following{/other_user}","gists_url":"https://api.github.com/users/dominykas/gists{/gist_id}","starred_url":"https://api.github.com/users/dominykas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dominykas/subscriptions","organizations_url":"https://api.github.com/users/dominykas/orgs","repos_url":"https://api.github.com/users/dominykas/repos","events_url":"https://api.github.com/users/dominykas/events{/privacy}","received_events_url":"https://api.github.com/users/dominykas/received_events","type":"User","site_admin":false},"body":"When a module is exposed, it should still resolve the way it would normally do, i.e. with/without extension and directories should fall back to index, and index from a directory should be accepted with/without extension too.\r\n\r\nIn this PR there are the tests that will fail - I am not able to run them reliably for some reason, so with `resolve@1.1.5` they simply hang, however they will pass if you `npm install resolve@1.1.2`\r\n\r\nI'm not sure how to make them pass - that, I believe, belongs in the `resolve` module - I'll create a relevant issue there, mostly because I've no idea how things are wired up.","created_at":"2015-02-24T16:44:50Z","updated_at":"2015-02-24T16:44:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/substack/node-browserify/pulls/1139/commits","review_comments_url":"https://api.github.com/repos/substack/node-browserify/pulls/1139/comments","review_comment_url":"https://api.github.com/repos/substack/node-browserify/pulls/comments{/number}","comments_url":"https://api.github.com/repos/substack/node-browserify/issues/1139/comments","statuses_url":"https://api.github.com/repos/substack/node-browserify/statuses/975a3a2e54403e141e77e0a12e7a2703438dbeb6","head":{"label":"insidewarehouse:resolve-exposed-folders","ref":"resolve-exposed-folders","sha":"975a3a2e54403e141e77e0a12e7a2703438dbeb6","user":{"login":"insidewarehouse","id":1503454,"avatar_url":"https://avatars.githubusercontent.com/u/1503454?v=3","gravatar_id":"","url":"https://api.github.com/users/insidewarehouse","html_url":"https://github.com/insidewarehouse","followers_url":"https://api.github.com/users/insidewarehouse/followers","following_url":"https://api.github.com/users/insidewarehouse/following{/other_user}","gists_url":"https://api.github.com/users/insidewarehouse/gists{/gist_id}","starred_url":"https://api.github.com/users/insidewarehouse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/insidewarehouse/subscriptions","organizations_url":"https://api.github.com/users/insidewarehouse/orgs","repos_url":"https://api.github.com/users/insidewarehouse/repos","events_url":"https://api.github.com/users/insidewarehouse/events{/privacy}","received_events_url":"https://api.github.com/users/insidewarehouse/received_events","type":"Organization","site_admin":false},"repo":{"id":31268857,"name":"node-browserify","full_name":"insidewarehouse/node-browserify","owner":{"login":"insidewarehouse","id":1503454,"avatar_url":"https://avatars.githubusercontent.com/u/1503454?v=3","gravatar_id":"","url":"https://api.github.com/users/insidewarehouse","html_url":"https://github.com/insidewarehouse","followers_url":"https://api.github.com/users/insidewarehouse/followers","following_url":"https://api.github.com/users/insidewarehouse/following{/other_user}","gists_url":"https://api.github.com/users/insidewarehouse/gists{/gist_id}","starred_url":"https://api.github.com/users/insidewarehouse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/insidewarehouse/subscriptions","organizations_url":"https://api.github.com/users/insidewarehouse/orgs","repos_url":"https://api.github.com/users/insidewarehouse/repos","events_url":"https://api.github.com/users/insidewarehouse/events{/privacy}","received_events_url":"https://api.github.com/users/insidewarehouse/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/insidewarehouse/node-browserify","description":"browser-side require() the node.js way","fork":true,"url":"https://api.github.com/repos/insidewarehouse/node-browserify","forks_url":"https://api.github.com/repos/insidewarehouse/node-browserify/forks","keys_url":"https://api.github.com/repos/insidewarehouse/node-browserify/keys{/key_id}","collaborators_url":"https://api.github.com/repos/insidewarehouse/node-browserify/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/insidewarehouse/node-browserify/teams","hooks_url":"https://api.github.com/repos/insidewarehouse/node-browserify/hooks","issue_events_url":"https://api.github.com/repos/insidewarehouse/node-browserify/issues/events{/number}","events_url":"https://api.github.com/repos/insidewarehouse/node-browserify/events","assignees_url":"https://api.github.com/repos/insidewarehouse/node-browserify/assignees{/user}","branches_url":"https://api.github.com/repos/insidewarehouse/node-browserify/branches{/branch}","tags_url":"https://api.github.com/repos/insidewarehouse/node-browserify/tags","blobs_url":"https://api.github.com/repos/insidewarehouse/node-browserify/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/insidewarehouse/node-browserify/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/insidewarehouse/node-browserify/git/refs{/sha}","trees_url":"https://api.github.com/repos/insidewarehouse/node-browserify/git/trees{/sha}","statuses_url":"https://api.github.com/repos/insidewarehouse/node-browserify/statuses/{sha}","languages_url":"https://api.github.com/repos/insidewarehouse/node-browserify/languages","stargazers_url":"https://api.github.com/repos/insidewarehouse/node-browserify/stargazers","contributors_url":"https://api.github.com/repos/insidewarehouse/node-browserify/contributors","subscribers_url":"https://api.github.com/repos/insidewarehouse/node-browserify/subscribers","subscription_url":"https://api.github.com/repos/insidewarehouse/node-browserify/subscription","commits_url":"https://api.github.com/repos/insidewarehouse/node-browserify/commits{/sha}","git_commits_url":"https://api.github.com/repos/insidewarehouse/node-browserify/git/commits{/sha}","comments_url":"https://api.github.com/repos/insidewarehouse/node-browserify/comments{/number}","issue_comment_url":"https://api.github.com/repos/insidewarehouse/node-browserify/issues/comments{/number}","contents_url":"https://api.github.com/repos/insidewarehouse/node-browserify/contents/{+path}","compare_url":"https://api.github.com/repos/insidewarehouse/node-browserify/compare/{base}...{head}","merges_url":"https://api.github.com/repos/insidewarehouse/node-browserify/merges","archive_url":"https://api.github.com/repos/insidewarehouse/node-browserify/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/insidewarehouse/node-browserify/downloads","issues_url":"https://api.github.com/repos/insidewarehouse/node-browserify/issues{/number}","pulls_url":"https://api.github.com/repos/insidewarehouse/node-browserify/pulls{/number}","milestones_url":"https://api.github.com/repos/insidewarehouse/node-browserify/milestones{/number}","notifications_url":"https://api.github.com/repos/insidewarehouse/node-browserify/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/insidewarehouse/node-browserify/labels{/name}","releases_url":"https://api.github.com/repos/insidewarehouse/node-browserify/releases{/id}","created_at":"2015-02-24T16:18:40Z","updated_at":"2015-02-24T16:18:42Z","pushed_at":"2015-02-24T16:39:30Z","git_url":"git://github.com/insidewarehouse/node-browserify.git","ssh_url":"git@github.com:insidewarehouse/node-browserify.git","clone_url":"https://github.com/insidewarehouse/node-browserify.git","svn_url":"https://github.com/insidewarehouse/node-browserify","homepage":"http://browserify.org/","size":8917,"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":"substack:master","ref":"master","sha":"8d1a880a9fb35e4a81a2b0c0cfd070c00d78bf39","user":{"login":"substack","id":12631,"avatar_url":"https://avatars.githubusercontent.com/u/12631?v=3","gravatar_id":"","url":"https://api.github.com/users/substack","html_url":"https://github.com/substack","followers_url":"https://api.github.com/users/substack/followers","following_url":"https://api.github.com/users/substack/following{/other_user}","gists_url":"https://api.github.com/users/substack/gists{/gist_id}","starred_url":"https://api.github.com/users/substack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/substack/subscriptions","organizations_url":"https://api.github.com/users/substack/orgs","repos_url":"https://api.github.com/users/substack/repos","events_url":"https://api.github.com/users/substack/events{/privacy}","received_events_url":"https://api.github.com/users/substack/received_events","type":"User","site_admin":false},"repo":{"id":931039,"name":"node-browserify","full_name":"substack/node-browserify","owner":{"login":"substack","id":12631,"avatar_url":"https://avatars.githubusercontent.com/u/12631?v=3","gravatar_id":"","url":"https://api.github.com/users/substack","html_url":"https://github.com/substack","followers_url":"https://api.github.com/users/substack/followers","following_url":"https://api.github.com/users/substack/following{/other_user}","gists_url":"https://api.github.com/users/substack/gists{/gist_id}","starred_url":"https://api.github.com/users/substack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/substack/subscriptions","organizations_url":"https://api.github.com/users/substack/orgs","repos_url":"https://api.github.com/users/substack/repos","events_url":"https://api.github.com/users/substack/events{/privacy}","received_events_url":"https://api.github.com/users/substack/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/substack/node-browserify","description":"browser-side require() the node.js way","fork":false,"url":"https://api.github.com/repos/substack/node-browserify","forks_url":"https://api.github.com/repos/substack/node-browserify/forks","keys_url":"https://api.github.com/repos/substack/node-browserify/keys{/key_id}","collaborators_url":"https://api.github.com/repos/substack/node-browserify/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/substack/node-browserify/teams","hooks_url":"https://api.github.com/repos/substack/node-browserify/hooks","issue_events_url":"https://api.github.com/repos/substack/node-browserify/issues/events{/number}","events_url":"https://api.github.com/repos/substack/node-browserify/events","assignees_url":"https://api.github.com/repos/substack/node-browserify/assignees{/user}","branches_url":"https://api.github.com/repos/substack/node-browserify/branches{/branch}","tags_url":"https://api.github.com/repos/substack/node-browserify/tags","blobs_url":"https://api.github.com/repos/substack/node-browserify/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/substack/node-browserify/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/substack/node-browserify/git/refs{/sha}","trees_url":"https://api.github.com/repos/substack/node-browserify/git/trees{/sha}","statuses_url":"https://api.github.com/repos/substack/node-browserify/statuses/{sha}","languages_url":"https://api.github.com/repos/substack/node-browserify/languages","stargazers_url":"https://api.github.com/repos/substack/node-browserify/stargazers","contributors_url":"https://api.github.com/repos/substack/node-browserify/contributors","subscribers_url":"https://api.github.com/repos/substack/node-browserify/subscribers","subscription_url":"https://api.github.com/repos/substack/node-browserify/subscription","commits_url":"https://api.github.com/repos/substack/node-browserify/commits{/sha}","git_commits_url":"https://api.github.com/repos/substack/node-browserify/git/commits{/sha}","comments_url":"https://api.github.com/repos/substack/node-browserify/comments{/number}","issue_comment_url":"https://api.github.com/repos/substack/node-browserify/issues/comments{/number}","contents_url":"https://api.github.com/repos/substack/node-browserify/contents/{+path}","compare_url":"https://api.github.com/repos/substack/node-browserify/compare/{base}...{head}","merges_url":"https://api.github.com/repos/substack/node-browserify/merges","archive_url":"https://api.github.com/repos/substack/node-browserify/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/substack/node-browserify/downloads","issues_url":"https://api.github.com/repos/substack/node-browserify/issues{/number}","pulls_url":"https://api.github.com/repos/substack/node-browserify/pulls{/number}","milestones_url":"https://api.github.com/repos/substack/node-browserify/milestones{/number}","notifications_url":"https://api.github.com/repos/substack/node-browserify/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/substack/node-browserify/labels{/name}","releases_url":"https://api.github.com/repos/substack/node-browserify/releases{/id}","created_at":"2010-09-22T16:11:32Z","updated_at":"2015-02-24T16:25:09Z","pushed_at":"2015-02-21T09:55:50Z","git_url":"git://github.com/substack/node-browserify.git","ssh_url":"git@github.com:substack/node-browserify.git","clone_url":"https://github.com/substack/node-browserify.git","svn_url":"https://github.com/substack/node-browserify","homepage":"http://browserify.org/","size":8917,"stargazers_count":6637,"watchers_count":6637,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":591,"mirror_url":null,"open_issues_count":191,"forks":591,"open_issues":191,"watchers":6637,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/substack/node-browserify/pulls/1139"},"html":{"href":"https://github.com/substack/node-browserify/pull/1139"},"issue":{"href":"https://api.github.com/repos/substack/node-browserify/issues/1139"},"comments":{"href":"https://api.github.com/repos/substack/node-browserify/issues/1139/comments"},"review_comments":{"href":"https://api.github.com/repos/substack/node-browserify/pulls/1139/comments"},"review_comment":{"href":"https://api.github.com/repos/substack/node-browserify/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/substack/node-browserify/pulls/1139/commits"},"statuses":{"href":"https://api.github.com/repos/substack/node-browserify/statuses/975a3a2e54403e141e77e0a12e7a2703438dbeb6"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":70,"deletions":1,"changed_files":2}}