{"action":"closed","number":1,"pull_request":{"url":"https://api.github.com/repos/beeankha/security-on-github/pulls/1","id":229905883,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI5OTA1ODgz","html_url":"https://github.com/beeankha/security-on-github/pull/1","diff_url":"https://github.com/beeankha/security-on-github/pull/1.diff","patch_url":"https://github.com/beeankha/security-on-github/pull/1.patch","issue_url":"https://api.github.com/repos/beeankha/security-on-github/issues/1","number":1,"state":"closed","locked":false,"title":"Update the vulnerable dependency","user":{"login":"github-learning-lab[bot]","id":37936606,"node_id":"MDM6Qm90Mzc5MzY2MDY=","avatar_url":"https://avatars0.githubusercontent.com/in/10572?v=4","gravatar_id":"","url":"https://api.github.com/users/github-learning-lab%5Bbot%5D","html_url":"https://github.com/apps/github-learning-lab","followers_url":"https://api.github.com/users/github-learning-lab%5Bbot%5D/followers","following_url":"https://api.github.com/users/github-learning-lab%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/github-learning-lab%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/github-learning-lab%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-learning-lab%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/github-learning-lab%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/github-learning-lab%5Bbot%5D/repos","events_url":"https://api.github.com/users/github-learning-lab%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/github-learning-lab%5Bbot%5D/received_events","type":"Bot","site_admin":false},"body":"## Update the dependency\n\nNext, we'll go through the GitHub Flow to make some changes. If you aren't sure how to do this, try the [Introduction to GitHub course](https://lab.github.com/githubtraining/introduction-to-github) and then come back to give it another try.\n\n> _Note: Before doing this with real world code, make sure that the upgraded package works with your code. Good unit tests and CI (continuous integration) will help you update with confidence._\n\n## Step 4: Updating dependency versions\n\nNow that you know the recommended version, it's time to edit the `package.json` file. You'll upgrade the package to a non-vulnerable version.\n\n### :keyboard: Activity: Update the `package.json` file\n\n1. Within this pull request, go to **Files changed**\n1. Click the pencil in the right upper corner to edit the `package.json` file\n1. Fix the vulnerability by updating to the latest version of the dependency that you took note of earlier\n1. Scroll down, and commit your change\n","created_at":"2018-11-10T18:37:57Z","updated_at":"2018-11-28T18:44:37Z","closed_at":"2018-11-28T18:44:37Z","merged_at":"2018-11-28T18:44:37Z","merge_commit_sha":"4e9124f8b1c1df9658d56bf72eab6a7aca416bd7","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/beeankha/security-on-github/pulls/1/commits","review_comments_url":"https://api.github.com/repos/beeankha/security-on-github/pulls/1/comments","review_comment_url":"https://api.github.com/repos/beeankha/security-on-github/pulls/comments{/number}","comments_url":"https://api.github.com/repos/beeankha/security-on-github/issues/1/comments","statuses_url":"https://api.github.com/repos/beeankha/security-on-github/statuses/e5a05bfad509c3cb68b99d667d397a69e223f6ad","head":{"label":"beeankha:update-dependency","ref":"update-dependency","sha":"e5a05bfad509c3cb68b99d667d397a69e223f6ad","user":{"login":"beeankha","id":28930622,"node_id":"MDQ6VXNlcjI4OTMwNjIy","avatar_url":"https://avatars0.githubusercontent.com/u/28930622?v=4","gravatar_id":"","url":"https://api.github.com/users/beeankha","html_url":"https://github.com/beeankha","followers_url":"https://api.github.com/users/beeankha/followers","following_url":"https://api.github.com/users/beeankha/following{/other_user}","gists_url":"https://api.github.com/users/beeankha/gists{/gist_id}","starred_url":"https://api.github.com/users/beeankha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beeankha/subscriptions","organizations_url":"https://api.github.com/users/beeankha/orgs","repos_url":"https://api.github.com/users/beeankha/repos","events_url":"https://api.github.com/users/beeankha/events{/privacy}","received_events_url":"https://api.github.com/users/beeankha/received_events","type":"User","site_admin":false},"repo":{"id":157010207,"node_id":"MDEwOlJlcG9zaXRvcnkxNTcwMTAyMDc=","name":"security-on-github","full_name":"beeankha/security-on-github","private":false,"owner":{"login":"beeankha","id":28930622,"node_id":"MDQ6VXNlcjI4OTMwNjIy","avatar_url":"https://avatars0.githubusercontent.com/u/28930622?v=4","gravatar_id":"","url":"https://api.github.com/users/beeankha","html_url":"https://github.com/beeankha","followers_url":"https://api.github.com/users/beeankha/followers","following_url":"https://api.github.com/users/beeankha/following{/other_user}","gists_url":"https://api.github.com/users/beeankha/gists{/gist_id}","starred_url":"https://api.github.com/users/beeankha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beeankha/subscriptions","organizations_url":"https://api.github.com/users/beeankha/orgs","repos_url":"https://api.github.com/users/beeankha/repos","events_url":"https://api.github.com/users/beeankha/events{/privacy}","received_events_url":"https://api.github.com/users/beeankha/received_events","type":"User","site_admin":false},"html_url":"https://github.com/beeankha/security-on-github","description":null,"fork":false,"url":"https://api.github.com/repos/beeankha/security-on-github","forks_url":"https://api.github.com/repos/beeankha/security-on-github/forks","keys_url":"https://api.github.com/repos/beeankha/security-on-github/keys{/key_id}","collaborators_url":"https://api.github.com/repos/beeankha/security-on-github/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/beeankha/security-on-github/teams","hooks_url":"https://api.github.com/repos/beeankha/security-on-github/hooks","issue_events_url":"https://api.github.com/repos/beeankha/security-on-github/issues/events{/number}","events_url":"https://api.github.com/repos/beeankha/security-on-github/events","assignees_url":"https://api.github.com/repos/beeankha/security-on-github/assignees{/user}","branches_url":"https://api.github.com/repos/beeankha/security-on-github/branches{/branch}","tags_url":"https://api.github.com/repos/beeankha/security-on-github/tags","blobs_url":"https://api.github.com/repos/beeankha/security-on-github/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/beeankha/security-on-github/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/beeankha/security-on-github/git/refs{/sha}","trees_url":"https://api.github.com/repos/beeankha/security-on-github/git/trees{/sha}","statuses_url":"https://api.github.com/repos/beeankha/security-on-github/statuses/{sha}","languages_url":"https://api.github.com/repos/beeankha/security-on-github/languages","stargazers_url":"https://api.github.com/repos/beeankha/security-on-github/stargazers","contributors_url":"https://api.github.com/repos/beeankha/security-on-github/contributors","subscribers_url":"https://api.github.com/repos/beeankha/security-on-github/subscribers","subscription_url":"https://api.github.com/repos/beeankha/security-on-github/subscription","commits_url":"https://api.github.com/repos/beeankha/security-on-github/commits{/sha}","git_commits_url":"https://api.github.com/repos/beeankha/security-on-github/git/commits{/sha}","comments_url":"https://api.github.com/repos/beeankha/security-on-github/comments{/number}","issue_comment_url":"https://api.github.com/repos/beeankha/security-on-github/issues/comments{/number}","contents_url":"https://api.github.com/repos/beeankha/security-on-github/contents/{+path}","compare_url":"https://api.github.com/repos/beeankha/security-on-github/compare/{base}...{head}","merges_url":"https://api.github.com/repos/beeankha/security-on-github/merges","archive_url":"https://api.github.com/repos/beeankha/security-on-github/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/beeankha/security-on-github/downloads","issues_url":"https://api.github.com/repos/beeankha/security-on-github/issues{/number}","pulls_url":"https://api.github.com/repos/beeankha/security-on-github/pulls{/number}","milestones_url":"https://api.github.com/repos/beeankha/security-on-github/milestones{/number}","notifications_url":"https://api.github.com/repos/beeankha/security-on-github/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/beeankha/security-on-github/labels{/name}","releases_url":"https://api.github.com/repos/beeankha/security-on-github/releases{/id}","deployments_url":"https://api.github.com/repos/beeankha/security-on-github/deployments","created_at":"2018-11-10T18:37:38Z","updated_at":"2018-11-10T18:37:46Z","pushed_at":"2018-11-28T18:44:37Z","git_url":"git://github.com/beeankha/security-on-github.git","ssh_url":"git@github.com:beeankha/security-on-github.git","clone_url":"https://github.com/beeankha/security-on-github.git","svn_url":"https://github.com/beeankha/security-on-github","homepage":"https://lab.github.com/githubtraining/securing-your-workflows","size":5,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"beeankha:master","ref":"master","sha":"b6039e7c8ce6c229c05a66380215fc9fb088ad3c","user":{"login":"beeankha","id":28930622,"node_id":"MDQ6VXNlcjI4OTMwNjIy","avatar_url":"https://avatars0.githubusercontent.com/u/28930622?v=4","gravatar_id":"","url":"https://api.github.com/users/beeankha","html_url":"https://github.com/beeankha","followers_url":"https://api.github.com/users/beeankha/followers","following_url":"https://api.github.com/users/beeankha/following{/other_user}","gists_url":"https://api.github.com/users/beeankha/gists{/gist_id}","starred_url":"https://api.github.com/users/beeankha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beeankha/subscriptions","organizations_url":"https://api.github.com/users/beeankha/orgs","repos_url":"https://api.github.com/users/beeankha/repos","events_url":"https://api.github.com/users/beeankha/events{/privacy}","received_events_url":"https://api.github.com/users/beeankha/received_events","type":"User","site_admin":false},"repo":{"id":157010207,"node_id":"MDEwOlJlcG9zaXRvcnkxNTcwMTAyMDc=","name":"security-on-github","full_name":"beeankha/security-on-github","private":false,"owner":{"login":"beeankha","id":28930622,"node_id":"MDQ6VXNlcjI4OTMwNjIy","avatar_url":"https://avatars0.githubusercontent.com/u/28930622?v=4","gravatar_id":"","url":"https://api.github.com/users/beeankha","html_url":"https://github.com/beeankha","followers_url":"https://api.github.com/users/beeankha/followers","following_url":"https://api.github.com/users/beeankha/following{/other_user}","gists_url":"https://api.github.com/users/beeankha/gists{/gist_id}","starred_url":"https://api.github.com/users/beeankha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beeankha/subscriptions","organizations_url":"https://api.github.com/users/beeankha/orgs","repos_url":"https://api.github.com/users/beeankha/repos","events_url":"https://api.github.com/users/beeankha/events{/privacy}","received_events_url":"https://api.github.com/users/beeankha/received_events","type":"User","site_admin":false},"html_url":"https://github.com/beeankha/security-on-github","description":null,"fork":false,"url":"https://api.github.com/repos/beeankha/security-on-github","forks_url":"https://api.github.com/repos/beeankha/security-on-github/forks","keys_url":"https://api.github.com/repos/beeankha/security-on-github/keys{/key_id}","collaborators_url":"https://api.github.com/repos/beeankha/security-on-github/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/beeankha/security-on-github/teams","hooks_url":"https://api.github.com/repos/beeankha/security-on-github/hooks","issue_events_url":"https://api.github.com/repos/beeankha/security-on-github/issues/events{/number}","events_url":"https://api.github.com/repos/beeankha/security-on-github/events","assignees_url":"https://api.github.com/repos/beeankha/security-on-github/assignees{/user}","branches_url":"https://api.github.com/repos/beeankha/security-on-github/branches{/branch}","tags_url":"https://api.github.com/repos/beeankha/security-on-github/tags","blobs_url":"https://api.github.com/repos/beeankha/security-on-github/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/beeankha/security-on-github/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/beeankha/security-on-github/git/refs{/sha}","trees_url":"https://api.github.com/repos/beeankha/security-on-github/git/trees{/sha}","statuses_url":"https://api.github.com/repos/beeankha/security-on-github/statuses/{sha}","languages_url":"https://api.github.com/repos/beeankha/security-on-github/languages","stargazers_url":"https://api.github.com/repos/beeankha/security-on-github/stargazers","contributors_url":"https://api.github.com/repos/beeankha/security-on-github/contributors","subscribers_url":"https://api.github.com/repos/beeankha/security-on-github/subscribers","subscription_url":"https://api.github.com/repos/beeankha/security-on-github/subscription","commits_url":"https://api.github.com/repos/beeankha/security-on-github/commits{/sha}","git_commits_url":"https://api.github.com/repos/beeankha/security-on-github/git/commits{/sha}","comments_url":"https://api.github.com/repos/beeankha/security-on-github/comments{/number}","issue_comment_url":"https://api.github.com/repos/beeankha/security-on-github/issues/comments{/number}","contents_url":"https://api.github.com/repos/beeankha/security-on-github/contents/{+path}","compare_url":"https://api.github.com/repos/beeankha/security-on-github/compare/{base}...{head}","merges_url":"https://api.github.com/repos/beeankha/security-on-github/merges","archive_url":"https://api.github.com/repos/beeankha/security-on-github/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/beeankha/security-on-github/downloads","issues_url":"https://api.github.com/repos/beeankha/security-on-github/issues{/number}","pulls_url":"https://api.github.com/repos/beeankha/security-on-github/pulls{/number}","milestones_url":"https://api.github.com/repos/beeankha/security-on-github/milestones{/number}","notifications_url":"https://api.github.com/repos/beeankha/security-on-github/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/beeankha/security-on-github/labels{/name}","releases_url":"https://api.github.com/repos/beeankha/security-on-github/releases{/id}","deployments_url":"https://api.github.com/repos/beeankha/security-on-github/deployments","created_at":"2018-11-10T18:37:38Z","updated_at":"2018-11-10T18:37:46Z","pushed_at":"2018-11-28T18:44:37Z","git_url":"git://github.com/beeankha/security-on-github.git","ssh_url":"git@github.com:beeankha/security-on-github.git","clone_url":"https://github.com/beeankha/security-on-github.git","svn_url":"https://github.com/beeankha/security-on-github","homepage":"https://lab.github.com/githubtraining/securing-your-workflows","size":5,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/beeankha/security-on-github/pulls/1"},"html":{"href":"https://github.com/beeankha/security-on-github/pull/1"},"issue":{"href":"https://api.github.com/repos/beeankha/security-on-github/issues/1"},"comments":{"href":"https://api.github.com/repos/beeankha/security-on-github/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/beeankha/security-on-github/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/beeankha/security-on-github/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/beeankha/security-on-github/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/beeankha/security-on-github/statuses/e5a05bfad509c3cb68b99d667d397a69e223f6ad"}},"author_association":"NONE","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"beeankha","id":28930622,"node_id":"MDQ6VXNlcjI4OTMwNjIy","avatar_url":"https://avatars0.githubusercontent.com/u/28930622?v=4","gravatar_id":"","url":"https://api.github.com/users/beeankha","html_url":"https://github.com/beeankha","followers_url":"https://api.github.com/users/beeankha/followers","following_url":"https://api.github.com/users/beeankha/following{/other_user}","gists_url":"https://api.github.com/users/beeankha/gists{/gist_id}","starred_url":"https://api.github.com/users/beeankha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beeankha/subscriptions","organizations_url":"https://api.github.com/users/beeankha/orgs","repos_url":"https://api.github.com/users/beeankha/repos","events_url":"https://api.github.com/users/beeankha/events{/privacy}","received_events_url":"https://api.github.com/users/beeankha/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"beeankha"}}