{"action":"created","issue":{"url":"https://api.github.com/repos/nodejs/node/issues/8166","repository_url":"https://api.github.com/repos/nodejs/node","labels_url":"https://api.github.com/repos/nodejs/node/issues/8166/labels{/name}","comments_url":"https://api.github.com/repos/nodejs/node/issues/8166/comments","events_url":"https://api.github.com/repos/nodejs/node/issues/8166/events","html_url":"https://github.com/nodejs/node/pull/8166","id":171978612,"number":8166,"title":"lib,fs: use process.emitWarning instead of internal print dep warning","user":{"login":"jasnell","id":439929,"avatar_url":"https://avatars.githubusercontent.com/u/439929?v=3","gravatar_id":"","url":"https://api.github.com/users/jasnell","html_url":"https://github.com/jasnell","followers_url":"https://api.github.com/users/jasnell/followers","following_url":"https://api.github.com/users/jasnell/following{/other_user}","gists_url":"https://api.github.com/users/jasnell/gists{/gist_id}","starred_url":"https://api.github.com/users/jasnell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasnell/subscriptions","organizations_url":"https://api.github.com/users/jasnell/orgs","repos_url":"https://api.github.com/users/jasnell/repos","events_url":"https://api.github.com/users/jasnell/events{/privacy}","received_events_url":"https://api.github.com/users/jasnell/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nodejs/node/labels/fs","name":"fs","color":"0052cc"},{"url":"https://api.github.com/repos/nodejs/node/labels/lib%20/%20src","name":"lib / src","color":"fad8c7"},{"url":"https://api.github.com/repos/nodejs/node/labels/module","name":"module","color":"fbca04"},{"url":"https://api.github.com/repos/nodejs/node/labels/timers","name":"timers","color":"f7c6c7"},{"url":"https://api.github.com/repos/nodejs/node/labels/util","name":"util","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":20,"created_at":"2016-08-18T19:15:57Z","updated_at":"2016-08-25T14:17:07Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/nodejs/node/pulls/8166","html_url":"https://github.com/nodejs/node/pull/8166","diff_url":"https://github.com/nodejs/node/pull/8166.diff","patch_url":"https://github.com/nodejs/node/pull/8166.patch"},"body":"##### Checklist\r\n\r\n- [x] `make -j4 test` (UNIX), or `vcbuild test nosign` (Windows) passes\r\n- [x] commit message follows commit guidelines\r\n\r\n##### Affected core subsystem(s)\r\n\r\nlib, fs\r\n\r\n##### Description of change\r\n\r\nThis removes uses of the the internal/util `printDeprecationMessage()` API in favor of\r\nusing `process.emitWarning(msg, 'DeprecationWarning')`. This allows us to remove the\r\ngraceful-fs warning in `fs` providing at least a temporary relief of the logjam that is\r\noccurring there.\r\n\r\nThe PR also adds a new lint rule that flags uses of `printDeprecationMessage()`\r\n\r\n/cc @ChALkeR @TheAlphaNerd @nodejs/ctc \r\n\r\nThis is an alternative to https://github.com/nodejs/node/pull/6413. If this lands, We do not have to do the revert."},"comment":{"url":"https://api.github.com/repos/nodejs/node/issues/comments/242402817","html_url":"https://github.com/nodejs/node/pull/8166#issuecomment-242402817","issue_url":"https://api.github.com/repos/nodejs/node/issues/8166","id":242402817,"user":{"login":"jasnell","id":439929,"avatar_url":"https://avatars.githubusercontent.com/u/439929?v=3","gravatar_id":"","url":"https://api.github.com/users/jasnell","html_url":"https://github.com/jasnell","followers_url":"https://api.github.com/users/jasnell/followers","following_url":"https://api.github.com/users/jasnell/following{/other_user}","gists_url":"https://api.github.com/users/jasnell/gists{/gist_id}","starred_url":"https://api.github.com/users/jasnell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasnell/subscriptions","organizations_url":"https://api.github.com/users/jasnell/orgs","repos_url":"https://api.github.com/users/jasnell/repos","events_url":"https://api.github.com/users/jasnell/events{/privacy}","received_events_url":"https://api.github.com/users/jasnell/received_events","type":"User","site_admin":false},"created_at":"2016-08-25T14:17:07Z","updated_at":"2016-08-25T14:17:07Z","body":"CI: https://ci.nodejs.org/job/node-test-pull-request/3831/"}}
{"actor":{"display_login":"jasnell"}}