{"action":"closed","issue":{"url":"https://api.github.com/repos/terkelg/prompts/issues/64","repository_url":"https://api.github.com/repos/terkelg/prompts","labels_url":"https://api.github.com/repos/terkelg/prompts/issues/64/labels{/name}","comments_url":"https://api.github.com/repos/terkelg/prompts/issues/64/comments","events_url":"https://api.github.com/repos/terkelg/prompts/issues/64/events","html_url":"https://github.com/terkelg/prompts/issues/64","id":331397931,"node_id":"MDU6SXNzdWUzMzEzOTc5MzE=","number":64,"title":"Support node 6","user":{"login":"ranyitz","id":11733036,"node_id":"MDQ6VXNlcjExNzMzMDM2","avatar_url":"https://avatars2.githubusercontent.com/u/11733036?v=4","gravatar_id":"","url":"https://api.github.com/users/ranyitz","html_url":"https://github.com/ranyitz","followers_url":"https://api.github.com/users/ranyitz/followers","following_url":"https://api.github.com/users/ranyitz/following{/other_user}","gists_url":"https://api.github.com/users/ranyitz/gists{/gist_id}","starred_url":"https://api.github.com/users/ranyitz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ranyitz/subscriptions","organizations_url":"https://api.github.com/users/ranyitz/orgs","repos_url":"https://api.github.com/users/ranyitz/repos","events_url":"https://api.github.com/users/ranyitz/events{/privacy}","received_events_url":"https://api.github.com/users/ranyitz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-06-12T00:43:55Z","updated_at":"2018-06-19T04:07:58Z","closed_at":"2018-06-19T04:07:58Z","author_association":"NONE","body":"Some projects still support node 6.\r\n\r\nMy use case is that I want to use prompts in https://github.com/facebook/jest/pull/6442\r\n\r\nThe solution for that could be fairly easy:\r\n1. Transpile the code using babel to `dist`\r\n2. Create a main file that will route between `dist/index.js` and `lib/index.js` according to the user's node version.\r\n3. Add another travis run using node 6.\r\n\r\nIt shouldn't interfere with the development, and there will be no performance change for users that use `node > 8`.\r\n\r\nLet me know your thoughts."}}
{"actor":{"display_login":"terkelg"}}