{"action":"opened","number":14,"pull_request":{"url":"https://api.github.com/repos/keycloak/keycloak-nodejs-auth-utils/pulls/14","id":69722060,"html_url":"https://github.com/keycloak/keycloak-nodejs-auth-utils/pull/14","diff_url":"https://github.com/keycloak/keycloak-nodejs-auth-utils/pull/14.diff","patch_url":"https://github.com/keycloak/keycloak-nodejs-auth-utils/pull/14.patch","issue_url":"https://api.github.com/repos/keycloak/keycloak-nodejs-auth-utils/issues/14","number":14,"state":"open","locked":false,"title":"Convert module to ES2015","user":{"login":"lance","id":15952,"avatar_url":"https://avatars.githubusercontent.com/u/15952?v=3","gravatar_id":"","url":"https://api.github.com/users/lance","html_url":"https://github.com/lance","followers_url":"https://api.github.com/users/lance/followers","following_url":"https://api.github.com/users/lance/following{/other_user}","gists_url":"https://api.github.com/users/lance/gists{/gist_id}","starred_url":"https://api.github.com/users/lance/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lance/subscriptions","organizations_url":"https://api.github.com/users/lance/orgs","repos_url":"https://api.github.com/users/lance/repos","events_url":"https://api.github.com/users/lance/events{/privacy}","received_events_url":"https://api.github.com/users/lance/received_events","type":"User","site_admin":false},"body":"This pull request includes conversion of certain syntax to ES2015. Node.js 4.x compatibility has been maintained. Changes are limited to:\r\n\r\n  - The use of `const` and `let` instead of `var`\r\n  - The use of arrow functions where possible\r\n  - The removal of the `Q` promises library in favor of the ES2015 builtin `Promise`\r\n\r\nIn the spirit of clean non-global-polluting code, I have replaced the jasmine testing framework with tape.","created_at":"2016-05-11T18:45:19Z","updated_at":"2016-05-11T18:45:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/keycloak/keycloak-nodejs-auth-utils/pulls/14/commits","review_comments_url":"https://api.github.com/repos/keycloak/keycloak-nodejs-auth-utils/pulls/14/comments","review_comment_url":"https://api.github.com/repos/keycloak/keycloak-nodejs-auth-utils/pulls/comments{/number}","comments_url":"https://api.github.com/repos/keycloak/keycloak-nodejs-auth-utils/issues/14/comments","statuses_url":"https://api.github.com/repos/keycloak/keycloak-nodejs-auth-utils/statuses/67b141f971cce3565d15ebd60380301d92b6648c","head":{"label":"lance:es2015","ref":"es2015","sha":"67b141f971cce3565d15ebd60380301d92b6648c","user":{"login":"lance","id":15952,"avatar_url":"https://avatars.githubusercontent.com/u/15952?v=3","gravatar_id":"","url":"https://api.github.com/users/lance","html_url":"https://github.com/lance","followers_url":"https://api.github.com/users/lance/followers","following_url":"https://api.github.com/users/lance/following{/other_user}","gists_url":"https://api.github.com/users/lance/gists{/gist_id}","starred_url":"https://api.github.com/users/lance/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lance/subscriptions","organizations_url":"https://api.github.com/users/lance/orgs","repos_url":"https://api.github.com/users/lance/repos","events_url":"https://api.github.com/users/lance/events{/privacy}","received_events_url":"https://api.github.com/users/lance/received_events","type":"User","site_admin":false},"repo":{"id":56607336,"name":"keycloak-nodejs-auth-utils","full_name":"lance/keycloak-nodejs-auth-utils","owner":{"login":"lance","id":15952,"avatar_url":"https://avatars.githubusercontent.com/u/15952?v=3","gravatar_id":"","url":"https://api.github.com/users/lance","html_url":"https://github.com/lance","followers_url":"https://api.github.com/users/lance/followers","following_url":"https://api.github.com/users/lance/following{/other_user}","gists_url":"https://api.github.com/users/lance/gists{/gist_id}","starred_url":"https://api.github.com/users/lance/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lance/subscriptions","organizations_url":"https://api.github.com/users/lance/orgs","repos_url":"https://api.github.com/users/lance/repos","events_url":"https://api.github.com/users/lance/events{/privacy}","received_events_url":"https://api.github.com/users/lance/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lance/keycloak-nodejs-auth-utils","description":"","fork":true,"url":"https://api.github.com/repos/lance/keycloak-nodejs-auth-utils","forks_url":"https://api.github.com/repos/lance/keycloak-nodejs-auth-utils/forks","keys_url":"https://api.github.com/repos/lance/keycloak-nodejs-auth-utils/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lance/keycloak-nodejs-auth-utils/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lance/keycloak-nodejs-auth-utils/teams","hooks_url":"https://api.github.com/repos/lance/keycloak-nodejs-auth-utils/hooks","issue_events_url":"https://api.github.com/repos/lance/keycloak-nodejs-auth-utils/issues/events{/number}","events_url":"https://api.github.com/repos/lance/keycloak-nodejs-auth-utils/events","assignees_url":"https://api.github.com/repos/lance/keycloak-nodejs-auth-utils/assignees{/user}","branches_url":"https://api.github.com/repos/lance/keycloak-nodejs-auth-utils/branches{/branch}","tags_url":"https://api.github.com/repos/lance/keycloak-nodejs-auth-utils/tags","blobs_url":"https://api.github.com/repos/lance/keycloak-nodejs-auth-utils/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lance/keycloak-nodejs-auth-utils/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lance/keycloak-nodejs-auth-utils/git/refs{/sha}","trees_url":"https://api.github.com/repos/lance/keycloak-nodejs-auth-utils/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lance/keycloak-nodejs-auth-utils/statuses/{sha}","languages_url":"https://api.github.com/repos/lance/keycloak-nodejs-auth-utils/languages","stargazers_url":"https://api.github.com/repos/lance/keycloak-nodejs-auth-utils/stargazers","contributors_url":"https://api.github.com/repos/lance/keycloak-nodejs-auth-utils/contributors","subscribers_url":"https://api.github.com/repos/lance/keycloak-nodejs-auth-utils/subscribers","subscription_url":"https://api.github.com/repos/lance/keycloak-nodejs-auth-utils/subscription","commits_url":"https://api.github.com/repos/lance/keycloak-nodejs-auth-utils/commits{/sha}","git_commits_url":"https://api.github.com/repos/lance/keycloak-nodejs-auth-utils/git/commits{/sha}","comments_url":"https://api.github.com/repos/lance/keycloak-nodejs-auth-utils/comments{/number}","issue_comment_url":"https://api.github.com/repos/lance/keycloak-nodejs-auth-utils/issues/comments{/number}","contents_url":"https://api.github.com/repos/lance/keycloak-nodejs-auth-utils/contents/{+path}","compare_url":"https://api.github.com/repos/lance/keycloak-nodejs-auth-utils/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lance/keycloak-nodejs-auth-utils/merges","archive_url":"https://api.github.com/repos/lance/keycloak-nodejs-auth-utils/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lance/keycloak-nodejs-auth-utils/downloads","issues_url":"https://api.github.com/repos/lance/keycloak-nodejs-auth-utils/issues{/number}","pulls_url":"https://api.github.com/repos/lance/keycloak-nodejs-auth-utils/pulls{/number}","milestones_url":"https://api.github.com/repos/lance/keycloak-nodejs-auth-utils/milestones{/number}","notifications_url":"https://api.github.com/repos/lance/keycloak-nodejs-auth-utils/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lance/keycloak-nodejs-auth-utils/labels{/name}","releases_url":"https://api.github.com/repos/lance/keycloak-nodejs-auth-utils/releases{/id}","deployments_url":"https://api.github.com/repos/lance/keycloak-nodejs-auth-utils/deployments","created_at":"2016-04-19T15:09:27Z","updated_at":"2016-04-19T15:09:28Z","pushed_at":"2016-05-11T18:41:08Z","git_url":"git://github.com/lance/keycloak-nodejs-auth-utils.git","ssh_url":"git@github.com:lance/keycloak-nodejs-auth-utils.git","clone_url":"https://github.com/lance/keycloak-nodejs-auth-utils.git","svn_url":"https://github.com/lance/keycloak-nodejs-auth-utils","homepage":null,"size":139,"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":"keycloak:master","ref":"master","sha":"d620c0752cd91fe3718466c130414ca53025014e","user":{"login":"keycloak","id":4921466,"avatar_url":"https://avatars.githubusercontent.com/u/4921466?v=3","gravatar_id":"","url":"https://api.github.com/users/keycloak","html_url":"https://github.com/keycloak","followers_url":"https://api.github.com/users/keycloak/followers","following_url":"https://api.github.com/users/keycloak/following{/other_user}","gists_url":"https://api.github.com/users/keycloak/gists{/gist_id}","starred_url":"https://api.github.com/users/keycloak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keycloak/subscriptions","organizations_url":"https://api.github.com/users/keycloak/orgs","repos_url":"https://api.github.com/users/keycloak/repos","events_url":"https://api.github.com/users/keycloak/events{/privacy}","received_events_url":"https://api.github.com/users/keycloak/received_events","type":"Organization","site_admin":false},"repo":{"id":55580714,"name":"keycloak-nodejs-auth-utils","full_name":"keycloak/keycloak-nodejs-auth-utils","owner":{"login":"keycloak","id":4921466,"avatar_url":"https://avatars.githubusercontent.com/u/4921466?v=3","gravatar_id":"","url":"https://api.github.com/users/keycloak","html_url":"https://github.com/keycloak","followers_url":"https://api.github.com/users/keycloak/followers","following_url":"https://api.github.com/users/keycloak/following{/other_user}","gists_url":"https://api.github.com/users/keycloak/gists{/gist_id}","starred_url":"https://api.github.com/users/keycloak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keycloak/subscriptions","organizations_url":"https://api.github.com/users/keycloak/orgs","repos_url":"https://api.github.com/users/keycloak/repos","events_url":"https://api.github.com/users/keycloak/events{/privacy}","received_events_url":"https://api.github.com/users/keycloak/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/keycloak/keycloak-nodejs-auth-utils","description":"","fork":false,"url":"https://api.github.com/repos/keycloak/keycloak-nodejs-auth-utils","forks_url":"https://api.github.com/repos/keycloak/keycloak-nodejs-auth-utils/forks","keys_url":"https://api.github.com/repos/keycloak/keycloak-nodejs-auth-utils/keys{/key_id}","collaborators_url":"https://api.github.com/repos/keycloak/keycloak-nodejs-auth-utils/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/keycloak/keycloak-nodejs-auth-utils/teams","hooks_url":"https://api.github.com/repos/keycloak/keycloak-nodejs-auth-utils/hooks","issue_events_url":"https://api.github.com/repos/keycloak/keycloak-nodejs-auth-utils/issues/events{/number}","events_url":"https://api.github.com/repos/keycloak/keycloak-nodejs-auth-utils/events","assignees_url":"https://api.github.com/repos/keycloak/keycloak-nodejs-auth-utils/assignees{/user}","branches_url":"https://api.github.com/repos/keycloak/keycloak-nodejs-auth-utils/branches{/branch}","tags_url":"https://api.github.com/repos/keycloak/keycloak-nodejs-auth-utils/tags","blobs_url":"https://api.github.com/repos/keycloak/keycloak-nodejs-auth-utils/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/keycloak/keycloak-nodejs-auth-utils/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/keycloak/keycloak-nodejs-auth-utils/git/refs{/sha}","trees_url":"https://api.github.com/repos/keycloak/keycloak-nodejs-auth-utils/git/trees{/sha}","statuses_url":"https://api.github.com/repos/keycloak/keycloak-nodejs-auth-utils/statuses/{sha}","languages_url":"https://api.github.com/repos/keycloak/keycloak-nodejs-auth-utils/languages","stargazers_url":"https://api.github.com/repos/keycloak/keycloak-nodejs-auth-utils/stargazers","contributors_url":"https://api.github.com/repos/keycloak/keycloak-nodejs-auth-utils/contributors","subscribers_url":"https://api.github.com/repos/keycloak/keycloak-nodejs-auth-utils/subscribers","subscription_url":"https://api.github.com/repos/keycloak/keycloak-nodejs-auth-utils/subscription","commits_url":"https://api.github.com/repos/keycloak/keycloak-nodejs-auth-utils/commits{/sha}","git_commits_url":"https://api.github.com/repos/keycloak/keycloak-nodejs-auth-utils/git/commits{/sha}","comments_url":"https://api.github.com/repos/keycloak/keycloak-nodejs-auth-utils/comments{/number}","issue_comment_url":"https://api.github.com/repos/keycloak/keycloak-nodejs-auth-utils/issues/comments{/number}","contents_url":"https://api.github.com/repos/keycloak/keycloak-nodejs-auth-utils/contents/{+path}","compare_url":"https://api.github.com/repos/keycloak/keycloak-nodejs-auth-utils/compare/{base}...{head}","merges_url":"https://api.github.com/repos/keycloak/keycloak-nodejs-auth-utils/merges","archive_url":"https://api.github.com/repos/keycloak/keycloak-nodejs-auth-utils/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/keycloak/keycloak-nodejs-auth-utils/downloads","issues_url":"https://api.github.com/repos/keycloak/keycloak-nodejs-auth-utils/issues{/number}","pulls_url":"https://api.github.com/repos/keycloak/keycloak-nodejs-auth-utils/pulls{/number}","milestones_url":"https://api.github.com/repos/keycloak/keycloak-nodejs-auth-utils/milestones{/number}","notifications_url":"https://api.github.com/repos/keycloak/keycloak-nodejs-auth-utils/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/keycloak/keycloak-nodejs-auth-utils/labels{/name}","releases_url":"https://api.github.com/repos/keycloak/keycloak-nodejs-auth-utils/releases{/id}","deployments_url":"https://api.github.com/repos/keycloak/keycloak-nodejs-auth-utils/deployments","created_at":"2016-04-06T06:18:29Z","updated_at":"2016-04-06T06:19:01Z","pushed_at":"2016-05-11T09:55:32Z","git_url":"git://github.com/keycloak/keycloak-nodejs-auth-utils.git","ssh_url":"git@github.com:keycloak/keycloak-nodejs-auth-utils.git","clone_url":"https://github.com/keycloak/keycloak-nodejs-auth-utils.git","svn_url":"https://github.com/keycloak/keycloak-nodejs-auth-utils","homepage":null,"size":171,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":7,"mirror_url":null,"open_issues_count":2,"forks":7,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/keycloak/keycloak-nodejs-auth-utils/pulls/14"},"html":{"href":"https://github.com/keycloak/keycloak-nodejs-auth-utils/pull/14"},"issue":{"href":"https://api.github.com/repos/keycloak/keycloak-nodejs-auth-utils/issues/14"},"comments":{"href":"https://api.github.com/repos/keycloak/keycloak-nodejs-auth-utils/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/keycloak/keycloak-nodejs-auth-utils/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/keycloak/keycloak-nodejs-auth-utils/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/keycloak/keycloak-nodejs-auth-utils/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/keycloak/keycloak-nodejs-auth-utils/statuses/67b141f971cce3565d15ebd60380301d92b6648c"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":3,"additions":253,"deletions":341,"changed_files":11}}