{"action":"created","comment":{"url":"https://api.github.com/repos/masotime/json-url/pulls/comments/47383514","id":47383514,"diff_hunk":"@@ -0,0 +1,73 @@\n+'use strict';\n+\n+let expect = require('expect'),\n+    jsonurl = require('.'),","path":"test.js","position":4,"original_position":4,"commit_id":"b96904057619c14ad3e0bed5982a77d7744ef374","original_commit_id":"b96904057619c14ad3e0bed5982a77d7744ef374","user":{"login":"masotime","id":230025,"avatar_url":"https://avatars.githubusercontent.com/u/230025?v=3","gravatar_id":"","url":"https://api.github.com/users/masotime","html_url":"https://github.com/masotime","followers_url":"https://api.github.com/users/masotime/followers","following_url":"https://api.github.com/users/masotime/following{/other_user}","gists_url":"https://api.github.com/users/masotime/gists{/gist_id}","starred_url":"https://api.github.com/users/masotime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/masotime/subscriptions","organizations_url":"https://api.github.com/users/masotime/orgs","repos_url":"https://api.github.com/users/masotime/repos","events_url":"https://api.github.com/users/masotime/events{/privacy}","received_events_url":"https://api.github.com/users/masotime/received_events","type":"User","site_admin":false},"body":"Actually just `require('./')` works as well.","created_at":"2015-12-11T17:53:45Z","updated_at":"2015-12-11T17:53:45Z","html_url":"https://github.com/masotime/json-url/pull/1#discussion_r47383514","pull_request_url":"https://api.github.com/repos/masotime/json-url/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/masotime/json-url/pulls/comments/47383514"},"html":{"href":"https://github.com/masotime/json-url/pull/1#discussion_r47383514"},"pull_request":{"href":"https://api.github.com/repos/masotime/json-url/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/masotime/json-url/pulls/1","id":53419915,"html_url":"https://github.com/masotime/json-url/pull/1","diff_url":"https://github.com/masotime/json-url/pull/1.diff","patch_url":"https://github.com/masotime/json-url/pull/1.patch","issue_url":"https://api.github.com/repos/masotime/json-url/issues/1","number":1,"state":"open","locked":false,"title":"Added Mocha Unit Test","user":{"login":"jayzawrotny","id":590297,"avatar_url":"https://avatars.githubusercontent.com/u/590297?v=3","gravatar_id":"","url":"https://api.github.com/users/jayzawrotny","html_url":"https://github.com/jayzawrotny","followers_url":"https://api.github.com/users/jayzawrotny/followers","following_url":"https://api.github.com/users/jayzawrotny/following{/other_user}","gists_url":"https://api.github.com/users/jayzawrotny/gists{/gist_id}","starred_url":"https://api.github.com/users/jayzawrotny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jayzawrotny/subscriptions","organizations_url":"https://api.github.com/users/jayzawrotny/orgs","repos_url":"https://api.github.com/users/jayzawrotny/repos","events_url":"https://api.github.com/users/jayzawrotny/events{/privacy}","received_events_url":"https://api.github.com/users/jayzawrotny/received_events","type":"User","site_admin":false},"body":"Hey there so I found myself needed a library to pack & compress a JSON object for a URL and this does the trick. However, I wanted a simple test before implementing it so chose to setup a basic test to make sure the compressor and decompressor are doing their jobs.\r\n\r\nSome build errors were experienced with the original library versions so I updated those and found it still works.\r\n\r\nLet me know if anything is not up to snuff.","created_at":"2015-12-11T17:21:26Z","updated_at":"2015-12-11T17:53:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"edba87b2e3ed1f95d230392076b4224ea251e1b0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/masotime/json-url/pulls/1/commits","review_comments_url":"https://api.github.com/repos/masotime/json-url/pulls/1/comments","review_comment_url":"https://api.github.com/repos/masotime/json-url/pulls/comments{/number}","comments_url":"https://api.github.com/repos/masotime/json-url/issues/1/comments","statuses_url":"https://api.github.com/repos/masotime/json-url/statuses/b96904057619c14ad3e0bed5982a77d7744ef374","head":{"label":"jayzawrotny:master","ref":"master","sha":"b96904057619c14ad3e0bed5982a77d7744ef374","user":{"login":"jayzawrotny","id":590297,"avatar_url":"https://avatars.githubusercontent.com/u/590297?v=3","gravatar_id":"","url":"https://api.github.com/users/jayzawrotny","html_url":"https://github.com/jayzawrotny","followers_url":"https://api.github.com/users/jayzawrotny/followers","following_url":"https://api.github.com/users/jayzawrotny/following{/other_user}","gists_url":"https://api.github.com/users/jayzawrotny/gists{/gist_id}","starred_url":"https://api.github.com/users/jayzawrotny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jayzawrotny/subscriptions","organizations_url":"https://api.github.com/users/jayzawrotny/orgs","repos_url":"https://api.github.com/users/jayzawrotny/repos","events_url":"https://api.github.com/users/jayzawrotny/events{/privacy}","received_events_url":"https://api.github.com/users/jayzawrotny/received_events","type":"User","site_admin":false},"repo":{"id":47837999,"name":"json-url","full_name":"jayzawrotny/json-url","owner":{"login":"jayzawrotny","id":590297,"avatar_url":"https://avatars.githubusercontent.com/u/590297?v=3","gravatar_id":"","url":"https://api.github.com/users/jayzawrotny","html_url":"https://github.com/jayzawrotny","followers_url":"https://api.github.com/users/jayzawrotny/followers","following_url":"https://api.github.com/users/jayzawrotny/following{/other_user}","gists_url":"https://api.github.com/users/jayzawrotny/gists{/gist_id}","starred_url":"https://api.github.com/users/jayzawrotny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jayzawrotny/subscriptions","organizations_url":"https://api.github.com/users/jayzawrotny/orgs","repos_url":"https://api.github.com/users/jayzawrotny/repos","events_url":"https://api.github.com/users/jayzawrotny/events{/privacy}","received_events_url":"https://api.github.com/users/jayzawrotny/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jayzawrotny/json-url","description":"Compress JSON into compact base64 URI-friendly notation","fork":true,"url":"https://api.github.com/repos/jayzawrotny/json-url","forks_url":"https://api.github.com/repos/jayzawrotny/json-url/forks","keys_url":"https://api.github.com/repos/jayzawrotny/json-url/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jayzawrotny/json-url/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jayzawrotny/json-url/teams","hooks_url":"https://api.github.com/repos/jayzawrotny/json-url/hooks","issue_events_url":"https://api.github.com/repos/jayzawrotny/json-url/issues/events{/number}","events_url":"https://api.github.com/repos/jayzawrotny/json-url/events","assignees_url":"https://api.github.com/repos/jayzawrotny/json-url/assignees{/user}","branches_url":"https://api.github.com/repos/jayzawrotny/json-url/branches{/branch}","tags_url":"https://api.github.com/repos/jayzawrotny/json-url/tags","blobs_url":"https://api.github.com/repos/jayzawrotny/json-url/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jayzawrotny/json-url/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jayzawrotny/json-url/git/refs{/sha}","trees_url":"https://api.github.com/repos/jayzawrotny/json-url/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jayzawrotny/json-url/statuses/{sha}","languages_url":"https://api.github.com/repos/jayzawrotny/json-url/languages","stargazers_url":"https://api.github.com/repos/jayzawrotny/json-url/stargazers","contributors_url":"https://api.github.com/repos/jayzawrotny/json-url/contributors","subscribers_url":"https://api.github.com/repos/jayzawrotny/json-url/subscribers","subscription_url":"https://api.github.com/repos/jayzawrotny/json-url/subscription","commits_url":"https://api.github.com/repos/jayzawrotny/json-url/commits{/sha}","git_commits_url":"https://api.github.com/repos/jayzawrotny/json-url/git/commits{/sha}","comments_url":"https://api.github.com/repos/jayzawrotny/json-url/comments{/number}","issue_comment_url":"https://api.github.com/repos/jayzawrotny/json-url/issues/comments{/number}","contents_url":"https://api.github.com/repos/jayzawrotny/json-url/contents/{+path}","compare_url":"https://api.github.com/repos/jayzawrotny/json-url/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jayzawrotny/json-url/merges","archive_url":"https://api.github.com/repos/jayzawrotny/json-url/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jayzawrotny/json-url/downloads","issues_url":"https://api.github.com/repos/jayzawrotny/json-url/issues{/number}","pulls_url":"https://api.github.com/repos/jayzawrotny/json-url/pulls{/number}","milestones_url":"https://api.github.com/repos/jayzawrotny/json-url/milestones{/number}","notifications_url":"https://api.github.com/repos/jayzawrotny/json-url/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jayzawrotny/json-url/labels{/name}","releases_url":"https://api.github.com/repos/jayzawrotny/json-url/releases{/id}","created_at":"2015-12-11T16:34:53Z","updated_at":"2015-12-11T16:34:54Z","pushed_at":"2015-12-11T17:17:52Z","git_url":"git://github.com/jayzawrotny/json-url.git","ssh_url":"git@github.com:jayzawrotny/json-url.git","clone_url":"https://github.com/jayzawrotny/json-url.git","svn_url":"https://github.com/jayzawrotny/json-url","homepage":null,"size":8,"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":"masotime:master","ref":"master","sha":"ddab325d6f84d08275f428c735116f88766c8ac3","user":{"login":"masotime","id":230025,"avatar_url":"https://avatars.githubusercontent.com/u/230025?v=3","gravatar_id":"","url":"https://api.github.com/users/masotime","html_url":"https://github.com/masotime","followers_url":"https://api.github.com/users/masotime/followers","following_url":"https://api.github.com/users/masotime/following{/other_user}","gists_url":"https://api.github.com/users/masotime/gists{/gist_id}","starred_url":"https://api.github.com/users/masotime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/masotime/subscriptions","organizations_url":"https://api.github.com/users/masotime/orgs","repos_url":"https://api.github.com/users/masotime/repos","events_url":"https://api.github.com/users/masotime/events{/privacy}","received_events_url":"https://api.github.com/users/masotime/received_events","type":"User","site_admin":false},"repo":{"id":41075912,"name":"json-url","full_name":"masotime/json-url","owner":{"login":"masotime","id":230025,"avatar_url":"https://avatars.githubusercontent.com/u/230025?v=3","gravatar_id":"","url":"https://api.github.com/users/masotime","html_url":"https://github.com/masotime","followers_url":"https://api.github.com/users/masotime/followers","following_url":"https://api.github.com/users/masotime/following{/other_user}","gists_url":"https://api.github.com/users/masotime/gists{/gist_id}","starred_url":"https://api.github.com/users/masotime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/masotime/subscriptions","organizations_url":"https://api.github.com/users/masotime/orgs","repos_url":"https://api.github.com/users/masotime/repos","events_url":"https://api.github.com/users/masotime/events{/privacy}","received_events_url":"https://api.github.com/users/masotime/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/masotime/json-url","description":"Compress JSON into compact base64 URI-friendly notation","fork":false,"url":"https://api.github.com/repos/masotime/json-url","forks_url":"https://api.github.com/repos/masotime/json-url/forks","keys_url":"https://api.github.com/repos/masotime/json-url/keys{/key_id}","collaborators_url":"https://api.github.com/repos/masotime/json-url/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/masotime/json-url/teams","hooks_url":"https://api.github.com/repos/masotime/json-url/hooks","issue_events_url":"https://api.github.com/repos/masotime/json-url/issues/events{/number}","events_url":"https://api.github.com/repos/masotime/json-url/events","assignees_url":"https://api.github.com/repos/masotime/json-url/assignees{/user}","branches_url":"https://api.github.com/repos/masotime/json-url/branches{/branch}","tags_url":"https://api.github.com/repos/masotime/json-url/tags","blobs_url":"https://api.github.com/repos/masotime/json-url/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/masotime/json-url/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/masotime/json-url/git/refs{/sha}","trees_url":"https://api.github.com/repos/masotime/json-url/git/trees{/sha}","statuses_url":"https://api.github.com/repos/masotime/json-url/statuses/{sha}","languages_url":"https://api.github.com/repos/masotime/json-url/languages","stargazers_url":"https://api.github.com/repos/masotime/json-url/stargazers","contributors_url":"https://api.github.com/repos/masotime/json-url/contributors","subscribers_url":"https://api.github.com/repos/masotime/json-url/subscribers","subscription_url":"https://api.github.com/repos/masotime/json-url/subscription","commits_url":"https://api.github.com/repos/masotime/json-url/commits{/sha}","git_commits_url":"https://api.github.com/repos/masotime/json-url/git/commits{/sha}","comments_url":"https://api.github.com/repos/masotime/json-url/comments{/number}","issue_comment_url":"https://api.github.com/repos/masotime/json-url/issues/comments{/number}","contents_url":"https://api.github.com/repos/masotime/json-url/contents/{+path}","compare_url":"https://api.github.com/repos/masotime/json-url/compare/{base}...{head}","merges_url":"https://api.github.com/repos/masotime/json-url/merges","archive_url":"https://api.github.com/repos/masotime/json-url/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/masotime/json-url/downloads","issues_url":"https://api.github.com/repos/masotime/json-url/issues{/number}","pulls_url":"https://api.github.com/repos/masotime/json-url/pulls{/number}","milestones_url":"https://api.github.com/repos/masotime/json-url/milestones{/number}","notifications_url":"https://api.github.com/repos/masotime/json-url/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/masotime/json-url/labels{/name}","releases_url":"https://api.github.com/repos/masotime/json-url/releases{/id}","created_at":"2015-08-20T04:44:38Z","updated_at":"2015-10-28T12:55:22Z","pushed_at":"2015-12-11T17:21:26Z","git_url":"git://github.com/masotime/json-url.git","ssh_url":"git@github.com:masotime/json-url.git","clone_url":"https://github.com/masotime/json-url.git","svn_url":"https://github.com/masotime/json-url","homepage":null,"size":120,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/masotime/json-url/pulls/1"},"html":{"href":"https://github.com/masotime/json-url/pull/1"},"issue":{"href":"https://api.github.com/repos/masotime/json-url/issues/1"},"comments":{"href":"https://api.github.com/repos/masotime/json-url/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/masotime/json-url/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/masotime/json-url/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/masotime/json-url/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/masotime/json-url/statuses/b96904057619c14ad3e0bed5982a77d7744ef374"}}}}