{"action":"created","issue":{"url":"https://api.github.com/repos/nodejs/node/issues/4761","labels_url":"https://api.github.com/repos/nodejs/node/issues/4761/labels{/name}","comments_url":"https://api.github.com/repos/nodejs/node/issues/4761/comments","events_url":"https://api.github.com/repos/nodejs/node/issues/4761/events","html_url":"https://github.com/nodejs/node/pull/4761","id":127463110,"number":4761,"title":"stream: prevent object map change in ReadableState","user":{"login":"evanlucas","id":677994,"avatar_url":"https://avatars.githubusercontent.com/u/677994?v=3","gravatar_id":"","url":"https://api.github.com/users/evanlucas","html_url":"https://github.com/evanlucas","followers_url":"https://api.github.com/users/evanlucas/followers","following_url":"https://api.github.com/users/evanlucas/following{/other_user}","gists_url":"https://api.github.com/users/evanlucas/gists{/gist_id}","starred_url":"https://api.github.com/users/evanlucas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evanlucas/subscriptions","organizations_url":"https://api.github.com/users/evanlucas/orgs","repos_url":"https://api.github.com/users/evanlucas/repos","events_url":"https://api.github.com/users/evanlucas/events{/privacy}","received_events_url":"https://api.github.com/users/evanlucas/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nodejs/node/labels/stream","name":"stream","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-19T14:54:58Z","updated_at":"2016-01-19T15:35:01Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/nodejs/node/pulls/4761","html_url":"https://github.com/nodejs/node/pull/4761","diff_url":"https://github.com/nodejs/node/pull/4761.diff","patch_url":"https://github.com/nodejs/node/pull/4761.patch"},"body":"ReadableState has the resumeScheduled property that helps determine if\r\na stream should be resumed. It was not assigned in the constructor.\r\nWhen stream.resume is called on a readable stream that is not flowing,\r\nit is set to true. This changes the property map of the ReadableState\r\nwhich can cause a deopt in onEofChunk and needMoreData."},"comment":{"url":"https://api.github.com/repos/nodejs/node/issues/comments/172890096","html_url":"https://github.com/nodejs/node/pull/4761#issuecomment-172890096","issue_url":"https://api.github.com/repos/nodejs/node/issues/4761","id":172890096,"user":{"login":"cjihrig","id":2512748,"avatar_url":"https://avatars.githubusercontent.com/u/2512748?v=3","gravatar_id":"","url":"https://api.github.com/users/cjihrig","html_url":"https://github.com/cjihrig","followers_url":"https://api.github.com/users/cjihrig/followers","following_url":"https://api.github.com/users/cjihrig/following{/other_user}","gists_url":"https://api.github.com/users/cjihrig/gists{/gist_id}","starred_url":"https://api.github.com/users/cjihrig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjihrig/subscriptions","organizations_url":"https://api.github.com/users/cjihrig/orgs","repos_url":"https://api.github.com/users/cjihrig/repos","events_url":"https://api.github.com/users/cjihrig/events{/privacy}","received_events_url":"https://api.github.com/users/cjihrig/received_events","type":"User","site_admin":false},"created_at":"2016-01-19T15:35:01Z","updated_at":"2016-01-19T15:35:01Z","body":"LGTM. Would initializing to `false` work?"}}