{"action":"opened","number":6,"pull_request":{"url":"https://api.github.com/repos/mapbox/check-file-dependencies/pulls/6","id":142592790,"html_url":"https://github.com/mapbox/check-file-dependencies/pull/6","diff_url":"https://github.com/mapbox/check-file-dependencies/pull/6.diff","patch_url":"https://github.com/mapbox/check-file-dependencies/pull/6.patch","issue_url":"https://api.github.com/repos/mapbox/check-file-dependencies/issues/6","number":6,"state":"open","locked":false,"title":"List file's dependencies","user":{"login":"mcwhittemore","id":1551510,"avatar_url":"https://avatars0.githubusercontent.com/u/1551510?v=4","gravatar_id":"","url":"https://api.github.com/users/mcwhittemore","html_url":"https://github.com/mcwhittemore","followers_url":"https://api.github.com/users/mcwhittemore/followers","following_url":"https://api.github.com/users/mcwhittemore/following{/other_user}","gists_url":"https://api.github.com/users/mcwhittemore/gists{/gist_id}","starred_url":"https://api.github.com/users/mcwhittemore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcwhittemore/subscriptions","organizations_url":"https://api.github.com/users/mcwhittemore/orgs","repos_url":"https://api.github.com/users/mcwhittemore/repos","events_url":"https://api.github.com/users/mcwhittemore/events{/privacy}","received_events_url":"https://api.github.com/users/mcwhittemore/received_events","type":"User","site_admin":false},"body":"Currently this module just returns an error if the modules required by a file are not in the package.json or the versions installed in `node_modules` doesn't match what is in the package.json.\r\n\r\nThis PR starts to expand the functionality to find what modules are required by a file. An error will still be thrown if the module required is not in the package.json.\r\n\r\n- [ ] add tests\r\n- [ ] expose this as a function on the node modules rather than just as a cli option\r\n\r\ncc @rclark for thoughts","created_at":"2017-09-22T14:27:47Z","updated_at":"2017-09-22T14:27:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/mapbox/check-file-dependencies/pulls/6/commits","review_comments_url":"https://api.github.com/repos/mapbox/check-file-dependencies/pulls/6/comments","review_comment_url":"https://api.github.com/repos/mapbox/check-file-dependencies/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mapbox/check-file-dependencies/issues/6/comments","statuses_url":"https://api.github.com/repos/mapbox/check-file-dependencies/statuses/600317df4b21e6869d27a03d5ddccb2d6bea8498","head":{"label":"mapbox:list-deps-cli","ref":"list-deps-cli","sha":"600317df4b21e6869d27a03d5ddccb2d6bea8498","user":{"login":"mapbox","id":600935,"avatar_url":"https://avatars1.githubusercontent.com/u/600935?v=4","gravatar_id":"","url":"https://api.github.com/users/mapbox","html_url":"https://github.com/mapbox","followers_url":"https://api.github.com/users/mapbox/followers","following_url":"https://api.github.com/users/mapbox/following{/other_user}","gists_url":"https://api.github.com/users/mapbox/gists{/gist_id}","starred_url":"https://api.github.com/users/mapbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapbox/subscriptions","organizations_url":"https://api.github.com/users/mapbox/orgs","repos_url":"https://api.github.com/users/mapbox/repos","events_url":"https://api.github.com/users/mapbox/events{/privacy}","received_events_url":"https://api.github.com/users/mapbox/received_events","type":"Organization","site_admin":false},"repo":{"id":80269884,"name":"check-file-dependencies","full_name":"mapbox/check-file-dependencies","owner":{"login":"mapbox","id":600935,"avatar_url":"https://avatars1.githubusercontent.com/u/600935?v=4","gravatar_id":"","url":"https://api.github.com/users/mapbox","html_url":"https://github.com/mapbox","followers_url":"https://api.github.com/users/mapbox/followers","following_url":"https://api.github.com/users/mapbox/following{/other_user}","gists_url":"https://api.github.com/users/mapbox/gists{/gist_id}","starred_url":"https://api.github.com/users/mapbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapbox/subscriptions","organizations_url":"https://api.github.com/users/mapbox/orgs","repos_url":"https://api.github.com/users/mapbox/repos","events_url":"https://api.github.com/users/mapbox/events{/privacy}","received_events_url":"https://api.github.com/users/mapbox/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mapbox/check-file-dependencies","description":"Takes a file path and confirms the resolved node_modules match the package.json","fork":false,"url":"https://api.github.com/repos/mapbox/check-file-dependencies","forks_url":"https://api.github.com/repos/mapbox/check-file-dependencies/forks","keys_url":"https://api.github.com/repos/mapbox/check-file-dependencies/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mapbox/check-file-dependencies/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mapbox/check-file-dependencies/teams","hooks_url":"https://api.github.com/repos/mapbox/check-file-dependencies/hooks","issue_events_url":"https://api.github.com/repos/mapbox/check-file-dependencies/issues/events{/number}","events_url":"https://api.github.com/repos/mapbox/check-file-dependencies/events","assignees_url":"https://api.github.com/repos/mapbox/check-file-dependencies/assignees{/user}","branches_url":"https://api.github.com/repos/mapbox/check-file-dependencies/branches{/branch}","tags_url":"https://api.github.com/repos/mapbox/check-file-dependencies/tags","blobs_url":"https://api.github.com/repos/mapbox/check-file-dependencies/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mapbox/check-file-dependencies/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mapbox/check-file-dependencies/git/refs{/sha}","trees_url":"https://api.github.com/repos/mapbox/check-file-dependencies/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mapbox/check-file-dependencies/statuses/{sha}","languages_url":"https://api.github.com/repos/mapbox/check-file-dependencies/languages","stargazers_url":"https://api.github.com/repos/mapbox/check-file-dependencies/stargazers","contributors_url":"https://api.github.com/repos/mapbox/check-file-dependencies/contributors","subscribers_url":"https://api.github.com/repos/mapbox/check-file-dependencies/subscribers","subscription_url":"https://api.github.com/repos/mapbox/check-file-dependencies/subscription","commits_url":"https://api.github.com/repos/mapbox/check-file-dependencies/commits{/sha}","git_commits_url":"https://api.github.com/repos/mapbox/check-file-dependencies/git/commits{/sha}","comments_url":"https://api.github.com/repos/mapbox/check-file-dependencies/comments{/number}","issue_comment_url":"https://api.github.com/repos/mapbox/check-file-dependencies/issues/comments{/number}","contents_url":"https://api.github.com/repos/mapbox/check-file-dependencies/contents/{+path}","compare_url":"https://api.github.com/repos/mapbox/check-file-dependencies/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mapbox/check-file-dependencies/merges","archive_url":"https://api.github.com/repos/mapbox/check-file-dependencies/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mapbox/check-file-dependencies/downloads","issues_url":"https://api.github.com/repos/mapbox/check-file-dependencies/issues{/number}","pulls_url":"https://api.github.com/repos/mapbox/check-file-dependencies/pulls{/number}","milestones_url":"https://api.github.com/repos/mapbox/check-file-dependencies/milestones{/number}","notifications_url":"https://api.github.com/repos/mapbox/check-file-dependencies/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mapbox/check-file-dependencies/labels{/name}","releases_url":"https://api.github.com/repos/mapbox/check-file-dependencies/releases{/id}","deployments_url":"https://api.github.com/repos/mapbox/check-file-dependencies/deployments","created_at":"2017-01-28T06:14:06Z","updated_at":"2017-01-28T06:14:16Z","pushed_at":"2017-09-22T14:25:00Z","git_url":"git://github.com/mapbox/check-file-dependencies.git","ssh_url":"git@github.com:mapbox/check-file-dependencies.git","clone_url":"https://github.com/mapbox/check-file-dependencies.git","svn_url":"https://github.com/mapbox/check-file-dependencies","homepage":null,"size":1368,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"mapbox:master","ref":"master","sha":"a87b99dfd98dee6efdb0a5fc32be5169c68289d3","user":{"login":"mapbox","id":600935,"avatar_url":"https://avatars1.githubusercontent.com/u/600935?v=4","gravatar_id":"","url":"https://api.github.com/users/mapbox","html_url":"https://github.com/mapbox","followers_url":"https://api.github.com/users/mapbox/followers","following_url":"https://api.github.com/users/mapbox/following{/other_user}","gists_url":"https://api.github.com/users/mapbox/gists{/gist_id}","starred_url":"https://api.github.com/users/mapbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapbox/subscriptions","organizations_url":"https://api.github.com/users/mapbox/orgs","repos_url":"https://api.github.com/users/mapbox/repos","events_url":"https://api.github.com/users/mapbox/events{/privacy}","received_events_url":"https://api.github.com/users/mapbox/received_events","type":"Organization","site_admin":false},"repo":{"id":80269884,"name":"check-file-dependencies","full_name":"mapbox/check-file-dependencies","owner":{"login":"mapbox","id":600935,"avatar_url":"https://avatars1.githubusercontent.com/u/600935?v=4","gravatar_id":"","url":"https://api.github.com/users/mapbox","html_url":"https://github.com/mapbox","followers_url":"https://api.github.com/users/mapbox/followers","following_url":"https://api.github.com/users/mapbox/following{/other_user}","gists_url":"https://api.github.com/users/mapbox/gists{/gist_id}","starred_url":"https://api.github.com/users/mapbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapbox/subscriptions","organizations_url":"https://api.github.com/users/mapbox/orgs","repos_url":"https://api.github.com/users/mapbox/repos","events_url":"https://api.github.com/users/mapbox/events{/privacy}","received_events_url":"https://api.github.com/users/mapbox/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mapbox/check-file-dependencies","description":"Takes a file path and confirms the resolved node_modules match the package.json","fork":false,"url":"https://api.github.com/repos/mapbox/check-file-dependencies","forks_url":"https://api.github.com/repos/mapbox/check-file-dependencies/forks","keys_url":"https://api.github.com/repos/mapbox/check-file-dependencies/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mapbox/check-file-dependencies/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mapbox/check-file-dependencies/teams","hooks_url":"https://api.github.com/repos/mapbox/check-file-dependencies/hooks","issue_events_url":"https://api.github.com/repos/mapbox/check-file-dependencies/issues/events{/number}","events_url":"https://api.github.com/repos/mapbox/check-file-dependencies/events","assignees_url":"https://api.github.com/repos/mapbox/check-file-dependencies/assignees{/user}","branches_url":"https://api.github.com/repos/mapbox/check-file-dependencies/branches{/branch}","tags_url":"https://api.github.com/repos/mapbox/check-file-dependencies/tags","blobs_url":"https://api.github.com/repos/mapbox/check-file-dependencies/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mapbox/check-file-dependencies/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mapbox/check-file-dependencies/git/refs{/sha}","trees_url":"https://api.github.com/repos/mapbox/check-file-dependencies/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mapbox/check-file-dependencies/statuses/{sha}","languages_url":"https://api.github.com/repos/mapbox/check-file-dependencies/languages","stargazers_url":"https://api.github.com/repos/mapbox/check-file-dependencies/stargazers","contributors_url":"https://api.github.com/repos/mapbox/check-file-dependencies/contributors","subscribers_url":"https://api.github.com/repos/mapbox/check-file-dependencies/subscribers","subscription_url":"https://api.github.com/repos/mapbox/check-file-dependencies/subscription","commits_url":"https://api.github.com/repos/mapbox/check-file-dependencies/commits{/sha}","git_commits_url":"https://api.github.com/repos/mapbox/check-file-dependencies/git/commits{/sha}","comments_url":"https://api.github.com/repos/mapbox/check-file-dependencies/comments{/number}","issue_comment_url":"https://api.github.com/repos/mapbox/check-file-dependencies/issues/comments{/number}","contents_url":"https://api.github.com/repos/mapbox/check-file-dependencies/contents/{+path}","compare_url":"https://api.github.com/repos/mapbox/check-file-dependencies/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mapbox/check-file-dependencies/merges","archive_url":"https://api.github.com/repos/mapbox/check-file-dependencies/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mapbox/check-file-dependencies/downloads","issues_url":"https://api.github.com/repos/mapbox/check-file-dependencies/issues{/number}","pulls_url":"https://api.github.com/repos/mapbox/check-file-dependencies/pulls{/number}","milestones_url":"https://api.github.com/repos/mapbox/check-file-dependencies/milestones{/number}","notifications_url":"https://api.github.com/repos/mapbox/check-file-dependencies/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mapbox/check-file-dependencies/labels{/name}","releases_url":"https://api.github.com/repos/mapbox/check-file-dependencies/releases{/id}","deployments_url":"https://api.github.com/repos/mapbox/check-file-dependencies/deployments","created_at":"2017-01-28T06:14:06Z","updated_at":"2017-01-28T06:14:16Z","pushed_at":"2017-09-22T14:25:00Z","git_url":"git://github.com/mapbox/check-file-dependencies.git","ssh_url":"git@github.com:mapbox/check-file-dependencies.git","clone_url":"https://github.com/mapbox/check-file-dependencies.git","svn_url":"https://github.com/mapbox/check-file-dependencies","homepage":null,"size":1368,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mapbox/check-file-dependencies/pulls/6"},"html":{"href":"https://github.com/mapbox/check-file-dependencies/pull/6"},"issue":{"href":"https://api.github.com/repos/mapbox/check-file-dependencies/issues/6"},"comments":{"href":"https://api.github.com/repos/mapbox/check-file-dependencies/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/mapbox/check-file-dependencies/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/mapbox/check-file-dependencies/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mapbox/check-file-dependencies/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/mapbox/check-file-dependencies/statuses/600317df4b21e6869d27a03d5ddccb2d6bea8498"}},"author_association":"MEMBER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":46,"deletions":1,"changed_files":3}}
{"actor":{"display_login":"mcwhittemore"}}