{"action":"opened","issue":{"url":"https://api.github.com/repos/sindresorhus/is-svg/issues/19","repository_url":"https://api.github.com/repos/sindresorhus/is-svg","labels_url":"https://api.github.com/repos/sindresorhus/is-svg/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/sindresorhus/is-svg/issues/19/comments","events_url":"https://api.github.com/repos/sindresorhus/is-svg/issues/19/events","html_url":"https://github.com/sindresorhus/is-svg/issues/19","id":377728582,"node_id":"MDU6SXNzdWUzNzc3Mjg1ODI=","number":19,"title":"TypeError: buf.charCodeAt is not a function","user":{"login":"XhmikosR","id":349621,"node_id":"MDQ6VXNlcjM0OTYyMQ==","avatar_url":"https://avatars2.githubusercontent.com/u/349621?v=4","gravatar_id":"","url":"https://api.github.com/users/XhmikosR","html_url":"https://github.com/XhmikosR","followers_url":"https://api.github.com/users/XhmikosR/followers","following_url":"https://api.github.com/users/XhmikosR/following{/other_user}","gists_url":"https://api.github.com/users/XhmikosR/gists{/gist_id}","starred_url":"https://api.github.com/users/XhmikosR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/XhmikosR/subscriptions","organizations_url":"https://api.github.com/users/XhmikosR/orgs","repos_url":"https://api.github.com/users/XhmikosR/repos","events_url":"https://api.github.com/users/XhmikosR/events{/privacy}","received_events_url":"https://api.github.com/users/XhmikosR/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-06T07:52:54Z","updated_at":"2018-11-06T07:52:54Z","closed_at":null,"author_association":"NONE","body":"```\r\nC:\\Users\\xmr\\Desktop\\foo>node -v && npm -v\r\nv10.13.0\r\n6.4.1\r\n\r\nC:\\Users\\xmr\\Desktop\\foo>npm ls is-svg\r\nfoo@1.0.0 C:\\Users\\xmr\\Desktop\\foo\r\n`-- gulp-imagemin@5.0.0\r\n  `-- imagemin-svgo@7.0.0\r\n    `-- is-svg@3.0.0\r\n\r\n\r\n[09:45:14] TypeError: buf.charCodeAt is not a function\r\n    at isBinary (C:\\Users\\xmr\\Desktop\\foo\\node_modules\\is-svg\\index.js:8:41)\r\n    at module.exports.input (C:\\Users\\xmr\\Desktop\\foo\\node_modules\\is-svg\\index.js:20:46)\r\n    at Function.buffer [as svgo] (C:\\Users\\xmr\\Desktop\\foo\\node_modules\\imagemin-svgo\\index.js:8:7)\r\n    at gulp.task (C:\\Users\\xmr\\Desktop\\foo\\gulp\\tasks\\production\\optimize-images.js:15:22)\r\n    at taskWrapper (C:\\Users\\xmr\\Desktop\\foo\\node_modules\\undertaker\\lib\\set-task.js:13:15)\r\n    at tempTask (C:\\Users\\xmr\\Desktop\\foo\\node_modules\\undertaker-forward-reference\\index.js:13:17)\r\n    at bound (domain.js:396:14)\r\n    at runBound (domain.js:409:12)\r\n    at asyncRunner (C:\\Users\\xmr\\Desktop\\foo\\node_modules\\async-done\\index.js:55:18)\r\n    at process._tickCallback (internal/process/next_tick.js:61:11)\r\n```\r\n\r\nThis worked with the previous version so I'm trying to pinpoint the cause.\r\n\r\n/CC @sindresorhus for ideas"}}
{"actor":{"display_login":"XhmikosR"}}