{"action":"created","issue":{"url":"https://api.github.com/repos/watson/http-headers/issues/4","repository_url":"https://api.github.com/repos/watson/http-headers","labels_url":"https://api.github.com/repos/watson/http-headers/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/watson/http-headers/issues/4/comments","events_url":"https://api.github.com/repos/watson/http-headers/issues/4/events","html_url":"https://github.com/watson/http-headers/issues/4","id":354883469,"node_id":"MDU6SXNzdWUzNTQ4ODM0Njk=","number":4,"title":"Replacing calls to the Buffer constructor in tests","user":{"login":"gabrielschulhof","id":976081,"node_id":"MDQ6VXNlcjk3NjA4MQ==","avatar_url":"https://avatars2.githubusercontent.com/u/976081?v=4","gravatar_id":"","url":"https://api.github.com/users/gabrielschulhof","html_url":"https://github.com/gabrielschulhof","followers_url":"https://api.github.com/users/gabrielschulhof/followers","following_url":"https://api.github.com/users/gabrielschulhof/following{/other_user}","gists_url":"https://api.github.com/users/gabrielschulhof/gists{/gist_id}","starred_url":"https://api.github.com/users/gabrielschulhof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabrielschulhof/subscriptions","organizations_url":"https://api.github.com/users/gabrielschulhof/orgs","repos_url":"https://api.github.com/users/gabrielschulhof/repos","events_url":"https://api.github.com/users/gabrielschulhof/events{/privacy}","received_events_url":"https://api.github.com/users/gabrielschulhof/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-08-28T20:05:54Z","updated_at":"2018-08-30T15:45:16Z","closed_at":"2018-08-30T15:37:20Z","author_association":"NONE","body":"A call is made to the `Buffer` constructor [here](https://github.com/roytam1/basilisk55/issues/1), however, `new Buffer(...)` is deprecated and unsafe. A better alternative would be to use `Buffer.from(...)` instead. Would it be possible to update the code?"},"comment":{"url":"https://api.github.com/repos/watson/http-headers/issues/comments/417367280","html_url":"https://github.com/watson/http-headers/issues/4#issuecomment-417367280","issue_url":"https://api.github.com/repos/watson/http-headers/issues/4","id":417367280,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNzM2NzI4MA==","user":{"login":"gabrielschulhof","id":976081,"node_id":"MDQ6VXNlcjk3NjA4MQ==","avatar_url":"https://avatars2.githubusercontent.com/u/976081?v=4","gravatar_id":"","url":"https://api.github.com/users/gabrielschulhof","html_url":"https://github.com/gabrielschulhof","followers_url":"https://api.github.com/users/gabrielschulhof/followers","following_url":"https://api.github.com/users/gabrielschulhof/following{/other_user}","gists_url":"https://api.github.com/users/gabrielschulhof/gists{/gist_id}","starred_url":"https://api.github.com/users/gabrielschulhof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabrielschulhof/subscriptions","organizations_url":"https://api.github.com/users/gabrielschulhof/orgs","repos_url":"https://api.github.com/users/gabrielschulhof/repos","events_url":"https://api.github.com/users/gabrielschulhof/events{/privacy}","received_events_url":"https://api.github.com/users/gabrielschulhof/received_events","type":"User","site_admin":false},"created_at":"2018-08-30T15:45:16Z","updated_at":"2018-08-30T15:45:16Z","author_association":"NONE","body":"@watson I know. I was just thinking that Node's `Buffer` is just fine, as long as you don't use the constructor – unless you also need support for older Node versions."}}
{"actor":{"display_login":"gabrielschulhof"}}