{"action":"created","comment":{"url":"https://api.github.com/repos/resin-io-modules/typed-error/pulls/comments/180418546","pull_request_review_id":110833213,"id":180418546,"diff_hunk":"@@ -23,20 +15,20 @@ if (Error.captureStackTrace != null) {\n \t};\n }\n \n-class TypedError extends BaseError {\n+export class TypedError extends Error {\n \tpublic name: string;\n \tpublic message: string;\n-\tpublic stack: string;\n+\tpublic stack: string = '';\n+\n \tconstructor(err: Error | string = '') {\n \t\tsuper();\n \t\tif (err instanceof Error) {\n \t\t\tthis.message = err.message;\n \t\t} else {\n \t\t\tthis.message = err;\n \t\t}\n+\t\tObject.setPrototypeOf(this, new.target.prototype);","path":"src/typed-error.ts","position":30,"original_position":30,"commit_id":"30ff24427af6fe4e9b03f0169e82b54844be003f","original_commit_id":"30ff24427af6fe4e9b03f0169e82b54844be003f","user":{"login":"wrboyce","id":28401,"avatar_url":"https://avatars2.githubusercontent.com/u/28401?v=4","gravatar_id":"","url":"https://api.github.com/users/wrboyce","html_url":"https://github.com/wrboyce","followers_url":"https://api.github.com/users/wrboyce/followers","following_url":"https://api.github.com/users/wrboyce/following{/other_user}","gists_url":"https://api.github.com/users/wrboyce/gists{/gist_id}","starred_url":"https://api.github.com/users/wrboyce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wrboyce/subscriptions","organizations_url":"https://api.github.com/users/wrboyce/orgs","repos_url":"https://api.github.com/users/wrboyce/repos","events_url":"https://api.github.com/users/wrboyce/events{/privacy}","received_events_url":"https://api.github.com/users/wrboyce/received_events","type":"User","site_admin":false},"body":"[see here](https://github.com/Microsoft/TypeScript/wiki/What%27s-new-in-TypeScript#support-for-newtarget).","created_at":"2018-04-10T13:25:31Z","updated_at":"2018-04-10T13:25:31Z","html_url":"https://github.com/resin-io-modules/typed-error/pull/12#discussion_r180418546","pull_request_url":"https://api.github.com/repos/resin-io-modules/typed-error/pulls/12","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/resin-io-modules/typed-error/pulls/comments/180418546"},"html":{"href":"https://github.com/resin-io-modules/typed-error/pull/12#discussion_r180418546"},"pull_request":{"href":"https://api.github.com/repos/resin-io-modules/typed-error/pulls/12"}},"in_reply_to_id":180390413},"pull_request":{"url":"https://api.github.com/repos/resin-io-modules/typed-error/pulls/12","id":179740396,"html_url":"https://github.com/resin-io-modules/typed-error/pull/12","diff_url":"https://github.com/resin-io-modules/typed-error/pull/12.diff","patch_url":"https://github.com/resin-io-modules/typed-error/pull/12.patch","issue_url":"https://api.github.com/repos/resin-io-modules/typed-error/issues/12","number":12,"state":"open","locked":false,"title":"TypeScript Fixes","user":{"login":"wrboyce","id":28401,"avatar_url":"https://avatars2.githubusercontent.com/u/28401?v=4","gravatar_id":"","url":"https://api.github.com/users/wrboyce","html_url":"https://github.com/wrboyce","followers_url":"https://api.github.com/users/wrboyce/followers","following_url":"https://api.github.com/users/wrboyce/following{/other_user}","gists_url":"https://api.github.com/users/wrboyce/gists{/gist_id}","starred_url":"https://api.github.com/users/wrboyce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wrboyce/subscriptions","organizations_url":"https://api.github.com/users/wrboyce/orgs","repos_url":"https://api.github.com/users/wrboyce/repos","events_url":"https://api.github.com/users/wrboyce/events{/privacy}","received_events_url":"https://api.github.com/users/wrboyce/received_events","type":"User","site_admin":false},"body":"Distribute generated typescript declaration\r\n\r\n* Switch to `export ...` syntax (from `export = ...`)\r\n* Fix invalid export of class inheriting non-exported class\r\n\r\nChange-Type: major\r\n\r\n---\r\n\r\nAdd lint scripts/requirements\r\n\r\nChange-Type: patch\r\n\r\n---\r\n\r\nUse circle for build/publish and add package-lock\r\n\r\nChange-Type: patch\r\n\r\n---\r\n\r\nRemove `BaseError` class and directly subclass `Error`\r\n\r\nChange-Type: minor\r\n\r\n---\r\n\r\nUpdate dependencies, clean up package/tsconfig\r\n\r\nChange-Type: patch","created_at":"2018-04-05T17:10:06Z","updated_at":"2018-04-10T13:25:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"975276502545f549e2b355d3b686876c247ebf7b","assignee":null,"assignees":[],"requested_reviewers":[{"login":"dfunckt","id":130359,"avatar_url":"https://avatars3.githubusercontent.com/u/130359?v=4","gravatar_id":"","url":"https://api.github.com/users/dfunckt","html_url":"https://github.com/dfunckt","followers_url":"https://api.github.com/users/dfunckt/followers","following_url":"https://api.github.com/users/dfunckt/following{/other_user}","gists_url":"https://api.github.com/users/dfunckt/gists{/gist_id}","starred_url":"https://api.github.com/users/dfunckt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dfunckt/subscriptions","organizations_url":"https://api.github.com/users/dfunckt/orgs","repos_url":"https://api.github.com/users/dfunckt/repos","events_url":"https://api.github.com/users/dfunckt/events{/privacy}","received_events_url":"https://api.github.com/users/dfunckt/received_events","type":"User","site_admin":false},{"login":"Page-","id":360115,"avatar_url":"https://avatars3.githubusercontent.com/u/360115?v=4","gravatar_id":"","url":"https://api.github.com/users/Page-","html_url":"https://github.com/Page-","followers_url":"https://api.github.com/users/Page-/followers","following_url":"https://api.github.com/users/Page-/following{/other_user}","gists_url":"https://api.github.com/users/Page-/gists{/gist_id}","starred_url":"https://api.github.com/users/Page-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Page-/subscriptions","organizations_url":"https://api.github.com/users/Page-/orgs","repos_url":"https://api.github.com/users/Page-/repos","events_url":"https://api.github.com/users/Page-/events{/privacy}","received_events_url":"https://api.github.com/users/Page-/received_events","type":"User","site_admin":false},{"login":"brownjohnf","id":1001049,"avatar_url":"https://avatars2.githubusercontent.com/u/1001049?v=4","gravatar_id":"","url":"https://api.github.com/users/brownjohnf","html_url":"https://github.com/brownjohnf","followers_url":"https://api.github.com/users/brownjohnf/followers","following_url":"https://api.github.com/users/brownjohnf/following{/other_user}","gists_url":"https://api.github.com/users/brownjohnf/gists{/gist_id}","starred_url":"https://api.github.com/users/brownjohnf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brownjohnf/subscriptions","organizations_url":"https://api.github.com/users/brownjohnf/orgs","repos_url":"https://api.github.com/users/brownjohnf/repos","events_url":"https://api.github.com/users/brownjohnf/events{/privacy}","received_events_url":"https://api.github.com/users/brownjohnf/received_events","type":"User","site_admin":false},{"login":"CameronDiver","id":7694128,"avatar_url":"https://avatars0.githubusercontent.com/u/7694128?v=4","gravatar_id":"","url":"https://api.github.com/users/CameronDiver","html_url":"https://github.com/CameronDiver","followers_url":"https://api.github.com/users/CameronDiver/followers","following_url":"https://api.github.com/users/CameronDiver/following{/other_user}","gists_url":"https://api.github.com/users/CameronDiver/gists{/gist_id}","starred_url":"https://api.github.com/users/CameronDiver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CameronDiver/subscriptions","organizations_url":"https://api.github.com/users/CameronDiver/orgs","repos_url":"https://api.github.com/users/CameronDiver/repos","events_url":"https://api.github.com/users/CameronDiver/events{/privacy}","received_events_url":"https://api.github.com/users/CameronDiver/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/resin-io-modules/typed-error/pulls/12/commits","review_comments_url":"https://api.github.com/repos/resin-io-modules/typed-error/pulls/12/comments","review_comment_url":"https://api.github.com/repos/resin-io-modules/typed-error/pulls/comments{/number}","comments_url":"https://api.github.com/repos/resin-io-modules/typed-error/issues/12/comments","statuses_url":"https://api.github.com/repos/resin-io-modules/typed-error/statuses/30ff24427af6fe4e9b03f0169e82b54844be003f","head":{"label":"resin-io-modules:ts-fixes","ref":"ts-fixes","sha":"30ff24427af6fe4e9b03f0169e82b54844be003f","user":{"login":"resin-io-modules","id":17724750,"avatar_url":"https://avatars0.githubusercontent.com/u/17724750?v=4","gravatar_id":"","url":"https://api.github.com/users/resin-io-modules","html_url":"https://github.com/resin-io-modules","followers_url":"https://api.github.com/users/resin-io-modules/followers","following_url":"https://api.github.com/users/resin-io-modules/following{/other_user}","gists_url":"https://api.github.com/users/resin-io-modules/gists{/gist_id}","starred_url":"https://api.github.com/users/resin-io-modules/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/resin-io-modules/subscriptions","organizations_url":"https://api.github.com/users/resin-io-modules/orgs","repos_url":"https://api.github.com/users/resin-io-modules/repos","events_url":"https://api.github.com/users/resin-io-modules/events{/privacy}","received_events_url":"https://api.github.com/users/resin-io-modules/received_events","type":"Organization","site_admin":false},"repo":{"id":22877648,"name":"typed-error","full_name":"resin-io-modules/typed-error","owner":{"login":"resin-io-modules","id":17724750,"avatar_url":"https://avatars0.githubusercontent.com/u/17724750?v=4","gravatar_id":"","url":"https://api.github.com/users/resin-io-modules","html_url":"https://github.com/resin-io-modules","followers_url":"https://api.github.com/users/resin-io-modules/followers","following_url":"https://api.github.com/users/resin-io-modules/following{/other_user}","gists_url":"https://api.github.com/users/resin-io-modules/gists{/gist_id}","starred_url":"https://api.github.com/users/resin-io-modules/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/resin-io-modules/subscriptions","organizations_url":"https://api.github.com/users/resin-io-modules/orgs","repos_url":"https://api.github.com/users/resin-io-modules/repos","events_url":"https://api.github.com/users/resin-io-modules/events{/privacy}","received_events_url":"https://api.github.com/users/resin-io-modules/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/resin-io-modules/typed-error","description":null,"fork":false,"url":"https://api.github.com/repos/resin-io-modules/typed-error","forks_url":"https://api.github.com/repos/resin-io-modules/typed-error/forks","keys_url":"https://api.github.com/repos/resin-io-modules/typed-error/keys{/key_id}","collaborators_url":"https://api.github.com/repos/resin-io-modules/typed-error/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/resin-io-modules/typed-error/teams","hooks_url":"https://api.github.com/repos/resin-io-modules/typed-error/hooks","issue_events_url":"https://api.github.com/repos/resin-io-modules/typed-error/issues/events{/number}","events_url":"https://api.github.com/repos/resin-io-modules/typed-error/events","assignees_url":"https://api.github.com/repos/resin-io-modules/typed-error/assignees{/user}","branches_url":"https://api.github.com/repos/resin-io-modules/typed-error/branches{/branch}","tags_url":"https://api.github.com/repos/resin-io-modules/typed-error/tags","blobs_url":"https://api.github.com/repos/resin-io-modules/typed-error/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/resin-io-modules/typed-error/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/resin-io-modules/typed-error/git/refs{/sha}","trees_url":"https://api.github.com/repos/resin-io-modules/typed-error/git/trees{/sha}","statuses_url":"https://api.github.com/repos/resin-io-modules/typed-error/statuses/{sha}","languages_url":"https://api.github.com/repos/resin-io-modules/typed-error/languages","stargazers_url":"https://api.github.com/repos/resin-io-modules/typed-error/stargazers","contributors_url":"https://api.github.com/repos/resin-io-modules/typed-error/contributors","subscribers_url":"https://api.github.com/repos/resin-io-modules/typed-error/subscribers","subscription_url":"https://api.github.com/repos/resin-io-modules/typed-error/subscription","commits_url":"https://api.github.com/repos/resin-io-modules/typed-error/commits{/sha}","git_commits_url":"https://api.github.com/repos/resin-io-modules/typed-error/git/commits{/sha}","comments_url":"https://api.github.com/repos/resin-io-modules/typed-error/comments{/number}","issue_comment_url":"https://api.github.com/repos/resin-io-modules/typed-error/issues/comments{/number}","contents_url":"https://api.github.com/repos/resin-io-modules/typed-error/contents/{+path}","compare_url":"https://api.github.com/repos/resin-io-modules/typed-error/compare/{base}...{head}","merges_url":"https://api.github.com/repos/resin-io-modules/typed-error/merges","archive_url":"https://api.github.com/repos/resin-io-modules/typed-error/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/resin-io-modules/typed-error/downloads","issues_url":"https://api.github.com/repos/resin-io-modules/typed-error/issues{/number}","pulls_url":"https://api.github.com/repos/resin-io-modules/typed-error/pulls{/number}","milestones_url":"https://api.github.com/repos/resin-io-modules/typed-error/milestones{/number}","notifications_url":"https://api.github.com/repos/resin-io-modules/typed-error/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/resin-io-modules/typed-error/labels{/name}","releases_url":"https://api.github.com/repos/resin-io-modules/typed-error/releases{/id}","deployments_url":"https://api.github.com/repos/resin-io-modules/typed-error/deployments","created_at":"2014-08-12T13:09:40Z","updated_at":"2017-03-24T08:41:41Z","pushed_at":"2018-04-09T22:06:57Z","git_url":"git://github.com/resin-io-modules/typed-error.git","ssh_url":"git@github.com:resin-io-modules/typed-error.git","clone_url":"https://github.com/resin-io-modules/typed-error.git","svn_url":"https://github.com/resin-io-modules/typed-error","homepage":null,"size":48,"stargazers_count":2,"watchers_count":2,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":2,"open_issues":3,"watchers":2,"default_branch":"master"}},"base":{"label":"resin-io-modules:master","ref":"master","sha":"aeb6eff979db95deeac3dcf5562270e20058fdce","user":{"login":"resin-io-modules","id":17724750,"avatar_url":"https://avatars0.githubusercontent.com/u/17724750?v=4","gravatar_id":"","url":"https://api.github.com/users/resin-io-modules","html_url":"https://github.com/resin-io-modules","followers_url":"https://api.github.com/users/resin-io-modules/followers","following_url":"https://api.github.com/users/resin-io-modules/following{/other_user}","gists_url":"https://api.github.com/users/resin-io-modules/gists{/gist_id}","starred_url":"https://api.github.com/users/resin-io-modules/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/resin-io-modules/subscriptions","organizations_url":"https://api.github.com/users/resin-io-modules/orgs","repos_url":"https://api.github.com/users/resin-io-modules/repos","events_url":"https://api.github.com/users/resin-io-modules/events{/privacy}","received_events_url":"https://api.github.com/users/resin-io-modules/received_events","type":"Organization","site_admin":false},"repo":{"id":22877648,"name":"typed-error","full_name":"resin-io-modules/typed-error","owner":{"login":"resin-io-modules","id":17724750,"avatar_url":"https://avatars0.githubusercontent.com/u/17724750?v=4","gravatar_id":"","url":"https://api.github.com/users/resin-io-modules","html_url":"https://github.com/resin-io-modules","followers_url":"https://api.github.com/users/resin-io-modules/followers","following_url":"https://api.github.com/users/resin-io-modules/following{/other_user}","gists_url":"https://api.github.com/users/resin-io-modules/gists{/gist_id}","starred_url":"https://api.github.com/users/resin-io-modules/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/resin-io-modules/subscriptions","organizations_url":"https://api.github.com/users/resin-io-modules/orgs","repos_url":"https://api.github.com/users/resin-io-modules/repos","events_url":"https://api.github.com/users/resin-io-modules/events{/privacy}","received_events_url":"https://api.github.com/users/resin-io-modules/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/resin-io-modules/typed-error","description":null,"fork":false,"url":"https://api.github.com/repos/resin-io-modules/typed-error","forks_url":"https://api.github.com/repos/resin-io-modules/typed-error/forks","keys_url":"https://api.github.com/repos/resin-io-modules/typed-error/keys{/key_id}","collaborators_url":"https://api.github.com/repos/resin-io-modules/typed-error/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/resin-io-modules/typed-error/teams","hooks_url":"https://api.github.com/repos/resin-io-modules/typed-error/hooks","issue_events_url":"https://api.github.com/repos/resin-io-modules/typed-error/issues/events{/number}","events_url":"https://api.github.com/repos/resin-io-modules/typed-error/events","assignees_url":"https://api.github.com/repos/resin-io-modules/typed-error/assignees{/user}","branches_url":"https://api.github.com/repos/resin-io-modules/typed-error/branches{/branch}","tags_url":"https://api.github.com/repos/resin-io-modules/typed-error/tags","blobs_url":"https://api.github.com/repos/resin-io-modules/typed-error/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/resin-io-modules/typed-error/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/resin-io-modules/typed-error/git/refs{/sha}","trees_url":"https://api.github.com/repos/resin-io-modules/typed-error/git/trees{/sha}","statuses_url":"https://api.github.com/repos/resin-io-modules/typed-error/statuses/{sha}","languages_url":"https://api.github.com/repos/resin-io-modules/typed-error/languages","stargazers_url":"https://api.github.com/repos/resin-io-modules/typed-error/stargazers","contributors_url":"https://api.github.com/repos/resin-io-modules/typed-error/contributors","subscribers_url":"https://api.github.com/repos/resin-io-modules/typed-error/subscribers","subscription_url":"https://api.github.com/repos/resin-io-modules/typed-error/subscription","commits_url":"https://api.github.com/repos/resin-io-modules/typed-error/commits{/sha}","git_commits_url":"https://api.github.com/repos/resin-io-modules/typed-error/git/commits{/sha}","comments_url":"https://api.github.com/repos/resin-io-modules/typed-error/comments{/number}","issue_comment_url":"https://api.github.com/repos/resin-io-modules/typed-error/issues/comments{/number}","contents_url":"https://api.github.com/repos/resin-io-modules/typed-error/contents/{+path}","compare_url":"https://api.github.com/repos/resin-io-modules/typed-error/compare/{base}...{head}","merges_url":"https://api.github.com/repos/resin-io-modules/typed-error/merges","archive_url":"https://api.github.com/repos/resin-io-modules/typed-error/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/resin-io-modules/typed-error/downloads","issues_url":"https://api.github.com/repos/resin-io-modules/typed-error/issues{/number}","pulls_url":"https://api.github.com/repos/resin-io-modules/typed-error/pulls{/number}","milestones_url":"https://api.github.com/repos/resin-io-modules/typed-error/milestones{/number}","notifications_url":"https://api.github.com/repos/resin-io-modules/typed-error/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/resin-io-modules/typed-error/labels{/name}","releases_url":"https://api.github.com/repos/resin-io-modules/typed-error/releases{/id}","deployments_url":"https://api.github.com/repos/resin-io-modules/typed-error/deployments","created_at":"2014-08-12T13:09:40Z","updated_at":"2017-03-24T08:41:41Z","pushed_at":"2018-04-09T22:06:57Z","git_url":"git://github.com/resin-io-modules/typed-error.git","ssh_url":"git@github.com:resin-io-modules/typed-error.git","clone_url":"https://github.com/resin-io-modules/typed-error.git","svn_url":"https://github.com/resin-io-modules/typed-error","homepage":null,"size":48,"stargazers_count":2,"watchers_count":2,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":2,"open_issues":3,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/resin-io-modules/typed-error/pulls/12"},"html":{"href":"https://github.com/resin-io-modules/typed-error/pull/12"},"issue":{"href":"https://api.github.com/repos/resin-io-modules/typed-error/issues/12"},"comments":{"href":"https://api.github.com/repos/resin-io-modules/typed-error/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/resin-io-modules/typed-error/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/resin-io-modules/typed-error/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/resin-io-modules/typed-error/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/resin-io-modules/typed-error/statuses/30ff24427af6fe4e9b03f0169e82b54844be003f"}},"author_association":"NONE"}}
{"actor":{"display_login":"wrboyce"}}