{"action":"created","comment":{"url":"https://api.github.com/repos/box/box-content-preview/pulls/comments/307420551","pull_request_review_id":266782533,"id":307420551,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDMwNzQyMDU1MQ==","diff_hunk":"@@ -20,9 +20,9 @@ class PreviewError extends Error {\n      * @param {...Object} [params] - Additional params, this may contain the original error message\n      * @return {PreviewError} PreviewError instance\n      */\n-    constructor(code, displayMessage = '', details = {}, ...params) {\n+    constructor(code, displayMessage = '', details = {}, message, ...params) {","path":"src/lib/PreviewError.js","position":5,"original_position":5,"commit_id":"cb1ecf9b89343c165524cd1634c19da83d9e8f04","original_commit_id":"cb1ecf9b89343c165524cd1634c19da83d9e8f04","user":{"login":"mickr","id":7842095,"node_id":"MDQ6VXNlcjc4NDIwOTU=","avatar_url":"https://avatars1.githubusercontent.com/u/7842095?v=4","gravatar_id":"","url":"https://api.github.com/users/mickr","html_url":"https://github.com/mickr","followers_url":"https://api.github.com/users/mickr/followers","following_url":"https://api.github.com/users/mickr/following{/other_user}","gists_url":"https://api.github.com/users/mickr/gists{/gist_id}","starred_url":"https://api.github.com/users/mickr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mickr/subscriptions","organizations_url":"https://api.github.com/users/mickr/orgs","repos_url":"https://api.github.com/users/mickr/repos","events_url":"https://api.github.com/users/mickr/events{/privacy}","received_events_url":"https://api.github.com/users/mickr/received_events","type":"User","site_admin":false},"body":"Does the JSDoc need to be updated? 🍹 ","created_at":"2019-07-25T17:43:56Z","updated_at":"2019-07-25T17:45:03Z","html_url":"https://github.com/box/box-content-preview/pull/1047#discussion_r307420551","pull_request_url":"https://api.github.com/repos/box/box-content-preview/pulls/1047","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/box/box-content-preview/pulls/comments/307420551"},"html":{"href":"https://github.com/box/box-content-preview/pull/1047#discussion_r307420551"},"pull_request":{"href":"https://api.github.com/repos/box/box-content-preview/pulls/1047"}}},"pull_request":{"url":"https://api.github.com/repos/box/box-content-preview/pulls/1047","id":300531398,"node_id":"MDExOlB1bGxSZXF1ZXN0MzAwNTMxMzk4","html_url":"https://github.com/box/box-content-preview/pull/1047","diff_url":"https://github.com/box/box-content-preview/pull/1047.diff","patch_url":"https://github.com/box/box-content-preview/pull/1047.patch","issue_url":"https://api.github.com/repos/box/box-content-preview/issues/1047","number":1047,"state":"open","locked":false,"title":" chore(deps): Upgrade to Babel 7","user":{"login":"jstoffan","id":3180267,"node_id":"MDQ6VXNlcjMxODAyNjc=","avatar_url":"https://avatars0.githubusercontent.com/u/3180267?v=4","gravatar_id":"","url":"https://api.github.com/users/jstoffan","html_url":"https://github.com/jstoffan","followers_url":"https://api.github.com/users/jstoffan/followers","following_url":"https://api.github.com/users/jstoffan/following{/other_user}","gists_url":"https://api.github.com/users/jstoffan/gists{/gist_id}","starred_url":"https://api.github.com/users/jstoffan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jstoffan/subscriptions","organizations_url":"https://api.github.com/users/jstoffan/orgs","repos_url":"https://api.github.com/users/jstoffan/repos","events_url":"https://api.github.com/users/jstoffan/events{/privacy}","received_events_url":"https://api.github.com/users/jstoffan/received_events","type":"User","site_admin":false},"body":"I had to modify the PreviewError class slightly because `this.message` didn't seem to be getting set properly after being transpiled. It looks like modifying built-ins the way we have can be a little tricky.","created_at":"2019-07-24T01:58:17Z","updated_at":"2019-07-25T17:45:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"eddaa869b784c4bf745c42e78d6a312cc7178104","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/box/box-content-preview/pulls/1047/commits","review_comments_url":"https://api.github.com/repos/box/box-content-preview/pulls/1047/comments","review_comment_url":"https://api.github.com/repos/box/box-content-preview/pulls/comments{/number}","comments_url":"https://api.github.com/repos/box/box-content-preview/issues/1047/comments","statuses_url":"https://api.github.com/repos/box/box-content-preview/statuses/cb1ecf9b89343c165524cd1634c19da83d9e8f04","head":{"label":"jstoffan:upgrade-babel","ref":"upgrade-babel","sha":"cb1ecf9b89343c165524cd1634c19da83d9e8f04","user":{"login":"jstoffan","id":3180267,"node_id":"MDQ6VXNlcjMxODAyNjc=","avatar_url":"https://avatars0.githubusercontent.com/u/3180267?v=4","gravatar_id":"","url":"https://api.github.com/users/jstoffan","html_url":"https://github.com/jstoffan","followers_url":"https://api.github.com/users/jstoffan/followers","following_url":"https://api.github.com/users/jstoffan/following{/other_user}","gists_url":"https://api.github.com/users/jstoffan/gists{/gist_id}","starred_url":"https://api.github.com/users/jstoffan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jstoffan/subscriptions","organizations_url":"https://api.github.com/users/jstoffan/orgs","repos_url":"https://api.github.com/users/jstoffan/repos","events_url":"https://api.github.com/users/jstoffan/events{/privacy}","received_events_url":"https://api.github.com/users/jstoffan/received_events","type":"User","site_admin":false},"repo":{"id":131659016,"node_id":"MDEwOlJlcG9zaXRvcnkxMzE2NTkwMTY=","name":"box-content-preview","full_name":"jstoffan/box-content-preview","private":false,"owner":{"login":"jstoffan","id":3180267,"node_id":"MDQ6VXNlcjMxODAyNjc=","avatar_url":"https://avatars0.githubusercontent.com/u/3180267?v=4","gravatar_id":"","url":"https://api.github.com/users/jstoffan","html_url":"https://github.com/jstoffan","followers_url":"https://api.github.com/users/jstoffan/followers","following_url":"https://api.github.com/users/jstoffan/following{/other_user}","gists_url":"https://api.github.com/users/jstoffan/gists{/gist_id}","starred_url":"https://api.github.com/users/jstoffan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jstoffan/subscriptions","organizations_url":"https://api.github.com/users/jstoffan/orgs","repos_url":"https://api.github.com/users/jstoffan/repos","events_url":"https://api.github.com/users/jstoffan/events{/privacy}","received_events_url":"https://api.github.com/users/jstoffan/received_events","type":"User","site_admin":false},"html_url":"https://github.com/jstoffan/box-content-preview","description":"JavaScript library for rendering files stored on Box","fork":true,"url":"https://api.github.com/repos/jstoffan/box-content-preview","forks_url":"https://api.github.com/repos/jstoffan/box-content-preview/forks","keys_url":"https://api.github.com/repos/jstoffan/box-content-preview/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jstoffan/box-content-preview/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jstoffan/box-content-preview/teams","hooks_url":"https://api.github.com/repos/jstoffan/box-content-preview/hooks","issue_events_url":"https://api.github.com/repos/jstoffan/box-content-preview/issues/events{/number}","events_url":"https://api.github.com/repos/jstoffan/box-content-preview/events","assignees_url":"https://api.github.com/repos/jstoffan/box-content-preview/assignees{/user}","branches_url":"https://api.github.com/repos/jstoffan/box-content-preview/branches{/branch}","tags_url":"https://api.github.com/repos/jstoffan/box-content-preview/tags","blobs_url":"https://api.github.com/repos/jstoffan/box-content-preview/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jstoffan/box-content-preview/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jstoffan/box-content-preview/git/refs{/sha}","trees_url":"https://api.github.com/repos/jstoffan/box-content-preview/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jstoffan/box-content-preview/statuses/{sha}","languages_url":"https://api.github.com/repos/jstoffan/box-content-preview/languages","stargazers_url":"https://api.github.com/repos/jstoffan/box-content-preview/stargazers","contributors_url":"https://api.github.com/repos/jstoffan/box-content-preview/contributors","subscribers_url":"https://api.github.com/repos/jstoffan/box-content-preview/subscribers","subscription_url":"https://api.github.com/repos/jstoffan/box-content-preview/subscription","commits_url":"https://api.github.com/repos/jstoffan/box-content-preview/commits{/sha}","git_commits_url":"https://api.github.com/repos/jstoffan/box-content-preview/git/commits{/sha}","comments_url":"https://api.github.com/repos/jstoffan/box-content-preview/comments{/number}","issue_comment_url":"https://api.github.com/repos/jstoffan/box-content-preview/issues/comments{/number}","contents_url":"https://api.github.com/repos/jstoffan/box-content-preview/contents/{+path}","compare_url":"https://api.github.com/repos/jstoffan/box-content-preview/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jstoffan/box-content-preview/merges","archive_url":"https://api.github.com/repos/jstoffan/box-content-preview/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jstoffan/box-content-preview/downloads","issues_url":"https://api.github.com/repos/jstoffan/box-content-preview/issues{/number}","pulls_url":"https://api.github.com/repos/jstoffan/box-content-preview/pulls{/number}","milestones_url":"https://api.github.com/repos/jstoffan/box-content-preview/milestones{/number}","notifications_url":"https://api.github.com/repos/jstoffan/box-content-preview/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jstoffan/box-content-preview/labels{/name}","releases_url":"https://api.github.com/repos/jstoffan/box-content-preview/releases{/id}","deployments_url":"https://api.github.com/repos/jstoffan/box-content-preview/deployments","created_at":"2018-05-01T00:07:35Z","updated_at":"2018-05-01T00:07:39Z","pushed_at":"2019-07-24T01:51:15Z","git_url":"git://github.com/jstoffan/box-content-preview.git","ssh_url":"git@github.com:jstoffan/box-content-preview.git","clone_url":"https://github.com/jstoffan/box-content-preview.git","svn_url":"https://github.com/jstoffan/box-content-preview","homepage":"https://developer.box.com/docs/box-content-preview","size":46682,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"box:master","ref":"master","sha":"b8d6a85f3ab6e83c36aa3d47780ed340e8ec25d6","user":{"login":"box","id":23900,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIzOTAw","avatar_url":"https://avatars0.githubusercontent.com/u/23900?v=4","gravatar_id":"","url":"https://api.github.com/users/box","html_url":"https://github.com/box","followers_url":"https://api.github.com/users/box/followers","following_url":"https://api.github.com/users/box/following{/other_user}","gists_url":"https://api.github.com/users/box/gists{/gist_id}","starred_url":"https://api.github.com/users/box/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/box/subscriptions","organizations_url":"https://api.github.com/users/box/orgs","repos_url":"https://api.github.com/users/box/repos","events_url":"https://api.github.com/users/box/events{/privacy}","received_events_url":"https://api.github.com/users/box/received_events","type":"Organization","site_admin":false},"repo":{"id":84243617,"node_id":"MDEwOlJlcG9zaXRvcnk4NDI0MzYxNw==","name":"box-content-preview","full_name":"box/box-content-preview","private":false,"owner":{"login":"box","id":23900,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIzOTAw","avatar_url":"https://avatars0.githubusercontent.com/u/23900?v=4","gravatar_id":"","url":"https://api.github.com/users/box","html_url":"https://github.com/box","followers_url":"https://api.github.com/users/box/followers","following_url":"https://api.github.com/users/box/following{/other_user}","gists_url":"https://api.github.com/users/box/gists{/gist_id}","starred_url":"https://api.github.com/users/box/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/box/subscriptions","organizations_url":"https://api.github.com/users/box/orgs","repos_url":"https://api.github.com/users/box/repos","events_url":"https://api.github.com/users/box/events{/privacy}","received_events_url":"https://api.github.com/users/box/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/box/box-content-preview","description":"JavaScript library for rendering files stored on Box","fork":false,"url":"https://api.github.com/repos/box/box-content-preview","forks_url":"https://api.github.com/repos/box/box-content-preview/forks","keys_url":"https://api.github.com/repos/box/box-content-preview/keys{/key_id}","collaborators_url":"https://api.github.com/repos/box/box-content-preview/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/box/box-content-preview/teams","hooks_url":"https://api.github.com/repos/box/box-content-preview/hooks","issue_events_url":"https://api.github.com/repos/box/box-content-preview/issues/events{/number}","events_url":"https://api.github.com/repos/box/box-content-preview/events","assignees_url":"https://api.github.com/repos/box/box-content-preview/assignees{/user}","branches_url":"https://api.github.com/repos/box/box-content-preview/branches{/branch}","tags_url":"https://api.github.com/repos/box/box-content-preview/tags","blobs_url":"https://api.github.com/repos/box/box-content-preview/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/box/box-content-preview/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/box/box-content-preview/git/refs{/sha}","trees_url":"https://api.github.com/repos/box/box-content-preview/git/trees{/sha}","statuses_url":"https://api.github.com/repos/box/box-content-preview/statuses/{sha}","languages_url":"https://api.github.com/repos/box/box-content-preview/languages","stargazers_url":"https://api.github.com/repos/box/box-content-preview/stargazers","contributors_url":"https://api.github.com/repos/box/box-content-preview/contributors","subscribers_url":"https://api.github.com/repos/box/box-content-preview/subscribers","subscription_url":"https://api.github.com/repos/box/box-content-preview/subscription","commits_url":"https://api.github.com/repos/box/box-content-preview/commits{/sha}","git_commits_url":"https://api.github.com/repos/box/box-content-preview/git/commits{/sha}","comments_url":"https://api.github.com/repos/box/box-content-preview/comments{/number}","issue_comment_url":"https://api.github.com/repos/box/box-content-preview/issues/comments{/number}","contents_url":"https://api.github.com/repos/box/box-content-preview/contents/{+path}","compare_url":"https://api.github.com/repos/box/box-content-preview/compare/{base}...{head}","merges_url":"https://api.github.com/repos/box/box-content-preview/merges","archive_url":"https://api.github.com/repos/box/box-content-preview/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/box/box-content-preview/downloads","issues_url":"https://api.github.com/repos/box/box-content-preview/issues{/number}","pulls_url":"https://api.github.com/repos/box/box-content-preview/pulls{/number}","milestones_url":"https://api.github.com/repos/box/box-content-preview/milestones{/number}","notifications_url":"https://api.github.com/repos/box/box-content-preview/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/box/box-content-preview/labels{/name}","releases_url":"https://api.github.com/repos/box/box-content-preview/releases{/id}","deployments_url":"https://api.github.com/repos/box/box-content-preview/deployments","created_at":"2017-03-07T20:36:24Z","updated_at":"2019-07-23T21:25:22Z","pushed_at":"2019-07-24T23:58:09Z","git_url":"git://github.com/box/box-content-preview.git","ssh_url":"git@github.com:box/box-content-preview.git","clone_url":"https://github.com/box/box-content-preview.git","svn_url":"https://github.com/box/box-content-preview","homepage":"https://developer.box.com/docs/box-content-preview","size":38812,"stargazers_count":62,"watchers_count":62,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":48,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":16,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":48,"open_issues":16,"watchers":62,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/box/box-content-preview/pulls/1047"},"html":{"href":"https://github.com/box/box-content-preview/pull/1047"},"issue":{"href":"https://api.github.com/repos/box/box-content-preview/issues/1047"},"comments":{"href":"https://api.github.com/repos/box/box-content-preview/issues/1047/comments"},"review_comments":{"href":"https://api.github.com/repos/box/box-content-preview/pulls/1047/comments"},"review_comment":{"href":"https://api.github.com/repos/box/box-content-preview/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/box/box-content-preview/pulls/1047/commits"},"statuses":{"href":"https://api.github.com/repos/box/box-content-preview/statuses/cb1ecf9b89343c165524cd1634c19da83d9e8f04"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"mickr"}}