{"action":"opened","number":1361,"pull_request":{"url":"https://api.github.com/repos/iojs/io.js/pulls/1361","id":32735668,"html_url":"https://github.com/iojs/io.js/pull/1361","diff_url":"https://github.com/iojs/io.js/pull/1361.diff","patch_url":"https://github.com/iojs/io.js/pull/1361.patch","issue_url":"https://api.github.com/repos/iojs/io.js/issues/1361","number":1361,"state":"open","locked":false,"title":"zlib: make constants keep readonly","user":{"login":"JacksonTian","id":327019,"avatar_url":"https://avatars.githubusercontent.com/u/327019?v=3","gravatar_id":"","url":"https://api.github.com/users/JacksonTian","html_url":"https://github.com/JacksonTian","followers_url":"https://api.github.com/users/JacksonTian/followers","following_url":"https://api.github.com/users/JacksonTian/following{/other_user}","gists_url":"https://api.github.com/users/JacksonTian/gists{/gist_id}","starred_url":"https://api.github.com/users/JacksonTian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JacksonTian/subscriptions","organizations_url":"https://api.github.com/users/JacksonTian/orgs","repos_url":"https://api.github.com/users/JacksonTian/repos","events_url":"https://api.github.com/users/JacksonTian/events{/privacy}","received_events_url":"https://api.github.com/users/JacksonTian/received_events","type":"User","site_admin":false},"body":"In zlib module, a dozen constants were exported to user land,\r\nIf user change the constant, maybe lead unexcepted error.\r\n\r\nMake them readonly and freezon.","created_at":"2015-04-07T06:00:36Z","updated_at":"2015-04-07T06:00:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/iojs/io.js/pulls/1361/commits","review_comments_url":"https://api.github.com/repos/iojs/io.js/pulls/1361/comments","review_comment_url":"https://api.github.com/repos/iojs/io.js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/iojs/io.js/issues/1361/comments","statuses_url":"https://api.github.com/repos/iojs/io.js/statuses/b3c2bcb3d9165ce39f18cfa0eb4d1b267d027c5b","head":{"label":"JacksonTian:zlib","ref":"zlib","sha":"b3c2bcb3d9165ce39f18cfa0eb4d1b267d027c5b","user":{"login":"JacksonTian","id":327019,"avatar_url":"https://avatars.githubusercontent.com/u/327019?v=3","gravatar_id":"","url":"https://api.github.com/users/JacksonTian","html_url":"https://github.com/JacksonTian","followers_url":"https://api.github.com/users/JacksonTian/followers","following_url":"https://api.github.com/users/JacksonTian/following{/other_user}","gists_url":"https://api.github.com/users/JacksonTian/gists{/gist_id}","starred_url":"https://api.github.com/users/JacksonTian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JacksonTian/subscriptions","organizations_url":"https://api.github.com/users/JacksonTian/orgs","repos_url":"https://api.github.com/users/JacksonTian/repos","events_url":"https://api.github.com/users/JacksonTian/events{/privacy}","received_events_url":"https://api.github.com/users/JacksonTian/received_events","type":"User","site_admin":false},"repo":{"id":28173772,"name":"io.js","full_name":"JacksonTian/io.js","owner":{"login":"JacksonTian","id":327019,"avatar_url":"https://avatars.githubusercontent.com/u/327019?v=3","gravatar_id":"","url":"https://api.github.com/users/JacksonTian","html_url":"https://github.com/JacksonTian","followers_url":"https://api.github.com/users/JacksonTian/followers","following_url":"https://api.github.com/users/JacksonTian/following{/other_user}","gists_url":"https://api.github.com/users/JacksonTian/gists{/gist_id}","starred_url":"https://api.github.com/users/JacksonTian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JacksonTian/subscriptions","organizations_url":"https://api.github.com/users/JacksonTian/orgs","repos_url":"https://api.github.com/users/JacksonTian/repos","events_url":"https://api.github.com/users/JacksonTian/events{/privacy}","received_events_url":"https://api.github.com/users/JacksonTian/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JacksonTian/io.js","description":"Evented IO for V8 JavaScript","fork":true,"url":"https://api.github.com/repos/JacksonTian/io.js","forks_url":"https://api.github.com/repos/JacksonTian/io.js/forks","keys_url":"https://api.github.com/repos/JacksonTian/io.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JacksonTian/io.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JacksonTian/io.js/teams","hooks_url":"https://api.github.com/repos/JacksonTian/io.js/hooks","issue_events_url":"https://api.github.com/repos/JacksonTian/io.js/issues/events{/number}","events_url":"https://api.github.com/repos/JacksonTian/io.js/events","assignees_url":"https://api.github.com/repos/JacksonTian/io.js/assignees{/user}","branches_url":"https://api.github.com/repos/JacksonTian/io.js/branches{/branch}","tags_url":"https://api.github.com/repos/JacksonTian/io.js/tags","blobs_url":"https://api.github.com/repos/JacksonTian/io.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JacksonTian/io.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JacksonTian/io.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/JacksonTian/io.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JacksonTian/io.js/statuses/{sha}","languages_url":"https://api.github.com/repos/JacksonTian/io.js/languages","stargazers_url":"https://api.github.com/repos/JacksonTian/io.js/stargazers","contributors_url":"https://api.github.com/repos/JacksonTian/io.js/contributors","subscribers_url":"https://api.github.com/repos/JacksonTian/io.js/subscribers","subscription_url":"https://api.github.com/repos/JacksonTian/io.js/subscription","commits_url":"https://api.github.com/repos/JacksonTian/io.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/JacksonTian/io.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/JacksonTian/io.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/JacksonTian/io.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/JacksonTian/io.js/contents/{+path}","compare_url":"https://api.github.com/repos/JacksonTian/io.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JacksonTian/io.js/merges","archive_url":"https://api.github.com/repos/JacksonTian/io.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JacksonTian/io.js/downloads","issues_url":"https://api.github.com/repos/JacksonTian/io.js/issues{/number}","pulls_url":"https://api.github.com/repos/JacksonTian/io.js/pulls{/number}","milestones_url":"https://api.github.com/repos/JacksonTian/io.js/milestones{/number}","notifications_url":"https://api.github.com/repos/JacksonTian/io.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JacksonTian/io.js/labels{/name}","releases_url":"https://api.github.com/repos/JacksonTian/io.js/releases{/id}","created_at":"2014-12-18T07:50:35Z","updated_at":"2015-01-22T04:01:30Z","pushed_at":"2015-04-07T05:59:08Z","git_url":"git://github.com/JacksonTian/io.js.git","ssh_url":"git@github.com:JacksonTian/io.js.git","clone_url":"https://github.com/JacksonTian/io.js.git","svn_url":"https://github.com/JacksonTian/io.js","homepage":null,"size":123008,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":1,"default_branch":"v1.x"}},"base":{"label":"iojs:v1.x","ref":"v1.x","sha":"d72e50a57cb74deb9dc2c6d9bb29aeeb640b471f","user":{"login":"iojs","id":9950313,"avatar_url":"https://avatars.githubusercontent.com/u/9950313?v=3","gravatar_id":"","url":"https://api.github.com/users/iojs","html_url":"https://github.com/iojs","followers_url":"https://api.github.com/users/iojs/followers","following_url":"https://api.github.com/users/iojs/following{/other_user}","gists_url":"https://api.github.com/users/iojs/gists{/gist_id}","starred_url":"https://api.github.com/users/iojs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iojs/subscriptions","organizations_url":"https://api.github.com/users/iojs/orgs","repos_url":"https://api.github.com/users/iojs/repos","events_url":"https://api.github.com/users/iojs/events{/privacy}","received_events_url":"https://api.github.com/users/iojs/received_events","type":"Organization","site_admin":false},"repo":{"id":27193779,"name":"io.js","full_name":"iojs/io.js","owner":{"login":"iojs","id":9950313,"avatar_url":"https://avatars.githubusercontent.com/u/9950313?v=3","gravatar_id":"","url":"https://api.github.com/users/iojs","html_url":"https://github.com/iojs","followers_url":"https://api.github.com/users/iojs/followers","following_url":"https://api.github.com/users/iojs/following{/other_user}","gists_url":"https://api.github.com/users/iojs/gists{/gist_id}","starred_url":"https://api.github.com/users/iojs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iojs/subscriptions","organizations_url":"https://api.github.com/users/iojs/orgs","repos_url":"https://api.github.com/users/iojs/repos","events_url":"https://api.github.com/users/iojs/events{/privacy}","received_events_url":"https://api.github.com/users/iojs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/iojs/io.js","description":"A friendly fork of Node.js with an open governance model","fork":false,"url":"https://api.github.com/repos/iojs/io.js","forks_url":"https://api.github.com/repos/iojs/io.js/forks","keys_url":"https://api.github.com/repos/iojs/io.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iojs/io.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iojs/io.js/teams","hooks_url":"https://api.github.com/repos/iojs/io.js/hooks","issue_events_url":"https://api.github.com/repos/iojs/io.js/issues/events{/number}","events_url":"https://api.github.com/repos/iojs/io.js/events","assignees_url":"https://api.github.com/repos/iojs/io.js/assignees{/user}","branches_url":"https://api.github.com/repos/iojs/io.js/branches{/branch}","tags_url":"https://api.github.com/repos/iojs/io.js/tags","blobs_url":"https://api.github.com/repos/iojs/io.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iojs/io.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iojs/io.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/iojs/io.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iojs/io.js/statuses/{sha}","languages_url":"https://api.github.com/repos/iojs/io.js/languages","stargazers_url":"https://api.github.com/repos/iojs/io.js/stargazers","contributors_url":"https://api.github.com/repos/iojs/io.js/contributors","subscribers_url":"https://api.github.com/repos/iojs/io.js/subscribers","subscription_url":"https://api.github.com/repos/iojs/io.js/subscription","commits_url":"https://api.github.com/repos/iojs/io.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/iojs/io.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/iojs/io.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/iojs/io.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/iojs/io.js/contents/{+path}","compare_url":"https://api.github.com/repos/iojs/io.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iojs/io.js/merges","archive_url":"https://api.github.com/repos/iojs/io.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iojs/io.js/downloads","issues_url":"https://api.github.com/repos/iojs/io.js/issues{/number}","pulls_url":"https://api.github.com/repos/iojs/io.js/pulls{/number}","milestones_url":"https://api.github.com/repos/iojs/io.js/milestones{/number}","notifications_url":"https://api.github.com/repos/iojs/io.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iojs/io.js/labels{/name}","releases_url":"https://api.github.com/repos/iojs/io.js/releases{/id}","created_at":"2014-11-26T19:57:11Z","updated_at":"2015-04-07T03:46:56Z","pushed_at":"2015-04-07T04:04:42Z","git_url":"git://github.com/iojs/io.js.git","ssh_url":"git@github.com:iojs/io.js.git","clone_url":"https://github.com/iojs/io.js.git","svn_url":"https://github.com/iojs/io.js","homepage":"https://iojs.org","size":168478,"stargazers_count":11533,"watchers_count":11533,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":808,"mirror_url":null,"open_issues_count":210,"forks":808,"open_issues":210,"watchers":11533,"default_branch":"v1.x"}},"_links":{"self":{"href":"https://api.github.com/repos/iojs/io.js/pulls/1361"},"html":{"href":"https://github.com/iojs/io.js/pull/1361"},"issue":{"href":"https://api.github.com/repos/iojs/io.js/issues/1361"},"comments":{"href":"https://api.github.com/repos/iojs/io.js/issues/1361/comments"},"review_comments":{"href":"https://api.github.com/repos/iojs/io.js/pulls/1361/comments"},"review_comment":{"href":"https://api.github.com/repos/iojs/io.js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/iojs/io.js/pulls/1361/commits"},"statuses":{"href":"https://api.github.com/repos/iojs/io.js/statuses/b3c2bcb3d9165ce39f18cfa0eb4d1b267d027c5b"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":28,"deletions":4,"changed_files":2}}