{"action":"created","issue":{"url":"https://api.github.com/repos/prettier/prettier/issues/5647","repository_url":"https://api.github.com/repos/prettier/prettier","labels_url":"https://api.github.com/repos/prettier/prettier/issues/5647/labels{/name}","comments_url":"https://api.github.com/repos/prettier/prettier/issues/5647/comments","events_url":"https://api.github.com/repos/prettier/prettier/issues/5647/events","html_url":"https://github.com/prettier/prettier/pull/5647","id":391622729,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM5MDc1NDk5","number":5647,"title":"Replacing \"babylon\" with \"babel\"","user":{"login":"wuweiweiwu","id":35270620,"node_id":"MDQ6VXNlcjM1MjcwNjIw","avatar_url":"https://avatars3.githubusercontent.com/u/35270620?v=4","gravatar_id":"","url":"https://api.github.com/users/wuweiweiwu","html_url":"https://github.com/wuweiweiwu","followers_url":"https://api.github.com/users/wuweiweiwu/followers","following_url":"https://api.github.com/users/wuweiweiwu/following{/other_user}","gists_url":"https://api.github.com/users/wuweiweiwu/gists{/gist_id}","starred_url":"https://api.github.com/users/wuweiweiwu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wuweiweiwu/subscriptions","organizations_url":"https://api.github.com/users/wuweiweiwu/orgs","repos_url":"https://api.github.com/users/wuweiweiwu/repos","events_url":"https://api.github.com/users/wuweiweiwu/events{/privacy}","received_events_url":"https://api.github.com/users/wuweiweiwu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-12-17T09:25:53Z","updated_at":"2018-12-26T02:50:50Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/prettier/prettier/pulls/5647","html_url":"https://github.com/prettier/prettier/pull/5647","diff_url":"https://github.com/prettier/prettier/pull/5647.diff","patch_url":"https://github.com/prettier/prettier/pull/5647.patch"},"body":"<!-- Please provide a brief summary of your changes: -->\r\nReplace `babylon` with `babel` in all js files, directories, md files, tests, updated tests\r\n\r\ncloses #4508\r\n\r\nwould this be a breaking change?\r\n```js\r\nprettier.format(\"lodash ( )\", {\r\n  parser(text, { babel }) { // <-- babel instead of babylon\r\n    const ast = babel(text);\r\n    ast.program.body[0].expression.callee.name = \"_\";\r\n    return ast;\r\n  }\r\n});\r\n```\r\n<!-- Please ensure you’ve done all of these things (if applicable). -->\r\n<!-- You can replace the `[ ]` with `[x]` to mark each task as done. -->\r\n\r\n- [x] I’ve added tests to confirm my change works. NA\r\n- [x] (If changing the API or CLI) I’ve documented the changes I’ve made (in the `docs/` directory)\r\n- [x] I’ve read the [contributing guidelines](https://github.com/prettier/prettier/blob/master/CONTRIBUTING.md).\r\n\r\n**✨[Try the playground for this PR](https://prettier.io/playground-redirect)✨**\r\n"},"comment":{"url":"https://api.github.com/repos/prettier/prettier/issues/comments/449892559","html_url":"https://github.com/prettier/prettier/pull/5647#issuecomment-449892559","issue_url":"https://api.github.com/repos/prettier/prettier/issues/5647","id":449892559,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0OTg5MjU1OQ==","user":{"login":"ikatyang","id":8341033,"node_id":"MDQ6VXNlcjgzNDEwMzM=","avatar_url":"https://avatars1.githubusercontent.com/u/8341033?v=4","gravatar_id":"","url":"https://api.github.com/users/ikatyang","html_url":"https://github.com/ikatyang","followers_url":"https://api.github.com/users/ikatyang/followers","following_url":"https://api.github.com/users/ikatyang/following{/other_user}","gists_url":"https://api.github.com/users/ikatyang/gists{/gist_id}","starred_url":"https://api.github.com/users/ikatyang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ikatyang/subscriptions","organizations_url":"https://api.github.com/users/ikatyang/orgs","repos_url":"https://api.github.com/users/ikatyang/repos","events_url":"https://api.github.com/users/ikatyang/events{/privacy}","received_events_url":"https://api.github.com/users/ikatyang/received_events","type":"User","site_admin":false},"created_at":"2018-12-26T02:50:50Z","updated_at":"2018-12-26T02:50:50Z","author_association":"MEMBER","body":"@wuweiweiwu FYI, there's an <kbd>Add suggestion to batch</kbd> button that you can combine all suggestions in a single commit."}}
{"actor":{"display_login":"ikatyang"}}