{"action":"opened","number":42,"pull_request":{"url":"https://api.github.com/repos/felixge/node-require-all/pulls/42","id":97407160,"html_url":"https://github.com/felixge/node-require-all/pull/42","diff_url":"https://github.com/felixge/node-require-all/pull/42.diff","patch_url":"https://github.com/felixge/node-require-all/pull/42.patch","issue_url":"https://api.github.com/repos/felixge/node-require-all/issues/42","number":42,"state":"open","locked":false,"title":"Added support for relative paths, `__dirname` no longer necessary (#41 followup)","user":{"login":"seymar","id":448636,"avatar_url":"https://avatars.githubusercontent.com/u/448636?v=3","gravatar_id":"","url":"https://api.github.com/users/seymar","html_url":"https://github.com/seymar","followers_url":"https://api.github.com/users/seymar/followers","following_url":"https://api.github.com/users/seymar/following{/other_user}","gists_url":"https://api.github.com/users/seymar/gists{/gist_id}","starred_url":"https://api.github.com/users/seymar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seymar/subscriptions","organizations_url":"https://api.github.com/users/seymar/orgs","repos_url":"https://api.github.com/users/seymar/repos","events_url":"https://api.github.com/users/seymar/events{/privacy}","received_events_url":"https://api.github.com/users/seymar/received_events","type":"User","site_admin":false},"body":"Follow up on #41 \r\n\r\n- Got relative paths working on all the node versions 0.6, 0.8, 0.10 etc.\r\n- Used stack trace to get the caller instead of `module.parent.filename` which caused [issues with cached modules](https://github.com/felixge/node-require-all/pull/41#issuecomment-265566058)\r\n\r\n(The property name and absolute path of required file are also passed to the resolve function as in #40)","created_at":"2016-12-10T01:27:41Z","updated_at":"2016-12-10T01:27:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/felixge/node-require-all/pulls/42/commits","review_comments_url":"https://api.github.com/repos/felixge/node-require-all/pulls/42/comments","review_comment_url":"https://api.github.com/repos/felixge/node-require-all/pulls/comments{/number}","comments_url":"https://api.github.com/repos/felixge/node-require-all/issues/42/comments","statuses_url":"https://api.github.com/repos/felixge/node-require-all/statuses/4c7d17437e5d48ec13abf30941031f783f031f76","head":{"label":"seymar:no-absolute-path","ref":"no-absolute-path","sha":"4c7d17437e5d48ec13abf30941031f783f031f76","user":{"login":"seymar","id":448636,"avatar_url":"https://avatars.githubusercontent.com/u/448636?v=3","gravatar_id":"","url":"https://api.github.com/users/seymar","html_url":"https://github.com/seymar","followers_url":"https://api.github.com/users/seymar/followers","following_url":"https://api.github.com/users/seymar/following{/other_user}","gists_url":"https://api.github.com/users/seymar/gists{/gist_id}","starred_url":"https://api.github.com/users/seymar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seymar/subscriptions","organizations_url":"https://api.github.com/users/seymar/orgs","repos_url":"https://api.github.com/users/seymar/repos","events_url":"https://api.github.com/users/seymar/events{/privacy}","received_events_url":"https://api.github.com/users/seymar/received_events","type":"User","site_admin":false},"repo":{"id":75774521,"name":"node-require-all","full_name":"seymar/node-require-all","owner":{"login":"seymar","id":448636,"avatar_url":"https://avatars.githubusercontent.com/u/448636?v=3","gravatar_id":"","url":"https://api.github.com/users/seymar","html_url":"https://github.com/seymar","followers_url":"https://api.github.com/users/seymar/followers","following_url":"https://api.github.com/users/seymar/following{/other_user}","gists_url":"https://api.github.com/users/seymar/gists{/gist_id}","starred_url":"https://api.github.com/users/seymar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seymar/subscriptions","organizations_url":"https://api.github.com/users/seymar/orgs","repos_url":"https://api.github.com/users/seymar/repos","events_url":"https://api.github.com/users/seymar/events{/privacy}","received_events_url":"https://api.github.com/users/seymar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/seymar/node-require-all","description":"An easy way to require all files within a directory.","fork":true,"url":"https://api.github.com/repos/seymar/node-require-all","forks_url":"https://api.github.com/repos/seymar/node-require-all/forks","keys_url":"https://api.github.com/repos/seymar/node-require-all/keys{/key_id}","collaborators_url":"https://api.github.com/repos/seymar/node-require-all/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/seymar/node-require-all/teams","hooks_url":"https://api.github.com/repos/seymar/node-require-all/hooks","issue_events_url":"https://api.github.com/repos/seymar/node-require-all/issues/events{/number}","events_url":"https://api.github.com/repos/seymar/node-require-all/events","assignees_url":"https://api.github.com/repos/seymar/node-require-all/assignees{/user}","branches_url":"https://api.github.com/repos/seymar/node-require-all/branches{/branch}","tags_url":"https://api.github.com/repos/seymar/node-require-all/tags","blobs_url":"https://api.github.com/repos/seymar/node-require-all/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/seymar/node-require-all/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/seymar/node-require-all/git/refs{/sha}","trees_url":"https://api.github.com/repos/seymar/node-require-all/git/trees{/sha}","statuses_url":"https://api.github.com/repos/seymar/node-require-all/statuses/{sha}","languages_url":"https://api.github.com/repos/seymar/node-require-all/languages","stargazers_url":"https://api.github.com/repos/seymar/node-require-all/stargazers","contributors_url":"https://api.github.com/repos/seymar/node-require-all/contributors","subscribers_url":"https://api.github.com/repos/seymar/node-require-all/subscribers","subscription_url":"https://api.github.com/repos/seymar/node-require-all/subscription","commits_url":"https://api.github.com/repos/seymar/node-require-all/commits{/sha}","git_commits_url":"https://api.github.com/repos/seymar/node-require-all/git/commits{/sha}","comments_url":"https://api.github.com/repos/seymar/node-require-all/comments{/number}","issue_comment_url":"https://api.github.com/repos/seymar/node-require-all/issues/comments{/number}","contents_url":"https://api.github.com/repos/seymar/node-require-all/contents/{+path}","compare_url":"https://api.github.com/repos/seymar/node-require-all/compare/{base}...{head}","merges_url":"https://api.github.com/repos/seymar/node-require-all/merges","archive_url":"https://api.github.com/repos/seymar/node-require-all/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/seymar/node-require-all/downloads","issues_url":"https://api.github.com/repos/seymar/node-require-all/issues{/number}","pulls_url":"https://api.github.com/repos/seymar/node-require-all/pulls{/number}","milestones_url":"https://api.github.com/repos/seymar/node-require-all/milestones{/number}","notifications_url":"https://api.github.com/repos/seymar/node-require-all/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/seymar/node-require-all/labels{/name}","releases_url":"https://api.github.com/repos/seymar/node-require-all/releases{/id}","deployments_url":"https://api.github.com/repos/seymar/node-require-all/deployments","created_at":"2016-12-06T21:48:59Z","updated_at":"2016-12-06T21:49:00Z","pushed_at":"2016-12-10T01:11:54Z","git_url":"git://github.com/seymar/node-require-all.git","ssh_url":"git@github.com:seymar/node-require-all.git","clone_url":"https://github.com/seymar/node-require-all.git","svn_url":"https://github.com/seymar/node-require-all","homepage":"","size":50,"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":"felixge:master","ref":"master","sha":"bafc35da365fa9a34870bb790539254c03d4eee3","user":{"login":"felixge","id":15000,"avatar_url":"https://avatars.githubusercontent.com/u/15000?v=3","gravatar_id":"","url":"https://api.github.com/users/felixge","html_url":"https://github.com/felixge","followers_url":"https://api.github.com/users/felixge/followers","following_url":"https://api.github.com/users/felixge/following{/other_user}","gists_url":"https://api.github.com/users/felixge/gists{/gist_id}","starred_url":"https://api.github.com/users/felixge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felixge/subscriptions","organizations_url":"https://api.github.com/users/felixge/orgs","repos_url":"https://api.github.com/users/felixge/repos","events_url":"https://api.github.com/users/felixge/events{/privacy}","received_events_url":"https://api.github.com/users/felixge/received_events","type":"User","site_admin":false},"repo":{"id":2979991,"name":"node-require-all","full_name":"felixge/node-require-all","owner":{"login":"felixge","id":15000,"avatar_url":"https://avatars.githubusercontent.com/u/15000?v=3","gravatar_id":"","url":"https://api.github.com/users/felixge","html_url":"https://github.com/felixge","followers_url":"https://api.github.com/users/felixge/followers","following_url":"https://api.github.com/users/felixge/following{/other_user}","gists_url":"https://api.github.com/users/felixge/gists{/gist_id}","starred_url":"https://api.github.com/users/felixge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felixge/subscriptions","organizations_url":"https://api.github.com/users/felixge/orgs","repos_url":"https://api.github.com/users/felixge/repos","events_url":"https://api.github.com/users/felixge/events{/privacy}","received_events_url":"https://api.github.com/users/felixge/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/felixge/node-require-all","description":"An easy way to require all files within a directory.","fork":false,"url":"https://api.github.com/repos/felixge/node-require-all","forks_url":"https://api.github.com/repos/felixge/node-require-all/forks","keys_url":"https://api.github.com/repos/felixge/node-require-all/keys{/key_id}","collaborators_url":"https://api.github.com/repos/felixge/node-require-all/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/felixge/node-require-all/teams","hooks_url":"https://api.github.com/repos/felixge/node-require-all/hooks","issue_events_url":"https://api.github.com/repos/felixge/node-require-all/issues/events{/number}","events_url":"https://api.github.com/repos/felixge/node-require-all/events","assignees_url":"https://api.github.com/repos/felixge/node-require-all/assignees{/user}","branches_url":"https://api.github.com/repos/felixge/node-require-all/branches{/branch}","tags_url":"https://api.github.com/repos/felixge/node-require-all/tags","blobs_url":"https://api.github.com/repos/felixge/node-require-all/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/felixge/node-require-all/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/felixge/node-require-all/git/refs{/sha}","trees_url":"https://api.github.com/repos/felixge/node-require-all/git/trees{/sha}","statuses_url":"https://api.github.com/repos/felixge/node-require-all/statuses/{sha}","languages_url":"https://api.github.com/repos/felixge/node-require-all/languages","stargazers_url":"https://api.github.com/repos/felixge/node-require-all/stargazers","contributors_url":"https://api.github.com/repos/felixge/node-require-all/contributors","subscribers_url":"https://api.github.com/repos/felixge/node-require-all/subscribers","subscription_url":"https://api.github.com/repos/felixge/node-require-all/subscription","commits_url":"https://api.github.com/repos/felixge/node-require-all/commits{/sha}","git_commits_url":"https://api.github.com/repos/felixge/node-require-all/git/commits{/sha}","comments_url":"https://api.github.com/repos/felixge/node-require-all/comments{/number}","issue_comment_url":"https://api.github.com/repos/felixge/node-require-all/issues/comments{/number}","contents_url":"https://api.github.com/repos/felixge/node-require-all/contents/{+path}","compare_url":"https://api.github.com/repos/felixge/node-require-all/compare/{base}...{head}","merges_url":"https://api.github.com/repos/felixge/node-require-all/merges","archive_url":"https://api.github.com/repos/felixge/node-require-all/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/felixge/node-require-all/downloads","issues_url":"https://api.github.com/repos/felixge/node-require-all/issues{/number}","pulls_url":"https://api.github.com/repos/felixge/node-require-all/pulls{/number}","milestones_url":"https://api.github.com/repos/felixge/node-require-all/milestones{/number}","notifications_url":"https://api.github.com/repos/felixge/node-require-all/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/felixge/node-require-all/labels{/name}","releases_url":"https://api.github.com/repos/felixge/node-require-all/releases{/id}","deployments_url":"https://api.github.com/repos/felixge/node-require-all/deployments","created_at":"2011-12-14T13:16:11Z","updated_at":"2016-12-09T13:02:33Z","pushed_at":"2016-12-07T20:34:11Z","git_url":"git://github.com/felixge/node-require-all.git","ssh_url":"git@github.com:felixge/node-require-all.git","clone_url":"https://github.com/felixge/node-require-all.git","svn_url":"https://github.com/felixge/node-require-all","homepage":"","size":49,"stargazers_count":169,"watchers_count":169,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":37,"mirror_url":null,"open_issues_count":6,"forks":37,"open_issues":6,"watchers":169,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/felixge/node-require-all/pulls/42"},"html":{"href":"https://github.com/felixge/node-require-all/pull/42"},"issue":{"href":"https://api.github.com/repos/felixge/node-require-all/issues/42"},"comments":{"href":"https://api.github.com/repos/felixge/node-require-all/issues/42/comments"},"review_comments":{"href":"https://api.github.com/repos/felixge/node-require-all/pulls/42/comments"},"review_comment":{"href":"https://api.github.com/repos/felixge/node-require-all/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/felixge/node-require-all/pulls/42/commits"},"statuses":{"href":"https://api.github.com/repos/felixge/node-require-all/statuses/4c7d17437e5d48ec13abf30941031f783f031f76"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":16,"additions":162,"deletions":75,"changed_files":10}}
{"actor":{"display_login":"seymar"}}