{"action":"opened","number":11,"pull_request":{"url":"https://api.github.com/repos/chaijs/type-detect/pulls/11","id":60768567,"html_url":"https://github.com/chaijs/type-detect/pull/11","diff_url":"https://github.com/chaijs/type-detect/pull/11.diff","patch_url":"https://github.com/chaijs/type-detect/pull/11.patch","issue_url":"https://api.github.com/repos/chaijs/type-detect/issues/11","number":11,"state":"open","locked":false,"title":"Giant refactor","user":{"login":"keithamus","id":118266,"avatar_url":"https://avatars.githubusercontent.com/u/118266?v=3","gravatar_id":"","url":"https://api.github.com/users/keithamus","html_url":"https://github.com/keithamus","followers_url":"https://api.github.com/users/keithamus/followers","following_url":"https://api.github.com/users/keithamus/following{/other_user}","gists_url":"https://api.github.com/users/keithamus/gists{/gist_id}","starred_url":"https://api.github.com/users/keithamus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keithamus/subscriptions","organizations_url":"https://api.github.com/users/keithamus/orgs","repos_url":"https://api.github.com/users/keithamus/repos","events_url":"https://api.github.com/users/keithamus/events{/privacy}","received_events_url":"https://api.github.com/users/keithamus/received_events","type":"User","site_admin":false},"body":"This is quite a large PR, I'll go over some of the features:\r\n\r\n - Remove `Library` class, as no one was using it.\r\n - Added eslint\r\n - Added semantic release - meaning every commit releases a new version of the code.\r\n - Added loads of tests, for browser & node\r\n - Added Karma to auto test in travis & saucelabs\r\n - Switched coverage to istanbul\r\n - Tweaked the main function, adding hot paths for big speed improvements, and extra guards for consistent type reporting\r\n\r\n@logicalparadox and @davelosert it'd be great if you could review this all - I know it's quite a lot but having your eyes on it would be good.\r\n\r\nFYI - I intend to introduce Karma/Eslint/(Possibly Benchmarks)/Semantic Release across all of chai's portfolio. This is the first because its a good test case as its the smallest one.","created_at":"2016-02-25T23:46:59Z","updated_at":"2016-02-25T23:46:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/chaijs/type-detect/pulls/11/commits","review_comments_url":"https://api.github.com/repos/chaijs/type-detect/pulls/11/comments","review_comment_url":"https://api.github.com/repos/chaijs/type-detect/pulls/comments{/number}","comments_url":"https://api.github.com/repos/chaijs/type-detect/issues/11/comments","statuses_url":"https://api.github.com/repos/chaijs/type-detect/statuses/43318c2f0e751150b9861cfc6939e87c81d4551e","head":{"label":"keithamus:giant-refactor","ref":"giant-refactor","sha":"43318c2f0e751150b9861cfc6939e87c81d4551e","user":{"login":"keithamus","id":118266,"avatar_url":"https://avatars.githubusercontent.com/u/118266?v=3","gravatar_id":"","url":"https://api.github.com/users/keithamus","html_url":"https://github.com/keithamus","followers_url":"https://api.github.com/users/keithamus/followers","following_url":"https://api.github.com/users/keithamus/following{/other_user}","gists_url":"https://api.github.com/users/keithamus/gists{/gist_id}","starred_url":"https://api.github.com/users/keithamus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keithamus/subscriptions","organizations_url":"https://api.github.com/users/keithamus/orgs","repos_url":"https://api.github.com/users/keithamus/repos","events_url":"https://api.github.com/users/keithamus/events{/privacy}","received_events_url":"https://api.github.com/users/keithamus/received_events","type":"User","site_admin":false},"repo":{"id":52564612,"name":"type-detect","full_name":"keithamus/type-detect","owner":{"login":"keithamus","id":118266,"avatar_url":"https://avatars.githubusercontent.com/u/118266?v=3","gravatar_id":"","url":"https://api.github.com/users/keithamus","html_url":"https://github.com/keithamus","followers_url":"https://api.github.com/users/keithamus/followers","following_url":"https://api.github.com/users/keithamus/following{/other_user}","gists_url":"https://api.github.com/users/keithamus/gists{/gist_id}","starred_url":"https://api.github.com/users/keithamus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keithamus/subscriptions","organizations_url":"https://api.github.com/users/keithamus/orgs","repos_url":"https://api.github.com/users/keithamus/repos","events_url":"https://api.github.com/users/keithamus/events{/privacy}","received_events_url":"https://api.github.com/users/keithamus/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/keithamus/type-detect","description":"Improved typeof detection for node.js and the browser.","fork":true,"url":"https://api.github.com/repos/keithamus/type-detect","forks_url":"https://api.github.com/repos/keithamus/type-detect/forks","keys_url":"https://api.github.com/repos/keithamus/type-detect/keys{/key_id}","collaborators_url":"https://api.github.com/repos/keithamus/type-detect/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/keithamus/type-detect/teams","hooks_url":"https://api.github.com/repos/keithamus/type-detect/hooks","issue_events_url":"https://api.github.com/repos/keithamus/type-detect/issues/events{/number}","events_url":"https://api.github.com/repos/keithamus/type-detect/events","assignees_url":"https://api.github.com/repos/keithamus/type-detect/assignees{/user}","branches_url":"https://api.github.com/repos/keithamus/type-detect/branches{/branch}","tags_url":"https://api.github.com/repos/keithamus/type-detect/tags","blobs_url":"https://api.github.com/repos/keithamus/type-detect/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/keithamus/type-detect/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/keithamus/type-detect/git/refs{/sha}","trees_url":"https://api.github.com/repos/keithamus/type-detect/git/trees{/sha}","statuses_url":"https://api.github.com/repos/keithamus/type-detect/statuses/{sha}","languages_url":"https://api.github.com/repos/keithamus/type-detect/languages","stargazers_url":"https://api.github.com/repos/keithamus/type-detect/stargazers","contributors_url":"https://api.github.com/repos/keithamus/type-detect/contributors","subscribers_url":"https://api.github.com/repos/keithamus/type-detect/subscribers","subscription_url":"https://api.github.com/repos/keithamus/type-detect/subscription","commits_url":"https://api.github.com/repos/keithamus/type-detect/commits{/sha}","git_commits_url":"https://api.github.com/repos/keithamus/type-detect/git/commits{/sha}","comments_url":"https://api.github.com/repos/keithamus/type-detect/comments{/number}","issue_comment_url":"https://api.github.com/repos/keithamus/type-detect/issues/comments{/number}","contents_url":"https://api.github.com/repos/keithamus/type-detect/contents/{+path}","compare_url":"https://api.github.com/repos/keithamus/type-detect/compare/{base}...{head}","merges_url":"https://api.github.com/repos/keithamus/type-detect/merges","archive_url":"https://api.github.com/repos/keithamus/type-detect/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/keithamus/type-detect/downloads","issues_url":"https://api.github.com/repos/keithamus/type-detect/issues{/number}","pulls_url":"https://api.github.com/repos/keithamus/type-detect/pulls{/number}","milestones_url":"https://api.github.com/repos/keithamus/type-detect/milestones{/number}","notifications_url":"https://api.github.com/repos/keithamus/type-detect/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/keithamus/type-detect/labels{/name}","releases_url":"https://api.github.com/repos/keithamus/type-detect/releases{/id}","deployments_url":"https://api.github.com/repos/keithamus/type-detect/deployments","created_at":"2016-02-25T23:35:28Z","updated_at":"2016-02-25T23:35:29Z","pushed_at":"2016-02-25T23:37:24Z","git_url":"git://github.com/keithamus/type-detect.git","ssh_url":"git@github.com:keithamus/type-detect.git","clone_url":"https://github.com/keithamus/type-detect.git","svn_url":"https://github.com/keithamus/type-detect","homepage":"","size":72,"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":"chaijs:master","ref":"master","sha":"3617862cbaa220d3700cfc9e96c6d3feb49e9587","user":{"login":"chaijs","id":1515293,"avatar_url":"https://avatars.githubusercontent.com/u/1515293?v=3","gravatar_id":"","url":"https://api.github.com/users/chaijs","html_url":"https://github.com/chaijs","followers_url":"https://api.github.com/users/chaijs/followers","following_url":"https://api.github.com/users/chaijs/following{/other_user}","gists_url":"https://api.github.com/users/chaijs/gists{/gist_id}","starred_url":"https://api.github.com/users/chaijs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chaijs/subscriptions","organizations_url":"https://api.github.com/users/chaijs/orgs","repos_url":"https://api.github.com/users/chaijs/repos","events_url":"https://api.github.com/users/chaijs/events{/privacy}","received_events_url":"https://api.github.com/users/chaijs/received_events","type":"Organization","site_admin":false},"repo":{"id":12107007,"name":"type-detect","full_name":"chaijs/type-detect","owner":{"login":"chaijs","id":1515293,"avatar_url":"https://avatars.githubusercontent.com/u/1515293?v=3","gravatar_id":"","url":"https://api.github.com/users/chaijs","html_url":"https://github.com/chaijs","followers_url":"https://api.github.com/users/chaijs/followers","following_url":"https://api.github.com/users/chaijs/following{/other_user}","gists_url":"https://api.github.com/users/chaijs/gists{/gist_id}","starred_url":"https://api.github.com/users/chaijs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chaijs/subscriptions","organizations_url":"https://api.github.com/users/chaijs/orgs","repos_url":"https://api.github.com/users/chaijs/repos","events_url":"https://api.github.com/users/chaijs/events{/privacy}","received_events_url":"https://api.github.com/users/chaijs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/chaijs/type-detect","description":"Improved typeof detection for node.js and the browser.","fork":false,"url":"https://api.github.com/repos/chaijs/type-detect","forks_url":"https://api.github.com/repos/chaijs/type-detect/forks","keys_url":"https://api.github.com/repos/chaijs/type-detect/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chaijs/type-detect/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chaijs/type-detect/teams","hooks_url":"https://api.github.com/repos/chaijs/type-detect/hooks","issue_events_url":"https://api.github.com/repos/chaijs/type-detect/issues/events{/number}","events_url":"https://api.github.com/repos/chaijs/type-detect/events","assignees_url":"https://api.github.com/repos/chaijs/type-detect/assignees{/user}","branches_url":"https://api.github.com/repos/chaijs/type-detect/branches{/branch}","tags_url":"https://api.github.com/repos/chaijs/type-detect/tags","blobs_url":"https://api.github.com/repos/chaijs/type-detect/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chaijs/type-detect/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chaijs/type-detect/git/refs{/sha}","trees_url":"https://api.github.com/repos/chaijs/type-detect/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chaijs/type-detect/statuses/{sha}","languages_url":"https://api.github.com/repos/chaijs/type-detect/languages","stargazers_url":"https://api.github.com/repos/chaijs/type-detect/stargazers","contributors_url":"https://api.github.com/repos/chaijs/type-detect/contributors","subscribers_url":"https://api.github.com/repos/chaijs/type-detect/subscribers","subscription_url":"https://api.github.com/repos/chaijs/type-detect/subscription","commits_url":"https://api.github.com/repos/chaijs/type-detect/commits{/sha}","git_commits_url":"https://api.github.com/repos/chaijs/type-detect/git/commits{/sha}","comments_url":"https://api.github.com/repos/chaijs/type-detect/comments{/number}","issue_comment_url":"https://api.github.com/repos/chaijs/type-detect/issues/comments{/number}","contents_url":"https://api.github.com/repos/chaijs/type-detect/contents/{+path}","compare_url":"https://api.github.com/repos/chaijs/type-detect/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chaijs/type-detect/merges","archive_url":"https://api.github.com/repos/chaijs/type-detect/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chaijs/type-detect/downloads","issues_url":"https://api.github.com/repos/chaijs/type-detect/issues{/number}","pulls_url":"https://api.github.com/repos/chaijs/type-detect/pulls{/number}","milestones_url":"https://api.github.com/repos/chaijs/type-detect/milestones{/number}","notifications_url":"https://api.github.com/repos/chaijs/type-detect/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chaijs/type-detect/labels{/name}","releases_url":"https://api.github.com/repos/chaijs/type-detect/releases{/id}","deployments_url":"https://api.github.com/repos/chaijs/type-detect/deployments","created_at":"2013-08-14T11:14:05Z","updated_at":"2016-02-08T07:48:31Z","pushed_at":"2016-02-22T09:43:09Z","git_url":"git://github.com/chaijs/type-detect.git","ssh_url":"git@github.com:chaijs/type-detect.git","clone_url":"https://github.com/chaijs/type-detect.git","svn_url":"https://github.com/chaijs/type-detect","homepage":"","size":29,"stargazers_count":12,"watchers_count":12,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":1,"forks":5,"open_issues":1,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/chaijs/type-detect/pulls/11"},"html":{"href":"https://github.com/chaijs/type-detect/pull/11"},"issue":{"href":"https://api.github.com/repos/chaijs/type-detect/issues/11"},"comments":{"href":"https://api.github.com/repos/chaijs/type-detect/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/chaijs/type-detect/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/chaijs/type-detect/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/chaijs/type-detect/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/chaijs/type-detect/statuses/43318c2f0e751150b9861cfc6939e87c81d4551e"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":23,"additions":1145,"deletions":642,"changed_files":19}}