{"action":"created","issue":{"url":"https://api.github.com/repos/nodejs/io.js/issues/1987","labels_url":"https://api.github.com/repos/nodejs/io.js/issues/1987/labels{/name}","comments_url":"https://api.github.com/repos/nodejs/io.js/issues/1987/comments","events_url":"https://api.github.com/repos/nodejs/io.js/issues/1987/events","html_url":"https://github.com/nodejs/io.js/issues/1987","id":88610318,"number":1987,"title":"util.isBuffer(...) fails on 2.3.0","user":{"login":"pfumagalli","id":366777,"avatar_url":"https://avatars.githubusercontent.com/u/366777?v=3","gravatar_id":"","url":"https://api.github.com/users/pfumagalli","html_url":"https://github.com/pfumagalli","followers_url":"https://api.github.com/users/pfumagalli/followers","following_url":"https://api.github.com/users/pfumagalli/following{/other_user}","gists_url":"https://api.github.com/users/pfumagalli/gists{/gist_id}","starred_url":"https://api.github.com/users/pfumagalli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pfumagalli/subscriptions","organizations_url":"https://api.github.com/users/pfumagalli/orgs","repos_url":"https://api.github.com/users/pfumagalli/repos","events_url":"https://api.github.com/users/pfumagalli/events{/privacy}","received_events_url":"https://api.github.com/users/pfumagalli/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nodejs/io.js/labels/buffer","name":"buffer","color":"f7c6c7"},{"url":"https://api.github.com/repos/nodejs/io.js/labels/confirmed-bug","name":"confirmed-bug","color":"fc2929"},{"url":"https://api.github.com/repos/nodejs/io.js/labels/util","name":"util","color":"d4c5f9"}],"state":"open","locked":false,"assignee":{"login":"brendanashworth","id":3038254,"avatar_url":"https://avatars.githubusercontent.com/u/3038254?v=3","gravatar_id":"","url":"https://api.github.com/users/brendanashworth","html_url":"https://github.com/brendanashworth","followers_url":"https://api.github.com/users/brendanashworth/followers","following_url":"https://api.github.com/users/brendanashworth/following{/other_user}","gists_url":"https://api.github.com/users/brendanashworth/gists{/gist_id}","starred_url":"https://api.github.com/users/brendanashworth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brendanashworth/subscriptions","organizations_url":"https://api.github.com/users/brendanashworth/orgs","repos_url":"https://api.github.com/users/brendanashworth/repos","events_url":"https://api.github.com/users/brendanashworth/events{/privacy}","received_events_url":"https://api.github.com/users/brendanashworth/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-06-16T04:13:22Z","updated_at":"2015-06-16T04:25:55Z","closed_at":null,"body":"Someone forgot to import `Buffer` in `util.js`:\r\n\r\n```console\r\n$ node -v\r\nv2.3.0\r\n$ node\r\n> util.isBuffer('foo');\r\nTypeError: Expecting a function in instanceof check, but got undefined\r\n    at Object.isBuffer (util.js:666:25)\r\n    at repl:1:6\r\n    at REPLServer.defaultEval (repl.js:154:27)\r\n    at bound (domain.js:254:14)\r\n    at REPLServer.runBound [as eval] (domain.js:267:12)\r\n    at REPLServer.<anonymous> (repl.js:308:12)\r\n    at emitOne (events.js:77:13)\r\n    at REPLServer.emit (events.js:169:7)\r\n    at REPLServer.Interface._onLine (readline.js:209:10)\r\n    at REPLServer.Interface._line (readline.js:548:8)\r\n```\r\n\r\nWorks fine after downgrading to 2.2.1:\r\n\r\n```console\r\n$ node -v\r\nv2.2.1\r\n$ node\r\n> util.isBuffer('foo');\r\nfalse\r\n```\r\n\r\nSeems related to [`b5b8ff1`](https://github.com/nodejs/io.js/commit/b5b8ff117c8581945d0c8c3a4b18d53f4b33b86f)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/nodejs/io.js/issues/comments/112283918","html_url":"https://github.com/nodejs/io.js/issues/1987#issuecomment-112283918","issue_url":"https://api.github.com/repos/nodejs/io.js/issues/1987","id":112283918,"user":{"login":"brendanashworth","id":3038254,"avatar_url":"https://avatars.githubusercontent.com/u/3038254?v=3","gravatar_id":"","url":"https://api.github.com/users/brendanashworth","html_url":"https://github.com/brendanashworth","followers_url":"https://api.github.com/users/brendanashworth/followers","following_url":"https://api.github.com/users/brendanashworth/following{/other_user}","gists_url":"https://api.github.com/users/brendanashworth/gists{/gist_id}","starred_url":"https://api.github.com/users/brendanashworth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brendanashworth/subscriptions","organizations_url":"https://api.github.com/users/brendanashworth/orgs","repos_url":"https://api.github.com/users/brendanashworth/repos","events_url":"https://api.github.com/users/brendanashworth/events{/privacy}","received_events_url":"https://api.github.com/users/brendanashworth/received_events","type":"User","site_admin":false},"created_at":"2015-06-16T04:25:55Z","updated_at":"2015-06-16T04:25:55Z","body":"Plot twist: [it is imported!](https://github.com/nodejs/io.js/blob/96165f9be2365eeb4c4669553cb7f12d6f5a374c/lib/util.js#L4)"}}